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