@ozdao/martyrs 0.2.551 → 0.2.553
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/builder.js +86 -4
- package/dist/{main-BkG7nL3U.js → main-Bywjlw2D.js} +1891 -1861
- package/dist/martyrs/src/components/Button/Button.vue2.js +1 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js +4 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.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.vue.js +1 -1
- 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/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- 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/UploadImage/{UploadImage.vue2.js → UploadImage.vue.js} +3 -3
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -0
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +4 -3
- 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/Profile.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +12 -10
- 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 +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/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 +1 -1
- 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/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 +10 -9
- 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 +10 -9
- 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 +7 -6
- 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/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 +51 -5
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- 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/inventory/components/pages/InventoryEdit.vue.js +6 -5
- 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/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 +4 -3
- 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/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- 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 +7 -6
- 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 +7 -6
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +7 -6
- 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 +1 -1
- 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/Playlist.vue.js +5 -4
- 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 +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.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/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/FormSelectCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +20 -18
- 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 +36 -35
- 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 +3 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +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/FormDelivery.vue.js +6 -5
- 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 +2 -34
- 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/forms/AddExistingMembersForm.vue.js +5 -4
- 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 +8 -7
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +2 -33
- 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 +8 -31
- 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 +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- 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/products/components/blocks/CardProduct.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/{THC.vue2.js → THC.vue.js} +2 -2
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.js.map +1 -0
- 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 +7 -6
- 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 +1 -1
- 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 +3 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +9 -8
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +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/ProductsPopular.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -7
- 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 +1 -1
- 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/spots/components/layouts/Spots.vue.js +8 -7
- 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 +16 -15
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
- 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.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 +78 -8
- package/src/modules/gallery/store/gallery.js +2 -2
- package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
- 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.vue2.cjs +0 -158
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.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.vue.cjs +0 -72
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs +0 -95
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs.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.vue.cjs +0 -94
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue.cjs.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.vue2.cjs +0 -61
- package/dist/martyrs/src/components/Loader/Loader.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.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.vue2.cjs +0 -73
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.cjs.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.vue2.cjs +0 -74
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.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.vue2.cjs +0 -385
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.cjs.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 -118
- 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 -33
- 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.vue2.cjs +0 -89
- package/dist/martyrs/src/modules/products/components/elements/THC.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/THC.vue2.js.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
package/dist/music.server.cjs
DELETED
|
@@ -1,2114 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const core_abac = require("./core.abac-DqDvtkHR.cjs");
|
|
4
|
-
const core_logger = require("./core.logger-BuW7JHMY.cjs");
|
|
5
|
-
const crud = require("./crud-CQ3ICbm7.cjs");
|
|
6
|
-
const abac = require("./abac-gNSxNkX1.cjs");
|
|
7
|
-
const core_verifier = require("./core.verifier-Bi-XLEi9.cjs");
|
|
8
|
-
const fs$1 = require("fs");
|
|
9
|
-
const path$1 = require("path");
|
|
10
|
-
const common_schema = require("./common.schema-BtXLULba.cjs");
|
|
11
|
-
const engagement_schema = require("./engagement.schema-DHw4iY_W.cjs");
|
|
12
|
-
const metadata_schema = require("./metadata.schema-BGykn-_r.cjs");
|
|
13
|
-
const ownership_schema = require("./ownership.schema-CRYdbemm.cjs");
|
|
14
|
-
const socials_schema = require("./socials.schema-CqEHax2w.cjs");
|
|
15
|
-
function tracksVerifierFactory(db) {
|
|
16
|
-
const createVerifier = new core_verifier.Verifier({
|
|
17
|
-
title: {
|
|
18
|
-
rule: "required",
|
|
19
|
-
validator: core_verifier.Validator.schema().string().required("Track title is required").min(1, "Title cannot be empty").max(200, "Title must not exceed 200 characters")
|
|
20
|
-
},
|
|
21
|
-
artist: {
|
|
22
|
-
rule: "required",
|
|
23
|
-
validator: core_verifier.Validator.schema().string().required("Artist is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
24
|
-
},
|
|
25
|
-
album: {
|
|
26
|
-
rule: "optional",
|
|
27
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid album ID format")
|
|
28
|
-
},
|
|
29
|
-
fileUrl: {
|
|
30
|
-
rule: "required",
|
|
31
|
-
validator: core_verifier.Validator.schema().string().required("File URL is required").pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
32
|
-
},
|
|
33
|
-
coverUrl: {
|
|
34
|
-
rule: "optional",
|
|
35
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
36
|
-
},
|
|
37
|
-
duration: {
|
|
38
|
-
rule: "optional",
|
|
39
|
-
default: 0,
|
|
40
|
-
validator: core_verifier.Validator.schema().number().min(0, "Duration cannot be negative").max(3600, "Duration cannot exceed 1 hour")
|
|
41
|
-
},
|
|
42
|
-
genre: {
|
|
43
|
-
rule: "optional",
|
|
44
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
45
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
46
|
-
)
|
|
47
|
-
},
|
|
48
|
-
releaseDate: {
|
|
49
|
-
rule: "optional",
|
|
50
|
-
validator: core_verifier.Validator.schema().date()
|
|
51
|
-
},
|
|
52
|
-
isExplicit: {
|
|
53
|
-
rule: "optional",
|
|
54
|
-
default: false,
|
|
55
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
56
|
-
},
|
|
57
|
-
lyrics: {
|
|
58
|
-
rule: "optional",
|
|
59
|
-
validator: core_verifier.Validator.schema().string().max(1e4, "Lyrics too long")
|
|
60
|
-
},
|
|
61
|
-
isPublic: {
|
|
62
|
-
rule: "optional",
|
|
63
|
-
default: true,
|
|
64
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
65
|
-
},
|
|
66
|
-
owner: {
|
|
67
|
-
rule: "required",
|
|
68
|
-
validator: core_verifier.Validator.schema().object({
|
|
69
|
-
type: core_verifier.Validator.schema().string().oneOf(["user", "organization"]),
|
|
70
|
-
target: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
|
|
71
|
-
})
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
const updateVerifier = new core_verifier.Verifier({
|
|
75
|
-
_id: {
|
|
76
|
-
rule: "required",
|
|
77
|
-
validator: core_verifier.Validator.schema().string().required("Track ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid track ID format")
|
|
78
|
-
},
|
|
79
|
-
title: {
|
|
80
|
-
rule: "optional",
|
|
81
|
-
validator: core_verifier.Validator.schema().string().min(1, "Title cannot be empty").max(200, "Title must not exceed 200 characters")
|
|
82
|
-
},
|
|
83
|
-
artist: {
|
|
84
|
-
rule: "optional",
|
|
85
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
86
|
-
},
|
|
87
|
-
album: {
|
|
88
|
-
rule: "optional",
|
|
89
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid album ID format")
|
|
90
|
-
},
|
|
91
|
-
fileUrl: {
|
|
92
|
-
rule: "optional",
|
|
93
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
94
|
-
},
|
|
95
|
-
coverUrl: {
|
|
96
|
-
rule: "optional",
|
|
97
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
98
|
-
},
|
|
99
|
-
// duration: {
|
|
100
|
-
// rule: 'optional',
|
|
101
|
-
// validator: Validator.schema()
|
|
102
|
-
// .number()
|
|
103
|
-
// .min(0, 'Duration cannot be negative')
|
|
104
|
-
// .max(3600, 'Duration cannot exceed 1 hour')
|
|
105
|
-
// },
|
|
106
|
-
genre: {
|
|
107
|
-
rule: "optional",
|
|
108
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
109
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
110
|
-
)
|
|
111
|
-
},
|
|
112
|
-
releaseDate: {
|
|
113
|
-
rule: "optional",
|
|
114
|
-
validator: core_verifier.Validator.schema().date()
|
|
115
|
-
},
|
|
116
|
-
isExplicit: {
|
|
117
|
-
rule: "optional",
|
|
118
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
119
|
-
},
|
|
120
|
-
lyrics: {
|
|
121
|
-
rule: "optional",
|
|
122
|
-
validator: core_verifier.Validator.schema().string().max(1e4, "Lyrics too long")
|
|
123
|
-
},
|
|
124
|
-
isPublic: {
|
|
125
|
-
rule: "optional",
|
|
126
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
127
|
-
},
|
|
128
|
-
status: {
|
|
129
|
-
rule: "optional",
|
|
130
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"], "Invalid status")
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
const readVerifier = new core_verifier.Verifier({
|
|
134
|
-
_id: {
|
|
135
|
-
rule: "optional",
|
|
136
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid track ID format")
|
|
137
|
-
},
|
|
138
|
-
artist: {
|
|
139
|
-
rule: "optional",
|
|
140
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
141
|
-
},
|
|
142
|
-
album: {
|
|
143
|
-
rule: "optional",
|
|
144
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid album ID format")
|
|
145
|
-
},
|
|
146
|
-
genre: {
|
|
147
|
-
rule: "optional",
|
|
148
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
149
|
-
},
|
|
150
|
-
isPublic: {
|
|
151
|
-
rule: "optional",
|
|
152
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
153
|
-
},
|
|
154
|
-
status: {
|
|
155
|
-
rule: "optional",
|
|
156
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"])
|
|
157
|
-
},
|
|
158
|
-
skip: {
|
|
159
|
-
rule: "optional",
|
|
160
|
-
default: 0,
|
|
161
|
-
validator: core_verifier.Validator.schema().integer().min(0)
|
|
162
|
-
},
|
|
163
|
-
limit: {
|
|
164
|
-
rule: "optional",
|
|
165
|
-
default: 20,
|
|
166
|
-
validator: core_verifier.Validator.schema().integer().min(1).max(100)
|
|
167
|
-
},
|
|
168
|
-
sortParam: {
|
|
169
|
-
rule: "optional",
|
|
170
|
-
validator: core_verifier.Validator.schema().string().oneOf(["title", "playCount", "releaseDate", "createdAt", "updatedAt"])
|
|
171
|
-
},
|
|
172
|
-
sortOrder: {
|
|
173
|
-
rule: "optional",
|
|
174
|
-
default: "desc",
|
|
175
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"])
|
|
176
|
-
}
|
|
177
|
-
});
|
|
178
|
-
const deleteVerifier = new core_verifier.Verifier({
|
|
179
|
-
_id: {
|
|
180
|
-
rule: "required",
|
|
181
|
-
validator: core_verifier.Validator.schema().string().required("Track ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid track ID format")
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
return {
|
|
185
|
-
createVerifier,
|
|
186
|
-
readVerifier,
|
|
187
|
-
updateVerifier,
|
|
188
|
-
deleteVerifier
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
const { getInstance: getInstance$4 } = abac.ABAC;
|
|
192
|
-
function setupTracksRoutes(app, db) {
|
|
193
|
-
const abac2 = getInstance$4(db);
|
|
194
|
-
const verifier = tracksVerifierFactory();
|
|
195
|
-
const tracksCRUD = new crud.CRUD({
|
|
196
|
-
app,
|
|
197
|
-
db,
|
|
198
|
-
model: db.track,
|
|
199
|
-
modelName: "track",
|
|
200
|
-
basePath: "/api/tracks",
|
|
201
|
-
auth: { read: false },
|
|
202
|
-
verifiers: {
|
|
203
|
-
create: verifier.createVerifier,
|
|
204
|
-
read: verifier.readVerifier,
|
|
205
|
-
update: verifier.updateVerifier,
|
|
206
|
-
delete: verifier.deleteVerifier
|
|
207
|
-
},
|
|
208
|
-
abac: abac2,
|
|
209
|
-
policies: {
|
|
210
|
-
read: { enabled: false }
|
|
211
|
-
},
|
|
212
|
-
cache: {
|
|
213
|
-
enabled: true,
|
|
214
|
-
ttl: 300,
|
|
215
|
-
tags: ["tracks", "music"]
|
|
216
|
-
},
|
|
217
|
-
events: {
|
|
218
|
-
enabled: true,
|
|
219
|
-
logReads: false
|
|
220
|
-
}
|
|
221
|
-
});
|
|
222
|
-
tracksCRUD.policies.disableForAction("get-by-url");
|
|
223
|
-
tracksCRUD.policies.disableForAction("recent");
|
|
224
|
-
tracksCRUD.policies.disableForAction("popular");
|
|
225
|
-
tracksCRUD.policies.disableForAction("by-genre");
|
|
226
|
-
tracksCRUD.addAction("get-by-url", {
|
|
227
|
-
method: "get",
|
|
228
|
-
path: "/url/:url",
|
|
229
|
-
auth: false,
|
|
230
|
-
abac: { enabled: false },
|
|
231
|
-
handler: async (req, res) => {
|
|
232
|
-
try {
|
|
233
|
-
const track = await db.track.findOne({ url: req.params.url }).populate("artist", "name url photoUrl isVerified").populate("album", "title url coverArt").populate("genre", "name url");
|
|
234
|
-
if (!track) {
|
|
235
|
-
return res.status(404).json({ error: "Track not found" });
|
|
236
|
-
}
|
|
237
|
-
const accessResult = await abac2.checkAccess({
|
|
238
|
-
user: req.userId,
|
|
239
|
-
resource: "tracks",
|
|
240
|
-
action: "read",
|
|
241
|
-
currentResource: track
|
|
242
|
-
});
|
|
243
|
-
if (!accessResult.allowed && !track.isPublic) {
|
|
244
|
-
return res.status(403).json({
|
|
245
|
-
errorCode: accessResult.reason,
|
|
246
|
-
message: "Access Denied"
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
res.json(track);
|
|
250
|
-
} catch (error) {
|
|
251
|
-
console.error(error);
|
|
252
|
-
res.status(500).json({ error: error.message });
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
tracksCRUD.addAction("recent", {
|
|
257
|
-
method: "get",
|
|
258
|
-
path: "/recent",
|
|
259
|
-
auth: false,
|
|
260
|
-
abac: { enabled: false },
|
|
261
|
-
handler: async (req, res) => {
|
|
262
|
-
try {
|
|
263
|
-
const limit = parseInt(req.query.limit) || 10;
|
|
264
|
-
const recentTracks = await db.track.find({
|
|
265
|
-
status: "published",
|
|
266
|
-
isPublic: true
|
|
267
|
-
}).populate("artist", "name url photoUrl isVerified").populate("album", "title url coverArt").sort({ createdAt: -1 }).limit(limit);
|
|
268
|
-
res.json(recentTracks);
|
|
269
|
-
} catch (error) {
|
|
270
|
-
console.error(error);
|
|
271
|
-
res.status(500).json({ error: error.message });
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
});
|
|
275
|
-
tracksCRUD.addAction("popular", {
|
|
276
|
-
method: "get",
|
|
277
|
-
path: "/popular",
|
|
278
|
-
auth: false,
|
|
279
|
-
abac: { enabled: false },
|
|
280
|
-
handler: async (req, res) => {
|
|
281
|
-
try {
|
|
282
|
-
const limit = parseInt(req.query.limit) || 10;
|
|
283
|
-
const popularTracks = await db.track.find({
|
|
284
|
-
status: "published",
|
|
285
|
-
isPublic: true
|
|
286
|
-
}).populate("artist", "name url photoUrl isVerified").populate("album", "title url coverArt").sort({ playCount: -1 }).limit(limit);
|
|
287
|
-
res.json(popularTracks);
|
|
288
|
-
} catch (error) {
|
|
289
|
-
console.error(error);
|
|
290
|
-
res.status(500).json({ error: error.message });
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
});
|
|
294
|
-
tracksCRUD.addAction("by-genre", {
|
|
295
|
-
method: "get",
|
|
296
|
-
path: "/genre/:genreId",
|
|
297
|
-
auth: false,
|
|
298
|
-
abac: { enabled: false },
|
|
299
|
-
handler: async (req, res) => {
|
|
300
|
-
try {
|
|
301
|
-
const tracks = await db.track.find({
|
|
302
|
-
genre: req.params.genreId,
|
|
303
|
-
status: "published",
|
|
304
|
-
isPublic: true
|
|
305
|
-
}).populate("artist", "name url photoUrl isVerified").populate("album", "title url coverArt").sort({ releaseDate: -1 });
|
|
306
|
-
res.json(tracks);
|
|
307
|
-
} catch (error) {
|
|
308
|
-
console.error(error);
|
|
309
|
-
res.status(500).json({ error: error.message });
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
return tracksCRUD;
|
|
314
|
-
}
|
|
315
|
-
function artistsVerifierFactory(db) {
|
|
316
|
-
const createVerifier = new core_verifier.Verifier({
|
|
317
|
-
name: {
|
|
318
|
-
rule: "required",
|
|
319
|
-
validator: core_verifier.Validator.schema().string().required("Artist name is required").min(1, "Name cannot be empty").max(100, "Name must not exceed 100 characters")
|
|
320
|
-
},
|
|
321
|
-
bio: {
|
|
322
|
-
rule: "optional",
|
|
323
|
-
validator: core_verifier.Validator.schema().string().max(2e3, "Bio must not exceed 2000 characters")
|
|
324
|
-
},
|
|
325
|
-
photoUrl: {
|
|
326
|
-
rule: "optional",
|
|
327
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
328
|
-
},
|
|
329
|
-
coverUrl: {
|
|
330
|
-
rule: "optional",
|
|
331
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
332
|
-
},
|
|
333
|
-
genre: {
|
|
334
|
-
rule: "optional",
|
|
335
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
336
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
337
|
-
)
|
|
338
|
-
},
|
|
339
|
-
website: {
|
|
340
|
-
rule: "optional",
|
|
341
|
-
validator: core_verifier.Validator.schema().string().pattern(/^https?:\/\/.+/, "Invalid website URL format")
|
|
342
|
-
},
|
|
343
|
-
location: {
|
|
344
|
-
rule: "optional",
|
|
345
|
-
validator: core_verifier.Validator.schema().string().max(100, "Location must not exceed 100 characters")
|
|
346
|
-
},
|
|
347
|
-
owner: {
|
|
348
|
-
rule: "required",
|
|
349
|
-
validator: core_verifier.Validator.schema().object({
|
|
350
|
-
type: core_verifier.Validator.schema().string().oneOf(["user", "organization"]),
|
|
351
|
-
target: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
|
|
352
|
-
})
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
const updateVerifier = new core_verifier.Verifier({
|
|
356
|
-
_id: {
|
|
357
|
-
rule: "required",
|
|
358
|
-
validator: core_verifier.Validator.schema().string().required("Artist ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
359
|
-
},
|
|
360
|
-
name: {
|
|
361
|
-
rule: "optional",
|
|
362
|
-
validator: core_verifier.Validator.schema().string().min(1, "Name cannot be empty").max(100, "Name must not exceed 100 characters")
|
|
363
|
-
},
|
|
364
|
-
bio: {
|
|
365
|
-
rule: "optional",
|
|
366
|
-
validator: core_verifier.Validator.schema().string().max(2e3, "Bio must not exceed 2000 characters")
|
|
367
|
-
},
|
|
368
|
-
photoUrl: {
|
|
369
|
-
rule: "optional",
|
|
370
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
371
|
-
},
|
|
372
|
-
coverUrl: {
|
|
373
|
-
rule: "optional",
|
|
374
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
375
|
-
},
|
|
376
|
-
genre: {
|
|
377
|
-
rule: "optional",
|
|
378
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
379
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
380
|
-
)
|
|
381
|
-
},
|
|
382
|
-
website: {
|
|
383
|
-
rule: "optional",
|
|
384
|
-
validator: core_verifier.Validator.schema().string().pattern(/^https?:\/\/.+/, "Invalid website URL format")
|
|
385
|
-
},
|
|
386
|
-
location: {
|
|
387
|
-
rule: "optional",
|
|
388
|
-
validator: core_verifier.Validator.schema().string().max(100, "Location must not exceed 100 characters")
|
|
389
|
-
},
|
|
390
|
-
isVerified: {
|
|
391
|
-
rule: "optional",
|
|
392
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
393
|
-
},
|
|
394
|
-
status: {
|
|
395
|
-
rule: "optional",
|
|
396
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"], "Invalid status")
|
|
397
|
-
}
|
|
398
|
-
});
|
|
399
|
-
const readVerifier = new core_verifier.Verifier({
|
|
400
|
-
_id: {
|
|
401
|
-
rule: "optional",
|
|
402
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
403
|
-
},
|
|
404
|
-
genre: {
|
|
405
|
-
rule: "optional",
|
|
406
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
407
|
-
},
|
|
408
|
-
isVerified: {
|
|
409
|
-
rule: "optional",
|
|
410
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
411
|
-
},
|
|
412
|
-
status: {
|
|
413
|
-
rule: "optional",
|
|
414
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"])
|
|
415
|
-
},
|
|
416
|
-
location: {
|
|
417
|
-
rule: "optional",
|
|
418
|
-
validator: core_verifier.Validator.schema().string()
|
|
419
|
-
},
|
|
420
|
-
skip: {
|
|
421
|
-
rule: "optional",
|
|
422
|
-
default: 0,
|
|
423
|
-
validator: core_verifier.Validator.schema().integer().min(0)
|
|
424
|
-
},
|
|
425
|
-
limit: {
|
|
426
|
-
rule: "optional",
|
|
427
|
-
default: 20,
|
|
428
|
-
validator: core_verifier.Validator.schema().integer().min(1).max(100)
|
|
429
|
-
},
|
|
430
|
-
sortParam: {
|
|
431
|
-
rule: "optional",
|
|
432
|
-
validator: core_verifier.Validator.schema().string().oneOf(["name", "popularity", "createdAt", "updatedAt"])
|
|
433
|
-
},
|
|
434
|
-
sortOrder: {
|
|
435
|
-
rule: "optional",
|
|
436
|
-
default: "desc",
|
|
437
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"])
|
|
438
|
-
}
|
|
439
|
-
});
|
|
440
|
-
const deleteVerifier = new core_verifier.Verifier({
|
|
441
|
-
_id: {
|
|
442
|
-
rule: "required",
|
|
443
|
-
validator: core_verifier.Validator.schema().string().required("Artist ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
444
|
-
}
|
|
445
|
-
});
|
|
446
|
-
return {
|
|
447
|
-
createVerifier,
|
|
448
|
-
readVerifier,
|
|
449
|
-
updateVerifier,
|
|
450
|
-
deleteVerifier
|
|
451
|
-
};
|
|
452
|
-
}
|
|
453
|
-
const { getInstance: getInstance$3 } = abac.ABAC;
|
|
454
|
-
function setupArtistsRoutes(app, db) {
|
|
455
|
-
const abac2 = getInstance$3(db);
|
|
456
|
-
const verifier = artistsVerifierFactory();
|
|
457
|
-
const artistsCRUD = new crud.CRUD({
|
|
458
|
-
app,
|
|
459
|
-
db,
|
|
460
|
-
model: db.artist,
|
|
461
|
-
modelName: "artist",
|
|
462
|
-
basePath: "/api/artists",
|
|
463
|
-
auth: { read: false },
|
|
464
|
-
verifiers: {
|
|
465
|
-
create: verifier.createVerifier,
|
|
466
|
-
read: verifier.readVerifier,
|
|
467
|
-
update: verifier.updateVerifier,
|
|
468
|
-
delete: verifier.deleteVerifier
|
|
469
|
-
},
|
|
470
|
-
abac: abac2,
|
|
471
|
-
policies: {
|
|
472
|
-
read: { enabled: false }
|
|
473
|
-
},
|
|
474
|
-
cache: {
|
|
475
|
-
enabled: true,
|
|
476
|
-
ttl: 300,
|
|
477
|
-
tags: ["artists", "music"]
|
|
478
|
-
},
|
|
479
|
-
events: {
|
|
480
|
-
enabled: true,
|
|
481
|
-
logReads: false
|
|
482
|
-
}
|
|
483
|
-
});
|
|
484
|
-
artistsCRUD.addAction("get-by-url", {
|
|
485
|
-
method: "get",
|
|
486
|
-
path: "/url/:url",
|
|
487
|
-
auth: false,
|
|
488
|
-
abac: { enabled: false },
|
|
489
|
-
handler: async (req, res) => {
|
|
490
|
-
try {
|
|
491
|
-
const artist = await db.artist.findOne({ url: req.params.url });
|
|
492
|
-
if (!artist) {
|
|
493
|
-
return res.status(404).json({ error: "Artist not found" });
|
|
494
|
-
}
|
|
495
|
-
res.json(artist);
|
|
496
|
-
} catch (error) {
|
|
497
|
-
console.error(error);
|
|
498
|
-
res.status(500).json({ error: error.message });
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
});
|
|
502
|
-
artistsCRUD.addAction("discography", {
|
|
503
|
-
method: "get",
|
|
504
|
-
path: "/:artistId/discography",
|
|
505
|
-
auth: false,
|
|
506
|
-
abac: { enabled: false },
|
|
507
|
-
handler: async (req, res) => {
|
|
508
|
-
try {
|
|
509
|
-
const { artistId } = req.params;
|
|
510
|
-
const albums = await db.album.find({ artists: artistId }).populate("artists", "name").sort({ releaseDate: -1 });
|
|
511
|
-
const tracks = await db.track.find({
|
|
512
|
-
artist: artistId,
|
|
513
|
-
status: "published",
|
|
514
|
-
isPublic: true
|
|
515
|
-
}).populate("album", "title url coverArt").populate("genre", "name").sort({ playCount: -1 }).limit(10);
|
|
516
|
-
res.json({
|
|
517
|
-
albums,
|
|
518
|
-
tracks,
|
|
519
|
-
singles: tracks.filter((track) => !track.album),
|
|
520
|
-
// треки без альбома считаем синглами
|
|
521
|
-
artist: artistId
|
|
522
|
-
});
|
|
523
|
-
} catch (error) {
|
|
524
|
-
console.error(error);
|
|
525
|
-
res.status(500).json({ error: error.message });
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
});
|
|
529
|
-
artistsCRUD.addAction("verify-artist", {
|
|
530
|
-
method: "put",
|
|
531
|
-
path: "/:artistId/verify",
|
|
532
|
-
auth: true,
|
|
533
|
-
abac: {
|
|
534
|
-
resource: "artists",
|
|
535
|
-
action: "verify",
|
|
536
|
-
strict: true
|
|
537
|
-
},
|
|
538
|
-
handler: async (req, res) => {
|
|
539
|
-
try {
|
|
540
|
-
const { artistId } = req.params;
|
|
541
|
-
const artist = await db.artist.findByIdAndUpdate(
|
|
542
|
-
artistId,
|
|
543
|
-
{ isVerified: true },
|
|
544
|
-
{ new: true }
|
|
545
|
-
);
|
|
546
|
-
if (!artist) {
|
|
547
|
-
return res.status(404).json({ error: "Artist not found" });
|
|
548
|
-
}
|
|
549
|
-
res.json({
|
|
550
|
-
message: "Artist verified successfully",
|
|
551
|
-
artist
|
|
552
|
-
});
|
|
553
|
-
} catch (error) {
|
|
554
|
-
console.error(error);
|
|
555
|
-
res.status(500).json({ error: error.message });
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
});
|
|
559
|
-
artistsCRUD.addAction("related-artists", {
|
|
560
|
-
method: "get",
|
|
561
|
-
path: "/:artistId/related",
|
|
562
|
-
auth: false,
|
|
563
|
-
abac: { enabled: false },
|
|
564
|
-
handler: async (req, res) => {
|
|
565
|
-
try {
|
|
566
|
-
const { artistId } = req.params;
|
|
567
|
-
const limit = parseInt(req.query.limit) || 10;
|
|
568
|
-
const artist = await db.artist.findById(artistId);
|
|
569
|
-
if (!artist) {
|
|
570
|
-
return res.status(404).json({ error: "Artist not found" });
|
|
571
|
-
}
|
|
572
|
-
const relatedArtists = await db.artist.find({
|
|
573
|
-
_id: { $ne: artistId },
|
|
574
|
-
// исключаем самого артиста
|
|
575
|
-
genre: { $in: artist.genre },
|
|
576
|
-
// общие жанры
|
|
577
|
-
status: "published"
|
|
578
|
-
}).limit(limit).sort({ popularity: -1 });
|
|
579
|
-
res.json(relatedArtists);
|
|
580
|
-
} catch (error) {
|
|
581
|
-
console.error(error);
|
|
582
|
-
res.status(500).json({ error: error.message });
|
|
583
|
-
}
|
|
584
|
-
}
|
|
585
|
-
});
|
|
586
|
-
return artistsCRUD;
|
|
587
|
-
}
|
|
588
|
-
function albumsVerifierFactory(db) {
|
|
589
|
-
const createVerifier = new core_verifier.Verifier({
|
|
590
|
-
title: {
|
|
591
|
-
rule: "required",
|
|
592
|
-
validator: core_verifier.Validator.schema().string().required("Album title is required").min(1, "Title cannot be empty").max(200, "Title must not exceed 200 characters")
|
|
593
|
-
},
|
|
594
|
-
description: {
|
|
595
|
-
rule: "optional",
|
|
596
|
-
validator: core_verifier.Validator.schema().string().max(1e3, "Description must not exceed 1000 characters")
|
|
597
|
-
},
|
|
598
|
-
releaseDate: {
|
|
599
|
-
rule: "required",
|
|
600
|
-
validator: core_verifier.Validator.schema().date().required("Release date is required")
|
|
601
|
-
},
|
|
602
|
-
coverArt: {
|
|
603
|
-
rule: "optional",
|
|
604
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
605
|
-
},
|
|
606
|
-
artists: {
|
|
607
|
-
rule: "required",
|
|
608
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
609
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
610
|
-
).min(1, "At least one artist is required")
|
|
611
|
-
},
|
|
612
|
-
type: {
|
|
613
|
-
rule: "optional",
|
|
614
|
-
default: "album",
|
|
615
|
-
validator: core_verifier.Validator.schema().string().oneOf(["album", "single", "EP", "compilation"], "Invalid album type")
|
|
616
|
-
},
|
|
617
|
-
genres: {
|
|
618
|
-
rule: "optional",
|
|
619
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
620
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
621
|
-
)
|
|
622
|
-
},
|
|
623
|
-
totalTracks: {
|
|
624
|
-
rule: "optional",
|
|
625
|
-
default: 0,
|
|
626
|
-
validator: core_verifier.Validator.schema().integer().min(0, "Total tracks cannot be negative").max(100, "Too many tracks")
|
|
627
|
-
},
|
|
628
|
-
owner: {
|
|
629
|
-
rule: "required",
|
|
630
|
-
validator: core_verifier.Validator.schema().object({
|
|
631
|
-
type: core_verifier.Validator.schema().string().oneOf(["user", "organization"]),
|
|
632
|
-
target: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
|
|
633
|
-
})
|
|
634
|
-
}
|
|
635
|
-
});
|
|
636
|
-
const updateVerifier = new core_verifier.Verifier({
|
|
637
|
-
_id: {
|
|
638
|
-
rule: "required",
|
|
639
|
-
validator: core_verifier.Validator.schema().string().required("Album ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid album ID format")
|
|
640
|
-
},
|
|
641
|
-
title: {
|
|
642
|
-
rule: "optional",
|
|
643
|
-
validator: core_verifier.Validator.schema().string().min(1, "Title cannot be empty").max(200, "Title must not exceed 200 characters")
|
|
644
|
-
},
|
|
645
|
-
description: {
|
|
646
|
-
rule: "optional",
|
|
647
|
-
validator: core_verifier.Validator.schema().string().max(1e3, "Description must not exceed 1000 characters")
|
|
648
|
-
},
|
|
649
|
-
releaseDate: {
|
|
650
|
-
rule: "optional",
|
|
651
|
-
validator: core_verifier.Validator.schema().date()
|
|
652
|
-
},
|
|
653
|
-
coverArt: {
|
|
654
|
-
rule: "optional",
|
|
655
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
656
|
-
},
|
|
657
|
-
artists: {
|
|
658
|
-
rule: "optional",
|
|
659
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
660
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
661
|
-
).min(1, "At least one artist is required")
|
|
662
|
-
},
|
|
663
|
-
type: {
|
|
664
|
-
rule: "optional",
|
|
665
|
-
validator: core_verifier.Validator.schema().string().oneOf(["album", "single", "EP", "compilation"], "Invalid album type")
|
|
666
|
-
},
|
|
667
|
-
genres: {
|
|
668
|
-
rule: "optional",
|
|
669
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
670
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
671
|
-
)
|
|
672
|
-
},
|
|
673
|
-
totalTracks: {
|
|
674
|
-
rule: "optional",
|
|
675
|
-
validator: core_verifier.Validator.schema().integer().min(0, "Total tracks cannot be negative").max(100, "Too many tracks")
|
|
676
|
-
},
|
|
677
|
-
status: {
|
|
678
|
-
rule: "optional",
|
|
679
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"], "Invalid status")
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
const readVerifier = new core_verifier.Verifier({
|
|
683
|
-
_id: {
|
|
684
|
-
rule: "optional",
|
|
685
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid album ID format")
|
|
686
|
-
},
|
|
687
|
-
artists: {
|
|
688
|
-
rule: "optional",
|
|
689
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid artist ID format")
|
|
690
|
-
},
|
|
691
|
-
type: {
|
|
692
|
-
rule: "optional",
|
|
693
|
-
validator: core_verifier.Validator.schema().string().oneOf(["album", "single", "EP", "compilation"])
|
|
694
|
-
},
|
|
695
|
-
genres: {
|
|
696
|
-
rule: "optional",
|
|
697
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
698
|
-
},
|
|
699
|
-
status: {
|
|
700
|
-
rule: "optional",
|
|
701
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"])
|
|
702
|
-
},
|
|
703
|
-
skip: {
|
|
704
|
-
rule: "optional",
|
|
705
|
-
default: 0,
|
|
706
|
-
validator: core_verifier.Validator.schema().integer().min(0)
|
|
707
|
-
},
|
|
708
|
-
limit: {
|
|
709
|
-
rule: "optional",
|
|
710
|
-
default: 20,
|
|
711
|
-
validator: core_verifier.Validator.schema().integer().min(1).max(100)
|
|
712
|
-
},
|
|
713
|
-
sortParam: {
|
|
714
|
-
rule: "optional",
|
|
715
|
-
validator: core_verifier.Validator.schema().string().oneOf(["title", "releaseDate", "totalTracks", "createdAt", "updatedAt"])
|
|
716
|
-
},
|
|
717
|
-
sortOrder: {
|
|
718
|
-
rule: "optional",
|
|
719
|
-
default: "desc",
|
|
720
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"])
|
|
721
|
-
}
|
|
722
|
-
});
|
|
723
|
-
const deleteVerifier = new core_verifier.Verifier({
|
|
724
|
-
_id: {
|
|
725
|
-
rule: "required",
|
|
726
|
-
validator: core_verifier.Validator.schema().string().required("Album ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid album ID format")
|
|
727
|
-
}
|
|
728
|
-
});
|
|
729
|
-
return {
|
|
730
|
-
createVerifier,
|
|
731
|
-
readVerifier,
|
|
732
|
-
updateVerifier,
|
|
733
|
-
deleteVerifier
|
|
734
|
-
};
|
|
735
|
-
}
|
|
736
|
-
const { getInstance: getInstance$2 } = abac.ABAC;
|
|
737
|
-
function setupAlbumsRoutes(app, db) {
|
|
738
|
-
const abac2 = getInstance$2(db);
|
|
739
|
-
const verifier = albumsVerifierFactory();
|
|
740
|
-
const albumsCRUD = new crud.CRUD({
|
|
741
|
-
app,
|
|
742
|
-
db,
|
|
743
|
-
model: db.album,
|
|
744
|
-
modelName: "album",
|
|
745
|
-
basePath: "/api/albums",
|
|
746
|
-
auth: { read: false },
|
|
747
|
-
verifiers: {
|
|
748
|
-
create: verifier.createVerifier,
|
|
749
|
-
read: verifier.readVerifier,
|
|
750
|
-
update: verifier.updateVerifier,
|
|
751
|
-
delete: verifier.deleteVerifier
|
|
752
|
-
},
|
|
753
|
-
abac: abac2,
|
|
754
|
-
policies: {
|
|
755
|
-
read: { enabled: false }
|
|
756
|
-
},
|
|
757
|
-
cache: {
|
|
758
|
-
enabled: true,
|
|
759
|
-
ttl: 300,
|
|
760
|
-
tags: ["albums", "music"]
|
|
761
|
-
},
|
|
762
|
-
events: {
|
|
763
|
-
enabled: true,
|
|
764
|
-
logReads: false
|
|
765
|
-
}
|
|
766
|
-
});
|
|
767
|
-
albumsCRUD.addAction("get-by-url", {
|
|
768
|
-
method: "get",
|
|
769
|
-
path: "/url/:url",
|
|
770
|
-
auth: false,
|
|
771
|
-
abac: { enabled: false },
|
|
772
|
-
handler: async (req, res) => {
|
|
773
|
-
try {
|
|
774
|
-
const album = await db.album.findOne({ url: req.params.url }).populate("artists", "name url photoUrl isVerified");
|
|
775
|
-
if (!album) {
|
|
776
|
-
return res.status(404).json({ error: "Album not found" });
|
|
777
|
-
}
|
|
778
|
-
const trackCount = await db.track.countDocuments({
|
|
779
|
-
album: album._id,
|
|
780
|
-
status: "published"
|
|
781
|
-
});
|
|
782
|
-
if (album.totalTracks !== trackCount) {
|
|
783
|
-
album.totalTracks = trackCount;
|
|
784
|
-
await album.save();
|
|
785
|
-
}
|
|
786
|
-
res.json(album);
|
|
787
|
-
} catch (error) {
|
|
788
|
-
console.error(error);
|
|
789
|
-
res.status(500).json({ error: error.message });
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
});
|
|
793
|
-
albumsCRUD.addAction("album-tracks", {
|
|
794
|
-
method: "get",
|
|
795
|
-
path: "/:albumId/tracks",
|
|
796
|
-
auth: false,
|
|
797
|
-
abac: { enabled: false },
|
|
798
|
-
handler: async (req, res) => {
|
|
799
|
-
try {
|
|
800
|
-
const { albumId } = req.params;
|
|
801
|
-
const tracks = await db.track.find({
|
|
802
|
-
album: albumId,
|
|
803
|
-
status: "published",
|
|
804
|
-
isPublic: true
|
|
805
|
-
}).populate("artist", "name url photoUrl isVerified").populate("album", "title url coverArt").populate("genre", "name url").sort({ trackNumber: 1, createdAt: 1 });
|
|
806
|
-
res.json(tracks);
|
|
807
|
-
} catch (error) {
|
|
808
|
-
console.error(error);
|
|
809
|
-
res.status(500).json({ error: error.message });
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
});
|
|
813
|
-
albumsCRUD.addAction("featured", {
|
|
814
|
-
method: "get",
|
|
815
|
-
path: "/featured",
|
|
816
|
-
auth: false,
|
|
817
|
-
abac: { enabled: false },
|
|
818
|
-
handler: async (req, res) => {
|
|
819
|
-
try {
|
|
820
|
-
const limit = parseInt(req.query.limit) || 10;
|
|
821
|
-
const featuredAlbums = await db.album.find({
|
|
822
|
-
status: "published",
|
|
823
|
-
releaseDate: {
|
|
824
|
-
$gte: new Date(Date.now() - 90 * 24 * 60 * 60 * 1e3)
|
|
825
|
-
// последние 90 дней
|
|
826
|
-
}
|
|
827
|
-
}).populate("artists", "name url photoUrl isVerified").sort({ createdAt: -1 }).limit(limit);
|
|
828
|
-
for (const album of featuredAlbums) {
|
|
829
|
-
const trackCount = await db.track.countDocuments({
|
|
830
|
-
album: album._id,
|
|
831
|
-
status: "published"
|
|
832
|
-
});
|
|
833
|
-
if (album.totalTracks !== trackCount) {
|
|
834
|
-
album.totalTracks = trackCount;
|
|
835
|
-
await album.save();
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
res.json(featuredAlbums);
|
|
839
|
-
} catch (error) {
|
|
840
|
-
console.error(error);
|
|
841
|
-
res.status(500).json({ error: error.message });
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
});
|
|
845
|
-
return albumsCRUD;
|
|
846
|
-
}
|
|
847
|
-
function playlistsVerifierFactory(db) {
|
|
848
|
-
const createVerifier = new core_verifier.Verifier({
|
|
849
|
-
title: {
|
|
850
|
-
rule: "required",
|
|
851
|
-
validator: core_verifier.Validator.schema().string().required("Playlist title is required").min(1, "Title cannot be empty").max(200, "Title must not exceed 200 characters")
|
|
852
|
-
},
|
|
853
|
-
description: {
|
|
854
|
-
rule: "optional",
|
|
855
|
-
validator: core_verifier.Validator.schema().string().max(1e3, "Description must not exceed 1000 characters")
|
|
856
|
-
},
|
|
857
|
-
coverUrl: {
|
|
858
|
-
rule: "optional",
|
|
859
|
-
validator: core_verifier.Validator.schema().string().pattern(/^\/(?!\/)/, 'Only relative URLs starting with "/" are allowed')
|
|
860
|
-
},
|
|
861
|
-
tracks: {
|
|
862
|
-
rule: "optional",
|
|
863
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
864
|
-
core_verifier.Validator.schema().object({
|
|
865
|
-
track: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid track ID format").required(),
|
|
866
|
-
addedAt: core_verifier.Validator.schema().date()
|
|
867
|
-
})
|
|
868
|
-
)
|
|
869
|
-
},
|
|
870
|
-
isPublic: {
|
|
871
|
-
rule: "optional",
|
|
872
|
-
default: true,
|
|
873
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
874
|
-
},
|
|
875
|
-
isCollaborative: {
|
|
876
|
-
rule: "optional",
|
|
877
|
-
default: false,
|
|
878
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
879
|
-
},
|
|
880
|
-
collaborators: {
|
|
881
|
-
rule: "optional",
|
|
882
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
883
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid collaborator ID format")
|
|
884
|
-
)
|
|
885
|
-
},
|
|
886
|
-
owner: {
|
|
887
|
-
rule: "required",
|
|
888
|
-
validator: core_verifier.Validator.schema().object({
|
|
889
|
-
type: core_verifier.Validator.schema().string().oneOf(["user", "organization"]),
|
|
890
|
-
target: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
|
|
891
|
-
})
|
|
892
|
-
}
|
|
893
|
-
});
|
|
894
|
-
const updateVerifier = new core_verifier.Verifier({
|
|
895
|
-
_id: {
|
|
896
|
-
rule: "required",
|
|
897
|
-
validator: core_verifier.Validator.schema().string().required("Playlist ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid playlist ID format")
|
|
898
|
-
},
|
|
899
|
-
title: {
|
|
900
|
-
rule: "optional",
|
|
901
|
-
validator: core_verifier.Validator.schema().string().min(1, "Title cannot be empty").max(200, "Title must not exceed 200 characters")
|
|
902
|
-
},
|
|
903
|
-
description: {
|
|
904
|
-
rule: "optional",
|
|
905
|
-
validator: core_verifier.Validator.schema().string().max(1e3, "Description must not exceed 1000 characters")
|
|
906
|
-
},
|
|
907
|
-
coverUrl: {
|
|
908
|
-
rule: "optional",
|
|
909
|
-
validator: core_verifier.Validator.schema().string().pattern(/^https?:\/\/.+/, "Invalid cover URL format")
|
|
910
|
-
},
|
|
911
|
-
tracks: {
|
|
912
|
-
rule: "optional",
|
|
913
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
914
|
-
core_verifier.Validator.schema().object({
|
|
915
|
-
track: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid track ID format").required(),
|
|
916
|
-
addedAt: core_verifier.Validator.schema().date()
|
|
917
|
-
})
|
|
918
|
-
)
|
|
919
|
-
},
|
|
920
|
-
isPublic: {
|
|
921
|
-
rule: "optional",
|
|
922
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
923
|
-
},
|
|
924
|
-
isCollaborative: {
|
|
925
|
-
rule: "optional",
|
|
926
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
927
|
-
},
|
|
928
|
-
collaborators: {
|
|
929
|
-
rule: "optional",
|
|
930
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
931
|
-
core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid collaborator ID format")
|
|
932
|
-
)
|
|
933
|
-
},
|
|
934
|
-
status: {
|
|
935
|
-
rule: "optional",
|
|
936
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"], "Invalid status")
|
|
937
|
-
}
|
|
938
|
-
});
|
|
939
|
-
const readVerifier = new core_verifier.Verifier({
|
|
940
|
-
_id: {
|
|
941
|
-
rule: "optional",
|
|
942
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid playlist ID format")
|
|
943
|
-
},
|
|
944
|
-
owner: {
|
|
945
|
-
rule: "optional",
|
|
946
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid owner ID format")
|
|
947
|
-
},
|
|
948
|
-
isPublic: {
|
|
949
|
-
rule: "optional",
|
|
950
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
951
|
-
},
|
|
952
|
-
isCollaborative: {
|
|
953
|
-
rule: "optional",
|
|
954
|
-
validator: core_verifier.Validator.schema().boolean()
|
|
955
|
-
},
|
|
956
|
-
status: {
|
|
957
|
-
rule: "optional",
|
|
958
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived", "featured"])
|
|
959
|
-
},
|
|
960
|
-
skip: {
|
|
961
|
-
rule: "optional",
|
|
962
|
-
default: 0,
|
|
963
|
-
validator: core_verifier.Validator.schema().integer().min(0)
|
|
964
|
-
},
|
|
965
|
-
limit: {
|
|
966
|
-
rule: "optional",
|
|
967
|
-
default: 20,
|
|
968
|
-
validator: core_verifier.Validator.schema().integer().min(1).max(100)
|
|
969
|
-
},
|
|
970
|
-
sortParam: {
|
|
971
|
-
rule: "optional",
|
|
972
|
-
validator: core_verifier.Validator.schema().string().oneOf(["title", "followers", "createdAt", "updatedAt"])
|
|
973
|
-
},
|
|
974
|
-
sortOrder: {
|
|
975
|
-
rule: "optional",
|
|
976
|
-
default: "desc",
|
|
977
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"])
|
|
978
|
-
}
|
|
979
|
-
});
|
|
980
|
-
const deleteVerifier = new core_verifier.Verifier({
|
|
981
|
-
_id: {
|
|
982
|
-
rule: "required",
|
|
983
|
-
validator: core_verifier.Validator.schema().string().required("Playlist ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid playlist ID format")
|
|
984
|
-
}
|
|
985
|
-
});
|
|
986
|
-
return {
|
|
987
|
-
createVerifier,
|
|
988
|
-
readVerifier,
|
|
989
|
-
updateVerifier,
|
|
990
|
-
deleteVerifier
|
|
991
|
-
};
|
|
992
|
-
}
|
|
993
|
-
const { getInstance: getInstance$1 } = abac.ABAC;
|
|
994
|
-
function setupPlaylistsRoutes(app, db) {
|
|
995
|
-
const abac2 = getInstance$1(db);
|
|
996
|
-
const verifier = playlistsVerifierFactory();
|
|
997
|
-
const playlistsCRUD = new crud.CRUD({
|
|
998
|
-
app,
|
|
999
|
-
db,
|
|
1000
|
-
model: db.playlist,
|
|
1001
|
-
modelName: "playlist",
|
|
1002
|
-
basePath: "/api/playlists",
|
|
1003
|
-
auth: { read: false },
|
|
1004
|
-
verifiers: {
|
|
1005
|
-
create: verifier.createVerifier,
|
|
1006
|
-
read: verifier.readVerifier,
|
|
1007
|
-
update: verifier.updateVerifier,
|
|
1008
|
-
delete: verifier.deleteVerifier
|
|
1009
|
-
},
|
|
1010
|
-
abac: abac2,
|
|
1011
|
-
policies: {
|
|
1012
|
-
read: { enabled: false }
|
|
1013
|
-
},
|
|
1014
|
-
cache: {
|
|
1015
|
-
enabled: true,
|
|
1016
|
-
ttl: 300,
|
|
1017
|
-
tags: ["playlists", "music"]
|
|
1018
|
-
},
|
|
1019
|
-
events: {
|
|
1020
|
-
enabled: true,
|
|
1021
|
-
logReads: false
|
|
1022
|
-
}
|
|
1023
|
-
});
|
|
1024
|
-
playlistsCRUD.addAction("get-by-url", {
|
|
1025
|
-
method: "get",
|
|
1026
|
-
path: "/url/:url",
|
|
1027
|
-
auth: false,
|
|
1028
|
-
abac: { enabled: false },
|
|
1029
|
-
handler: async (req, res) => {
|
|
1030
|
-
try {
|
|
1031
|
-
const playlist = await db.playlist.findOne({ url: req.params.url }).populate({
|
|
1032
|
-
path: "tracks.track",
|
|
1033
|
-
select: "-lyrics",
|
|
1034
|
-
populate: [
|
|
1035
|
-
{
|
|
1036
|
-
path: "artist",
|
|
1037
|
-
select: "name url photoUrl isVerified"
|
|
1038
|
-
},
|
|
1039
|
-
{
|
|
1040
|
-
path: "album",
|
|
1041
|
-
select: "title url coverArt"
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
path: "genre",
|
|
1045
|
-
select: "name url"
|
|
1046
|
-
}
|
|
1047
|
-
]
|
|
1048
|
-
});
|
|
1049
|
-
if (!playlist) {
|
|
1050
|
-
return res.status(404).json({ error: "Playlist not found" });
|
|
1051
|
-
}
|
|
1052
|
-
if (!playlist.isPublic && !req.userId) {
|
|
1053
|
-
return res.status(404).json({ error: "Playlist not found" });
|
|
1054
|
-
}
|
|
1055
|
-
if (!playlist.isPublic && req.userId) {
|
|
1056
|
-
const isOwner = playlist.owner.target.toString() === req.userId;
|
|
1057
|
-
const isCollaborator = playlist.collaborators.some((collab) => collab.toString() === req.userId);
|
|
1058
|
-
if (!isOwner && !isCollaborator) {
|
|
1059
|
-
return res.status(404).json({ error: "Playlist not found" });
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
res.json(playlist);
|
|
1063
|
-
} catch (error) {
|
|
1064
|
-
console.error(error);
|
|
1065
|
-
res.status(500).json({ error: error.message });
|
|
1066
|
-
}
|
|
1067
|
-
}
|
|
1068
|
-
});
|
|
1069
|
-
playlistsCRUD.addAction("user-playlists", {
|
|
1070
|
-
method: "get",
|
|
1071
|
-
path: "/user/:userId?",
|
|
1072
|
-
auth: true,
|
|
1073
|
-
handler: async (req, res) => {
|
|
1074
|
-
try {
|
|
1075
|
-
const userId = req.params.userId || req.userId;
|
|
1076
|
-
const query = { "owner.target": userId };
|
|
1077
|
-
if (userId !== req.userId) {
|
|
1078
|
-
query.isPublic = true;
|
|
1079
|
-
}
|
|
1080
|
-
const playlists = await db.playlist.find(query).populate({
|
|
1081
|
-
path: "tracks.track",
|
|
1082
|
-
select: "title artist album genre duration",
|
|
1083
|
-
populate: [
|
|
1084
|
-
{
|
|
1085
|
-
path: "artist",
|
|
1086
|
-
select: "name url photoUrl isVerified"
|
|
1087
|
-
},
|
|
1088
|
-
{
|
|
1089
|
-
path: "album",
|
|
1090
|
-
select: "title url coverArt"
|
|
1091
|
-
}
|
|
1092
|
-
]
|
|
1093
|
-
}).sort({ updatedAt: -1 });
|
|
1094
|
-
res.json(playlists);
|
|
1095
|
-
} catch (error) {
|
|
1096
|
-
console.error(error);
|
|
1097
|
-
res.status(500).json({ error: error.message });
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
});
|
|
1101
|
-
playlistsCRUD.addAction("add-track", {
|
|
1102
|
-
method: "post",
|
|
1103
|
-
path: "/:playlistId/tracks/:trackId",
|
|
1104
|
-
auth: true,
|
|
1105
|
-
abac: {
|
|
1106
|
-
resource: "playlists",
|
|
1107
|
-
action: "update"
|
|
1108
|
-
},
|
|
1109
|
-
handler: async (req, res) => {
|
|
1110
|
-
try {
|
|
1111
|
-
const { playlistId, trackId } = req.params;
|
|
1112
|
-
const track = await db.track.findById(trackId);
|
|
1113
|
-
if (!track) {
|
|
1114
|
-
return res.status(404).json({ error: "Track not found" });
|
|
1115
|
-
}
|
|
1116
|
-
const playlist = await db.playlist.findById(playlistId);
|
|
1117
|
-
if (!playlist) {
|
|
1118
|
-
return res.status(404).json({ error: "Playlist not found" });
|
|
1119
|
-
}
|
|
1120
|
-
const trackExists = playlist.tracks.some((t) => t.track.toString() === trackId);
|
|
1121
|
-
if (trackExists) {
|
|
1122
|
-
return res.status(400).json({ error: "Track already in playlist" });
|
|
1123
|
-
}
|
|
1124
|
-
playlist.tracks.push({
|
|
1125
|
-
track: trackId,
|
|
1126
|
-
addedAt: /* @__PURE__ */ new Date()
|
|
1127
|
-
});
|
|
1128
|
-
await playlist.save();
|
|
1129
|
-
res.json({
|
|
1130
|
-
message: "Track added to playlist successfully",
|
|
1131
|
-
playlist
|
|
1132
|
-
});
|
|
1133
|
-
} catch (error) {
|
|
1134
|
-
console.error(error);
|
|
1135
|
-
res.status(500).json({ error: error.message });
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
});
|
|
1139
|
-
playlistsCRUD.addAction("remove-track", {
|
|
1140
|
-
method: "delete",
|
|
1141
|
-
path: "/:playlistId/tracks/:trackId",
|
|
1142
|
-
auth: true,
|
|
1143
|
-
abac: {
|
|
1144
|
-
resource: "playlists",
|
|
1145
|
-
action: "update"
|
|
1146
|
-
},
|
|
1147
|
-
handler: async (req, res) => {
|
|
1148
|
-
try {
|
|
1149
|
-
const { playlistId, trackId } = req.params;
|
|
1150
|
-
const playlist = await db.playlist.findById(playlistId);
|
|
1151
|
-
if (!playlist) {
|
|
1152
|
-
return res.status(404).json({ error: "Playlist not found" });
|
|
1153
|
-
}
|
|
1154
|
-
playlist.tracks = playlist.tracks.filter(
|
|
1155
|
-
(t) => t.track.toString() !== trackId
|
|
1156
|
-
);
|
|
1157
|
-
await playlist.save();
|
|
1158
|
-
res.json({
|
|
1159
|
-
message: "Track removed from playlist successfully",
|
|
1160
|
-
playlist
|
|
1161
|
-
});
|
|
1162
|
-
} catch (error) {
|
|
1163
|
-
console.error(error);
|
|
1164
|
-
res.status(500).json({ error: error.message });
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
});
|
|
1168
|
-
playlistsCRUD.addAction("add-collaborator", {
|
|
1169
|
-
method: "post",
|
|
1170
|
-
path: "/:playlistId/collaborators/:userId",
|
|
1171
|
-
auth: true,
|
|
1172
|
-
abac: {
|
|
1173
|
-
resource: "playlists",
|
|
1174
|
-
action: "update"
|
|
1175
|
-
},
|
|
1176
|
-
handler: async (req, res) => {
|
|
1177
|
-
try {
|
|
1178
|
-
const { playlistId, userId } = req.params;
|
|
1179
|
-
const playlist = await db.playlist.findById(playlistId);
|
|
1180
|
-
if (!playlist) {
|
|
1181
|
-
return res.status(404).json({ error: "Playlist not found" });
|
|
1182
|
-
}
|
|
1183
|
-
if (playlist.collaborators.includes(userId)) {
|
|
1184
|
-
return res.status(400).json({ error: "User is already a collaborator" });
|
|
1185
|
-
}
|
|
1186
|
-
playlist.collaborators.push(userId);
|
|
1187
|
-
playlist.isCollaborative = true;
|
|
1188
|
-
await playlist.save();
|
|
1189
|
-
res.json({
|
|
1190
|
-
message: "Collaborator added successfully",
|
|
1191
|
-
playlist
|
|
1192
|
-
});
|
|
1193
|
-
} catch (error) {
|
|
1194
|
-
console.error(error);
|
|
1195
|
-
res.status(500).json({ error: error.message });
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
});
|
|
1199
|
-
return playlistsCRUD;
|
|
1200
|
-
}
|
|
1201
|
-
function genresVerifierFactory(db) {
|
|
1202
|
-
const createVerifier = new core_verifier.Verifier({
|
|
1203
|
-
name: {
|
|
1204
|
-
rule: "required",
|
|
1205
|
-
validator: core_verifier.Validator.schema().string().required("Genre name is required").min(1, "Name cannot be empty").max(50, "Name must not exceed 50 characters")
|
|
1206
|
-
},
|
|
1207
|
-
description: {
|
|
1208
|
-
rule: "optional",
|
|
1209
|
-
validator: core_verifier.Validator.schema().string().max(500, "Description must not exceed 500 characters")
|
|
1210
|
-
},
|
|
1211
|
-
iconUrl: {
|
|
1212
|
-
rule: "optional",
|
|
1213
|
-
validator: core_verifier.Validator.schema().string().pattern(/^https?:\/\/.+/, "Invalid icon URL format")
|
|
1214
|
-
},
|
|
1215
|
-
popularity: {
|
|
1216
|
-
rule: "optional",
|
|
1217
|
-
default: 0,
|
|
1218
|
-
validator: core_verifier.Validator.schema().number().min(0, "Popularity cannot be negative").max(100, "Popularity cannot exceed 100")
|
|
1219
|
-
}
|
|
1220
|
-
});
|
|
1221
|
-
const updateVerifier = new core_verifier.Verifier({
|
|
1222
|
-
_id: {
|
|
1223
|
-
rule: "required",
|
|
1224
|
-
validator: core_verifier.Validator.schema().string().required("Genre ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
1225
|
-
},
|
|
1226
|
-
name: {
|
|
1227
|
-
rule: "optional",
|
|
1228
|
-
validator: core_verifier.Validator.schema().string().min(1, "Name cannot be empty").max(50, "Name must not exceed 50 characters")
|
|
1229
|
-
},
|
|
1230
|
-
description: {
|
|
1231
|
-
rule: "optional",
|
|
1232
|
-
validator: core_verifier.Validator.schema().string().max(500, "Description must not exceed 500 characters")
|
|
1233
|
-
},
|
|
1234
|
-
iconUrl: {
|
|
1235
|
-
rule: "optional",
|
|
1236
|
-
validator: core_verifier.Validator.schema().string().pattern(/^https?:\/\/.+/, "Invalid icon URL format")
|
|
1237
|
-
},
|
|
1238
|
-
popularity: {
|
|
1239
|
-
rule: "optional",
|
|
1240
|
-
validator: core_verifier.Validator.schema().number().min(0, "Popularity cannot be negative").max(100, "Popularity cannot exceed 100")
|
|
1241
|
-
},
|
|
1242
|
-
status: {
|
|
1243
|
-
rule: "optional",
|
|
1244
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"], "Invalid status")
|
|
1245
|
-
}
|
|
1246
|
-
});
|
|
1247
|
-
const readVerifier = new core_verifier.Verifier({
|
|
1248
|
-
_id: {
|
|
1249
|
-
rule: "optional",
|
|
1250
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
1251
|
-
},
|
|
1252
|
-
name: {
|
|
1253
|
-
rule: "optional",
|
|
1254
|
-
validator: core_verifier.Validator.schema().string()
|
|
1255
|
-
},
|
|
1256
|
-
status: {
|
|
1257
|
-
rule: "optional",
|
|
1258
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "published", "archived"])
|
|
1259
|
-
},
|
|
1260
|
-
skip: {
|
|
1261
|
-
rule: "optional",
|
|
1262
|
-
default: 0,
|
|
1263
|
-
validator: core_verifier.Validator.schema().integer().min(0)
|
|
1264
|
-
},
|
|
1265
|
-
limit: {
|
|
1266
|
-
rule: "optional",
|
|
1267
|
-
default: 20,
|
|
1268
|
-
validator: core_verifier.Validator.schema().integer().min(1).max(100)
|
|
1269
|
-
},
|
|
1270
|
-
sortParam: {
|
|
1271
|
-
rule: "optional",
|
|
1272
|
-
validator: core_verifier.Validator.schema().string().oneOf(["name", "popularity", "createdAt", "updatedAt"])
|
|
1273
|
-
},
|
|
1274
|
-
sortOrder: {
|
|
1275
|
-
rule: "optional",
|
|
1276
|
-
default: "desc",
|
|
1277
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"])
|
|
1278
|
-
}
|
|
1279
|
-
});
|
|
1280
|
-
const deleteVerifier = new core_verifier.Verifier({
|
|
1281
|
-
_id: {
|
|
1282
|
-
rule: "required",
|
|
1283
|
-
validator: core_verifier.Validator.schema().string().required("Genre ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid genre ID format")
|
|
1284
|
-
}
|
|
1285
|
-
});
|
|
1286
|
-
return {
|
|
1287
|
-
createVerifier,
|
|
1288
|
-
readVerifier,
|
|
1289
|
-
updateVerifier,
|
|
1290
|
-
deleteVerifier
|
|
1291
|
-
};
|
|
1292
|
-
}
|
|
1293
|
-
const { getInstance } = abac.ABAC;
|
|
1294
|
-
function setupGenresRoutes(app, db) {
|
|
1295
|
-
const abac2 = getInstance(db);
|
|
1296
|
-
const verifier = genresVerifierFactory();
|
|
1297
|
-
const genresCRUD = new crud.CRUD({
|
|
1298
|
-
app,
|
|
1299
|
-
db,
|
|
1300
|
-
model: db.genre,
|
|
1301
|
-
modelName: "genre",
|
|
1302
|
-
basePath: "/api/genres",
|
|
1303
|
-
auth: { read: false },
|
|
1304
|
-
verifiers: {
|
|
1305
|
-
create: verifier.createVerifier,
|
|
1306
|
-
read: verifier.readVerifier,
|
|
1307
|
-
update: verifier.updateVerifier,
|
|
1308
|
-
delete: verifier.deleteVerifier
|
|
1309
|
-
},
|
|
1310
|
-
abac: abac2,
|
|
1311
|
-
policies: {
|
|
1312
|
-
read: { enabled: false }
|
|
1313
|
-
},
|
|
1314
|
-
cache: {
|
|
1315
|
-
enabled: true,
|
|
1316
|
-
ttl: 300,
|
|
1317
|
-
tags: ["genres", "music"]
|
|
1318
|
-
},
|
|
1319
|
-
events: {
|
|
1320
|
-
enabled: true,
|
|
1321
|
-
logReads: false
|
|
1322
|
-
}
|
|
1323
|
-
});
|
|
1324
|
-
genresCRUD.addAction("get-by-url", {
|
|
1325
|
-
method: "get",
|
|
1326
|
-
path: "/url/:url",
|
|
1327
|
-
auth: false,
|
|
1328
|
-
handler: async (req, res) => {
|
|
1329
|
-
try {
|
|
1330
|
-
const genre = await db.genre.findOne({ url: req.params.url });
|
|
1331
|
-
if (!genre) {
|
|
1332
|
-
return res.status(404).json({ error: "Genre not found" });
|
|
1333
|
-
}
|
|
1334
|
-
res.json(genre);
|
|
1335
|
-
} catch (error) {
|
|
1336
|
-
console.error(error);
|
|
1337
|
-
res.status(500).json({ error: error.message });
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
});
|
|
1341
|
-
genresCRUD.addAction("genre-tracks", {
|
|
1342
|
-
method: "get",
|
|
1343
|
-
path: "/:genreId/tracks",
|
|
1344
|
-
auth: false,
|
|
1345
|
-
handler: async (req, res) => {
|
|
1346
|
-
try {
|
|
1347
|
-
const { genreId } = req.params;
|
|
1348
|
-
const limit = parseInt(req.query.limit) || 50;
|
|
1349
|
-
const skip = parseInt(req.query.skip) || 0;
|
|
1350
|
-
const tracks = await db.track.find({
|
|
1351
|
-
genre: genreId,
|
|
1352
|
-
status: "published",
|
|
1353
|
-
isPublic: true
|
|
1354
|
-
}).populate("artist", "name url").populate("album", "title url").sort({ playCount: -1, releaseDate: -1 }).skip(skip).limit(limit);
|
|
1355
|
-
res.json(tracks);
|
|
1356
|
-
} catch (error) {
|
|
1357
|
-
console.error(error);
|
|
1358
|
-
res.status(500).json({ error: error.message });
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
});
|
|
1362
|
-
genresCRUD.addAction("popular", {
|
|
1363
|
-
method: "get",
|
|
1364
|
-
path: "/popular",
|
|
1365
|
-
auth: false,
|
|
1366
|
-
handler: async (req, res) => {
|
|
1367
|
-
try {
|
|
1368
|
-
const limit = parseInt(req.query.limit) || 20;
|
|
1369
|
-
const popularGenres = await db.genre.find({ status: "published" }).sort({ popularity: -1 }).limit(limit);
|
|
1370
|
-
res.json(popularGenres);
|
|
1371
|
-
} catch (error) {
|
|
1372
|
-
console.error(error);
|
|
1373
|
-
res.status(500).json({ error: error.message });
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
});
|
|
1377
|
-
return genresCRUD;
|
|
1378
|
-
}
|
|
1379
|
-
const SearchController = (function(app, db) {
|
|
1380
|
-
const logger = new core_logger.LoggerNamespaced(db);
|
|
1381
|
-
const cache = new core_logger.CacheNamespaced();
|
|
1382
|
-
async function search(req, res) {
|
|
1383
|
-
try {
|
|
1384
|
-
const { query, type, limit = 10 } = req.query;
|
|
1385
|
-
if (!query || query.length < 2) {
|
|
1386
|
-
return res.status(400).json({ error: "Search query must be at least 2 characters" });
|
|
1387
|
-
}
|
|
1388
|
-
const limitNum = parseInt(limit, 10);
|
|
1389
|
-
const cacheKey = `search:${query}:${type || "all"}:${limitNum}`;
|
|
1390
|
-
let results = await cache.get(cacheKey);
|
|
1391
|
-
if (!results) {
|
|
1392
|
-
results = {};
|
|
1393
|
-
const searchRegex = new RegExp(query, "i");
|
|
1394
|
-
const types = type ? [type] : ["tracks", "albums", "artists", "playlists", "genres"];
|
|
1395
|
-
if (types.includes("tracks") || types.includes("all")) {
|
|
1396
|
-
results.tracks = await db.track.find({
|
|
1397
|
-
$or: [{ title: searchRegex }, { tags: searchRegex }],
|
|
1398
|
-
status: "published",
|
|
1399
|
-
isPublic: true
|
|
1400
|
-
}).populate("artist", "name url photoUrl isVerified").populate("album", "title url coverArt").populate("genre", "name url").limit(limitNum);
|
|
1401
|
-
}
|
|
1402
|
-
if (types.includes("albums") || types.includes("all")) {
|
|
1403
|
-
results.albums = await db.album.find({
|
|
1404
|
-
$or: [{ title: searchRegex }, { description: searchRegex }, { tags: searchRegex }],
|
|
1405
|
-
status: "published",
|
|
1406
|
-
isPublic: true
|
|
1407
|
-
}).limit(limitNum);
|
|
1408
|
-
}
|
|
1409
|
-
if (types.includes("artists") || types.includes("all")) {
|
|
1410
|
-
results.artists = await db.artist.find({
|
|
1411
|
-
$or: [{ name: searchRegex }, { bio: searchRegex }, { tags: searchRegex }],
|
|
1412
|
-
status: "published"
|
|
1413
|
-
}).limit(limitNum);
|
|
1414
|
-
}
|
|
1415
|
-
if (types.includes("playlists") || types.includes("all")) {
|
|
1416
|
-
results.playlists = await db.playlist.find({
|
|
1417
|
-
$or: [{ title: searchRegex }, { description: searchRegex }, { tags: searchRegex }],
|
|
1418
|
-
isPublic: true
|
|
1419
|
-
}).limit(limitNum);
|
|
1420
|
-
}
|
|
1421
|
-
if (types.includes("genres") || types.includes("all")) {
|
|
1422
|
-
results.genres = await db.genre.find({
|
|
1423
|
-
$or: [{ name: searchRegex }, { description: searchRegex }],
|
|
1424
|
-
status: "published"
|
|
1425
|
-
}).limit(limitNum);
|
|
1426
|
-
}
|
|
1427
|
-
await cache.set(cacheKey, results, 600);
|
|
1428
|
-
}
|
|
1429
|
-
res.json(results);
|
|
1430
|
-
} catch (error) {
|
|
1431
|
-
logger.error(`Error searching: ${error.message}`);
|
|
1432
|
-
res.status(500).json({ error: error.message });
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
|
-
return {
|
|
1436
|
-
search
|
|
1437
|
-
};
|
|
1438
|
-
});
|
|
1439
|
-
const StreamController = (function(app, db, publicPath) {
|
|
1440
|
-
const { getInstance: getInstance2 } = core_abac.coreabac;
|
|
1441
|
-
const logger = new core_logger.LoggerNamespaced(db);
|
|
1442
|
-
const abac2 = getInstance2(db);
|
|
1443
|
-
async function streamAudio(req, res) {
|
|
1444
|
-
try {
|
|
1445
|
-
const trackId = req.params.trackId;
|
|
1446
|
-
const track = await db.track.findById(trackId);
|
|
1447
|
-
if (!track) {
|
|
1448
|
-
return res.status(404).json({ error: "Track not found" });
|
|
1449
|
-
}
|
|
1450
|
-
const accessResult = await abac2.checkAccess({
|
|
1451
|
-
user: req.userId,
|
|
1452
|
-
resource: "tracks",
|
|
1453
|
-
action: "read",
|
|
1454
|
-
currentResource: track
|
|
1455
|
-
});
|
|
1456
|
-
if (!accessResult.allowed && !track.isPublic) {
|
|
1457
|
-
return res.status(403).json({
|
|
1458
|
-
errorCode: accessResult.reason,
|
|
1459
|
-
message: "Access Denied"
|
|
1460
|
-
});
|
|
1461
|
-
}
|
|
1462
|
-
const fileUrl = track.fileUrl;
|
|
1463
|
-
const filePath = path$1.join(publicPath, fileUrl);
|
|
1464
|
-
if (!fs$1.existsSync(filePath)) {
|
|
1465
|
-
logger.error(`File not found: ${filePath}`);
|
|
1466
|
-
return res.status(404).json({ error: "Audio file not found" });
|
|
1467
|
-
}
|
|
1468
|
-
const stat = fs$1.statSync(filePath);
|
|
1469
|
-
const fileSize = stat.size;
|
|
1470
|
-
const range = req.headers.range;
|
|
1471
|
-
const isFirstRequest = !range || range === "bytes=0-";
|
|
1472
|
-
if (req.userId) {
|
|
1473
|
-
try {
|
|
1474
|
-
await db.playHistory.create({
|
|
1475
|
-
user: req.userId,
|
|
1476
|
-
track: trackId,
|
|
1477
|
-
playedAt: /* @__PURE__ */ new Date(),
|
|
1478
|
-
deviceInfo: req.headers["user-agent"],
|
|
1479
|
-
playedFrom: req.query.from || "other",
|
|
1480
|
-
contextId: req.query.contextId || null
|
|
1481
|
-
});
|
|
1482
|
-
const updatedTrack = await db.track.findByIdAndUpdate(trackId, { $inc: { playCount: 1 } }, { new: true });
|
|
1483
|
-
} catch (error) {
|
|
1484
|
-
logger.error(`Error logging play history: ${error.message}`);
|
|
1485
|
-
}
|
|
1486
|
-
} else {
|
|
1487
|
-
try {
|
|
1488
|
-
const updatedTrack = await db.track.findByIdAndUpdate(trackId, { $inc: { playCount: 1 } }, { new: true });
|
|
1489
|
-
} catch (error) {
|
|
1490
|
-
logger.error(`Error incrementing playCount: ${error.message}`);
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
if (range) {
|
|
1494
|
-
const parts = range.replace(/bytes=/, "").split("-");
|
|
1495
|
-
const start = parseInt(parts[0], 10);
|
|
1496
|
-
const end = parts[1] ? parseInt(parts[1], 10) : fileSize - 1;
|
|
1497
|
-
const chunksize = end - start + 1;
|
|
1498
|
-
const file = fs$1.createReadStream(filePath, { start, end });
|
|
1499
|
-
res.writeHead(206, {
|
|
1500
|
-
"Content-Range": `bytes ${start}-${end}/${fileSize}`,
|
|
1501
|
-
"Accept-Ranges": "bytes",
|
|
1502
|
-
"Content-Length": chunksize,
|
|
1503
|
-
"Content-Type": "audio/mpeg"
|
|
1504
|
-
});
|
|
1505
|
-
file.pipe(res);
|
|
1506
|
-
} else {
|
|
1507
|
-
res.writeHead(200, {
|
|
1508
|
-
"Content-Length": fileSize,
|
|
1509
|
-
"Content-Type": "audio/mpeg"
|
|
1510
|
-
});
|
|
1511
|
-
fs$1.createReadStream(filePath).pipe(res);
|
|
1512
|
-
}
|
|
1513
|
-
} catch (error) {
|
|
1514
|
-
logger.error(`Error streaming audio: ${error.message}`);
|
|
1515
|
-
res.status(500).json({ error: error.message });
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
return {
|
|
1519
|
-
streamAudio
|
|
1520
|
-
};
|
|
1521
|
-
});
|
|
1522
|
-
const AlbumModel = (function(db) {
|
|
1523
|
-
const albumSchema = new db.mongoose.Schema(
|
|
1524
|
-
{
|
|
1525
|
-
title: {
|
|
1526
|
-
type: String,
|
|
1527
|
-
required: true
|
|
1528
|
-
},
|
|
1529
|
-
description: {
|
|
1530
|
-
type: String,
|
|
1531
|
-
default: ""
|
|
1532
|
-
},
|
|
1533
|
-
releaseDate: {
|
|
1534
|
-
type: Date,
|
|
1535
|
-
required: true
|
|
1536
|
-
},
|
|
1537
|
-
coverArt: {
|
|
1538
|
-
type: String,
|
|
1539
|
-
default: null
|
|
1540
|
-
},
|
|
1541
|
-
artists: [
|
|
1542
|
-
{
|
|
1543
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1544
|
-
ref: "Artist",
|
|
1545
|
-
required: true
|
|
1546
|
-
}
|
|
1547
|
-
],
|
|
1548
|
-
type: {
|
|
1549
|
-
type: String,
|
|
1550
|
-
enum: ["album", "single", "EP", "compilation"],
|
|
1551
|
-
default: "album"
|
|
1552
|
-
},
|
|
1553
|
-
genres: [
|
|
1554
|
-
{
|
|
1555
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1556
|
-
ref: "Genre"
|
|
1557
|
-
}
|
|
1558
|
-
],
|
|
1559
|
-
totalTracks: {
|
|
1560
|
-
type: Number,
|
|
1561
|
-
default: 0
|
|
1562
|
-
}
|
|
1563
|
-
},
|
|
1564
|
-
{
|
|
1565
|
-
timestamps: true,
|
|
1566
|
-
versionKey: false
|
|
1567
|
-
}
|
|
1568
|
-
);
|
|
1569
|
-
ownership_schema.applyOwnershipSchema(albumSchema, db);
|
|
1570
|
-
metadata_schema.applyMetadataSchema(albumSchema);
|
|
1571
|
-
common_schema.applyCommonSchema(albumSchema);
|
|
1572
|
-
engagement_schema.applyEngagementSchema(albumSchema);
|
|
1573
|
-
albumSchema.index({ title: "text", description: "text" });
|
|
1574
|
-
albumSchema.index({ artists: 1 });
|
|
1575
|
-
albumSchema.index({ releaseDate: -1 });
|
|
1576
|
-
albumSchema.index({ type: 1 });
|
|
1577
|
-
albumSchema.index({ genres: 1 });
|
|
1578
|
-
return db.mongoose.models.Album || db.mongoose.model("Album", albumSchema);
|
|
1579
|
-
});
|
|
1580
|
-
const ArtistModel = (function(db) {
|
|
1581
|
-
const mongoose = db.mongoose;
|
|
1582
|
-
const Schema = mongoose.Schema;
|
|
1583
|
-
const ArtistSchema = new Schema(
|
|
1584
|
-
{
|
|
1585
|
-
name: {
|
|
1586
|
-
type: String,
|
|
1587
|
-
required: true,
|
|
1588
|
-
trim: true
|
|
1589
|
-
},
|
|
1590
|
-
bio: {
|
|
1591
|
-
type: String,
|
|
1592
|
-
trim: true
|
|
1593
|
-
},
|
|
1594
|
-
photoUrl: {
|
|
1595
|
-
type: String
|
|
1596
|
-
},
|
|
1597
|
-
coverUrl: {
|
|
1598
|
-
type: String
|
|
1599
|
-
},
|
|
1600
|
-
genre: [
|
|
1601
|
-
{
|
|
1602
|
-
type: Schema.Types.ObjectId,
|
|
1603
|
-
ref: "Genre"
|
|
1604
|
-
}
|
|
1605
|
-
],
|
|
1606
|
-
isVerified: {
|
|
1607
|
-
type: Boolean,
|
|
1608
|
-
default: false
|
|
1609
|
-
},
|
|
1610
|
-
website: {
|
|
1611
|
-
type: String,
|
|
1612
|
-
trim: true
|
|
1613
|
-
},
|
|
1614
|
-
location: {
|
|
1615
|
-
type: String,
|
|
1616
|
-
trim: true
|
|
1617
|
-
},
|
|
1618
|
-
popularity: {
|
|
1619
|
-
type: Number,
|
|
1620
|
-
default: 0
|
|
1621
|
-
}
|
|
1622
|
-
},
|
|
1623
|
-
{
|
|
1624
|
-
timestamps: true,
|
|
1625
|
-
versionKey: false
|
|
1626
|
-
}
|
|
1627
|
-
);
|
|
1628
|
-
common_schema.applyCommonSchema(ArtistSchema);
|
|
1629
|
-
metadata_schema.applyMetadataSchema(ArtistSchema);
|
|
1630
|
-
ownership_schema.applyOwnershipSchema(ArtistSchema, db);
|
|
1631
|
-
socials_schema.applySocialsSchema(ArtistSchema);
|
|
1632
|
-
engagement_schema.applyEngagementSchema(ArtistSchema);
|
|
1633
|
-
ArtistSchema.index({ name: "text", bio: "text" });
|
|
1634
|
-
ArtistSchema.index({ popularity: -1 });
|
|
1635
|
-
ArtistSchema.index({ isVerified: 1 });
|
|
1636
|
-
return mongoose.models.Artist || mongoose.model("Artist", ArtistSchema);
|
|
1637
|
-
});
|
|
1638
|
-
const GenreModel = (function(db) {
|
|
1639
|
-
const mongoose = db.mongoose;
|
|
1640
|
-
const Schema = mongoose.Schema;
|
|
1641
|
-
const GenreSchema = new Schema(
|
|
1642
|
-
{
|
|
1643
|
-
name: {
|
|
1644
|
-
type: String,
|
|
1645
|
-
required: true,
|
|
1646
|
-
trim: true,
|
|
1647
|
-
unique: true
|
|
1648
|
-
},
|
|
1649
|
-
description: {
|
|
1650
|
-
type: String,
|
|
1651
|
-
trim: true
|
|
1652
|
-
},
|
|
1653
|
-
iconUrl: {
|
|
1654
|
-
type: String
|
|
1655
|
-
},
|
|
1656
|
-
popularity: {
|
|
1657
|
-
type: Number,
|
|
1658
|
-
default: 0
|
|
1659
|
-
}
|
|
1660
|
-
},
|
|
1661
|
-
{
|
|
1662
|
-
timestamps: true,
|
|
1663
|
-
versionKey: false
|
|
1664
|
-
}
|
|
1665
|
-
);
|
|
1666
|
-
common_schema.applyCommonSchema(GenreSchema);
|
|
1667
|
-
metadata_schema.applyMetadataSchema(GenreSchema);
|
|
1668
|
-
GenreSchema.index({ name: "text", description: "text" });
|
|
1669
|
-
GenreSchema.index({ popularity: -1 });
|
|
1670
|
-
return mongoose.models.Genre || mongoose.model("Genre", GenreSchema);
|
|
1671
|
-
});
|
|
1672
|
-
const PlayHistoryModel = (function(db) {
|
|
1673
|
-
const mongoose = db.mongoose;
|
|
1674
|
-
const Schema = mongoose.Schema;
|
|
1675
|
-
const PlayHistorySchema = new Schema(
|
|
1676
|
-
{
|
|
1677
|
-
user: {
|
|
1678
|
-
type: Schema.Types.ObjectId,
|
|
1679
|
-
ref: "User",
|
|
1680
|
-
required: true
|
|
1681
|
-
},
|
|
1682
|
-
track: {
|
|
1683
|
-
type: Schema.Types.ObjectId,
|
|
1684
|
-
ref: "Track",
|
|
1685
|
-
required: true
|
|
1686
|
-
},
|
|
1687
|
-
playedAt: {
|
|
1688
|
-
type: Date,
|
|
1689
|
-
default: Date.now
|
|
1690
|
-
},
|
|
1691
|
-
playDuration: {
|
|
1692
|
-
type: Number,
|
|
1693
|
-
default: 0
|
|
1694
|
-
},
|
|
1695
|
-
playedFrom: {
|
|
1696
|
-
type: String,
|
|
1697
|
-
enum: ["playlist", "album", "search", "recommendation", "artist", "other"],
|
|
1698
|
-
default: "other"
|
|
1699
|
-
},
|
|
1700
|
-
contextId: {
|
|
1701
|
-
type: Schema.Types.ObjectId,
|
|
1702
|
-
refPath: "playedFrom"
|
|
1703
|
-
},
|
|
1704
|
-
deviceInfo: {
|
|
1705
|
-
type: String
|
|
1706
|
-
},
|
|
1707
|
-
location: {
|
|
1708
|
-
type: String
|
|
1709
|
-
}
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
timestamps: true,
|
|
1713
|
-
versionKey: false
|
|
1714
|
-
}
|
|
1715
|
-
);
|
|
1716
|
-
PlayHistorySchema.index({ user: 1, playedAt: -1 });
|
|
1717
|
-
PlayHistorySchema.index({ track: 1 });
|
|
1718
|
-
PlayHistorySchema.index({ playedAt: -1 });
|
|
1719
|
-
return mongoose.models.PlayHistory || mongoose.model("PlayHistory", PlayHistorySchema);
|
|
1720
|
-
});
|
|
1721
|
-
const PlaylistModel = (function(db) {
|
|
1722
|
-
const mongoose = db.mongoose;
|
|
1723
|
-
const Schema = mongoose.Schema;
|
|
1724
|
-
const PlaylistSchema = new Schema(
|
|
1725
|
-
{
|
|
1726
|
-
title: {
|
|
1727
|
-
type: String,
|
|
1728
|
-
required: true,
|
|
1729
|
-
trim: true
|
|
1730
|
-
},
|
|
1731
|
-
description: {
|
|
1732
|
-
type: String,
|
|
1733
|
-
trim: true
|
|
1734
|
-
},
|
|
1735
|
-
coverUrl: {
|
|
1736
|
-
type: String
|
|
1737
|
-
},
|
|
1738
|
-
tracks: [
|
|
1739
|
-
{
|
|
1740
|
-
track: {
|
|
1741
|
-
type: Schema.Types.ObjectId,
|
|
1742
|
-
ref: "Track"
|
|
1743
|
-
},
|
|
1744
|
-
addedAt: {
|
|
1745
|
-
type: Date,
|
|
1746
|
-
default: Date.now
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
isPublic: {
|
|
1751
|
-
type: Boolean,
|
|
1752
|
-
default: true
|
|
1753
|
-
},
|
|
1754
|
-
followers: {
|
|
1755
|
-
type: Number,
|
|
1756
|
-
default: 0
|
|
1757
|
-
},
|
|
1758
|
-
isCollaborative: {
|
|
1759
|
-
type: Boolean,
|
|
1760
|
-
default: false
|
|
1761
|
-
},
|
|
1762
|
-
collaborators: [
|
|
1763
|
-
{
|
|
1764
|
-
type: Schema.Types.ObjectId,
|
|
1765
|
-
ref: "User"
|
|
1766
|
-
}
|
|
1767
|
-
]
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
timestamps: true,
|
|
1771
|
-
versionKey: false
|
|
1772
|
-
}
|
|
1773
|
-
);
|
|
1774
|
-
common_schema.applyCommonSchema(PlaylistSchema);
|
|
1775
|
-
metadata_schema.applyMetadataSchema(PlaylistSchema);
|
|
1776
|
-
ownership_schema.applyOwnershipSchema(PlaylistSchema, db);
|
|
1777
|
-
engagement_schema.applyEngagementSchema(PlaylistSchema);
|
|
1778
|
-
PlaylistSchema.index({ title: "text", description: "text" });
|
|
1779
|
-
PlaylistSchema.index({ isPublic: 1 });
|
|
1780
|
-
PlaylistSchema.index({ followers: -1 });
|
|
1781
|
-
PlaylistSchema.index({ "tracks.addedAt": -1 });
|
|
1782
|
-
return mongoose.models.Playlist || mongoose.model("Playlist", PlaylistSchema);
|
|
1783
|
-
});
|
|
1784
|
-
const TrackModel = (function(db) {
|
|
1785
|
-
const mongoose = db.mongoose;
|
|
1786
|
-
const Schema = mongoose.Schema;
|
|
1787
|
-
const TrackSchema = new Schema(
|
|
1788
|
-
{
|
|
1789
|
-
title: {
|
|
1790
|
-
type: String,
|
|
1791
|
-
required: true,
|
|
1792
|
-
trim: true
|
|
1793
|
-
},
|
|
1794
|
-
artist: {
|
|
1795
|
-
type: Schema.Types.ObjectId,
|
|
1796
|
-
ref: "Artist",
|
|
1797
|
-
required: true
|
|
1798
|
-
},
|
|
1799
|
-
album: {
|
|
1800
|
-
type: Schema.Types.ObjectId,
|
|
1801
|
-
ref: "Album"
|
|
1802
|
-
},
|
|
1803
|
-
duration: {
|
|
1804
|
-
type: Number,
|
|
1805
|
-
default: 0
|
|
1806
|
-
},
|
|
1807
|
-
fileUrl: {
|
|
1808
|
-
type: String,
|
|
1809
|
-
required: true
|
|
1810
|
-
},
|
|
1811
|
-
coverUrl: {
|
|
1812
|
-
type: String
|
|
1813
|
-
},
|
|
1814
|
-
genre: [
|
|
1815
|
-
{
|
|
1816
|
-
type: Schema.Types.ObjectId,
|
|
1817
|
-
ref: "Genre"
|
|
1818
|
-
}
|
|
1819
|
-
],
|
|
1820
|
-
releaseDate: {
|
|
1821
|
-
type: Date,
|
|
1822
|
-
default: Date.now
|
|
1823
|
-
},
|
|
1824
|
-
isExplicit: {
|
|
1825
|
-
type: Boolean,
|
|
1826
|
-
default: false
|
|
1827
|
-
},
|
|
1828
|
-
lyrics: {
|
|
1829
|
-
type: String
|
|
1830
|
-
},
|
|
1831
|
-
playCount: {
|
|
1832
|
-
type: Number,
|
|
1833
|
-
default: 0
|
|
1834
|
-
},
|
|
1835
|
-
isPublic: {
|
|
1836
|
-
type: Boolean,
|
|
1837
|
-
default: true
|
|
1838
|
-
}
|
|
1839
|
-
},
|
|
1840
|
-
{
|
|
1841
|
-
timestamps: true,
|
|
1842
|
-
versionKey: false
|
|
1843
|
-
}
|
|
1844
|
-
);
|
|
1845
|
-
common_schema.applyCommonSchema(TrackSchema);
|
|
1846
|
-
metadata_schema.applyMetadataSchema(TrackSchema);
|
|
1847
|
-
ownership_schema.applyOwnershipSchema(TrackSchema, db);
|
|
1848
|
-
engagement_schema.applyEngagementSchema(TrackSchema);
|
|
1849
|
-
TrackSchema.index({ title: "text" });
|
|
1850
|
-
TrackSchema.index({ artist: 1 });
|
|
1851
|
-
TrackSchema.index({ album: 1 });
|
|
1852
|
-
TrackSchema.index({ releaseDate: -1 });
|
|
1853
|
-
TrackSchema.index({ playCount: -1 });
|
|
1854
|
-
TrackSchema.pre("save", function(next) {
|
|
1855
|
-
if (!this.url) {
|
|
1856
|
-
this.url = metadata_schema.createFriendlyURL(`${this.title}-${this._id}`);
|
|
1857
|
-
}
|
|
1858
|
-
next();
|
|
1859
|
-
});
|
|
1860
|
-
TrackSchema.virtual("artistName").get(function() {
|
|
1861
|
-
return this.artist ? this.artist.name : "";
|
|
1862
|
-
});
|
|
1863
|
-
return mongoose.models.Track || mongoose.model("Track", TrackSchema);
|
|
1864
|
-
});
|
|
1865
|
-
const musicPolicies = (function initializeMusicPolicies(abacAccessControl) {
|
|
1866
|
-
abacAccessControl.registerResourcePolicy("tracks", async (context) => {
|
|
1867
|
-
const { user, action, currentResource, resourceModel } = context;
|
|
1868
|
-
const ObjectId = abacAccessControl.db.mongoose.Types.ObjectId;
|
|
1869
|
-
if (action === "read" && currentResource?.status === "published" && currentResource?.isPublic === true) {
|
|
1870
|
-
return true;
|
|
1871
|
-
}
|
|
1872
|
-
if (action === "create") {
|
|
1873
|
-
if (context.data.creator && context.data.creator.target) {
|
|
1874
|
-
return context.data.creator.target.toString() === user.toString();
|
|
1875
|
-
}
|
|
1876
|
-
return false;
|
|
1877
|
-
}
|
|
1878
|
-
if (["update", "edit", "delete"].includes(action) && currentResource) {
|
|
1879
|
-
if (currentResource.owner && currentResource.owner.type === "Organization") {
|
|
1880
|
-
const Organization = abacAccessControl.db.organization;
|
|
1881
|
-
const org = await Organization.findOne({
|
|
1882
|
-
_id: currentResource.owner.target,
|
|
1883
|
-
members: { $elemMatch: { user: new ObjectId(user) } }
|
|
1884
|
-
});
|
|
1885
|
-
if (org) return true;
|
|
1886
|
-
}
|
|
1887
|
-
if (currentResource.creator && currentResource.creator.target && currentResource.creator.target.toString() === user.toString()) {
|
|
1888
|
-
return true;
|
|
1889
|
-
}
|
|
1890
|
-
return false;
|
|
1891
|
-
}
|
|
1892
|
-
return false;
|
|
1893
|
-
});
|
|
1894
|
-
abacAccessControl.registerResourcePolicy("albums", async (context) => {
|
|
1895
|
-
return abacAccessControl.policies.resources.tracks(context);
|
|
1896
|
-
});
|
|
1897
|
-
abacAccessControl.registerResourcePolicy("playlists", async (context) => {
|
|
1898
|
-
const { user, action, currentResource } = context;
|
|
1899
|
-
if (currentResource && currentResource.isCollaborative && currentResource.collaborators && currentResource.collaborators.some((collaborator) => collaborator.toString() === user.toString())) {
|
|
1900
|
-
if (action === "edit" || action === "update") {
|
|
1901
|
-
return true;
|
|
1902
|
-
}
|
|
1903
|
-
}
|
|
1904
|
-
return abacAccessControl.policies.resources.tracks(context);
|
|
1905
|
-
});
|
|
1906
|
-
abacAccessControl.registerResourcePolicy("artists", async (context) => {
|
|
1907
|
-
return abacAccessControl.policies.resources.tracks(context);
|
|
1908
|
-
});
|
|
1909
|
-
return abacAccessControl;
|
|
1910
|
-
});
|
|
1911
|
-
const searchRoutes = (function(app, db, origins, publicPath) {
|
|
1912
|
-
const controller = SearchController(app, db);
|
|
1913
|
-
app.get("/api/music/search", controller.search);
|
|
1914
|
-
});
|
|
1915
|
-
const streamRoutes = (function(app, db, origins, publicPath) {
|
|
1916
|
-
console.log("rouus publioc is", publicPath);
|
|
1917
|
-
const controller = StreamController(app, db, publicPath);
|
|
1918
|
-
app.get("/api/stream/:trackId", controller.streamAudio);
|
|
1919
|
-
app.get("/api/waveform/:trackId", async (req, res) => {
|
|
1920
|
-
try {
|
|
1921
|
-
const track = await db.track.findById(req.params.trackId);
|
|
1922
|
-
if (!track) {
|
|
1923
|
-
return res.status(404).json({ error: "Track not found" });
|
|
1924
|
-
}
|
|
1925
|
-
const waveformPath = path.join(process.env.FILE_STORAGE_PATH || "./uploads", `waveforms/${track._id}.json`);
|
|
1926
|
-
if (fs.existsSync(waveformPath)) {
|
|
1927
|
-
const waveformData = JSON.parse(fs.readFileSync(waveformPath, "utf8"));
|
|
1928
|
-
return res.json(waveformData);
|
|
1929
|
-
}
|
|
1930
|
-
res.status(404).json({ error: "Waveform data not found" });
|
|
1931
|
-
} catch (error) {
|
|
1932
|
-
console.error(error);
|
|
1933
|
-
res.status(500).json({ error: error.message });
|
|
1934
|
-
}
|
|
1935
|
-
});
|
|
1936
|
-
});
|
|
1937
|
-
const StreamingHandler = (function(db) {
|
|
1938
|
-
const logger = new core_logger.LoggerNamespaced(db);
|
|
1939
|
-
return {
|
|
1940
|
-
// Handle WebSocket messages for music streaming
|
|
1941
|
-
handleStreamingMessage: async (ws, message) => {
|
|
1942
|
-
try {
|
|
1943
|
-
console.log("StreamingHandler: Received message:", { action: message.action, data: message.data });
|
|
1944
|
-
const { action, data } = message;
|
|
1945
|
-
switch (action) {
|
|
1946
|
-
case "startPlaying":
|
|
1947
|
-
console.log("StreamingHandler: Processing startPlaying event for track:", data.trackId, "user:", ws.userId);
|
|
1948
|
-
if (ws.userId && data.trackId) {
|
|
1949
|
-
await db.playHistory.create({
|
|
1950
|
-
user: ws.userId,
|
|
1951
|
-
track: data.trackId,
|
|
1952
|
-
playedAt: /* @__PURE__ */ new Date(),
|
|
1953
|
-
deviceInfo: data.deviceInfo || "Unknown",
|
|
1954
|
-
playedFrom: data.from || "other",
|
|
1955
|
-
contextId: data.contextId || null
|
|
1956
|
-
});
|
|
1957
|
-
console.log("StreamingHandler: Created play history record");
|
|
1958
|
-
const trackUpdate = await db.track.findByIdAndUpdate(data.trackId, { $inc: { playCount: 1 } }, { new: true });
|
|
1959
|
-
console.log("StreamingHandler: Updated track playCount to:", trackUpdate?.playCount);
|
|
1960
|
-
ws.send(
|
|
1961
|
-
JSON.stringify({
|
|
1962
|
-
type: "playAcknowledged",
|
|
1963
|
-
trackId: data.trackId
|
|
1964
|
-
})
|
|
1965
|
-
);
|
|
1966
|
-
}
|
|
1967
|
-
break;
|
|
1968
|
-
case "syncPosition":
|
|
1969
|
-
if (ws.userId && data.trackId && data.position) {
|
|
1970
|
-
const latestPlay = await db.playHistory.findOne({
|
|
1971
|
-
user: ws.userId,
|
|
1972
|
-
track: data.trackId
|
|
1973
|
-
}).sort({ playedAt: -1 });
|
|
1974
|
-
if (latestPlay) {
|
|
1975
|
-
latestPlay.playDuration = data.position;
|
|
1976
|
-
await latestPlay.save();
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
break;
|
|
1980
|
-
case "getRecommendations":
|
|
1981
|
-
if (ws.userId) {
|
|
1982
|
-
const recentTracks = await db.playHistory.find({
|
|
1983
|
-
user: ws.userId
|
|
1984
|
-
}).sort({ playedAt: -1 }).limit(10).populate("track");
|
|
1985
|
-
const recentGenres = /* @__PURE__ */ new Set();
|
|
1986
|
-
const recentArtists = /* @__PURE__ */ new Set();
|
|
1987
|
-
recentTracks.forEach((history) => {
|
|
1988
|
-
if (history.track) {
|
|
1989
|
-
if (history.track.genre) {
|
|
1990
|
-
history.track.genre.forEach((g) => recentGenres.add(g.toString()));
|
|
1991
|
-
}
|
|
1992
|
-
if (history.track.artist) {
|
|
1993
|
-
recentArtists.add(history.track.artist.toString());
|
|
1994
|
-
}
|
|
1995
|
-
}
|
|
1996
|
-
});
|
|
1997
|
-
const recommendations = await db.track.find({
|
|
1998
|
-
$or: [{ genre: { $in: Array.from(recentGenres) } }, { artist: { $in: Array.from(recentArtists) } }],
|
|
1999
|
-
_id: { $nin: recentTracks.map((h) => h.track._id) },
|
|
2000
|
-
// Exclude recently played
|
|
2001
|
-
status: "published",
|
|
2002
|
-
isPublic: true
|
|
2003
|
-
}).limit(10).populate("artist", "name").populate("album", "title coverUrl");
|
|
2004
|
-
ws.send(
|
|
2005
|
-
JSON.stringify({
|
|
2006
|
-
type: "recommendations",
|
|
2007
|
-
tracks: recommendations
|
|
2008
|
-
})
|
|
2009
|
-
);
|
|
2010
|
-
}
|
|
2011
|
-
break;
|
|
2012
|
-
case "joinListeningParty":
|
|
2013
|
-
if (ws.userId && data.partyId) {
|
|
2014
|
-
ws.listeningParty = data.partyId;
|
|
2015
|
-
global.webSocketManager.broadcastToModuleWithFilter("music-streaming", (socket) => socket.listeningParty === data.partyId, {
|
|
2016
|
-
type: "partyMemberJoined",
|
|
2017
|
-
userId: ws.userId,
|
|
2018
|
-
partyId: data.partyId
|
|
2019
|
-
});
|
|
2020
|
-
}
|
|
2021
|
-
break;
|
|
2022
|
-
case "syncPartyPlayback":
|
|
2023
|
-
if (ws.userId && ws.listeningParty && data.trackId && data.position) {
|
|
2024
|
-
global.webSocketManager.broadcastToModuleWithFilter("music-streaming", (socket) => socket.listeningParty === ws.listeningParty && socket !== ws, {
|
|
2025
|
-
type: "partyPlaybackSync",
|
|
2026
|
-
trackId: data.trackId,
|
|
2027
|
-
position: data.position,
|
|
2028
|
-
isPlaying: data.isPlaying,
|
|
2029
|
-
timestamp: Date.now()
|
|
2030
|
-
});
|
|
2031
|
-
}
|
|
2032
|
-
break;
|
|
2033
|
-
default:
|
|
2034
|
-
logger.info(`Unknown streaming action: ${action}`);
|
|
2035
|
-
}
|
|
2036
|
-
} catch (error) {
|
|
2037
|
-
logger.error(`Error in streaming handler: ${error.message}`);
|
|
2038
|
-
ws.send(
|
|
2039
|
-
JSON.stringify({
|
|
2040
|
-
type: "error",
|
|
2041
|
-
message: "An error occurred while processing your request"
|
|
2042
|
-
})
|
|
2043
|
-
);
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2046
|
-
};
|
|
2047
|
-
});
|
|
2048
|
-
function initializeMusic({ app, db, wss, origins, publicPath }) {
|
|
2049
|
-
db.track = TrackModel(db);
|
|
2050
|
-
db.playlist = PlaylistModel(db);
|
|
2051
|
-
db.album = AlbumModel(db);
|
|
2052
|
-
db.artist = ArtistModel(db);
|
|
2053
|
-
db.genre = GenreModel(db);
|
|
2054
|
-
db.playHistory = PlayHistoryModel(db);
|
|
2055
|
-
console.log("server publioc is", publicPath);
|
|
2056
|
-
if (app) {
|
|
2057
|
-
setupTracksRoutes(app, db);
|
|
2058
|
-
setupArtistsRoutes(app, db);
|
|
2059
|
-
setupAlbumsRoutes(app, db);
|
|
2060
|
-
setupPlaylistsRoutes(app, db);
|
|
2061
|
-
setupGenresRoutes(app, db);
|
|
2062
|
-
streamRoutes(app, db, origins, publicPath);
|
|
2063
|
-
searchRoutes(app, db);
|
|
2064
|
-
}
|
|
2065
|
-
const { getInstance: getInstance2 } = core_abac.coreabac;
|
|
2066
|
-
const abac2 = getInstance2(db);
|
|
2067
|
-
musicPolicies(abac2);
|
|
2068
|
-
if (wss) {
|
|
2069
|
-
console.log("Music Server: Registering music-streaming WebSocket handler");
|
|
2070
|
-
const handler = StreamingHandler(db);
|
|
2071
|
-
wss.registerModule("music-streaming", handler.handleStreamingMessage);
|
|
2072
|
-
console.log("Music Server: WebSocket handler registered successfully");
|
|
2073
|
-
} else {
|
|
2074
|
-
console.log("Music Server: WebSocket server (wss) not provided, streaming handler not registered");
|
|
2075
|
-
}
|
|
2076
|
-
new core_logger.CacheNamespaced({ ttlSeconds: 60 * 15 });
|
|
2077
|
-
const musicLogger = new core_logger.LoggerNamespaced(db);
|
|
2078
|
-
musicLogger.info("Music module initialized");
|
|
2079
|
-
}
|
|
2080
|
-
const models = {
|
|
2081
|
-
TrackModel,
|
|
2082
|
-
PlaylistModel,
|
|
2083
|
-
AlbumModel,
|
|
2084
|
-
ArtistModel,
|
|
2085
|
-
GenreModel,
|
|
2086
|
-
PlayHistoryModel
|
|
2087
|
-
};
|
|
2088
|
-
const routes = {
|
|
2089
|
-
// NEW CRUD Routes
|
|
2090
|
-
setupTracksRoutes,
|
|
2091
|
-
setupArtistsRoutes,
|
|
2092
|
-
setupAlbumsRoutes,
|
|
2093
|
-
setupPlaylistsRoutes,
|
|
2094
|
-
setupGenresRoutes,
|
|
2095
|
-
// Legacy routes
|
|
2096
|
-
streamRoutes,
|
|
2097
|
-
searchRoutes
|
|
2098
|
-
};
|
|
2099
|
-
const controllers = {
|
|
2100
|
-
// Keep only non-CRUD controllers
|
|
2101
|
-
StreamController,
|
|
2102
|
-
SearchController
|
|
2103
|
-
};
|
|
2104
|
-
const music_server = {
|
|
2105
|
-
initialize: initializeMusic,
|
|
2106
|
-
models,
|
|
2107
|
-
routes,
|
|
2108
|
-
controllers
|
|
2109
|
-
};
|
|
2110
|
-
exports.controllers = controllers;
|
|
2111
|
-
exports.default = music_server;
|
|
2112
|
-
exports.initialize = initializeMusic;
|
|
2113
|
-
exports.models = models;
|
|
2114
|
-
exports.routes = routes;
|