@saooti/octopus-sdk 42.3.0-beta1 → 42.3.0-beta2
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 +93 -0
- package/dist/AdsProgressBar-DdkQTxms.mjs +20 -0
- package/dist/AdvancedSearch-CG75321A.mjs +267 -0
- package/dist/AdvancedSearch-RpudziSJ.mjs.map +1 -0
- package/dist/AmazonMusicIcon-6zqZK6Q9.mjs +39 -0
- package/dist/ApplePodcastIcon-C3ogP5y5.mjs +40 -0
- package/dist/CategoryChooser-C-34sFe8.mjs +173 -0
- package/dist/CategoryFilter-CJZx8omI.mjs +143 -0
- package/dist/CategoryList-CwNsFVQm.mjs +107 -0
- package/dist/CategoryPage--kdJgrOE.mjs +28 -0
- package/dist/CategorySearchFilter-D_ZSRtaL.mjs +39 -0
- package/dist/ChapteringModal-Cnut4wcf.mjs +46 -0
- package/dist/CheckIdentityModal-D5F53WBz.mjs +51 -0
- package/dist/ChooseEpisodesNumber-CXJO5dfs.mjs +33 -0
- package/dist/ClassicAccordion-0eaNyzmz.mjs +71 -0
- package/dist/ClassicAlert-DATLZ8J1.mjs +53 -0
- package/dist/ClassicBigChip-BK8v_P0z.mjs +25 -0
- package/dist/ClassicCheckbox-xPu56Drn.mjs +89 -0
- package/dist/ClassicContentEditable-CWmtRihd.mjs +45 -0
- package/dist/ClassicCopyButton-DJ9T09fS.mjs +52 -0
- package/dist/ClassicDatePicker-B7UA9CqR.mjs +187 -0
- package/dist/ClassicDatePicker-DBVj13V8.mjs.map +1 -0
- package/dist/ClassicEmojiPicker-xjxYsjpR.mjs +63 -0
- package/dist/ClassicHelpButton-WkkD_fvP.mjs +34 -0
- package/dist/ClassicInputText-CFzU8ANo.mjs +270 -0
- package/dist/ClassicLazy-CDhWc5-4.mjs +56 -0
- package/dist/ClassicLoading-CXfMjpyl.mjs +40 -0
- package/dist/ClassicModal-Dl2IdzXZ.mjs +63 -0
- package/dist/ClassicModalInBody-D5-RfQ8Z.mjs +58 -0
- package/dist/ClassicMultiselect-g3xqjPns.mjs +201 -0
- package/dist/ClassicNav-DYez6p1J.mjs +47 -0
- package/dist/ClassicNotifications-XerI3fuy.mjs +25 -0
- package/dist/ClassicPopover-ChIaSqUg.mjs +167 -0
- package/dist/ClassicRadio-BbJEgMB7.mjs +61 -0
- package/dist/ClassicRadioLabel-DgimkkQe.mjs +76 -0
- package/dist/ClassicSearch-CtL1cpnF.mjs +63 -0
- package/dist/ClassicSelect-BpA0jKN6.mjs +111 -0
- package/dist/ClassicSpinner-DFRDD51g.mjs +28 -0
- package/dist/ClassicTabs-DYOZLNK2.mjs +40 -0
- package/dist/ClassicTagInput-DiRwA8CF.mjs +62 -0
- package/dist/ClassicWysiwyg-cp3PQYAd.mjs +164 -0
- package/dist/ClipboardModal-CvY7F9XD.mjs +56 -0
- package/dist/CommentInput-CrLp5kVE.mjs +112 -0
- package/dist/CommentItem-DVpqD8WV.mjs +226 -0
- package/dist/CommentList-BVWxtWBd.mjs +201 -0
- package/dist/CommentMoreActions-CtNaymfO.mjs +196 -0
- package/dist/CommentName-DOp7RPYb.mjs +56 -0
- package/dist/CommentParentInfo-BGzHsZBo.mjs +36 -0
- package/dist/CommentPlayer-CaXXK_ur.mjs +47 -0
- package/dist/CommentSection-BLnaNc3j.mjs +79 -0
- package/dist/CommentStore-BvQ47pgC.mjs +279 -0
- package/dist/ContractPreviewModal-DLUIJL6V.mjs +53 -0
- package/dist/CountDown-o6ye6yv1.mjs +17 -0
- package/dist/CountdownOctopus-D0X5hVBu.mjs +23 -0
- package/dist/DateFilter-CWHLeDyi.mjs.map +1 -0
- package/dist/DateFilter-DztHuPm8.mjs +79 -0
- package/dist/DeezerIcon-CybxfijL.mjs +39 -0
- package/dist/DownloadPodcastButton-BhZk8CIi.mjs +30 -0
- package/dist/EditCommentModal-Clonb45M.mjs +115 -0
- package/dist/EditFtpIcon-B1FO4hqc.mjs +39 -0
- package/dist/EmissionGroupChooser-TC2y4oBU.mjs +45 -0
- package/dist/EmissionInlineList-MlKj2KRi.mjs +114 -0
- package/dist/EmissionItem-DhPPoaoI.mjs +116 -0
- package/dist/EmissionList-CiaXhV5K.mjs +229 -0
- package/dist/EmissionPage-CVEdB4gX.mjs +192 -0
- package/dist/EmissionPlayerItem--yZExmAl.mjs +119 -0
- package/dist/EmissionPresentationItem-D2m6v7YY.mjs +41 -0
- package/dist/EmissionPresentationList-R5n9QDjN.mjs +92 -0
- package/dist/EmissionsPage-1TmihhPu.mjs +116 -0
- package/dist/EmissionsPage-DbXGidSU.mjs.map +1 -0
- package/dist/Error403Page-DPVj6dbw.mjs +40 -0
- package/dist/ErrorMessage-B4gtlriP.mjs +22 -0
- package/dist/FooterGarSection-BCWLrhPN.mjs +39 -0
- package/dist/FooterSection-v72S9lf7.mjs +149 -0
- package/dist/GeneralStore-Darfv4af.mjs +39 -0
- package/dist/HomeDropdown-BWACxS1Z.mjs +66 -0
- package/dist/HomePage-BrDLgfWv.mjs +112 -0
- package/dist/IHeartIcon-DP1otYre.mjs +42 -0
- package/dist/InlineRubriqueList-oFCs-YCb.mjs +48 -0
- package/dist/LikeButton-Cu8jAJHx.mjs +40 -0
- package/dist/LikeSection-_QsrlWON.mjs +97 -0
- package/dist/ListPaginate-CWJkWFT9.mjs +163 -0
- package/dist/LiveHorizontalList-DLiVAXF8.mjs +77 -0
- package/dist/LiveList-Dh0Hem9X.mjs +204 -0
- package/dist/LivesPage-OA39_ikp.mjs +40 -0
- package/dist/MapPage-BdFv7ywN.mjs +240 -0
- package/dist/MessageModal-BcqS77v6.mjs +101 -0
- package/dist/MobileMenu-BQw-01vq.mjs +136 -0
- package/dist/MonetizableFilter-B7NHzXEY.mjs +58 -0
- package/dist/NewsletterModal-Yc3Kr6JH.mjs +53 -0
- package/dist/OctopusMultiselect-C8qljiaH.mjs +234 -0
- package/dist/OrganisationChooser-NE9HYr30.mjs +135 -0
- package/dist/OrganisationChooserLight-BzI51-2p.mjs +48 -0
- package/dist/PageLogout-CVZHOw8c.mjs +12 -0
- package/dist/PageNotFound-Dm-Sg2Wi.mjs +37 -0
- package/dist/PaginateParams-Bjz3ZI-5.mjs +75 -0
- package/dist/PaginateSection-Oip_5JHt.mjs +137 -0
- package/dist/ParticipantDescription-DVSfKvtg.mjs +46 -0
- package/dist/ParticipantInlineList-CjwKVHrg.mjs +84 -0
- package/dist/ParticipantItem-DiBk3UKd.mjs +91 -0
- package/dist/ParticipantPage-CXKT_lay.mjs +128 -0
- package/dist/ParticipantsPage-BzqbuOI-.mjs +168 -0
- package/dist/PlayVideoIcon-BhTQpMyL.mjs +40 -0
- package/dist/PlayerAnonymousModal-DFlvvkSt.mjs +61 -0
- package/dist/PlayerCommonParameters-x0zV7AoW.mjs +27 -0
- package/dist/PlayerCompact-OiohowN8.mjs +128 -0
- package/dist/PlayerComponent-DUUeBtc2.mjs +575 -0
- package/dist/PlayerFmIcon-D7gURz4r.mjs +39 -0
- package/dist/PlayerLarge-B4_ykSr8.mjs +128 -0
- package/dist/PlayerParameters-kVBMXQIb.mjs +173 -0
- package/dist/PlayerPlayButton-B4g9KPbX.mjs +231 -0
- package/dist/PlayerProgressBar-BS7USi1u.mjs +67 -0
- package/dist/PlayerStore-Cqg2B90d.mjs +167 -0
- package/dist/PlayerVideo-DiiBvXvy.mjs +35 -0
- package/dist/PlayerVideoDigiteka-CA548VDc.mjs +62 -0
- package/dist/PlayerVideoHls-CA81wom0.mjs +127 -0
- package/dist/PlayerYoutubeEmbed-D-UrFhXm.mjs +25 -0
- package/dist/PlaylistPage-Cdc-C5bJ.mjs +132 -0
- package/dist/PlaylistsPage-isjmS3db.mjs +254 -0
- package/dist/PocketCastIcon-CM5NDsDa.mjs +39 -0
- package/dist/PodcastAddictIcon-CW3Uxj4I.mjs +42 -0
- package/dist/PodcastFilterList-Of_380rv.mjs +139 -0
- package/dist/PodcastImage-D2kKdvYq.mjs +115 -0
- package/dist/PodcastInlineList-BSeXkUls.mjs +123 -0
- package/dist/PodcastInlineListTemplate-CaklJfPE.mjs +187 -0
- package/dist/PodcastIsPlaying-BPtqGlY7.mjs +17 -0
- package/dist/PodcastItem-CFPr0YKQ.mjs +158 -0
- package/dist/PodcastList-BjYKfwcF.mjs +186 -0
- package/dist/PodcastList-Dcn5YJjW.mjs +113 -0
- package/dist/PodcastPage-BvAD7tqO.mjs +434 -0
- package/dist/PodcastPlannedSpinner-DcDDays8.mjs +12 -0
- package/dist/PodcastPlayBar-CFEJrXHM.mjs +39 -0
- package/dist/PodcastPlayBasicButton-BS4hUqwX.mjs +44 -0
- package/dist/PodcastPlayButton-BDynk0ui.mjs +118 -0
- package/dist/PodcastPlaylistInlineList-DG56u99P.mjs +63 -0
- package/dist/PodcastPresentationList-Fnxe51Yx.mjs +132 -0
- package/dist/PodcastProgressBar-D-8JrYft.mjs +66 -0
- package/dist/PodcastRawTranscript-CgyivPNd.mjs +102 -0
- package/dist/PodcastSeasonInfo-DDGSqj8M.mjs +28 -0
- package/dist/PodcastSwiperList-BUI3h66I.mjs +170 -0
- package/dist/PodcastmakerHeader-CBxuNVD3.mjs +33 -0
- package/dist/PodcastsPage-BLJmFD2Y.mjs +132 -0
- package/dist/PodcastsPage-DSweyIOW.mjs.map +1 -0
- package/dist/PresentationLayout-mRFZ6Bfa.mjs +55 -0
- package/dist/ProductorSearch-CDmFsIyS.mjs +91 -0
- package/dist/ProgressBar-8ALgWMQg.mjs +112 -0
- package/dist/QrCode-D9C4oYxi.mjs +105 -0
- package/dist/QrCodeModal-D0Avurdi.mjs +43 -0
- package/dist/RadioCurrently-DtGr3PLP.mjs +57 -0
- package/dist/RadioHistory-CpxLHzV4.mjs +89 -0
- package/dist/RadioImage-C-KQbWwg.mjs +46 -0
- package/dist/RadioList-7MRTQMNr.mjs +70 -0
- package/dist/RadioPage-DeW-O3bK.mjs +69 -0
- package/dist/RadioPlanning-Cis4EYlu.mjs +180 -0
- package/dist/RadioProgressBar-uTb5xpob.mjs +32 -0
- package/dist/RadiolineIcon-CxHZGhfr.mjs +40 -0
- package/dist/RecaptchaModal-CN9l0HRn.mjs +95 -0
- package/dist/ReportAbuseModal-huGsUWu3.mjs +92 -0
- package/dist/RightsIndicator-sadV3bTn.mjs +58 -0
- package/dist/RightsWrapper-3bRF3EvS.mjs +104 -0
- package/dist/RubriqueChoice-DC9P869p.mjs +101 -0
- package/dist/RubriqueChooser-DEYM6kDc.mjs +165 -0
- package/dist/RubriqueFilter-D0Igm1zH.mjs +121 -0
- package/dist/RubriqueList-7sTpZEp-.mjs +117 -0
- package/dist/RubriquePage-CQhtx0Zn.mjs +71 -0
- package/dist/SearchOrder-D_dAhj9M.mjs +62 -0
- package/dist/SearchPage-voiOODER.mjs +41 -0
- package/dist/ShareAnonymous-D5nFlR4f.mjs +199 -0
- package/dist/ShareModalPlayer-Jqxd03FS.mjs +87 -0
- package/dist/ShareNewsletter-DtOGN0QS.mjs +143 -0
- package/dist/SharePlayer-BauFAr_B.mjs +206 -0
- package/dist/SharePlayerColors-BpdifsHh.mjs +49 -0
- package/dist/SharePlayerRadio-Bvmr4PCF.mjs +66 -0
- package/dist/SharePlayerTypes-QeOTKG7p.mjs +150 -0
- package/dist/ShareSocialsButtons-BcGq-6kk.mjs +102 -0
- package/dist/SimpleLayout-BLmTK2DF.mjs +22 -0
- package/dist/SmartLinkPage-COyfD9iX.mjs +136 -0
- package/dist/SnackBar-BL-mLRun.mjs +128 -0
- package/dist/SubscribeButtons-gZHzVHsc.mjs +121 -0
- package/dist/SwiperList-C4QSXsTa.mjs +118 -0
- package/dist/TagList-DTepn6y4.mjs +80 -0
- package/dist/TagPage-Bt7vYAYS.mjs +79 -0
- package/dist/TopBar-CIoCpZw3.mjs +427 -0
- package/dist/TopBar-CtbAb_Vg.mjs.map +1 -0
- package/dist/TuninIcon-DENNxlP8.mjs +39 -0
- package/dist/UserButtonContent-idV4FedY.mjs +131 -0
- package/dist/VastStore-8IiEgtQW.mjs +71 -0
- package/dist/VideoModuleBox-BFf98abI.mjs +58 -0
- package/dist/VideoPage-BwNsHGMr.mjs +148 -0
- package/dist/XIcon-DNBT2Zgf.mjs +39 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.mjs +8 -0
- package/dist/buttons-BkfxHdGj.mjs +85 -0
- package/dist/classicApi-xM8VH_yv.mjs +1256 -0
- package/dist/config-DMjLBcZ2.mjs +7 -0
- package/dist/cookiesHelper-5uZhLulK.mjs +20 -0
- package/dist/displayHelper-DQtoqc_6.mjs +11 -0
- package/dist/domHelper-BPw2kGCL.mjs +12 -0
- package/dist/downloadHelper-DZMVVBPZ.mjs +23 -0
- package/dist/{educationen-B0PNsHqt.mjs → educationen-KT401RLo.mjs} +2 -4
- package/dist/educationfr-BIafOUp-.mjs +4 -0
- package/dist/emission-CQ1VuxRc.mjs +22 -0
- package/dist/index.css +2 -7399
- package/dist/index.mjs +453 -992
- package/dist/keys-CV5SBM1i.mjs +4 -0
- package/dist/localisation-CBnt682X.mjs +9 -0
- package/dist/logo_saooti_play_black-Doe3es2H.mjs +4 -0
- package/dist/{messages-BqVF4jGm.mjs → messages-DlxMAMOa.mjs} +6 -8
- package/dist/organisation-JgfYj1Jp.mjs +17 -0
- package/dist/ouest_france_logo-9dPaEPNA.mjs +4 -0
- package/dist/podcast-BoNHyuLe.mjs +53 -0
- package/dist/rolldown-runtime-Dy4uBu1J.mjs +11 -0
- package/dist/src/components/form/ClassicDatePicker.vue.d.ts +4 -4
- package/dist/stringHelper-BtFJzuX4.mjs +13 -0
- package/dist/tests-mocks.mjs +14 -16
- package/dist/tests.mjs +51 -88
- package/dist/types-B-L_HwcA.mjs +9 -0
- package/dist/useAdvancedParamInit-CZg9A_zy.mjs +114 -0
- package/dist/useAppleVideo-Di4qP9h4.mjs +24 -0
- package/dist/useCountdown-vXzlLAgF.mjs +32 -0
- package/dist/useDayjs-DWClhdzK.mjs +28 -0
- package/dist/useErrorHandler-Csr-Rt-V.mjs +12 -0
- package/dist/useImageProxy-CXin0vSD.mjs +16 -0
- package/dist/useOrgaComputed-BzuIlsW6.mjs +16 -0
- package/dist/usePlayerLogicProgress-C7q-kf-v.mjs +70 -0
- package/dist/usePodcastView-D5LgYm-2.mjs +31 -0
- package/dist/usePresentationItem-BITQLdPQ.mjs +100 -0
- package/dist/useResizePhone-4hSkK5pa.mjs +28 -0
- package/dist/useRights-C_mHJdG-.mjs +221 -0
- package/dist/useRouteUpdateParams-DJLm3IAI.mjs +55 -0
- package/dist/useRubriquesFilterComputed-B4ycmO0A.mjs +11 -0
- package/dist/useRubriquesFilterParam-BUXd3wRZ.mjs +32 -0
- package/dist/useSeasonsManagement-DwbmJywJ.mjs +24 -0
- package/dist/useSelectableIcons-Ce9o_TVs.mjs +91 -0
- package/dist/useSelenium-DAM6EF3J.mjs +9 -0
- package/dist/useSeoTitleUrl-UfPXDCPa.mjs +25 -0
- package/dist/useSharePath-D9G8Jdlb.mjs +40 -0
- package/dist/useSharePlatforms-CGPe8OG-.mjs +322 -0
- package/dist/useSimplePageParam-cOIpniRK.mjs +39 -0
- package/dist/useTagOf-Btweq3v2.mjs +17 -0
- package/dist/useTranslation-BrRBfryH.mjs +160 -0
- package/dist/usefetchRadioData-gxXxdT17.mjs +48 -0
- package/dist/youtubeVideoHelper-Cdlokujb.mjs +14 -0
- package/package.json +3 -1
- package/src/components/form/ClassicDatePicker.vue +130 -129
- package/src/components/misc/RightsScopeMenu.vue +2 -2
- package/dist/AccessibilityModal-DqRtmHwG.mjs +0 -148
- package/dist/AdsProgressBar-CAP7Zj--.mjs +0 -42
- package/dist/AdvancedSearch-Cd919sCX.mjs +0 -458
- package/dist/AmazonMusicIcon-D5vNh4HG.mjs +0 -57
- package/dist/ApplePodcastIcon-DtC4TS8H.mjs +0 -59
- package/dist/CategoryChooser-DWEL9V5p.mjs +0 -243
- package/dist/CategoryFilter-DVEBnYn0.mjs +0 -234
- package/dist/CategoryList-EH7OXzFs.mjs +0 -182
- package/dist/CategoryPage-BnSLAU7f.mjs +0 -57
- package/dist/CategorySearchFilter-CEGWqMSt.mjs +0 -72
- package/dist/ChapteringModal-B_5i8VkS.mjs +0 -82
- package/dist/CheckIdentityModal-BZBPEcHE.mjs +0 -86
- package/dist/ChooseEpisodesNumber-OlhXXsCa.mjs +0 -64
- package/dist/ClassicAccordion-PEoPUPeL.mjs +0 -105
- package/dist/ClassicAlert-C8md0KJV.mjs +0 -108
- package/dist/ClassicBigChip-Bt8VhN51.mjs +0 -61
- package/dist/ClassicCheckbox-BHKCPtLR.mjs +0 -127
- package/dist/ClassicContentEditable-BSsnA6oo.mjs +0 -68
- package/dist/ClassicCopyButton-M9AP3MKD.mjs +0 -87
- package/dist/ClassicDatePicker-DWVn4oHu.mjs +0 -249
- package/dist/ClassicEmojiPicker-EQy5H_zL.mjs +0 -93
- package/dist/ClassicHelpButton-B6jXpEKT.mjs +0 -85
- package/dist/ClassicInputText-D2wR2cwa.mjs +0 -371
- package/dist/ClassicLazy-B0R3FSwK.mjs +0 -120
- package/dist/ClassicLoading-Crlw7cAx.mjs +0 -60
- package/dist/ClassicModal-CilwHp9p.mjs +0 -103
- package/dist/ClassicModalInBody-BkaRcZZx.mjs +0 -94
- package/dist/ClassicMultiselect-BEY-HpGk.mjs +0 -341
- package/dist/ClassicNav-Dvm8faD9.mjs +0 -72
- package/dist/ClassicNotifications--mDo0JjY.mjs +0 -45
- package/dist/ClassicPopover-BIyLKorz.mjs +0 -299
- package/dist/ClassicRadio-BwylgGYF.mjs +0 -105
- package/dist/ClassicRadioLabel-ynBzFxC2.mjs +0 -98
- package/dist/ClassicSearch-D5yT0JRA.mjs +0 -90
- package/dist/ClassicSelect-BaY2yvwP.mjs +0 -154
- package/dist/ClassicSpinner-lNq7TnmD.mjs +0 -49
- package/dist/ClassicTabs-Bcine4_p.mjs +0 -77
- package/dist/ClassicTagInput-BDCdmpwB.mjs +0 -116
- package/dist/ClassicWysiwyg-Bew6KMXn.mjs +0 -230
- package/dist/ClipboardModal-DGlwYme6.mjs +0 -84
- package/dist/CommentInput-Di0CG3ju.mjs +0 -187
- package/dist/CommentItem-DuDEsirI.mjs +0 -357
- package/dist/CommentList-vHedAk0r.mjs +0 -299
- package/dist/CommentMoreActions-hWuUjzmm.mjs +0 -289
- package/dist/CommentName-BgLZ0d7p.mjs +0 -96
- package/dist/CommentParentInfo-CeHLz7RQ.mjs +0 -64
- package/dist/CommentPlayer-C_6QaEHw.mjs +0 -86
- package/dist/CommentSection-aaSuOlab.mjs +0 -141
- package/dist/CommentStore-dLDd64nW.mjs +0 -355
- package/dist/ContractPreviewModal-QlKui6Zz.mjs +0 -101
- package/dist/CountDown-CAUtA0Vp.mjs +0 -42
- package/dist/CountdownOctopus-i6-l0aLA.mjs +0 -48
- package/dist/DateFilter-DD9cY_la.mjs +0 -119
- package/dist/DeezerIcon-BUdIKeqN.mjs +0 -57
- package/dist/DownloadPodcastButton-BJ7RYJOz.mjs +0 -53
- package/dist/EditCommentModal-BFkTZS-d.mjs +0 -163
- package/dist/EditFtpIcon-D5VaHXWl.mjs +0 -56
- package/dist/EmissionGroupChooser-BSCzxmhG.mjs +0 -83
- package/dist/EmissionInlineList-BOxiPzSz.mjs +0 -189
- package/dist/EmissionItem-cxNVXqcM.mjs +0 -183
- package/dist/EmissionList-B8sbcC0X.mjs +0 -324
- package/dist/EmissionPage-BgGFOPOx.mjs +0 -327
- package/dist/EmissionPlayerItem-XU4vw96O.mjs +0 -167
- package/dist/EmissionPresentationItem-C-KR7Llt.mjs +0 -78
- package/dist/EmissionPresentationList-BhnYUoBi.mjs +0 -125
- package/dist/EmissionsPage-CEFNekIt.mjs +0 -209
- package/dist/Error403Page-Bzzea5HG.mjs +0 -69
- package/dist/ErrorMessage-DhSwu9H_.mjs +0 -44
- package/dist/FooterGarSection-CpQu-wSQ.mjs +0 -71
- package/dist/FooterSection-DgtO6RJd.mjs +0 -242
- package/dist/GeneralStore-CUlq_NjO.mjs +0 -45
- package/dist/HomeDropdown-4mMWlnQ5.mjs +0 -110
- package/dist/HomePage-BuFrXtLJ.mjs +0 -175
- package/dist/IHeartIcon-70F_rHQh.mjs +0 -61
- package/dist/InlineRubriqueList-kWbzcqyq.mjs +0 -86
- package/dist/LikeButton-DFkrvbgE.mjs +0 -83
- package/dist/LikeSection-BVa93Lkv.mjs +0 -168
- package/dist/ListPaginate-nP9qlKGR.mjs +0 -221
- package/dist/LiveHorizontalList-DWITQA1g.mjs +0 -136
- package/dist/LiveList-DSnUp6wl.mjs +0 -322
- package/dist/LivesPage-BNEVjzsF.mjs +0 -76
- package/dist/MapPage-CdkoZThF.mjs +0 -303
- package/dist/MessageModal-B35dCbWB.mjs +0 -145
- package/dist/MobileMenu-DxDkW3Qi.mjs +0 -187
- package/dist/MonetizableFilter-BGQTUtwX.mjs +0 -81
- package/dist/NewsletterModal-C7qF_Lwj.mjs +0 -82
- package/dist/OctopusMultiselect-tXNIWVpp.mjs +0 -416
- package/dist/OrganisationChooser-Box8SHIL.mjs +0 -192
- package/dist/OrganisationChooserLight-bZveInyG.mjs +0 -84
- package/dist/PageLogout-Bc8zBpoo.mjs +0 -30
- package/dist/PageNotFound-Cy-6UixV.mjs +0 -58
- package/dist/PaginateParams-CbAaMAAM.mjs +0 -106
- package/dist/PaginateSection-BJ6iQai2.mjs +0 -204
- package/dist/ParticipantDescription-CwREwvZy.mjs +0 -70
- package/dist/ParticipantInlineList-B2Q5NyTO.mjs +0 -117
- package/dist/ParticipantItem-DG7xkIkh.mjs +0 -138
- package/dist/ParticipantPage-YUdFxrFu.mjs +0 -202
- package/dist/ParticipantsPage-RN5fRZGk.mjs +0 -262
- package/dist/PlayVideoIcon-CQJTc1O7.mjs +0 -58
- package/dist/PlayerAnonymousModal-CZ9CNQpL.mjs +0 -84
- package/dist/PlayerCommonParameters-Dn-OIiO8.mjs +0 -47
- package/dist/PlayerCompact-BPvDwRxr.mjs +0 -209
- package/dist/PlayerComponent-CfvKYQdk.mjs +0 -916
- package/dist/PlayerFmIcon-BxQ1g45P.mjs +0 -57
- package/dist/PlayerLarge-B7I1L1dO.mjs +0 -192
- package/dist/PlayerParameters-fpNIoYO9.mjs +0 -213
- package/dist/PlayerPlayButton-DfPAcu-m.mjs +0 -400
- package/dist/PlayerProgressBar-D8EkPfW5.mjs +0 -86
- package/dist/PlayerStore-BJVpAm73.mjs +0 -230
- package/dist/PlayerVideo-VIMYPCpF.mjs +0 -72
- package/dist/PlayerVideoDigiteka-BMhRuqNW.mjs +0 -105
- package/dist/PlayerVideoHls-Dp2Zui_T.mjs +0 -233
- package/dist/PlayerYoutubeEmbed-D0A4EWhU.mjs +0 -41
- package/dist/PlaylistPage-DNoPZE5S.mjs +0 -225
- package/dist/PlaylistsPage-Bpo6FhqO.mjs +0 -395
- package/dist/PocketCastIcon-Nm45VN7b.mjs +0 -57
- package/dist/PodcastAddictIcon-DRF7w4QM.mjs +0 -60
- package/dist/PodcastFilterList-CcMACnG4.mjs +0 -254
- package/dist/PodcastImage-OJgGQYSI.mjs +0 -174
- package/dist/PodcastInlineList-IH6YK8sd.mjs +0 -145
- package/dist/PodcastInlineListTemplate-DmBexOIA.mjs +0 -241
- package/dist/PodcastIsPlaying-DWdqRGto.mjs +0 -30
- package/dist/PodcastItem-BPJahZru.mjs +0 -287
- package/dist/PodcastList-CT0VIMu7.mjs +0 -182
- package/dist/PodcastList-DACfAVhQ.mjs +0 -337
- package/dist/PodcastPage-DYLSL0n4.mjs +0 -755
- package/dist/PodcastPlannedSpinner-BN7unEqf.mjs +0 -29
- package/dist/PodcastPlayBar-CF247Sqx.mjs +0 -83
- package/dist/PodcastPlayBasicButton-DTqYvfD6.mjs +0 -72
- package/dist/PodcastPlayButton-NTYtuU8D.mjs +0 -236
- package/dist/PodcastPlaylistInlineList-BYeMpN8H.mjs +0 -115
- package/dist/PodcastPresentationList-Czlf0tD6.mjs +0 -201
- package/dist/PodcastProgressBar-BHDc66Qm.mjs +0 -98
- package/dist/PodcastRawTranscript-BLtVR8lj.mjs +0 -186
- package/dist/PodcastSeasonInfo-DL_CsYTY.mjs +0 -58
- package/dist/PodcastSwiperList-dTcv-wGj.mjs +0 -226
- package/dist/PodcastmakerHeader-6v9XhwSH.mjs +0 -58
- package/dist/PodcastsPage-B56l5Kjv.mjs +0 -233
- package/dist/PresentationLayout-D2sW-Q7l.mjs +0 -88
- package/dist/ProductorSearch-DBtBOZlD.mjs +0 -161
- package/dist/ProgressBar-CBwrWHGZ.mjs +0 -158
- package/dist/QrCode-bOqxtwUc.mjs +0 -177
- package/dist/QrCodeModal-BJgTde22.mjs +0 -64
- package/dist/RadioCurrently-cVZOGF6L.mjs +0 -112
- package/dist/RadioHistory-CcQ8FfOc.mjs +0 -139
- package/dist/RadioImage-BI2egmjL.mjs +0 -85
- package/dist/RadioList-CfdZwyw8.mjs +0 -125
- package/dist/RadioPage-B_cRq9iV.mjs +0 -134
- package/dist/RadioPlanning-BCiXednx.mjs +0 -287
- package/dist/RadioProgressBar-BNjpGNUY.mjs +0 -67
- package/dist/RadiolineIcon-CIePjE9k.mjs +0 -58
- package/dist/RecaptchaModal-BN9b0zWf.mjs +0 -148
- package/dist/ReportAbuseModal-rtfZ9vOl.mjs +0 -134
- package/dist/RightsIndicator-DlR8cPgl.mjs +0 -124
- package/dist/RightsWrapper-znovkxIw.mjs +0 -212
- package/dist/RubriqueChoice-C4rglHV1.mjs +0 -143
- package/dist/RubriqueChooser-BceFw2x2.mjs +0 -241
- package/dist/RubriqueFilter-C6s3XBP5.mjs +0 -200
- package/dist/RubriqueList-DnsLTpnK.mjs +0 -206
- package/dist/RubriquePage-C8h5jocw.mjs +0 -108
- package/dist/SearchOrder-CJ0Fj6Wd.mjs +0 -85
- package/dist/SearchPage-Ce1hioJs.mjs +0 -78
- package/dist/ShareAnonymous-uUv2LpIi.mjs +0 -319
- package/dist/ShareModalPlayer-Bx06vgaH.mjs +0 -135
- package/dist/ShareNewsletter-Dvu3zDWs.mjs +0 -211
- package/dist/SharePlayer-CtK84xh1.mjs +0 -374
- package/dist/SharePlayerColors-D-9MoYm6.mjs +0 -78
- package/dist/SharePlayerRadio-DSTGDqu8.mjs +0 -127
- package/dist/SharePlayerTypes-CGYav59v.mjs +0 -232
- package/dist/ShareSocialsButtons-BFbh1abo.mjs +0 -160
- package/dist/SimpleLayout-DHRxu6tM.mjs +0 -41
- package/dist/SmartLinkPage-sl4oEMLc.mjs +0 -244
- package/dist/SnackBar-DdE1dYhi.mjs +0 -150
- package/dist/SubscribeButtons-BxS1FG9R.mjs +0 -204
- package/dist/SwiperList-BGl22osK.mjs +0 -206
- package/dist/TagList-BZQqMfF0.mjs +0 -134
- package/dist/TagPage-DmQyhjEZ.mjs +0 -125
- package/dist/TopBar-DzQk-qfW.mjs +0 -761
- package/dist/TuninIcon-BplDWgtD.mjs +0 -57
- package/dist/UserButtonContent-D7KwaNvl.mjs +0 -191
- package/dist/VastStore-BPwOrXvb.mjs +0 -80
- package/dist/VideoModuleBox-BkSzsXZQ.mjs +0 -85
- package/dist/VideoPage-DjFoF0Gd.mjs +0 -274
- package/dist/XIcon-Dz4rI_Hd.mjs +0 -57
- package/dist/_plugin-vue_export-helper-BOaGB7Aw.mjs +0 -8
- package/dist/buttons-C0c2cUtN.mjs +0 -181
- package/dist/classicApi-CIVdJnkN.mjs +0 -1923
- package/dist/config-C73GMJpz.mjs +0 -9
- package/dist/cookiesHelper-BIxSrQTV.mjs +0 -23
- package/dist/displayHelper-CpXshNzz.mjs +0 -22
- package/dist/domHelper-DTMIrMbs.mjs +0 -15
- package/dist/downloadHelper-CPZS-pv2.mjs +0 -36
- package/dist/educationfr-DnXyASTX.mjs +0 -6
- package/dist/emission-ByePXT9Y.mjs +0 -33
- package/dist/keys-TjlLYNQE.mjs +0 -18
- package/dist/localisation-iXoGtJ3j.mjs +0 -13
- package/dist/logo_saooti_play_black-BLx_RUuM.mjs +0 -6
- package/dist/organisation-CxyRYjC0.mjs +0 -19
- package/dist/ouest_france_logo-WOgdbVGH.mjs +0 -6
- package/dist/podcast-Da9L7I5Q.mjs +0 -76
- package/dist/rolldown-runtime-D7D4PA-g.mjs +0 -13
- package/dist/stringHelper-B5vD2nE_.mjs +0 -15
- package/dist/types-DmxFXVJz.mjs +0 -12
- package/dist/useAdvancedParamInit-DIDJTLRZ.mjs +0 -169
- package/dist/useAppleVideo-BGOd4QiN.mjs +0 -30
- package/dist/useCountdown-DPweZzmz.mjs +0 -51
- package/dist/useDayjs-BrQnLFO6.mjs +0 -32
- package/dist/useErrorHandler-DOxEeM1f.mjs +0 -21
- package/dist/useImageProxy-DUTIvlMD.mjs +0 -20
- package/dist/useOrgaComputed-1-t4Bid6.mjs +0 -19
- package/dist/usePlayerLogicProgress-DtNC8Vrr.mjs +0 -108
- package/dist/usePodcastView-D9UXxMgg.mjs +0 -56
- package/dist/usePresentationItem-n2v3c6ew.mjs +0 -191
- package/dist/useResizePhone-CpfFUmfV.mjs +0 -37
- package/dist/useRights-BpT-ougU.mjs +0 -276
- package/dist/useRouteUpdateParams-DurlddRA.mjs +0 -59
- package/dist/useRubriquesFilterComputed-worUxu1g.mjs +0 -13
- package/dist/useRubriquesFilterParam-Cd_oier9.mjs +0 -36
- package/dist/useSeasonsManagement-D-ngDipg.mjs +0 -44
- package/dist/useSelectableIcons-5Y8i1tdl.mjs +0 -94
- package/dist/useSelenium-DwQtyBRt.mjs +0 -11
- package/dist/useSeoTitleUrl-CrM1YzAc.mjs +0 -31
- package/dist/useSharePath-Vh29oc9Z.mjs +0 -70
- package/dist/useSharePlatforms-BtGTcWAe.mjs +0 -468
- package/dist/useSimplePageParam-BIrxc4YW.mjs +0 -54
- package/dist/useTagOf-JxYdEyRm.mjs +0 -20
- package/dist/useTranslation-BGaOW_YK.mjs +0 -226
- package/dist/usefetchRadioData-cXwOGaw6.mjs +0 -55
- package/dist/youtubeVideoHelper-DOeaXxVp.mjs +0 -16
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
+
import { Fragment as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createVNode as o, defineAsyncComponent as s, defineComponent as c, normalizeClass as l, onMounted as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, vShow as g, watch as _, withDirectives as v } from "vue";
|
|
3
|
+
import y from "vue-material-design-icons/ChevronDown.vue";
|
|
4
|
+
//#region src/components/misc/ClassicAccordion.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var b = ["id"], x = ["src"], S = {
|
|
6
|
+
key: 2,
|
|
7
|
+
class: "subtitle"
|
|
8
|
+
}, C = { class: "body p-2" }, w = /*#__PURE__*/ e(/* @__PURE__ */ c({
|
|
9
|
+
__name: "ClassicAccordion",
|
|
10
|
+
props: {
|
|
11
|
+
title: {
|
|
12
|
+
default: "",
|
|
13
|
+
type: String
|
|
14
|
+
},
|
|
15
|
+
subtitle: {
|
|
16
|
+
default: void 0,
|
|
17
|
+
type: String
|
|
18
|
+
},
|
|
19
|
+
idComposer: {
|
|
20
|
+
default: "",
|
|
21
|
+
type: String
|
|
22
|
+
},
|
|
23
|
+
isWarning: {
|
|
24
|
+
default: !1,
|
|
25
|
+
type: Boolean
|
|
26
|
+
},
|
|
27
|
+
imageUrl: {
|
|
28
|
+
default: void 0,
|
|
29
|
+
type: String
|
|
30
|
+
},
|
|
31
|
+
displayAccordion: {
|
|
32
|
+
default: !0,
|
|
33
|
+
type: Boolean
|
|
34
|
+
},
|
|
35
|
+
initOpen: {
|
|
36
|
+
default: !1,
|
|
37
|
+
type: Boolean
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
emits: ["open"],
|
|
41
|
+
setup(e, { emit: c }) {
|
|
42
|
+
let w = s(() => import("vue-material-design-icons/Alert.vue")), T = e, E = c, D = f(!1);
|
|
43
|
+
return _(D, () => E("open", D.value)), u(() => {
|
|
44
|
+
D.value = T.initOpen;
|
|
45
|
+
}), (s, c) => (d(), i("div", { class: l(["my-4", [e.displayAccordion ? "octopus-accordion" : "", D.value ? "octopus-accordion-open border" : ""]]) }, [e.displayAccordion ? (d(), i(t, { key: 0 }, [a("button", {
|
|
46
|
+
id: "accordion-" + e.idComposer,
|
|
47
|
+
class: "w-100 py-2 text-start d-flex flex-nowrap align-items-center",
|
|
48
|
+
onClick: c[0] ||= (e) => D.value = !D.value
|
|
49
|
+
}, [
|
|
50
|
+
e.isWarning ? (d(), n(h(w), {
|
|
51
|
+
key: 0,
|
|
52
|
+
class: "text-danger"
|
|
53
|
+
})) : r("", !0),
|
|
54
|
+
e.imageUrl ? (d(), i("img", {
|
|
55
|
+
key: 1,
|
|
56
|
+
width: "30",
|
|
57
|
+
height: "30",
|
|
58
|
+
class: "img-accordion",
|
|
59
|
+
src: e.imageUrl,
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
alt: ""
|
|
62
|
+
}, null, 8, x)) : r("", !0),
|
|
63
|
+
a("span", null, m(e.title), 1),
|
|
64
|
+
p(s.$slots, "afterTitle", {}, void 0, !0),
|
|
65
|
+
e.subtitle && !D.value ? (d(), i("span", S, " \xA0-\xA0" + m(e.subtitle), 1)) : r("", !0),
|
|
66
|
+
o(y, { class: l(["ms-auto", { "arrow-transform": D.value }]) }, null, 8, ["class"])
|
|
67
|
+
], 8, b), v(a("div", C, [p(s.$slots, "default", {}, void 0, !0)], 512), [[g, D.value]])], 64)) : p(s.$slots, "default", {}, void 0, !0, 1)], 2));
|
|
68
|
+
}
|
|
69
|
+
}), [["__scopeId", "data-v-d433a5a5"]]);
|
|
70
|
+
//#endregion
|
|
71
|
+
export { w as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
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 "./buttons-BkfxHdGj.mjs";
|
|
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
|
+
import y from "vue-material-design-icons/Alert.vue";
|
|
6
|
+
import b from "vue-material-design-icons/CheckCircle.vue";
|
|
7
|
+
import x from "vue-material-design-icons/CloseCircle.vue";
|
|
8
|
+
import S from "vue-material-design-icons/Information.vue";
|
|
9
|
+
import C from "vue-material-design-icons/Close.vue";
|
|
10
|
+
//#region src/components/misc/ClassicAlert.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var w = ["role", "aria-live"], T = { "aria-hidden": "true" }, E = { class: "ms-2 content" }, D = { key: 0 }, O = /*@__PURE__*/ u({
|
|
12
|
+
__name: "ClassicAlert",
|
|
13
|
+
props: {
|
|
14
|
+
noIcon: { type: Boolean },
|
|
15
|
+
title: { default: () => void 0 },
|
|
16
|
+
type: {},
|
|
17
|
+
text: { type: Boolean },
|
|
18
|
+
closeable: { type: Boolean }
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
let t = p(!0), u = r(() => {
|
|
22
|
+
let t = ["alert-" + e.type];
|
|
23
|
+
return e.text === !0 ? t.push("text-alert") : t.push("my-2"), t;
|
|
24
|
+
}), O = r(() => e.type === "info" ? S : e.type === "success" ? b : e.type === "warning" ? y : e.type === "error" ? x : null);
|
|
25
|
+
return (r, p) => t.value ? (f(), o("div", {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: d(["p-2 pe-4 rounded d-flex alert", u.value]),
|
|
28
|
+
role: e.type === "error" || e.type === "warning" ? "alert" : "status",
|
|
29
|
+
"aria-live": e.type === "error" || e.type === "warning" ? "assertive" : "polite",
|
|
30
|
+
"aria-atomic": "true"
|
|
31
|
+
}, [
|
|
32
|
+
s("span", T, [m(r.$slots, "icon", {}, () => [e.noIcon ? a("", !0) : (f(), i(h(O.value), {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "icon",
|
|
35
|
+
size: e.text ? 22 : 30
|
|
36
|
+
}, null, 8, ["size"]))], !0)]),
|
|
37
|
+
s("span", E, [e.title ? (f(), o("strong", D, [c(g(e.title) + " ", 1), p[1] ||= s("br", null, null, -1)])) : a("", !0), m(r.$slots, "default", {}, void 0, !0)]),
|
|
38
|
+
e.closeable ? (f(), i(_(n), {
|
|
39
|
+
key: 0,
|
|
40
|
+
icon: "",
|
|
41
|
+
title: r.$t("Close")
|
|
42
|
+
}, {
|
|
43
|
+
default: v(() => [l(C, {
|
|
44
|
+
"aria-hidden": "true",
|
|
45
|
+
onClick: p[0] ||= (e) => t.value = !1
|
|
46
|
+
})]),
|
|
47
|
+
_: 1
|
|
48
|
+
}, 8, ["title"])) : a("", !0)
|
|
49
|
+
], 10, w)) : a("", !0);
|
|
50
|
+
}
|
|
51
|
+
}), k = /* @__PURE__ */ e({ default: () => A }), A = /*#__PURE__*/ t(O, [["__scopeId", "data-v-0dcafe88"]]);
|
|
52
|
+
//#endregion
|
|
53
|
+
export { k as n, A as t };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.mjs";
|
|
2
|
+
import { n as t } from "./buttons-BkfxHdGj.mjs";
|
|
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
|
+
//#region src/components/misc/ClassicBigChip.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var u = { class: "big-chip" }, d = { class: "title" }, f = /*#__PURE__*/ e(/* @__PURE__ */ o({
|
|
6
|
+
__name: "ClassicBigChip",
|
|
7
|
+
props: {
|
|
8
|
+
title: {},
|
|
9
|
+
content: {},
|
|
10
|
+
removeable: { type: Boolean },
|
|
11
|
+
confirmModal: {}
|
|
12
|
+
},
|
|
13
|
+
emits: ["remove"],
|
|
14
|
+
setup(e, { emit: o }) {
|
|
15
|
+
let f = o;
|
|
16
|
+
return (o, p) => (s(), i("div", u, [a("div", d, [a("b", null, c(e.title), 1), e.removeable ? (s(), n(l(t), {
|
|
17
|
+
key: 0,
|
|
18
|
+
action: "delete",
|
|
19
|
+
"confirm-modal": e.confirmModal,
|
|
20
|
+
onClick: p[0] ||= (e) => f("remove")
|
|
21
|
+
}, null, 8, ["confirm-modal"])) : r("", !0)]), a("p", null, c(e.content), 1)]));
|
|
22
|
+
}
|
|
23
|
+
}), [["__scopeId", "data-v-be4c24e1"]]);
|
|
24
|
+
//#endregion
|
|
25
|
+
export { f as default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
+
import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, getCurrentInstance as s, normalizeClass as c, openBlock as l, renderSlot as u, toDisplayString as d, withKeys as f, withModifiers as p } from "vue";
|
|
3
|
+
//#region src/components/form/ClassicCheckbox.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var m = { class: "d-flex flex-nowrap align-items-center octopus-form-item" }, h = [
|
|
5
|
+
"id",
|
|
6
|
+
"checked",
|
|
7
|
+
"disabled",
|
|
8
|
+
"title",
|
|
9
|
+
"data-selenium",
|
|
10
|
+
"tabindex"
|
|
11
|
+
], g = [
|
|
12
|
+
"title",
|
|
13
|
+
"disabled",
|
|
14
|
+
"onKeydown"
|
|
15
|
+
], _ = ["for"], v = /*@__PURE__*/ o({
|
|
16
|
+
__name: "ClassicCheckbox",
|
|
17
|
+
props: {
|
|
18
|
+
idCheckbox: {
|
|
19
|
+
default: "",
|
|
20
|
+
type: String
|
|
21
|
+
},
|
|
22
|
+
label: {
|
|
23
|
+
default: "",
|
|
24
|
+
type: String
|
|
25
|
+
},
|
|
26
|
+
isDisabled: {
|
|
27
|
+
default: !1,
|
|
28
|
+
type: Boolean
|
|
29
|
+
},
|
|
30
|
+
textInit: {
|
|
31
|
+
default: !1,
|
|
32
|
+
type: Boolean
|
|
33
|
+
},
|
|
34
|
+
isSwitch: {
|
|
35
|
+
default: !1,
|
|
36
|
+
type: Boolean
|
|
37
|
+
},
|
|
38
|
+
displayLabel: {
|
|
39
|
+
default: !0,
|
|
40
|
+
type: Boolean
|
|
41
|
+
},
|
|
42
|
+
classLabel: {
|
|
43
|
+
default: "",
|
|
44
|
+
type: String
|
|
45
|
+
},
|
|
46
|
+
selenium: {
|
|
47
|
+
default: "",
|
|
48
|
+
type: String
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
emits: ["update:textInit", "clickAction"],
|
|
52
|
+
setup(e, { emit: o }) {
|
|
53
|
+
let v = e, y = o, b = t(() => v.idCheckbox || "checkbox-" + s()?.uid);
|
|
54
|
+
function x() {
|
|
55
|
+
y("clickAction");
|
|
56
|
+
}
|
|
57
|
+
function S() {
|
|
58
|
+
!v.isDisabled && v.isSwitch && (y("update:textInit", !v.textInit), x());
|
|
59
|
+
}
|
|
60
|
+
return (t, o) => (l(), r("div", m, [i("div", { class: c(e.isSwitch ? "octopus-form-switch me-2" : "") }, [i("input", {
|
|
61
|
+
id: b.value,
|
|
62
|
+
checked: e.textInit,
|
|
63
|
+
type: "checkbox",
|
|
64
|
+
disabled: e.isDisabled,
|
|
65
|
+
title: e.displayLabel ? "" : e.label,
|
|
66
|
+
"data-selenium": e.selenium,
|
|
67
|
+
tabindex: e.isSwitch ? "-1" : "0",
|
|
68
|
+
onInput: o[0] ||= (t) => y("update:textInit", !e.textInit),
|
|
69
|
+
onClick: x
|
|
70
|
+
}, null, 40, h), e.isSwitch ? (l(), r("button", {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "slider btn-transparent",
|
|
73
|
+
title: e.label,
|
|
74
|
+
disabled: e.isDisabled,
|
|
75
|
+
onClick: S,
|
|
76
|
+
onKeydown: f(p(S, ["prevent"]), ["space"])
|
|
77
|
+
}, null, 40, g)) : n("", !0)], 2), i("label", {
|
|
78
|
+
class: c(["c-hand", [
|
|
79
|
+
e.classLabel,
|
|
80
|
+
e.displayLabel ? "" : "d-none",
|
|
81
|
+
e.isDisabled ? "disabled" : ""
|
|
82
|
+
]]),
|
|
83
|
+
for: e.isSwitch ? void 0 : b.value,
|
|
84
|
+
onClick: S
|
|
85
|
+
}, [a(d(e.label) + " ", 1), u(t.$slots, "after-label")], 10, _)]));
|
|
86
|
+
}
|
|
87
|
+
}), y = /* @__PURE__ */ e({ default: () => b }), b = v;
|
|
88
|
+
//#endregion
|
|
89
|
+
export { y as n, b as t };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createBlock as e, defineComponent as t, onMounted as n, openBlock as r, resolveDynamicComponent as i, useTemplateRef as a, watch as o } from "vue";
|
|
2
|
+
//#endregion
|
|
3
|
+
//#region src/components/form/ClassicContentEditable.vue
|
|
4
|
+
var s = /* @__PURE__ */ t({
|
|
5
|
+
__name: "ClassicContentEditable",
|
|
6
|
+
props: {
|
|
7
|
+
tag: {
|
|
8
|
+
default: "span",
|
|
9
|
+
type: String
|
|
10
|
+
},
|
|
11
|
+
modelValue: {
|
|
12
|
+
default: "",
|
|
13
|
+
type: String
|
|
14
|
+
},
|
|
15
|
+
placeholder: {
|
|
16
|
+
default: "",
|
|
17
|
+
type: String
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
emits: ["update:modelValue"],
|
|
21
|
+
setup(t, { emit: s }) {
|
|
22
|
+
let c = t, l = s, u = a("element");
|
|
23
|
+
o(() => c.modelValue, () => {
|
|
24
|
+
(u?.value).innerText !== c.modelValue && d(c.modelValue);
|
|
25
|
+
}), n(() => d(c.modelValue));
|
|
26
|
+
function d(e) {
|
|
27
|
+
let t = u?.value;
|
|
28
|
+
t.innerText = e;
|
|
29
|
+
}
|
|
30
|
+
function f() {
|
|
31
|
+
let e = u?.value;
|
|
32
|
+
e !== null && l("update:modelValue", e.innerText);
|
|
33
|
+
}
|
|
34
|
+
return (n, a) => (r(), e(i(t.tag), {
|
|
35
|
+
ref: "element",
|
|
36
|
+
class: "classic-content-editable",
|
|
37
|
+
contenteditable: "",
|
|
38
|
+
placeholder: t.placeholder,
|
|
39
|
+
onInput: f,
|
|
40
|
+
onBlur: f
|
|
41
|
+
}, null, 40, ["placeholder"]));
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { s as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
+
import { t } from "./displayHelper-DQtoqc_6.mjs";
|
|
3
|
+
import { t as n } from "./SnackBar-BL-mLRun.mjs";
|
|
4
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, ref as d, toDisplayString as f, useTemplateRef as p } from "vue";
|
|
5
|
+
import { useI18n as m } from "vue-i18n";
|
|
6
|
+
//#region src/components/form/ClassicCopyButton.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var h = /*@__PURE__*/ c({
|
|
8
|
+
__name: "ClassicCopyButton",
|
|
9
|
+
props: {
|
|
10
|
+
text: {
|
|
11
|
+
default: void 0,
|
|
12
|
+
type: String
|
|
13
|
+
},
|
|
14
|
+
textAfterCopy: {
|
|
15
|
+
default: void 0,
|
|
16
|
+
type: String
|
|
17
|
+
},
|
|
18
|
+
dataToCopy: {
|
|
19
|
+
default: void 0,
|
|
20
|
+
type: String
|
|
21
|
+
},
|
|
22
|
+
snackbarText: {
|
|
23
|
+
default: void 0,
|
|
24
|
+
type: String
|
|
25
|
+
},
|
|
26
|
+
classBtn: {
|
|
27
|
+
default: "btn btn-primary w-fit-content my-3",
|
|
28
|
+
type: String
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
setup(e) {
|
|
32
|
+
let c = e, h = d(!1), g = d(!1), _ = p("snackbar"), { t: v } = m(), y = r(() => h.value ? c.textAfterCopy : c.text);
|
|
33
|
+
function b(e) {
|
|
34
|
+
t.onCopyCode(c.dataToCopy ?? "", e);
|
|
35
|
+
}
|
|
36
|
+
function x() {
|
|
37
|
+
h.value = !0, g.value ? (_?.value).open(c.snackbarText ?? v("Data in clipboard")) : (g.value = !0, setTimeout(() => {
|
|
38
|
+
x();
|
|
39
|
+
}, 500));
|
|
40
|
+
}
|
|
41
|
+
return (t, r) => (u(), o("div", null, [s("button", {
|
|
42
|
+
class: l(e.classBtn),
|
|
43
|
+
onClick: r[0] ||= (e) => b(x)
|
|
44
|
+
}, f(y.value), 3), g.value ? (u(), i(n, {
|
|
45
|
+
key: 0,
|
|
46
|
+
ref: "snackbar",
|
|
47
|
+
position: "bottom-left"
|
|
48
|
+
}, null, 512)) : a("", !0)]));
|
|
49
|
+
}
|
|
50
|
+
}), g = /* @__PURE__ */ e({ default: () => _ }), _ = h;
|
|
51
|
+
//#endregion
|
|
52
|
+
export { g as n, _ as t };
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-Dy4uBu1J.mjs";
|
|
2
|
+
import { computed as t, createCommentVNode as n, createElementBlock as r, createSlots as i, createVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, toDisplayString as l, unref as u, useTemplateRef as d, withCtx as f } from "vue";
|
|
3
|
+
import { useI18n as p } from "vue-i18n";
|
|
4
|
+
import m from "dayjs";
|
|
5
|
+
import h from "vue-material-design-icons/ClockOutline.vue";
|
|
6
|
+
import { VueDatePicker as g } from "@vuepic/vue-datepicker";
|
|
7
|
+
//#region src/components/form/ClassicDatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
+
var _ = {
|
|
9
|
+
ref: "divContainer",
|
|
10
|
+
tabindex: "0"
|
|
11
|
+
}, v = ["for"], y = /*@__PURE__*/ o({
|
|
12
|
+
__name: "ClassicDatePicker",
|
|
13
|
+
props: {
|
|
14
|
+
id: {
|
|
15
|
+
default: void 0,
|
|
16
|
+
type: String
|
|
17
|
+
},
|
|
18
|
+
time: {
|
|
19
|
+
default: void 0,
|
|
20
|
+
type: Object
|
|
21
|
+
},
|
|
22
|
+
date: {
|
|
23
|
+
default: void 0,
|
|
24
|
+
type: Date
|
|
25
|
+
},
|
|
26
|
+
range: {
|
|
27
|
+
default: void 0,
|
|
28
|
+
type: Array
|
|
29
|
+
},
|
|
30
|
+
isMaxDate: {
|
|
31
|
+
default: !1,
|
|
32
|
+
type: Boolean
|
|
33
|
+
},
|
|
34
|
+
dateLimit: {
|
|
35
|
+
default: void 0,
|
|
36
|
+
type: Date
|
|
37
|
+
},
|
|
38
|
+
isMinDate: {
|
|
39
|
+
default: !1,
|
|
40
|
+
type: Boolean
|
|
41
|
+
},
|
|
42
|
+
columnNumber: {
|
|
43
|
+
default: 1,
|
|
44
|
+
type: Number
|
|
45
|
+
},
|
|
46
|
+
displaySeconds: {
|
|
47
|
+
default: !1,
|
|
48
|
+
type: Boolean
|
|
49
|
+
},
|
|
50
|
+
displayTimePicker: {
|
|
51
|
+
default: !0,
|
|
52
|
+
type: Boolean
|
|
53
|
+
},
|
|
54
|
+
isTimePicker: {
|
|
55
|
+
default: !1,
|
|
56
|
+
type: Boolean
|
|
57
|
+
},
|
|
58
|
+
useTeleport: {
|
|
59
|
+
default: !1,
|
|
60
|
+
type: Boolean
|
|
61
|
+
},
|
|
62
|
+
templateClass: {
|
|
63
|
+
default: void 0,
|
|
64
|
+
type: String
|
|
65
|
+
},
|
|
66
|
+
readonly: {
|
|
67
|
+
default: !1,
|
|
68
|
+
type: Boolean
|
|
69
|
+
},
|
|
70
|
+
maxTime: {
|
|
71
|
+
default: null,
|
|
72
|
+
type: Object
|
|
73
|
+
},
|
|
74
|
+
forceFormat: {
|
|
75
|
+
default: void 0,
|
|
76
|
+
type: String
|
|
77
|
+
},
|
|
78
|
+
monthPicker: {
|
|
79
|
+
default: !1,
|
|
80
|
+
type: Boolean
|
|
81
|
+
},
|
|
82
|
+
customPosition: {
|
|
83
|
+
default: null,
|
|
84
|
+
type: Function
|
|
85
|
+
},
|
|
86
|
+
isInline: {
|
|
87
|
+
default: !1,
|
|
88
|
+
type: Boolean
|
|
89
|
+
},
|
|
90
|
+
timePickerInline: {
|
|
91
|
+
default: !1,
|
|
92
|
+
type: Boolean
|
|
93
|
+
},
|
|
94
|
+
label: {
|
|
95
|
+
default: void 0,
|
|
96
|
+
type: String
|
|
97
|
+
},
|
|
98
|
+
displayLabel: {
|
|
99
|
+
default: !1,
|
|
100
|
+
type: Boolean
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
emits: ["updateDate", "update:date"],
|
|
104
|
+
setup(e, { emit: o }) {
|
|
105
|
+
let y = e, b = o, x = d("divContainer"), { locale: S } = p(), C = t(() => ({
|
|
106
|
+
input: y.date ? O(y.date) : void 0,
|
|
107
|
+
day: (e) => O(e.value)
|
|
108
|
+
})), w = t(() => y.time ? y.time : y.range ? y.range : y.date && y.monthPicker ? {
|
|
109
|
+
month: y.date.getMonth(),
|
|
110
|
+
year: y.date.getFullYear()
|
|
111
|
+
} : y.date), T = t(() => {
|
|
112
|
+
if (y.forceFormat) return y.forceFormat;
|
|
113
|
+
if (y.monthPicker) return "MM/yyyy";
|
|
114
|
+
let e = "";
|
|
115
|
+
(y.displayTimePicker || y.isTimePicker) && (e = "HH:mm", y.displaySeconds && (e = "HH:mm:ss"));
|
|
116
|
+
let t = y.isTimePicker ? e : "dd/MM/yyyy " + e;
|
|
117
|
+
return y.range ? t + " - " + t : t;
|
|
118
|
+
}), E = t(() => y.dateLimit ? y.dateLimit : m().toDate());
|
|
119
|
+
function D(e) {
|
|
120
|
+
y.isInline || (x?.value)?.focus(), b("updateDate", e), b("update:date", e);
|
|
121
|
+
}
|
|
122
|
+
function O(e) {
|
|
123
|
+
let t = e.getMonth() + 1;
|
|
124
|
+
return e.getDate() + "/" + (t < 10 ? "0" : "") + t + "/" + e.getFullYear();
|
|
125
|
+
}
|
|
126
|
+
return (t, o) => (c(), r("div", _, [e.label && !e.range ? (c(), r("label", {
|
|
127
|
+
key: 0,
|
|
128
|
+
class: s(["form-label", e.displayLabel ? "" : "d-none"]),
|
|
129
|
+
for: "dp-input-" + e.id
|
|
130
|
+
}, l(e.label), 11, v)) : n("", !0), a(u(g), {
|
|
131
|
+
uid: e.id,
|
|
132
|
+
"model-value": w.value,
|
|
133
|
+
"time-picker": e.isTimePicker,
|
|
134
|
+
"time-picker-inline": e.isTimePicker && e.timePickerInline,
|
|
135
|
+
"input-class-name": e.templateClass,
|
|
136
|
+
clearable: !1,
|
|
137
|
+
"text-input": !0,
|
|
138
|
+
readonly: e.readonly,
|
|
139
|
+
teleport: e.useTeleport,
|
|
140
|
+
locale: u(S),
|
|
141
|
+
format: T.value,
|
|
142
|
+
"auto-apply": !0,
|
|
143
|
+
"enable-seconds": e.displaySeconds,
|
|
144
|
+
"max-date": e.isMaxDate && !e.isTimePicker ? E.value : void 0,
|
|
145
|
+
"min-date": e.isMinDate && !e.isTimePicker ? E.value : void 0,
|
|
146
|
+
range: e.range !== void 0,
|
|
147
|
+
"multi-calendars": e.columnNumber > 1 && e.columnNumber,
|
|
148
|
+
inline: e.isInline,
|
|
149
|
+
"enable-time-picker": e.isTimePicker ? void 0 : e.displayTimePicker,
|
|
150
|
+
"aria-labels": C.value,
|
|
151
|
+
"max-time": e.maxTime,
|
|
152
|
+
"month-picker": e.monthPicker,
|
|
153
|
+
"alt-position": e.customPosition,
|
|
154
|
+
"onUpdate:modelValue": o[0] ||= (e) => D(e)
|
|
155
|
+
}, i({ _: 2 }, [e.isTimePicker ? {
|
|
156
|
+
name: "input-icon",
|
|
157
|
+
fn: f(() => [a(h, {
|
|
158
|
+
size: 16,
|
|
159
|
+
class: "ms-2"
|
|
160
|
+
})]),
|
|
161
|
+
key: "0"
|
|
162
|
+
} : void 0]), 1032, [
|
|
163
|
+
"uid",
|
|
164
|
+
"model-value",
|
|
165
|
+
"time-picker",
|
|
166
|
+
"time-picker-inline",
|
|
167
|
+
"input-class-name",
|
|
168
|
+
"readonly",
|
|
169
|
+
"teleport",
|
|
170
|
+
"locale",
|
|
171
|
+
"format",
|
|
172
|
+
"enable-seconds",
|
|
173
|
+
"max-date",
|
|
174
|
+
"min-date",
|
|
175
|
+
"range",
|
|
176
|
+
"multi-calendars",
|
|
177
|
+
"inline",
|
|
178
|
+
"enable-time-picker",
|
|
179
|
+
"aria-labels",
|
|
180
|
+
"max-time",
|
|
181
|
+
"month-picker",
|
|
182
|
+
"alt-position"
|
|
183
|
+
])], 512));
|
|
184
|
+
}
|
|
185
|
+
}), b = /* @__PURE__ */ e({ default: () => x }), x = y;
|
|
186
|
+
//#endregion
|
|
187
|
+
export { b as n, x as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassicDatePicker-DBVj13V8.mjs","names":["_openBlock","_createElementBlock","_normalizeClass","_toDisplayString","_createCommentVNode","_createVNode","_createSlots","_withCtx","_sfc_main"],"sources":["../src/components/form/ClassicDatePicker.vue","../src/components/form/ClassicDatePicker.vue"],"sourcesContent":["<template>\n <div ref=\"divContainer\" tabindex=\"0\">\n <label\n v-if=\"label && !range\"\n class=\"form-label\"\n :for=\"'dp-input-'+id\"\n :class=\"displayLabel ? '' : 'd-none'\"\n >{{ label }}</label>\n <VueDatePicker\n :uid=\"id\"\n :model-value=\"modelVal\"\n :time-picker=\"isTimePicker\"\n :time-picker-inline=\"isTimePicker && timePickerInline\"\n :input-class-name=\"templateClass\"\n :clearable=\"false\"\n :text-input=\"true\"\n :readonly=\"readonly\"\n :teleport=\"useTeleport\"\n :locale=\"locale\"\n :format=\"format\"\n :auto-apply=\"true\"\n :enable-seconds=\"displaySeconds\"\n :max-date=\"isMaxDate && !isTimePicker ? limit : undefined\"\n :min-date=\"isMinDate && !isTimePicker ? limit : undefined\"\n :range=\"undefined !== range\"\n :multi-calendars=\"columnNumber > 1 ? columnNumber : false\"\n :inline=\"isInline\"\n :enable-time-picker=\"!isTimePicker ? displayTimePicker : undefined\"\n :aria-labels=\"ariaLabels\"\n :max-time=\"maxTime\"\n :month-picker=\"monthPicker\"\n :alt-position=\"customPosition\"\n @update:model-value=\"updateValue($event)\"\n >\n <template v-if=\"isTimePicker\" #input-icon>\n <ClockOutlineIcon :size=\"16\" class=\"ms-2\" />\n </template>\n </VueDatePicker>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport ClockOutlineIcon from \"vue-material-design-icons/ClockOutline.vue\";\nimport dayjs from \"dayjs\";\nimport { VueDatePicker } from \"@vuepic/vue-datepicker\";\nimport { computed, useTemplateRef } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\n\n//Props \nconst props = defineProps({\n id:{ default: undefined, type: String },\n time: {\n default: undefined,\n type: Object as () => { hours: number; minutes: number; seconds: number },\n },\n date: { default: undefined, type: Date },\n range: { default: undefined, type: Array as () => Array<Date> },\n /** Enable maximum date limit.\n * If `dateLimit` is not set, use current datetime. */\n isMaxDate: { default: false, type: Boolean },\n /** Date limit when `isMaxDate` or `isMinDate` are set */\n dateLimit: { default: undefined, type: Date },\n /** Enable minimum date limit.\n * If `dateLimit` is not set, use current datetime. */\n isMinDate: { default: false, type: Boolean },\n columnNumber: { default: 1, type: Number },\n displaySeconds: { default: false, type: Boolean },\n displayTimePicker: { default: true, type: Boolean },\n isTimePicker: { default: false, type: Boolean },\n useTeleport: { default: false, type: Boolean },\n templateClass: { default: undefined, type: String },\n readonly: { default: false, type: Boolean },\n maxTime: {\n default: null,\n type: Object as () => {\n hours?: number | string;\n minutes?: number | string;\n seconds?: number | string;\n },\n },\n forceFormat: { default: undefined, type: String },\n monthPicker: { default: false, type: Boolean },\n customPosition: { default: null, type: Function },\n isInline: { default: false, type: Boolean },\n timePickerInline: { default: false, type: Boolean },\n label: { default: undefined, type: String },\n displayLabel: { default: false, type: Boolean },\n})\n\n//Emits\nconst emit = defineEmits<{\n /**\n * Update the date\n * @param value The new date\n * @deprecated\n */\n (e: \"updateDate\", value: Date): void;\n /**\n * Update the date\n * @param value The new date\n */\n (e: \"update:date\", value: Date): void;\n}>();\n\n//Data\nconst divContainerRef = useTemplateRef('divContainer');\n\n//Composables\nconst {locale} = useI18n();\n\n//Computed\nconst ariaLabels = computed(() => {\n return {\n input: props.date ? formatDate(props.date) : undefined,\n day: (value: { value: Date }) => {\n return formatDate(value.value);\n },\n };\n});\nconst modelVal = computed(() => {\n if (props.time) {\n return props.time;\n }\n if (props.range) {\n return props.range;\n }\n if (props.date && props.monthPicker) {\n return {\n month: props.date.getMonth(),\n year: props.date.getFullYear(),\n };\n }\n return props.date;\n});\nconst format = computed(() => {\n if (props.forceFormat) {\n return props.forceFormat;\n }\n if (props.monthPicker) {\n return \"MM/yyyy\";\n }\n let timeString = \"\";\n if (props.displayTimePicker || props.isTimePicker) {\n timeString = \"HH:mm\";\n if (props.displaySeconds) {\n timeString = \"HH:mm:ss\";\n }\n }\n const dayString = props.isTimePicker\n ? timeString\n : \"dd/MM/yyyy \" + timeString;\n return props.range ? dayString + \" - \" + dayString : dayString;\n});\nconst limit = computed(() => {\n if (props.dateLimit) {\n return props.dateLimit;\n }\n return dayjs().toDate();\n});\n\n\n//Methods\nfunction updateValue(date: Date) {\n if (!props.isInline) {\n (divContainerRef?.value as HTMLElement)?.focus();\n }\n emit(\"updateDate\", date);\n emit(\"update:date\", date);\n}\n\nfunction formatDate(value: Date): string {\n const realMonth = value.getMonth() + 1;\n return (\n value.getDate() +\n \"/\" +\n (realMonth < 10 ? \"0\" : \"\") +\n realMonth +\n \"/\" +\n value.getFullYear()\n );\n}\n</script>\n<style lang=\"scss\">\n@use \"@vuepic/vue-datepicker/dist/main.css\";\n\n/* stylelint-disable-next-line */\n.dp__theme_light {\n --dp-primary-color: var(--octopus-primary);\n --dp-time-font-size: 1rem;\n}\n</style>\n","<template>\n <div ref=\"divContainer\" tabindex=\"0\">\n <label\n v-if=\"label && !range\"\n class=\"form-label\"\n :for=\"'dp-input-'+id\"\n :class=\"displayLabel ? '' : 'd-none'\"\n >{{ label }}</label>\n <VueDatePicker\n :uid=\"id\"\n :model-value=\"modelVal\"\n :time-picker=\"isTimePicker\"\n :time-picker-inline=\"isTimePicker && timePickerInline\"\n :input-class-name=\"templateClass\"\n :clearable=\"false\"\n :text-input=\"true\"\n :readonly=\"readonly\"\n :teleport=\"useTeleport\"\n :locale=\"locale\"\n :format=\"format\"\n :auto-apply=\"true\"\n :enable-seconds=\"displaySeconds\"\n :max-date=\"isMaxDate && !isTimePicker ? limit : undefined\"\n :min-date=\"isMinDate && !isTimePicker ? limit : undefined\"\n :range=\"undefined !== range\"\n :multi-calendars=\"columnNumber > 1 ? columnNumber : false\"\n :inline=\"isInline\"\n :enable-time-picker=\"!isTimePicker ? displayTimePicker : undefined\"\n :aria-labels=\"ariaLabels\"\n :max-time=\"maxTime\"\n :month-picker=\"monthPicker\"\n :alt-position=\"customPosition\"\n @update:model-value=\"updateValue($event)\"\n >\n <template v-if=\"isTimePicker\" #input-icon>\n <ClockOutlineIcon :size=\"16\" class=\"ms-2\" />\n </template>\n </VueDatePicker>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport ClockOutlineIcon from \"vue-material-design-icons/ClockOutline.vue\";\nimport dayjs from \"dayjs\";\nimport { VueDatePicker } from \"@vuepic/vue-datepicker\";\nimport { computed, useTemplateRef } from \"vue\";\nimport { useI18n } from \"vue-i18n\";\n\n//Props \nconst props = defineProps({\n id:{ default: undefined, type: String },\n time: {\n default: undefined,\n type: Object as () => { hours: number; minutes: number; seconds: number },\n },\n date: { default: undefined, type: Date },\n range: { default: undefined, type: Array as () => Array<Date> },\n /** Enable maximum date limit.\n * If `dateLimit` is not set, use current datetime. */\n isMaxDate: { default: false, type: Boolean },\n /** Date limit when `isMaxDate` or `isMinDate` are set */\n dateLimit: { default: undefined, type: Date },\n /** Enable minimum date limit.\n * If `dateLimit` is not set, use current datetime. */\n isMinDate: { default: false, type: Boolean },\n columnNumber: { default: 1, type: Number },\n displaySeconds: { default: false, type: Boolean },\n displayTimePicker: { default: true, type: Boolean },\n isTimePicker: { default: false, type: Boolean },\n useTeleport: { default: false, type: Boolean },\n templateClass: { default: undefined, type: String },\n readonly: { default: false, type: Boolean },\n maxTime: {\n default: null,\n type: Object as () => {\n hours?: number | string;\n minutes?: number | string;\n seconds?: number | string;\n },\n },\n forceFormat: { default: undefined, type: String },\n monthPicker: { default: false, type: Boolean },\n customPosition: { default: null, type: Function },\n isInline: { default: false, type: Boolean },\n timePickerInline: { default: false, type: Boolean },\n label: { default: undefined, type: String },\n displayLabel: { default: false, type: Boolean },\n})\n\n//Emits\nconst emit = defineEmits<{\n /**\n * Update the date\n * @param value The new date\n * @deprecated\n */\n (e: \"updateDate\", value: Date): void;\n /**\n * Update the date\n * @param value The new date\n */\n (e: \"update:date\", value: Date): void;\n}>();\n\n//Data\nconst divContainerRef = useTemplateRef('divContainer');\n\n//Composables\nconst {locale} = useI18n();\n\n//Computed\nconst ariaLabels = computed(() => {\n return {\n input: props.date ? formatDate(props.date) : undefined,\n day: (value: { value: Date }) => {\n return formatDate(value.value);\n },\n };\n});\nconst modelVal = computed(() => {\n if (props.time) {\n return props.time;\n }\n if (props.range) {\n return props.range;\n }\n if (props.date && props.monthPicker) {\n return {\n month: props.date.getMonth(),\n year: props.date.getFullYear(),\n };\n }\n return props.date;\n});\nconst format = computed(() => {\n if (props.forceFormat) {\n return props.forceFormat;\n }\n if (props.monthPicker) {\n return \"MM/yyyy\";\n }\n let timeString = \"\";\n if (props.displayTimePicker || props.isTimePicker) {\n timeString = \"HH:mm\";\n if (props.displaySeconds) {\n timeString = \"HH:mm:ss\";\n }\n }\n const dayString = props.isTimePicker\n ? timeString\n : \"dd/MM/yyyy \" + timeString;\n return props.range ? dayString + \" - \" + dayString : dayString;\n});\nconst limit = computed(() => {\n if (props.dateLimit) {\n return props.dateLimit;\n }\n return dayjs().toDate();\n});\n\n\n//Methods\nfunction updateValue(date: Date) {\n if (!props.isInline) {\n (divContainerRef?.value as HTMLElement)?.focus();\n }\n emit(\"updateDate\", date);\n emit(\"update:date\", date);\n}\n\nfunction formatDate(value: Date): string {\n const realMonth = value.getMonth() + 1;\n return (\n value.getDate() +\n \"/\" +\n (realMonth < 10 ? \"0\" : \"\") +\n realMonth +\n \"/\" +\n value.getFullYear()\n );\n}\n</script>\n<style lang=\"scss\">\n@use \"@vuepic/vue-datepicker/dist/main.css\";\n\n/* stylelint-disable-next-line */\n.dp__theme_light {\n --dp-primary-color: var(--octopus-primary);\n --dp-time-font-size: 1rem;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiDA,MAAM,QAAQ;EAyCd,MAAM,OAAO;EAeb,MAAM,kBAAkB,eAAe,cAAc;EAGrD,MAAM,EAAC,WAAU,QAAQ;EAGzB,MAAM,aAAa,eAAe;GAC9B,OAAO;IACH,OAAO,MAAM,OAAO,WAAW,MAAM,IAAI,IAAI,KAAA;IAC7C,MAAM,UAA2B;KAC7B,OAAO,WAAW,MAAM,KAAK;IACjC;GACJ;EACJ,CAAC;EACD,MAAM,WAAW,eAAe;GAC5B,IAAI,MAAM,MACN,OAAO,MAAM;GAEjB,IAAI,MAAM,OACN,OAAO,MAAM;GAEjB,IAAI,MAAM,QAAQ,MAAM,aACpB,OAAO;IACH,OAAO,MAAM,KAAK,SAAS;IAC3B,MAAM,MAAM,KAAK,YAAY;GACjC;GAEJ,OAAO,MAAM;EACjB,CAAC;EACD,MAAM,SAAS,eAAe;GAC1B,IAAI,MAAM,aACN,OAAO,MAAM;GAEjB,IAAI,MAAM,aACN,OAAO;GAEX,IAAI,aAAa;GACjB,IAAI,MAAM,qBAAqB,MAAM,cAAc;IAC/C,aAAa;IACb,IAAI,MAAM,gBACN,aAAa;GAErB;GACA,MAAM,YAAY,MAAM,eAClB,aACA,gBAAgB;GACtB,OAAO,MAAM,QAAQ,YAAY,QAAQ,YAAY;EACzD,CAAC;EACD,MAAM,QAAQ,eAAe;GACzB,IAAI,MAAM,WACN,OAAO,MAAM;GAEjB,OAAO,MAAM,CAAC,CAAC,OAAO;EAC1B,CAAC;EAID,SAAS,YAAY,MAAY;GAC7B,IAAI,CAAC,MAAM,UACP,CAAC,iBAAiB,MAAA,EAAuB,MAAM;GAEnD,KAAK,cAAc,IAAI;GACvB,KAAK,eAAe,IAAI;EAC5B;EAEA,SAAS,WAAW,OAAqB;GACrC,MAAM,YAAY,MAAM,SAAS,IAAI;GACrC,OACI,MAAM,QAAQ,IACd,OACC,YAAY,KAAK,MAAM,MACxB,YACA,MACA,MAAM,YAAY;EAE1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;CCnLS,KAAI;CAAe,UAAS;;;;CAAjC,OAAAA,UAAA,GAAAC,mBAqCM,OArCN,YAqCM,CAnCQ,OAAA,SAAK,CAAK,OAAA,SADpBD,UAAA,GAAAC,mBAKoB,SAAA;;EAHhB,OAAKC,eAAA,CAAC,cAEE,OAAA,eAAY,KAAA,QAAA,CAAA;EADnB,KAAG,cAAc,OAAA;CAElB,GAAAC,gBAAA,OAAA,KAAK,GAAA,IAAA,UAAA,KAAAC,mBAAA,QAAA,IAAA,GACTC,YA6BgB,OAAA,kBAAA;EA5BX,KAAK,OAAA;EACL,eAAa,OAAA;EACb,eAAa,OAAA;EACb,sBAAoB,OAAA,gBAAgB,OAAA;EACpC,oBAAkB,OAAA;EAClB,WAAW;EACX,cAAY;EACZ,UAAU,OAAA;EACV,UAAU,OAAA;EACV,QAAQ,OAAA;EACR,QAAQ,OAAA;EACR,cAAY;EACZ,kBAAgB,OAAA;EAChB,YAAU,OAAA,aAAS,CAAK,OAAA,eAAe,OAAA,QAAQ,KAAA;EAC/C,YAAU,OAAA,aAAS,CAAK,OAAA,eAAe,OAAA,QAAQ,KAAA;EAC/C,OAAO,KAAA,MAAc,OAAA;EACrB,mBAAiB,OAAA,eAAY,IAAO,OAAA,eAAY;EAChD,QAAQ,OAAA;EACR,sBAAkB,CAAG,OAAA,eAAe,OAAA,oBAAoB,KAAA;EACxD,eAAa,OAAA;EACb,YAAU,OAAA;EACV,gBAAc,OAAA;EACd,gBAAc,OAAA;EACd,uBAAkB,OAAA,OAAA,OAAA,MAAA,WAAE,OAAA,YAAY,MAAM;CAEvB,GAAAC,YAAA,EAAA,GAAA,EAAA,GAAA,CAAA,OAAA,eAAA;EAAe,MAAA;EAC3B,IAAAC,cAA4C,CAA5CF,YAA4C,OAAA,qBAAA;GAAzB,MAAM;GAAI,OAAM"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as e } from "./useResizePhone-4hSkK5pa.mjs";
|
|
2
|
+
import { t } from "./ClassicPopover-ChIaSqUg.mjs";
|
|
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
|
+
import { useI18n as u } from "vue-i18n";
|
|
5
|
+
import d from "vue-material-design-icons/EmoticonExcitedOutline.vue";
|
|
6
|
+
import f from "emoji-mart-vue-fast/data/all.json";
|
|
7
|
+
import "emoji-mart-vue-fast/css/emoji-mart.css";
|
|
8
|
+
import { EmojiIndex as p, Picker as m } from "emoji-mart-vue-fast/src";
|
|
9
|
+
//#region src/components/form/ClassicEmojiPicker.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
+
var h = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "classic-emoji-picker"
|
|
13
|
+
}, g = ["id", "title"], _ = /* @__PURE__ */ o({
|
|
14
|
+
__name: "ClassicEmojiPicker",
|
|
15
|
+
props: {
|
|
16
|
+
popoverRelativeClass: {
|
|
17
|
+
default: void 0,
|
|
18
|
+
type: String
|
|
19
|
+
},
|
|
20
|
+
isTopPosition: {
|
|
21
|
+
default: !1,
|
|
22
|
+
type: Boolean
|
|
23
|
+
},
|
|
24
|
+
id: {
|
|
25
|
+
default: "",
|
|
26
|
+
type: String
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
emits: ["emojiSelected"],
|
|
30
|
+
setup(o, { emit: _ }) {
|
|
31
|
+
let v = _, y = new p(f), { t: b } = u(), { isPhone: x } = e();
|
|
32
|
+
return (e, u) => c(x) ? n("", !0) : (s(), r("div", h, [i("button", {
|
|
33
|
+
id: "emoji-picker-dropdown" + o.id,
|
|
34
|
+
ref: "emojiButton",
|
|
35
|
+
class: "btn btn-transparent d-flex align-items-center justify-content-center",
|
|
36
|
+
title: c(b)("Pick your emoji")
|
|
37
|
+
}, [a(d, { size: 34 })], 8, g), a(t, {
|
|
38
|
+
target: "emoji-picker-dropdown" + o.id,
|
|
39
|
+
"only-click": !0,
|
|
40
|
+
"is-fixed": !0,
|
|
41
|
+
"is-top-layer": o.isTopPosition,
|
|
42
|
+
"top-pos": o.isTopPosition,
|
|
43
|
+
"relative-class": o.popoverRelativeClass,
|
|
44
|
+
"popover-class": o.isTopPosition ? "popover-z-index" : ""
|
|
45
|
+
}, {
|
|
46
|
+
default: l(() => [a(c(m), {
|
|
47
|
+
data: c(y),
|
|
48
|
+
title: c(b)("Pick your emoji"),
|
|
49
|
+
emoji: "point_up",
|
|
50
|
+
onSelect: u[0] ||= (e) => v("emojiSelected", e.native)
|
|
51
|
+
}, null, 8, ["data", "title"])]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 8, [
|
|
54
|
+
"target",
|
|
55
|
+
"is-top-layer",
|
|
56
|
+
"top-pos",
|
|
57
|
+
"relative-class",
|
|
58
|
+
"popover-class"
|
|
59
|
+
])]));
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
//#endregion
|
|
63
|
+
export { _ as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
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 "./ClassicPopover-ChIaSqUg.mjs";
|
|
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
|
+
import f from "vue-material-design-icons/HelpCircle.vue";
|
|
6
|
+
//#region src/components/misc/ClassicHelpButton.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
+
var p = ["id"], m = { class: "content" }, h = /*@__PURE__*/ s({
|
|
8
|
+
__name: "ClassicHelpButton",
|
|
9
|
+
props: {
|
|
10
|
+
colored: { type: Boolean },
|
|
11
|
+
inModal: { type: Boolean },
|
|
12
|
+
relativeClass: {},
|
|
13
|
+
small: { type: Boolean }
|
|
14
|
+
},
|
|
15
|
+
setup(e) {
|
|
16
|
+
let t = r(() => e.colored ? "var(--octopus-primary-darker)" : "black"), s = r(() => "popover-" + c()?.uid), h = r(() => e.small ? 24 : 30);
|
|
17
|
+
return (r, c) => (l(), i("button", {
|
|
18
|
+
id: s.value,
|
|
19
|
+
class: "btn-transparent"
|
|
20
|
+
}, [o(f, {
|
|
21
|
+
"fill-color": t.value,
|
|
22
|
+
size: h.value
|
|
23
|
+
}, null, 8, ["fill-color", "size"]), o(n, {
|
|
24
|
+
target: s.value,
|
|
25
|
+
"popover-class": "help-popover",
|
|
26
|
+
"relative-class": e.inModal ? "octopus-modal" : e.relativeClass
|
|
27
|
+
}, {
|
|
28
|
+
default: d(() => [a("div", m, [u(r.$slots, "default", {}, void 0, !0)])]),
|
|
29
|
+
_: 3
|
|
30
|
+
}, 8, ["target", "relative-class"])], 8, p));
|
|
31
|
+
}
|
|
32
|
+
}), g = /* @__PURE__ */ e({ default: () => _ }), _ = /*#__PURE__*/ t(h, [["__scopeId", "data-v-9edec232"]]);
|
|
33
|
+
//#endregion
|
|
34
|
+
export { g as n, _ as t };
|