@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.
- package/dist/{AccessibilityModal-CBIb3UQS.mjs → AccessibilityModal-CHUSDO1F.mjs} +39 -36
- package/dist/{AdvancedSearch-DVWO6WtG.mjs → AdvancedSearch-S-OMg1XH.mjs} +5 -5
- package/dist/{AuthStore-BBZTjLTf.mjs → AuthStore-BdiVUQBK.mjs} +268 -261
- package/dist/{CategoryChooser-fAUMJNHu.mjs → CategoryChooser-Cg_gq6L_.mjs} +1 -1
- package/dist/{CategoryFilter-CU4D9VlH.mjs → CategoryFilter-CI5PfekR.mjs} +3 -3
- package/dist/{CategoryList-CNRdGnw0.mjs → CategoryList-B0hCDa0Q.mjs} +2 -2
- package/dist/{CategoryPage-CJ_OohkC.mjs → CategoryPage-j1c3a9Ti.mjs} +2 -2
- package/dist/{CategorySearchFilter-Cce5zxZB.mjs → CategorySearchFilter-eRcZcX0o.mjs} +1 -1
- package/dist/{CheckIdentityModal-DEXrqR2G.mjs → CheckIdentityModal-DTA9VPdd.mjs} +3 -3
- package/dist/{ClassicAlert-DATLZ8J1.mjs → ClassicAlert-fZ4qLB-c.mjs} +1 -1
- package/dist/{ClassicBigChip-BK8v_P0z.mjs → ClassicBigChip-D0pRqFwb.mjs} +1 -1
- package/dist/ClassicColorPicker-DcjFDaZ8.mjs +79 -0
- package/dist/{ClassicDatePicker-CKIkZWmW.mjs → ClassicDatePicker-DlNlvjA0.mjs} +1 -1
- package/dist/{ClassicEmojiPicker-C0gm-DA2.mjs → ClassicEmojiPicker-Cc4UZRvZ.mjs} +1 -1
- package/dist/{ClassicHelpButton-BnRLmYuh.mjs → ClassicHelpButton-CDz_GcaZ.mjs} +1 -1
- package/dist/{ClassicInputText-YsntJkHk.mjs → ClassicInputText-4bPGD_kV.mjs} +1 -1
- package/dist/{ClassicLoading-CXfMjpyl.mjs → ClassicLoading-ydEDL7-R.mjs} +1 -1
- package/dist/{ClassicMultiselect-C0yzVQ8Y.mjs → ClassicMultiselect-CEJF_Uo5.mjs} +1 -1
- package/dist/{ClassicNotifications-Bt7HmFoU.mjs → ClassicNotifications-olXwz4qY.mjs} +2 -2
- package/dist/ClassicPopover-BpFChUHf.mjs +203 -0
- package/dist/ClassicSelect-Bj9BkTkd.mjs +121 -0
- package/dist/{ClassicSpinner-DFRDD51g.mjs → ClassicSpinner-P6q1es8G.mjs} +4 -1
- package/dist/{ClipboardModal-cHMlAcg3.mjs → ClipboardModal-D40ImhpB.mjs} +1 -1
- package/dist/{CommentInput-BiGn-skv.mjs → CommentInput-BGAQHUZh.mjs} +5 -5
- package/dist/CommentItem-CBtedADn.mjs +233 -0
- package/dist/CommentList-BqY6dXMt.mjs +203 -0
- package/dist/{CommentMoreActions-Cew7m8vJ.mjs → CommentMoreActions-BPDPuoeI.mjs} +6 -5
- package/dist/{CommentName-BQR1xl1T.mjs → CommentName-DiN2v6zm.mjs} +3 -3
- package/dist/{CommentParentInfo-BuM6sFV4.mjs → CommentParentInfo-DIyzK-2k.mjs} +3 -3
- package/dist/CommentSection-BUQsGQcN.mjs +119 -0
- package/dist/{CommentStore-BjzpqB_1.mjs → CommentStore-D-2Q49xZ.mjs} +76 -88
- package/dist/{ContractPreviewModal-CgEfHeyW.mjs → ContractPreviewModal-Duf8yY-7.mjs} +1 -1
- package/dist/{DateFilter-Bzx36_ol.mjs → DateFilter-Drn-Thgy.mjs} +1 -1
- package/dist/{DownloadPodcastButton-NStAbAZa.mjs → DownloadPodcastButton-BFZI5jmS.mjs} +2 -2
- package/dist/{EditCommentModal-coXmYdY_.mjs → EditCommentModal-CVihXEGS.mjs} +2 -2
- package/dist/{EmissionGroupChooser-XK05Hye9.mjs → EmissionGroupChooser-BaorNk90.mjs} +2 -2
- package/dist/{EmissionInlineList-CWP6yZLk.mjs → EmissionInlineList-DuzgE8hS.mjs} +36 -26
- package/dist/EmissionItem-R8ugPYq7.mjs +123 -0
- package/dist/EmissionList-Dk8Xtmm1.mjs +230 -0
- package/dist/EmissionPage-DE_T-aNF.mjs +191 -0
- package/dist/{EmissionPlayerItem-B-poSf0h.mjs → EmissionPlayerItem-w3F7l_dL.mjs} +9 -9
- package/dist/{EmissionPresentationItem-Ic_4QTAV.mjs → EmissionPresentationItem-VwylQjvv.mjs} +7 -4
- package/dist/{EmissionPresentationList-CZVjxQUN.mjs → EmissionPresentationList-Xu3G_Ozt.mjs} +8 -6
- package/dist/EmissionsPage--rvX0YYh.mjs +117 -0
- package/dist/{Error403Page-paQBIk_S.mjs → Error403Page-Cb0LAznd.mjs} +1 -1
- package/dist/ExternalLink-Xd1yTR71.mjs +35 -0
- package/dist/{FooterGarSection-GKI36V98.mjs → FooterGarSection-CnjLLyXU.mjs} +3 -3
- package/dist/{FooterSection-vNIJikKR.mjs → FooterSection-0e6Z_wff.mjs} +13 -13
- package/dist/{HomeDropdown-B_5YrOSF.mjs → HomeDropdown-5JO7NDSl.mjs} +3 -3
- package/dist/{HomePage-KC-CcJky.mjs → HomePage-Bze7mTbZ.mjs} +3 -3
- package/dist/InlineRubriqueList-MYnSX_eZ.mjs +48 -0
- package/dist/LikeButton-CnMZOm9N.mjs +46 -0
- package/dist/{LikeSection-BZcy0TOS.mjs → LikeSection-BFh6c0_F.mjs} +11 -17
- package/dist/ListPaginate-DMir5lKe.mjs +191 -0
- package/dist/{LiveHorizontalList-CARJlSBl.mjs → LiveHorizontalList-DpfoJMa8.mjs} +6 -6
- package/dist/{LiveList-DtXz2jZd.mjs → LiveList-BXcxoWAn.mjs} +12 -11
- package/dist/{LivesPage-DRyMTzoZ.mjs → LivesPage-X_Cuj5RC.mjs} +2 -2
- package/dist/{MapPage-CyDwoNuG.mjs → MapPage-DR7057o0.mjs} +1 -1
- package/dist/{MessageModal-BcqS77v6.mjs → MessageModal-DyD3HZy0.mjs} +1 -1
- package/dist/{MobileMenu-DWAO2ARf.mjs → MobileMenu-CaFQBVFA.mjs} +3 -3
- package/dist/{MonetizableFilter-B7NHzXEY.mjs → MonetizableFilter-BeBVeGSW.mjs} +1 -1
- package/dist/{NewsletterModal-GkC9RDyD.mjs → NewsletterModal-CaaLFdAc.mjs} +1 -1
- package/dist/{OctopusMultiselect-noQPQMZQ.mjs → OctopusMultiselect-B_VBxbac.mjs} +19 -19
- package/dist/OrganisationChooser-BSJWSByJ.mjs +134 -0
- package/dist/{OrganisationChooserLight-Afgr1M7a.mjs → OrganisationChooserLight-BpqeFaQP.mjs} +2 -2
- package/dist/{PageNotFound-B7hdl-yk.mjs → PageNotFound-BB2Der8l.mjs} +2 -2
- package/dist/PaginateParams-BKSnsVZH.mjs +54 -0
- package/dist/{ParticipantInlineList-BwPZSUqb.mjs → ParticipantInlineList-DBlnlk8x.mjs} +24 -19
- package/dist/ParticipantItem-1fs3gVfe.mjs +93 -0
- package/dist/ParticipantPage-BaWObZn8.mjs +127 -0
- package/dist/{ParticipantsPage-CHWCYVS6.mjs → ParticipantsPage-QsAeLeb5.mjs} +16 -16
- package/dist/{PlayerAnonymousModal-BdgjFawf.mjs → PlayerAnonymousModal-B9fZFffi.mjs} +2 -2
- package/dist/PlaylistPage-Blu1HnPY.mjs +130 -0
- package/dist/{PlaylistsPage-DTL-ovBn.mjs → PlaylistsPage-DLNnZSJT.mjs} +88 -77
- package/dist/{PodcastFilterList-2nVutkmB.mjs → PodcastFilterList-DrZA5iQa.mjs} +4 -3
- package/dist/PodcastInlineList-C-ICxCWh.mjs +186 -0
- package/dist/{PodcastInlineListTemplate-DPBRFNio.mjs → PodcastInlineListTemplate-CDigJ7BJ.mjs} +58 -56
- package/dist/PodcastItem-m3k-Kix9.mjs +305 -0
- package/dist/{PodcastList-R0TvKt6G.mjs → PodcastList-Cww-0Swl.mjs} +12 -12
- package/dist/{PodcastList-RMFwG0hb.mjs → PodcastList-s4gxQjq5.mjs} +26 -24
- package/dist/PodcastPage-DE5gGN-2.mjs +595 -0
- package/dist/PodcastPlayButton-Df0Z63M0.mjs +127 -0
- package/dist/PodcastPlaylistInlineList-D6FMozVy.mjs +69 -0
- package/dist/{PodcastPresentationList-BvXr6uwb.mjs → PodcastPresentationList-SouqGyw9.mjs} +9 -7
- package/dist/{PodcastmakerHeader-CKbQLcJR.mjs → PodcastmakerHeader-DJXLJTF6.mjs} +1 -1
- package/dist/PodcastsPage-BXBARaTK.mjs +133 -0
- package/dist/{ProductorSearch-DiKNztPx.mjs → ProductorSearch-hTTU45pI.mjs} +3 -3
- package/dist/QrCode-OEI1du8P.mjs +116 -0
- package/dist/{QrCodeModal-CWrtwMmo.mjs → QrCodeModal-DmzFi0FH.mjs} +1 -1
- package/dist/{RadioCurrently-Dp9E529F.mjs → RadioCurrently-CrRnrOIT.mjs} +20 -20
- package/dist/{RadioImage-C9DiBLS9.mjs → RadioImage-DmMQTUjw.mjs} +1 -1
- package/dist/RadioList-Bj_bfSqy.mjs +79 -0
- package/dist/{RadioPage-BxwU7iT4.mjs → RadioPage-BHAxW4eG.mjs} +5 -5
- package/dist/{RadioPlanning-iJ7XDZSH.mjs → RadioPlanning-Cg47XjD9.mjs} +3 -3
- package/dist/{RecaptchaModal-Bfq6A8y2.mjs → RecaptchaModal-DLMoPxPf.mjs} +2 -2
- package/dist/{ReportAbuseModal-DBoOqnzQ.mjs → ReportAbuseModal-CIiBTSpw.mjs} +4 -4
- package/dist/{RightsIndicator-DiA2ldB-.mjs → RightsIndicator-Dr75KTRE.mjs} +4 -4
- package/dist/{RightsWrapper-JmJz5r95.mjs → RightsWrapper-C6zNaunR.mjs} +41 -42
- package/dist/{RubriqueChoice-C-S-veJJ.mjs → RubriqueChoice-Ci23lZBD.mjs} +2 -2
- package/dist/{RubriqueChooser-CNGn8LcP.mjs → RubriqueChooser-C5QLRe-b.mjs} +1 -1
- package/dist/{RubriqueFilter-CD_iXdC1.mjs → RubriqueFilter-B_lwmZ8m.mjs} +3 -3
- package/dist/{RubriqueList-COReG7_w.mjs → RubriqueList-DNwhze-d.mjs} +4 -4
- package/dist/{RubriquePage-C63TsvkH.mjs → RubriquePage-Bh59Y29D.mjs} +6 -5
- package/dist/{SearchPage-ChdImq8B.mjs → SearchPage-DfsoWBQU.mjs} +2 -2
- package/dist/ShareAnonymous-QT4t2_n7.mjs +210 -0
- package/dist/{ShareModalPlayer-Dr0BUSDx.mjs → ShareModalPlayer-D0NzOzX0.mjs} +1 -1
- package/dist/{ShareNewsletter-DJbBxYn3.mjs → ShareNewsletter-DT893L87.mjs} +41 -44
- package/dist/{SharePlayer-AeYTgJw6.mjs → SharePlayer-Ctivrvmn.mjs} +2 -2
- package/dist/SharePlayerColors-CfrkwpdM.mjs +50 -0
- package/dist/{SharePlayerRadio-DxcP73-X.mjs → SharePlayerRadio-Gvc5Gc0f.mjs} +2 -2
- package/dist/{SharePlayerTypes-CuDLz2mJ.mjs → SharePlayerTypes-B3OKl3HO.mjs} +1 -1
- package/dist/ShareSocialsButtons-MbK7ivGa.mjs +103 -0
- package/dist/SmartLinkPage-BKihppLi.mjs +143 -0
- package/dist/SubscribeButtons-DKylNvPo.mjs +126 -0
- package/dist/SwiperList-CqElRAFt.mjs +179 -0
- package/dist/{TagList-DPkw1vux.mjs → TagList-CFgCrA_i.mjs} +5 -5
- package/dist/{TagPage-uVe7N9oG.mjs → TagPage-CWGLni8k.mjs} +3 -3
- package/dist/TopBar-CmZSpIiz.mjs +427 -0
- package/dist/UserButtonContent-CvVebdKv.mjs +129 -0
- package/dist/{buttons-BkfxHdGj.mjs → buttons-s19oovgO.mjs} +1 -1
- package/dist/{downloadHelper-CvnGPosg.mjs → downloadHelper-B7bFMASS.mjs} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +235 -232
- package/dist/{messages-DlxMAMOa.mjs → messages-DJAarMHp.mjs} +108 -6
- package/dist/src/components/display/comments/like/LikeButton.vue.d.ts +9 -33
- package/dist/src/components/display/comments/like/LikeSection.vue.d.ts +11 -33
- package/dist/src/components/display/emission/EmissionInlineList.vue.d.ts +4 -4
- package/dist/src/components/display/emission/EmissionItem.vue.d.ts +5 -1
- package/dist/src/components/display/emission/EmissionPresentationItem.vue.d.ts +2 -0
- package/dist/src/components/display/emission/EmissionPresentationList.vue.d.ts +1 -1
- package/dist/src/components/display/list/SwiperList.vue.d.ts +7 -4
- package/dist/src/components/display/live/RadioItem.vue.d.ts +11 -0
- package/dist/src/components/display/participant/ParticipantInlineList.vue.d.ts +1 -1
- package/dist/src/components/display/playlist/PlaylistItem.vue.d.ts +11 -0
- package/dist/src/components/display/podcasts/PodcastFilterList.vue.d.ts +3 -3
- package/dist/src/components/display/podcasts/PodcastImage.vue.d.ts +29 -9
- package/dist/src/components/display/podcasts/PodcastInlineList.vue.d.ts +45 -4
- package/dist/src/components/display/podcasts/PodcastInlineListTemplate.vue.d.ts +1 -1
- package/dist/src/components/display/podcasts/PodcastItem.vue.d.ts +7 -1
- package/dist/src/components/display/podcasts/PodcastItemInfo.vue.d.ts +10 -12
- package/dist/src/components/display/podcasts/PodcastList.vue.d.ts +2 -0
- package/dist/src/components/display/sharing/FormatSwitch.vue.d.ts +12 -17
- package/dist/src/components/form/ClassicColorPicker.vue.d.ts +26 -0
- package/dist/src/components/form/ClassicContentEditable.vue.d.ts +1 -1
- package/dist/src/components/form/ClassicInputText.vue.d.ts +1 -1
- package/dist/src/components/form/ClassicMultiselect.vue.d.ts +4 -4
- package/dist/src/components/form/index.d.ts +2 -1
- package/dist/src/components/layouts/PresentationItem.vue.d.ts +7 -3
- package/dist/src/components/misc/ClassicPopover.vue.d.ts +2 -0
- package/dist/src/components/misc/ExternalLink.vue.d.ts +27 -0
- package/dist/src/components/misc/LoadingOverlay.vue.d.ts +19 -0
- package/dist/src/components/misc/SkipToContent.vue.d.ts +7 -0
- package/dist/src/locale/messages.d.ts +102 -0
- package/dist/src/stores/AuthStore.d.ts +1 -0
- package/dist/src/stores/CommentStore.d.ts +3 -1
- package/dist/src/stores/ParamSdkStore.d.ts +30 -32
- package/dist/src/websocket/commentWebsocket.d.ts +3 -2
- package/dist/src/websocket/wss.d.ts +35 -32
- package/dist/tests-mocks.mjs +3 -2
- package/dist/tests.mjs +3 -2
- package/dist/{useAdvancedParamInit-Bn2nYh9V.mjs → useAdvancedParamInit-CdXta4Fd.mjs} +5 -5
- package/dist/{useAppleVideo-MNXcA2S0.mjs → useAppleVideo-C0gGIXRR.mjs} +1 -1
- package/dist/{useDayjs-DV3H3JdH.mjs → useDayjs-B6txyR3X.mjs} +1 -1
- package/dist/{useErrorHandler-BVeBrWmP.mjs → useErrorHandler-BPwwQKrG.mjs} +1 -1
- package/dist/{useImageProxy-aLDjafm4.mjs → useImageProxy-XMMC_IC2.mjs} +1 -1
- package/dist/{useOrgaComputed-q48Zu9Fs.mjs → useOrgaComputed-B0wJ-ALx.mjs} +1 -1
- package/dist/usePresentationItem-D6mrQ7Zp.mjs +104 -0
- package/dist/{useRights-tS_KEToi.mjs → useRights-B-RH3q3n.mjs} +1 -1
- package/dist/{useRubriquesFilterComputed-Xl5Dt2Xq.mjs → useRubriquesFilterComputed-Bp6L2o9-.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-CIvIwIvX.mjs → useRubriquesFilterParam-B05QATg9.mjs} +1 -1
- package/dist/{useSharePlatforms-fUzHb1WM.mjs → useSharePlatforms-CbcKb6yZ.mjs} +26 -26
- package/dist/{useSimplePageParam-3Nn8EFc0.mjs → useSimplePageParam-DaoVpYoG.mjs} +1 -1
- package/eslint-config.mjs +10 -0
- package/package.json +4 -2
- package/src/api/rubriquesApi.ts +4 -4
- package/src/components/display/RightsIndicator.vue +0 -13
- package/src/components/display/RightsWrapper.vue +1 -16
- package/src/components/display/accessibility/AccessibilityModal.vue +7 -12
- package/src/components/display/comments/CommentInput.vue +2 -1
- package/src/components/display/comments/CommentList.vue +189 -176
- package/src/components/display/comments/CommentSection.vue +160 -73
- package/src/components/display/comments/item/CommentItem.vue +186 -135
- package/src/components/display/comments/item/CommentMoreActions.vue +195 -194
- package/src/components/display/comments/like/LikeButton.vue +47 -45
- package/src/components/display/comments/like/LikeSection.vue +122 -115
- package/src/components/display/emission/EmissionInlineList.vue +118 -116
- package/src/components/display/emission/EmissionItem.vue +35 -28
- package/src/components/display/emission/EmissionList.vue +41 -24
- package/src/components/display/emission/EmissionPresentationItem.vue +3 -0
- package/src/components/display/emission/EmissionPresentationList.vue +1 -0
- package/src/components/display/filter/ProductorSearch.vue +83 -80
- package/src/components/display/list/ListPaginate.vue +51 -37
- package/src/components/display/list/PaginateParams.vue +28 -32
- package/src/components/display/list/PaginateSection.vue +145 -138
- package/src/components/display/list/SwiperList.vue +113 -10
- package/src/components/display/live/LiveList.vue +111 -106
- package/src/components/display/live/RadioItem.vue +17 -12
- package/src/components/display/organisation/OrganisationChooser.vue +2 -1
- package/src/components/display/participant/ParticipantInlineList.vue +52 -49
- package/src/components/display/participant/ParticipantItem.vue +2 -1
- package/src/components/display/playlist/PlaylistItem.vue +19 -15
- package/src/components/display/playlist/PlaylistList.vue +16 -10
- package/src/components/display/playlist/PodcastPlaylistInlineList.vue +68 -61
- package/src/components/display/podcasts/AnimatorsItem.vue +2 -0
- package/src/components/display/podcasts/PodcastFilterList.vue +107 -106
- package/src/components/display/podcasts/PodcastImage.vue +110 -126
- package/src/components/display/podcasts/PodcastInlineList.vue +133 -25
- package/src/components/display/podcasts/PodcastInlineListTemplate.vue +2 -0
- package/src/components/display/podcasts/PodcastItem.vue +111 -64
- package/src/components/display/podcasts/PodcastItemInfo.vue +48 -18
- package/src/components/display/podcasts/PodcastList.vue +198 -194
- package/src/components/display/podcasts/PodcastModuleBox.vue +1 -0
- package/src/components/display/podcasts/PodcastPlayButton.vue +23 -6
- package/src/components/display/podcasts/PodcastPresentationList.vue +1 -0
- package/src/components/display/rubriques/InlineRubriqueList.vue +35 -16
- package/src/components/display/sharing/FormatSwitch.vue +90 -101
- package/src/components/display/sharing/QrCode.vue +4 -8
- package/src/components/display/sharing/ShareAnonymous.vue +207 -205
- package/src/components/display/sharing/ShareNewsletter.vue +3 -7
- package/src/components/display/sharing/SharePlayerColors.vue +5 -12
- package/src/components/display/sharing/ShareSocialsButtons.vue +67 -60
- package/src/components/display/sharing/SubscribeButtons.vue +47 -35
- package/src/components/form/ClassicColorPicker.vue +110 -0
- package/src/components/form/ClassicMultiselect.vue +205 -197
- package/src/components/form/ClassicSelect.vue +100 -80
- package/src/components/form/index.ts +2 -0
- package/src/components/layouts/PresentationItem.vue +18 -12
- package/src/components/misc/ClassicDataTable.vue +3 -3
- package/src/components/misc/ClassicPopover.vue +95 -1
- package/src/components/misc/ClassicSpinner.vue +16 -2
- package/src/components/misc/ExternalLink.vue +51 -0
- package/src/components/misc/LoadingOverlay.vue +86 -0
- package/src/components/misc/RightsScopeMenu.vue +1 -1
- package/src/components/misc/SkipToContent.vue +16 -0
- package/src/components/misc/TopBarMainContent.vue +6 -9
- package/src/components/misc/UserButtonContent.vue +4 -7
- package/src/components/pages/EmissionPage.vue +3 -2
- package/src/components/pages/EmissionsPage.vue +4 -0
- package/src/components/pages/ParticipantPage.vue +2 -1
- package/src/components/pages/PlaylistPage.vue +115 -110
- package/src/components/pages/PodcastPage.vue +3 -0
- package/src/components/pages/PodcastsPage.vue +4 -0
- package/src/components/pages/RubriquePage.vue +1 -0
- package/src/components/pages/SmartLinkPage.vue +10 -7
- package/src/layouts/FullLayout.vue +29 -23
- package/src/locale/de.json +18 -1
- package/src/locale/en.json +18 -1
- package/src/locale/es.json +18 -1
- package/src/locale/fr.json +22 -1
- package/src/locale/it.json +18 -1
- package/src/locale/sl.json +18 -1
- package/src/stores/AuthStore.ts +11 -1
- package/src/stores/CommentStore.ts +280 -263
- package/src/stores/ParamSdkStore.ts +39 -37
- package/src/style/_variables.scss +18 -0
- package/src/style/bootstrap.scss +40 -1
- package/src/style/general.scss +3 -3
- package/src/style/share.scss +26 -1
- package/src/websocket/commentWebsocket.ts +56 -54
- package/src/websocket/wss.ts +136 -163
- package/tests/components/display/comments/CommentList.spec.ts +45 -0
- package/tests/components/display/emission/EmissionItem.spec.ts +35 -0
- package/tests/components/display/emission/EmissionPresentationItem.spec.ts +6 -0
- package/tests/components/display/filter/ProductorSearch.spec.ts +20 -0
- package/tests/components/display/list/ListPaginate.spec.ts +67 -0
- package/tests/components/display/list/SwiperList.spec.ts +101 -2
- package/tests/components/display/live/RadioItem.spec.ts +41 -0
- package/tests/components/display/playlist/PlaylistItem.spec.ts +53 -0
- package/tests/components/display/podcasts/AnimatorsItem.spec.ts +18 -0
- package/tests/components/display/podcasts/PodcastInlineList.spec.ts +139 -0
- package/tests/components/display/podcasts/PodcastInlineListTemplate.spec.ts +16 -0
- package/tests/components/display/podcasts/PodcastItem.spec.ts +77 -0
- package/tests/components/display/podcasts/PodcastItemInfo.spec.ts +15 -2
- package/tests/components/display/podcasts/PodcastPlayButton.spec.ts +67 -0
- package/tests/components/display/sharing/FormatSwitch.spec.ts +26 -0
- package/tests/components/display/sharing/ShareAnonymous.spec.ts +61 -0
- package/tests/components/display/sharing/SubscribeButtons.spec.ts +73 -0
- package/tests/components/form/ClassicColorPicker.spec.ts +71 -0
- package/tests/components/form/ClassicSelect.spec.ts +38 -0
- package/tests/components/layouts/PresentationItem.spec.ts +34 -0
- package/tests/components/misc/ClassicPopover.spec.ts +112 -0
- package/tests/components/misc/ExternalLink.spec.ts +49 -0
- package/tests/components/misc/LoadingOverlay.spec.ts +27 -0
- package/tests/components/misc/SkipToContent.spec.ts +19 -0
- package/tests/components/pages/EmissionPage.spec.ts +9 -0
- package/tests/components/pages/EmissionsPage.spec.ts +13 -2
- package/tests/components/pages/PlaylistPage.spec.ts +11 -0
- package/tests/components/pages/PodcastsPage.spec.ts +13 -2
- package/tests/components/pages/SmartLinkPage.spec.ts +13 -0
- package/tests/helper/language.spec.ts +7 -3
- package/tests/mocks/useAdvancedParamInit.ts +2 -1
- package/tests/setup.ts +7 -0
- package/tests/stores/CommentStore.spec.ts +19 -0
- package/tests/utils.ts +5 -2
- package/tests/websocket/wss.spec.ts +153 -0
- package/dist/ClassicPopover-BUb-1WMB.mjs +0 -172
- package/dist/ClassicSelect-BpA0jKN6.mjs +0 -111
- package/dist/CommentItem-CY2-D9P3.mjs +0 -226
- package/dist/CommentList-CDIYZEq_.mjs +0 -201
- package/dist/CommentSection-BJZtgsut.mjs +0 -79
- package/dist/EmissionItem-BVsuGOnv.mjs +0 -116
- package/dist/EmissionList-E8czEUK3.mjs +0 -229
- package/dist/EmissionPage-CaDFKkE8.mjs +0 -192
- package/dist/EmissionsPage-C0jLjKTK.mjs +0 -116
- package/dist/InlineRubriqueList-BeGu04QD.mjs +0 -48
- package/dist/LikeButton-Cu8jAJHx.mjs +0 -40
- package/dist/ListPaginate-BYBfYtD5.mjs +0 -153
- package/dist/OrganisationChooser-CNNIw66c.mjs +0 -135
- package/dist/PaginateParams-Bjz3ZI-5.mjs +0 -75
- package/dist/ParticipantItem-CRnquj4R.mjs +0 -91
- package/dist/ParticipantPage-D0lJjj0p.mjs +0 -128
- package/dist/PlaylistPage-DMnkTMHk.mjs +0 -132
- package/dist/PodcastImage-DrIX2U4c.mjs +0 -115
- package/dist/PodcastInlineList-BtVDNokV.mjs +0 -123
- package/dist/PodcastItem-DYOmggEB.mjs +0 -151
- package/dist/PodcastPage-ClhwIq9v.mjs +0 -591
- package/dist/PodcastPlayButton-Bv61tl0L.mjs +0 -111
- package/dist/PodcastPlaylistInlineList-aZhxjz3p.mjs +0 -63
- package/dist/PodcastSwiperList-Cwh53maw.mjs +0 -170
- package/dist/PodcastsPage-CiEknka_.mjs +0 -132
- package/dist/QrCode-DITqqZq6.mjs +0 -109
- package/dist/RadioList-CTlVQuyN.mjs +0 -70
- package/dist/ShareAnonymous-kxt4P4zK.mjs +0 -199
- package/dist/SharePlayerColors-BpdifsHh.mjs +0 -49
- package/dist/ShareSocialsButtons-BhBqmgz7.mjs +0 -102
- package/dist/SmartLinkPage-Bupxsq-O.mjs +0 -136
- package/dist/SubscribeButtons-P1Jh_rFJ.mjs +0 -121
- package/dist/SwiperList-1mHT07oe.mjs +0 -117
- package/dist/TopBar-CeVHXg03.mjs +0 -427
- package/dist/UserButtonContent-CIq9izAe.mjs +0 -131
- package/dist/usePresentationItem-DWIj-6bU.mjs +0 -100
- package/src/components/display/podcasts/PodcastSwiperList.vue +0 -160
- package/src/helper/featureHelper.ts +0 -24
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { C as e, O as t, S as n, j as r, t as i } from "./AuthStore-BBZTjLTf.mjs";
|
|
2
|
-
import { t as a } from "./displayHelper-DQtoqc_6.mjs";
|
|
3
|
-
import { t as o } from "./useSharePath-D9G8Jdlb.mjs";
|
|
4
|
-
import { t as s } from "./ClassicPopover-BUb-1WMB.mjs";
|
|
5
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as h, defineComponent as g, normalizeClass as _, onBeforeMount as v, openBlock as y, ref as b, renderList as x, resolveDynamicComponent as S, toDisplayString as C, unref as w, useTemplateRef as ee, withCtx as te, withKeys as ne } from "vue";
|
|
6
|
-
import { useI18n as re } from "vue-i18n";
|
|
7
|
-
import ie from "vue-material-design-icons/Qrcode.vue";
|
|
8
|
-
import ae from "vue-material-design-icons/LinkVariant.vue";
|
|
9
|
-
import oe from "vue-material-design-icons/LinkVariantPlus.vue";
|
|
10
|
-
import se from "vue-material-design-icons/DotsHorizontal.vue";
|
|
11
|
-
//#region src/components/display/sharing/ShareAnonymous.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var ce = { key: 0 }, T = ["title"], E = [
|
|
13
|
-
"title",
|
|
14
|
-
"onMousedown",
|
|
15
|
-
"onKeydown"
|
|
16
|
-
], D = { class: "ms-1" }, O = /* @__PURE__ */ g({
|
|
17
|
-
__name: "ShareAnonymous",
|
|
18
|
-
props: {
|
|
19
|
-
podcast: {
|
|
20
|
-
default: void 0,
|
|
21
|
-
type: Object
|
|
22
|
-
},
|
|
23
|
-
emission: {
|
|
24
|
-
default: void 0,
|
|
25
|
-
type: Object
|
|
26
|
-
},
|
|
27
|
-
playlist: {
|
|
28
|
-
default: void 0,
|
|
29
|
-
type: Object
|
|
30
|
-
},
|
|
31
|
-
participantId: {
|
|
32
|
-
default: void 0,
|
|
33
|
-
type: Number
|
|
34
|
-
},
|
|
35
|
-
organisationId: {
|
|
36
|
-
default: void 0,
|
|
37
|
-
type: String
|
|
38
|
-
},
|
|
39
|
-
relativeClass: {
|
|
40
|
-
default: "page-element",
|
|
41
|
-
type: String
|
|
42
|
-
},
|
|
43
|
-
btnClass: {
|
|
44
|
-
default: "btn btn-transparent",
|
|
45
|
-
type: String
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
setup(g) {
|
|
49
|
-
let O = h(() => import("./SnackBar-BL-mLRun.mjs").then((e) => e.n)), k = h(() => import("./NewsletterModal-GkC9RDyD.mjs")), A = h(() => import("./QrCodeModal-CWrtwMmo.mjs")), j = h(() => import("./ClipboardModal-cHMlAcg3.mjs")), M = h(() => import("./PlayerAnonymousModal-BdgjFawf.mjs")), N = h(() => import("vue-material-design-icons/CodeTags.vue")), P = h(() => import("vue-material-design-icons/EmailNewsletter.vue")), F = h(() => import("vue-material-design-icons/Rss.vue")), I = g, L = b(!1), R = b(!1), z = b(!1), B = b(!1), V = b(!0), H = b(!1), U = b(!1), W = b(!0), G = b(!1), K = b(!1), le = ee("snackbar"), { t: q } = re(), J = i(), ue = t(), de = n(), { getSmartLink: fe } = o(), Y = l(() => window.location.href), X = l(() => r.generalParameters.podcastmaker), Z = l(() => {
|
|
50
|
-
let e = ue.apiUrl + "rss/";
|
|
51
|
-
return !X.value && I.playlist || I.podcast || I.emission ? "" : I.participantId ? e + "participant/" + I.participantId + ".rss" : I.playlist ? e + "playlist/" + I.playlist.playlistId + ".rss" : I.organisationId ? e + "productor/" + I.organisationId + ".rss" : "";
|
|
52
|
-
}), pe = l(() => I.participantId ? q("Subscribe to this participant") : I.emission ? q("Subscribe to this emission") : q("Subscribe to this RSS feed")), me = l(() => [
|
|
53
|
-
{
|
|
54
|
-
title: q("Copy this page URL"),
|
|
55
|
-
icon: ae,
|
|
56
|
-
condition: !0,
|
|
57
|
-
emitName: "link"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
title: q("SmartLink - Share link"),
|
|
61
|
-
icon: oe,
|
|
62
|
-
condition: X.value && (I.emission || I.playlist),
|
|
63
|
-
emitName: "smartlink"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
title: q("Share the player"),
|
|
67
|
-
icon: N,
|
|
68
|
-
condition: !X.value && (H.value || U.value && J.authOrgaId),
|
|
69
|
-
emitName: "player"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
title: q("Share newsletter"),
|
|
73
|
-
icon: P,
|
|
74
|
-
condition: I.podcast || I.emission || I.playlist,
|
|
75
|
-
emitName: "newsletter"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
title: q("Share QR Code"),
|
|
79
|
-
icon: ie,
|
|
80
|
-
condition: !0,
|
|
81
|
-
emitName: "qrcode"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
title: pe.value,
|
|
85
|
-
icon: F,
|
|
86
|
-
condition: Z.value !== "" && B.value && !J.isGarRole,
|
|
87
|
-
emitName: "rss"
|
|
88
|
-
}
|
|
89
|
-
]);
|
|
90
|
-
v(() => he());
|
|
91
|
-
async function he() {
|
|
92
|
-
if (I.participantId === void 0 ? B.value = !0 : B.value = await e.fetchData({
|
|
93
|
-
api: 0,
|
|
94
|
-
path: `rss/participants/allowed/${I.organisationId}`,
|
|
95
|
-
isNotAuth: !0
|
|
96
|
-
}), ge(), !I.organisationId) return;
|
|
97
|
-
let t = await de.getOrgaAttributes(I.organisationId);
|
|
98
|
-
V.value = t.noSharing === "true", W.value = !1;
|
|
99
|
-
}
|
|
100
|
-
function ge() {
|
|
101
|
-
let e = I.podcast?.emission.annotations ?? I.emission?.annotations;
|
|
102
|
-
e && (e.exclusive && (U.value = e.exclusive !== "true"), e.notExclusive && (H.value = e.notExclusive === "true"));
|
|
103
|
-
}
|
|
104
|
-
function Q(e) {
|
|
105
|
-
switch (e) {
|
|
106
|
-
case "link":
|
|
107
|
-
a.onCopyCode(Y.value, $);
|
|
108
|
-
break;
|
|
109
|
-
case "smartlink":
|
|
110
|
-
this.openSmartLink();
|
|
111
|
-
break;
|
|
112
|
-
case "newsletter":
|
|
113
|
-
R.value = !0;
|
|
114
|
-
break;
|
|
115
|
-
case "qrcode":
|
|
116
|
-
z.value = !0;
|
|
117
|
-
break;
|
|
118
|
-
case "rss":
|
|
119
|
-
G.value = !0;
|
|
120
|
-
break;
|
|
121
|
-
case "player": K.value = !0;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function $() {
|
|
125
|
-
L.value ? (le?.value).open(q("Link in clipboard")) : (L.value = !0, setTimeout(() => {
|
|
126
|
-
$();
|
|
127
|
-
}, 500));
|
|
128
|
-
}
|
|
129
|
-
return (e, t) => !W.value && !V.value ? (y(), f("div", ce, [
|
|
130
|
-
p("button", {
|
|
131
|
-
id: "anonymous-share-button",
|
|
132
|
-
class: _(g.btnClass),
|
|
133
|
-
title: w(q)("Share")
|
|
134
|
-
}, [m(se)], 10, T),
|
|
135
|
-
m(s, {
|
|
136
|
-
target: "anonymous-share-button",
|
|
137
|
-
"relative-class": g.relativeClass,
|
|
138
|
-
"is-fixed": !0,
|
|
139
|
-
"left-pos": !0,
|
|
140
|
-
"only-click": !0
|
|
141
|
-
}, {
|
|
142
|
-
default: te(() => [(y(!0), f(c, null, x(me.value, (e) => (y(), f("div", {
|
|
143
|
-
key: e.icon,
|
|
144
|
-
class: "d-flex flex-column"
|
|
145
|
-
}, [e.condition ? (y(), f("button", {
|
|
146
|
-
key: e.title,
|
|
147
|
-
class: "btn-transparent d-flex flex-nowrap justify-content-start align-items-center octopus-dropdown-item py-2",
|
|
148
|
-
title: e.title,
|
|
149
|
-
onMousedown: (t) => Q(e.emitName),
|
|
150
|
-
onKeydown: ne((t) => Q(e.emitName), ["enter"])
|
|
151
|
-
}, [(y(), u(S(e.icon))), p("span", D, C(e.title), 1)], 40, E)) : d("", !0)]))), 128))]),
|
|
152
|
-
_: 1
|
|
153
|
-
}, 8, ["relative-class"]),
|
|
154
|
-
z.value ? (y(), u(w(A), {
|
|
155
|
-
key: 0,
|
|
156
|
-
"url-page": Y.value,
|
|
157
|
-
"orga-for-color": g.organisationId,
|
|
158
|
-
onClose: t[0] ||= (e) => z.value = !1
|
|
159
|
-
}, null, 8, ["url-page", "orga-for-color"])) : d("", !0),
|
|
160
|
-
K.value ? (y(), u(w(M), {
|
|
161
|
-
key: 1,
|
|
162
|
-
podcast: g.podcast,
|
|
163
|
-
emission: g.emission ?? g.podcast?.emission,
|
|
164
|
-
exclusive: !U.value,
|
|
165
|
-
"not-exclusive": H.value,
|
|
166
|
-
onClose: t[1] ||= (e) => K.value = !1
|
|
167
|
-
}, null, 8, [
|
|
168
|
-
"podcast",
|
|
169
|
-
"emission",
|
|
170
|
-
"exclusive",
|
|
171
|
-
"not-exclusive"
|
|
172
|
-
])) : d("", !0),
|
|
173
|
-
R.value ? (y(), u(w(k), {
|
|
174
|
-
key: 2,
|
|
175
|
-
closable: !0,
|
|
176
|
-
podcast: g.podcast,
|
|
177
|
-
emission: g.emission,
|
|
178
|
-
playlist: g.playlist,
|
|
179
|
-
onClose: t[2] ||= (e) => R.value = !1
|
|
180
|
-
}, null, 8, [
|
|
181
|
-
"podcast",
|
|
182
|
-
"emission",
|
|
183
|
-
"playlist"
|
|
184
|
-
])) : d("", !0),
|
|
185
|
-
G.value ? (y(), u(w(j), {
|
|
186
|
-
key: 3,
|
|
187
|
-
link: Z.value,
|
|
188
|
-
onClose: t[3] ||= (e) => G.value = !1
|
|
189
|
-
}, null, 8, ["link"])) : d("", !0),
|
|
190
|
-
L.value ? (y(), u(w(O), {
|
|
191
|
-
key: 4,
|
|
192
|
-
ref: "snackbar",
|
|
193
|
-
position: "bottom-left"
|
|
194
|
-
}, null, 512)) : d("", !0)
|
|
195
|
-
])) : d("", !0);
|
|
196
|
-
}
|
|
197
|
-
});
|
|
198
|
-
//#endregion
|
|
199
|
-
export { O as default };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as e, createElementVNode as t, createVNode as n, defineComponent as r, openBlock as i, toDisplayString as a, unref as o } from "vue";
|
|
2
|
-
import { useI18n as s } from "vue-i18n";
|
|
3
|
-
import { VSwatches as c } from "vue3-swatches";
|
|
4
|
-
import "vue3-swatches/dist/style.css";
|
|
5
|
-
//#region src/components/display/sharing/SharePlayerColors.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var l = { class: "d-flex" }, u = { class: "d-flex flex-column align-items-center flex-shrink-0 me-4" }, d = { class: "h4 mb-2" }, f = { class: "d-flex flex-column align-items-center" }, p = { class: "h4 mb-2" }, m = /* @__PURE__ */ r({
|
|
7
|
-
__name: "SharePlayerColors",
|
|
8
|
-
props: {
|
|
9
|
-
color: {
|
|
10
|
-
default: "#40a372",
|
|
11
|
-
type: String
|
|
12
|
-
},
|
|
13
|
-
theme: {
|
|
14
|
-
default: "#000000",
|
|
15
|
-
type: String
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
emits: ["update:color", "update:theme"],
|
|
19
|
-
setup(r, { emit: m }) {
|
|
20
|
-
let h = m, { t: g } = s();
|
|
21
|
-
function _(e) {
|
|
22
|
-
h("update:color", e);
|
|
23
|
-
}
|
|
24
|
-
function v(e) {
|
|
25
|
-
h("update:theme", e);
|
|
26
|
-
}
|
|
27
|
-
return (s, m) => (i(), e("div", l, [t("div", u, [t("div", d, a(o(g)("Choose color")), 1), n(o(c), {
|
|
28
|
-
"model-value": r.color,
|
|
29
|
-
class: "c-hand",
|
|
30
|
-
"show-fallback": "",
|
|
31
|
-
"fallback-input-type": "color",
|
|
32
|
-
colors: "text-advanced",
|
|
33
|
-
"popover-to": "right",
|
|
34
|
-
"data-color": r.color,
|
|
35
|
-
"onUpdate:modelValue": m[0] ||= (e) => _(e)
|
|
36
|
-
}, null, 8, ["model-value", "data-color"])]), t("div", f, [t("div", p, a(o(g)("Choose theme")), 1), n(o(c), {
|
|
37
|
-
"model-value": r.theme,
|
|
38
|
-
class: "c-hand",
|
|
39
|
-
"show-fallback": "",
|
|
40
|
-
"fallback-input-type": "color",
|
|
41
|
-
colors: "text-advanced",
|
|
42
|
-
"popover-to": "right",
|
|
43
|
-
"data-color": r.theme,
|
|
44
|
-
"onUpdate:modelValue": m[1] ||= (e) => v(e)
|
|
45
|
-
}, null, 8, ["model-value", "data-color"])])]));
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
//#endregion
|
|
49
|
-
export { m as default };
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { S as e, t } from "./AuthStore-BBZTjLTf.mjs";
|
|
2
|
-
import { t as n } from "./XIcon-DNBT2Zgf.mjs";
|
|
3
|
-
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, onMounted as u, openBlock as d, ref as f, renderList as p, renderSlot as m, resolveDynamicComponent as h, toDisplayString as g, unref as _ } from "vue";
|
|
4
|
-
import { useI18n as v } from "vue-i18n";
|
|
5
|
-
import y from "vue-material-design-icons/Whatsapp.vue";
|
|
6
|
-
import b from "vue-material-design-icons/Linkedin.vue";
|
|
7
|
-
import x from "vue-material-design-icons/Facebook.vue";
|
|
8
|
-
//#region src/components/icons/BlueSkyIcon.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var S = ["aria-hidden", "title"], C = [
|
|
10
|
-
"height",
|
|
11
|
-
"width",
|
|
12
|
-
"fill"
|
|
13
|
-
], w = /* @__PURE__ */ l({
|
|
14
|
-
__name: "BlueSkyIcon",
|
|
15
|
-
props: {
|
|
16
|
-
size: {
|
|
17
|
-
default: 24,
|
|
18
|
-
type: Number
|
|
19
|
-
},
|
|
20
|
-
title: {
|
|
21
|
-
default: void 0,
|
|
22
|
-
type: String
|
|
23
|
-
},
|
|
24
|
-
fillColor: {
|
|
25
|
-
default: "currentColor",
|
|
26
|
-
type: String
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
setup(e) {
|
|
30
|
-
return (t, n) => (d(), s("span", {
|
|
31
|
-
"aria-hidden": !e.title,
|
|
32
|
-
class: "material-design-icon",
|
|
33
|
-
title: e.title
|
|
34
|
-
}, [(d(), s("svg", {
|
|
35
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
-
viewBox: "0 0 600 530",
|
|
37
|
-
height: e.size,
|
|
38
|
-
width: e.size,
|
|
39
|
-
fill: e.fillColor
|
|
40
|
-
}, [...n[0] ||= [c("path", { d: "m135.72 44.03c66.496 49.921 138.02 151.14 164.28 205.46 26.262-54.316 97.782-155.54 164.28-205.46 47.98-36.021 125.72-63.892 125.72 24.795 0 17.712-10.155 148.79-16.111 170.07-20.703 73.984-96.144 92.854-163.25 81.433 117.3 19.964 147.14 86.092 82.697 152.22-122.39 125.59-175.91-31.511-189.63-71.766-2.514-7.3797-3.6904-10.832-3.7077-7.8964-0.0174-2.9357-1.1937 0.51669-3.7077 7.8964-13.714 40.255-67.233 197.36-189.63 71.766-64.444-66.128-34.605-132.26 82.697-152.22-67.108 11.421-142.55-7.4491-163.25-81.433-5.9562-21.282-16.111-152.36-16.111-170.07 0-88.687 77.742-60.816 125.72-24.795z" }, null, -1)]], 8, C))], 8, S));
|
|
41
|
-
}
|
|
42
|
-
}), T = {
|
|
43
|
-
key: 0,
|
|
44
|
-
id: "share-buttons-podcast-section",
|
|
45
|
-
class: "module-box"
|
|
46
|
-
}, E = { class: "mb-2" }, D = { class: "d-flex align-items-center" }, O = ["href", "title"], k = /* @__PURE__ */ l({
|
|
47
|
-
__name: "ShareSocialsButtons",
|
|
48
|
-
props: { organisationId: {
|
|
49
|
-
default: void 0,
|
|
50
|
-
type: String
|
|
51
|
-
} },
|
|
52
|
-
setup(l) {
|
|
53
|
-
let S = l, C = f(!0), k = f(!0), { t: A } = v(), j = t(), M = e(), N = i(() => [
|
|
54
|
-
{
|
|
55
|
-
title: "Facebook",
|
|
56
|
-
icon: x,
|
|
57
|
-
url: `https://www.facebook.com/sharer/sharer.php?u=${P.value}`,
|
|
58
|
-
condition: !0
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
title: "X",
|
|
62
|
-
icon: n,
|
|
63
|
-
url: `https://twitter.com/intent/tweet?text=${P.value}`,
|
|
64
|
-
condition: !0
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
title: "Linkedin",
|
|
68
|
-
icon: b,
|
|
69
|
-
url: `https://www.linkedin.com/sharing/share-offsite/?url=${P.value}`,
|
|
70
|
-
condition: !0
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
title: "Bluesky",
|
|
74
|
-
icon: w,
|
|
75
|
-
url: `https://bsky.app/intent/compose?text=${P.value}`,
|
|
76
|
-
condition: !0
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
title: "Whatsapp",
|
|
80
|
-
icon: y,
|
|
81
|
-
url: `whatsapp://send?text=${P.value}`,
|
|
82
|
-
condition: window.matchMedia("(hover: none)").matches
|
|
83
|
-
}
|
|
84
|
-
]), P = i(() => window.location.href);
|
|
85
|
-
u(() => F());
|
|
86
|
-
async function F() {
|
|
87
|
-
if (!S.organisationId) return;
|
|
88
|
-
let e = await M.getOrgaAttributes(S.organisationId);
|
|
89
|
-
C.value = e.noSharing === "true", k.value = !1;
|
|
90
|
-
}
|
|
91
|
-
return (e, t) => !k.value && !_(j).isGarRole && (_(j).authOrgaId || !C.value) ? (d(), s("section", T, [c("h3", E, g(_(A)("Share in one click")), 1), c("div", D, [(d(!0), s(r, null, p(N.value, (e) => (d(), s(r, { key: e.title }, [e.condition ? (d(), s("a", {
|
|
92
|
-
key: 0,
|
|
93
|
-
rel: "noreferrer noopener",
|
|
94
|
-
target: "_blank",
|
|
95
|
-
href: e.url,
|
|
96
|
-
class: "btn share-btn mb-2 text-dark me-2",
|
|
97
|
-
title: _(A)("New window", { text: e.title })
|
|
98
|
-
}, [(d(), a(h(e.icon), { size: 34 }))], 8, O)) : o("", !0)], 64))), 128)), m(e.$slots, "additional-buttons")])])) : o("", !0);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
//#endregion
|
|
102
|
-
export { k as default };
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { _ as e, d as t, h as n, j as r, u as ee, x as i } from "./AuthStore-BBZTjLTf.mjs";
|
|
2
|
-
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
3
|
-
import { t as o } from "./ClassicNotifications-Bt7HmFoU.mjs";
|
|
4
|
-
import { t as s } from "./displayHelper-DQtoqc_6.mjs";
|
|
5
|
-
import { t as c } from "./useImageProxy-aLDjafm4.mjs";
|
|
6
|
-
import { r as l } from "./useSharePlatforms-fUzHb1WM.mjs";
|
|
7
|
-
import { t as u } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
8
|
-
import { t as te } from "./useSharePath-D9G8Jdlb.mjs";
|
|
9
|
-
import "./logo_saooti_play_black-Doe3es2H.mjs";
|
|
10
|
-
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeStyle as ne, onMounted as re, openBlock as b, ref as x, renderList as ie, resolveDirective as ae, resolveDynamicComponent as S, toDisplayString as C, unref as w, withDirectives as T } from "vue";
|
|
11
|
-
import { saootiPlayer as E } from "@saooti/saooti-player";
|
|
12
|
-
import D from "vue-material-design-icons/Play.vue";
|
|
13
|
-
//#region src/components/pages/SmartLinkPage.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
-
var O = {
|
|
15
|
-
key: 0,
|
|
16
|
-
class: "background"
|
|
17
|
-
}, k = ["src"], A = { key: 1 }, j = { class: "content" }, M = { class: "left" }, N = {
|
|
18
|
-
width: "250",
|
|
19
|
-
height: "250",
|
|
20
|
-
class: "img-box",
|
|
21
|
-
"aria-hidden": "true",
|
|
22
|
-
alt: ""
|
|
23
|
-
}, P = ["innerHTML"], F = { class: "platforms" }, I = ["onClick"], L = { class: "platform-label" }, oe = { class: "footer" }, R = {
|
|
24
|
-
target: "_blank",
|
|
25
|
-
href: "/"
|
|
26
|
-
}, z = ["href"], B = { key: 0 }, V = { key: 1 }, H = /*#__PURE__*/ a(/* @__PURE__ */ y({
|
|
27
|
-
__name: "SmartLinkPage",
|
|
28
|
-
props: {
|
|
29
|
-
playlistId: {},
|
|
30
|
-
emissionId: {}
|
|
31
|
-
},
|
|
32
|
-
setup(a) {
|
|
33
|
-
let { updatePathParams: y } = u(), { useProxyImageUrl: H } = c(), { getPlatformsWithLinks: U, initPlatforms: W } = l(), G = x(null);
|
|
34
|
-
re(async () => {
|
|
35
|
-
a.playlistId ? (G.value = await n.get(a.playlistId), W(G.value.organisation.id)) : a.emissionId ? (G.value = await i.get(a.emissionId), W(G.value.orga.id)) : console.error("No content defined"), y(K.value), se(), de();
|
|
36
|
-
});
|
|
37
|
-
let K = f(() => a.playlistId ? G.value.title : a.emissionId ? G.value.name : ""), q = f(() => {
|
|
38
|
-
let e = G.value.description;
|
|
39
|
-
if (r.smartLink.showOnlyFirstParagraphInDescription === !0) {
|
|
40
|
-
let t = e.match(/^(.+?(?:\n+.*?)*<\/p>)/);
|
|
41
|
-
t && t.length >= 2 && (e = t[1]);
|
|
42
|
-
}
|
|
43
|
-
return s.urlify(e);
|
|
44
|
-
}), J = f(() => {
|
|
45
|
-
if (G.value) {
|
|
46
|
-
if (a.playlistId) return G.value.organisation;
|
|
47
|
-
if (a.emissionId) return G.value.orga;
|
|
48
|
-
}
|
|
49
|
-
}), Y = x(null), { getSharePath: X } = te();
|
|
50
|
-
async function se() {
|
|
51
|
-
J.value && (Y.value = await e.getAttributes(J.value.id));
|
|
52
|
-
}
|
|
53
|
-
let Z = f(() => {
|
|
54
|
-
if (a.playlistId) return X({
|
|
55
|
-
name: "playlist",
|
|
56
|
-
params: { playlistId: a.playlistId }
|
|
57
|
-
}, Y.value);
|
|
58
|
-
if (a.emissionId) return X({
|
|
59
|
-
name: "emission",
|
|
60
|
-
params: { emissionId: a.emissionId }
|
|
61
|
-
}, Y.value);
|
|
62
|
-
}), ce = f(() => G.value ? U(G.value.annotations) : []);
|
|
63
|
-
function le(e) {
|
|
64
|
-
return { "--gradient-color": e.color };
|
|
65
|
-
}
|
|
66
|
-
function ue(e) {
|
|
67
|
-
window.open(e, "_blank").focus();
|
|
68
|
-
}
|
|
69
|
-
let Q = x(null);
|
|
70
|
-
async function de() {
|
|
71
|
-
if (a.playlistId) {
|
|
72
|
-
let e = await n.getContent(a.playlistId);
|
|
73
|
-
if (e.length > 0) {
|
|
74
|
-
let n = e[e.length - 1].podcastId;
|
|
75
|
-
Q.value = await t.get(n);
|
|
76
|
-
}
|
|
77
|
-
} else if (a.emissionId) {
|
|
78
|
-
let e = await t.searchFull({
|
|
79
|
-
emissionId: a.emissionId,
|
|
80
|
-
sort: ee.DATE,
|
|
81
|
-
size: 1
|
|
82
|
-
});
|
|
83
|
-
e.count > 0 && (Q.value = e.result[0]);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
function $() {
|
|
87
|
-
Q.value && E.playPodcast(Q.value.podcastId);
|
|
88
|
-
}
|
|
89
|
-
return (e, t) => {
|
|
90
|
-
let n = ae("lazy");
|
|
91
|
-
return b(), h(d, null, [
|
|
92
|
-
v(o),
|
|
93
|
-
G.value ? (b(), h("div", O, [g("img", { src: w(H)(G.value.imageUrl, "1600") }, null, 8, k)])) : m("", !0),
|
|
94
|
-
G.value ? (b(), h("article", A, [
|
|
95
|
-
g("div", j, [
|
|
96
|
-
g("div", M, [T(g("img", N, null, 512), [[n, w(H)(G.value.imageUrl, "250")]]), Q.value ? (b(), h("button", {
|
|
97
|
-
key: 0,
|
|
98
|
-
class: "btn btn-primary play-button pe-3 hide-phone",
|
|
99
|
-
onClick: $
|
|
100
|
-
}, [v(D, { class: "me-2" }), _(" " + C(e.$t("SmartLink - Listen to latest episode")), 1)])) : m("", !0)]),
|
|
101
|
-
g("h1", null, C(K.value), 1),
|
|
102
|
-
g("div", { innerHTML: q.value }, null, 8, P),
|
|
103
|
-
Q.value ? (b(), h("button", {
|
|
104
|
-
key: 0,
|
|
105
|
-
class: "btn btn-primary play-button pe-3 mt-4 show-phone-flex",
|
|
106
|
-
onClick: $
|
|
107
|
-
}, [v(D, { class: "me-2" }), _(" " + C(e.$t("SmartLink - Listen to latest episode")), 1)])) : m("", !0)
|
|
108
|
-
]),
|
|
109
|
-
g("div", F, [(b(!0), h(d, null, ie(ce.value, (e) => (b(), h("div", {
|
|
110
|
-
key: e.name,
|
|
111
|
-
class: "platform-btn"
|
|
112
|
-
}, [g("button", {
|
|
113
|
-
class: "btn w-100",
|
|
114
|
-
style: ne(le(e)),
|
|
115
|
-
onClick: (t) => ue(e.url)
|
|
116
|
-
}, [(b(), p(S(e.icon), {
|
|
117
|
-
size: 36,
|
|
118
|
-
"fill-color": e.color,
|
|
119
|
-
class: "me-2"
|
|
120
|
-
}, null, 8, ["fill-color"])), g("span", L, C(e.title), 1)], 12, I)]))), 128))]),
|
|
121
|
-
g("div", oe, [g("a", R, [g("span", null, C(e.$t("SmartLink - Made by")), 1), t[0] ||= g("img", {
|
|
122
|
-
src: "/img/logo_saooti_play_black.svg",
|
|
123
|
-
height: "24",
|
|
124
|
-
class: "ms-2"
|
|
125
|
-
}, null, -1)]), Z.value ? (b(), h("a", {
|
|
126
|
-
key: 0,
|
|
127
|
-
target: "_blank",
|
|
128
|
-
href: Z.value
|
|
129
|
-
}, [a.playlistId ? (b(), h("span", B, C(e.$t("SmartLink - To playlist on podcastmaker", { organisation: J.value.name })), 1)) : a.emissionId ? (b(), h("span", V, C(e.$t("SmartLink - To emission on podcastmaker", { organisation: J.value.name })), 1)) : m("", !0)], 8, z)) : m("", !0)])
|
|
130
|
-
])) : m("", !0)
|
|
131
|
-
], 64);
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
}), [["__scopeId", "data-v-12c7f1fb"]]);
|
|
135
|
-
//#endregion
|
|
136
|
-
export { H as default };
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import { O as t } from "./AuthStore-BBZTjLTf.mjs";
|
|
3
|
-
import { t as n } from "./useResizePhone-4hSkK5pa.mjs";
|
|
4
|
-
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
5
|
-
import { r as i } from "./useSharePlatforms-fUzHb1WM.mjs";
|
|
6
|
-
import { t as a } from "./ClassicPopover-BUb-1WMB.mjs";
|
|
7
|
-
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as g, openBlock as _, renderList as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, vShow as S, withCtx as C, withDirectives as w } from "vue";
|
|
8
|
-
import T from "vue-material-design-icons/Plus.vue";
|
|
9
|
-
import { useI18n as E } from "vue-i18n";
|
|
10
|
-
import D from "vue-material-design-icons/Rss.vue";
|
|
11
|
-
//#region src/components/display/sharing/SubscribeButtons.vue?vue&type=script&setup=true&lang.ts
|
|
12
|
-
var O = { ref: "subscribeButtonsContainer" }, k = [
|
|
13
|
-
"id",
|
|
14
|
-
"href",
|
|
15
|
-
"title"
|
|
16
|
-
], A = ["href", "title"], j = ["title"], M = ["href", "title"], N = /*@__PURE__*/ m({
|
|
17
|
-
__name: "SubscribeButtons",
|
|
18
|
-
props: {
|
|
19
|
-
content: {},
|
|
20
|
-
windowWidth: { default: 0 },
|
|
21
|
-
justifyCenter: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !0
|
|
24
|
-
},
|
|
25
|
-
mono: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !1
|
|
28
|
-
},
|
|
29
|
-
limit: { default: void 0 },
|
|
30
|
-
noRss: {
|
|
31
|
-
type: Boolean,
|
|
32
|
-
default: !1
|
|
33
|
-
},
|
|
34
|
-
small: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !1
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
setup(e) {
|
|
40
|
-
let r = e, { t: m } = E(), N = t(), { getPlatformsWithLinks: P, initPlatforms: F } = i(), { isPhone: I } = n(), L = s(() => {
|
|
41
|
-
let e = 5;
|
|
42
|
-
return I.value && (e = 3), r.noRss && (e += 1), R.value.length <= e + 1 && (e = R.value.length), r.limit === void 0 ? e : Math.min(e, r.limit);
|
|
43
|
-
}), R = s(() => P(r.content.annotations)), z = s(() => R.value.slice(0, L.value)), B = s(() => R.value.slice(L.value)), V = s(() => {
|
|
44
|
-
let e = N.apiUrl + "rss/";
|
|
45
|
-
if (r.content.emissionId) return e + "emission/" + r.content.emissionId + ".rss";
|
|
46
|
-
if (r.content.playlistId) return e + "playlist/" + r.content.playlistId + ".rss";
|
|
47
|
-
}), H = s(() => r.small ? 20 : 24);
|
|
48
|
-
g(() => {
|
|
49
|
-
let e = "orga" in r.content ? r.content.orga : r.content.organisation;
|
|
50
|
-
F(e.id);
|
|
51
|
-
});
|
|
52
|
-
function U(e) {
|
|
53
|
-
return r.mono === !0 ? "white" : e?.color;
|
|
54
|
-
}
|
|
55
|
-
return (t, n) => R.value.length || V.value ? (_(), u("div", {
|
|
56
|
-
key: 0,
|
|
57
|
-
class: h(["subscribe-buttons-container", { "justify-center": e.justifyCenter }])
|
|
58
|
-
}, [
|
|
59
|
-
d("div", O, [(_(!0), u(o, null, v(z.value, (t, n) => (_(), u("a", {
|
|
60
|
-
id: "subLink" + t.name,
|
|
61
|
-
key: t.name,
|
|
62
|
-
rel: "noreferrer noopener",
|
|
63
|
-
target: "_blank",
|
|
64
|
-
class: h([{
|
|
65
|
-
first: n === 0,
|
|
66
|
-
last: R.value.length - 1 === n,
|
|
67
|
-
mono: e.mono,
|
|
68
|
-
small: e.small
|
|
69
|
-
}, "btn share-btn"]),
|
|
70
|
-
href: t.url,
|
|
71
|
-
title: x(m)("New window", { text: t.title })
|
|
72
|
-
}, [(_(), c(y(t.icon), {
|
|
73
|
-
"fill-color": U(t),
|
|
74
|
-
size: H.value,
|
|
75
|
-
"non-decorative": ""
|
|
76
|
-
}, null, 8, ["fill-color", "size"]))], 10, k))), 128))], 512),
|
|
77
|
-
e.noRss ? l("", !0) : (_(), u("a", {
|
|
78
|
-
key: 0,
|
|
79
|
-
id: "rss-suscribe-button",
|
|
80
|
-
rel: "noreferrer noopener",
|
|
81
|
-
target: "_blank",
|
|
82
|
-
class: h(["btn share-btn", {
|
|
83
|
-
mono: e.mono,
|
|
84
|
-
small: e.small
|
|
85
|
-
}]),
|
|
86
|
-
href: V.value,
|
|
87
|
-
title: x(m)("New window", { text: x(m)("Rss feed") })
|
|
88
|
-
}, [p(D, {
|
|
89
|
-
"fill-color": U(),
|
|
90
|
-
size: H.value
|
|
91
|
-
}, null, 8, ["fill-color", "size"])], 10, A)),
|
|
92
|
-
e.limit === void 0 ? w((_(), u("button", {
|
|
93
|
-
key: 1,
|
|
94
|
-
id: "subscribe-buttons-dropdown",
|
|
95
|
-
class: "btn share-btn mx-2",
|
|
96
|
-
title: x(m)("See more")
|
|
97
|
-
}, [p(T)], 8, j)), [[S, B.value.length]]) : l("", !0),
|
|
98
|
-
p(a, {
|
|
99
|
-
target: "subscribe-buttons-dropdown",
|
|
100
|
-
"popover-class": "popover-z-index",
|
|
101
|
-
"only-click": !0,
|
|
102
|
-
"left-pos": !0
|
|
103
|
-
}, {
|
|
104
|
-
default: C(() => [(_(!0), u(o, null, v(B.value, (e) => (_(), u("a", {
|
|
105
|
-
key: e.name,
|
|
106
|
-
rel: "noreferrer noopener",
|
|
107
|
-
target: "_blank",
|
|
108
|
-
class: "octopus-dropdown-item justify-content-start d-flex align-items-center realLink",
|
|
109
|
-
href: e.url,
|
|
110
|
-
title: x(m)("New window", { text: e.title })
|
|
111
|
-
}, [(_(), c(y(e.icon), {
|
|
112
|
-
"fill-color": U(e),
|
|
113
|
-
class: "me-1"
|
|
114
|
-
}, null, 8, ["fill-color"])), f(" " + b(e.title), 1)], 8, M))), 128))]),
|
|
115
|
-
_: 1
|
|
116
|
-
})
|
|
117
|
-
], 2)) : l("", !0);
|
|
118
|
-
}
|
|
119
|
-
}), P = /* @__PURE__ */ e({ default: () => F }), F = /*#__PURE__*/ r(N, [["__scopeId", "data-v-3444a866"]]);
|
|
120
|
-
//#endregion
|
|
121
|
-
export { P as n, F as t };
|