@saooti/octopus-sdk 42.4.0-beta2 → 42.4.0-beta4
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/{AccessibilityModal-CBIb3UQS.mjs → AccessibilityModal-CHUSDO1F.mjs} +39 -36
- package/dist/{AdvancedSearch-DVWO6WtG.mjs → AdvancedSearch-S-OMg1XH.mjs} +5 -5
- package/dist/{AuthStore-BBZTjLTf.mjs → AuthStore-BdiVUQBK.mjs} +268 -261
- package/dist/{CategoryChooser-fAUMJNHu.mjs → CategoryChooser-Cg_gq6L_.mjs} +1 -1
- package/dist/{CategoryFilter-CU4D9VlH.mjs → CategoryFilter-CI5PfekR.mjs} +3 -3
- package/dist/{CategoryList-CNRdGnw0.mjs → CategoryList-B0hCDa0Q.mjs} +2 -2
- package/dist/{CategoryPage-CJ_OohkC.mjs → CategoryPage-j1c3a9Ti.mjs} +2 -2
- package/dist/{CategorySearchFilter-Cce5zxZB.mjs → CategorySearchFilter-eRcZcX0o.mjs} +1 -1
- package/dist/{CheckIdentityModal-DEXrqR2G.mjs → CheckIdentityModal-DTA9VPdd.mjs} +3 -3
- package/dist/{ClassicAlert-DATLZ8J1.mjs → ClassicAlert-fZ4qLB-c.mjs} +1 -1
- package/dist/{ClassicBigChip-BK8v_P0z.mjs → ClassicBigChip-D0pRqFwb.mjs} +1 -1
- package/dist/ClassicColorPicker-DcjFDaZ8.mjs +79 -0
- package/dist/{ClassicDatePicker-CKIkZWmW.mjs → ClassicDatePicker-DlNlvjA0.mjs} +1 -1
- package/dist/{ClassicEmojiPicker-C0gm-DA2.mjs → ClassicEmojiPicker-Cc4UZRvZ.mjs} +1 -1
- package/dist/{ClassicHelpButton-BnRLmYuh.mjs → ClassicHelpButton-CDz_GcaZ.mjs} +1 -1
- package/dist/{ClassicInputText-YsntJkHk.mjs → ClassicInputText-4bPGD_kV.mjs} +1 -1
- package/dist/{ClassicLoading-CXfMjpyl.mjs → ClassicLoading-ydEDL7-R.mjs} +1 -1
- package/dist/{ClassicMultiselect-C0yzVQ8Y.mjs → ClassicMultiselect-CEJF_Uo5.mjs} +1 -1
- package/dist/{ClassicNotifications-Bt7HmFoU.mjs → ClassicNotifications-olXwz4qY.mjs} +2 -2
- package/dist/ClassicPopover-BpFChUHf.mjs +203 -0
- package/dist/ClassicSelect-Bj9BkTkd.mjs +121 -0
- package/dist/{ClassicSpinner-DFRDD51g.mjs → ClassicSpinner-P6q1es8G.mjs} +4 -1
- package/dist/{ClipboardModal-cHMlAcg3.mjs → ClipboardModal-D40ImhpB.mjs} +1 -1
- package/dist/{CommentInput-BiGn-skv.mjs → CommentInput-BGAQHUZh.mjs} +5 -5
- package/dist/CommentItem-CBtedADn.mjs +233 -0
- package/dist/CommentList-BqY6dXMt.mjs +203 -0
- package/dist/{CommentMoreActions-Cew7m8vJ.mjs → CommentMoreActions-BPDPuoeI.mjs} +6 -5
- package/dist/{CommentName-BQR1xl1T.mjs → CommentName-DiN2v6zm.mjs} +3 -3
- package/dist/{CommentParentInfo-BuM6sFV4.mjs → CommentParentInfo-DIyzK-2k.mjs} +3 -3
- package/dist/CommentSection-BUQsGQcN.mjs +119 -0
- package/dist/{CommentStore-BjzpqB_1.mjs → CommentStore-D-2Q49xZ.mjs} +76 -88
- package/dist/{ContractPreviewModal-CgEfHeyW.mjs → ContractPreviewModal-Duf8yY-7.mjs} +1 -1
- package/dist/{DateFilter-Bzx36_ol.mjs → DateFilter-Drn-Thgy.mjs} +1 -1
- package/dist/{DownloadPodcastButton-NStAbAZa.mjs → DownloadPodcastButton-BFZI5jmS.mjs} +2 -2
- package/dist/{EditCommentModal-coXmYdY_.mjs → EditCommentModal-CVihXEGS.mjs} +2 -2
- package/dist/{EmissionGroupChooser-XK05Hye9.mjs → EmissionGroupChooser-BaorNk90.mjs} +2 -2
- package/dist/{EmissionInlineList-CWP6yZLk.mjs → EmissionInlineList-DuzgE8hS.mjs} +36 -26
- package/dist/EmissionItem-R8ugPYq7.mjs +123 -0
- package/dist/EmissionList-Dk8Xtmm1.mjs +230 -0
- package/dist/EmissionPage-DE_T-aNF.mjs +191 -0
- package/dist/{EmissionPlayerItem-B-poSf0h.mjs → EmissionPlayerItem-w3F7l_dL.mjs} +9 -9
- package/dist/{EmissionPresentationItem-Ic_4QTAV.mjs → EmissionPresentationItem-VwylQjvv.mjs} +7 -4
- package/dist/{EmissionPresentationList-CZVjxQUN.mjs → EmissionPresentationList-Xu3G_Ozt.mjs} +8 -6
- package/dist/EmissionsPage--rvX0YYh.mjs +117 -0
- package/dist/{Error403Page-paQBIk_S.mjs → Error403Page-Cb0LAznd.mjs} +1 -1
- package/dist/ExternalLink-Xd1yTR71.mjs +35 -0
- package/dist/{FooterGarSection-GKI36V98.mjs → FooterGarSection-CnjLLyXU.mjs} +3 -3
- package/dist/{FooterSection-vNIJikKR.mjs → FooterSection-0e6Z_wff.mjs} +13 -13
- package/dist/{HomeDropdown-B_5YrOSF.mjs → HomeDropdown-5JO7NDSl.mjs} +3 -3
- package/dist/{HomePage-KC-CcJky.mjs → HomePage-Bze7mTbZ.mjs} +3 -3
- package/dist/InlineRubriqueList-MYnSX_eZ.mjs +48 -0
- package/dist/LikeButton-CnMZOm9N.mjs +46 -0
- package/dist/{LikeSection-BZcy0TOS.mjs → LikeSection-BFh6c0_F.mjs} +11 -17
- package/dist/ListPaginate-DMir5lKe.mjs +191 -0
- package/dist/{LiveHorizontalList-CARJlSBl.mjs → LiveHorizontalList-DpfoJMa8.mjs} +6 -6
- package/dist/{LiveList-DtXz2jZd.mjs → LiveList-BXcxoWAn.mjs} +12 -11
- package/dist/{LivesPage-DRyMTzoZ.mjs → LivesPage-X_Cuj5RC.mjs} +2 -2
- package/dist/{MapPage-CyDwoNuG.mjs → MapPage-DR7057o0.mjs} +1 -1
- package/dist/{MessageModal-BcqS77v6.mjs → MessageModal-DyD3HZy0.mjs} +1 -1
- package/dist/{MobileMenu-DWAO2ARf.mjs → MobileMenu-CaFQBVFA.mjs} +3 -3
- package/dist/{MonetizableFilter-B7NHzXEY.mjs → MonetizableFilter-BeBVeGSW.mjs} +1 -1
- package/dist/{NewsletterModal-GkC9RDyD.mjs → NewsletterModal-CaaLFdAc.mjs} +1 -1
- package/dist/{OctopusMultiselect-noQPQMZQ.mjs → OctopusMultiselect-B_VBxbac.mjs} +19 -19
- package/dist/OrganisationChooser-BSJWSByJ.mjs +134 -0
- package/dist/{OrganisationChooserLight-Afgr1M7a.mjs → OrganisationChooserLight-BpqeFaQP.mjs} +2 -2
- package/dist/{PageNotFound-B7hdl-yk.mjs → PageNotFound-BB2Der8l.mjs} +2 -2
- package/dist/PaginateParams-BKSnsVZH.mjs +54 -0
- package/dist/{ParticipantInlineList-BwPZSUqb.mjs → ParticipantInlineList-DBlnlk8x.mjs} +24 -19
- package/dist/ParticipantItem-1fs3gVfe.mjs +93 -0
- package/dist/ParticipantPage-BaWObZn8.mjs +127 -0
- package/dist/{ParticipantsPage-CHWCYVS6.mjs → ParticipantsPage-QsAeLeb5.mjs} +16 -16
- package/dist/{PlayerAnonymousModal-BdgjFawf.mjs → PlayerAnonymousModal-B9fZFffi.mjs} +2 -2
- package/dist/PlaylistPage-Blu1HnPY.mjs +130 -0
- package/dist/{PlaylistsPage-DTL-ovBn.mjs → PlaylistsPage-DLNnZSJT.mjs} +88 -77
- package/dist/{PodcastFilterList-2nVutkmB.mjs → PodcastFilterList-DrZA5iQa.mjs} +4 -3
- package/dist/PodcastInlineList-C-ICxCWh.mjs +186 -0
- package/dist/{PodcastInlineListTemplate-DPBRFNio.mjs → PodcastInlineListTemplate-CDigJ7BJ.mjs} +58 -56
- package/dist/PodcastItem-m3k-Kix9.mjs +305 -0
- package/dist/{PodcastList-R0TvKt6G.mjs → PodcastList-Cww-0Swl.mjs} +12 -12
- package/dist/{PodcastList-RMFwG0hb.mjs → PodcastList-s4gxQjq5.mjs} +26 -24
- package/dist/PodcastPage-DE5gGN-2.mjs +595 -0
- package/dist/PodcastPlayButton-Df0Z63M0.mjs +127 -0
- package/dist/PodcastPlaylistInlineList-D6FMozVy.mjs +69 -0
- package/dist/{PodcastPresentationList-BvXr6uwb.mjs → PodcastPresentationList-SouqGyw9.mjs} +9 -7
- package/dist/{PodcastmakerHeader-CKbQLcJR.mjs → PodcastmakerHeader-DJXLJTF6.mjs} +1 -1
- package/dist/PodcastsPage-BXBARaTK.mjs +133 -0
- package/dist/{ProductorSearch-DiKNztPx.mjs → ProductorSearch-hTTU45pI.mjs} +3 -3
- package/dist/QrCode-OEI1du8P.mjs +116 -0
- package/dist/{QrCodeModal-CWrtwMmo.mjs → QrCodeModal-DmzFi0FH.mjs} +1 -1
- package/dist/{RadioCurrently-Dp9E529F.mjs → RadioCurrently-CrRnrOIT.mjs} +20 -20
- package/dist/{RadioImage-C9DiBLS9.mjs → RadioImage-DmMQTUjw.mjs} +1 -1
- package/dist/RadioList-Bj_bfSqy.mjs +79 -0
- package/dist/{RadioPage-BxwU7iT4.mjs → RadioPage-BHAxW4eG.mjs} +5 -5
- package/dist/{RadioPlanning-iJ7XDZSH.mjs → RadioPlanning-Cg47XjD9.mjs} +3 -3
- package/dist/{RecaptchaModal-Bfq6A8y2.mjs → RecaptchaModal-DLMoPxPf.mjs} +2 -2
- package/dist/{ReportAbuseModal-DBoOqnzQ.mjs → ReportAbuseModal-CIiBTSpw.mjs} +4 -4
- package/dist/{RightsIndicator-DiA2ldB-.mjs → RightsIndicator-Dr75KTRE.mjs} +4 -4
- package/dist/{RightsWrapper-JmJz5r95.mjs → RightsWrapper-C6zNaunR.mjs} +41 -42
- package/dist/{RubriqueChoice-C-S-veJJ.mjs → RubriqueChoice-Ci23lZBD.mjs} +2 -2
- package/dist/{RubriqueChooser-CNGn8LcP.mjs → RubriqueChooser-C5QLRe-b.mjs} +1 -1
- package/dist/{RubriqueFilter-CD_iXdC1.mjs → RubriqueFilter-B_lwmZ8m.mjs} +3 -3
- package/dist/{RubriqueList-COReG7_w.mjs → RubriqueList-DNwhze-d.mjs} +4 -4
- package/dist/{RubriquePage-C63TsvkH.mjs → RubriquePage-Bh59Y29D.mjs} +6 -5
- package/dist/{SearchPage-ChdImq8B.mjs → SearchPage-DfsoWBQU.mjs} +2 -2
- package/dist/ShareAnonymous-QT4t2_n7.mjs +210 -0
- package/dist/{ShareModalPlayer-Dr0BUSDx.mjs → ShareModalPlayer-D0NzOzX0.mjs} +1 -1
- package/dist/{ShareNewsletter-DJbBxYn3.mjs → ShareNewsletter-DT893L87.mjs} +41 -44
- package/dist/{SharePlayer-AeYTgJw6.mjs → SharePlayer-Ctivrvmn.mjs} +2 -2
- package/dist/SharePlayerColors-CfrkwpdM.mjs +50 -0
- package/dist/{SharePlayerRadio-DxcP73-X.mjs → SharePlayerRadio-Gvc5Gc0f.mjs} +2 -2
- package/dist/{SharePlayerTypes-CuDLz2mJ.mjs → SharePlayerTypes-B3OKl3HO.mjs} +1 -1
- package/dist/ShareSocialsButtons-MbK7ivGa.mjs +103 -0
- package/dist/SmartLinkPage-BKihppLi.mjs +143 -0
- package/dist/SubscribeButtons-DKylNvPo.mjs +126 -0
- package/dist/SwiperList-CqElRAFt.mjs +179 -0
- package/dist/{TagList-DPkw1vux.mjs → TagList-CFgCrA_i.mjs} +5 -5
- package/dist/{TagPage-uVe7N9oG.mjs → TagPage-CWGLni8k.mjs} +3 -3
- package/dist/TopBar-CmZSpIiz.mjs +427 -0
- package/dist/UserButtonContent-CvVebdKv.mjs +129 -0
- package/dist/{buttons-BkfxHdGj.mjs → buttons-s19oovgO.mjs} +1 -1
- package/dist/{downloadHelper-CvnGPosg.mjs → downloadHelper-B7bFMASS.mjs} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +235 -232
- package/dist/{messages-DlxMAMOa.mjs → messages-DJAarMHp.mjs} +108 -6
- package/dist/src/components/display/comments/like/LikeButton.vue.d.ts +9 -33
- package/dist/src/components/display/comments/like/LikeSection.vue.d.ts +11 -33
- package/dist/src/components/display/emission/EmissionInlineList.vue.d.ts +4 -4
- package/dist/src/components/display/emission/EmissionItem.vue.d.ts +5 -1
- package/dist/src/components/display/emission/EmissionPresentationItem.vue.d.ts +2 -0
- package/dist/src/components/display/emission/EmissionPresentationList.vue.d.ts +1 -1
- package/dist/src/components/display/list/SwiperList.vue.d.ts +7 -4
- package/dist/src/components/display/live/RadioItem.vue.d.ts +11 -0
- package/dist/src/components/display/participant/ParticipantInlineList.vue.d.ts +1 -1
- package/dist/src/components/display/playlist/PlaylistItem.vue.d.ts +11 -0
- package/dist/src/components/display/podcasts/PodcastFilterList.vue.d.ts +3 -3
- package/dist/src/components/display/podcasts/PodcastImage.vue.d.ts +29 -9
- package/dist/src/components/display/podcasts/PodcastInlineList.vue.d.ts +45 -4
- package/dist/src/components/display/podcasts/PodcastInlineListTemplate.vue.d.ts +1 -1
- package/dist/src/components/display/podcasts/PodcastItem.vue.d.ts +7 -1
- package/dist/src/components/display/podcasts/PodcastItemInfo.vue.d.ts +10 -12
- package/dist/src/components/display/podcasts/PodcastList.vue.d.ts +2 -0
- package/dist/src/components/display/sharing/FormatSwitch.vue.d.ts +12 -17
- package/dist/src/components/form/ClassicColorPicker.vue.d.ts +26 -0
- package/dist/src/components/form/ClassicContentEditable.vue.d.ts +1 -1
- package/dist/src/components/form/ClassicInputText.vue.d.ts +1 -1
- package/dist/src/components/form/ClassicMultiselect.vue.d.ts +4 -4
- package/dist/src/components/form/index.d.ts +2 -1
- package/dist/src/components/layouts/PresentationItem.vue.d.ts +7 -3
- package/dist/src/components/misc/ClassicPopover.vue.d.ts +2 -0
- package/dist/src/components/misc/ExternalLink.vue.d.ts +27 -0
- package/dist/src/components/misc/LoadingOverlay.vue.d.ts +19 -0
- package/dist/src/components/misc/SkipToContent.vue.d.ts +7 -0
- package/dist/src/locale/messages.d.ts +102 -0
- package/dist/src/stores/AuthStore.d.ts +1 -0
- package/dist/src/stores/CommentStore.d.ts +3 -1
- package/dist/src/stores/ParamSdkStore.d.ts +30 -32
- package/dist/src/websocket/commentWebsocket.d.ts +3 -2
- package/dist/src/websocket/wss.d.ts +35 -32
- package/dist/tests-mocks.mjs +3 -2
- package/dist/tests.mjs +3 -2
- package/dist/{useAdvancedParamInit-Bn2nYh9V.mjs → useAdvancedParamInit-CdXta4Fd.mjs} +5 -5
- package/dist/{useAppleVideo-MNXcA2S0.mjs → useAppleVideo-C0gGIXRR.mjs} +1 -1
- package/dist/{useDayjs-DV3H3JdH.mjs → useDayjs-B6txyR3X.mjs} +1 -1
- package/dist/{useErrorHandler-BVeBrWmP.mjs → useErrorHandler-BPwwQKrG.mjs} +1 -1
- package/dist/{useImageProxy-aLDjafm4.mjs → useImageProxy-XMMC_IC2.mjs} +1 -1
- package/dist/{useOrgaComputed-q48Zu9Fs.mjs → useOrgaComputed-B0wJ-ALx.mjs} +1 -1
- package/dist/usePresentationItem-D6mrQ7Zp.mjs +104 -0
- package/dist/{useRights-tS_KEToi.mjs → useRights-B-RH3q3n.mjs} +1 -1
- package/dist/{useRubriquesFilterComputed-Xl5Dt2Xq.mjs → useRubriquesFilterComputed-Bp6L2o9-.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-CIvIwIvX.mjs → useRubriquesFilterParam-B05QATg9.mjs} +1 -1
- package/dist/{useSharePlatforms-fUzHb1WM.mjs → useSharePlatforms-CbcKb6yZ.mjs} +26 -26
- package/dist/{useSimplePageParam-3Nn8EFc0.mjs → useSimplePageParam-DaoVpYoG.mjs} +1 -1
- package/eslint-config.mjs +10 -0
- package/package.json +4 -2
- package/src/api/rubriquesApi.ts +4 -4
- package/src/components/display/RightsIndicator.vue +0 -13
- package/src/components/display/RightsWrapper.vue +1 -16
- package/src/components/display/accessibility/AccessibilityModal.vue +7 -12
- package/src/components/display/comments/CommentInput.vue +2 -1
- package/src/components/display/comments/CommentList.vue +189 -176
- package/src/components/display/comments/CommentSection.vue +160 -73
- package/src/components/display/comments/item/CommentItem.vue +186 -135
- package/src/components/display/comments/item/CommentMoreActions.vue +195 -194
- package/src/components/display/comments/like/LikeButton.vue +47 -45
- package/src/components/display/comments/like/LikeSection.vue +122 -115
- package/src/components/display/emission/EmissionInlineList.vue +118 -116
- package/src/components/display/emission/EmissionItem.vue +35 -28
- package/src/components/display/emission/EmissionList.vue +41 -24
- package/src/components/display/emission/EmissionPresentationItem.vue +3 -0
- package/src/components/display/emission/EmissionPresentationList.vue +1 -0
- package/src/components/display/filter/ProductorSearch.vue +83 -80
- package/src/components/display/list/ListPaginate.vue +51 -37
- package/src/components/display/list/PaginateParams.vue +28 -32
- package/src/components/display/list/PaginateSection.vue +145 -138
- package/src/components/display/list/SwiperList.vue +113 -10
- package/src/components/display/live/LiveList.vue +111 -106
- package/src/components/display/live/RadioItem.vue +17 -12
- package/src/components/display/organisation/OrganisationChooser.vue +2 -1
- package/src/components/display/participant/ParticipantInlineList.vue +52 -49
- package/src/components/display/participant/ParticipantItem.vue +2 -1
- package/src/components/display/playlist/PlaylistItem.vue +19 -15
- package/src/components/display/playlist/PlaylistList.vue +16 -10
- package/src/components/display/playlist/PodcastPlaylistInlineList.vue +68 -61
- package/src/components/display/podcasts/AnimatorsItem.vue +2 -0
- package/src/components/display/podcasts/PodcastFilterList.vue +107 -106
- package/src/components/display/podcasts/PodcastImage.vue +110 -126
- package/src/components/display/podcasts/PodcastInlineList.vue +133 -25
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -0
- package/src/components/display/podcasts/PodcastItem.vue +111 -64
- package/src/components/display/podcasts/PodcastItemInfo.vue +48 -18
- package/src/components/display/podcasts/PodcastList.vue +198 -194
- package/src/components/display/podcasts/PodcastModuleBox.vue +1 -0
- package/src/components/display/podcasts/PodcastPlayButton.vue +23 -6
- package/src/components/display/podcasts/PodcastPresentationList.vue +1 -0
- package/src/components/display/rubriques/InlineRubriqueList.vue +35 -16
- package/src/components/display/sharing/FormatSwitch.vue +90 -101
- package/src/components/display/sharing/QrCode.vue +4 -8
- package/src/components/display/sharing/ShareAnonymous.vue +207 -205
- package/src/components/display/sharing/ShareNewsletter.vue +3 -7
- package/src/components/display/sharing/SharePlayerColors.vue +5 -12
- package/src/components/display/sharing/ShareSocialsButtons.vue +67 -60
- package/src/components/display/sharing/SubscribeButtons.vue +47 -35
- package/src/components/form/ClassicColorPicker.vue +110 -0
- package/src/components/form/ClassicMultiselect.vue +205 -197
- package/src/components/form/ClassicSelect.vue +100 -80
- package/src/components/form/index.ts +2 -0
- package/src/components/layouts/PresentationItem.vue +18 -12
- package/src/components/misc/ClassicDataTable.vue +3 -3
- package/src/components/misc/ClassicPopover.vue +95 -1
- package/src/components/misc/ClassicSpinner.vue +16 -2
- package/src/components/misc/ExternalLink.vue +51 -0
- package/src/components/misc/LoadingOverlay.vue +86 -0
- package/src/components/misc/RightsScopeMenu.vue +1 -1
- package/src/components/misc/SkipToContent.vue +16 -0
- package/src/components/misc/TopBarMainContent.vue +6 -9
- package/src/components/misc/UserButtonContent.vue +4 -7
- package/src/components/pages/EmissionPage.vue +3 -2
- package/src/components/pages/EmissionsPage.vue +4 -0
- package/src/components/pages/ParticipantPage.vue +2 -1
- package/src/components/pages/PlaylistPage.vue +115 -110
- package/src/components/pages/PodcastPage.vue +3 -0
- package/src/components/pages/PodcastsPage.vue +4 -0
- package/src/components/pages/RubriquePage.vue +1 -0
- package/src/components/pages/SmartLinkPage.vue +10 -7
- package/src/layouts/FullLayout.vue +29 -23
- package/src/locale/de.json +18 -1
- package/src/locale/en.json +18 -1
- package/src/locale/es.json +18 -1
- package/src/locale/fr.json +22 -1
- package/src/locale/it.json +18 -1
- package/src/locale/sl.json +18 -1
- package/src/stores/AuthStore.ts +11 -1
- package/src/stores/CommentStore.ts +280 -263
- package/src/stores/ParamSdkStore.ts +39 -37
- package/src/style/_variables.scss +18 -0
- package/src/style/bootstrap.scss +40 -1
- package/src/style/general.scss +3 -3
- package/src/style/share.scss +26 -1
- package/src/websocket/commentWebsocket.ts +56 -54
- package/src/websocket/wss.ts +136 -163
- package/tests/components/display/comments/CommentList.spec.ts +45 -0
- package/tests/components/display/emission/EmissionItem.spec.ts +35 -0
- package/tests/components/display/emission/EmissionPresentationItem.spec.ts +6 -0
- package/tests/components/display/filter/ProductorSearch.spec.ts +20 -0
- package/tests/components/display/list/ListPaginate.spec.ts +67 -0
- package/tests/components/display/list/SwiperList.spec.ts +101 -2
- package/tests/components/display/live/RadioItem.spec.ts +41 -0
- package/tests/components/display/playlist/PlaylistItem.spec.ts +53 -0
- package/tests/components/display/podcasts/AnimatorsItem.spec.ts +18 -0
- package/tests/components/display/podcasts/PodcastInlineList.spec.ts +139 -0
- package/tests/components/display/podcasts/PodcastInlineListTemplate.spec.ts +16 -0
- package/tests/components/display/podcasts/PodcastItem.spec.ts +77 -0
- package/tests/components/display/podcasts/PodcastItemInfo.spec.ts +15 -2
- package/tests/components/display/podcasts/PodcastPlayButton.spec.ts +67 -0
- package/tests/components/display/sharing/FormatSwitch.spec.ts +26 -0
- package/tests/components/display/sharing/ShareAnonymous.spec.ts +61 -0
- package/tests/components/display/sharing/SubscribeButtons.spec.ts +73 -0
- package/tests/components/form/ClassicColorPicker.spec.ts +71 -0
- package/tests/components/form/ClassicSelect.spec.ts +38 -0
- package/tests/components/layouts/PresentationItem.spec.ts +34 -0
- package/tests/components/misc/ClassicPopover.spec.ts +112 -0
- package/tests/components/misc/ExternalLink.spec.ts +49 -0
- package/tests/components/misc/LoadingOverlay.spec.ts +27 -0
- package/tests/components/misc/SkipToContent.spec.ts +19 -0
- package/tests/components/pages/EmissionPage.spec.ts +9 -0
- package/tests/components/pages/EmissionsPage.spec.ts +13 -2
- package/tests/components/pages/PlaylistPage.spec.ts +11 -0
- package/tests/components/pages/PodcastsPage.spec.ts +13 -2
- package/tests/components/pages/SmartLinkPage.spec.ts +13 -0
- package/tests/helper/language.spec.ts +7 -3
- package/tests/mocks/useAdvancedParamInit.ts +2 -1
- package/tests/setup.ts +7 -0
- package/tests/stores/CommentStore.spec.ts +19 -0
- package/tests/utils.ts +5 -2
- package/tests/websocket/wss.spec.ts +153 -0
- package/dist/ClassicPopover-BUb-1WMB.mjs +0 -172
- package/dist/ClassicSelect-BpA0jKN6.mjs +0 -111
- package/dist/CommentItem-CY2-D9P3.mjs +0 -226
- package/dist/CommentList-CDIYZEq_.mjs +0 -201
- package/dist/CommentSection-BJZtgsut.mjs +0 -79
- package/dist/EmissionItem-BVsuGOnv.mjs +0 -116
- package/dist/EmissionList-E8czEUK3.mjs +0 -229
- package/dist/EmissionPage-CaDFKkE8.mjs +0 -192
- package/dist/EmissionsPage-C0jLjKTK.mjs +0 -116
- package/dist/InlineRubriqueList-BeGu04QD.mjs +0 -48
- package/dist/LikeButton-Cu8jAJHx.mjs +0 -40
- package/dist/ListPaginate-BYBfYtD5.mjs +0 -153
- package/dist/OrganisationChooser-CNNIw66c.mjs +0 -135
- package/dist/PaginateParams-Bjz3ZI-5.mjs +0 -75
- package/dist/ParticipantItem-CRnquj4R.mjs +0 -91
- package/dist/ParticipantPage-D0lJjj0p.mjs +0 -128
- package/dist/PlaylistPage-DMnkTMHk.mjs +0 -132
- package/dist/PodcastImage-DrIX2U4c.mjs +0 -115
- package/dist/PodcastInlineList-BtVDNokV.mjs +0 -123
- package/dist/PodcastItem-DYOmggEB.mjs +0 -151
- package/dist/PodcastPage-ClhwIq9v.mjs +0 -591
- package/dist/PodcastPlayButton-Bv61tl0L.mjs +0 -111
- package/dist/PodcastPlaylistInlineList-aZhxjz3p.mjs +0 -63
- package/dist/PodcastSwiperList-Cwh53maw.mjs +0 -170
- package/dist/PodcastsPage-CiEknka_.mjs +0 -132
- package/dist/QrCode-DITqqZq6.mjs +0 -109
- package/dist/RadioList-CTlVQuyN.mjs +0 -70
- package/dist/ShareAnonymous-kxt4P4zK.mjs +0 -199
- package/dist/SharePlayerColors-BpdifsHh.mjs +0 -49
- package/dist/ShareSocialsButtons-BhBqmgz7.mjs +0 -102
- package/dist/SmartLinkPage-Bupxsq-O.mjs +0 -136
- package/dist/SubscribeButtons-P1Jh_rFJ.mjs +0 -121
- package/dist/SwiperList-1mHT07oe.mjs +0 -117
- package/dist/TopBar-CeVHXg03.mjs +0 -427
- package/dist/UserButtonContent-CIq9izAe.mjs +0 -131
- package/dist/usePresentationItem-DWIj-6bU.mjs +0 -100
- package/src/components/display/podcasts/PodcastSwiperList.vue +0 -160
- package/src/helper/featureHelper.ts +0 -24
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as n } from "./
|
|
3
|
-
import { t as r } from "./useErrorHandler-
|
|
4
|
-
import { t as i } from "./useSimplePageParam-
|
|
1
|
+
import { t as e } from "./ListPaginate-DMir5lKe.mjs";
|
|
2
|
+
import { C as t, T as n } from "./AuthStore-BdiVUQBK.mjs";
|
|
3
|
+
import { t as r } from "./useErrorHandler-BPwwQKrG.mjs";
|
|
4
|
+
import { t as i } from "./useSimplePageParam-DaoVpYoG.mjs";
|
|
5
5
|
import { t as a } from "./ClassicLazy-CDhWc5-4.mjs";
|
|
6
|
-
import { t as o } from "./ProductorSearch-
|
|
7
|
-
import { t as s } from "./ParticipantItem-
|
|
6
|
+
import { t as o } from "./ProductorSearch-hTTU45pI.mjs";
|
|
7
|
+
import { t as s } from "./ParticipantItem-1fs3gVfe.mjs";
|
|
8
8
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, isRef as _, onBeforeMount as v, openBlock as y, ref as b, renderList as x, resolveComponent as S, toDisplayString as C, unref as w, watch as T, withCtx as E } from "vue";
|
|
9
9
|
import { useI18n as D } from "vue-i18n";
|
|
10
10
|
//#region src/stores/class/general/participant.ts
|
|
@@ -42,20 +42,20 @@ var k = { class: "octopus-element-list" }, A = /* @__PURE__ */ g({
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
setup(i) {
|
|
45
|
-
let o = i, g = b(!0), _ = b(o.first), A = b(o.size), j = b(0), M = b(0), N = b(!1), P = b([]), { t: F } = D(), { handle403: I } = r(), L =
|
|
45
|
+
let o = i, g = b(!0), _ = b(o.first), A = b(o.size), j = b(0), M = b(0), N = b(!1), P = b([]), { t: F } = D(), { handle403: I } = r(), L = n(), R = l(() => o.organisationId ? o.organisationId : L.filterOrgaId), z = l(() => N.value ? P.value : P.value.slice(_.value, Math.min(_.value + A.value, j.value))), B = l(() => `${o.first}|${o.size}`), V = l(() => o.query ? "SCORE" : "NAME");
|
|
46
46
|
T(B, () => {
|
|
47
47
|
_.value = o.first, A.value = o.size;
|
|
48
48
|
}), T(() => o.query, () => H(!0)), T(R, () => H(!0)), T(A, () => H(!0)), T(_, () => {
|
|
49
49
|
(!P.value[_.value] || P.value[_.value].participantId === 0) && H(!1);
|
|
50
50
|
}), v(() => H(!1));
|
|
51
|
-
async function H(
|
|
51
|
+
async function H(e) {
|
|
52
52
|
g.value = !0;
|
|
53
53
|
try {
|
|
54
|
-
let n = await
|
|
54
|
+
let n = await t.fetchData({
|
|
55
55
|
api: 0,
|
|
56
56
|
path: "participant/search",
|
|
57
57
|
parameters: {
|
|
58
|
-
first:
|
|
58
|
+
first: e ? 0 : _.value,
|
|
59
59
|
size: A.value,
|
|
60
60
|
query: o.query,
|
|
61
61
|
organisationId: R.value,
|
|
@@ -63,7 +63,7 @@ var k = { class: "octopus-element-list" }, A = /* @__PURE__ */ g({
|
|
|
63
63
|
},
|
|
64
64
|
specialTreatement: !0
|
|
65
65
|
});
|
|
66
|
-
if (
|
|
66
|
+
if (e && (_.value = 0, P.value.length = 0), M.value = n.count, _.value > P.value.length) for (let e = P.value.length - 1, t = _.value + A.value; e < t; e++) P.value.push(O());
|
|
67
67
|
let r = n.result.filter((e) => (e === null && M.value--, e !== null));
|
|
68
68
|
P.value = P.value.slice(0, _.value).concat(r).concat(P.value.slice(_.value + A.value, P.value.length)), j.value = n.count;
|
|
69
69
|
} catch (e) {
|
|
@@ -71,16 +71,16 @@ var k = { class: "octopus-element-list" }, A = /* @__PURE__ */ g({
|
|
|
71
71
|
}
|
|
72
72
|
g.value = !1;
|
|
73
73
|
}
|
|
74
|
-
return (
|
|
74
|
+
return (t, n) => {
|
|
75
75
|
let r = S("router-link");
|
|
76
|
-
return y(), u(
|
|
76
|
+
return y(), u(e, {
|
|
77
77
|
id: "participantListPaginate",
|
|
78
78
|
first: _.value,
|
|
79
|
-
"onUpdate:first":
|
|
79
|
+
"onUpdate:first": n[0] ||= (e) => _.value = e,
|
|
80
80
|
"rows-per-page": A.value,
|
|
81
|
-
"onUpdate:rowsPerPage":
|
|
81
|
+
"onUpdate:rowsPerPage": n[1] ||= (e) => A.value = e,
|
|
82
82
|
"is-mobile": N.value,
|
|
83
|
-
"onUpdate:isMobile":
|
|
83
|
+
"onUpdate:isMobile": n[2] ||= (e) => N.value = e,
|
|
84
84
|
"text-count": i.showCount && M.value > 1 ? `${w(F)("Number participants", { nb: M.value })} ${w(F)("sort by score")}` : void 0,
|
|
85
85
|
"total-count": j.value,
|
|
86
86
|
loading: g.value,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./AuthStore-
|
|
1
|
+
import { t as e } from "./AuthStore-BdiVUQBK.mjs";
|
|
2
2
|
import { t } from "./ClassicModal-Dl2IdzXZ.mjs";
|
|
3
|
-
import { t as n } from "./SharePlayer-
|
|
3
|
+
import { t as n } from "./SharePlayer-Ctivrvmn.mjs";
|
|
4
4
|
import { createBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, openBlock as s, toDisplayString as c, unref as l, withCtx as u } from "vue";
|
|
5
5
|
import { useI18n as d } from "vue-i18n";
|
|
6
6
|
//#endregion
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { t as e } from "./ClassicLoading-ydEDL7-R.mjs";
|
|
2
|
+
import { T as t, h as n, j as r, t as i } from "./AuthStore-BdiVUQBK.mjs";
|
|
3
|
+
import { t as ee } from "./displayHelper-DQtoqc_6.mjs";
|
|
4
|
+
import { t as a } from "./useImageProxy-XMMC_IC2.mjs";
|
|
5
|
+
import { t as o } from "./GeneralStore-Darfv4af.mjs";
|
|
6
|
+
import { t as s } from "./useErrorHandler-BPwwQKrG.mjs";
|
|
7
|
+
import { t as te } from "./useSimplePageParam-DaoVpYoG.mjs";
|
|
8
|
+
import { t as c } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
9
|
+
import { t as l } from "./useOrgaComputed-B0wJ-ALx.mjs";
|
|
10
|
+
import { t as u } from "./PodcastList-Cww-0Swl.mjs";
|
|
11
|
+
import { t as d } from "./SubscribeButtons-DKylNvPo.mjs";
|
|
12
|
+
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, guardReactiveProps as ne, isRef as re, normalizeClass as ie, normalizeProps as ae, onBeforeUnmount as oe, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, unref as T, watch as E } from "vue";
|
|
13
|
+
import { useI18n as D } from "vue-i18n";
|
|
14
|
+
import { useRoute as O } from "vue-router";
|
|
15
|
+
//#region src/components/pages/PlaylistPage.vue?vue&type=script&setup=true&lang.ts
|
|
16
|
+
var k = { class: "page-box" }, A = { class: "module-box" }, j = { class: "mb-5 mt-3 description-text" }, M = ["src"], N = { class: "d-flex align-items-center justify-content-between" }, P = ["innerHTML"], F = { class: "module-box" }, I = /* @__PURE__ */ b({
|
|
17
|
+
__name: "PlaylistPage",
|
|
18
|
+
props: {
|
|
19
|
+
playlistId: {
|
|
20
|
+
default: void 0,
|
|
21
|
+
type: Number
|
|
22
|
+
},
|
|
23
|
+
pr: {
|
|
24
|
+
default: 0,
|
|
25
|
+
type: Number
|
|
26
|
+
},
|
|
27
|
+
ps: {
|
|
28
|
+
default: 30,
|
|
29
|
+
type: Number
|
|
30
|
+
},
|
|
31
|
+
routeQuery: {
|
|
32
|
+
default: "",
|
|
33
|
+
type: String
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
setup(b) {
|
|
37
|
+
let I = y(() => import("./ShareSocialsButtons-MbK7ivGa.mjs")), L = y(() => import("./SharePlayer-Ctivrvmn.mjs").then((e) => e.n)), R = y(() => import("./PodcastmakerHeader-DJXLJTF6.mjs")), z = y(() => import("./ShareAnonymous-QT4t2_n7.mjs")), B = b, V = S(!1), H = S(!1), U = S(void 0), W = O(), { t: G } = D(), { useProxyImageUrl: K } = a(), { isPodcastmaker: q, isEditRights: se, authOrgaId: ce } = l(), { updatePathParams: le } = c(), { handle403: ue } = s(), de = i(), J = t(), Y = o(), { searchPattern: X, paginateFirst: fe, isInit: pe } = te(B, !0), Z = p(() => U.value?.ambianceType === "AMBIANCE" || U.value?.ambianceType === "AMBIANCE_PROGRAMMED"), me = p(() => Z.value ? G("Mix of episodes") : G("Playlist")), he = p(() => U.value?.title ?? ""), ge = p(() => U.value?.description ?? ""), Q = p(() => se(U.value?.organisation?.id, de.isRolePlaylists));
|
|
38
|
+
E(() => B.playlistId, () => {
|
|
39
|
+
ve();
|
|
40
|
+
}, { immediate: !0 }), oe(() => {
|
|
41
|
+
Y.contentToDisplayUpdate(null);
|
|
42
|
+
});
|
|
43
|
+
function _e(e) {
|
|
44
|
+
return ee.urlify(e);
|
|
45
|
+
}
|
|
46
|
+
function $() {
|
|
47
|
+
H.value = !0, V.value = !0;
|
|
48
|
+
}
|
|
49
|
+
async function ve() {
|
|
50
|
+
try {
|
|
51
|
+
if (V.value = !1, H.value = !1, U.value = await n.get(B.playlistId), J.updateOrgaIfNecessary(U.value.organisation?.id), !Q.value && Z.value || U.value.organisation?.privacy !== "PUBLIC" && J.filterOrgaId !== U.value.organisation?.id && W.query.productor !== U.value.organisation?.id) {
|
|
52
|
+
$();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
Y.contentToDisplayUpdate(U.value), le(U.value.title);
|
|
56
|
+
} catch (e) {
|
|
57
|
+
ue(e), $();
|
|
58
|
+
}
|
|
59
|
+
V.value = !0;
|
|
60
|
+
}
|
|
61
|
+
return (t, n) => (x(), g("section", k, [V.value && !H.value && U.value ? (x(), g(f, { key: 0 }, [
|
|
62
|
+
T(q) ? (x(), m(T(R), {
|
|
63
|
+
key: 0,
|
|
64
|
+
"page-title": me.value,
|
|
65
|
+
"img-url": U.value.imageUrl
|
|
66
|
+
}, null, 8, ["page-title", "img-url"])) : h("", !0),
|
|
67
|
+
_("div", { class: ie(["d-flex flex-column page-element", T(q) ? "page-element-podcastmaker" : ""]) }, [
|
|
68
|
+
_("section", A, [
|
|
69
|
+
Q.value && !T(q) ? C(t.$slots, "edit-box", { playlist: U.value }, void 0, void 0, 0) : h("", !0),
|
|
70
|
+
_("div", j, [
|
|
71
|
+
_("img", {
|
|
72
|
+
loading: "lazy",
|
|
73
|
+
src: T(K)(U.value.imageUrl, "250"),
|
|
74
|
+
width: "250",
|
|
75
|
+
height: "250",
|
|
76
|
+
"aria-hidden": "true",
|
|
77
|
+
alt: "",
|
|
78
|
+
class: "img-box float-start me-3 mb-3"
|
|
79
|
+
}, null, 8, M),
|
|
80
|
+
_("div", N, [_("h2", null, w(he.value), 1), Q.value ? h("", !0) : (x(), m(T(z), {
|
|
81
|
+
key: 0,
|
|
82
|
+
class: "d-flex justify-content-end flex-grow-1",
|
|
83
|
+
playlist: U.value,
|
|
84
|
+
"organisation-id": U.value.organisation?.id
|
|
85
|
+
}, null, 8, ["playlist", "organisation-id"]))]),
|
|
86
|
+
_("p", {
|
|
87
|
+
class: "html-wysiwyg-content",
|
|
88
|
+
innerHTML: _e(ge.value)
|
|
89
|
+
}, null, 8, P)
|
|
90
|
+
]),
|
|
91
|
+
T(q) ? (x(), m(d, {
|
|
92
|
+
key: 1,
|
|
93
|
+
class: "mt-4",
|
|
94
|
+
content: U.value,
|
|
95
|
+
"window-width": 1e3,
|
|
96
|
+
"justify-center": !1
|
|
97
|
+
}, null, 8, ["content"])) : h("", !0)
|
|
98
|
+
]),
|
|
99
|
+
!T(q) && Q.value ? (x(), m(T(L), {
|
|
100
|
+
key: 0,
|
|
101
|
+
playlist: U.value,
|
|
102
|
+
"organisation-id": T(ce)
|
|
103
|
+
}, null, 8, ["playlist", "organisation-id"])) : h("", !0),
|
|
104
|
+
T(r).podcastPage.ShareButtons ? (x(), m(T(I), {
|
|
105
|
+
key: 1,
|
|
106
|
+
"organisation-id": U.value.organisation.id
|
|
107
|
+
}, null, 8, ["organisation-id"])) : h("", !0),
|
|
108
|
+
_("section", F, [T(pe) ? (x(), m(u, {
|
|
109
|
+
key: 0,
|
|
110
|
+
query: T(X),
|
|
111
|
+
"onUpdate:query": n[0] ||= (e) => re(X) ? X.value = e : null,
|
|
112
|
+
first: T(fe),
|
|
113
|
+
size: b.ps,
|
|
114
|
+
playlist: U.value
|
|
115
|
+
}, null, 8, [
|
|
116
|
+
"query",
|
|
117
|
+
"first",
|
|
118
|
+
"size",
|
|
119
|
+
"playlist"
|
|
120
|
+
])) : h("", !0)])
|
|
121
|
+
], 2),
|
|
122
|
+
C(t.$slots, "bottom", ae(ne({ playlist: U.value })))
|
|
123
|
+
], 64)) : h("", !0), v(e, {
|
|
124
|
+
"loading-text": V.value ? void 0 : T(G)("Loading content ..."),
|
|
125
|
+
"error-text": H.value ? T(G)("Playlist doesn't exist") : void 0
|
|
126
|
+
}, null, 8, ["loading-text", "error-text"])]));
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
//#endregion
|
|
130
|
+
export { I as default };
|
|
@@ -1,28 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as i } from "./
|
|
1
|
+
import { t as e } from "./ListPaginate-DMir5lKe.mjs";
|
|
2
|
+
import { C as t, T as n, j as r, t as i } from "./AuthStore-BdiVUQBK.mjs";
|
|
3
3
|
import { t as a } from "./displayHelper-DQtoqc_6.mjs";
|
|
4
|
-
import { t as o } from "./useImageProxy-
|
|
5
|
-
import { t as s } from "./useErrorHandler-
|
|
6
|
-
import { t as c } from "./useSimplePageParam-
|
|
4
|
+
import { t as o } from "./useImageProxy-XMMC_IC2.mjs";
|
|
5
|
+
import { t as s } from "./useErrorHandler-BPwwQKrG.mjs";
|
|
6
|
+
import { t as c } from "./useSimplePageParam-DaoVpYoG.mjs";
|
|
7
7
|
import { n as l } from "./organisation-JgfYj1Jp.mjs";
|
|
8
8
|
import { t as u } from "./ClassicLazy-CDhWc5-4.mjs";
|
|
9
|
-
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, isRef as x, onMounted as S, openBlock as C, ref as w, renderList as T, resolveComponent as E,
|
|
10
|
-
import { useI18n as
|
|
9
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, isRef as x, onMounted as S, openBlock as C, ref as w, renderList as T, resolveComponent as E, resolveDynamicComponent as D, toDisplayString as O, unref as k, useTemplateRef as A, watch as j, withCtx as M } from "vue";
|
|
10
|
+
import { useI18n as N } from "vue-i18n";
|
|
11
11
|
//#region src/components/display/playlist/PlaylistItem.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var
|
|
12
|
+
var P = { class: "classic-element-container" }, F = { class: "classic-element-content d-flex flex-grow-1 text-dark" }, I = { class: "classic-element-text" }, L = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "sticker-empty-ressource"
|
|
15
|
-
}, R = {
|
|
15
|
+
}, R = {
|
|
16
16
|
ref: "descriptionPlaylistContainer",
|
|
17
17
|
class: "element-description html-wysiwyg-content"
|
|
18
|
-
},
|
|
18
|
+
}, z = ["innerHTML"], B = ["src"], V = /* @__PURE__ */ b({
|
|
19
19
|
__name: "PlaylistItem",
|
|
20
|
-
props: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
props: {
|
|
21
|
+
playlist: {
|
|
22
|
+
default: () => ({}),
|
|
23
|
+
type: Object
|
|
24
|
+
},
|
|
25
|
+
titleTag: {
|
|
26
|
+
default: "h3",
|
|
27
|
+
type: String
|
|
28
|
+
}
|
|
29
|
+
},
|
|
24
30
|
setup(e) {
|
|
25
|
-
let t = e, { t:
|
|
31
|
+
let t = e, { t: n } = N(), { useProxyImageUrl: i } = o(), s = f(() => t.playlist.description ?? ""), c = f(() => t.playlist.title ?? ""), l = f(() => Object.keys(t.playlist.samplingViews ?? []).length !== 0);
|
|
26
32
|
S(() => {
|
|
27
33
|
let e = A("descriptionPlaylist")?.value, t = A("descriptionPlaylistContainer")?.value;
|
|
28
34
|
e?.clientHeight > t?.clientHeight && t.classList.add("after-element-description");
|
|
@@ -31,49 +37,53 @@ var F = { class: "classic-element-container" }, I = { class: "classic-element-te
|
|
|
31
37
|
return a.urlify(e);
|
|
32
38
|
}
|
|
33
39
|
return (t, a) => {
|
|
34
|
-
let o = E("router-link")
|
|
35
|
-
return C(), h("article", F, [
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
title: k(r)("Playlist name page", { name: c.value }),
|
|
41
|
-
class: "d-flex flex-grow-1 text-dark"
|
|
42
|
-
}, {
|
|
43
|
-
default: M(() => [g("div", I, [
|
|
44
|
-
l.value ? m("", !0) : (C(), h("div", L, O(k(r)("Empty playlist")), 1)),
|
|
45
|
-
g("div", R, O(c.value), 1),
|
|
46
|
-
g("div", z, [g("div", {
|
|
47
|
-
ref: "descriptionPlaylist",
|
|
48
|
-
innerHTML: u(s.value)
|
|
49
|
-
}, null, 8, B)], 512),
|
|
50
|
-
!k(n).generalParameters.podcastmaker && e.playlist.organisation ? (C(), p(o, {
|
|
51
|
-
key: 1,
|
|
40
|
+
let o = E("router-link");
|
|
41
|
+
return C(), h("article", P, [g("div", F, [g("div", I, [
|
|
42
|
+
l.value ? m("", !0) : (C(), h("div", L, O(k(n)("Empty playlist")), 1)),
|
|
43
|
+
(C(), p(D(e.titleTag), { class: "d-flex align-items-center element-name basic-line-clamp" }, {
|
|
44
|
+
default: M(() => [v(o, {
|
|
52
45
|
to: {
|
|
53
|
-
name: "
|
|
54
|
-
params: {
|
|
46
|
+
name: "playlist",
|
|
47
|
+
params: { playlistId: e.playlist.playlistId }
|
|
55
48
|
},
|
|
56
|
-
|
|
49
|
+
title: k(n)("Playlist name page", { name: c.value }),
|
|
50
|
+
class: "text-dark element-link"
|
|
57
51
|
}, {
|
|
58
|
-
default: M(() => [_(
|
|
52
|
+
default: M(() => [_(O(c.value), 1)]),
|
|
59
53
|
_: 1
|
|
60
|
-
}, 8, ["to"]))
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
54
|
+
}, 8, ["to", "title"])]),
|
|
55
|
+
_: 1
|
|
56
|
+
})),
|
|
57
|
+
g("div", R, [g("div", {
|
|
58
|
+
ref: "descriptionPlaylist",
|
|
59
|
+
innerHTML: u(s.value)
|
|
60
|
+
}, null, 8, z)], 512),
|
|
61
|
+
!k(r).generalParameters.podcastmaker && e.playlist.organisation ? (C(), p(o, {
|
|
62
|
+
key: 1,
|
|
63
|
+
to: {
|
|
64
|
+
name: "productor",
|
|
65
|
+
params: { productorId: e.playlist.organisation.id }
|
|
66
|
+
},
|
|
67
|
+
class: "text-dark mt-auto py-1"
|
|
68
|
+
}, {
|
|
69
|
+
default: M(() => [_(" © " + O(e.playlist.organisation.name), 1)]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, ["to"])) : m("", !0)
|
|
72
|
+
]), g("img", {
|
|
73
|
+
loading: "lazy",
|
|
74
|
+
src: k(i)(e.playlist.imageUrl, "250"),
|
|
75
|
+
width: "250",
|
|
76
|
+
height: "250",
|
|
77
|
+
"aria-hidden": "true",
|
|
78
|
+
alt: "",
|
|
79
|
+
class: "img-box"
|
|
80
|
+
}, null, 8, B)])]);
|
|
71
81
|
};
|
|
72
82
|
}
|
|
73
83
|
});
|
|
74
84
|
//#endregion
|
|
75
85
|
//#region src/stores/class/general/playlist.ts
|
|
76
|
-
function
|
|
86
|
+
function H() {
|
|
77
87
|
return {
|
|
78
88
|
ambianceType: "NONE",
|
|
79
89
|
description: "",
|
|
@@ -88,7 +98,7 @@ function U() {
|
|
|
88
98
|
}
|
|
89
99
|
//#endregion
|
|
90
100
|
//#region src/components/display/playlist/PlaylistList.vue?vue&type=script&setup=true&lang.ts
|
|
91
|
-
var
|
|
101
|
+
var U = { class: "octopus-element-list two-items-list" }, W = /* @__PURE__ */ b({
|
|
92
102
|
__name: "PlaylistList",
|
|
93
103
|
props: {
|
|
94
104
|
first: {
|
|
@@ -108,25 +118,25 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
108
118
|
type: String
|
|
109
119
|
}
|
|
110
120
|
},
|
|
111
|
-
setup(
|
|
112
|
-
let
|
|
121
|
+
setup(r) {
|
|
122
|
+
let i = r, a = w(!0), o = w(i.first), c = w(i.size), l = w(0), y = w(0), b = w(!1), x = w([]), { t: D } = N(), { handle403: A } = s(), P = n(), F = f(() => b.value ? x.value : x.value.slice(o.value, Math.min(o.value + c.value, l.value))), I = f(() => `${i.organisationId}|${i.query}`), L = f(() => `${i.first}|${i.size}`), R = f(() => i.query ? "SCORE" : "NAME"), z = f(() => i.organisationId ? i.organisationId : P.filterOrgaId);
|
|
113
123
|
j(L, () => {
|
|
114
|
-
o.value =
|
|
124
|
+
o.value = i.first, c.value = i.size;
|
|
115
125
|
}), j(I, () => B(!0)), j(c, () => B(!0)), j(o, () => {
|
|
116
126
|
(!x.value[o.value] || x.value[o.value].playlistId === 0) && B(!1);
|
|
117
127
|
}), S(() => B(!1));
|
|
118
|
-
async function B(
|
|
128
|
+
async function B(e) {
|
|
119
129
|
a.value = !0;
|
|
120
130
|
let n = {
|
|
121
|
-
first:
|
|
131
|
+
first: e ? 0 : o.value,
|
|
122
132
|
size: c.value,
|
|
123
|
-
query:
|
|
133
|
+
query: i.query,
|
|
124
134
|
organisationId: z.value,
|
|
125
135
|
type: "NONE",
|
|
126
136
|
sort: R.value
|
|
127
137
|
};
|
|
128
138
|
try {
|
|
129
|
-
|
|
139
|
+
W(e, await t.fetchData({
|
|
130
140
|
api: 0,
|
|
131
141
|
path: "playlist/search",
|
|
132
142
|
parameters: n,
|
|
@@ -136,34 +146,34 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
136
146
|
A(e);
|
|
137
147
|
}
|
|
138
148
|
}
|
|
139
|
-
function
|
|
140
|
-
if (e && (o.value = 0, x.value.length = 0), o.value > x.value.length) for (let e = x.value.length - 1, t = o.value + c.value; e < t; e++) x.value.push(
|
|
149
|
+
function W(e, t) {
|
|
150
|
+
if (e && (o.value = 0, x.value.length = 0), o.value > x.value.length) for (let e = x.value.length - 1, t = o.value + c.value; e < t; e++) x.value.push(H());
|
|
141
151
|
y.value = t.count;
|
|
142
152
|
let n = t.result.filter((e) => (e === null && y.value--, e !== null));
|
|
143
153
|
x.value = x.value.slice(0, o.value).concat(n).concat(x.value.slice(o.value + c.value, x.value.length)), l.value = t.count, a.value = !1;
|
|
144
154
|
}
|
|
145
|
-
return (
|
|
146
|
-
let
|
|
147
|
-
return C(), p(
|
|
155
|
+
return (t, n) => {
|
|
156
|
+
let r = E("router-link");
|
|
157
|
+
return C(), p(e, {
|
|
148
158
|
id: "playlistListPaginate",
|
|
149
159
|
first: o.value,
|
|
150
|
-
"onUpdate:first":
|
|
160
|
+
"onUpdate:first": n[0] ||= (e) => o.value = e,
|
|
151
161
|
"rows-per-page": c.value,
|
|
152
|
-
"onUpdate:rowsPerPage":
|
|
162
|
+
"onUpdate:rowsPerPage": n[1] ||= (e) => c.value = e,
|
|
153
163
|
"is-mobile": b.value,
|
|
154
|
-
"onUpdate:isMobile":
|
|
164
|
+
"onUpdate:isMobile": n[2] ||= (e) => b.value = e,
|
|
155
165
|
"text-count": y.value > 1 ? `${k(D)("Number playlists", { nb: y.value })}` : void 0,
|
|
156
166
|
"total-count": l.value,
|
|
157
167
|
loading: a.value,
|
|
158
168
|
"loading-text": a.value ? k(D)("Loading content ...") : void 0,
|
|
159
169
|
"player-responsive": !0
|
|
160
170
|
}, {
|
|
161
|
-
list: M(() => [g("div",
|
|
171
|
+
list: M(() => [g("div", U, [(C(!0), h(d, null, T(F.value, (e) => (C(), p(u, {
|
|
162
172
|
key: e.playlistId,
|
|
163
173
|
"min-height": 250,
|
|
164
174
|
class: "d-flex flex-column flex-grow-1"
|
|
165
175
|
}, {
|
|
166
|
-
preview: M(() => [v(
|
|
176
|
+
preview: M(() => [g("h2", null, [v(r, {
|
|
167
177
|
to: {
|
|
168
178
|
name: "playlist",
|
|
169
179
|
params: { playlistId: e.playlistId }
|
|
@@ -172,10 +182,11 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
172
182
|
}, {
|
|
173
183
|
default: M(() => [_(O(e.title), 1)]),
|
|
174
184
|
_: 2
|
|
175
|
-
}, 1032, ["to", "title"])]),
|
|
176
|
-
default: M(() => [e.playlistId === 0 ? m("", !0) : (C(), p(
|
|
185
|
+
}, 1032, ["to", "title"])])]),
|
|
186
|
+
default: M(() => [e.playlistId === 0 ? m("", !0) : (C(), p(V, {
|
|
177
187
|
key: 0,
|
|
178
|
-
playlist: e
|
|
188
|
+
playlist: e,
|
|
189
|
+
"title-tag": "h2"
|
|
179
190
|
}, null, 8, ["playlist"]))]),
|
|
180
191
|
_: 2
|
|
181
192
|
}, 1024))), 128))])]),
|
|
@@ -191,10 +202,10 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
191
202
|
]);
|
|
192
203
|
};
|
|
193
204
|
}
|
|
194
|
-
}),
|
|
205
|
+
}), G = {
|
|
195
206
|
key: 0,
|
|
196
207
|
class: "page-box"
|
|
197
|
-
},
|
|
208
|
+
}, K = { class: "btn btn-primary" }, q = /* @__PURE__ */ b({
|
|
198
209
|
__name: "PlaylistsPage",
|
|
199
210
|
props: {
|
|
200
211
|
pr: {
|
|
@@ -215,16 +226,16 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
215
226
|
}
|
|
216
227
|
},
|
|
217
228
|
setup(e) {
|
|
218
|
-
let t = y(() => import("./ProductorSearch-
|
|
229
|
+
let t = y(() => import("./ProductorSearch-hTTU45pI.mjs").then((e) => e.n)), n = e, { t: a } = N(), { searchPattern: o, organisationId: s, searchMinSize: l, paginateFirst: u, isInit: d } = c(n), _ = i(), b = f(() => r.generalParameters.podcastmaker), S = f(() => _.isRolePlaylists);
|
|
219
230
|
return (n, r) => {
|
|
220
231
|
let i = E("router-link");
|
|
221
|
-
return k(d) ? (C(), h("section",
|
|
232
|
+
return k(d) ? (C(), h("section", G, [
|
|
222
233
|
S.value && !b.value ? (C(), p(i, {
|
|
223
234
|
key: 0,
|
|
224
235
|
to: "/main/priv/edit/playlist",
|
|
225
236
|
class: "d-flex justify-content-center my-3"
|
|
226
237
|
}, {
|
|
227
|
-
default: M(() => [g("div",
|
|
238
|
+
default: M(() => [g("div", K, O(k(a)("Create playlist")), 1)]),
|
|
228
239
|
_: 1
|
|
229
240
|
})) : m("", !0),
|
|
230
241
|
v(k(t), {
|
|
@@ -234,7 +245,7 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
234
245
|
"onUpdate:searchPattern": r[1] ||= (e) => x(o) ? o.value = e : null,
|
|
235
246
|
type: "playlist"
|
|
236
247
|
}, null, 8, ["organisation-id", "search-pattern"]),
|
|
237
|
-
v(
|
|
248
|
+
v(W, {
|
|
238
249
|
"show-count": !0,
|
|
239
250
|
first: k(u),
|
|
240
251
|
size: e.ps,
|
|
@@ -251,4 +262,4 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
|
|
|
251
262
|
}
|
|
252
263
|
});
|
|
253
264
|
//#endregion
|
|
254
|
-
export {
|
|
265
|
+
export { q as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as e } from "./AuthStore-
|
|
1
|
+
import { u as e } from "./AuthStore-BdiVUQBK.mjs";
|
|
2
2
|
import { t } from "./useSeasonsManagement-DwbmJywJ.mjs";
|
|
3
3
|
import { t as n } from "./ClassicSearch-CtL1cpnF.mjs";
|
|
4
|
-
import { t as r } from "./PodcastList-
|
|
4
|
+
import { t as r } from "./PodcastList-s4gxQjq5.mjs";
|
|
5
5
|
import { t as i } from "./ClassicNav-DYez6p1J.mjs";
|
|
6
6
|
import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineAsyncComponent as f, defineComponent as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, watch as y, withCtx as b } from "vue";
|
|
7
7
|
import { useI18n as x } from "vue-i18n";
|
|
@@ -28,7 +28,7 @@ var S = { class: "py-3" }, C = { class: "mb-2" }, w = { class: "d-flex align-ite
|
|
|
28
28
|
},
|
|
29
29
|
emits: ["fetch", "update:query"],
|
|
30
30
|
setup(p, { emit: E }) {
|
|
31
|
-
let D = f(() => import("./CategoryChooser-
|
|
31
|
+
let D = f(() => import("./CategoryChooser-Cg_gq6L_.mjs").then((e) => e.n)), O = p, k = E, A = h(O.first), j = h(O.size), M = h(O.query ?? ""), N = h(!1), P = h(void 0), { t: F } = x(), { areSeasonsEnabled: I, getMaxSeason: L } = t(), R = a(() => O.name ? F("All podcast button", { name: O.name }) : F("All podcast emission button")), z = a(() => M.value.length > 3 ? M.value : ""), B = a(() => O.emission !== void 0 && I(O.emission) && (O.emission.seasons?.length ?? 0) > 0), V = a(() => [...O.emission.seasons].sort()), H = h(B.value ? O.emission.seasons?.indexOf(L(O.emission)) ?? 0 : 0), U = a(() => B.value === !0 ? e.SEASONAL : z.value.length ? e.SCORE : e.DATE);
|
|
32
32
|
y(() => O.reload, () => {
|
|
33
33
|
N.value = !N.value;
|
|
34
34
|
}), y(M, () => {
|
|
@@ -117,6 +117,7 @@ var S = { class: "py-3" }, C = { class: "mb-2" }, w = { class: "d-flex align-ite
|
|
|
117
117
|
"show-count": p.showCount,
|
|
118
118
|
"display-sort-text": !1,
|
|
119
119
|
"force-update-parameters": p.forceUpdateParameters,
|
|
120
|
+
"podcast-title-tag": "h4",
|
|
120
121
|
onFetch: G
|
|
121
122
|
}, null, 8, [
|
|
122
123
|
"first",
|