@ozdao/martyrs 0.2.602 → 0.2.603
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{abac-BPl9Bmf9.js → abac-Blt8bUTL.js} +3 -3
- package/dist/{addUserStatusFields-Cc-JpmPo.js → addUserStatusFields-CjV_sbh7.js} +2 -2
- package/dist/auth.server.js +57 -2
- package/dist/builder.js +130 -81
- package/dist/community.server.js +11 -11
- package/dist/core.server.js +2 -2
- package/dist/{core.verifier-gPPX_jhf.js → core.verifier-DVB2a21y.js} +6 -3
- package/dist/{crud-DpOXTZep.js → crud-BT5FIvQC.js} +2 -3
- package/dist/engagement.schema-B-Cc_NsG.js +6 -0
- package/dist/events.server.js +3 -3
- package/dist/gallery.server.js +1 -1
- package/dist/governance.server.js +1632 -0
- package/dist/icons.server.js +267 -0
- package/dist/inventory.server.js +6 -6
- package/dist/martyrs/dist/martyrs.es3.js +116 -0
- package/dist/martyrs/dist/martyrs.es3.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es39.js +124 -0
- package/dist/martyrs/dist/martyrs.es39.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es43.js +30 -0
- package/dist/martyrs/dist/martyrs.es43.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es44.js +28 -0
- package/dist/martyrs/dist/martyrs.es44.js.map +1 -0
- package/dist/martyrs/dist/martyrs.es46.js +10 -0
- package/dist/martyrs/dist/martyrs.es46.js.map +1 -0
- package/dist/martyrs/src/components/Address/{Address.vue.js → Address.vue2.js} +2 -2
- package/dist/martyrs/src/components/Address/Address.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js.map +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +8 -5
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +4 -4
- package/dist/martyrs/src/components/LocationMarker/{LocationMarker.vue.js → LocationMarker.vue2.js} +2 -2
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js +19 -10
- package/dist/martyrs/src/components/Table/StatusBadge.vue.js.map +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js +1 -1
- package/dist/martyrs/src/components/Text/Text.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/OtpDialog.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/blocks/PopupAuth.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +17 -21
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +42 -4
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +34 -66
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.router.js +0 -53
- package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +515 -103
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js +1 -3
- package/dist/martyrs/src/modules/backoffice/configs/navigation.backoffice.config.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js +1 -32
- package/dist/martyrs/src/modules/backoffice/router/backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/community/community.client.js +49 -8
- package/dist/martyrs/src/modules/community/community.client.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -4
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +28 -17
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +36 -28
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js +21 -0
- package/dist/martyrs/src/modules/community/router/community.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js +70 -0
- package/dist/martyrs/src/modules/community/router/community.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.router.js +73 -0
- package/dist/martyrs/src/modules/community/router/community.router.js.map +1 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js +20 -0
- package/dist/martyrs/src/modules/community/router/community.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +5 -3
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js +7 -2
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +11 -5
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js +53 -18
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js +44 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardStat.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +9 -6
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js +5 -5
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +14 -14
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +28 -29
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +6 -6
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +5 -7
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +28 -18
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +3 -3
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js +2 -3
- package/dist/martyrs/src/modules/core/views/router/addRoutes.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +10 -0
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +9 -9
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -0
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +23 -33
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +13 -13
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/events.client.js +37 -15
- package/dist/martyrs/src/modules/events/events.client.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js +95 -0
- package/dist/martyrs/src/modules/events/router/events.organization.router.js.map +1 -0
- package/dist/martyrs/src/modules/events/router/events.router.js +73 -364
- package/dist/martyrs/src/modules/events/router/events.router.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.user.router.js +65 -0
- package/dist/martyrs/src/modules/events/router/events.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js +33 -0
- package/dist/martyrs/src/modules/governance/configs/navigation.initiative.config.js.map +1 -0
- package/dist/martyrs/src/modules/governance/governance.client.js +31 -0
- package/dist/martyrs/src/modules/governance/governance.client.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardInitiativeItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js +105 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardSprintItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js +110 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardTaskItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js +106 -0
- package/dist/martyrs/src/modules/governance/views/components/blocks/CardVotingItem.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js +52 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Governance.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js +684 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiative.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js +78 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js +328 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/InitiativeSprints.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js +145 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Initiatives.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js +258 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Sprint.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js +72 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/SprintCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js +769 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Task.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js +88 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/TaskCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js +291 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Tasks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js +267 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Voting.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js +90 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/VotingCreate.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js +68 -0
- package/dist/martyrs/src/modules/governance/views/components/pages/Votings.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js +47 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/EmptyState.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js +164 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/LinkedEntityCard.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js +39 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/TaskStatusBadge.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js +112 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VoteForm.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/partials/VotingResults.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js +555 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormInitiativeDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js +187 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormSprintDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js +171 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormTaskDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js +179 -0
- package/dist/martyrs/src/modules/governance/views/components/sections/FormVotingDetails.vue.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js +502 -0
- package/dist/martyrs/src/modules/governance/views/router/governance.router.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js +119 -0
- package/dist/martyrs/src/modules/governance/views/store/initiatives.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js +99 -0
- package/dist/martyrs/src/modules/governance/views/store/sprints.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js +115 -0
- package/dist/martyrs/src/modules/governance/views/store/tasks.js.map +1 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js +155 -0
- package/dist/martyrs/src/modules/governance/views/store/votings.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js +70 -0
- package/dist/martyrs/src/modules/icons/entities/IconCash.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/icons.client.js +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/{icons.router.js → router/icons.router.js} +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -0
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +7 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +13 -13
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +9 -9
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +17 -17
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +10 -10
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +6 -6
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js +63 -0
- package/dist/martyrs/src/modules/music/components/sections/PopularTracks.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/music.client.js +29 -25
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/{music.router.js → router/music.router.js} +16 -16
- package/dist/martyrs/src/modules/music/router/music.router.js.map +1 -0
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +26 -27
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +118 -59
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +74 -54
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/{notifications.router.js → router/notifications.router.js} +3 -3
- package/dist/martyrs/src/modules/notifications/router/notifications.router.js.map +1 -0
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js +34 -44
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js +47 -57
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +5 -5
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +7 -7
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +61 -54
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +43 -31
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +13 -13
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +19 -19
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +7 -10
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +4 -4
- package/dist/martyrs/src/modules/orders/orders.client.js +16 -16
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +11 -4
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +22 -15
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +63 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -8
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +24 -30
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +42 -6
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.backoffice.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js +102 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.router.js.map +1 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js +20 -0
- package/dist/martyrs/src/modules/organizations/router/organizations.user.router.js.map +1 -0
- package/dist/martyrs/src/modules/pages/pages.client.js +1 -1
- package/dist/martyrs/src/modules/pages/pages.client.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/{pages.router.js → views/router/pages.router.js} +8 -8
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +7 -7
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +5 -5
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +20 -20
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/rents.client.js +1 -1
- package/dist/martyrs/src/modules/rents/rents.client.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +7 -7
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/rents/{rents.router.js → views/router/rents.router.js} +4 -4
- package/dist/martyrs/src/modules/rents/views/router/rents.router.js.map +1 -0
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/reports.client.js +1 -1
- package/dist/martyrs/src/modules/reports/reports.client.js.map +1 -1
- package/dist/martyrs/src/modules/reports/{reports.router.js → router/reports.router.js} +1 -1
- package/dist/martyrs/src/modules/reports/router/reports.router.js.map +1 -0
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +12 -12
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +21 -21
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +68 -0
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js +48 -0
- package/dist/martyrs/src/modules/wallet/views/router/wallet.router.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js +59 -0
- package/dist/martyrs/src/modules/wallet/views/store/payments.store.js.map +1 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js +20 -0
- package/dist/martyrs/src/modules/wallet/wallet.client.js.map +1 -0
- package/dist/martyrs.es.js +84 -41
- package/dist/martyrs.es10.js +126 -0
- package/dist/martyrs.es100.js +33 -0
- package/dist/martyrs.es102.js +39 -0
- package/dist/martyrs.es103.js +31 -0
- package/dist/martyrs.es105.js +27 -0
- package/dist/martyrs.es106.js +8 -0
- package/dist/martyrs.es107.js +9 -0
- package/dist/martyrs.es108.js +79 -0
- package/dist/martyrs.es109.js +7 -0
- package/dist/martyrs.es11.js +49 -0
- package/dist/{web-n_ivHO3v.js → martyrs.es110.js} +1 -1
- package/dist/martyrs.es111.js +327 -0
- package/dist/martyrs.es112.js +121 -0
- package/dist/martyrs.es115.js +4 -0
- package/dist/martyrs.es116.js +25 -0
- package/dist/martyrs.es117.js +7 -0
- package/dist/martyrs.es118.js +10 -0
- package/dist/martyrs.es119.js +169 -0
- package/dist/martyrs.es12.js +94 -0
- package/dist/martyrs.es120.js +460 -0
- package/dist/martyrs.es121.js +42 -0
- package/dist/martyrs.es122.js +12 -0
- package/dist/martyrs.es123.js +52 -0
- package/dist/martyrs.es124.js +14 -0
- package/dist/martyrs.es125.js +47 -0
- package/dist/martyrs.es126.js +7 -0
- package/dist/martyrs.es127.js +131 -0
- package/dist/martyrs.es128.js +103 -0
- package/dist/martyrs.es129.js +89 -0
- package/dist/martyrs.es13.js +48 -0
- package/dist/martyrs.es130.js +40 -0
- package/dist/martyrs.es131.js +14 -0
- package/dist/martyrs.es132.js +42 -0
- package/dist/martyrs.es133.js +11 -0
- package/dist/martyrs.es134.js +6 -0
- package/dist/martyrs.es135.js +119 -0
- package/dist/martyrs.es136.js +20 -0
- package/dist/martyrs.es137.js +18 -0
- package/dist/martyrs.es138.js +35 -0
- package/dist/martyrs.es139.js +12 -0
- package/dist/martyrs.es14.js +101 -0
- package/dist/martyrs.es140.js +23 -0
- package/dist/martyrs.es141.js +12 -0
- package/dist/martyrs.es142.js +11 -0
- package/dist/martyrs.es143.js +47 -0
- package/dist/martyrs.es144.js +483 -0
- package/dist/martyrs.es145.js +8 -0
- package/dist/martyrs.es146.js +4 -0
- package/dist/martyrs.es147.js +14 -0
- package/dist/martyrs.es148.js +33 -0
- package/dist/martyrs.es149.js +19 -0
- package/dist/martyrs.es15.js +408 -0
- package/dist/martyrs.es150.js +22 -0
- package/dist/martyrs.es151.js +31 -0
- package/dist/martyrs.es152.js +23 -0
- package/dist/martyrs.es16.js +58 -0
- package/dist/martyrs.es17.js +44 -0
- package/dist/martyrs.es18.js +42 -0
- package/dist/martyrs.es19.js +27 -0
- package/dist/martyrs.es2.js +88 -0
- package/dist/martyrs.es20.js +13 -0
- package/dist/martyrs.es21.js +57 -0
- package/dist/martyrs.es22.js +104 -0
- package/dist/martyrs.es23.js +178 -0
- package/dist/martyrs.es24.js +123 -0
- package/dist/martyrs.es25.js +139 -0
- package/dist/martyrs.es26.js +21 -0
- package/dist/martyrs.es27.js +60 -0
- package/dist/martyrs.es28.js +75 -0
- package/dist/martyrs.es29.js +36 -0
- package/dist/martyrs.es3.js +116 -0
- package/dist/martyrs.es30.js +348 -0
- package/dist/martyrs.es31.js +83 -0
- package/dist/martyrs.es32.js +148 -0
- package/dist/martyrs.es33.js +175 -0
- package/dist/martyrs.es34.js +66 -0
- package/dist/martyrs.es35.js +57 -0
- package/dist/martyrs.es36.js +76 -0
- package/dist/martyrs.es37.js +101 -0
- package/dist/martyrs.es38.js +39 -0
- package/dist/martyrs.es39.js +124 -0
- package/dist/martyrs.es4.js +85 -0
- package/dist/martyrs.es40.js +120 -0
- package/dist/martyrs.es41.js +229 -0
- package/dist/martyrs.es43.js +29 -0
- package/dist/martyrs.es44.js +27 -0
- package/dist/martyrs.es46.js +9 -0
- package/dist/martyrs.es48.js +18 -0
- package/dist/martyrs.es5.js +395 -0
- package/dist/martyrs.es50.js +42 -0
- package/dist/martyrs.es52.js +255 -0
- package/dist/martyrs.es54.js +8 -0
- package/dist/martyrs.es6.js +70 -0
- package/dist/martyrs.es61.js +139 -0
- package/dist/martyrs.es65.js +28 -0
- package/dist/martyrs.es68.js +33 -0
- package/dist/martyrs.es69.js +37 -0
- package/dist/martyrs.es7.js +17 -0
- package/dist/martyrs.es71.js +114 -0
- package/dist/martyrs.es73.js +83 -0
- package/dist/martyrs.es74.js +52 -0
- package/dist/martyrs.es75.js +75 -0
- package/dist/martyrs.es76.js +176 -0
- package/dist/martyrs.es77.js +31 -0
- package/dist/martyrs.es78.js +38 -0
- package/dist/martyrs.es8.js +127 -0
- package/dist/martyrs.es81.js +32 -0
- package/dist/martyrs.es86.js +37 -0
- package/dist/martyrs.es89.js +37 -0
- package/dist/martyrs.es9.js +396 -0
- package/dist/martyrs.es91.js +63 -0
- package/dist/martyrs.es92.js +7 -0
- package/dist/martyrs.es93.js +35 -0
- package/dist/martyrs.es95.js +41 -0
- package/dist/martyrs.es96.js +59 -0
- package/dist/martyrs.es97.js +123 -0
- package/dist/martyrs.es98.js +43 -0
- package/dist/martyrs.es99.js +86 -0
- package/dist/music.server.js +11 -11
- package/dist/notifications.server.js +16 -6
- package/dist/orders.server.js +264 -145
- package/dist/organizations.server.js +22 -6
- package/dist/products.server.js +7 -7
- package/dist/rents.server.js +4 -3
- package/dist/style.css +970 -986
- package/package.json +13 -6
- package/src/builder/modes/ssr.rspack.dev.js +32 -20
- package/src/builder/rspack/rspack.config.api.js +3 -0
- package/src/builder/rspack/rspack.config.base.js +9 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +8 -5
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Button/Button.vue +4 -4
- package/src/components/Table/StatusBadge.vue +24 -18
- package/src/components/Text/Text.vue +1 -1
- package/src/jit/core.js +72 -35
- package/src/jit/plugin.js +4 -3
- package/src/jit/rules.js +15 -15
- package/src/modules/TASKS.MD +30 -0
- package/src/modules/TASK_ACTIVITY.md +60 -0
- package/src/modules/TASK_MODULE_ARCH.md +391 -0
- package/src/modules/auth/controllers/routes/users.routes.js +8 -0
- package/src/modules/auth/controllers/services/users.service.js +51 -1
- package/src/modules/auth/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileBlogposts.vue +25 -24
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -1
- package/src/modules/auth/views/components/pages/UserDashboard.vue +35 -62
- package/src/modules/auth/views/router/users.router.js +0 -44
- package/src/modules/backoffice/components/pages/Dashboard.vue +423 -120
- package/src/modules/backoffice/configs/navigation.backoffice.config.js +0 -2
- package/src/modules/backoffice/router/backoffice.router.js +0 -25
- package/src/modules/community/community.client.js +54 -9
- package/src/modules/community/components/blocks/CardBlogpost.vue +10 -3
- package/src/modules/community/components/layouts/Community.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +19 -20
- package/src/modules/community/components/pages/Posts.vue +43 -28
- package/src/modules/community/components/sections/Comment.vue +1 -1
- package/src/modules/community/controllers/blog.controller.js +4 -5
- package/src/modules/community/models/reaction.model.js +1 -0
- package/src/modules/community/router/community.backoffice.router.js +16 -0
- package/src/modules/community/router/community.organization.router.js +56 -0
- package/src/modules/community/router/community.router.js +58 -106
- package/src/modules/community/router/community.user.router.js +15 -0
- package/src/modules/constructor/components/elements/Textarea.vue +1 -1
- package/src/modules/constructor/components/sections/Constructor.vue +1 -1
- package/src/modules/core/controllers/classes/core.validator.js +7 -1
- package/src/modules/core/controllers/classes/core.verifier.js +0 -2
- package/src/modules/core/controllers/classes/crud/crud.controller.js +0 -4
- package/src/modules/core/controllers/classes/crud/crud.service.js +1 -0
- package/src/modules/core/models/schemas/engagement.schema.js +19 -22
- package/src/modules/core/views/classes/core.app.js +6 -4
- package/src/modules/core/views/classes/i18n.manager.js +9 -2
- package/src/modules/core/views/classes/ws.manager.js +17 -7
- package/src/modules/core/views/components/blocks/Card.vue +47 -24
- package/src/modules/core/views/components/blocks/CardStat.vue +27 -0
- package/src/modules/core/views/components/blocks/PopupAuth.vue +1 -1
- package/src/modules/core/views/components/layouts/Client.vue +5 -4
- package/src/modules/core/views/components/partials/BottomNavigationBar.vue +5 -5
- package/src/modules/core/views/components/partials/Header.vue +2 -2
- package/src/modules/core/views/components/partials/Navigation.vue +13 -14
- package/src/modules/core/views/components/partials/Sidebar.vue +4 -6
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +23 -15
- package/src/modules/core/views/mixins/mixins.js +4 -3
- package/src/modules/core/views/router/addRoutes.js +1 -2
- package/src/modules/core/views/utils/vue-app-renderer.js +12 -0
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Events.vue +1 -0
- package/src/modules/events/components/pages/EventsBackoffice.vue +23 -48
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/events/events.client.js +44 -17
- package/src/modules/events/router/events.backoffice.router.js +80 -0
- package/src/modules/events/router/events.organization.router.js +80 -0
- package/src/modules/events/router/events.router.js +55 -325
- package/src/modules/events/router/events.user.router.js +49 -0
- package/src/modules/governance/TASK-TRACKER.MD +534 -39
- package/src/modules/governance/configs/navigation.initiative.config.js +30 -0
- package/src/modules/governance/controllers/routes/initiatives.routes.js +55 -8
- package/src/modules/governance/controllers/routes/{milestones.routes.js → sprints.routes.js} +22 -22
- package/src/modules/governance/controllers/routes/tasks.routes.js +2 -2
- package/src/modules/governance/governance.client.js +1 -4
- package/src/modules/governance/governance.server.js +6 -6
- package/src/modules/governance/middlewares/initiatives.verifier.js +60 -0
- package/src/modules/governance/middlewares/{milestones.verifier.js → sprints.verifier.js} +10 -10
- package/src/modules/governance/middlewares/tasks.verifier.js +4 -4
- package/src/modules/governance/middlewares/votings.verifier.js +25 -7
- package/src/modules/governance/models/{milestone.model.js → sprint.model.js} +11 -11
- package/src/modules/governance/models/task.model.js +4 -4
- package/src/modules/governance/models/voting.model.js +10 -5
- package/src/modules/governance/views/components/blocks/CardInitiativeItem.vue +8 -13
- package/src/modules/governance/views/components/blocks/{CardMilestoneItem.vue → CardSprintItem.vue} +16 -17
- package/src/modules/governance/views/components/blocks/CardTaskItem.vue +7 -9
- package/src/modules/governance/views/components/blocks/CardVotingItem.vue +7 -9
- package/src/modules/governance/views/components/pages/Governance.vue +13 -34
- package/src/modules/governance/views/components/pages/Initiative.vue +73 -154
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +44 -7
- package/src/modules/governance/views/components/pages/{Roadmap.vue → InitiativeSprints.vue} +70 -69
- package/src/modules/governance/views/components/pages/Initiatives.vue +23 -108
- package/src/modules/governance/views/components/pages/{Milestone.vue → Sprint.vue} +43 -41
- package/src/modules/governance/views/components/pages/SprintCreate.vue +55 -0
- package/src/modules/governance/views/components/pages/Task.vue +95 -88
- package/src/modules/governance/views/components/pages/TaskCreate.vue +47 -9
- package/src/modules/governance/views/components/pages/Tasks.vue +25 -21
- package/src/modules/governance/views/components/pages/Voting.vue +84 -68
- package/src/modules/governance/views/components/pages/VotingCreate.vue +48 -8
- package/src/modules/governance/views/components/pages/Votings.vue +12 -57
- package/src/modules/governance/views/components/partials/EmptyState.vue +1 -1
- package/src/modules/governance/views/components/partials/LinkedEntityCard.vue +23 -11
- package/src/modules/governance/views/components/partials/TaskStatusBadge.vue +1 -1
- package/src/modules/governance/views/components/partials/VoteForm.vue +3 -3
- package/src/modules/governance/views/components/partials/VotingResults.vue +13 -19
- package/src/modules/governance/views/components/sections/FormInitiativeDetails.vue +413 -15
- package/src/modules/governance/views/components/sections/FormSprintDetails.vue +156 -0
- package/src/modules/governance/views/components/sections/FormTaskDetails.vue +125 -21
- package/src/modules/governance/views/components/sections/FormVotingDetails.vue +136 -17
- package/src/modules/governance/views/components/sections/VoteForm.vue +2 -2
- package/src/modules/governance/views/router/governance.router.js +255 -151
- package/src/modules/governance/views/store/initiatives.js +23 -2
- package/src/modules/governance/views/store/sprints.js +102 -0
- package/src/modules/governance/views/store/tasks.js +25 -9
- package/src/modules/governance/views/store/votings.js +106 -27
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/sections/PopularTracks.vue +52 -0
- package/src/modules/music/music.client.js +8 -1
- package/src/modules/music/router/music.router.js +13 -1
- package/src/modules/notifications/components/elements/NotificationBadge.vue +8 -33
- package/src/modules/notifications/components/sections/NotificationPreferences.vue +110 -48
- package/src/modules/notifications/notifications.client.js +78 -57
- package/src/modules/notifications/router/notifications.router.js +32 -15
- package/src/modules/notifications/services/notification.service.js +15 -6
- package/src/modules/notifications/services/web-push.service.js +2 -0
- package/src/modules/orders/components/blocks/CardApplication.vue +20 -40
- package/src/modules/orders/components/blocks/CardCustomer.vue +35 -55
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderUser.vue +2 -2
- package/src/modules/orders/components/forms/FormCustomerDetails.vue +2 -2
- package/src/modules/orders/components/pages/Applications.vue +59 -57
- package/src/modules/orders/components/pages/Customers.vue +40 -27
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/sections/ApplicationDetails.vue +1 -4
- package/src/modules/orders/components/sections/CustomerDetails.vue +1 -4
- package/src/modules/orders/controllers/orders.controller.js +113 -0
- package/src/modules/orders/middlewares/applications.verifier.js +13 -37
- package/src/modules/orders/middlewares/customers.verifier.js +44 -121
- package/src/modules/orders/models/customer.model.js +0 -1
- package/src/modules/orders/routes/applications.routes.js +108 -50
- package/src/modules/orders/routes/orders.routes.js +9 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +12 -4
- package/src/modules/organizations/components/forms/DepartmentForm.vue +9 -4
- package/src/modules/organizations/components/pages/Members.vue +62 -1
- package/src/modules/organizations/components/pages/Organization.new.vue +17 -17
- package/src/modules/organizations/components/pages/Organization.vue +8 -1
- package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +11 -4
- package/src/modules/organizations/components/pages/Organizations.vue +33 -46
- package/src/modules/organizations/controllers/invites.controller.js +19 -0
- package/src/modules/organizations/controllers/memberships.controller.js +1 -0
- package/src/modules/organizations/organizations.client.js +48 -7
- package/src/modules/organizations/router/organizations.backoffice.router.js +15 -0
- package/src/modules/organizations/router/organizations.router.js +72 -112
- package/src/modules/organizations/router/organizations.user.router.js +15 -0
- package/src/modules/pages/pages.client.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +95 -15
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +3 -3
- package/src/modules/rents/controllers/services/rents.services.js +1 -0
- package/src/modules/rents/rents.client.js +1 -1
- package/src/modules/rents/views/router/rents.router.js +93 -33
- package/src/modules/reports/reports.client.js +1 -1
- package/src/modules/wallet/wallet.client.js +1 -1
- package/src/styles/theme.scss +5 -3
- package/dist/engagement.schema-fh6W1fb_.js +0 -24
- package/dist/main-DQm5pwFO.js +0 -8213
- package/dist/martyrs/dist/main-DQm5pwFO.js +0 -1080
- package/dist/martyrs/dist/main-DQm5pwFO.js.map +0 -1
- package/dist/martyrs/dist/web-n_ivHO3v.js +0 -55
- package/dist/martyrs/dist/web-n_ivHO3v.js.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.js +0 -124
- package/dist/martyrs/src/modules/community/community.router.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.js.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.js.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.js +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.js.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.js.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.js.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.js.map +0 -1
- package/dist/martyrs.css +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/device/dist/esm/web.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -18
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js +0 -9
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.1_@capacitor_core@7.4.4/node_modules/@capacitor/keyboard/dist/esm/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.3_@capacitor_core@7.4.4/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +0 -1
- package/src/jit/.claude/settings.local.json +0 -10
- package/src/modules/community/community.router.js +0 -107
- package/src/modules/governance/governance.router.js +0 -350
- package/src/modules/governance/seed-governance.js +0 -348
- package/src/modules/governance/views/components/pages/InitiativeMilestones.vue +0 -159
- package/src/modules/governance/views/router/goverance.router.js +0 -290
- package/src/modules/governance/views/store/votes.js +0 -113
- package/src/modules/icons/icons.router.js +0 -29
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/music/.claude/settings.local.json +0 -8
- package/src/modules/music/music.router.js +0 -188
- package/src/modules/notifications/notifications.router.js +0 -47
- package/src/modules/orders/orders.router.js +0 -255
- package/src/modules/organizations/organizations.router.js +0 -123
- package/src/modules/organizations/router/backoffice.router.js +0 -27
- package/src/modules/organizations/router/departments.router.js +0 -15
- package/src/modules/organizations/router/members.router.js +0 -20
- package/src/modules/pages/pages.router.js +0 -107
- package/src/modules/rents/rents.router.js +0 -115
- package/src/modules/reports/reports.router.js +0 -33
- package/src/modules/wallet/wallet.router.js +0 -45
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { computed as P, watch as h, createBlock as c, openBlock as n, Transition as u, withCtx as m, createCommentVNode as s, Teleport as k, createElementBlock as d, normalizeClass as f, createVNode as v, createElementVNode as r, mergeProps as $, renderSlot as x, toDisplayString as C } from "vue";
|
|
2
|
+
import { useRoute as O, useRouter as z } from "vue-router";
|
|
3
|
+
import A from "./martyrs.es44.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
const B = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "mn-b-medium"
|
|
8
|
+
}, L = { class: "pos-absolute h-100 pos-t-0 pos-r-0" }, N = {
|
|
9
|
+
__name: "Popup",
|
|
10
|
+
props: {
|
|
11
|
+
isPopupOpen: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: !1
|
|
14
|
+
},
|
|
15
|
+
style: String,
|
|
16
|
+
title: String,
|
|
17
|
+
align: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "center center",
|
|
20
|
+
validator: (e) => [
|
|
21
|
+
"top left",
|
|
22
|
+
"top center",
|
|
23
|
+
"top right",
|
|
24
|
+
"center left",
|
|
25
|
+
"center center",
|
|
26
|
+
"center right",
|
|
27
|
+
"bottom left",
|
|
28
|
+
"bottom center",
|
|
29
|
+
"bottom right"
|
|
30
|
+
].includes(e)
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["close-popup", "after-leave"],
|
|
34
|
+
setup(e, { emit: i }) {
|
|
35
|
+
const l = e, a = i, g = P(() => `align-${l.align.replace(/\s+/g, "-")}`);
|
|
36
|
+
function p() {
|
|
37
|
+
a("close-popup");
|
|
38
|
+
}
|
|
39
|
+
function y() {
|
|
40
|
+
a("after-leave");
|
|
41
|
+
}
|
|
42
|
+
return h(() => l.isPopupOpen, (t) => {
|
|
43
|
+
t ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
|
|
44
|
+
}), O(), z(), (t, o) => (n(), c(u, {
|
|
45
|
+
name: "moveFromTop",
|
|
46
|
+
onAfterLeave: y
|
|
47
|
+
}, {
|
|
48
|
+
default: m(() => [
|
|
49
|
+
e.isPopupOpen ? (n(), c(k, {
|
|
50
|
+
key: 0,
|
|
51
|
+
to: "body"
|
|
52
|
+
}, [
|
|
53
|
+
e.isPopupOpen ? (n(), d("div", {
|
|
54
|
+
key: "popup-content",
|
|
55
|
+
class: f(["z-index-6 popup-wrapper", {
|
|
56
|
+
"pd-t-extra": t.MOBILE_APP === "ios",
|
|
57
|
+
[g.value]: !0
|
|
58
|
+
}])
|
|
59
|
+
}, [
|
|
60
|
+
v(u, {
|
|
61
|
+
name: "TransitionTranslateY",
|
|
62
|
+
mode: "out-in"
|
|
63
|
+
}, {
|
|
64
|
+
default: m(() => [
|
|
65
|
+
r("section", $({ class: "h-max-100 o-y-scroll pos-relative z-index-4" }, t.$attrs, {
|
|
66
|
+
class: t.$attrs.class
|
|
67
|
+
}), [
|
|
68
|
+
e.title ? (n(), d("h4", B, C(e.title), 1)) : s("", !0),
|
|
69
|
+
r("div", L, [
|
|
70
|
+
v(A, {
|
|
71
|
+
fill: "rgb(var(--white))",
|
|
72
|
+
onClick: o[0] || (o[0] = (b) => p()),
|
|
73
|
+
class: "cursor-pointer bg-second pd-micro radius-extra pos-sticky pos-t-0 pos-r-0 mn-t-medium mn-r-medium hover-scale-1 i-medium z-index-5"
|
|
74
|
+
})
|
|
75
|
+
]),
|
|
76
|
+
x(t.$slots, "default")
|
|
77
|
+
], 16)
|
|
78
|
+
]),
|
|
79
|
+
_: 3
|
|
80
|
+
}),
|
|
81
|
+
r("div", {
|
|
82
|
+
onClick: o[1] || (o[1] = (b) => p()),
|
|
83
|
+
class: f([{ active: e.isPopupOpen === !0 }, "color-overlay z-index-3"])
|
|
84
|
+
}, null, 2)
|
|
85
|
+
], 2)) : s("", !0)
|
|
86
|
+
])) : s("", !0)
|
|
87
|
+
]),
|
|
88
|
+
_: 3
|
|
89
|
+
}));
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
export {
|
|
93
|
+
N as default
|
|
94
|
+
};
|
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
import f from "./martyrs.es131.js";
|
|
2
|
+
import s from "./martyrs.es126.js";
|
|
3
|
+
function l(n) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
return l = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
6
|
+
return typeof t;
|
|
7
|
+
} : function(t) {
|
|
8
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
9
|
+
}, l(n);
|
|
10
|
+
}
|
|
11
|
+
function r(n, t) {
|
|
12
|
+
if (!(n instanceof t))
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
function y(n, t) {
|
|
16
|
+
for (var e = 0; e < t.length; e++) {
|
|
17
|
+
var a = t[e];
|
|
18
|
+
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(n, a.key, a);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function o(n, t, e) {
|
|
22
|
+
return t && y(n.prototype, t), Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
23
|
+
}
|
|
24
|
+
var v = "1.2.0", P = "1.7.35", h = " ext. ", d = /^\d+$/, C = /* @__PURE__ */ (function() {
|
|
25
|
+
function n(t) {
|
|
26
|
+
r(this, n), k(t), this.metadata = t, m.call(this, t);
|
|
27
|
+
}
|
|
28
|
+
return o(n, [{
|
|
29
|
+
key: "getCountries",
|
|
30
|
+
value: function() {
|
|
31
|
+
return Object.keys(this.metadata.countries).filter(function(e) {
|
|
32
|
+
return e !== "001";
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}, {
|
|
36
|
+
key: "getCountryMetadata",
|
|
37
|
+
value: function(e) {
|
|
38
|
+
return this.metadata.countries[e];
|
|
39
|
+
}
|
|
40
|
+
}, {
|
|
41
|
+
key: "nonGeographic",
|
|
42
|
+
value: function() {
|
|
43
|
+
if (!(this.v1 || this.v2 || this.v3))
|
|
44
|
+
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
|
45
|
+
}
|
|
46
|
+
}, {
|
|
47
|
+
key: "hasCountry",
|
|
48
|
+
value: function(e) {
|
|
49
|
+
return this.getCountryMetadata(e) !== void 0;
|
|
50
|
+
}
|
|
51
|
+
}, {
|
|
52
|
+
key: "hasCallingCode",
|
|
53
|
+
value: function(e) {
|
|
54
|
+
if (this.getCountryCodesForCallingCode(e))
|
|
55
|
+
return !0;
|
|
56
|
+
if (this.nonGeographic()) {
|
|
57
|
+
if (this.nonGeographic()[e])
|
|
58
|
+
return !0;
|
|
59
|
+
} else {
|
|
60
|
+
var a = this.countryCallingCodes()[e];
|
|
61
|
+
if (a && a.length === 1 && a[0] === "001")
|
|
62
|
+
return !0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, {
|
|
66
|
+
key: "isNonGeographicCallingCode",
|
|
67
|
+
value: function(e) {
|
|
68
|
+
return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
|
|
69
|
+
}
|
|
70
|
+
// Deprecated.
|
|
71
|
+
}, {
|
|
72
|
+
key: "country",
|
|
73
|
+
value: function(e) {
|
|
74
|
+
return this.selectNumberingPlan(e);
|
|
75
|
+
}
|
|
76
|
+
}, {
|
|
77
|
+
key: "selectNumberingPlan",
|
|
78
|
+
value: function(e, a) {
|
|
79
|
+
if (e && d.test(e) && (a = e, e = null), e && e !== "001") {
|
|
80
|
+
if (!this.hasCountry(e))
|
|
81
|
+
throw new Error("Unknown country: ".concat(e));
|
|
82
|
+
this.numberingPlan = new g(this.getCountryMetadata(e), this);
|
|
83
|
+
} else if (a) {
|
|
84
|
+
if (!this.hasCallingCode(a))
|
|
85
|
+
throw new Error("Unknown calling code: ".concat(a));
|
|
86
|
+
this.numberingPlan = new g(this.getNumberingPlanMetadata(a), this);
|
|
87
|
+
} else
|
|
88
|
+
this.numberingPlan = void 0;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
}, {
|
|
92
|
+
key: "getCountryCodesForCallingCode",
|
|
93
|
+
value: function(e) {
|
|
94
|
+
var a = this.countryCallingCodes()[e];
|
|
95
|
+
if (a)
|
|
96
|
+
return a.length === 1 && a[0].length === 3 ? void 0 : a;
|
|
97
|
+
}
|
|
98
|
+
}, {
|
|
99
|
+
key: "getCountryCodeForCallingCode",
|
|
100
|
+
value: function(e) {
|
|
101
|
+
var a = this.getCountryCodesForCallingCode(e);
|
|
102
|
+
if (a)
|
|
103
|
+
return a[0];
|
|
104
|
+
}
|
|
105
|
+
}, {
|
|
106
|
+
key: "getNumberingPlanMetadata",
|
|
107
|
+
value: function(e) {
|
|
108
|
+
var a = this.getCountryCodeForCallingCode(e);
|
|
109
|
+
if (a)
|
|
110
|
+
return this.getCountryMetadata(a);
|
|
111
|
+
if (this.nonGeographic()) {
|
|
112
|
+
var i = this.nonGeographic()[e];
|
|
113
|
+
if (i)
|
|
114
|
+
return i;
|
|
115
|
+
} else {
|
|
116
|
+
var u = this.countryCallingCodes()[e];
|
|
117
|
+
if (u && u.length === 1 && u[0] === "001")
|
|
118
|
+
return this.metadata.countries["001"];
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
// Deprecated.
|
|
122
|
+
}, {
|
|
123
|
+
key: "countryCallingCode",
|
|
124
|
+
value: function() {
|
|
125
|
+
return this.numberingPlan.callingCode();
|
|
126
|
+
}
|
|
127
|
+
// Deprecated.
|
|
128
|
+
}, {
|
|
129
|
+
key: "IDDPrefix",
|
|
130
|
+
value: function() {
|
|
131
|
+
return this.numberingPlan.IDDPrefix();
|
|
132
|
+
}
|
|
133
|
+
// Deprecated.
|
|
134
|
+
}, {
|
|
135
|
+
key: "defaultIDDPrefix",
|
|
136
|
+
value: function() {
|
|
137
|
+
return this.numberingPlan.defaultIDDPrefix();
|
|
138
|
+
}
|
|
139
|
+
// Deprecated.
|
|
140
|
+
}, {
|
|
141
|
+
key: "nationalNumberPattern",
|
|
142
|
+
value: function() {
|
|
143
|
+
return this.numberingPlan.nationalNumberPattern();
|
|
144
|
+
}
|
|
145
|
+
// Deprecated.
|
|
146
|
+
}, {
|
|
147
|
+
key: "possibleLengths",
|
|
148
|
+
value: function() {
|
|
149
|
+
return this.numberingPlan.possibleLengths();
|
|
150
|
+
}
|
|
151
|
+
// Deprecated.
|
|
152
|
+
}, {
|
|
153
|
+
key: "formats",
|
|
154
|
+
value: function() {
|
|
155
|
+
return this.numberingPlan.formats();
|
|
156
|
+
}
|
|
157
|
+
// Deprecated.
|
|
158
|
+
}, {
|
|
159
|
+
key: "nationalPrefixForParsing",
|
|
160
|
+
value: function() {
|
|
161
|
+
return this.numberingPlan.nationalPrefixForParsing();
|
|
162
|
+
}
|
|
163
|
+
// Deprecated.
|
|
164
|
+
}, {
|
|
165
|
+
key: "nationalPrefixTransformRule",
|
|
166
|
+
value: function() {
|
|
167
|
+
return this.numberingPlan.nationalPrefixTransformRule();
|
|
168
|
+
}
|
|
169
|
+
// Deprecated.
|
|
170
|
+
}, {
|
|
171
|
+
key: "leadingDigits",
|
|
172
|
+
value: function() {
|
|
173
|
+
return this.numberingPlan.leadingDigits();
|
|
174
|
+
}
|
|
175
|
+
// Deprecated.
|
|
176
|
+
}, {
|
|
177
|
+
key: "hasTypes",
|
|
178
|
+
value: function() {
|
|
179
|
+
return this.numberingPlan.hasTypes();
|
|
180
|
+
}
|
|
181
|
+
// Deprecated.
|
|
182
|
+
}, {
|
|
183
|
+
key: "type",
|
|
184
|
+
value: function(e) {
|
|
185
|
+
return this.numberingPlan.type(e);
|
|
186
|
+
}
|
|
187
|
+
// Deprecated.
|
|
188
|
+
}, {
|
|
189
|
+
key: "ext",
|
|
190
|
+
value: function() {
|
|
191
|
+
return this.numberingPlan.ext();
|
|
192
|
+
}
|
|
193
|
+
}, {
|
|
194
|
+
key: "countryCallingCodes",
|
|
195
|
+
value: function() {
|
|
196
|
+
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
|
197
|
+
}
|
|
198
|
+
// Deprecated.
|
|
199
|
+
}, {
|
|
200
|
+
key: "chooseCountryByCountryCallingCode",
|
|
201
|
+
value: function(e) {
|
|
202
|
+
return this.selectNumberingPlan(e);
|
|
203
|
+
}
|
|
204
|
+
}, {
|
|
205
|
+
key: "hasSelectedNumberingPlan",
|
|
206
|
+
value: function() {
|
|
207
|
+
return this.numberingPlan !== void 0;
|
|
208
|
+
}
|
|
209
|
+
}]), n;
|
|
210
|
+
})(), g = /* @__PURE__ */ (function() {
|
|
211
|
+
function n(t, e) {
|
|
212
|
+
r(this, n), this.globalMetadataObject = e, this.metadata = t, m.call(this, e.metadata);
|
|
213
|
+
}
|
|
214
|
+
return o(n, [{
|
|
215
|
+
key: "callingCode",
|
|
216
|
+
value: function() {
|
|
217
|
+
return this.metadata[0];
|
|
218
|
+
}
|
|
219
|
+
// Formatting information for regions which share
|
|
220
|
+
// a country calling code is contained by only one region
|
|
221
|
+
// for performance reasons. For example, for NANPA region
|
|
222
|
+
// ("North American Numbering Plan Administration",
|
|
223
|
+
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
|
224
|
+
// it will be contained in the metadata for `US`.
|
|
225
|
+
}, {
|
|
226
|
+
key: "getDefaultCountryMetadataForRegion",
|
|
227
|
+
value: function() {
|
|
228
|
+
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
|
229
|
+
}
|
|
230
|
+
// Is always present.
|
|
231
|
+
}, {
|
|
232
|
+
key: "IDDPrefix",
|
|
233
|
+
value: function() {
|
|
234
|
+
if (!(this.v1 || this.v2))
|
|
235
|
+
return this.metadata[1];
|
|
236
|
+
}
|
|
237
|
+
// Is only present when a country supports multiple IDD prefixes.
|
|
238
|
+
}, {
|
|
239
|
+
key: "defaultIDDPrefix",
|
|
240
|
+
value: function() {
|
|
241
|
+
if (!(this.v1 || this.v2))
|
|
242
|
+
return this.metadata[12];
|
|
243
|
+
}
|
|
244
|
+
}, {
|
|
245
|
+
key: "nationalNumberPattern",
|
|
246
|
+
value: function() {
|
|
247
|
+
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
|
248
|
+
}
|
|
249
|
+
// "possible length" data is always present in Google's metadata.
|
|
250
|
+
}, {
|
|
251
|
+
key: "possibleLengths",
|
|
252
|
+
value: function() {
|
|
253
|
+
if (!this.v1)
|
|
254
|
+
return this.metadata[this.v2 ? 2 : 3];
|
|
255
|
+
}
|
|
256
|
+
}, {
|
|
257
|
+
key: "_getFormats",
|
|
258
|
+
value: function(e) {
|
|
259
|
+
return e[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
260
|
+
}
|
|
261
|
+
// For countries of the same region (e.g. NANPA)
|
|
262
|
+
// formats are all stored in the "main" country for that region.
|
|
263
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
264
|
+
}, {
|
|
265
|
+
key: "formats",
|
|
266
|
+
value: function() {
|
|
267
|
+
var e = this, a = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
268
|
+
return a.map(function(i) {
|
|
269
|
+
return new p(i, e);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}, {
|
|
273
|
+
key: "nationalPrefix",
|
|
274
|
+
value: function() {
|
|
275
|
+
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
|
276
|
+
}
|
|
277
|
+
}, {
|
|
278
|
+
key: "_getNationalPrefixFormattingRule",
|
|
279
|
+
value: function(e) {
|
|
280
|
+
return e[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
281
|
+
}
|
|
282
|
+
// For countries of the same region (e.g. NANPA)
|
|
283
|
+
// national prefix formatting rule is stored in the "main" country for that region.
|
|
284
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
285
|
+
}, {
|
|
286
|
+
key: "nationalPrefixFormattingRule",
|
|
287
|
+
value: function() {
|
|
288
|
+
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
|
289
|
+
}
|
|
290
|
+
}, {
|
|
291
|
+
key: "_nationalPrefixForParsing",
|
|
292
|
+
value: function() {
|
|
293
|
+
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
|
294
|
+
}
|
|
295
|
+
}, {
|
|
296
|
+
key: "nationalPrefixForParsing",
|
|
297
|
+
value: function() {
|
|
298
|
+
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
|
299
|
+
}
|
|
300
|
+
}, {
|
|
301
|
+
key: "nationalPrefixTransformRule",
|
|
302
|
+
value: function() {
|
|
303
|
+
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
|
304
|
+
}
|
|
305
|
+
}, {
|
|
306
|
+
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
|
307
|
+
value: function() {
|
|
308
|
+
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
|
309
|
+
}
|
|
310
|
+
// For countries of the same region (e.g. NANPA)
|
|
311
|
+
// "national prefix is optional when formatting" flag is
|
|
312
|
+
// stored in the "main" country for that region.
|
|
313
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
314
|
+
}, {
|
|
315
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
316
|
+
value: function() {
|
|
317
|
+
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
|
318
|
+
}
|
|
319
|
+
}, {
|
|
320
|
+
key: "leadingDigits",
|
|
321
|
+
value: function() {
|
|
322
|
+
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
|
323
|
+
}
|
|
324
|
+
}, {
|
|
325
|
+
key: "types",
|
|
326
|
+
value: function() {
|
|
327
|
+
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
|
328
|
+
}
|
|
329
|
+
}, {
|
|
330
|
+
key: "hasTypes",
|
|
331
|
+
value: function() {
|
|
332
|
+
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
|
333
|
+
}
|
|
334
|
+
}, {
|
|
335
|
+
key: "type",
|
|
336
|
+
value: function(e) {
|
|
337
|
+
if (this.hasTypes() && c(this.types(), e))
|
|
338
|
+
return new F(c(this.types(), e), this);
|
|
339
|
+
}
|
|
340
|
+
}, {
|
|
341
|
+
key: "ext",
|
|
342
|
+
value: function() {
|
|
343
|
+
return this.v1 || this.v2 ? h : this.metadata[13] || h;
|
|
344
|
+
}
|
|
345
|
+
}]), n;
|
|
346
|
+
})(), p = /* @__PURE__ */ (function() {
|
|
347
|
+
function n(t, e) {
|
|
348
|
+
r(this, n), this._format = t, this.metadata = e;
|
|
349
|
+
}
|
|
350
|
+
return o(n, [{
|
|
351
|
+
key: "pattern",
|
|
352
|
+
value: function() {
|
|
353
|
+
return this._format[0];
|
|
354
|
+
}
|
|
355
|
+
}, {
|
|
356
|
+
key: "format",
|
|
357
|
+
value: function() {
|
|
358
|
+
return this._format[1];
|
|
359
|
+
}
|
|
360
|
+
}, {
|
|
361
|
+
key: "leadingDigitsPatterns",
|
|
362
|
+
value: function() {
|
|
363
|
+
return this._format[2] || [];
|
|
364
|
+
}
|
|
365
|
+
}, {
|
|
366
|
+
key: "nationalPrefixFormattingRule",
|
|
367
|
+
value: function() {
|
|
368
|
+
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
|
369
|
+
}
|
|
370
|
+
}, {
|
|
371
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
372
|
+
value: function() {
|
|
373
|
+
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
374
|
+
}
|
|
375
|
+
}, {
|
|
376
|
+
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
|
377
|
+
value: function() {
|
|
378
|
+
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
379
|
+
}
|
|
380
|
+
// Checks whether national prefix formatting rule contains national prefix.
|
|
381
|
+
}, {
|
|
382
|
+
key: "usesNationalPrefix",
|
|
383
|
+
value: function() {
|
|
384
|
+
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
385
|
+
!b.test(this.nationalPrefixFormattingRule()));
|
|
386
|
+
}
|
|
387
|
+
}, {
|
|
388
|
+
key: "internationalFormat",
|
|
389
|
+
value: function() {
|
|
390
|
+
return this._format[5] || this.format();
|
|
391
|
+
}
|
|
392
|
+
}]), n;
|
|
393
|
+
})(), b = /^\(?\$1\)?$/, F = /* @__PURE__ */ (function() {
|
|
394
|
+
function n(t, e) {
|
|
395
|
+
r(this, n), this.type = t, this.metadata = e;
|
|
396
|
+
}
|
|
397
|
+
return o(n, [{
|
|
398
|
+
key: "pattern",
|
|
399
|
+
value: function() {
|
|
400
|
+
return this.metadata.v1 ? this.type : this.type[0];
|
|
401
|
+
}
|
|
402
|
+
}, {
|
|
403
|
+
key: "possibleLengths",
|
|
404
|
+
value: function() {
|
|
405
|
+
if (!this.metadata.v1)
|
|
406
|
+
return this.type[1] || this.metadata.possibleLengths();
|
|
407
|
+
}
|
|
408
|
+
}]), n;
|
|
409
|
+
})();
|
|
410
|
+
function c(n, t) {
|
|
411
|
+
switch (t) {
|
|
412
|
+
case "FIXED_LINE":
|
|
413
|
+
return n[0];
|
|
414
|
+
case "MOBILE":
|
|
415
|
+
return n[1];
|
|
416
|
+
case "TOLL_FREE":
|
|
417
|
+
return n[2];
|
|
418
|
+
case "PREMIUM_RATE":
|
|
419
|
+
return n[3];
|
|
420
|
+
case "PERSONAL_NUMBER":
|
|
421
|
+
return n[4];
|
|
422
|
+
case "VOICEMAIL":
|
|
423
|
+
return n[5];
|
|
424
|
+
case "UAN":
|
|
425
|
+
return n[6];
|
|
426
|
+
case "PAGER":
|
|
427
|
+
return n[7];
|
|
428
|
+
case "VOIP":
|
|
429
|
+
return n[8];
|
|
430
|
+
case "SHARED_COST":
|
|
431
|
+
return n[9];
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
function k(n) {
|
|
435
|
+
if (!n)
|
|
436
|
+
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
437
|
+
if (!s(n) || !s(n.countries))
|
|
438
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(s(n) ? "an object of shape: { " + Object.keys(n).join(", ") + " }" : "a " + x(n) + ": " + n, "."));
|
|
439
|
+
}
|
|
440
|
+
var x = function(t) {
|
|
441
|
+
return l(t);
|
|
442
|
+
};
|
|
443
|
+
function I(n, t) {
|
|
444
|
+
if (t = new C(t), t.hasCountry(n))
|
|
445
|
+
return t.country(n).countryCallingCode();
|
|
446
|
+
throw new Error("Unknown country: ".concat(n));
|
|
447
|
+
}
|
|
448
|
+
function D(n, t) {
|
|
449
|
+
return t.countries.hasOwnProperty(n);
|
|
450
|
+
}
|
|
451
|
+
function m(n) {
|
|
452
|
+
var t = n.version;
|
|
453
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? f(t, v) === -1 ? this.v2 = !0 : f(t, P) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
454
|
+
}
|
|
455
|
+
export {
|
|
456
|
+
C as default,
|
|
457
|
+
I as getCountryCallingCode,
|
|
458
|
+
D as isSupportedCountry,
|
|
459
|
+
k as validateMetadata
|
|
460
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import o from "./martyrs.es120.js";
|
|
2
|
+
import l from "./martyrs.es147.js";
|
|
3
|
+
function u(e, n, r) {
|
|
4
|
+
if (n === void 0 && (n = {}), r = new o(r), n.v2) {
|
|
5
|
+
if (!e.countryCallingCode)
|
|
6
|
+
throw new Error("Invalid phone number object passed");
|
|
7
|
+
r.selectNumberingPlan(e.countryCallingCode);
|
|
8
|
+
} else {
|
|
9
|
+
if (!e.phone)
|
|
10
|
+
return !1;
|
|
11
|
+
if (e.country) {
|
|
12
|
+
if (!r.hasCountry(e.country))
|
|
13
|
+
throw new Error("Unknown country: ".concat(e.country));
|
|
14
|
+
r.country(e.country);
|
|
15
|
+
} else {
|
|
16
|
+
if (!e.countryCallingCode)
|
|
17
|
+
throw new Error("Invalid phone number object passed");
|
|
18
|
+
r.selectNumberingPlan(e.countryCallingCode);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
if (r.possibleLengths())
|
|
22
|
+
return s(e.phone || e.nationalNumber, r);
|
|
23
|
+
if (e.countryCallingCode && r.isNonGeographicCallingCode(e.countryCallingCode))
|
|
24
|
+
return !0;
|
|
25
|
+
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
26
|
+
}
|
|
27
|
+
function s(e, n) {
|
|
28
|
+
switch (l(e, n)) {
|
|
29
|
+
case "IS_POSSIBLE":
|
|
30
|
+
return !0;
|
|
31
|
+
// This library ignores "local-only" phone numbers (for simplicity).
|
|
32
|
+
// See the readme for more info on what are "local-only" phone numbers.
|
|
33
|
+
// case 'IS_POSSIBLE_LOCAL_ONLY':
|
|
34
|
+
// return !isInternational
|
|
35
|
+
default:
|
|
36
|
+
return !1;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
u as default,
|
|
41
|
+
s as isPossibleNumber
|
|
42
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import m from "./martyrs.es120.js";
|
|
2
|
+
import o from "./martyrs.es134.js";
|
|
3
|
+
import u from "./martyrs.es123.js";
|
|
4
|
+
function b(e, n, r) {
|
|
5
|
+
if (n = n || {}, r = new m(r), r.selectNumberingPlan(e.country, e.countryCallingCode), r.hasTypes())
|
|
6
|
+
return u(e, n, r.metadata) !== void 0;
|
|
7
|
+
var l = n.v2 ? e.nationalNumber : e.phone;
|
|
8
|
+
return o(l, r.nationalNumberPattern());
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
b as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import a from "./martyrs.es120.js";
|
|
2
|
+
import l from "./martyrs.es134.js";
|
|
3
|
+
function I(e, n) {
|
|
4
|
+
var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
5
|
+
if (r) return (r = r.call(e)).next.bind(r);
|
|
6
|
+
if (Array.isArray(e) || (r = c(e)) || n) {
|
|
7
|
+
r && (e = r);
|
|
8
|
+
var t = 0;
|
|
9
|
+
return function() {
|
|
10
|
+
return t >= e.length ? { done: !0 } : { done: !1, value: e[t++] };
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
14
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
15
|
+
}
|
|
16
|
+
function c(e, n) {
|
|
17
|
+
if (e) {
|
|
18
|
+
if (typeof e == "string") return f(e, n);
|
|
19
|
+
var r = Object.prototype.toString.call(e).slice(8, -1);
|
|
20
|
+
if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
|
|
21
|
+
if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return f(e, n);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function f(e, n) {
|
|
25
|
+
(n == null || n > e.length) && (n = e.length);
|
|
26
|
+
for (var r = 0, t = new Array(n); r < n; r++)
|
|
27
|
+
t[r] = e[r];
|
|
28
|
+
return t;
|
|
29
|
+
}
|
|
30
|
+
var s = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
31
|
+
function _(e, n, r) {
|
|
32
|
+
if (n = n || {}, !(!e.country && !e.countryCallingCode)) {
|
|
33
|
+
r = new a(r), r.selectNumberingPlan(e.country, e.countryCallingCode);
|
|
34
|
+
var t = n.v2 ? e.nationalNumber : e.phone;
|
|
35
|
+
if (l(t, r.nationalNumberPattern())) {
|
|
36
|
+
if (i(t, "FIXED_LINE", r))
|
|
37
|
+
return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || i(t, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
38
|
+
for (var E = I(s), o; !(o = E()).done; ) {
|
|
39
|
+
var u = o.value;
|
|
40
|
+
if (i(t, u, r))
|
|
41
|
+
return u;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
function i(e, n, r) {
|
|
47
|
+
return n = r.type(n), !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(e.length) < 0 ? !1 : l(e, n.pattern());
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
_ as default,
|
|
51
|
+
i as isNumberTypeEqualTo
|
|
52
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import u from "./martyrs.es120.js";
|
|
2
|
+
function s(r, t, e) {
|
|
3
|
+
var n = new u(e), o = n.getCountryCodesForCallingCode(r);
|
|
4
|
+
return o ? o.filter(function(a) {
|
|
5
|
+
return i(t, a, e);
|
|
6
|
+
}) : [];
|
|
7
|
+
}
|
|
8
|
+
function i(r, t, e) {
|
|
9
|
+
var n = new u(e);
|
|
10
|
+
return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(r.length) >= 0;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
s as default
|
|
14
|
+
};
|