@ozdao/martyrs 0.2.495 → 0.2.497
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 +43 -42
- package/dist/builder.js +45 -44
- package/dist/globals.server.cjs +13 -2
- package/dist/globals.server.js +13 -2
- package/dist/martyrs/src/components/Block/Block.vue.cjs +1 -1
- package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
- package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +2 -2
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- 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/Select/{Select.vue2.cjs → Select.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Select/{Select.vue2.js.map → Select.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.cjs → Tooltip.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js.map → Tooltip.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Tooltip/{Tooltip.vue2.js → Tooltip.vue.js} +2 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +1 -0
- 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/ProfileEditAccount.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
- 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/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- 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/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.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 +3 -3
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- 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/CardHeader.vue.cjs +3 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +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/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +95 -0
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +95 -0
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js.map +1 -0
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +87 -140
- 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 +97 -150
- 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 +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +86 -136
- 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 +102 -152
- 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 +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.cjs +147 -159
- 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 +172 -184
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +14 -19
- 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 +15 -20
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +4 -4
- package/dist/martyrs/src/modules/music/router/music.js +4 -4
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- 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 +2 -2
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- 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/OrganizationEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.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 +2 -2
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.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/Map.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
- 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/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
- package/dist/martyrs.css +1 -1
- package/dist/style.css +98 -81
- package/package.json +1 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +41 -41
- package/src/modules/globals/controllers/classes/globals.websocket.js +11 -2
- package/src/modules/music/README.md +2 -0
- package/src/modules/music/components/cards/ArtistCardSmall.vue +92 -0
- package/src/modules/music/components/pages/Album.vue +20 -56
- package/src/modules/music/components/pages/Artist.vue +1 -1
- package/src/modules/music/components/pages/Playlist.vue +26 -44
- package/src/modules/music/components/pages/Track.vue +51 -74
- package/src/modules/music/components/player/MusicPlayer.vue +24 -21
- package/src/modules/music/components/player/TrackProgress.vue +9 -8
- package/src/modules/music/components/player/VolumeControl.vue +3 -2
- package/src/styles/base/all.scss +1 -0
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +0 -1
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed, ref, onMounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, createElementVNode, withCtx, toDisplayString, createTextVNode, Fragment, renderList } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
|
-
import _sfc_main$1 from "../../../../components/Button/Button.
|
|
3
|
+
import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
|
|
4
4
|
import Loader from "../../../../components/Loader/Loader.vue2.js";
|
|
5
5
|
import Media from "../../../../components/Media/Media.vue.js";
|
|
6
|
-
import _sfc_main$
|
|
7
|
-
import _sfc_main$
|
|
8
|
-
import _sfc_main$
|
|
6
|
+
import _sfc_main$6 from "../../../../components/Dropdown/Dropdown.vue2.js";
|
|
7
|
+
import _sfc_main$d from "../../../../components/Popup/Popup.vue.js";
|
|
8
|
+
import _sfc_main$b from "../../../../components/Feed/Feed.vue.js";
|
|
9
9
|
import _sfc_main$2 from "../../../icons/navigation/IconPlay.vue.js";
|
|
10
|
-
import _sfc_main$
|
|
11
|
-
import _sfc_main$
|
|
12
|
-
import _sfc_main$
|
|
10
|
+
import _sfc_main$3 from "../../../icons/navigation/IconPause.vue.js";
|
|
11
|
+
import _sfc_main$5 from "../../../icons/navigation/IconLike.vue.js";
|
|
12
|
+
import _sfc_main$7 from "../../../icons/navigation/IconEllipsis.vue.js";
|
|
13
|
+
import _sfc_main$4 from "../../../icons/navigation/IconAdd.vue.js";
|
|
13
14
|
import IconClock from "../../../icons/entities/IconTime.vue.js";
|
|
14
15
|
import _sfc_main$8 from "../../../icons/entities/IconCalendar.vue.js";
|
|
15
|
-
import _sfc_main$
|
|
16
|
-
import _sfc_main$
|
|
17
|
-
import _sfc_main$
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import { state as
|
|
16
|
+
import _sfc_main$9 from "../../../icons/navigation/IconCheckmark.vue.js";
|
|
17
|
+
import _sfc_main$a from "../../../icons/actions/IconShow.vue.js";
|
|
18
|
+
import _sfc_main$c from "../cards/TrackListCard.vue.js";
|
|
19
|
+
import ArtistCardSmall from "../cards/ArtistCardSmall.vue.js";
|
|
20
|
+
import { state as state$1, actions } from "../../store/tracks.js";
|
|
21
|
+
import { state, actions as actions$1 } from "../../store/player.js";
|
|
22
|
+
import { state as state$2 } from "../../../auth/views/store/auth.js";
|
|
21
23
|
const _hoisted_1 = { class: "track-page pd-small" };
|
|
22
24
|
const _hoisted_2 = {
|
|
23
25
|
key: 0,
|
|
@@ -32,71 +34,66 @@ const _hoisted_4 = {
|
|
|
32
34
|
class: "track-content cols-2-fit-content mobile:cols-1 gap-big"
|
|
33
35
|
};
|
|
34
36
|
const _hoisted_5 = { class: "pos-sticky pos-t-0 mobile:pos-relative track-cover-section" };
|
|
35
|
-
const _hoisted_6 = { class: "cover-container relative mn-b-medium radius-big
|
|
36
|
-
const _hoisted_7 = { class: "
|
|
37
|
-
const _hoisted_8 = { class: "
|
|
38
|
-
const _hoisted_9 = { class: "
|
|
39
|
-
const _hoisted_10 = { class: "
|
|
40
|
-
const _hoisted_11 = { class: "
|
|
41
|
-
const _hoisted_12 = { class: "
|
|
42
|
-
const _hoisted_13 = { class: "
|
|
43
|
-
const _hoisted_14 = {
|
|
37
|
+
const _hoisted_6 = { class: "cover-container pos-relative mn-b-medium radius-big o-hidden" };
|
|
38
|
+
const _hoisted_7 = { class: "cover-overlay w-100 h-100 pos-absolute pos-t-0 pos-r-0 bg-black-transp-40 flex flex-center" };
|
|
39
|
+
const _hoisted_8 = { class: "stats-grid grid cols-2 gap-small" };
|
|
40
|
+
const _hoisted_9 = { class: "stat-card bg-light pd-medium radius-medium t-center" };
|
|
41
|
+
const _hoisted_10 = { class: "mn-b-thin" };
|
|
42
|
+
const _hoisted_11 = { class: "stat-card bg-light pd-medium radius-medium t-center" };
|
|
43
|
+
const _hoisted_12 = { class: "mn-b-thin" };
|
|
44
|
+
const _hoisted_13 = { class: "track-details-section" };
|
|
45
|
+
const _hoisted_14 = { class: "h1 mn-b-medium" };
|
|
46
|
+
const _hoisted_15 = { class: "flex gap-small mn-b-medium" };
|
|
47
|
+
const _hoisted_16 = { class: "dropdown-menu bg-dark pd-small radius-medium shadow-big mn-t-thin" };
|
|
48
|
+
const _hoisted_17 = { class: "artists-section mn-b-medium" };
|
|
49
|
+
const _hoisted_18 = {
|
|
44
50
|
key: 0,
|
|
45
|
-
class: "
|
|
51
|
+
class: "t-medium mn-b-small"
|
|
46
52
|
};
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
class: "w-4r h-4r radius-full bg-primary flex-center"
|
|
55
|
-
};
|
|
56
|
-
const _hoisted_21 = { class: "flex items-center gap-thin" };
|
|
57
|
-
const _hoisted_22 = { class: "t-large" };
|
|
58
|
-
const _hoisted_23 = { class: "metadata-grid grid cols-2 gap-small mn-b-big" };
|
|
59
|
-
const _hoisted_24 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
60
|
-
const _hoisted_25 = { class: "icon-wrapper bg-primary-transp-20 w-3r h-3r radius-small flex-center" };
|
|
53
|
+
const _hoisted_19 = { class: "flex flex-col gap-small" };
|
|
54
|
+
const _hoisted_20 = { class: "metadata-grid grid cols-2 gap-small mn-b-medium" };
|
|
55
|
+
const _hoisted_21 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
56
|
+
const _hoisted_22 = { class: "t-medium" };
|
|
57
|
+
const _hoisted_23 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
58
|
+
const _hoisted_24 = { class: "t-medium" };
|
|
59
|
+
const _hoisted_25 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
61
60
|
const _hoisted_26 = { class: "t-medium" };
|
|
62
61
|
const _hoisted_27 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
63
|
-
const _hoisted_28 = { class: "
|
|
64
|
-
const _hoisted_29 = {
|
|
65
|
-
const _hoisted_30 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
66
|
-
const _hoisted_31 = { class: "icon-wrapper bg-success-transp-20 w-3r h-3r radius-small flex-center" };
|
|
67
|
-
const _hoisted_32 = { class: "t-medium t-success" };
|
|
68
|
-
const _hoisted_33 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
69
|
-
const _hoisted_34 = { class: "icon-wrapper bg-primary-transp-20 w-3r h-3r radius-small flex-center" };
|
|
70
|
-
const _hoisted_35 = { class: "t-medium" };
|
|
71
|
-
const _hoisted_36 = {
|
|
62
|
+
const _hoisted_28 = { class: "t-medium" };
|
|
63
|
+
const _hoisted_29 = {
|
|
72
64
|
key: 0,
|
|
73
|
-
class: "
|
|
65
|
+
class: "t-medium mn-b-small"
|
|
74
66
|
};
|
|
75
|
-
const
|
|
76
|
-
const _hoisted_38 = {
|
|
67
|
+
const _hoisted_30 = {
|
|
77
68
|
key: 1,
|
|
78
|
-
class: "
|
|
69
|
+
class: "album-card bg-light pd-medium radius-medium mn-b-medium"
|
|
79
70
|
};
|
|
80
|
-
const
|
|
81
|
-
const
|
|
71
|
+
const _hoisted_31 = { class: "t-medium" };
|
|
72
|
+
const _hoisted_32 = {
|
|
82
73
|
key: 2,
|
|
83
|
-
class: "
|
|
74
|
+
class: "tags-section mn-b-medium"
|
|
84
75
|
};
|
|
85
|
-
const
|
|
86
|
-
const
|
|
76
|
+
const _hoisted_33 = { class: "flex gap-thin flex-wrap" };
|
|
77
|
+
const _hoisted_34 = {
|
|
87
78
|
key: 3,
|
|
79
|
+
class: "description-section bg-light pd-medium radius-medium mn-b-medium"
|
|
80
|
+
};
|
|
81
|
+
const _hoisted_35 = { class: "t-transp" };
|
|
82
|
+
const _hoisted_36 = {
|
|
83
|
+
key: 4,
|
|
88
84
|
class: "lyrics-section bg-light pd-medium radius-medium"
|
|
89
85
|
};
|
|
90
|
-
const
|
|
91
|
-
const
|
|
86
|
+
const _hoisted_37 = { class: "t-transp t-small" };
|
|
87
|
+
const _hoisted_38 = {
|
|
92
88
|
key: 3,
|
|
93
89
|
class: "related-section mn-t-big"
|
|
94
90
|
};
|
|
95
|
-
const
|
|
91
|
+
const _hoisted_39 = { class: "bg-light radius-medium o-hidden" };
|
|
96
92
|
const _sfc_main = {
|
|
97
93
|
__name: "Track",
|
|
98
94
|
emits: ["page-loading", "page-loaded"],
|
|
99
95
|
setup(__props, { emit: __emit }) {
|
|
96
|
+
const isPlaying = computed(() => state.isPlaying);
|
|
100
97
|
const route = useRoute();
|
|
101
98
|
const router = useRouter();
|
|
102
99
|
const emits = __emit;
|
|
@@ -105,12 +102,12 @@ const _sfc_main = {
|
|
|
105
102
|
const showAddToPlaylistModal = ref(false);
|
|
106
103
|
const isFavorite = ref(false);
|
|
107
104
|
const isFollowingArtist = ref(false);
|
|
108
|
-
state.currentTrack = null;
|
|
109
|
-
state.relatedTracks = [];
|
|
110
|
-
const track = computed(() => state.currentTrack);
|
|
111
|
-
const relatedTracks = computed(() => state.relatedTracks || []);
|
|
105
|
+
state$1.currentTrack = null;
|
|
106
|
+
state$1.relatedTracks = [];
|
|
107
|
+
const track = computed(() => state$1.currentTrack);
|
|
108
|
+
const relatedTracks = computed(() => state$1.relatedTracks || []);
|
|
112
109
|
const isOwner = computed(() => {
|
|
113
|
-
return track.value?.owner?.target === state$
|
|
110
|
+
return track.value?.owner?.target === state$2.user?._id;
|
|
114
111
|
});
|
|
115
112
|
const formatDuration = (seconds) => {
|
|
116
113
|
if (!seconds) return "0:00";
|
|
@@ -203,26 +200,47 @@ const _sfc_main = {
|
|
|
203
200
|
url: track.value.coverUrl || track.value.album && track.value.album.coverUrl || "/logo/logo-placeholder.jpg",
|
|
204
201
|
alt: track.value.title,
|
|
205
202
|
class: "aspect-1x1 w-100 radius-medium o-hidden"
|
|
206
|
-
}, null, 8, ["url", "alt"])
|
|
203
|
+
}, null, 8, ["url", "alt"]),
|
|
204
|
+
createElementVNode("div", _hoisted_7, [
|
|
205
|
+
createVNode(_sfc_main$1, {
|
|
206
|
+
onClick: playTrack,
|
|
207
|
+
color: "white",
|
|
208
|
+
size: "big",
|
|
209
|
+
class: "w-5r h-5r radius-big bg-main shadow-big hover-scale-110"
|
|
210
|
+
}, {
|
|
211
|
+
default: withCtx(() => [
|
|
212
|
+
!isPlaying.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
213
|
+
key: 0,
|
|
214
|
+
fill: "rgb(var(--white))",
|
|
215
|
+
class: "i-medium"
|
|
216
|
+
})) : (openBlock(), createBlock(_sfc_main$3, {
|
|
217
|
+
key: 1,
|
|
218
|
+
fill: "rgb(var(--white))",
|
|
219
|
+
class: "i-medium"
|
|
220
|
+
}))
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
})
|
|
224
|
+
])
|
|
207
225
|
]),
|
|
208
|
-
createElementVNode("div",
|
|
209
|
-
createElementVNode("div",
|
|
210
|
-
createElementVNode("div",
|
|
226
|
+
createElementVNode("div", _hoisted_8, [
|
|
227
|
+
createElementVNode("div", _hoisted_9, [
|
|
228
|
+
createElementVNode("div", _hoisted_10, toDisplayString(formatNumber(track.value.playCount)), 1),
|
|
211
229
|
_cache[4] || (_cache[4] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Plays", -1))
|
|
212
230
|
]),
|
|
213
|
-
createElementVNode("div",
|
|
214
|
-
createElementVNode("div",
|
|
231
|
+
createElementVNode("div", _hoisted_11, [
|
|
232
|
+
createElementVNode("div", _hoisted_12, toDisplayString(formatNumber(track.value.views)), 1),
|
|
215
233
|
_cache[5] || (_cache[5] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Views", -1))
|
|
216
234
|
])
|
|
217
235
|
])
|
|
218
236
|
]),
|
|
219
|
-
createElementVNode("div",
|
|
220
|
-
createElementVNode("div",
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
]),
|
|
224
|
-
createElementVNode("h1",
|
|
225
|
-
createElementVNode("div",
|
|
237
|
+
createElementVNode("div", _hoisted_13, [
|
|
238
|
+
_cache[19] || (_cache[19] = createElementVNode("div", { class: "flex items-center gap-small mn-b-small" }, [
|
|
239
|
+
createElementVNode("span", { class: "bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase" }, "Single"),
|
|
240
|
+
createElementVNode("span", { class: "bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase" }, "Explicit")
|
|
241
|
+
], -1)),
|
|
242
|
+
createElementVNode("h1", _hoisted_14, toDisplayString(track.value.title), 1),
|
|
243
|
+
createElementVNode("div", _hoisted_15, [
|
|
226
244
|
createVNode(_sfc_main$1, {
|
|
227
245
|
onClick: playTrack,
|
|
228
246
|
color: "primary",
|
|
@@ -230,11 +248,16 @@ const _sfc_main = {
|
|
|
230
248
|
class: "flex-1 t-white bg-black radius-thin flex-center gap-thin"
|
|
231
249
|
}, {
|
|
232
250
|
default: withCtx(() => [
|
|
233
|
-
|
|
251
|
+
!isPlaying.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
252
|
+
key: 0,
|
|
234
253
|
fill: "rgb(var(--white))",
|
|
235
254
|
class: "i-medium"
|
|
236
|
-
}),
|
|
237
|
-
|
|
255
|
+
})) : (openBlock(), createBlock(_sfc_main$3, {
|
|
256
|
+
key: 1,
|
|
257
|
+
fill: "rgb(var(--white))",
|
|
258
|
+
class: "i-medium"
|
|
259
|
+
})),
|
|
260
|
+
createTextVNode(" " + toDisplayString(!isPlaying.value ? "Play" : "Pause"), 1)
|
|
238
261
|
]),
|
|
239
262
|
_: 1
|
|
240
263
|
}),
|
|
@@ -245,8 +268,8 @@ const _sfc_main = {
|
|
|
245
268
|
class: "flex-1 bg-light radius-thin flex-center gap-thin"
|
|
246
269
|
}, {
|
|
247
270
|
default: withCtx(() => [
|
|
248
|
-
createVNode(_sfc_main$
|
|
249
|
-
_cache[
|
|
271
|
+
createVNode(_sfc_main$4, { class: "i-medium" }),
|
|
272
|
+
_cache[6] || (_cache[6] = createTextVNode(" Add to Queue "))
|
|
250
273
|
]),
|
|
251
274
|
_: 1
|
|
252
275
|
}),
|
|
@@ -257,16 +280,16 @@ const _sfc_main = {
|
|
|
257
280
|
class: "flex-1 bg-light radius-thin flex-center gap-thin"
|
|
258
281
|
}, {
|
|
259
282
|
default: withCtx(() => [
|
|
260
|
-
createVNode(_sfc_main$
|
|
283
|
+
createVNode(_sfc_main$5, {
|
|
261
284
|
class: "i-medium",
|
|
262
|
-
fill: isFavorite.value
|
|
285
|
+
fill: isFavorite.value ? "rgb(var(--main)" : "rgb(var(--black)"
|
|
263
286
|
}, null, 8, ["fill"]),
|
|
264
287
|
createTextVNode(" " + toDisplayString(isFavorite.value ? "Liked" : "Like"), 1)
|
|
265
288
|
]),
|
|
266
289
|
_: 1
|
|
267
290
|
}),
|
|
268
|
-
createVNode(_sfc_main$
|
|
269
|
-
label: { component: _sfc_main$
|
|
291
|
+
createVNode(_sfc_main$6, {
|
|
292
|
+
label: { component: _sfc_main$7, class: "bg-light radius-thin pd-thin i-big" },
|
|
270
293
|
modelValue: showDropdown.value,
|
|
271
294
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showDropdown.value = $event),
|
|
272
295
|
class: "relative"
|
|
@@ -278,20 +301,20 @@ const _sfc_main = {
|
|
|
278
301
|
class: "w-3r h-3r radius-full"
|
|
279
302
|
}, {
|
|
280
303
|
default: withCtx(() => [
|
|
281
|
-
createVNode(_sfc_main$
|
|
304
|
+
createVNode(_sfc_main$7, { class: "w-1-25r h-1-25r" })
|
|
282
305
|
]),
|
|
283
306
|
_: 1
|
|
284
307
|
})
|
|
285
308
|
]),
|
|
286
309
|
default: withCtx(() => [
|
|
287
|
-
createElementVNode("div",
|
|
310
|
+
createElementVNode("div", _hoisted_16, [
|
|
288
311
|
createVNode(_sfc_main$1, {
|
|
289
312
|
onClick: _cache[0] || (_cache[0] = ($event) => showAddToPlaylistModal.value = true),
|
|
290
313
|
color: "transp",
|
|
291
314
|
size: "small",
|
|
292
315
|
class: "w-100 justify-start"
|
|
293
316
|
}, {
|
|
294
|
-
default: withCtx(() => _cache[
|
|
317
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
295
318
|
createTextVNode(" Add to Playlist ")
|
|
296
319
|
])),
|
|
297
320
|
_: 1
|
|
@@ -302,20 +325,20 @@ const _sfc_main = {
|
|
|
302
325
|
size: "small",
|
|
303
326
|
class: "w-100 justify-start"
|
|
304
327
|
}, {
|
|
305
|
-
default: withCtx(() => _cache[
|
|
328
|
+
default: withCtx(() => _cache[8] || (_cache[8] = [
|
|
306
329
|
createTextVNode(" Copy Link ")
|
|
307
330
|
])),
|
|
308
331
|
_: 1
|
|
309
332
|
}),
|
|
310
333
|
isOwner.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
311
|
-
_cache[
|
|
334
|
+
_cache[11] || (_cache[11] = createElementVNode("hr", { class: "mn-v-thin border-dark-transp-10" }, null, -1)),
|
|
312
335
|
createVNode(_sfc_main$1, {
|
|
313
336
|
onClick: editTrack,
|
|
314
337
|
color: "transp",
|
|
315
338
|
size: "small",
|
|
316
339
|
class: "w-100 justify-start"
|
|
317
340
|
}, {
|
|
318
|
-
default: withCtx(() => _cache[
|
|
341
|
+
default: withCtx(() => _cache[9] || (_cache[9] = [
|
|
319
342
|
createTextVNode(" Edit Track ")
|
|
320
343
|
])),
|
|
321
344
|
_: 1
|
|
@@ -326,7 +349,7 @@ const _sfc_main = {
|
|
|
326
349
|
size: "small",
|
|
327
350
|
class: "w-100 justify-start"
|
|
328
351
|
}, {
|
|
329
|
-
default: withCtx(() => _cache[
|
|
352
|
+
default: withCtx(() => _cache[10] || (_cache[10] = [
|
|
330
353
|
createTextVNode(" Delete Track ")
|
|
331
354
|
])),
|
|
332
355
|
_: 1
|
|
@@ -337,131 +360,96 @@ const _sfc_main = {
|
|
|
337
360
|
_: 1
|
|
338
361
|
}, 8, ["label", "modelValue"])
|
|
339
362
|
]),
|
|
340
|
-
createElementVNode("div",
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
class: "w-4r h-4r radius-full object-cover"
|
|
352
|
-
}, null, 8, ["src", "alt"])) : (openBlock(), createElementBlock("div", _hoisted_20, toDisplayString(track.value.artist.name.charAt(0)), 1))
|
|
353
|
-
]),
|
|
354
|
-
createElementVNode("div", null, [
|
|
355
|
-
createElementVNode("div", _hoisted_21, [
|
|
356
|
-
createElementVNode("span", _hoisted_22, toDisplayString(track.value.artist.name), 1),
|
|
357
|
-
track.value.artist.isVerified ? (openBlock(), createBlock(_sfc_main$7, {
|
|
358
|
-
key: 0,
|
|
359
|
-
class: "w-1r h-1r t-primary"
|
|
360
|
-
})) : createCommentVNode("", true)
|
|
361
|
-
]),
|
|
362
|
-
_cache[14] || (_cache[14] = createElementVNode("span", { class: "t-small t-transp" }, "Artist", -1))
|
|
363
|
-
])
|
|
364
|
-
]),
|
|
365
|
-
_: 1
|
|
366
|
-
}, 8, ["to"]),
|
|
367
|
-
!isOwner.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
368
|
-
key: 0,
|
|
369
|
-
onClick: toggleFollowArtist,
|
|
370
|
-
color: isFollowingArtist.value ? "primary" : "transp",
|
|
371
|
-
size: "small"
|
|
372
|
-
}, {
|
|
373
|
-
default: withCtx(() => [
|
|
374
|
-
createTextVNode(toDisplayString(isFollowingArtist.value ? "Following" : "Follow"), 1)
|
|
375
|
-
]),
|
|
376
|
-
_: 1
|
|
377
|
-
}, 8, ["color"])) : createCommentVNode("", true)
|
|
363
|
+
createElementVNode("div", _hoisted_17, [
|
|
364
|
+
track.value.artist ? (openBlock(), createElementBlock("h3", _hoisted_18, "Artist")) : createCommentVNode("", true),
|
|
365
|
+
createElementVNode("div", _hoisted_19, [
|
|
366
|
+
(openBlock(), createBlock(ArtistCardSmall, {
|
|
367
|
+
key: track.value.artist._id,
|
|
368
|
+
artist: track.value.artist,
|
|
369
|
+
"is-following": isFollowingArtist.value,
|
|
370
|
+
"show-follow-button": !isOwner.value,
|
|
371
|
+
onToggleFollow: toggleFollowArtist
|
|
372
|
+
}, null, 8, ["artist", "is-following", "show-follow-button"]))
|
|
373
|
+
])
|
|
378
374
|
]),
|
|
379
|
-
createElementVNode("
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
]),
|
|
375
|
+
_cache[20] || (_cache[20] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Metadata", -1)),
|
|
376
|
+
createElementVNode("div", _hoisted_20, [
|
|
377
|
+
createElementVNode("div", _hoisted_21, [
|
|
378
|
+
createVNode(_sfc_main$8, { class: "i-regular t-primary" }),
|
|
384
379
|
createElementVNode("div", null, [
|
|
385
|
-
_cache[
|
|
386
|
-
createElementVNode("div",
|
|
380
|
+
_cache[12] || (_cache[12] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Released", -1)),
|
|
381
|
+
createElementVNode("div", _hoisted_22, toDisplayString(formatDate(track.value.releaseDate)), 1)
|
|
387
382
|
])
|
|
388
383
|
]),
|
|
389
|
-
createElementVNode("div",
|
|
390
|
-
|
|
391
|
-
createVNode(_sfc_main$8, { class: "i-regular t-primary" })
|
|
392
|
-
]),
|
|
384
|
+
createElementVNode("div", _hoisted_23, [
|
|
385
|
+
createVNode(IconClock, { class: "i-regular t-primary" }),
|
|
393
386
|
createElementVNode("div", null, [
|
|
394
|
-
_cache[
|
|
395
|
-
createElementVNode("div",
|
|
387
|
+
_cache[13] || (_cache[13] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Duration", -1)),
|
|
388
|
+
createElementVNode("div", _hoisted_24, toDisplayString(formatDuration(track.value.duration)), 1)
|
|
396
389
|
])
|
|
397
390
|
]),
|
|
398
|
-
createElementVNode("div",
|
|
399
|
-
|
|
400
|
-
createVNode(_sfc_main$7, { class: "i-regular t-success" })
|
|
401
|
-
]),
|
|
391
|
+
createElementVNode("div", _hoisted_25, [
|
|
392
|
+
createVNode(_sfc_main$9, { class: "i-regular t-primary" }),
|
|
402
393
|
createElementVNode("div", null, [
|
|
403
|
-
_cache[
|
|
404
|
-
createElementVNode("div",
|
|
394
|
+
_cache[14] || (_cache[14] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Status", -1)),
|
|
395
|
+
createElementVNode("div", _hoisted_26, toDisplayString(track.value.status), 1)
|
|
405
396
|
])
|
|
406
397
|
]),
|
|
407
|
-
createElementVNode("div",
|
|
408
|
-
|
|
409
|
-
createVNode(_sfc_main$9, { class: "i-regular t-primary" })
|
|
410
|
-
]),
|
|
398
|
+
createElementVNode("div", _hoisted_27, [
|
|
399
|
+
createVNode(_sfc_main$a, { class: "i-regular t-primary" }),
|
|
411
400
|
createElementVNode("div", null, [
|
|
412
|
-
_cache[
|
|
413
|
-
createElementVNode("div",
|
|
401
|
+
_cache[15] || (_cache[15] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Visibility", -1)),
|
|
402
|
+
createElementVNode("div", _hoisted_28, toDisplayString(track.value.isPublic ? "Public" : "Private"), 1)
|
|
414
403
|
])
|
|
415
404
|
])
|
|
416
405
|
]),
|
|
417
|
-
track.value.album ? (openBlock(), createElementBlock("
|
|
418
|
-
|
|
406
|
+
track.value.album ? (openBlock(), createElementBlock("h3", _hoisted_29, "From Album")) : createCommentVNode("", true),
|
|
407
|
+
track.value.album ? (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
419
408
|
createVNode(_component_router_link, {
|
|
420
409
|
to: `/album/${track.value.album.url}`,
|
|
421
|
-
class: "flex
|
|
410
|
+
class: "flex flex-v-center gap-thin hover-opacity"
|
|
422
411
|
}, {
|
|
423
412
|
default: withCtx(() => [
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
src: track.value.album.coverUrl,
|
|
413
|
+
createVNode(Media, {
|
|
414
|
+
url: track.value.album.coverArt || "/logo/logo-placeholder.jpg",
|
|
427
415
|
alt: track.value.album.title,
|
|
428
|
-
class: "w-3r h-3r radius-
|
|
429
|
-
}, null, 8, ["
|
|
430
|
-
createElementVNode("span",
|
|
416
|
+
class: "w-3r h-3r radius-thin o-hidden object-cover"
|
|
417
|
+
}, null, 8, ["url", "alt"]),
|
|
418
|
+
createElementVNode("span", _hoisted_31, toDisplayString(track.value.album.title), 1)
|
|
431
419
|
]),
|
|
432
420
|
_: 1
|
|
433
421
|
}, 8, ["to"])
|
|
434
422
|
])) : createCommentVNode("", true),
|
|
435
|
-
track.value.genre && track.value.genre.length || track.value.tags && track.value.tags.length ? (openBlock(), createElementBlock("div",
|
|
436
|
-
_cache[
|
|
437
|
-
createElementVNode("div",
|
|
423
|
+
track.value.genre && track.value.genre.length || track.value.tags && track.value.tags.length ? (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
424
|
+
_cache[16] || (_cache[16] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Genres & Tags", -1)),
|
|
425
|
+
createElementVNode("div", _hoisted_33, [
|
|
438
426
|
(openBlock(true), createElementBlock(Fragment, null, renderList(track.value.genre, (genre) => {
|
|
439
427
|
return openBlock(), createElementBlock("span", {
|
|
440
428
|
key: genre,
|
|
441
|
-
class: "tag bg-
|
|
442
|
-
}, toDisplayString(genre), 1);
|
|
429
|
+
class: "tag bg-main t-medium pd-thin radius-thin t-small cursor-pointer"
|
|
430
|
+
}, toDisplayString(genre.name || genre), 1);
|
|
443
431
|
}), 128)),
|
|
444
432
|
(openBlock(true), createElementBlock(Fragment, null, renderList(track.value.tags, (tag) => {
|
|
445
433
|
return openBlock(), createElementBlock("span", {
|
|
446
434
|
key: tag,
|
|
447
435
|
class: "tag bg-light t-transp pd-thin-big radius-small t-small hover-bg-light cursor-pointer"
|
|
448
|
-
}, " #" + toDisplayString(tag), 1);
|
|
436
|
+
}, " #" + toDisplayString(tag.name || tag), 1);
|
|
449
437
|
}), 128))
|
|
450
438
|
])
|
|
451
439
|
])) : createCommentVNode("", true),
|
|
452
|
-
track.value.description ? (openBlock(), createElementBlock("div",
|
|
453
|
-
_cache[
|
|
454
|
-
createElementVNode("p",
|
|
440
|
+
track.value.description ? (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
441
|
+
_cache[17] || (_cache[17] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "About", -1)),
|
|
442
|
+
createElementVNode("p", _hoisted_35, toDisplayString(track.value.description), 1)
|
|
455
443
|
])) : createCommentVNode("", true),
|
|
456
|
-
track.value.lyrics ? (openBlock(), createElementBlock("div",
|
|
457
|
-
_cache[
|
|
458
|
-
createElementVNode("pre",
|
|
444
|
+
track.value.lyrics ? (openBlock(), createElementBlock("div", _hoisted_36, [
|
|
445
|
+
_cache[18] || (_cache[18] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Lyrics", -1)),
|
|
446
|
+
createElementVNode("pre", _hoisted_37, toDisplayString(track.value.lyrics), 1)
|
|
459
447
|
])) : createCommentVNode("", true)
|
|
460
448
|
])
|
|
461
449
|
])) : createCommentVNode("", true),
|
|
462
|
-
track.value && relatedTracks.value && relatedTracks.value.length ? (openBlock(), createElementBlock("section",
|
|
463
|
-
_cache[
|
|
464
|
-
createVNode(_sfc_main$
|
|
450
|
+
track.value && relatedTracks.value && relatedTracks.value.length ? (openBlock(), createElementBlock("section", _hoisted_38, [
|
|
451
|
+
_cache[21] || (_cache[21] = createElementVNode("h2", { class: "h2 mn-b-medium" }, "Related Tracks", -1)),
|
|
452
|
+
createVNode(_sfc_main$b, {
|
|
465
453
|
store: {
|
|
466
454
|
read: () => new _ctx.Promise((resolve) => resolve(relatedTracks.value || [])),
|
|
467
455
|
state: { isLoading: false }
|
|
@@ -478,9 +466,9 @@ const _sfc_main = {
|
|
|
478
466
|
class: "grid cols-2 cols-m-3 cols-l-4 gap-medium"
|
|
479
467
|
}, {
|
|
480
468
|
default: withCtx(({ items }) => [
|
|
481
|
-
createElementVNode("div",
|
|
469
|
+
createElementVNode("div", _hoisted_39, [
|
|
482
470
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (relatedTrack, index) => {
|
|
483
|
-
return openBlock(), createBlock(_sfc_main$
|
|
471
|
+
return openBlock(), createBlock(_sfc_main$c, {
|
|
484
472
|
key: relatedTrack._id,
|
|
485
473
|
track: relatedTrack,
|
|
486
474
|
index,
|
|
@@ -493,12 +481,12 @@ const _sfc_main = {
|
|
|
493
481
|
_: 1
|
|
494
482
|
}, 8, ["store", "items"])
|
|
495
483
|
])) : createCommentVNode("", true),
|
|
496
|
-
showAddToPlaylistModal.value ? (openBlock(), createBlock(_sfc_main$
|
|
484
|
+
showAddToPlaylistModal.value ? (openBlock(), createBlock(_sfc_main$d, {
|
|
497
485
|
key: 4,
|
|
498
486
|
onClosePopup: _cache[2] || (_cache[2] = ($event) => showAddToPlaylistModal.value = false),
|
|
499
487
|
class: "bg-white pd-medium w-m-25r radius-medium"
|
|
500
488
|
}, {
|
|
501
|
-
default: withCtx(() => _cache[
|
|
489
|
+
default: withCtx(() => _cache[22] || (_cache[22] = [
|
|
502
490
|
createElementVNode("h3", { class: "h3 mn-b-medium" }, "Add to Playlist", -1),
|
|
503
491
|
createElementVNode("p", { class: "t-transp" }, "Playlist selector coming soon...", -1)
|
|
504
492
|
])),
|