ep-lib-ts 1.0.55 → 1.0.57
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/{types/Answer.d.ts → Answer.d.ts} +0 -1
- package/dist/{types/Hierarchy.d.ts → Hierarchy.d.ts} +1 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/dynamic-import-helper.js +9 -0
- package/dist/basics/EpAvatar.d.ts +21 -0
- package/dist/basics/EpAvatar.js +4 -0
- package/dist/basics/EpBadge.d.ts +6 -0
- package/dist/basics/EpBadge.js +4 -0
- package/dist/basics/EpBtn.d.ts +14 -0
- package/dist/basics/EpBtn.js +4 -0
- package/dist/basics/EpCard.d.ts +14 -0
- package/dist/basics/EpCard.js +4 -0
- package/dist/basics/EpChip.d.ts +10 -0
- package/dist/basics/EpChip.js +4 -0
- package/dist/basics/EpDivider.d.ts +8 -0
- package/dist/basics/EpDivider.js +4 -0
- package/dist/basics/EpFlex.d.ts +7 -0
- package/dist/basics/EpFlex.js +4 -0
- package/dist/basics/EpHover.d.ts +9 -0
- package/dist/basics/EpHover.js +4 -0
- package/dist/basics/EpHoverCard.d.ts +19 -0
- package/dist/basics/EpHoverCard.js +4 -0
- package/dist/basics/EpIcon.d.ts +6 -0
- package/dist/basics/EpIcon.js +4 -0
- package/dist/basics/EpImg.d.ts +17 -0
- package/dist/basics/EpImg.js +4 -0
- package/dist/basics/EpImgCarousel.d.ts +20 -0
- package/dist/basics/EpImgCarousel.js +4 -0
- package/dist/basics/EpList.d.ts +3 -0
- package/dist/basics/EpList.js +4 -0
- package/dist/basics/EpListItem.d.ts +7 -0
- package/dist/basics/EpListItem.js +4 -0
- package/dist/basics/EpSection.d.ts +13 -0
- package/dist/basics/EpSection.js +4 -0
- package/dist/basics/EpSectionCols.d.ts +17 -0
- package/dist/basics/EpSectionCols.js +4 -0
- package/dist/basics/EpSpinner.d.ts +6 -0
- package/dist/basics/EpSpinner.js +4 -0
- package/dist/basics/EpStackedList.d.ts +10 -0
- package/dist/basics/EpStackedList.js +4 -0
- package/dist/basics/EpTable.d.ts +5 -0
- package/dist/basics/EpTable.js +4 -0
- package/dist/basics/EpText.d.ts +11 -0
- package/dist/basics/EpText.js +4 -0
- package/dist/charts/EpBarChart.d.ts +30 -0
- package/dist/charts/EpBarChart.js +4 -0
- package/dist/charts/EpFunnelChart.d.ts +31 -0
- package/dist/charts/EpFunnelChart.js +4 -0
- package/dist/charts/EpLineChart.d.ts +28 -0
- package/dist/charts/EpLineChart.js +4 -0
- package/dist/charts/EpPieChart.d.ts +32 -0
- package/dist/charts/EpPieChart.js +4 -0
- package/dist/components/basics/EpAvatar.vue.js +32 -0
- package/dist/components/basics/EpAvatar.vue2.js +4 -0
- package/dist/components/basics/EpBadge.vue.js +22 -0
- package/dist/components/basics/EpBadge.vue2.js +4 -0
- package/dist/components/basics/EpBtn.vue.js +79 -0
- package/dist/components/basics/EpBtn.vue2.js +4 -0
- package/dist/components/basics/EpCard.vue.js +80 -0
- package/dist/components/basics/EpCard.vue2.js +4 -0
- package/dist/components/basics/EpChip.vue.js +49 -0
- package/dist/components/basics/EpChip.vue2.js +4 -0
- package/dist/components/basics/EpDivider.vue.js +21 -0
- package/dist/components/basics/EpDivider.vue2.js +4 -0
- package/dist/components/basics/EpFlex.vue.js +12 -0
- package/dist/components/basics/EpFlex.vue2.js +4 -0
- package/dist/components/basics/EpHover.vue.js +36 -0
- package/dist/components/basics/EpHover.vue2.js +4 -0
- package/dist/components/basics/EpHoverCard.vue.js +86 -0
- package/dist/components/basics/EpHoverCard.vue2.js +4 -0
- package/dist/components/basics/EpIcon.vue.js +26 -0
- package/dist/components/basics/EpIcon.vue2.js +4 -0
- package/dist/components/basics/EpImg.vue.js +184 -0
- package/dist/components/basics/EpImg.vue2.js +4 -0
- package/dist/components/basics/EpImgCarousel.vue.js +124 -0
- package/dist/components/basics/EpImgCarousel.vue2.js +4 -0
- package/dist/components/basics/EpList.vue.js +12 -0
- package/dist/components/basics/EpListItem.vue.js +35 -0
- package/dist/components/basics/EpListItem.vue2.js +4 -0
- package/dist/components/basics/EpSection.vue.js +74 -0
- package/dist/components/basics/EpSection.vue2.js +4 -0
- package/dist/components/basics/EpSectionCols.vue.js +94 -0
- package/dist/components/basics/EpSectionCols.vue2.js +4 -0
- package/dist/components/basics/EpSpinner.vue.js +122 -0
- package/dist/components/basics/EpSpinner.vue2.js +4 -0
- package/dist/components/basics/EpStackedList.vue.js +70 -0
- package/dist/components/basics/EpStackedList.vue2.js +4 -0
- package/dist/components/basics/EpTable.vue.js +49 -0
- package/dist/components/basics/EpTable.vue2.js +4 -0
- package/dist/components/basics/EpText.vue.js +83 -0
- package/dist/components/basics/EpText.vue2.js +4 -0
- package/dist/components/charts/EpBarChart.vue.js +78 -0
- package/dist/components/charts/EpBarChart.vue2.js +4 -0
- package/dist/components/charts/EpFunnelChart.vue.js +112 -0
- package/dist/components/charts/EpFunnelChart.vue2.js +4 -0
- package/dist/components/charts/EpLineChart.vue.js +91 -0
- package/dist/components/charts/EpLineChart.vue2.js +4 -0
- package/dist/components/charts/EpPieChart.vue.js +75 -0
- package/dist/components/charts/EpPieChart.vue2.js +4 -0
- package/dist/components/educationals/EpBranchingScenario.vue.js +7 -0
- package/dist/components/educationals/EpBranchingScenario.vue2.js +236 -0
- package/dist/components/educationals/EpCodeblock.vue.js +44 -0
- package/dist/components/educationals/EpCodeblock.vue3.js +5 -0
- package/dist/components/educationals/EpConclusion.vue.js +40 -0
- package/dist/components/educationals/EpConclusion.vue2.js +4 -0
- package/dist/components/educationals/EpDescription.vue.js +40 -0
- package/dist/components/educationals/EpDescription.vue2.js +4 -0
- package/dist/components/educationals/EpDocument.vue.js +99 -0
- package/dist/components/educationals/EpDocument.vue2.js +4 -0
- package/dist/components/educationals/EpEdu.vue.js +81 -0
- package/dist/components/educationals/EpEdu.vue2.js +4 -0
- package/dist/components/educationals/EpInstructions.vue.js +49 -0
- package/dist/components/educationals/EpInstructions.vue2.js +4 -0
- package/dist/components/educationals/EpIntroduction.vue.js +39 -0
- package/dist/components/educationals/EpIntroduction.vue2.js +4 -0
- package/dist/components/educationals/EpObjective.vue.js +39 -0
- package/dist/components/educationals/EpObjective.vue2.js +4 -0
- package/dist/components/educationals/EpReading.vue.js +307 -0
- package/dist/components/educationals/EpReading.vue2.js +4 -0
- package/dist/components/educationals/EpResource.vue.js +33 -0
- package/dist/components/educationals/EpResource.vue2.js +4 -0
- package/dist/components/educationals/EpScope.vue.js +25 -0
- package/dist/components/educationals/EpScope.vue2.js +4 -0
- package/dist/components/educationals/EpSpecificObjective.vue.js +37 -0
- package/dist/components/educationals/EpSpecificObjective.vue2.js +4 -0
- package/dist/components/forms/EpCheckbox.vue2.js +4 -0
- package/dist/components/forms/EpInput.vue.js +62 -0
- package/dist/components/forms/EpInput.vue2.js +4 -0
- package/dist/components/forms/EpRadio.vue.js +41 -0
- package/dist/components/forms/EpRadio.vue2.js +4 -0
- package/dist/components/forms/EpRadioSummative.vue.js +37 -0
- package/dist/components/forms/EpRadioSummative.vue2.js +4 -0
- package/dist/components/forms/EpSelect.vue2.js +4 -0
- package/dist/components/forms/EpSwitch.vue.js +48 -0
- package/dist/components/forms/EpSwitch.vue2.js +4 -0
- package/dist/{EpTextarea-VJ4pdPV_.js → components/forms/EpTextarea.vue.js} +6 -15
- package/dist/components/forms/EpTextarea.vue2.js +4 -0
- package/dist/{EpToggle-BTkTNVEz.js → components/forms/EpToggle.vue.js} +7 -16
- package/dist/components/forms/EpToggle.vue2.js +4 -0
- package/dist/{Ep360Image-T9Z_eSbf.js → components/interactions/Ep360Image.vue.js} +1 -1
- package/dist/components/interactions/Ep360Image.vue2.js +4 -0
- package/dist/{Ep360Video-CkVrfj8k.js → components/interactions/Ep360Video.vue.js} +1 -1
- package/dist/components/interactions/Ep360Video.vue2.js +4 -0
- package/dist/components/interactions/EpAccordeon.vue.js +7 -0
- package/dist/components/interactions/EpAccordeon.vue2.js +75 -0
- package/dist/components/interactions/EpContentSlider.vue.js +184 -0
- package/dist/components/interactions/EpContentSlider.vue2.js +4 -0
- package/dist/{EpDarkmode-Kj9ZCege.js → components/interactions/EpDarkMode.vue.js} +5 -5
- package/dist/components/interactions/EpDarkMode.vue2.js +4 -0
- package/dist/components/interactions/EpDraggable.vue.js +144 -0
- package/dist/components/interactions/EpDraggable.vue2.js +4 -0
- package/dist/{EpHotsPot-nT87sUMT.js → components/interactions/EpHotsPot.vue.js} +1 -1
- package/dist/components/interactions/EpHotsPot.vue2.js +4 -0
- package/dist/components/interactions/EpModal.vue.js +55 -0
- package/dist/components/interactions/EpModal.vue3.js +5 -0
- package/dist/components/interactions/EpQuestion.vue.js +175 -0
- package/dist/components/interactions/EpQuestion.vue2.js +4 -0
- package/dist/components/interactions/EpSummativeTable.vue.js +49 -0
- package/dist/components/interactions/EpSummativeTable.vue2.js +4 -0
- package/dist/components/interactions/EpSvgShow.vue.js +69 -0
- package/dist/components/interactions/EpSvgShow.vue2.js +4 -0
- package/dist/components/interactions/EpTabs.vue.js +12 -0
- package/dist/components/interactions/EpTooltip.vue.js +24 -0
- package/dist/components/interactions/EpTooltip.vue3.js +5 -0
- package/dist/components/medias/EpAudio.vue.js +76 -0
- package/dist/components/medias/EpAudio.vue2.js +4 -0
- package/dist/components/medias/EpCardLink.vue.js +65 -0
- package/dist/components/medias/EpCardLink.vue2.js +4 -0
- package/dist/components/medias/EpCarousel.vue.js +7 -0
- package/dist/components/medias/EpCarousel.vue2.js +162 -0
- package/dist/components/medias/EpHierarchy.vue.js +7 -0
- package/dist/components/medias/EpHierarchy.vue2.js +172 -0
- package/dist/components/medias/EpIframe.vue.js +53 -0
- package/dist/components/medias/EpIframe.vue2.js +4 -0
- package/dist/components/medias/EpKatex.vue.js +7 -0
- package/dist/components/medias/EpKatex.vue2.js +58 -0
- package/dist/components/medias/EpLink.vue.js +73 -0
- package/dist/components/medias/EpLink.vue2.js +4 -0
- package/dist/components/medias/EpLinkVersion.vue.js +34 -0
- package/dist/components/medias/EpLinkVersion.vue2.js +4 -0
- package/dist/components/medias/EpLottieSvg.vue.js +47 -0
- package/dist/components/medias/EpLottieSvg.vue2.js +4 -0
- package/dist/components/medias/EpSensibleImage.vue.js +7 -0
- package/dist/components/medias/EpSensibleImage.vue2.js +71 -0
- package/dist/components/medias/EpSoftware.vue.js +113 -0
- package/dist/components/medias/EpSoftware.vue2.js +4 -0
- package/dist/components/medias/EpSvg.vue.js +56 -0
- package/dist/components/medias/EpSvg.vue2.js +4 -0
- package/dist/components/medias/EpTerm.vue.js +144 -0
- package/dist/components/medias/EpTerm.vue2.js +4 -0
- package/dist/components/medias/EpTimeLine.vue.js +64 -0
- package/dist/components/medias/EpTimeLine.vue3.js +5 -0
- package/dist/components/medias/EpVideo.vue.js +83 -0
- package/dist/components/medias/EpVideo.vue2.js +4 -0
- package/dist/components/medias/EpVideoPanopto.vue.js +56 -0
- package/dist/components/medias/EpVideoPanopto.vue2.js +4 -0
- package/dist/components/medias/EpWordDef.vue.js +100 -0
- package/dist/components/medias/EpWordDef.vue2.js +4 -0
- package/dist/components/signages/EpAlert.vue.js +7 -0
- package/dist/components/signages/EpAlert.vue2.js +68 -0
- package/dist/components/signages/EpBadge.vue.js +32 -0
- package/dist/components/signages/EpBadge.vue2.js +4 -0
- package/dist/components/signages/EpHeader.vue.js +205 -0
- package/dist/components/signages/EpHeader.vue2.js +4 -0
- package/dist/components/signages/EpNothing.vue.js +10 -0
- package/dist/components/signages/EpQuote.vue.js +76 -0
- package/dist/components/signages/EpQuote.vue2.js +4 -0
- package/dist/components/signages/EpSkeleton.vue.js +34 -0
- package/dist/components/signages/EpSkeleton.vue3.js +5 -0
- package/dist/components/tools/BgAudio.vue.js +59 -0
- package/dist/components/tools/BgAudio.vue2.js +4 -0
- package/dist/components/tools/Details.vue.js +4 -0
- package/dist/components/tools/Details.vue2.js +55 -0
- package/dist/components/tools/DisplayBox.vue.js +5 -0
- package/dist/components/tools/DisplayBox.vue2.js +36 -0
- package/dist/components/tools/SvgFilter.vue.js +54 -0
- package/dist/components/tools/TextMedia.vue.js +4 -0
- package/dist/components/tools/TextMedia.vue2.js +41 -0
- package/dist/components/tools/TimelineItem.vue.js +7 -0
- package/dist/components/tools/TimelineItem.vue2.js +112 -0
- package/dist/components/tools/TwoColsMedia.vue.js +4 -0
- package/dist/components/tools/TwoColsMedia.vue2.js +50 -0
- package/dist/composables/isHtml.js +6 -0
- package/dist/composables/useColors.js +133 -0
- package/dist/composables/useComponent.js +40 -0
- package/dist/composables/useCreateUid.js +7 -0
- package/dist/composables/useIcons.js +32 -0
- package/dist/composables/useMarkdown.js +12 -0
- package/dist/composables/useRenderText.js +8 -0
- package/dist/educationals/EpBranchingScenario.d.ts +21 -0
- package/dist/educationals/EpBranchingScenario.js +4 -0
- package/dist/educationals/EpCodeblock.d.ts +12 -0
- package/dist/educationals/EpCodeblock.js +5 -0
- package/dist/educationals/EpConclusion.d.ts +5 -0
- package/dist/educationals/EpConclusion.js +4 -0
- package/dist/educationals/EpDescription.d.ts +5 -0
- package/dist/educationals/EpDescription.js +4 -0
- package/dist/educationals/EpDocument.d.ts +10 -0
- package/dist/educationals/EpDocument.js +4 -0
- package/dist/educationals/EpEdu.d.ts +13 -0
- package/dist/educationals/EpEdu.js +4 -0
- package/dist/educationals/EpInstructions.d.ts +13 -0
- package/dist/educationals/EpInstructions.js +4 -0
- package/dist/educationals/EpIntroduction.d.ts +5 -0
- package/dist/educationals/EpIntroduction.js +4 -0
- package/dist/educationals/EpObjective.d.ts +5 -0
- package/dist/educationals/EpObjective.js +4 -0
- package/dist/educationals/EpReading.d.ts +26 -0
- package/dist/educationals/EpReading.js +4 -0
- package/dist/educationals/EpResource.d.ts +8 -0
- package/dist/educationals/EpResource.js +4 -0
- package/dist/educationals/EpScope.d.ts +4 -0
- package/dist/educationals/EpScope.js +4 -0
- package/dist/educationals/EpSpecificObjective.d.ts +7 -0
- package/dist/educationals/EpSpecificObjective.js +4 -0
- package/dist/ep-lib-ts.css +1 -0
- package/dist/forms/EpCheckbox.d.ts +8 -0
- package/dist/forms/EpCheckbox.js +4 -0
- package/dist/forms/EpInput.d.ts +21 -0
- package/dist/forms/EpInput.js +4 -0
- package/dist/forms/EpRadio.d.ts +10 -0
- package/dist/forms/EpRadio.js +4 -0
- package/dist/forms/EpRadioSummative.d.ts +10 -0
- package/dist/forms/EpRadioSummative.js +4 -0
- package/dist/forms/EpSelect.d.ts +7 -0
- package/dist/forms/EpSelect.js +4 -0
- package/dist/forms/EpSwitch.d.ts +10 -0
- package/dist/forms/EpSwitch.js +4 -0
- package/dist/forms/EpTextarea.d.ts +23 -0
- package/dist/forms/EpTextarea.js +4 -0
- package/dist/forms/EpToggle.d.ts +13 -0
- package/dist/forms/EpToggle.js +4 -0
- package/dist/interactions/Ep360Image.d.ts +4 -0
- package/dist/interactions/Ep360Image.js +4 -0
- package/dist/interactions/Ep360Video.d.ts +3 -0
- package/dist/interactions/Ep360Video.js +4 -0
- package/dist/interactions/EpAccordeon.d.ts +9 -0
- package/dist/interactions/EpAccordeon.js +4 -0
- package/dist/interactions/EpContentSlider.d.ts +7 -0
- package/dist/interactions/EpContentSlider.js +4 -0
- package/dist/interactions/EpDarkMode.d.ts +1 -0
- package/dist/interactions/EpDarkMode.js +4 -0
- package/dist/interactions/EpDraggable.d.ts +6 -0
- package/dist/interactions/EpDraggable.js +4 -0
- package/dist/interactions/EpHotsPot.d.ts +17 -0
- package/dist/interactions/EpHotsPot.js +4 -0
- package/dist/interactions/EpModal.d.ts +10 -0
- package/dist/interactions/EpModal.js +5 -0
- package/dist/interactions/EpQuestion.d.ts +19 -0
- package/dist/interactions/EpQuestion.js +4 -0
- package/dist/interactions/EpSummativeTable.d.ts +6 -0
- package/dist/interactions/EpSummativeTable.js +4 -0
- package/dist/interactions/EpSvgShow.d.ts +5 -0
- package/dist/interactions/EpSvgShow.js +4 -0
- package/dist/interactions/EpTabs.d.ts +1 -0
- package/dist/interactions/EpTabs.js +4 -0
- package/dist/interactions/EpTooltip.d.ts +24 -0
- package/dist/interactions/EpTooltip.js +5 -0
- package/dist/medias/EpAudio.d.ts +13 -0
- package/dist/medias/EpAudio.js +4 -0
- package/dist/medias/EpCardLink.d.ts +19 -0
- package/dist/medias/EpCardLink.js +4 -0
- package/dist/medias/EpCarousel.d.ts +13 -0
- package/dist/medias/EpCarousel.js +4 -0
- package/dist/medias/EpHierarchy.d.ts +10 -0
- package/dist/medias/EpHierarchy.js +4 -0
- package/dist/medias/EpIframe.d.ts +13 -0
- package/dist/medias/EpIframe.js +4 -0
- package/dist/medias/EpKatex.d.ts +10 -0
- package/dist/medias/EpKatex.js +4 -0
- package/dist/medias/EpLink.d.ts +13 -0
- package/dist/medias/EpLink.js +4 -0
- package/dist/medias/EpLinkVersion.d.ts +18 -0
- package/dist/medias/EpLinkVersion.js +4 -0
- package/dist/medias/EpLottieSvg.d.ts +12 -0
- package/dist/medias/EpLottieSvg.js +4 -0
- package/dist/medias/EpSensibleImage.d.ts +11 -0
- package/dist/medias/EpSoftware.d.ts +16 -0
- package/dist/medias/EpSoftware.js +4 -0
- package/dist/medias/EpSvg.d.ts +12 -0
- package/dist/medias/EpSvg.js +4 -0
- package/dist/medias/EpTerm.d.ts +15 -0
- package/dist/medias/EpTerm.js +4 -0
- package/dist/medias/EpTimeLine.d.ts +13 -0
- package/dist/medias/EpTimeLine.js +5 -0
- package/dist/medias/EpVideo.d.ts +13 -0
- package/dist/medias/EpVideo.js +4 -0
- package/dist/medias/EpVideoPanopto.d.ts +13 -0
- package/dist/medias/EpVideoPanopto.js +4 -0
- package/dist/medias/EpWordDef.d.ts +25 -0
- package/dist/medias/EpWordDef.js +4 -0
- package/dist/signages/EpAlert.d.ts +16 -0
- package/dist/signages/EpAlert.js +4 -0
- package/dist/signages/EpBadge.d.ts +22 -0
- package/dist/signages/EpBadge.js +4 -0
- package/dist/signages/EpHeader.d.ts +28 -0
- package/dist/signages/EpHeader.js +4 -0
- package/dist/signages/EpNothing.d.ts +1 -0
- package/dist/signages/EpNothing.js +4 -0
- package/dist/signages/EpQuote.d.ts +6 -0
- package/dist/signages/EpQuote.js +4 -0
- package/dist/signages/EpSkeleton.d.ts +9 -0
- package/dist/signages/EpSkeleton.js +5 -0
- package/dist/types/Accordeon.js +51 -0
- package/dist/types/Alert.js +75 -0
- package/dist/types/Avatar.js +20 -0
- package/dist/{EpBadge-CWIq_C51.js → types/Badge.js} +3 -33
- package/dist/types/Btn.js +50 -0
- package/dist/types/Card.js +8 -0
- package/dist/types/Chip.js +42 -0
- package/dist/types/Codeblock.js +79 -0
- package/dist/types/Cols.js +10 -0
- package/dist/types/Image.js +23 -0
- package/dist/types/Medias.js +14 -0
- package/dist/types/Radio.js +13 -0
- package/dist/types/StackedList.js +9 -0
- package/dist/types/Switch.js +13 -0
- package/dist/types/TimeLine.js +22 -0
- package/dist/{EpTooltip-J6UMMP3d.js → types/Tooltip.js} +3 -25
- package/package.json +82 -60
- package/.vscode/extensions.json +0 -3
- package/dist/BgAudio-CjD8rE6L.js +0 -4
- package/dist/Details-DodNJLmk.js +0 -4
- package/dist/DisplayBox-a9QABBg0.js +0 -4
- package/dist/EpAlert-DL2pQmkm.js +0 -4
- package/dist/EpAudio-B1eoAvQp.js +0 -4
- package/dist/EpAvatar-DUWW5trW.js +0 -4
- package/dist/EpBadge-BZZQvAVs.js +0 -4
- package/dist/EpBarChart-Bv4LoxxX.js +0 -4
- package/dist/EpBtn-BfLGlVXl.js +0 -4
- package/dist/EpCard-Crpcs4JY.js +0 -4
- package/dist/EpCardLink-MoItEiyt.js +0 -4
- package/dist/EpChip-BceMyKjr.js +0 -4
- package/dist/EpCodeblock-D87dvIve.js +0 -4
- package/dist/EpConclusion-CqJsk0kW.js +0 -4
- package/dist/EpContentSlider-W35bm8vM.js +0 -4
- package/dist/EpDescription-CkrMusXA.js +0 -4
- package/dist/EpDivider-PDLfxtHT.js +0 -4
- package/dist/EpDocument-BDU1ahk8.js +0 -4
- package/dist/EpDraggable-Co8uBigH.js +0 -1676
- package/dist/EpEdu-CHRkMMgm.js +0 -4
- package/dist/EpFlex-DARmMuRJ.js +0 -4
- package/dist/EpFunnelChart-z5FrSEHw.js +0 -4
- package/dist/EpHeader-DVN3apTI.js +0 -4
- package/dist/EpHover-heeBGubv.js +0 -4
- package/dist/EpHoverCard-2rYupP8M.js +0 -4
- package/dist/EpIcon-D1hHhkw2.js +0 -4
- package/dist/EpIframe-BebJ46m_.js +0 -4
- package/dist/EpImg-DLtDRMKo.js +0 -4
- package/dist/EpImgCarousel-Sdulf0vy.js +0 -4
- package/dist/EpInput-BAl9kb_b.js +0 -1095
- package/dist/EpInstructions-C4jVOwjT.js +0 -4
- package/dist/EpIntroduction-DlDvwvqJ.js +0 -4
- package/dist/EpLineChart-CtzLjbJ7.js +0 -4
- package/dist/EpLink-42Jwja2Y.js +0 -4
- package/dist/EpLinkVersion-DIvWaYUN.js +0 -4
- package/dist/EpList-B9M5lt1v.js +0 -12
- package/dist/EpListitem-DXh4Kniu.js +0 -37
- package/dist/EpLottieSvg-NNSQLDpl.js +0 -1971
- package/dist/EpModal-BsON1lr3.js +0 -4
- package/dist/EpNothing-YipAP3oo.js +0 -10
- package/dist/EpObjective-BbUe8GFm.js +0 -4
- package/dist/EpPieChart-MLoj6BR_.js +0 -4
- package/dist/EpQuestion-BtF1Qgmj.js +0 -4
- package/dist/EpQuote-Cibs-LKa.js +0 -4
- package/dist/EpRadio-BWLLcGbB.js +0 -4
- package/dist/EpRadioSummative-DxivBGqM.js +0 -4
- package/dist/EpReading-D_Hpr3ao.js +0 -4
- package/dist/EpResource-BE_aXHAi.js +0 -4
- package/dist/EpScope-DiXtqmae.js +0 -4
- package/dist/EpSection-B3W0ffnN.js +0 -4
- package/dist/EpSectionCols-DbM-vHrS.js +0 -4
- package/dist/EpSkeleton-CFNm58SZ.js +0 -4
- package/dist/EpSoftware-Bob71yqB.js +0 -4
- package/dist/EpSpecificObjective-C7tWNHHd.js +0 -4
- package/dist/EpSpinner-Do8Jowd9.js +0 -4
- package/dist/EpStackedList-sgilE4yA.js +0 -4
- package/dist/EpSummativeTable-BJi8VUtB.js +0 -4
- package/dist/EpSvg-DqQt1rvC.js +0 -4
- package/dist/EpSvgShow-DtDVgeJl.js +0 -4
- package/dist/EpSwitch-DtQon_hm.js +0 -64
- package/dist/EpTable-DXuHhHqq.js +0 -4
- package/dist/EpTerm-jaZtSD0w.js +0 -4
- package/dist/EpText-CwvgGSLh.js +0 -4
- package/dist/EpTimeLine-CCCyOGBT.js +0 -4
- package/dist/EpVideo-EeWrLoqr.js +0 -4
- package/dist/EpVideoPanopto-2xqsTrPY.js +0 -4
- package/dist/EpWordDef-bqKugyLs.js +0 -4
- package/dist/TextMedia-BCE1F2fb.js +0 -4
- package/dist/components/basics/EpAvatar.vue.d.ts +0 -51
- package/dist/components/basics/EpBadge.vue.d.ts +0 -37
- package/dist/components/basics/EpBtn.vue.d.ts +0 -64
- package/dist/components/basics/EpCard.vue.d.ts +0 -78
- package/dist/components/basics/EpChip.vue.d.ts +0 -60
- package/dist/components/basics/EpDivider.vue.d.ts +0 -46
- package/dist/components/basics/EpFlex.vue.d.ts +0 -11
- package/dist/components/basics/EpHover.vue.d.ts +0 -53
- package/dist/components/basics/EpHoverCard.vue.d.ts +0 -86
- package/dist/components/basics/EpIcon.vue.d.ts +0 -34
- package/dist/components/basics/EpImg.vue.d.ts +0 -64
- package/dist/components/basics/EpImgCarousel.vue.d.ts +0 -77
- package/dist/components/basics/EpList.vue.d.ts +0 -11
- package/dist/components/basics/EpListitem.vue.d.ts +0 -45
- package/dist/components/basics/EpSection.vue.d.ts +0 -55
- package/dist/components/basics/EpSectionCols.vue.d.ts +0 -69
- package/dist/components/basics/EpSpinner.vue.d.ts +0 -40
- package/dist/components/basics/EpStackedList.vue.d.ts +0 -58
- package/dist/components/basics/EpTable.vue.d.ts +0 -24
- package/dist/components/basics/EpText.vue.d.ts +0 -51
- package/dist/components/charts/EpBarChart.vue.d.ts +0 -57
- package/dist/components/charts/EpFunnelChart.vue.d.ts +0 -61
- package/dist/components/charts/EpLineChart.vue.d.ts +0 -57
- package/dist/components/charts/EpPieChart.vue.d.ts +0 -62
- package/dist/components/educationals/EpBranchingScenario.vue.d.ts +0 -74
- package/dist/components/educationals/EpCodeblock.vue.d.ts +0 -48
- package/dist/components/educationals/EpConclusion.vue.d.ts +0 -39
- package/dist/components/educationals/EpDescription.vue.d.ts +0 -39
- package/dist/components/educationals/EpDocument.vue.d.ts +0 -44
- package/dist/components/educationals/EpEdu.vue.d.ts +0 -62
- package/dist/components/educationals/EpInstructions.vue.d.ts +0 -37
- package/dist/components/educationals/EpIntroduction.vue.d.ts +0 -39
- package/dist/components/educationals/EpObjective.vue.d.ts +0 -39
- package/dist/components/educationals/EpReading.vue.d.ts +0 -87
- package/dist/components/educationals/EpResource.vue.d.ts +0 -34
- package/dist/components/educationals/EpScope.vue.d.ts +0 -24
- package/dist/components/educationals/EpSpecificObjective.vue.d.ts +0 -35
- package/dist/components/forms/EpCheckbox.vue.d.ts +0 -52
- package/dist/components/forms/EpInput.vue.d.ts +0 -65
- package/dist/components/forms/EpRadio.vue.d.ts +0 -57
- package/dist/components/forms/EpRadioSummative.vue.d.ts +0 -57
- package/dist/components/forms/EpSelect.vue.d.ts +0 -28
- package/dist/components/forms/EpSwitch.vue.d.ts +0 -58
- package/dist/components/forms/EpTextarea.vue.d.ts +0 -76
- package/dist/components/forms/EpToggle.vue.d.ts +0 -72
- package/dist/components/interactions/Ep360Image.vue.d.ts +0 -2
- package/dist/components/interactions/Ep360Video.vue.d.ts +0 -2
- package/dist/components/interactions/EpAccordeon.vue.d.ts +0 -53
- package/dist/components/interactions/EpContentSlider.vue.d.ts +0 -39
- package/dist/components/interactions/EpDarkmode.vue.d.ts +0 -7
- package/dist/components/interactions/EpDraggable.vue.d.ts +0 -26
- package/dist/components/interactions/EpHotsPot.vue.d.ts +0 -47
- package/dist/components/interactions/EpModal.vue.d.ts +0 -67
- package/dist/components/interactions/EpQuestion.vue.d.ts +0 -65
- package/dist/components/interactions/EpSummativeTable.vue.d.ts +0 -32
- package/dist/components/interactions/EpSvgShow.vue.d.ts +0 -33
- package/dist/components/interactions/EpTabs.vue.d.ts +0 -2
- package/dist/components/interactions/EpTooltip.vue.d.ts +0 -51
- package/dist/components/medias/EpAudio.vue.d.ts +0 -48
- package/dist/components/medias/EpCardLink.vue.d.ts +0 -65
- package/dist/components/medias/EpCarousel.vue.d.ts +0 -57
- package/dist/components/medias/EpHierarchy.vue.d.ts +0 -51
- package/dist/components/medias/EpIframe.vue.d.ts +0 -45
- package/dist/components/medias/EpKatex.vue.d.ts +0 -36
- package/dist/components/medias/EpLink.vue.d.ts +0 -42
- package/dist/components/medias/EpLinkVersion.vue.d.ts +0 -50
- package/dist/components/medias/EpLottieSvg.vue.d.ts +0 -58
- package/dist/components/medias/EpSoftware.vue.d.ts +0 -59
- package/dist/components/medias/EpSvg.vue.d.ts +0 -38
- package/dist/components/medias/EpTerm.vue.d.ts +0 -72
- package/dist/components/medias/EpTimeLine.vue.d.ts +0 -32
- package/dist/components/medias/EpVideo.vue.d.ts +0 -45
- package/dist/components/medias/EpVideoPanopto.vue.d.ts +0 -45
- package/dist/components/medias/EpWordDef.vue.d.ts +0 -63
- package/dist/components/signages/EpAlert.vue.d.ts +0 -55
- package/dist/components/signages/EpBadge.vue.d.ts +0 -59
- package/dist/components/signages/EpHeader.vue.d.ts +0 -112
- package/dist/components/signages/EpNothing.vue.d.ts +0 -2
- package/dist/components/signages/EpQuote.vue.d.ts +0 -49
- package/dist/components/signages/EpSkeleton.vue.d.ts +0 -45
- package/dist/components/tools/BgAudio.vue.d.ts +0 -29
- package/dist/components/tools/Details.vue.d.ts +0 -36
- package/dist/components/tools/DisplayBox.vue.d.ts +0 -19
- package/dist/components/tools/SvgFilter.vue.d.ts +0 -2
- package/dist/components/tools/TextMedia.vue.d.ts +0 -27
- package/dist/components/tools/TimelineItem.vue.d.ts +0 -38
- package/dist/composables/isHtml.d.ts +0 -1
- package/dist/composables/useColors.d.ts +0 -1
- package/dist/composables/useComponent.d.ts +0 -6
- package/dist/composables/useCreateUid.d.ts +0 -2
- package/dist/composables/useIcons.d.ts +0 -26
- package/dist/composables/useMarkdown.d.ts +0 -1
- package/dist/composables/useRenderText.d.ts +0 -1
- package/dist/ep-lib-ts.js +0 -61
- package/dist/ep-lib-ts.umd.cjs +0 -465
- package/dist/index-Bhy3n4DI.js +0 -49358
- package/dist/index-CO05CQPt.js +0 -3430
- package/dist/index-Cllz2Ia3.js +0 -24640
- package/dist/index.d.ts +0 -60
- package/dist/main.d.ts +0 -1
- package/dist/prism-CFRbvIsk.js +0 -1182
- package/dist/router.d.ts +0 -2
- package/dist/style.css +0 -1
- package/src/components/basics/EpAvatar.vue +0 -72
- package/src/components/basics/EpBadge.vue +0 -78
- package/src/components/basics/EpBtn.vue +0 -88
- package/src/components/basics/EpCard.vue +0 -125
- package/src/components/basics/EpChip.vue +0 -80
- package/src/components/basics/EpDivider.vue +0 -40
- package/src/components/basics/EpFlex.vue +0 -43
- package/src/components/basics/EpHover.vue +0 -61
- package/src/components/basics/EpHoverCard.vue +0 -125
- package/src/components/basics/EpIcon.vue +0 -25
- package/src/components/basics/EpImg.vue +0 -162
- package/src/components/basics/EpImgCarousel.vue +0 -145
- package/src/components/basics/EpList.vue +0 -10
- package/src/components/basics/EpListitem.vue +0 -52
- package/src/components/basics/EpSection.vue +0 -74
- package/src/components/basics/EpSectionCols.vue +0 -100
- package/src/components/basics/EpSpinner.vue +0 -57
- package/src/components/basics/EpStackedList.vue +0 -79
- package/src/components/basics/EpTable.vue +0 -33
- package/src/components/basics/EpText.vue +0 -148
- package/src/components/charts/EpBarChart.vue +0 -94
- package/src/components/charts/EpFunnelChart.vue +0 -135
- package/src/components/charts/EpLineChart.vue +0 -106
- package/src/components/charts/EpPieChart.vue +0 -102
- package/src/components/educationals/EpBranchingScenario.vue +0 -307
- package/src/components/educationals/EpCodeblock.vue +0 -74
- package/src/components/educationals/EpConclusion.vue +0 -38
- package/src/components/educationals/EpDescription.vue +0 -38
- package/src/components/educationals/EpDocument.vue +0 -92
- package/src/components/educationals/EpEdu.vue +0 -126
- package/src/components/educationals/EpInstructions.vue +0 -49
- package/src/components/educationals/EpIntroduction.vue +0 -38
- package/src/components/educationals/EpObjective.vue +0 -41
- package/src/components/educationals/EpReading.vue +0 -255
- package/src/components/educationals/EpResource.vue +0 -85
- package/src/components/educationals/EpScope.vue +0 -29
- package/src/components/educationals/EpSpecificObjective.vue +0 -37
- package/src/components/forms/EpCheckbox.vue +0 -47
- package/src/components/forms/EpInput.vue +0 -178
- package/src/components/forms/EpRadio.vue +0 -72
- package/src/components/forms/EpRadioSummative.vue +0 -53
- package/src/components/forms/EpSelect.vue +0 -30
- package/src/components/forms/EpSwitch.vue +0 -73
- package/src/components/forms/EpTextarea.vue +0 -87
- package/src/components/forms/EpToggle.vue +0 -96
- package/src/components/interactions/Ep360Image.vue +0 -338
- package/src/components/interactions/Ep360Video.vue +0 -356
- package/src/components/interactions/EpAccordeon.vue +0 -91
- package/src/components/interactions/EpContentSlider.vue +0 -177
- package/src/components/interactions/EpDarkmode.vue +0 -44
- package/src/components/interactions/EpDraggable.vue +0 -192
- package/src/components/interactions/EpHotsPot.vue +0 -86
- package/src/components/interactions/EpModal.vue +0 -119
- package/src/components/interactions/EpQuestion.vue +0 -188
- package/src/components/interactions/EpSummativeTable.vue +0 -59
- package/src/components/interactions/EpSvgShow.vue +0 -108
- package/src/components/interactions/EpTabs.vue +0 -10
- package/src/components/interactions/EpTooltip.vue +0 -164
- package/src/components/medias/EpAudio.vue +0 -97
- package/src/components/medias/EpCardLink.vue +0 -82
- package/src/components/medias/EpCarousel.vue +0 -190
- package/src/components/medias/EpHierarchy.vue +0 -368
- package/src/components/medias/EpIframe.vue +0 -73
- package/src/components/medias/EpKatex.vue +0 -76
- package/src/components/medias/EpLink.vue +0 -78
- package/src/components/medias/EpLinkVersion.vue +0 -48
- package/src/components/medias/EpLottieSvg.vue +0 -79
- package/src/components/medias/EpSoftware.vue +0 -92
- package/src/components/medias/EpSvg.vue +0 -66
- package/src/components/medias/EpTerm.vue +0 -174
- package/src/components/medias/EpTimeLine.vue +0 -109
- package/src/components/medias/EpVideo.vue +0 -130
- package/src/components/medias/EpVideoPanopto.vue +0 -71
- package/src/components/medias/EpWordDef.vue +0 -142
- package/src/components/signages/EpAlert.vue +0 -98
- package/src/components/signages/EpBadge.vue +0 -82
- package/src/components/signages/EpHeader.vue +0 -215
- package/src/components/signages/EpNothing.vue +0 -5
- package/src/components/signages/EpQuote.vue +0 -72
- package/src/components/signages/EpSkeleton.vue +0 -48
- package/src/components/tools/BgAudio.vue +0 -51
- package/src/components/tools/Details.vue +0 -47
- package/src/components/tools/DisplayBox.vue +0 -44
- package/src/components/tools/SvgFilter.vue +0 -220
- package/src/components/tools/TextMedia.vue +0 -44
- package/src/components/tools/TimelineItem.vue +0 -141
- /package/dist/{types/Accordeon.d.ts → Accordeon.d.ts} +0 -0
- /package/dist/{types/Aframe.d.ts → Aframe.d.ts} +0 -0
- /package/dist/{types/Alert.d.ts → Alert.d.ts} +0 -0
- /package/dist/{types/Avatar.d.ts → Avatar.d.ts} +0 -0
- /package/dist/{types/Badge.d.ts → Badge.d.ts} +0 -0
- /package/dist/{types/Border.d.ts → Border.d.ts} +0 -0
- /package/dist/{types/Btn.d.ts → Btn.d.ts} +0 -0
- /package/dist/{types/Card.d.ts → Card.d.ts} +0 -0
- /package/dist/{types/Chip.d.ts → Chip.d.ts} +0 -0
- /package/dist/{types/Codeblock.d.ts → Codeblock.d.ts} +0 -0
- /package/dist/{types/Cols.d.ts → Cols.d.ts} +0 -0
- /package/dist/{types/Component.d.ts → Component.d.ts} +0 -0
- /package/dist/{types/Draggable.d.ts → Draggable.d.ts} +0 -0
- /package/dist/{types/GlossaryEntry.d.ts → GlossaryEntry.d.ts} +0 -0
- /package/dist/{types/Hover.d.ts → Hover.d.ts} +0 -0
- /package/dist/{types/Image.d.ts → Image.d.ts} +0 -0
- /package/dist/{types/MandateLevel.d.ts → MandateLevel.d.ts} +0 -0
- /package/dist/{types/MediaCarousel.d.ts → MediaCarousel.d.ts} +0 -0
- /package/dist/{types/Medias.d.ts → Medias.d.ts} +0 -0
- /package/dist/{types/Radio.d.ts → Radio.d.ts} +0 -0
- /package/dist/{types/Slides.d.ts → Slides.d.ts} +0 -0
- /package/dist/{types/StackedList.d.ts → StackedList.d.ts} +0 -0
- /package/dist/{types/SummativeTable.d.ts → SummativeTable.d.ts} +0 -0
- /package/dist/{types/Switch.d.ts → Switch.d.ts} +0 -0
- /package/dist/{types/Three.d.ts → Three.d.ts} +0 -0
- /package/dist/{types/TimeLine.d.ts → TimeLine.d.ts} +0 -0
- /package/dist/{types/Tooltip.d.ts → Tooltip.d.ts} +0 -0
- /package/dist/{EpCheckbox-D-AiG1k1.js → components/forms/EpCheckbox.vue.js} +0 -0
- /package/dist/{EpSelect-C10jbOyP.js → components/forms/EpSelect.vue.js} +0 -0
- /package/dist/{types/image360.d.ts → image360.d.ts} +0 -0
- /package/dist/{types/video360.d.ts → video360.d.ts} +0 -0
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
|
|
3
|
-
type Shape = "circle" | "rectangle";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
interface Props {
|
|
7
|
-
type?:Shape;
|
|
8
|
-
height?:number;
|
|
9
|
-
width?:number;
|
|
10
|
-
animation?:string;
|
|
11
|
-
loading?:boolean;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
15
|
-
type:'rectangle',
|
|
16
|
-
width:100,
|
|
17
|
-
height:10,
|
|
18
|
-
animation:"animate-pulse",
|
|
19
|
-
loading:true
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
const width = props.width/4 +"rem"
|
|
23
|
-
const height = props.height/4+ "rem"
|
|
24
|
-
const animation = props.animation? props.animation :"animate-pulse"
|
|
25
|
-
|
|
26
|
-
</script>
|
|
27
|
-
<template>
|
|
28
|
-
<div>
|
|
29
|
-
<div class="flex p-2" :class="animation">
|
|
30
|
-
<div v-if="props.loading">
|
|
31
|
-
<span class="shape block bg-gray-200 rounded-full dark:bg-gray-300"></span>
|
|
32
|
-
</div>
|
|
33
|
-
<div v-else-if="props.type === 'circle'">
|
|
34
|
-
<span class="shape block bg-gray-200 rounded-full dark:bg-gray-300"></span>
|
|
35
|
-
</div>
|
|
36
|
-
<div v-else-if="props.type === 'rectangle'">
|
|
37
|
-
<span class="shape block bg-gray-200 dark:bg-gray-300 rounded-lg"></span>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</template>
|
|
42
|
-
|
|
43
|
-
<style >
|
|
44
|
-
.shape {
|
|
45
|
-
height: v-bind(height);
|
|
46
|
-
width: v-bind(width)
|
|
47
|
-
}
|
|
48
|
-
</style>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
const props = withDefaults(defineProps<{
|
|
3
|
-
fill?: string;
|
|
4
|
-
}>(), {
|
|
5
|
-
fill: "fill-primary"
|
|
6
|
-
})
|
|
7
|
-
</script>
|
|
8
|
-
<template>
|
|
9
|
-
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
|
|
10
|
-
y="0px" viewBox="0 0 640 360" style="enable-background:new 0 0 640 360;" xml:space="preserve">
|
|
11
|
-
|
|
12
|
-
<pattern y="-20" width="150" height="100" patternUnits="userSpaceOnUse" id="New_Pattern" viewBox="8 -107.8 150 100"
|
|
13
|
-
style="overflow:visible;">
|
|
14
|
-
<g>
|
|
15
|
-
<rect x="8" y="-107.8" style="fill: none;" width="150" height="100" />
|
|
16
|
-
<g style="opacity:0.1 ;">
|
|
17
|
-
<path d="M159.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M162-7.8
|
|
18
|
-
c0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-10.7,162-9.3,162-7.8 M153.5-10.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z" />
|
|
19
|
-
</g>
|
|
20
|
-
<g style="opacity:0.1 ;">
|
|
21
|
-
<path d="M9.8-15.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-15.5 M12-7.8
|
|
22
|
-
c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-10.7,12-9.3,12-7.8 M3.5-10.4L8-14.8v14.2L3.5-5.1H0v-5.3H3.5z" />
|
|
23
|
-
</g>
|
|
24
|
-
<g style="opacity:0.1 ;">
|
|
25
|
-
<path d="M159.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M162-107.8
|
|
26
|
-
c0,1.6-0.9,2.9-2.2,3.5v-7.1C161.1-110.7,162-109.3,162-107.8 M153.5-110.4l4.4-4.4v14.2l-4.4-4.4H150v-5.3H153.5z" />
|
|
27
|
-
</g>
|
|
28
|
-
<g style="opacity:0.1 ;">
|
|
29
|
-
<path d="M84.8-65.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9c0-2.8-1.9-5.2-4.4-5.9V-65.5 M87-57.8
|
|
30
|
-
c0,1.6-0.9,2.9-2.2,3.5v-7.1C86.1-60.7,87-59.3,87-57.8 M78.5-60.4l4.4-4.4v14.2l-4.4-4.4H75v-5.3H78.5z" />
|
|
31
|
-
</g>
|
|
32
|
-
<g style="opacity:0.1 ;">
|
|
33
|
-
<path d="M9.8-115.5c3.5,0.8,6.2,4,6.2,7.8s-2.7,7-6.2,7.8v-1.8c2.6-0.8,4.4-3.1,4.4-5.9s-1.9-5.2-4.4-5.9V-115.5 M12-107.8
|
|
34
|
-
c0,1.6-0.9,2.9-2.2,3.5v-7.1C11.1-110.7,12-109.3,12-107.8 M3.5-110.4l4.4-4.4v14.2l-4.4-4.4H0v-5.3H3.5z" />
|
|
35
|
-
</g>
|
|
36
|
-
</g>
|
|
37
|
-
</pattern>
|
|
38
|
-
<g>
|
|
39
|
-
<rect :class="props.fill" width="640" height="360" />
|
|
40
|
-
<path style="fill:url(#New_Pattern);" d="M639,1v358H1V1H639 M640,0H0v360h640V0L640,0z" />
|
|
41
|
-
</g>
|
|
42
|
-
<g>
|
|
43
|
-
<rect x="0.5" y="0.5" style="fill:url(#New_Pattern);" width="639" height="359" />
|
|
44
|
-
</g>
|
|
45
|
-
<g>
|
|
46
|
-
<path style="fill: white;" d="M310.7,114.7c-31,4.4-53.2,32.4-53.2,63.7v46.8c0,11.5,9.3,20.8,20.8,20.8h20.8v-55.6h-27.8v-12
|
|
47
|
-
c0-24.9,17.9-47.1,42.5-50.1c29.6-3.6,54.7,19.4,54.7,48.3v13.9h-27.8V246h20.8c11.5,0,20.8-9.3,20.8-20.8v-48.6
|
|
48
|
-
C382.5,138.7,349.4,109.1,310.7,114.7z" />
|
|
49
|
-
</g>
|
|
50
|
-
</svg>
|
|
51
|
-
</template>
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import {ref} from 'vue'
|
|
3
|
-
import EpModal from '../interactions/EpModal.vue';
|
|
4
|
-
import type { NestedComponents } from '../../types/Component';
|
|
5
|
-
import EpBtn from '../basics/EpBtn.vue';
|
|
6
|
-
import EpDivider from '../basics/EpDivider.vue';
|
|
7
|
-
import TextMedia from './TextMedia.vue';
|
|
8
|
-
const showModal = ref(false)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
interface Props {
|
|
12
|
-
title?:string;
|
|
13
|
-
content:string;
|
|
14
|
-
labelClose?:string;
|
|
15
|
-
media?:NestedComponents
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
19
|
-
title:"Voir détails",
|
|
20
|
-
labelClose:"Fermer"
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
</script>
|
|
24
|
-
|
|
25
|
-
<template>
|
|
26
|
-
<div class="cursor-pointer rounded bg-primary text-white py-2 px-4 flex flex-col items-center" @click="showModal = true">
|
|
27
|
-
<EpModal v-model="showModal" :title="content">
|
|
28
|
-
<TextMedia
|
|
29
|
-
:text="title"
|
|
30
|
-
:media="media"
|
|
31
|
-
text-left
|
|
32
|
-
/>
|
|
33
|
-
<EpDivider/>
|
|
34
|
-
<div class="flex justify-end">
|
|
35
|
-
<EpBtn
|
|
36
|
-
type="error"
|
|
37
|
-
rounded
|
|
38
|
-
size="small"
|
|
39
|
-
@click="showModal = false">
|
|
40
|
-
{{labelClose}}
|
|
41
|
-
</EpBtn>
|
|
42
|
-
</div>
|
|
43
|
-
|
|
44
|
-
</EpModal>
|
|
45
|
-
<p class="dark:text-black">{{title}}</p>
|
|
46
|
-
</div>
|
|
47
|
-
</template>
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ref, computed } from 'vue'
|
|
3
|
-
import { onClickOutside, useEventListener } from '@vueuse/core'
|
|
4
|
-
const menu = ref()
|
|
5
|
-
const isOpen = ref()
|
|
6
|
-
|
|
7
|
-
onClickOutside(menu, (event) => {
|
|
8
|
-
isOpen.value = false
|
|
9
|
-
})
|
|
10
|
-
useEventListener('keydown', (e) => {
|
|
11
|
-
if (e.key === 'Escape' && isOpen)
|
|
12
|
-
isOpen.value = false
|
|
13
|
-
})
|
|
14
|
-
|
|
15
|
-
function open() {
|
|
16
|
-
return isOpen.value = true
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function close() {
|
|
20
|
-
return isOpen.value = false
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const classOpen = computed(()=> {
|
|
24
|
-
return isOpen.value?`w-[32rem]`:`hidden`
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
</script>
|
|
28
|
-
|
|
29
|
-
<template>
|
|
30
|
-
<div>
|
|
31
|
-
<slot :open="open" />
|
|
32
|
-
<div ref="menu" :class="`${classOpen} custom_index`">
|
|
33
|
-
<slot name="menu" :is-open="isOpen" :close="close" />
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</template>
|
|
37
|
-
|
|
38
|
-
<style>
|
|
39
|
-
.custom_index{
|
|
40
|
-
z-index: 9999;
|
|
41
|
-
position: absolute;
|
|
42
|
-
right: 12rem;
|
|
43
|
-
}
|
|
44
|
-
</style>
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg class="duotone-filters h-0" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<filter id="duotone-bluered">
|
|
4
|
-
<feColorMatrix type="matrix" result="grayscale"
|
|
5
|
-
values="1 0 0 0 0
|
|
6
|
-
1 0 0 0 0
|
|
7
|
-
1 0 0 0 0
|
|
8
|
-
0 0 0 1 0" >
|
|
9
|
-
</feColorMatrix>
|
|
10
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
11
|
-
<feFuncR type="table" tableValues="0.0 0.9608"></feFuncR>
|
|
12
|
-
<feFuncG type="table" tableValues="0.2784 0.2627"></feFuncG>
|
|
13
|
-
<feFuncB type="table" tableValues="0.5255 0.2118"></feFuncB>
|
|
14
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
15
|
-
</feComponentTransfer>
|
|
16
|
-
</filter>
|
|
17
|
-
|
|
18
|
-
<filter id="duotone-dark-blue">
|
|
19
|
-
<feColorMatrix type="matrix" result="gray"
|
|
20
|
-
values="0.2126 0.7152 0.0722 0 0
|
|
21
|
-
0.2126 0.7152 0.0722 0 0
|
|
22
|
-
0.2126 0.7152 0.0722 0 0
|
|
23
|
-
0 0 0 1 0" >
|
|
24
|
-
</feColorMatrix>
|
|
25
|
-
|
|
26
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
27
|
-
<feFuncR type="table" tableValues="0.003921568627 0.007843137255"></feFuncR>
|
|
28
|
-
<feFuncG type="table" tableValues="0.1568627451 0.3803921569"></feFuncG>
|
|
29
|
-
<feFuncB type="table" tableValues="0.2352941176 0.5725490196"></feFuncB>
|
|
30
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
31
|
-
</feComponentTransfer>
|
|
32
|
-
</filter>
|
|
33
|
-
|
|
34
|
-
<filter id="duotone-blue">
|
|
35
|
-
<feColorMatrix type="matrix" result="gray"
|
|
36
|
-
values="0.9126 1 1 0 0
|
|
37
|
-
0.9126 1 1 0 0
|
|
38
|
-
0.9126 1 1 0 0
|
|
39
|
-
0 0 0 1 0" >
|
|
40
|
-
</feColorMatrix>
|
|
41
|
-
|
|
42
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
43
|
-
<feFuncR type="table" tableValues="0.003921568627 0.007843137255"></feFuncR>
|
|
44
|
-
<feFuncG type="table" tableValues="0.1568627451 0.3803921569"></feFuncG>
|
|
45
|
-
<feFuncB type="table" tableValues="0.2352941176 0.5725490196"></feFuncB>
|
|
46
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
47
|
-
</feComponentTransfer>
|
|
48
|
-
</filter>
|
|
49
|
-
|
|
50
|
-
<filter id="duotone-dark-blue">
|
|
51
|
-
<feColorMatrix type="matrix" result="gray"
|
|
52
|
-
values="0.35 0 0 0 0
|
|
53
|
-
0.35 0 0 0 0
|
|
54
|
-
0.35 0 0 0 0
|
|
55
|
-
0 0 0 0 1" >
|
|
56
|
-
</feColorMatrix>
|
|
57
|
-
|
|
58
|
-
<!-- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
59
|
-
<feFuncR type="table" tableValues="0.049 0.906"></feFuncR>
|
|
60
|
-
<feFuncG type="table" tableValues="0.357 0.978"></feFuncG>
|
|
61
|
-
<feFuncB type="table" tableValues="0.945 1"></feFuncB>
|
|
62
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
63
|
-
</feComponentTransfer> -->
|
|
64
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
65
|
-
<feFuncR type="table" tableValues="0.0 1"></feFuncR>
|
|
66
|
-
<feFuncG type="table" tableValues="0.2784 1"></feFuncG>
|
|
67
|
-
<feFuncB type="table" tableValues="0.5255 1"></feFuncB>
|
|
68
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
69
|
-
</feComponentTransfer>
|
|
70
|
-
</filter>
|
|
71
|
-
|
|
72
|
-
<filter id="duotone-blue-invert">
|
|
73
|
-
<feColorMatrix type="matrix" result="gray"
|
|
74
|
-
values="0.95 0 0 0 0
|
|
75
|
-
0.95 0 0 0 0
|
|
76
|
-
0.95 0 0 0 0
|
|
77
|
-
0 0 0 0 1" >
|
|
78
|
-
</feColorMatrix>
|
|
79
|
-
|
|
80
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
81
|
-
<feFuncR type="table" tableValues="1 0"></feFuncR>
|
|
82
|
-
<feFuncG type="table" tableValues="1 0.2784"></feFuncG>
|
|
83
|
-
<feFuncB type="table" tableValues="1 0.5255"></feFuncB>
|
|
84
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
85
|
-
</feComponentTransfer>
|
|
86
|
-
</filter>
|
|
87
|
-
|
|
88
|
-
<filter id="duotone-green">
|
|
89
|
-
<feColorMatrix type="matrix" result="gray"
|
|
90
|
-
values="0.35 0 0 0 0
|
|
91
|
-
0.35 0 0 0 0
|
|
92
|
-
0.35 0 0 0 0
|
|
93
|
-
0 0 0 1 0" >
|
|
94
|
-
</feColorMatrix>
|
|
95
|
-
|
|
96
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
97
|
-
<feFuncR type="table" tableValues="0.1843 1"></feFuncR>
|
|
98
|
-
<feFuncG type="table" tableValues="0.4902 1"></feFuncG>
|
|
99
|
-
<feFuncB type="table" tableValues="0.1961 1"></feFuncB>
|
|
100
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
101
|
-
</feComponentTransfer>
|
|
102
|
-
</filter>
|
|
103
|
-
|
|
104
|
-
<filter id="duotone-dark-green">
|
|
105
|
-
<feColorMatrix type="matrix" result="gray"
|
|
106
|
-
values="0.15 0 0 0 0
|
|
107
|
-
0.35 0 0 0 0
|
|
108
|
-
0.15 0 0 0 0
|
|
109
|
-
0 0 0 1 0" >
|
|
110
|
-
</feColorMatrix>
|
|
111
|
-
|
|
112
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
113
|
-
<feFuncR type="table" tableValues="0.2000 1"></feFuncR>
|
|
114
|
-
<feFuncG type="table" tableValues="0.4902 1"></feFuncG>
|
|
115
|
-
<feFuncB type="table" tableValues="0.2000 1"></feFuncB>
|
|
116
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
117
|
-
</feComponentTransfer>
|
|
118
|
-
</filter>
|
|
119
|
-
|
|
120
|
-
<filter id="duotone-yellow">
|
|
121
|
-
<feColorMatrix type="matrix" result="gray"
|
|
122
|
-
values="1 0 0 0 0
|
|
123
|
-
1 0 0 0 0
|
|
124
|
-
1 0 0 0 0
|
|
125
|
-
0 0 0 1 0" >
|
|
126
|
-
</feColorMatrix>
|
|
127
|
-
|
|
128
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
129
|
-
<feFuncR type="table" tableValues="0.9765 0.996"></feFuncR>
|
|
130
|
-
<feFuncG type="table" tableValues="0.6588 0.918"></feFuncG>
|
|
131
|
-
<feFuncB type="table" tableValues="0.1451 0.624"></feFuncB>
|
|
132
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
133
|
-
</feComponentTransfer>
|
|
134
|
-
</filter>
|
|
135
|
-
|
|
136
|
-
<filter id="duotone-red">
|
|
137
|
-
<feColorMatrix type="matrix" result="gray"
|
|
138
|
-
values="0.25 0 0 0 0
|
|
139
|
-
0.25 0 0 0 0
|
|
140
|
-
0.25 0 0 0 0
|
|
141
|
-
0 0 0 1 0" >
|
|
142
|
-
</feColorMatrix>
|
|
143
|
-
|
|
144
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
145
|
-
<feFuncR type="table" tableValues="0.7765 1"></feFuncR>
|
|
146
|
-
<feFuncG type="table" tableValues="0.1569 1"></feFuncG>
|
|
147
|
-
<feFuncB type="table" tableValues="0.1569 1"></feFuncB>
|
|
148
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
149
|
-
</feComponentTransfer>
|
|
150
|
-
</filter>
|
|
151
|
-
|
|
152
|
-
<filter id="duotone-blue-red">
|
|
153
|
-
<feColorMatrix type="matrix" result="grayscale"
|
|
154
|
-
values="1 0 0 0 0
|
|
155
|
-
1 0 0 0 0
|
|
156
|
-
1 0 0 0 0
|
|
157
|
-
0 0 0 1 0" >
|
|
158
|
-
</feColorMatrix>
|
|
159
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
160
|
-
<feFuncR type="table" tableValues="0.9608 0.0"></feFuncR>
|
|
161
|
-
<feFuncG type="table" tableValues="0.2627 0.2784"></feFuncG>
|
|
162
|
-
<feFuncB type="table" tableValues="0.2118 0.5255"></feFuncB>
|
|
163
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
164
|
-
</feComponentTransfer>
|
|
165
|
-
</filter>
|
|
166
|
-
|
|
167
|
-
<filter id="duotone-blue-green">
|
|
168
|
-
<feColorMatrix type="matrix" result="grayscale"
|
|
169
|
-
values="1 0 0 0 0
|
|
170
|
-
1 0 0 0 0
|
|
171
|
-
1 0 0 0 0
|
|
172
|
-
0 0 0 1 0" >
|
|
173
|
-
</feColorMatrix>
|
|
174
|
-
<!-- <feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
175
|
-
<feFuncR type="table" tableValues="0.049 0.396"></feFuncR>
|
|
176
|
-
<feFuncG type="table" tableValues="0.357 0.669"></feFuncG>
|
|
177
|
-
<feFuncB type="table" tableValues="0.945 0"></feFuncB>
|
|
178
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
179
|
-
</feComponentTransfer> -->
|
|
180
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
181
|
-
<feFuncR type="table" tableValues="0.1020 0.2980"></feFuncR>
|
|
182
|
-
<feFuncG type="table" tableValues="0.4627 0.6863"></feFuncG>
|
|
183
|
-
<feFuncB type="table" tableValues="0.8235 0.3137"></feFuncB>
|
|
184
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
185
|
-
</feComponentTransfer>
|
|
186
|
-
</filter>
|
|
187
|
-
|
|
188
|
-
<filter id="duotone-green-yellow">
|
|
189
|
-
<feColorMatrix type="matrix" result="grayscale"
|
|
190
|
-
values="0.75 0 0 0 0
|
|
191
|
-
0.75 0 0 0 0
|
|
192
|
-
0.75 0 0 0 0
|
|
193
|
-
0 0 0 1 0" >
|
|
194
|
-
</feColorMatrix>
|
|
195
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
196
|
-
<feFuncR type="table" tableValues="0.1059 0.9843 "></feFuncR>
|
|
197
|
-
<feFuncG type="table" tableValues="0.3686 0.7529 "></feFuncG>
|
|
198
|
-
<feFuncB type="table" tableValues="0.1255 0.1804"></feFuncB>
|
|
199
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
200
|
-
</feComponentTransfer>
|
|
201
|
-
</filter>
|
|
202
|
-
|
|
203
|
-
<filter id="duotone-yellow-red">
|
|
204
|
-
<feColorMatrix type="matrix" result="grayscale"
|
|
205
|
-
values="1 0 0 0 0
|
|
206
|
-
1 0 0 0 0
|
|
207
|
-
1 0 0 0 0
|
|
208
|
-
0 0 0 1 0" >
|
|
209
|
-
</feColorMatrix>
|
|
210
|
-
<feComponentTransfer color-interpolation-filters="sRGB" result="duotone">
|
|
211
|
-
<feFuncR type="table" tableValues="0.7765 0.9765"></feFuncR>
|
|
212
|
-
<feFuncG type="table" tableValues="0.1569 0.6588"></feFuncG>
|
|
213
|
-
<feFuncB type="table" tableValues="0.1569 0.1451"></feFuncB>
|
|
214
|
-
<feFuncA type="table" tableValues="0 1"></feFuncA>
|
|
215
|
-
</feComponentTransfer>
|
|
216
|
-
</filter>
|
|
217
|
-
|
|
218
|
-
</svg>
|
|
219
|
-
</template>
|
|
220
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import {computed, defineAsyncComponent} from "vue"
|
|
3
|
-
import { useRenderText } from '../../composables/useRenderText';
|
|
4
|
-
import { useComponent } from "../../composables/useComponent";
|
|
5
|
-
import type { NestedComponents } from "../../types/Component";
|
|
6
|
-
|
|
7
|
-
interface Props{
|
|
8
|
-
media?:NestedComponents;
|
|
9
|
-
text:string;
|
|
10
|
-
cols?:boolean;
|
|
11
|
-
textLeft?:boolean
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
const currentRenderComponent = computed(() => {
|
|
18
|
-
if (props.media) {
|
|
19
|
-
const componentToLoad = useComponent(props.media.type);
|
|
20
|
-
return defineAsyncComponent(() => import(`../${componentToLoad.path}/${componentToLoad.name}.vue`));
|
|
21
|
-
}
|
|
22
|
-
return null;
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
const colsStyle = computed(()=> {
|
|
26
|
-
return props.cols ? 'flex items-center justify-center gap-1' : ''
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
const alignText = computed(()=>{
|
|
30
|
-
return props.textLeft ? '' : 'justify-center';
|
|
31
|
-
})
|
|
32
|
-
|
|
33
|
-
</script>
|
|
34
|
-
|
|
35
|
-
<template>
|
|
36
|
-
<div :class="colsStyle">
|
|
37
|
-
<div :class="`w-full flex ${alignText}`" v-html="useRenderText(text)"></div>
|
|
38
|
-
<div class="w-full" v-if="currentRenderComponent && media">
|
|
39
|
-
<component
|
|
40
|
-
:is="currentRenderComponent"
|
|
41
|
-
v-bind="{...media.data}"/>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</template>
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { ref, toRefs, onMounted, computed, watch } from "vue";
|
|
3
|
-
import { useImage } from '@vueuse/core'
|
|
4
|
-
import { useRenderText } from "../../composables/useRenderText";
|
|
5
|
-
///types with Capital letters... object with styles same name in lowercase
|
|
6
|
-
import { type EventTimeLine, type TimeLineDate, colorsTimeLine } from "../../types/TimeLine";
|
|
7
|
-
import EpImg from "../basics/EpImg.vue";
|
|
8
|
-
|
|
9
|
-
interface Props {
|
|
10
|
-
title?: string | null;
|
|
11
|
-
date?: string;
|
|
12
|
-
event: EventTimeLine;
|
|
13
|
-
collapse?:boolean
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const props = withDefaults(defineProps<Props>(), {
|
|
17
|
-
title: 'En savoir plus',
|
|
18
|
-
type: 'base',
|
|
19
|
-
collapse:false
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const showDiv = ref(true);
|
|
24
|
-
const collapsible = ref();
|
|
25
|
-
|
|
26
|
-
onMounted(() => {
|
|
27
|
-
var content = collapsible.value
|
|
28
|
-
if (showDiv.value) {
|
|
29
|
-
content.style.maxHeight = content.scrollHeight + "px";
|
|
30
|
-
}
|
|
31
|
-
})
|
|
32
|
-
|
|
33
|
-
function toggleDivVisibility() {
|
|
34
|
-
showDiv.value = !showDiv.value;
|
|
35
|
-
var content = collapsible.value
|
|
36
|
-
if (content.style.maxHeight) {
|
|
37
|
-
content.style.maxHeight = null;
|
|
38
|
-
} else {
|
|
39
|
-
content.style.maxHeight = content.scrollHeight + "px";
|
|
40
|
-
}
|
|
41
|
-
//add transition
|
|
42
|
-
if (!content.style.transition) {
|
|
43
|
-
content.style.transition = 'max-height 0.2s ease-out';
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const start_date = computed(() => {
|
|
48
|
-
if (props.event.start_date) {
|
|
49
|
-
return parseTimeline(props.event.start_date)
|
|
50
|
-
}
|
|
51
|
-
return null
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
const end_date = computed(() => {
|
|
55
|
-
if (props.event.end_date) {
|
|
56
|
-
return parseTimeline(props.event.end_date)
|
|
57
|
-
}
|
|
58
|
-
return null
|
|
59
|
-
})
|
|
60
|
-
|
|
61
|
-
const src = computed(()=>{
|
|
62
|
-
if(props.event.media.url.trim() !== ""){
|
|
63
|
-
return props.event.media.url
|
|
64
|
-
}
|
|
65
|
-
return null
|
|
66
|
-
})
|
|
67
|
-
|
|
68
|
-
const colorEvent = computed(()=> {
|
|
69
|
-
if(props.event.tag){
|
|
70
|
-
return colorsTimeLine[props.event.tag.color]
|
|
71
|
-
}
|
|
72
|
-
return colorsTimeLine.noTag
|
|
73
|
-
})
|
|
74
|
-
|
|
75
|
-
const parseTimeline = (timeDate: TimeLineDate) => {
|
|
76
|
-
// Check if all the date fields are null, undefined, or empty
|
|
77
|
-
const { day, month, year, hour } = timeDate;
|
|
78
|
-
|
|
79
|
-
// Build the hour string, even if there's no date
|
|
80
|
-
const hoursStr = hour || '';
|
|
81
|
-
const minutesStr = timeDate.minute ? `:${timeDate.minute}` : ``;
|
|
82
|
-
|
|
83
|
-
// If there is no valid date (day, month, or year), return only the hour if present
|
|
84
|
-
if (!day && !month && !year) {
|
|
85
|
-
return hoursStr ? { date: null, hour: hoursStr + minutesStr } : null;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// Build the date string
|
|
89
|
-
const dayStr = day ? `${day}/` : ``;
|
|
90
|
-
const monthStr = month ? `${month}/` : ``;
|
|
91
|
-
const yearStr = year || '';
|
|
92
|
-
|
|
93
|
-
// Return formatted date and time
|
|
94
|
-
return {
|
|
95
|
-
date: dayStr + monthStr + yearStr,
|
|
96
|
-
hour: hoursStr + minutesStr,
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
const { event } = toRefs(props)
|
|
101
|
-
</script>
|
|
102
|
-
|
|
103
|
-
<template>
|
|
104
|
-
<div
|
|
105
|
-
:class="`cursor-pointer ml-10 relative flex items-center p-2 ${colorEvent.border} border-2 rounded-r-lg mb-8 flex-col md:flex-row space-y-4 md:space-y-0`"
|
|
106
|
-
@click="toggleDivVisibility">
|
|
107
|
-
<!-- Dot -->
|
|
108
|
-
<div
|
|
109
|
-
:class="`w-5 h-5 bg-white dark:bg-dark border-2 ${colorEvent.border} absolute -left-12 transform -translate-x-2/4 rounded-full z-10 mt-2 md:mt-0`">
|
|
110
|
-
</div>
|
|
111
|
-
<!-- Line -->
|
|
112
|
-
<div :class="`w-10 border ${colorEvent.border} absolute -left-10 z-0`"></div>
|
|
113
|
-
<div>
|
|
114
|
-
<div :class="`${colorEvent.text} text-sm`" >
|
|
115
|
-
<!-- sur protheus on est trop laxes ... mais on peut avoir plusieurs cas :/ -->
|
|
116
|
-
<span v-if="start_date?.date" class="font-bold">{{ start_date.date }}</span>
|
|
117
|
-
<span v-if="start_date?.hour" class="text-xs ml-1">{{ start_date.hour }}</span>
|
|
118
|
-
<span v-if="end_date?.date" class="mx-4">-</span>
|
|
119
|
-
<span v-if="end_date?.date" class="font-bold">{{ end_date.date }}</span>
|
|
120
|
-
<span v-if="end_date?.hour" class="text-xs ml-1"> {{ end_date.hour }}</span>
|
|
121
|
-
|
|
122
|
-
</div>
|
|
123
|
-
<h2 :class="`text-2xl ${colorEvent.text}`">{{ event.text?.headline }}</h2>
|
|
124
|
-
<!-- Content -->
|
|
125
|
-
<div ref="collapsible" class="content">
|
|
126
|
-
<div :class="`${src?'flex':''} py-4`">
|
|
127
|
-
<div v-if="src" class="flex-1">
|
|
128
|
-
<EpImg noModal cols="8" :src="src" :alt="event.text?.headline" ></EpImg>
|
|
129
|
-
</div>
|
|
130
|
-
<div class="flex-1" v-html="useRenderText(event.text.text)"></div>
|
|
131
|
-
</div>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</template>
|
|
136
|
-
|
|
137
|
-
<style scoped>
|
|
138
|
-
.content {
|
|
139
|
-
max-height: 0;
|
|
140
|
-
overflow: hidden;
|
|
141
|
-
}</style>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|