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,236 @@
|
|
|
1
|
+
import { defineComponent as R, ref as p, computed as j, createElementBlock as r, openBlock as a, createElementVNode as l, normalizeStyle as z, createCommentVNode as x, toDisplayString as c, createVNode as s, withCtx as d, unref as g, normalizeClass as _, createTextVNode as h, Fragment as C, renderList as w, createBlock as $ } from "vue";
|
|
2
|
+
import { useRenderText as A } from "../../composables/useRenderText.js";
|
|
3
|
+
import N from "../basics/EpIcon.vue.js";
|
|
4
|
+
import L from "../tools/Details.vue2.js";
|
|
5
|
+
import E from "../interactions/EpModal.vue.js";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import H from "../medias/EpHierarchy.vue.js";
|
|
8
|
+
import m from "../basics/EpBtn.vue.js";
|
|
9
|
+
import { mdiArrowLeft as M } from "@mdi/js";
|
|
10
|
+
import T from "../tools/TextMedia.vue2.js";
|
|
11
|
+
const O = { class: "mb-2" }, Y = { class: "font-bold text-3xl text-center" }, D = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "mt-2"
|
|
14
|
+
}, U = {
|
|
15
|
+
key: 0,
|
|
16
|
+
class: "w-full flex flex-col space-y-6"
|
|
17
|
+
}, q = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "w-full"
|
|
20
|
+
}, G = {
|
|
21
|
+
class: /* @__PURE__ */ _("w-full my-4 mx-4 flex flex-wrap gap-2 justify-center items-center")
|
|
22
|
+
}, J = { key: 2 }, K = { class: "text-xl text-center font-semibold" }, Q = { class: "w-full" }, W = { class: "font-semibold mb-3" }, X = {
|
|
23
|
+
class: "overflow-auto p-2",
|
|
24
|
+
style: { height: "200px" }
|
|
25
|
+
}, Z = { class: "flex justify-center mt-2" }, ee = { class: "flex justify-end mt-4" }, le = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "flex w-full flex-col col-span-1 items-center px-4 border-l-2 border-gray-700 overflow-auto"
|
|
28
|
+
}, te = ["innerHTML"], oe = { class: "flex justify-center mt-2" }, pe = /* @__PURE__ */ R({
|
|
29
|
+
__name: "EpBranchingScenario",
|
|
30
|
+
props: {
|
|
31
|
+
title: {},
|
|
32
|
+
media: {},
|
|
33
|
+
initialInstruction: { default: null },
|
|
34
|
+
initialTwoCols: { type: Boolean },
|
|
35
|
+
generalFeedback: {},
|
|
36
|
+
bgColor: {},
|
|
37
|
+
decisionTree: {},
|
|
38
|
+
transitionAnimation: { default: "fade" },
|
|
39
|
+
labelStart: { default: "Commencer" },
|
|
40
|
+
labelFinish: { default: "Vous avez terminé le scénario!" },
|
|
41
|
+
labelYourPath: { default: "Votre parcours" },
|
|
42
|
+
labelShowFullPath: { default: "Voir le parcours au complet" },
|
|
43
|
+
labelClose: { default: "Fermer" },
|
|
44
|
+
labelRestart: { default: "Recommencer" },
|
|
45
|
+
colorPath: { default: "stroke-yellow-400" },
|
|
46
|
+
colorRect: { default: "fill-main-color-400" },
|
|
47
|
+
isCluster: { type: Boolean }
|
|
48
|
+
},
|
|
49
|
+
setup(F) {
|
|
50
|
+
const i = F, y = p(!1), u = p([]), b = p(null), t = p(null), f = p(!0), P = () => {
|
|
51
|
+
f.value = !1, t.value = i.decisionTree;
|
|
52
|
+
}, V = j(() => {
|
|
53
|
+
const e = !i.initialInstruction, n = !i.media;
|
|
54
|
+
return e && n ? "pt-44" : "";
|
|
55
|
+
}), S = () => {
|
|
56
|
+
if (u.value.length === 0) {
|
|
57
|
+
f.value = !0, t.value = null;
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
u.value.pop();
|
|
61
|
+
const e = u.value[u.value.length - 1];
|
|
62
|
+
e ? t.value = e : t.value = i.decisionTree;
|
|
63
|
+
}, B = () => {
|
|
64
|
+
t.value = null, f.value = !0, u.value = [];
|
|
65
|
+
}, I = (e) => {
|
|
66
|
+
u.value.push(e), e.children && e.children.length > 0 ? t.value = e : (t.value = null, b.value = k(i.decisionTree, u.value));
|
|
67
|
+
};
|
|
68
|
+
function k(e, n) {
|
|
69
|
+
const o = n.includes(e);
|
|
70
|
+
return {
|
|
71
|
+
name: e.name,
|
|
72
|
+
text: e.text,
|
|
73
|
+
component: e.component,
|
|
74
|
+
active: o,
|
|
75
|
+
children: e.children?.map(
|
|
76
|
+
(v) => k(v, n)
|
|
77
|
+
)
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
return (e, n) => (a(), r("div", null, [
|
|
81
|
+
l("div", {
|
|
82
|
+
class: "bg-gray-200 dark:bg-slate-800 rounded-md p-4 flex flex-col",
|
|
83
|
+
style: z({ minHeight: "500px", backgroundColor: e.bgColor })
|
|
84
|
+
}, [
|
|
85
|
+
l("div", O, [
|
|
86
|
+
l("h1", Y, c(e.title), 1),
|
|
87
|
+
t.value ? (a(), r("div", D, [
|
|
88
|
+
s(m, {
|
|
89
|
+
type: "primary",
|
|
90
|
+
rounded: "",
|
|
91
|
+
size: "small",
|
|
92
|
+
"extra-class": `${e.transitionAnimation}`,
|
|
93
|
+
onClick: S
|
|
94
|
+
}, {
|
|
95
|
+
default: d(() => [
|
|
96
|
+
s(N, {
|
|
97
|
+
"icon-path": g(M),
|
|
98
|
+
size: "25"
|
|
99
|
+
}, null, 8, ["icon-path"])
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["extra-class"])
|
|
103
|
+
])) : x("", !0)
|
|
104
|
+
]),
|
|
105
|
+
l("div", null, [
|
|
106
|
+
f.value ? (a(), r("div", U, [
|
|
107
|
+
s(T, {
|
|
108
|
+
text: e.initialInstruction ?? "",
|
|
109
|
+
media: e.media,
|
|
110
|
+
cols: e.initialTwoCols
|
|
111
|
+
}, null, 8, ["text", "media", "cols"]),
|
|
112
|
+
l("div", {
|
|
113
|
+
class: _(`justify-center flex ${V.value}`)
|
|
114
|
+
}, [
|
|
115
|
+
s(m, {
|
|
116
|
+
type: "primary",
|
|
117
|
+
rounded: "",
|
|
118
|
+
onClick: P
|
|
119
|
+
}, {
|
|
120
|
+
default: d(() => [
|
|
121
|
+
h(c(e.labelStart), 1)
|
|
122
|
+
]),
|
|
123
|
+
_: 1
|
|
124
|
+
})
|
|
125
|
+
], 2)
|
|
126
|
+
])) : t.value && !f.value ? (a(), r("div", q, [
|
|
127
|
+
l("div", {
|
|
128
|
+
class: _(`${e.transitionAnimation} my-12`)
|
|
129
|
+
}, [
|
|
130
|
+
s(T, {
|
|
131
|
+
text: t.value.text ?? "",
|
|
132
|
+
media: t.value.component,
|
|
133
|
+
cols: t.value.cols
|
|
134
|
+
}, null, 8, ["text", "media", "cols"]),
|
|
135
|
+
l("div", G, [
|
|
136
|
+
(a(!0), r(C, null, w(t.value.children, (o, v) => (a(), $(m, {
|
|
137
|
+
key: `option-${v}`,
|
|
138
|
+
rounded: "",
|
|
139
|
+
type: "primary",
|
|
140
|
+
class: "flex-1 min-w-[120px] sm:min-w-[160px] max-w-xs",
|
|
141
|
+
onClick: (ne) => I(o)
|
|
142
|
+
}, {
|
|
143
|
+
default: d(() => [
|
|
144
|
+
h(c(o.name), 1)
|
|
145
|
+
]),
|
|
146
|
+
_: 2
|
|
147
|
+
}, 1032, ["onClick"]))), 128))
|
|
148
|
+
])
|
|
149
|
+
], 2)
|
|
150
|
+
])) : (a(), r("div", J, [
|
|
151
|
+
l("h3", K, c(e.labelFinish), 1),
|
|
152
|
+
l("div", {
|
|
153
|
+
class: _(`flex gap-6 mt-3 ${e.generalFeedback ? "" : "w-3/6 mx-auto"}`)
|
|
154
|
+
}, [
|
|
155
|
+
l("div", Q, [
|
|
156
|
+
l("h3", W, c(e.labelYourPath), 1),
|
|
157
|
+
l("div", X, [
|
|
158
|
+
(a(!0), r(C, null, w(u.value, (o, v) => (a(), r("div", {
|
|
159
|
+
key: `user-choice-${v}`,
|
|
160
|
+
class: "mb-2"
|
|
161
|
+
}, [
|
|
162
|
+
s(L, {
|
|
163
|
+
content: o.text ?? "",
|
|
164
|
+
title: o.name,
|
|
165
|
+
media: o.component
|
|
166
|
+
}, null, 8, ["content", "title", "media"])
|
|
167
|
+
]))), 128))
|
|
168
|
+
]),
|
|
169
|
+
l("div", Z, [
|
|
170
|
+
s(m, {
|
|
171
|
+
type: "info",
|
|
172
|
+
rounded: "",
|
|
173
|
+
onClick: n[0] || (n[0] = (o) => y.value = !0)
|
|
174
|
+
}, {
|
|
175
|
+
default: d(() => [
|
|
176
|
+
h(c(e.labelShowFullPath), 1)
|
|
177
|
+
]),
|
|
178
|
+
_: 1
|
|
179
|
+
})
|
|
180
|
+
]),
|
|
181
|
+
b.value ? (a(), $(E, {
|
|
182
|
+
key: 0,
|
|
183
|
+
modelValue: y.value,
|
|
184
|
+
"onUpdate:modelValue": n[2] || (n[2] = (o) => y.value = o)
|
|
185
|
+
}, {
|
|
186
|
+
default: d(() => [
|
|
187
|
+
s(H, {
|
|
188
|
+
nodes: b.value,
|
|
189
|
+
"is-cluster": i.isCluster,
|
|
190
|
+
"color-path": i.colorPath,
|
|
191
|
+
"color-rect": i.colorRect
|
|
192
|
+
}, null, 8, ["nodes", "is-cluster", "color-path", "color-rect"]),
|
|
193
|
+
l("div", ee, [
|
|
194
|
+
s(m, {
|
|
195
|
+
onClick: n[1] || (n[1] = (o) => y.value = !1),
|
|
196
|
+
type: "error",
|
|
197
|
+
outlined: "",
|
|
198
|
+
rounded: ""
|
|
199
|
+
}, {
|
|
200
|
+
default: d(() => [
|
|
201
|
+
h(c(e.labelClose), 1)
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
})
|
|
205
|
+
])
|
|
206
|
+
]),
|
|
207
|
+
_: 1
|
|
208
|
+
}, 8, ["modelValue"])) : x("", !0)
|
|
209
|
+
]),
|
|
210
|
+
e.generalFeedback ? (a(), r("div", le, [
|
|
211
|
+
l("div", {
|
|
212
|
+
innerHTML: g(A)(e.generalFeedback)
|
|
213
|
+
}, null, 8, te)
|
|
214
|
+
])) : x("", !0)
|
|
215
|
+
], 2),
|
|
216
|
+
l("div", oe, [
|
|
217
|
+
s(m, {
|
|
218
|
+
rounded: "",
|
|
219
|
+
type: "warning",
|
|
220
|
+
onClick: B
|
|
221
|
+
}, {
|
|
222
|
+
default: d(() => [
|
|
223
|
+
h(c(e.labelRestart), 1)
|
|
224
|
+
]),
|
|
225
|
+
_: 1
|
|
226
|
+
})
|
|
227
|
+
])
|
|
228
|
+
]))
|
|
229
|
+
])
|
|
230
|
+
], 4)
|
|
231
|
+
]));
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
export {
|
|
235
|
+
pe as default
|
|
236
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { defineComponent as f, computed as t, ref as s, createBlock as r, openBlock as u, unref as c, withCtx as h, createVNode as g } from "vue";
|
|
2
|
+
import d from "@wdns/vue-code-block";
|
|
3
|
+
import { defaultOption as v } from "../../types/Codeblock.js";
|
|
4
|
+
import b from "../interactions/EpAccordeon.vue.js";
|
|
5
|
+
const y = /* @__PURE__ */ f({
|
|
6
|
+
__name: "EpCodeblock",
|
|
7
|
+
props: {
|
|
8
|
+
code: { default: "" },
|
|
9
|
+
label: { default: "" },
|
|
10
|
+
lang: { default: "javascript" },
|
|
11
|
+
theme: { default: v },
|
|
12
|
+
title: {},
|
|
13
|
+
compact: { type: Boolean, default: !1 }
|
|
14
|
+
},
|
|
15
|
+
setup(i) {
|
|
16
|
+
const e = i, m = t(() => e.title ? e.title : "En savoir plus"), l = t(() => s(e.code)), o = t(() => e.label), a = t(() => e.lang), n = t(() => e.theme);
|
|
17
|
+
return (p, k) => p.compact ? (u(), r(b, {
|
|
18
|
+
key: 1,
|
|
19
|
+
outlined: "",
|
|
20
|
+
title: m.value
|
|
21
|
+
}, {
|
|
22
|
+
default: h(() => [
|
|
23
|
+
g(c(d), {
|
|
24
|
+
code: l.value,
|
|
25
|
+
highlightjs: "",
|
|
26
|
+
label: o.value,
|
|
27
|
+
lang: a.value,
|
|
28
|
+
theme: n.value
|
|
29
|
+
}, null, 8, ["code", "label", "lang", "theme"])
|
|
30
|
+
]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 8, ["title"])) : (u(), r(c(d), {
|
|
33
|
+
key: 0,
|
|
34
|
+
code: l.value,
|
|
35
|
+
highlightjs: "",
|
|
36
|
+
label: o.value,
|
|
37
|
+
lang: a.value,
|
|
38
|
+
theme: n.value
|
|
39
|
+
}, null, 8, ["code", "label", "lang", "theme"]));
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
y as default
|
|
44
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as _, toRefs as p, createElementBlock as r, openBlock as o, createElementVNode as t, createBlock as m, createCommentVNode as a, createTextVNode as x, unref as e, toDisplayString as n, renderSlot as u } from "vue";
|
|
2
|
+
import h from "../basics/EpIcon.vue.js";
|
|
3
|
+
const f = { class: "lg:grid lg:grid-cols-12 lg:gap-8" }, y = { class: "lg:col-span-2" }, k = { class: "text-pretty text-3xl font-semibold tracking-tight text-gray-900 dark:text-gray-100 sm:text-xl" }, b = { class: "lg:col-span-8 lg:mt-0 lg:border-l dark:border-gray-700 lg:pl-4" }, v = { class: "py-2" }, C = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"
|
|
6
|
+
}, B = { class: "text-gray-600 dark:text-gray-300" }, S = /* @__PURE__ */ _({
|
|
7
|
+
__name: "EpConclusion",
|
|
8
|
+
props: {
|
|
9
|
+
icon: {},
|
|
10
|
+
title: { default: "Conclusion" },
|
|
11
|
+
subtitle: {}
|
|
12
|
+
},
|
|
13
|
+
setup(c) {
|
|
14
|
+
const i = c, { title: d, icon: s, subtitle: l } = p(i);
|
|
15
|
+
return (g, E) => (o(), r("div", f, [
|
|
16
|
+
t("div", y, [
|
|
17
|
+
t("h2", k, [
|
|
18
|
+
e(s) ? (o(), m(h, {
|
|
19
|
+
key: 0,
|
|
20
|
+
"icon-path": e(s),
|
|
21
|
+
size: "28",
|
|
22
|
+
extraClass: "mr-2"
|
|
23
|
+
}, null, 8, ["icon-path"])) : a("", !0),
|
|
24
|
+
x(" " + n(e(d)), 1)
|
|
25
|
+
])
|
|
26
|
+
]),
|
|
27
|
+
t("div", b, [
|
|
28
|
+
t("div", v, [
|
|
29
|
+
e(l) ? (o(), r("h3", C, n(e(l)), 1)) : a("", !0),
|
|
30
|
+
t("div", B, [
|
|
31
|
+
u(g.$slots, "default")
|
|
32
|
+
])
|
|
33
|
+
])
|
|
34
|
+
])
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
S as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as p, toRefs as _, createElementBlock as l, openBlock as s, createElementVNode as t, createBlock as m, createCommentVNode as a, createTextVNode as x, unref as e, toDisplayString as c, renderSlot as h } from "vue";
|
|
2
|
+
import f from "../basics/EpIcon.vue.js";
|
|
3
|
+
const u = { class: "lg:grid lg:grid-cols-12 lg:gap-8" }, y = { class: "lg:col-span-2" }, k = { class: "text-pretty text-3xl font-semibold tracking-tight text-gray-900 dark:text-gray-100 sm:text-xl" }, b = { class: "lg:col-span-8 lg:mt-0 lg:border-l dark:border-gray-700 lg:pl-4" }, v = { class: "py-2" }, B = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"
|
|
6
|
+
}, C = { class: "text-gray-600 dark:text-gray-300" }, V = /* @__PURE__ */ p({
|
|
7
|
+
__name: "EpDescription",
|
|
8
|
+
props: {
|
|
9
|
+
icon: {},
|
|
10
|
+
title: { default: "Description" },
|
|
11
|
+
subtitle: {}
|
|
12
|
+
},
|
|
13
|
+
setup(i) {
|
|
14
|
+
const n = i, { title: d, icon: o, subtitle: r } = _(n);
|
|
15
|
+
return (g, D) => (s(), l("div", u, [
|
|
16
|
+
t("div", y, [
|
|
17
|
+
t("h2", k, [
|
|
18
|
+
e(o) ? (s(), m(f, {
|
|
19
|
+
key: 0,
|
|
20
|
+
"icon-path": e(o),
|
|
21
|
+
size: "28",
|
|
22
|
+
extraClass: "mr-2"
|
|
23
|
+
}, null, 8, ["icon-path"])) : a("", !0),
|
|
24
|
+
x(" " + c(e(d)), 1)
|
|
25
|
+
])
|
|
26
|
+
]),
|
|
27
|
+
t("div", b, [
|
|
28
|
+
t("div", v, [
|
|
29
|
+
e(r) ? (s(), l("h3", B, c(e(r)), 1)) : a("", !0),
|
|
30
|
+
t("div", C, [
|
|
31
|
+
h(g.$slots, "default")
|
|
32
|
+
])
|
|
33
|
+
])
|
|
34
|
+
])
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
V as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { defineComponent as D, computed as l, toRefs as g, createElementBlock as o, openBlock as n, createVNode as i, withCtx as f, createElementVNode as r, normalizeClass as c, createCommentVNode as d, unref as s, toDisplayString as _, createTextVNode as C } from "vue";
|
|
2
|
+
import E from "../basics/EpCard.vue.js";
|
|
3
|
+
import I from "../basics/EpIcon.vue.js";
|
|
4
|
+
import { mdiArrowCollapseDown as N, mdiOpenInNew as T, mdiFile as B } from "@mdi/js";
|
|
5
|
+
import O from "../basics/EpBtn.vue.js";
|
|
6
|
+
import { useRenderText as R } from "../../composables/useRenderText.js";
|
|
7
|
+
const V = { class: "w-5/6 mx-auto" }, $ = {
|
|
8
|
+
class: /* @__PURE__ */ c("md:flex md:flex-wrap rounded-md")
|
|
9
|
+
}, q = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "w-1/5 mr-6"
|
|
12
|
+
}, L = ["src"], j = {
|
|
13
|
+
key: 1,
|
|
14
|
+
class: "flex items-center justify-center px-7"
|
|
15
|
+
}, z = { class: "text-base dark:text-white'" }, H = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "text-2xl font-semibold mb-4"
|
|
18
|
+
}, M = ["innerHTML"], P = /* @__PURE__ */ D({
|
|
19
|
+
__name: "EpDocument",
|
|
20
|
+
props: {
|
|
21
|
+
url: {},
|
|
22
|
+
src: { default: null },
|
|
23
|
+
icon: {},
|
|
24
|
+
title: {},
|
|
25
|
+
description: {},
|
|
26
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
27
|
+
labelOpen: { default: "Ouvrir" },
|
|
28
|
+
labelDownload: { default: "Télécharger" }
|
|
29
|
+
},
|
|
30
|
+
setup(h) {
|
|
31
|
+
const t = h, x = [
|
|
32
|
+
"doc",
|
|
33
|
+
"docx",
|
|
34
|
+
"xls",
|
|
35
|
+
"xlsx",
|
|
36
|
+
"ppt",
|
|
37
|
+
"pptx",
|
|
38
|
+
"rtf",
|
|
39
|
+
"odt",
|
|
40
|
+
"ods",
|
|
41
|
+
"odp"
|
|
42
|
+
], v = (e) => {
|
|
43
|
+
const m = e.split("?")[0].split(".");
|
|
44
|
+
return m.length > 1 ? m.pop().toLowerCase() : "";
|
|
45
|
+
}, a = l(() => {
|
|
46
|
+
const e = v(t.url);
|
|
47
|
+
return x.includes(e);
|
|
48
|
+
}), w = l(() => a.value ? N : T), y = l(() => a.value ? t.labelDownload : t.labelOpen), b = l(() => t.icon ? t.icon : B), { src: p, hideIcon: u } = g(t);
|
|
49
|
+
return (e, k) => (n(), o("div", V, [
|
|
50
|
+
i(E, null, {
|
|
51
|
+
default: f(() => [
|
|
52
|
+
r("div", $, [
|
|
53
|
+
s(p) ? (n(), o("div", q, [
|
|
54
|
+
r("img", {
|
|
55
|
+
class: c("md:w-full md:h-full md:object-cover rounded-md"),
|
|
56
|
+
src: s(p),
|
|
57
|
+
alt: "Image of quote"
|
|
58
|
+
}, null, 8, L)
|
|
59
|
+
])) : s(u) ? d("", !0) : (n(), o("div", j, [
|
|
60
|
+
r("div", z, [
|
|
61
|
+
i(I, {
|
|
62
|
+
size: 60,
|
|
63
|
+
"icon-path": b.value,
|
|
64
|
+
"extra-class": "dark:text-white"
|
|
65
|
+
}, null, 8, ["icon-path"])
|
|
66
|
+
])
|
|
67
|
+
])),
|
|
68
|
+
r("div", {
|
|
69
|
+
class: c(`py-6 flex-1 ${s(u) ? "px-6" : "pr-2"}`)
|
|
70
|
+
}, [
|
|
71
|
+
e.title ? (n(), o("h4", H, _(e.title), 1)) : d("", !0),
|
|
72
|
+
e.description ? (n(), o("div", {
|
|
73
|
+
key: 1,
|
|
74
|
+
class: "mb-3",
|
|
75
|
+
innerHTML: s(R)(e.description)
|
|
76
|
+
}, null, 8, M)) : d("", !0),
|
|
77
|
+
i(O, {
|
|
78
|
+
href: e.url,
|
|
79
|
+
block: "",
|
|
80
|
+
type: "primary",
|
|
81
|
+
rounded: "",
|
|
82
|
+
"prepend-icon": w.value
|
|
83
|
+
}, {
|
|
84
|
+
default: f(() => [
|
|
85
|
+
C(_(y.value), 1)
|
|
86
|
+
]),
|
|
87
|
+
_: 1
|
|
88
|
+
}, 8, ["href", "prepend-icon"])
|
|
89
|
+
], 2)
|
|
90
|
+
])
|
|
91
|
+
]),
|
|
92
|
+
_: 1
|
|
93
|
+
})
|
|
94
|
+
]));
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
export {
|
|
98
|
+
P as default
|
|
99
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { defineComponent as x, useSlots as I, computed as t, toRefs as L, createElementBlock as o, openBlock as a, normalizeClass as s, createCommentVNode as l, createElementVNode as r, unref as i, createBlock as p, toDisplayString as y, renderSlot as d, createVNode as E } from "vue";
|
|
2
|
+
import { mediaVariants as v } from "../../types/Medias.js";
|
|
3
|
+
import P from "../basics/EpIcon.vue.js";
|
|
4
|
+
import V from "../basics/EpDivider.vue.js";
|
|
5
|
+
import j from "./EpScope.vue.js";
|
|
6
|
+
import { mdiLeadPencil as C } from "@mdi/js";
|
|
7
|
+
const N = { class: "font-bold align-middle" }, z = {
|
|
8
|
+
key: 0,
|
|
9
|
+
class: "py-4"
|
|
10
|
+
}, A = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "font-light text-sm pb-1 tracking-wide dark:text-white"
|
|
13
|
+
}, D = { class: "pt-2" }, K = /* @__PURE__ */ x({
|
|
14
|
+
__name: "EpEdu",
|
|
15
|
+
props: {
|
|
16
|
+
title: { default: null },
|
|
17
|
+
subtitle: {},
|
|
18
|
+
icon: {},
|
|
19
|
+
mandateLevel: {},
|
|
20
|
+
synchrone: { type: Boolean },
|
|
21
|
+
type: { default: "neutral" },
|
|
22
|
+
labelIntentions: { default: "" },
|
|
23
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
24
|
+
flat: { type: Boolean, default: !0 }
|
|
25
|
+
},
|
|
26
|
+
setup(h) {
|
|
27
|
+
const e = h, u = I(), c = t(() => !!u.intentions), f = t(() => !!u.actions), k = t(() => e.icon ? e.icon : C), $ = t(() => `${v[e.type]} text-left ${e.flat ? "" : "rounded-t-md"} flex justify-between items-center `), b = t(() => `${v[e.type]} text-right`), _ = t(() => {
|
|
28
|
+
if (e.type != "neutral")
|
|
29
|
+
return "px-5 py-2";
|
|
30
|
+
}), B = t(() => {
|
|
31
|
+
if (e.type != "neutral")
|
|
32
|
+
return "pr-5";
|
|
33
|
+
}), S = t(() => {
|
|
34
|
+
if (e.type != "neutral")
|
|
35
|
+
return "px-5";
|
|
36
|
+
}), g = t(() => f.value || c.value || e.title ? ` overflow-hidden ${e.flat ? "" : "shadow-md"} flex flex-col justify-start h-full` : "flex flex-col justify-between"), { title: m, hideIcon: w } = L(e);
|
|
37
|
+
return (n, R) => (a(), o("div", {
|
|
38
|
+
class: s(g.value)
|
|
39
|
+
}, [
|
|
40
|
+
i(m) || n.mandateLevel ? (a(), o("div", {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: s(`${$.value} ${_.value} dark:base-dark`)
|
|
43
|
+
}, [
|
|
44
|
+
r("h3", null, [
|
|
45
|
+
i(w) ? l("", !0) : (a(), p(P, {
|
|
46
|
+
key: 0,
|
|
47
|
+
iconPath: k.value,
|
|
48
|
+
size: "24",
|
|
49
|
+
class: "mr-2"
|
|
50
|
+
}, null, 8, ["iconPath"])),
|
|
51
|
+
r("span", N, y(i(m)), 1)
|
|
52
|
+
]),
|
|
53
|
+
n.mandateLevel ? (a(), p(j, {
|
|
54
|
+
key: 0,
|
|
55
|
+
mandateLevel: n.mandateLevel
|
|
56
|
+
}, null, 8, ["mandateLevel"])) : l("", !0)
|
|
57
|
+
], 2)) : l("", !0),
|
|
58
|
+
r("div", {
|
|
59
|
+
class: s(`${S.value} dark:base-dark dark:text-white`)
|
|
60
|
+
}, [
|
|
61
|
+
c.value ? (a(), o("div", z, [
|
|
62
|
+
n.labelIntentions ? (a(), o("h4", A, y(n.labelIntentions), 1)) : l("", !0),
|
|
63
|
+
d(n.$slots, "intentions"),
|
|
64
|
+
E(V)
|
|
65
|
+
])) : l("", !0),
|
|
66
|
+
r("div", D, [
|
|
67
|
+
d(n.$slots, "content")
|
|
68
|
+
])
|
|
69
|
+
], 2),
|
|
70
|
+
f.value ? (a(), o("div", {
|
|
71
|
+
key: 1,
|
|
72
|
+
class: s([`${b.value} ${B.value}`, "dark:base-dark"])
|
|
73
|
+
}, [
|
|
74
|
+
d(n.$slots, "actions")
|
|
75
|
+
], 2)) : l("", !0)
|
|
76
|
+
], 2));
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
K as default
|
|
81
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as p, toRefs as m, createElementBlock as l, openBlock as o, createElementVNode as t, createBlock as r, createCommentVNode as _, createTextVNode as g, unref as n, toDisplayString as u, Fragment as f, renderList as h, withCtx as x } from "vue";
|
|
2
|
+
import k from "../basics/EpIcon.vue.js";
|
|
3
|
+
import y from "../interactions/EpAccordeon.vue.js";
|
|
4
|
+
const v = { class: "lg:grid lg:grid-cols-12 lg:gap-8" }, C = { class: "lg:col-span-2" }, b = { class: "text-pretty text-3xl font-semibold tracking-tight text-gray-900 dark:text-gray-100 sm:text-xl" }, E = { class: "lg:col-span-8 lg:mt-0 lg:border-l dark:border-gray-700 lg:pl-4" }, B = { class: "py-2" }, L = ["innerHTML"], M = /* @__PURE__ */ p({
|
|
5
|
+
__name: "EpInstructions",
|
|
6
|
+
props: {
|
|
7
|
+
icon: {},
|
|
8
|
+
title: { default: "Consignes" },
|
|
9
|
+
subtitle: {},
|
|
10
|
+
instructions: {}
|
|
11
|
+
},
|
|
12
|
+
setup(i) {
|
|
13
|
+
const c = i, { title: a, icon: s } = m(c);
|
|
14
|
+
return (d, N) => (o(), l("div", v, [
|
|
15
|
+
t("div", C, [
|
|
16
|
+
t("h2", b, [
|
|
17
|
+
n(s) ? (o(), r(k, {
|
|
18
|
+
key: 0,
|
|
19
|
+
"icon-path": n(s),
|
|
20
|
+
size: "28",
|
|
21
|
+
extraClass: "mr-2"
|
|
22
|
+
}, null, 8, ["icon-path"])) : _("", !0),
|
|
23
|
+
g(" " + u(n(a)), 1)
|
|
24
|
+
])
|
|
25
|
+
]),
|
|
26
|
+
t("div", E, [
|
|
27
|
+
t("div", B, [
|
|
28
|
+
(o(!0), l(f, null, h(d.instructions, (e) => (o(), r(y, {
|
|
29
|
+
key: `instruction-${e.uid}`,
|
|
30
|
+
small: "",
|
|
31
|
+
outlined: "",
|
|
32
|
+
title: e.title,
|
|
33
|
+
open: e.open
|
|
34
|
+
}, {
|
|
35
|
+
default: x(() => [
|
|
36
|
+
t("div", {
|
|
37
|
+
innerHTML: e.content
|
|
38
|
+
}, null, 8, L)
|
|
39
|
+
]),
|
|
40
|
+
_: 2
|
|
41
|
+
}, 1032, ["title", "open"]))), 128))
|
|
42
|
+
])
|
|
43
|
+
])
|
|
44
|
+
]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
M as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { defineComponent as a, createElementBlock as s, openBlock as o, createElementVNode as e, createBlock as i, createCommentVNode as l, createTextVNode as n, toDisplayString as r, renderSlot as c } from "vue";
|
|
2
|
+
import d from "../basics/EpIcon.vue.js";
|
|
3
|
+
const g = { class: "lg:grid lg:grid-cols-12 lg:gap-8" }, p = { class: "lg:col-span-2" }, _ = { class: "text-pretty text-3xl font-semibold tracking-tight text-gray-900 dark:text-gray-100 sm:text-xl" }, m = { class: "lg:col-span-8 lg:mt-0 lg:border-l dark:border-gray-700 lg:pl-4" }, u = { class: "py-2" }, h = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "text-base font-semibold leading-7 text-gray-900 dark:text-gray-100"
|
|
6
|
+
}, y = { class: "text-gray-600 dark:text-gray-300" }, v = /* @__PURE__ */ a({
|
|
7
|
+
__name: "EpIntroduction",
|
|
8
|
+
props: {
|
|
9
|
+
icon: {},
|
|
10
|
+
title: { default: "Introduction" },
|
|
11
|
+
subtitle: {}
|
|
12
|
+
},
|
|
13
|
+
setup(f) {
|
|
14
|
+
return (t, k) => (o(), s("div", g, [
|
|
15
|
+
e("div", p, [
|
|
16
|
+
e("h2", _, [
|
|
17
|
+
t.icon ? (o(), i(d, {
|
|
18
|
+
key: 0,
|
|
19
|
+
"icon-path": t.icon,
|
|
20
|
+
size: "28",
|
|
21
|
+
extraClass: "mr-2"
|
|
22
|
+
}, null, 8, ["icon-path"])) : l("", !0),
|
|
23
|
+
n(" " + r(t.title), 1)
|
|
24
|
+
])
|
|
25
|
+
]),
|
|
26
|
+
e("div", m, [
|
|
27
|
+
e("div", u, [
|
|
28
|
+
t.subtitle ? (o(), s("h3", h, r(t.subtitle), 1)) : l("", !0),
|
|
29
|
+
e("div", y, [
|
|
30
|
+
c(t.$slots, "default")
|
|
31
|
+
])
|
|
32
|
+
])
|
|
33
|
+
])
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
v as default
|
|
39
|
+
};
|