@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,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
2
|
import { t } from "./GeneralStore-Darfv4af.mjs";
|
|
3
|
-
import { t as n } from "./ClassicMultiselect-
|
|
3
|
+
import { t as n } from "./ClassicMultiselect-CEJF_Uo5.mjs";
|
|
4
4
|
import { computed as r, createBlock as i, defineComponent as a, onMounted as o, openBlock as s, ref as c, unref as l, useTemplateRef as u, watch as d } from "vue";
|
|
5
5
|
import { useI18n as f } from "vue-i18n";
|
|
6
6
|
//#region src/components/display/categories/CategoryChooser.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as e } from "./AuthStore-
|
|
1
|
+
import { T as e } from "./AuthStore-BdiVUQBK.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-B05QATg9.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-B0hCDa0Q.mjs")), M = u(() => import("./RubriqueList-DNwhze-d.mjs")), N = u(() => import("./RubriqueChooser-C5QLRe-b.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,7 +1,7 @@
|
|
|
1
|
-
import { C as e, T as t, j as n } from "./AuthStore-
|
|
1
|
+
import { C as e, T as t, j as n } from "./AuthStore-BdiVUQBK.mjs";
|
|
2
2
|
import { t as r } from "./useRouteUpdateParams-DJLm3IAI.mjs";
|
|
3
3
|
import { t as i } from "./GeneralStore-Darfv4af.mjs";
|
|
4
|
-
import { t as a } from "./ClassicPopover-
|
|
4
|
+
import { t as a } from "./ClassicPopover-BpFChUHf.mjs";
|
|
5
5
|
import { Fragment as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, nextTick as p, onMounted as m, onUnmounted as h, openBlock as g, ref as _, renderList as v, toDisplayString as y, unref as b, useTemplateRef as x, vShow as S, watch as C, withCtx as w, withDirectives as T, withKeys as E } from "vue";
|
|
6
6
|
import D from "vue-material-design-icons/Plus.vue";
|
|
7
7
|
import { useI18n as O } from "vue-i18n";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as e } from "./AuthStore-
|
|
1
|
+
import { T as e } from "./AuthStore-BdiVUQBK.mjs";
|
|
2
2
|
import { t } from "./GeneralStore-Darfv4af.mjs";
|
|
3
|
-
import { t as n } from "./PodcastList-
|
|
3
|
+
import { t as n } from "./PodcastList-s4gxQjq5.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,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./ClassicCheckbox-xPu56Drn.mjs";
|
|
2
|
-
import { t } from "./CategoryChooser-
|
|
2
|
+
import { t } from "./CategoryChooser-Cg_gq6L_.mjs";
|
|
3
3
|
import { createElementBlock as n, createVNode as r, defineComponent as i, openBlock as a, ref as o, unref as s, watch as c } from "vue";
|
|
4
4
|
import { useI18n as l } from "vue-i18n";
|
|
5
5
|
//#region src/components/display/filter/CategorySearchFilter.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./CommentStore-
|
|
1
|
+
import { t as e } from "./CommentStore-D-2Q49xZ.mjs";
|
|
2
2
|
import { t } from "./config-DMjLBcZ2.mjs";
|
|
3
|
-
import { t as n } from "./ClassicInputText-
|
|
4
|
-
import { t as r } from "./RecaptchaModal-
|
|
3
|
+
import { t as n } from "./ClassicInputText-4bPGD_kV.mjs";
|
|
4
|
+
import { t as r } from "./RecaptchaModal-DLMoPxPf.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,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
3
|
-
import { t as n } from "./buttons-
|
|
3
|
+
import { t as n } from "./buttons-s19oovgO.mjs";
|
|
4
4
|
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, normalizeClass as d, openBlock as f, ref as p, renderSlot as m, resolveDynamicComponent as h, toDisplayString as g, unref as _, withCtx as v } from "vue";
|
|
5
5
|
import y from "vue-material-design-icons/Alert.vue";
|
|
6
6
|
import b from "vue-material-design-icons/CheckCircle.vue";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
-
import { n as t } from "./buttons-
|
|
2
|
+
import { n as t } from "./buttons-s19oovgO.mjs";
|
|
3
3
|
import { createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, openBlock as s, toDisplayString as c, unref as l } from "vue";
|
|
4
4
|
//#region src/components/misc/ClassicBigChip.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var u = { class: "big-chip" }, d = { class: "title" }, f = /*#__PURE__*/ e(/* @__PURE__ */ o({
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
+
import { createBlock as t, createElementVNode as n, defineComponent as r, mergeModels as i, nextTick as a, normalizeStyle as o, openBlock as s, ref as c, unref as l, useModel as u, useTemplateRef as d, withCtx as f } from "vue";
|
|
3
|
+
import { VSwatches as p } from "vue3-swatches";
|
|
4
|
+
import "vue3-swatches/dist/style.css";
|
|
5
|
+
//#region src/components/form/ClassicColorPicker.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var m = [
|
|
7
|
+
"title",
|
|
8
|
+
"aria-label",
|
|
9
|
+
"aria-expanded"
|
|
10
|
+
], h = /*#__PURE__*/ e(/* @__PURE__ */ r({
|
|
11
|
+
__name: "ClassicColorPicker",
|
|
12
|
+
props: /*@__PURE__*/ i({
|
|
13
|
+
label: {},
|
|
14
|
+
popoverX: { default: () => void 0 },
|
|
15
|
+
popoverY: { default: () => void 0 }
|
|
16
|
+
}, {
|
|
17
|
+
modelValue: { required: !0 },
|
|
18
|
+
modelModifiers: {}
|
|
19
|
+
}),
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(e) {
|
|
22
|
+
let r = u(e, "modelValue"), i = c(!1), h = d("picker"), g = d("trigger");
|
|
23
|
+
function _() {
|
|
24
|
+
return h.value?.$el;
|
|
25
|
+
}
|
|
26
|
+
function v(e) {
|
|
27
|
+
return e instanceof HTMLElement && e.classList.contains("vue-swatches__swatch");
|
|
28
|
+
}
|
|
29
|
+
function y() {
|
|
30
|
+
i.value = !0, a(() => {
|
|
31
|
+
let e = _();
|
|
32
|
+
(e?.querySelector(".vue-swatches__swatch--selected") ?? e?.querySelector(".vue-swatches__swatch"))?.focus();
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function b() {
|
|
36
|
+
i.value = !1, a(() => {
|
|
37
|
+
let e = document.activeElement;
|
|
38
|
+
(!e || e === document.body || _()?.contains(e)) && g.value?.focus();
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function x(e) {
|
|
42
|
+
e.key === " " && v(e.target) ? e.preventDefault() : e.key === "Escape" && i.value && (e.preventDefault(), e.stopPropagation(), g.value?.click());
|
|
43
|
+
}
|
|
44
|
+
function S(e) {
|
|
45
|
+
e.key === " " && v(e.target) && e.target.click();
|
|
46
|
+
}
|
|
47
|
+
return (a, c) => (s(), t(l(p), {
|
|
48
|
+
ref: "picker",
|
|
49
|
+
modelValue: r.value,
|
|
50
|
+
"onUpdate:modelValue": c[0] ||= (e) => r.value = e,
|
|
51
|
+
class: "classic-color-picker",
|
|
52
|
+
"show-fallback": "",
|
|
53
|
+
"fallback-input-type": "color",
|
|
54
|
+
"popover-x": e.popoverX,
|
|
55
|
+
"popover-y": e.popoverY,
|
|
56
|
+
onOpen: y,
|
|
57
|
+
onClose: b,
|
|
58
|
+
onKeydown: x,
|
|
59
|
+
onKeyup: S
|
|
60
|
+
}, {
|
|
61
|
+
trigger: f(() => [n("button", {
|
|
62
|
+
ref: "trigger",
|
|
63
|
+
type: "button",
|
|
64
|
+
class: "vue-swatches__trigger classic-color-picker-trigger",
|
|
65
|
+
style: o({ backgroundColor: r.value }),
|
|
66
|
+
title: e.label,
|
|
67
|
+
"aria-label": e.label,
|
|
68
|
+
"aria-expanded": i.value
|
|
69
|
+
}, null, 12, m)]),
|
|
70
|
+
_: 1
|
|
71
|
+
}, 8, [
|
|
72
|
+
"modelValue",
|
|
73
|
+
"popover-x",
|
|
74
|
+
"popover-y"
|
|
75
|
+
]));
|
|
76
|
+
}
|
|
77
|
+
}), [["__scopeId", "data-v-c8c5172d"]]);
|
|
78
|
+
//#endregion
|
|
79
|
+
export { h as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import { f as t } from "./AuthStore-
|
|
2
|
+
import { f as t } from "./AuthStore-BdiVUQBK.mjs";
|
|
3
3
|
import { computed as n, createCommentVNode as r, createElementBlock as i, createSlots as a, createVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, toDisplayString as u, unref as d, useTemplateRef as f, withCtx as p } from "vue";
|
|
4
4
|
import { useI18n as m } from "vue-i18n";
|
|
5
5
|
import h from "dayjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./useResizePhone-4hSkK5pa.mjs";
|
|
2
|
-
import { t } from "./ClassicPopover-
|
|
2
|
+
import { t } from "./ClassicPopover-BpFChUHf.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, withCtx as l } from "vue";
|
|
4
4
|
import { useI18n as u } from "vue-i18n";
|
|
5
5
|
import d from "vue-material-design-icons/EmoticonExcitedOutline.vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
2
|
import { t } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
3
|
-
import { t as n } from "./ClassicPopover-
|
|
3
|
+
import { t as n } from "./ClassicPopover-BpFChUHf.mjs";
|
|
4
4
|
import { computed as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineComponent as s, getCurrentInstance as c, openBlock as l, renderSlot as u, withCtx as d } from "vue";
|
|
5
5
|
import f from "vue-material-design-icons/HelpCircle.vue";
|
|
6
6
|
//#region src/components/misc/ClassicHelpButton.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -158,7 +158,7 @@ var ee = { class: "d-flex align-items-center" }, j = ["id", "title"], M = ["inne
|
|
|
158
158
|
"blur"
|
|
159
159
|
],
|
|
160
160
|
setup(e, { emit: u }) {
|
|
161
|
-
let z = l(() => import("./ClassicPopover-
|
|
161
|
+
let z = l(() => import("./ClassicPopover-BpFChUHf.mjs").then((e) => e.n)), B = l(() => import("./ClassicWysiwyg-cp3PQYAd.mjs")), V = l(() => import("./ClassicEmojiPicker-Cc4UZRvZ.mjs")), H = e, U = u, W = g(void 0), G = x("focusElement"), { t: K } = O(), q = n(() => H.inputId || "input-" + d()?.uid), J = n(() => !X.value || !Z.value || !Q.value), Y = n(() => W.value ? W.value.length : 0), X = n(() => H.canBeNull ? !0 : W.value ? W.value.trim().length !== 0 : !1), Z = n(() => H.maxLength === 0 || H.maxLength >= Y.value), Q = n(() => H.regex === void 0 ? !0 : !W.value || W.value === "" ? H.canBeNull : W.value.match(H.regex) !== null);
|
|
162
162
|
T(() => H.forceReload, () => {
|
|
163
163
|
H.textInit !== W.value && (W.value = H.textInit);
|
|
164
164
|
}), T(J, () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
-
import { t } from "./ClassicSpinner-
|
|
2
|
+
import { t } from "./ClassicSpinner-P6q1es8G.mjs";
|
|
3
3
|
import { createCommentVNode as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, toDisplayString as l } from "vue";
|
|
4
4
|
//#region src/components/form/ClassicLoading.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var u = {
|
|
@@ -69,7 +69,7 @@ var O = { class: "d-flex align-items-center" }, k = ["for"], A = ["id", "title"]
|
|
|
69
69
|
"onClose"
|
|
70
70
|
],
|
|
71
71
|
setup(e, { expose: d, emit: z }) {
|
|
72
|
-
let B = u(() => import("./ClassicPopover-
|
|
72
|
+
let B = u(() => import("./ClassicPopover-BpFChUHf.mjs").then((e) => e.n)), V = z, { t: H } = C(), U = _(void 0), W = _([]), G = _(0), K = _(!1), q = _(""), J = {
|
|
73
73
|
id: "SELECT_ALL",
|
|
74
74
|
[e.optionLabel]: e.withSelectAll && typeof e.withSelectAll == "string" ? e.withSelectAll : H("All")
|
|
75
75
|
}, Y = n(() => e.maxOptions !== null && e.multiple ? U.value.length >= e.maxOptions : !1);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { k as e } from "./AuthStore-
|
|
1
|
+
import { k as e } from "./AuthStore-BdiVUQBK.mjs";
|
|
2
2
|
import { createBlock as t, createCommentVNode as n, defineAsyncComponent as r, defineComponent as i, openBlock as a, unref as o } from "vue";
|
|
3
3
|
import { storeToRefs as s } from "pinia";
|
|
4
4
|
//#endregion
|
|
@@ -6,7 +6,7 @@ import { storeToRefs as s } from "pinia";
|
|
|
6
6
|
var c = /* @__PURE__ */ i({
|
|
7
7
|
__name: "ClassicNotifications",
|
|
8
8
|
setup(i) {
|
|
9
|
-
let c = r(() => import("./MessageModal-
|
|
9
|
+
let c = r(() => import("./MessageModal-DyD3HZy0.mjs").then((e) => e.n)), { clearNotification: l } = e(), { currentNotification: u } = s(e());
|
|
10
10
|
return (e, r) => o(u) ? (a(), t(o(c), {
|
|
11
11
|
key: 0,
|
|
12
12
|
title: o(u).title,
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
+
import { Teleport as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, nextTick as l, normalizeClass as ee, normalizeStyle as u, onMounted as d, onUnmounted as f, openBlock as p, ref as m, renderSlot as te, toDisplayString as h, useTemplateRef as ne, vShow as re, watch as g, withDirectives as ie } from "vue";
|
|
3
|
+
import { useRouter as _ } from "vue-router";
|
|
4
|
+
//#region src/components/misc/ClassicPopover.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var v = ["id"], ae = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "bg-secondary-light p-2"
|
|
8
|
+
}, y = { class: "p-2" }, oe = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", b = /*@__PURE__*/ c({
|
|
9
|
+
__name: "ClassicPopover",
|
|
10
|
+
props: {
|
|
11
|
+
content: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
15
|
+
title: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: ""
|
|
18
|
+
},
|
|
19
|
+
target: {
|
|
20
|
+
type: String,
|
|
21
|
+
required: !0
|
|
22
|
+
},
|
|
23
|
+
disable: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: !1
|
|
26
|
+
},
|
|
27
|
+
onlyClick: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: !1
|
|
30
|
+
},
|
|
31
|
+
onlyMouse: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: !1
|
|
34
|
+
},
|
|
35
|
+
isFixed: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: !1
|
|
38
|
+
},
|
|
39
|
+
relativeClass: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: void 0
|
|
42
|
+
},
|
|
43
|
+
leftPos: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
default: !1
|
|
46
|
+
},
|
|
47
|
+
topPos: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !1
|
|
50
|
+
},
|
|
51
|
+
popoverClass: {
|
|
52
|
+
type: String,
|
|
53
|
+
default: void 0
|
|
54
|
+
},
|
|
55
|
+
isTopLayer: {
|
|
56
|
+
type: Boolean,
|
|
57
|
+
default: !1
|
|
58
|
+
},
|
|
59
|
+
constrainHeight: {
|
|
60
|
+
type: Boolean,
|
|
61
|
+
default: !0
|
|
62
|
+
},
|
|
63
|
+
zIndex: {
|
|
64
|
+
type: Number,
|
|
65
|
+
default: void 0
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
emits: ["updateVisibility"],
|
|
69
|
+
setup(e, { expose: c, emit: b }) {
|
|
70
|
+
let x = e, S = b, C = m(!1), w = m(!1), T = m(!1), E = m(0), D = m(0), O = m(null), k = m(!1), A = m(!1), j = !1, M = m("80dvh"), N = m(void 0), P = ne("popover"), F = _(), I = n(() => "popover" + x.target), L = n(() => ({
|
|
71
|
+
left: `${E.value}px`,
|
|
72
|
+
top: `${D.value}px`,
|
|
73
|
+
"max-height": M.value,
|
|
74
|
+
"z-index": x.zIndex ?? 10
|
|
75
|
+
})), R = n(() => C.value && !x.disable), z = n(() => (x.isTopLayer || x.relativeClass === "octopus-modal") && Object.hasOwn(HTMLElement.prototype, "popover"));
|
|
76
|
+
g(R, async () => {
|
|
77
|
+
z.value && (R.value ? P.value.showPopover() : P.value.hidePopover());
|
|
78
|
+
}), g(C, async () => {
|
|
79
|
+
S("updateVisibility", C.value), x.onlyClick && O.value?.setAttribute("aria-expanded", String(C.value)), C.value ? window.addEventListener("keyup", V) : window.removeEventListener("keyup", V);
|
|
80
|
+
}), g(w, async () => {
|
|
81
|
+
w.value && !T.value ? window.addEventListener("click", B, !0) : window.removeEventListener("click", B, !0);
|
|
82
|
+
}), d(() => H()), f(() => U());
|
|
83
|
+
function B(e) {
|
|
84
|
+
let t = e.target, n = P?.value, r = O.value;
|
|
85
|
+
n && !n.contains(t) && r && !r.contains(t) && Z();
|
|
86
|
+
}
|
|
87
|
+
function V(e) {
|
|
88
|
+
if (!e || e === null) return;
|
|
89
|
+
if (x.onlyClick && e.key === "Escape") {
|
|
90
|
+
Y();
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (e.key !== "Tab") return;
|
|
94
|
+
let t = e.target;
|
|
95
|
+
(P?.value)?.contains(t) ? A.value = !0 : Z();
|
|
96
|
+
}
|
|
97
|
+
function H() {
|
|
98
|
+
O.value = document.getElementById(x.target), O.value && (x.onlyClick || (O.value.addEventListener("mouseenter", q), O.value.addEventListener("mouseleave", Q)), x.onlyMouse || O.value.addEventListener("click", q), O.value.addEventListener("focusout", X), x.onlyClick && (O.value.setAttribute("aria-controls", I.value), O.value.setAttribute("aria-expanded", String(C.value))));
|
|
99
|
+
}
|
|
100
|
+
function U() {
|
|
101
|
+
O.value && (x.onlyClick || (O.value.removeEventListener("mouseenter", q), O.value.removeEventListener("mouseleave", Q)), x.onlyMouse || O.value.removeEventListener("click", q), O.value.removeEventListener("focusout", X), x.onlyClick && (O.value.removeAttribute("aria-controls"), O.value.removeAttribute("aria-expanded")));
|
|
102
|
+
}
|
|
103
|
+
function W(e) {
|
|
104
|
+
return C.value && w.value && e.target !== P.value && !P.value?.contains(e.target) ? (w.value = !1, $(), -1) : C.value && z.value ? ((P?.value).showPopover(), w.value = !0, -1) : (w.value = !0, 0);
|
|
105
|
+
}
|
|
106
|
+
function G(e, t, n, r) {
|
|
107
|
+
n - (n - (e.right - t)) > r ? E.value = e.right - t - r : E.value = t;
|
|
108
|
+
}
|
|
109
|
+
function K(e, t, n, r) {
|
|
110
|
+
let i = e.left - t;
|
|
111
|
+
n - i > r ? E.value = i : E.value = n - r + t;
|
|
112
|
+
}
|
|
113
|
+
function q(e) {
|
|
114
|
+
if (clearInterval(N.value), x.disable || !e || !e.target || e.type === "click" && W(e) === -1) return;
|
|
115
|
+
e.type === "mouseenter" && (T.value = !0), C.value = !0;
|
|
116
|
+
let t = P?.value, n = e.target.getBoundingClientRect();
|
|
117
|
+
t.style.display = "block";
|
|
118
|
+
let r = t.clientWidth;
|
|
119
|
+
x.leftPos ? G(n, 0, window.innerWidth, r) : K(n, 0, window.innerWidth, r), E.value = Math.max(0, E.value);
|
|
120
|
+
let i = x.topPos ? n.top : n.bottom, a = x.topPos ? -5 - t.clientHeight : 5;
|
|
121
|
+
D.value = Math.max(0, i + a), M.value = window.innerHeight - D.value + "px", x.onlyClick && e.type === "click" && e.detail === 0 && l(() => se());
|
|
122
|
+
}
|
|
123
|
+
function J() {
|
|
124
|
+
return Array.from(P.value?.querySelectorAll(oe) ?? []);
|
|
125
|
+
}
|
|
126
|
+
function se() {
|
|
127
|
+
let e = J()[0] ?? P.value;
|
|
128
|
+
j = !0, e?.focus(), j = !1;
|
|
129
|
+
}
|
|
130
|
+
function Y() {
|
|
131
|
+
let e = P.value?.contains(document.activeElement) ?? !1;
|
|
132
|
+
Z(), e && O.value?.focus();
|
|
133
|
+
}
|
|
134
|
+
function ce(e) {
|
|
135
|
+
if (!x.onlyClick || e.key !== "Tab") return;
|
|
136
|
+
let t = P.value, n = J(), r = document.activeElement;
|
|
137
|
+
if (e.shiftKey) {
|
|
138
|
+
(r === t || r === n[0]) && (e.preventDefault(), Y());
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
r === (n.at(-1) ?? t) && Y();
|
|
142
|
+
}
|
|
143
|
+
function le(e) {
|
|
144
|
+
x.onlyClick && e.detail === 0 && e.target.closest(".octopus-dropdown-item") && l(() => Y());
|
|
145
|
+
}
|
|
146
|
+
function X(e) {
|
|
147
|
+
if (j) return;
|
|
148
|
+
if (A.value) {
|
|
149
|
+
A.value = !1;
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (Array.from(e?.target?.classList ?? []).findIndex((e) => e.startsWith("dp--")) !== -1) return;
|
|
153
|
+
let t = P?.value;
|
|
154
|
+
if (!e.relatedTarget) return t !== null && t.contains(e.target) ? void 0 : Z();
|
|
155
|
+
let n = e.relatedTarget;
|
|
156
|
+
if (I.value !== n.id) {
|
|
157
|
+
if (t === null || !t.contains(n)) return Z();
|
|
158
|
+
if (n.classList !== null && n.classList.contains("octopus-dropdown-item")) {
|
|
159
|
+
if (!n.href) return Z();
|
|
160
|
+
if (n.classList.contains("realLink")) n.click();
|
|
161
|
+
else {
|
|
162
|
+
let { pathname: e, search: t, hash: r } = n;
|
|
163
|
+
F.push(e + t + r);
|
|
164
|
+
}
|
|
165
|
+
l(() => {
|
|
166
|
+
w.value = !1, $();
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function Z() {
|
|
172
|
+
w.value = !1, $();
|
|
173
|
+
}
|
|
174
|
+
function Q() {
|
|
175
|
+
N.value = setTimeout(() => {
|
|
176
|
+
k.value || $(), N.value = void 0;
|
|
177
|
+
}, 500);
|
|
178
|
+
}
|
|
179
|
+
function $() {
|
|
180
|
+
(!w.value || T.value) && (C.value = !1, E.value = 0, D.value = 0, T.value = !1, A.value = !1);
|
|
181
|
+
}
|
|
182
|
+
return c({ clearClick: Z }), (n, c) => (p(), r(t, { to: "#app" }, [ie(o("div", {
|
|
183
|
+
id: "popover" + e.target,
|
|
184
|
+
ref: "popover",
|
|
185
|
+
popover: "",
|
|
186
|
+
tabindex: "0",
|
|
187
|
+
class: ee(["octopus-popover border position-fixed", [
|
|
188
|
+
R.value ? "d-block" : "",
|
|
189
|
+
e.onlyClick ? "octopus-dropdown" : "",
|
|
190
|
+
e.popoverClass
|
|
191
|
+
]]),
|
|
192
|
+
style: u(L.value),
|
|
193
|
+
onKeydown: ce,
|
|
194
|
+
onClick: le,
|
|
195
|
+
onMouseenter: c[0] ||= (e) => k.value = !0,
|
|
196
|
+
onMouseleave: c[1] ||= (e) => {
|
|
197
|
+
k.value = !1, $();
|
|
198
|
+
}
|
|
199
|
+
}, [e.title ? (p(), a("div", ae, h(e.title), 1)) : i("", !0), o("div", y, [te(n.$slots, "default", {}, () => [s(h(e.content), 1)])])], 46, v), [[re, R.value]])]));
|
|
200
|
+
}
|
|
201
|
+
}), x = /* @__PURE__ */ e({ default: () => S }), S = b;
|
|
202
|
+
//#endregion
|
|
203
|
+
export { x as n, S as t };
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
+
import { Fragment as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, nextTick as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderList as p, renderSlot as m, toDisplayString as h, unref as g, useTemplateRef as _, vShow as v, withDirectives as y } from "vue";
|
|
3
|
+
import { useI18n as b } from "vue-i18n";
|
|
4
|
+
import x from "vue-material-design-icons/Asterisk.vue";
|
|
5
|
+
//#region src/components/form/ClassicSelect.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
+
var S = ["for"], C = [
|
|
7
|
+
"id",
|
|
8
|
+
"disabled",
|
|
9
|
+
"aria-label",
|
|
10
|
+
"required"
|
|
11
|
+
], w = ["selected"], T = [
|
|
12
|
+
"value",
|
|
13
|
+
"data-selenium",
|
|
14
|
+
"selected"
|
|
15
|
+
], E = /*@__PURE__*/ c({
|
|
16
|
+
__name: "ClassicSelect",
|
|
17
|
+
props: {
|
|
18
|
+
idSelect: {
|
|
19
|
+
default: "",
|
|
20
|
+
type: String
|
|
21
|
+
},
|
|
22
|
+
label: {
|
|
23
|
+
default: "",
|
|
24
|
+
type: String
|
|
25
|
+
},
|
|
26
|
+
displayLabel: {
|
|
27
|
+
default: !0,
|
|
28
|
+
type: Boolean
|
|
29
|
+
},
|
|
30
|
+
transparent: {
|
|
31
|
+
default: !1,
|
|
32
|
+
type: Boolean
|
|
33
|
+
},
|
|
34
|
+
isDisabled: {
|
|
35
|
+
default: !1,
|
|
36
|
+
type: Boolean
|
|
37
|
+
},
|
|
38
|
+
options: {
|
|
39
|
+
default: () => [],
|
|
40
|
+
type: Array
|
|
41
|
+
},
|
|
42
|
+
topOption: {
|
|
43
|
+
default: void 0,
|
|
44
|
+
type: Object
|
|
45
|
+
},
|
|
46
|
+
textInit: {
|
|
47
|
+
default: void 0,
|
|
48
|
+
type: [String, Number]
|
|
49
|
+
},
|
|
50
|
+
classLabel: {
|
|
51
|
+
default: "form-label",
|
|
52
|
+
type: String
|
|
53
|
+
},
|
|
54
|
+
orderOptions: {
|
|
55
|
+
default: !0,
|
|
56
|
+
type: Boolean
|
|
57
|
+
},
|
|
58
|
+
placeholder: {
|
|
59
|
+
default: void 0,
|
|
60
|
+
type: String
|
|
61
|
+
},
|
|
62
|
+
displayRequired: {
|
|
63
|
+
default: !1,
|
|
64
|
+
type: Boolean
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
emits: ["update:textInit"],
|
|
68
|
+
setup(e, { emit: c }) {
|
|
69
|
+
let E = e, D = c, { t: O } = b(), k = _("selectRef"), A = n(() => {
|
|
70
|
+
let e = E.options.find((e) => M(e.value));
|
|
71
|
+
return e?.fontFamily ? "font-family:" + e.fontFamily : "";
|
|
72
|
+
}), j = n(() => {
|
|
73
|
+
let e = Array.from(E.options);
|
|
74
|
+
return E.orderOptions && e.sort((e, t) => e.title > t.title ? 1 : t.title > e.title ? -1 : 0), E.topOption && e.unshift(E.topOption), e;
|
|
75
|
+
});
|
|
76
|
+
function M(e) {
|
|
77
|
+
return E.textInit !== void 0 && String(E.textInit) === String(e);
|
|
78
|
+
}
|
|
79
|
+
async function N(e) {
|
|
80
|
+
D("update:textInit", e), await l();
|
|
81
|
+
let t = E.textInit === void 0 ? "" : String(E.textInit);
|
|
82
|
+
k.value && k.value.value !== t && (k.value.value = t);
|
|
83
|
+
}
|
|
84
|
+
return (n, c) => (f(), a("div", { class: u(["classic-select", { "form-margin": e.displayLabel }]) }, [y(o("label", {
|
|
85
|
+
for: e.idSelect,
|
|
86
|
+
class: u(e.classLabel)
|
|
87
|
+
}, [
|
|
88
|
+
s(h(e.label) + " ", 1),
|
|
89
|
+
e.displayRequired ? (f(), r(x, {
|
|
90
|
+
key: 0,
|
|
91
|
+
size: 10,
|
|
92
|
+
class: "ms-1 mb-2",
|
|
93
|
+
title: g(O)("Mandatory input")
|
|
94
|
+
}, null, 8, ["title"])) : i("", !0),
|
|
95
|
+
m(n.$slots, "after-label")
|
|
96
|
+
], 10, S), [[v, e.displayLabel]]), o("select", {
|
|
97
|
+
id: e.idSelect,
|
|
98
|
+
ref_key: "selectRef",
|
|
99
|
+
ref: k,
|
|
100
|
+
disabled: e.isDisabled,
|
|
101
|
+
class: u(["c-hand w-100", e.transparent ? "transparent" : ""]),
|
|
102
|
+
style: d(A.value),
|
|
103
|
+
"aria-label": e.label,
|
|
104
|
+
required: e.displayRequired,
|
|
105
|
+
onChange: c[0] ||= (e) => N(e.target.value)
|
|
106
|
+
}, [e.placeholder ? (f(), a("option", {
|
|
107
|
+
key: 0,
|
|
108
|
+
value: "",
|
|
109
|
+
disabled: "",
|
|
110
|
+
selected: e.textInit === void 0 || e.textInit === ""
|
|
111
|
+
}, h(e.placeholder), 9, w)) : i("", !0), (f(!0), a(t, null, p(j.value, (e) => (f(), a("option", {
|
|
112
|
+
key: e.title,
|
|
113
|
+
value: e.value,
|
|
114
|
+
"data-selenium": "select-option-" + e.value,
|
|
115
|
+
style: d(e.fontFamily ? "font-family:" + e.fontFamily : ""),
|
|
116
|
+
selected: M(e.value)
|
|
117
|
+
}, [m(n.$slots, "option", { option: e }, () => [s(h(e.title), 1)])], 12, T))), 128))], 46, C)], 2));
|
|
118
|
+
}
|
|
119
|
+
}), D = /* @__PURE__ */ e({ default: () => O }), O = E;
|
|
120
|
+
//#endregion
|
|
121
|
+
export { D as n, O as t };
|
|
@@ -21,7 +21,10 @@ var l = /*@__PURE__*/ a({
|
|
|
21
21
|
return (e, n) => (s(), r("div", {
|
|
22
22
|
class: "octopus-spinner",
|
|
23
23
|
style: o(l.value)
|
|
24
|
-
}, [(s(), r(t, null, c(12, (e) => i("div", {
|
|
24
|
+
}, [(s(), r(t, null, c(12, (e) => i("div", {
|
|
25
|
+
key: e,
|
|
26
|
+
style: o({ "--index": e })
|
|
27
|
+
}, null, 4)), 64))], 4));
|
|
25
28
|
}
|
|
26
29
|
}), u = /* @__PURE__ */ e({ default: () => d }), d = l;
|
|
27
30
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./AuthStore-
|
|
1
|
+
import { t as e } from "./AuthStore-BdiVUQBK.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,5 +1,5 @@
|
|
|
1
|
-
import { C as e, t } from "./AuthStore-
|
|
2
|
-
import { t as n } from "./CommentStore-
|
|
1
|
+
import { C as e, t } from "./AuthStore-BdiVUQBK.mjs";
|
|
2
|
+
import { t as n } from "./CommentStore-D-2Q49xZ.mjs";
|
|
3
3
|
import { t as r } from "./config-DMjLBcZ2.mjs";
|
|
4
4
|
import { t as i } from "./useSaootiPlayer-B1evOwnH.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";
|
|
@@ -27,7 +27,7 @@ var S = { class: "d-flex flex-column comment-input-container mt-3" }, C = {
|
|
|
27
27
|
},
|
|
28
28
|
emits: ["cancelAction", "newComment"],
|
|
29
29
|
setup(f, { emit: E }) {
|
|
30
|
-
let D = d(() => import("./CheckIdentityModal-
|
|
30
|
+
let D = d(() => import("./CheckIdentityModal-DTA9VPdd.mjs")), O = d(() => import("./CommentName-DiN2v6zm.mjs")), k = d(() => import("./MessageModal-DyD3HZy0.mjs").then((e) => e.n)), A = d(() => import("./ClassicEmojiPicker-Cc4UZRvZ.mjs")), j = d(() => import("./ClassicContentEditable-CWmtRihd.mjs")), M = f, N = E, P = r.MAX_COMMENT, F = h(""), I = h(!1), L = h(!1), R = h(!1), z = v("textarea"), { t: B } = b(), V = n(), H = t(), { podcastPlaying: U } = i(), W = a(() => G.value <= P), G = a(() => F.value.length), K = a(() => M.inAnswerComment?.commentId ? B("Answer a comment") : B("Write a comment")), q = a(() => "-comment" + (M.inAnswerComment?.commentId ?? "-parent"));
|
|
31
31
|
y(() => M.focus, () => z?.value?.focus());
|
|
32
32
|
function J(e) {
|
|
33
33
|
F.value += e;
|
|
@@ -54,8 +54,8 @@ var S = { class: "d-flex flex-column comment-input-container mt-3" }, C = {
|
|
|
54
54
|
isNotAuth: H.authOrgaId === void 0
|
|
55
55
|
});
|
|
56
56
|
N("newComment", t), F.value = "", I.value = !1;
|
|
57
|
-
} catch {
|
|
58
|
-
R.value = !0;
|
|
57
|
+
} catch (e) {
|
|
58
|
+
console.error(e), R.value = !0;
|
|
59
59
|
}
|
|
60
60
|
L.value = !1;
|
|
61
61
|
}
|