@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
package/dist/TopBar-DzQk-qfW.mjs
DELETED
|
@@ -1,761 +0,0 @@
|
|
|
1
|
-
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper-BOaGB7Aw.mjs";
|
|
2
|
-
import { A as state, a as useSubOrganisations, i as useAuthStore$1, r as useFilterStore, s as rubriquesApi } from "./classicApi-CIVdJnkN.mjs";
|
|
3
|
-
import { t as useResizePhone } from "./useResizePhone-CpfFUmfV.mjs";
|
|
4
|
-
import { t as useImageProxy } from "./useImageProxy-DUTIvlMD.mjs";
|
|
5
|
-
import { t as useGeneralStore } from "./GeneralStore-CUlq_NjO.mjs";
|
|
6
|
-
import { t as ClassicPopover_default } from "./ClassicPopover-BIyLKorz.mjs";
|
|
7
|
-
import { t as useRubriquesFilterComputed } from "./useRubriquesFilterComputed-worUxu1g.mjs";
|
|
8
|
-
import { t as HomeDropdown_default } from "./HomeDropdown-4mMWlnQ5.mjs";
|
|
9
|
-
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, onUnmounted, openBlock, ref, renderList, resolveComponent, toDisplayString, toRef, useTemplateRef, vShow, watch, withCtx, withDirectives } from "vue";
|
|
10
|
-
import { useI18n } from "vue-i18n";
|
|
11
|
-
import axios from "axios";
|
|
12
|
-
import ChevronDownIcon from "vue-material-design-icons/ChevronDown.vue";
|
|
13
|
-
import Close from "vue-material-design-icons/Close.vue";
|
|
14
|
-
import MagnifyIcon from "vue-material-design-icons/Magnify.vue";
|
|
15
|
-
import SwapIcon from "vue-material-design-icons/SwapHorizontalCircleOutline.vue";
|
|
16
|
-
import ClearIcon from "vue-material-design-icons/CloseCircleOutline.vue";
|
|
17
|
-
import { getClassicInputText, useAuthStore } from "@saooti/octopus-sdk";
|
|
18
|
-
//#region src/components/misc/RightsScopeSelector.vue?vue&type=script&setup=true&lang.ts
|
|
19
|
-
var RightsScopeSelector_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
20
|
-
__name: "RightsScopeSelector",
|
|
21
|
-
props: { open: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
required: false
|
|
24
|
-
} },
|
|
25
|
-
emits: ["change"],
|
|
26
|
-
setup(__props, { expose: __expose }) {
|
|
27
|
-
__expose();
|
|
28
|
-
const { t } = useI18n();
|
|
29
|
-
const authStore = useAuthStore$1();
|
|
30
|
-
const authOrgaId = toRef(authStore, "authOrgaId");
|
|
31
|
-
const rubriquage = ref(null);
|
|
32
|
-
const { selectedSubOrganisation, subOrganisations, unselectSubOrganisation } = useSubOrganisations(authOrgaId);
|
|
33
|
-
watch(authOrgaId, async () => {
|
|
34
|
-
rubriquage.value = await rubriquesApi.findRestrictiveRubriquage(authOrgaId.value);
|
|
35
|
-
}, { immediate: true });
|
|
36
|
-
const __returned__ = {
|
|
37
|
-
t,
|
|
38
|
-
authStore,
|
|
39
|
-
authOrgaId,
|
|
40
|
-
rubriquage,
|
|
41
|
-
selectedSubOrganisation,
|
|
42
|
-
subOrganisations,
|
|
43
|
-
unselectSubOrganisation,
|
|
44
|
-
SwapIcon,
|
|
45
|
-
ClearIcon
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
48
|
-
enumerable: false,
|
|
49
|
-
value: true
|
|
50
|
-
});
|
|
51
|
-
return __returned__;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
//#endregion
|
|
55
|
-
//#region src/components/misc/RightsScopeSelector.vue
|
|
56
|
-
var _hoisted_1$3 = {
|
|
57
|
-
key: 0,
|
|
58
|
-
class: "d-flex flex-column ms-4"
|
|
59
|
-
};
|
|
60
|
-
var _hoisted_2$3 = { class: "label mb-1" };
|
|
61
|
-
var _hoisted_3$2 = { class: "d-flex value" };
|
|
62
|
-
var _hoisted_4$2 = ["aria-expanded"];
|
|
63
|
-
var _hoisted_5$2 = {
|
|
64
|
-
key: 0,
|
|
65
|
-
class: "me-2 selected"
|
|
66
|
-
};
|
|
67
|
-
var _hoisted_6$2 = {
|
|
68
|
-
key: 1,
|
|
69
|
-
class: "me-2"
|
|
70
|
-
};
|
|
71
|
-
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
72
|
-
return $setup.subOrganisations.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$3, [createElementVNode("span", _hoisted_2$3, toDisplayString($setup.t("RightsScopeSelector - Title", { rubriquage: $setup.rubriquage?.title })), 1), createElementVNode("div", _hoisted_3$2, [createElementVNode("button", {
|
|
73
|
-
type: "button",
|
|
74
|
-
class: "btn-transparent d-flex align-items-center",
|
|
75
|
-
"aria-controls": "suborga-list-menu",
|
|
76
|
-
"aria-expanded": $props.open,
|
|
77
|
-
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("change"))
|
|
78
|
-
}, [$setup.selectedSubOrganisation ? (openBlock(), createElementBlock("span", _hoisted_5$2, toDisplayString($setup.selectedSubOrganisation.name), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$2, toDisplayString($setup.t("RightsScopeSelector - No filter")), 1)), createVNode($setup["SwapIcon"], { class: "icon" })], 8, _hoisted_4$2), $setup.selectedSubOrganisation ? (openBlock(), createElementBlock("button", {
|
|
79
|
-
key: 0,
|
|
80
|
-
type: "button",
|
|
81
|
-
class: "btn-transparent",
|
|
82
|
-
onClick: _cache[1] || (_cache[1] = (...args) => $setup.unselectSubOrganisation && $setup.unselectSubOrganisation(...args))
|
|
83
|
-
}, [createVNode($setup["ClearIcon"], {
|
|
84
|
-
class: "icon",
|
|
85
|
-
title: $setup.t("RightsScopeSelector - Clear filter")
|
|
86
|
-
}, null, 8, ["title"])])) : createCommentVNode("v-if", true)])])) : createCommentVNode("v-if", true);
|
|
87
|
-
}
|
|
88
|
-
var RightsScopeSelector_default = /*#__PURE__*/ _plugin_vue_export_helper_default(RightsScopeSelector_vue_vue_type_script_setup_true_lang_default, [
|
|
89
|
-
["render", _sfc_render$3],
|
|
90
|
-
["__scopeId", "data-v-e84ec0ca"],
|
|
91
|
-
["__file", "/home/julien/Workspace/octopus-sdk/src/components/misc/RightsScopeSelector.vue"]
|
|
92
|
-
]);
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region src/components/misc/RightsScopeMenu.vue?vue&type=script&setup=true&lang.ts
|
|
95
|
-
var RightsScopeMenu_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
96
|
-
__name: "RightsScopeMenu",
|
|
97
|
-
props: { open: {
|
|
98
|
-
type: Boolean,
|
|
99
|
-
required: false
|
|
100
|
-
} },
|
|
101
|
-
emits: ["update:open"],
|
|
102
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
103
|
-
__expose();
|
|
104
|
-
const ClassicInputText = defineAsyncComponent(getClassicInputText);
|
|
105
|
-
const { t } = useI18n();
|
|
106
|
-
const props = __props;
|
|
107
|
-
const emit = __emit;
|
|
108
|
-
const menuNav = useTemplateRef("menuNav");
|
|
109
|
-
let previousFocus = null;
|
|
110
|
-
watch(() => props.open, async (open) => {
|
|
111
|
-
if (open) {
|
|
112
|
-
previousFocus = document.activeElement;
|
|
113
|
-
setTimeout(() => document.addEventListener("click", openOnClick), 200);
|
|
114
|
-
document.addEventListener("keydown", closeOnEscape);
|
|
115
|
-
await nextTick();
|
|
116
|
-
menuNav.value?.querySelector("input")?.focus();
|
|
117
|
-
} else {
|
|
118
|
-
removeListeners();
|
|
119
|
-
const active = document.activeElement;
|
|
120
|
-
if (active === document.body || menuNav.value?.contains(active)) previousFocus?.focus();
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
onUnmounted(removeListeners);
|
|
124
|
-
function removeListeners() {
|
|
125
|
-
document.removeEventListener("click", openOnClick);
|
|
126
|
-
document.removeEventListener("keydown", closeOnEscape);
|
|
127
|
-
}
|
|
128
|
-
function close() {
|
|
129
|
-
emit("update:open", false);
|
|
130
|
-
}
|
|
131
|
-
function openOnClick(event) {
|
|
132
|
-
const menu = menuNav.value;
|
|
133
|
-
if (props.open && event.target && !menu?.contains(event.target)) close();
|
|
134
|
-
}
|
|
135
|
-
function closeOnEscape(event) {
|
|
136
|
-
if (event.key === "Escape") close();
|
|
137
|
-
}
|
|
138
|
-
function prefersReducedMotion() {
|
|
139
|
-
return window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
140
|
-
}
|
|
141
|
-
const search = ref("");
|
|
142
|
-
const authStore = useAuthStore();
|
|
143
|
-
const { subOrganisations, selectSubOrganisation } = useSubOrganisations(toRef(authStore, "authOrgaId"));
|
|
144
|
-
function normalize(str) {
|
|
145
|
-
return str.toUpperCase().normalize("NFD").replace(/\p{Diacritic}/gu, "");
|
|
146
|
-
}
|
|
147
|
-
const normalizedSearch = computed(() => {
|
|
148
|
-
return normalize(search.value);
|
|
149
|
-
});
|
|
150
|
-
const userSubOrgas = computed(() => {
|
|
151
|
-
const userScope = authStore.userScope;
|
|
152
|
-
return subOrganisations.value.filter((sub) => sub.name.includes(normalizedSearch.value)).filter((sub) => userScope.includes(sub.id)).sort((o1, o2) => o1.name.localeCompare(o2.name));
|
|
153
|
-
});
|
|
154
|
-
const showFirstList = computed(() => {
|
|
155
|
-
return userSubOrgas.value.length > 0;
|
|
156
|
-
});
|
|
157
|
-
const secondListTitle = computed(() => {
|
|
158
|
-
if (authStore.userScope.length === 0) return t("RightsScopeMenu - Second list - Title unscoped");
|
|
159
|
-
else return t("RightsScopeMenu - Second list - Title scoped");
|
|
160
|
-
});
|
|
161
|
-
const showLetters = computed(() => {
|
|
162
|
-
return subOrganisations.value.length > 10;
|
|
163
|
-
});
|
|
164
|
-
const subOrgaByLetter = computed(() => {
|
|
165
|
-
const data = /* @__PURE__ */ new Map();
|
|
166
|
-
const filtered = subOrganisations.value.filter((sub) => sub.name.includes(normalizedSearch.value)).filter((sub) => !userSubOrgas.value.includes(sub)).sort((o1, o2) => o1.name.localeCompare(o2.name));
|
|
167
|
-
if (showLetters.value) filtered.forEach((sub) => {
|
|
168
|
-
const firstLetter = sub.name[0];
|
|
169
|
-
if (data.has(firstLetter)) data.get(firstLetter).push(sub);
|
|
170
|
-
else data.set(firstLetter, [sub]);
|
|
171
|
-
});
|
|
172
|
-
else data.set(null, filtered);
|
|
173
|
-
data.values().forEach((ary) => ary.sort((a, b) => a.name.localeCompare(b.name)));
|
|
174
|
-
return data;
|
|
175
|
-
});
|
|
176
|
-
const noResult = computed(() => {
|
|
177
|
-
return !showFirstList.value && [...subOrgaByLetter.value.values()].every((ary) => ary.length === 0);
|
|
178
|
-
});
|
|
179
|
-
function scrollToLetter(letter) {
|
|
180
|
-
if (!subOrgaByLetter.value.has(letter)) return;
|
|
181
|
-
const container = menuNav.value;
|
|
182
|
-
const target = container?.querySelector(`#suborga-letter-${letter}`);
|
|
183
|
-
if (container && target) {
|
|
184
|
-
container.scrollTo({
|
|
185
|
-
top: target.offsetTop,
|
|
186
|
-
behavior: prefersReducedMotion() ? "auto" : "smooth"
|
|
187
|
-
});
|
|
188
|
-
target.focus({ preventScroll: true });
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
function select(org) {
|
|
192
|
-
selectSubOrganisation(org);
|
|
193
|
-
emit("update:open", false);
|
|
194
|
-
}
|
|
195
|
-
const __returned__ = {
|
|
196
|
-
ClassicInputText,
|
|
197
|
-
t,
|
|
198
|
-
props,
|
|
199
|
-
emit,
|
|
200
|
-
menuNav,
|
|
201
|
-
get previousFocus() {
|
|
202
|
-
return previousFocus;
|
|
203
|
-
},
|
|
204
|
-
set previousFocus(v) {
|
|
205
|
-
previousFocus = v;
|
|
206
|
-
},
|
|
207
|
-
removeListeners,
|
|
208
|
-
close,
|
|
209
|
-
openOnClick,
|
|
210
|
-
closeOnEscape,
|
|
211
|
-
prefersReducedMotion,
|
|
212
|
-
search,
|
|
213
|
-
authStore,
|
|
214
|
-
subOrganisations,
|
|
215
|
-
selectSubOrganisation,
|
|
216
|
-
normalize,
|
|
217
|
-
normalizedSearch,
|
|
218
|
-
userSubOrgas,
|
|
219
|
-
showFirstList,
|
|
220
|
-
secondListTitle,
|
|
221
|
-
showLetters,
|
|
222
|
-
subOrgaByLetter,
|
|
223
|
-
noResult,
|
|
224
|
-
scrollToLetter,
|
|
225
|
-
select,
|
|
226
|
-
CloseIcon: Close
|
|
227
|
-
};
|
|
228
|
-
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
229
|
-
enumerable: false,
|
|
230
|
-
value: true
|
|
231
|
-
});
|
|
232
|
-
return __returned__;
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
//#endregion
|
|
236
|
-
//#region src/components/misc/RightsScopeMenu.vue
|
|
237
|
-
var _hoisted_1$2 = ["inert"];
|
|
238
|
-
var _hoisted_2$2 = { class: "search" };
|
|
239
|
-
var _hoisted_3$1 = { id: "suborga-list-menu-title" };
|
|
240
|
-
var _hoisted_4$1 = {
|
|
241
|
-
key: 0,
|
|
242
|
-
class: "suborga-list mb-4"
|
|
243
|
-
};
|
|
244
|
-
var _hoisted_5$1 = ["onClick"];
|
|
245
|
-
var _hoisted_6$1 = { class: "suborga-list" };
|
|
246
|
-
var _hoisted_7$1 = {
|
|
247
|
-
key: 0,
|
|
248
|
-
class: "letters mt-2"
|
|
249
|
-
};
|
|
250
|
-
var _hoisted_8$1 = [
|
|
251
|
-
"title",
|
|
252
|
-
"disabled",
|
|
253
|
-
"onClick"
|
|
254
|
-
];
|
|
255
|
-
var _hoisted_9$1 = ["id"];
|
|
256
|
-
var _hoisted_10$1 = ["onClick"];
|
|
257
|
-
var _hoisted_11$1 = {
|
|
258
|
-
role: "status",
|
|
259
|
-
class: "text-indic px-3"
|
|
260
|
-
};
|
|
261
|
-
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
262
|
-
return openBlock(), createElementBlock("div", {
|
|
263
|
-
id: "suborga-list-menu",
|
|
264
|
-
ref: "menuNav",
|
|
265
|
-
role: "dialog",
|
|
266
|
-
"aria-labelledby": "suborga-list-menu-title",
|
|
267
|
-
class: normalizeClass({ shown: $props.open }),
|
|
268
|
-
inert: !$props.open
|
|
269
|
-
}, [
|
|
270
|
-
createElementVNode("button", {
|
|
271
|
-
type: "button",
|
|
272
|
-
class: "btn-transparent close-btn",
|
|
273
|
-
onClick: $setup.close
|
|
274
|
-
}, [createVNode($setup["CloseIcon"], { title: $setup.t("Close") }, null, 8, ["title"])]),
|
|
275
|
-
createElementVNode("div", _hoisted_2$2, [createElementVNode("h3", _hoisted_3$1, toDisplayString($setup.t("RightsScopeMenu - Title")), 1), createVNode($setup["ClassicInputText"], {
|
|
276
|
-
"text-init": $setup.search,
|
|
277
|
-
"onUpdate:textInit": _cache[0] || (_cache[0] = ($event) => $setup.search = $event),
|
|
278
|
-
placeholder: $setup.t("RightsScopeMenu - Search"),
|
|
279
|
-
"can-be-null": ""
|
|
280
|
-
}, null, 8, ["text-init", "placeholder"])]),
|
|
281
|
-
$setup.showFirstList ? (openBlock(), createElementBlock("div", _hoisted_4$1, [createElementVNode("h4", null, toDisplayString($setup.t("RightsScopeMenu - First list - Title")), 1), (openBlock(true), createElementBlock(Fragment, null, renderList($setup.userSubOrgas, (suborga) => {
|
|
282
|
-
return openBlock(), createElementBlock("span", {
|
|
283
|
-
key: suborga.id,
|
|
284
|
-
class: "suborga",
|
|
285
|
-
onClick: ($event) => $setup.select(suborga)
|
|
286
|
-
}, toDisplayString(suborga.name), 9, _hoisted_5$1);
|
|
287
|
-
}), 128))])) : createCommentVNode("v-if", true),
|
|
288
|
-
createElementVNode("div", _hoisted_6$1, [
|
|
289
|
-
createElementVNode("h4", null, toDisplayString($setup.secondListTitle), 1),
|
|
290
|
-
$setup.showLetters ? (openBlock(), createElementBlock("div", _hoisted_7$1, [(openBlock(), createElementBlock(Fragment, null, renderList("ABCDEFGHIJKLMNOPQRSTUVWXYZ", (letter) => {
|
|
291
|
-
return createElementVNode("button", {
|
|
292
|
-
key: letter,
|
|
293
|
-
type: "button",
|
|
294
|
-
class: "letter",
|
|
295
|
-
title: $setup.subOrgaByLetter.has(letter) ? void 0 : $setup.t("RightsScopeMenu - Letters - No sub orga for letter"),
|
|
296
|
-
disabled: !$setup.subOrgaByLetter.has(letter),
|
|
297
|
-
onClick: ($event) => $setup.scrollToLetter(letter)
|
|
298
|
-
}, toDisplayString(letter), 9, _hoisted_8$1);
|
|
299
|
-
}), 64))])) : createCommentVNode("v-if", true),
|
|
300
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($setup.subOrgaByLetter, ([letter, suborgaForLetter]) => {
|
|
301
|
-
return openBlock(), createElementBlock("div", { key: "suborgas-" + letter }, [createElementVNode("div", {
|
|
302
|
-
id: "suborga-letter-" + letter,
|
|
303
|
-
class: "letter",
|
|
304
|
-
tabindex: "-1"
|
|
305
|
-
}, toDisplayString(letter), 9, _hoisted_9$1), (openBlock(true), createElementBlock(Fragment, null, renderList(suborgaForLetter, (suborga) => {
|
|
306
|
-
return openBlock(), createElementBlock("span", {
|
|
307
|
-
key: suborga.id,
|
|
308
|
-
class: "suborga",
|
|
309
|
-
onClick: ($event) => $setup.select(suborga)
|
|
310
|
-
}, toDisplayString(suborga.name), 9, _hoisted_10$1);
|
|
311
|
-
}), 128))]);
|
|
312
|
-
}), 128))
|
|
313
|
-
]),
|
|
314
|
-
createElementVNode("p", _hoisted_11$1, [$setup.noResult ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(toDisplayString($setup.t("RightsScopeMenu - No result")), 1)], 64)) : createCommentVNode("v-if", true)])
|
|
315
|
-
], 10, _hoisted_1$2);
|
|
316
|
-
}
|
|
317
|
-
var RightsScopeMenu_default = /*#__PURE__*/ _plugin_vue_export_helper_default(RightsScopeMenu_vue_vue_type_script_setup_true_lang_default, [
|
|
318
|
-
["render", _sfc_render$2],
|
|
319
|
-
["__scopeId", "data-v-28cae706"],
|
|
320
|
-
["__file", "/home/julien/Workspace/octopus-sdk/src/components/misc/RightsScopeMenu.vue"]
|
|
321
|
-
]);
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region src/components/misc/TopBarMainContent.vue?vue&type=script&setup=true&lang.ts
|
|
324
|
-
var TopBarMainContent_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
325
|
-
__name: "TopBarMainContent",
|
|
326
|
-
props: {
|
|
327
|
-
isPhone: {
|
|
328
|
-
type: Boolean,
|
|
329
|
-
required: false
|
|
330
|
-
},
|
|
331
|
-
titleDisplay: {
|
|
332
|
-
type: String,
|
|
333
|
-
required: false
|
|
334
|
-
},
|
|
335
|
-
scrolled: {
|
|
336
|
-
type: Boolean,
|
|
337
|
-
required: false
|
|
338
|
-
},
|
|
339
|
-
options: {
|
|
340
|
-
type: Object,
|
|
341
|
-
required: false
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
setup(__props, { expose: __expose }) {
|
|
345
|
-
__expose();
|
|
346
|
-
const MobileMenu = defineAsyncComponent(() => import("./MobileMenu-DxDkW3Qi.mjs"));
|
|
347
|
-
const props = __props;
|
|
348
|
-
const { t } = useI18n();
|
|
349
|
-
const { useProxyImageUrl } = useImageProxy();
|
|
350
|
-
const { rubriqueQueryParam } = useRubriquesFilterComputed();
|
|
351
|
-
const authStore = useAuthStore$1();
|
|
352
|
-
const generalStore = useGeneralStore();
|
|
353
|
-
const filterStore = useFilterStore();
|
|
354
|
-
const menuOpen = ref(false);
|
|
355
|
-
const mobileMenuDisplay = computed(() => props.isPhone || inContentDisplayPage.value);
|
|
356
|
-
const titleIsDisplayed = computed(() => inContentDisplayPage.value && props.scrolled && !props.isPhone);
|
|
357
|
-
const inContentDisplayPage = computed(() => 0 !== props.titleDisplay.length);
|
|
358
|
-
const routerLinkArray = computed(() => [
|
|
359
|
-
{
|
|
360
|
-
title: t("Radio & Live"),
|
|
361
|
-
routeName: "lives",
|
|
362
|
-
condition: !inContentDisplayPage.value && state.generalParameters.isLiveTab && (filterStore.filterOrgaId && filterStore.filterLive || !filterStore.filterOrgaId)
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
title: t("Podcasts"),
|
|
366
|
-
routeName: "podcasts",
|
|
367
|
-
condition: !inContentDisplayPage.value || inContentDisplayPage.value && !props.scrolled
|
|
368
|
-
},
|
|
369
|
-
{
|
|
370
|
-
title: t("Emissions"),
|
|
371
|
-
routeName: "emissions",
|
|
372
|
-
condition: !inContentDisplayPage.value || inContentDisplayPage.value && !props.scrolled
|
|
373
|
-
}
|
|
374
|
-
]);
|
|
375
|
-
const routerLinkInsideArray = computed(() => {
|
|
376
|
-
return [
|
|
377
|
-
{
|
|
378
|
-
title: t("Speakers"),
|
|
379
|
-
routeName: "participants",
|
|
380
|
-
condition: true
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
title: t("Playlists"),
|
|
384
|
-
routeName: "playlists",
|
|
385
|
-
condition: true
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
title: t("Productors"),
|
|
389
|
-
routeName: "productors",
|
|
390
|
-
condition: !state.generalParameters.podcastmaker && (!filterStore.filterOrgaId || generalStore.platformEducation)
|
|
391
|
-
}
|
|
392
|
-
];
|
|
393
|
-
});
|
|
394
|
-
const logoUrl = computed(() => {
|
|
395
|
-
if (generalStore.platformEducation) return "/img/logo_education_white.svg";
|
|
396
|
-
return props.isPhone ? "/img/logo_octopus_bubble.svg" : "/img/logo_saooti_play_white.svg";
|
|
397
|
-
});
|
|
398
|
-
const imgUrl = computed(() => {
|
|
399
|
-
if (!filterStore.filterImgUrl?.includes("emptypodcast")) return `${filterStore.filterImgUrl}`;
|
|
400
|
-
return "";
|
|
401
|
-
});
|
|
402
|
-
function getQueriesRouter(routeName) {
|
|
403
|
-
if ("podcasts" !== routeName && "emissions" !== routeName && "home" !== routeName) return { productor: filterStore.filterOrgaId };
|
|
404
|
-
return {
|
|
405
|
-
productor: filterStore.filterOrgaId,
|
|
406
|
-
iabId: filterStore.filterIab?.id,
|
|
407
|
-
rubriquesId: rubriqueQueryParam.value
|
|
408
|
-
};
|
|
409
|
-
}
|
|
410
|
-
const __returned__ = {
|
|
411
|
-
MobileMenu,
|
|
412
|
-
props,
|
|
413
|
-
t,
|
|
414
|
-
useProxyImageUrl,
|
|
415
|
-
rubriqueQueryParam,
|
|
416
|
-
authStore,
|
|
417
|
-
generalStore,
|
|
418
|
-
filterStore,
|
|
419
|
-
menuOpen,
|
|
420
|
-
mobileMenuDisplay,
|
|
421
|
-
titleIsDisplayed,
|
|
422
|
-
inContentDisplayPage,
|
|
423
|
-
routerLinkArray,
|
|
424
|
-
routerLinkInsideArray,
|
|
425
|
-
logoUrl,
|
|
426
|
-
imgUrl,
|
|
427
|
-
getQueriesRouter,
|
|
428
|
-
ChevronDownIcon,
|
|
429
|
-
MagnifyIcon,
|
|
430
|
-
HomeDropdown: HomeDropdown_default,
|
|
431
|
-
ClassicPopover: ClassicPopover_default,
|
|
432
|
-
RightsScopeSelector: RightsScopeSelector_default,
|
|
433
|
-
RightsScopeMenu: RightsScopeMenu_default
|
|
434
|
-
};
|
|
435
|
-
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
436
|
-
enumerable: false,
|
|
437
|
-
value: true
|
|
438
|
-
});
|
|
439
|
-
return __returned__;
|
|
440
|
-
}
|
|
441
|
-
});
|
|
442
|
-
//#endregion
|
|
443
|
-
//#region src/components/misc/TopBarMainContent.vue
|
|
444
|
-
var _hoisted_1$1 = { class: "d-flex align-items-center" };
|
|
445
|
-
var _hoisted_2$1 = ["src"];
|
|
446
|
-
var _hoisted_3 = ["src"];
|
|
447
|
-
var _hoisted_4 = {
|
|
448
|
-
key: 0,
|
|
449
|
-
class: "text-truncate m-0 align-self-center"
|
|
450
|
-
};
|
|
451
|
-
var _hoisted_5 = ["src"];
|
|
452
|
-
var _hoisted_6 = ["title"];
|
|
453
|
-
var _hoisted_7 = ["src"];
|
|
454
|
-
var _hoisted_8 = {
|
|
455
|
-
role: "navigation",
|
|
456
|
-
class: "d-flex align-items-center justify-content-end flex-grow-1"
|
|
457
|
-
};
|
|
458
|
-
var _hoisted_9 = ["aria-label"];
|
|
459
|
-
var _hoisted_10 = { class: "d-flex" };
|
|
460
|
-
var _hoisted_11 = {
|
|
461
|
-
key: 0,
|
|
462
|
-
class: "li-style-none"
|
|
463
|
-
};
|
|
464
|
-
var _hoisted_12 = ["title"];
|
|
465
|
-
var _hoisted_13 = { class: "link-hover" };
|
|
466
|
-
var _hoisted_14 = ["aria-label"];
|
|
467
|
-
var _hoisted_15 = { class: "p-0 m-0" };
|
|
468
|
-
var _hoisted_16 = {
|
|
469
|
-
key: 0,
|
|
470
|
-
class: "li-style-none"
|
|
471
|
-
};
|
|
472
|
-
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
473
|
-
const _component_router_link = resolveComponent("router-link");
|
|
474
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["top-bar-grid header-content", { scrolled: $setup.titleIsDisplayed }]) }, [
|
|
475
|
-
createElementVNode("div", _hoisted_1$1, [
|
|
476
|
-
createCommentVNode(" Logo to the left "),
|
|
477
|
-
createVNode(_component_router_link, {
|
|
478
|
-
class: "top-bar-logo d-block",
|
|
479
|
-
to: {
|
|
480
|
-
name: "home",
|
|
481
|
-
query: $setup.getQueriesRouter("home")
|
|
482
|
-
},
|
|
483
|
-
title: $setup.t("Home")
|
|
484
|
-
}, {
|
|
485
|
-
default: withCtx(() => [!$setup.filterStore.filterOrgaId || "" === $setup.imgUrl ? (openBlock(), createElementBlock("img", {
|
|
486
|
-
key: 0,
|
|
487
|
-
src: $setup.logoUrl,
|
|
488
|
-
"aria-hidden": "true",
|
|
489
|
-
alt: "",
|
|
490
|
-
width: "140",
|
|
491
|
-
height: "50",
|
|
492
|
-
title: "Logo",
|
|
493
|
-
class: normalizeClass($setup.generalStore.platformEducation ? "education-logo" : "octopus-logo")
|
|
494
|
-
}, null, 10, _hoisted_2$1)) : (openBlock(), createElementBlock("img", {
|
|
495
|
-
key: 1,
|
|
496
|
-
src: $setup.useProxyImageUrl($setup.imgUrl, "", "80"),
|
|
497
|
-
"aria-hidden": "true",
|
|
498
|
-
alt: "",
|
|
499
|
-
class: normalizeClass(["client-logo", $setup.generalStore.platformEducation ? "education-logo" : ""]),
|
|
500
|
-
title: "Logo"
|
|
501
|
-
}, null, 10, _hoisted_3))]),
|
|
502
|
-
_: 1
|
|
503
|
-
}, 8, ["to", "title"]),
|
|
504
|
-
createVNode($setup["RightsScopeMenu"], {
|
|
505
|
-
open: $setup.menuOpen,
|
|
506
|
-
"onUpdate:open": _cache[0] || (_cache[0] = ($event) => $setup.menuOpen = $event)
|
|
507
|
-
}, null, 8, ["open"]),
|
|
508
|
-
createVNode($setup["RightsScopeSelector"], {
|
|
509
|
-
class: "ms-4",
|
|
510
|
-
open: $setup.menuOpen,
|
|
511
|
-
onChange: _cache[1] || (_cache[1] = ($event) => $setup.menuOpen = true)
|
|
512
|
-
}, null, 8, ["open"])
|
|
513
|
-
]),
|
|
514
|
-
$setup.titleIsDisplayed ? (openBlock(), createElementBlock("h1", _hoisted_4, toDisplayString($props.titleDisplay), 1)) : createCommentVNode("v-if", true),
|
|
515
|
-
createCommentVNode(" Right section "),
|
|
516
|
-
createElementVNode("div", { class: normalizeClass(["d-flex right-section", [$setup.inContentDisplayPage || $props.isPhone ? "flex-row-reverse align-items-center" : "flex-column align-items-end"]]) }, [
|
|
517
|
-
createCommentVNode(" Logo to the right "),
|
|
518
|
-
$setup.filterStore.filterOrgaId && "" !== $setup.imgUrl ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [$setup.authStore.isGarRole ? (openBlock(), createElementBlock("img", {
|
|
519
|
-
key: 0,
|
|
520
|
-
src: $setup.logoUrl,
|
|
521
|
-
"aria-hidden": "true",
|
|
522
|
-
alt: "",
|
|
523
|
-
width: "100",
|
|
524
|
-
height: "29",
|
|
525
|
-
class: normalizeClass(["ms-2", $setup.generalStore.platformEducation ? "education-logo" : "octopus-logo"]),
|
|
526
|
-
title: "Logo"
|
|
527
|
-
}, null, 10, _hoisted_5)) : (openBlock(), createElementBlock("a", {
|
|
528
|
-
key: 1,
|
|
529
|
-
href: "https://www.saooti.com/",
|
|
530
|
-
target: "_blank",
|
|
531
|
-
rel: "noreferrer noopener",
|
|
532
|
-
title: $setup.t("New window", { text: "Saooti" })
|
|
533
|
-
}, [createElementVNode("img", {
|
|
534
|
-
src: $setup.logoUrl,
|
|
535
|
-
"aria-hidden": "true",
|
|
536
|
-
alt: "",
|
|
537
|
-
title: "Saooti",
|
|
538
|
-
width: "100",
|
|
539
|
-
height: "29",
|
|
540
|
-
class: normalizeClass(["ms-2", $setup.generalStore.platformEducation ? "education-logo" : "octopus-logo"])
|
|
541
|
-
}, null, 10, _hoisted_7)], 8, _hoisted_6))], 64)) : createCommentVNode("v-if", true),
|
|
542
|
-
createElementVNode("div", _hoisted_8, [
|
|
543
|
-
createElementVNode("nav", { "aria-label": $setup.t("Site menu") }, [createElementVNode("ul", _hoisted_10, [(openBlock(true), createElementBlock(Fragment, null, renderList($setup.routerLinkArray, (link) => {
|
|
544
|
-
return openBlock(), createElementBlock(Fragment, { key: link.routeName }, [link.condition ? (openBlock(), createElementBlock("li", _hoisted_11, [withDirectives(createVNode(_component_router_link, {
|
|
545
|
-
to: {
|
|
546
|
-
name: link.routeName,
|
|
547
|
-
query: $setup.getQueriesRouter(link.routeName)
|
|
548
|
-
},
|
|
549
|
-
class: "link-hover py-2 px-3"
|
|
550
|
-
}, {
|
|
551
|
-
default: withCtx(() => [createTextVNode(toDisplayString(link.title), 1)]),
|
|
552
|
-
_: 2
|
|
553
|
-
}, 1032, ["to"]), [[vShow, !$props.isPhone]])])) : createCommentVNode("v-if", true)], 64);
|
|
554
|
-
}), 128))])], 8, _hoisted_9),
|
|
555
|
-
withDirectives(createElementVNode("button", {
|
|
556
|
-
id: "more-dropdown",
|
|
557
|
-
title: $setup.t("More"),
|
|
558
|
-
class: "d-flex-column flex-nowrap align-items-center btn-transparent py-2 px-3 text-white"
|
|
559
|
-
}, [createElementVNode("span", _hoisted_13, toDisplayString($setup.t("More")), 1), createVNode($setup["ChevronDownIcon"])], 8, _hoisted_12), [[vShow, !$props.isPhone && !$setup.inContentDisplayPage]]),
|
|
560
|
-
createVNode($setup["ClassicPopover"], {
|
|
561
|
-
target: "more-dropdown",
|
|
562
|
-
"only-click": true,
|
|
563
|
-
"is-fixed": true,
|
|
564
|
-
"left-pos": true,
|
|
565
|
-
"is-top-layer": true
|
|
566
|
-
}, {
|
|
567
|
-
default: withCtx(() => [createElementVNode("nav", {
|
|
568
|
-
class: "d-flex flex-column",
|
|
569
|
-
"aria-label": $setup.t("Site menu")
|
|
570
|
-
}, [createElementVNode("ul", _hoisted_15, [(openBlock(true), createElementBlock(Fragment, null, renderList($setup.routerLinkInsideArray, (link) => {
|
|
571
|
-
return openBlock(), createElementBlock(Fragment, { key: link.routeName }, [link.condition ? (openBlock(), createElementBlock("li", _hoisted_16, [createVNode(_component_router_link, {
|
|
572
|
-
to: {
|
|
573
|
-
name: link.routeName,
|
|
574
|
-
query: $setup.getQueriesRouter(link.routeName)
|
|
575
|
-
},
|
|
576
|
-
class: "p-1 octopus-dropdown-item"
|
|
577
|
-
}, {
|
|
578
|
-
default: withCtx(() => [createTextVNode(toDisplayString(link.title), 1)]),
|
|
579
|
-
_: 2
|
|
580
|
-
}, 1032, ["to"])])) : createCommentVNode("v-if", true)], 64);
|
|
581
|
-
}), 128))])], 8, _hoisted_14)]),
|
|
582
|
-
_: 1
|
|
583
|
-
}),
|
|
584
|
-
createVNode($setup["MobileMenu"], {
|
|
585
|
-
"is-education": $setup.generalStore.platformEducation,
|
|
586
|
-
show: $setup.mobileMenuDisplay,
|
|
587
|
-
"not-podcast-and-emission": $setup.inContentDisplayPage && !$props.scrolled
|
|
588
|
-
}, null, 8, [
|
|
589
|
-
"is-education",
|
|
590
|
-
"show",
|
|
591
|
-
"not-podcast-and-emission"
|
|
592
|
-
]),
|
|
593
|
-
createVNode($setup["HomeDropdown"], mergeProps({
|
|
594
|
-
"is-education": $setup.generalStore.platformEducation,
|
|
595
|
-
"mobile-menu-display": $setup.mobileMenuDisplay
|
|
596
|
-
}, $props.options?.homeDropdown), null, 16, ["is-education", "mobile-menu-display"]),
|
|
597
|
-
withDirectives(createVNode(_component_router_link, {
|
|
598
|
-
title: $setup.t("Search"),
|
|
599
|
-
to: { name: "podcasts" },
|
|
600
|
-
class: "btn admin-button m-1 text-blue-octopus",
|
|
601
|
-
role: "search"
|
|
602
|
-
}, {
|
|
603
|
-
default: withCtx(() => [createVNode($setup["MagnifyIcon"], { size: 30 })]),
|
|
604
|
-
_: 1
|
|
605
|
-
}, 8, ["title"]), [[vShow, !$props.isPhone && !$setup.inContentDisplayPage]])
|
|
606
|
-
])
|
|
607
|
-
], 2)
|
|
608
|
-
], 2);
|
|
609
|
-
}
|
|
610
|
-
var TopBarMainContent_default = /*#__PURE__*/ _plugin_vue_export_helper_default(TopBarMainContent_vue_vue_type_script_setup_true_lang_default, [
|
|
611
|
-
["render", _sfc_render$1],
|
|
612
|
-
["__scopeId", "data-v-096ff10c"],
|
|
613
|
-
["__file", "/home/julien/Workspace/octopus-sdk/src/components/misc/TopBarMainContent.vue"]
|
|
614
|
-
]);
|
|
615
|
-
//#endregion
|
|
616
|
-
//#region src/components/misc/TopBar.vue?vue&type=script&setup=true&lang.ts
|
|
617
|
-
var TopBar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
|
|
618
|
-
__name: "TopBar",
|
|
619
|
-
props: { options: {
|
|
620
|
-
type: Object,
|
|
621
|
-
required: false
|
|
622
|
-
} },
|
|
623
|
-
setup(__props, { expose: __expose }) {
|
|
624
|
-
__expose();
|
|
625
|
-
const SubscribeButtons = defineAsyncComponent(() => import("./SubscribeButtons-BxS1FG9R.mjs").then((n) => n.n));
|
|
626
|
-
const scrolled = ref(false);
|
|
627
|
-
const oldScrollY = ref(0);
|
|
628
|
-
const minScroll = ref(0);
|
|
629
|
-
const headerBackgroundImage = ref("");
|
|
630
|
-
const needToBlur = ref(false);
|
|
631
|
-
const { isPhone, windowWidth } = useResizePhone();
|
|
632
|
-
const { useProxyImageUrl } = useImageProxy();
|
|
633
|
-
const authStore = useAuthStore$1();
|
|
634
|
-
const generalStore = useGeneralStore();
|
|
635
|
-
const titleToDisplay = computed(() => {
|
|
636
|
-
if (generalStore.contentToDisplay?.podcastId) return generalStore.contentToDisplay.emission.name;
|
|
637
|
-
if (generalStore.contentToDisplay?.playlistId) return generalStore.contentToDisplay.title;
|
|
638
|
-
if (generalStore.contentToDisplay?.emissionId) return generalStore.contentToDisplay.name;
|
|
639
|
-
if (generalStore.contentToDisplay?.id) return generalStore.contentToDisplay.name;
|
|
640
|
-
return "";
|
|
641
|
-
});
|
|
642
|
-
/** The element displayed by the subscribe buttons */
|
|
643
|
-
const content = computed(() => {
|
|
644
|
-
if (generalStore.contentToDisplay?.podcastId) return generalStore.contentToDisplay.emission;
|
|
645
|
-
if (generalStore.contentToDisplay?.emissionId) return generalStore.contentToDisplay;
|
|
646
|
-
if (generalStore.contentToDisplay?.playlistId) return generalStore.contentToDisplay;
|
|
647
|
-
return null;
|
|
648
|
-
});
|
|
649
|
-
watch(() => generalStore.contentToDisplay, async () => {
|
|
650
|
-
if (!generalStore.contentToDisplay) {
|
|
651
|
-
headerBackgroundImage.value = "";
|
|
652
|
-
needToBlur.value = false;
|
|
653
|
-
return;
|
|
654
|
-
}
|
|
655
|
-
const widthAsked = window.innerWidth > 960 ? "1600" : "1000";
|
|
656
|
-
const proxyUrl = useProxyImageUrl(generalStore.contentToDisplay.imageUrl, widthAsked, void 0, true);
|
|
657
|
-
try {
|
|
658
|
-
const result = await axios.get(proxyUrl);
|
|
659
|
-
headerBackgroundImage.value = `background-image: url('${result.data}');`;
|
|
660
|
-
needToBlur.value = result.data === generalStore.contentToDisplay.imageUrl;
|
|
661
|
-
} catch {
|
|
662
|
-
if (generalStore.contentToDisplay.imageUrl) {
|
|
663
|
-
const url = encodeURI(generalStore.contentToDisplay.imageUrl);
|
|
664
|
-
headerBackgroundImage.value = `background-image: url('${url}');`;
|
|
665
|
-
needToBlur.value = true;
|
|
666
|
-
} else headerBackgroundImage.value = "";
|
|
667
|
-
}
|
|
668
|
-
}, {
|
|
669
|
-
deep: true,
|
|
670
|
-
immediate: true
|
|
671
|
-
});
|
|
672
|
-
onMounted(() => {
|
|
673
|
-
window.addEventListener("scroll", handleScroll);
|
|
674
|
-
});
|
|
675
|
-
onBeforeUnmount(() => {
|
|
676
|
-
window.removeEventListener("scroll", handleScroll);
|
|
677
|
-
});
|
|
678
|
-
function handleScroll() {
|
|
679
|
-
if (window.scrollY - oldScrollY.value > 0 && window.scrollY > 1 && document.body.offsetHeight - window.innerHeight > 40) {
|
|
680
|
-
if (!scrolled.value) {
|
|
681
|
-
scrolled.value = true;
|
|
682
|
-
minScroll.value = 0;
|
|
683
|
-
}
|
|
684
|
-
} else if (window.scrollY - oldScrollY.value < 0 && window.scrollY < 1 && minScroll.value > 20) {
|
|
685
|
-
scrolled.value = false;
|
|
686
|
-
minScroll.value = 0;
|
|
687
|
-
}
|
|
688
|
-
oldScrollY.value = window.scrollY;
|
|
689
|
-
if (minScroll.value < window.scrollY) minScroll.value = window.scrollY;
|
|
690
|
-
}
|
|
691
|
-
const __returned__ = {
|
|
692
|
-
SubscribeButtons,
|
|
693
|
-
scrolled,
|
|
694
|
-
oldScrollY,
|
|
695
|
-
minScroll,
|
|
696
|
-
headerBackgroundImage,
|
|
697
|
-
needToBlur,
|
|
698
|
-
isPhone,
|
|
699
|
-
windowWidth,
|
|
700
|
-
useProxyImageUrl,
|
|
701
|
-
authStore,
|
|
702
|
-
generalStore,
|
|
703
|
-
titleToDisplay,
|
|
704
|
-
content,
|
|
705
|
-
handleScroll,
|
|
706
|
-
TopBarMainContent: TopBarMainContent_default
|
|
707
|
-
};
|
|
708
|
-
Object.defineProperty(__returned__, "__isScriptSetup", {
|
|
709
|
-
enumerable: false,
|
|
710
|
-
value: true
|
|
711
|
-
});
|
|
712
|
-
return __returned__;
|
|
713
|
-
}
|
|
714
|
-
});
|
|
715
|
-
//#endregion
|
|
716
|
-
//#region src/components/misc/TopBar.vue
|
|
717
|
-
var _hoisted_1 = { class: "header-additional-content header-content" };
|
|
718
|
-
var _hoisted_2 = {
|
|
719
|
-
key: 0,
|
|
720
|
-
class: "text-truncate"
|
|
721
|
-
};
|
|
722
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
723
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("header", {
|
|
724
|
-
role: "banner",
|
|
725
|
-
class: normalizeClass(["header-saooti-play", [
|
|
726
|
-
$setup.generalStore.contentToDisplay ? "header-img-bg" : "bg-gradient",
|
|
727
|
-
$setup.scrolled ? "scrolled" : "",
|
|
728
|
-
$setup.needToBlur ? "header-force-blur" : ""
|
|
729
|
-
]]),
|
|
730
|
-
style: normalizeStyle($setup.headerBackgroundImage)
|
|
731
|
-
}, [createVNode($setup["TopBarMainContent"], {
|
|
732
|
-
"is-phone": $setup.isPhone,
|
|
733
|
-
scrolled: $setup.scrolled,
|
|
734
|
-
"title-display": $setup.titleToDisplay,
|
|
735
|
-
style: { "height": "var(--header-size)" },
|
|
736
|
-
class: normalizeClass($setup.headerBackgroundImage.length ? "header-opacity" : ""),
|
|
737
|
-
options: $props.options?.topBarMainContent
|
|
738
|
-
}, null, 8, [
|
|
739
|
-
"is-phone",
|
|
740
|
-
"scrolled",
|
|
741
|
-
"title-display",
|
|
742
|
-
"class",
|
|
743
|
-
"options"
|
|
744
|
-
])], 6), $setup.generalStore.contentToDisplay ? (openBlock(), createElementBlock("div", {
|
|
745
|
-
key: 0,
|
|
746
|
-
class: normalizeClass(["header-content-bg", {
|
|
747
|
-
scrolled: $setup.scrolled,
|
|
748
|
-
"header-force-blur": $setup.needToBlur
|
|
749
|
-
}]),
|
|
750
|
-
style: normalizeStyle($setup.headerBackgroundImage)
|
|
751
|
-
}, [createElementVNode("div", _hoisted_1, [!$setup.scrolled ? (openBlock(), createElementBlock("h1", _hoisted_2, toDisplayString($setup.titleToDisplay), 1)) : createCommentVNode("v-if", true), !$setup.authStore.isGarRole && $setup.content ? withDirectives((openBlock(), createBlock($setup["SubscribeButtons"], {
|
|
752
|
-
key: 1,
|
|
753
|
-
content: $setup.content,
|
|
754
|
-
"window-width": $setup.windowWidth
|
|
755
|
-
}, null, 8, ["content", "window-width"])), [[vShow, !$setup.scrolled]]) : createCommentVNode("v-if", true)])], 6)) : createCommentVNode("v-if", true)], 64);
|
|
756
|
-
}
|
|
757
|
-
var TopBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(TopBar_vue_vue_type_script_setup_true_lang_default, [["render", _sfc_render], ["__file", "/home/julien/Workspace/octopus-sdk/src/components/misc/TopBar.vue"]]);
|
|
758
|
-
//#endregion
|
|
759
|
-
export { TopBar_default as default };
|
|
760
|
-
|
|
761
|
-
//# sourceMappingURL=TopBar-DzQk-qfW.mjs.map
|