@ozdao/martyrs 0.2.494 → 0.2.496
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 +41 -42
- package/dist/builder.js +43 -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/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 +1 -1
- package/dist/martyrs/src/components/Feed/Feed.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.vue2.cjs → Menu.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.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/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- 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/pages/BlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- 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/pages/Event.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +2 -2
- 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/globals.client.cjs +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js.map +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/CardHeader.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +28 -13
- 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 +28 -13
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- 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/router/scrollBehavior.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/router/scrollBehavior.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/router/scrollBehavior.js +1 -1
- package/dist/martyrs/src/modules/globals/views/router/scrollBehavior.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +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/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/TrackListCard.vue.cjs +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +127 -175
- 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 +136 -184
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- 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 +97 -144
- 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 +113 -160
- 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 +7 -7
- 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 +7 -7
- 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 +164 -170
- 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 +185 -191
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/music.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +2 -2
- package/dist/martyrs/src/modules/music/router/music.js +2 -2
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.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.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +2 -2
- 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/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/router/organizations.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.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/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/CategoryEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- 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/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/martyrs.css +1 -1
- package/dist/style.css +18 -5
- package/package.json +1 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +40 -40
- package/src/modules/globals/controllers/classes/globals.websocket.js +11 -2
- package/src/modules/globals/globals.client.js +1 -2
- package/src/modules/globals/views/components/layouts/Client.vue +13 -11
- package/src/modules/globals/views/router/scrollBehavior.js +1 -1
- package/src/modules/music/README.md +2 -0
- package/src/modules/music/components/SidebarMusic.vue +7 -7
- package/src/modules/music/components/cards/ArtistCardSmall.vue +92 -0
- package/src/modules/music/components/cards/TrackListCard.vue +1 -1
- package/src/modules/music/components/forms/SearchForm.vue +1 -1
- package/src/modules/music/components/pages/Album.vue +44 -83
- package/src/modules/music/components/pages/Artist.vue +5 -5
- package/src/modules/music/components/pages/MusicLibrary.vue +5 -5
- package/src/modules/music/components/pages/Playlist.vue +35 -53
- package/src/modules/music/components/pages/SearchResults.vue +6 -6
- package/src/modules/music/components/pages/Track.vue +66 -87
- package/src/modules/music/music.client.js +1 -1
- package/src/modules/notifications/notifications.client.js +1 -1
- package/src/styles/base/all.scss +1 -0
- 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/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, withCtx, createTextVNode, Fragment, createBlock,
|
|
1
|
+
import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, withCtx, createTextVNode, Fragment, createBlock, renderList } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import Media from "../../../../components/Media/Media.vue.js";
|
|
6
|
-
import _sfc_main$4 from "../../../../components/Dropdown/Dropdown.
|
|
7
|
-
import _sfc_main$
|
|
8
|
-
import _sfc_main$
|
|
6
|
+
import _sfc_main$4 from "../../../../components/Dropdown/Dropdown.vue2.js";
|
|
7
|
+
import _sfc_main$9 from "../../../../components/Feed/Feed.vue.js";
|
|
8
|
+
import _sfc_main$b from "../../../../components/Popup/Popup.vue.js";
|
|
9
9
|
import _sfc_main$2 from "../../../icons/navigation/IconPlay.vue.js";
|
|
10
10
|
import _sfc_main$5 from "../../../icons/navigation/IconEllipsis.vue.js";
|
|
11
11
|
import _sfc_main$3 from "../../../icons/navigation/IconShuffle.vue.js";
|
|
12
|
-
import _sfc_main$
|
|
12
|
+
import _sfc_main$6 from "../../../icons/entities/IconCalendar.vue.js";
|
|
13
13
|
import IconClock from "../../../icons/entities/IconTime.vue.js";
|
|
14
|
-
import _sfc_main$
|
|
15
|
-
import _sfc_main$
|
|
16
|
-
import _sfc_main$
|
|
17
|
-
import _sfc_main$b from "../cards/TrackListCard.vue.js";
|
|
14
|
+
import _sfc_main$8 from "../../../icons/actions/IconShow.vue.js";
|
|
15
|
+
import _sfc_main$7 from "../../../icons/navigation/IconRefresh.vue.js";
|
|
16
|
+
import _sfc_main$a from "../cards/TrackListCard.vue.js";
|
|
18
17
|
import PlaylistCard from "../cards/PlaylistCard.vue.js";
|
|
19
|
-
import _sfc_main$
|
|
18
|
+
import _sfc_main$c from "../forms/PlaylistForm.vue.js";
|
|
19
|
+
import ArtistCardSmall from "../cards/ArtistCardSmall.vue.js";
|
|
20
20
|
import { state, actions } from "../../store/playlists.js";
|
|
21
21
|
import "../../store/tracks.js";
|
|
22
22
|
import { actions as actions$1 } from "../../store/player.js";
|
|
@@ -31,7 +31,7 @@ const _hoisted_3 = {
|
|
|
31
31
|
key: 1,
|
|
32
32
|
class: "playlist-content cols-2-fit-content mobile:cols-1 gap-big"
|
|
33
33
|
};
|
|
34
|
-
const _hoisted_4 = { class: "pos-sticky pos-t-0 mobile:pos-relative playlist-cover-section" };
|
|
34
|
+
const _hoisted_4 = { class: "pos-sticky w-max-30r pos-t-0 mobile:pos-relative playlist-cover-section" };
|
|
35
35
|
const _hoisted_5 = { class: "cover-container relative mn-b-medium radius-big overflow-hidden shadow-big" };
|
|
36
36
|
const _hoisted_6 = { class: "stats-grid grid cols-2 gap-small" };
|
|
37
37
|
const _hoisted_7 = { class: "stat-card bg-light pd-medium radius-medium t-center" };
|
|
@@ -42,68 +42,60 @@ const _hoisted_11 = { class: "playlist-details-section" };
|
|
|
42
42
|
const _hoisted_12 = { class: "flex items-center gap-small mn-b-small" };
|
|
43
43
|
const _hoisted_13 = {
|
|
44
44
|
key: 0,
|
|
45
|
-
class: "
|
|
45
|
+
class: "bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase"
|
|
46
46
|
};
|
|
47
47
|
const _hoisted_14 = {
|
|
48
48
|
key: 1,
|
|
49
|
-
class: "
|
|
49
|
+
class: "bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase"
|
|
50
50
|
};
|
|
51
51
|
const _hoisted_15 = { class: "h1 mn-b-medium" };
|
|
52
52
|
const _hoisted_16 = { class: "flex gap-small mn-b-medium" };
|
|
53
|
-
const _hoisted_17 = { class: "dropdown-menu bg-
|
|
54
|
-
const _hoisted_18 = { class: "
|
|
55
|
-
const _hoisted_19 = { class: "
|
|
56
|
-
const _hoisted_20 = {
|
|
57
|
-
const _hoisted_21 = {
|
|
58
|
-
key: 1,
|
|
59
|
-
class: "w-4r h-4r radius-full bg-primary flex-center"
|
|
60
|
-
};
|
|
61
|
-
const _hoisted_22 = { class: "flex items-center gap-thin" };
|
|
62
|
-
const _hoisted_23 = { class: "t-large" };
|
|
63
|
-
const _hoisted_24 = { class: "t-small t-transp" };
|
|
64
|
-
const _hoisted_25 = {
|
|
53
|
+
const _hoisted_17 = { class: "dropdown-menu bg-white pd-small radius-medium shadow-big mn-t-thin" };
|
|
54
|
+
const _hoisted_18 = { class: "artists-section mn-b-medium" };
|
|
55
|
+
const _hoisted_19 = { class: "flex flex-col gap-small" };
|
|
56
|
+
const _hoisted_20 = {
|
|
65
57
|
key: 0,
|
|
66
58
|
class: "collaborators-section mn-b-big"
|
|
67
59
|
};
|
|
68
|
-
const
|
|
69
|
-
const
|
|
70
|
-
const
|
|
71
|
-
const
|
|
72
|
-
const
|
|
73
|
-
const
|
|
74
|
-
const
|
|
75
|
-
const
|
|
76
|
-
const
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
const
|
|
60
|
+
const _hoisted_21 = { class: "flex flex-wrap gap-small" };
|
|
61
|
+
const _hoisted_22 = { class: "t-small" };
|
|
62
|
+
const _hoisted_23 = { class: "metadata-grid grid cols-2 gap-small mn-b-medium" };
|
|
63
|
+
const _hoisted_24 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
64
|
+
const _hoisted_25 = { class: "t-medium" };
|
|
65
|
+
const _hoisted_26 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
66
|
+
const _hoisted_27 = { class: "t-medium" };
|
|
67
|
+
const _hoisted_28 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
68
|
+
const _hoisted_29 = { class: "t-medium" };
|
|
69
|
+
const _hoisted_30 = { class: "metadata-card bg-light pd-medium radius-medium flex items-center gap-medium" };
|
|
70
|
+
const _hoisted_31 = { class: "t-medium" };
|
|
71
|
+
const _hoisted_32 = {
|
|
80
72
|
key: 1,
|
|
81
73
|
class: "tags-section mn-b-medium"
|
|
82
74
|
};
|
|
83
|
-
const
|
|
84
|
-
const
|
|
75
|
+
const _hoisted_33 = { class: "flex gap-thin flex-wrap" };
|
|
76
|
+
const _hoisted_34 = {
|
|
85
77
|
key: 2,
|
|
86
78
|
class: "description-section bg-light pd-medium radius-medium mn-b-medium"
|
|
87
79
|
};
|
|
88
|
-
const
|
|
89
|
-
const
|
|
80
|
+
const _hoisted_35 = { class: "t-transp" };
|
|
81
|
+
const _hoisted_36 = {
|
|
90
82
|
key: 2,
|
|
91
83
|
class: "tracks-section mn-t-big"
|
|
92
84
|
};
|
|
93
|
-
const
|
|
94
|
-
const
|
|
85
|
+
const _hoisted_37 = { class: "bg-light radius-medium o-hidden" };
|
|
86
|
+
const _hoisted_38 = {
|
|
95
87
|
key: 3,
|
|
96
88
|
class: "empty-section mn-t-big"
|
|
97
89
|
};
|
|
98
|
-
const
|
|
99
|
-
const
|
|
90
|
+
const _hoisted_39 = { class: "empty-tracks t-center pd-big bg-light radius-medium" };
|
|
91
|
+
const _hoisted_40 = {
|
|
100
92
|
key: 4,
|
|
101
93
|
class: "more-playlists-section mn-t-big"
|
|
102
94
|
};
|
|
103
|
-
const
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
const
|
|
95
|
+
const _hoisted_41 = { class: "flex justify-between items-center mn-b-medium" };
|
|
96
|
+
const _hoisted_42 = { class: "flex flex-nowrap gap-small o-x-scroll overscroll-behavior-x-contain scroll-behavior-smooth scroll-snap-type-x-mandatory scroll-hide" };
|
|
97
|
+
const _hoisted_43 = { class: "t-transp mn-b-medium" };
|
|
98
|
+
const _hoisted_44 = { class: "flex justify-end gap-small" };
|
|
107
99
|
const _sfc_main = {
|
|
108
100
|
__name: "Playlist",
|
|
109
101
|
emits: ["page-loading", "page-loaded"],
|
|
@@ -138,24 +130,6 @@ const _sfc_main = {
|
|
|
138
130
|
const totalSeconds = playlistTracks.value.reduce((sum, track) => sum + (track.duration || 0), 0);
|
|
139
131
|
return formatDuration(totalSeconds);
|
|
140
132
|
});
|
|
141
|
-
const getOwnerData = (playlist2) => {
|
|
142
|
-
if (!playlist2) return null;
|
|
143
|
-
const owner = playlist2.creator?.target || playlist2.owner?.target;
|
|
144
|
-
return typeof owner === "object" ? owner : null;
|
|
145
|
-
};
|
|
146
|
-
const getOwnerId = (playlist2) => {
|
|
147
|
-
if (!playlist2) return null;
|
|
148
|
-
const owner = playlist2.creator?.target || playlist2.owner?.target;
|
|
149
|
-
return typeof owner === "object" ? owner._id : owner;
|
|
150
|
-
};
|
|
151
|
-
const getPlaylistOwnerName = (playlist2) => {
|
|
152
|
-
if (!playlist2) return "Unknown";
|
|
153
|
-
const owner = getOwnerData(playlist2);
|
|
154
|
-
if (owner) {
|
|
155
|
-
return owner.profile?.name || owner.name || "Unknown";
|
|
156
|
-
}
|
|
157
|
-
return "Unknown";
|
|
158
|
-
};
|
|
159
133
|
const getOwnerProfileLink = (owner) => {
|
|
160
134
|
if (!owner || !owner.target) return { name: "music-home" };
|
|
161
135
|
const targetId = typeof owner.target === "object" ? owner.target._id : owner.target;
|
|
@@ -336,7 +310,7 @@ const _sfc_main = {
|
|
|
336
310
|
]),
|
|
337
311
|
createElementVNode("div", _hoisted_11, [
|
|
338
312
|
createElementVNode("div", _hoisted_12, [
|
|
339
|
-
_cache[10] || (_cache[10] = createElementVNode("span", { class: "
|
|
313
|
+
_cache[10] || (_cache[10] = createElementVNode("span", { class: "bg-light t-medium pd-thin radius-thin uppercase t-small t-uppercase" }, " Playlist ", -1)),
|
|
340
314
|
playlist.value.isCollaborative ? (openBlock(), createElementBlock("span", _hoisted_13, " Collaborative ")) : createCommentVNode("", true),
|
|
341
315
|
playlist.value.status === "published" ? (openBlock(), createElementBlock("span", _hoisted_14, " Published ")) : createCommentVNode("", true)
|
|
342
316
|
]),
|
|
@@ -346,10 +320,13 @@ const _sfc_main = {
|
|
|
346
320
|
onClick: playPlaylist,
|
|
347
321
|
color: "primary",
|
|
348
322
|
size: "medium",
|
|
349
|
-
class: "flex-1 flex-center gap-thin"
|
|
323
|
+
class: "flex-1 t-white bg-black radius-thin flex-center gap-thin"
|
|
350
324
|
}, {
|
|
351
325
|
default: withCtx(() => [
|
|
352
|
-
createVNode(_sfc_main$2, {
|
|
326
|
+
createVNode(_sfc_main$2, {
|
|
327
|
+
fill: "rgb(var(--white))",
|
|
328
|
+
class: "i-medium"
|
|
329
|
+
}),
|
|
353
330
|
_cache[11] || (_cache[11] = createTextVNode(" Play All "))
|
|
354
331
|
]),
|
|
355
332
|
_: 1
|
|
@@ -358,7 +335,7 @@ const _sfc_main = {
|
|
|
358
335
|
onClick: shufflePlay,
|
|
359
336
|
color: "primary",
|
|
360
337
|
size: "medium",
|
|
361
|
-
class: "flex-1 flex-center gap-thin"
|
|
338
|
+
class: "flex-1 bg-light radius-thin flex-center gap-thin"
|
|
362
339
|
}, {
|
|
363
340
|
default: withCtx(() => [
|
|
364
341
|
createVNode(_sfc_main$3, { class: "i-medium" }),
|
|
@@ -370,7 +347,7 @@ const _sfc_main = {
|
|
|
370
347
|
onClick: toggleFollow,
|
|
371
348
|
color: "primary",
|
|
372
349
|
size: "medium",
|
|
373
|
-
class: "flex-1 flex-center gap-thin"
|
|
350
|
+
class: "flex-1 bg-light radius-thin flex-center gap-thin"
|
|
374
351
|
}, {
|
|
375
352
|
default: withCtx(() => [
|
|
376
353
|
createTextVNode(toDisplayString(isFollowing.value ? "Follow" : "Unfollow"), 1)
|
|
@@ -378,7 +355,7 @@ const _sfc_main = {
|
|
|
378
355
|
_: 1
|
|
379
356
|
}),
|
|
380
357
|
createVNode(_sfc_main$4, {
|
|
381
|
-
label: { component: _sfc_main$5, class: "i-
|
|
358
|
+
label: { component: _sfc_main$5, class: "bg-light radius-thin pd-thin i-big" },
|
|
382
359
|
modelValue: showDropdown.value,
|
|
383
360
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showDropdown.value = $event),
|
|
384
361
|
class: "relative"
|
|
@@ -401,7 +378,7 @@ const _sfc_main = {
|
|
|
401
378
|
onClick: addToQueue,
|
|
402
379
|
color: "transp",
|
|
403
380
|
size: "small",
|
|
404
|
-
class: "w-100 justify-start"
|
|
381
|
+
class: "w-100 t-nowrap justify-start"
|
|
405
382
|
}, {
|
|
406
383
|
default: withCtx(() => _cache[13] || (_cache[13] = [
|
|
407
384
|
createTextVNode(" Add to Queue ")
|
|
@@ -412,7 +389,7 @@ const _sfc_main = {
|
|
|
412
389
|
onClick: copyLink,
|
|
413
390
|
color: "transp",
|
|
414
391
|
size: "small",
|
|
415
|
-
class: "w-100 justify-start"
|
|
392
|
+
class: "w-100 t-nowrap justify-start"
|
|
416
393
|
}, {
|
|
417
394
|
default: withCtx(() => _cache[14] || (_cache[14] = [
|
|
418
395
|
createTextVNode(" Copy Link ")
|
|
@@ -425,7 +402,7 @@ const _sfc_main = {
|
|
|
425
402
|
onClick: editPlaylist,
|
|
426
403
|
color: "transp",
|
|
427
404
|
size: "small",
|
|
428
|
-
class: "w-100 justify-start"
|
|
405
|
+
class: "w-100 t-nowrap justify-start"
|
|
429
406
|
}, {
|
|
430
407
|
default: withCtx(() => _cache[15] || (_cache[15] = [
|
|
431
408
|
createTextVNode(" Edit Playlist ")
|
|
@@ -437,7 +414,7 @@ const _sfc_main = {
|
|
|
437
414
|
onClick: toggleCollaborative,
|
|
438
415
|
color: "transp",
|
|
439
416
|
size: "small",
|
|
440
|
-
class: "w-100 justify-start"
|
|
417
|
+
class: "t-nowrap w-100 justify-start"
|
|
441
418
|
}, {
|
|
442
419
|
default: withCtx(() => [
|
|
443
420
|
createTextVNode(toDisplayString(playlist.value.isCollaborative ? "Make Private" : "Make Collaborative"), 1)
|
|
@@ -449,7 +426,7 @@ const _sfc_main = {
|
|
|
449
426
|
onClick: deletePlaylist,
|
|
450
427
|
color: "danger",
|
|
451
428
|
size: "small",
|
|
452
|
-
class: "w-100 justify-start"
|
|
429
|
+
class: "t-nowrap w-100 justify-start"
|
|
453
430
|
}, {
|
|
454
431
|
default: withCtx(() => _cache[16] || (_cache[16] = [
|
|
455
432
|
createTextVNode(" Delete Playlist ")
|
|
@@ -465,48 +442,23 @@ const _sfc_main = {
|
|
|
465
442
|
createElementVNode("div", _hoisted_18, [
|
|
466
443
|
_cache[18] || (_cache[18] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Created by", -1)),
|
|
467
444
|
createElementVNode("div", _hoisted_19, [
|
|
468
|
-
createVNode(
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
]),
|
|
481
|
-
createElementVNode("div", null, [
|
|
482
|
-
createElementVNode("div", _hoisted_22, [
|
|
483
|
-
createElementVNode("span", _hoisted_23, toDisplayString(getPlaylistOwnerName(playlist.value)), 1),
|
|
484
|
-
getOwnerData(playlist.value)?.isVerified ? (openBlock(), createBlock(_sfc_main$6, {
|
|
485
|
-
key: 0,
|
|
486
|
-
class: "w-1r h-1r t-primary"
|
|
487
|
-
})) : createCommentVNode("", true)
|
|
488
|
-
]),
|
|
489
|
-
createElementVNode("span", _hoisted_24, toDisplayString(playlist.value.creator?.type || "User"), 1)
|
|
490
|
-
])
|
|
491
|
-
]),
|
|
492
|
-
_: 1
|
|
493
|
-
}, 8, ["to"]),
|
|
494
|
-
!isOwner.value && unref(state$1).user ? (openBlock(), createBlock(_sfc_main$1, {
|
|
495
|
-
key: 0,
|
|
496
|
-
onClick: _cache[1] || (_cache[1] = () => toggleFollowUser(getOwnerId(playlist.value))),
|
|
497
|
-
color: followedUsers.value.includes(getOwnerId(playlist.value)) ? "primary" : "transp",
|
|
498
|
-
size: "small"
|
|
499
|
-
}, {
|
|
500
|
-
default: withCtx(() => [
|
|
501
|
-
createTextVNode(toDisplayString(followedUsers.value.includes(getOwnerId(playlist.value)) ? "Following" : "Follow"), 1)
|
|
502
|
-
]),
|
|
503
|
-
_: 1
|
|
504
|
-
}, 8, ["color"])) : createCommentVNode("", true)
|
|
445
|
+
createVNode(ArtistCardSmall, {
|
|
446
|
+
artist: {
|
|
447
|
+
_id: playlist.value.creator.target,
|
|
448
|
+
to: { name: "User Profile", params: { _id: playlist.value.creator.target } },
|
|
449
|
+
photoUrl: null,
|
|
450
|
+
name: playlist.value.creator.target,
|
|
451
|
+
isVerified: false
|
|
452
|
+
},
|
|
453
|
+
"is-following": followedUsers.value.includes(playlist.value.creator.target),
|
|
454
|
+
"show-follow-button": !isOwner.value,
|
|
455
|
+
onToggleFollow: _cache[1] || (_cache[1] = ($event) => toggleFollowUser(playlist.value.creator.target))
|
|
456
|
+
}, null, 8, ["artist", "is-following", "show-follow-button"])
|
|
505
457
|
])
|
|
506
458
|
]),
|
|
507
|
-
playlist.value.collaborators && playlist.value.collaborators.length > 0 ? (openBlock(), createElementBlock("div",
|
|
459
|
+
playlist.value.collaborators && playlist.value.collaborators.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_20, [
|
|
508
460
|
_cache[19] || (_cache[19] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Collaborators", -1)),
|
|
509
|
-
createElementVNode("div",
|
|
461
|
+
createElementVNode("div", _hoisted_21, [
|
|
510
462
|
(openBlock(true), createElementBlock(Fragment, null, renderList(playlist.value.collaborators, (collaborator) => {
|
|
511
463
|
return openBlock(), createElementBlock("div", {
|
|
512
464
|
key: collaborator._id || collaborator,
|
|
@@ -515,46 +467,47 @@ const _sfc_main = {
|
|
|
515
467
|
collaborator.photoUrl ? (openBlock(), createBlock(Media, {
|
|
516
468
|
key: 0,
|
|
517
469
|
url: collaborator.photoUrl,
|
|
518
|
-
class: "
|
|
470
|
+
class: "i-regular radius-full object-cover"
|
|
519
471
|
}, null, 8, ["url"])) : createCommentVNode("", true),
|
|
520
|
-
createElementVNode("span",
|
|
472
|
+
createElementVNode("span", _hoisted_22, toDisplayString(collaborator.name || collaborator.profile?.name || "User"), 1)
|
|
521
473
|
]);
|
|
522
474
|
}), 128))
|
|
523
475
|
])
|
|
524
476
|
])) : createCommentVNode("", true),
|
|
525
|
-
createElementVNode("
|
|
526
|
-
|
|
527
|
-
|
|
477
|
+
_cache[26] || (_cache[26] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Metadata", -1)),
|
|
478
|
+
createElementVNode("div", _hoisted_23, [
|
|
479
|
+
createElementVNode("div", _hoisted_24, [
|
|
480
|
+
createVNode(_sfc_main$6, { class: "i-medium t-primary" }),
|
|
528
481
|
createElementVNode("div", null, [
|
|
529
482
|
_cache[20] || (_cache[20] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Created", -1)),
|
|
530
|
-
createElementVNode("div",
|
|
483
|
+
createElementVNode("div", _hoisted_25, toDisplayString(formatDate(playlist.value.createdAt)), 1)
|
|
531
484
|
])
|
|
532
485
|
]),
|
|
533
|
-
createElementVNode("div",
|
|
486
|
+
createElementVNode("div", _hoisted_26, [
|
|
534
487
|
createVNode(IconClock, { class: "i-medium t-primary" }),
|
|
535
488
|
createElementVNode("div", null, [
|
|
536
489
|
_cache[21] || (_cache[21] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Duration", -1)),
|
|
537
|
-
createElementVNode("div",
|
|
490
|
+
createElementVNode("div", _hoisted_27, toDisplayString(totalDuration.value), 1)
|
|
538
491
|
])
|
|
539
492
|
]),
|
|
540
|
-
createElementVNode("div",
|
|
541
|
-
createVNode(_sfc_main$
|
|
493
|
+
createElementVNode("div", _hoisted_28, [
|
|
494
|
+
createVNode(_sfc_main$7, { class: "i-medium t-primary" }),
|
|
542
495
|
createElementVNode("div", null, [
|
|
543
496
|
_cache[22] || (_cache[22] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Updated", -1)),
|
|
544
|
-
createElementVNode("div",
|
|
497
|
+
createElementVNode("div", _hoisted_29, toDisplayString(formatDate(playlist.value.updatedAt)), 1)
|
|
545
498
|
])
|
|
546
499
|
]),
|
|
547
|
-
createElementVNode("div",
|
|
548
|
-
createVNode(_sfc_main$
|
|
500
|
+
createElementVNode("div", _hoisted_30, [
|
|
501
|
+
createVNode(_sfc_main$8, { class: "i-medium t-primary" }),
|
|
549
502
|
createElementVNode("div", null, [
|
|
550
503
|
_cache[23] || (_cache[23] = createElementVNode("div", { class: "t-small t-transp t-uppercase" }, "Visibility", -1)),
|
|
551
|
-
createElementVNode("div",
|
|
504
|
+
createElementVNode("div", _hoisted_31, toDisplayString(playlist.value.isPublic ? "Public" : "Private"), 1)
|
|
552
505
|
])
|
|
553
506
|
])
|
|
554
507
|
]),
|
|
555
|
-
playlist.value.tags && playlist.value.tags.length ? (openBlock(), createElementBlock("div",
|
|
508
|
+
playlist.value.tags && playlist.value.tags.length ? (openBlock(), createElementBlock("div", _hoisted_32, [
|
|
556
509
|
_cache[24] || (_cache[24] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "Tags", -1)),
|
|
557
|
-
createElementVNode("div",
|
|
510
|
+
createElementVNode("div", _hoisted_33, [
|
|
558
511
|
(openBlock(true), createElementBlock(Fragment, null, renderList(playlist.value.tags, (tag) => {
|
|
559
512
|
return openBlock(), createElementBlock("span", {
|
|
560
513
|
key: tag,
|
|
@@ -563,15 +516,15 @@ const _sfc_main = {
|
|
|
563
516
|
}), 128))
|
|
564
517
|
])
|
|
565
518
|
])) : createCommentVNode("", true),
|
|
566
|
-
playlist.value.description ? (openBlock(), createElementBlock("div",
|
|
519
|
+
playlist.value.description ? (openBlock(), createElementBlock("div", _hoisted_34, [
|
|
567
520
|
_cache[25] || (_cache[25] = createElementVNode("h3", { class: "t-medium mn-b-small" }, "About", -1)),
|
|
568
|
-
createElementVNode("p",
|
|
521
|
+
createElementVNode("p", _hoisted_35, toDisplayString(playlist.value.description), 1)
|
|
569
522
|
])) : createCommentVNode("", true)
|
|
570
523
|
])
|
|
571
524
|
])) : createCommentVNode("", true),
|
|
572
|
-
!_ctx.isLoading && playlist.value && playlistTracks.value.length ? (openBlock(), createElementBlock("section",
|
|
573
|
-
_cache[
|
|
574
|
-
createVNode(_sfc_main$
|
|
525
|
+
!_ctx.isLoading && playlist.value && playlistTracks.value.length ? (openBlock(), createElementBlock("section", _hoisted_36, [
|
|
526
|
+
_cache[27] || (_cache[27] = createElementVNode("h2", { class: "h2 mn-b-medium" }, "Tracklist", -1)),
|
|
527
|
+
createVNode(_sfc_main$9, {
|
|
575
528
|
store: {
|
|
576
529
|
read: () => _ctx.Promise.resolve(playlistTracks.value),
|
|
577
530
|
state: { isLoading: false }
|
|
@@ -587,9 +540,9 @@ const _sfc_main = {
|
|
|
587
540
|
}
|
|
588
541
|
}, {
|
|
589
542
|
default: withCtx(({ items }) => [
|
|
590
|
-
createElementVNode("div",
|
|
543
|
+
createElementVNode("div", _hoisted_37, [
|
|
591
544
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items, (track, index) => {
|
|
592
|
-
return openBlock(), createBlock(_sfc_main$
|
|
545
|
+
return openBlock(), createBlock(_sfc_main$a, {
|
|
593
546
|
key: track._id,
|
|
594
547
|
track,
|
|
595
548
|
index: index + 1,
|
|
@@ -603,38 +556,38 @@ const _sfc_main = {
|
|
|
603
556
|
]),
|
|
604
557
|
_: 1
|
|
605
558
|
}, 8, ["store", "items"])
|
|
606
|
-
])) : !_ctx.isLoading && playlist.value && !playlistTracks.value.length ? (openBlock(), createElementBlock("section",
|
|
607
|
-
createElementVNode("div",
|
|
608
|
-
_cache[
|
|
609
|
-
_cache[
|
|
559
|
+
])) : !_ctx.isLoading && playlist.value && !playlistTracks.value.length ? (openBlock(), createElementBlock("section", _hoisted_38, [
|
|
560
|
+
createElementVNode("div", _hoisted_39, [
|
|
561
|
+
_cache[29] || (_cache[29] = createElementVNode("h3", { class: "mn-b-small" }, "This playlist is empty", -1)),
|
|
562
|
+
_cache[30] || (_cache[30] = createElementVNode("p", { class: "t-transp t-medium mn-b-medium" }, "Add some tracks to get started", -1)),
|
|
610
563
|
isOwner.value || isCollaborator.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
611
564
|
key: 0,
|
|
612
565
|
onClick: _cache[2] || (_cache[2] = ($event) => _ctx.$router.push({ name: "music-search" })),
|
|
613
566
|
color: "primary",
|
|
614
567
|
size: "medium"
|
|
615
568
|
}, {
|
|
616
|
-
default: withCtx(() => _cache[
|
|
569
|
+
default: withCtx(() => _cache[28] || (_cache[28] = [
|
|
617
570
|
createTextVNode(" Find Tracks ")
|
|
618
571
|
])),
|
|
619
572
|
_: 1
|
|
620
573
|
})) : createCommentVNode("", true)
|
|
621
574
|
])
|
|
622
575
|
])) : createCommentVNode("", true),
|
|
623
|
-
!_ctx.isLoading && playlist.value && morePlaylists.value.length ? (openBlock(), createElementBlock("section",
|
|
624
|
-
createElementVNode("div",
|
|
625
|
-
_cache[
|
|
576
|
+
!_ctx.isLoading && playlist.value && morePlaylists.value.length ? (openBlock(), createElementBlock("section", _hoisted_40, [
|
|
577
|
+
createElementVNode("div", _hoisted_41, [
|
|
578
|
+
_cache[32] || (_cache[32] = createElementVNode("h2", { class: "h2" }, "More Playlists", -1)),
|
|
626
579
|
playlist.value.creator ? (openBlock(), createBlock(_component_router_link, {
|
|
627
580
|
key: 0,
|
|
628
581
|
to: getOwnerProfileLink(playlist.value.creator),
|
|
629
582
|
class: "t-primary hover-opacity"
|
|
630
583
|
}, {
|
|
631
|
-
default: withCtx(() => _cache[
|
|
584
|
+
default: withCtx(() => _cache[31] || (_cache[31] = [
|
|
632
585
|
createTextVNode(" See all ")
|
|
633
586
|
])),
|
|
634
587
|
_: 1
|
|
635
588
|
}, 8, ["to"])) : createCommentVNode("", true)
|
|
636
589
|
]),
|
|
637
|
-
createElementVNode("div",
|
|
590
|
+
createElementVNode("div", _hoisted_42, [
|
|
638
591
|
(openBlock(true), createElementBlock(Fragment, null, renderList(morePlaylists.value, (relatedPlaylist) => {
|
|
639
592
|
return openBlock(), createElementBlock("li", {
|
|
640
593
|
key: relatedPlaylist._id,
|
|
@@ -648,13 +601,13 @@ const _sfc_main = {
|
|
|
648
601
|
}), 128))
|
|
649
602
|
])
|
|
650
603
|
])) : createCommentVNode("", true),
|
|
651
|
-
createVNode(_sfc_main$
|
|
604
|
+
createVNode(_sfc_main$b, {
|
|
652
605
|
isPopupOpen: showEditModal.value && (isOwner.value || isCollaborator.value),
|
|
653
606
|
onClosePopup: _cache[4] || (_cache[4] = ($event) => showEditModal.value = false),
|
|
654
|
-
class: "bg-
|
|
607
|
+
class: "bg-white pd-medium w-m-30r radius-medium"
|
|
655
608
|
}, {
|
|
656
609
|
default: withCtx(() => [
|
|
657
|
-
createVNode(_sfc_main$
|
|
610
|
+
createVNode(_sfc_main$c, {
|
|
658
611
|
editMode: true,
|
|
659
612
|
url: playlist.value.url,
|
|
660
613
|
onCancel: _cache[3] || (_cache[3] = ($event) => showEditModal.value = false),
|
|
@@ -663,21 +616,21 @@ const _sfc_main = {
|
|
|
663
616
|
]),
|
|
664
617
|
_: 1
|
|
665
618
|
}, 8, ["isPopupOpen"]),
|
|
666
|
-
createVNode(_sfc_main$
|
|
619
|
+
createVNode(_sfc_main$b, {
|
|
667
620
|
isPopupOpen: showDeleteModal.value,
|
|
668
621
|
onClosePopup: _cache[6] || (_cache[6] = ($event) => showDeleteModal.value = false),
|
|
669
|
-
class: "bg-
|
|
622
|
+
class: "bg-white pd-medium w-m-25r radius-medium"
|
|
670
623
|
}, {
|
|
671
624
|
default: withCtx(() => [
|
|
672
|
-
_cache[
|
|
673
|
-
createElementVNode("p",
|
|
674
|
-
createElementVNode("div",
|
|
625
|
+
_cache[35] || (_cache[35] = createElementVNode("h3", { class: "mn-b-medium" }, "Delete Playlist", -1)),
|
|
626
|
+
createElementVNode("p", _hoisted_43, 'Are you sure you want to delete "' + toDisplayString(playlist.value.title) + '"? This action cannot be undone.', 1),
|
|
627
|
+
createElementVNode("div", _hoisted_44, [
|
|
675
628
|
createVNode(_sfc_main$1, {
|
|
676
629
|
onClick: _cache[5] || (_cache[5] = ($event) => showDeleteModal.value = false),
|
|
677
630
|
color: "transp",
|
|
678
631
|
size: "medium"
|
|
679
632
|
}, {
|
|
680
|
-
default: withCtx(() => _cache[
|
|
633
|
+
default: withCtx(() => _cache[33] || (_cache[33] = [
|
|
681
634
|
createTextVNode(" Cancel ")
|
|
682
635
|
])),
|
|
683
636
|
_: 1
|
|
@@ -687,7 +640,7 @@ const _sfc_main = {
|
|
|
687
640
|
color: "danger",
|
|
688
641
|
size: "medium"
|
|
689
642
|
}, {
|
|
690
|
-
default: withCtx(() => _cache[
|
|
643
|
+
default: withCtx(() => _cache[34] || (_cache[34] = [
|
|
691
644
|
createTextVNode(" Delete Playlist ")
|
|
692
645
|
])),
|
|
693
646
|
_: 1
|