@ozdao/martyrs 0.2.550 → 0.2.552
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/__vite-browser-external-l0sNRNKZ.js +1 -0
- package/dist/_virtual/__vite-browser-external.js +2 -0
- package/dist/_virtual/__vite-browser-external.js.map +1 -0
- package/dist/builder.js +86 -4
- package/dist/{main-BkG7nL3U.js → main-Bywjlw2D.js} +1891 -1861
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
- package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +6 -4
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue.js → EditImages.vue2.js} +2 -2
- package/dist/martyrs/src/components/EditImages/{EditImages.vue.cjs.map → EditImages.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.js +3 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/{BlockTags.vue2.js → BlockTags.vue.js} +3 -3
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js.map +1 -0
- package/dist/martyrs/src/components/FieldTags/{FieldTags.vue2.js → FieldTags.vue.js} +2 -2
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js.map +1 -0
- package/dist/martyrs/src/components/Media/Media.vue.js +19 -6
- package/dist/martyrs/src/components/Media/Media.vue.js.map +1 -1
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.js → SelectMulti.vue.js} +2 -2
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +1 -0
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.cjs.map → Spoiler.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/UploadImage/{UploadImage.vue2.js → UploadImage.vue.js} +2 -2
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -0
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +3 -2
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.js +13 -1
- package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.router.js +4 -12
- package/dist/martyrs/src/modules/auth/auth.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- 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 +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -11
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
- 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 +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +17 -10
- package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.js +9 -9
- package/dist/martyrs/src/modules/chats/store/chat.store.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +10 -9
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +1 -1
- package/dist/martyrs/src/modules/core/core.client.js +29 -30
- package/dist/martyrs/src/modules/core/core.client.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +62 -22
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/{core.i18n.js → i18n.manager.js} +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{module-registry.js → module.manager.js} +47 -8
- package/dist/martyrs/src/modules/core/views/classes/module.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{session.js → session.manager.js} +3 -3
- package/dist/martyrs/src/modules/core/views/classes/session.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{core.store.js → store.manager.js} +3 -3
- package/dist/martyrs/src/modules/core/views/classes/store.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{core.websocket.js → ws.manager.js} +5 -4
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js +4 -3
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js +3 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +34 -25
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +11 -10
- 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 +6 -5
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +12 -11
- 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 +8 -7
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +28 -9
- 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.vue.js → Filters.vue2.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue.cjs.map → Filters.vue2.js.map} +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +1 -6
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +7 -6
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js +6 -5
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js +157 -140
- package/dist/martyrs/src/modules/core/views/store/core.store.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +59 -6
- 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 +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +5 -5
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +4 -4
- 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/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/martyrs/src/modules/gallery/store/gallery.js +2 -2
- package/dist/martyrs/src/modules/gallery/store/gallery.js.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.js +5 -3
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +8 -7
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.js +2 -2
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.js +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +5 -4
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js +9 -8
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +4 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +6 -5
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/music.client.js +4 -4
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/music.router.js +2 -4
- package/dist/martyrs/src/modules/music/music.router.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/albums.js +2 -2
- package/dist/martyrs/src/modules/music/store/albums.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/artists.js +2 -2
- package/dist/martyrs/src/modules/music/store/artists.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/genres.js +2 -2
- package/dist/martyrs/src/modules/music/store/genres.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/player.js +11 -11
- package/dist/martyrs/src/modules/music/store/player.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/playlists.js +2 -2
- package/dist/martyrs/src/modules/music/store/playlists.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/tracks.js +2 -2
- package/dist/martyrs/src/modules/music/store/tracks.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.js +7 -7
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +17 -8
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +5 -4
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +21 -19
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +37 -36
- 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 +5 -4
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +8 -7
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +7 -6
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/applications.js +2 -2
- package/dist/martyrs/src/modules/orders/store/applications.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/customers.store.js +2 -2
- package/dist/martyrs/src/modules/orders/store/customers.store.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -35
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +6 -5
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +10 -9
- 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 +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +3 -34
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +10 -38
- 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 -32
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +12 -0
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/departments.store.js +2 -2
- package/dist/martyrs/src/modules/organizations/store/departments.store.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/invites.store.js +2 -2
- package/dist/martyrs/src/modules/organizations/store/invites.store.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/memberships.store.js +2 -2
- package/dist/martyrs/src/modules/organizations/store/memberships.store.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 +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +13 -12
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +9 -8
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +6 -5
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +12 -11
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +7 -6
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +7 -6
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +2 -8
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/products/store/variants.store.js +2 -2
- package/dist/martyrs/src/modules/products/store/variants.store.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +10 -9
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +17 -16
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +10 -9
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/style.css +70 -41
- package/dist/{web-DvmEV7zh.js → web-i9sCtYxS.js} +1 -1
- package/package.json +1 -1
- package/src/builder/modes/ssr.prod.js +57 -3
- package/src/builder/modes/ssr.rspack.dev.js +63 -7
- package/src/builder/rspack/rspack.config.ssr.client.js +18 -5
- package/src/components/Dropdown/Dropdown.vue +4 -2
- package/src/components/FieldPhone/click-outside.js +3 -1
- package/src/components/Media/Media.vue +84 -56
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +2 -1
- package/src/modules/auth/auth.client.js +19 -1
- package/src/modules/auth/auth.router.js +5 -11
- package/src/modules/auth/views/components/pages/ProfileEdit.old.vue +3 -1
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +5 -3
- package/src/modules/auth/views/store/auth.js +22 -13
- package/src/modules/chats/store/chat.store.js +10 -10
- package/src/modules/community/components/pages/Posts.vue +2 -1
- package/src/modules/core/TASK.MD +3 -1
- package/src/modules/core/core.client.js +15 -10
- package/src/modules/core/views/classes/core.app.js +94 -82
- package/src/modules/core/views/classes/{module-registry.js → module.manager.js} +70 -13
- package/src/modules/core/views/classes/{session.js → session.manager.js} +2 -2
- package/src/modules/core/views/classes/{core.store.js → store.manager.js} +2 -2
- package/src/modules/core/views/classes/{core.websocket.js → ws.manager.js} +4 -3
- package/src/modules/core/views/components/blocks/HelpCard.vue +4 -2
- package/src/modules/core/views/components/layouts/App.vue +6 -4
- package/src/modules/core/views/components/layouts/Client.vue +52 -35
- package/src/modules/core/views/components/partials/Header.vue +9 -7
- package/src/modules/core/views/components/partials/LocationSelection.vue +7 -5
- package/src/modules/core/views/components/partials/Navigation.vue +5 -4
- package/src/modules/core/views/components/partials/NavigationBar.vue +5 -3
- package/src/modules/core/views/components/partials/Sidebar.vue +56 -9
- package/src/modules/core/views/mixins/mixins.js +3 -2
- package/src/modules/core/views/plugins/date-picker.plugin.js +6 -5
- package/src/modules/core/views/store/core.store.js +218 -186
- package/src/modules/core/views/utils/vue-app-renderer.js +87 -9
- package/src/modules/events/components/pages/EditEventTickets.vue +2 -2
- package/src/modules/gallery/store/gallery.js +2 -2
- package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
- package/src/modules/icons/entities/IconMusic.vue +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +3 -2
- package/src/modules/inventory/store/stock.alerts.store.js +2 -2
- package/src/modules/landing/landing.client.js +1 -1
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +2 -1
- package/src/modules/marketplace/views/components/pages/Catalog.vue +2 -1
- package/src/modules/music/components/cards/TrackListCard.vue +1 -1
- package/src/modules/music/components/forms/AlbumForm.vue +8 -6
- package/src/modules/music/components/forms/ArtistForm.vue +8 -6
- package/src/modules/music/components/forms/PlaylistForm.vue +8 -6
- package/src/modules/music/components/forms/TrackForm.vue +8 -6
- package/src/modules/music/components/pages/Artist.vue +5 -3
- package/src/modules/music/components/pages/Playlist.vue +6 -4
- package/src/modules/music/music.client.js +4 -4
- package/src/modules/music/music.router.js +4 -1
- package/src/modules/music/store/albums.js +2 -2
- package/src/modules/music/store/artists.js +2 -2
- package/src/modules/music/store/genres.js +2 -2
- package/src/modules/music/store/player.js +11 -11
- package/src/modules/music/store/playlists.js +2 -2
- package/src/modules/music/store/tracks.js +2 -2
- package/src/modules/notifications/components/layouts/NotificationsLayout.vue +7 -7
- package/src/modules/notifications/notifications.client.js +22 -8
- package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +6 -4
- package/src/modules/orders/components/pages/OrderBackoffice.vue +21 -19
- package/src/modules/orders/components/pages/OrderCreate.vue +13 -12
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +6 -4
- package/src/modules/orders/components/partials/ShopCart.vue +8 -7
- package/src/modules/orders/components/sections/FormDelivery.vue +8 -6
- package/src/modules/orders/orders.client.js +1 -1
- package/src/modules/orders/store/applications.js +2 -2
- package/src/modules/orders/store/customers.store.js +2 -2
- package/src/modules/organizations/CLAUDE.md +4 -4
- package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
- package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +7 -5
- package/src/modules/organizations/components/forms/DepartmentForm.vue +7 -5
- package/src/modules/organizations/components/pages/Members.vue +4 -2
- package/src/modules/organizations/components/pages/Organization.vue +4 -2
- package/src/modules/organizations/organizations.client.js +18 -0
- package/src/modules/organizations/store/departments.store.js +2 -2
- package/src/modules/organizations/store/invites.store.js +2 -2
- package/src/modules/organizations/store/memberships.store.js +2 -2
- package/src/modules/pages/views/store/pages.store.js +2 -2
- package/src/modules/products/components/pages/Categories.vue +6 -5
- package/src/modules/products/components/pages/CategoryEdit.vue +6 -5
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/ProductEdit.vue +2 -1
- package/src/modules/products/components/pages/Products.vue +8 -7
- package/src/modules/products/components/sections/EditIngredients.vue +7 -6
- package/src/modules/products/components/sections/EditRecommended.vue +4 -3
- package/src/modules/products/components/sections/ProductsPopular.vue +2 -2
- package/src/modules/products/components/sections/ProductsRecommended.vue +1 -7
- package/src/modules/products/products.router.js +0 -1
- package/src/modules/products/store/variants.store.js +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +6 -4
- package/src/modules/spots/components/pages/Map.vue +9 -7
- package/src/modules/spots/components/pages/Spots.vue +6 -4
- package/dist/_virtual/_commonjsHelpers.cjs +0 -9
- package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -11
- package/dist/_virtual/_plugin-vue_export-helper.cjs.map +0 -1
- package/dist/_virtual/alignment-pattern.cjs +0 -5
- package/dist/_virtual/alignment-pattern.cjs.map +0 -1
- package/dist/_virtual/browser.cjs +0 -8
- package/dist/_virtual/browser.cjs.map +0 -1
- package/dist/_virtual/browser2.cjs +0 -5
- package/dist/_virtual/browser2.cjs.map +0 -1
- package/dist/_virtual/canvas.cjs +0 -5
- package/dist/_virtual/canvas.cjs.map +0 -1
- package/dist/_virtual/dayjs.min.cjs +0 -8
- package/dist/_virtual/dayjs.min.cjs.map +0 -1
- package/dist/_virtual/dayjs.min2.cjs +0 -5
- package/dist/_virtual/dayjs.min2.cjs.map +0 -1
- package/dist/_virtual/dijkstra.cjs +0 -5
- package/dist/_virtual/dijkstra.cjs.map +0 -1
- package/dist/_virtual/error-correction-code.cjs +0 -5
- package/dist/_virtual/error-correction-code.cjs.map +0 -1
- package/dist/_virtual/error-correction-level.cjs +0 -5
- package/dist/_virtual/error-correction-level.cjs.map +0 -1
- package/dist/_virtual/finder-pattern.cjs +0 -5
- package/dist/_virtual/finder-pattern.cjs.map +0 -1
- package/dist/_virtual/format-info.cjs +0 -5
- package/dist/_virtual/format-info.cjs.map +0 -1
- package/dist/_virtual/galois-field.cjs +0 -5
- package/dist/_virtual/galois-field.cjs.map +0 -1
- package/dist/_virtual/index.cjs +0 -8
- package/dist/_virtual/index.cjs.map +0 -1
- package/dist/_virtual/index2.cjs +0 -5
- package/dist/_virtual/index2.cjs.map +0 -1
- package/dist/_virtual/mask-pattern.cjs +0 -5
- package/dist/_virtual/mask-pattern.cjs.map +0 -1
- package/dist/_virtual/mode.cjs +0 -5
- package/dist/_virtual/mode.cjs.map +0 -1
- package/dist/_virtual/polynomial.cjs +0 -5
- package/dist/_virtual/polynomial.cjs.map +0 -1
- package/dist/_virtual/qrcode.cjs +0 -5
- package/dist/_virtual/qrcode.cjs.map +0 -1
- package/dist/_virtual/regex.cjs +0 -5
- package/dist/_virtual/regex.cjs.map +0 -1
- package/dist/_virtual/segments.cjs +0 -5
- package/dist/_virtual/segments.cjs.map +0 -1
- package/dist/_virtual/svg-tag.cjs +0 -5
- package/dist/_virtual/svg-tag.cjs.map +0 -1
- package/dist/_virtual/utils.cjs +0 -5
- package/dist/_virtual/utils.cjs.map +0 -1
- package/dist/_virtual/utils2.cjs +0 -5
- package/dist/_virtual/utils2.cjs.map +0 -1
- package/dist/_virtual/version-check.cjs +0 -5
- package/dist/_virtual/version-check.cjs.map +0 -1
- package/dist/_virtual/version.cjs +0 -5
- package/dist/_virtual/version.cjs.map +0 -1
- package/dist/_virtual/weekOfYear.cjs +0 -8
- package/dist/_virtual/weekOfYear.cjs.map +0 -1
- package/dist/_virtual/weekOfYear2.cjs +0 -5
- package/dist/_virtual/weekOfYear2.cjs.map +0 -1
- package/dist/abac-gNSxNkX1.cjs +0 -1029
- package/dist/addUserStatusFields-7-66sf45.cjs +0 -86
- package/dist/auth.server.cjs +0 -529
- package/dist/authJwt-BIZ2GIfT.cjs +0 -75
- package/dist/builder.cjs +0 -1142
- package/dist/chats.server.cjs +0 -323
- package/dist/common.schema-BtXLULba.cjs +0 -12
- package/dist/community.server.cjs +0 -840
- package/dist/core.abac-DqDvtkHR.cjs +0 -297
- package/dist/core.logger-BuW7JHMY.cjs +0 -165
- package/dist/core.server.cjs +0 -135
- package/dist/core.verifier-Bi-XLEi9.cjs +0 -651
- package/dist/core.websocket-Cm72lPCs.cjs +0 -374
- package/dist/credentials.schema-DVXaFnXl.cjs +0 -9
- package/dist/crud-CQ3ICbm7.cjs +0 -1176
- package/dist/engagement.schema-DHw4iY_W.cjs +0 -23
- package/dist/events.server.cjs +0 -1410
- package/dist/files.server.cjs +0 -292
- package/dist/gallery.server.cjs +0 -270
- package/dist/index-BFxqqmgh.cjs +0 -186
- package/dist/inventory.server.cjs +0 -1069
- package/dist/mailing-DCvDBHVh.cjs +0 -75
- package/dist/main-CXqpC28l.cjs +0 -11
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs +0 -485
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/index.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/index.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/web.cjs +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/web.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs +0 -1336
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/ParseError.cjs +0 -131
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/ParseError.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +0 -209
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/PhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/constants.cjs +0 -22
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/constants.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/format.cjs +0 -166
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/format.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +0 -14
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +0 -27
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +0 -30
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +0 -24
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +0 -55
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +0 -27
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +0 -38
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +0 -43
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +0 -46
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +0 -49
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +0 -30
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +0 -19
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +0 -52
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +0 -16
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +0 -76
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +0 -23
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isObject.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +0 -25
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +0 -80
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +0 -26
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isPossible.cjs +0 -55
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isPossible.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isValid.cjs +0 -17
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isValid.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/metadata.cjs +0 -539
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/metadata.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +0 -117
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/normalizeArguments.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parse.cjs +0 -178
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parse.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +0 -51
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +0 -10
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +0 -39
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +0 -51
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +0 -22
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/metadata.min.json.cjs +0 -5
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/metadata.min.json.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +0 -9
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +0 -10
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.cjs +0 -113
- package/dist/martyrs/src/components/Address/Address.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Block/Block.vue.cjs +0 -83
- package/dist/martyrs/src/components/Block/Block.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.cjs +0 -158
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.cjs +0 -571
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +0 -98
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs +0 -28
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Countdown/Countdown.vue.cjs +0 -96
- package/dist/martyrs/src/components/Countdown/Countdown.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.cjs +0 -103
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Draggable/Draggable.vue.cjs +0 -106
- package/dist/martyrs/src/components/Draggable/Draggable.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs +0 -72
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs +0 -95
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +0 -1
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.cjs +0 -41
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +0 -99
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +0 -430
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs +0 -161
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +0 -202
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.cjs +0 -183
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +0 -597
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldPhone/all-countries.cjs +0 -257
- package/dist/martyrs/src/components/FieldPhone/all-countries.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.cjs +0 -25
- package/dist/martyrs/src/components/FieldPhone/click-outside.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.cjs +0 -94
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.js.map +0 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs +0 -235
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.cjs +0 -61
- package/dist/martyrs/src/components/Loader/Loader.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.cjs +0 -166
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Map/Map.vue.cjs +0 -62
- package/dist/martyrs/src/components/Map/Map.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs +0 -240
- package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Media/Media.vue.cjs +0 -168
- package/dist/martyrs/src/components/Media/Media.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs +0 -17
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/MenuItem.vue.cjs +0 -66
- package/dist/martyrs/src/components/Menu/MenuItem.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +0 -240
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Popup/Popup.vue.cjs +0 -107
- package/dist/martyrs/src/components/Popup/Popup.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs +0 -55
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue.cjs +0 -134
- package/dist/martyrs/src/components/Select/Select.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -625
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Shader/Shader.vue.cjs +0 -2
- package/dist/martyrs/src/components/Shader/Shader.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue2.cjs +0 -97
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Slider/Slider.vue.cjs +0 -168
- package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.cjs +0 -73
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
- package/dist/martyrs/src/components/Status/Snack.vue.cjs +0 -60
- package/dist/martyrs/src/components/Status/Snack.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Status/Status.vue.cjs +0 -46
- package/dist/martyrs/src/components/Status/Status.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.cjs +0 -74
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/dist/martyrs/src/components/Table/StatusBadge.vue.cjs +0 -25
- package/dist/martyrs/src/components/Table/StatusBadge.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Table/Table.vue.cjs +0 -67
- package/dist/martyrs/src/components/Table/Table.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Text/Text.vue.cjs +0 -40
- package/dist/martyrs/src/components/Text/Text.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs +0 -54
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Tree/Tree.vue.cjs +0 -78
- package/dist/martyrs/src/components/Tree/Tree.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Upload/Upload.vue2.cjs +0 -122
- package/dist/martyrs/src/components/Upload/Upload.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.cjs +0 -219
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.js.map +0 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +0 -142
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/auth.client.cjs +0 -67
- package/dist/martyrs/src/modules/auth/auth.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/auth.router.cjs +0 -350
- package/dist/martyrs/src/modules/auth/auth.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/locales/en.cjs +0 -79
- package/dist/martyrs/src/modules/auth/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/locales/index.cjs +0 -10
- package/dist/martyrs/src/modules/auth/locales/index.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/locales/ru.cjs +0 -81
- package/dist/martyrs/src/modules/auth/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.cjs +0 -95
- package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/ProfileCard.vue.cjs +0 -44
- package/dist/martyrs/src/modules/auth/views/components/blocks/ProfileCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +0 -41
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +0 -166
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +0 -118
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +0 -89
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +0 -284
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +0 -85
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +0 -74
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +0 -73
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +0 -116
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +0 -42
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +0 -145
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +0 -210
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +0 -154
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.cjs +0 -186
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs +0 -114
- package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +0 -360
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +0 -47
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.cjs +0 -78
- package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.cjs +0 -55
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs +0 -17
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs +0 -255
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/twofa.cjs +0 -40
- package/dist/martyrs/src/modules/auth/views/store/twofa.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/users.cjs +0 -97
- package/dist/martyrs/src/modules/auth/views/store/users.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/validations/inputs.validation.cjs +0 -62
- package/dist/martyrs/src/modules/auth/views/validations/inputs.validation.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/backoffice.client.cjs +0 -36
- package/dist/martyrs/src/modules/backoffice/backoffice.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/backoffice.router.cjs +0 -81
- package/dist/martyrs/src/modules/backoffice/backoffice.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs +0 -145
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +0 -150
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/chats.client.cjs +0 -31
- package/dist/martyrs/src/modules/chats/chats.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs +0 -49
- package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.cjs +0 -42
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs +0 -176
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs +0 -175
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/community.client.cjs +0 -64
- package/dist/martyrs/src/modules/community/community.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.cjs +0 -124
- package/dist/martyrs/src/modules/community/community.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/blocks/Activity.vue.cjs +0 -59
- package/dist/martyrs/src/modules/community/components/blocks/Activity.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +0 -124
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +0 -92
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +0 -250
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.cjs +0 -83
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +0 -145
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +0 -300
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +0 -113
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs +0 -157
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +0 -204
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +0 -72
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/store/blogposts.cjs +0 -171
- package/dist/martyrs/src/modules/community/store/blogposts.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/store/reactions.cjs +0 -95
- package/dist/martyrs/src/modules/community/store/reactions.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Audio.vue.cjs +0 -63
- package/dist/martyrs/src/modules/constructor/components/elements/Audio.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs +0 -79
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +0 -82
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Image.vue.cjs +0 -39
- package/dist/martyrs/src/modules/constructor/components/elements/Image.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.cjs +0 -90
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.cjs +0 -317
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Video.vue.cjs +0 -63
- package/dist/martyrs/src/modules/constructor/components/elements/Video.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +0 -43
- package/dist/martyrs/src/modules/constructor/components/elements/VideoPlayer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.cjs +0 -201
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.cjs +0 -64
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/core.client.cjs +0 -113
- package/dist/martyrs/src/modules/core/core.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/locales/en.cjs +0 -32
- package/dist/martyrs/src/modules/core/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/locales/ru.cjs +0 -24
- package/dist/martyrs/src/modules/core/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.cjs +0 -208
- package/dist/martyrs/src/modules/core/views/classes/core.app.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.i18n.cjs +0 -71
- package/dist/martyrs/src/modules/core/views/classes/core.i18n.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.i18n.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.store.cjs +0 -153
- package/dist/martyrs/src/modules/core/views/classes/core.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.store.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.websocket.cjs +0 -298
- package/dist/martyrs/src/modules/core/views/classes/core.websocket.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.websocket.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/module-registry.cjs +0 -165
- package/dist/martyrs/src/modules/core/views/classes/module-registry.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/module-registry.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/session.cjs +0 -50
- package/dist/martyrs/src/modules/core/views/classes/session.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/session.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.cjs +0 -43
- package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockMultiselect.vue.cjs +0 -308
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockMultiselect.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.cjs +0 -59
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSorting.vue.cjs +0 -84
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSorting.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.cjs +0 -76
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.cjs +0 -197
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.cjs +0 -38
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.cjs +0 -84
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.cjs +0 -184
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonDate.vue.cjs +0 -54
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonSort.vue.cjs +0 -36
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonSort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/elements/PhotoStack.vue.cjs +0 -64
- package/dist/martyrs/src/modules/core/views/components/elements/PhotoStack.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.cjs +0 -106
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.cjs +0 -341
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Empty.vue.cjs +0 -17
- package/dist/martyrs/src/modules/core/views/components/layouts/Empty.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/pages/401.vue.cjs +0 -12
- package/dist/martyrs/src/modules/core/views/components/pages/401.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.cjs +0 -12
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.cjs +0 -116
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.cjs +0 -100
- package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.cjs +0 -243
- package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.cjs +0 -179
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.cjs +0 -106
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.cjs +0 -250
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.cjs +0 -158
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.cjs +0 -105
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.cjs +0 -385
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.cjs +0 -61
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.cjs +0 -307
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/localization/get-browser-locale.cjs +0 -14
- package/dist/martyrs/src/modules/core/views/localization/get-browser-locale.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.cjs +0 -262
- package/dist/martyrs/src/modules/core/views/mixins/mixins.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/plugins/alert.plugin.cjs +0 -56
- package/dist/martyrs/src/modules/core/views/plugins/alert.plugin.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.cjs +0 -83
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/plugins/popup.auth.plugin.cjs +0 -70
- package/dist/martyrs/src/modules/core/views/plugins/popup.auth.plugin.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.cjs +0 -106
- package/dist/martyrs/src/modules/core/views/router/addRoutes.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/router/scrollBehavior.cjs +0 -33
- package/dist/martyrs/src/modules/core/views/router/scrollBehavior.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.cjs +0 -285
- package/dist/martyrs/src/modules/core/views/store/core.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/axios-instance.cjs +0 -17
- package/dist/martyrs/src/modules/core/views/utils/axios-instance.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/polyfills.cjs +0 -26
- package/dist/martyrs/src/modules/core/views/utils/polyfills.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/query-serializer.cjs +0 -100
- package/dist/martyrs/src/modules/core/views/utils/query-serializer.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.cjs +0 -111
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +0 -133
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEventShort.vue.cjs +0 -80
- package/dist/martyrs/src/modules/events/components/blocks/CardEventShort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +0 -174
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +0 -85
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/layouts/layoutEvents.vue.cjs +0 -36
- package/dist/martyrs/src/modules/events/components/layouts/layoutEvents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +0 -422
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +0 -405
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +0 -187
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +0 -195
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +0 -141
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs +0 -98
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.cjs +0 -281
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +0 -85
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs +0 -45
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +0 -168
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/HeroEvent.vue.cjs +0 -91
- package/dist/martyrs/src/modules/events/components/sections/HeroEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +0 -108
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs +0 -190
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/events.client.cjs +0 -61
- package/dist/martyrs/src/modules/events/events.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/router/events.router.cjs +0 -369
- package/dist/martyrs/src/modules/events/router/events.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/store/events.cjs +0 -147
- package/dist/martyrs/src/modules/events/store/events.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/store/tickets.cjs +0 -117
- package/dist/martyrs/src/modules/events/store/tickets.cjs.map +0 -1
- package/dist/martyrs/src/modules/files/files.client.cjs +0 -2
- package/dist/martyrs/src/modules/files/files.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +0 -122
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +0 -277
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/gallery.client.cjs +0 -33
- package/dist/martyrs/src/modules/gallery/gallery.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs +0 -129
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/store/gallery.cjs +0 -6
- package/dist/martyrs/src/modules/gallery/store/gallery.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.cjs +0 -39
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconShopcartAdd.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/actions/IconShopcartAdd.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs +0 -49
- package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs +0 -240
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconAddress.vue.cjs +0 -40
- package/dist/martyrs/src/modules/icons/entities/IconAddress.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconBell.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/entities/IconBell.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCalendar.vue.cjs +0 -38
- package/dist/martyrs/src/modules/icons/entities/IconCalendar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCatalog.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/entities/IconCatalog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCommunity.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/entities/IconCommunity.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconDate.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.cjs +0 -57
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconEarn.vue.cjs +0 -62
- package/dist/martyrs/src/modules/icons/entities/IconEarn.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconEmail.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconEmail.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconEvents.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconEvents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconFeatured.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/entities/IconFeatured.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconFollowing.vue.cjs +0 -55
- package/dist/martyrs/src/modules/icons/entities/IconFollowing.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconGallery.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/entities/IconGallery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconGroups.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconGroups.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconHome.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/entities/IconHome.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconLeftovers.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/entities/IconLeftovers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconOrders.vue.cjs +0 -55
- package/dist/martyrs/src/modules/icons/entities/IconOrders.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPayments.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/entities/IconPayments.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPhone.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconPhone.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPopular.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconPopular.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPrice.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconPrice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconProducts.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconProducts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconProfile.vue.cjs +0 -29
- package/dist/martyrs/src/modules/icons/entities/IconProfile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconRecent.vue.cjs +0 -53
- package/dist/martyrs/src/modules/icons/entities/IconRecent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.cjs +0 -40
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconShopcart.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/entities/IconShopcart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.cjs +0 -24
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.client.cjs +0 -202
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.cjs +0 -31
- package/dist/martyrs/src/modules/icons/icons.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/labels/LabelAppStore.vue.cjs +0 -20
- package/dist/martyrs/src/modules/icons/labels/LabelAppStore.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/labels/LabelGooglePlay.vue.cjs +0 -20
- package/dist/martyrs/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs +0 -26
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconAdd.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/navigation/IconAdd.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconArrow.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconArrow.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCheckmark.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconCheckmark.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconChevronBottom.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconChevronLeft.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/navigation/IconChevronLeft.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconChevronRight.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCross.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconCross.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDelete.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/navigation/IconDelete.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconEdit.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconEllipsis.vue.cjs +0 -51
- package/dist/martyrs/src/modules/icons/navigation/IconEllipsis.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconFilter.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/navigation/IconFilter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.cjs +0 -44
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs +0 -47
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMinus.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconMinus.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlus.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/navigation/IconPlus.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconSearch.vue.cjs +0 -47
- package/dist/martyrs/src/modules/icons/navigation/IconSearch.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconSort.vue.cjs +0 -67
- package/dist/martyrs/src/modules/icons/navigation/IconSort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUpload.vue.cjs +0 -39
- package/dist/martyrs/src/modules/icons/navigation/IconUpload.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +0 -330
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +0 -23
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +0 -18
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +0 -19
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +0 -18
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +0 -18
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/dribbble.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/dribbble.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/facebook.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/facebook.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/instagram.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/socials/instagram.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/line.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/socials/line.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/linkedin.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/linkedin.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/reddit.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/reddit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs +0 -44
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/twitter.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/twitter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/vk.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/vk.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/whatsapp.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/whatsapp.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/youtube.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/youtube.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +0 -225
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs +0 -88
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs +0 -162
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +0 -184
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +0 -324
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +0 -382
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/inventory.client.cjs +0 -55
- package/dist/martyrs/src/modules/inventory/inventory.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/router/inventory.router.cjs +0 -36
- package/dist/martyrs/src/modules/inventory/router/inventory.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/store/inventory.store.cjs +0 -112
- package/dist/martyrs/src/modules/inventory/store/inventory.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.cjs +0 -6
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +0 -15
- package/dist/martyrs/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/elements/FloatingImages.vue.cjs +0 -120
- package/dist/martyrs/src/modules/landing/components/elements/FloatingImages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs +0 -136
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs +0 -47
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs +0 -103
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +0 -70
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.cjs +0 -85
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +0 -89
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +0 -111
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.cjs +0 -54
- package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.cjs +0 -98
- package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +0 -48
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/landing.client.cjs +0 -30
- package/dist/martyrs/src/modules/landing/landing.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/locales/en.cjs +0 -12
- package/dist/martyrs/src/modules/landing/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/locales/index.cjs +0 -10
- package/dist/martyrs/src/modules/landing/locales/index.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/locales/ru.cjs +0 -12
- package/dist/martyrs/src/modules/landing/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs +0 -41
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.router.cjs +0 -63
- package/dist/martyrs/src/modules/marketplace/marketplace.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +0 -325
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs +0 -73
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +0 -107
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.cjs +0 -54
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +0 -94
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs +0 -84
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +0 -95
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +0 -100
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +0 -178
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +0 -437
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +0 -415
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +0 -434
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +0 -98
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +0 -566
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.cjs +0 -21
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +0 -498
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/AlbumCreate.vue.cjs +0 -14
- package/dist/martyrs/src/modules/music/components/pages/AlbumCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/AlbumEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/AlbumEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +0 -440
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/ArtistCreate.vue.cjs +0 -14
- package/dist/martyrs/src/modules/music/components/pages/ArtistCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/ArtistEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/ArtistEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs +0 -218
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +0 -251
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +0 -658
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/PlaylistCreate.vue.cjs +0 -14
- package/dist/martyrs/src/modules/music/components/pages/PlaylistCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/PlaylistEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/PlaylistEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +0 -335
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +0 -502
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +0 -27
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/TrackEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +0 -212
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs +0 -89
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs +0 -77
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/music.client.cjs +0 -137
- package/dist/martyrs/src/modules/music/music.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.cjs +0 -228
- package/dist/martyrs/src/modules/music/music.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/albums.cjs +0 -167
- package/dist/martyrs/src/modules/music/store/albums.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/artists.cjs +0 -162
- package/dist/martyrs/src/modules/music/store/artists.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/genres.cjs +0 -123
- package/dist/martyrs/src/modules/music/store/genres.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/player.cjs +0 -301
- package/dist/martyrs/src/modules/music/store/player.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/playlists.cjs +0 -180
- package/dist/martyrs/src/modules/music/store/playlists.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/search.cjs +0 -109
- package/dist/martyrs/src/modules/music/store/search.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/tracks.cjs +0 -206
- package/dist/martyrs/src/modules/music/store/tracks.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs +0 -82
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +0 -142
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.cjs +0 -64
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs +0 -36
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.cjs +0 -168
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.cjs +0 -143
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs +0 -388
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.cjs +0 -46
- package/dist/martyrs/src/modules/notifications/notifications.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/store/notifications.store.cjs +0 -310
- package/dist/martyrs/src/modules/notifications/store/notifications.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs +0 -86
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs +0 -103
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.cjs +0 -154
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs +0 -112
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +0 -194
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +0 -207
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/StatusHistory.vue.cjs +0 -69
- package/dist/martyrs/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs +0 -193
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.cjs +0 -132
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +0 -138
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +0 -262
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +0 -173
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCanceled.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCanceled.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusConfirmed.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusConfirmed.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCreated.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCreated.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusDelay.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusDelay.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusFinished.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusFinished.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusInUse.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusInUse.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +0 -233
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +0 -234
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +0 -407
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +0 -357
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +0 -394
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +0 -155
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs +0 -136
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +0 -119
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.cjs +0 -27
- package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +0 -139
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/EmptyState.vue.cjs +0 -17
- package/dist/martyrs/src/modules/orders/components/sections/EmptyState.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +0 -129
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +0 -42
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/Succes.vue.cjs +0 -34
- package/dist/martyrs/src/modules/orders/components/sections/Succes.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/locales/en.cjs +0 -38
- package/dist/martyrs/src/modules/orders/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/locales/index.cjs +0 -10
- package/dist/martyrs/src/modules/orders/locales/index.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/locales/ru.cjs +0 -38
- package/dist/martyrs/src/modules/orders/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/orders.client.cjs +0 -202
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs +0 -17
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs +0 -18
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs +0 -80
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/applications.cjs +0 -6
- package/dist/martyrs/src/modules/orders/store/applications.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/customers.store.cjs +0 -6
- package/dist/martyrs/src/modules/orders/store/customers.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/models/application.cjs +0 -20
- package/dist/martyrs/src/modules/orders/store/models/application.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs +0 -50
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/models/order.cjs +0 -30
- package/dist/martyrs/src/modules/orders/store/models/order.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/orders.cjs +0 -166
- package/dist/martyrs/src/modules/orders/store/orders.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs +0 -175
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/testimonials.cjs +0 -63
- package/dist/martyrs/src/modules/orders/store/testimonials.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +0 -80
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +0 -157
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Contacts.vue.cjs +0 -72
- package/dist/martyrs/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +0 -32
- package/dist/martyrs/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.cjs +0 -42
- package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.cjs +0 -46
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs +0 -101
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Unit.vue.cjs +0 -69
- package/dist/martyrs/src/modules/organizations/components/blocks/Unit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +0 -101
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +0 -195
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +0 -402
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +0 -86
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +0 -131
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +0 -376
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +0 -162
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +0 -104
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +0 -119
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +0 -148
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +0 -78
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs +0 -52
- package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Unit.vue.cjs +0 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Unit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +0 -171
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs +0 -79
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.cjs +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/departments.store.cjs +0 -6
- package/dist/martyrs/src/modules/organizations/store/departments.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/invites.store.cjs +0 -6
- package/dist/martyrs/src/modules/organizations/store/invites.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs +0 -20
- package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs +0 -131
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.client.cjs +0 -34
- package/dist/martyrs/src/modules/pages/pages.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.cjs +0 -101
- package/dist/martyrs/src/modules/pages/pages.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +0 -105
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs +0 -159
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +0 -113
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.cjs +0 -57
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +0 -103
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/store/pages.cjs +0 -65
- package/dist/martyrs/src/modules/pages/views/store/pages.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +0 -74
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +0 -99
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +0 -121
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +0 -129
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +0 -106
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +0 -123
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.cjs +0 -136
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +0 -45
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs +0 -79
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs +0 -89
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +0 -197
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +0 -272
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +0 -251
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +0 -438
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +0 -106
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +0 -454
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +0 -168
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +0 -318
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +0 -147
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +0 -129
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +0 -500
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +0 -195
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs +0 -120
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +0 -142
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +0 -49
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +0 -155
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +0 -240
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/products.client.cjs +0 -86
- package/dist/martyrs/src/modules/products/products.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/router/categories.router.cjs +0 -174
- package/dist/martyrs/src/modules/products/router/categories.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/router/products.router.cjs +0 -340
- package/dist/martyrs/src/modules/products/router/products.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/categories.cjs +0 -123
- package/dist/martyrs/src/modules/products/store/categories.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +0 -229
- package/dist/martyrs/src/modules/products/store/products.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/variants.store.cjs +0 -6
- package/dist/martyrs/src/modules/products/store/variants.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.client.cjs +0 -45
- package/dist/martyrs/src/modules/rents/rents.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.cjs +0 -110
- package/dist/martyrs/src/modules/rents/rents.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/blocks/CardRent.vue.cjs +0 -55
- package/dist/martyrs/src/modules/rents/views/components/blocks/CardRent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/DateLabel.vue.cjs +0 -25
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/DateLabel.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.cjs +0 -44
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.cjs +0 -403
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.cjs +0 -52
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +0 -164
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +0 -156
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +0 -224
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/store/rents.store.cjs +0 -143
- package/dist/martyrs/src/modules/rents/views/store/rents.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.cjs +0 -54
- package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +0 -104
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.client.cjs +0 -29
- package/dist/martyrs/src/modules/reports/reports.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.cjs +0 -34
- package/dist/martyrs/src/modules/reports/reports.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/store/reports.cjs +0 -103
- package/dist/martyrs/src/modules/reports/store/reports.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +0 -119
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +0 -85
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotSub.vue.cjs +0 -32
- package/dist/martyrs/src/modules/spots/components/blocks/SpotSub.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +0 -198
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +0 -531
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs +0 -157
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +0 -235
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +0 -135
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +0 -803
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/router/spots.router.cjs +0 -263
- package/dist/martyrs/src/modules/spots/router/spots.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/spots.client.cjs +0 -43
- package/dist/martyrs/src/modules/spots/spots.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/store/spots.cjs +0 -80
- package/dist/martyrs/src/modules/spots/store/spots.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs +0 -43
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +0 -47
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +0 -29
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +0 -89
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +0 -136
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +0 -183
- package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +0 -238
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +0 -9
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs +0 -134
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs.map +0 -1
- package/dist/martyrs.cjs.js +0 -1
- package/dist/metadata.schema-BGykn-_r.cjs +0 -267
- package/dist/music.server.cjs +0 -2114
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs +0 -83
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs +0 -45
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs +0 -139
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs +0 -485
- package/dist/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/index.cjs +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/web.cjs +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/web.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/definitions.cjs +0 -16
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/definitions.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/index.cjs +0 -15
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/push-notifications/dist/esm/index.cjs +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/push-notifications/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.cjs +0 -335
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs +0 -198
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs +0 -311
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_ssr@1.11.20/node_modules/@unhead/ssr/dist/index.cjs +0 -97
- package/dist/node_modules/.pnpm/@unhead_ssr@1.11.20/node_modules/@unhead/ssr/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs +0 -38
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs +0 -78
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +0 -755
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +0 -209
- package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +0 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.cjs +0 -8
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.cjs +0 -13
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.cjs.map +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.cjs +0 -287
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.cjs.map +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/weekOfYear.cjs +0 -34
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/weekOfYear.cjs.map +0 -1
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.cjs +0 -106
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.5.2_embla-carousel@8.5.2/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.5.2_embla-carousel@8.5.2/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.5.2_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.5.2_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.5.2/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1631
- package/dist/node_modules/.pnpm/embla-carousel@8.5.2/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs +0 -209
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.cjs +0 -101
- package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.cjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs +0 -689
- package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.cjs +0 -79
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.cjs +0 -14
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.cjs +0 -43
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.cjs +0 -85
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.cjs +0 -40
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.cjs +0 -34
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.cjs +0 -36
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.cjs +0 -367
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.cjs +0 -52
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.cjs +0 -25
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.cjs +0 -24
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.cjs +0 -38
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.cjs +0 -46
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.cjs +0 -149
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.cjs +0 -90
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.cjs +0 -41
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.cjs +0 -44
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.cjs +0 -279
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs +0 -38
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.cjs +0 -33
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.cjs +0 -201
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +0 -84
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.cjs +0 -14
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.cjs +0 -107
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.cjs +0 -61
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.cjs +0 -64
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +0 -87
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs.map +0 -1
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs +0 -423
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.cjs +0 -6
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.cjs +0 -15
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.cjs +0 -11
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.cjs +0 -20
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs +0 -2484
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs.map +0 -1
- package/dist/notifications.server.cjs +0 -822
- package/dist/orders.server.cjs +0 -1284
- package/dist/organizations.server.cjs +0 -1590
- package/dist/ownership.schema-CRYdbemm.cjs +0 -42
- package/dist/pages.server.cjs +0 -142
- package/dist/products.server.cjs +0 -1677
- package/dist/profile.schema-l0Dk4Ptu.cjs +0 -91
- package/dist/queryProcessor-DJUTwCLN.cjs +0 -329
- package/dist/rents.server.cjs +0 -509
- package/dist/reports.server.cjs +0 -133
- package/dist/socials.schema-CqEHax2w.cjs +0 -24
- package/dist/spots.server.cjs +0 -331
- package/dist/web-pd1gb6DR.cjs +0 -1
- package/src/modules/music/router/library.router.js +0 -26
- package/src/modules/music/router/music.router.js +0 -176
- /package/src/modules/core/views/classes/{core.i18n.js → i18n.manager.js} +0 -0
|
@@ -1,1590 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const abac = require("./abac-gNSxNkX1.cjs");
|
|
4
|
-
const credentials_schema = require("./credentials.schema-DVXaFnXl.cjs");
|
|
5
|
-
const ownership_schema = require("./ownership.schema-CRYdbemm.cjs");
|
|
6
|
-
const engagement_schema = require("./engagement.schema-DHw4iY_W.cjs");
|
|
7
|
-
const index = require("./index-BFxqqmgh.cjs");
|
|
8
|
-
const mailing = require("./mailing-DCvDBHVh.cjs");
|
|
9
|
-
const uuidv4 = require("uuidv4");
|
|
10
|
-
const queryProcessor = require("./queryProcessor-DJUTwCLN.cjs");
|
|
11
|
-
const mongoose = require("mongoose");
|
|
12
|
-
const core_abac = require("./core.abac-DqDvtkHR.cjs");
|
|
13
|
-
const core_logger = require("./core.logger-BuW7JHMY.cjs");
|
|
14
|
-
const addUserStatusFields = require("./addUserStatusFields-7-66sf45.cjs");
|
|
15
|
-
const jwt = require("jsonwebtoken");
|
|
16
|
-
const googleMapsServicesJs = require("@googlemaps/google-maps-services-js");
|
|
17
|
-
const core_verifier = require("./core.verifier-Bi-XLEi9.cjs");
|
|
18
|
-
function _interopNamespaceDefault(e) {
|
|
19
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
20
|
-
if (e) {
|
|
21
|
-
for (const k in e) {
|
|
22
|
-
if (k !== "default") {
|
|
23
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
24
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: () => e[k]
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
n.default = e;
|
|
32
|
-
return Object.freeze(n);
|
|
33
|
-
}
|
|
34
|
-
const googleMapsServicesJs__namespace = /* @__PURE__ */ _interopNamespaceDefault(googleMapsServicesJs);
|
|
35
|
-
const controllerFactory$2 = (db) => {
|
|
36
|
-
const Department = db.department;
|
|
37
|
-
const readOne = (req, res) => {
|
|
38
|
-
Department.findOne({ _id: req.params._id }).populate("members.user", "-password").populate("subdepartments").then((department) => {
|
|
39
|
-
if (!department) {
|
|
40
|
-
return res.status(404).send({ message: "Отдел не найден" });
|
|
41
|
-
}
|
|
42
|
-
res.send(department);
|
|
43
|
-
}).catch((err) => {
|
|
44
|
-
res.status(500).send({ message: err.message });
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
const read = async (req, res) => {
|
|
48
|
-
try {
|
|
49
|
-
const { skip = 0, limit = 10, organization, hidden, _id, search } = req.query;
|
|
50
|
-
let query = {};
|
|
51
|
-
if (_id) {
|
|
52
|
-
query._id = _id;
|
|
53
|
-
}
|
|
54
|
-
if (organization) {
|
|
55
|
-
query.organization = new db.mongoose.Types.ObjectId(organization);
|
|
56
|
-
}
|
|
57
|
-
if (hidden !== void 0) {
|
|
58
|
-
query.hidden = hidden === "true";
|
|
59
|
-
}
|
|
60
|
-
if (search) {
|
|
61
|
-
query["profile.name"] = new RegExp(search, "i");
|
|
62
|
-
}
|
|
63
|
-
const departments = await Department.find(query).skip(parseInt(skip)).limit(parseInt(limit)).populate("members.user", "-password").populate("subdepartments").sort({ createdAt: -1 });
|
|
64
|
-
res.send(departments);
|
|
65
|
-
} catch (err) {
|
|
66
|
-
res.status(500).send({ message: err.message });
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
const create = async (req, res) => {
|
|
70
|
-
try {
|
|
71
|
-
const newDepartment = new Department({
|
|
72
|
-
...req.body,
|
|
73
|
-
organization: req.body.organization || req.params._id
|
|
74
|
-
});
|
|
75
|
-
const data = await newDepartment.save();
|
|
76
|
-
const populated = await Department.findById(data._id).populate("members.user", "-password").populate("subdepartments");
|
|
77
|
-
res.send(populated);
|
|
78
|
-
} catch (err) {
|
|
79
|
-
res.status(500).send({ message: err.message });
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
const update = (req, res) => {
|
|
83
|
-
Department.findOneAndUpdate({ _id: req.body._id }, req.body, { new: true }).populate("members.user", "-password").populate("subdepartments").then((department) => {
|
|
84
|
-
if (!department) {
|
|
85
|
-
return res.status(404).send({ message: "Department not found" });
|
|
86
|
-
}
|
|
87
|
-
res.send(department);
|
|
88
|
-
}).catch((err) => {
|
|
89
|
-
res.status(500).send({ message: err.message });
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
const deleteDepartment = async (req, res) => {
|
|
93
|
-
try {
|
|
94
|
-
const { _id } = req.body;
|
|
95
|
-
if (!_id) {
|
|
96
|
-
return res.status(400).send({ message: "Department ID is required" });
|
|
97
|
-
}
|
|
98
|
-
const department = await Department.findOneAndRemove({ _id });
|
|
99
|
-
if (!department) {
|
|
100
|
-
return res.status(404).send({ message: "Department not found" });
|
|
101
|
-
}
|
|
102
|
-
res.send(department);
|
|
103
|
-
} catch (err) {
|
|
104
|
-
res.status(500).send({ message: err.message });
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
return {
|
|
108
|
-
readOne,
|
|
109
|
-
read,
|
|
110
|
-
create,
|
|
111
|
-
update,
|
|
112
|
-
delete: deleteDepartment
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
const accessesSchema = {
|
|
116
|
-
categories: {
|
|
117
|
-
create: {
|
|
118
|
-
type: Boolean,
|
|
119
|
-
default: false
|
|
120
|
-
},
|
|
121
|
-
read: {
|
|
122
|
-
type: Boolean,
|
|
123
|
-
default: false
|
|
124
|
-
},
|
|
125
|
-
edit: {
|
|
126
|
-
type: Boolean,
|
|
127
|
-
default: false
|
|
128
|
-
},
|
|
129
|
-
delete: {
|
|
130
|
-
type: Boolean,
|
|
131
|
-
default: false
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
rents: {
|
|
135
|
-
create: {
|
|
136
|
-
type: Boolean,
|
|
137
|
-
default: false
|
|
138
|
-
},
|
|
139
|
-
read: {
|
|
140
|
-
type: Boolean,
|
|
141
|
-
default: false
|
|
142
|
-
},
|
|
143
|
-
edit: {
|
|
144
|
-
type: Boolean,
|
|
145
|
-
default: false
|
|
146
|
-
},
|
|
147
|
-
delete: {
|
|
148
|
-
type: Boolean,
|
|
149
|
-
default: false
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
spots: {
|
|
153
|
-
create: {
|
|
154
|
-
type: Boolean,
|
|
155
|
-
default: false
|
|
156
|
-
},
|
|
157
|
-
read: {
|
|
158
|
-
type: Boolean,
|
|
159
|
-
default: false
|
|
160
|
-
},
|
|
161
|
-
edit: {
|
|
162
|
-
type: Boolean,
|
|
163
|
-
default: false
|
|
164
|
-
},
|
|
165
|
-
delete: {
|
|
166
|
-
type: Boolean,
|
|
167
|
-
default: false
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
members: {
|
|
171
|
-
read: {
|
|
172
|
-
type: Boolean,
|
|
173
|
-
default: false
|
|
174
|
-
},
|
|
175
|
-
edit: {
|
|
176
|
-
type: Boolean,
|
|
177
|
-
default: false
|
|
178
|
-
},
|
|
179
|
-
delete: {
|
|
180
|
-
type: Boolean,
|
|
181
|
-
default: false
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
posts: {
|
|
185
|
-
create: {
|
|
186
|
-
type: Boolean,
|
|
187
|
-
default: false
|
|
188
|
-
},
|
|
189
|
-
read: {
|
|
190
|
-
type: Boolean,
|
|
191
|
-
default: false
|
|
192
|
-
},
|
|
193
|
-
edit: {
|
|
194
|
-
type: Boolean,
|
|
195
|
-
default: false
|
|
196
|
-
},
|
|
197
|
-
delete: {
|
|
198
|
-
type: Boolean,
|
|
199
|
-
default: false
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
events: {
|
|
203
|
-
create: {
|
|
204
|
-
type: Boolean,
|
|
205
|
-
default: false
|
|
206
|
-
},
|
|
207
|
-
read: {
|
|
208
|
-
type: Boolean,
|
|
209
|
-
default: false
|
|
210
|
-
},
|
|
211
|
-
edit: {
|
|
212
|
-
type: Boolean,
|
|
213
|
-
default: false
|
|
214
|
-
},
|
|
215
|
-
delete: {
|
|
216
|
-
type: Boolean,
|
|
217
|
-
default: false
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
tickets: {
|
|
221
|
-
create: {
|
|
222
|
-
type: Boolean,
|
|
223
|
-
default: false
|
|
224
|
-
},
|
|
225
|
-
read: {
|
|
226
|
-
type: Boolean,
|
|
227
|
-
default: false
|
|
228
|
-
},
|
|
229
|
-
edit: {
|
|
230
|
-
type: Boolean,
|
|
231
|
-
default: false
|
|
232
|
-
},
|
|
233
|
-
delete: {
|
|
234
|
-
type: Boolean,
|
|
235
|
-
default: false
|
|
236
|
-
}
|
|
237
|
-
},
|
|
238
|
-
gallery: {
|
|
239
|
-
read: {
|
|
240
|
-
type: Boolean,
|
|
241
|
-
default: false
|
|
242
|
-
},
|
|
243
|
-
create: {
|
|
244
|
-
type: Boolean,
|
|
245
|
-
default: false
|
|
246
|
-
},
|
|
247
|
-
edit: {
|
|
248
|
-
type: Boolean,
|
|
249
|
-
default: false
|
|
250
|
-
},
|
|
251
|
-
delete: {
|
|
252
|
-
type: Boolean,
|
|
253
|
-
default: false
|
|
254
|
-
}
|
|
255
|
-
},
|
|
256
|
-
inventory: {
|
|
257
|
-
read: {
|
|
258
|
-
type: Boolean,
|
|
259
|
-
default: false
|
|
260
|
-
},
|
|
261
|
-
edit: {
|
|
262
|
-
type: Boolean,
|
|
263
|
-
default: false
|
|
264
|
-
},
|
|
265
|
-
delete: {
|
|
266
|
-
type: Boolean,
|
|
267
|
-
default: false
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
products: {
|
|
271
|
-
read: {
|
|
272
|
-
type: Boolean,
|
|
273
|
-
default: false
|
|
274
|
-
},
|
|
275
|
-
edit: {
|
|
276
|
-
type: Boolean,
|
|
277
|
-
default: false
|
|
278
|
-
},
|
|
279
|
-
delete: {
|
|
280
|
-
type: Boolean,
|
|
281
|
-
default: false
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
orders: {
|
|
285
|
-
read: {
|
|
286
|
-
type: Boolean,
|
|
287
|
-
default: false
|
|
288
|
-
},
|
|
289
|
-
confirm: {
|
|
290
|
-
type: Boolean,
|
|
291
|
-
default: false
|
|
292
|
-
},
|
|
293
|
-
delete: {
|
|
294
|
-
type: Boolean,
|
|
295
|
-
default: false
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
departments: {
|
|
299
|
-
read: {
|
|
300
|
-
type: Boolean,
|
|
301
|
-
default: false
|
|
302
|
-
},
|
|
303
|
-
edit: {
|
|
304
|
-
type: Boolean,
|
|
305
|
-
default: false
|
|
306
|
-
},
|
|
307
|
-
delete: {
|
|
308
|
-
type: Boolean,
|
|
309
|
-
default: false
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
};
|
|
313
|
-
const DepartmentModel = (db) => {
|
|
314
|
-
const departmentSchema = new db.mongoose.Schema(
|
|
315
|
-
{
|
|
316
|
-
owner: {
|
|
317
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
318
|
-
ref: "User"
|
|
319
|
-
},
|
|
320
|
-
organization: {
|
|
321
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
322
|
-
ref: "Organization"
|
|
323
|
-
},
|
|
324
|
-
profile: {
|
|
325
|
-
photo: { type: String },
|
|
326
|
-
name: { type: String, required: true },
|
|
327
|
-
description: { type: String },
|
|
328
|
-
categories: [String]
|
|
329
|
-
},
|
|
330
|
-
worktime: [
|
|
331
|
-
{
|
|
332
|
-
day: String,
|
|
333
|
-
time: {
|
|
334
|
-
start: String,
|
|
335
|
-
end: String
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
],
|
|
339
|
-
hidden: {
|
|
340
|
-
type: Boolean,
|
|
341
|
-
default: false
|
|
342
|
-
},
|
|
343
|
-
accesses: accessesSchema,
|
|
344
|
-
// Marketplace options
|
|
345
|
-
delivery: [String],
|
|
346
|
-
payment: [String],
|
|
347
|
-
members: [
|
|
348
|
-
{
|
|
349
|
-
user: {
|
|
350
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
351
|
-
ref: "User"
|
|
352
|
-
},
|
|
353
|
-
position: {
|
|
354
|
-
type: String,
|
|
355
|
-
default: "Member"
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
subdepartments: [
|
|
360
|
-
{
|
|
361
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
362
|
-
ref: "Department"
|
|
363
|
-
}
|
|
364
|
-
]
|
|
365
|
-
},
|
|
366
|
-
{
|
|
367
|
-
timestamps: true
|
|
368
|
-
}
|
|
369
|
-
);
|
|
370
|
-
departmentSchema.index({ organization: 1 });
|
|
371
|
-
const Department = db.mongoose.model("Department", departmentSchema);
|
|
372
|
-
return Department;
|
|
373
|
-
};
|
|
374
|
-
const InviteModel = (db) => {
|
|
375
|
-
const InviteSchema = new db.mongoose.Schema(
|
|
376
|
-
{
|
|
377
|
-
code: {
|
|
378
|
-
type: String,
|
|
379
|
-
required: true,
|
|
380
|
-
unique: true
|
|
381
|
-
},
|
|
382
|
-
status: {
|
|
383
|
-
type: String,
|
|
384
|
-
enum: ["active", "used", "deactivated"],
|
|
385
|
-
default: "active"
|
|
386
|
-
},
|
|
387
|
-
role: {
|
|
388
|
-
type: String,
|
|
389
|
-
default: "member"
|
|
390
|
-
}
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
timestamps: true
|
|
394
|
-
}
|
|
395
|
-
);
|
|
396
|
-
ownership_schema.applyOwnershipSchema(InviteSchema, db);
|
|
397
|
-
credentials_schema.applyCredentialsSchema(InviteSchema);
|
|
398
|
-
InviteSchema.index(
|
|
399
|
-
{
|
|
400
|
-
owner: 1,
|
|
401
|
-
email: 1
|
|
402
|
-
},
|
|
403
|
-
{
|
|
404
|
-
unique: true,
|
|
405
|
-
partialFilterExpression: {
|
|
406
|
-
email: { $exists: true, $ne: "" }
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
);
|
|
410
|
-
InviteSchema.index(
|
|
411
|
-
{
|
|
412
|
-
owner: 1,
|
|
413
|
-
phone: 1
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
unique: true,
|
|
417
|
-
partialFilterExpression: {
|
|
418
|
-
phone: { $exists: true, $ne: "" }
|
|
419
|
-
}
|
|
420
|
-
}
|
|
421
|
-
);
|
|
422
|
-
const Invite = db.mongoose.model("Invite", InviteSchema);
|
|
423
|
-
return Invite;
|
|
424
|
-
};
|
|
425
|
-
const MembershipModel = (db) => {
|
|
426
|
-
const MembershipSchema = new db.mongoose.Schema(
|
|
427
|
-
{
|
|
428
|
-
user: {
|
|
429
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
430
|
-
ref: "User",
|
|
431
|
-
required: true
|
|
432
|
-
},
|
|
433
|
-
type: {
|
|
434
|
-
type: String,
|
|
435
|
-
enum: ["organization", "department", "user"],
|
|
436
|
-
default: "organization",
|
|
437
|
-
required: true
|
|
438
|
-
},
|
|
439
|
-
role: {
|
|
440
|
-
type: String,
|
|
441
|
-
default: "subscriber"
|
|
442
|
-
},
|
|
443
|
-
label: {
|
|
444
|
-
type: String,
|
|
445
|
-
default: "subscriber"
|
|
446
|
-
},
|
|
447
|
-
target: {
|
|
448
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
449
|
-
ref: function(value) {
|
|
450
|
-
if (this.type === "user") return "User";
|
|
451
|
-
if (this.type === "organization") return "Organization";
|
|
452
|
-
},
|
|
453
|
-
required: true
|
|
454
|
-
}
|
|
455
|
-
},
|
|
456
|
-
{
|
|
457
|
-
timestamps: true
|
|
458
|
-
}
|
|
459
|
-
);
|
|
460
|
-
MembershipSchema.index({ user: 1, target: 1, role: 1 });
|
|
461
|
-
const Membership = db.mongoose.model("Membership", MembershipSchema);
|
|
462
|
-
return Membership;
|
|
463
|
-
};
|
|
464
|
-
const OrganizationModel = (db) => {
|
|
465
|
-
const OrganizationSchema = new db.mongoose.Schema(
|
|
466
|
-
{
|
|
467
|
-
// Creator and owner of organizations
|
|
468
|
-
owner: {
|
|
469
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
470
|
-
ref: "User",
|
|
471
|
-
required: true
|
|
472
|
-
},
|
|
473
|
-
official: {
|
|
474
|
-
type: Boolean,
|
|
475
|
-
default: false
|
|
476
|
-
},
|
|
477
|
-
// Types of organizations
|
|
478
|
-
types: {
|
|
479
|
-
type: Array,
|
|
480
|
-
required: true
|
|
481
|
-
},
|
|
482
|
-
accesses: accessesSchema,
|
|
483
|
-
// Information for profile
|
|
484
|
-
profile: {
|
|
485
|
-
photo: String,
|
|
486
|
-
name: {
|
|
487
|
-
type: String,
|
|
488
|
-
required: true
|
|
489
|
-
},
|
|
490
|
-
description: String,
|
|
491
|
-
tags: [String]
|
|
492
|
-
},
|
|
493
|
-
// Contacts
|
|
494
|
-
contacts: {
|
|
495
|
-
email: String,
|
|
496
|
-
website: String,
|
|
497
|
-
phone: {
|
|
498
|
-
type: String
|
|
499
|
-
// match: /^\+?[1-9]\d{1,14}$/
|
|
500
|
-
},
|
|
501
|
-
address: String
|
|
502
|
-
},
|
|
503
|
-
socials: {
|
|
504
|
-
telegram: String,
|
|
505
|
-
twitter: String,
|
|
506
|
-
facebook: String,
|
|
507
|
-
instagram: String,
|
|
508
|
-
youtube: String
|
|
509
|
-
},
|
|
510
|
-
// Computed Rating
|
|
511
|
-
rating: {
|
|
512
|
-
popularity: {
|
|
513
|
-
type: Number,
|
|
514
|
-
min: 0,
|
|
515
|
-
max: 1
|
|
516
|
-
},
|
|
517
|
-
median: {
|
|
518
|
-
type: Number,
|
|
519
|
-
min: 0,
|
|
520
|
-
max: 5
|
|
521
|
-
},
|
|
522
|
-
amount: Number
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
timestamps: true
|
|
527
|
-
}
|
|
528
|
-
);
|
|
529
|
-
engagement_schema.applyEngagementSchema(OrganizationSchema);
|
|
530
|
-
OrganizationSchema.index({ _id: 1, owner: 1 });
|
|
531
|
-
const Organization = db.mongoose.model("Organization", OrganizationSchema);
|
|
532
|
-
return Organization;
|
|
533
|
-
};
|
|
534
|
-
const departmentsRoutes = (function(app, db) {
|
|
535
|
-
const controller = controllerFactory$2(db);
|
|
536
|
-
app.get("/api/departments/read", controller.read);
|
|
537
|
-
app.post("/api/departments/create", controller.create);
|
|
538
|
-
app.put("/api/departments/update", controller.update);
|
|
539
|
-
app.post("/api/departments/delete", controller.delete);
|
|
540
|
-
app.get("/api/departments/get/:_id", controller.readOne);
|
|
541
|
-
});
|
|
542
|
-
const { sendEmail, sendSms } = mailing.mailing;
|
|
543
|
-
const сontrollerFactory = (db) => {
|
|
544
|
-
const User = db.user;
|
|
545
|
-
const Invite = db.invite;
|
|
546
|
-
const Membership = db.membership;
|
|
547
|
-
const getOneByCode = async (req, res) => {
|
|
548
|
-
try {
|
|
549
|
-
const invite = await Invite.findOne({ code: req.params._id });
|
|
550
|
-
if (!invite) {
|
|
551
|
-
return res.status(404).send({ message: "Приглашение не найдено" });
|
|
552
|
-
}
|
|
553
|
-
res.send(invite);
|
|
554
|
-
} catch (err) {
|
|
555
|
-
res.status(500).send({ message: err.message });
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
const read = async (req, res) => {
|
|
559
|
-
try {
|
|
560
|
-
const { skip = 0, limit = 10, owner, target, search } = req.query;
|
|
561
|
-
const query = {};
|
|
562
|
-
if (owner) query["owner.user"] = owner;
|
|
563
|
-
if (target) query["owner.target"] = target;
|
|
564
|
-
if (search) {
|
|
565
|
-
query.$or = [
|
|
566
|
-
{ email: new RegExp(search, "i") },
|
|
567
|
-
{ phone: new RegExp(search, "i") }
|
|
568
|
-
];
|
|
569
|
-
}
|
|
570
|
-
const invites = await Invite.find(query).skip(parseInt(skip)).limit(parseInt(limit)).sort({ createdAt: -1 });
|
|
571
|
-
res.send(invites);
|
|
572
|
-
} catch (err) {
|
|
573
|
-
res.status(500).send({ message: err.message });
|
|
574
|
-
}
|
|
575
|
-
};
|
|
576
|
-
const create = async (req, res) => {
|
|
577
|
-
const creator = req.body.creator;
|
|
578
|
-
const owner = req.body.owner;
|
|
579
|
-
const list = req.body.invites;
|
|
580
|
-
const createdInvites = [];
|
|
581
|
-
const createdMemberships = [];
|
|
582
|
-
try {
|
|
583
|
-
for (let invite of list) {
|
|
584
|
-
let user = null;
|
|
585
|
-
if (!invite || !invite.contact) {
|
|
586
|
-
continue;
|
|
587
|
-
}
|
|
588
|
-
if (invite.contact.includes("@")) {
|
|
589
|
-
user = await User.findOne({ email: invite.contact });
|
|
590
|
-
} else {
|
|
591
|
-
user = await User.findOne({ phone: invite.contact });
|
|
592
|
-
}
|
|
593
|
-
if (user) {
|
|
594
|
-
const membership = new Membership({
|
|
595
|
-
user: user._id,
|
|
596
|
-
type: "organization",
|
|
597
|
-
target: req.body.owner.target,
|
|
598
|
-
role: "member",
|
|
599
|
-
label: "member"
|
|
600
|
-
});
|
|
601
|
-
const savedMembership = await membership.save();
|
|
602
|
-
createdMemberships.push(savedMembership);
|
|
603
|
-
} else {
|
|
604
|
-
const newInvite = new Invite({
|
|
605
|
-
code: uuidv4.uuid(),
|
|
606
|
-
creator,
|
|
607
|
-
owner,
|
|
608
|
-
role: "member",
|
|
609
|
-
email: invite.contact.includes("@") ? invite.contact : null,
|
|
610
|
-
phone: !invite.contact.includes("@") ? invite.contact : null
|
|
611
|
-
});
|
|
612
|
-
const savedInvite = await newInvite.save();
|
|
613
|
-
createdInvites.push(savedInvite);
|
|
614
|
-
if (savedInvite.email !== null) {
|
|
615
|
-
const to = savedInvite.email;
|
|
616
|
-
const subject = "You have been added to the organization";
|
|
617
|
-
const text = `You have been invited to join an organization on ${process.env.APP_NAME}! Use this link to register: ${process.env.API_URL}/auth/invite?inviteCode=${newInvite.code}&type=email`;
|
|
618
|
-
await sendEmail(to, subject, text);
|
|
619
|
-
}
|
|
620
|
-
if (savedInvite.phone !== null) {
|
|
621
|
-
const phone = savedInvite.phone;
|
|
622
|
-
const message = `You have been invited to join an organization on ${process.env.APP_NAME}! Use this link to register: ${process.env.API_URL}/auth/invite?inviteCode=${newInvite.code}&type=phone`;
|
|
623
|
-
await sendSms(phone, message);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
627
|
-
res.status(200).json({
|
|
628
|
-
message: "Invites sent successfully!",
|
|
629
|
-
createdInvites,
|
|
630
|
-
createdMemberships
|
|
631
|
-
});
|
|
632
|
-
} catch (error) {
|
|
633
|
-
console.error(error);
|
|
634
|
-
res.status(500).json({ message: "Something went wrong" });
|
|
635
|
-
}
|
|
636
|
-
};
|
|
637
|
-
const update = async (req, res) => {
|
|
638
|
-
try {
|
|
639
|
-
const { _id, ...updateData } = req.body;
|
|
640
|
-
if (!_id) {
|
|
641
|
-
return res.status(400).send({ message: "Invite ID is required" });
|
|
642
|
-
}
|
|
643
|
-
const invite = await Invite.findByIdAndUpdate(
|
|
644
|
-
_id,
|
|
645
|
-
updateData,
|
|
646
|
-
{ new: true, runValidators: true }
|
|
647
|
-
);
|
|
648
|
-
if (!invite) {
|
|
649
|
-
return res.status(404).send({ message: "Invite not found" });
|
|
650
|
-
}
|
|
651
|
-
res.send(invite);
|
|
652
|
-
} catch (err) {
|
|
653
|
-
res.status(500).send({ message: err.message });
|
|
654
|
-
}
|
|
655
|
-
};
|
|
656
|
-
const deleteInvite = async (req, res) => {
|
|
657
|
-
try {
|
|
658
|
-
const { _id } = req.body;
|
|
659
|
-
if (!_id) {
|
|
660
|
-
return res.status(400).send({ message: "Invite ID is required" });
|
|
661
|
-
}
|
|
662
|
-
const invite = await Invite.findOneAndDelete({ _id });
|
|
663
|
-
if (!invite) {
|
|
664
|
-
return res.status(404).send({ message: "Invite not found" });
|
|
665
|
-
}
|
|
666
|
-
res.send(invite);
|
|
667
|
-
} catch (err) {
|
|
668
|
-
res.status(500).send({ message: err.message });
|
|
669
|
-
}
|
|
670
|
-
};
|
|
671
|
-
return {
|
|
672
|
-
getOneByCode,
|
|
673
|
-
read,
|
|
674
|
-
create,
|
|
675
|
-
update,
|
|
676
|
-
delete: deleteInvite
|
|
677
|
-
};
|
|
678
|
-
};
|
|
679
|
-
const invitesRoutes = (function(app, db) {
|
|
680
|
-
const controller = сontrollerFactory(db);
|
|
681
|
-
const { verifyInvites } = index.middlewareIndexFactory(db);
|
|
682
|
-
app.get("/api/invites/read", controller.read);
|
|
683
|
-
app.get("/api/invites/get/:_id", controller.getOneByCode);
|
|
684
|
-
app.post("/api/invites/create", [verifyInvites.checkInviteExist, verifyInvites.checkUsersExist], controller.create);
|
|
685
|
-
app.put("/api/invites/update", controller.update);
|
|
686
|
-
app.post("/api/invites/delete", controller.delete);
|
|
687
|
-
});
|
|
688
|
-
const ObjectId$1 = { Types: mongoose.Types }.Types.ObjectId;
|
|
689
|
-
const controllerFactory$1 = (db) => {
|
|
690
|
-
const Membership = db.membership;
|
|
691
|
-
const Department = db.department;
|
|
692
|
-
const read = async (req, res) => {
|
|
693
|
-
try {
|
|
694
|
-
let search = req.query.search;
|
|
695
|
-
let regexPattern = "";
|
|
696
|
-
if (search) {
|
|
697
|
-
search = search.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
698
|
-
const parts = search.split(".");
|
|
699
|
-
if (parts.length === 2) {
|
|
700
|
-
regexPattern = parts.join("\\.");
|
|
701
|
-
} else {
|
|
702
|
-
regexPattern = search;
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
const memberships = await Membership.aggregate([
|
|
706
|
-
{
|
|
707
|
-
$lookup: {
|
|
708
|
-
from: "users",
|
|
709
|
-
localField: "user",
|
|
710
|
-
foreignField: "_id",
|
|
711
|
-
as: "user"
|
|
712
|
-
}
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
$match: {
|
|
716
|
-
...req.query.user && { user: new ObjectId$1(req.query.user) },
|
|
717
|
-
...req.query.type && { type: req.query.type },
|
|
718
|
-
...req.query.target && { target: new ObjectId$1(req.query.target) },
|
|
719
|
-
...req.query.role && { role: { $in: req.query.role } },
|
|
720
|
-
...req.query.search && {
|
|
721
|
-
$or: [
|
|
722
|
-
{ "user.profile.name": { $regex: regexPattern, $options: "i" } },
|
|
723
|
-
{ "user.email": { $regex: regexPattern, $options: "i" } },
|
|
724
|
-
{ "user.phone": { $regex: regexPattern, $options: "i" } }
|
|
725
|
-
]
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
$unwind: "$user"
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
$project: {
|
|
734
|
-
_id: 1,
|
|
735
|
-
user: {
|
|
736
|
-
_id: 1,
|
|
737
|
-
profile: 1,
|
|
738
|
-
roles: 1,
|
|
739
|
-
phone: 1,
|
|
740
|
-
email: 1,
|
|
741
|
-
username: 1,
|
|
742
|
-
socials: 1,
|
|
743
|
-
status: 1,
|
|
744
|
-
createdAt: 1,
|
|
745
|
-
updatedAt: 1
|
|
746
|
-
},
|
|
747
|
-
type: 1,
|
|
748
|
-
role: 1,
|
|
749
|
-
label: 1,
|
|
750
|
-
target: 1,
|
|
751
|
-
createdAt: 1,
|
|
752
|
-
updatedAt: 1
|
|
753
|
-
}
|
|
754
|
-
},
|
|
755
|
-
// Sorting and Pagination
|
|
756
|
-
...queryProcessor.queryProcessorCore.getSortingOptions(req.query.sortParam, req.query.sortOrder),
|
|
757
|
-
...queryProcessor.queryProcessorCore.getPaginationOptions(req.query.skip, req.query.limit)
|
|
758
|
-
]);
|
|
759
|
-
if (!memberships) {
|
|
760
|
-
return res.status(404).send({ errorCode: "MEMBERSHIPS_NOT_FOUND" });
|
|
761
|
-
}
|
|
762
|
-
res.send(memberships);
|
|
763
|
-
} catch (err) {
|
|
764
|
-
console.log(err);
|
|
765
|
-
res.status(500).send({ errorCode: "SERVER_ERROR" });
|
|
766
|
-
}
|
|
767
|
-
};
|
|
768
|
-
const create = async (req, res) => {
|
|
769
|
-
const newMembership = new Membership({
|
|
770
|
-
user: req.body.user,
|
|
771
|
-
type: req.body.type,
|
|
772
|
-
target: req.body.target,
|
|
773
|
-
role: req.body.role
|
|
774
|
-
});
|
|
775
|
-
try {
|
|
776
|
-
const data = await newMembership.save();
|
|
777
|
-
const populated = await Membership.findById(data._id).populate("user", "-password");
|
|
778
|
-
res.send(populated);
|
|
779
|
-
} catch (err) {
|
|
780
|
-
console.log(err);
|
|
781
|
-
res.status(500).send({ errorCode: "SERVER_ERROR" });
|
|
782
|
-
}
|
|
783
|
-
};
|
|
784
|
-
const update = async (req, res) => {
|
|
785
|
-
try {
|
|
786
|
-
const membership = await Membership.findByIdAndUpdate(req.body._id, req.body, { new: true }).populate("user", "-password");
|
|
787
|
-
if (!membership) {
|
|
788
|
-
return res.status(404).send({ errorCode: "MEMBERSHIP_NOT_FOUND" });
|
|
789
|
-
}
|
|
790
|
-
res.send(membership);
|
|
791
|
-
} catch (err) {
|
|
792
|
-
res.status(500).send({ errorCode: "SERVER_ERROR" });
|
|
793
|
-
}
|
|
794
|
-
};
|
|
795
|
-
const deleteMembership = async (req, res) => {
|
|
796
|
-
const { _id, type, target, user, role } = req.body;
|
|
797
|
-
console.log("Delete membership request:", { _id, type, target, user, role });
|
|
798
|
-
try {
|
|
799
|
-
const query = _id ? { _id: new ObjectId$1(_id) } : {
|
|
800
|
-
type,
|
|
801
|
-
target: new ObjectId$1(target),
|
|
802
|
-
user: new ObjectId$1(user),
|
|
803
|
-
role
|
|
804
|
-
};
|
|
805
|
-
console.log("Delete query:", query);
|
|
806
|
-
const membership = await Membership.findOneAndDelete(query);
|
|
807
|
-
console.log("Deleted membership:", membership);
|
|
808
|
-
if (!membership) {
|
|
809
|
-
return res.status(404).send({ errorCode: "MEMBERSHIP_NOT_FOUND" });
|
|
810
|
-
}
|
|
811
|
-
if (membership.type === "organization") {
|
|
812
|
-
await Department.updateMany({ organization: target }, { $pull: { members: { user } } });
|
|
813
|
-
}
|
|
814
|
-
res.status(200).send(membership);
|
|
815
|
-
} catch (error) {
|
|
816
|
-
console.log(error);
|
|
817
|
-
res.status(500).send({ errorCode: "SERVER_ERROR" });
|
|
818
|
-
}
|
|
819
|
-
};
|
|
820
|
-
return {
|
|
821
|
-
read,
|
|
822
|
-
create,
|
|
823
|
-
update,
|
|
824
|
-
deleteMembership
|
|
825
|
-
};
|
|
826
|
-
};
|
|
827
|
-
const membershipsRoutes = (function(app, db) {
|
|
828
|
-
const controller = controllerFactory$1(db);
|
|
829
|
-
app.get("/api/memberships/read", controller.read);
|
|
830
|
-
app.post("/api/memberships/create", controller.create);
|
|
831
|
-
app.put("/api/memberships/update", controller.update);
|
|
832
|
-
app.post("/api/memberships/delete", controller.deleteMembership);
|
|
833
|
-
app.get("/api/memberships", controller.read);
|
|
834
|
-
});
|
|
835
|
-
const lookupConfigs = {
|
|
836
|
-
products: {
|
|
837
|
-
lookup: {
|
|
838
|
-
from: "products",
|
|
839
|
-
localField: "_id",
|
|
840
|
-
foreignField: "owner.target",
|
|
841
|
-
pipeline: [
|
|
842
|
-
{
|
|
843
|
-
$lookup: {
|
|
844
|
-
from: "variants",
|
|
845
|
-
localField: "_id",
|
|
846
|
-
foreignField: "product",
|
|
847
|
-
pipeline: [
|
|
848
|
-
{
|
|
849
|
-
$project: {
|
|
850
|
-
_id: 1,
|
|
851
|
-
name: 1,
|
|
852
|
-
price: 1,
|
|
853
|
-
quantity: 1,
|
|
854
|
-
type: 1
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
],
|
|
858
|
-
as: "variants"
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
],
|
|
862
|
-
as: "products"
|
|
863
|
-
},
|
|
864
|
-
additionalStages: [
|
|
865
|
-
{
|
|
866
|
-
$addFields: { numberOfProducts: { $size: "$products" } }
|
|
867
|
-
}
|
|
868
|
-
]
|
|
869
|
-
},
|
|
870
|
-
blogposts: {
|
|
871
|
-
lookup: {
|
|
872
|
-
from: "blogposts",
|
|
873
|
-
localField: "_id",
|
|
874
|
-
foreignField: "owner.target",
|
|
875
|
-
as: "blogposts"
|
|
876
|
-
}
|
|
877
|
-
},
|
|
878
|
-
departments: {
|
|
879
|
-
lookup: {
|
|
880
|
-
from: "departments",
|
|
881
|
-
localField: "_id",
|
|
882
|
-
foreignField: "organization",
|
|
883
|
-
as: "departments"
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
spots: {
|
|
887
|
-
lookup: {
|
|
888
|
-
from: "spots",
|
|
889
|
-
localField: "_id",
|
|
890
|
-
foreignField: "organization",
|
|
891
|
-
as: "spots"
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
memberships: {
|
|
895
|
-
lookup: {
|
|
896
|
-
from: "memberships",
|
|
897
|
-
localField: "_id",
|
|
898
|
-
foreignField: "target",
|
|
899
|
-
as: "memberships"
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
};
|
|
903
|
-
const ObjectId = { Types: mongoose.Types }.Types.ObjectId;
|
|
904
|
-
const { Client } = googleMapsServicesJs__namespace;
|
|
905
|
-
const client = new Client({});
|
|
906
|
-
const getRequestedLookups = (query) => query.lookup ? Array.isArray(query.lookup) ? query.lookup : [query.lookup] : [];
|
|
907
|
-
const getLookupStages = (requestedLookups, configs) => {
|
|
908
|
-
if (!requestedLookups) return [];
|
|
909
|
-
const lookupsArray = Array.isArray(requestedLookups) ? requestedLookups : requestedLookups.split(",");
|
|
910
|
-
return lookupsArray.map((lookup) => configs[lookup]).filter(Boolean).flatMap((config) => [
|
|
911
|
-
{ $lookup: config.lookup },
|
|
912
|
-
// Оберните lookup в объект с $lookup
|
|
913
|
-
...config.additionalStages || []
|
|
914
|
-
]);
|
|
915
|
-
};
|
|
916
|
-
const getLocationStages = async (query) => {
|
|
917
|
-
if (!hasLocationParams(query)) {
|
|
918
|
-
return { stages: [], userLocation: null };
|
|
919
|
-
}
|
|
920
|
-
const location = await resolveLocation(query);
|
|
921
|
-
const radius = getRadius(query);
|
|
922
|
-
const geoStages = radius ? [
|
|
923
|
-
{
|
|
924
|
-
$match: {
|
|
925
|
-
"spots.location.coordinates": {
|
|
926
|
-
$geoWithin: {
|
|
927
|
-
$centerSphere: [[location.coordinates[0], location.coordinates[1]], radius]
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
] : [];
|
|
933
|
-
return {
|
|
934
|
-
stages: [...geoStages, ...getDistanceStages(location)],
|
|
935
|
-
userLocation: location
|
|
936
|
-
};
|
|
937
|
-
};
|
|
938
|
-
const getRadius = (query) => {
|
|
939
|
-
if (query.locationRadius) return parseFloat(query.locationRadius) / 6378.1;
|
|
940
|
-
if (query.city) return 25 / 6378.1;
|
|
941
|
-
if (query.state) return 50 / 6378.1;
|
|
942
|
-
return null;
|
|
943
|
-
};
|
|
944
|
-
const hasLocationParams = (query) => query.location || query.address || query.city || query.state || query.country;
|
|
945
|
-
const resolveLocation = async (query) => {
|
|
946
|
-
if (query.location) {
|
|
947
|
-
const parsedLocation = typeof query.location === "string" ? JSON.parse(query.location) : query.location;
|
|
948
|
-
const coordinates = parsedLocation.lng ? [parsedLocation.lng, parsedLocation.lat] : parsedLocation.coordinates;
|
|
949
|
-
return { coordinates: coordinates.map((coord) => parseFloat(coord)) };
|
|
950
|
-
}
|
|
951
|
-
const searchString = [query.address, query.city, query.state, query.country].filter(Boolean).join(", ");
|
|
952
|
-
try {
|
|
953
|
-
const geoResponse = await client.geocode({
|
|
954
|
-
params: {
|
|
955
|
-
address: searchString,
|
|
956
|
-
key: process.env.GOOGLE_MAPS_API_KEY
|
|
957
|
-
}
|
|
958
|
-
});
|
|
959
|
-
if (!geoResponse.data.results?.length) {
|
|
960
|
-
throw new Error("Unable to geocode the provided location.");
|
|
961
|
-
}
|
|
962
|
-
const { lng, lat } = geoResponse.data.results[0].geometry.location;
|
|
963
|
-
return { coordinates: [lng, lat] };
|
|
964
|
-
} catch (err) {
|
|
965
|
-
throw new Error("Error occurred while geocoding.");
|
|
966
|
-
}
|
|
967
|
-
};
|
|
968
|
-
const getDistanceStages = (location) => [
|
|
969
|
-
{
|
|
970
|
-
$addFields: {
|
|
971
|
-
spots: {
|
|
972
|
-
$map: {
|
|
973
|
-
input: "$spots",
|
|
974
|
-
as: "spot",
|
|
975
|
-
in: {
|
|
976
|
-
$mergeObjects: [
|
|
977
|
-
"$$spot",
|
|
978
|
-
{
|
|
979
|
-
distance: {
|
|
980
|
-
$function: {
|
|
981
|
-
body: `function(spotCoords, userCoords, isMiles) {
|
|
982
|
-
function toRad(x) {
|
|
983
|
-
return x * Math.PI / 180;
|
|
984
|
-
}
|
|
985
|
-
var lon1 = spotCoords[0];
|
|
986
|
-
var lat1 = spotCoords[1];
|
|
987
|
-
var lon2 = userCoords[0];
|
|
988
|
-
var lat2 = userCoords[1];
|
|
989
|
-
var R = 6371;
|
|
990
|
-
if (isMiles) R = 3959;
|
|
991
|
-
var x1 = lat2 - lat1;
|
|
992
|
-
var dLat = toRad(x1);
|
|
993
|
-
var x2 = lon2 - lon1;
|
|
994
|
-
var dLon = toRad(x2);
|
|
995
|
-
var a = Math.sin(dLat / 2) * Math.sin(dLat / 2) +
|
|
996
|
-
Math.cos(toRad(lat1)) * Math.cos(toRad(lat2)) *
|
|
997
|
-
Math.sin(dLon / 2) * Math.sin(dLon / 2);
|
|
998
|
-
var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
|
|
999
|
-
var d = R * c;
|
|
1000
|
-
return d;
|
|
1001
|
-
}`,
|
|
1002
|
-
args: ["$$spot.location.coordinates", location.coordinates, false],
|
|
1003
|
-
lang: "js"
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
]
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
}
|
|
1011
|
-
}
|
|
1012
|
-
},
|
|
1013
|
-
{
|
|
1014
|
-
$addFields: {
|
|
1015
|
-
distance: { $min: "$spots.distance" },
|
|
1016
|
-
distanceExist: {
|
|
1017
|
-
$cond: {
|
|
1018
|
-
if: { $eq: [{ $type: "$distance" }, "double"] },
|
|
1019
|
-
then: true,
|
|
1020
|
-
else: false
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
];
|
|
1026
|
-
const getPriceConditions = (prices) => {
|
|
1027
|
-
if (!prices) return [];
|
|
1028
|
-
const priceRanges = prices.split(",");
|
|
1029
|
-
const priceConditions = priceRanges.map((priceRange) => {
|
|
1030
|
-
if (priceRange.startsWith("<")) return { "products.price": { $lt: parseInt(priceRange.slice(1)) } };
|
|
1031
|
-
if (priceRange.startsWith(">")) return { "products.price": { $gt: parseInt(priceRange.slice(1)) } };
|
|
1032
|
-
const [min, max] = priceRange.split("-").map(Number);
|
|
1033
|
-
return { "products.price": { $gte: min, $lte: max } };
|
|
1034
|
-
});
|
|
1035
|
-
return priceConditions.length > 0 ? [{ $match: { $or: priceConditions } }] : [];
|
|
1036
|
-
};
|
|
1037
|
-
const getContainConditions = (contain) => {
|
|
1038
|
-
if (!contain) return [];
|
|
1039
|
-
const conditions = contain.map((property) => ({
|
|
1040
|
-
[property]: { $exists: true, $not: { $size: 0 } }
|
|
1041
|
-
}));
|
|
1042
|
-
return conditions.length > 0 ? [{ $match: { $and: conditions } }] : [];
|
|
1043
|
-
};
|
|
1044
|
-
const getBasicMatchConditions = (query) => [
|
|
1045
|
-
...query._id ? [{ _id: new ObjectId(query._id) }] : [],
|
|
1046
|
-
...query.owner ? [{ owner: new ObjectId(query.owner) }] : [],
|
|
1047
|
-
...query.types ? [{ types: { $in: query.types } }] : [],
|
|
1048
|
-
...query.member ? [
|
|
1049
|
-
{
|
|
1050
|
-
memberships: {
|
|
1051
|
-
$elemMatch: {
|
|
1052
|
-
user: new ObjectId(query.member),
|
|
1053
|
-
role: "member"
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
] : [],
|
|
1058
|
-
...query.subscriber ? [
|
|
1059
|
-
{
|
|
1060
|
-
memberships: {
|
|
1061
|
-
$elemMatch: {
|
|
1062
|
-
user: new ObjectId(query.subscriber),
|
|
1063
|
-
role: "subscriber"
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
}
|
|
1067
|
-
] : [],
|
|
1068
|
-
...query.categories?.split(",").length > 0 ? [{ "products.category": { $in: query.categories?.split(",") } }] : [],
|
|
1069
|
-
...query.delivery?.split(",").length > 0 ? [{ "spots.delivery": { $all: query.delivery?.split(",") } }] : []
|
|
1070
|
-
];
|
|
1071
|
-
const getPostableConditions = (postableId) => {
|
|
1072
|
-
if (!postableId) return [];
|
|
1073
|
-
return [
|
|
1074
|
-
{
|
|
1075
|
-
$match: {
|
|
1076
|
-
$or: [
|
|
1077
|
-
{ owner: new ObjectId(postableId) },
|
|
1078
|
-
{
|
|
1079
|
-
$and: [
|
|
1080
|
-
{ types: { $elemMatch: { $eq: "public" } } },
|
|
1081
|
-
{
|
|
1082
|
-
memberships: {
|
|
1083
|
-
$elemMatch: {
|
|
1084
|
-
user: new ObjectId(postableId)
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
]
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
$and: [
|
|
1092
|
-
{ types: { $elemMatch: { $in: ["exclusive", "hidden"] } } },
|
|
1093
|
-
{
|
|
1094
|
-
memberships: {
|
|
1095
|
-
$elemMatch: {
|
|
1096
|
-
user: new ObjectId(postableId),
|
|
1097
|
-
role: { $ne: "subscriber" }
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
}
|
|
1101
|
-
]
|
|
1102
|
-
}
|
|
1103
|
-
]
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
];
|
|
1107
|
-
};
|
|
1108
|
-
const controllerFactory = (db) => {
|
|
1109
|
-
const Organization = db.organization;
|
|
1110
|
-
const Department = db.department;
|
|
1111
|
-
const Membership = db.membership;
|
|
1112
|
-
const cache = new core_logger.CacheNamespaced({ ttlSeconds: 60 * 5 });
|
|
1113
|
-
const read = async (req, res) => {
|
|
1114
|
-
console.log("controller query", req.query);
|
|
1115
|
-
try {
|
|
1116
|
-
const cacheKey = JSON.stringify(req.query);
|
|
1117
|
-
let cachedResult = await cache.get(cacheKey);
|
|
1118
|
-
if (cachedResult) {
|
|
1119
|
-
return res.status(200).send(cachedResult);
|
|
1120
|
-
}
|
|
1121
|
-
const requestedLookups = getRequestedLookups(req.query);
|
|
1122
|
-
const matchConditions = getBasicMatchConditions(req.query);
|
|
1123
|
-
const stages = [
|
|
1124
|
-
...getLookupStages(requestedLookups, lookupConfigs),
|
|
1125
|
-
...getPostableConditions(req.query.postable),
|
|
1126
|
-
...getContainConditions(req.query.contain),
|
|
1127
|
-
...queryProcessor.queryProcessorCore.getSearchOptions(req.query.search, {
|
|
1128
|
-
fields: requestedLookups.includes("products") ? ["profile.name", "products.name"] : ["profile.name"]
|
|
1129
|
-
}),
|
|
1130
|
-
...requestedLookups.includes("products") && req.query.prices ? getPriceConditions(req.query.prices) : [],
|
|
1131
|
-
...requestedLookups.includes("spots") ? (await getLocationStages(req.query)).stages : [],
|
|
1132
|
-
...requestedLookups.includes("memberships") ? [addUserStatusFields.addUserStatusFields(req.query.user), addUserStatusFields.addMembersQuantity(req.query.user)] : [],
|
|
1133
|
-
...matchConditions.length > 0 ? [{ $match: { $and: matchConditions } }] : [],
|
|
1134
|
-
...queryProcessor.queryProcessorCore.getSortingOptions(req.query.sortParam, req.query.sortOrder),
|
|
1135
|
-
...queryProcessor.queryProcessorCore.getPaginationOptions(req.query.skip, req.query.limit)
|
|
1136
|
-
].filter(Boolean);
|
|
1137
|
-
console.log(JSON.stringify(stages, null, 2));
|
|
1138
|
-
const organizations = await Organization.aggregate(stages);
|
|
1139
|
-
for (const org of organizations) {
|
|
1140
|
-
const orgTag = `organization_${org._id}`;
|
|
1141
|
-
await cache.setWithTags(cacheKey, organizations, [orgTag, "organizations"]);
|
|
1142
|
-
}
|
|
1143
|
-
res.status(200).send(organizations);
|
|
1144
|
-
} catch (err) {
|
|
1145
|
-
console.error(err);
|
|
1146
|
-
res.status(500).send({ message: err.message });
|
|
1147
|
-
}
|
|
1148
|
-
};
|
|
1149
|
-
const create = async (req, res) => {
|
|
1150
|
-
if (req.body._id === null) {
|
|
1151
|
-
delete req.body._id;
|
|
1152
|
-
}
|
|
1153
|
-
try {
|
|
1154
|
-
const organization = new Organization(req.body);
|
|
1155
|
-
const savedOrganization = await organization.save();
|
|
1156
|
-
const membership = new Membership({
|
|
1157
|
-
user: savedOrganization.owner,
|
|
1158
|
-
type: "organization",
|
|
1159
|
-
target: savedOrganization._id,
|
|
1160
|
-
role: "owner",
|
|
1161
|
-
label: "owner"
|
|
1162
|
-
});
|
|
1163
|
-
const savedMembership = await membership.save();
|
|
1164
|
-
const orgTag = `organization_${savedOrganization._id}`;
|
|
1165
|
-
await cache.delByTag(orgTag);
|
|
1166
|
-
const organizationObject = savedOrganization.toObject();
|
|
1167
|
-
const newCacheKey = JSON.stringify({ id: organizationObject._id });
|
|
1168
|
-
await cache.setWithTags(newCacheKey, [organizationObject], [orgTag, "organizations"]);
|
|
1169
|
-
res.status(201).json(savedOrganization);
|
|
1170
|
-
} catch (error) {
|
|
1171
|
-
console.error("Error:", error);
|
|
1172
|
-
res.status(500).send(error);
|
|
1173
|
-
}
|
|
1174
|
-
};
|
|
1175
|
-
const update = async (req, res) => {
|
|
1176
|
-
try {
|
|
1177
|
-
const organizationId = req.params._id;
|
|
1178
|
-
const updatedData = req.body;
|
|
1179
|
-
const organization = await Organization.findByIdAndUpdate(organizationId, updatedData, {
|
|
1180
|
-
new: true,
|
|
1181
|
-
runValidators: true
|
|
1182
|
-
});
|
|
1183
|
-
if (!organization) {
|
|
1184
|
-
return res.status(404).json({ message: "Organization not found" });
|
|
1185
|
-
}
|
|
1186
|
-
const orgTag = `organization_${organizationId}`;
|
|
1187
|
-
await cache.delByTag(orgTag);
|
|
1188
|
-
const organizationObject = organization.toObject();
|
|
1189
|
-
const updateCacheKey = JSON.stringify({ _id: organizationId });
|
|
1190
|
-
await cache.setWithTags(updateCacheKey, [organizationObject], [orgTag, "organizations"]);
|
|
1191
|
-
res.status(200).json({ message: "Organization updated successfully", organization });
|
|
1192
|
-
} catch (error) {
|
|
1193
|
-
res.status(500).json({ error: error.message });
|
|
1194
|
-
}
|
|
1195
|
-
};
|
|
1196
|
-
const deleteOrganization = async (req, res) => {
|
|
1197
|
-
try {
|
|
1198
|
-
const organization = await Organization.findOneAndRemove({ _id: req.params._id });
|
|
1199
|
-
if (!organization) {
|
|
1200
|
-
return res.status(404).send({ message: "Organization not found" });
|
|
1201
|
-
}
|
|
1202
|
-
await Membership.deleteMany({ target: req.params._id });
|
|
1203
|
-
const newToken = jwt.sign(
|
|
1204
|
-
{
|
|
1205
|
-
_id: req.userId,
|
|
1206
|
-
// Предполагаю, что req.userId доступен
|
|
1207
|
-
organization: null
|
|
1208
|
-
},
|
|
1209
|
-
process.env.SECRET_KEY,
|
|
1210
|
-
{
|
|
1211
|
-
expiresIn: 86400
|
|
1212
|
-
// 24 hours
|
|
1213
|
-
}
|
|
1214
|
-
);
|
|
1215
|
-
const orgTag = `organization_${req.params._id}`;
|
|
1216
|
-
await cache.delByTag(orgTag);
|
|
1217
|
-
res.send({ newToken });
|
|
1218
|
-
} catch (err) {
|
|
1219
|
-
res.status(500).send({ message: err.message });
|
|
1220
|
-
}
|
|
1221
|
-
};
|
|
1222
|
-
const checkAccesses = async (req, res) => {
|
|
1223
|
-
try {
|
|
1224
|
-
const uid = new db.mongoose.Types.ObjectId(req.userId);
|
|
1225
|
-
const cacheKey = `accesses_${uid.toString()}`;
|
|
1226
|
-
const cachedResult = await cache.get(cacheKey);
|
|
1227
|
-
if (cachedResult) {
|
|
1228
|
-
return res.status(200).json(cachedResult);
|
|
1229
|
-
}
|
|
1230
|
-
const depts = await Department.find({ "members.user": uid }).lean();
|
|
1231
|
-
const ownedOrgs = await Organization.find({ owner: uid }).lean();
|
|
1232
|
-
const ownedOrgIds = ownedOrgs.map((org) => org._id.toString());
|
|
1233
|
-
const accesses = {};
|
|
1234
|
-
const processAccesses = (orgId, isOwner, deptAccesses) => {
|
|
1235
|
-
if (!accesses[orgId]) {
|
|
1236
|
-
accesses[orgId] = { organization: orgId, rights: {} };
|
|
1237
|
-
}
|
|
1238
|
-
const rights = accesses[orgId].rights;
|
|
1239
|
-
const defaultAccesses = new Department().accesses;
|
|
1240
|
-
const accessData = isOwner ? defaultAccesses : deptAccesses;
|
|
1241
|
-
Object.keys(accessData).forEach((key) => {
|
|
1242
|
-
if (!rights[key]) {
|
|
1243
|
-
rights[key] = {};
|
|
1244
|
-
}
|
|
1245
|
-
const accessRights = accessData[key];
|
|
1246
|
-
Object.entries(accessRights).forEach(([right, value]) => {
|
|
1247
|
-
rights[key][right] = isOwner || rights[key][right] || value;
|
|
1248
|
-
});
|
|
1249
|
-
});
|
|
1250
|
-
};
|
|
1251
|
-
const orgDepts = depts.reduce((acc, dept) => {
|
|
1252
|
-
const orgId = dept.organization.toString();
|
|
1253
|
-
if (!acc[orgId]) {
|
|
1254
|
-
acc[orgId] = [];
|
|
1255
|
-
}
|
|
1256
|
-
acc[orgId].push(dept);
|
|
1257
|
-
return acc;
|
|
1258
|
-
}, {});
|
|
1259
|
-
Object.entries(orgDepts).forEach(([orgId, departments]) => {
|
|
1260
|
-
const combinedAccesses = departments.reduce((acc, dept) => {
|
|
1261
|
-
Object.entries(dept.accesses).forEach(([key, rights]) => {
|
|
1262
|
-
if (!acc[key]) {
|
|
1263
|
-
acc[key] = {};
|
|
1264
|
-
}
|
|
1265
|
-
Object.entries(rights).forEach(([right, value]) => {
|
|
1266
|
-
acc[key][right] = acc[key][right] || value;
|
|
1267
|
-
});
|
|
1268
|
-
});
|
|
1269
|
-
return acc;
|
|
1270
|
-
}, {});
|
|
1271
|
-
processAccesses(orgId, false, combinedAccesses);
|
|
1272
|
-
});
|
|
1273
|
-
ownedOrgIds.forEach((orgId) => {
|
|
1274
|
-
processAccesses(orgId, true, {});
|
|
1275
|
-
});
|
|
1276
|
-
const accessArray = Object.values(accesses);
|
|
1277
|
-
const userTag = `access_${uid.toString()}`;
|
|
1278
|
-
await cache.setWithTags(cacheKey, accessArray, [userTag, "accesses"]);
|
|
1279
|
-
res.status(200).json(accessArray);
|
|
1280
|
-
} catch (err) {
|
|
1281
|
-
console.error("Error getting accesses:", err);
|
|
1282
|
-
res.status(500).json({ message: "Internal server error" });
|
|
1283
|
-
}
|
|
1284
|
-
};
|
|
1285
|
-
return {
|
|
1286
|
-
fetch,
|
|
1287
|
-
read,
|
|
1288
|
-
create,
|
|
1289
|
-
update,
|
|
1290
|
-
delete: deleteOrganization,
|
|
1291
|
-
// Map the method to 'delete' key
|
|
1292
|
-
checkAccesses
|
|
1293
|
-
};
|
|
1294
|
-
};
|
|
1295
|
-
const { getInstance: getInstance$1 } = core_abac.coreabac;
|
|
1296
|
-
const organizationsRoutes = (function(app, db) {
|
|
1297
|
-
const controller = controllerFactory(db);
|
|
1298
|
-
const { authJwt } = index.middlewareIndexFactory(db);
|
|
1299
|
-
getInstance$1(db);
|
|
1300
|
-
app.get(
|
|
1301
|
-
"/api/organizations",
|
|
1302
|
-
[
|
|
1303
|
-
authJwt.verifyToken(true)
|
|
1304
|
-
// abac.middleware('organizations', 'read', {
|
|
1305
|
-
// allowPublished: true,
|
|
1306
|
-
// allowUnauthenticated: true
|
|
1307
|
-
// })
|
|
1308
|
-
],
|
|
1309
|
-
controller.read
|
|
1310
|
-
);
|
|
1311
|
-
app.post("/api/organizations/create", controller.create);
|
|
1312
|
-
app.post("/api/organizations/:_id/update", controller.update);
|
|
1313
|
-
app.delete("/api/organizations/:_id/delete", controller.delete);
|
|
1314
|
-
app.get("/api/organizations/check-accesses", [authJwt.verifyToken()], controller.checkAccesses);
|
|
1315
|
-
});
|
|
1316
|
-
const initOrganizationPolicies = (function initializeOrganizationPolicies(abacAccessControl, db) {
|
|
1317
|
-
const Organization = db.organization;
|
|
1318
|
-
const Department = db.department;
|
|
1319
|
-
const publicAccessVerifier = new core_verifier.Verifier({
|
|
1320
|
-
status: {
|
|
1321
|
-
rule: "optional",
|
|
1322
|
-
validator: core_verifier.Validator.schema({ context: "Status" }).string().required().oneOf(["published", "active", "featured"])
|
|
1323
|
-
}
|
|
1324
|
-
});
|
|
1325
|
-
const organizationHelpers = {
|
|
1326
|
-
// Проверка, является ли пользователь владельцем организации
|
|
1327
|
-
async isOrganizationOwner(userId, orgId) {
|
|
1328
|
-
if (!userId || !orgId) return false;
|
|
1329
|
-
try {
|
|
1330
|
-
const objectId = new db.mongoose.Types.ObjectId(orgId);
|
|
1331
|
-
return await Organization.exists({
|
|
1332
|
-
_id: objectId,
|
|
1333
|
-
owner: userId
|
|
1334
|
-
});
|
|
1335
|
-
} catch (error) {
|
|
1336
|
-
console.error("Error checking organization ownership:", error);
|
|
1337
|
-
return false;
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
// Получить права пользователя в организации
|
|
1341
|
-
async getUserOrganizationRights(userId, orgId) {
|
|
1342
|
-
if (!userId || !orgId) return null;
|
|
1343
|
-
try {
|
|
1344
|
-
const objectId = new db.mongoose.Types.ObjectId(orgId);
|
|
1345
|
-
const isOwner = await this.isOrganizationOwner(userId, orgId);
|
|
1346
|
-
if (isOwner) {
|
|
1347
|
-
const defaultAccesses = new Department().accesses;
|
|
1348
|
-
return {
|
|
1349
|
-
isOwner: true,
|
|
1350
|
-
rights: defaultAccesses,
|
|
1351
|
-
departments: []
|
|
1352
|
-
};
|
|
1353
|
-
}
|
|
1354
|
-
const departments = await Department.find({
|
|
1355
|
-
organization: objectId,
|
|
1356
|
-
"members.user": userId
|
|
1357
|
-
});
|
|
1358
|
-
if (!departments.length) return null;
|
|
1359
|
-
const combinedRights = {};
|
|
1360
|
-
departments.forEach((dept) => {
|
|
1361
|
-
Object.entries(dept.accesses).forEach(([resource, rights]) => {
|
|
1362
|
-
if (!combinedRights[resource]) {
|
|
1363
|
-
combinedRights[resource] = {};
|
|
1364
|
-
}
|
|
1365
|
-
Object.entries(rights).forEach(([action, allowed]) => {
|
|
1366
|
-
combinedRights[resource][action] = combinedRights[resource][action] || allowed;
|
|
1367
|
-
});
|
|
1368
|
-
});
|
|
1369
|
-
});
|
|
1370
|
-
return {
|
|
1371
|
-
isOwner: false,
|
|
1372
|
-
rights: combinedRights,
|
|
1373
|
-
departments: departments.map((d) => ({
|
|
1374
|
-
_id: d._id,
|
|
1375
|
-
name: d.name,
|
|
1376
|
-
accesses: d.accesses,
|
|
1377
|
-
members: d.members
|
|
1378
|
-
// Добавляем members для проверки permissions
|
|
1379
|
-
}))
|
|
1380
|
-
};
|
|
1381
|
-
} catch (error) {
|
|
1382
|
-
console.error("Error getting user organization rights:", error);
|
|
1383
|
-
return null;
|
|
1384
|
-
}
|
|
1385
|
-
},
|
|
1386
|
-
// Проверка конкретного права
|
|
1387
|
-
async hasOrganizationRight(userId, orgId, resource, action) {
|
|
1388
|
-
const rights = await this.getUserOrganizationRights(userId, orgId);
|
|
1389
|
-
return rights?.rights?.[resource]?.[action] || false;
|
|
1390
|
-
},
|
|
1391
|
-
// Получить организацию из контекста
|
|
1392
|
-
getOrganizationId(context) {
|
|
1393
|
-
const { currentResource, data } = context;
|
|
1394
|
-
if (currentResource?.owner?.type === "organization") {
|
|
1395
|
-
return String(currentResource.owner.target);
|
|
1396
|
-
}
|
|
1397
|
-
if (data?.owner?.type === "organization") {
|
|
1398
|
-
return String(data.owner.target);
|
|
1399
|
-
}
|
|
1400
|
-
if (data?.organization) {
|
|
1401
|
-
return String(data.organization);
|
|
1402
|
-
}
|
|
1403
|
-
if (currentResource?.organization) {
|
|
1404
|
-
return String(currentResource.organization);
|
|
1405
|
-
}
|
|
1406
|
-
return null;
|
|
1407
|
-
}
|
|
1408
|
-
};
|
|
1409
|
-
const enhanceContext = (context) => {
|
|
1410
|
-
context.organizationHelpers = organizationHelpers;
|
|
1411
|
-
context.checkOrganizationOwner = async (orgId = null) => {
|
|
1412
|
-
const organizationId = orgId || organizationHelpers.getOrganizationId(context);
|
|
1413
|
-
if (!organizationId || !context.user) return false;
|
|
1414
|
-
return organizationHelpers.isOrganizationOwner(context.user, organizationId);
|
|
1415
|
-
};
|
|
1416
|
-
context.checkOrganizationRight = async (resource, action, orgId = null) => {
|
|
1417
|
-
const organizationId = orgId || organizationHelpers.getOrganizationId(context);
|
|
1418
|
-
if (!organizationId || !context.user) return false;
|
|
1419
|
-
return organizationHelpers.hasOrganizationRight(context.user, organizationId, resource, action);
|
|
1420
|
-
};
|
|
1421
|
-
context.getOrganizationRights = async (orgId = null) => {
|
|
1422
|
-
const organizationId = orgId || organizationHelpers.getOrganizationId(context);
|
|
1423
|
-
if (!organizationId || !context.user) return null;
|
|
1424
|
-
return organizationHelpers.getUserOrganizationRights(context.user, organizationId);
|
|
1425
|
-
};
|
|
1426
|
-
};
|
|
1427
|
-
abacAccessControl.registerExtension("OrganizationHelpers", async (context) => {
|
|
1428
|
-
enhanceContext(context);
|
|
1429
|
-
return {
|
|
1430
|
-
allow: true,
|
|
1431
|
-
reason: "ORGANIZATION_HELPERS_ADDED"
|
|
1432
|
-
};
|
|
1433
|
-
});
|
|
1434
|
-
abacAccessControl.registerGlobalPolicy("OrganizationAccessPolicy", async (context) => {
|
|
1435
|
-
if (!context.checkOrganizationOwner) {
|
|
1436
|
-
enhanceContext(context);
|
|
1437
|
-
}
|
|
1438
|
-
const { user, resource, data, action, currentResource, req } = context;
|
|
1439
|
-
if (!resource || !action) {
|
|
1440
|
-
return {
|
|
1441
|
-
allow: false,
|
|
1442
|
-
force: false,
|
|
1443
|
-
reason: "MISSING_REQUIRED_PARAMETERS"
|
|
1444
|
-
};
|
|
1445
|
-
}
|
|
1446
|
-
const orgId = organizationHelpers.getOrganizationId(context);
|
|
1447
|
-
if (!orgId) {
|
|
1448
|
-
return {
|
|
1449
|
-
allow: true,
|
|
1450
|
-
force: false,
|
|
1451
|
-
reason: "NOT_ORGANIZATION_RESOURCE"
|
|
1452
|
-
};
|
|
1453
|
-
}
|
|
1454
|
-
if (user) {
|
|
1455
|
-
try {
|
|
1456
|
-
const isOrgOwner = await organizationHelpers.isOrganizationOwner(user, orgId);
|
|
1457
|
-
if (isOrgOwner) {
|
|
1458
|
-
return {
|
|
1459
|
-
allow: true,
|
|
1460
|
-
force: true,
|
|
1461
|
-
// Владелец организации получает принудительный доступ
|
|
1462
|
-
reason: "ORGANIZATION_OWNER_ACCESS"
|
|
1463
|
-
};
|
|
1464
|
-
}
|
|
1465
|
-
const hasAccess = await organizationHelpers.hasOrganizationRight(user, orgId, resource, action);
|
|
1466
|
-
if (hasAccess) {
|
|
1467
|
-
return {
|
|
1468
|
-
allow: true,
|
|
1469
|
-
force: false,
|
|
1470
|
-
// Доступ через департамент не является принудительным
|
|
1471
|
-
reason: "DEPARTMENT_MEMBER_ACCESS"
|
|
1472
|
-
};
|
|
1473
|
-
}
|
|
1474
|
-
} catch (error) {
|
|
1475
|
-
console.error("Error checking user access:", error);
|
|
1476
|
-
return {
|
|
1477
|
-
allow: false,
|
|
1478
|
-
force: false,
|
|
1479
|
-
reason: "ORGANIZATION_ACCESS_CHECK_ERROR"
|
|
1480
|
-
};
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
if (action === "read" && req && req.query) {
|
|
1484
|
-
try {
|
|
1485
|
-
const validationResult = publicAccessVerifier.verify(req.query, {
|
|
1486
|
-
only: ["status"]
|
|
1487
|
-
});
|
|
1488
|
-
req.query = validationResult.verifiedData;
|
|
1489
|
-
req.queryValidation = validationResult;
|
|
1490
|
-
if (currentResource && !publicAccessVerifier.verifyParam("status", currentResource.status)) {
|
|
1491
|
-
return {
|
|
1492
|
-
allow: false,
|
|
1493
|
-
force: false,
|
|
1494
|
-
// Принудительно запрещаем доступ к непубличным ресурсам
|
|
1495
|
-
reason: "INVALID_RESOURCE_STATUS_FOR_PUBLIC_ACCESS"
|
|
1496
|
-
};
|
|
1497
|
-
}
|
|
1498
|
-
if (validationResult.isValid) {
|
|
1499
|
-
return {
|
|
1500
|
-
allow: true,
|
|
1501
|
-
force: false,
|
|
1502
|
-
reason: "PUBLIC_ACCESS_ALLOWED"
|
|
1503
|
-
};
|
|
1504
|
-
} else {
|
|
1505
|
-
return {
|
|
1506
|
-
allow: false,
|
|
1507
|
-
force: false,
|
|
1508
|
-
// Принудительно запрещаем, если невалидные параметры
|
|
1509
|
-
reason: "INVALID_PUBLIC_ACCESS_PARAMETERS"
|
|
1510
|
-
};
|
|
1511
|
-
}
|
|
1512
|
-
} catch (error) {
|
|
1513
|
-
console.error("Error validating query:", error);
|
|
1514
|
-
return {
|
|
1515
|
-
allow: false,
|
|
1516
|
-
force: false,
|
|
1517
|
-
reason: "QUERY_VALIDATION_ERROR"
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
|
-
}
|
|
1521
|
-
if (action !== "read") {
|
|
1522
|
-
return {
|
|
1523
|
-
allow: false,
|
|
1524
|
-
force: false,
|
|
1525
|
-
reason: "ORGANIZATION_RESOURCE_OPERATION_FORBIDDEN"
|
|
1526
|
-
};
|
|
1527
|
-
}
|
|
1528
|
-
return {
|
|
1529
|
-
allow: false,
|
|
1530
|
-
force: false,
|
|
1531
|
-
reason: "ORGANIZATION_RESOURCE_ACCESS_DENIED"
|
|
1532
|
-
};
|
|
1533
|
-
});
|
|
1534
|
-
abacAccessControl.updatePublicAccessConfig = (newConfig) => {
|
|
1535
|
-
if (typeof newConfig !== "object" || newConfig === null) {
|
|
1536
|
-
throw new TypeError("Config must be an object");
|
|
1537
|
-
}
|
|
1538
|
-
publicAccessVerifier.updateConfig(newConfig);
|
|
1539
|
-
};
|
|
1540
|
-
abacAccessControl.getPublicAccessConfig = () => {
|
|
1541
|
-
return publicAccessVerifier.getConfig();
|
|
1542
|
-
};
|
|
1543
|
-
abacAccessControl.publicAccessVerifier = publicAccessVerifier;
|
|
1544
|
-
abacAccessControl.organizationHelpers = organizationHelpers;
|
|
1545
|
-
return abacAccessControl;
|
|
1546
|
-
});
|
|
1547
|
-
const { getInstance } = abac.ABAC;
|
|
1548
|
-
function initializeOrganization(app, db, origins, publicPath) {
|
|
1549
|
-
db.department = DepartmentModel(db);
|
|
1550
|
-
db.organization = OrganizationModel(db);
|
|
1551
|
-
db.membership = MembershipModel(db);
|
|
1552
|
-
db.invite = InviteModel(db);
|
|
1553
|
-
const abac2 = getInstance(db);
|
|
1554
|
-
initOrganizationPolicies(abac2, db);
|
|
1555
|
-
if (app) {
|
|
1556
|
-
departmentsRoutes(app, db);
|
|
1557
|
-
organizationsRoutes(app, db);
|
|
1558
|
-
membershipsRoutes(app, db);
|
|
1559
|
-
invitesRoutes(app, db);
|
|
1560
|
-
}
|
|
1561
|
-
}
|
|
1562
|
-
const models = {
|
|
1563
|
-
DepartmentModel,
|
|
1564
|
-
OrganizationModel,
|
|
1565
|
-
MembershipModel,
|
|
1566
|
-
InviteModel
|
|
1567
|
-
};
|
|
1568
|
-
const routes = {
|
|
1569
|
-
departmentsRoutes,
|
|
1570
|
-
organizationsRoutes,
|
|
1571
|
-
membershipsRoutes,
|
|
1572
|
-
invitesRoutes
|
|
1573
|
-
};
|
|
1574
|
-
const controllers = {
|
|
1575
|
-
DepartmentsController: controllerFactory$2,
|
|
1576
|
-
OrganizationsController: controllerFactory,
|
|
1577
|
-
MembershipsController: controllerFactory$1,
|
|
1578
|
-
InvitesController: сontrollerFactory
|
|
1579
|
-
};
|
|
1580
|
-
const organizations_server = {
|
|
1581
|
-
initialize: initializeOrganization,
|
|
1582
|
-
models,
|
|
1583
|
-
routes,
|
|
1584
|
-
controllers
|
|
1585
|
-
};
|
|
1586
|
-
exports.controllers = controllers;
|
|
1587
|
-
exports.default = organizations_server;
|
|
1588
|
-
exports.initialize = initializeOrganization;
|
|
1589
|
-
exports.models = models;
|
|
1590
|
-
exports.routes = routes;
|