@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,111 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
2
- import { d as t } from "./AuthStore-BBZTjLTf.mjs";
3
- import { t as n } from "./useResizePhone-4hSkK5pa.mjs";
4
- import { t as r } from "./durationHelper-DSHAWGH-.mjs";
5
- import { t as i } from "./podcast-BoNHyuLe.mjs";
6
- import { t as a } from "./useSaootiPlayer-B1evOwnH.mjs";
7
- import { t as o } from "./PlayVideoIcon-BhTQpMyL.mjs";
8
- import { Fragment as ee, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, defineAsyncComponent as f, defineComponent as p, normalizeClass as m, openBlock as h, ref as g, resolveDynamicComponent as _, toDisplayString as v, unref as y, withModifiers as b } from "vue";
9
- import { useI18n as x } from "vue-i18n";
10
- import S from "dayjs";
11
- import C from "dayjs/plugin/duration";
12
- import w from "vue-material-design-icons/Alert.vue";
13
- import { saootiPlayer as T } from "@saooti/saooti-player";
14
- import E from "vue-material-design-icons/ClockOutline.vue";
15
- import te from "vue-material-design-icons/Play.vue";
16
- import ne from "vue-material-design-icons/Check.vue";
17
- import re from "vue-material-design-icons/TimerSandEmpty.vue";
18
- import ie from "vue-material-design-icons/EyeOffOutline.vue";
19
- import ae from "vue-material-design-icons/Cancel.vue";
20
- //#region src/components/display/podcasts/PodcastPlayButton.vue?vue&type=script&setup=true&lang.ts
21
- var D = {
22
- key: 0,
23
- class: "live-image-status bg-dark"
24
- }, O = ["title"], k = ["datetime"], A = ["title", "disabled"], j = ["datetime"], M = {
25
- key: 1,
26
- class: "special-icon-play-button"
27
- }, N = /*@__PURE__*/ p({
28
- __name: "PodcastPlayButton",
29
- props: {
30
- podcast: {
31
- default: () => ({}),
32
- type: Object
33
- },
34
- hidePlay: {
35
- default: !1,
36
- type: Boolean
37
- },
38
- fetchConference: {
39
- default: void 0,
40
- type: Object
41
- },
42
- justButtons: {
43
- default: !1,
44
- type: Boolean
45
- },
46
- showProcessing: {
47
- default: !1,
48
- type: Boolean
49
- }
50
- },
51
- setup(e) {
52
- S.extend(C);
53
- let p = f(() => import("./PodcastIsPlaying-C80PTmMQ.mjs")), N = e, P = g(""), { t: F } = x(), { isPhone: I } = n(), { livePlaying: L, podcastPlaying: R, videoPlaying: z } = a(), B = s(() => N.fetchConference?.videoProfile?.includes("video_") && i.ReadyToRecord === N.podcast.processingStatus || "video" in N.podcast && N.podcast.video?.videoId !== void 0 || "videoId" in N.podcast && N.podcast.videoId !== void 0), V = s(() => L.value !== void 0 && L.value === N.fetchConference?.conferenceId), H = s(() => R.value === N.podcast.podcastId || V.value), U = s(() => N.fetchConference === void 0 && W.value), W = s(() => N.podcast?.conferenceId !== void 0 && N.podcast.conferenceId !== 0 && i.ReadyToRecord === N.podcast.processingStatus), G = s(() => N.podcast !== void 0 && !1 !== N.podcast.valid && N.podcast.availability.visibility !== void 0 && N.podcast.availability.visibility), K = s(() => I.value ? 36 : P.value === "audio" ? 50 : 40), q = s(() => !U.value && i.Planned !== N.podcast.processingStatus), J = s(() => N.justButtons !== !0 && !(G.value && !U.value && i.Planned !== N.podcast.processingStatus) || i.Processing === N.podcast.processingStatus && N.showProcessing), Y = s(() => U.value ? E : i.Ready === N.podcast.processingStatus || N.fetchConference ? N.podcast.valid ? !N.podcast.availability.visibility && N.podcast.availability.date ? E : ie : ne : i.Planned === N.podcast.processingStatus || i.Processing === N.podcast.processingStatus ? re : i.Cancelled === N.podcast.processingStatus ? ae : w), X = s(() => U.value ? F("Podcast linked to waiting live") : i.Ready === N.podcast.processingStatus || N.fetchConference ? N.podcast.valid ? !N.podcast.availability.visibility && N.podcast.availability.date ? F("Podcast publish in future") : F("Podcast no visible") : F("Podcast to validate") : i.Planned === N.podcast.processingStatus || i.Processing === N.podcast.processingStatus ? F("Podcast in process") : i.Cancelled === N.podcast.processingStatus ? F("Podcast in cancelled status") : F("Podcast in error")), oe = s(() => N.fetchConference !== void 0 && N.fetchConference.conferenceId !== -1 && (N.fetchConference.status === "RECORDING" || N.fetchConference.status === "PENDING")), Z = s(() => r.formatDuration(Math.round(N.podcast.duration / 1e3))), Q = s(() => !N.podcast || N.podcast.duration <= 1 ? "" : S.duration({ milliseconds: N.podcast.duration }).toISOString());
54
- async function $(e) {
55
- if (U.value) return;
56
- if (H.value && e === z.value) {
57
- T.togglePlay();
58
- return;
59
- }
60
- let n = N.podcast;
61
- e && !("video" in N.podcast) && (n = await t.get(N.podcast.podcastId)), T.playPodcast(n.podcastId, e);
62
- }
63
- return (t, n) => !e.hidePlay || oe.value ? (h(), u("div", {
64
- key: 0,
65
- class: m({
66
- "img-blur-background": J.value,
67
- "allow-play": q.value
68
- })
69
- }, [J.value ? (h(), u("div", D, v(X.value), 1)) : l("", !0), d("div", { class: m(["multi-buttons-play", e.justButtons ? "play-button-relative" : ""]) }, [U.value ? (h(), c(_(Y.value), {
70
- key: 1,
71
- size: 50,
72
- title: X.value
73
- }, null, 8, ["title"])) : (h(), u(ee, { key: 0 }, [
74
- d("button", {
75
- class: "d-flex",
76
- title: H.value ? y(F)("Pause") : y(F)("Play"),
77
- onMouseenter: n[0] ||= (e) => P.value = "audio",
78
- onMouseleave: n[1] ||= (e) => P.value = "",
79
- onClick: n[2] ||= b((e) => $(!1), ["prevent"])
80
- }, [
81
- !H.value || H.value && y(z) ? (h(), c(te, {
82
- key: 0,
83
- size: K.value
84
- }, null, 8, ["size"])) : l("", !0),
85
- H.value && !y(z) ? (h(), c(y(p), { key: 1 })) : l("", !0),
86
- B.value ? l("", !0) : (h(), u("time", {
87
- key: 2,
88
- class: "ms-1 me-2",
89
- datetime: Q.value
90
- }, v(Z.value), 9, k))
91
- ], 40, O),
92
- B.value ? (h(), u("button", {
93
- key: 0,
94
- title: y(F)("Video"),
95
- disabled: y(z),
96
- onClick: n[3] ||= b((e) => $(!0), ["prevent"]),
97
- onMouseenter: n[4] ||= (e) => P.value = "video",
98
- onMouseleave: n[5] ||= (e) => P.value = ""
99
- }, [H.value && y(z) ? (h(), c(y(p), { key: 0 })) : (h(), c(o, {
100
- key: 1,
101
- size: P.value === "video" ? 50 : 40
102
- }, null, 8, ["size"])), d("time", {
103
- class: "ms-2 me-2",
104
- datetime: Q.value
105
- }, v(Z.value), 9, j)], 40, A)) : l("", !0),
106
- J.value ? (h(), u("div", M, [(h(), c(_(Y.value), { size: 16 }))])) : l("", !0)
107
- ], 64))], 2)], 2)) : l("", !0);
108
- }
109
- }), P = /* @__PURE__ */ e({ default: () => F }), F = N;
110
- //#endregion
111
- export { P as n, F as t };
@@ -1,63 +0,0 @@
1
- import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
2
- import { h as t, t as n } from "./AuthStore-BBZTjLTf.mjs";
3
- import { t as r } from "./SwiperList-1mHT07oe.mjs";
4
- import { t as i } from "./PodcastItem-DYOmggEB.mjs";
5
- import { t as a } from "./PodcastInlineListTemplate-DPBRFNio.mjs";
6
- import { createBlock as o, createCommentVNode as s, createVNode as c, defineComponent as l, onMounted as u, openBlock as d, ref as f, unref as p, watch as m, withCtx as h } from "vue";
7
- import { useI18n as g } from "vue-i18n";
8
- //#endregion
9
- //#region src/components/display/playlist/PodcastPlaylistInlineList.vue
10
- var _ = /* @__PURE__ */ l({
11
- __name: "PodcastPlaylistInlineList",
12
- props: {
13
- playlistId: {},
14
- sizeItemOverload: {},
15
- noMoreButton: { type: Boolean }
16
- },
17
- setup(l) {
18
- let _ = l, v = f(!0), y = f(0), b = f(void 0), x = f([]), { t: S } = g(), C = n();
19
- m(() => _.playlistId, () => {
20
- T(), w();
21
- }), u(() => w());
22
- async function w() {
23
- x.value.length = 0, v.value = !0;
24
- let [e, n] = await Promise.all([t.get(_.playlistId), t.getContentFull(_.playlistId)]);
25
- b.value = e, x.value = n, C.authOrgaId !== void 0 && C.authOrgaId === b.value?.organisation?.id || C.isRoleAdmin || (x.value = x.value.filter((e) => e !== null && (!e.availability || !0 === e.availability.visibility))), v.value = !1;
26
- }
27
- function T() {
28
- y.value = 0, x.value.length = 0;
29
- }
30
- return (t, n) => v.value || !v.value && x.value.length !== 0 ? (d(), o(a, {
31
- key: 0,
32
- "display-arrow": !1,
33
- "button-text": l.noMoreButton ? void 0 : p(S)("See more"),
34
- "button-plus": !0,
35
- title: b.value?.title ?? "",
36
- href: "/main/pub/playlist/" + l.playlistId,
37
- "podcast-id": l.playlistId
38
- }, {
39
- "list-inline": h(() => [c(e, {
40
- class: "loading-size",
41
- "loading-text": v.value ? p(S)("Loading podcasts ...") : void 0
42
- }, null, 8, ["loading-text"]), v.value ? s("", !0) : (d(), o(r, {
43
- key: 0,
44
- "list-object": x.value,
45
- "size-item-overload": l.sizeItemOverload
46
- }, {
47
- octopusSlide: h(({ option: e }) => [c(i, {
48
- class: "flex-shrink-0 item-phone-margin",
49
- podcast: e
50
- }, null, 8, ["podcast"])]),
51
- _: 1
52
- }, 8, ["list-object", "size-item-overload"]))]),
53
- _: 1
54
- }, 8, [
55
- "button-text",
56
- "title",
57
- "href",
58
- "podcast-id"
59
- ])) : s("", !0);
60
- }
61
- });
62
- //#endregion
63
- export { _ as default };
@@ -1,170 +0,0 @@
1
- import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
2
- import { C as t, T as n } from "./AuthStore-BBZTjLTf.mjs";
3
- import { t as r } from "./SwiperList-1mHT07oe.mjs";
4
- import { t as i } from "./PodcastItem-DYOmggEB.mjs";
5
- import { t as a } from "./PodcastInlineListTemplate-DPBRFNio.mjs";
6
- import { computed as o, createBlock as s, createCommentVNode as c, createVNode as l, defineComponent as u, onBeforeMount as d, openBlock as f, ref as p, unref as m, watch as h, withCtx as g } from "vue";
7
- import { useI18n as _ } from "vue-i18n";
8
- import v from "dayjs";
9
- //#endregion
10
- //#region src/components/display/podcasts/PodcastSwiperList.vue
11
- var y = /* @__PURE__ */ u({
12
- __name: "PodcastSwiperList",
13
- props: {
14
- organisationId: {
15
- default: () => [],
16
- type: Array
17
- },
18
- emissionId: {
19
- default: void 0,
20
- type: Number
21
- },
22
- iabId: {
23
- default: void 0,
24
- type: Number
25
- },
26
- title: {
27
- default: "",
28
- type: String
29
- },
30
- titleIcon: {
31
- default: void 0,
32
- type: Object
33
- },
34
- href: {
35
- default: void 0,
36
- type: String
37
- },
38
- buttonText: {
39
- default: void 0,
40
- type: String
41
- },
42
- isArrow: {
43
- default: !1,
44
- type: Boolean
45
- },
46
- requirePopularSort: {
47
- default: void 0,
48
- type: Boolean
49
- },
50
- buttonPlus: {
51
- default: !1,
52
- type: Boolean
53
- },
54
- rubriqueId: {
55
- default: () => [],
56
- type: Array
57
- },
58
- rubriquageId: {
59
- default: () => [],
60
- type: Array
61
- },
62
- noRubriquageId: {
63
- default: () => [],
64
- type: Array
65
- },
66
- query: {
67
- default: void 0,
68
- type: String
69
- },
70
- season: {
71
- default: void 0,
72
- type: Number
73
- },
74
- lastThreeMonths: {
75
- default: !1,
76
- type: Boolean
77
- },
78
- titleTag: {
79
- default: "h2",
80
- type: String
81
- },
82
- podcastId: { type: Number },
83
- noSort: {
84
- default: !1,
85
- type: Boolean
86
- }
87
- },
88
- emits: ["update:isArrow"],
89
- setup(u, { emit: y }) {
90
- let b = u, x = y, S = p(!0), C = p(!1), w = p([]), { t: T } = _(), E = n(), D = o(() => b.organisationId.length ? b.organisationId : E.filterOrgaId ? [E.filterOrgaId] : []), O = o(() => `${b.emissionId}|${b.organisationId}|${E.filterOrgaId}|${b.iabId}|${b.rubriqueId}|${b.rubriquageId}|${b.query}`);
91
- h(O, () => k(), { immediate: !0 }), d(() => {
92
- b.requirePopularSort !== void 0 && (C.value = b.requirePopularSort), b.isArrow !== void 0 && x("update:isArrow", !0);
93
- });
94
- async function k() {
95
- let e = await t.fetchData({
96
- api: 0,
97
- path: "podcast/search",
98
- parameters: {
99
- first: 0,
100
- size: 12,
101
- organisationId: D.value,
102
- emissionId: b.emissionId,
103
- iabId: b.iabId,
104
- rubriqueId: b.rubriqueId.length ? b.rubriqueId : void 0,
105
- rubriquageId: b.rubriquageId.length ? b.rubriquageId : void 0,
106
- noRubriquageId: b.noRubriquageId.length ? b.noRubriquageId : void 0,
107
- sort: C.value ? "POPULARITY" : "DATE",
108
- query: b.query,
109
- includeStatus: ["READY", "PROCESSING"],
110
- after: C.value && b.lastThreeMonths ? v().subtract(3, "months").toISOString() : void 0,
111
- season: b.season
112
- },
113
- specialTreatement: !0
114
- });
115
- S.value = !0, w.value = e.result.filter((e) => e !== null && e.podcastId !== b.podcastId), S.value = !1;
116
- }
117
- function A() {
118
- C.value || (C.value = !0, k());
119
- }
120
- function j() {
121
- C.value && (C.value = !1, k());
122
- }
123
- return (t, n) => S.value || !S.value && w.value.length !== 0 ? (f(), s(a, {
124
- key: 0,
125
- "display-arrow": !1,
126
- "popular-sort": C.value,
127
- "button-text": u.buttonText,
128
- "button-plus": u.buttonPlus,
129
- title: u.title,
130
- "title-icon": u.titleIcon,
131
- href: u.href,
132
- "iab-id": u.iabId,
133
- "rubrique-id": u.rubriqueId,
134
- "no-rubriquage-id": u.noRubriquageId,
135
- "title-tag": u.titleTag,
136
- "no-sort": u.noSort,
137
- onSortChrono: j,
138
- onSortPopular: A
139
- }, {
140
- "list-inline": g(() => [l(e, {
141
- class: "loading-size",
142
- "loading-text": S.value ? m(T)("Loading podcasts ...") : void 0
143
- }, null, 8, ["loading-text"]), S.value ? c("", !0) : (f(), s(r, {
144
- key: 0,
145
- "list-object": w.value
146
- }, {
147
- octopusSlide: g(({ option: e }) => [l(i, {
148
- class: "flex-shrink-0 item-phone-margin",
149
- podcast: e
150
- }, null, 8, ["podcast"])]),
151
- _: 1
152
- }, 8, ["list-object"]))]),
153
- _: 1
154
- }, 8, [
155
- "popular-sort",
156
- "button-text",
157
- "button-plus",
158
- "title",
159
- "title-icon",
160
- "href",
161
- "iab-id",
162
- "rubrique-id",
163
- "no-rubriquage-id",
164
- "title-tag",
165
- "no-sort"
166
- ])) : c("", !0);
167
- }
168
- });
169
- //#endregion
170
- export { y as default };
@@ -1,132 +0,0 @@
1
- import { j as e } from "./AuthStore-BBZTjLTf.mjs";
2
- import { t } from "./AdvancedSearch-DVWO6WtG.mjs";
3
- import { t as n } from "./ProductorSearch-DiKNztPx.mjs";
4
- import { t as r } from "./PodcastList-RMFwG0hb.mjs";
5
- import { t as i } from "./useAdvancedParamInit-Bn2nYh9V.mjs";
6
- import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createVNode as l, defineComponent as u, isRef as d, openBlock as f, ref as p, unref as m, watch as h } from "vue";
7
- //#region src/components/pages/PodcastsPage.vue?vue&type=script&setup=true&lang.ts
8
- var g = {
9
- key: 0,
10
- class: "page-box"
11
- }, _ = /* @__PURE__ */ u({
12
- __name: "PodcastsPage",
13
- props: {
14
- pr: { default: 0 },
15
- ps: { default: 30 },
16
- routeQuery: {},
17
- routeMonetisable: { default: "UNDEFINED" },
18
- routeIab: {},
19
- routeSort: { default: "DATE" },
20
- routeIncludeHidden: {},
21
- routeFrom: {},
22
- routeTo: {},
23
- routeValidity: {},
24
- routeOnlyVideo: {},
25
- routeOrga: {},
26
- routeRubriques: {},
27
- routeBeneficiaries: {},
28
- routeEmissionGroups: {},
29
- routeOnlyMyEpisodes: { type: Boolean }
30
- },
31
- setup(u) {
32
- let _ = u, v = p(!1), { organisationId: y, searchPattern: b, monetisable: x, iabId: S, sort: C, includeHidden: w, fromDate: T, toDate: E, rubriqueFilter: D, searchMinSize: O, paginateFirst: k, validity: A, rubriquesFilterArrayIds: j, isInit: M, beneficiaries: N, emissionGroups: P, onlyMyEpisodes: F } = i(_, !1), I = a(() => y.value ? [y.value] : []), L = a(() => !1 !== v.value || void 0);
33
- return h(() => _.routeOnlyVideo, () => {
34
- v.value = _.routeOnlyVideo === "true";
35
- }, { immediate: !0 }), (i, a) => m(M) ? (f(), c("section", g, [
36
- m(e).podcastsPage?.hideSearch === !0 ? s("", !0) : (f(), o(n, {
37
- key: 0,
38
- "organisation-id": m(y),
39
- "onUpdate:organisationId": a[0] ||= (e) => d(y) ? y.value = e : null,
40
- "search-pattern": m(b),
41
- "onUpdate:searchPattern": a[1] ||= (e) => d(b) ? b.value = e : null
42
- }, null, 8, ["organisation-id", "search-pattern"])),
43
- m(e).podcastsPage?.hideSearch === !0 ? s("", !0) : (f(), o(t, {
44
- key: 1,
45
- "only-video": v.value,
46
- "onUpdate:onlyVideo": a[2] ||= (e) => v.value = e,
47
- monetisable: m(x),
48
- "onUpdate:monetisable": a[3] ||= (e) => d(x) ? x.value = e : null,
49
- "iab-id": m(S),
50
- "onUpdate:iabId": a[4] ||= (e) => d(S) ? S.value = e : null,
51
- sort: m(C),
52
- "onUpdate:sort": a[5] ||= (e) => d(C) ? C.value = e : null,
53
- "include-hidden": m(w),
54
- "onUpdate:includeHidden": a[6] ||= (e) => d(w) ? w.value = e : null,
55
- "from-date": m(T),
56
- "onUpdate:fromDate": a[7] ||= (e) => d(T) ? T.value = e : null,
57
- "to-date": m(E),
58
- "onUpdate:toDate": a[8] ||= (e) => d(E) ? E.value = e : null,
59
- validity: m(A),
60
- "onUpdate:validity": a[9] ||= (e) => d(A) ? A.value = e : null,
61
- "rubrique-filter": m(D),
62
- "onUpdate:rubriqueFilter": a[10] ||= (e) => d(D) ? D.value = e : null,
63
- beneficiaries: m(N),
64
- "onUpdate:beneficiaries": a[11] ||= (e) => d(N) ? N.value = e : null,
65
- "emission-groups": m(P),
66
- "onUpdate:emissionGroups": a[12] ||= (e) => d(P) ? P.value = e : null,
67
- "only-my-episodes": m(F),
68
- "onUpdate:onlyMyEpisodes": a[13] ||= (e) => d(F) ? F.value = e : null,
69
- "search-pattern": m(b),
70
- "is-emission": !1,
71
- "organisation-id": m(y)
72
- }, null, 8, [
73
- "only-video",
74
- "monetisable",
75
- "iab-id",
76
- "sort",
77
- "include-hidden",
78
- "from-date",
79
- "to-date",
80
- "validity",
81
- "rubrique-filter",
82
- "beneficiaries",
83
- "emission-groups",
84
- "only-my-episodes",
85
- "search-pattern",
86
- "organisation-id"
87
- ])),
88
- l(r, {
89
- "show-count": !0,
90
- first: m(k),
91
- size: u.ps,
92
- "organisation-id": I.value,
93
- query: m(O),
94
- monetisable: m(x),
95
- before: m(E),
96
- after: m(T),
97
- "sort-criteria": m(C),
98
- "include-hidden": m(w),
99
- "iab-id": m(S),
100
- "rubrique-id": m(j).rubriqueId,
101
- "rubriquage-id": m(j).rubriquageId,
102
- "no-rubriquage-id": m(j).noRubriquageId,
103
- beneficiaries: m(N),
104
- "with-video": L.value,
105
- validity: m(A),
106
- "only-my-episodes": m(F),
107
- "emission-groups": m(P)
108
- }, null, 8, [
109
- "first",
110
- "size",
111
- "organisation-id",
112
- "query",
113
- "monetisable",
114
- "before",
115
- "after",
116
- "sort-criteria",
117
- "include-hidden",
118
- "iab-id",
119
- "rubrique-id",
120
- "rubriquage-id",
121
- "no-rubriquage-id",
122
- "beneficiaries",
123
- "with-video",
124
- "validity",
125
- "only-my-episodes",
126
- "emission-groups"
127
- ])
128
- ])) : s("", !0);
129
- }
130
- });
131
- //#endregion
132
- export { _ as default };
@@ -1,109 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
2
- import { S as t } from "./AuthStore-BBZTjLTf.mjs";
3
- import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
4
- import { t as r } from "./SnackBar-BL-mLRun.mjs";
5
- import { computed as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, onBeforeMount as l, openBlock as u, ref as d, toDisplayString as f, unref as p, useId as m, useTemplateRef as h } from "vue";
6
- import { useI18n as g } from "vue-i18n";
7
- import { VSwatches as _ } from "vue3-swatches";
8
- import "vue3-swatches/dist/style.css";
9
- import v from "qrcode.vue";
10
- //#region src/components/display/sharing/FormatSwitch.vue?vue&type=script&setup=true&lang.ts
11
- var y = { class: "format-switch" }, b = ["checked"], x = /* @__PURE__ */ c({
12
- __name: "FormatSwitch",
13
- props: { isSvg: {
14
- default: !0,
15
- type: Boolean
16
- } },
17
- emits: ["update:isSvg"],
18
- setup(e, { emit: t }) {
19
- let n = e, r = t;
20
- function i() {
21
- r("update:isSvg", !n.isSvg);
22
- }
23
- return (t, n) => (u(), a("div", y, [o("input", {
24
- id: "format-switch-checkbox",
25
- checked: e.isSvg,
26
- class: "format-switch-checkbox",
27
- type: "checkbox",
28
- onInput: i
29
- }, null, 40, b), n[0] ||= o("label", {
30
- class: "format-switch-label",
31
- for: "format-switch-checkbox"
32
- }, [o("span", { class: "format-switch-label-span" }, "SVG")], -1)]));
33
- }
34
- }), S = { class: "d-flex align-items-center mb-3" }, C = { class: "form-label me-3" }, w = { class: "d-flex align-items-center my-3" }, T = /*@__PURE__*/ c({
35
- __name: "QrCode",
36
- props: {
37
- url: {
38
- default: "",
39
- type: String
40
- },
41
- orgaForColor: {
42
- default: void 0,
43
- type: String
44
- }
45
- },
46
- setup(e) {
47
- let n = e, c = d(1e3), y = d("#000000"), b = d(!0), T = h("snackbar"), { t: E } = g(), D = t(), O = `qrcode-${m()}`, k = i(() => b.value ? "svg" : "canvas");
48
- l(() => j());
49
- function A() {
50
- let e = document.getElementById(O).getElementsByClassName("myQrCode");
51
- if (!e || e.length <= 0 || !e[0]) return;
52
- let t = document.createElement("a");
53
- if (b.value) {
54
- let n = e[0].outerHTML, r = new Blob([n], { type: "image/svg+xml;charset=utf-8" });
55
- t.href = URL.createObjectURL(r), t.download = "qrcode.svg";
56
- } else t.download = "qrcode.png", t.href = e[0].toDataURL();
57
- t.click(), (T?.value).open(E("Download started"));
58
- }
59
- async function j() {
60
- if (n.orgaForColor === void 0) return;
61
- let e = await D.getOrgaAttributes(n.orgaForColor);
62
- Object.hasOwn(e, "COLOR") && (y.value = e.COLOR);
63
- }
64
- return (t, n) => (u(), a("div", {
65
- id: O,
66
- class: "d-flex flex-column align-items-center"
67
- }, [
68
- o("div", S, [o("div", C, f(p(E)("Color of the QR Code")), 1), s(p(_), {
69
- "model-value": y.value,
70
- "onUpdate:modelValue": n[0] ||= (e) => y.value = e,
71
- class: "c-hand",
72
- "show-fallback": "",
73
- "fallback-input-type": "color",
74
- colors: "text-advanced",
75
- "popover-to": "right",
76
- "popover-y": "bottom",
77
- "data-color": y.value
78
- }, null, 8, ["model-value", "data-color"])]),
79
- s(v, {
80
- "render-as": k.value,
81
- value: e.url,
82
- size: c.value,
83
- level: "H",
84
- foreground: y.value,
85
- class: "myQrCode",
86
- margin: 2
87
- }, null, 8, [
88
- "render-as",
89
- "value",
90
- "size",
91
- "foreground"
92
- ]),
93
- o("div", w, [s(x, {
94
- "is-svg": b.value,
95
- "onUpdate:isSvg": n[1] ||= (e) => b.value = e,
96
- class: "me-3"
97
- }, null, 8, ["is-svg"]), o("button", {
98
- class: "btn btn-primary",
99
- onClick: A
100
- }, f(p(E)("Download")), 1)]),
101
- s(r, {
102
- ref: "snackbar",
103
- position: "bottom-left"
104
- }, null, 512)
105
- ]));
106
- }
107
- }), E = /* @__PURE__ */ e({ default: () => D }), D = /*#__PURE__*/ n(T, [["__scopeId", "data-v-a9dff2c6"]]);
108
- //#endregion
109
- export { E as n, D as t };
@@ -1,70 +0,0 @@
1
- import { C as e, T as t } from "./AuthStore-BBZTjLTf.mjs";
2
- import { t as n } from "./useErrorHandler-BVeBrWmP.mjs";
3
- import { t as r } from "./RadioCurrently-Dp9E529F.mjs";
4
- import { t as i } from "./RadioImage-C9DiBLS9.mjs";
5
- import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, renderList as h, resolveComponent as g, toDisplayString as _, unref as v, watch as y, withCtx as b } from "vue";
6
- import { useI18n as x } from "vue-i18n";
7
- //#region src/components/display/live/RadioItem.vue?vue&type=script&setup=true&lang.ts
8
- var S = {
9
- key: 0,
10
- class: "d-flex border w-100 p-3"
11
- }, C = { class: "element-name mb-2 basic-line-clamp" }, w = {
12
- key: 0,
13
- class: "basic-line-clamp ten-line"
14
- }, T = /* @__PURE__ */ f({
15
- __name: "RadioItem",
16
- props: { radio: {
17
- default: void 0,
18
- type: Object
19
- } },
20
- setup(e) {
21
- let { t } = x();
22
- return (n, a) => {
23
- let o = g("router-link");
24
- return e.radio ? (p(), l("div", S, [d(i, { radio: e.radio }, null, 8, ["radio"]), d(o, {
25
- to: {
26
- name: "radio",
27
- params: { canalId: e.radio.id }
28
- },
29
- class: "text-dark classic-element-text",
30
- title: v(t)("Radio name page", { name: e.radio.name })
31
- }, {
32
- default: b(() => [
33
- u("div", C, _(e.radio.name), 1),
34
- e.radio.description ? (p(), l("div", w, _(e.radio.description), 1)) : c("", !0),
35
- d(r, { radio: e.radio }, null, 8, ["radio"])
36
- ]),
37
- _: 1
38
- }, 8, ["to", "title"])])) : c("", !0);
39
- };
40
- }
41
- }), E = {
42
- key: 0,
43
- class: "d-flex flex-column align-items-start mt-3"
44
- }, D = { class: "mb-0 mb-3" }, O = /* @__PURE__ */ f({
45
- __name: "RadioList",
46
- props: { organisationId: {
47
- default: void 0,
48
- type: String
49
- } },
50
- setup(r) {
51
- let i = r, d = m([]), { t: f } = x(), { handle403: g } = n(), b = t(), S = o(() => b.filterOrgaId ? b.filterOrgaId : i.organisationId);
52
- y(S, () => C(), { immediate: !0 });
53
- async function C() {
54
- if (d.value.length = 0, S.value) try {
55
- d.value = await e.fetchData({
56
- api: 14,
57
- path: "canal/orga/" + S.value + "/"
58
- });
59
- } catch (e) {
60
- g(e);
61
- }
62
- }
63
- return (e, t) => (v(b).filterOrgaId || r.organisationId) && d.value.length ? (p(), l("section", E, [u("h2", D, _(v(f)("Radio")), 1), d.value.length ? (p(!0), l(a, { key: 0 }, h(d.value, (e) => (p(), s(T, {
64
- key: e.id,
65
- radio: e
66
- }, null, 8, ["radio"]))), 128)) : c("", !0)])) : c("", !0);
67
- }
68
- });
69
- //#endregion
70
- export { O as default };