@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,5 +1,5 @@
1
- import { t as e } from "./ClassicCheckbox-xPu56Drn.mjs";
2
- import { t } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
1
+ import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
2
+ import { t } from "./ClassicCheckbox-xPu56Drn.mjs";
3
3
  import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, isRef as f, nextTick as p, normalizeClass as m, normalizeStyle as h, onMounted as g, onUnmounted as _, openBlock as v, ref as y, renderList as b, toDisplayString as x, unref as S, vModelText as C, vShow as w, watch as T, withDirectives as E, withKeys as ee, withModifiers as te } from "vue";
4
4
  import { useI18n as D } from "vue-i18n";
5
5
  import ne from "vue-material-design-icons/ChevronDown.vue";
@@ -58,7 +58,7 @@ var re = ["for"], ie = { class: "octopus-multiselect-selection-text" }, ae = {
58
58
  ], se = ["disabled"], ce = { class: "octopus-multiselect-options" }, le = { key: 0 }, ue = { class: "text-indic px-2" }, de = {
59
59
  key: 1,
60
60
  class: "text-indic px-2"
61
- }, A = /*#__PURE__*/ t(/* @__PURE__ */ u({
61
+ }, A = /*#__PURE__*/ e(/* @__PURE__ */ u({
62
62
  __name: "OctopusMultiselect",
63
63
  props: {
64
64
  label: {},
@@ -79,8 +79,8 @@ var re = ["for"], ie = { class: "octopus-multiselect-selection-text" }, ae = {
79
79
  "search",
80
80
  "add-custom"
81
81
  ],
82
- setup(t, { emit: u }) {
83
- let d = t, O = u, { t: A } = D(), j = y(null), { searchQuery: M, isOpen: N, isHovered: P, containerRef: F, inputRef: fe, teleportTarget: pe, computedId: I, displayedOptions: me, inputPlaceholder: he, getLabel: L, openDropdown: R, toggleDropdown: z, handleInput: B } = k(d, (e) => O("search", e), "multiselect", [j]), V = y(null), H = y({});
82
+ setup(e, { emit: u }) {
83
+ let d = e, O = u, { t: A } = D(), j = y(null), { searchQuery: M, isOpen: N, isHovered: P, containerRef: F, inputRef: fe, teleportTarget: pe, computedId: I, displayedOptions: me, inputPlaceholder: he, getLabel: L, openDropdown: R, toggleDropdown: z, handleInput: B } = k(d, (e) => O("search", e), "multiselect", [j]), V = y(null), H = y({});
84
84
  function U() {
85
85
  if (!F.value) return;
86
86
  let e = F.value.getBoundingClientRect();
@@ -157,18 +157,18 @@ var re = ["for"], ie = { class: "octopus-multiselect-selection-text" }, ae = {
157
157
  }), (i, u) => (v(), s("div", {
158
158
  ref_key: "containerRef",
159
159
  ref: F,
160
- class: m(["octopus-multiselect", { "form-margin": t.label }])
160
+ class: m(["octopus-multiselect", { "form-margin": e.label }])
161
161
  }, [
162
- t.label ? (v(), s("label", {
162
+ e.label ? (v(), s("label", {
163
163
  key: 0,
164
164
  for: S(I),
165
165
  class: "form-label"
166
- }, x(t.label), 9, re)) : o("", !0),
166
+ }, x(e.label), 9, re)) : o("", !0),
167
167
  c("div", {
168
168
  class: m(["octopus-multiselect-field", {
169
- disabled: t.disabled,
169
+ disabled: e.disabled,
170
170
  open: S(N),
171
- noBorder: t.noBorder
171
+ noBorder: e.noBorder
172
172
  }]),
173
173
  onClick: u[4] ||= (...e) => S(R) && S(R)(...e),
174
174
  onMouseenter: ge,
@@ -187,18 +187,18 @@ var re = ["for"], ie = { class: "octopus-multiselect-selection-text" }, ae = {
187
187
  type: "text",
188
188
  class: "octopus-multiselect-input",
189
189
  placeholder: S(he),
190
- disabled: t.disabled,
190
+ disabled: e.disabled,
191
191
  onFocus: u[1] ||= (...e) => S(R) && S(R)(...e),
192
192
  onInput: u[2] ||= (...e) => S(B) && S(B)(...e),
193
193
  onKeydown: ee(Se, ["enter"])
194
194
  }, null, 40, oe), [[w, !J.value || S(N)], [C, S(M)]]),
195
195
  c("button", {
196
196
  class: "btn-transparent octopus-multiselect-chevron",
197
- disabled: t.disabled,
197
+ disabled: e.disabled,
198
198
  onClick: u[3] ||= te((...e) => S(z) && S(z)(...e), ["stop"])
199
199
  }, [l(ne)], 8, se)
200
200
  ], 34),
201
- (v(), a(r, { to: S(pe) }, [t.expandOnHover && S(P) && !S(N) && Y.value > 0 ? (v(), s("div", {
201
+ (v(), a(r, { to: S(pe) }, [e.expandOnHover && S(P) && !S(N) && Y.value > 0 ? (v(), s("div", {
202
202
  key: 0,
203
203
  class: "octopus-multiselect-hover-tooltip",
204
204
  style: h(H.value)
@@ -208,27 +208,27 @@ var re = ["for"], ie = { class: "octopus-multiselect-selection-text" }, ae = {
208
208
  ref: j,
209
209
  class: "octopus-multiselect-dropdown",
210
210
  style: h(H.value)
211
- }, [l(e, {
211
+ }, [l(t, {
212
212
  "text-init": _e.value,
213
- label: t.selectAllText ?? S(A)("All"),
214
- "is-disabled": t.disabled,
213
+ label: e.selectAllText ?? S(A)("All"),
214
+ "is-disabled": e.disabled,
215
215
  "onUpdate:textInit": Ce
216
216
  }, null, 8, [
217
217
  "text-init",
218
218
  "label",
219
219
  "is-disabled"
220
- ]), c("div", ce, [(v(!0), s(n, null, b(q.value, (n, r) => (v(), a(e, {
220
+ ]), c("div", ce, [(v(!0), s(n, null, b(q.value, (n, r) => (v(), a(t, {
221
221
  key: r,
222
222
  "text-init": X(n),
223
223
  label: S(L)(n),
224
- "is-disabled": t.disabled,
224
+ "is-disabled": e.disabled,
225
225
  "onUpdate:textInit": (e) => xe(n)
226
226
  }, null, 8, [
227
227
  "text-init",
228
228
  "label",
229
229
  "is-disabled",
230
230
  "onUpdate:textInit"
231
- ]))), 128)), t.allowCustomValue && S(M).trim() ? (v(), s(n, { key: 0 }, [q.value.length > 0 ? (v(), s("hr", le)) : o("", !0), c("span", ue, x(S(A)("Press Enter to add this value")), 1)], 64)) : q.value.length === 0 ? (v(), s("span", de, x(S(A)("No elements found. Consider changing the search query.")), 1)) : o("", !0)])], 4)) : o("", !0)], 8, ["to"]))
231
+ ]))), 128)), e.allowCustomValue && S(M).trim() ? (v(), s(n, { key: 0 }, [q.value.length > 0 ? (v(), s("hr", le)) : o("", !0), c("span", ue, x(S(A)("Press Enter to add this value")), 1)], 64)) : q.value.length === 0 ? (v(), s("span", de, x(S(A)("No elements found. Consider changing the search query.")), 1)) : o("", !0)])], 4)) : o("", !0)], 8, ["to"]))
232
232
  ], 2));
233
233
  }
234
234
  }), [["__scopeId", "data-v-04ff1a0e"]]);
@@ -0,0 +1,134 @@
1
+ import { C as e, S as t, t as n } from "./AuthStore-BdiVUQBK.mjs";
2
+ import { t as r } from "./useSelenium-DAM6EF3J.mjs";
3
+ import { t as i } from "./useImageProxy-XMMC_IC2.mjs";
4
+ import { t as a } from "./organisation-JgfYj1Jp.mjs";
5
+ import { t as o } from "./ClassicMultiselect-CEJF_Uo5.mjs";
6
+ import { computed as s, createBlock as c, createCommentVNode as l, createElementVNode as u, createSlots as d, defineComponent as f, onBeforeMount as p, openBlock as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, watch as y, withCtx as b } from "vue";
7
+ import { useI18n as x } from "vue-i18n";
8
+ //#region src/components/display/organisation/OrganisationChooser.vue?vue&type=script&setup=true&lang.ts
9
+ var S = ["data-selenium"], C = ["src", "title"], w = /* @__PURE__ */ f({
10
+ __name: "OrganisationChooser",
11
+ props: {
12
+ defaultanswer: {
13
+ default: "",
14
+ type: String
15
+ },
16
+ orgaIdSelected: {
17
+ default: void 0,
18
+ type: String
19
+ },
20
+ reset: {
21
+ default: !1,
22
+ type: Boolean
23
+ },
24
+ width: {
25
+ default: "100%",
26
+ type: String
27
+ },
28
+ isImage: {
29
+ default: !0,
30
+ type: Boolean
31
+ },
32
+ inModal: {
33
+ default: !1,
34
+ type: Boolean
35
+ },
36
+ noDeselect: {
37
+ default: !0,
38
+ type: Boolean
39
+ },
40
+ label: {
41
+ default: void 0,
42
+ type: String
43
+ },
44
+ displayLabel: {
45
+ default: !1,
46
+ type: Boolean
47
+ }
48
+ },
49
+ emits: ["selected"],
50
+ setup(f, { emit: w }) {
51
+ let T = f, E = w, D = h(50), O = h(void 0), k = h(!1), A = v("selectOrganisation"), { t: j } = x(), { seleniumFormat: M } = r(), { useProxyImageUrl: N } = i(), P = n(), F = t(), I = s(() => {
52
+ if (T.defaultanswer !== "") return a(T.defaultanswer);
53
+ }), L = s(() => {
54
+ if (P.authOrgaId) return {
55
+ ...P.authOrganisation,
56
+ name: `${j("Edit my organisation")} (${P.authOrganisation.name})`
57
+ };
58
+ });
59
+ y(() => T.orgaIdSelected, () => {
60
+ if (!T.orgaIdSelected) {
61
+ O.value = I.value;
62
+ return;
63
+ }
64
+ T.orgaIdSelected && O.value?.id !== T.orgaIdSelected && z();
65
+ }, { immediate: !0 }), y(() => T.reset, () => {
66
+ O.value = I.value;
67
+ }), p(() => O.value = I.value);
68
+ async function R(t) {
69
+ let n = await e.fetchData({
70
+ api: 0,
71
+ path: "organisation/search",
72
+ parameters: {
73
+ query: t,
74
+ first: 0,
75
+ size: D.value
76
+ }
77
+ }), r = n.result.filter((e) => e !== null);
78
+ if (I.value && r.unshift(I.value), L.value) {
79
+ if (t === void 0) r = r.filter((e) => e.id !== P.authOrgaId), r.splice(1, 0, L.value);
80
+ else {
81
+ let e = r.findIndex((e) => e.id === P.authOrgaId);
82
+ e && (r[e] = L.value);
83
+ }
84
+ }
85
+ (A?.value).afterSearch(r, n.count);
86
+ }
87
+ async function z() {
88
+ O.value = await F.getOrgaData(T.orgaIdSelected ?? ""), k.value = !0;
89
+ }
90
+ return (e, t) => !f.orgaIdSelected || k.value ? (m(), c(o, {
91
+ key: 0,
92
+ id: "organisation-chooser",
93
+ ref: "selectOrganisation",
94
+ "option-label": "name",
95
+ label: f.label ?? _(j)("select productor"),
96
+ "display-label": f.displayLabel,
97
+ "max-element": D.value,
98
+ width: f.width,
99
+ "in-modal": f.inModal,
100
+ "option-chosen": O.value,
101
+ "option-custom-templating": "optionTemplating",
102
+ "option-selected-custom-templating": "optionTemplating",
103
+ "no-deselect": f.noDeselect,
104
+ onOnSearch: R,
105
+ onSelected: t[0] ||= (e) => E("selected", e)
106
+ }, d({ _: 2 }, [f.isImage ? {
107
+ name: "optionTemplating",
108
+ fn: b(({ option: e }) => [u("div", {
109
+ class: "d-flex align-items-center",
110
+ "data-selenium": "organisation-chooser-" + _(M)(e.name)
111
+ }, [u("img", {
112
+ loading: "lazy",
113
+ src: _(N)(e.imageUrl, "32"),
114
+ width: "32",
115
+ height: "32",
116
+ class: "me-2",
117
+ "aria-hidden": "true",
118
+ alt: "",
119
+ title: _(j)("Organisation name image", { name: e.name })
120
+ }, null, 8, C), u("span", null, g(e.name), 1)], 8, S)]),
121
+ key: "0"
122
+ } : void 0]), 1032, [
123
+ "label",
124
+ "display-label",
125
+ "max-element",
126
+ "width",
127
+ "in-modal",
128
+ "option-chosen",
129
+ "no-deselect"
130
+ ])) : l("", !0);
131
+ }
132
+ });
133
+ //#endregion
134
+ export { w as default };
@@ -1,5 +1,5 @@
1
- import { S as e, T as t } from "./AuthStore-BBZTjLTf.mjs";
2
- import { t as n } from "./ClassicSelect-BpA0jKN6.mjs";
1
+ import { S as e, T as t } from "./AuthStore-BdiVUQBK.mjs";
2
+ import { t as n } from "./ClassicSelect-Bj9BkTkd.mjs";
3
3
  import { computed as r, createBlock as i, createCommentVNode as a, defineComponent as o, openBlock as s, ref as c, unref as l, watch as u } from "vue";
4
4
  import { useI18n as d } from "vue-i18n";
5
5
  //#endregion
@@ -1,5 +1,5 @@
1
- import { T as e } from "./AuthStore-BBZTjLTf.mjs";
2
- import { t } from "./useRubriquesFilterComputed-Xl5Dt2Xq.mjs";
1
+ import { T as e } from "./AuthStore-BdiVUQBK.mjs";
2
+ import { t } from "./useRubriquesFilterComputed-Bp6L2o9-.mjs";
3
3
  import { computed as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, createVNode as o, defineComponent as s, normalizeStyle as c, openBlock as l, resolveComponent as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
4
4
  import { useI18n as m } from "vue-i18n";
5
5
  //#region src/components/pages/PageNotFound.vue?vue&type=script&setup=true&lang.ts
@@ -0,0 +1,54 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
2
+ import { t } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
3
+ import { t as n } from "./ClassicSelect-Bj9BkTkd.mjs";
4
+ import { computed as r, createElementBlock as i, createVNode as a, defineComponent as o, onBeforeMount as s, openBlock as c, ref as l, unref as u } from "vue";
5
+ import { useI18n as d } from "vue-i18n";
6
+ //#region src/components/display/list/PaginateParams.vue?vue&type=script&setup=true&lang.ts
7
+ var f = { class: "paginate" }, p = /*@__PURE__*/ o({
8
+ __name: "PaginateParams",
9
+ props: {
10
+ rowsPerPage: {
11
+ default: 0,
12
+ type: Number
13
+ },
14
+ id: {
15
+ default: "",
16
+ type: String
17
+ }
18
+ },
19
+ emits: ["update:rowsPerPage"],
20
+ setup(e, { emit: t }) {
21
+ let o = e, p = t, m = l([
22
+ 10,
23
+ 20,
24
+ 30,
25
+ 40,
26
+ 50,
27
+ 60
28
+ ]), h = r(() => m.value.map((e) => ({
29
+ title: "" + e,
30
+ value: e
31
+ }))), { t: g } = d();
32
+ s(_);
33
+ function _() {
34
+ m.value.includes(o.rowsPerPage) || (m.value.push(o.rowsPerPage), m.value.sort((e, t) => e - t));
35
+ }
36
+ return (t, r) => (c(), i("div", f, [a(n, {
37
+ "text-init": e.rowsPerPage,
38
+ "id-select": "rows-per-page-select" + e.id,
39
+ label: u(g)("Items per page :"),
40
+ "display-label": !0,
41
+ "class-label": "flex-shrink-0 me-1",
42
+ class: "d-flex align-items-center mb-0",
43
+ options: h.value,
44
+ "onUpdate:textInit": r[0] ||= (e) => p("update:rowsPerPage", parseInt(e, 10))
45
+ }, null, 8, [
46
+ "text-init",
47
+ "id-select",
48
+ "label",
49
+ "options"
50
+ ])]));
51
+ }
52
+ }), m = /* @__PURE__ */ e({ default: () => h }), h = /*#__PURE__*/ t(p, [["__scopeId", "data-v-59e3af68"]]);
53
+ //#endregion
54
+ export { m as n, h as t };
@@ -1,13 +1,13 @@
1
- import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
2
- import { C as t } from "./AuthStore-BBZTjLTf.mjs";
3
- import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
4
- import { t as r } from "./useErrorHandler-BVeBrWmP.mjs";
5
- import { t as i } from "./SwiperList-1mHT07oe.mjs";
6
- import { t as a } from "./ParticipantItem-CRnquj4R.mjs";
1
+ import { t as e } from "./ClassicLoading-ydEDL7-R.mjs";
2
+ import { t } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
3
+ import { C as n } from "./AuthStore-BdiVUQBK.mjs";
4
+ import { t as r } from "./useErrorHandler-BPwwQKrG.mjs";
5
+ import { t as i } from "./SwiperList-CqElRAFt.mjs";
6
+ import { t as a } from "./ParticipantItem-1fs3gVfe.mjs";
7
7
  import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, onMounted as p, openBlock as m, ref as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
8
8
  import { useI18n as b } from "vue-i18n";
9
9
  //#region src/components/display/participant/ParticipantInlineList.vue?vue&type=script&setup=true&lang.ts
10
- var x = { class: "d-flex flex-column p-3 list-participants" }, S = { class: "mb-3" }, C = /*#__PURE__*/ n(/* @__PURE__ */ f({
10
+ var x = { class: "d-flex flex-column p-3 list-participants" }, S = { class: "mb-3" }, C = /*#__PURE__*/ t(/* @__PURE__ */ f({
11
11
  __name: "ParticipantInlineList",
12
12
  props: {
13
13
  organisationId: {
@@ -31,12 +31,12 @@ var x = { class: "d-flex flex-column p-3 list-participants" }, S = { class: "mb-
31
31
  type: String
32
32
  }
33
33
  },
34
- setup(n) {
35
- let f = n, C = h(!0), w = h([]), { t: T } = b(), { handle403: E } = r();
34
+ setup(t) {
35
+ let f = t, C = h(!0), w = h([]), { t: T } = b(), { handle403: E } = r();
36
36
  p(() => D());
37
37
  async function D() {
38
38
  try {
39
- let e = await t.fetchData({
39
+ let e = await n.fetchData({
40
40
  api: 0,
41
41
  path: "participant/search",
42
42
  parameters: {
@@ -52,33 +52,38 @@ var x = { class: "d-flex flex-column p-3 list-participants" }, S = { class: "mb-
52
52
  E(e);
53
53
  }
54
54
  }
55
- return (t, r) => {
55
+ return (n, r) => {
56
56
  let f = g("router-link");
57
57
  return m(), c("div", x, [
58
- l("h2", S, _(n.title), 1),
58
+ l("h2", S, _(t.title), 1),
59
59
  d(e, { "loading-text": C.value ? v(T)("Loading participants ...") : void 0 }, null, 8, ["loading-text"]),
60
60
  !C.value && w.value.length ? (m(), o(i, {
61
61
  key: 0,
62
- "size-item-overload": n.itemSize,
63
- "list-object": w.value
62
+ "size-item-overload": t.itemSize,
63
+ "list-object": w.value,
64
+ label: t.title
64
65
  }, {
65
66
  octopusSlide: y(({ option: e }) => [e.participantId === 0 ? s("", !0) : (m(), o(a, {
66
67
  key: 0,
67
68
  participant: e
68
69
  }, null, 8, ["participant"]))]),
69
70
  _: 1
70
- }, 8, ["size-item-overload", "list-object"])) : s("", !0),
71
- n.buttonText ? (m(), o(f, {
71
+ }, 8, [
72
+ "size-item-overload",
73
+ "list-object",
74
+ "label"
75
+ ])) : s("", !0),
76
+ t.buttonText ? (m(), o(f, {
72
77
  key: 1,
73
- to: n.href ?? { name: "participants" },
78
+ to: t.href ?? { name: "participants" },
74
79
  class: "btn btn-primary align-self-center w-fit-content m-4"
75
80
  }, {
76
- default: y(() => [u(_(n.buttonText), 1)]),
81
+ default: y(() => [u(_(t.buttonText), 1)]),
77
82
  _: 1
78
83
  }, 8, ["to"])) : s("", !0)
79
84
  ]);
80
85
  };
81
86
  }
82
- }), [["__scopeId", "data-v-4ee16bed"]]);
87
+ }), [["__scopeId", "data-v-432109bd"]]);
83
88
  //#endregion
84
89
  export { C as default };
@@ -0,0 +1,93 @@
1
+ import { C as e } from "./AuthStore-BdiVUQBK.mjs";
2
+ import { t } from "./displayHelper-DQtoqc_6.mjs";
3
+ import { t as n } from "./useImageProxy-XMMC_IC2.mjs";
4
+ import { t as r } from "./useOrgaComputed-B0wJ-ALx.mjs";
5
+ import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, onBeforeMount as f, onMounted as p, openBlock as m, ref as h, resolveComponent as g, toDisplayString as _, unref as v, useTemplateRef as y, withCtx as b } from "vue";
6
+ import { useI18n as x } from "vue-i18n";
7
+ import S from "vue-material-design-icons/Alert.vue";
8
+ //#region src/components/display/participant/ParticipantItem.vue?vue&type=script&setup=true&lang.ts
9
+ var C = {
10
+ key: 0,
11
+ class: "participant-item-container"
12
+ }, w = ["src", "title"], T = { class: "d-flex align-items-center h4 justify-content-center mt-2" }, E = {
13
+ ref: "descriptionParticipantContainer",
14
+ class: "element-description small-description html-wysiwyg-content"
15
+ }, D = ["innerHTML"], O = /* @__PURE__ */ d({
16
+ __name: "ParticipantItem",
17
+ props: { participant: {
18
+ default: () => ({}),
19
+ type: Object
20
+ } },
21
+ setup(d) {
22
+ let O = d, k = h(!0), { t: A } = x(), { useProxyImageUrl: j } = n(), { isPodcastmaker: M, isEditRights: N } = r(), P = i(() => `${O.participant.firstName ?? ""} ${O.participant.lastName ?? ""}`.trim()), F = i(() => O.participant?.orga ? N(O.participant.orga.id) : !1);
23
+ f(() => {
24
+ F.value && L();
25
+ }), p(() => {
26
+ let e = y("descriptionParticipant")?.value, t = y("descriptionParticipantContainer")?.value;
27
+ e !== null && t !== null && e.clientHeight > t.clientHeight && t.classList.add("after-element-description");
28
+ });
29
+ function I(e) {
30
+ return t.urlify(e);
31
+ }
32
+ async function L() {
33
+ (await e.fetchData({
34
+ api: 0,
35
+ path: "podcast/search",
36
+ parameters: {
37
+ participantId: O.participant.participantId,
38
+ first: 0,
39
+ size: 0,
40
+ includeStatus: ["READY", "PROCESSING"]
41
+ },
42
+ specialTreatement: !0
43
+ })).count === 0 && (k.value = !1);
44
+ }
45
+ return (e, t) => {
46
+ let n = g("router-link");
47
+ return d.participant ? (m(), s("article", C, [u(n, {
48
+ to: {
49
+ name: "participant",
50
+ params: { participantId: d.participant.participantId }
51
+ },
52
+ class: "mt-3 text-dark",
53
+ title: v(A)("Participant name page", { name: P.value })
54
+ }, {
55
+ default: b(() => [
56
+ c("img", {
57
+ loading: "lazy",
58
+ src: v(j)(d.participant.imageUrl, "200"),
59
+ width: "200",
60
+ height: "200",
61
+ "aria-hidden": "true",
62
+ alt: "",
63
+ title: v(A)("Animator image", { name: P.value }),
64
+ class: "img-box border"
65
+ }, null, 8, w),
66
+ c("div", T, [!k.value && !v(M) && F.value ? (m(), a(S, {
67
+ key: 0,
68
+ size: 16,
69
+ class: "text-danger me-1",
70
+ title: v(A)("Participant have not podcasts")
71
+ }, null, 8, ["title"])) : o("", !0), l(" " + _(P.value), 1)]),
72
+ c("div", E, [c("div", {
73
+ ref: "descriptionParticipant",
74
+ innerHTML: I(d.participant.description || "")
75
+ }, null, 8, D)], 512)
76
+ ]),
77
+ _: 1
78
+ }, 8, ["to", "title"]), v(M) ? o("", !0) : (m(), a(n, {
79
+ key: 0,
80
+ to: {
81
+ name: "productor",
82
+ params: { productorId: d.participant.orga.id }
83
+ },
84
+ class: "small-text mt-1"
85
+ }, {
86
+ default: b(() => [l(" © " + _(d.participant.orga.name), 1)]),
87
+ _: 1
88
+ }, 8, ["to"]))])) : o("", !0);
89
+ };
90
+ }
91
+ });
92
+ //#endregion
93
+ export { O as t };
@@ -0,0 +1,127 @@
1
+ import { t as e } from "./ClassicLoading-ydEDL7-R.mjs";
2
+ import { C as t, T as n, j as r } from "./AuthStore-BdiVUQBK.mjs";
3
+ import { t as i } from "./displayHelper-DQtoqc_6.mjs";
4
+ import { t as a } from "./useImageProxy-XMMC_IC2.mjs";
5
+ import { t as o } from "./useErrorHandler-BPwwQKrG.mjs";
6
+ import { t as s } from "./useSimplePageParam-DaoVpYoG.mjs";
7
+ import { t as c } from "./useSeoTitleUrl-UfPXDCPa.mjs";
8
+ import { t as l } from "./useOrgaComputed-B0wJ-ALx.mjs";
9
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineAsyncComponent as _, defineComponent as v, isRef as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, unref as w, watch as T, withCtx as E } from "vue";
10
+ import { useI18n as ee } from "vue-i18n";
11
+ import { useRoute as te } from "vue-router";
12
+ //#region src/components/pages/ParticipantPage.vue?vue&type=script&setup=true&lang.ts
13
+ var D = { class: "page-box" }, O = { class: "d-flex flex-column align-items-center mb-3" }, k = ["src", "title"], A = { class: "text-capitalize" }, j = ["innerHTML"], M = /* @__PURE__ */ v({
14
+ __name: "ParticipantPage",
15
+ props: {
16
+ participantId: {
17
+ default: void 0,
18
+ type: Number
19
+ },
20
+ pr: {
21
+ default: 0,
22
+ type: Number
23
+ },
24
+ ps: {
25
+ default: 30,
26
+ type: Number
27
+ },
28
+ routeQuery: {
29
+ default: "",
30
+ type: String
31
+ }
32
+ },
33
+ setup(v) {
34
+ let M = _(() => import("./ShareSocialsButtons-MbK7ivGa.mjs")), N = _(() => import("./PodcastFilterList-DrZA5iQa.mjs")), P = _(() => import("./ShareAnonymous-QT4t2_n7.mjs")), F = v, I = x(!1), L = x(!1), R = x(!1), z = x(void 0), B = te(), { t: V } = ee(), { useProxyImageUrl: H } = a(), { isEditRights: U } = l(), { updatePathParams: W } = c(), { handle403: G } = o(), K = n(), { searchPattern: q, paginateFirst: J, isInit: Y } = s(F, !0), X = d(() => z.value?.description ?? ""), Z = d(() => `${z.value?.firstName ?? ""} ${z.value?.lastName ?? ""}`.trim()), ne = d(() => U(z.value?.orga?.id));
35
+ T(z, () => {
36
+ R.value = !R.value;
37
+ }, { deep: !0 }), T(() => F.participantId, () => ie(), { immediate: !0 });
38
+ function re(e) {
39
+ return i.urlify(e);
40
+ }
41
+ function Q() {
42
+ L.value = !0, I.value = !0;
43
+ }
44
+ async function ie() {
45
+ I.value = !1;
46
+ try {
47
+ let e = await t.fetchData({
48
+ api: 0,
49
+ path: "participant/" + F.participantId
50
+ });
51
+ if (e?.orga?.privacy !== "PUBLIC" && K.filterOrgaId !== e?.orga?.id && B.query.productor !== e?.orga?.id) {
52
+ Q();
53
+ return;
54
+ }
55
+ $(e), I.value = !0;
56
+ } catch (e) {
57
+ G(e), Q();
58
+ }
59
+ }
60
+ function $(e) {
61
+ z.value = e, W(Z.value);
62
+ }
63
+ return (t, n) => (b(), m("section", D, [I.value && !L.value && z.value ? (b(), m(u, { key: 0 }, [
64
+ h("h1", null, C(w(V)("Animator")), 1),
65
+ h("section", O, [
66
+ h("img", {
67
+ loading: "lazy",
68
+ src: w(H)(z.value.imageUrl, "200"),
69
+ width: "200",
70
+ height: "200",
71
+ "aria-hidden": "true",
72
+ alt: "",
73
+ title: w(V)("Animator image", { name: Z.value }),
74
+ class: "img-box mb-3"
75
+ }, null, 8, k),
76
+ h("h2", A, C(Z.value), 1),
77
+ h("div", {
78
+ class: "participant-desc html-wysiwyg-content",
79
+ innerHTML: re(X.value)
80
+ }, null, 8, j),
81
+ ne.value && !w(r).generalParameters.podcastmaker ? S(t.$slots, "edit-box", {
82
+ participant: z.value,
83
+ onUpdated: $
84
+ }, void 0, void 0, 0) : p("", !0),
85
+ w(r).podcastPage.ShareButtons ? (b(), f(w(M), {
86
+ key: 1,
87
+ class: "w-100",
88
+ "organisation-id": z.value.orga.id
89
+ }, {
90
+ "additional-buttons": E(() => [g(w(P), {
91
+ "participant-id": z.value.participantId,
92
+ "organisation-id": z.value.orga.id,
93
+ "relative-class": "",
94
+ "btn-class": "btn share-btn mb-2 text-dark me-2"
95
+ }, null, 8, ["participant-id", "organisation-id"])]),
96
+ _: 1
97
+ }, 8, ["organisation-id"])) : p("", !0)
98
+ ]),
99
+ w(Y) ? (b(), f(w(N), {
100
+ key: 0,
101
+ query: w(q),
102
+ "onUpdate:query": n[0] ||= (e) => y(q) ? q.value = e : null,
103
+ first: w(J),
104
+ size: v.ps,
105
+ "participant-id": v.participantId,
106
+ name: Z.value,
107
+ "category-filter": !0,
108
+ "productor-id": [""],
109
+ reload: R.value,
110
+ "show-count": !0,
111
+ "force-update-parameters": !0
112
+ }, null, 8, [
113
+ "query",
114
+ "first",
115
+ "size",
116
+ "participant-id",
117
+ "name",
118
+ "reload"
119
+ ])) : p("", !0)
120
+ ], 64)) : p("", !0), g(e, {
121
+ "loading-text": I.value ? void 0 : w(V)("Loading content ..."),
122
+ "error-text": L.value ? w(V)("Animator doesn't exist") : void 0
123
+ }, null, 8, ["loading-text", "error-text"])]));
124
+ }
125
+ });
126
+ //#endregion
127
+ export { M as default };