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
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { defineComponent as I, ref as g, computed as r, toRefs as k, createBlock as L, openBlock as l, unref as o, createSlots as B, withCtx as c, createElementVNode as a, normalizeClass as V, createElementBlock as u } from "vue";
|
|
2
|
+
import { isHtml as x } from "../../composables/isHtml.js";
|
|
3
|
+
import { useMarkdown as C } from "../../composables/useMarkdown.js";
|
|
4
|
+
import { mdiVideo as E } from "@mdi/js";
|
|
5
|
+
import H from "../educationals/EpEdu.vue.js";
|
|
6
|
+
const M = ["innerHTML"], T = ["src"], W = ["src", "height"], S = /* @__PURE__ */ I({
|
|
7
|
+
__name: "EpVideo",
|
|
8
|
+
props: {
|
|
9
|
+
src: {},
|
|
10
|
+
title: {},
|
|
11
|
+
intentions: {},
|
|
12
|
+
credits: {},
|
|
13
|
+
mandateLevel: {},
|
|
14
|
+
type: { default: "neutral" },
|
|
15
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
16
|
+
labelIntentions: { default: "Intentions d'écoute" },
|
|
17
|
+
big: { type: Boolean }
|
|
18
|
+
},
|
|
19
|
+
setup(d) {
|
|
20
|
+
const t = d, m = g(), i = r(() => !!(t.src.endsWith(".mp4") || t.src.endsWith(".ogg") || t.src.endsWith(".webm"))), p = r(() => {
|
|
21
|
+
const e = t.src;
|
|
22
|
+
if (!i.value && e.includes("https://vimeo.com/"))
|
|
23
|
+
return e.replace("https://vimeo.com/", "https://player.vimeo.com/video/");
|
|
24
|
+
if (!i.value && e.includes("https://www.youtube.com/watch?"))
|
|
25
|
+
return e.replace(
|
|
26
|
+
"https://www.youtube.com/watch?v=",
|
|
27
|
+
"https://www.youtube.com/embed/"
|
|
28
|
+
);
|
|
29
|
+
if (!i.value && e.includes("https://youtu.be/")) {
|
|
30
|
+
const n = f(e);
|
|
31
|
+
if (n)
|
|
32
|
+
return `https://www.youtube.com/embed/${n}`;
|
|
33
|
+
}
|
|
34
|
+
return e;
|
|
35
|
+
}), s = r(() => t.intentions ? x(t.intentions) ? t.intentions : C(t.intentions) : null), f = (e) => {
|
|
36
|
+
const n = e.match(/\/([^\/]+)$/);
|
|
37
|
+
return n ? n[1] : null;
|
|
38
|
+
}, h = r(() => t.big ? "650" : "360"), { src: v, title: w, hideIcon: b, type: y, labelIntentions: _ } = k(t);
|
|
39
|
+
return (e, n) => (l(), L(H, {
|
|
40
|
+
title: o(w),
|
|
41
|
+
type: o(y),
|
|
42
|
+
hideIcon: o(b),
|
|
43
|
+
icon: o(E),
|
|
44
|
+
mandateLevel: e.mandateLevel,
|
|
45
|
+
labelIntentions: o(_)
|
|
46
|
+
}, B({
|
|
47
|
+
content: c(() => [
|
|
48
|
+
a("div", {
|
|
49
|
+
class: V(e.big ? "" : "max-w-screen-sm mx-auto")
|
|
50
|
+
}, [
|
|
51
|
+
i.value ? (l(), u("video", {
|
|
52
|
+
key: 0,
|
|
53
|
+
ref_key: "video",
|
|
54
|
+
ref: m,
|
|
55
|
+
controls: "",
|
|
56
|
+
src: o(v),
|
|
57
|
+
width: "100%",
|
|
58
|
+
controlsList: "nodownload"
|
|
59
|
+
}, null, 8, T)) : (l(), u("iframe", {
|
|
60
|
+
key: 1,
|
|
61
|
+
src: p.value,
|
|
62
|
+
width: "100%",
|
|
63
|
+
height: h.value,
|
|
64
|
+
frameborder: "0",
|
|
65
|
+
allowfullscreen: ""
|
|
66
|
+
}, null, 8, W))
|
|
67
|
+
], 2)
|
|
68
|
+
]),
|
|
69
|
+
_: 2
|
|
70
|
+
}, [
|
|
71
|
+
s.value && s.value.length > 0 ? {
|
|
72
|
+
name: "intentions",
|
|
73
|
+
fn: c(() => [
|
|
74
|
+
a("div", { innerHTML: s.value }, null, 8, M)
|
|
75
|
+
]),
|
|
76
|
+
key: "0"
|
|
77
|
+
} : void 0
|
|
78
|
+
]), 1032, ["title", "type", "hideIcon", "icon", "mandateLevel", "labelIntentions"]));
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
export {
|
|
82
|
+
S as default
|
|
83
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as f, computed as r, toRefs as p, createBlock as h, openBlock as v, unref as t, createSlots as _, withCtx as l, createElementVNode as o, normalizeClass as I } from "vue";
|
|
2
|
+
import { isHtml as b } from "../../composables/isHtml.js";
|
|
3
|
+
import { useMarkdown as y } from "../../composables/useMarkdown.js";
|
|
4
|
+
import { mdiVideo as L } from "@mdi/js";
|
|
5
|
+
import g from "../educationals/EpEdu.vue.js";
|
|
6
|
+
const w = ["innerHTML"], k = ["src", "height"], T = /* @__PURE__ */ f({
|
|
7
|
+
__name: "EpVideoPanopto",
|
|
8
|
+
props: {
|
|
9
|
+
src: {},
|
|
10
|
+
title: {},
|
|
11
|
+
intentions: {},
|
|
12
|
+
credits: {},
|
|
13
|
+
mandateLevel: {},
|
|
14
|
+
labelIntentions: { default: "Intentions d'écoute" },
|
|
15
|
+
type: { default: "neutral" },
|
|
16
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
17
|
+
big: { type: Boolean }
|
|
18
|
+
},
|
|
19
|
+
setup(s) {
|
|
20
|
+
const e = s, i = r(() => e.intentions ? b(e.intentions) ? e.intentions : y(e.intentions) : null), a = r(() => e.big ? "650" : "360"), { src: c, title: d, hideIcon: m, type: u } = p(e);
|
|
21
|
+
return (n, B) => (v(), h(g, {
|
|
22
|
+
title: t(d),
|
|
23
|
+
type: t(u),
|
|
24
|
+
hideIcon: t(m),
|
|
25
|
+
icon: t(L),
|
|
26
|
+
mandateLevel: n.mandateLevel,
|
|
27
|
+
labelIntentions: n.labelIntentions
|
|
28
|
+
}, _({
|
|
29
|
+
content: l(() => [
|
|
30
|
+
o("div", {
|
|
31
|
+
class: I(n.big ? "" : "max-w-screen-sm mx-auto")
|
|
32
|
+
}, [
|
|
33
|
+
o("iframe", {
|
|
34
|
+
src: t(c),
|
|
35
|
+
width: "100%",
|
|
36
|
+
height: a.value,
|
|
37
|
+
frameborder: "0",
|
|
38
|
+
allowfullscreen: ""
|
|
39
|
+
}, null, 8, k)
|
|
40
|
+
], 2)
|
|
41
|
+
]),
|
|
42
|
+
_: 2
|
|
43
|
+
}, [
|
|
44
|
+
i.value ? {
|
|
45
|
+
name: "intentions",
|
|
46
|
+
fn: l(() => [
|
|
47
|
+
o("div", { innerHTML: i.value }, null, 8, w)
|
|
48
|
+
]),
|
|
49
|
+
key: "0"
|
|
50
|
+
} : void 0
|
|
51
|
+
]), 1032, ["title", "type", "hideIcon", "icon", "mandateLevel", "labelIntentions"]));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
T as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { defineComponent as w, computed as d, ref as D, createElementBlock as n, openBlock as o, createElementVNode as t, toDisplayString as i, createCommentVNode as l, normalizeClass as c, Fragment as u, renderList as p, unref as f, createVNode as I } from "vue";
|
|
2
|
+
import V from "../basics/EpImg.vue.js";
|
|
3
|
+
import { useCreateUid as C } from "../../composables/useCreateUid.js";
|
|
4
|
+
import { useRenderText as h } from "../../composables/useRenderText.js";
|
|
5
|
+
import { useRouter as L } from "vue-router";
|
|
6
|
+
const R = ["id"], N = { key: 0 }, T = { class: "h-min border border-base rounded-lg divide-y" }, z = { class: "text-xl font-semibold p-2" }, H = { class: "flex justify-between" }, M = { class: "text-sm font-medium bg-base-light dark:text-dark p-2" }, $ = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "px-2 py-1"
|
|
9
|
+
}, j = { class: "text-sm font-medium bg-base-light dark:text-dark p-2" }, E = { class: "px-2 py-1" }, B = { class: "text-sm font-medium bg-base-light dark:text-dark p-2" }, q = { class: "px-2 py-1" }, F = ["innerHTML"], G = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "flex flex-row justify-between"
|
|
12
|
+
}, S = ["innerHTML"], U = { class: "flex w-1/2 justify-center p-2" }, W = { key: 0 }, x = { class: "text-sm font-medium bg-base-light dark:text-dark p-2" }, A = { class: "p-2" }, J = ["onClick"], K = { key: 1 }, te = /* @__PURE__ */ w({
|
|
13
|
+
__name: "EpWordDef",
|
|
14
|
+
props: {
|
|
15
|
+
uid: {},
|
|
16
|
+
term: {},
|
|
17
|
+
description: {},
|
|
18
|
+
content: {},
|
|
19
|
+
relation: {},
|
|
20
|
+
variation: {},
|
|
21
|
+
cols: { default: "10" },
|
|
22
|
+
labelInformation: { default: "Information grammaticale" },
|
|
23
|
+
labelDomain: { default: "Domaine" },
|
|
24
|
+
labelVariations: { default: "Variation(s)" },
|
|
25
|
+
labelRelations: { default: "Relations" },
|
|
26
|
+
labelNoDefinition: { default: "La definition n'est pas disponible" }
|
|
27
|
+
},
|
|
28
|
+
setup(v) {
|
|
29
|
+
const s = v, b = d(() => s.content ? s.content.domain || s.variation.length > 0 ? "w-1/3" : "w-full" : ""), g = d(() => s.variation ? s.variation.length > 0 ? "w-1/4" : "w-3/4" : ""), _ = d(() => s.content ? s.content.domain ? "w-2/4" : "w-3/4" : ""), m = L(), k = (e) => {
|
|
30
|
+
m.hasRoute("glossary") && m.push({ path: "/glossary", query: { word: e } });
|
|
31
|
+
}, y = D(s.uid || C());
|
|
32
|
+
return (e, O) => (o(), n("div", {
|
|
33
|
+
class: "dark:bg-dark",
|
|
34
|
+
id: y.value
|
|
35
|
+
}, [
|
|
36
|
+
e.term && e.description ? (o(), n("div", N, [
|
|
37
|
+
t("div", T, [
|
|
38
|
+
t("h2", z, i(e.term), 1),
|
|
39
|
+
t("div", H, [
|
|
40
|
+
t("div", {
|
|
41
|
+
class: c(b.value)
|
|
42
|
+
}, [
|
|
43
|
+
t("p", M, i(e.labelInformation), 1),
|
|
44
|
+
e.content.gramInfo ? (o(), n("div", $, i(e.content.gramInfo), 1)) : l("", !0)
|
|
45
|
+
], 2),
|
|
46
|
+
e.content.domain ? (o(), n("div", {
|
|
47
|
+
key: 0,
|
|
48
|
+
class: c(g.value)
|
|
49
|
+
}, [
|
|
50
|
+
t("p", j, i(e.labelDomain), 1),
|
|
51
|
+
t("div", E, i(e.content.domain), 1)
|
|
52
|
+
], 2)) : l("", !0),
|
|
53
|
+
e.variation.length > 0 ? (o(), n("div", {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: c(_.value)
|
|
56
|
+
}, [
|
|
57
|
+
t("p", B, i(e.labelVariations), 1),
|
|
58
|
+
t("div", q, [
|
|
59
|
+
(o(!0), n(u, null, p(e.variation, (a, r) => (o(), n("span", {
|
|
60
|
+
key: `v-${r}`
|
|
61
|
+
}, i(a) + i(e.variation.length > r + 1 ? ", " : "."), 1))), 128))
|
|
62
|
+
])
|
|
63
|
+
], 2)) : l("", !0)
|
|
64
|
+
]),
|
|
65
|
+
e.content.image ? (o(), n("div", G, [
|
|
66
|
+
t("div", {
|
|
67
|
+
class: "px-2 py-6",
|
|
68
|
+
innerHTML: f(h)(e.description)
|
|
69
|
+
}, null, 8, S),
|
|
70
|
+
t("div", U, [
|
|
71
|
+
I(V, {
|
|
72
|
+
src: e.content.image,
|
|
73
|
+
cols: e.cols
|
|
74
|
+
}, null, 8, ["src", "cols"])
|
|
75
|
+
])
|
|
76
|
+
])) : (o(), n("div", {
|
|
77
|
+
key: 0,
|
|
78
|
+
class: "px-2 py-6",
|
|
79
|
+
innerHTML: f(h)(e.description)
|
|
80
|
+
}, null, 8, F)),
|
|
81
|
+
t("div", null, [
|
|
82
|
+
e.relation.length > 0 ? (o(), n("div", W, [
|
|
83
|
+
t("p", x, i(e.labelRelations), 1),
|
|
84
|
+
t("div", A, [
|
|
85
|
+
(o(!0), n(u, null, p(e.relation, (a, r) => (o(), n("button", {
|
|
86
|
+
key: `relation-${r}`,
|
|
87
|
+
class: "p-1 border rounded mr-1",
|
|
88
|
+
onClick: (P) => k(a.termId)
|
|
89
|
+
}, i(a.term), 9, J))), 128))
|
|
90
|
+
])
|
|
91
|
+
])) : l("", !0)
|
|
92
|
+
])
|
|
93
|
+
])
|
|
94
|
+
])) : (o(), n("div", K, i(e.labelNoDefinition), 1))
|
|
95
|
+
], 8, R));
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
te as default
|
|
100
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineComponent as x, computed as t, toRefs as k, createElementBlock as u, createBlock as $, unref as o, openBlock as l, normalizeClass as a, createCommentVNode as d, createElementVNode as c, createVNode as b, toDisplayString as w, renderSlot as f, withCtx as B } from "vue";
|
|
2
|
+
import C from "../basics/EpIcon.vue.js";
|
|
3
|
+
import E from "../interactions/EpAccordeon.vue.js";
|
|
4
|
+
import { typeAlert as A, typeDivider as I } from "../../types/Alert.js";
|
|
5
|
+
import { useIcons as N } from "../../composables/useIcons.js";
|
|
6
|
+
const V = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "flex items-center justify-center w-1/12"
|
|
9
|
+
}, j = { class: "container" }, z = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "text-left text-2xl font-bold"
|
|
12
|
+
}, D = { class: "ep-info-box" }, S = { class: "ep-info-box" }, G = /* @__PURE__ */ x({
|
|
13
|
+
__name: "EpAlert",
|
|
14
|
+
props: {
|
|
15
|
+
type: { default: "base" },
|
|
16
|
+
title: { default: null },
|
|
17
|
+
outlined: { type: Boolean },
|
|
18
|
+
noIcon: { type: Boolean, default: !1 },
|
|
19
|
+
compact: { type: Boolean }
|
|
20
|
+
},
|
|
21
|
+
setup(m) {
|
|
22
|
+
const e = m, y = t(() => !e.outlined), p = t(() => e.outlined ? "default" : "outlined"), n = t(() => typeof e.type == "object" ? e.type.type : e.type), v = t(() => `${A[n.value]?.[p.value]}`), _ = t(() => `${I[n.value]?.[p.value]}`), r = t(() => {
|
|
23
|
+
let i = N[n.value].icon;
|
|
24
|
+
return e.noIcon ? null : i;
|
|
25
|
+
}), { title: s, compact: h, outlined: g } = k(e);
|
|
26
|
+
return (i, H) => o(h) ? (l(), $(E, {
|
|
27
|
+
key: 1,
|
|
28
|
+
type: n.value,
|
|
29
|
+
outlined: y.value,
|
|
30
|
+
icon: r.value,
|
|
31
|
+
title: o(s)
|
|
32
|
+
}, {
|
|
33
|
+
default: B(() => [
|
|
34
|
+
c("div", S, [
|
|
35
|
+
f(i.$slots, "default", {}, void 0, !0)
|
|
36
|
+
])
|
|
37
|
+
]),
|
|
38
|
+
_: 3
|
|
39
|
+
}, 8, ["type", "outlined", "icon", "title"])) : (l(), u("div", {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: a(`flex p-4 rounded shadow-md m-2 ${v.value}`)
|
|
42
|
+
}, [
|
|
43
|
+
r.value ? (l(), u("div", V, [
|
|
44
|
+
b(C, {
|
|
45
|
+
size: 40,
|
|
46
|
+
"icon-path": r.value
|
|
47
|
+
}, null, 8, ["icon-path"])
|
|
48
|
+
])) : d("", !0),
|
|
49
|
+
c("div", {
|
|
50
|
+
class: a(`${r.value ? "w-11/12" : "w-full"} flex items-center`)
|
|
51
|
+
}, [
|
|
52
|
+
c("div", j, [
|
|
53
|
+
o(s) ? (l(), u("h3", z, w(o(s)), 1)) : d("", !0),
|
|
54
|
+
o(s) ? (l(), u("hr", {
|
|
55
|
+
key: 1,
|
|
56
|
+
class: a(`w-full my-3 border ${_.value}`)
|
|
57
|
+
}, null, 2)) : d("", !0),
|
|
58
|
+
c("div", D, [
|
|
59
|
+
f(i.$slots, "default", {}, void 0, !0)
|
|
60
|
+
])
|
|
61
|
+
])
|
|
62
|
+
], 2)
|
|
63
|
+
], 2));
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
G as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { defineComponent as s, computed as t, createElementBlock as c, openBlock as d, renderSlot as m, createElementVNode as f, normalizeClass as p, toDisplayString as v } from "vue";
|
|
2
|
+
import { typeBadge as y } from "../../types/Badge.js";
|
|
3
|
+
const g = { class: "group relative w-max" }, V = /* @__PURE__ */ s({
|
|
4
|
+
__name: "EpBadge",
|
|
5
|
+
props: {
|
|
6
|
+
content: {},
|
|
7
|
+
mode: { default: "default" },
|
|
8
|
+
placement: { default: "top_right" },
|
|
9
|
+
visibility: { default: "true" },
|
|
10
|
+
color: { default: "primary" },
|
|
11
|
+
maxValue: { default: 0 }
|
|
12
|
+
},
|
|
13
|
+
setup(l) {
|
|
14
|
+
const e = l, n = t(() => e.placement), r = t(() => {
|
|
15
|
+
if (e.mode == "dot")
|
|
16
|
+
return "";
|
|
17
|
+
if (e.visibility == "false")
|
|
18
|
+
return "";
|
|
19
|
+
if (e.content != 0)
|
|
20
|
+
return e.content > e.maxValue && e.maxValue != 0 ? e.maxValue + "+" : e.content;
|
|
21
|
+
}), a = t(() => e.visibility == "true" ? e.mode : "hide"), o = t(() => "bg-" + e.color), i = t(() => `${y[n.value]?.[a.value]}`);
|
|
22
|
+
return (u, _) => (d(), c("div", g, [
|
|
23
|
+
m(u.$slots, "default"),
|
|
24
|
+
f("div", {
|
|
25
|
+
class: p(`${i.value} ${o.value}`)
|
|
26
|
+
}, v(r.value), 3)
|
|
27
|
+
]));
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export {
|
|
31
|
+
V as default
|
|
32
|
+
};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { defineComponent as z, computed as y, toRefs as S, createElementBlock as i, openBlock as l, normalizeClass as a, unref as t, createElementVNode as s, createCommentVNode as o, createVNode as b, normalizeStyle as k, createBlock as d, withCtx as c, createTextVNode as u, toDisplayString as r, renderSlot as j } from "vue";
|
|
2
|
+
import { mdiCast as v, mdiTimerOutline as _, mdiChairSchool as x, mdiChevronDown as A } from "@mdi/js";
|
|
3
|
+
import N from "../tools/SvgFilter.vue.js";
|
|
4
|
+
import T from "../basics/EpIcon.vue.js";
|
|
5
|
+
import m from "../basics/EpChip.vue.js";
|
|
6
|
+
const V = { class: "flex md:justify-end justify-center pt-5" }, E = { class: "text-center md:text-left" }, F = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "text-3xl font-medium text-white sm:text-3xl"
|
|
9
|
+
}, P = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "max-w-xl mt-4 text-2xl text-white contrast-50"
|
|
12
|
+
}, D = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "animate-bounce absolute bottom-10 left-1/2"
|
|
15
|
+
}, H = { key: 1 }, O = { class: "text-center md:text-left mt-16 mb-32" }, R = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-100"
|
|
18
|
+
}, q = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "w-1/2 mt-4 text-gray-500 dark:text-gray-300"
|
|
21
|
+
}, G = { key: 2 }, J = { class: "flex flex-col-reverse lg:flex-row items-stretch" }, K = { class: "basis-1/2 bg-gray-100 dark:bg-base-dark lg:min-h-48 p-4" }, L = { class: "flex justify-start pt-0 mb-4" }, M = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight text-gray-900 dark:text-white"
|
|
24
|
+
}, Q = {
|
|
25
|
+
key: 1,
|
|
26
|
+
class: "mt-4 text-xl text-gray-600 dark:text-white"
|
|
27
|
+
}, U = { class: "mt-4" }, W = { class: "basis-1/2" }, X = ["src"], Y = "w-8/12", re = /* @__PURE__ */ z({
|
|
28
|
+
__name: "EpHeader",
|
|
29
|
+
props: {
|
|
30
|
+
title: { default: null },
|
|
31
|
+
subtitle: {},
|
|
32
|
+
icon: { default: null },
|
|
33
|
+
courseCode: {},
|
|
34
|
+
courseTitle: {},
|
|
35
|
+
big: { type: [Boolean, null], default: !1 },
|
|
36
|
+
src: { default: null },
|
|
37
|
+
synchrone: { type: Boolean, default: !1 },
|
|
38
|
+
hideImg: { type: Boolean, default: !1 },
|
|
39
|
+
duration: { default: null },
|
|
40
|
+
assessment: { default: null },
|
|
41
|
+
headerImgColor: {},
|
|
42
|
+
labels: { default: () => ({
|
|
43
|
+
synchrone: "Synchrone",
|
|
44
|
+
formatif: "Formatif"
|
|
45
|
+
}) },
|
|
46
|
+
textBg: { type: Boolean, default: !0 },
|
|
47
|
+
type: { default: "imgBg" },
|
|
48
|
+
titlePosition: { default: "center" },
|
|
49
|
+
vAlign: { default: "items-center" },
|
|
50
|
+
hAlign: { default: "justify-center" }
|
|
51
|
+
},
|
|
52
|
+
emits: ["clicked"],
|
|
53
|
+
setup(w, { emit: I }) {
|
|
54
|
+
const f = w, $ = y(() => `
|
|
55
|
+
flex
|
|
56
|
+
flex-col
|
|
57
|
+
overflow-hidden
|
|
58
|
+
w-full
|
|
59
|
+
absolute
|
|
60
|
+
${f.big ? "min-h-screen" : "h-96"}
|
|
61
|
+
bg-cover
|
|
62
|
+
bg-center`), h = y(() => f.src ? f.src : "https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg"), B = I, C = () => {
|
|
63
|
+
B("clicked");
|
|
64
|
+
}, { title: n, headerImgColor: p, big: g } = S(f);
|
|
65
|
+
return (e, Z) => e.type === "imgBg" ? (l(), i("header", {
|
|
66
|
+
key: 0,
|
|
67
|
+
class: a(`${t(g) ? "h-screen " : "h-96"} items-center overflow-hidden relative `),
|
|
68
|
+
ref: "el"
|
|
69
|
+
}, [
|
|
70
|
+
s("div", {
|
|
71
|
+
class: a($.value),
|
|
72
|
+
style: k(`background-image:url('${h.value}'); filter:url(#${t(p)});`)
|
|
73
|
+
}, null, 6),
|
|
74
|
+
s("div", {
|
|
75
|
+
class: a(`relative ${t(g) ? "mb-36" : ""} h-full items-end`)
|
|
76
|
+
}, [
|
|
77
|
+
s("div", V, [
|
|
78
|
+
e.synchrone ? (l(), d(m, {
|
|
79
|
+
key: 0,
|
|
80
|
+
prependIcon: t(v),
|
|
81
|
+
size: "small"
|
|
82
|
+
}, {
|
|
83
|
+
default: c(() => [
|
|
84
|
+
u(r(e.labels.synchrone), 1)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["prependIcon"])) : o("", !0),
|
|
88
|
+
e.duration ? (l(), d(m, {
|
|
89
|
+
key: 1,
|
|
90
|
+
prependIcon: t(_),
|
|
91
|
+
size: "small"
|
|
92
|
+
}, {
|
|
93
|
+
default: c(() => [
|
|
94
|
+
u(r(e.duration), 1)
|
|
95
|
+
]),
|
|
96
|
+
_: 1
|
|
97
|
+
}, 8, ["prependIcon"])) : o("", !0),
|
|
98
|
+
e.assessment ? (l(), d(m, {
|
|
99
|
+
key: 2,
|
|
100
|
+
prependIcon: t(x),
|
|
101
|
+
size: "small"
|
|
102
|
+
}, {
|
|
103
|
+
default: c(() => [
|
|
104
|
+
u(r(e.labels.formatif), 1)
|
|
105
|
+
]),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["prependIcon"])) : o("", !0)
|
|
108
|
+
]),
|
|
109
|
+
s("div", {
|
|
110
|
+
class: a(`${e.vAlign} ${e.hAlign} flex w-full grow h-96 `)
|
|
111
|
+
}, [
|
|
112
|
+
s("div", {
|
|
113
|
+
class: a(`${Y}`)
|
|
114
|
+
}, [
|
|
115
|
+
t(n) || e.subtitle ? (l(), i("div", {
|
|
116
|
+
key: 0,
|
|
117
|
+
class: a(`${e.textBg ? "inline-block backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded" : ""} p-4 md:items-center`)
|
|
118
|
+
}, [
|
|
119
|
+
s("div", E, [
|
|
120
|
+
t(n) ? (l(), i("h1", F, r(t(n)), 1)) : o("", !0),
|
|
121
|
+
e.subtitle ? (l(), i("h2", P, r(e.subtitle), 1)) : o("", !0)
|
|
122
|
+
])
|
|
123
|
+
], 2)) : o("", !0)
|
|
124
|
+
], 2)
|
|
125
|
+
], 2)
|
|
126
|
+
], 2),
|
|
127
|
+
f.big ? (l(), i("div", D, [
|
|
128
|
+
s("div", {
|
|
129
|
+
class: "mx-auto w-12 bg-white dark:text-black rounded-full p-2",
|
|
130
|
+
onClick: C
|
|
131
|
+
}, [
|
|
132
|
+
b(T, {
|
|
133
|
+
iconPath: t(A),
|
|
134
|
+
size: "32"
|
|
135
|
+
}, null, 8, ["iconPath"])
|
|
136
|
+
])
|
|
137
|
+
])) : o("", !0),
|
|
138
|
+
b(N)
|
|
139
|
+
], 2)) : e.type === "simple" ? (l(), i("header", H, [
|
|
140
|
+
s("div", O, [
|
|
141
|
+
t(n) ? (l(), i("h1", R, r(t(n)), 1)) : o("", !0),
|
|
142
|
+
e.subtitle ? (l(), i("h2", q, r(e.subtitle), 1)) : o("", !0)
|
|
143
|
+
])
|
|
144
|
+
])) : (l(), i("header", G, [
|
|
145
|
+
s("div", J, [
|
|
146
|
+
s("div", K, [
|
|
147
|
+
s("div", L, [
|
|
148
|
+
e.synchrone ? (l(), d(m, {
|
|
149
|
+
key: 0,
|
|
150
|
+
prependIcon: t(v),
|
|
151
|
+
size: "small"
|
|
152
|
+
}, {
|
|
153
|
+
default: c(() => [
|
|
154
|
+
u(r(e.labels.synchrone), 1)
|
|
155
|
+
]),
|
|
156
|
+
_: 1
|
|
157
|
+
}, 8, ["prependIcon"])) : o("", !0),
|
|
158
|
+
e.duration ? (l(), d(m, {
|
|
159
|
+
key: 1,
|
|
160
|
+
prependIcon: t(_),
|
|
161
|
+
size: "small"
|
|
162
|
+
}, {
|
|
163
|
+
default: c(() => [
|
|
164
|
+
u(r(e.duration), 1)
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
}, 8, ["prependIcon"])) : o("", !0),
|
|
168
|
+
e.assessment ? (l(), d(m, {
|
|
169
|
+
key: 2,
|
|
170
|
+
prependIcon: t(x),
|
|
171
|
+
size: "small"
|
|
172
|
+
}, {
|
|
173
|
+
default: c(() => [
|
|
174
|
+
u(r(e.labels.formatif), 1)
|
|
175
|
+
]),
|
|
176
|
+
_: 1
|
|
177
|
+
}, 8, ["prependIcon"])) : o("", !0)
|
|
178
|
+
]),
|
|
179
|
+
s("div", {
|
|
180
|
+
class: a(`${e.vAlign} flex h-full pb-8 max-w-3xl`)
|
|
181
|
+
}, [
|
|
182
|
+
s("div", null, [
|
|
183
|
+
t(n) ? (l(), i("h1", M, r(t(n)), 1)) : o("", !0),
|
|
184
|
+
e.subtitle ? (l(), i("p", Q, r(e.subtitle), 1)) : o("", !0),
|
|
185
|
+
s("div", U, [
|
|
186
|
+
j(e.$slots, "default")
|
|
187
|
+
])
|
|
188
|
+
])
|
|
189
|
+
], 2)
|
|
190
|
+
]),
|
|
191
|
+
s("div", W, [
|
|
192
|
+
s("img", {
|
|
193
|
+
src: h.value,
|
|
194
|
+
alt: "",
|
|
195
|
+
class: "h-32 lg:h-full size-full object-cover",
|
|
196
|
+
style: k(`filter:url(#${t(p)});`)
|
|
197
|
+
}, null, 12, X)
|
|
198
|
+
])
|
|
199
|
+
])
|
|
200
|
+
]));
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
export {
|
|
204
|
+
re as default
|
|
205
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as o } from "vue";
|
|
2
|
+
import r from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const t = {};
|
|
4
|
+
function c(n, _) {
|
|
5
|
+
return o(), e("div", null, "no data");
|
|
6
|
+
}
|
|
7
|
+
const m = /* @__PURE__ */ r(t, [["render", c]]);
|
|
8
|
+
export {
|
|
9
|
+
m as default
|
|
10
|
+
};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { defineComponent as y, computed as s, toRefs as w, createElementBlock as a, openBlock as d, normalizeClass as o, unref as e, createVNode as n, withCtx as v, createElementVNode as r, createCommentVNode as u, renderSlot as g, Fragment as k, toDisplayString as $ } from "vue";
|
|
2
|
+
import b from "../basics/EpCard.vue.js";
|
|
3
|
+
import B from "../basics/EpDivider.vue.js";
|
|
4
|
+
import C from "../basics/EpIcon.vue.js";
|
|
5
|
+
import { mdiFormatQuoteOpen as z } from "@mdi/js";
|
|
6
|
+
const E = {
|
|
7
|
+
class: /* @__PURE__ */ o("md:flex md:flex-wrap rounded-md")
|
|
8
|
+
}, I = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "w-1/5 mr-6"
|
|
11
|
+
}, N = ["src"], S = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "flex items-center justify-center px-7"
|
|
14
|
+
}, A = /* @__PURE__ */ y({
|
|
15
|
+
__name: "EpQuote",
|
|
16
|
+
props: {
|
|
17
|
+
author: { default: null },
|
|
18
|
+
img: { default: null },
|
|
19
|
+
card: { type: Boolean, default: !1 },
|
|
20
|
+
hideIcon: { type: Boolean, default: !1 }
|
|
21
|
+
},
|
|
22
|
+
setup(f) {
|
|
23
|
+
const l = f, p = s(() => {
|
|
24
|
+
if (l.card)
|
|
25
|
+
return "text-white";
|
|
26
|
+
}), h = s(() => l.card ? "text-white" : "text-black dark:text-white"), _ = s(() => l.card ? "md:rounded-lg" : "md:rounded-l-md"), { author: c, img: i, card: t, hideIcon: m } = w(l);
|
|
27
|
+
return (x, V) => (d(), a("div", {
|
|
28
|
+
class: o(e(t) ? "w-4/6 mx-auto" : "")
|
|
29
|
+
}, [
|
|
30
|
+
n(b, {
|
|
31
|
+
density: e(t) ? "default" : "compact",
|
|
32
|
+
outlined: !e(t),
|
|
33
|
+
color: e(t) ? "primary" : "bg-white"
|
|
34
|
+
}, {
|
|
35
|
+
default: v(() => [
|
|
36
|
+
r("div", E, [
|
|
37
|
+
e(i) ? (d(), a("div", I, [
|
|
38
|
+
r("img", {
|
|
39
|
+
class: o(`${_.value} md:w-full md:h-full md:object-cover md:rounded-l-md`),
|
|
40
|
+
src: e(i),
|
|
41
|
+
alt: "Image of quote"
|
|
42
|
+
}, null, 10, N)
|
|
43
|
+
])) : e(m) ? u("", !0) : (d(), a("div", S, [
|
|
44
|
+
r("div", {
|
|
45
|
+
class: o(e(t) ? "text-white" : "text-base dark:text-white")
|
|
46
|
+
}, [
|
|
47
|
+
n(C, {
|
|
48
|
+
size: 60,
|
|
49
|
+
"icon-path": e(z)
|
|
50
|
+
}, null, 8, ["icon-path"])
|
|
51
|
+
], 2)
|
|
52
|
+
])),
|
|
53
|
+
r("div", {
|
|
54
|
+
class: o(`py-6 flex-1 ${p.value} ${e(m) ? "px-6" : "pr-2"}`)
|
|
55
|
+
}, [
|
|
56
|
+
g(x.$slots, "default"),
|
|
57
|
+
e(c) ? (d(), a(k, { key: 0 }, [
|
|
58
|
+
n(B, {
|
|
59
|
+
size: "border",
|
|
60
|
+
color: e(t) ? "white" : "base"
|
|
61
|
+
}, null, 8, ["color"]),
|
|
62
|
+
r("p", {
|
|
63
|
+
class: o(`italic ${h.value}`)
|
|
64
|
+
}, $(e(c)), 3)
|
|
65
|
+
], 64)) : u("", !0)
|
|
66
|
+
], 2)
|
|
67
|
+
])
|
|
68
|
+
]),
|
|
69
|
+
_: 3
|
|
70
|
+
}, 8, ["density", "outlined", "color"])
|
|
71
|
+
], 2));
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
export {
|
|
75
|
+
A as default
|
|
76
|
+
};
|