@saooti/octopus-sdk 42.4.0-beta2 → 42.4.0-beta4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (334) hide show
  1. package/dist/{AccessibilityModal-CBIb3UQS.mjs → AccessibilityModal-CHUSDO1F.mjs} +39 -36
  2. package/dist/{AdvancedSearch-DVWO6WtG.mjs → AdvancedSearch-S-OMg1XH.mjs} +5 -5
  3. package/dist/{AuthStore-BBZTjLTf.mjs → AuthStore-BdiVUQBK.mjs} +268 -261
  4. package/dist/{CategoryChooser-fAUMJNHu.mjs → CategoryChooser-Cg_gq6L_.mjs} +1 -1
  5. package/dist/{CategoryFilter-CU4D9VlH.mjs → CategoryFilter-CI5PfekR.mjs} +3 -3
  6. package/dist/{CategoryList-CNRdGnw0.mjs → CategoryList-B0hCDa0Q.mjs} +2 -2
  7. package/dist/{CategoryPage-CJ_OohkC.mjs → CategoryPage-j1c3a9Ti.mjs} +2 -2
  8. package/dist/{CategorySearchFilter-Cce5zxZB.mjs → CategorySearchFilter-eRcZcX0o.mjs} +1 -1
  9. package/dist/{CheckIdentityModal-DEXrqR2G.mjs → CheckIdentityModal-DTA9VPdd.mjs} +3 -3
  10. package/dist/{ClassicAlert-DATLZ8J1.mjs → ClassicAlert-fZ4qLB-c.mjs} +1 -1
  11. package/dist/{ClassicBigChip-BK8v_P0z.mjs → ClassicBigChip-D0pRqFwb.mjs} +1 -1
  12. package/dist/ClassicColorPicker-DcjFDaZ8.mjs +79 -0
  13. package/dist/{ClassicDatePicker-CKIkZWmW.mjs → ClassicDatePicker-DlNlvjA0.mjs} +1 -1
  14. package/dist/{ClassicEmojiPicker-C0gm-DA2.mjs → ClassicEmojiPicker-Cc4UZRvZ.mjs} +1 -1
  15. package/dist/{ClassicHelpButton-BnRLmYuh.mjs → ClassicHelpButton-CDz_GcaZ.mjs} +1 -1
  16. package/dist/{ClassicInputText-YsntJkHk.mjs → ClassicInputText-4bPGD_kV.mjs} +1 -1
  17. package/dist/{ClassicLoading-CXfMjpyl.mjs → ClassicLoading-ydEDL7-R.mjs} +1 -1
  18. package/dist/{ClassicMultiselect-C0yzVQ8Y.mjs → ClassicMultiselect-CEJF_Uo5.mjs} +1 -1
  19. package/dist/{ClassicNotifications-Bt7HmFoU.mjs → ClassicNotifications-olXwz4qY.mjs} +2 -2
  20. package/dist/ClassicPopover-BpFChUHf.mjs +203 -0
  21. package/dist/ClassicSelect-Bj9BkTkd.mjs +121 -0
  22. package/dist/{ClassicSpinner-DFRDD51g.mjs → ClassicSpinner-P6q1es8G.mjs} +4 -1
  23. package/dist/{ClipboardModal-cHMlAcg3.mjs → ClipboardModal-D40ImhpB.mjs} +1 -1
  24. package/dist/{CommentInput-BiGn-skv.mjs → CommentInput-BGAQHUZh.mjs} +5 -5
  25. package/dist/CommentItem-CBtedADn.mjs +233 -0
  26. package/dist/CommentList-BqY6dXMt.mjs +203 -0
  27. package/dist/{CommentMoreActions-Cew7m8vJ.mjs → CommentMoreActions-BPDPuoeI.mjs} +6 -5
  28. package/dist/{CommentName-BQR1xl1T.mjs → CommentName-DiN2v6zm.mjs} +3 -3
  29. package/dist/{CommentParentInfo-BuM6sFV4.mjs → CommentParentInfo-DIyzK-2k.mjs} +3 -3
  30. package/dist/CommentSection-BUQsGQcN.mjs +119 -0
  31. package/dist/{CommentStore-BjzpqB_1.mjs → CommentStore-D-2Q49xZ.mjs} +76 -88
  32. package/dist/{ContractPreviewModal-CgEfHeyW.mjs → ContractPreviewModal-Duf8yY-7.mjs} +1 -1
  33. package/dist/{DateFilter-Bzx36_ol.mjs → DateFilter-Drn-Thgy.mjs} +1 -1
  34. package/dist/{DownloadPodcastButton-NStAbAZa.mjs → DownloadPodcastButton-BFZI5jmS.mjs} +2 -2
  35. package/dist/{EditCommentModal-coXmYdY_.mjs → EditCommentModal-CVihXEGS.mjs} +2 -2
  36. package/dist/{EmissionGroupChooser-XK05Hye9.mjs → EmissionGroupChooser-BaorNk90.mjs} +2 -2
  37. package/dist/{EmissionInlineList-CWP6yZLk.mjs → EmissionInlineList-DuzgE8hS.mjs} +36 -26
  38. package/dist/EmissionItem-R8ugPYq7.mjs +123 -0
  39. package/dist/EmissionList-Dk8Xtmm1.mjs +230 -0
  40. package/dist/EmissionPage-DE_T-aNF.mjs +191 -0
  41. package/dist/{EmissionPlayerItem-B-poSf0h.mjs → EmissionPlayerItem-w3F7l_dL.mjs} +9 -9
  42. package/dist/{EmissionPresentationItem-Ic_4QTAV.mjs → EmissionPresentationItem-VwylQjvv.mjs} +7 -4
  43. package/dist/{EmissionPresentationList-CZVjxQUN.mjs → EmissionPresentationList-Xu3G_Ozt.mjs} +8 -6
  44. package/dist/EmissionsPage--rvX0YYh.mjs +117 -0
  45. package/dist/{Error403Page-paQBIk_S.mjs → Error403Page-Cb0LAznd.mjs} +1 -1
  46. package/dist/ExternalLink-Xd1yTR71.mjs +35 -0
  47. package/dist/{FooterGarSection-GKI36V98.mjs → FooterGarSection-CnjLLyXU.mjs} +3 -3
  48. package/dist/{FooterSection-vNIJikKR.mjs → FooterSection-0e6Z_wff.mjs} +13 -13
  49. package/dist/{HomeDropdown-B_5YrOSF.mjs → HomeDropdown-5JO7NDSl.mjs} +3 -3
  50. package/dist/{HomePage-KC-CcJky.mjs → HomePage-Bze7mTbZ.mjs} +3 -3
  51. package/dist/InlineRubriqueList-MYnSX_eZ.mjs +48 -0
  52. package/dist/LikeButton-CnMZOm9N.mjs +46 -0
  53. package/dist/{LikeSection-BZcy0TOS.mjs → LikeSection-BFh6c0_F.mjs} +11 -17
  54. package/dist/ListPaginate-DMir5lKe.mjs +191 -0
  55. package/dist/{LiveHorizontalList-CARJlSBl.mjs → LiveHorizontalList-DpfoJMa8.mjs} +6 -6
  56. package/dist/{LiveList-DtXz2jZd.mjs → LiveList-BXcxoWAn.mjs} +12 -11
  57. package/dist/{LivesPage-DRyMTzoZ.mjs → LivesPage-X_Cuj5RC.mjs} +2 -2
  58. package/dist/{MapPage-CyDwoNuG.mjs → MapPage-DR7057o0.mjs} +1 -1
  59. package/dist/{MessageModal-BcqS77v6.mjs → MessageModal-DyD3HZy0.mjs} +1 -1
  60. package/dist/{MobileMenu-DWAO2ARf.mjs → MobileMenu-CaFQBVFA.mjs} +3 -3
  61. package/dist/{MonetizableFilter-B7NHzXEY.mjs → MonetizableFilter-BeBVeGSW.mjs} +1 -1
  62. package/dist/{NewsletterModal-GkC9RDyD.mjs → NewsletterModal-CaaLFdAc.mjs} +1 -1
  63. package/dist/{OctopusMultiselect-noQPQMZQ.mjs → OctopusMultiselect-B_VBxbac.mjs} +19 -19
  64. package/dist/OrganisationChooser-BSJWSByJ.mjs +134 -0
  65. package/dist/{OrganisationChooserLight-Afgr1M7a.mjs → OrganisationChooserLight-BpqeFaQP.mjs} +2 -2
  66. package/dist/{PageNotFound-B7hdl-yk.mjs → PageNotFound-BB2Der8l.mjs} +2 -2
  67. package/dist/PaginateParams-BKSnsVZH.mjs +54 -0
  68. package/dist/{ParticipantInlineList-BwPZSUqb.mjs → ParticipantInlineList-DBlnlk8x.mjs} +24 -19
  69. package/dist/ParticipantItem-1fs3gVfe.mjs +93 -0
  70. package/dist/ParticipantPage-BaWObZn8.mjs +127 -0
  71. package/dist/{ParticipantsPage-CHWCYVS6.mjs → ParticipantsPage-QsAeLeb5.mjs} +16 -16
  72. package/dist/{PlayerAnonymousModal-BdgjFawf.mjs → PlayerAnonymousModal-B9fZFffi.mjs} +2 -2
  73. package/dist/PlaylistPage-Blu1HnPY.mjs +130 -0
  74. package/dist/{PlaylistsPage-DTL-ovBn.mjs → PlaylistsPage-DLNnZSJT.mjs} +88 -77
  75. package/dist/{PodcastFilterList-2nVutkmB.mjs → PodcastFilterList-DrZA5iQa.mjs} +4 -3
  76. package/dist/PodcastInlineList-C-ICxCWh.mjs +186 -0
  77. package/dist/{PodcastInlineListTemplate-DPBRFNio.mjs → PodcastInlineListTemplate-CDigJ7BJ.mjs} +58 -56
  78. package/dist/PodcastItem-m3k-Kix9.mjs +305 -0
  79. package/dist/{PodcastList-R0TvKt6G.mjs → PodcastList-Cww-0Swl.mjs} +12 -12
  80. package/dist/{PodcastList-RMFwG0hb.mjs → PodcastList-s4gxQjq5.mjs} +26 -24
  81. package/dist/PodcastPage-DE5gGN-2.mjs +595 -0
  82. package/dist/PodcastPlayButton-Df0Z63M0.mjs +127 -0
  83. package/dist/PodcastPlaylistInlineList-D6FMozVy.mjs +69 -0
  84. package/dist/{PodcastPresentationList-BvXr6uwb.mjs → PodcastPresentationList-SouqGyw9.mjs} +9 -7
  85. package/dist/{PodcastmakerHeader-CKbQLcJR.mjs → PodcastmakerHeader-DJXLJTF6.mjs} +1 -1
  86. package/dist/PodcastsPage-BXBARaTK.mjs +133 -0
  87. package/dist/{ProductorSearch-DiKNztPx.mjs → ProductorSearch-hTTU45pI.mjs} +3 -3
  88. package/dist/QrCode-OEI1du8P.mjs +116 -0
  89. package/dist/{QrCodeModal-CWrtwMmo.mjs → QrCodeModal-DmzFi0FH.mjs} +1 -1
  90. package/dist/{RadioCurrently-Dp9E529F.mjs → RadioCurrently-CrRnrOIT.mjs} +20 -20
  91. package/dist/{RadioImage-C9DiBLS9.mjs → RadioImage-DmMQTUjw.mjs} +1 -1
  92. package/dist/RadioList-Bj_bfSqy.mjs +79 -0
  93. package/dist/{RadioPage-BxwU7iT4.mjs → RadioPage-BHAxW4eG.mjs} +5 -5
  94. package/dist/{RadioPlanning-iJ7XDZSH.mjs → RadioPlanning-Cg47XjD9.mjs} +3 -3
  95. package/dist/{RecaptchaModal-Bfq6A8y2.mjs → RecaptchaModal-DLMoPxPf.mjs} +2 -2
  96. package/dist/{ReportAbuseModal-DBoOqnzQ.mjs → ReportAbuseModal-CIiBTSpw.mjs} +4 -4
  97. package/dist/{RightsIndicator-DiA2ldB-.mjs → RightsIndicator-Dr75KTRE.mjs} +4 -4
  98. package/dist/{RightsWrapper-JmJz5r95.mjs → RightsWrapper-C6zNaunR.mjs} +41 -42
  99. package/dist/{RubriqueChoice-C-S-veJJ.mjs → RubriqueChoice-Ci23lZBD.mjs} +2 -2
  100. package/dist/{RubriqueChooser-CNGn8LcP.mjs → RubriqueChooser-C5QLRe-b.mjs} +1 -1
  101. package/dist/{RubriqueFilter-CD_iXdC1.mjs → RubriqueFilter-B_lwmZ8m.mjs} +3 -3
  102. package/dist/{RubriqueList-COReG7_w.mjs → RubriqueList-DNwhze-d.mjs} +4 -4
  103. package/dist/{RubriquePage-C63TsvkH.mjs → RubriquePage-Bh59Y29D.mjs} +6 -5
  104. package/dist/{SearchPage-ChdImq8B.mjs → SearchPage-DfsoWBQU.mjs} +2 -2
  105. package/dist/ShareAnonymous-QT4t2_n7.mjs +210 -0
  106. package/dist/{ShareModalPlayer-Dr0BUSDx.mjs → ShareModalPlayer-D0NzOzX0.mjs} +1 -1
  107. package/dist/{ShareNewsletter-DJbBxYn3.mjs → ShareNewsletter-DT893L87.mjs} +41 -44
  108. package/dist/{SharePlayer-AeYTgJw6.mjs → SharePlayer-Ctivrvmn.mjs} +2 -2
  109. package/dist/SharePlayerColors-CfrkwpdM.mjs +50 -0
  110. package/dist/{SharePlayerRadio-DxcP73-X.mjs → SharePlayerRadio-Gvc5Gc0f.mjs} +2 -2
  111. package/dist/{SharePlayerTypes-CuDLz2mJ.mjs → SharePlayerTypes-B3OKl3HO.mjs} +1 -1
  112. package/dist/ShareSocialsButtons-MbK7ivGa.mjs +103 -0
  113. package/dist/SmartLinkPage-BKihppLi.mjs +143 -0
  114. package/dist/SubscribeButtons-DKylNvPo.mjs +126 -0
  115. package/dist/SwiperList-CqElRAFt.mjs +179 -0
  116. package/dist/{TagList-DPkw1vux.mjs → TagList-CFgCrA_i.mjs} +5 -5
  117. package/dist/{TagPage-uVe7N9oG.mjs → TagPage-CWGLni8k.mjs} +3 -3
  118. package/dist/TopBar-CmZSpIiz.mjs +427 -0
  119. package/dist/UserButtonContent-CvVebdKv.mjs +129 -0
  120. package/dist/{buttons-BkfxHdGj.mjs → buttons-s19oovgO.mjs} +1 -1
  121. package/dist/{downloadHelper-CvnGPosg.mjs → downloadHelper-B7bFMASS.mjs} +1 -1
  122. package/dist/index.css +1 -1
  123. package/dist/index.d.ts +4 -2
  124. package/dist/index.mjs +235 -232
  125. package/dist/{messages-DlxMAMOa.mjs → messages-DJAarMHp.mjs} +108 -6
  126. package/dist/src/components/display/comments/like/LikeButton.vue.d.ts +9 -33
  127. package/dist/src/components/display/comments/like/LikeSection.vue.d.ts +11 -33
  128. package/dist/src/components/display/emission/EmissionInlineList.vue.d.ts +4 -4
  129. package/dist/src/components/display/emission/EmissionItem.vue.d.ts +5 -1
  130. package/dist/src/components/display/emission/EmissionPresentationItem.vue.d.ts +2 -0
  131. package/dist/src/components/display/emission/EmissionPresentationList.vue.d.ts +1 -1
  132. package/dist/src/components/display/list/SwiperList.vue.d.ts +7 -4
  133. package/dist/src/components/display/live/RadioItem.vue.d.ts +11 -0
  134. package/dist/src/components/display/participant/ParticipantInlineList.vue.d.ts +1 -1
  135. package/dist/src/components/display/playlist/PlaylistItem.vue.d.ts +11 -0
  136. package/dist/src/components/display/podcasts/PodcastFilterList.vue.d.ts +3 -3
  137. package/dist/src/components/display/podcasts/PodcastImage.vue.d.ts +29 -9
  138. package/dist/src/components/display/podcasts/PodcastInlineList.vue.d.ts +45 -4
  139. package/dist/src/components/display/podcasts/PodcastInlineListTemplate.vue.d.ts +1 -1
  140. package/dist/src/components/display/podcasts/PodcastItem.vue.d.ts +7 -1
  141. package/dist/src/components/display/podcasts/PodcastItemInfo.vue.d.ts +10 -12
  142. package/dist/src/components/display/podcasts/PodcastList.vue.d.ts +2 -0
  143. package/dist/src/components/display/sharing/FormatSwitch.vue.d.ts +12 -17
  144. package/dist/src/components/form/ClassicColorPicker.vue.d.ts +26 -0
  145. package/dist/src/components/form/ClassicContentEditable.vue.d.ts +1 -1
  146. package/dist/src/components/form/ClassicInputText.vue.d.ts +1 -1
  147. package/dist/src/components/form/ClassicMultiselect.vue.d.ts +4 -4
  148. package/dist/src/components/form/index.d.ts +2 -1
  149. package/dist/src/components/layouts/PresentationItem.vue.d.ts +7 -3
  150. package/dist/src/components/misc/ClassicPopover.vue.d.ts +2 -0
  151. package/dist/src/components/misc/ExternalLink.vue.d.ts +27 -0
  152. package/dist/src/components/misc/LoadingOverlay.vue.d.ts +19 -0
  153. package/dist/src/components/misc/SkipToContent.vue.d.ts +7 -0
  154. package/dist/src/locale/messages.d.ts +102 -0
  155. package/dist/src/stores/AuthStore.d.ts +1 -0
  156. package/dist/src/stores/CommentStore.d.ts +3 -1
  157. package/dist/src/stores/ParamSdkStore.d.ts +30 -32
  158. package/dist/src/websocket/commentWebsocket.d.ts +3 -2
  159. package/dist/src/websocket/wss.d.ts +35 -32
  160. package/dist/tests-mocks.mjs +3 -2
  161. package/dist/tests.mjs +3 -2
  162. package/dist/{useAdvancedParamInit-Bn2nYh9V.mjs → useAdvancedParamInit-CdXta4Fd.mjs} +5 -5
  163. package/dist/{useAppleVideo-MNXcA2S0.mjs → useAppleVideo-C0gGIXRR.mjs} +1 -1
  164. package/dist/{useDayjs-DV3H3JdH.mjs → useDayjs-B6txyR3X.mjs} +1 -1
  165. package/dist/{useErrorHandler-BVeBrWmP.mjs → useErrorHandler-BPwwQKrG.mjs} +1 -1
  166. package/dist/{useImageProxy-aLDjafm4.mjs → useImageProxy-XMMC_IC2.mjs} +1 -1
  167. package/dist/{useOrgaComputed-q48Zu9Fs.mjs → useOrgaComputed-B0wJ-ALx.mjs} +1 -1
  168. package/dist/usePresentationItem-D6mrQ7Zp.mjs +104 -0
  169. package/dist/{useRights-tS_KEToi.mjs → useRights-B-RH3q3n.mjs} +1 -1
  170. package/dist/{useRubriquesFilterComputed-Xl5Dt2Xq.mjs → useRubriquesFilterComputed-Bp6L2o9-.mjs} +1 -1
  171. package/dist/{useRubriquesFilterParam-CIvIwIvX.mjs → useRubriquesFilterParam-B05QATg9.mjs} +1 -1
  172. package/dist/{useSharePlatforms-fUzHb1WM.mjs → useSharePlatforms-CbcKb6yZ.mjs} +26 -26
  173. package/dist/{useSimplePageParam-3Nn8EFc0.mjs → useSimplePageParam-DaoVpYoG.mjs} +1 -1
  174. package/eslint-config.mjs +10 -0
  175. package/package.json +4 -2
  176. package/src/api/rubriquesApi.ts +4 -4
  177. package/src/components/display/RightsIndicator.vue +0 -13
  178. package/src/components/display/RightsWrapper.vue +1 -16
  179. package/src/components/display/accessibility/AccessibilityModal.vue +7 -12
  180. package/src/components/display/comments/CommentInput.vue +2 -1
  181. package/src/components/display/comments/CommentList.vue +189 -176
  182. package/src/components/display/comments/CommentSection.vue +160 -73
  183. package/src/components/display/comments/item/CommentItem.vue +186 -135
  184. package/src/components/display/comments/item/CommentMoreActions.vue +195 -194
  185. package/src/components/display/comments/like/LikeButton.vue +47 -45
  186. package/src/components/display/comments/like/LikeSection.vue +122 -115
  187. package/src/components/display/emission/EmissionInlineList.vue +118 -116
  188. package/src/components/display/emission/EmissionItem.vue +35 -28
  189. package/src/components/display/emission/EmissionList.vue +41 -24
  190. package/src/components/display/emission/EmissionPresentationItem.vue +3 -0
  191. package/src/components/display/emission/EmissionPresentationList.vue +1 -0
  192. package/src/components/display/filter/ProductorSearch.vue +83 -80
  193. package/src/components/display/list/ListPaginate.vue +51 -37
  194. package/src/components/display/list/PaginateParams.vue +28 -32
  195. package/src/components/display/list/PaginateSection.vue +145 -138
  196. package/src/components/display/list/SwiperList.vue +113 -10
  197. package/src/components/display/live/LiveList.vue +111 -106
  198. package/src/components/display/live/RadioItem.vue +17 -12
  199. package/src/components/display/organisation/OrganisationChooser.vue +2 -1
  200. package/src/components/display/participant/ParticipantInlineList.vue +52 -49
  201. package/src/components/display/participant/ParticipantItem.vue +2 -1
  202. package/src/components/display/playlist/PlaylistItem.vue +19 -15
  203. package/src/components/display/playlist/PlaylistList.vue +16 -10
  204. package/src/components/display/playlist/PodcastPlaylistInlineList.vue +68 -61
  205. package/src/components/display/podcasts/AnimatorsItem.vue +2 -0
  206. package/src/components/display/podcasts/PodcastFilterList.vue +107 -106
  207. package/src/components/display/podcasts/PodcastImage.vue +110 -126
  208. package/src/components/display/podcasts/PodcastInlineList.vue +133 -25
  209. package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -0
  210. package/src/components/display/podcasts/PodcastItem.vue +111 -64
  211. package/src/components/display/podcasts/PodcastItemInfo.vue +48 -18
  212. package/src/components/display/podcasts/PodcastList.vue +198 -194
  213. package/src/components/display/podcasts/PodcastModuleBox.vue +1 -0
  214. package/src/components/display/podcasts/PodcastPlayButton.vue +23 -6
  215. package/src/components/display/podcasts/PodcastPresentationList.vue +1 -0
  216. package/src/components/display/rubriques/InlineRubriqueList.vue +35 -16
  217. package/src/components/display/sharing/FormatSwitch.vue +90 -101
  218. package/src/components/display/sharing/QrCode.vue +4 -8
  219. package/src/components/display/sharing/ShareAnonymous.vue +207 -205
  220. package/src/components/display/sharing/ShareNewsletter.vue +3 -7
  221. package/src/components/display/sharing/SharePlayerColors.vue +5 -12
  222. package/src/components/display/sharing/ShareSocialsButtons.vue +67 -60
  223. package/src/components/display/sharing/SubscribeButtons.vue +47 -35
  224. package/src/components/form/ClassicColorPicker.vue +110 -0
  225. package/src/components/form/ClassicMultiselect.vue +205 -197
  226. package/src/components/form/ClassicSelect.vue +100 -80
  227. package/src/components/form/index.ts +2 -0
  228. package/src/components/layouts/PresentationItem.vue +18 -12
  229. package/src/components/misc/ClassicDataTable.vue +3 -3
  230. package/src/components/misc/ClassicPopover.vue +95 -1
  231. package/src/components/misc/ClassicSpinner.vue +16 -2
  232. package/src/components/misc/ExternalLink.vue +51 -0
  233. package/src/components/misc/LoadingOverlay.vue +86 -0
  234. package/src/components/misc/RightsScopeMenu.vue +1 -1
  235. package/src/components/misc/SkipToContent.vue +16 -0
  236. package/src/components/misc/TopBarMainContent.vue +6 -9
  237. package/src/components/misc/UserButtonContent.vue +4 -7
  238. package/src/components/pages/EmissionPage.vue +3 -2
  239. package/src/components/pages/EmissionsPage.vue +4 -0
  240. package/src/components/pages/ParticipantPage.vue +2 -1
  241. package/src/components/pages/PlaylistPage.vue +115 -110
  242. package/src/components/pages/PodcastPage.vue +3 -0
  243. package/src/components/pages/PodcastsPage.vue +4 -0
  244. package/src/components/pages/RubriquePage.vue +1 -0
  245. package/src/components/pages/SmartLinkPage.vue +10 -7
  246. package/src/layouts/FullLayout.vue +29 -23
  247. package/src/locale/de.json +18 -1
  248. package/src/locale/en.json +18 -1
  249. package/src/locale/es.json +18 -1
  250. package/src/locale/fr.json +22 -1
  251. package/src/locale/it.json +18 -1
  252. package/src/locale/sl.json +18 -1
  253. package/src/stores/AuthStore.ts +11 -1
  254. package/src/stores/CommentStore.ts +280 -263
  255. package/src/stores/ParamSdkStore.ts +39 -37
  256. package/src/style/_variables.scss +18 -0
  257. package/src/style/bootstrap.scss +40 -1
  258. package/src/style/general.scss +3 -3
  259. package/src/style/share.scss +26 -1
  260. package/src/websocket/commentWebsocket.ts +56 -54
  261. package/src/websocket/wss.ts +136 -163
  262. package/tests/components/display/comments/CommentList.spec.ts +45 -0
  263. package/tests/components/display/emission/EmissionItem.spec.ts +35 -0
  264. package/tests/components/display/emission/EmissionPresentationItem.spec.ts +6 -0
  265. package/tests/components/display/filter/ProductorSearch.spec.ts +20 -0
  266. package/tests/components/display/list/ListPaginate.spec.ts +67 -0
  267. package/tests/components/display/list/SwiperList.spec.ts +101 -2
  268. package/tests/components/display/live/RadioItem.spec.ts +41 -0
  269. package/tests/components/display/playlist/PlaylistItem.spec.ts +53 -0
  270. package/tests/components/display/podcasts/AnimatorsItem.spec.ts +18 -0
  271. package/tests/components/display/podcasts/PodcastInlineList.spec.ts +139 -0
  272. package/tests/components/display/podcasts/PodcastInlineListTemplate.spec.ts +16 -0
  273. package/tests/components/display/podcasts/PodcastItem.spec.ts +77 -0
  274. package/tests/components/display/podcasts/PodcastItemInfo.spec.ts +15 -2
  275. package/tests/components/display/podcasts/PodcastPlayButton.spec.ts +67 -0
  276. package/tests/components/display/sharing/FormatSwitch.spec.ts +26 -0
  277. package/tests/components/display/sharing/ShareAnonymous.spec.ts +61 -0
  278. package/tests/components/display/sharing/SubscribeButtons.spec.ts +73 -0
  279. package/tests/components/form/ClassicColorPicker.spec.ts +71 -0
  280. package/tests/components/form/ClassicSelect.spec.ts +38 -0
  281. package/tests/components/layouts/PresentationItem.spec.ts +34 -0
  282. package/tests/components/misc/ClassicPopover.spec.ts +112 -0
  283. package/tests/components/misc/ExternalLink.spec.ts +49 -0
  284. package/tests/components/misc/LoadingOverlay.spec.ts +27 -0
  285. package/tests/components/misc/SkipToContent.spec.ts +19 -0
  286. package/tests/components/pages/EmissionPage.spec.ts +9 -0
  287. package/tests/components/pages/EmissionsPage.spec.ts +13 -2
  288. package/tests/components/pages/PlaylistPage.spec.ts +11 -0
  289. package/tests/components/pages/PodcastsPage.spec.ts +13 -2
  290. package/tests/components/pages/SmartLinkPage.spec.ts +13 -0
  291. package/tests/helper/language.spec.ts +7 -3
  292. package/tests/mocks/useAdvancedParamInit.ts +2 -1
  293. package/tests/setup.ts +7 -0
  294. package/tests/stores/CommentStore.spec.ts +19 -0
  295. package/tests/utils.ts +5 -2
  296. package/tests/websocket/wss.spec.ts +153 -0
  297. package/dist/ClassicPopover-BUb-1WMB.mjs +0 -172
  298. package/dist/ClassicSelect-BpA0jKN6.mjs +0 -111
  299. package/dist/CommentItem-CY2-D9P3.mjs +0 -226
  300. package/dist/CommentList-CDIYZEq_.mjs +0 -201
  301. package/dist/CommentSection-BJZtgsut.mjs +0 -79
  302. package/dist/EmissionItem-BVsuGOnv.mjs +0 -116
  303. package/dist/EmissionList-E8czEUK3.mjs +0 -229
  304. package/dist/EmissionPage-CaDFKkE8.mjs +0 -192
  305. package/dist/EmissionsPage-C0jLjKTK.mjs +0 -116
  306. package/dist/InlineRubriqueList-BeGu04QD.mjs +0 -48
  307. package/dist/LikeButton-Cu8jAJHx.mjs +0 -40
  308. package/dist/ListPaginate-BYBfYtD5.mjs +0 -153
  309. package/dist/OrganisationChooser-CNNIw66c.mjs +0 -135
  310. package/dist/PaginateParams-Bjz3ZI-5.mjs +0 -75
  311. package/dist/ParticipantItem-CRnquj4R.mjs +0 -91
  312. package/dist/ParticipantPage-D0lJjj0p.mjs +0 -128
  313. package/dist/PlaylistPage-DMnkTMHk.mjs +0 -132
  314. package/dist/PodcastImage-DrIX2U4c.mjs +0 -115
  315. package/dist/PodcastInlineList-BtVDNokV.mjs +0 -123
  316. package/dist/PodcastItem-DYOmggEB.mjs +0 -151
  317. package/dist/PodcastPage-ClhwIq9v.mjs +0 -591
  318. package/dist/PodcastPlayButton-Bv61tl0L.mjs +0 -111
  319. package/dist/PodcastPlaylistInlineList-aZhxjz3p.mjs +0 -63
  320. package/dist/PodcastSwiperList-Cwh53maw.mjs +0 -170
  321. package/dist/PodcastsPage-CiEknka_.mjs +0 -132
  322. package/dist/QrCode-DITqqZq6.mjs +0 -109
  323. package/dist/RadioList-CTlVQuyN.mjs +0 -70
  324. package/dist/ShareAnonymous-kxt4P4zK.mjs +0 -199
  325. package/dist/SharePlayerColors-BpdifsHh.mjs +0 -49
  326. package/dist/ShareSocialsButtons-BhBqmgz7.mjs +0 -102
  327. package/dist/SmartLinkPage-Bupxsq-O.mjs +0 -136
  328. package/dist/SubscribeButtons-P1Jh_rFJ.mjs +0 -121
  329. package/dist/SwiperList-1mHT07oe.mjs +0 -117
  330. package/dist/TopBar-CeVHXg03.mjs +0 -427
  331. package/dist/UserButtonContent-CIq9izAe.mjs +0 -131
  332. package/dist/usePresentationItem-DWIj-6bU.mjs +0 -100
  333. package/src/components/display/podcasts/PodcastSwiperList.vue +0 -160
  334. package/src/helper/featureHelper.ts +0 -24
@@ -205,7 +205,7 @@ const subOrgaByLetter = computed((): Map<string, Array<SubOrganisation>> => {
205
205
  const data: Map<string, Array<SubOrganisation>> = new Map();
206
206
 
207
207
  const filtered = subOrganisations.value
208
- .filter(sub => sub.name.includes(normalizedSearch.value))
208
+ .filter(sub => normalize(sub.name).includes(normalizedSearch.value))
209
209
  .filter(sub => !userSubOrgas.value.includes(sub))
210
210
  .sort((o1, o2) => o1.name.localeCompare(o2.name))
211
211
  ;
@@ -0,0 +1,16 @@
1
+ <template>
2
+ <a :href="`#${target}`" class="visually-hidden-focusable">
3
+ {{ t('Skip to content') }}
4
+ </a>
5
+ </template>
6
+
7
+ <script setup lang="ts">
8
+ import { useI18n } from 'vue-i18n';
9
+
10
+ const { target = 'main-content' } = defineProps<{
11
+ /** Id of the main content element to skip to */
12
+ target?: string
13
+ }>();
14
+
15
+ const { t } = useI18n();
16
+ </script>
@@ -65,24 +65,20 @@
65
65
  title="Logo"
66
66
  :class="generalStore.platformEducation ? 'education-logo' : 'octopus-logo'"
67
67
  >
68
- <a
68
+ <ExternalLink
69
69
  v-else
70
70
  href="https://www.saooti.com/"
71
- target="_blank"
72
- rel="noreferrer noopener"
73
- :title="t('New window', {text: 'Saooti'})"
71
+ hide-icon
74
72
  >
75
73
  <img
76
74
  :src="logoUrl"
77
- aria-hidden="true"
78
- alt=""
79
- title="Saooti"
75
+ alt="Saooti"
80
76
  width="100"
81
77
  height="29"
82
78
  class="ms-2"
83
79
  :class="generalStore.platformEducation ? 'education-logo' : 'octopus-logo'"
84
80
  >
85
- </a>
81
+ </ExternalLink>
86
82
  </template>
87
83
 
88
84
  <div role="navigation" class="d-flex align-items-center justify-content-end flex-grow-1">
@@ -184,7 +180,8 @@ import { defineAsyncComponent, computed, ref } from "vue";
184
180
  import { useGeneralStore } from "../../stores/GeneralStore";
185
181
  import { useI18n } from "vue-i18n";
186
182
  import RightsScopeSelector from "./RightsScopeSelector.vue";
187
- import RightsScopeMenu from "./RightsScopeMenu.vue";
183
+ import RightsScopeMenu from "./RightsScopeMenu.vue";
184
+ import ExternalLink from "./ExternalLink.vue";
188
185
  const MobileMenu = defineAsyncComponent(() => import("./MobileMenu.vue"));
189
186
 
190
187
  export interface TopBarMainContentOptions {
@@ -55,16 +55,13 @@
55
55
  :key="helpLink.title"
56
56
  class="li-style-none"
57
57
  >
58
- <a
58
+ <ExternalLink
59
59
  :href="helpLink.href"
60
60
  class="octopus-dropdown-item realLink"
61
- rel="noreferrer noopener"
62
- target="_blank"
63
- :title="t('New window', {text: helpLink.title})"
61
+ :icon-size="15"
64
62
  >
65
63
  {{ helpLink.title }}
66
- <OpenInNewIcon class="ms-1" :size="15" />
67
- </a>
64
+ </ExternalLink>
68
65
  </li>
69
66
  <hr>
70
67
  </template>
@@ -89,7 +86,7 @@
89
86
  </template>
90
87
 
91
88
  <script setup lang="ts">
92
- import OpenInNewIcon from "vue-material-design-icons/OpenInNew.vue";
89
+ import ExternalLink from "./ExternalLink.vue";
93
90
  import { state } from "../../stores/ParamSdkStore";
94
91
  import { useAuthStore } from "../../stores/AuthStore";
95
92
  import { computed } from "vue";
@@ -20,12 +20,12 @@
20
20
 
21
21
  <div class="w-100 mb-2">
22
22
  <img
23
- v-lazy="useProxyImageUrl(emission.imageUrl, '250')"
23
+ loading="lazy"
24
+ :src="useProxyImageUrl(emission.imageUrl, '250')"
24
25
  width="250"
25
26
  height="250"
26
27
  aria-hidden="true"
27
28
  alt=""
28
- :title="t('Emission name image', { name })"
29
29
  class="img-box img-box-podcast mb-3 flex-column justify-content-start align-items-start position-relative flex-shrink-0 float-start me-3"
30
30
  >
31
31
 
@@ -94,6 +94,7 @@
94
94
  <SubscribeButtons
95
95
  v-if="isPodcastmaker"
96
96
  class="mt-4"
97
+ :mono="state.emissionPage.monoSubscribeButtons"
97
98
  :content="emission"
98
99
  :window-width="1000"
99
100
  :justify-center="false"
@@ -1,5 +1,9 @@
1
1
  <template>
2
2
  <section v-if="isInit" class="page-box">
3
+ <!-- Hidden title, for RGAA compliance (criterion 9.1: each page must have a h1) -->
4
+ <h1 class="visually-hidden">
5
+ {{ $t('Emissions') }}
6
+ </h1>
3
7
  <slot name="new-emission" />
4
8
  <ProductorSearch
5
9
  v-if="state.emissionsPage?.hideSearch !== true"
@@ -6,7 +6,8 @@
6
6
  </h1>
7
7
  <section class="d-flex flex-column align-items-center mb-3">
8
8
  <img
9
- v-lazy="useProxyImageUrl(participant.imageUrl, '200')"
9
+ loading="lazy"
10
+ :src="useProxyImageUrl(participant.imageUrl, '200')"
10
11
  width="200"
11
12
  height="200"
12
13
  aria-hidden="true"
@@ -1,75 +1,80 @@
1
1
  <template>
2
- <section class="page-box">
3
- <template v-if="loaded && !error && playlist">
4
- <PodcastmakerHeader
5
- v-if="isPodcastmaker"
6
- :page-title="pageTitle"
7
- :img-url="playlist.imageUrl"
8
- />
9
- <div
10
- class="d-flex flex-column page-element"
11
- :class="isPodcastmaker ? 'page-element-podcastmaker' : ''"
12
- >
13
- <section class="module-box">
14
- <slot
15
- v-if="editRight && !isPodcastmaker"
16
- name="edit-box"
17
- :playlist="playlist"
18
- />
19
-
20
- <div class="mb-5 mt-3 description-text">
21
- <img
22
- v-lazy="useProxyImageUrl(playlist.imageUrl, '250')"
23
- width="250"
24
- height="250"
25
- aria-hidden="true"
26
- alt=""
27
- :title="t('Playlist name image', { name: name })"
28
- class="img-box float-start me-3 mb-3"
2
+ <section class="page-box">
3
+ <template v-if="loaded && !error && playlist">
4
+ <PodcastmakerHeader
5
+ v-if="isPodcastmaker"
6
+ :page-title="pageTitle"
7
+ :img-url="playlist.imageUrl"
29
8
  />
30
- <div class="d-flex align-items-center justify-content-between">
31
- <h2>{{ name }}</h2>
32
- <ShareAnonymous v-if="!editRight" class="d-flex justify-content-end flex-grow-1" :playlist="playlist" :organisation-id="playlist.organisation?.id"/>
9
+ <div
10
+ class="d-flex flex-column page-element"
11
+ :class="isPodcastmaker ? 'page-element-podcastmaker' : ''"
12
+ >
13
+ <section class="module-box">
14
+ <slot
15
+ v-if="editRight && !isPodcastmaker"
16
+ name="edit-box"
17
+ :playlist="playlist"
18
+ />
19
+
20
+ <div class="mb-5 mt-3 description-text">
21
+ <img
22
+ loading="lazy"
23
+ :src="useProxyImageUrl(playlist.imageUrl, '250')"
24
+ width="250"
25
+ height="250"
26
+ aria-hidden="true"
27
+ alt=""
28
+ class="img-box float-start me-3 mb-3"
29
+ >
30
+ <div class="d-flex align-items-center justify-content-between">
31
+ <h2>{{ name }}</h2>
32
+ <ShareAnonymous
33
+ v-if="!editRight"
34
+ class="d-flex justify-content-end flex-grow-1"
35
+ :playlist="playlist"
36
+ :organisation-id="playlist.organisation?.id"
37
+ />
38
+ </div>
39
+ <!-- eslint-disable vue/no-v-html -->
40
+ <p class="html-wysiwyg-content" v-html="urlify(description)" />
41
+ <!-- eslint-enable -->
42
+ </div>
43
+ <SubscribeButtons
44
+ v-if="isPodcastmaker"
45
+ class="mt-4"
46
+ :content="playlist"
47
+ :window-width="1000"
48
+ :justify-center="false"
49
+ />
50
+ </section>
51
+ <SharePlayer
52
+ v-if="!isPodcastmaker && editRight"
53
+ :playlist="playlist"
54
+ :organisation-id="authOrgaId"
55
+ />
56
+ <ShareSocialsButtons
57
+ v-if="state.podcastPage.ShareButtons"
58
+ :organisation-id="playlist.organisation.id"
59
+ />
60
+ <section class="module-box">
61
+ <PodcastList
62
+ v-if="isInit"
63
+ v-model:query="searchPattern"
64
+ :first="paginateFirst"
65
+ :size="ps"
66
+ :playlist="playlist"
67
+ />
68
+ </section>
33
69
  </div>
34
- <!-- eslint-disable vue/no-v-html -->
35
- <p class="html-wysiwyg-content" v-html="urlify(description)" />
36
- <!-- eslint-enable -->
37
- </div>
38
- <SubscribeButtons
39
- v-if="isPodcastmaker"
40
- class="mt-4"
41
- :content="playlist"
42
- :window-width="1000"
43
- :justify-center="false"
44
- />
45
- </section>
46
- <SharePlayer
47
- v-if="!isPodcastmaker && editRight"
48
- :playlist="playlist"
49
- :organisation-id="authOrgaId"
50
- />
51
- <ShareSocialsButtons
52
- v-if="state.podcastPage.ShareButtons"
53
- :organisation-id="playlist.organisation.id"
70
+
71
+ <slot name="bottom" v-bind="{ playlist }" />
72
+ </template>
73
+ <ClassicLoading
74
+ :loading-text="!loaded ? t('Loading content ...') : undefined"
75
+ :error-text="error ? t(`Playlist doesn't exist`) : undefined"
54
76
  />
55
- <section class="module-box">
56
- <PodcastList
57
- v-if="isInit"
58
- v-model:query="searchPattern"
59
- :first="paginateFirst"
60
- :size="ps"
61
- :playlist="playlist"
62
- />
63
- </section>
64
- </div>
65
-
66
- <slot name="bottom" v-bind="{ playlist }" />
67
- </template>
68
- <ClassicLoading
69
- :loading-text="!loaded ? t('Loading content ...') : undefined"
70
- :error-text="error ? t(`Playlist doesn't exist`) : undefined"
71
- />
72
- </section>
77
+ </section>
73
78
  </template>
74
79
 
75
80
  <script setup lang="ts">
@@ -94,23 +99,23 @@ import { playlistApi } from "../../api/playlistApi";
94
99
 
95
100
  import SubscribeButtons from "../display/sharing/SubscribeButtons.vue";
96
101
  const ShareSocialsButtons = defineAsyncComponent(
97
- () => import("../display/sharing/ShareSocialsButtons.vue"),
102
+ () => import("../display/sharing/ShareSocialsButtons.vue"),
98
103
  );
99
104
  const SharePlayer = defineAsyncComponent(
100
- () => import("../display/sharing/SharePlayer.vue"),
105
+ () => import("../display/sharing/SharePlayer.vue"),
101
106
  );
102
107
  const PodcastmakerHeader = defineAsyncComponent(
103
- () => import("../display/podcastmaker/PodcastmakerHeader.vue"),
108
+ () => import("../display/podcastmaker/PodcastmakerHeader.vue"),
104
109
  );
105
110
  const ShareAnonymous = defineAsyncComponent(() => import("../display/sharing/ShareAnonymous.vue"));
106
111
 
107
112
 
108
113
  //Props
109
114
  const props = defineProps({
110
- playlistId: { default: undefined, type: Number },
111
- pr: { default: 0, type: Number },
112
- ps: { default: 30, type: Number },
113
- routeQuery: { default: "", type: String },
115
+ playlistId: { default: undefined, type: Number },
116
+ pr: { default: 0, type: Number },
117
+ ps: { default: 30, type: Number },
118
+ routeQuery: { default: "", type: String },
114
119
  });
115
120
 
116
121
 
@@ -131,27 +136,27 @@ const authStore = useAuthStore();
131
136
  const filterStore = useFilterStore();
132
137
  const generalStore = useGeneralStore();
133
138
  const {
134
- searchPattern,
135
- paginateFirst,
136
- isInit
139
+ searchPattern,
140
+ paginateFirst,
141
+ isInit
137
142
  } = useSimplePageParam(props, true);
138
143
 
139
144
 
140
145
  //Computed
141
146
  const playlistRadio = computed(() =>{
142
- return (
143
- "AMBIANCE" === playlist.value?.ambianceType ||
144
- "AMBIANCE_PROGRAMMED" === playlist.value?.ambianceType
145
- );
147
+ return (
148
+ "AMBIANCE" === playlist.value?.ambianceType ||
149
+ "AMBIANCE_PROGRAMMED" === playlist.value?.ambianceType
150
+ );
146
151
  });
147
152
  const pageTitle = computed(() =>playlistRadio.value? t("Mix of episodes"): t("Playlist"));
148
153
  const name = computed(() =>playlist.value?.title ?? "");
149
154
  const description = computed(() =>playlist.value?.description ?? "");
150
155
  const editRight = computed(() =>{
151
- return isEditRights(
152
- playlist.value?.organisation?.id,
153
- authStore.isRolePlaylists,
154
- );
156
+ return isEditRights(
157
+ playlist.value?.organisation?.id,
158
+ authStore.isRolePlaylists,
159
+ );
155
160
  });
156
161
 
157
162
 
@@ -160,40 +165,40 @@ watch(()=>props.playlistId, () => {getPlaylistDetails()}, {immediate: true});
160
165
 
161
166
 
162
167
  onBeforeUnmount(() => {
163
- generalStore.contentToDisplayUpdate(null);
168
+ generalStore.contentToDisplayUpdate(null);
164
169
  });
165
170
 
166
171
 
167
172
  //Methods
168
173
  function urlify(text:string|undefined){
169
- return displayHelper.urlify(text);
174
+ return displayHelper.urlify(text);
170
175
  }
171
176
  function initError(): void {
172
- error.value = true;
173
- loaded.value = true;
177
+ error.value = true;
178
+ loaded.value = true;
174
179
  }
175
180
  async function getPlaylistDetails(): Promise<void> {
176
- try {
177
- loaded.value = false;
178
- error.value = false;
179
- playlist.value = await playlistApi.get(props.playlistId);
180
- filterStore.updateOrgaIfNecessary(playlist.value.organisation?.id);
181
- if (
182
- (!editRight.value && playlistRadio.value) ||
183
- ("PUBLIC" !== playlist.value.organisation?.privacy &&
184
- filterStore.filterOrgaId !== playlist.value.organisation?.id &&
185
- route.query.productor !== playlist.value.organisation?.id)
186
- ) {
187
- initError();
188
- return;
181
+ try {
182
+ loaded.value = false;
183
+ error.value = false;
184
+ playlist.value = await playlistApi.get(props.playlistId);
185
+ filterStore.updateOrgaIfNecessary(playlist.value.organisation?.id);
186
+ if (
187
+ (!editRight.value && playlistRadio.value) ||
188
+ ("PUBLIC" !== playlist.value.organisation?.privacy &&
189
+ filterStore.filterOrgaId !== playlist.value.organisation?.id &&
190
+ route.query.productor !== playlist.value.organisation?.id)
191
+ ) {
192
+ initError();
193
+ return;
194
+ }
195
+ generalStore.contentToDisplayUpdate(playlist.value);
196
+ updatePathParams(playlist.value.title);
197
+ } catch (error) {
198
+ handle403(error as AxiosError);
199
+ initError();
189
200
  }
190
- generalStore.contentToDisplayUpdate(playlist.value);
191
- updatePathParams(playlist.value.title);
192
- } catch (error) {
193
- handle403(error as AxiosError);
194
- initError();
195
- }
196
- loaded.value = true;
201
+ loaded.value = true;
197
202
  }
198
203
 
199
204
  </script>
@@ -45,12 +45,14 @@
45
45
  :title="t('More episodes of this emission')"
46
46
  :button-text="t('All podcast emission button')"
47
47
  title-tag="h3"
48
+ podcast-title-tag="h4"
48
49
  />
49
50
  <section v-if="!hideSuggestions">
50
51
  <ClassicLazy :min-height="550">
51
52
  <PodcastInlineList
52
53
  class="mt-4"
53
54
  title-tag="h3"
55
+ podcast-title-tag="h4"
54
56
  :organisation-id="[podcast.organisation.id]"
55
57
  :podcast-id="podcastId"
56
58
  :title="t('Suggested listening')"
@@ -60,6 +62,7 @@
60
62
  <PodcastInlineList
61
63
  class="mt-4"
62
64
  title-tag="h3"
65
+ podcast-title-tag="h4"
63
66
  :iab-id="c.id"
64
67
  :href="'/main/pub/category/' + c.id"
65
68
  :title="t('More episodes of this category : ', { name: c.name })"
@@ -1,5 +1,9 @@
1
1
  <template>
2
2
  <section v-if="isInit" class="page-box">
3
+ <!-- Hidden title, for RGAA compliance (criterion 9.1: each page must have a h1) -->
4
+ <h1 class="visually-hidden">
5
+ {{ $t('Podcasts') }}
6
+ </h1>
3
7
  <ProductorSearch
4
8
  v-if="state.podcastsPage?.hideSearch !== true"
5
9
  v-model:organisation-id="organisationId"
@@ -12,6 +12,7 @@
12
12
  :organisation-id="orgaArray"
13
13
  :query="searchMinSize"
14
14
  :sort-criteria="sortOrder ?? 'DATE'"
15
+ podcast-title-tag="h2"
15
16
  />
16
17
  </section>
17
18
  </template>
@@ -9,7 +9,8 @@
9
9
  <div class="content">
10
10
  <div class="left">
11
11
  <img
12
- v-lazy="useProxyImageUrl(element.imageUrl, '250')"
12
+ loading="lazy"
13
+ :src="useProxyImageUrl(element.imageUrl, '250')"
13
14
  width="250"
14
15
  height="250"
15
16
  class="img-box"
@@ -67,22 +68,23 @@
67
68
 
68
69
  <!-- Footer -->
69
70
  <div class="footer">
70
- <a target="_blank" href="/">
71
+ <ExternalLink href="/" hide-icon>
71
72
  <span>{{ $t('SmartLink - Made by') }}</span>
72
73
  <img
73
74
  src="/img/logo_saooti_play_black.svg"
75
+ alt="Saooti Play"
74
76
  height="24"
75
77
  class="ms-2"
76
78
  >
77
- </a>
78
- <a
79
+ </ExternalLink>
80
+ <ExternalLink
79
81
  v-if="podcastmakerElementUrl"
80
- target="_blank"
81
82
  :href="podcastmakerElementUrl"
83
+ hide-icon
82
84
  >
83
85
  <span v-if="playlistId">{{ $t('SmartLink - To playlist on podcastmaker', { organisation: organisation.name }) }}</span>
84
86
  <span v-else-if="emissionId">{{ $t('SmartLink - To emission on podcastmaker', { organisation: organisation.name }) }}</span>
85
- </a>
87
+ </ExternalLink>
86
88
  </div>
87
89
  </article>
88
90
  </template>
@@ -92,7 +94,8 @@ import { computed, onMounted, ref } from 'vue';
92
94
  import { useSeoTitleUrl } from '../composable/route/useSeoTitleUrl';
93
95
 
94
96
  import PlayIcon from "vue-material-design-icons/Play.vue";
95
- import ClassicNotifications from '../misc/ClassicNotifications.vue';
97
+ import ClassicNotifications from '../misc/ClassicNotifications.vue';
98
+ import ExternalLink from '../misc/ExternalLink.vue';
96
99
 
97
100
  import { Emission } from '../../stores/class/general/emission';
98
101
  import { Playlist } from '../../stores/class/general/playlist';
@@ -1,15 +1,21 @@
1
1
  <template>
2
- <TopBar/>
3
- <main role="main">
4
- <CategoryFilter v-if="firstDisplayCategoryFilter" />
5
- <div v-else class="category-filter-no-filter" />
6
- <router-view />
7
- <PlayerComponent />
8
- </main>
9
- <FooterOctopus />
2
+ <SkipToContent />
3
+ <TopBar />
4
+ <main
5
+ id="main-content"
6
+ role="main"
7
+ tabindex="-1"
8
+ >
9
+ <CategoryFilter v-if="firstDisplayCategoryFilter" />
10
+ <div v-else class="category-filter-no-filter" />
11
+ <router-view />
12
+ <PlayerComponent />
13
+ </main>
14
+ <FooterOctopus />
10
15
  </template>
11
16
 
12
17
  <script setup lang="ts">
18
+ import SkipToContent from "@/components/misc/SkipToContent.vue";
13
19
  import TopBar from "@/components/misc/TopBar.vue";
14
20
  import FooterOctopus from "@/components/misc/FooterSection.vue";
15
21
  import PlayerComponent from "@/components/misc/player/PlayerComponent.vue";
@@ -17,7 +23,7 @@ import { defineAsyncComponent, ref, watch } from "vue";
17
23
  import { useRoute } from "vue-router";
18
24
 
19
25
  const CategoryFilter = defineAsyncComponent(
20
- () => import("@/components/display/categories/CategoryFilter.vue"),
26
+ () => import("@/components/display/categories/CategoryFilter.vue"),
21
27
  );
22
28
 
23
29
  //Data
@@ -28,20 +34,20 @@ const route = useRoute();
28
34
 
29
35
  //Watch
30
36
  watch(route, async () => {
31
- if (firstDisplayCategoryFilter.value) {
32
- return;
33
- }
34
- const namesRouteWithCategoryFilter = [
35
- "homePriv",
36
- "home",
37
- "podcasts",
38
- "emissions",
39
- "participants",
40
- "playlists",
41
- ];
42
- firstDisplayCategoryFilter.value = namesRouteWithCategoryFilter.includes(
43
- route.name?.toString() ?? "",
44
- );
37
+ if (firstDisplayCategoryFilter.value) {
38
+ return;
39
+ }
40
+ const namesRouteWithCategoryFilter = [
41
+ "homePriv",
42
+ "home",
43
+ "podcasts",
44
+ "emissions",
45
+ "participants",
46
+ "playlists",
47
+ ];
48
+ firstDisplayCategoryFilter.value = namesRouteWithCategoryFilter.includes(
49
+ route.name?.toString() ?? "",
50
+ );
45
51
  }, {immediate: true});
46
52
 
47
53
  //Methods
@@ -455,5 +455,22 @@
455
455
  "RightsScopeSelector - Clear filter": "Fokus entfernen",
456
456
  "Apple podcast - Error - Undefined": "Es war nicht möglich, diesen Podcast als Video auf ApplePodcast zu veröffentlichen (Status: {status})",
457
457
  "Apple podcast - Info - HLS_NOT_READY": "Der Podcast ist noch nicht als Video auf ApplePodcast verfügbar, er sollte in wenigen Minuten verfügbar sein",
458
- "Filters - Only my episodes": "Nur Episoden anzeigen"
458
+ "Filters - Only my episodes": "Nur Episoden anzeigen",
459
+ "Skip to content": "Zum Inhalt gehen",
460
+ "SubscribeButtons - Open": "Öffnen Sie die {open} Seite von „{name}“.",
461
+ "Generic - Continue": "Weitermachen",
462
+ "SwiperList - Show previous items": "Vorherige Artikel anzeigen",
463
+ "SwiperList - Show next items": "Zeigen Sie Folgendes",
464
+ "CommentSection - Status Indicator - Connected": "Verbunden, um Live-Feedback zu erhalten",
465
+ "CommentSection - Status Indicator - Connecting": "Verbinden...",
466
+ "CommentSection - Status Indicator - Disonnected": "Wenn die Verbindung unterbrochen ist, erhalten Sie keine Live-Kommentare",
467
+ "CommentSection - Status Indicator - Inactive": "Keine Verbindung für Live-Kommentare",
468
+ "ExternalLink - New window": "(neues Fenster)",
469
+ "SwiperList - Role": "Karussell",
470
+ "SwiperList - Visible items": "Elemente {first} bis {last} auf {count}",
471
+ "PodcastPlayButton - Play": "„{title}“ anhören, Dauer {duration}",
472
+ "PodcastPlayButton - Pause": "Pause „{title}“, Dauer {duration}",
473
+ "PodcastPlayButton - Play video": "Sehen Sie sich „{title}“ im Video an, Dauer {duration}",
474
+ "PodcastItem - Published on": "Veröffentlicht am",
475
+ "FormatSwitch - Format": "Dateiformat"
459
476
  }
@@ -455,5 +455,22 @@
455
455
  "RightsScopeSelector - Clear filter": "Remove focus",
456
456
  "Apple podcast - Error - Undefined": "It was not possible to publish this podcast as video on ApplePodcast (status: {status})",
457
457
  "Apple podcast - Info - HLS_NOT_READY": "The podcast is not yet available in video on ApplePodcast, it should be available in a few minutes",
458
- "Filters - Only my episodes": "Show only episodes"
458
+ "Filters - Only my episodes": "Show only episodes",
459
+ "Skip to content": "Go to content",
460
+ "SubscribeButtons - Open": "Open {open} page of '{name}'",
461
+ "Generic - Continue": "Continue",
462
+ "SwiperList - Show previous items": "Show previous items",
463
+ "SwiperList - Show next items": "Show the following",
464
+ "CommentSection - Status Indicator - Connected": "Connected to receive live feedback",
465
+ "CommentSection - Status Indicator - Connecting": "Connecting...",
466
+ "CommentSection - Status Indicator - Disonnected": "Disconnected, you will not receive live comments",
467
+ "CommentSection - Status Indicator - Inactive": "No connection for live commentary",
468
+ "ExternalLink - New window": "(new window)",
469
+ "SwiperList - Role": "carousel",
470
+ "SwiperList - Visible items": "Elements {first} to {last} on {count}",
471
+ "PodcastPlayButton - Play": "Listen to “{title}”, duration {duration}",
472
+ "PodcastPlayButton - Pause": "Pause “{title}”, duration {duration}",
473
+ "PodcastPlayButton - Play video": "Watch “{title}” on video, duration {duration}",
474
+ "PodcastItem - Published on": "Published on",
475
+ "FormatSwitch - Format": "File format"
459
476
  }