ep-lib-ts 1.0.56 → 1.0.58
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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/{types/Answer.d.ts → Answer.d.ts} +0 -1
- package/dist/{types/Hierarchy.d.ts → Hierarchy.d.ts} +0 -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-CW-dKJx2.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} +8 -8
- 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 +4 -0
- package/dist/components/tools/BgAudio.vue2.js +59 -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/testImg.jpg +0 -0
- package/dist/testMaria.jpg +0 -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/dist/vite.svg +0 -0
- package/package.json +84 -60
- package/.vscode/extensions.json +0 -3
- package/dist/BgAudio-i5PTLf0N.js +0 -4
- package/dist/Details-CS8Nyb_l.js +0 -4
- package/dist/DisplayBox-DirIshZw.js +0 -4
- package/dist/EpAudio-D2jZ4_2i.js +0 -4
- package/dist/EpAvatar-M02jfvFI.js +0 -4
- package/dist/EpBadge-BF-0h8Dh.js +0 -4
- package/dist/EpBarChart-BXNhTphT.js +0 -4
- package/dist/EpBtn-BoYPhKqX.js +0 -4
- package/dist/EpCard-CqnilIcE.js +0 -4
- package/dist/EpCardLink--_rDAa_E.js +0 -4
- package/dist/EpChip-C0cD6KFV.js +0 -4
- package/dist/EpCodeblock-GIrYPq6y.js +0 -4
- package/dist/EpConclusion-CUK9mpAC.js +0 -4
- package/dist/EpContentSlider-BlEFJulk.js +0 -4
- package/dist/EpDescription-BgtOpi53.js +0 -4
- package/dist/EpDivider-Op2QoptS.js +0 -4
- package/dist/EpDocument-MlNE59Qa.js +0 -4
- package/dist/EpDraggable-xB2wuyS9.js +0 -1676
- package/dist/EpEdu-DVW8x_BG.js +0 -4
- package/dist/EpFlex-B8IJkl_8.js +0 -4
- package/dist/EpFunnelChart-D1ptPhFl.js +0 -4
- package/dist/EpHeader-CMjLr9JM.js +0 -4
- package/dist/EpHover-Bblofuek.js +0 -4
- package/dist/EpHoverCard-bjn3lnwj.js +0 -4
- package/dist/EpIcon-DhwQi6Au.js +0 -4
- package/dist/EpIframe-B6SRnvUu.js +0 -4
- package/dist/EpImg-DzvIdzyz.js +0 -4
- package/dist/EpImgCarousel-DBf1h-5X.js +0 -4
- package/dist/EpInput-C0CMBUXe.js +0 -1095
- package/dist/EpInstructions-BrGtuXF0.js +0 -4
- package/dist/EpIntroduction-CqZ-4NpR.js +0 -4
- package/dist/EpLineChart-C4d_gdV7.js +0 -4
- package/dist/EpLink-oaKKn4qV.js +0 -4
- package/dist/EpLinkVersion-sfPy24Q2.js +0 -4
- package/dist/EpList-WwXeYUBm.js +0 -12
- package/dist/EpListitem-DXh4Kniu.js +0 -37
- package/dist/EpLottieSvg-NNSQLDpl.js +0 -1971
- package/dist/EpModal-BFqQKJTz.js +0 -4
- package/dist/EpNothing-C7vQO8hI.js +0 -10
- package/dist/EpObjective-C-c4gSvJ.js +0 -4
- package/dist/EpPieChart-B2mmQPO0.js +0 -4
- package/dist/EpQuestion-BMaqguZl.js +0 -4
- package/dist/EpQuote-CmpgynGk.js +0 -4
- package/dist/EpRadio-CUCgpUd_.js +0 -4
- package/dist/EpRadioSummative-DZNPH8SS.js +0 -4
- package/dist/EpReading-C_Puu9TF.js +0 -4
- package/dist/EpResource-YGl2YYa7.js +0 -4
- package/dist/EpScope-Bp8GVIxi.js +0 -4
- package/dist/EpSection-BCWwtKzA.js +0 -4
- package/dist/EpSectionCols-B1jykYrm.js +0 -4
- package/dist/EpSkeleton-VIzyuHgV.js +0 -4
- package/dist/EpSoftware-DR-Xei3P.js +0 -4
- package/dist/EpSpecificObjective-BzXora8y.js +0 -4
- package/dist/EpSpinner-BdhlSybk.js +0 -4
- package/dist/EpStackedList-hI9ca8KS.js +0 -4
- package/dist/EpSummativeTable-uPZf61d-.js +0 -4
- package/dist/EpSvg-TMco7bdD.js +0 -4
- package/dist/EpSvgShow-BcbojKsh.js +0 -4
- package/dist/EpSwitch-DtQon_hm.js +0 -64
- package/dist/EpTable-D8hV58AR.js +0 -4
- package/dist/EpTerm-BEi5nmEU.js +0 -4
- package/dist/EpText-D5p3vydP.js +0 -4
- package/dist/EpTimeLine-sgB1Bt70.js +0 -4
- package/dist/EpVideo-CLG17rgW.js +0 -4
- package/dist/EpVideoPanopto-CkY4bRjs.js +0 -4
- package/dist/EpWordDef-CrYgSmrV.js +0 -4
- package/dist/TextMedia-CtH3oJ5E.js +0 -4
- package/dist/TwoColsMedia-Di0IhDFz.js +0 -48
- 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/components/tools/TwoColsMedia.vue.d.ts +0 -27
- 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-4g-JMv7A.js +0 -24658
- package/dist/index-CLaGcnM3.js +0 -49358
- package/dist/index-CO05CQPt.js +0 -3430
- package/dist/index.d.ts +0 -60
- package/dist/main.d.ts +0 -1
- package/dist/prism-B3HCGkuN.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 -109
- 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/src/components/tools/TwoColsMedia.vue +0 -52
- /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,73 @@
|
|
|
1
|
+
import { defineComponent as p, computed as l, toRefs as _, createBlock as h, openBlock as v, unref as e, createSlots as I, withCtx as o, createElementVNode as n, createVNode as b, toDisplayString as k, normalizeClass as y } from "vue";
|
|
2
|
+
import w from "../basics/EpBtn.vue.js";
|
|
3
|
+
import { mdiLinkVariant as C } from "@mdi/js";
|
|
4
|
+
import L from "../educationals/EpEdu.vue.js";
|
|
5
|
+
import g from "../../composables/useColors.js";
|
|
6
|
+
import { useRenderText as x } from "../../composables/useRenderText.js";
|
|
7
|
+
const z = ["innerHTML"], B = { class: "flex justify-center" }, T = { class: "w-4/5" }, V = { class: "font-medium tracking-wider" }, S = /* @__PURE__ */ p({
|
|
8
|
+
__name: "EpLink",
|
|
9
|
+
props: {
|
|
10
|
+
url: {},
|
|
11
|
+
title: {},
|
|
12
|
+
intentions: {},
|
|
13
|
+
mandateLevel: {},
|
|
14
|
+
labelIntentions: {},
|
|
15
|
+
type: { default: "neutral" },
|
|
16
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
17
|
+
labelCard: {},
|
|
18
|
+
icon: {}
|
|
19
|
+
},
|
|
20
|
+
setup(s) {
|
|
21
|
+
const t = s, i = l(() => t.icon ? t.icon : C), c = l(() => `absolute ${g(
|
|
22
|
+
"bg",
|
|
23
|
+
"primarydark"
|
|
24
|
+
)} bottom-0 w-0 left-1/2 h-full -translate-x-1/2 transition-all ease-in-out duration-300 group-hover:w-[105%] -z-[1] group-focus:w-[105%]`), { url: d, title: u, intentions: r, mandateLevel: m, hideIcon: f } = _(t);
|
|
25
|
+
return (a, $) => (v(), h(L, {
|
|
26
|
+
title: a.labelCard,
|
|
27
|
+
icon: i.value,
|
|
28
|
+
flat: "",
|
|
29
|
+
hideIcon: e(f),
|
|
30
|
+
mandateLevel: e(m),
|
|
31
|
+
labelIntentions: a.labelIntentions
|
|
32
|
+
}, I({
|
|
33
|
+
content: o(() => [
|
|
34
|
+
n("div", B, [
|
|
35
|
+
n("div", T, [
|
|
36
|
+
b(w, {
|
|
37
|
+
block: "",
|
|
38
|
+
rounded: "",
|
|
39
|
+
type: "primary",
|
|
40
|
+
prependIcon: i.value,
|
|
41
|
+
href: e(d),
|
|
42
|
+
extraClass: "group font-medium tracking-wide relative inline-flex justify-center overflow-hidden z-10 transition-all duration-300 ease-in-out "
|
|
43
|
+
}, {
|
|
44
|
+
default: o(() => [
|
|
45
|
+
n("div", null, [
|
|
46
|
+
n("span", V, k(e(u)), 1),
|
|
47
|
+
n("span", {
|
|
48
|
+
class: y(c.value)
|
|
49
|
+
}, null, 2)
|
|
50
|
+
])
|
|
51
|
+
]),
|
|
52
|
+
_: 1
|
|
53
|
+
}, 8, ["prependIcon", "href"])
|
|
54
|
+
])
|
|
55
|
+
])
|
|
56
|
+
]),
|
|
57
|
+
_: 2
|
|
58
|
+
}, [
|
|
59
|
+
e(r) ? {
|
|
60
|
+
name: "intentions",
|
|
61
|
+
fn: o(() => [
|
|
62
|
+
n("div", {
|
|
63
|
+
innerHTML: e(x)(e(r))
|
|
64
|
+
}, null, 8, z)
|
|
65
|
+
]),
|
|
66
|
+
key: "0"
|
|
67
|
+
} : void 0
|
|
68
|
+
]), 1032, ["title", "icon", "hideIcon", "mandateLevel", "labelIntentions"]));
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export {
|
|
72
|
+
S as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as m, toRefs as p, createElementBlock as o, unref as t, openBlock as i, createVNode as l, toDisplayString as _ } from "vue";
|
|
2
|
+
import f from "./EpLink.vue.js";
|
|
3
|
+
import d from "./EpIframe.vue.js";
|
|
4
|
+
const h = { key: 0 }, g = { key: 1 }, k = { key: 2 }, D = /* @__PURE__ */ m({
|
|
5
|
+
__name: "EpLinkVersion",
|
|
6
|
+
props: {
|
|
7
|
+
type: {},
|
|
8
|
+
link: {},
|
|
9
|
+
big: { type: Boolean, default: !1 },
|
|
10
|
+
customHeight: {},
|
|
11
|
+
labels: { default: () => ({
|
|
12
|
+
noData: "no data"
|
|
13
|
+
}) }
|
|
14
|
+
},
|
|
15
|
+
setup(s) {
|
|
16
|
+
const r = s, { type: n, link: e, big: a, customHeight: c } = p(r);
|
|
17
|
+
return (u, b) => t(n) === "button" ? (i(), o("div", h, [
|
|
18
|
+
l(f, {
|
|
19
|
+
title: t(e).title,
|
|
20
|
+
url: t(e).url
|
|
21
|
+
}, null, 8, ["title", "url"])
|
|
22
|
+
])) : t(n) === "iframe" ? (i(), o("div", g, [
|
|
23
|
+
l(d, {
|
|
24
|
+
title: t(e).title,
|
|
25
|
+
src: t(e).url,
|
|
26
|
+
big: t(a),
|
|
27
|
+
"custom-height": t(c)
|
|
28
|
+
}, null, 8, ["title", "src", "big", "custom-height"])
|
|
29
|
+
])) : (i(), o("div", k, _(u.labels.noData), 1));
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
D as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as i, ref as p, watchEffect as f, createElementBlock as s, openBlock as u, createVNode as y, createCommentVNode as d, unref as c, normalizeStyle as m, toDisplayString as v } from "vue";
|
|
2
|
+
import { DotLottieVue as h } from "@lottiefiles/dotlottie-vue";
|
|
3
|
+
const g = { class: "flex flex-col items-center" }, L = /* @__PURE__ */ i({
|
|
4
|
+
__name: "EpLottieSvg",
|
|
5
|
+
props: {
|
|
6
|
+
src: {},
|
|
7
|
+
autoPlay: { type: Boolean, default: !1 },
|
|
8
|
+
loop: { type: Boolean, default: !1 },
|
|
9
|
+
speed: { default: 1 },
|
|
10
|
+
width: { default: 150 },
|
|
11
|
+
height: { default: 150 },
|
|
12
|
+
pauseOnClick: { type: Boolean, default: !1 },
|
|
13
|
+
pauseButton: { type: Boolean, default: !1 },
|
|
14
|
+
playOnHover: { type: Boolean, default: !1 },
|
|
15
|
+
onComplete: {}
|
|
16
|
+
},
|
|
17
|
+
setup(r) {
|
|
18
|
+
const o = r, l = p(o.autoPlay ? "Arrêter" : "Jouer"), t = p(null), a = () => {
|
|
19
|
+
t.value && (t.value.getDotLottieInstance().isPlaying ? (t.value.getDotLottieInstance().pause(), l.value = "Jouer") : (t.value.getDotLottieInstance().play(), l.value = "Arrêter"));
|
|
20
|
+
};
|
|
21
|
+
return f(() => {
|
|
22
|
+
t.value && t.value.getDotLottieInstance().addEventListener("complete", () => {
|
|
23
|
+
o.onComplete && o.onComplete();
|
|
24
|
+
});
|
|
25
|
+
}), (e, n) => (u(), s("div", g, [
|
|
26
|
+
y(c(h), {
|
|
27
|
+
src: e.src,
|
|
28
|
+
loop: e.loop,
|
|
29
|
+
autoplay: e.autoPlay,
|
|
30
|
+
style: m(`width: ${e.width}px; height: ${e.height}px;`),
|
|
31
|
+
speed: Number(e.speed),
|
|
32
|
+
"play-on-hover": e.playOnHover,
|
|
33
|
+
ref_key: "playerRef",
|
|
34
|
+
ref: t,
|
|
35
|
+
onClick: n[0] || (n[0] = (B) => e.pauseOnClick ? a() : "")
|
|
36
|
+
}, null, 8, ["src", "loop", "autoplay", "style", "speed", "play-on-hover"]),
|
|
37
|
+
e.pauseButton ? (u(), s("button", {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: "rounded bg-blue-500 text-white py-2 px-4 min-w-28 my-3",
|
|
40
|
+
onClick: a
|
|
41
|
+
}, v(l.value), 1)) : d("", !0)
|
|
42
|
+
]));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
L as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { defineComponent as p, ref as l, watchEffect as d, createElementBlock as i, openBlock as o, createVNode as u, createBlock as h, createCommentVNode as n, Teleport as b, unref as f, normalizeClass as g } from "vue";
|
|
2
|
+
import v from "../basics/EpImg.vue.js";
|
|
3
|
+
import k from "../basics/EpIcon.vue.js";
|
|
4
|
+
import { mdiEyeOffOutline as w } from "@mdi/js";
|
|
5
|
+
import { useRenderText as y } from "../../composables/useRenderText.js";
|
|
6
|
+
const N = { class: "relative" }, C = ["innerHTML"], $ = /* @__PURE__ */ p({
|
|
7
|
+
__name: "EpSensibleImage",
|
|
8
|
+
props: {
|
|
9
|
+
src: {},
|
|
10
|
+
label: { default: "<h5>Ce contenu est sensible</h5><p>Cliquez pour afficher l'image.</p>" },
|
|
11
|
+
alt: { default: "Image snfas" },
|
|
12
|
+
height: {},
|
|
13
|
+
width: {},
|
|
14
|
+
caption: {},
|
|
15
|
+
bib: {},
|
|
16
|
+
title: {},
|
|
17
|
+
cols: { default: "6" }
|
|
18
|
+
},
|
|
19
|
+
setup(E) {
|
|
20
|
+
const a = l(null), r = l(null), c = l(!1);
|
|
21
|
+
d(() => {
|
|
22
|
+
const e = a.value?.imgEl;
|
|
23
|
+
if (e && e.parentNode) {
|
|
24
|
+
const t = e.parentNode;
|
|
25
|
+
t instanceof HTMLElement && (t.classList.contains("sensible-content") || (t.classList.add("sensible-content"), c.value = !0, r.value = t));
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const s = l(!1), m = () => {
|
|
29
|
+
s.value || (s.value = !0);
|
|
30
|
+
};
|
|
31
|
+
return (e, t) => (o(), i("div", N, [
|
|
32
|
+
u(v, {
|
|
33
|
+
ref_key: "epImg",
|
|
34
|
+
ref: a,
|
|
35
|
+
src: e.src,
|
|
36
|
+
alt: e.alt,
|
|
37
|
+
height: e.height,
|
|
38
|
+
width: e.width,
|
|
39
|
+
caption: e.caption,
|
|
40
|
+
bib: e.bib,
|
|
41
|
+
title: e.title,
|
|
42
|
+
cols: e.cols,
|
|
43
|
+
"no-modal": ""
|
|
44
|
+
}, null, 8, ["src", "alt", "height", "width", "caption", "bib", "title", "cols"]),
|
|
45
|
+
c.value ? (o(), h(b, {
|
|
46
|
+
key: 0,
|
|
47
|
+
to: r.value
|
|
48
|
+
}, [
|
|
49
|
+
s.value ? n("", !0) : (o(), i("div", {
|
|
50
|
+
key: 0,
|
|
51
|
+
id: "overlay",
|
|
52
|
+
class: "text-white absolute z-3 top-0 left-0 w-full h-full inset-0 bg-black/50 backdrop-blur-2xl flex flex-col gap-2 justify-center items-center text-center",
|
|
53
|
+
onClick: m
|
|
54
|
+
}, [
|
|
55
|
+
u(k, {
|
|
56
|
+
size: `${Number(e.cols) <= 2 ? "45" : "60"}`,
|
|
57
|
+
"icon-path": f(w)
|
|
58
|
+
}, null, 8, ["size", "icon-path"]),
|
|
59
|
+
Number(e.cols) > 1 ? (o(), i("div", {
|
|
60
|
+
key: 0,
|
|
61
|
+
class: g(`${Number(e.cols) <= 2 ? "hidden md:block" : "md:text-base"} text-xs overflow-auto md:p-1`),
|
|
62
|
+
innerHTML: f(y)(e.label)
|
|
63
|
+
}, null, 10, C)) : n("", !0)
|
|
64
|
+
]))
|
|
65
|
+
], 8, ["to"])) : n("", !0)
|
|
66
|
+
]));
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
export {
|
|
70
|
+
$ as default
|
|
71
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { defineComponent as I, computed as x, toRefs as C, createBlock as d, openBlock as t, unref as e, createSlots as L, withCtx as o, createElementVNode as n, createElementBlock as a, createCommentVNode as i, Fragment as B, createVNode as N, createTextVNode as s, toDisplayString as c } from "vue";
|
|
2
|
+
import $ from "../basics/EpIcon.vue.js";
|
|
3
|
+
import j from "../basics/EpBtn.vue.js";
|
|
4
|
+
import T from "../basics/EpChip.vue.js";
|
|
5
|
+
import V from "../educationals/EpEdu.vue.js";
|
|
6
|
+
import { useRenderText as A } from "../../composables/useRenderText.js";
|
|
7
|
+
import { mdiLaptop as _, mdiOpenInNew as E } from "@mdi/js";
|
|
8
|
+
const S = ["innerHTML"], z = { class: "flex flex-col items-center border rounded-lg bg-base-light md:flex-row mt-2 dark:bg-dark" }, H = ["src", "alt"], M = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "h-96 w-full rounded-t-lg md:h-auto md:w-56 md:rounded-none md:rounded-l-lg flex justify-center items-center text-base-dark dark:text-white"
|
|
11
|
+
}, R = { class: "w-full" }, q = { class: "w-full px-5" }, D = { class: "flex justify-between items-center rounded-t-md p-2" }, F = "https://live.staticflickr.com/4868/45940268562_c5f7fdd06b_q.jpg", X = /* @__PURE__ */ I({
|
|
12
|
+
__name: "EpSoftware",
|
|
13
|
+
props: {
|
|
14
|
+
url: {},
|
|
15
|
+
cover: { default: "" },
|
|
16
|
+
title: {},
|
|
17
|
+
mandateLevel: {},
|
|
18
|
+
intentions: { default: "" },
|
|
19
|
+
hideCover: { type: Boolean, default: !1 },
|
|
20
|
+
version: {},
|
|
21
|
+
type: { default: "base" },
|
|
22
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
23
|
+
labelCard: {},
|
|
24
|
+
labelIntentions: {},
|
|
25
|
+
labelAccess: { default: "Accéder au logiciel" }
|
|
26
|
+
},
|
|
27
|
+
setup(h) {
|
|
28
|
+
const l = h, v = x(() => !(l.cover === F || l.cover.trim().length === 0)), {
|
|
29
|
+
title: m,
|
|
30
|
+
intentions: f,
|
|
31
|
+
cover: y,
|
|
32
|
+
hideCover: b,
|
|
33
|
+
version: u,
|
|
34
|
+
labelCard: g,
|
|
35
|
+
hideIcon: k,
|
|
36
|
+
mandateLevel: w,
|
|
37
|
+
url: p
|
|
38
|
+
} = C(l);
|
|
39
|
+
return (r, O) => (t(), d(V, {
|
|
40
|
+
title: e(g),
|
|
41
|
+
labelIntentions: r.labelIntentions,
|
|
42
|
+
icon: e(_),
|
|
43
|
+
flat: "",
|
|
44
|
+
type: r.type,
|
|
45
|
+
hideIcon: e(k),
|
|
46
|
+
mandateLevel: e(w)
|
|
47
|
+
}, L({
|
|
48
|
+
content: o(() => [
|
|
49
|
+
n("div", z, [
|
|
50
|
+
e(b) ? i("", !0) : (t(), a(B, { key: 0 }, [
|
|
51
|
+
v.value ? (t(), a("img", {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: "h-24 w-full rounded-t-lg object-cover md:h-auto md:w-24 md:rounded-none md:rounded-l-lg",
|
|
54
|
+
src: e(y),
|
|
55
|
+
alt: `image de la lecture ${e(m)}`
|
|
56
|
+
}, null, 8, H)) : (t(), a("div", M, [
|
|
57
|
+
N($, {
|
|
58
|
+
"icon-path": e(_),
|
|
59
|
+
size: "95"
|
|
60
|
+
}, null, 8, ["icon-path"])
|
|
61
|
+
]))
|
|
62
|
+
], 64)),
|
|
63
|
+
n("div", R, [
|
|
64
|
+
n("div", q, [
|
|
65
|
+
n("div", D, [
|
|
66
|
+
n("h4", null, [
|
|
67
|
+
s(c(e(m)) + " ", 1),
|
|
68
|
+
e(u) ? (t(), d(T, {
|
|
69
|
+
key: 0,
|
|
70
|
+
size: "small",
|
|
71
|
+
type: "primary"
|
|
72
|
+
}, {
|
|
73
|
+
default: o(() => [
|
|
74
|
+
s(c(e(u)), 1)
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
})) : i("", !0)
|
|
78
|
+
]),
|
|
79
|
+
e(p) ? (t(), d(j, {
|
|
80
|
+
key: 0,
|
|
81
|
+
rounded: "",
|
|
82
|
+
type: "primary",
|
|
83
|
+
prependIcon: e(E),
|
|
84
|
+
href: e(p)
|
|
85
|
+
}, {
|
|
86
|
+
default: o(() => [
|
|
87
|
+
s(c(r.labelAccess), 1)
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
}, 8, ["prependIcon", "href"])) : i("", !0)
|
|
91
|
+
])
|
|
92
|
+
])
|
|
93
|
+
])
|
|
94
|
+
])
|
|
95
|
+
]),
|
|
96
|
+
actions: o(() => []),
|
|
97
|
+
_: 2
|
|
98
|
+
}, [
|
|
99
|
+
e(f) ? {
|
|
100
|
+
name: "intentions",
|
|
101
|
+
fn: o(() => [
|
|
102
|
+
n("div", {
|
|
103
|
+
innerHTML: e(A)(e(f))
|
|
104
|
+
}, null, 8, S)
|
|
105
|
+
]),
|
|
106
|
+
key: "0"
|
|
107
|
+
} : void 0
|
|
108
|
+
]), 1032, ["title", "labelIntentions", "icon", "type", "hideIcon", "mandateLevel"]));
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
X as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as p, computed as r, toRefs as u, createBlock as f, openBlock as s, unref as n, createSlots as v, withCtx as a, createElementVNode as o, createElementBlock as _, createCommentVNode as h, normalizeClass as I } from "vue";
|
|
2
|
+
import { cols_img as L } from "../../types/Image.js";
|
|
3
|
+
import { useRenderText as y } from "../../composables/useRenderText.js";
|
|
4
|
+
import { mdiImage as T } from "@mdi/js";
|
|
5
|
+
import k from "../educationals/EpEdu.vue.js";
|
|
6
|
+
const C = ["innerHTML"], b = { class: "flex" }, B = ["innerHTML"], N = /* @__PURE__ */ p({
|
|
7
|
+
__name: "EpSvg",
|
|
8
|
+
props: {
|
|
9
|
+
desc: {},
|
|
10
|
+
title: {},
|
|
11
|
+
content: {},
|
|
12
|
+
mandateLevel: {},
|
|
13
|
+
type: {},
|
|
14
|
+
cols: { default: "6" },
|
|
15
|
+
labelIntentions: {},
|
|
16
|
+
hideIcon: { type: Boolean }
|
|
17
|
+
},
|
|
18
|
+
setup(c) {
|
|
19
|
+
const e = c, d = r(() => L[+e.cols]), l = r(() => e.desc ? y(e.desc) : null), { title: m, content: i } = u(e);
|
|
20
|
+
return (t, H) => (s(), f(k, {
|
|
21
|
+
title: n(m),
|
|
22
|
+
hideIcon: t.hideIcon,
|
|
23
|
+
icon: n(T),
|
|
24
|
+
labelIntentions: t.labelIntentions,
|
|
25
|
+
flat: "",
|
|
26
|
+
type: t.type,
|
|
27
|
+
mandateLevel: t.mandateLevel
|
|
28
|
+
}, v({
|
|
29
|
+
content: a(() => [
|
|
30
|
+
o("div", b, [
|
|
31
|
+
n(i) ? (s(), _("div", {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: I(`mx-auto ${d.value}`)
|
|
34
|
+
}, [
|
|
35
|
+
o("div", {
|
|
36
|
+
innerHTML: n(i),
|
|
37
|
+
class: "w-full"
|
|
38
|
+
}, null, 8, B)
|
|
39
|
+
], 2)) : h("", !0)
|
|
40
|
+
])
|
|
41
|
+
]),
|
|
42
|
+
_: 2
|
|
43
|
+
}, [
|
|
44
|
+
l.value ? {
|
|
45
|
+
name: "intentions",
|
|
46
|
+
fn: a(() => [
|
|
47
|
+
o("div", { innerHTML: l.value }, null, 8, C)
|
|
48
|
+
]),
|
|
49
|
+
key: "0"
|
|
50
|
+
} : void 0
|
|
51
|
+
]), 1032, ["title", "hideIcon", "icon", "labelIntentions", "type", "mandateLevel"]));
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
N as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { defineComponent as F, ref as M, computed as v, toRefs as S, createElementBlock as a, openBlock as r, Fragment as h, createElementVNode as t, createVNode as m, createTextVNode as c, toDisplayString as o, unref as i, withCtx as b, createBlock as y, createCommentVNode as u, renderSlot as T, renderList as V } from "vue";
|
|
2
|
+
import { useRouter as q } from "vue-router";
|
|
3
|
+
import { mdiBookmarkMultipleOutline as $ } from "@mdi/js";
|
|
4
|
+
import L from "../basics/EpImg.vue.js";
|
|
5
|
+
import C from "../basics/EpIcon.vue.js";
|
|
6
|
+
import O from "../interactions/EpModal.vue.js";
|
|
7
|
+
/* empty css */
|
|
8
|
+
import D from "../basics/EpDivider.vue.js";
|
|
9
|
+
import R from "../basics/EpBtn.vue.js";
|
|
10
|
+
const U = { class: "relative group-hover:text-white" }, A = { class: "mb-2 flex items-center justify-between" }, G = { class: "font-bold text-2xl" }, H = { class: "text-sm font-light text-error italic" }, I = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "text-xs"
|
|
13
|
+
}, J = { class: "mb-4 flex items-center justify-between" }, K = { class: "text-primary font-bold" }, P = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "text-xs"
|
|
16
|
+
}, Q = { class: "font-bold" }, W = {
|
|
17
|
+
key: 2,
|
|
18
|
+
class: "text-sm mt-2"
|
|
19
|
+
}, X = { class: "mr-2 font-bold" }, Y = {
|
|
20
|
+
key: 3,
|
|
21
|
+
class: "text-sm mt-2"
|
|
22
|
+
}, Z = { class: "mr-2 font-bold" }, ee = { class: "flex justify-end" }, me = /* @__PURE__ */ F({
|
|
23
|
+
__name: "EpTerm",
|
|
24
|
+
props: {
|
|
25
|
+
term: { default: "test" },
|
|
26
|
+
word: {},
|
|
27
|
+
definition: {},
|
|
28
|
+
variations: { default: "" },
|
|
29
|
+
domain: {},
|
|
30
|
+
graminfo: {},
|
|
31
|
+
relations: { default: "" },
|
|
32
|
+
src: {},
|
|
33
|
+
labelDefinition: { default: "Définition" },
|
|
34
|
+
labelDomain: { default: "Domaine" },
|
|
35
|
+
labelVariations: { default: "Variations" },
|
|
36
|
+
labelRelations: { default: "Relations" },
|
|
37
|
+
labelClose: { default: "Fermer" }
|
|
38
|
+
},
|
|
39
|
+
setup(B) {
|
|
40
|
+
const n = B, d = M(!1), k = v(() => n.term !== n.word ? `(${n.word})` : null), f = v(() => {
|
|
41
|
+
let e = null, l = n.variations?.trim();
|
|
42
|
+
return l?.length > 0 && (e = l.split(",")), e;
|
|
43
|
+
}), _ = v(() => {
|
|
44
|
+
let e = null, l = n.relations?.trim();
|
|
45
|
+
return l?.length > 0 && (e = l.split(",")), e;
|
|
46
|
+
}), g = q(), N = (e) => {
|
|
47
|
+
g.hasRoute("glossary") && g.push({ path: "/glossary", query: { word: e } });
|
|
48
|
+
}, x = v(() => n.domain === "null" ? null : n.domain), j = () => {
|
|
49
|
+
d.value = !d.value;
|
|
50
|
+
}, { term: z, graminfo: E, src: w } = S(n);
|
|
51
|
+
return (e, l) => (r(), a(h, null, [
|
|
52
|
+
t("span", {
|
|
53
|
+
onClick: j,
|
|
54
|
+
class: "cursor-pointer border-primary dark:border-main-color-500 border dark:text-main-color-500 text-primary px-2 py-1 rounded group overflow-hidden relative"
|
|
55
|
+
}, [
|
|
56
|
+
l[2] || (l[2] = t("span", { class: "absolute top-0 left-0 flex w-full h-0 mb-0 transition-all duration-300 ease-out transform translate-y-0 bg-primary dark:bg-main-color-500 group-hover:h-full opacity-90" }, null, -1)),
|
|
57
|
+
t("span", U, [
|
|
58
|
+
c(o(e.word) + " ", 1),
|
|
59
|
+
m(C, {
|
|
60
|
+
"icon-path": i($),
|
|
61
|
+
size: "18"
|
|
62
|
+
}, null, 8, ["icon-path"])
|
|
63
|
+
])
|
|
64
|
+
]),
|
|
65
|
+
m(O, {
|
|
66
|
+
modelValue: d.value,
|
|
67
|
+
"onUpdate:modelValue": l[1] || (l[1] = (s) => d.value = s),
|
|
68
|
+
size: "compact"
|
|
69
|
+
}, {
|
|
70
|
+
default: b(() => [
|
|
71
|
+
t("div", A, [
|
|
72
|
+
t("div", null, [
|
|
73
|
+
t("h3", G, [
|
|
74
|
+
c(o(i(z)) + " ", 1),
|
|
75
|
+
t("span", H, o(i(E)), 1)
|
|
76
|
+
]),
|
|
77
|
+
k.value ? (r(), a("h4", I, o(k.value), 1)) : u("", !0)
|
|
78
|
+
]),
|
|
79
|
+
t("div", null, [
|
|
80
|
+
m(C, { "icon-path": i($) }, null, 8, ["icon-path"])
|
|
81
|
+
])
|
|
82
|
+
]),
|
|
83
|
+
m(D, {
|
|
84
|
+
color: "primary",
|
|
85
|
+
margin: "mb-2"
|
|
86
|
+
}),
|
|
87
|
+
t("div", J, [
|
|
88
|
+
t("h3", K, o(e.labelDefinition), 1),
|
|
89
|
+
x.value ? (r(), a("span", P, [
|
|
90
|
+
c(o(e.labelDomain) + " : ", 1),
|
|
91
|
+
t("span", Q, o(x.value), 1)
|
|
92
|
+
])) : u("", !0)
|
|
93
|
+
]),
|
|
94
|
+
t("div", null, [
|
|
95
|
+
T(e.$slots, "default")
|
|
96
|
+
]),
|
|
97
|
+
i(w) ? (r(), y(L, {
|
|
98
|
+
key: 0,
|
|
99
|
+
src: i(w)
|
|
100
|
+
}, null, 8, ["src"])) : u("", !0),
|
|
101
|
+
f.value || _.value ? (r(), y(D, { key: 1 })) : u("", !0),
|
|
102
|
+
f.value ? (r(), a("div", W, [
|
|
103
|
+
t("span", X, o(e.labelVariations) + " :", 1),
|
|
104
|
+
(r(!0), a(h, null, V(f.value, (s, p) => (r(), a("span", {
|
|
105
|
+
key: `variation-${p}`
|
|
106
|
+
}, o(s) + o(f.value.length > p + 1 ? ", " : "."), 1))), 128))
|
|
107
|
+
])) : u("", !0),
|
|
108
|
+
_.value ? (r(), a("div", Y, [
|
|
109
|
+
t("span", Z, o(e.labelRelations) + " :", 1),
|
|
110
|
+
(r(!0), a(h, null, V(_.value, (s, p) => (r(), y(R, {
|
|
111
|
+
key: `relation-${p}`,
|
|
112
|
+
size: "small",
|
|
113
|
+
rounded: "",
|
|
114
|
+
"extra-class": "mr-2",
|
|
115
|
+
onClick: (te) => N(s)
|
|
116
|
+
}, {
|
|
117
|
+
default: b(() => [
|
|
118
|
+
c(o(s), 1)
|
|
119
|
+
]),
|
|
120
|
+
_: 2
|
|
121
|
+
}, 1032, ["onClick"]))), 128))
|
|
122
|
+
])) : u("", !0),
|
|
123
|
+
t("div", ee, [
|
|
124
|
+
m(R, {
|
|
125
|
+
type: "error",
|
|
126
|
+
outlined: "",
|
|
127
|
+
onClick: l[0] || (l[0] = (s) => d.value = !1),
|
|
128
|
+
rounded: ""
|
|
129
|
+
}, {
|
|
130
|
+
default: b(() => [
|
|
131
|
+
c(o(e.labelClose), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 1
|
|
134
|
+
})
|
|
135
|
+
])
|
|
136
|
+
]),
|
|
137
|
+
_: 3
|
|
138
|
+
}, 8, ["modelValue"])
|
|
139
|
+
], 64));
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
export {
|
|
143
|
+
me as default
|
|
144
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { defineComponent as T, ref as g, onMounted as y, computed as v, toRefs as $, createElementBlock as l, openBlock as i, createElementVNode as n, toDisplayString as d, unref as s, Fragment as f, renderList as _, normalizeClass as L, createTextVNode as B, createVNode as x, TransitionGroup as E, withCtx as w, createBlock as N } from "vue";
|
|
2
|
+
import { colorsTimeLine as h } from "../../types/TimeLine.js";
|
|
3
|
+
import V from "../tools/TimelineItem.vue.js";
|
|
4
|
+
import z from "../basics/EpIcon.vue.js";
|
|
5
|
+
import { mdiCheckboxMarkedCircle as M, mdiCheckboxBlankCircleOutline as A } from "@mdi/js";
|
|
6
|
+
const D = { class: "w-10/12 mx-auto relative" }, F = { class: "text-2xl mb-2" }, G = { class: "my-4 px-2" }, I = ["onClick"], O = { class: "border-l-4 pl-1 transition-all dark:border-l-gray-500" }, J = /* @__PURE__ */ T({
|
|
7
|
+
__name: "EpTimeLine",
|
|
8
|
+
props: {
|
|
9
|
+
tags: {},
|
|
10
|
+
events: {},
|
|
11
|
+
title: {}
|
|
12
|
+
},
|
|
13
|
+
setup(k) {
|
|
14
|
+
const o = k, c = g();
|
|
15
|
+
y(() => {
|
|
16
|
+
o.tags && (c.value = o.tags.map((t) => ({ ...t, active: !1 })));
|
|
17
|
+
});
|
|
18
|
+
const a = (t) => {
|
|
19
|
+
const r = h[t];
|
|
20
|
+
return r || h.noTag;
|
|
21
|
+
}, u = v(() => c.value?.filter((t) => t.active) || []), b = v(() => u.value.length === 0 ? o.events : o.events.filter((r) => {
|
|
22
|
+
if (r.tag)
|
|
23
|
+
return u.value.some((e) => e.id === r.tag?.id);
|
|
24
|
+
})), C = (t) => {
|
|
25
|
+
t.active = !t.active;
|
|
26
|
+
}, { title: m } = $(o);
|
|
27
|
+
return (t, r) => (i(), l("div", null, [
|
|
28
|
+
n("div", D, [
|
|
29
|
+
n("h3", F, d(s(m)?.text.headline), 1),
|
|
30
|
+
n("p", null, d(s(m)?.text.text), 1),
|
|
31
|
+
n("div", G, [
|
|
32
|
+
(i(!0), l(f, null, _(c.value, (e) => (i(), l("span", {
|
|
33
|
+
key: e.id,
|
|
34
|
+
onClick: (p) => C(e),
|
|
35
|
+
class: L(`mr-2 mb-2 inline-block cursor-pointer text-sm px-2 py-1 rounded border ${a(e.color).border} ${e.active ? "text-white" : a(e.color).text} ${e.active ? a(e.color).bg : ""}`)
|
|
36
|
+
}, [
|
|
37
|
+
B(d(e.title) + " ", 1),
|
|
38
|
+
x(z, {
|
|
39
|
+
"icon-path": e.active ? s(M) : s(A),
|
|
40
|
+
size: "14"
|
|
41
|
+
}, null, 8, ["icon-path"])
|
|
42
|
+
], 10, I))), 128))
|
|
43
|
+
]),
|
|
44
|
+
n("div", O, [
|
|
45
|
+
x(E, {
|
|
46
|
+
name: "list",
|
|
47
|
+
tag: "div"
|
|
48
|
+
}, {
|
|
49
|
+
default: w(() => [
|
|
50
|
+
(i(!0), l(f, null, _(b.value, (e, p) => (i(), N(V, {
|
|
51
|
+
key: `${p}-card-${e.id}`,
|
|
52
|
+
event: e
|
|
53
|
+
}, null, 8, ["event"]))), 128))
|
|
54
|
+
]),
|
|
55
|
+
_: 1
|
|
56
|
+
})
|
|
57
|
+
])
|
|
58
|
+
])
|
|
59
|
+
]));
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
export {
|
|
63
|
+
J as default
|
|
64
|
+
};
|