@saooti/octopus-sdk 42.3.0-beta1 → 42.3.0-beta2
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 +93 -0
- package/dist/AdsProgressBar-DdkQTxms.mjs +20 -0
- package/dist/AdvancedSearch-CG75321A.mjs +267 -0
- package/dist/AdvancedSearch-RpudziSJ.mjs.map +1 -0
- package/dist/AmazonMusicIcon-6zqZK6Q9.mjs +39 -0
- package/dist/ApplePodcastIcon-C3ogP5y5.mjs +40 -0
- package/dist/CategoryChooser-C-34sFe8.mjs +173 -0
- package/dist/CategoryFilter-CJZx8omI.mjs +143 -0
- package/dist/CategoryList-CwNsFVQm.mjs +107 -0
- package/dist/CategoryPage--kdJgrOE.mjs +28 -0
- package/dist/CategorySearchFilter-D_ZSRtaL.mjs +39 -0
- package/dist/ChapteringModal-Cnut4wcf.mjs +46 -0
- package/dist/CheckIdentityModal-D5F53WBz.mjs +51 -0
- package/dist/ChooseEpisodesNumber-CXJO5dfs.mjs +33 -0
- package/dist/ClassicAccordion-0eaNyzmz.mjs +71 -0
- package/dist/ClassicAlert-DATLZ8J1.mjs +53 -0
- package/dist/ClassicBigChip-BK8v_P0z.mjs +25 -0
- package/dist/ClassicCheckbox-xPu56Drn.mjs +89 -0
- package/dist/ClassicContentEditable-CWmtRihd.mjs +45 -0
- package/dist/ClassicCopyButton-DJ9T09fS.mjs +52 -0
- package/dist/ClassicDatePicker-B7UA9CqR.mjs +187 -0
- package/dist/ClassicDatePicker-DBVj13V8.mjs.map +1 -0
- package/dist/ClassicEmojiPicker-xjxYsjpR.mjs +63 -0
- package/dist/ClassicHelpButton-WkkD_fvP.mjs +34 -0
- package/dist/ClassicInputText-CFzU8ANo.mjs +270 -0
- package/dist/ClassicLazy-CDhWc5-4.mjs +56 -0
- package/dist/ClassicLoading-CXfMjpyl.mjs +40 -0
- package/dist/ClassicModal-Dl2IdzXZ.mjs +63 -0
- package/dist/ClassicModalInBody-D5-RfQ8Z.mjs +58 -0
- package/dist/ClassicMultiselect-g3xqjPns.mjs +201 -0
- package/dist/ClassicNav-DYez6p1J.mjs +47 -0
- package/dist/ClassicNotifications-XerI3fuy.mjs +25 -0
- package/dist/ClassicPopover-ChIaSqUg.mjs +167 -0
- package/dist/ClassicRadio-BbJEgMB7.mjs +61 -0
- package/dist/ClassicRadioLabel-DgimkkQe.mjs +76 -0
- package/dist/ClassicSearch-CtL1cpnF.mjs +63 -0
- package/dist/ClassicSelect-BpA0jKN6.mjs +111 -0
- package/dist/ClassicSpinner-DFRDD51g.mjs +28 -0
- package/dist/ClassicTabs-DYOZLNK2.mjs +40 -0
- package/dist/ClassicTagInput-DiRwA8CF.mjs +62 -0
- package/dist/ClassicWysiwyg-cp3PQYAd.mjs +164 -0
- package/dist/ClipboardModal-CvY7F9XD.mjs +56 -0
- package/dist/CommentInput-CrLp5kVE.mjs +112 -0
- package/dist/CommentItem-DVpqD8WV.mjs +226 -0
- package/dist/CommentList-BVWxtWBd.mjs +201 -0
- package/dist/CommentMoreActions-CtNaymfO.mjs +196 -0
- package/dist/CommentName-DOp7RPYb.mjs +56 -0
- package/dist/CommentParentInfo-BGzHsZBo.mjs +36 -0
- package/dist/CommentPlayer-CaXXK_ur.mjs +47 -0
- package/dist/CommentSection-BLnaNc3j.mjs +79 -0
- package/dist/CommentStore-BvQ47pgC.mjs +279 -0
- package/dist/ContractPreviewModal-DLUIJL6V.mjs +53 -0
- package/dist/CountDown-o6ye6yv1.mjs +17 -0
- package/dist/CountdownOctopus-D0X5hVBu.mjs +23 -0
- package/dist/DateFilter-CWHLeDyi.mjs.map +1 -0
- package/dist/DateFilter-DztHuPm8.mjs +79 -0
- package/dist/DeezerIcon-CybxfijL.mjs +39 -0
- package/dist/DownloadPodcastButton-BhZk8CIi.mjs +30 -0
- package/dist/EditCommentModal-Clonb45M.mjs +115 -0
- package/dist/EditFtpIcon-B1FO4hqc.mjs +39 -0
- package/dist/EmissionGroupChooser-TC2y4oBU.mjs +45 -0
- package/dist/EmissionInlineList-MlKj2KRi.mjs +114 -0
- package/dist/EmissionItem-DhPPoaoI.mjs +116 -0
- package/dist/EmissionList-CiaXhV5K.mjs +229 -0
- package/dist/EmissionPage-CVEdB4gX.mjs +192 -0
- package/dist/EmissionPlayerItem--yZExmAl.mjs +119 -0
- package/dist/EmissionPresentationItem-D2m6v7YY.mjs +41 -0
- package/dist/EmissionPresentationList-R5n9QDjN.mjs +92 -0
- package/dist/EmissionsPage-1TmihhPu.mjs +116 -0
- package/dist/EmissionsPage-DbXGidSU.mjs.map +1 -0
- package/dist/Error403Page-DPVj6dbw.mjs +40 -0
- package/dist/ErrorMessage-B4gtlriP.mjs +22 -0
- package/dist/FooterGarSection-BCWLrhPN.mjs +39 -0
- package/dist/FooterSection-v72S9lf7.mjs +149 -0
- package/dist/GeneralStore-Darfv4af.mjs +39 -0
- package/dist/HomeDropdown-BWACxS1Z.mjs +66 -0
- package/dist/HomePage-BrDLgfWv.mjs +112 -0
- package/dist/IHeartIcon-DP1otYre.mjs +42 -0
- package/dist/InlineRubriqueList-oFCs-YCb.mjs +48 -0
- package/dist/LikeButton-Cu8jAJHx.mjs +40 -0
- package/dist/LikeSection-_QsrlWON.mjs +97 -0
- package/dist/ListPaginate-CWJkWFT9.mjs +163 -0
- package/dist/LiveHorizontalList-DLiVAXF8.mjs +77 -0
- package/dist/LiveList-Dh0Hem9X.mjs +204 -0
- package/dist/LivesPage-OA39_ikp.mjs +40 -0
- package/dist/MapPage-BdFv7ywN.mjs +240 -0
- package/dist/MessageModal-BcqS77v6.mjs +101 -0
- package/dist/MobileMenu-BQw-01vq.mjs +136 -0
- package/dist/MonetizableFilter-B7NHzXEY.mjs +58 -0
- package/dist/NewsletterModal-Yc3Kr6JH.mjs +53 -0
- package/dist/OctopusMultiselect-C8qljiaH.mjs +234 -0
- package/dist/OrganisationChooser-NE9HYr30.mjs +135 -0
- package/dist/OrganisationChooserLight-BzI51-2p.mjs +48 -0
- package/dist/PageLogout-CVZHOw8c.mjs +12 -0
- package/dist/PageNotFound-Dm-Sg2Wi.mjs +37 -0
- package/dist/PaginateParams-Bjz3ZI-5.mjs +75 -0
- package/dist/PaginateSection-Oip_5JHt.mjs +137 -0
- package/dist/ParticipantDescription-DVSfKvtg.mjs +46 -0
- package/dist/ParticipantInlineList-CjwKVHrg.mjs +84 -0
- package/dist/ParticipantItem-DiBk3UKd.mjs +91 -0
- package/dist/ParticipantPage-CXKT_lay.mjs +128 -0
- package/dist/ParticipantsPage-BzqbuOI-.mjs +168 -0
- package/dist/PlayVideoIcon-BhTQpMyL.mjs +40 -0
- package/dist/PlayerAnonymousModal-DFlvvkSt.mjs +61 -0
- package/dist/PlayerCommonParameters-x0zV7AoW.mjs +27 -0
- package/dist/PlayerCompact-OiohowN8.mjs +128 -0
- package/dist/PlayerComponent-DUUeBtc2.mjs +575 -0
- package/dist/PlayerFmIcon-D7gURz4r.mjs +39 -0
- package/dist/PlayerLarge-B4_ykSr8.mjs +128 -0
- package/dist/PlayerParameters-kVBMXQIb.mjs +173 -0
- package/dist/PlayerPlayButton-B4g9KPbX.mjs +231 -0
- package/dist/PlayerProgressBar-BS7USi1u.mjs +67 -0
- package/dist/PlayerStore-Cqg2B90d.mjs +167 -0
- package/dist/PlayerVideo-DiiBvXvy.mjs +35 -0
- package/dist/PlayerVideoDigiteka-CA548VDc.mjs +62 -0
- package/dist/PlayerVideoHls-CA81wom0.mjs +127 -0
- package/dist/PlayerYoutubeEmbed-D-UrFhXm.mjs +25 -0
- package/dist/PlaylistPage-Cdc-C5bJ.mjs +132 -0
- package/dist/PlaylistsPage-isjmS3db.mjs +254 -0
- package/dist/PocketCastIcon-CM5NDsDa.mjs +39 -0
- package/dist/PodcastAddictIcon-CW3Uxj4I.mjs +42 -0
- package/dist/PodcastFilterList-Of_380rv.mjs +139 -0
- package/dist/PodcastImage-D2kKdvYq.mjs +115 -0
- package/dist/PodcastInlineList-BSeXkUls.mjs +123 -0
- package/dist/PodcastInlineListTemplate-CaklJfPE.mjs +187 -0
- package/dist/PodcastIsPlaying-BPtqGlY7.mjs +17 -0
- package/dist/PodcastItem-CFPr0YKQ.mjs +158 -0
- package/dist/PodcastList-BjYKfwcF.mjs +186 -0
- package/dist/PodcastList-Dcn5YJjW.mjs +113 -0
- package/dist/PodcastPage-BvAD7tqO.mjs +434 -0
- package/dist/PodcastPlannedSpinner-DcDDays8.mjs +12 -0
- package/dist/PodcastPlayBar-CFEJrXHM.mjs +39 -0
- package/dist/PodcastPlayBasicButton-BS4hUqwX.mjs +44 -0
- package/dist/PodcastPlayButton-BDynk0ui.mjs +118 -0
- package/dist/PodcastPlaylistInlineList-DG56u99P.mjs +63 -0
- package/dist/PodcastPresentationList-Fnxe51Yx.mjs +132 -0
- package/dist/PodcastProgressBar-D-8JrYft.mjs +66 -0
- package/dist/PodcastRawTranscript-CgyivPNd.mjs +102 -0
- package/dist/PodcastSeasonInfo-DDGSqj8M.mjs +28 -0
- package/dist/PodcastSwiperList-BUI3h66I.mjs +170 -0
- package/dist/PodcastmakerHeader-CBxuNVD3.mjs +33 -0
- package/dist/PodcastsPage-BLJmFD2Y.mjs +132 -0
- package/dist/PodcastsPage-DSweyIOW.mjs.map +1 -0
- package/dist/PresentationLayout-mRFZ6Bfa.mjs +55 -0
- package/dist/ProductorSearch-CDmFsIyS.mjs +91 -0
- package/dist/ProgressBar-8ALgWMQg.mjs +112 -0
- package/dist/QrCode-D9C4oYxi.mjs +105 -0
- package/dist/QrCodeModal-D0Avurdi.mjs +43 -0
- package/dist/RadioCurrently-DtGr3PLP.mjs +57 -0
- package/dist/RadioHistory-CpxLHzV4.mjs +89 -0
- package/dist/RadioImage-C-KQbWwg.mjs +46 -0
- package/dist/RadioList-7MRTQMNr.mjs +70 -0
- package/dist/RadioPage-DeW-O3bK.mjs +69 -0
- package/dist/RadioPlanning-Cis4EYlu.mjs +180 -0
- package/dist/RadioProgressBar-uTb5xpob.mjs +32 -0
- package/dist/RadiolineIcon-CxHZGhfr.mjs +40 -0
- package/dist/RecaptchaModal-CN9l0HRn.mjs +95 -0
- package/dist/ReportAbuseModal-huGsUWu3.mjs +92 -0
- package/dist/RightsIndicator-sadV3bTn.mjs +58 -0
- package/dist/RightsWrapper-3bRF3EvS.mjs +104 -0
- package/dist/RubriqueChoice-DC9P869p.mjs +101 -0
- package/dist/RubriqueChooser-DEYM6kDc.mjs +165 -0
- package/dist/RubriqueFilter-D0Igm1zH.mjs +121 -0
- package/dist/RubriqueList-7sTpZEp-.mjs +117 -0
- package/dist/RubriquePage-CQhtx0Zn.mjs +71 -0
- package/dist/SearchOrder-D_dAhj9M.mjs +62 -0
- package/dist/SearchPage-voiOODER.mjs +41 -0
- package/dist/ShareAnonymous-D5nFlR4f.mjs +199 -0
- package/dist/ShareModalPlayer-Jqxd03FS.mjs +87 -0
- package/dist/ShareNewsletter-DtOGN0QS.mjs +143 -0
- package/dist/SharePlayer-BauFAr_B.mjs +206 -0
- package/dist/SharePlayerColors-BpdifsHh.mjs +49 -0
- package/dist/SharePlayerRadio-Bvmr4PCF.mjs +66 -0
- package/dist/SharePlayerTypes-QeOTKG7p.mjs +150 -0
- package/dist/ShareSocialsButtons-BcGq-6kk.mjs +102 -0
- package/dist/SimpleLayout-BLmTK2DF.mjs +22 -0
- package/dist/SmartLinkPage-COyfD9iX.mjs +136 -0
- package/dist/SnackBar-BL-mLRun.mjs +128 -0
- package/dist/SubscribeButtons-gZHzVHsc.mjs +121 -0
- package/dist/SwiperList-C4QSXsTa.mjs +118 -0
- package/dist/TagList-DTepn6y4.mjs +80 -0
- package/dist/TagPage-Bt7vYAYS.mjs +79 -0
- package/dist/TopBar-CIoCpZw3.mjs +427 -0
- package/dist/TopBar-CtbAb_Vg.mjs.map +1 -0
- package/dist/TuninIcon-DENNxlP8.mjs +39 -0
- package/dist/UserButtonContent-idV4FedY.mjs +131 -0
- package/dist/VastStore-8IiEgtQW.mjs +71 -0
- package/dist/VideoModuleBox-BFf98abI.mjs +58 -0
- package/dist/VideoPage-BwNsHGMr.mjs +148 -0
- package/dist/XIcon-DNBT2Zgf.mjs +39 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.mjs +8 -0
- package/dist/buttons-BkfxHdGj.mjs +85 -0
- package/dist/classicApi-xM8VH_yv.mjs +1256 -0
- package/dist/config-DMjLBcZ2.mjs +7 -0
- package/dist/cookiesHelper-5uZhLulK.mjs +20 -0
- package/dist/displayHelper-DQtoqc_6.mjs +11 -0
- package/dist/domHelper-BPw2kGCL.mjs +12 -0
- package/dist/downloadHelper-DZMVVBPZ.mjs +23 -0
- package/dist/{educationen-B0PNsHqt.mjs → educationen-KT401RLo.mjs} +2 -4
- package/dist/educationfr-BIafOUp-.mjs +4 -0
- package/dist/emission-CQ1VuxRc.mjs +22 -0
- package/dist/index.css +2 -7399
- package/dist/index.mjs +453 -992
- package/dist/keys-CV5SBM1i.mjs +4 -0
- package/dist/localisation-CBnt682X.mjs +9 -0
- package/dist/logo_saooti_play_black-Doe3es2H.mjs +4 -0
- package/dist/{messages-BqVF4jGm.mjs → messages-DlxMAMOa.mjs} +6 -8
- package/dist/organisation-JgfYj1Jp.mjs +17 -0
- package/dist/ouest_france_logo-9dPaEPNA.mjs +4 -0
- package/dist/podcast-BoNHyuLe.mjs +53 -0
- package/dist/rolldown-runtime-Dy4uBu1J.mjs +11 -0
- package/dist/src/components/form/ClassicDatePicker.vue.d.ts +4 -4
- package/dist/stringHelper-BtFJzuX4.mjs +13 -0
- package/dist/tests-mocks.mjs +14 -16
- package/dist/tests.mjs +51 -88
- package/dist/types-B-L_HwcA.mjs +9 -0
- package/dist/useAdvancedParamInit-CZg9A_zy.mjs +114 -0
- package/dist/useAppleVideo-Di4qP9h4.mjs +24 -0
- package/dist/useCountdown-vXzlLAgF.mjs +32 -0
- package/dist/useDayjs-DWClhdzK.mjs +28 -0
- package/dist/useErrorHandler-Csr-Rt-V.mjs +12 -0
- package/dist/useImageProxy-CXin0vSD.mjs +16 -0
- package/dist/useOrgaComputed-BzuIlsW6.mjs +16 -0
- package/dist/usePlayerLogicProgress-C7q-kf-v.mjs +70 -0
- package/dist/usePodcastView-D5LgYm-2.mjs +31 -0
- package/dist/usePresentationItem-BITQLdPQ.mjs +100 -0
- package/dist/useResizePhone-4hSkK5pa.mjs +28 -0
- package/dist/useRights-C_mHJdG-.mjs +221 -0
- package/dist/useRouteUpdateParams-DJLm3IAI.mjs +55 -0
- package/dist/useRubriquesFilterComputed-B4ycmO0A.mjs +11 -0
- package/dist/useRubriquesFilterParam-BUXd3wRZ.mjs +32 -0
- package/dist/useSeasonsManagement-DwbmJywJ.mjs +24 -0
- package/dist/useSelectableIcons-Ce9o_TVs.mjs +91 -0
- package/dist/useSelenium-DAM6EF3J.mjs +9 -0
- package/dist/useSeoTitleUrl-UfPXDCPa.mjs +25 -0
- package/dist/useSharePath-D9G8Jdlb.mjs +40 -0
- package/dist/useSharePlatforms-CGPe8OG-.mjs +322 -0
- package/dist/useSimplePageParam-cOIpniRK.mjs +39 -0
- package/dist/useTagOf-Btweq3v2.mjs +17 -0
- package/dist/useTranslation-BrRBfryH.mjs +160 -0
- package/dist/usefetchRadioData-gxXxdT17.mjs +48 -0
- package/dist/youtubeVideoHelper-Cdlokujb.mjs +14 -0
- package/package.json +3 -1
- package/src/components/form/ClassicDatePicker.vue +130 -129
- package/src/components/misc/RightsScopeMenu.vue +2 -2
- package/dist/AccessibilityModal-DqRtmHwG.mjs +0 -148
- package/dist/AdsProgressBar-CAP7Zj--.mjs +0 -42
- package/dist/AdvancedSearch-Cd919sCX.mjs +0 -458
- package/dist/AmazonMusicIcon-D5vNh4HG.mjs +0 -57
- package/dist/ApplePodcastIcon-DtC4TS8H.mjs +0 -59
- package/dist/CategoryChooser-DWEL9V5p.mjs +0 -243
- package/dist/CategoryFilter-DVEBnYn0.mjs +0 -234
- package/dist/CategoryList-EH7OXzFs.mjs +0 -182
- package/dist/CategoryPage-BnSLAU7f.mjs +0 -57
- package/dist/CategorySearchFilter-CEGWqMSt.mjs +0 -72
- package/dist/ChapteringModal-B_5i8VkS.mjs +0 -82
- package/dist/CheckIdentityModal-BZBPEcHE.mjs +0 -86
- package/dist/ChooseEpisodesNumber-OlhXXsCa.mjs +0 -64
- package/dist/ClassicAccordion-PEoPUPeL.mjs +0 -105
- package/dist/ClassicAlert-C8md0KJV.mjs +0 -108
- package/dist/ClassicBigChip-Bt8VhN51.mjs +0 -61
- package/dist/ClassicCheckbox-BHKCPtLR.mjs +0 -127
- package/dist/ClassicContentEditable-BSsnA6oo.mjs +0 -68
- package/dist/ClassicCopyButton-M9AP3MKD.mjs +0 -87
- package/dist/ClassicDatePicker-DWVn4oHu.mjs +0 -249
- package/dist/ClassicEmojiPicker-EQy5H_zL.mjs +0 -93
- package/dist/ClassicHelpButton-B6jXpEKT.mjs +0 -85
- package/dist/ClassicInputText-D2wR2cwa.mjs +0 -371
- package/dist/ClassicLazy-B0R3FSwK.mjs +0 -120
- package/dist/ClassicLoading-Crlw7cAx.mjs +0 -60
- package/dist/ClassicModal-CilwHp9p.mjs +0 -103
- package/dist/ClassicModalInBody-BkaRcZZx.mjs +0 -94
- package/dist/ClassicMultiselect-BEY-HpGk.mjs +0 -341
- package/dist/ClassicNav-Dvm8faD9.mjs +0 -72
- package/dist/ClassicNotifications--mDo0JjY.mjs +0 -45
- package/dist/ClassicPopover-BIyLKorz.mjs +0 -299
- package/dist/ClassicRadio-BwylgGYF.mjs +0 -105
- package/dist/ClassicRadioLabel-ynBzFxC2.mjs +0 -98
- package/dist/ClassicSearch-D5yT0JRA.mjs +0 -90
- package/dist/ClassicSelect-BaY2yvwP.mjs +0 -154
- package/dist/ClassicSpinner-lNq7TnmD.mjs +0 -49
- package/dist/ClassicTabs-Bcine4_p.mjs +0 -77
- package/dist/ClassicTagInput-BDCdmpwB.mjs +0 -116
- package/dist/ClassicWysiwyg-Bew6KMXn.mjs +0 -230
- package/dist/ClipboardModal-DGlwYme6.mjs +0 -84
- package/dist/CommentInput-Di0CG3ju.mjs +0 -187
- package/dist/CommentItem-DuDEsirI.mjs +0 -357
- package/dist/CommentList-vHedAk0r.mjs +0 -299
- package/dist/CommentMoreActions-hWuUjzmm.mjs +0 -289
- package/dist/CommentName-BgLZ0d7p.mjs +0 -96
- package/dist/CommentParentInfo-CeHLz7RQ.mjs +0 -64
- package/dist/CommentPlayer-C_6QaEHw.mjs +0 -86
- package/dist/CommentSection-aaSuOlab.mjs +0 -141
- package/dist/CommentStore-dLDd64nW.mjs +0 -355
- package/dist/ContractPreviewModal-QlKui6Zz.mjs +0 -101
- package/dist/CountDown-CAUtA0Vp.mjs +0 -42
- package/dist/CountdownOctopus-i6-l0aLA.mjs +0 -48
- package/dist/DateFilter-DD9cY_la.mjs +0 -119
- package/dist/DeezerIcon-BUdIKeqN.mjs +0 -57
- package/dist/DownloadPodcastButton-BJ7RYJOz.mjs +0 -53
- package/dist/EditCommentModal-BFkTZS-d.mjs +0 -163
- package/dist/EditFtpIcon-D5VaHXWl.mjs +0 -56
- package/dist/EmissionGroupChooser-BSCzxmhG.mjs +0 -83
- package/dist/EmissionInlineList-BOxiPzSz.mjs +0 -189
- package/dist/EmissionItem-cxNVXqcM.mjs +0 -183
- package/dist/EmissionList-B8sbcC0X.mjs +0 -324
- package/dist/EmissionPage-BgGFOPOx.mjs +0 -327
- package/dist/EmissionPlayerItem-XU4vw96O.mjs +0 -167
- package/dist/EmissionPresentationItem-C-KR7Llt.mjs +0 -78
- package/dist/EmissionPresentationList-BhnYUoBi.mjs +0 -125
- package/dist/EmissionsPage-CEFNekIt.mjs +0 -209
- package/dist/Error403Page-Bzzea5HG.mjs +0 -69
- package/dist/ErrorMessage-DhSwu9H_.mjs +0 -44
- package/dist/FooterGarSection-CpQu-wSQ.mjs +0 -71
- package/dist/FooterSection-DgtO6RJd.mjs +0 -242
- package/dist/GeneralStore-CUlq_NjO.mjs +0 -45
- package/dist/HomeDropdown-4mMWlnQ5.mjs +0 -110
- package/dist/HomePage-BuFrXtLJ.mjs +0 -175
- package/dist/IHeartIcon-70F_rHQh.mjs +0 -61
- package/dist/InlineRubriqueList-kWbzcqyq.mjs +0 -86
- package/dist/LikeButton-DFkrvbgE.mjs +0 -83
- package/dist/LikeSection-BVa93Lkv.mjs +0 -168
- package/dist/ListPaginate-nP9qlKGR.mjs +0 -221
- package/dist/LiveHorizontalList-DWITQA1g.mjs +0 -136
- package/dist/LiveList-DSnUp6wl.mjs +0 -322
- package/dist/LivesPage-BNEVjzsF.mjs +0 -76
- package/dist/MapPage-CdkoZThF.mjs +0 -303
- package/dist/MessageModal-B35dCbWB.mjs +0 -145
- package/dist/MobileMenu-DxDkW3Qi.mjs +0 -187
- package/dist/MonetizableFilter-BGQTUtwX.mjs +0 -81
- package/dist/NewsletterModal-C7qF_Lwj.mjs +0 -82
- package/dist/OctopusMultiselect-tXNIWVpp.mjs +0 -416
- package/dist/OrganisationChooser-Box8SHIL.mjs +0 -192
- package/dist/OrganisationChooserLight-bZveInyG.mjs +0 -84
- package/dist/PageLogout-Bc8zBpoo.mjs +0 -30
- package/dist/PageNotFound-Cy-6UixV.mjs +0 -58
- package/dist/PaginateParams-CbAaMAAM.mjs +0 -106
- package/dist/PaginateSection-BJ6iQai2.mjs +0 -204
- package/dist/ParticipantDescription-CwREwvZy.mjs +0 -70
- package/dist/ParticipantInlineList-B2Q5NyTO.mjs +0 -117
- package/dist/ParticipantItem-DG7xkIkh.mjs +0 -138
- package/dist/ParticipantPage-YUdFxrFu.mjs +0 -202
- package/dist/ParticipantsPage-RN5fRZGk.mjs +0 -262
- package/dist/PlayVideoIcon-CQJTc1O7.mjs +0 -58
- package/dist/PlayerAnonymousModal-CZ9CNQpL.mjs +0 -84
- package/dist/PlayerCommonParameters-Dn-OIiO8.mjs +0 -47
- package/dist/PlayerCompact-BPvDwRxr.mjs +0 -209
- package/dist/PlayerComponent-CfvKYQdk.mjs +0 -916
- package/dist/PlayerFmIcon-BxQ1g45P.mjs +0 -57
- package/dist/PlayerLarge-B7I1L1dO.mjs +0 -192
- package/dist/PlayerParameters-fpNIoYO9.mjs +0 -213
- package/dist/PlayerPlayButton-DfPAcu-m.mjs +0 -400
- package/dist/PlayerProgressBar-D8EkPfW5.mjs +0 -86
- package/dist/PlayerStore-BJVpAm73.mjs +0 -230
- package/dist/PlayerVideo-VIMYPCpF.mjs +0 -72
- package/dist/PlayerVideoDigiteka-BMhRuqNW.mjs +0 -105
- package/dist/PlayerVideoHls-Dp2Zui_T.mjs +0 -233
- package/dist/PlayerYoutubeEmbed-D0A4EWhU.mjs +0 -41
- package/dist/PlaylistPage-DNoPZE5S.mjs +0 -225
- package/dist/PlaylistsPage-Bpo6FhqO.mjs +0 -395
- package/dist/PocketCastIcon-Nm45VN7b.mjs +0 -57
- package/dist/PodcastAddictIcon-DRF7w4QM.mjs +0 -60
- package/dist/PodcastFilterList-CcMACnG4.mjs +0 -254
- package/dist/PodcastImage-OJgGQYSI.mjs +0 -174
- package/dist/PodcastInlineList-IH6YK8sd.mjs +0 -145
- package/dist/PodcastInlineListTemplate-DmBexOIA.mjs +0 -241
- package/dist/PodcastIsPlaying-DWdqRGto.mjs +0 -30
- package/dist/PodcastItem-BPJahZru.mjs +0 -287
- package/dist/PodcastList-CT0VIMu7.mjs +0 -182
- package/dist/PodcastList-DACfAVhQ.mjs +0 -337
- package/dist/PodcastPage-DYLSL0n4.mjs +0 -755
- package/dist/PodcastPlannedSpinner-BN7unEqf.mjs +0 -29
- package/dist/PodcastPlayBar-CF247Sqx.mjs +0 -83
- package/dist/PodcastPlayBasicButton-DTqYvfD6.mjs +0 -72
- package/dist/PodcastPlayButton-NTYtuU8D.mjs +0 -236
- package/dist/PodcastPlaylistInlineList-BYeMpN8H.mjs +0 -115
- package/dist/PodcastPresentationList-Czlf0tD6.mjs +0 -201
- package/dist/PodcastProgressBar-BHDc66Qm.mjs +0 -98
- package/dist/PodcastRawTranscript-BLtVR8lj.mjs +0 -186
- package/dist/PodcastSeasonInfo-DL_CsYTY.mjs +0 -58
- package/dist/PodcastSwiperList-dTcv-wGj.mjs +0 -226
- package/dist/PodcastmakerHeader-6v9XhwSH.mjs +0 -58
- package/dist/PodcastsPage-B56l5Kjv.mjs +0 -233
- package/dist/PresentationLayout-D2sW-Q7l.mjs +0 -88
- package/dist/ProductorSearch-DBtBOZlD.mjs +0 -161
- package/dist/ProgressBar-CBwrWHGZ.mjs +0 -158
- package/dist/QrCode-bOqxtwUc.mjs +0 -177
- package/dist/QrCodeModal-BJgTde22.mjs +0 -64
- package/dist/RadioCurrently-cVZOGF6L.mjs +0 -112
- package/dist/RadioHistory-CcQ8FfOc.mjs +0 -139
- package/dist/RadioImage-BI2egmjL.mjs +0 -85
- package/dist/RadioList-CfdZwyw8.mjs +0 -125
- package/dist/RadioPage-B_cRq9iV.mjs +0 -134
- package/dist/RadioPlanning-BCiXednx.mjs +0 -287
- package/dist/RadioProgressBar-BNjpGNUY.mjs +0 -67
- package/dist/RadiolineIcon-CIePjE9k.mjs +0 -58
- package/dist/RecaptchaModal-BN9b0zWf.mjs +0 -148
- package/dist/ReportAbuseModal-rtfZ9vOl.mjs +0 -134
- package/dist/RightsIndicator-DlR8cPgl.mjs +0 -124
- package/dist/RightsWrapper-znovkxIw.mjs +0 -212
- package/dist/RubriqueChoice-C4rglHV1.mjs +0 -143
- package/dist/RubriqueChooser-BceFw2x2.mjs +0 -241
- package/dist/RubriqueFilter-C6s3XBP5.mjs +0 -200
- package/dist/RubriqueList-DnsLTpnK.mjs +0 -206
- package/dist/RubriquePage-C8h5jocw.mjs +0 -108
- package/dist/SearchOrder-CJ0Fj6Wd.mjs +0 -85
- package/dist/SearchPage-Ce1hioJs.mjs +0 -78
- package/dist/ShareAnonymous-uUv2LpIi.mjs +0 -319
- package/dist/ShareModalPlayer-Bx06vgaH.mjs +0 -135
- package/dist/ShareNewsletter-Dvu3zDWs.mjs +0 -211
- package/dist/SharePlayer-CtK84xh1.mjs +0 -374
- package/dist/SharePlayerColors-D-9MoYm6.mjs +0 -78
- package/dist/SharePlayerRadio-DSTGDqu8.mjs +0 -127
- package/dist/SharePlayerTypes-CGYav59v.mjs +0 -232
- package/dist/ShareSocialsButtons-BFbh1abo.mjs +0 -160
- package/dist/SimpleLayout-DHRxu6tM.mjs +0 -41
- package/dist/SmartLinkPage-sl4oEMLc.mjs +0 -244
- package/dist/SnackBar-DdE1dYhi.mjs +0 -150
- package/dist/SubscribeButtons-BxS1FG9R.mjs +0 -204
- package/dist/SwiperList-BGl22osK.mjs +0 -206
- package/dist/TagList-BZQqMfF0.mjs +0 -134
- package/dist/TagPage-DmQyhjEZ.mjs +0 -125
- package/dist/TopBar-DzQk-qfW.mjs +0 -761
- package/dist/TuninIcon-BplDWgtD.mjs +0 -57
- package/dist/UserButtonContent-D7KwaNvl.mjs +0 -191
- package/dist/VastStore-BPwOrXvb.mjs +0 -80
- package/dist/VideoModuleBox-BkSzsXZQ.mjs +0 -85
- package/dist/VideoPage-DjFoF0Gd.mjs +0 -274
- package/dist/XIcon-Dz4rI_Hd.mjs +0 -57
- package/dist/_plugin-vue_export-helper-BOaGB7Aw.mjs +0 -8
- package/dist/buttons-C0c2cUtN.mjs +0 -181
- package/dist/classicApi-CIVdJnkN.mjs +0 -1923
- package/dist/config-C73GMJpz.mjs +0 -9
- package/dist/cookiesHelper-BIxSrQTV.mjs +0 -23
- package/dist/displayHelper-CpXshNzz.mjs +0 -22
- package/dist/domHelper-DTMIrMbs.mjs +0 -15
- package/dist/downloadHelper-CPZS-pv2.mjs +0 -36
- package/dist/educationfr-DnXyASTX.mjs +0 -6
- package/dist/emission-ByePXT9Y.mjs +0 -33
- package/dist/keys-TjlLYNQE.mjs +0 -18
- package/dist/localisation-iXoGtJ3j.mjs +0 -13
- package/dist/logo_saooti_play_black-BLx_RUuM.mjs +0 -6
- package/dist/organisation-CxyRYjC0.mjs +0 -19
- package/dist/ouest_france_logo-WOgdbVGH.mjs +0 -6
- package/dist/podcast-Da9L7I5Q.mjs +0 -76
- package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
- package/dist/stringHelper-B5vD2nE_.mjs +0 -15
- package/dist/types-DmxFXVJz.mjs +0 -12
- package/dist/useAdvancedParamInit-DIDJTLRZ.mjs +0 -169
- package/dist/useAppleVideo-BGOd4QiN.mjs +0 -30
- package/dist/useCountdown-DPweZzmz.mjs +0 -51
- package/dist/useDayjs-BrQnLFO6.mjs +0 -32
- package/dist/useErrorHandler-DOxEeM1f.mjs +0 -21
- package/dist/useImageProxy-DUTIvlMD.mjs +0 -20
- package/dist/useOrgaComputed-1-t4Bid6.mjs +0 -19
- package/dist/usePlayerLogicProgress-DtNC8Vrr.mjs +0 -108
- package/dist/usePodcastView-D9UXxMgg.mjs +0 -56
- package/dist/usePresentationItem-n2v3c6ew.mjs +0 -191
- package/dist/useResizePhone-CpfFUmfV.mjs +0 -37
- package/dist/useRights-BpT-ougU.mjs +0 -276
- package/dist/useRouteUpdateParams-DurlddRA.mjs +0 -59
- package/dist/useRubriquesFilterComputed-worUxu1g.mjs +0 -13
- package/dist/useRubriquesFilterParam-Cd_oier9.mjs +0 -36
- package/dist/useSeasonsManagement-D-ngDipg.mjs +0 -44
- package/dist/useSelectableIcons-5Y8i1tdl.mjs +0 -94
- package/dist/useSelenium-DwQtyBRt.mjs +0 -11
- package/dist/useSeoTitleUrl-CrM1YzAc.mjs +0 -31
- package/dist/useSharePath-Vh29oc9Z.mjs +0 -70
- package/dist/useSharePlatforms-BtGTcWAe.mjs +0 -468
- package/dist/useSimplePageParam-BIrxc4YW.mjs +0 -54
- package/dist/useTagOf-JxYdEyRm.mjs +0 -20
- package/dist/useTranslation-BGaOW_YK.mjs +0 -226
- package/dist/usefetchRadioData-cXwOGaw6.mjs +0 -55
- package/dist/youtubeVideoHelper-DOeaXxVp.mjs +0 -16
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
3
|
-
import { _ as playlistApi } from "./classicApi-CIVdJnkN.mjs";
|
|
4
|
-
import { t as ListPaginate_default } from "./ListPaginate-nP9qlKGR.mjs";
|
|
5
|
-
import { t as useErrorHandler } from "./useErrorHandler-DOxEeM1f.mjs";
|
|
6
|
-
import { t as useOrgaComputed } from "./useOrgaComputed-1-t4Bid6.mjs";
|
|
7
|
-
import { t as ClassicLazy_default } from "./ClassicLazy-B0R3FSwK.mjs";
|
|
8
|
-
import { t as ClassicSearch_default } from "./ClassicSearch-D5yT0JRA.mjs";
|
|
9
|
-
import { t as PodcastItem_default } from "./PodcastItem-BPJahZru.mjs";
|
|
10
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onBeforeMount, openBlock, ref, renderList, resolveComponent, toDisplayString, watch, withCtx } from "vue";
|
|
11
|
-
import { useI18n } from "vue-i18n";
|
|
12
|
-
//#region src/components/display/playlist/PodcastList.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
-
var PodcastList_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
14
|
-
__name: "PodcastList",
|
|
15
|
-
props: {
|
|
16
|
-
playlist: {
|
|
17
|
-
default: () => ({}),
|
|
18
|
-
type: Object
|
|
19
|
-
},
|
|
20
|
-
first: {
|
|
21
|
-
default: 0,
|
|
22
|
-
type: Number
|
|
23
|
-
},
|
|
24
|
-
size: {
|
|
25
|
-
default: 30,
|
|
26
|
-
type: Number
|
|
27
|
-
},
|
|
28
|
-
query: {
|
|
29
|
-
default: void 0,
|
|
30
|
-
type: String
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
emits: ["update:query"],
|
|
34
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
35
|
-
__expose();
|
|
36
|
-
const props = __props;
|
|
37
|
-
const emit = __emit;
|
|
38
|
-
const loading = ref(true);
|
|
39
|
-
const podcasts = ref([]);
|
|
40
|
-
const podcastsQuery = ref([]);
|
|
41
|
-
const dfirst = ref(props.first);
|
|
42
|
-
const dsize = ref(props.size);
|
|
43
|
-
const searchPattern = ref("");
|
|
44
|
-
const isMobile = ref(false);
|
|
45
|
-
const { t } = useI18n();
|
|
46
|
-
const { handle403 } = useErrorHandler();
|
|
47
|
-
const { isEditRights } = useOrgaComputed();
|
|
48
|
-
const titleList = computed(() => notEmptyPlaylist.value ? t("Podcasts in the playlist") : t("No podcasts in the playlist"));
|
|
49
|
-
const notEmptyPlaylist = computed(() => 0 !== Object.keys(props.playlist.samplingViews ?? []).length);
|
|
50
|
-
const podcastsDisplay = computed(() => {
|
|
51
|
-
if (isMobile.value) return podcastsQuery.value.slice(0, Math.min(dfirst.value + dsize.value, podcasts.value.length));
|
|
52
|
-
return podcastsQuery.value.slice(dfirst.value, Math.min(dfirst.value + dsize.value, podcasts.value.length));
|
|
53
|
-
});
|
|
54
|
-
const editRight = computed(() => isEditRights(props.playlist.organisation?.id));
|
|
55
|
-
watch(searchPattern, () => {
|
|
56
|
-
emit("update:query", searchPattern.value);
|
|
57
|
-
if ("" !== searchPattern.value) podcastsQuery.value = podcasts.value.filter((el) => {
|
|
58
|
-
return el.title.toLowerCase().includes(searchPattern.value.toLowerCase());
|
|
59
|
-
});
|
|
60
|
-
else podcastsQuery.value = podcasts.value;
|
|
61
|
-
});
|
|
62
|
-
onBeforeMount(fetchContent);
|
|
63
|
-
async function fetchContent() {
|
|
64
|
-
if (notEmptyPlaylist.value) {
|
|
65
|
-
podcasts.value.length = 0;
|
|
66
|
-
loading.value = true;
|
|
67
|
-
try {
|
|
68
|
-
podcasts.value = await playlistApi.getContentFull(props.playlist.playlistId);
|
|
69
|
-
if (!editRight.value) podcasts.value = podcasts.value.filter((p) => {
|
|
70
|
-
return null !== p && (!p.availability || true === p.availability.visibility);
|
|
71
|
-
});
|
|
72
|
-
podcastsQuery.value = podcasts.value;
|
|
73
|
-
searchPattern.value = props.query ?? "";
|
|
74
|
-
} catch (error) {
|
|
75
|
-
handle403(error);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
loading.value = false;
|
|
79
|
-
}
|
|
80
|
-
const __returned__ = {
|
|
81
|
-
props,
|
|
82
|
-
emit,
|
|
83
|
-
loading,
|
|
84
|
-
podcasts,
|
|
85
|
-
podcastsQuery,
|
|
86
|
-
dfirst,
|
|
87
|
-
dsize,
|
|
88
|
-
searchPattern,
|
|
89
|
-
isMobile,
|
|
90
|
-
t,
|
|
91
|
-
handle403,
|
|
92
|
-
isEditRights,
|
|
93
|
-
titleList,
|
|
94
|
-
notEmptyPlaylist,
|
|
95
|
-
podcastsDisplay,
|
|
96
|
-
editRight,
|
|
97
|
-
fetchContent,
|
|
98
|
-
ListPaginate: ListPaginate_default,
|
|
99
|
-
PodcastItem: PodcastItem_default,
|
|
100
|
-
ClassicSearch: ClassicSearch_default,
|
|
101
|
-
ClassicLazy: ClassicLazy_default
|
|
102
|
-
};
|
|
103
|
-
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
104
|
-
enumerable: false,
|
|
105
|
-
value: true
|
|
106
|
-
});
|
|
107
|
-
return __returned__;
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
//#endregion
|
|
111
|
-
//#region src/components/display/playlist/PodcastList.vue
|
|
112
|
-
var PodcastList_exports = /* @__PURE__ */ __exportAll({ default: () => PodcastList_default });
|
|
113
|
-
var _hoisted_1 = { class: "mb-3 align-self-baseline" };
|
|
114
|
-
var _hoisted_2 = { class: "octopus-element-list" };
|
|
115
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
116
|
-
const _component_router_link = resolveComponent("router-link");
|
|
117
|
-
return openBlock(), createElementBlock("div", null, [
|
|
118
|
-
createElementVNode("h3", _hoisted_1, toDisplayString($setup.titleList), 1),
|
|
119
|
-
!$setup.loading && $setup.notEmptyPlaylist ? (openBlock(), createBlock($setup["ClassicSearch"], {
|
|
120
|
-
key: 0,
|
|
121
|
-
"text-init": $setup.searchPattern,
|
|
122
|
-
"onUpdate:textInit": _cache[0] || (_cache[0] = ($event) => $setup.searchPattern = $event),
|
|
123
|
-
class: "align-self-baseline mb-2",
|
|
124
|
-
"id-search": "podcast-list-search",
|
|
125
|
-
label: $setup.t("Search")
|
|
126
|
-
}, null, 8, ["text-init", "label"])) : createCommentVNode("v-if", true),
|
|
127
|
-
createVNode($setup["ListPaginate"], {
|
|
128
|
-
id: "podcastPlaylistListPaginate",
|
|
129
|
-
first: $setup.dfirst,
|
|
130
|
-
"onUpdate:first": _cache[1] || (_cache[1] = ($event) => $setup.dfirst = $event),
|
|
131
|
-
"rows-per-page": $setup.dsize,
|
|
132
|
-
"onUpdate:rowsPerPage": _cache[2] || (_cache[2] = ($event) => $setup.dsize = $event),
|
|
133
|
-
"is-mobile": $setup.isMobile,
|
|
134
|
-
"onUpdate:isMobile": _cache[3] || (_cache[3] = ($event) => $setup.isMobile = $event),
|
|
135
|
-
"text-count": $setup.podcasts.length > 1 ? `${$setup.t("Number podcasts", { nb: $setup.podcasts.length })}` : void 0,
|
|
136
|
-
"total-count": $setup.podcasts.length,
|
|
137
|
-
loading: $setup.loading,
|
|
138
|
-
"loading-text": $setup.loading ? $setup.t("Loading podcasts ...") : void 0,
|
|
139
|
-
"error-text": !$setup.loading && !$setup.podcasts.length && $setup.notEmptyPlaylist ? $setup.t(`No podcast match your query`) : void 0,
|
|
140
|
-
"player-responsive": true,
|
|
141
|
-
"force-update-parameters": true
|
|
142
|
-
}, {
|
|
143
|
-
list: withCtx(() => [createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList($setup.podcastsDisplay, (p) => {
|
|
144
|
-
return openBlock(), createBlock($setup["ClassicLazy"], {
|
|
145
|
-
key: p.podcastId,
|
|
146
|
-
"min-height": 410
|
|
147
|
-
}, {
|
|
148
|
-
preview: withCtx(() => [createVNode(_component_router_link, {
|
|
149
|
-
to: {
|
|
150
|
-
name: "podcast",
|
|
151
|
-
params: { podcastId: p.podcastId }
|
|
152
|
-
},
|
|
153
|
-
title: $setup.t("Episode name page", { name: p.title })
|
|
154
|
-
}, {
|
|
155
|
-
default: withCtx(() => [createTextVNode(toDisplayString(p.title), 1)]),
|
|
156
|
-
_: 2
|
|
157
|
-
}, 1032, ["to", "title"])]),
|
|
158
|
-
default: withCtx(() => [0 !== p.podcastId ? (openBlock(), createBlock($setup["PodcastItem"], {
|
|
159
|
-
key: 0,
|
|
160
|
-
podcast: p
|
|
161
|
-
}, null, 8, ["podcast"])) : createCommentVNode("v-if", true)]),
|
|
162
|
-
_: 2
|
|
163
|
-
}, 1024);
|
|
164
|
-
}), 128))])]),
|
|
165
|
-
_: 1
|
|
166
|
-
}, 8, [
|
|
167
|
-
"first",
|
|
168
|
-
"rows-per-page",
|
|
169
|
-
"is-mobile",
|
|
170
|
-
"text-count",
|
|
171
|
-
"total-count",
|
|
172
|
-
"loading",
|
|
173
|
-
"loading-text",
|
|
174
|
-
"error-text"
|
|
175
|
-
])
|
|
176
|
-
]);
|
|
177
|
-
}
|
|
178
|
-
var PodcastList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(PodcastList_vue_vue_type_script_setup_true_lang_default, [["render", _sfc_render], ["__file", "/home/julien/Workspace/octopus-sdk/src/components/display/playlist/PodcastList.vue"]]);
|
|
179
|
-
//#endregion
|
|
180
|
-
export { PodcastList_exports as n, PodcastList_default as t };
|
|
181
|
-
|
|
182
|
-
//# sourceMappingURL=PodcastList-CT0VIMu7.mjs.map
|
|
@@ -1,337 +0,0 @@
|
|
|
1
|
-
import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
3
|
-
import { i as useAuthStore, m as podcastApi, p as PodcastSort, r as useFilterStore } from "./classicApi-CIVdJnkN.mjs";
|
|
4
|
-
import { t as ListPaginate_default } from "./ListPaginate-nP9qlKGR.mjs";
|
|
5
|
-
import { t as useErrorHandler } from "./useErrorHandler-DOxEeM1f.mjs";
|
|
6
|
-
import { r as emptyPodcastData, t as PodcastProcessingStatus } from "./podcast-Da9L7I5Q.mjs";
|
|
7
|
-
import { t as ClassicLazy_default } from "./ClassicLazy-B0R3FSwK.mjs";
|
|
8
|
-
import { t as PodcastItem_default } from "./PodcastItem-BPJahZru.mjs";
|
|
9
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, onBeforeMount, openBlock, ref, renderList, resolveComponent, toDisplayString, watch, withCtx } from "vue";
|
|
10
|
-
import { useI18n } from "vue-i18n";
|
|
11
|
-
import { AxiosError } from "axios";
|
|
12
|
-
//#region src/components/display/podcasts/PodcastList.vue?vue&type=script&setup=true&lang.ts
|
|
13
|
-
var PodcastList_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
14
|
-
__name: "PodcastList",
|
|
15
|
-
props: {
|
|
16
|
-
first: {
|
|
17
|
-
type: Number,
|
|
18
|
-
required: false,
|
|
19
|
-
default: 0
|
|
20
|
-
},
|
|
21
|
-
size: {
|
|
22
|
-
type: Number,
|
|
23
|
-
required: false,
|
|
24
|
-
default: 30
|
|
25
|
-
},
|
|
26
|
-
organisationId: {
|
|
27
|
-
type: Array,
|
|
28
|
-
required: false
|
|
29
|
-
},
|
|
30
|
-
emissionId: {
|
|
31
|
-
type: Number,
|
|
32
|
-
required: false
|
|
33
|
-
},
|
|
34
|
-
iabId: {
|
|
35
|
-
type: Number,
|
|
36
|
-
required: false
|
|
37
|
-
},
|
|
38
|
-
participantId: {
|
|
39
|
-
type: Number,
|
|
40
|
-
required: false
|
|
41
|
-
},
|
|
42
|
-
query: {
|
|
43
|
-
type: String,
|
|
44
|
-
required: false
|
|
45
|
-
},
|
|
46
|
-
monetisable: {
|
|
47
|
-
type: String,
|
|
48
|
-
required: false
|
|
49
|
-
},
|
|
50
|
-
popularSort: {
|
|
51
|
-
type: Boolean,
|
|
52
|
-
required: false,
|
|
53
|
-
default: false
|
|
54
|
-
},
|
|
55
|
-
reload: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
required: false,
|
|
58
|
-
default: false
|
|
59
|
-
},
|
|
60
|
-
before: {
|
|
61
|
-
type: String,
|
|
62
|
-
required: false
|
|
63
|
-
},
|
|
64
|
-
after: {
|
|
65
|
-
type: String,
|
|
66
|
-
required: false
|
|
67
|
-
},
|
|
68
|
-
includeHidden: {
|
|
69
|
-
type: Boolean,
|
|
70
|
-
required: false,
|
|
71
|
-
default: false
|
|
72
|
-
},
|
|
73
|
-
showCount: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
required: false,
|
|
76
|
-
default: false
|
|
77
|
-
},
|
|
78
|
-
displaySortText: {
|
|
79
|
-
type: Boolean,
|
|
80
|
-
required: false,
|
|
81
|
-
default: true
|
|
82
|
-
},
|
|
83
|
-
sortCriteria: {
|
|
84
|
-
type: String,
|
|
85
|
-
required: false
|
|
86
|
-
},
|
|
87
|
-
validity: {
|
|
88
|
-
type: [String, Boolean],
|
|
89
|
-
required: false,
|
|
90
|
-
default: ""
|
|
91
|
-
},
|
|
92
|
-
rubriqueId: {
|
|
93
|
-
type: Array,
|
|
94
|
-
required: false
|
|
95
|
-
},
|
|
96
|
-
rubriquageId: {
|
|
97
|
-
type: Array,
|
|
98
|
-
required: false
|
|
99
|
-
},
|
|
100
|
-
noRubriquageId: {
|
|
101
|
-
type: Array,
|
|
102
|
-
required: false
|
|
103
|
-
},
|
|
104
|
-
justSizeChosen: {
|
|
105
|
-
type: Boolean,
|
|
106
|
-
required: false,
|
|
107
|
-
default: false
|
|
108
|
-
},
|
|
109
|
-
withVideo: {
|
|
110
|
-
type: Boolean,
|
|
111
|
-
required: false,
|
|
112
|
-
default: void 0
|
|
113
|
-
},
|
|
114
|
-
includeTag: {
|
|
115
|
-
type: Array,
|
|
116
|
-
required: false
|
|
117
|
-
},
|
|
118
|
-
forceUpdateParameters: {
|
|
119
|
-
type: Boolean,
|
|
120
|
-
required: false,
|
|
121
|
-
default: false
|
|
122
|
-
},
|
|
123
|
-
beneficiaries: {
|
|
124
|
-
type: Array,
|
|
125
|
-
required: false
|
|
126
|
-
},
|
|
127
|
-
emissionGroups: {
|
|
128
|
-
type: Array,
|
|
129
|
-
required: false
|
|
130
|
-
},
|
|
131
|
-
onlyMyEpisodes: {
|
|
132
|
-
type: Boolean,
|
|
133
|
-
required: false
|
|
134
|
-
},
|
|
135
|
-
seasons: {
|
|
136
|
-
type: Array,
|
|
137
|
-
required: false
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
emits: ["fetch", "emptyList"],
|
|
141
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
142
|
-
__expose();
|
|
143
|
-
const props = __props;
|
|
144
|
-
const emit = __emit;
|
|
145
|
-
const loading = ref(true);
|
|
146
|
-
const dfirst = ref(props.first);
|
|
147
|
-
const dsize = ref(props.size);
|
|
148
|
-
const totalCount = ref(0);
|
|
149
|
-
const isMobile = ref(false);
|
|
150
|
-
const podcasts = ref([]);
|
|
151
|
-
const { t } = useI18n();
|
|
152
|
-
const { handle403 } = useErrorHandler();
|
|
153
|
-
const filterStore = useFilterStore();
|
|
154
|
-
const authStore = useAuthStore();
|
|
155
|
-
const displayArray = computed(() => {
|
|
156
|
-
if (isMobile.value || props.justSizeChosen) return podcasts.value;
|
|
157
|
-
return podcasts.value.slice(dfirst.value, Math.min(dfirst.value + dsize.value, totalCount.value));
|
|
158
|
-
});
|
|
159
|
-
const changePaginate = computed(() => `${props.first}|${props.size}`);
|
|
160
|
-
const changed = computed(() => {
|
|
161
|
-
return `${organisation.value}|${props.emissionId}|${props.sortCriteria}|${sort.value}
|
|
162
|
-
${props.iabId}|${props.participantId}|${props.query}|${props.monetisable}|${props.popularSort}|
|
|
163
|
-
${props.rubriqueId}|${props.rubriquageId}|${props.before}|${props.after}|${props.includeHidden}|${props.noRubriquageId}|${props.validity}|
|
|
164
|
-
${props.withVideo}|${props.includeTag}|${props.beneficiaries}|${props.emissionGroups}|${props.onlyMyEpisodes}`;
|
|
165
|
-
});
|
|
166
|
-
const organisation = computed(() => {
|
|
167
|
-
if (props.organisationId) return props.organisationId;
|
|
168
|
-
return filterStore.filterOrgaId ? [filterStore.filterOrgaId] : [];
|
|
169
|
-
});
|
|
170
|
-
const sort = computed(() => props.popularSort ? PodcastSort.POPULARITY : props.sortCriteria ?? PodcastSort.DATE);
|
|
171
|
-
const sortText = computed(() => {
|
|
172
|
-
if (!props.displaySortText) return "";
|
|
173
|
-
switch (props.sortCriteria) {
|
|
174
|
-
case "SCORE": return " " + t("sort by score");
|
|
175
|
-
case "DATE": return " " + t("sort by date");
|
|
176
|
-
case "NAME": return " " + t("sort by alphabetical");
|
|
177
|
-
default: return " " + t("sort by date");
|
|
178
|
-
}
|
|
179
|
-
});
|
|
180
|
-
watch(changePaginate, () => {
|
|
181
|
-
dfirst.value = props.first;
|
|
182
|
-
dsize.value = props.size;
|
|
183
|
-
});
|
|
184
|
-
watch(changed, () => fetchContent(true));
|
|
185
|
-
watch(() => props.reload, () => fetchContent(true));
|
|
186
|
-
watch(dsize, () => fetchContent(true));
|
|
187
|
-
watch(dfirst, () => {
|
|
188
|
-
if (!podcasts.value[dfirst.value] || 0 === podcasts.value[dfirst.value].podcastId) fetchContent(false);
|
|
189
|
-
});
|
|
190
|
-
onBeforeMount(() => fetchContent(false));
|
|
191
|
-
async function fetchContent(reset) {
|
|
192
|
-
loading.value = true;
|
|
193
|
-
let validity = void 0;
|
|
194
|
-
if (props.validity !== void 0 && props.validity !== "") validity = props.validity === "true" || props.validity === true;
|
|
195
|
-
const param = {
|
|
196
|
-
first: reset ? 0 : dfirst.value,
|
|
197
|
-
size: dsize.value,
|
|
198
|
-
organisationId: organisation.value,
|
|
199
|
-
emissionId: props.emissionId,
|
|
200
|
-
groupId: props.emissionGroups?.map((g) => g.groupId),
|
|
201
|
-
iabId: props.iabId,
|
|
202
|
-
participantId: props.participantId,
|
|
203
|
-
query: props.query,
|
|
204
|
-
monetisable: props.monetisable,
|
|
205
|
-
sort: sort.value,
|
|
206
|
-
pubDateBefore: props.before,
|
|
207
|
-
pubDateAfter: props.after,
|
|
208
|
-
noRubriquageId: props.noRubriquageId?.length ? props.noRubriquageId : void 0,
|
|
209
|
-
rubriqueId: props.rubriqueId?.length ? props.rubriqueId : void 0,
|
|
210
|
-
rubriquageId: props.rubriquageId?.length ? props.rubriquageId : void 0,
|
|
211
|
-
includeHidden: props.includeHidden,
|
|
212
|
-
validity,
|
|
213
|
-
publisherId: props.onlyMyEpisodes ? authStore.authProfile?.userId : void 0,
|
|
214
|
-
processingStatus: [PodcastProcessingStatus.Ready, PodcastProcessingStatus.Processing],
|
|
215
|
-
withVideo: props.withVideo,
|
|
216
|
-
tags: props.includeTag?.length ? props.includeTag : void 0,
|
|
217
|
-
beneficiaries: props.beneficiaries ?? void 0,
|
|
218
|
-
season: props.seasons
|
|
219
|
-
};
|
|
220
|
-
try {
|
|
221
|
-
afterFetching(reset, await podcastApi.searchFull(param, true));
|
|
222
|
-
} catch (error) {
|
|
223
|
-
if (error instanceof AxiosError) handle403(error);
|
|
224
|
-
else console.error("error", error);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
function afterFetching(reset, data) {
|
|
228
|
-
if (reset) {
|
|
229
|
-
dfirst.value = 0;
|
|
230
|
-
podcasts.value.length = 0;
|
|
231
|
-
}
|
|
232
|
-
if (dfirst.value > podcasts.value.length) for (let i = podcasts.value.length - 1, len = dfirst.value + dsize.value; i < len; i++) podcasts.value.push(emptyPodcastData());
|
|
233
|
-
const responsePodcasts = data.result.filter((p) => {
|
|
234
|
-
return null !== p;
|
|
235
|
-
});
|
|
236
|
-
podcasts.value = podcasts.value.slice(0, dfirst.value).concat(responsePodcasts).concat(podcasts.value.slice(dfirst.value + dsize.value, podcasts.value.length));
|
|
237
|
-
emit("fetch", podcasts.value);
|
|
238
|
-
totalCount.value = props.justSizeChosen ? props.size : data.count;
|
|
239
|
-
if (0 === podcasts.value.length) emit("emptyList");
|
|
240
|
-
loading.value = false;
|
|
241
|
-
}
|
|
242
|
-
const __returned__ = {
|
|
243
|
-
props,
|
|
244
|
-
emit,
|
|
245
|
-
loading,
|
|
246
|
-
dfirst,
|
|
247
|
-
dsize,
|
|
248
|
-
totalCount,
|
|
249
|
-
isMobile,
|
|
250
|
-
podcasts,
|
|
251
|
-
t,
|
|
252
|
-
handle403,
|
|
253
|
-
filterStore,
|
|
254
|
-
authStore,
|
|
255
|
-
displayArray,
|
|
256
|
-
changePaginate,
|
|
257
|
-
changed,
|
|
258
|
-
organisation,
|
|
259
|
-
sort,
|
|
260
|
-
sortText,
|
|
261
|
-
fetchContent,
|
|
262
|
-
afterFetching,
|
|
263
|
-
ListPaginate: ListPaginate_default,
|
|
264
|
-
PodcastItem: PodcastItem_default,
|
|
265
|
-
ClassicLazy: ClassicLazy_default
|
|
266
|
-
};
|
|
267
|
-
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
268
|
-
enumerable: false,
|
|
269
|
-
value: true
|
|
270
|
-
});
|
|
271
|
-
return __returned__;
|
|
272
|
-
}
|
|
273
|
-
});
|
|
274
|
-
//#endregion
|
|
275
|
-
//#region src/components/display/podcasts/PodcastList.vue
|
|
276
|
-
var PodcastList_exports = /* @__PURE__ */ __exportAll({ default: () => PodcastList_default });
|
|
277
|
-
var _hoisted_1 = { class: "octopus-element-list" };
|
|
278
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
279
|
-
const _component_router_link = resolveComponent("router-link");
|
|
280
|
-
return openBlock(), createBlock($setup["ListPaginate"], {
|
|
281
|
-
id: "podcastListPaginate",
|
|
282
|
-
first: $setup.dfirst,
|
|
283
|
-
"onUpdate:first": _cache[0] || (_cache[0] = ($event) => $setup.dfirst = $event),
|
|
284
|
-
"rows-per-page": $setup.dsize,
|
|
285
|
-
"onUpdate:rowsPerPage": _cache[1] || (_cache[1] = ($event) => $setup.dsize = $event),
|
|
286
|
-
"is-mobile": $setup.isMobile,
|
|
287
|
-
"onUpdate:isMobile": _cache[2] || (_cache[2] = ($event) => $setup.isMobile = $event),
|
|
288
|
-
"text-count": $props.showCount && $setup.podcasts.length > 1 ? $setup.t("Number podcasts", { nb: $setup.totalCount }) + $setup.sortText : void 0,
|
|
289
|
-
"total-count": $setup.totalCount,
|
|
290
|
-
loading: $setup.loading,
|
|
291
|
-
"loading-text": $setup.loading ? $setup.t("Loading podcasts ...") : void 0,
|
|
292
|
-
"error-text": !$setup.loading && !$setup.podcasts.length ? $setup.t(`No podcast match your query`) : void 0,
|
|
293
|
-
"just-size-chosen": $props.justSizeChosen,
|
|
294
|
-
"player-responsive": true,
|
|
295
|
-
"force-update-parameters": $props.forceUpdateParameters
|
|
296
|
-
}, {
|
|
297
|
-
list: withCtx(() => [createElementVNode("div", _hoisted_1, [(openBlock(true), createElementBlock(Fragment, null, renderList($setup.displayArray, (p) => {
|
|
298
|
-
return openBlock(), createBlock($setup["ClassicLazy"], {
|
|
299
|
-
key: p.podcastId,
|
|
300
|
-
"min-height": 410
|
|
301
|
-
}, {
|
|
302
|
-
preview: withCtx(() => [createVNode(_component_router_link, {
|
|
303
|
-
to: {
|
|
304
|
-
name: "podcast",
|
|
305
|
-
params: { podcastId: p.podcastId }
|
|
306
|
-
},
|
|
307
|
-
title: $setup.t("Episode name page", { name: p.title })
|
|
308
|
-
}, {
|
|
309
|
-
default: withCtx(() => [createTextVNode(toDisplayString(p.title), 1)]),
|
|
310
|
-
_: 2
|
|
311
|
-
}, 1032, ["to", "title"])]),
|
|
312
|
-
default: withCtx(() => [0 !== p.podcastId ? (openBlock(), createBlock($setup["PodcastItem"], {
|
|
313
|
-
key: 0,
|
|
314
|
-
podcast: p
|
|
315
|
-
}, null, 8, ["podcast"])) : createCommentVNode("v-if", true)]),
|
|
316
|
-
_: 2
|
|
317
|
-
}, 1024);
|
|
318
|
-
}), 128))])]),
|
|
319
|
-
_: 1
|
|
320
|
-
}, 8, [
|
|
321
|
-
"first",
|
|
322
|
-
"rows-per-page",
|
|
323
|
-
"is-mobile",
|
|
324
|
-
"text-count",
|
|
325
|
-
"total-count",
|
|
326
|
-
"loading",
|
|
327
|
-
"loading-text",
|
|
328
|
-
"error-text",
|
|
329
|
-
"just-size-chosen",
|
|
330
|
-
"force-update-parameters"
|
|
331
|
-
]);
|
|
332
|
-
}
|
|
333
|
-
var PodcastList_default = /*#__PURE__*/ _plugin_vue_export_helper_default(PodcastList_vue_vue_type_script_setup_true_lang_default, [["render", _sfc_render], ["__file", "/home/julien/Workspace/octopus-sdk/src/components/display/podcasts/PodcastList.vue"]]);
|
|
334
|
-
//#endregion
|
|
335
|
-
export { PodcastList_exports as n, PodcastList_default as t };
|
|
336
|
-
|
|
337
|
-
//# sourceMappingURL=PodcastList-DACfAVhQ.mjs.map
|