@ozdao/martyrs 0.2.492 → 0.2.493
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/_virtual/index.cjs +4 -4
- package/dist/_virtual/index.js +4 -4
- package/dist/_virtual/index2.cjs +4 -4
- package/dist/_virtual/index2.js +4 -4
- package/dist/builder.cjs +52 -45
- package/dist/builder.js +53 -46
- package/dist/{crud-B-kQw3Z5.cjs → crud-JN_LFj01.cjs} +3 -0
- package/dist/{crud-Cwx5VlSm.js → crud-sE7GLPbj.js} +3 -0
- package/dist/globals.server.cjs +322 -3
- package/dist/globals.server.js +303 -1
- package/dist/{globals.verifier-D68mHEBl.cjs → globals.verifier-C0zj_LLo.cjs} +8 -1
- package/dist/{globals.verifier-CWFz5Gh2.js → globals.verifier-DFqKQ7hK.js} +8 -1
- package/dist/inventory.server.cjs +2 -2
- package/dist/inventory.server.js +2 -2
- package/dist/{main-SZQ1QjeP.js → main-CJm5myDI.js} +631 -607
- package/dist/{main-MzmGbSxs.cjs → main-DTaE01lg.cjs} +6 -6
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.cjs +1 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.js +1 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +33 -7
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +33 -7
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/{Field.vue2.cjs → Field.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Field/{Field.vue2.js.map → Field.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Field/{Field.vue2.js → Field.vue.js} +2 -2
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -0
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue.cjs → Menu.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue.js → Menu.vue2.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Menu/MenuItem.vue.js +2 -2
- package/dist/martyrs/src/components/Menu/MenuItem.vue.js.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +4 -4
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +5 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +5 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/navigation/IconChevronLeft.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/navigation/IconChevronLeft.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/navigation/IconChevronRight.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/navigation/IconChevronRight.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +6 -6
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +22 -15
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +23 -16
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +31 -13
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +33 -15
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +39 -22
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +39 -22
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +385 -125
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +391 -131
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +24 -7
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +25 -8
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +99 -87
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +111 -99
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.cjs +21 -0
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.js +21 -0
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +442 -210
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +445 -213
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +92 -117
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +93 -118
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs +72 -113
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.js +78 -119
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +15 -12
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +15 -12
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +558 -429
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +560 -431
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +146 -284
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +149 -287
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +460 -63
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +462 -65
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +126 -136
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +129 -139
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs +18 -15
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js +18 -15
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs +28 -23
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +29 -24
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/music.client.cjs +3 -6
- package/dist/martyrs/src/modules/music/music.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/music.client.js +9 -12
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +27 -1
- package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.js +27 -1
- package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/artists.cjs +6 -4
- package/dist/martyrs/src/modules/music/store/artists.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/store/artists.js +6 -4
- package/dist/martyrs/src/modules/music/store/artists.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/player.cjs +5 -0
- package/dist/martyrs/src/modules/music/store/player.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/store/player.js +5 -0
- package/dist/martyrs/src/modules/music/store/player.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/tracks.cjs +22 -0
- package/dist/martyrs/src/modules/music/store/tracks.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/store/tracks.js +22 -0
- package/dist/martyrs/src/modules/music/store/tracks.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +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.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.cjs +4 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js +4 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.cjs +37 -70
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js +38 -71
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +2 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +6 -5
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +45 -52
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +46 -53
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/music.server.cjs +124 -31
- package/dist/music.server.js +124 -31
- package/dist/organizations.server.cjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/products.server.cjs +2 -2
- package/dist/products.server.js +2 -2
- package/dist/rents.server.cjs +3 -3
- package/dist/rents.server.js +3 -3
- package/dist/style.css +373 -80
- package/dist/{web-D7lZjuC0.js → web-Dkk0_7TA.js} +1 -1
- package/dist/{web-D-YZ9KHz.cjs → web-stVkXd0l.cjs} +1 -1
- package/package.json +1 -1
- package/src/builder/modes/ssr.prod.js +21 -5
- package/src/builder/rspack/rspack.config.ssr.client.js +40 -40
- package/src/components/Calendar/Calendar.vue +378 -377
- package/src/components/Feed/Feed.vue +28 -2
- package/src/modules/globals/controllers/classes/crud/crud.policies.js +5 -0
- package/src/modules/globals/controllers/classes/globals.validator.js +8 -1
- package/src/modules/globals/views/components/layouts/Client.vue +7 -0
- package/src/modules/music/README.md +8 -0
- package/src/modules/music/components/SidebarMusic.vue +6 -9
- package/src/modules/music/components/cards/AlbumCard.vue +20 -14
- package/src/modules/music/components/cards/ArtistCard.vue +1 -1
- package/src/modules/music/components/cards/PlaylistCard.vue +31 -11
- package/src/modules/music/components/cards/TrackListCard.vue +24 -13
- package/src/modules/music/components/forms/PlaylistForm.vue +417 -107
- package/src/modules/music/components/forms/SearchForm.vue +31 -8
- package/src/modules/music/components/forms/TrackForm.vue +50 -32
- package/src/modules/music/components/layouts/MusicBottomPlayer.vue +17 -0
- package/src/modules/music/components/pages/Album.vue +373 -186
- package/src/modules/music/components/pages/Artist.vue +54 -94
- package/src/modules/music/components/pages/MusicHome.vue +59 -56
- package/src/modules/music/components/pages/MusicLibrary.vue +13 -11
- package/src/modules/music/components/pages/Playlist.vue +495 -379
- package/src/modules/music/components/pages/SearchResults.vue +185 -313
- package/src/modules/music/components/pages/Track.vue +363 -69
- package/src/modules/music/components/player/MusicPlayer.vue +368 -97
- package/src/modules/music/components/player/TrackProgress.vue +76 -22
- package/src/modules/music/components/player/VolumeControl.vue +61 -28
- package/src/modules/music/controllers/search.controller.js +3 -0
- package/src/modules/music/controllers/stream.controller.js +11 -3
- package/src/modules/music/middlewares/playlists.verifier.js +1 -1
- package/src/modules/music/music.client.js +3 -6
- package/src/modules/music/music.server.js +8 -4
- package/src/modules/music/router/music.js +8 -1
- package/src/modules/music/routes/albums.routes.js +37 -5
- package/src/modules/music/routes/artists.routes.js +14 -4
- package/src/modules/music/routes/genres.routes.js +5 -1
- package/src/modules/music/routes/playlists.routes.js +42 -9
- package/src/modules/music/routes/tracks.routes.js +27 -2
- package/src/modules/music/store/artists.js +6 -2
- package/src/modules/music/store/player.js +6 -0
- package/src/modules/music/store/tracks.js +31 -0
- package/src/modules/music/websocket/streaming.handler.js +7 -1
- package/src/modules/rents/controllers/services/rents.services.js +2 -2
- package/src/modules/rents/views/components/pages/Gant/GanttBar.vue +4 -3
- package/src/modules/rents/views/components/pages/Gant/GanttChart.vue +42 -40
- package/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue +3 -1
- package/src/modules/rents/views/components/pages/Rents.vue +60 -56
- package/dist/globals.websocket-DzvdIBf6.js +0 -306
- package/dist/globals.websocket-k6_B1T7k.cjs +0 -322
- package/dist/martyrs/src/components/Field/Field.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.cjs +0 -69
- package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.js +0 -69
- package/dist/martyrs/src/modules/music/components/cards/TrackCard.vue.js.map +0 -1
- package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.cjs +0 -104
- package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.js +0 -104
- package/dist/martyrs/src/modules/music/components/layouts/MusicLayout.vue.js.map +0 -1
- package/src/modules/music/components/cards/TrackCard.vue +0 -86
- package/src/modules/music/components/layouts/MusicLayout.vue +0 -83
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
3
|
-
|
|
4
|
-
<div v-if="isLoading" class="flex-center flex pd-extra">
|
|
5
|
-
<Loader />
|
|
6
|
-
</div>
|
|
7
|
-
|
|
2
|
+
<div class="w-100 pos-relative">
|
|
3
|
+
|
|
8
4
|
<!-- Artist not found -->
|
|
9
|
-
<div v-
|
|
5
|
+
<div v-if="hasLoaded && !artist" class="flex-center flex-column flex pd-extra">
|
|
10
6
|
<h2 class="h2 mn-b-medium">Artist Not Found</h2>
|
|
11
7
|
<p class="p-medium t-transp mn-b-medium">The artist you are looking for doesn't exist or may have been removed.</p>
|
|
12
8
|
<Button
|
|
@@ -20,7 +16,7 @@
|
|
|
20
16
|
</div>
|
|
21
17
|
|
|
22
18
|
<!-- Artist content -->
|
|
23
|
-
<div v-
|
|
19
|
+
<div v-if="artist">
|
|
24
20
|
<!-- Cover image -->
|
|
25
21
|
<div
|
|
26
22
|
class="w-100 t-white h-50vh pos-relative"
|
|
@@ -31,7 +27,7 @@
|
|
|
31
27
|
<!-- Artist actions for edit/manage -->
|
|
32
28
|
<div v-if="isOwner" class="pos-absolute pos-t-medium pos-r-medium z-index-1">
|
|
33
29
|
<Button
|
|
34
|
-
|
|
30
|
+
@click="router.push({ name: 'artist-edit', params: { url: artist.url } })"
|
|
35
31
|
class="bg-main mn-r-small"
|
|
36
32
|
:showSucces="false"
|
|
37
33
|
:showLoader="false"
|
|
@@ -40,7 +36,7 @@
|
|
|
40
36
|
</Button>
|
|
41
37
|
|
|
42
38
|
<Button
|
|
43
|
-
|
|
39
|
+
@click="router.push({ name: 'artist-manage-content', params: { artistId: artist._id } })"
|
|
44
40
|
class="bg-white t-black"
|
|
45
41
|
:showSucces="false"
|
|
46
42
|
:showLoader="false"
|
|
@@ -59,7 +55,7 @@
|
|
|
59
55
|
class="w-100 h-100 object-fit-cover"
|
|
60
56
|
/>
|
|
61
57
|
<div v-else class="w-100 h-100 bg-white flex-center flex">
|
|
62
|
-
<span class="h1">{{ artist
|
|
58
|
+
<span class="h1">{{ artist?.name?.[0] || 'A' }}</span>
|
|
63
59
|
</div>
|
|
64
60
|
</div>
|
|
65
61
|
|
|
@@ -161,7 +157,7 @@
|
|
|
161
157
|
v-for="album in discography.albums"
|
|
162
158
|
:key="album._id"
|
|
163
159
|
class="bg-white pd-small radius-medium flex-v-center flex cursor-pointer hover-bg-white"
|
|
164
|
-
@click="
|
|
160
|
+
@click="router.push({ name: 'album', params: { url: album.url } })"
|
|
165
161
|
>
|
|
166
162
|
<div class="w-3r h-3r radius-small o-hidden mn-r-small">
|
|
167
163
|
<img
|
|
@@ -184,7 +180,7 @@
|
|
|
184
180
|
|
|
185
181
|
<Button
|
|
186
182
|
v-if="discography.albums.length > 4"
|
|
187
|
-
|
|
183
|
+
@click="router.push({ name: 'artist-albums', params: { artistId: artist._id } })"
|
|
188
184
|
class="mn-t-small w-100 bg-white t-black"
|
|
189
185
|
:showSucces="false"
|
|
190
186
|
:showLoader="false"
|
|
@@ -202,7 +198,7 @@
|
|
|
202
198
|
v-for="single in discography.singles"
|
|
203
199
|
:key="single._id"
|
|
204
200
|
class="bg-white pd-small radius-medium flex-v-center flex cursor-pointer hover-bg-white"
|
|
205
|
-
@click="
|
|
201
|
+
@click="router.push({ name: 'track', params: { url: single.url } })"
|
|
206
202
|
>
|
|
207
203
|
<div class="w-3r h-3r radius-small o-hidden mn-r-small">
|
|
208
204
|
<img
|
|
@@ -225,7 +221,7 @@
|
|
|
225
221
|
|
|
226
222
|
<Button
|
|
227
223
|
v-if="discography.singles.length > 5"
|
|
228
|
-
|
|
224
|
+
@click="router.push({ name: 'artist-singles', params: { artistId: artist._id } })"
|
|
229
225
|
class="mn-t-small w-100 bg-white t-black"
|
|
230
226
|
:showSucces="false"
|
|
231
227
|
:showLoader="false"
|
|
@@ -234,6 +230,22 @@
|
|
|
234
230
|
</Button>
|
|
235
231
|
</div>
|
|
236
232
|
|
|
233
|
+
<!-- Popular Tracks Section -->
|
|
234
|
+
<div v-if="artistTracks.length > 0" class="bg-light pd-medium radius-medium mn-b-medium">
|
|
235
|
+
<h2 class="h3 mn-b-medium">Popular Tracks</h2>
|
|
236
|
+
|
|
237
|
+
<div class="bg-white radius-medium o-hidden">
|
|
238
|
+
<TrackListCard
|
|
239
|
+
v-for="(track, index) in artistTracks"
|
|
240
|
+
:key="track._id"
|
|
241
|
+
:track="track"
|
|
242
|
+
:index="index"
|
|
243
|
+
:showAlbum="true"
|
|
244
|
+
:showCover="true"
|
|
245
|
+
/>
|
|
246
|
+
</div>
|
|
247
|
+
</div>
|
|
248
|
+
|
|
237
249
|
<!-- No discography yet -->
|
|
238
250
|
<div
|
|
239
251
|
v-if="discography.albums.length === 0 && discography.singles.length === 0"
|
|
@@ -244,7 +256,7 @@
|
|
|
244
256
|
|
|
245
257
|
<Button
|
|
246
258
|
v-if="isOwner"
|
|
247
|
-
|
|
259
|
+
@click="router.push({ name: 'release-create', query: { artistId: artist._id } })"
|
|
248
260
|
class="mn-t-medium bg-main "
|
|
249
261
|
:showSucces="false"
|
|
250
262
|
:showLoader="false"
|
|
@@ -264,7 +276,7 @@
|
|
|
264
276
|
v-for="relatedArtist in relatedArtists"
|
|
265
277
|
:key="relatedArtist._id"
|
|
266
278
|
class="t-center cursor-pointer"
|
|
267
|
-
@click="
|
|
279
|
+
@click="router.push({ name: 'artist', params: { url: relatedArtist.url } })"
|
|
268
280
|
>
|
|
269
281
|
<div class="w-100 aspect-1x1 radius-medium o-hidden mn-b-small">
|
|
270
282
|
<img
|
|
@@ -274,7 +286,7 @@
|
|
|
274
286
|
class="w-100 h-100 object-fit-cover"
|
|
275
287
|
/>
|
|
276
288
|
<div v-else class="w-100 h-100 bg-light flex-center flex">
|
|
277
|
-
<span>{{ relatedArtist
|
|
289
|
+
<span>{{ relatedArtist?.name?.[0] || 'A' }}</span>
|
|
278
290
|
</div>
|
|
279
291
|
</div>
|
|
280
292
|
|
|
@@ -294,6 +306,7 @@ import { useRouter, useRoute } from 'vue-router';
|
|
|
294
306
|
// Import Martyrs components
|
|
295
307
|
import Button from '@martyrs/src/components/Button/Button.vue';
|
|
296
308
|
import Loader from '@martyrs/src/components/Loader/Loader.vue';
|
|
309
|
+
import TrackListCard from '../cards/TrackListCard.vue';
|
|
297
310
|
|
|
298
311
|
// Import store
|
|
299
312
|
import * as artistsStore from '../../store/artists';
|
|
@@ -309,9 +322,12 @@ const { formatDate } = useGlobalMixins();
|
|
|
309
322
|
const router = useRouter();
|
|
310
323
|
const route = useRoute();
|
|
311
324
|
|
|
325
|
+
// Emits
|
|
326
|
+
const emits = defineEmits(['page-loading', 'page-loaded']);
|
|
327
|
+
|
|
312
328
|
// State
|
|
313
|
-
const isLoading = ref(true);
|
|
314
329
|
const genres = ref([]);
|
|
330
|
+
const hasLoaded = ref(false);
|
|
315
331
|
|
|
316
332
|
// Computed
|
|
317
333
|
const artist = computed(() => {
|
|
@@ -326,6 +342,10 @@ const relatedArtists = computed(() => {
|
|
|
326
342
|
return artistsStore.state.relatedArtists;
|
|
327
343
|
});
|
|
328
344
|
|
|
345
|
+
const artistTracks = computed(() => {
|
|
346
|
+
return artistsStore.state.discography.tracks || [];
|
|
347
|
+
});
|
|
348
|
+
|
|
329
349
|
const isOwner = computed(() => {
|
|
330
350
|
if (!artist.value || !auth.state.user._id) return false;
|
|
331
351
|
|
|
@@ -333,9 +353,18 @@ const isOwner = computed(() => {
|
|
|
333
353
|
return artist.value.creator?.target?._id === auth.state.user._id;
|
|
334
354
|
});
|
|
335
355
|
|
|
356
|
+
// Clear current artist state
|
|
357
|
+
artistsStore.state.currentArtist = null;
|
|
358
|
+
// Clear discography state
|
|
359
|
+
artistsStore.state.discography = {
|
|
360
|
+
albums: [],
|
|
361
|
+
singles: [],
|
|
362
|
+
tracks: []
|
|
363
|
+
};
|
|
364
|
+
artistsStore.state.relatedArtists = [];
|
|
365
|
+
|
|
336
366
|
// Methods
|
|
337
367
|
const fetchArtist = async () => {
|
|
338
|
-
isLoading.value = true;
|
|
339
368
|
try {
|
|
340
369
|
// Get URL from route params
|
|
341
370
|
const url = route.params.url;
|
|
@@ -344,90 +373,21 @@ const fetchArtist = async () => {
|
|
|
344
373
|
}
|
|
345
374
|
|
|
346
375
|
await artistsStore.actions.fetchArtistByUrl(url);
|
|
347
|
-
|
|
348
|
-
// Fetch genre details if we have genre IDs
|
|
349
|
-
if (artist.value?.genre && artist.value.genre.length > 0) {
|
|
350
|
-
await fetchGenres();
|
|
351
|
-
}
|
|
352
376
|
} catch (error) {
|
|
353
377
|
console.error('Error fetching artist:', error);
|
|
354
378
|
globals.actions.setError({
|
|
355
379
|
message: 'Failed to load artist'
|
|
356
380
|
});
|
|
357
|
-
} finally {
|
|
358
|
-
isLoading.value = false;
|
|
359
|
-
}
|
|
360
|
-
};
|
|
361
|
-
|
|
362
|
-
const fetchGenres = async () => {
|
|
363
|
-
try {
|
|
364
|
-
// Assuming genreStore has a method to fetch multiple genres by IDs
|
|
365
|
-
// const fetchedGenres = await genreStore.actions.fetchGenresByIds(artist.value.genre);
|
|
366
|
-
// genres.value = fetchedGenres;
|
|
367
|
-
} catch (error) {
|
|
368
|
-
console.error('Error fetching genres:', error);
|
|
369
381
|
}
|
|
370
382
|
};
|
|
371
383
|
|
|
372
|
-
const editArtist = () => {
|
|
373
|
-
router.push({
|
|
374
|
-
name: 'artist-edit',
|
|
375
|
-
params: { url: artist.value.url }
|
|
376
|
-
});
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
const manageContent = () => {
|
|
380
|
-
// Navigate to a page for managing artist content (albums, tracks, etc.)
|
|
381
|
-
router.push({
|
|
382
|
-
name: 'artist-manage-content',
|
|
383
|
-
params: { artistId: artist.value._id }
|
|
384
|
-
});
|
|
385
|
-
};
|
|
386
|
-
|
|
387
|
-
const navigateToAlbum = (album) => {
|
|
388
|
-
router.push({
|
|
389
|
-
name: 'album',
|
|
390
|
-
params: { url: album.url }
|
|
391
|
-
});
|
|
392
|
-
};
|
|
393
|
-
|
|
394
|
-
const navigateToTrack = (track) => {
|
|
395
|
-
router.push({
|
|
396
|
-
name: 'track',
|
|
397
|
-
params: { url: track.url }
|
|
398
|
-
});
|
|
399
|
-
};
|
|
400
|
-
|
|
401
|
-
const navigateToArtist = (artist) => {
|
|
402
|
-
router.push({
|
|
403
|
-
name: 'artist',
|
|
404
|
-
params: { url: artist.url }
|
|
405
|
-
});
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
const viewAllAlbums = () => {
|
|
409
|
-
router.push({
|
|
410
|
-
name: 'artist-albums',
|
|
411
|
-
params: { artistId: artist.value._id }
|
|
412
|
-
});
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
const viewAllSingles = () => {
|
|
416
|
-
router.push({
|
|
417
|
-
name: 'artist-singles',
|
|
418
|
-
params: { artistId: artist.value._id }
|
|
419
|
-
});
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
const addRelease = () => {
|
|
423
|
-
router.push({
|
|
424
|
-
name: 'release-create',
|
|
425
|
-
query: { artistId: artist.value._id }
|
|
426
|
-
});
|
|
427
|
-
};
|
|
428
|
-
|
|
429
384
|
// Lifecycle hooks
|
|
430
385
|
onMounted(async () => {
|
|
386
|
+
emits('page-loading');
|
|
387
|
+
|
|
431
388
|
await fetchArtist();
|
|
389
|
+
|
|
390
|
+
hasLoaded.value = true;
|
|
391
|
+
emits('page-loaded');
|
|
432
392
|
});
|
|
433
393
|
</script>
|
|
@@ -1,52 +1,13 @@
|
|
|
1
1
|
<!-- components/pages/MusicHome.vue -->
|
|
2
2
|
<template>
|
|
3
3
|
<div class="music-home-page pd-medium mobile:pd-thin">
|
|
4
|
-
|
|
5
|
-
<section class="mn-b-medium">
|
|
6
|
-
<div class="flex-between flex mn-b-small">
|
|
7
|
-
<h2 class="">Featured Playlists</h2>
|
|
8
|
-
<router-link :to="{ path: '/music/playlists' }" class="t-main t-small hover-opacity">See all</router-link>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<Feed
|
|
12
|
-
:showLoadMore="false"
|
|
13
|
-
:LoadMore="false"
|
|
14
|
-
:states="{
|
|
15
|
-
empty: {
|
|
16
|
-
title: 'No Playlists',
|
|
17
|
-
description: 'No featured playlists available at the moment.'
|
|
18
|
-
}
|
|
19
|
-
}"
|
|
20
|
-
:store="{
|
|
21
|
-
read: (options) => playlistsActions.fetchFeaturedPlaylists(options),
|
|
22
|
-
state: playlistsState
|
|
23
|
-
}"
|
|
24
|
-
:options="{
|
|
25
|
-
limit: 5,
|
|
26
|
-
featured: true
|
|
27
|
-
}"
|
|
28
|
-
:skeleton="{
|
|
29
|
-
structure: [
|
|
30
|
-
{ block: 'square', size: 'large', rounded: false },
|
|
31
|
-
{ block: 'text', size: 'medium' },
|
|
32
|
-
{ block: 'text', size: 'small' }
|
|
33
|
-
],
|
|
34
|
-
horizontal: false
|
|
35
|
-
}"
|
|
36
|
-
v-slot="{ items }"
|
|
37
|
-
class="cols-5 mobile:cols-2 gap-small"
|
|
38
|
-
>
|
|
39
|
-
<li v-for="playlist in items" :key="playlist._id">
|
|
40
|
-
<PlaylistCard :playlist="playlist" class="hover-scale-1 transition-cubic-in-out" />
|
|
41
|
-
</li>
|
|
42
|
-
</Feed>
|
|
43
|
-
</section>
|
|
4
|
+
|
|
44
5
|
|
|
45
6
|
<!-- New Releases Section -->
|
|
46
|
-
<section class="mn-b-
|
|
7
|
+
<section class="mn-b-semi">
|
|
47
8
|
<div class="flex-between flex mn-b-small">
|
|
48
|
-
<
|
|
49
|
-
<router-link :to="{ path: '/music/albums' }" class="t-main t-small hover-opacity">See all</router-link>
|
|
9
|
+
<h3 class="">New Releases</h3>
|
|
10
|
+
<!-- <router-link :to="{ path: '/music/albums' }" class="t-main t-small hover-opacity">See all</router-link> -->
|
|
50
11
|
</div>
|
|
51
12
|
|
|
52
13
|
<Feed
|
|
@@ -59,7 +20,7 @@
|
|
|
59
20
|
}
|
|
60
21
|
}"
|
|
61
22
|
:store="{
|
|
62
|
-
read: (options) => albumsActions.
|
|
23
|
+
read: (options) => albumsActions.fetchFeaturedAlbums(options),
|
|
63
24
|
state: albumsState
|
|
64
25
|
}"
|
|
65
26
|
:options="{
|
|
@@ -73,22 +34,24 @@
|
|
|
73
34
|
{ block: 'text', size: 'medium' },
|
|
74
35
|
{ block: 'text', size: 'small' }
|
|
75
36
|
],
|
|
76
|
-
horizontal: false
|
|
37
|
+
horizontal: false,
|
|
38
|
+
class: 'h-max-15r'
|
|
77
39
|
}"
|
|
78
40
|
v-slot="{ items }"
|
|
79
|
-
class="
|
|
41
|
+
class="flex flex-nowrap gap-small o-x-scroll overscroll-behavior-x-contain scroll-behavior-smooth scroll-snap-type-x-mandatory scroll-hide"
|
|
80
42
|
>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
43
|
+
<li v-for="album in items" :key="album._id" class="flex-none scroll-snap-align-start">
|
|
44
|
+
<AlbumCard :album="album" class="w-min-15r transition-cubic-in-out" />
|
|
45
|
+
</li>
|
|
46
|
+
|
|
84
47
|
</Feed>
|
|
85
48
|
</section>
|
|
86
49
|
|
|
87
50
|
<!-- Popular Tracks Section -->
|
|
88
51
|
<section class="mn-b-medium">
|
|
89
52
|
<div class="flex-between flex mn-b-small">
|
|
90
|
-
<
|
|
91
|
-
<router-link :to="{ path: '/music/tracks' }" class="t-main t-small hover-opacity">See all</router-link>
|
|
53
|
+
<h3 class="">Popular Tracks</h3>
|
|
54
|
+
<!-- <router-link :to="{ path: '/music/tracks' }" class="t-main t-small hover-opacity">See all</router-link> -->
|
|
92
55
|
</div>
|
|
93
56
|
|
|
94
57
|
<Feed
|
|
@@ -118,7 +81,7 @@
|
|
|
118
81
|
v-slot="{ items }"
|
|
119
82
|
class="gap-zero"
|
|
120
83
|
>
|
|
121
|
-
<div class="bg-
|
|
84
|
+
<div class="bg-light radius-medium o-hidden">
|
|
122
85
|
<TrackListCard
|
|
123
86
|
v-for="(track, index) in items"
|
|
124
87
|
:key="track._id"
|
|
@@ -130,12 +93,53 @@
|
|
|
130
93
|
</div>
|
|
131
94
|
</Feed>
|
|
132
95
|
</section>
|
|
96
|
+
|
|
97
|
+
<!-- Featured Playlists Section -->
|
|
98
|
+
<section class="mn-b-medium">
|
|
99
|
+
<div class="flex-between flex mn-b-small">
|
|
100
|
+
<h2 class="">Featured Playlists</h2>
|
|
101
|
+
<!-- <router-link :to="{ path: '/music/playlists' }" class="t-main t-small hover-opacity">See all</router-link> -->
|
|
102
|
+
</div>
|
|
103
|
+
|
|
104
|
+
<Feed
|
|
105
|
+
:showLoadMore="false"
|
|
106
|
+
:LoadMore="false"
|
|
107
|
+
:states="{
|
|
108
|
+
empty: {
|
|
109
|
+
title: 'No Playlists',
|
|
110
|
+
description: 'No featured playlists available at the moment.'
|
|
111
|
+
}
|
|
112
|
+
}"
|
|
113
|
+
:store="{
|
|
114
|
+
read: (options) => playlistsActions.fetchFeaturedPlaylists(options),
|
|
115
|
+
state: playlistsState
|
|
116
|
+
}"
|
|
117
|
+
:options="{
|
|
118
|
+
limit: 5,
|
|
119
|
+
featured: true
|
|
120
|
+
}"
|
|
121
|
+
:skeleton="{
|
|
122
|
+
structure: [
|
|
123
|
+
{ block: 'square', size: 'large', rounded: false },
|
|
124
|
+
{ block: 'text', size: 'medium' },
|
|
125
|
+
{ block: 'text', size: 'small' }
|
|
126
|
+
],
|
|
127
|
+
horizontal: false
|
|
128
|
+
}"
|
|
129
|
+
v-slot="{ items }"
|
|
130
|
+
class="cols-5 mobile:cols-2 gap-small"
|
|
131
|
+
>
|
|
132
|
+
<li v-for="playlist in items" :key="playlist._id">
|
|
133
|
+
<PlaylistCard :playlist="playlist" class="hover-scale-1 transition-cubic-in-out" />
|
|
134
|
+
</li>
|
|
135
|
+
</Feed>
|
|
136
|
+
</section>
|
|
133
137
|
|
|
134
138
|
<!-- Top Artists Section -->
|
|
135
139
|
<section>
|
|
136
140
|
<div class="flex-between flex mn-b-small">
|
|
137
141
|
<h2 class="">Top Artists</h2>
|
|
138
|
-
<router-link :to="{ path: '/music/artists' }" class="t-main t-small hover-opacity">See all</router-link>
|
|
142
|
+
<!-- <router-link :to="{ path: '/music/artists' }" class="t-main t-small hover-opacity">See all</router-link> -->
|
|
139
143
|
</div>
|
|
140
144
|
|
|
141
145
|
<Feed
|
|
@@ -165,8 +169,8 @@
|
|
|
165
169
|
v-slot="{ items }"
|
|
166
170
|
class="cols-6 mobile:cols-3 gap-small"
|
|
167
171
|
>
|
|
168
|
-
<li v-for="artist in items" :key="artist._id">
|
|
169
|
-
<ArtistCard :artist="artist" class="hover-scale-1 transition-cubic-in-out" />
|
|
172
|
+
<li class="flex-child-default w-100" v-for="artist in items" :key="artist._id">
|
|
173
|
+
<ArtistCard :artist="artist" class="hover-scale-1 flex-child-default transition-cubic-in-out" />
|
|
170
174
|
</li>
|
|
171
175
|
</Feed>
|
|
172
176
|
</section>
|
|
@@ -179,7 +183,6 @@ import Feed from '@martyrs/src/components/Feed/Feed.vue';
|
|
|
179
183
|
import PlaylistCard from '../cards/PlaylistCard.vue';
|
|
180
184
|
import AlbumCard from '../cards/AlbumCard.vue';
|
|
181
185
|
import ArtistCard from '../cards/ArtistCard.vue';
|
|
182
|
-
import TrackCard from '../cards/TrackCard.vue';
|
|
183
186
|
import TrackListCard from '../cards/TrackListCard.vue';
|
|
184
187
|
|
|
185
188
|
// Store imports
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
|
|
39
39
|
<Feed
|
|
40
40
|
:store="{
|
|
41
|
-
read: (options) => playlistsActions.fetchPlaylists(
|
|
41
|
+
read: (options) => playlistsActions.fetchPlaylists(options),
|
|
42
42
|
state: playlistsState
|
|
43
43
|
}"
|
|
44
|
-
:options="{
|
|
44
|
+
:options="{ creator: authState.user._id }"
|
|
45
45
|
:states="{
|
|
46
46
|
empty: {
|
|
47
47
|
title: 'No playlists yet',
|
|
@@ -172,14 +172,16 @@
|
|
|
172
172
|
class="gap-medium"
|
|
173
173
|
>
|
|
174
174
|
<template #default="{ items }">
|
|
175
|
-
<
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
175
|
+
<div class="bg-light radius-medium o-hidden">
|
|
176
|
+
<TrackListCard
|
|
177
|
+
v-for="(track, index) in items"
|
|
178
|
+
:key="track._id"
|
|
179
|
+
:track="track"
|
|
180
|
+
:index="index"
|
|
181
|
+
:showAlbum="true"
|
|
182
|
+
:showCover="true"
|
|
183
|
+
/>
|
|
184
|
+
</div>
|
|
183
185
|
</template>
|
|
184
186
|
</Feed>
|
|
185
187
|
</div>
|
|
@@ -191,7 +193,7 @@
|
|
|
191
193
|
import { ref } from 'vue';
|
|
192
194
|
import { useRouter } from 'vue-router';
|
|
193
195
|
import Feed from '@martyrs/src/components/Feed/Feed.vue';
|
|
194
|
-
import
|
|
196
|
+
import TrackListCard from '../cards/TrackListCard.vue';
|
|
195
197
|
import AlbumCard from '../cards/AlbumCard.vue';
|
|
196
198
|
import PlaylistCard from '../cards/PlaylistCard.vue';
|
|
197
199
|
import ArtistCard from '../cards/ArtistCard.vue';
|