@saooti/octopus-sdk 42.0.0-beta4 → 42.0.0
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/{AdvancedSearch-CEY9zekG.mjs → AdvancedSearch-cAV6nTl-.mjs} +6 -6
- package/dist/{CategoryFilter-BR7xKqAs.mjs → CategoryFilter-BABbTJa5.mjs} +3 -3
- package/dist/{CategoryList-C_j9BS6z.mjs → CategoryList-DqmUmjNN.mjs} +6 -6
- package/dist/{CategoryPage-B76O03pS.mjs → CategoryPage-DHzBdqke.mjs} +2 -2
- package/dist/{ChapteringModal-BqdP52kZ.mjs → ChapteringModal-DCNntgwF.mjs} +1 -1
- package/dist/{CheckIdentityModal-Bjj8pKfS.mjs → CheckIdentityModal-DTiQJPgb.mjs} +2 -2
- package/dist/{ClipboardModal-Dr4uigRl.mjs → ClipboardModal-BmoRjGDj.mjs} +1 -1
- package/dist/{CommentInput-DlOhx15G.mjs → CommentInput-B7faMDy8.mjs} +4 -4
- package/dist/{CommentItem-sTKIv0HP.mjs → CommentItem-Bn0Kf2qi.mjs} +3 -3
- package/dist/{CommentList-DQY25uIl.mjs → CommentList-DbMexENb.mjs} +2 -2
- package/dist/{CommentMoreActions-9LSpPYQN.mjs → CommentMoreActions-BELzbEc3.mjs} +3 -3
- package/dist/{CommentName-BxxQW5Dz.mjs → CommentName-CvkHzojR.mjs} +2 -2
- package/dist/{CommentParentInfo-B5KtGA53.mjs → CommentParentInfo-C3RNK7cS.mjs} +1 -1
- package/dist/{CommentPlayer-BENvnHVh.mjs → CommentPlayer-mdFDVETp.mjs} +2 -2
- package/dist/{CommentSection-A48xTRcS.mjs → CommentSection-BneFwNRE.mjs} +3 -3
- package/dist/{CommentStore-CEeT8j7V.mjs → CommentStore-BisGIAFG.mjs} +1 -1
- package/dist/{ContractPreviewModal-DfPFxPYf.mjs → ContractPreviewModal-BKaPbnOD.mjs} +1 -1
- package/dist/{DownloadPodcastButton-WWQguNKN.mjs → DownloadPodcastButton-inrCN9Lv.mjs} +3 -6
- package/dist/{EditCommentModal-SCBCE6An.mjs → EditCommentModal-CsLWG1mx.mjs} +1 -1
- package/dist/{EmissionGroupChooser-cWDlS2oB.mjs → EmissionGroupChooser-D704PbSY.mjs} +2 -2
- package/dist/{EmissionInlineList-BhJx2nlL.mjs → EmissionInlineList-Ca7Ftxl-.mjs} +9 -9
- package/dist/{EmissionItem-BvlXJEtp.mjs → EmissionItem-zGkYGDhL.mjs} +4 -4
- package/dist/{EmissionList-CJg9kTsW.mjs → EmissionList-D6I9P5eZ.mjs} +12 -12
- package/dist/{EmissionPage-DxBEiAF0.mjs → EmissionPage-Bf7EpgL9.mjs} +15 -15
- package/dist/{EmissionPlayerItem-B3HP3Sc7.mjs → EmissionPlayerItem-Cxxd0Ww4.mjs} +5 -5
- package/dist/{EmissionPresentationItem-CnXui0Nq.mjs → EmissionPresentationItem-BAKQrPhw.mjs} +10 -10
- package/dist/{EmissionPresentationList-DmzxXyGJ.mjs → EmissionPresentationList-B2it1lw8.mjs} +3 -3
- package/dist/{EmissionsPage-D1-jeqYw.mjs → EmissionsPage-5lwM8gVG.mjs} +4 -4
- package/dist/{Error403Page-BcW4zxhE.mjs → Error403Page-K49rHFYk.mjs} +1 -1
- package/dist/{FooterGarSection-B7vVFuFk.mjs → FooterGarSection-DjWZv-sw.mjs} +3 -3
- package/dist/FooterSection-1ewyc90a.mjs +148 -0
- package/dist/{HomeDropdown-BXlpuslZ.mjs → HomeDropdown-DzdV-aD7.mjs} +2 -2
- package/dist/{HomePage-DAhGh7AZ.mjs → HomePage-Chv0SiQt.mjs} +6 -6
- package/dist/{LikeSection-BuNshG2f.mjs → LikeSection-Bmux3FNM.mjs} +3 -3
- package/dist/{ListPaginate-Ck1oCTUd.mjs → ListPaginate-twqZX0dt.mjs} +2 -2
- package/dist/{LiveHorizontalList-DqdX3rZ7.mjs → LiveHorizontalList-BkwPmaTS.mjs} +3 -3
- package/dist/{LiveList-CuErtGqI.mjs → LiveList-Bpxpm3PX.mjs} +12 -12
- package/dist/{LivesPage-C5C6bzB9.mjs → LivesPage-CyPXPeEx.mjs} +3 -3
- package/dist/{MapPage-DgpRmrYT.mjs → MapPage-kBhfiJmb.mjs} +2 -2
- package/dist/{MobileMenu-CIENsB0g.mjs → MobileMenu-CchbL3M7.mjs} +5 -5
- package/dist/{NewsletterModal-s1GXZbjn.mjs → NewsletterModal-CxLhxaHN.mjs} +1 -1
- package/dist/{OctopusMultiselect-Dbh8MTHg.mjs → OctopusMultiselect-CaLjXg_3.mjs} +56 -52
- package/dist/{OrganisationChooser-DZWleQoZ.mjs → OrganisationChooser-B6-iPiTl.mjs} +6 -6
- package/dist/{OrganisationChooserLight-H3J7FiQ8.mjs → OrganisationChooserLight-DXeCmYZf.mjs} +2 -2
- package/dist/{PageNotFound-gMerhUp7.mjs → PageNotFound-Db2m6Rjg.mjs} +2 -2
- package/dist/{ParticipantInlineList-BT6Uaeb0.mjs → ParticipantInlineList-BLelbto_.mjs} +4 -4
- package/dist/{ParticipantItem-DvP6SfD-.mjs → ParticipantItem-CwfsiGto.mjs} +3 -3
- package/dist/{ParticipantPage-CdsE5R6P.mjs → ParticipantPage-BpQ6gU75.mjs} +11 -11
- package/dist/{ParticipantsPage-Bj9UCwu0.mjs → ParticipantsPage-D677KL6D.mjs} +6 -6
- package/dist/{PlayerAnonymousModal-CtJz6Iv2.mjs → PlayerAnonymousModal-yYCWUi_e.mjs} +2 -2
- package/dist/{PlayerCompact--tz67QuZ.mjs → PlayerCompact-BMNF7FnP.mjs} +3 -3
- package/dist/{PlayerComponent-Dg_IsWlM.mjs → PlayerComponent-DfqtsgzR.mjs} +52 -52
- package/dist/{PlayerLarge-Bf4gzX9X.mjs → PlayerLarge-CrXjFbXf.mjs} +5 -5
- package/dist/{PlayerPlayButton-DuEA4-WF.mjs → PlayerPlayButton-Dhk_llWc.mjs} +4 -4
- package/dist/{PlayerProgressBar-89xRq1Xa.mjs → PlayerProgressBar-CfYM4piM.mjs} +2 -2
- package/dist/{PlayerStore-BzDooS0Y.mjs → PlayerStore-CfDcShSN.mjs} +5 -5
- package/dist/{PlayerVideo-CZ6FAd6u.mjs → PlayerVideo-C6C_DZM_.mjs} +3 -3
- package/dist/{PlayerVideoDigiteka-DOxl6CoE.mjs → PlayerVideoDigiteka-wYFRP-35.mjs} +2 -2
- package/dist/{PlayerVideoHls-Jy8J1VOP.mjs → PlayerVideoHls-DgrhqZgn.mjs} +3 -3
- package/dist/{PlaylistPage-DYiH6J-V.mjs → PlaylistPage-lm5y7-n3.mjs} +39 -39
- package/dist/{PlaylistsPage-B5j7bRBR.mjs → PlaylistsPage-CaTACckE.mjs} +29 -29
- package/dist/{PodcastFilterList-B7CHb5Zn.mjs → PodcastFilterList-CeOfuDes.mjs} +2 -2
- package/dist/{PodcastImage-BP9F3WcR.mjs → PodcastImage-B7jsIJNN.mjs} +6 -6
- package/dist/{PodcastInlineList-DcRh31Up.mjs → PodcastInlineList-BbLLOonP.mjs} +1 -1
- package/dist/{PodcastInlineListTemplate-D7tu0DCo.mjs → PodcastInlineListTemplate-DKRCwAlv.mjs} +3 -3
- package/dist/{PodcastIsPlaying-DurbKHB0.mjs → PodcastIsPlaying-H_6pf8hJ.mjs} +1 -1
- package/dist/{PodcastItem-Cq2Rtv4B.mjs → PodcastItem-CurgIrWt.mjs} +7 -7
- package/dist/{PodcastList-DiBRKieE.mjs → PodcastList-BcFhWkIb.mjs} +4 -4
- package/dist/{PodcastList-CeBPu1dq.mjs → PodcastList-YdyWgiEZ.mjs} +5 -5
- package/dist/PodcastPage-BRfgY1ej.mjs +409 -0
- package/dist/{PodcastPlayBar-DZrd7vlH.mjs → PodcastPlayBar-CHKkiC1d.mjs} +3 -3
- package/dist/{PodcastPlayBasicButton-p9MxTVMU.mjs → PodcastPlayBasicButton-D6ozg27Z.mjs} +1 -1
- package/dist/{PodcastPlayButton-VbRZ38To.mjs → PodcastPlayButton-ZMXex2mj.mjs} +5 -5
- package/dist/{PodcastPlaylistInlineList-BSKKslBa.mjs → PodcastPlaylistInlineList-DQxGIN5X.mjs} +7 -7
- package/dist/{PodcastPresentationList-3-jeqgoG.mjs → PodcastPresentationList-B_733ar0.mjs} +18 -18
- package/dist/{PodcastProgressBar-BApHDYR6.mjs → PodcastProgressBar-DuRkXwQx.mjs} +3 -3
- package/dist/{PodcastRawTranscript-DKEdWddR.mjs → PodcastRawTranscript-Cdx-LLmt.mjs} +5 -5
- package/dist/{PodcastRubriqueList-C3crddYZ.mjs → PodcastRubriqueList-Bs9_pIvW.mjs} +2 -2
- package/dist/{PodcastSwiperList-BEu3PttL.mjs → PodcastSwiperList-DOMUEugY.mjs} +4 -4
- package/dist/{PodcastmakerHeader-D5KeDQpf.mjs → PodcastmakerHeader-DKOEZYI1.mjs} +1 -1
- package/dist/{PodcastsPage-BVmS5aky.mjs → PodcastsPage-DbE47ayv.mjs} +4 -4
- package/dist/{ProductorSearch-C4g52jI2.mjs → ProductorSearch-XA1eOPBJ.mjs} +4 -4
- package/dist/{ProgressBar-DsKJ5QBs.mjs → ProgressBar--2HxPUEb.mjs} +1 -1
- package/dist/{QrCode-B_46s9-k.mjs → QrCode-Cfbl5O0T.mjs} +1 -1
- package/dist/{QrCodeModal-CUlL6bvL.mjs → QrCodeModal-DOt1PfBE.mjs} +1 -1
- package/dist/{RadioCurrently-tszUQ6jL.mjs → RadioCurrently-Buo2SU7V.mjs} +3 -3
- package/dist/{RadioHistory-DI2lLAT-.mjs → RadioHistory-efYHQ3rk.mjs} +2 -2
- package/dist/{RadioImage-DzI8kiPV.mjs → RadioImage-DQrUrer4.mjs} +4 -4
- package/dist/{RadioList-BDEaIcTM.mjs → RadioList-RxhVm6Ml.mjs} +4 -4
- package/dist/{RadioPage-BScHIf6N.mjs → RadioPage-CuOVOQfx.mjs} +4 -4
- package/dist/{RadioPlanning-Nb9wEWcx.mjs → RadioPlanning-D1fdFZ2S.mjs} +2 -2
- package/dist/{RadioProgressBar-DDZhafT-.mjs → RadioProgressBar-VrEiqDVv.mjs} +1 -1
- package/dist/{RecaptchaModal-CgtPRB_Y.mjs → RecaptchaModal-CLP1x_kD.mjs} +1 -1
- package/dist/{ReportAbuseModal-DENyU4L3.mjs → ReportAbuseModal-mE_b1EPk.mjs} +3 -3
- package/dist/RightsIndicator-BYIqAsGc.mjs +58 -0
- package/dist/RightsWrapper-CNvC0_xL.mjs +102 -0
- package/dist/{RubriqueFilter-Cqym182_.mjs → RubriqueFilter-C_UIqYNo.mjs} +2 -2
- package/dist/{RubriqueList-BkH-IDfw.mjs → RubriqueList-BzfpWOGA.mjs} +2 -2
- package/dist/{RubriquePage-BUiVw7XC.mjs → RubriquePage-1xGeRwN9.mjs} +4 -4
- package/dist/{SearchPage-C6ILuQbI.mjs → SearchPage-DFMSvZii.mjs} +3 -3
- package/dist/{ShareAnonymous-DxF75c1V.mjs → ShareAnonymous-D9_ioQwS.mjs} +3 -3
- package/dist/{ShareModalPlayer-k6tPDxsf.mjs → ShareModalPlayer-DI1Hatse.mjs} +1 -1
- package/dist/{ShareNewsletter-GWexANXa.mjs → ShareNewsletter-Beu4PKG0.mjs} +2 -2
- package/dist/{SharePlayer-DApRTW12.mjs → SharePlayer-DCsPNlfR.mjs} +2 -2
- package/dist/{SharePlayerRadio-Cw0eGyyr.mjs → SharePlayerRadio-D6oJwb2X.mjs} +2 -2
- package/dist/{SharePlayerTypes-D4PE7RcX.mjs → SharePlayerTypes-BxkmFi4S.mjs} +1 -1
- package/dist/{ShareSocialsButtons-Cg1nTTdX.mjs → ShareSocialsButtons-ChJ3lBdD.mjs} +2 -2
- package/dist/{SimpleLayout-Dl4hkXKS.mjs → SimpleLayout-BOpmhyVO.mjs} +2 -2
- package/dist/{SmartLinkPage-D3gNzBt4.mjs → SmartLinkPage-Dwc8Cs0K.mjs} +33 -33
- package/dist/{SubscribeButtons-CCNCGuO_.mjs → SubscribeButtons-AVPLb2re.mjs} +2 -2
- package/dist/{SwiperList-RR5kJFkm.mjs → SwiperList-C89DLj3E.mjs} +1 -1
- package/dist/{TagList-BW9CHFvR.mjs → TagList-C18q3AcZ.mjs} +1 -1
- package/dist/{TagPage-bHuZwMMn.mjs → TagPage-CUjBO6Zz.mjs} +3 -3
- package/dist/{TopBar-CwX23lbW.mjs → TopBar-BtyUGLS8.mjs} +11 -11
- package/dist/{UserButtonContent-DvXNS82c.mjs → UserButtonContent-QY3_J3q8.mjs} +8 -8
- package/dist/{VideoModuleBox-BfR_rGpQ.mjs → VideoModuleBox-DfbQxPdW.mjs} +1 -1
- package/dist/{VideoPage-Dd0ZGwhV.mjs → VideoPage-EzRprsVN.mjs} +6 -6
- package/dist/{classicApi-DV6emSkD.mjs → classicApi-DK3JuEEQ.mjs} +276 -213
- package/dist/downloadHelper-BiECrRRO.mjs +23 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.mjs +216 -216
- package/dist/{messages-B3-i7RLg.mjs → messages-1GAE9xSE.mjs} +18 -6
- package/dist/src/api/rubriquesApi.d.ts +7 -0
- package/dist/src/components/composable/form/useOctopusDropdown.d.ts +1 -0
- package/dist/src/components/composable/useRights.d.ts +14 -6
- package/dist/src/components/composable/useRightsIndicator.d.ts +48 -0
- package/dist/src/components/display/RightsIndicator.vue.d.ts +3 -38
- package/dist/src/components/display/RightsWrapper.vue.d.ts +17 -0
- package/dist/src/components/form/OctopusMultiselect.vue.d.ts +1 -1
- package/dist/src/components/form/OctopusSelect.vue.d.ts +1 -1
- package/dist/src/components/misc/OctopusPopover.vue.d.ts +47 -0
- package/dist/tests.mjs +2 -2
- package/dist/{useAdvancedParamInit-BXm5QR_5.mjs → useAdvancedParamInit-BEQxTZEa.mjs} +10 -10
- package/dist/{useErrorHandler-BbZKCLXL.mjs → useErrorHandler-B718_6o6.mjs} +1 -1
- package/dist/{useImageProxy-BZd3Bh8K.mjs → useImageProxy-61t8T9lh.mjs} +1 -1
- package/dist/{useOrgaComputed-fTlsc5JG.mjs → useOrgaComputed-Oug1hhvN.mjs} +2 -2
- package/dist/{usePlayerLogicProgress-gDBxCLVV.mjs → usePlayerLogicProgress-89kQlonT.mjs} +2 -2
- package/dist/{usePodcastView-RK8d4XW7.mjs → usePodcastView-DFs0X_HB.mjs} +4 -4
- package/dist/{usePresentationItem-B-ylVm6j.mjs → usePresentationItem-D0WYRXRH.mjs} +15 -18
- package/dist/{useRights-HqdzOgVA.mjs → useRights-BFkOi3--.mjs} +43 -27
- package/dist/{useRubriquesFilterComputed-Cdn3Looz.mjs → useRubriquesFilterComputed-Cl3Xmezu.mjs} +1 -1
- package/dist/{useRubriquesFilterParam-CXNQuapu.mjs → useRubriquesFilterParam-BGh80BOE.mjs} +1 -1
- package/dist/{useSharePlatforms-Ede_zwXG.mjs → useSharePlatforms-BA7BlsYt.mjs} +2 -2
- package/dist/{useSimplePageParam-HLnFMbA0.mjs → useSimplePageParam-AHafSK4i.mjs} +1 -1
- package/dist/{useTranslation-DBpl_YlW.mjs → useTranslation-D9Sv_vU0.mjs} +14 -14
- package/dist/{usefetchRadioData-D43D_HTf.mjs → usefetchRadioData-ti9_4cZQ.mjs} +1 -1
- package/package.json +1 -1
- package/src/api/podcastApi.ts +29 -9
- package/src/api/rubriquesApi.ts +13 -0
- package/src/components/composable/form/useOctopusDropdown.ts +8 -0
- package/src/components/composable/usePresentationItem.ts +13 -8
- package/src/components/composable/useRights.ts +48 -12
- package/src/components/composable/useRightsIndicator.ts +200 -0
- package/src/components/display/RightsIndicator.vue +12 -197
- package/src/components/display/RightsWrapper.vue +44 -0
- package/src/components/display/emission/EmissionPresentationItem.vue +6 -2
- package/src/components/display/podcasts/DownloadPodcastButton.vue +3 -7
- package/src/components/display/podcasts/PodcastPresentationList.vue +7 -2
- package/src/components/form/OctopusMultiselect.vue +39 -31
- package/src/components/form/OctopusSelect.vue +6 -5
- package/src/components/misc/FooterSection.vue +14 -16
- package/src/components/pages/PlaylistsPage.vue +0 -1
- package/src/helper/downloadHelper.ts +23 -12
- package/src/i18n.ts +18 -1
- package/src/locale/de.json +3 -1
- package/src/locale/en.json +3 -1
- package/src/locale/es.json +3 -1
- package/src/locale/fr.json +4 -1
- package/src/locale/it.json +3 -1
- package/src/locale/sl.json +3 -1
- package/src/stores/ParamSdkStore.ts +6 -1
- package/src/stores/class/general/organisation.ts +2 -0
- package/tests/api/podcastApi.spec.ts +55 -0
- package/tests/components/composable/usePresentationItem.spec.ts +16 -16
- package/tests/components/composable/useRights.spec.ts +116 -4
- package/tests/components/form/OctopusMultiselect.spec.ts +22 -3
- package/tests/components/form/OctopusSelect.spec.ts +22 -3
- package/dist/FooterSection-DK4eO6PG.mjs +0 -183
- package/dist/PodcastPage-v54aKU_h.mjs +0 -409
- package/dist/RightsIndicator-BzWZQn15.mjs +0 -122
- package/dist/downloadHelper-DwhDTE-4.mjs +0 -15
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as t, i as n, r as ee } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
3
|
import { t as r } from "./GeneralStore-Darfv4af.mjs";
|
|
4
4
|
import { t as i } from "./types-BMNwRfo9.mjs";
|
|
5
|
-
import { t as te } from "./useOrgaComputed-
|
|
6
|
-
import { t as a } from "./useRubriquesFilterParam-
|
|
7
|
-
import { t as o } from "./EmissionGroupChooser-
|
|
5
|
+
import { t as te } from "./useOrgaComputed-Oug1hhvN.mjs";
|
|
6
|
+
import { t as a } from "./useRubriquesFilterParam-BGh80BOE.mjs";
|
|
7
|
+
import { t as o } from "./EmissionGroupChooser-D704PbSY.mjs";
|
|
8
8
|
import { Transition as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineAsyncComponent as m, defineComponent as h, normalizeClass as ne, onMounted as re, openBlock as g, ref as _, toDisplayString as v, unref as y, vShow as b, watch as x, withCtx as S, withDirectives as C } from "vue";
|
|
9
9
|
import { useI18n as w } from "vue-i18n";
|
|
10
10
|
import T from "vue-material-design-icons/ChevronDown.vue";
|
|
@@ -57,13 +57,13 @@ var E = {
|
|
|
57
57
|
"update:emission-groups"
|
|
58
58
|
],
|
|
59
59
|
setup(e, { emit: h }) {
|
|
60
|
-
let D = m(() => import("./MonetizableFilter-B7NHzXEY.mjs")), O = m(() => import("./CategorySearchFilter-BRfxF0yK.mjs")), k = m(() => import("./RubriqueFilter-
|
|
60
|
+
let D = m(() => import("./MonetizableFilter-B7NHzXEY.mjs")), O = m(() => import("./CategorySearchFilter-BRfxF0yK.mjs")), k = m(() => import("./RubriqueFilter-C_UIqYNo.mjs")), A = m(() => import("./ClassicSelect-BpA0jKN6.mjs").then((e) => e.n)), j = m(() => import("./ClassicTagInput-DiRwA8CF.mjs")), M = m(() => import("./ClassicCheckbox-xPu56Drn.mjs").then((e) => e.n)), N = m(() => import("./DateFilter-67VvJ4ez.mjs")), P = m(() => import("./SearchOrder-D_dAhj9M.mjs")), F = e, I = h, L = _(!1), R = _(!1), z = _(!1), { t: B } = w(), { isPodcastmaker: V, isEditRights: H } = te(), { stringifyRubriquesFilter: U, updateRouteParamAdvanced: W } = a(), ue = r(), G = ee(), K = n();
|
|
61
61
|
re(async () => {
|
|
62
62
|
if (F.hideEmissionGroups) {
|
|
63
63
|
z.value = !1;
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
|
-
z.value = await
|
|
66
|
+
z.value = await t.count({ organisationIds: [F.organisationId] }) > 0;
|
|
67
67
|
});
|
|
68
68
|
let q = c(() => H(F.organisationId)), J = c(() => F.organisationId ?? G.filterOrgaId), de = c(() => F.isEmission ? B("Consider podcasts no visible") : B("See podcasts no visible")), Y = c(() => J.value !== void 0 && q.value && (K.isRoleContribution || K.isRolePublication) && !V.value && !F.isEmission && F.includeHidden), fe = c(() => K.authOrganisation.attributes["beneficiaries.enabled"] === "true");
|
|
69
69
|
x(J, async () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as e } from "./classicApi-
|
|
1
|
+
import { r as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t } from "./useRouteUpdateParams-DJLm3IAI.mjs";
|
|
3
3
|
import { t as n } from "./GeneralStore-Darfv4af.mjs";
|
|
4
|
-
import { t as r } from "./useRubriquesFilterParam-
|
|
4
|
+
import { t as r } from "./useRubriquesFilterParam-BGh80BOE.mjs";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, defineAsyncComponent as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, vShow as y, watch as b, withDirectives as x } from "vue";
|
|
6
6
|
import { useI18n as S } from "vue-i18n";
|
|
7
7
|
import { useRoute as C } from "vue-router";
|
|
@@ -21,7 +21,7 @@ var w = { class: "d-flex-low-importance flex-column justify-content-end" }, T =
|
|
|
21
21
|
}, j = /* @__PURE__ */ d({
|
|
22
22
|
__name: "CategoryFilter",
|
|
23
23
|
setup(d) {
|
|
24
|
-
let j = u(() => import("./CategoryList-
|
|
24
|
+
let j = u(() => import("./CategoryList-DqmUmjNN.mjs")), M = u(() => import("./RubriqueList-BzfpWOGA.mjs")), N = u(() => import("./RubriqueChooser-B7wvJeQc.mjs")), P = h(!1), { t: F } = S(), { updateFiltersParam: I } = t(), { modifyRubriquesFilter: L } = r(), R = n(), z = e(), B = C(), V = a(() => (B.name === "homePriv" || B.name === "home" || B.name === "podcasts" || B.name === "emissions") && (P.value || z.filterIab !== void 0 || z.filterRubrique.length !== 0 || U.value.length !== 0)), H = a(() => V.value || B.name === "participants" || B.name === "playlists"), U = a(() => z.filterOrgaId ? z.filterRubriquage : []), W = a(() => {
|
|
25
25
|
switch (B.name) {
|
|
26
26
|
case "podcasts": return F("All podcasts");
|
|
27
27
|
case "emissions": return F("All emissions");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D as e, r as t, t as n } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t as r } from "./useRouteUpdateParams-DJLm3IAI.mjs";
|
|
3
3
|
import { t as i } from "./GeneralStore-Darfv4af.mjs";
|
|
4
4
|
import { t as a } from "./ClassicPopover-6uo-YUgO.mjs";
|
|
@@ -27,9 +27,9 @@ var j = {
|
|
|
27
27
|
},
|
|
28
28
|
emits: ["categoriesLength"],
|
|
29
29
|
setup(f, { emit: I }) {
|
|
30
|
-
let L = f, R = I, z = _([]), B = x("categoryListContainer"), { t: V, locale: H } = O(), { updateFiltersParam: U } = r(), W = i(), G =
|
|
31
|
-
let
|
|
32
|
-
return
|
|
30
|
+
let L = f, R = I, z = _([]), B = x("categoryListContainer"), { t: V, locale: H } = O(), { updateFiltersParam: U } = r(), W = i(), G = t(), K = A(), q = k(), J = s(() => {
|
|
31
|
+
let t = [];
|
|
32
|
+
return t = G.filterOrgaId ? W.storedCategoriesOrga.filter((e) => e.podcastOrganisationCount) : W.storedCategories.filter((t) => e.generalParameters.podcastmaker ? t.podcastOrganisationCount : t.podcastCount), R("categoriesLength", t.length), t;
|
|
33
33
|
}), Y = s(() => `${L.isDisplay}|${J.value}`), X = s(() => `${G.filterOrgaId}|${W.storedCategories}`);
|
|
34
34
|
C(Y, () => {
|
|
35
35
|
p(() => {
|
|
@@ -68,12 +68,12 @@ var j = {
|
|
|
68
68
|
}), z.value.length || (e.style.justifyContent = "center"));
|
|
69
69
|
}
|
|
70
70
|
async function $(e) {
|
|
71
|
-
let
|
|
71
|
+
let t = await n.fetchData({
|
|
72
72
|
api: 0,
|
|
73
73
|
path: `iab/list/${e}`,
|
|
74
74
|
parameters: { lang: H.value }
|
|
75
75
|
});
|
|
76
|
-
W.storedUpdateCategoriesOrga(
|
|
76
|
+
W.storedUpdateCategoriesOrga(t);
|
|
77
77
|
}
|
|
78
78
|
return (e, t) => J.value.length ? (g(), l("div", j, [
|
|
79
79
|
u("div", M, [(g(!0), l(o, null, v(J.value, (e) => (g(), l("button", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./classicApi-
|
|
1
|
+
import { r as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t } from "./GeneralStore-Darfv4af.mjs";
|
|
3
|
-
import { t as n } from "./PodcastList-
|
|
3
|
+
import { t as n } from "./PodcastList-BcFhWkIb.mjs";
|
|
4
4
|
import { computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, openBlock as c, toDisplayString as l, watch as u } from "vue";
|
|
5
5
|
//#region src/components/pages/CategoryPage.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var d = { class: "page-box" }, f = /* @__PURE__ */ s({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./PlayerStore-
|
|
1
|
+
import { n as e } from "./PlayerStore-CfDcShSN.mjs";
|
|
2
2
|
import { t } from "./ClassicModal-Dl2IdzXZ.mjs";
|
|
3
3
|
import { Fragment as n, createBlock as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, onMounted as c, openBlock as l, ref as u, renderList as d, toDisplayString as f, unref as p, withCtx as m } from "vue";
|
|
4
4
|
import { useI18n as h } from "vue-i18n";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./CommentStore-
|
|
1
|
+
import { t as e } from "./CommentStore-BisGIAFG.mjs";
|
|
2
2
|
import { t } from "./config-DMjLBcZ2.mjs";
|
|
3
3
|
import { t as n } from "./ClassicInputText-ILQDQz8R.mjs";
|
|
4
|
-
import { t as r } from "./RecaptchaModal-
|
|
4
|
+
import { t as r } from "./RecaptchaModal-CLP1x_kD.mjs";
|
|
5
5
|
import { computed as i, createBlock as a, createVNode as o, defineComponent as s, openBlock as c, ref as l, unref as u, withCtx as d } from "vue";
|
|
6
6
|
import { useI18n as f } from "vue-i18n";
|
|
7
7
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./classicApi-
|
|
1
|
+
import { i as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t } from "./ClassicModal-Dl2IdzXZ.mjs";
|
|
3
3
|
import { t as n } from "./ClassicCopyButton-DJ9T09fS.mjs";
|
|
4
4
|
import { createBlock as r, createCommentVNode as i, createElementVNode as a, createTextVNode as o, createVNode as s, defineComponent as c, openBlock as l, resolveComponent as u, toDisplayString as d, unref as f, withCtx as p } from "vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, t } from "./classicApi-
|
|
2
|
-
import { n } from "./PlayerStore-
|
|
3
|
-
import { t as r } from "./CommentStore-
|
|
1
|
+
import { i as e, t } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
|
+
import { n } from "./PlayerStore-CfDcShSN.mjs";
|
|
3
|
+
import { t as r } from "./CommentStore-BisGIAFG.mjs";
|
|
4
4
|
import { t as i } from "./config-DMjLBcZ2.mjs";
|
|
5
5
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineAsyncComponent as d, defineComponent as f, normalizeClass as p, openBlock as m, ref as h, toDisplayString as g, unref as _, useTemplateRef as v, watch as y } from "vue";
|
|
6
6
|
import { useI18n as b } from "vue-i18n";
|
|
@@ -26,7 +26,7 @@ var x = { class: "d-flex flex-column comment-input-container mt-3" }, S = {
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["cancelAction", "newComment"],
|
|
28
28
|
setup(f, { emit: T }) {
|
|
29
|
-
let E = d(() => import("./CheckIdentityModal-
|
|
29
|
+
let E = d(() => import("./CheckIdentityModal-DTiQJPgb.mjs")), D = d(() => import("./CommentName-CvkHzojR.mjs")), O = d(() => import("./MessageModal-BcqS77v6.mjs").then((e) => e.n)), k = d(() => import("./ClassicEmojiPicker-2c55qjy6.mjs")), A = d(() => import("./ClassicContentEditable-CWmtRihd.mjs")), j = f, M = T, N = i.MAX_COMMENT, P = h(""), F = h(!1), I = h(!1), L = h(!1), R = v("textarea"), { t: z } = b(), B = n(), V = r(), H = e(), U = a(() => W.value <= N), W = a(() => P.value.length), G = a(() => j.inAnswerComment?.commentId ? z("Answer a comment") : z("Write a comment")), K = a(() => "-comment" + (j.inAnswerComment?.commentId ?? "-parent"));
|
|
30
30
|
y(() => j.focus, () => R?.value?.focus());
|
|
31
31
|
function q(e) {
|
|
32
32
|
P.value += e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./classicApi-
|
|
2
|
-
import { t } from "./CommentStore-
|
|
1
|
+
import { i as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
|
+
import { t } from "./CommentStore-BisGIAFG.mjs";
|
|
3
3
|
import { t as n } from "./CommentBasicView-CJgGRZXW.mjs";
|
|
4
4
|
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineAsyncComponent as d, defineComponent as f, normalizeClass as p, openBlock as m, ref as h, toDisplayString as g, unref as _ } from "vue";
|
|
5
5
|
import { useI18n as v } from "vue-i18n";
|
|
@@ -34,7 +34,7 @@ var b = { class: "d-flex flex-nowrap justify-content-between align-items-center"
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["deleteComment", "update:comment"],
|
|
36
36
|
setup(f, { expose: C, emit: w }) {
|
|
37
|
-
let T = d(() => import("./CommentInput-
|
|
37
|
+
let T = d(() => import("./CommentInput-B7faMDy8.mjs")), E = d(() => import("./CommentParentInfo-C3RNK7cS.mjs")), D = d(() => import("./LikeSection-Bmux3FNM.mjs")), O = d(() => import("./CommentMoreActions-BELzbEc3.mjs")), k = d(() => import("./CommentList-DbMexENb.mjs")), A = f, j = w, M = h(!1), N = h(!1), P = h(!1), F = h(!1), I = h(void 0), { t: L } = v(), R = e(), z = t(), B = i({
|
|
38
38
|
get() {
|
|
39
39
|
return A.comment;
|
|
40
40
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
-
import { t } from "./classicApi-
|
|
2
|
+
import { t } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
4
|
import { Fragment as r, computed as i, createBlock as ee, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, normalizeClass as d, onMounted as f, onUnmounted as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, useTemplateRef as te, watch as y, withCtx as b, withKeys as x } from "vue";
|
|
5
5
|
import S from "vue-material-design-icons/Plus.vue";
|
|
@@ -65,7 +65,7 @@ var T = { class: "d-flex flex-column" }, E = {
|
|
|
65
65
|
},
|
|
66
66
|
emits: ["update:nbComments", "commentDeleted"],
|
|
67
67
|
setup(n, { emit: u }) {
|
|
68
|
-
let N = l(() => import("./CommentItem-
|
|
68
|
+
let N = l(() => import("./CommentItem-Bn0Kf2qi.mjs")), ne = l(() => import("./ClassicPopover-6uo-YUgO.mjs").then((e) => e.n)), P = n, F = u, I = h(!1), L = h(!1), R = h(0), z = h(P.size), B = h(0), V = h("DATE_DESC"), H = h([]), U = h(void 0), W = te("scrollComponent"), { t: G } = C(), K = i(() => P.answerToComment === void 0), q = i(() => `${P.size}|${P.reload}|${z.value}|${P.stateFilter}|${P.podcast?.podcastId}|${P.organisationId}`), J = i(() => [{
|
|
69
69
|
title: G("The most recent"),
|
|
70
70
|
value: "DATE_DESC"
|
|
71
71
|
}, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as e, t } from "./classicApi-
|
|
1
|
+
import { i as e, t } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t as n } from "./useSelenium-DAM6EF3J.mjs";
|
|
3
|
-
import { t as r } from "./CommentStore-
|
|
3
|
+
import { t as r } from "./CommentStore-BisGIAFG.mjs";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineAsyncComponent as d, defineComponent as f, openBlock as p, ref as m, renderList as h, resolveComponent as g, toDisplayString as _, unref as v, withCtx as y, withKeys as b } from "vue";
|
|
5
5
|
import { useI18n as x } from "vue-i18n";
|
|
6
6
|
import S from "vue-material-design-icons/DotsVertical.vue";
|
|
@@ -31,7 +31,7 @@ var C = { key: 0 }, w = [
|
|
|
31
31
|
},
|
|
32
32
|
emits: ["update:comment", "deleteComment"],
|
|
33
33
|
setup(f, { emit: E }) {
|
|
34
|
-
let D = d(() => import("./ClassicPopover-6uo-YUgO.mjs").then((e) => e.n)), O = d(() => import("./ReportAbuseModal-
|
|
34
|
+
let D = d(() => import("./ClassicPopover-6uo-YUgO.mjs").then((e) => e.n)), O = d(() => import("./ReportAbuseModal-mE_b1EPk.mjs")), k = d(() => import("./EditCommentModal-CsLWG1mx.mjs")), A = d(() => import("./MessageModal-BcqS77v6.mjs").then((e) => e.n)), j = f, M = E, N = m(!1), P = m(!1), F = m(void 0), I = m(void 0), L = m(!1), R = m(!1), z = m(!1), { t: B } = x(), { seleniumFormat: V } = n(), H = e(), U = r(), W = a({
|
|
35
35
|
get() {
|
|
36
36
|
return j.comment;
|
|
37
37
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./classicApi-
|
|
2
|
-
import { t } from "./CommentStore-
|
|
1
|
+
import { i as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
|
+
import { t } from "./CommentStore-BisGIAFG.mjs";
|
|
3
3
|
import { t as n } from "./config-DMjLBcZ2.mjs";
|
|
4
4
|
import { t as r } from "./ClassicInputText-ILQDQz8R.mjs";
|
|
5
5
|
import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
-
import { t } from "./classicApi-
|
|
2
|
+
import { t } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
3
|
import { t as n } from "./CommentBasicView-CJgGRZXW.mjs";
|
|
4
4
|
import { createBlock as r, createCommentVNode as i, createElementBlock as a, createVNode as o, defineComponent as s, onBeforeMount as c, openBlock as l, ref as u, unref as d } from "vue";
|
|
5
5
|
import { useI18n as f } from "vue-i18n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "./PlayerStore-
|
|
1
|
+
import { n as e } from "./PlayerStore-CfDcShSN.mjs";
|
|
2
2
|
import { t } from "./useSelenium-DAM6EF3J.mjs";
|
|
3
|
-
import { t as n } from "./CommentStore-
|
|
3
|
+
import { t as n } from "./CommentStore-BisGIAFG.mjs";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeStyle as l, openBlock as u, ref as d, renderList as f, toDisplayString as p, unref as m, watch as h } from "vue";
|
|
5
5
|
//#region src/components/display/comments/CommentPlayer.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var g = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e } from "./classicApi-
|
|
2
|
-
import { t } from "./CommentStore-
|
|
1
|
+
import { i as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
|
+
import { t } from "./CommentStore-BisGIAFG.mjs";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineAsyncComponent as l, defineComponent as u, normalizeClass as d, onBeforeMount as f, openBlock as p, ref as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, vShow as v, watch as y, withCtx as b, withDirectives as x } from "vue";
|
|
4
4
|
import { useI18n as S } from "vue-i18n";
|
|
5
5
|
import C from "vue-material-design-icons/Refresh.vue";
|
|
@@ -22,7 +22,7 @@ var w = { class: "module-box" }, T = { class: "d-flex align-items-center" }, E =
|
|
|
22
22
|
},
|
|
23
23
|
emits: ["commentReceived"],
|
|
24
24
|
setup(u, { emit: D }) {
|
|
25
|
-
let O = l(() => import("./CommentList-
|
|
25
|
+
let O = l(() => import("./CommentList-DbMexENb.mjs")), k = l(() => import("./CommentInput-B7faMDy8.mjs")), A = u, j = D, M = m(!1), N = m(void 0), P = m(0), F = m(void 0), { t: I } = S(), L = t(), R = e(), z = n(() => B.value || P.value > 0), B = n(() => L.getCanPostComment(N.value, A.podcast, R.authOrgaId !== void 0)), V = n(() => A.podcast?.conferenceId !== void 0);
|
|
26
26
|
y(() => L.commentEventToHandle, async () => {
|
|
27
27
|
!L.commentEventToHandle.length || L.commentPodcastId !== A.podcast?.podcastId || (F.value = L.commentEventToHandle[0], L.commentEventHandled(), j("commentReceived"));
|
|
28
28
|
}, { deep: !0 }), f(() => H());
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as e, i as t, t as n } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t as r } from "./stringHelper-8Cu4x0-T.mjs";
|
|
3
3
|
import { t as i } from "./cookiesHelper-BQ3M1-Xr.mjs";
|
|
4
4
|
import { defineStore as a } from "pinia";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { T as e, i as t } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineAsyncComponent as c, defineComponent as l, onMounted as u, openBlock as d, ref as f, renderList as p, toDisplayString as m, unref as h, watch as g, withCtx as _ } from "vue";
|
|
3
3
|
import { useI18n as v } from "vue-i18n";
|
|
4
4
|
import { VuePDF as y, usePDF as b } from "@tato30/vue-pdf";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./downloadHelper-
|
|
1
|
+
import { d as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
|
+
import { t } from "./downloadHelper-BiECrRRO.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, openBlock as s, unref as c } from "vue";
|
|
4
4
|
import { useI18n as l } from "vue-i18n";
|
|
5
5
|
import u from "vue-material-design-icons/Download.vue";
|
|
@@ -16,10 +16,7 @@ var d = {
|
|
|
16
16
|
setup(o) {
|
|
17
17
|
let p = o, { t: m } = l();
|
|
18
18
|
async function h() {
|
|
19
|
-
let n = await e.
|
|
20
|
-
api: 0,
|
|
21
|
-
path: "podcast/download/register/" + p.podcast?.podcastId + ".mp3?origin=saooti_play_download"
|
|
22
|
-
});
|
|
19
|
+
let n = await e.downloadRegister(p.podcast?.podcastId, { origin: "saooti_play_download" });
|
|
23
20
|
t.onDownload("/download/url?param=" + encodeURIComponent(n.location), p.podcast?.title + ".mp3");
|
|
24
21
|
}
|
|
25
22
|
return (e, t) => o.podcast ? (s(), r("div", d, [i("button", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./classicApi-
|
|
1
|
+
import { t as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t } from "./config-DMjLBcZ2.mjs";
|
|
3
3
|
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineAsyncComponent as c, defineComponent as l, onBeforeMount as u, openBlock as d, ref as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
|
|
4
4
|
import { useI18n as g } from "vue-i18n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as n } from "./OctopusMultiselect-
|
|
2
|
+
import { _ as t } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
|
+
import { t as n } from "./OctopusMultiselect-CaLjXg_3.mjs";
|
|
4
4
|
import { createBlock as r, defineComponent as i, onMounted as a, openBlock as o, ref as s } from "vue";
|
|
5
5
|
//#region src/components/display/emission/EmissionGroupChooser.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var c = 200, l = /*@__PURE__*/ i({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
-
import { t,
|
|
2
|
+
import { D as t, t as n } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
3
|
import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
|
-
import { t as i } from "./useErrorHandler-
|
|
5
|
-
import { t as a } from "./SwiperList-
|
|
6
|
-
import { t as o } from "./EmissionPresentationItem-
|
|
7
|
-
import { t as s } from "./EmissionPlayerItem-
|
|
4
|
+
import { t as i } from "./useErrorHandler-B718_6o6.mjs";
|
|
5
|
+
import { t as a } from "./SwiperList-C89DLj3E.mjs";
|
|
6
|
+
import { t as o } from "./EmissionPresentationItem-BAKQrPhw.mjs";
|
|
7
|
+
import { t as s } from "./EmissionPlayerItem-Cxxd0Ww4.mjs";
|
|
8
8
|
import { computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createTextVNode as f, createVNode as p, defineComponent as m, normalizeClass as h, onMounted as g, openBlock as _, ref as v, resolveComponent as y, toDisplayString as b, unref as x, withCtx as S } from "vue";
|
|
9
9
|
import { useI18n as C } from "vue-i18n";
|
|
10
10
|
//#region src/components/display/emission/EmissionInlineList.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -26,7 +26,7 @@ var w = { class: "d-flex flex-column list-episode" }, T = {
|
|
|
26
26
|
title: {}
|
|
27
27
|
},
|
|
28
28
|
setup(r) {
|
|
29
|
-
let m = r, E = v(!0), D = v([]), O = v(void 0), { t: k } = C(), { handle403: A } = i(), j = c(() =>
|
|
29
|
+
let m = r, E = v(!0), D = v([]), O = v(void 0), { t: k } = C(), { handle403: A } = i(), j = c(() => t.emissionsPage.rubriquage), M = c(() => {
|
|
30
30
|
if (m.itemSize) return m.itemSize;
|
|
31
31
|
if (m.emissionDisplay === "simple") return 25;
|
|
32
32
|
});
|
|
@@ -35,7 +35,7 @@ var w = { class: "d-flex flex-column list-episode" }, T = {
|
|
|
35
35
|
});
|
|
36
36
|
async function N() {
|
|
37
37
|
try {
|
|
38
|
-
let e = await
|
|
38
|
+
let e = await n.fetchData({
|
|
39
39
|
api: 0,
|
|
40
40
|
path: "emission/search",
|
|
41
41
|
parameters: {
|
|
@@ -54,7 +54,7 @@ var w = { class: "d-flex flex-column list-episode" }, T = {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
async function P() {
|
|
57
|
-
O.value = (await
|
|
57
|
+
O.value = (await n.fetchData({
|
|
58
58
|
api: 0,
|
|
59
59
|
path: "rubriquage/" + j.value
|
|
60
60
|
})).rubriques;
|
|
@@ -65,7 +65,7 @@ var w = { class: "d-flex flex-column list-episode" }, T = {
|
|
|
65
65
|
if (t) return t.name;
|
|
66
66
|
}
|
|
67
67
|
function I(e) {
|
|
68
|
-
return
|
|
68
|
+
return t.emissionsPage.mainRubrique && e.rubriqueIds?.includes(t.emissionsPage.mainRubrique) ? "partenaireRubrique" : "";
|
|
69
69
|
}
|
|
70
70
|
return (t, n) => {
|
|
71
71
|
let i = y("router-link");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as e } from "./classicApi-
|
|
1
|
+
import { t as e } from "./classicApi-DK3JuEEQ.mjs";
|
|
2
2
|
import { t } from "./useResizePhone-4hSkK5pa.mjs";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
4
4
|
import { t as r } from "./displayHelper-DQtoqc_6.mjs";
|
|
5
|
-
import { t as i } from "./useImageProxy-
|
|
6
|
-
import { t as a } from "./useOrgaComputed-
|
|
7
|
-
import { t as o } from "./RightsIndicator-
|
|
5
|
+
import { t as i } from "./useImageProxy-61t8T9lh.mjs";
|
|
6
|
+
import { t as a } from "./useOrgaComputed-Oug1hhvN.mjs";
|
|
7
|
+
import { t as o } from "./RightsIndicator-BYIqAsGc.mjs";
|
|
8
8
|
import { computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, onBeforeMount as h, onMounted as g, openBlock as _, ref as v, renderSlot as y, resolveComponent as b, resolveDirective as x, toDisplayString as S, unref as C, useTemplateRef as w, withCtx as T, withDirectives as E } from "vue";
|
|
9
9
|
import { useI18n as D } from "vue-i18n";
|
|
10
10
|
import O from "vue-material-design-icons/Alert.vue";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./ListPaginate-
|
|
4
|
-
import { t as a } from "./useErrorHandler-
|
|
2
|
+
import { D as t, r as n, t as r } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
|
+
import { t as i } from "./ListPaginate-twqZX0dt.mjs";
|
|
4
|
+
import { t as a } from "./useErrorHandler-B718_6o6.mjs";
|
|
5
5
|
import { n as o } from "./emission-CQ1VuxRc.mjs";
|
|
6
6
|
import { t as s } from "./ClassicLazy-DhdsXyI4.mjs";
|
|
7
7
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createTextVNode as p, createVNode as m, defineAsyncComponent as h, defineComponent as g, normalizeClass as _, onMounted as v, openBlock as y, ref as b, renderList as x, resolveComponent as S, toDisplayString as C, unref as w, vShow as T, watch as E, withCtx as D, withDirectives as O } from "vue";
|
|
@@ -86,7 +86,7 @@ var A = {
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
setup(e) {
|
|
89
|
-
let g = h(() => import("./EmissionItem-
|
|
89
|
+
let g = h(() => import("./EmissionItem-zGkYGDhL.mjs")), M = h(() => import("./EmissionPlayerItem-Cxxd0Ww4.mjs").then((e) => e.n)), N = e, P = b(!0), F = b(N.first), I = b(N.size), L = b(0), R = b(0), z = b(!1), B = b([]), V = b(void 0), { t: H } = k(), { handle403: U } = a(), W = n(), G = l(() => z.value ? B.value : B.value.slice(F.value, Math.min(F.value + I.value, L.value))), K = l(() => t.emissionsPage.rubriquage), q = l(() => `${N.first}|${N.size}`), J = l(() => `${N.organisationId}|${N.query}|${N.monetisable}|${N.includeHidden}|\
|
|
90
90
|
${N.iabId}|${N.rubriqueId}|${N.rubriquageId}|${N.before}|\
|
|
91
91
|
${N.after}|${N.sort}|${N.noRubriquageId}|${N.beneficiaries}|\
|
|
92
92
|
${N.emissionGroups}`), Y = l(() => {
|
|
@@ -135,7 +135,7 @@ var A = {
|
|
|
135
135
|
};
|
|
136
136
|
N.includeHidden === !0 ? t.visible = "ALL" : t.visible = "VISIBLE";
|
|
137
137
|
try {
|
|
138
|
-
Q(e, await
|
|
138
|
+
Q(e, await r.fetchData({
|
|
139
139
|
api: 0,
|
|
140
140
|
path: "emission/search",
|
|
141
141
|
parameters: t,
|
|
@@ -152,36 +152,36 @@ var A = {
|
|
|
152
152
|
B.value = B.value.slice(0, F.value).concat(n).concat(B.value.slice(F.value + I.value, B.value.length)), L.value = t.count, P.value = !1;
|
|
153
153
|
}
|
|
154
154
|
async function $() {
|
|
155
|
-
V.value = (await
|
|
155
|
+
V.value = (await r.fetchData({
|
|
156
156
|
api: 0,
|
|
157
157
|
path: "rubriquage/" + K.value
|
|
158
158
|
})).rubriques;
|
|
159
159
|
}
|
|
160
160
|
function ee(e) {
|
|
161
|
-
return e.rubriqueIds?.[0] ===
|
|
161
|
+
return e.rubriqueIds?.[0] === t.emissionsPage.mainRubrique ? "partenaireRubrique" : "";
|
|
162
162
|
}
|
|
163
163
|
function te(e) {
|
|
164
164
|
if (!K.value || !e.rubriqueIds || e.rubriqueIds.length === 0 || !V.value || !V.value.length) return;
|
|
165
165
|
let t = V.value.find((t) => t.rubriqueId === e.rubriqueIds[0]);
|
|
166
166
|
if (t) return t.name;
|
|
167
167
|
}
|
|
168
|
-
return (
|
|
168
|
+
return (n, r) => {
|
|
169
169
|
let a = S("router-link");
|
|
170
170
|
return y(), u(i, {
|
|
171
171
|
id: "emissionListPaginate",
|
|
172
172
|
first: F.value,
|
|
173
|
-
"onUpdate:first":
|
|
173
|
+
"onUpdate:first": r[0] ||= (e) => F.value = e,
|
|
174
174
|
"rows-per-page": I.value,
|
|
175
|
-
"onUpdate:rowsPerPage":
|
|
175
|
+
"onUpdate:rowsPerPage": r[1] ||= (e) => I.value = e,
|
|
176
176
|
"is-mobile": z.value,
|
|
177
|
-
"onUpdate:isMobile":
|
|
177
|
+
"onUpdate:isMobile": r[2] ||= (e) => z.value = e,
|
|
178
178
|
"text-count": e.showCount && B.value.length > 1 ? w(H)("Number emissions", { nb: R.value }) + Y.value : void 0,
|
|
179
179
|
"total-count": L.value,
|
|
180
180
|
loading: P.value,
|
|
181
181
|
"loading-text": P.value ? w(H)("Loading emissions ...") : void 0,
|
|
182
182
|
"player-responsive": !0
|
|
183
183
|
}, {
|
|
184
|
-
list: D(() => [w(
|
|
184
|
+
list: D(() => [w(t).emissionsPage.itemPlayer ? O((y(), f("div", j, [(y(!0), f(c, null, x(G.value, (t) => (y(), f(c, { key: t.emissionId }, [t.emissionId === 0 ? d("", !0) : (y(), u(w(M), {
|
|
185
185
|
key: 0,
|
|
186
186
|
emission: t,
|
|
187
187
|
class: _(["m-3 flex-shrink-0", ee(t)]),
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./ClassicLoading-CXfMjpyl.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { D as t, b as n, r } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
3
|
import { t as i } from "./displayHelper-DQtoqc_6.mjs";
|
|
4
|
-
import { t as ee } from "./useImageProxy-
|
|
4
|
+
import { t as ee } from "./useImageProxy-61t8T9lh.mjs";
|
|
5
5
|
import { t as te } from "./GeneralStore-Darfv4af.mjs";
|
|
6
|
-
import { t as ne } from "./useErrorHandler-
|
|
7
|
-
import { t as re } from "./useSimplePageParam-
|
|
6
|
+
import { t as ne } from "./useErrorHandler-B718_6o6.mjs";
|
|
7
|
+
import { t as re } from "./useSimplePageParam-AHafSK4i.mjs";
|
|
8
8
|
import { t as a } from "./useSeoTitleUrl-UfPXDCPa.mjs";
|
|
9
|
-
import { t as ie } from "./useOrgaComputed-
|
|
9
|
+
import { t as ie } from "./useOrgaComputed-Oug1hhvN.mjs";
|
|
10
10
|
import { t as ae } from "./useSeasonsManagement-DwbmJywJ.mjs";
|
|
11
|
-
import { t as oe } from "./RightsIndicator-
|
|
11
|
+
import { t as oe } from "./RightsIndicator-BYIqAsGc.mjs";
|
|
12
12
|
import { t as se } from "./ClassicHelpButton-DdEJu6tX.mjs";
|
|
13
13
|
import { t as ce } from "./ErrorMessage-B4gtlriP.mjs";
|
|
14
14
|
import { Fragment as le, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineAsyncComponent as p, defineComponent as m, guardReactiveProps as ue, isRef as de, normalizeClass as fe, normalizeProps as pe, onBeforeUnmount as me, openBlock as h, ref as g, renderSlot as _, resolveDirective as he, toDisplayString as v, unref as y, watch as ge, withCtx as b, withDirectives as _e } from "vue";
|
|
@@ -34,7 +34,7 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
34
34
|
useEmissionTitle: { type: Boolean }
|
|
35
35
|
},
|
|
36
36
|
setup(m) {
|
|
37
|
-
let N = p(() => import("./ShareAnonymous-
|
|
37
|
+
let N = p(() => import("./ShareAnonymous-D9_ioQwS.mjs")), P = p(() => import("./PodcastFilterList-CeOfuDes.mjs")), F = p(() => import("./SharePlayer-DCsPNlfR.mjs").then((e) => e.n)), ye = p(() => import("./ShareSocialsButtons-ChJ3lBdD.mjs")), be = p(() => import("./SubscribeButtons-AVPLb2re.mjs").then((e) => e.n)), xe = p(() => import("./LiveHorizontalList-BkwPmaTS.mjs")), Se = p(() => import("./PodcastPlayButton-ZMXex2mj.mjs").then((e) => e.n)), Ce = p(() => import("./PodcastmakerHeader-DKOEZYI1.mjs")), we = p(() => import("./TagList-C18q3AcZ.mjs")), I = m, L = g(!1), R = g(!1), z = g(void 0), B = g(void 0), { t: V } = ve(), { useProxyImageUrl: Te } = ee(), { isPodcastmaker: H, isEditRights: Ee, authOrgaId: U } = ie(), { updatePathParams: De } = a(), { handle403: Oe } = ne(), W = r(), G = te(), ke = x(), { searchPattern: K, paginateFirst: Ae, isInit: je } = re(I, !0), { areSeasonsEnabled: q, formatSeason: Me, getMaxSeason: J } = ae(), Y = o(() => z.value?.name ?? ""), Ne = o(() => z.value?.description ?? ""), X = o(() => Ee(z.value?.orga.id)), Pe = o(() => {
|
|
38
38
|
let e = V("Listen to the latest episode");
|
|
39
39
|
return B.value !== void 0 && q(z.value) ? e + ` (${Me(B.value)})` : e;
|
|
40
40
|
});
|
|
@@ -50,7 +50,7 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
50
50
|
async function Q() {
|
|
51
51
|
L.value = !1, R.value = !1;
|
|
52
52
|
try {
|
|
53
|
-
if (z.value = await
|
|
53
|
+
if (z.value = await n.get(I.emissionId), W.updateOrgaIfNecessary(z.value.orga.id), z.value.orga.privacy !== "PUBLIC" && W.filterOrgaId !== z.value.orga.id && ke.query.productor !== z.value.orga.id) {
|
|
54
54
|
Z();
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
@@ -69,15 +69,15 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
69
69
|
B.value = e.findLast($);
|
|
70
70
|
} else B.value = e.find($);
|
|
71
71
|
}
|
|
72
|
-
let Le = o(() => z.value.annotations?.subtitle &&
|
|
73
|
-
return (
|
|
72
|
+
let Le = o(() => z.value.annotations?.subtitle && t.emissionPage?.hideSubtitle !== !0), Re = o(() => t.emissionPage?.hideTags === !0 ? !1 : z.value.tags !== void 0 && z.value.tags.length !== 0);
|
|
73
|
+
return (n, r) => {
|
|
74
74
|
let i = he("lazy");
|
|
75
75
|
return h(), l("section", S, [L.value && !R.value && z.value ? (h(), l(le, { key: 0 }, [y(H) ? (h(), s(y(Ce), {
|
|
76
76
|
key: 0,
|
|
77
77
|
"page-title": m.useEmissionTitle ? z.value.name : y(V)("Emission"),
|
|
78
78
|
"img-url": z.value.imageUrl
|
|
79
79
|
}, null, 8, ["page-title", "img-url"])) : c("", !0), u("div", { class: fe(["d-flex flex-column page-element", y(H) ? "page-element-podcastmaker" : ""]) }, [
|
|
80
|
-
u("section", C, [X.value && !y(H) ? _(
|
|
80
|
+
u("section", C, [X.value && !y(H) ? _(n.$slots, "edit-box", {
|
|
81
81
|
key: 0,
|
|
82
82
|
emission: z.value,
|
|
83
83
|
onUpdated: Q
|
|
@@ -124,7 +124,7 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
124
124
|
"tag-list": z.value.tags,
|
|
125
125
|
"orga-id": y(U),
|
|
126
126
|
"emission-annotations": z.value.annotations,
|
|
127
|
-
max: y(
|
|
127
|
+
max: y(t).emissionPage.maxTags
|
|
128
128
|
}, null, 8, [
|
|
129
129
|
"tag-list",
|
|
130
130
|
"orga-id",
|
|
@@ -139,7 +139,7 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
139
139
|
"justify-center": !1
|
|
140
140
|
}, null, 8, ["content"])) : c("", !0)
|
|
141
141
|
])]),
|
|
142
|
-
y(
|
|
142
|
+
y(t).emissionPage.ShareButtons ? (h(), s(y(ye), {
|
|
143
143
|
key: 0,
|
|
144
144
|
"organisation-id": z.value.orga.id
|
|
145
145
|
}, null, 8, ["organisation-id"])) : c("", !0),
|
|
@@ -155,7 +155,7 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
155
155
|
}, null, 8, ["emission-id"])), y(je) ? (h(), s(y(P), {
|
|
156
156
|
key: 1,
|
|
157
157
|
query: y(K),
|
|
158
|
-
"onUpdate:query":
|
|
158
|
+
"onUpdate:query": r[0] ||= (e) => de(K) ? K.value = e : null,
|
|
159
159
|
class: "mx-2",
|
|
160
160
|
first: y(Ae),
|
|
161
161
|
size: m.ps,
|
|
@@ -176,7 +176,7 @@ var S = { class: "page-box" }, C = { class: "module-box" }, w = { class: "w-100
|
|
|
176
176
|
"edit-right",
|
|
177
177
|
"productor-id"
|
|
178
178
|
])) : c("", !0)]),
|
|
179
|
-
_(
|
|
179
|
+
_(n.$slots, "bottom", pe(ue({ emission: z.value })))
|
|
180
180
|
], 2)], 64)) : c("", !0), f(e, {
|
|
181
181
|
"loading-text": L.value ? void 0 : y(V)("Loading content ..."),
|
|
182
182
|
"error-text": R.value ? y(V)("Emission doesn't exist") : void 0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import { t,
|
|
3
|
-
import { t as r } from "./useImageProxy-
|
|
2
|
+
import { D as t, t as n } from "./classicApi-DK3JuEEQ.mjs";
|
|
3
|
+
import { t as r } from "./useImageProxy-61t8T9lh.mjs";
|
|
4
4
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineAsyncComponent as f, defineComponent as p, onBeforeMount as m, openBlock as h, ref as g, renderList as _, resolveComponent as v, resolveDirective as y, toDisplayString as b, unref as x, withCtx as S, withDirectives as C } from "vue";
|
|
5
5
|
import { useI18n as w } from "vue-i18n";
|
|
6
6
|
//#region src/components/display/emission/EmissionPlayerItem.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -27,11 +27,11 @@ var T = { class: "emission-player-container" }, E = {
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
setup(e) {
|
|
30
|
-
let p = f(() => import("./PodcastPlayBar-
|
|
30
|
+
let p = f(() => import("./PodcastPlayBar-CHKkiC1d.mjs")), P = f(() => import("./PodcastPlayBasicButton-D6ozg27Z.mjs")), F = e, I = g(!0), L = g([]), { t: R } = w(), { useProxyImageUrl: z } = r(), B = a(() => t.emissionsPage.progressBar), V = a(() => t.emissionsPage.buttonMore);
|
|
31
31
|
m(() => H());
|
|
32
32
|
async function H() {
|
|
33
33
|
if (F.nbPodcasts === 0) return;
|
|
34
|
-
let e = F.nbPodcasts ? F.nbPodcasts : 2,
|
|
34
|
+
let e = F.nbPodcasts ? F.nbPodcasts : 2, t = await n.fetchData({
|
|
35
35
|
api: 0,
|
|
36
36
|
path: "podcast/search",
|
|
37
37
|
parameters: {
|
|
@@ -41,7 +41,7 @@ var T = { class: "emission-player-container" }, E = {
|
|
|
41
41
|
},
|
|
42
42
|
specialTreatement: !0
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
t.count === 0 && (I.value = !1), L.value = t.result;
|
|
45
45
|
}
|
|
46
46
|
return (t, n) => {
|
|
47
47
|
let r = v("router-link"), a = y("lazy");
|