@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
@@ -1,10 +1,10 @@
1
- import { C as e, T as t } from "./AuthStore-BBZTjLTf.mjs";
2
- import { t as n } from "./ListPaginate-BYBfYtD5.mjs";
3
- import { t as r } from "./useErrorHandler-BVeBrWmP.mjs";
4
- import { t as i } from "./useSimplePageParam-3Nn8EFc0.mjs";
1
+ import { t as e } from "./ListPaginate-DMir5lKe.mjs";
2
+ import { C as t, T as n } from "./AuthStore-BdiVUQBK.mjs";
3
+ import { t as r } from "./useErrorHandler-BPwwQKrG.mjs";
4
+ import { t as i } from "./useSimplePageParam-DaoVpYoG.mjs";
5
5
  import { t as a } from "./ClassicLazy-CDhWc5-4.mjs";
6
- import { t as o } from "./ProductorSearch-DiKNztPx.mjs";
7
- import { t as s } from "./ParticipantItem-CRnquj4R.mjs";
6
+ import { t as o } from "./ProductorSearch-hTTU45pI.mjs";
7
+ import { t as s } from "./ParticipantItem-1fs3gVfe.mjs";
8
8
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, isRef as _, onBeforeMount as v, openBlock as y, ref as b, renderList as x, resolveComponent as S, toDisplayString as C, unref as w, watch as T, withCtx as E } from "vue";
9
9
  import { useI18n as D } from "vue-i18n";
10
10
  //#region src/stores/class/general/participant.ts
@@ -42,20 +42,20 @@ var k = { class: "octopus-element-list" }, A = /* @__PURE__ */ g({
42
42
  }
43
43
  },
44
44
  setup(i) {
45
- let o = i, g = b(!0), _ = b(o.first), A = b(o.size), j = b(0), M = b(0), N = b(!1), P = b([]), { t: F } = D(), { handle403: I } = r(), L = t(), R = l(() => o.organisationId ? o.organisationId : L.filterOrgaId), z = l(() => N.value ? P.value : P.value.slice(_.value, Math.min(_.value + A.value, j.value))), B = l(() => `${o.first}|${o.size}`), V = l(() => o.query ? "SCORE" : "NAME");
45
+ let o = i, g = b(!0), _ = b(o.first), A = b(o.size), j = b(0), M = b(0), N = b(!1), P = b([]), { t: F } = D(), { handle403: I } = r(), L = n(), R = l(() => o.organisationId ? o.organisationId : L.filterOrgaId), z = l(() => N.value ? P.value : P.value.slice(_.value, Math.min(_.value + A.value, j.value))), B = l(() => `${o.first}|${o.size}`), V = l(() => o.query ? "SCORE" : "NAME");
46
46
  T(B, () => {
47
47
  _.value = o.first, A.value = o.size;
48
48
  }), T(() => o.query, () => H(!0)), T(R, () => H(!0)), T(A, () => H(!0)), T(_, () => {
49
49
  (!P.value[_.value] || P.value[_.value].participantId === 0) && H(!1);
50
50
  }), v(() => H(!1));
51
- async function H(t) {
51
+ async function H(e) {
52
52
  g.value = !0;
53
53
  try {
54
- let n = await e.fetchData({
54
+ let n = await t.fetchData({
55
55
  api: 0,
56
56
  path: "participant/search",
57
57
  parameters: {
58
- first: t ? 0 : _.value,
58
+ first: e ? 0 : _.value,
59
59
  size: A.value,
60
60
  query: o.query,
61
61
  organisationId: R.value,
@@ -63,7 +63,7 @@ var k = { class: "octopus-element-list" }, A = /* @__PURE__ */ g({
63
63
  },
64
64
  specialTreatement: !0
65
65
  });
66
- if (t && (_.value = 0, P.value.length = 0), M.value = n.count, _.value > P.value.length) for (let e = P.value.length - 1, t = _.value + A.value; e < t; e++) P.value.push(O());
66
+ if (e && (_.value = 0, P.value.length = 0), M.value = n.count, _.value > P.value.length) for (let e = P.value.length - 1, t = _.value + A.value; e < t; e++) P.value.push(O());
67
67
  let r = n.result.filter((e) => (e === null && M.value--, e !== null));
68
68
  P.value = P.value.slice(0, _.value).concat(r).concat(P.value.slice(_.value + A.value, P.value.length)), j.value = n.count;
69
69
  } catch (e) {
@@ -71,16 +71,16 @@ var k = { class: "octopus-element-list" }, A = /* @__PURE__ */ g({
71
71
  }
72
72
  g.value = !1;
73
73
  }
74
- return (e, t) => {
74
+ return (t, n) => {
75
75
  let r = S("router-link");
76
- return y(), u(n, {
76
+ return y(), u(e, {
77
77
  id: "participantListPaginate",
78
78
  first: _.value,
79
- "onUpdate:first": t[0] ||= (e) => _.value = e,
79
+ "onUpdate:first": n[0] ||= (e) => _.value = e,
80
80
  "rows-per-page": A.value,
81
- "onUpdate:rowsPerPage": t[1] ||= (e) => A.value = e,
81
+ "onUpdate:rowsPerPage": n[1] ||= (e) => A.value = e,
82
82
  "is-mobile": N.value,
83
- "onUpdate:isMobile": t[2] ||= (e) => N.value = e,
83
+ "onUpdate:isMobile": n[2] ||= (e) => N.value = e,
84
84
  "text-count": i.showCount && M.value > 1 ? `${w(F)("Number participants", { nb: M.value })} ${w(F)("sort by score")}` : void 0,
85
85
  "total-count": j.value,
86
86
  loading: g.value,
@@ -1,6 +1,6 @@
1
- import { t as e } from "./AuthStore-BBZTjLTf.mjs";
1
+ import { t as e } from "./AuthStore-BdiVUQBK.mjs";
2
2
  import { t } from "./ClassicModal-Dl2IdzXZ.mjs";
3
- import { t as n } from "./SharePlayer-AeYTgJw6.mjs";
3
+ import { t as n } from "./SharePlayer-Ctivrvmn.mjs";
4
4
  import { createBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, openBlock as s, toDisplayString as c, unref as l, withCtx as u } from "vue";
5
5
  import { useI18n as d } from "vue-i18n";
6
6
  //#endregion
@@ -0,0 +1,130 @@
1
+ import { t as e } from "./ClassicLoading-ydEDL7-R.mjs";
2
+ import { T as t, h as n, j as r, t as i } from "./AuthStore-BdiVUQBK.mjs";
3
+ import { t as ee } from "./displayHelper-DQtoqc_6.mjs";
4
+ import { t as a } from "./useImageProxy-XMMC_IC2.mjs";
5
+ import { t as o } from "./GeneralStore-Darfv4af.mjs";
6
+ import { t as s } from "./useErrorHandler-BPwwQKrG.mjs";
7
+ import { t as te } from "./useSimplePageParam-DaoVpYoG.mjs";
8
+ import { t as c } from "./useSeoTitleUrl-UfPXDCPa.mjs";
9
+ import { t as l } from "./useOrgaComputed-B0wJ-ALx.mjs";
10
+ import { t as u } from "./PodcastList-Cww-0Swl.mjs";
11
+ import { t as d } from "./SubscribeButtons-DKylNvPo.mjs";
12
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, guardReactiveProps as ne, isRef as re, normalizeClass as ie, normalizeProps as ae, onBeforeUnmount as oe, openBlock as x, ref as S, renderSlot as C, toDisplayString as w, unref as T, watch as E } from "vue";
13
+ import { useI18n as D } from "vue-i18n";
14
+ import { useRoute as O } from "vue-router";
15
+ //#region src/components/pages/PlaylistPage.vue?vue&type=script&setup=true&lang.ts
16
+ var k = { class: "page-box" }, A = { class: "module-box" }, j = { class: "mb-5 mt-3 description-text" }, M = ["src"], N = { class: "d-flex align-items-center justify-content-between" }, P = ["innerHTML"], F = { class: "module-box" }, I = /* @__PURE__ */ b({
17
+ __name: "PlaylistPage",
18
+ props: {
19
+ playlistId: {
20
+ default: void 0,
21
+ type: Number
22
+ },
23
+ pr: {
24
+ default: 0,
25
+ type: Number
26
+ },
27
+ ps: {
28
+ default: 30,
29
+ type: Number
30
+ },
31
+ routeQuery: {
32
+ default: "",
33
+ type: String
34
+ }
35
+ },
36
+ setup(b) {
37
+ let I = y(() => import("./ShareSocialsButtons-MbK7ivGa.mjs")), L = y(() => import("./SharePlayer-Ctivrvmn.mjs").then((e) => e.n)), R = y(() => import("./PodcastmakerHeader-DJXLJTF6.mjs")), z = y(() => import("./ShareAnonymous-QT4t2_n7.mjs")), B = b, V = S(!1), H = S(!1), U = S(void 0), W = O(), { t: G } = D(), { useProxyImageUrl: K } = a(), { isPodcastmaker: q, isEditRights: se, authOrgaId: ce } = l(), { updatePathParams: le } = c(), { handle403: ue } = s(), de = i(), J = t(), Y = o(), { searchPattern: X, paginateFirst: fe, isInit: pe } = te(B, !0), Z = p(() => U.value?.ambianceType === "AMBIANCE" || U.value?.ambianceType === "AMBIANCE_PROGRAMMED"), me = p(() => Z.value ? G("Mix of episodes") : G("Playlist")), he = p(() => U.value?.title ?? ""), ge = p(() => U.value?.description ?? ""), Q = p(() => se(U.value?.organisation?.id, de.isRolePlaylists));
38
+ E(() => B.playlistId, () => {
39
+ ve();
40
+ }, { immediate: !0 }), oe(() => {
41
+ Y.contentToDisplayUpdate(null);
42
+ });
43
+ function _e(e) {
44
+ return ee.urlify(e);
45
+ }
46
+ function $() {
47
+ H.value = !0, V.value = !0;
48
+ }
49
+ async function ve() {
50
+ try {
51
+ if (V.value = !1, H.value = !1, U.value = await n.get(B.playlistId), J.updateOrgaIfNecessary(U.value.organisation?.id), !Q.value && Z.value || U.value.organisation?.privacy !== "PUBLIC" && J.filterOrgaId !== U.value.organisation?.id && W.query.productor !== U.value.organisation?.id) {
52
+ $();
53
+ return;
54
+ }
55
+ Y.contentToDisplayUpdate(U.value), le(U.value.title);
56
+ } catch (e) {
57
+ ue(e), $();
58
+ }
59
+ V.value = !0;
60
+ }
61
+ return (t, n) => (x(), g("section", k, [V.value && !H.value && U.value ? (x(), g(f, { key: 0 }, [
62
+ T(q) ? (x(), m(T(R), {
63
+ key: 0,
64
+ "page-title": me.value,
65
+ "img-url": U.value.imageUrl
66
+ }, null, 8, ["page-title", "img-url"])) : h("", !0),
67
+ _("div", { class: ie(["d-flex flex-column page-element", T(q) ? "page-element-podcastmaker" : ""]) }, [
68
+ _("section", A, [
69
+ Q.value && !T(q) ? C(t.$slots, "edit-box", { playlist: U.value }, void 0, void 0, 0) : h("", !0),
70
+ _("div", j, [
71
+ _("img", {
72
+ loading: "lazy",
73
+ src: T(K)(U.value.imageUrl, "250"),
74
+ width: "250",
75
+ height: "250",
76
+ "aria-hidden": "true",
77
+ alt: "",
78
+ class: "img-box float-start me-3 mb-3"
79
+ }, null, 8, M),
80
+ _("div", N, [_("h2", null, w(he.value), 1), Q.value ? h("", !0) : (x(), m(T(z), {
81
+ key: 0,
82
+ class: "d-flex justify-content-end flex-grow-1",
83
+ playlist: U.value,
84
+ "organisation-id": U.value.organisation?.id
85
+ }, null, 8, ["playlist", "organisation-id"]))]),
86
+ _("p", {
87
+ class: "html-wysiwyg-content",
88
+ innerHTML: _e(ge.value)
89
+ }, null, 8, P)
90
+ ]),
91
+ T(q) ? (x(), m(d, {
92
+ key: 1,
93
+ class: "mt-4",
94
+ content: U.value,
95
+ "window-width": 1e3,
96
+ "justify-center": !1
97
+ }, null, 8, ["content"])) : h("", !0)
98
+ ]),
99
+ !T(q) && Q.value ? (x(), m(T(L), {
100
+ key: 0,
101
+ playlist: U.value,
102
+ "organisation-id": T(ce)
103
+ }, null, 8, ["playlist", "organisation-id"])) : h("", !0),
104
+ T(r).podcastPage.ShareButtons ? (x(), m(T(I), {
105
+ key: 1,
106
+ "organisation-id": U.value.organisation.id
107
+ }, null, 8, ["organisation-id"])) : h("", !0),
108
+ _("section", F, [T(pe) ? (x(), m(u, {
109
+ key: 0,
110
+ query: T(X),
111
+ "onUpdate:query": n[0] ||= (e) => re(X) ? X.value = e : null,
112
+ first: T(fe),
113
+ size: b.ps,
114
+ playlist: U.value
115
+ }, null, 8, [
116
+ "query",
117
+ "first",
118
+ "size",
119
+ "playlist"
120
+ ])) : h("", !0)])
121
+ ], 2),
122
+ C(t.$slots, "bottom", ae(ne({ playlist: U.value })))
123
+ ], 64)) : h("", !0), v(e, {
124
+ "loading-text": V.value ? void 0 : T(G)("Loading content ..."),
125
+ "error-text": H.value ? T(G)("Playlist doesn't exist") : void 0
126
+ }, null, 8, ["loading-text", "error-text"])]));
127
+ }
128
+ });
129
+ //#endregion
130
+ export { I as default };
@@ -1,28 +1,34 @@
1
- import { C as e, T as t, j as n, t as r } from "./AuthStore-BBZTjLTf.mjs";
2
- import { t as i } from "./ListPaginate-BYBfYtD5.mjs";
1
+ import { t as e } from "./ListPaginate-DMir5lKe.mjs";
2
+ import { C as t, T as n, j as r, t as i } from "./AuthStore-BdiVUQBK.mjs";
3
3
  import { t as a } from "./displayHelper-DQtoqc_6.mjs";
4
- import { t as o } from "./useImageProxy-aLDjafm4.mjs";
5
- import { t as s } from "./useErrorHandler-BVeBrWmP.mjs";
6
- import { t as c } from "./useSimplePageParam-3Nn8EFc0.mjs";
4
+ import { t as o } from "./useImageProxy-XMMC_IC2.mjs";
5
+ import { t as s } from "./useErrorHandler-BPwwQKrG.mjs";
6
+ import { t as c } from "./useSimplePageParam-DaoVpYoG.mjs";
7
7
  import { n as l } from "./organisation-JgfYj1Jp.mjs";
8
8
  import { t as u } from "./ClassicLazy-CDhWc5-4.mjs";
9
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, isRef as x, onMounted as S, openBlock as C, ref as w, renderList as T, resolveComponent as E, resolveDirective as D, toDisplayString as O, unref as k, useTemplateRef as A, watch as j, withCtx as M, withDirectives as N } from "vue";
10
- import { useI18n as P } from "vue-i18n";
9
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineAsyncComponent as y, defineComponent as b, isRef as x, onMounted as S, openBlock as C, ref as w, renderList as T, resolveComponent as E, resolveDynamicComponent as D, toDisplayString as O, unref as k, useTemplateRef as A, watch as j, withCtx as M } from "vue";
10
+ import { useI18n as N } from "vue-i18n";
11
11
  //#region src/components/display/playlist/PlaylistItem.vue?vue&type=script&setup=true&lang.ts
12
- var F = { class: "classic-element-container" }, I = { class: "classic-element-text" }, L = {
12
+ var P = { class: "classic-element-container" }, F = { class: "classic-element-content d-flex flex-grow-1 text-dark" }, I = { class: "classic-element-text" }, L = {
13
13
  key: 0,
14
14
  class: "sticker-empty-ressource"
15
- }, R = { class: "d-flex align-items-center element-name basic-line-clamp" }, z = {
15
+ }, R = {
16
16
  ref: "descriptionPlaylistContainer",
17
17
  class: "element-description html-wysiwyg-content"
18
- }, B = ["innerHTML"], V = ["title"], H = /* @__PURE__ */ b({
18
+ }, z = ["innerHTML"], B = ["src"], V = /* @__PURE__ */ b({
19
19
  __name: "PlaylistItem",
20
- props: { playlist: {
21
- default: () => ({}),
22
- type: Object
23
- } },
20
+ props: {
21
+ playlist: {
22
+ default: () => ({}),
23
+ type: Object
24
+ },
25
+ titleTag: {
26
+ default: "h3",
27
+ type: String
28
+ }
29
+ },
24
30
  setup(e) {
25
- let t = e, { t: r } = P(), { useProxyImageUrl: i } = o(), s = f(() => t.playlist.description ?? ""), c = f(() => t.playlist.title ?? ""), l = f(() => Object.keys(t.playlist.samplingViews ?? []).length !== 0);
31
+ let t = e, { t: n } = N(), { useProxyImageUrl: i } = o(), s = f(() => t.playlist.description ?? ""), c = f(() => t.playlist.title ?? ""), l = f(() => Object.keys(t.playlist.samplingViews ?? []).length !== 0);
26
32
  S(() => {
27
33
  let e = A("descriptionPlaylist")?.value, t = A("descriptionPlaylistContainer")?.value;
28
34
  e?.clientHeight > t?.clientHeight && t.classList.add("after-element-description");
@@ -31,49 +37,53 @@ var F = { class: "classic-element-container" }, I = { class: "classic-element-te
31
37
  return a.urlify(e);
32
38
  }
33
39
  return (t, a) => {
34
- let o = E("router-link"), d = D("lazy");
35
- return C(), h("article", F, [v(o, {
36
- to: {
37
- name: "playlist",
38
- params: { playlistId: e.playlist.playlistId }
39
- },
40
- title: k(r)("Playlist name page", { name: c.value }),
41
- class: "d-flex flex-grow-1 text-dark"
42
- }, {
43
- default: M(() => [g("div", I, [
44
- l.value ? m("", !0) : (C(), h("div", L, O(k(r)("Empty playlist")), 1)),
45
- g("div", R, O(c.value), 1),
46
- g("div", z, [g("div", {
47
- ref: "descriptionPlaylist",
48
- innerHTML: u(s.value)
49
- }, null, 8, B)], 512),
50
- !k(n).generalParameters.podcastmaker && e.playlist.organisation ? (C(), p(o, {
51
- key: 1,
40
+ let o = E("router-link");
41
+ return C(), h("article", P, [g("div", F, [g("div", I, [
42
+ l.value ? m("", !0) : (C(), h("div", L, O(k(n)("Empty playlist")), 1)),
43
+ (C(), p(D(e.titleTag), { class: "d-flex align-items-center element-name basic-line-clamp" }, {
44
+ default: M(() => [v(o, {
52
45
  to: {
53
- name: "productor",
54
- params: { productorId: e.playlist.organisation.id }
46
+ name: "playlist",
47
+ params: { playlistId: e.playlist.playlistId }
55
48
  },
56
- class: "text-dark mt-auto py-1"
49
+ title: k(n)("Playlist name page", { name: c.value }),
50
+ class: "text-dark element-link"
57
51
  }, {
58
- default: M(() => [_(" © " + O(e.playlist.organisation.name), 1)]),
52
+ default: M(() => [_(O(c.value), 1)]),
59
53
  _: 1
60
- }, 8, ["to"])) : m("", !0)
61
- ]), N(g("img", {
62
- width: "250",
63
- height: "250",
64
- "aria-hidden": "true",
65
- alt: "",
66
- title: k(r)("Playlist name image", { name: c.value }),
67
- class: "img-box"
68
- }, null, 8, V), [[d, k(i)(e.playlist.imageUrl, "250")]])]),
69
- _: 1
70
- }, 8, ["to", "title"])]);
54
+ }, 8, ["to", "title"])]),
55
+ _: 1
56
+ })),
57
+ g("div", R, [g("div", {
58
+ ref: "descriptionPlaylist",
59
+ innerHTML: u(s.value)
60
+ }, null, 8, z)], 512),
61
+ !k(r).generalParameters.podcastmaker && e.playlist.organisation ? (C(), p(o, {
62
+ key: 1,
63
+ to: {
64
+ name: "productor",
65
+ params: { productorId: e.playlist.organisation.id }
66
+ },
67
+ class: "text-dark mt-auto py-1"
68
+ }, {
69
+ default: M(() => [_(" © " + O(e.playlist.organisation.name), 1)]),
70
+ _: 1
71
+ }, 8, ["to"])) : m("", !0)
72
+ ]), g("img", {
73
+ loading: "lazy",
74
+ src: k(i)(e.playlist.imageUrl, "250"),
75
+ width: "250",
76
+ height: "250",
77
+ "aria-hidden": "true",
78
+ alt: "",
79
+ class: "img-box"
80
+ }, null, 8, B)])]);
71
81
  };
72
82
  }
73
83
  });
74
84
  //#endregion
75
85
  //#region src/stores/class/general/playlist.ts
76
- function U() {
86
+ function H() {
77
87
  return {
78
88
  ambianceType: "NONE",
79
89
  description: "",
@@ -88,7 +98,7 @@ function U() {
88
98
  }
89
99
  //#endregion
90
100
  //#region src/components/display/playlist/PlaylistList.vue?vue&type=script&setup=true&lang.ts
91
- var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b({
101
+ var U = { class: "octopus-element-list two-items-list" }, W = /* @__PURE__ */ b({
92
102
  __name: "PlaylistList",
93
103
  props: {
94
104
  first: {
@@ -108,25 +118,25 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
108
118
  type: String
109
119
  }
110
120
  },
111
- setup(n) {
112
- let r = n, a = w(!0), o = w(r.first), c = w(r.size), l = w(0), y = w(0), b = w(!1), x = w([]), { t: D } = P(), { handle403: A } = s(), N = t(), F = f(() => b.value ? x.value : x.value.slice(o.value, Math.min(o.value + c.value, l.value))), I = f(() => `${r.organisationId}|${r.query}`), L = f(() => `${r.first}|${r.size}`), R = f(() => r.query ? "SCORE" : "NAME"), z = f(() => r.organisationId ? r.organisationId : N.filterOrgaId);
121
+ setup(r) {
122
+ let i = r, a = w(!0), o = w(i.first), c = w(i.size), l = w(0), y = w(0), b = w(!1), x = w([]), { t: D } = N(), { handle403: A } = s(), P = n(), F = f(() => b.value ? x.value : x.value.slice(o.value, Math.min(o.value + c.value, l.value))), I = f(() => `${i.organisationId}|${i.query}`), L = f(() => `${i.first}|${i.size}`), R = f(() => i.query ? "SCORE" : "NAME"), z = f(() => i.organisationId ? i.organisationId : P.filterOrgaId);
113
123
  j(L, () => {
114
- o.value = r.first, c.value = r.size;
124
+ o.value = i.first, c.value = i.size;
115
125
  }), j(I, () => B(!0)), j(c, () => B(!0)), j(o, () => {
116
126
  (!x.value[o.value] || x.value[o.value].playlistId === 0) && B(!1);
117
127
  }), S(() => B(!1));
118
- async function B(t) {
128
+ async function B(e) {
119
129
  a.value = !0;
120
130
  let n = {
121
- first: t ? 0 : o.value,
131
+ first: e ? 0 : o.value,
122
132
  size: c.value,
123
- query: r.query,
133
+ query: i.query,
124
134
  organisationId: z.value,
125
135
  type: "NONE",
126
136
  sort: R.value
127
137
  };
128
138
  try {
129
- V(t, await e.fetchData({
139
+ W(e, await t.fetchData({
130
140
  api: 0,
131
141
  path: "playlist/search",
132
142
  parameters: n,
@@ -136,34 +146,34 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
136
146
  A(e);
137
147
  }
138
148
  }
139
- function V(e, t) {
140
- if (e && (o.value = 0, x.value.length = 0), o.value > x.value.length) for (let e = x.value.length - 1, t = o.value + c.value; e < t; e++) x.value.push(U());
149
+ function W(e, t) {
150
+ if (e && (o.value = 0, x.value.length = 0), o.value > x.value.length) for (let e = x.value.length - 1, t = o.value + c.value; e < t; e++) x.value.push(H());
141
151
  y.value = t.count;
142
152
  let n = t.result.filter((e) => (e === null && y.value--, e !== null));
143
153
  x.value = x.value.slice(0, o.value).concat(n).concat(x.value.slice(o.value + c.value, x.value.length)), l.value = t.count, a.value = !1;
144
154
  }
145
- return (e, t) => {
146
- let n = E("router-link");
147
- return C(), p(i, {
155
+ return (t, n) => {
156
+ let r = E("router-link");
157
+ return C(), p(e, {
148
158
  id: "playlistListPaginate",
149
159
  first: o.value,
150
- "onUpdate:first": t[0] ||= (e) => o.value = e,
160
+ "onUpdate:first": n[0] ||= (e) => o.value = e,
151
161
  "rows-per-page": c.value,
152
- "onUpdate:rowsPerPage": t[1] ||= (e) => c.value = e,
162
+ "onUpdate:rowsPerPage": n[1] ||= (e) => c.value = e,
153
163
  "is-mobile": b.value,
154
- "onUpdate:isMobile": t[2] ||= (e) => b.value = e,
164
+ "onUpdate:isMobile": n[2] ||= (e) => b.value = e,
155
165
  "text-count": y.value > 1 ? `${k(D)("Number playlists", { nb: y.value })}` : void 0,
156
166
  "total-count": l.value,
157
167
  loading: a.value,
158
168
  "loading-text": a.value ? k(D)("Loading content ...") : void 0,
159
169
  "player-responsive": !0
160
170
  }, {
161
- list: M(() => [g("div", W, [(C(!0), h(d, null, T(F.value, (e) => (C(), p(u, {
171
+ list: M(() => [g("div", U, [(C(!0), h(d, null, T(F.value, (e) => (C(), p(u, {
162
172
  key: e.playlistId,
163
173
  "min-height": 250,
164
174
  class: "d-flex flex-column flex-grow-1"
165
175
  }, {
166
- preview: M(() => [v(n, {
176
+ preview: M(() => [g("h2", null, [v(r, {
167
177
  to: {
168
178
  name: "playlist",
169
179
  params: { playlistId: e.playlistId }
@@ -172,10 +182,11 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
172
182
  }, {
173
183
  default: M(() => [_(O(e.title), 1)]),
174
184
  _: 2
175
- }, 1032, ["to", "title"])]),
176
- default: M(() => [e.playlistId === 0 ? m("", !0) : (C(), p(H, {
185
+ }, 1032, ["to", "title"])])]),
186
+ default: M(() => [e.playlistId === 0 ? m("", !0) : (C(), p(V, {
177
187
  key: 0,
178
- playlist: e
188
+ playlist: e,
189
+ "title-tag": "h2"
179
190
  }, null, 8, ["playlist"]))]),
180
191
  _: 2
181
192
  }, 1024))), 128))])]),
@@ -191,10 +202,10 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
191
202
  ]);
192
203
  };
193
204
  }
194
- }), K = {
205
+ }), G = {
195
206
  key: 0,
196
207
  class: "page-box"
197
- }, q = { class: "btn btn-primary" }, J = /* @__PURE__ */ b({
208
+ }, K = { class: "btn btn-primary" }, q = /* @__PURE__ */ b({
198
209
  __name: "PlaylistsPage",
199
210
  props: {
200
211
  pr: {
@@ -215,16 +226,16 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
215
226
  }
216
227
  },
217
228
  setup(e) {
218
- let t = y(() => import("./ProductorSearch-DiKNztPx.mjs").then((e) => e.n)), i = e, { t: a } = P(), { searchPattern: o, organisationId: s, searchMinSize: l, paginateFirst: u, isInit: d } = c(i), _ = r(), b = f(() => n.generalParameters.podcastmaker), S = f(() => _.isRolePlaylists);
229
+ let t = y(() => import("./ProductorSearch-hTTU45pI.mjs").then((e) => e.n)), n = e, { t: a } = N(), { searchPattern: o, organisationId: s, searchMinSize: l, paginateFirst: u, isInit: d } = c(n), _ = i(), b = f(() => r.generalParameters.podcastmaker), S = f(() => _.isRolePlaylists);
219
230
  return (n, r) => {
220
231
  let i = E("router-link");
221
- return k(d) ? (C(), h("section", K, [
232
+ return k(d) ? (C(), h("section", G, [
222
233
  S.value && !b.value ? (C(), p(i, {
223
234
  key: 0,
224
235
  to: "/main/priv/edit/playlist",
225
236
  class: "d-flex justify-content-center my-3"
226
237
  }, {
227
- default: M(() => [g("div", q, O(k(a)("Create playlist")), 1)]),
238
+ default: M(() => [g("div", K, O(k(a)("Create playlist")), 1)]),
228
239
  _: 1
229
240
  })) : m("", !0),
230
241
  v(k(t), {
@@ -234,7 +245,7 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
234
245
  "onUpdate:searchPattern": r[1] ||= (e) => x(o) ? o.value = e : null,
235
246
  type: "playlist"
236
247
  }, null, 8, ["organisation-id", "search-pattern"]),
237
- v(G, {
248
+ v(W, {
238
249
  "show-count": !0,
239
250
  first: k(u),
240
251
  size: e.ps,
@@ -251,4 +262,4 @@ var W = { class: "octopus-element-list two-items-list" }, G = /* @__PURE__ */ b(
251
262
  }
252
263
  });
253
264
  //#endregion
254
- export { J as default };
265
+ export { q as default };
@@ -1,7 +1,7 @@
1
- import { u as e } from "./AuthStore-BBZTjLTf.mjs";
1
+ import { u as e } from "./AuthStore-BdiVUQBK.mjs";
2
2
  import { t } from "./useSeasonsManagement-DwbmJywJ.mjs";
3
3
  import { t as n } from "./ClassicSearch-CtL1cpnF.mjs";
4
- import { t as r } from "./PodcastList-RMFwG0hb.mjs";
4
+ import { t as r } from "./PodcastList-s4gxQjq5.mjs";
5
5
  import { t as i } from "./ClassicNav-DYez6p1J.mjs";
6
6
  import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createSlots as l, createTextVNode as u, createVNode as d, defineAsyncComponent as f, defineComponent as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, watch as y, withCtx as b } from "vue";
7
7
  import { useI18n as x } from "vue-i18n";
@@ -28,7 +28,7 @@ var S = { class: "py-3" }, C = { class: "mb-2" }, w = { class: "d-flex align-ite
28
28
  },
29
29
  emits: ["fetch", "update:query"],
30
30
  setup(p, { emit: E }) {
31
- let D = f(() => import("./CategoryChooser-fAUMJNHu.mjs").then((e) => e.n)), O = p, k = E, A = h(O.first), j = h(O.size), M = h(O.query ?? ""), N = h(!1), P = h(void 0), { t: F } = x(), { areSeasonsEnabled: I, getMaxSeason: L } = t(), R = a(() => O.name ? F("All podcast button", { name: O.name }) : F("All podcast emission button")), z = a(() => M.value.length > 3 ? M.value : ""), B = a(() => O.emission !== void 0 && I(O.emission) && (O.emission.seasons?.length ?? 0) > 0), V = a(() => [...O.emission.seasons].sort()), H = h(B.value ? O.emission.seasons?.indexOf(L(O.emission)) ?? 0 : 0), U = a(() => B.value === !0 ? e.SEASONAL : z.value.length ? e.SCORE : e.DATE);
31
+ let D = f(() => import("./CategoryChooser-Cg_gq6L_.mjs").then((e) => e.n)), O = p, k = E, A = h(O.first), j = h(O.size), M = h(O.query ?? ""), N = h(!1), P = h(void 0), { t: F } = x(), { areSeasonsEnabled: I, getMaxSeason: L } = t(), R = a(() => O.name ? F("All podcast button", { name: O.name }) : F("All podcast emission button")), z = a(() => M.value.length > 3 ? M.value : ""), B = a(() => O.emission !== void 0 && I(O.emission) && (O.emission.seasons?.length ?? 0) > 0), V = a(() => [...O.emission.seasons].sort()), H = h(B.value ? O.emission.seasons?.indexOf(L(O.emission)) ?? 0 : 0), U = a(() => B.value === !0 ? e.SEASONAL : z.value.length ? e.SCORE : e.DATE);
32
32
  y(() => O.reload, () => {
33
33
  N.value = !N.value;
34
34
  }), y(M, () => {
@@ -117,6 +117,7 @@ var S = { class: "py-3" }, C = { class: "mb-2" }, w = { class: "d-flex align-ite
117
117
  "show-count": p.showCount,
118
118
  "display-sort-text": !1,
119
119
  "force-update-parameters": p.forceUpdateParameters,
120
+ "podcast-title-tag": "h4",
120
121
  onFetch: G
121
122
  }, null, 8, [
122
123
  "first",