@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.
Files changed (474) hide show
  1. package/dist/AccessibilityModal-CBIb3UQS.mjs +93 -0
  2. package/dist/AdsProgressBar-DdkQTxms.mjs +20 -0
  3. package/dist/AdvancedSearch-CG75321A.mjs +267 -0
  4. package/dist/AdvancedSearch-RpudziSJ.mjs.map +1 -0
  5. package/dist/AmazonMusicIcon-6zqZK6Q9.mjs +39 -0
  6. package/dist/ApplePodcastIcon-C3ogP5y5.mjs +40 -0
  7. package/dist/CategoryChooser-C-34sFe8.mjs +173 -0
  8. package/dist/CategoryFilter-CJZx8omI.mjs +143 -0
  9. package/dist/CategoryList-CwNsFVQm.mjs +107 -0
  10. package/dist/CategoryPage--kdJgrOE.mjs +28 -0
  11. package/dist/CategorySearchFilter-D_ZSRtaL.mjs +39 -0
  12. package/dist/ChapteringModal-Cnut4wcf.mjs +46 -0
  13. package/dist/CheckIdentityModal-D5F53WBz.mjs +51 -0
  14. package/dist/ChooseEpisodesNumber-CXJO5dfs.mjs +33 -0
  15. package/dist/ClassicAccordion-0eaNyzmz.mjs +71 -0
  16. package/dist/ClassicAlert-DATLZ8J1.mjs +53 -0
  17. package/dist/ClassicBigChip-BK8v_P0z.mjs +25 -0
  18. package/dist/ClassicCheckbox-xPu56Drn.mjs +89 -0
  19. package/dist/ClassicContentEditable-CWmtRihd.mjs +45 -0
  20. package/dist/ClassicCopyButton-DJ9T09fS.mjs +52 -0
  21. package/dist/ClassicDatePicker-B7UA9CqR.mjs +187 -0
  22. package/dist/ClassicDatePicker-DBVj13V8.mjs.map +1 -0
  23. package/dist/ClassicEmojiPicker-xjxYsjpR.mjs +63 -0
  24. package/dist/ClassicHelpButton-WkkD_fvP.mjs +34 -0
  25. package/dist/ClassicInputText-CFzU8ANo.mjs +270 -0
  26. package/dist/ClassicLazy-CDhWc5-4.mjs +56 -0
  27. package/dist/ClassicLoading-CXfMjpyl.mjs +40 -0
  28. package/dist/ClassicModal-Dl2IdzXZ.mjs +63 -0
  29. package/dist/ClassicModalInBody-D5-RfQ8Z.mjs +58 -0
  30. package/dist/ClassicMultiselect-g3xqjPns.mjs +201 -0
  31. package/dist/ClassicNav-DYez6p1J.mjs +47 -0
  32. package/dist/ClassicNotifications-XerI3fuy.mjs +25 -0
  33. package/dist/ClassicPopover-ChIaSqUg.mjs +167 -0
  34. package/dist/ClassicRadio-BbJEgMB7.mjs +61 -0
  35. package/dist/ClassicRadioLabel-DgimkkQe.mjs +76 -0
  36. package/dist/ClassicSearch-CtL1cpnF.mjs +63 -0
  37. package/dist/ClassicSelect-BpA0jKN6.mjs +111 -0
  38. package/dist/ClassicSpinner-DFRDD51g.mjs +28 -0
  39. package/dist/ClassicTabs-DYOZLNK2.mjs +40 -0
  40. package/dist/ClassicTagInput-DiRwA8CF.mjs +62 -0
  41. package/dist/ClassicWysiwyg-cp3PQYAd.mjs +164 -0
  42. package/dist/ClipboardModal-CvY7F9XD.mjs +56 -0
  43. package/dist/CommentInput-CrLp5kVE.mjs +112 -0
  44. package/dist/CommentItem-DVpqD8WV.mjs +226 -0
  45. package/dist/CommentList-BVWxtWBd.mjs +201 -0
  46. package/dist/CommentMoreActions-CtNaymfO.mjs +196 -0
  47. package/dist/CommentName-DOp7RPYb.mjs +56 -0
  48. package/dist/CommentParentInfo-BGzHsZBo.mjs +36 -0
  49. package/dist/CommentPlayer-CaXXK_ur.mjs +47 -0
  50. package/dist/CommentSection-BLnaNc3j.mjs +79 -0
  51. package/dist/CommentStore-BvQ47pgC.mjs +279 -0
  52. package/dist/ContractPreviewModal-DLUIJL6V.mjs +53 -0
  53. package/dist/CountDown-o6ye6yv1.mjs +17 -0
  54. package/dist/CountdownOctopus-D0X5hVBu.mjs +23 -0
  55. package/dist/DateFilter-CWHLeDyi.mjs.map +1 -0
  56. package/dist/DateFilter-DztHuPm8.mjs +79 -0
  57. package/dist/DeezerIcon-CybxfijL.mjs +39 -0
  58. package/dist/DownloadPodcastButton-BhZk8CIi.mjs +30 -0
  59. package/dist/EditCommentModal-Clonb45M.mjs +115 -0
  60. package/dist/EditFtpIcon-B1FO4hqc.mjs +39 -0
  61. package/dist/EmissionGroupChooser-TC2y4oBU.mjs +45 -0
  62. package/dist/EmissionInlineList-MlKj2KRi.mjs +114 -0
  63. package/dist/EmissionItem-DhPPoaoI.mjs +116 -0
  64. package/dist/EmissionList-CiaXhV5K.mjs +229 -0
  65. package/dist/EmissionPage-CVEdB4gX.mjs +192 -0
  66. package/dist/EmissionPlayerItem--yZExmAl.mjs +119 -0
  67. package/dist/EmissionPresentationItem-D2m6v7YY.mjs +41 -0
  68. package/dist/EmissionPresentationList-R5n9QDjN.mjs +92 -0
  69. package/dist/EmissionsPage-1TmihhPu.mjs +116 -0
  70. package/dist/EmissionsPage-DbXGidSU.mjs.map +1 -0
  71. package/dist/Error403Page-DPVj6dbw.mjs +40 -0
  72. package/dist/ErrorMessage-B4gtlriP.mjs +22 -0
  73. package/dist/FooterGarSection-BCWLrhPN.mjs +39 -0
  74. package/dist/FooterSection-v72S9lf7.mjs +149 -0
  75. package/dist/GeneralStore-Darfv4af.mjs +39 -0
  76. package/dist/HomeDropdown-BWACxS1Z.mjs +66 -0
  77. package/dist/HomePage-BrDLgfWv.mjs +112 -0
  78. package/dist/IHeartIcon-DP1otYre.mjs +42 -0
  79. package/dist/InlineRubriqueList-oFCs-YCb.mjs +48 -0
  80. package/dist/LikeButton-Cu8jAJHx.mjs +40 -0
  81. package/dist/LikeSection-_QsrlWON.mjs +97 -0
  82. package/dist/ListPaginate-CWJkWFT9.mjs +163 -0
  83. package/dist/LiveHorizontalList-DLiVAXF8.mjs +77 -0
  84. package/dist/LiveList-Dh0Hem9X.mjs +204 -0
  85. package/dist/LivesPage-OA39_ikp.mjs +40 -0
  86. package/dist/MapPage-BdFv7ywN.mjs +240 -0
  87. package/dist/MessageModal-BcqS77v6.mjs +101 -0
  88. package/dist/MobileMenu-BQw-01vq.mjs +136 -0
  89. package/dist/MonetizableFilter-B7NHzXEY.mjs +58 -0
  90. package/dist/NewsletterModal-Yc3Kr6JH.mjs +53 -0
  91. package/dist/OctopusMultiselect-C8qljiaH.mjs +234 -0
  92. package/dist/OrganisationChooser-NE9HYr30.mjs +135 -0
  93. package/dist/OrganisationChooserLight-BzI51-2p.mjs +48 -0
  94. package/dist/PageLogout-CVZHOw8c.mjs +12 -0
  95. package/dist/PageNotFound-Dm-Sg2Wi.mjs +37 -0
  96. package/dist/PaginateParams-Bjz3ZI-5.mjs +75 -0
  97. package/dist/PaginateSection-Oip_5JHt.mjs +137 -0
  98. package/dist/ParticipantDescription-DVSfKvtg.mjs +46 -0
  99. package/dist/ParticipantInlineList-CjwKVHrg.mjs +84 -0
  100. package/dist/ParticipantItem-DiBk3UKd.mjs +91 -0
  101. package/dist/ParticipantPage-CXKT_lay.mjs +128 -0
  102. package/dist/ParticipantsPage-BzqbuOI-.mjs +168 -0
  103. package/dist/PlayVideoIcon-BhTQpMyL.mjs +40 -0
  104. package/dist/PlayerAnonymousModal-DFlvvkSt.mjs +61 -0
  105. package/dist/PlayerCommonParameters-x0zV7AoW.mjs +27 -0
  106. package/dist/PlayerCompact-OiohowN8.mjs +128 -0
  107. package/dist/PlayerComponent-DUUeBtc2.mjs +575 -0
  108. package/dist/PlayerFmIcon-D7gURz4r.mjs +39 -0
  109. package/dist/PlayerLarge-B4_ykSr8.mjs +128 -0
  110. package/dist/PlayerParameters-kVBMXQIb.mjs +173 -0
  111. package/dist/PlayerPlayButton-B4g9KPbX.mjs +231 -0
  112. package/dist/PlayerProgressBar-BS7USi1u.mjs +67 -0
  113. package/dist/PlayerStore-Cqg2B90d.mjs +167 -0
  114. package/dist/PlayerVideo-DiiBvXvy.mjs +35 -0
  115. package/dist/PlayerVideoDigiteka-CA548VDc.mjs +62 -0
  116. package/dist/PlayerVideoHls-CA81wom0.mjs +127 -0
  117. package/dist/PlayerYoutubeEmbed-D-UrFhXm.mjs +25 -0
  118. package/dist/PlaylistPage-Cdc-C5bJ.mjs +132 -0
  119. package/dist/PlaylistsPage-isjmS3db.mjs +254 -0
  120. package/dist/PocketCastIcon-CM5NDsDa.mjs +39 -0
  121. package/dist/PodcastAddictIcon-CW3Uxj4I.mjs +42 -0
  122. package/dist/PodcastFilterList-Of_380rv.mjs +139 -0
  123. package/dist/PodcastImage-D2kKdvYq.mjs +115 -0
  124. package/dist/PodcastInlineList-BSeXkUls.mjs +123 -0
  125. package/dist/PodcastInlineListTemplate-CaklJfPE.mjs +187 -0
  126. package/dist/PodcastIsPlaying-BPtqGlY7.mjs +17 -0
  127. package/dist/PodcastItem-CFPr0YKQ.mjs +158 -0
  128. package/dist/PodcastList-BjYKfwcF.mjs +186 -0
  129. package/dist/PodcastList-Dcn5YJjW.mjs +113 -0
  130. package/dist/PodcastPage-BvAD7tqO.mjs +434 -0
  131. package/dist/PodcastPlannedSpinner-DcDDays8.mjs +12 -0
  132. package/dist/PodcastPlayBar-CFEJrXHM.mjs +39 -0
  133. package/dist/PodcastPlayBasicButton-BS4hUqwX.mjs +44 -0
  134. package/dist/PodcastPlayButton-BDynk0ui.mjs +118 -0
  135. package/dist/PodcastPlaylistInlineList-DG56u99P.mjs +63 -0
  136. package/dist/PodcastPresentationList-Fnxe51Yx.mjs +132 -0
  137. package/dist/PodcastProgressBar-D-8JrYft.mjs +66 -0
  138. package/dist/PodcastRawTranscript-CgyivPNd.mjs +102 -0
  139. package/dist/PodcastSeasonInfo-DDGSqj8M.mjs +28 -0
  140. package/dist/PodcastSwiperList-BUI3h66I.mjs +170 -0
  141. package/dist/PodcastmakerHeader-CBxuNVD3.mjs +33 -0
  142. package/dist/PodcastsPage-BLJmFD2Y.mjs +132 -0
  143. package/dist/PodcastsPage-DSweyIOW.mjs.map +1 -0
  144. package/dist/PresentationLayout-mRFZ6Bfa.mjs +55 -0
  145. package/dist/ProductorSearch-CDmFsIyS.mjs +91 -0
  146. package/dist/ProgressBar-8ALgWMQg.mjs +112 -0
  147. package/dist/QrCode-D9C4oYxi.mjs +105 -0
  148. package/dist/QrCodeModal-D0Avurdi.mjs +43 -0
  149. package/dist/RadioCurrently-DtGr3PLP.mjs +57 -0
  150. package/dist/RadioHistory-CpxLHzV4.mjs +89 -0
  151. package/dist/RadioImage-C-KQbWwg.mjs +46 -0
  152. package/dist/RadioList-7MRTQMNr.mjs +70 -0
  153. package/dist/RadioPage-DeW-O3bK.mjs +69 -0
  154. package/dist/RadioPlanning-Cis4EYlu.mjs +180 -0
  155. package/dist/RadioProgressBar-uTb5xpob.mjs +32 -0
  156. package/dist/RadiolineIcon-CxHZGhfr.mjs +40 -0
  157. package/dist/RecaptchaModal-CN9l0HRn.mjs +95 -0
  158. package/dist/ReportAbuseModal-huGsUWu3.mjs +92 -0
  159. package/dist/RightsIndicator-sadV3bTn.mjs +58 -0
  160. package/dist/RightsWrapper-3bRF3EvS.mjs +104 -0
  161. package/dist/RubriqueChoice-DC9P869p.mjs +101 -0
  162. package/dist/RubriqueChooser-DEYM6kDc.mjs +165 -0
  163. package/dist/RubriqueFilter-D0Igm1zH.mjs +121 -0
  164. package/dist/RubriqueList-7sTpZEp-.mjs +117 -0
  165. package/dist/RubriquePage-CQhtx0Zn.mjs +71 -0
  166. package/dist/SearchOrder-D_dAhj9M.mjs +62 -0
  167. package/dist/SearchPage-voiOODER.mjs +41 -0
  168. package/dist/ShareAnonymous-D5nFlR4f.mjs +199 -0
  169. package/dist/ShareModalPlayer-Jqxd03FS.mjs +87 -0
  170. package/dist/ShareNewsletter-DtOGN0QS.mjs +143 -0
  171. package/dist/SharePlayer-BauFAr_B.mjs +206 -0
  172. package/dist/SharePlayerColors-BpdifsHh.mjs +49 -0
  173. package/dist/SharePlayerRadio-Bvmr4PCF.mjs +66 -0
  174. package/dist/SharePlayerTypes-QeOTKG7p.mjs +150 -0
  175. package/dist/ShareSocialsButtons-BcGq-6kk.mjs +102 -0
  176. package/dist/SimpleLayout-BLmTK2DF.mjs +22 -0
  177. package/dist/SmartLinkPage-COyfD9iX.mjs +136 -0
  178. package/dist/SnackBar-BL-mLRun.mjs +128 -0
  179. package/dist/SubscribeButtons-gZHzVHsc.mjs +121 -0
  180. package/dist/SwiperList-C4QSXsTa.mjs +118 -0
  181. package/dist/TagList-DTepn6y4.mjs +80 -0
  182. package/dist/TagPage-Bt7vYAYS.mjs +79 -0
  183. package/dist/TopBar-CIoCpZw3.mjs +427 -0
  184. package/dist/TopBar-CtbAb_Vg.mjs.map +1 -0
  185. package/dist/TuninIcon-DENNxlP8.mjs +39 -0
  186. package/dist/UserButtonContent-idV4FedY.mjs +131 -0
  187. package/dist/VastStore-8IiEgtQW.mjs +71 -0
  188. package/dist/VideoModuleBox-BFf98abI.mjs +58 -0
  189. package/dist/VideoPage-BwNsHGMr.mjs +148 -0
  190. package/dist/XIcon-DNBT2Zgf.mjs +39 -0
  191. package/dist/_plugin-vue_export-helper-B3ysoDQm.mjs +8 -0
  192. package/dist/buttons-BkfxHdGj.mjs +85 -0
  193. package/dist/classicApi-xM8VH_yv.mjs +1256 -0
  194. package/dist/config-DMjLBcZ2.mjs +7 -0
  195. package/dist/cookiesHelper-5uZhLulK.mjs +20 -0
  196. package/dist/displayHelper-DQtoqc_6.mjs +11 -0
  197. package/dist/domHelper-BPw2kGCL.mjs +12 -0
  198. package/dist/downloadHelper-DZMVVBPZ.mjs +23 -0
  199. package/dist/{educationen-B0PNsHqt.mjs → educationen-KT401RLo.mjs} +2 -4
  200. package/dist/educationfr-BIafOUp-.mjs +4 -0
  201. package/dist/emission-CQ1VuxRc.mjs +22 -0
  202. package/dist/index.css +2 -7399
  203. package/dist/index.mjs +453 -992
  204. package/dist/keys-CV5SBM1i.mjs +4 -0
  205. package/dist/localisation-CBnt682X.mjs +9 -0
  206. package/dist/logo_saooti_play_black-Doe3es2H.mjs +4 -0
  207. package/dist/{messages-BqVF4jGm.mjs → messages-DlxMAMOa.mjs} +6 -8
  208. package/dist/organisation-JgfYj1Jp.mjs +17 -0
  209. package/dist/ouest_france_logo-9dPaEPNA.mjs +4 -0
  210. package/dist/podcast-BoNHyuLe.mjs +53 -0
  211. package/dist/rolldown-runtime-Dy4uBu1J.mjs +11 -0
  212. package/dist/src/components/form/ClassicDatePicker.vue.d.ts +4 -4
  213. package/dist/stringHelper-BtFJzuX4.mjs +13 -0
  214. package/dist/tests-mocks.mjs +14 -16
  215. package/dist/tests.mjs +51 -88
  216. package/dist/types-B-L_HwcA.mjs +9 -0
  217. package/dist/useAdvancedParamInit-CZg9A_zy.mjs +114 -0
  218. package/dist/useAppleVideo-Di4qP9h4.mjs +24 -0
  219. package/dist/useCountdown-vXzlLAgF.mjs +32 -0
  220. package/dist/useDayjs-DWClhdzK.mjs +28 -0
  221. package/dist/useErrorHandler-Csr-Rt-V.mjs +12 -0
  222. package/dist/useImageProxy-CXin0vSD.mjs +16 -0
  223. package/dist/useOrgaComputed-BzuIlsW6.mjs +16 -0
  224. package/dist/usePlayerLogicProgress-C7q-kf-v.mjs +70 -0
  225. package/dist/usePodcastView-D5LgYm-2.mjs +31 -0
  226. package/dist/usePresentationItem-BITQLdPQ.mjs +100 -0
  227. package/dist/useResizePhone-4hSkK5pa.mjs +28 -0
  228. package/dist/useRights-C_mHJdG-.mjs +221 -0
  229. package/dist/useRouteUpdateParams-DJLm3IAI.mjs +55 -0
  230. package/dist/useRubriquesFilterComputed-B4ycmO0A.mjs +11 -0
  231. package/dist/useRubriquesFilterParam-BUXd3wRZ.mjs +32 -0
  232. package/dist/useSeasonsManagement-DwbmJywJ.mjs +24 -0
  233. package/dist/useSelectableIcons-Ce9o_TVs.mjs +91 -0
  234. package/dist/useSelenium-DAM6EF3J.mjs +9 -0
  235. package/dist/useSeoTitleUrl-UfPXDCPa.mjs +25 -0
  236. package/dist/useSharePath-D9G8Jdlb.mjs +40 -0
  237. package/dist/useSharePlatforms-CGPe8OG-.mjs +322 -0
  238. package/dist/useSimplePageParam-cOIpniRK.mjs +39 -0
  239. package/dist/useTagOf-Btweq3v2.mjs +17 -0
  240. package/dist/useTranslation-BrRBfryH.mjs +160 -0
  241. package/dist/usefetchRadioData-gxXxdT17.mjs +48 -0
  242. package/dist/youtubeVideoHelper-Cdlokujb.mjs +14 -0
  243. package/package.json +3 -1
  244. package/src/components/form/ClassicDatePicker.vue +130 -129
  245. package/src/components/misc/RightsScopeMenu.vue +2 -2
  246. package/dist/AccessibilityModal-DqRtmHwG.mjs +0 -148
  247. package/dist/AdsProgressBar-CAP7Zj--.mjs +0 -42
  248. package/dist/AdvancedSearch-Cd919sCX.mjs +0 -458
  249. package/dist/AmazonMusicIcon-D5vNh4HG.mjs +0 -57
  250. package/dist/ApplePodcastIcon-DtC4TS8H.mjs +0 -59
  251. package/dist/CategoryChooser-DWEL9V5p.mjs +0 -243
  252. package/dist/CategoryFilter-DVEBnYn0.mjs +0 -234
  253. package/dist/CategoryList-EH7OXzFs.mjs +0 -182
  254. package/dist/CategoryPage-BnSLAU7f.mjs +0 -57
  255. package/dist/CategorySearchFilter-CEGWqMSt.mjs +0 -72
  256. package/dist/ChapteringModal-B_5i8VkS.mjs +0 -82
  257. package/dist/CheckIdentityModal-BZBPEcHE.mjs +0 -86
  258. package/dist/ChooseEpisodesNumber-OlhXXsCa.mjs +0 -64
  259. package/dist/ClassicAccordion-PEoPUPeL.mjs +0 -105
  260. package/dist/ClassicAlert-C8md0KJV.mjs +0 -108
  261. package/dist/ClassicBigChip-Bt8VhN51.mjs +0 -61
  262. package/dist/ClassicCheckbox-BHKCPtLR.mjs +0 -127
  263. package/dist/ClassicContentEditable-BSsnA6oo.mjs +0 -68
  264. package/dist/ClassicCopyButton-M9AP3MKD.mjs +0 -87
  265. package/dist/ClassicDatePicker-DWVn4oHu.mjs +0 -249
  266. package/dist/ClassicEmojiPicker-EQy5H_zL.mjs +0 -93
  267. package/dist/ClassicHelpButton-B6jXpEKT.mjs +0 -85
  268. package/dist/ClassicInputText-D2wR2cwa.mjs +0 -371
  269. package/dist/ClassicLazy-B0R3FSwK.mjs +0 -120
  270. package/dist/ClassicLoading-Crlw7cAx.mjs +0 -60
  271. package/dist/ClassicModal-CilwHp9p.mjs +0 -103
  272. package/dist/ClassicModalInBody-BkaRcZZx.mjs +0 -94
  273. package/dist/ClassicMultiselect-BEY-HpGk.mjs +0 -341
  274. package/dist/ClassicNav-Dvm8faD9.mjs +0 -72
  275. package/dist/ClassicNotifications--mDo0JjY.mjs +0 -45
  276. package/dist/ClassicPopover-BIyLKorz.mjs +0 -299
  277. package/dist/ClassicRadio-BwylgGYF.mjs +0 -105
  278. package/dist/ClassicRadioLabel-ynBzFxC2.mjs +0 -98
  279. package/dist/ClassicSearch-D5yT0JRA.mjs +0 -90
  280. package/dist/ClassicSelect-BaY2yvwP.mjs +0 -154
  281. package/dist/ClassicSpinner-lNq7TnmD.mjs +0 -49
  282. package/dist/ClassicTabs-Bcine4_p.mjs +0 -77
  283. package/dist/ClassicTagInput-BDCdmpwB.mjs +0 -116
  284. package/dist/ClassicWysiwyg-Bew6KMXn.mjs +0 -230
  285. package/dist/ClipboardModal-DGlwYme6.mjs +0 -84
  286. package/dist/CommentInput-Di0CG3ju.mjs +0 -187
  287. package/dist/CommentItem-DuDEsirI.mjs +0 -357
  288. package/dist/CommentList-vHedAk0r.mjs +0 -299
  289. package/dist/CommentMoreActions-hWuUjzmm.mjs +0 -289
  290. package/dist/CommentName-BgLZ0d7p.mjs +0 -96
  291. package/dist/CommentParentInfo-CeHLz7RQ.mjs +0 -64
  292. package/dist/CommentPlayer-C_6QaEHw.mjs +0 -86
  293. package/dist/CommentSection-aaSuOlab.mjs +0 -141
  294. package/dist/CommentStore-dLDd64nW.mjs +0 -355
  295. package/dist/ContractPreviewModal-QlKui6Zz.mjs +0 -101
  296. package/dist/CountDown-CAUtA0Vp.mjs +0 -42
  297. package/dist/CountdownOctopus-i6-l0aLA.mjs +0 -48
  298. package/dist/DateFilter-DD9cY_la.mjs +0 -119
  299. package/dist/DeezerIcon-BUdIKeqN.mjs +0 -57
  300. package/dist/DownloadPodcastButton-BJ7RYJOz.mjs +0 -53
  301. package/dist/EditCommentModal-BFkTZS-d.mjs +0 -163
  302. package/dist/EditFtpIcon-D5VaHXWl.mjs +0 -56
  303. package/dist/EmissionGroupChooser-BSCzxmhG.mjs +0 -83
  304. package/dist/EmissionInlineList-BOxiPzSz.mjs +0 -189
  305. package/dist/EmissionItem-cxNVXqcM.mjs +0 -183
  306. package/dist/EmissionList-B8sbcC0X.mjs +0 -324
  307. package/dist/EmissionPage-BgGFOPOx.mjs +0 -327
  308. package/dist/EmissionPlayerItem-XU4vw96O.mjs +0 -167
  309. package/dist/EmissionPresentationItem-C-KR7Llt.mjs +0 -78
  310. package/dist/EmissionPresentationList-BhnYUoBi.mjs +0 -125
  311. package/dist/EmissionsPage-CEFNekIt.mjs +0 -209
  312. package/dist/Error403Page-Bzzea5HG.mjs +0 -69
  313. package/dist/ErrorMessage-DhSwu9H_.mjs +0 -44
  314. package/dist/FooterGarSection-CpQu-wSQ.mjs +0 -71
  315. package/dist/FooterSection-DgtO6RJd.mjs +0 -242
  316. package/dist/GeneralStore-CUlq_NjO.mjs +0 -45
  317. package/dist/HomeDropdown-4mMWlnQ5.mjs +0 -110
  318. package/dist/HomePage-BuFrXtLJ.mjs +0 -175
  319. package/dist/IHeartIcon-70F_rHQh.mjs +0 -61
  320. package/dist/InlineRubriqueList-kWbzcqyq.mjs +0 -86
  321. package/dist/LikeButton-DFkrvbgE.mjs +0 -83
  322. package/dist/LikeSection-BVa93Lkv.mjs +0 -168
  323. package/dist/ListPaginate-nP9qlKGR.mjs +0 -221
  324. package/dist/LiveHorizontalList-DWITQA1g.mjs +0 -136
  325. package/dist/LiveList-DSnUp6wl.mjs +0 -322
  326. package/dist/LivesPage-BNEVjzsF.mjs +0 -76
  327. package/dist/MapPage-CdkoZThF.mjs +0 -303
  328. package/dist/MessageModal-B35dCbWB.mjs +0 -145
  329. package/dist/MobileMenu-DxDkW3Qi.mjs +0 -187
  330. package/dist/MonetizableFilter-BGQTUtwX.mjs +0 -81
  331. package/dist/NewsletterModal-C7qF_Lwj.mjs +0 -82
  332. package/dist/OctopusMultiselect-tXNIWVpp.mjs +0 -416
  333. package/dist/OrganisationChooser-Box8SHIL.mjs +0 -192
  334. package/dist/OrganisationChooserLight-bZveInyG.mjs +0 -84
  335. package/dist/PageLogout-Bc8zBpoo.mjs +0 -30
  336. package/dist/PageNotFound-Cy-6UixV.mjs +0 -58
  337. package/dist/PaginateParams-CbAaMAAM.mjs +0 -106
  338. package/dist/PaginateSection-BJ6iQai2.mjs +0 -204
  339. package/dist/ParticipantDescription-CwREwvZy.mjs +0 -70
  340. package/dist/ParticipantInlineList-B2Q5NyTO.mjs +0 -117
  341. package/dist/ParticipantItem-DG7xkIkh.mjs +0 -138
  342. package/dist/ParticipantPage-YUdFxrFu.mjs +0 -202
  343. package/dist/ParticipantsPage-RN5fRZGk.mjs +0 -262
  344. package/dist/PlayVideoIcon-CQJTc1O7.mjs +0 -58
  345. package/dist/PlayerAnonymousModal-CZ9CNQpL.mjs +0 -84
  346. package/dist/PlayerCommonParameters-Dn-OIiO8.mjs +0 -47
  347. package/dist/PlayerCompact-BPvDwRxr.mjs +0 -209
  348. package/dist/PlayerComponent-CfvKYQdk.mjs +0 -916
  349. package/dist/PlayerFmIcon-BxQ1g45P.mjs +0 -57
  350. package/dist/PlayerLarge-B7I1L1dO.mjs +0 -192
  351. package/dist/PlayerParameters-fpNIoYO9.mjs +0 -213
  352. package/dist/PlayerPlayButton-DfPAcu-m.mjs +0 -400
  353. package/dist/PlayerProgressBar-D8EkPfW5.mjs +0 -86
  354. package/dist/PlayerStore-BJVpAm73.mjs +0 -230
  355. package/dist/PlayerVideo-VIMYPCpF.mjs +0 -72
  356. package/dist/PlayerVideoDigiteka-BMhRuqNW.mjs +0 -105
  357. package/dist/PlayerVideoHls-Dp2Zui_T.mjs +0 -233
  358. package/dist/PlayerYoutubeEmbed-D0A4EWhU.mjs +0 -41
  359. package/dist/PlaylistPage-DNoPZE5S.mjs +0 -225
  360. package/dist/PlaylistsPage-Bpo6FhqO.mjs +0 -395
  361. package/dist/PocketCastIcon-Nm45VN7b.mjs +0 -57
  362. package/dist/PodcastAddictIcon-DRF7w4QM.mjs +0 -60
  363. package/dist/PodcastFilterList-CcMACnG4.mjs +0 -254
  364. package/dist/PodcastImage-OJgGQYSI.mjs +0 -174
  365. package/dist/PodcastInlineList-IH6YK8sd.mjs +0 -145
  366. package/dist/PodcastInlineListTemplate-DmBexOIA.mjs +0 -241
  367. package/dist/PodcastIsPlaying-DWdqRGto.mjs +0 -30
  368. package/dist/PodcastItem-BPJahZru.mjs +0 -287
  369. package/dist/PodcastList-CT0VIMu7.mjs +0 -182
  370. package/dist/PodcastList-DACfAVhQ.mjs +0 -337
  371. package/dist/PodcastPage-DYLSL0n4.mjs +0 -755
  372. package/dist/PodcastPlannedSpinner-BN7unEqf.mjs +0 -29
  373. package/dist/PodcastPlayBar-CF247Sqx.mjs +0 -83
  374. package/dist/PodcastPlayBasicButton-DTqYvfD6.mjs +0 -72
  375. package/dist/PodcastPlayButton-NTYtuU8D.mjs +0 -236
  376. package/dist/PodcastPlaylistInlineList-BYeMpN8H.mjs +0 -115
  377. package/dist/PodcastPresentationList-Czlf0tD6.mjs +0 -201
  378. package/dist/PodcastProgressBar-BHDc66Qm.mjs +0 -98
  379. package/dist/PodcastRawTranscript-BLtVR8lj.mjs +0 -186
  380. package/dist/PodcastSeasonInfo-DL_CsYTY.mjs +0 -58
  381. package/dist/PodcastSwiperList-dTcv-wGj.mjs +0 -226
  382. package/dist/PodcastmakerHeader-6v9XhwSH.mjs +0 -58
  383. package/dist/PodcastsPage-B56l5Kjv.mjs +0 -233
  384. package/dist/PresentationLayout-D2sW-Q7l.mjs +0 -88
  385. package/dist/ProductorSearch-DBtBOZlD.mjs +0 -161
  386. package/dist/ProgressBar-CBwrWHGZ.mjs +0 -158
  387. package/dist/QrCode-bOqxtwUc.mjs +0 -177
  388. package/dist/QrCodeModal-BJgTde22.mjs +0 -64
  389. package/dist/RadioCurrently-cVZOGF6L.mjs +0 -112
  390. package/dist/RadioHistory-CcQ8FfOc.mjs +0 -139
  391. package/dist/RadioImage-BI2egmjL.mjs +0 -85
  392. package/dist/RadioList-CfdZwyw8.mjs +0 -125
  393. package/dist/RadioPage-B_cRq9iV.mjs +0 -134
  394. package/dist/RadioPlanning-BCiXednx.mjs +0 -287
  395. package/dist/RadioProgressBar-BNjpGNUY.mjs +0 -67
  396. package/dist/RadiolineIcon-CIePjE9k.mjs +0 -58
  397. package/dist/RecaptchaModal-BN9b0zWf.mjs +0 -148
  398. package/dist/ReportAbuseModal-rtfZ9vOl.mjs +0 -134
  399. package/dist/RightsIndicator-DlR8cPgl.mjs +0 -124
  400. package/dist/RightsWrapper-znovkxIw.mjs +0 -212
  401. package/dist/RubriqueChoice-C4rglHV1.mjs +0 -143
  402. package/dist/RubriqueChooser-BceFw2x2.mjs +0 -241
  403. package/dist/RubriqueFilter-C6s3XBP5.mjs +0 -200
  404. package/dist/RubriqueList-DnsLTpnK.mjs +0 -206
  405. package/dist/RubriquePage-C8h5jocw.mjs +0 -108
  406. package/dist/SearchOrder-CJ0Fj6Wd.mjs +0 -85
  407. package/dist/SearchPage-Ce1hioJs.mjs +0 -78
  408. package/dist/ShareAnonymous-uUv2LpIi.mjs +0 -319
  409. package/dist/ShareModalPlayer-Bx06vgaH.mjs +0 -135
  410. package/dist/ShareNewsletter-Dvu3zDWs.mjs +0 -211
  411. package/dist/SharePlayer-CtK84xh1.mjs +0 -374
  412. package/dist/SharePlayerColors-D-9MoYm6.mjs +0 -78
  413. package/dist/SharePlayerRadio-DSTGDqu8.mjs +0 -127
  414. package/dist/SharePlayerTypes-CGYav59v.mjs +0 -232
  415. package/dist/ShareSocialsButtons-BFbh1abo.mjs +0 -160
  416. package/dist/SimpleLayout-DHRxu6tM.mjs +0 -41
  417. package/dist/SmartLinkPage-sl4oEMLc.mjs +0 -244
  418. package/dist/SnackBar-DdE1dYhi.mjs +0 -150
  419. package/dist/SubscribeButtons-BxS1FG9R.mjs +0 -204
  420. package/dist/SwiperList-BGl22osK.mjs +0 -206
  421. package/dist/TagList-BZQqMfF0.mjs +0 -134
  422. package/dist/TagPage-DmQyhjEZ.mjs +0 -125
  423. package/dist/TopBar-DzQk-qfW.mjs +0 -761
  424. package/dist/TuninIcon-BplDWgtD.mjs +0 -57
  425. package/dist/UserButtonContent-D7KwaNvl.mjs +0 -191
  426. package/dist/VastStore-BPwOrXvb.mjs +0 -80
  427. package/dist/VideoModuleBox-BkSzsXZQ.mjs +0 -85
  428. package/dist/VideoPage-DjFoF0Gd.mjs +0 -274
  429. package/dist/XIcon-Dz4rI_Hd.mjs +0 -57
  430. package/dist/_plugin-vue_export-helper-BOaGB7Aw.mjs +0 -8
  431. package/dist/buttons-C0c2cUtN.mjs +0 -181
  432. package/dist/classicApi-CIVdJnkN.mjs +0 -1923
  433. package/dist/config-C73GMJpz.mjs +0 -9
  434. package/dist/cookiesHelper-BIxSrQTV.mjs +0 -23
  435. package/dist/displayHelper-CpXshNzz.mjs +0 -22
  436. package/dist/domHelper-DTMIrMbs.mjs +0 -15
  437. package/dist/downloadHelper-CPZS-pv2.mjs +0 -36
  438. package/dist/educationfr-DnXyASTX.mjs +0 -6
  439. package/dist/emission-ByePXT9Y.mjs +0 -33
  440. package/dist/keys-TjlLYNQE.mjs +0 -18
  441. package/dist/localisation-iXoGtJ3j.mjs +0 -13
  442. package/dist/logo_saooti_play_black-BLx_RUuM.mjs +0 -6
  443. package/dist/organisation-CxyRYjC0.mjs +0 -19
  444. package/dist/ouest_france_logo-WOgdbVGH.mjs +0 -6
  445. package/dist/podcast-Da9L7I5Q.mjs +0 -76
  446. package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
  447. package/dist/stringHelper-B5vD2nE_.mjs +0 -15
  448. package/dist/types-DmxFXVJz.mjs +0 -12
  449. package/dist/useAdvancedParamInit-DIDJTLRZ.mjs +0 -169
  450. package/dist/useAppleVideo-BGOd4QiN.mjs +0 -30
  451. package/dist/useCountdown-DPweZzmz.mjs +0 -51
  452. package/dist/useDayjs-BrQnLFO6.mjs +0 -32
  453. package/dist/useErrorHandler-DOxEeM1f.mjs +0 -21
  454. package/dist/useImageProxy-DUTIvlMD.mjs +0 -20
  455. package/dist/useOrgaComputed-1-t4Bid6.mjs +0 -19
  456. package/dist/usePlayerLogicProgress-DtNC8Vrr.mjs +0 -108
  457. package/dist/usePodcastView-D9UXxMgg.mjs +0 -56
  458. package/dist/usePresentationItem-n2v3c6ew.mjs +0 -191
  459. package/dist/useResizePhone-CpfFUmfV.mjs +0 -37
  460. package/dist/useRights-BpT-ougU.mjs +0 -276
  461. package/dist/useRouteUpdateParams-DurlddRA.mjs +0 -59
  462. package/dist/useRubriquesFilterComputed-worUxu1g.mjs +0 -13
  463. package/dist/useRubriquesFilterParam-Cd_oier9.mjs +0 -36
  464. package/dist/useSeasonsManagement-D-ngDipg.mjs +0 -44
  465. package/dist/useSelectableIcons-5Y8i1tdl.mjs +0 -94
  466. package/dist/useSelenium-DwQtyBRt.mjs +0 -11
  467. package/dist/useSeoTitleUrl-CrM1YzAc.mjs +0 -31
  468. package/dist/useSharePath-Vh29oc9Z.mjs +0 -70
  469. package/dist/useSharePlatforms-BtGTcWAe.mjs +0 -468
  470. package/dist/useSimplePageParam-BIrxc4YW.mjs +0 -54
  471. package/dist/useTagOf-JxYdEyRm.mjs +0 -20
  472. package/dist/useTranslation-BGaOW_YK.mjs +0 -226
  473. package/dist/usefetchRadioData-cXwOGaw6.mjs +0 -55
  474. package/dist/youtubeVideoHelper-DOeaXxVp.mjs +0 -16
@@ -0,0 +1,201 @@
1
+ import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
2
+ import { t } from "./classicApi-xM8VH_yv.mjs";
3
+ import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
4
+ import { Fragment as r, computed as i, createBlock as ee, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, useTemplateRef as te, watch as y, withCtx as b, withKeys as x } from "vue";
5
+ import S from "vue-material-design-icons/Plus.vue";
6
+ import { useI18n as C } from "vue-i18n";
7
+ import w from "vue-material-design-icons/SortVariant.vue";
8
+ //#region src/components/display/comments/CommentList.vue?vue&type=script&setup=true&lang.ts
9
+ var T = { class: "d-flex flex-column" }, E = {
10
+ key: 0,
11
+ class: "d-flex align-items-center mb-2"
12
+ }, D = { class: "text-secondary me-3" }, O = {
13
+ id: "sort-by-comments",
14
+ class: "btn btn-transparent d-flex align-items-center"
15
+ }, k = { class: "ms-1" }, A = [
16
+ "disabled",
17
+ "onMousedown",
18
+ "onKeydown"
19
+ ], j = {
20
+ key: 1,
21
+ class: "text-center"
22
+ }, M = ["title"], N = /*#__PURE__*/ n(/* @__PURE__ */ u({
23
+ __name: "CommentList",
24
+ props: {
25
+ size: {
26
+ default: 10,
27
+ type: Number
28
+ },
29
+ podcast: {
30
+ default: void 0,
31
+ type: Object
32
+ },
33
+ reload: {
34
+ default: !1,
35
+ type: Boolean
36
+ },
37
+ answerToComment: {
38
+ default: void 0,
39
+ type: Number
40
+ },
41
+ isFlatList: {
42
+ default: !1,
43
+ type: Boolean
44
+ },
45
+ stateFilter: {
46
+ default: "",
47
+ type: String
48
+ },
49
+ organisationId: {
50
+ default: void 0,
51
+ type: String
52
+ },
53
+ nbComments: {
54
+ default: 0,
55
+ type: Number
56
+ },
57
+ config: {
58
+ default: void 0,
59
+ type: Object
60
+ },
61
+ eventToHandle: {
62
+ default: void 0,
63
+ type: Object
64
+ }
65
+ },
66
+ emits: ["update:nbComments", "commentDeleted"],
67
+ setup(n, { emit: u }) {
68
+ let N = l(() => import("./CommentItem-DVpqD8WV.mjs").then((e) => e.t)), ne = l(() => import("./ClassicPopover-ChIaSqUg.mjs").then((e) => e.n)), P = n, F = u, I = h(!1), L = h(!1), R = h(0), z = h(P.size), B = h(0), V = h("DATE_DESC"), H = h([]), U = h(void 0), W = te("scrollComponent"), { t: G } = C(), K = i(() => P.answerToComment === void 0), q = i(() => `${P.size}|${P.reload}|${z.value}|${P.stateFilter}|${P.podcast?.podcastId}|${P.organisationId}`), J = i(() => [{
69
+ title: G("The most recent"),
70
+ value: "DATE_DESC"
71
+ }, {
72
+ title: G("Top comments"),
73
+ value: "LIKE_DESC"
74
+ }]);
75
+ y(B, () => {
76
+ F("update:nbComments", B.value);
77
+ }), y(q, () => {
78
+ $(!0);
79
+ }), y(() => P.eventToHandle, async () => {
80
+ if (P.eventToHandle) {
81
+ if (P.answerToComment === P.eventToHandle.comment.answerTo) {
82
+ switch (P.eventToHandle.type) {
83
+ case "CREATE":
84
+ re(P.eventToHandle.comment);
85
+ break;
86
+ case "UPDATE":
87
+ ie(P.eventToHandle.comment);
88
+ break;
89
+ case "DELETE": Q(P.eventToHandle.comment.commentId);
90
+ }
91
+ return;
92
+ }
93
+ P.eventToHandle.comment.answerTo !== void 0 && (W?.value?.querySelector("#comItem" + P.eventToHandle.comment.answerTo))?.receiveEvent(P.eventToHandle);
94
+ }
95
+ }, { deep: !0 }), f(() => {
96
+ $(!0), K.value && (U.value = W?.value, U.value.addEventListener("scroll", X));
97
+ }), p(() => {
98
+ K.value && U.value?.removeEventListener("scroll", X);
99
+ });
100
+ function Y(e) {
101
+ V.value = e, $(!0);
102
+ }
103
+ function X() {
104
+ U.value && B.value > H.value.length && U.value.scrollTop + U.value.clientHeight >= U.value.scrollHeight && $(!1);
105
+ }
106
+ function Z(e) {
107
+ return H.value.findIndex((t) => t.commentId === e);
108
+ }
109
+ function re(e) {
110
+ H.value.unshift(e), B.value += 1;
111
+ }
112
+ function ie(e) {
113
+ let t = Z(e.commentId);
114
+ t !== -1 && H.value.splice(t, 1, e);
115
+ }
116
+ function Q(e) {
117
+ let t = Z(e);
118
+ t !== -1 && (H.value.splice(t, 1), --B.value, F("commentDeleted", e));
119
+ }
120
+ async function $(e) {
121
+ if (I.value) return;
122
+ I.value = !0, e && (R.value = 0, H.value.length = 0);
123
+ let n = {
124
+ first: R.value,
125
+ size: z.value,
126
+ podcastId: P.podcast?.podcastId,
127
+ sort: V.value,
128
+ answerTo: P.answerToComment,
129
+ hideAnswers: !P.isFlatList,
130
+ state: P.stateFilter.length ? P.stateFilter : void 0,
131
+ organisationId: P.organisationId
132
+ };
133
+ try {
134
+ let r = await t.fetchData({
135
+ api: 2,
136
+ path: "comment/list",
137
+ parameters: n
138
+ });
139
+ e && (H.value.length = 0), H.value.push(...r.result), B.value = r.count, R.value += z.value, I.value = !1;
140
+ } catch (e) {
141
+ console.error(e), L.value = !0;
142
+ }
143
+ }
144
+ return (t, i) => (m(), o("div", T, [
145
+ K.value && B.value !== 0 ? (m(), o("div", E, [
146
+ s("div", D, _(v(G)("Number comments", { nb: B.value })), 1),
147
+ s("button", O, [c(w, { size: 30 }), s("p", k, _(v(G)("Sort by")), 1)]),
148
+ c(v(ne), {
149
+ target: "sort-by-comments",
150
+ "only-click": !0
151
+ }, {
152
+ default: b(() => [(m(!0), o(r, null, g(J.value, (e) => (m(), o("button", {
153
+ key: e.value,
154
+ class: "me-3 octopus-dropdown-item",
155
+ disabled: e.value === V.value,
156
+ onMousedown: (t) => Y(e.value),
157
+ onKeydown: x((t) => Y(e.value), ["enter"])
158
+ }, _(e.title), 41, A))), 128))]),
159
+ _: 1
160
+ })
161
+ ])) : a("", !0),
162
+ !I.value && !L.value && B.value === 0 ? (m(), o("div", j, _(v(G)("No comments")), 1)) : a("", !0),
163
+ s("div", {
164
+ ref: "scrollComponent",
165
+ class: d(K.value ? "scrolling-comments" : "")
166
+ }, [
167
+ (m(!0), o(r, null, g(H.value, (e, t) => (m(), ee(v(N), {
168
+ id: "comItem" + e.commentId,
169
+ key: e.commentId,
170
+ comment: H.value[t],
171
+ "onUpdate:comment": (e) => H.value[t] = e,
172
+ podcast: n.podcast,
173
+ "is-flat-list": n.isFlatList,
174
+ config: n.config,
175
+ "organisation-id": n.organisationId,
176
+ onDeleteComment: (t) => Q(e.commentId)
177
+ }, null, 8, [
178
+ "id",
179
+ "comment",
180
+ "onUpdate:comment",
181
+ "podcast",
182
+ "is-flat-list",
183
+ "config",
184
+ "organisation-id",
185
+ "onDeleteComment"
186
+ ]))), 128)),
187
+ c(e, {
188
+ "loading-text": I.value && !L.value ? v(G)("Loading content ...") : void 0,
189
+ "error-text": L.value ? v(G)("Comments loading error") : void 0
190
+ }, null, 8, ["loading-text", "error-text"]),
191
+ !K.value && R.value + z.value < B.value ? (m(), o("button", {
192
+ key: 0,
193
+ class: "btn share-btn mx-2",
194
+ title: v(G)("See more")
195
+ }, [c(S)], 8, M)) : a("", !0)
196
+ ], 2)
197
+ ]));
198
+ }
199
+ }), [["__scopeId", "data-v-26e72f56"]]);
200
+ //#endregion
201
+ export { N as default };
@@ -0,0 +1,196 @@
1
+ import { i as e, t } from "./classicApi-xM8VH_yv.mjs";
2
+ import { t as n } from "./useSelenium-DAM6EF3J.mjs";
3
+ import { t as r } from "./CommentStore-BvQ47pgC.mjs";
4
+ import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineAsyncComponent as d, defineComponent as f, openBlock as p, ref as m, renderList as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y, withKeys as b } from "vue";
5
+ import { useI18n as x } from "vue-i18n";
6
+ import S from "vue-material-design-icons/DotsVertical.vue";
7
+ //#region src/components/display/comments/item/CommentMoreActions.vue?vue&type=script&setup=true&lang.ts
8
+ var C = { key: 0 }, w = [
9
+ "id",
10
+ "title",
11
+ "data-selenium"
12
+ ], T = ["onMousedown", "onKeydown"], E = /* @__PURE__ */ f({
13
+ __name: "CommentMoreActions",
14
+ props: {
15
+ comment: {
16
+ default: () => ({}),
17
+ type: Object
18
+ },
19
+ podcast: {
20
+ default: void 0,
21
+ type: Object
22
+ },
23
+ config: {
24
+ default: void 0,
25
+ type: Object
26
+ },
27
+ editRight: {
28
+ default: !1,
29
+ type: Boolean
30
+ }
31
+ },
32
+ emits: ["update:comment", "deleteComment"],
33
+ setup(f, { emit: E }) {
34
+ let D = d(() => import("./ClassicPopover-ChIaSqUg.mjs").then((e) => e.n)), O = d(() => import("./ReportAbuseModal-huGsUWu3.mjs")), k = d(() => import("./EditCommentModal-Clonb45M.mjs")), A = d(() => import("./MessageModal-BcqS77v6.mjs").then((e) => e.n)), j = f, M = E, N = m(!1), P = m(!1), F = m(void 0), I = m(void 0), L = m(!1), R = m(!1), z = m(!1), { t: B } = x(), { seleniumFormat: V } = n(), H = e(), U = r(), W = a({
35
+ get() {
36
+ return j.comment;
37
+ },
38
+ set(e) {
39
+ M("update:comment", e);
40
+ }
41
+ }), G = a(() => (H.authProfile?.userId ?? U.commentUser?.uuidHash) === j.comment?.poster.uuid), K = a(() => q.value.some((e) => e.condition)), q = a(() => [
42
+ {
43
+ title: B("Report abuse"),
44
+ actionClick: () => {
45
+ P.value = !0;
46
+ },
47
+ condition: U.getCanReportAbuse(j.config, H.authOrgaId !== void 0) && !G.value
48
+ },
49
+ {
50
+ title: B("Managing reported abuses"),
51
+ actionClick: () => {
52
+ I.value = "abuse";
53
+ },
54
+ condition: j.editRight && j.comment.abuse
55
+ },
56
+ {
57
+ title: B("Edit comment"),
58
+ actionClick: () => {
59
+ N.value = !0;
60
+ },
61
+ condition: j.editRight || G.value
62
+ },
63
+ {
64
+ title: B("Comment information"),
65
+ actionClick: () => {
66
+ I.value = "info";
67
+ },
68
+ condition: j.editRight && !j.podcast
69
+ },
70
+ {
71
+ title: B("Validate"),
72
+ actionClick: () => {
73
+ F.value = "validate", z.value = !1, L.value = !0;
74
+ },
75
+ condition: j.editRight && (j.comment.state === "PENDING" || j.comment.state === "NOT_VALID")
76
+ },
77
+ {
78
+ title: B("Invalidate"),
79
+ actionClick: () => {
80
+ F.value = "invalidate", z.value = !1, L.value = !0;
81
+ },
82
+ condition: j.editRight && (j.comment.state === "PENDING" || j.comment.state === "VALIDATED")
83
+ },
84
+ {
85
+ title: B("Delete comment"),
86
+ actionClick: () => {
87
+ F.value = "delete", z.value = !1, L.value = !0;
88
+ },
89
+ condition: j.editRight || G.value
90
+ }
91
+ ]), J = a(() => z.value ? B("Close") : R.value ? void 0 : B("Yes")), Y = a(() => z.value ? void 0 : B("No")), X = a(() => {
92
+ if (R.value) return B("Saving");
93
+ if (z.value) return B("An error occurred");
94
+ let e = { name: j.comment.poster.userName };
95
+ switch (F.value) {
96
+ case "delete": return B("Confirm comment deletion text", e);
97
+ case "validate": return B("Confirm comment valid text", e);
98
+ case "invalidate": return B("Confirm comment invalid text", e);
99
+ default: return "";
100
+ }
101
+ }), Z = a(() => F.value === "delete" ? B("Delete comment") : B("Update comment"));
102
+ async function Q() {
103
+ if (j.comment) {
104
+ R.value = !0, z.value = !1;
105
+ try {
106
+ if (F.value === "delete") await t.deleteData({
107
+ api: 2,
108
+ path: "comment/" + j.comment.commentId,
109
+ parameters: j.editRight ? void 0 : { uuid: U.commentUser?.uuid },
110
+ isNotAuth: !j.editRight
111
+ }), M("deleteComment");
112
+ else {
113
+ let e = await t.putData({
114
+ api: 2,
115
+ path: "comment/",
116
+ dataToSend: {
117
+ commentId: j.comment.commentId,
118
+ content: j.comment.content,
119
+ name: j.comment.poster.userName,
120
+ state: F.value === "validate" ? "VALIDATED" : "NOT_VALID"
121
+ }
122
+ });
123
+ M("update:comment", e);
124
+ }
125
+ L.value = !1;
126
+ } catch {
127
+ z.value = !0;
128
+ }
129
+ R.value = !1;
130
+ }
131
+ }
132
+ return (e, t) => {
133
+ let n = g("CommentMoreActionsAdmin");
134
+ return K.value ? (p(), c("div", C, [
135
+ P.value ? (p(), o(v(O), {
136
+ key: 0,
137
+ comment: W.value,
138
+ "onUpdate:comment": t[0] ||= (e) => W.value = e,
139
+ onClose: t[1] ||= (e) => P.value = !1
140
+ }, null, 8, ["comment"])) : s("", !0),
141
+ N.value ? (p(), o(v(k), {
142
+ key: 1,
143
+ comment: W.value,
144
+ "onUpdate:comment": t[2] ||= (e) => W.value = e,
145
+ "edit-right": f.editRight,
146
+ onClose: t[3] ||= (e) => N.value = !1
147
+ }, null, 8, ["comment", "edit-right"])) : s("", !0),
148
+ L.value ? (p(), o(v(A), {
149
+ key: 2,
150
+ validatetext: J.value,
151
+ canceltext: Y.value,
152
+ closable: !1,
153
+ title: Z.value,
154
+ message: X.value,
155
+ focus: !0,
156
+ onCancel: t[4] ||= (e) => L.value = !1,
157
+ onValidate: Q,
158
+ onClose: t[5] ||= (e) => L.value = !1
159
+ }, null, 8, [
160
+ "validatetext",
161
+ "canceltext",
162
+ "title",
163
+ "message"
164
+ ])) : s("", !0),
165
+ l("button", {
166
+ id: "comment-dropdown" + f.comment.commentId,
167
+ class: "btn share-btn",
168
+ title: v(B)("See more"),
169
+ "data-selenium": "comment-dropdown-" + v(V)(f.comment.poster.userName)
170
+ }, [u(S)], 8, w),
171
+ u(v(D), {
172
+ target: "comment-dropdown" + f.comment.commentId,
173
+ "only-click": !0,
174
+ "left-pos": !0
175
+ }, {
176
+ default: y(() => [(p(!0), c(i, null, h(q.value, (e) => (p(), c(i, { key: e }, [e.condition ? (p(), c("button", {
177
+ key: 0,
178
+ class: "octopus-dropdown-item c-hand",
179
+ onMousedown: e.actionClick,
180
+ onKeydown: b(e.actionClick, ["enter"])
181
+ }, _(e.title), 41, T)) : s("", !0)], 64))), 128))]),
182
+ _: 1
183
+ }, 8, ["target"]),
184
+ f.editRight ? (p(), o(n, {
185
+ key: 3,
186
+ comment: W.value,
187
+ "onUpdate:comment": t[6] ||= (e) => W.value = e,
188
+ "actions-admin": I.value,
189
+ "onUpdate:actionsAdmin": t[7] ||= (e) => I.value = e
190
+ }, null, 8, ["comment", "actions-admin"])) : s("", !0)
191
+ ])) : s("", !0);
192
+ };
193
+ }
194
+ });
195
+ //#endregion
196
+ export { E as default };
@@ -0,0 +1,56 @@
1
+ import { i as e } from "./classicApi-xM8VH_yv.mjs";
2
+ import { t } from "./CommentStore-BvQ47pgC.mjs";
3
+ import { t as n } from "./config-DMjLBcZ2.mjs";
4
+ import { t as r } from "./ClassicInputText-CFzU8ANo.mjs";
5
+ import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
6
+ import { useI18n as y } from "vue-i18n";
7
+ //#region src/components/display/comments/CommentName.vue?vue&type=script&setup=true&lang.ts
8
+ var b = { class: "d-flex align-items-center mb-2" }, x = ["disabled"], S = /* @__PURE__ */ d({
9
+ __name: "CommentName",
10
+ setup(d) {
11
+ let S = m(!1), C = m(""), w = m(!0), { t: T } = y(), E = t(), D = e(), O = a(() => D.authProfile !== void 0);
12
+ function k() {
13
+ O.value && (C.value = E.commentUser?.name ?? "", S.value = !0);
14
+ }
15
+ function A() {
16
+ E.setCommentUser(C.value), S.value = !1;
17
+ }
18
+ return (e, t) => (p(), s("div", b, [S.value ? (p(), s(i, { key: 1 }, [
19
+ u(r, {
20
+ "text-init": C.value,
21
+ "onUpdate:textInit": t[0] ||= (e) => C.value = e,
22
+ "error-variable": w.value,
23
+ "onUpdate:errorVariable": t[1] ||= (e) => w.value = e,
24
+ "input-id": "comment-name-input",
25
+ focus: "",
26
+ label: _(T)("Your name"),
27
+ "max-length": _(n).MAX_COMMENT_NAME,
28
+ "autocomplete-type": "name",
29
+ class: "me-3"
30
+ }, null, 8, [
31
+ "text-init",
32
+ "error-variable",
33
+ "label",
34
+ "max-length"
35
+ ]),
36
+ c("button", {
37
+ class: "btn m-1",
38
+ onClick: t[2] ||= (e) => S.value = !1
39
+ }, g(_(T)("Cancel")), 1),
40
+ c("button", {
41
+ class: "btn btn-primary m-1",
42
+ disabled: w.value,
43
+ onClick: A
44
+ }, g(_(T)("Yes")), 9, x)
45
+ ], 64)) : (p(), o(h(O.value ? "button" : "div"), {
46
+ key: 0,
47
+ class: f(["h6 fw-bold", O.value ? "btn btn-transparent p-1" : ""]),
48
+ onClick: k
49
+ }, {
50
+ default: v(() => [l(g(_(E).commentUser?.name), 1)]),
51
+ _: 1
52
+ }, 8, ["class"]))]));
53
+ }
54
+ });
55
+ //#endregion
56
+ export { S as default };
@@ -0,0 +1,36 @@
1
+ import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
2
+ import { t } from "./classicApi-xM8VH_yv.mjs";
3
+ import { n } from "./CommentItem-DVpqD8WV.mjs";
4
+ import { createBlock as r, createCommentVNode as i, createElementBlock as a, createVNode as o, defineComponent as s, onBeforeMount as c, openBlock as l, ref as u, unref as d } from "vue";
5
+ import { useI18n as f } from "vue-i18n";
6
+ //#region src/components/display/comments/CommentParentInfo.vue?vue&type=script&setup=true&lang.ts
7
+ var p = { class: "mt-2" }, m = /* @__PURE__ */ s({
8
+ __name: "CommentParentInfo",
9
+ props: {
10
+ commentId: {
11
+ default: void 0,
12
+ type: Number
13
+ },
14
+ editRight: {
15
+ default: !1,
16
+ type: Boolean
17
+ }
18
+ },
19
+ setup(s) {
20
+ let m = s, h = u(!0), g = u(void 0), { t: _ } = f();
21
+ c(() => v());
22
+ async function v() {
23
+ m.commentId && (g.value = await t.fetchData({
24
+ api: 2,
25
+ path: `comment/${m.commentId}`
26
+ })), h.value = !1;
27
+ }
28
+ return (t, c) => (l(), a("div", p, [o(e, { "loading-text": h.value ? d(_)("Loading content ...") : void 0 }, null, 8, ["loading-text"]), !h.value && g.value ? (l(), r(n, {
29
+ key: 0,
30
+ comment: g.value,
31
+ "edit-right": s.editRight
32
+ }, null, 8, ["comment", "edit-right"])) : i("", !0)]));
33
+ }
34
+ });
35
+ //#endregion
36
+ export { m as default };
@@ -0,0 +1,47 @@
1
+ import { n as e } from "./PlayerStore-Cqg2B90d.mjs";
2
+ import { t } from "./useSelenium-DAM6EF3J.mjs";
3
+ import { t as n } from "./CommentStore-BvQ47pgC.mjs";
4
+ import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeStyle as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, unref as m, watch as h } from "vue";
5
+ //#region src/components/display/comments/CommentPlayer.vue?vue&type=script&setup=true&lang.ts
6
+ var g = {
7
+ key: 0,
8
+ class: "comment-player-container"
9
+ }, _ = ["onMouseenter", "onClick"], v = ["data-selenium"], y = {
10
+ key: 0,
11
+ class: "d-flex align-itemx-center mt-4"
12
+ }, b = { class: "text-primary flex-shrink-0" }, x = { class: "text-truncate" }, S = /* @__PURE__ */ c({
13
+ __name: "CommentPlayer",
14
+ setup(c) {
15
+ let S = d(void 0), C = d([]), { seleniumFormat: w } = t(), T = e(), E = n(), D = i(() => T.playerPodcast?.podcastId);
16
+ h(D, () => {
17
+ O();
18
+ }, { immediate: !0 });
19
+ async function O() {
20
+ T.playerPodcast?.podcastId && (C.value = await E.fetchCommentsForPlayer(T.playerPodcast.podcastId));
21
+ }
22
+ function k(e) {
23
+ let t = T.playerTotal;
24
+ return T.playerPodcast?.duration && (t = Math.round(T.playerPodcast.duration / 1e3)), t < T.playerTotal && (e += T.playerTotal - t), Math.round(e * 100 / T.playerTotal);
25
+ }
26
+ return (e, t) => C.value.length ? (u(), o("div", g, [(u(!0), o(r, null, f(C.value, (e) => (u(), o("div", {
27
+ key: e.commentId,
28
+ class: "c-hand",
29
+ onMouseenter: (t) => S.value = e,
30
+ onMouseleave: t[0] ||= (e) => S.value = void 0,
31
+ onClick: (t) => S.value = e
32
+ }, [s("div", {
33
+ style: l("margin-left: " + k(e.timeline ?? 0) + "%"),
34
+ class: "comment-border"
35
+ }, null, 4), s("div", {
36
+ style: l("margin-left: calc(" + k(e.timeline ?? 0) + "% - 7px)"),
37
+ class: "status-comment",
38
+ "data-selenium": "comment-" + m(w)(e.poster.userName)
39
+ }, null, 12, v)], 40, _))), 128)), S.value ? (u(), o("div", y, [
40
+ s("div", b, p(S.value.poster.userName), 1),
41
+ t[1] ||= s("div", { class: "ms-1 me-1" }, "-", -1),
42
+ s("div", x, p(S.value.content), 1)
43
+ ])) : a("", !0)])) : a("", !0);
44
+ }
45
+ });
46
+ //#endregion
47
+ export { S as default };
@@ -0,0 +1,79 @@
1
+ import { i as e } from "./classicApi-xM8VH_yv.mjs";
2
+ import { t } from "./CommentStore-BvQ47pgC.mjs";
3
+ import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, normalizeClass as d, onBeforeMount as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, vShow as v, watch as y, withCtx as b, withDirectives as x } from "vue";
4
+ import { useI18n as S } from "vue-i18n";
5
+ import C from "vue-material-design-icons/Refresh.vue";
6
+ //#region src/components/display/comments/CommentSection.vue?vue&type=script&setup=true&lang.ts
7
+ var w = { class: "module-box" }, T = { class: "d-flex align-items-center" }, E = ["title"], D = /* @__PURE__ */ u({
8
+ __name: "CommentSection",
9
+ props: {
10
+ podcast: {
11
+ default: void 0,
12
+ type: Object
13
+ },
14
+ inStudio: {
15
+ default: !1,
16
+ type: Boolean
17
+ },
18
+ stateFilter: {
19
+ default: "",
20
+ type: String
21
+ }
22
+ },
23
+ emits: ["commentReceived"],
24
+ setup(u, { emit: D }) {
25
+ let O = l(() => import("./CommentList-BVWxtWBd.mjs")), k = l(() => import("./CommentInput-CrLp5kVE.mjs")), A = u, j = D, M = m(!1), N = m(void 0), P = m(0), F = m(void 0), { t: I } = S(), L = t(), R = e(), z = n(() => B.value || P.value > 0), B = n(() => L.getCanPostComment(N.value, A.podcast, R.authOrgaId !== void 0)), V = n(() => A.podcast?.conferenceId !== void 0);
26
+ y(() => L.commentEventToHandle, async () => {
27
+ L.commentEventToHandle.length && L.commentPodcastId === A.podcast?.podcastId && (F.value = L.commentEventToHandle[0], L.commentEventHandled(), j("commentReceived"));
28
+ }, { deep: !0 }), f(() => H());
29
+ async function H() {
30
+ A.podcast?.podcastId && (N.value = await L.getCommentsConfig(A.podcast), V.value && U());
31
+ }
32
+ async function U() {
33
+ A.podcast?.podcastId && A.podcast?.organisation.id && (L.commentInitialized || await L.initialize(), await L.initComments(A.podcast.podcastId, A.podcast.organisation.id));
34
+ }
35
+ function W(e) {
36
+ V.value || (F.value = {
37
+ type: "CREATE",
38
+ comment: e
39
+ });
40
+ }
41
+ return (e, t) => x((p(), a("section", w, [
42
+ o("div", T, [(p(), r(h(u.inStudio ? "div" : "h3"), { class: d(u.inStudio ? "m-1 fw-bold" : "mb-0 me-2") }, {
43
+ default: b(() => [s(g(_(I)("Podcast's comments")), 1)]),
44
+ _: 1
45
+ }, 8, ["class"])), o("button", {
46
+ title: _(I)("Refresh"),
47
+ class: "btn btn-transparent",
48
+ onClick: t[0] ||= (e) => M.value = !M.value
49
+ }, [c(C)], 8, E)]),
50
+ B.value ? (p(), r(_(k), {
51
+ key: 0,
52
+ podcast: u.podcast,
53
+ onNewComment: W
54
+ }, null, 8, ["podcast"])) : i("", !0),
55
+ c(_(O), {
56
+ "nb-comments": P.value,
57
+ "onUpdate:nbComments": t[1] ||= (e) => P.value = e,
58
+ class: d(u.inStudio ? "mt-2" : "mt-5"),
59
+ podcast: u.podcast,
60
+ "is-flat-list": u.inStudio,
61
+ reload: M.value,
62
+ config: N.value,
63
+ "event-to-handle": F.value,
64
+ "state-filter": u.stateFilter
65
+ }, null, 8, [
66
+ "nb-comments",
67
+ "class",
68
+ "podcast",
69
+ "is-flat-list",
70
+ "reload",
71
+ "config",
72
+ "event-to-handle",
73
+ "state-filter"
74
+ ])
75
+ ], 512)), [[v, z.value]]);
76
+ }
77
+ });
78
+ //#endregion
79
+ export { D as default };