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,39 @@
|
|
|
1
|
+
import { defineComponent as i, createElementBlock as r, openBlock as n, normalizeClass as l, createElementVNode as o, toDisplayString as t, renderSlot as s } from "vue";
|
|
2
|
+
const a = { class: "flex flex-row divide-x gap-x-4" }, c = { class: "w-32" }, d = { class: "flex-1 pl-4" }, p = { class: "font-medium mb-1" }, h = /* @__PURE__ */ i({
|
|
3
|
+
__name: "EpObjective",
|
|
4
|
+
props: {
|
|
5
|
+
nameApproach: {},
|
|
6
|
+
title: {},
|
|
7
|
+
color: { default: "border-gray" }
|
|
8
|
+
},
|
|
9
|
+
setup(u) {
|
|
10
|
+
return (e, m) => (n(), r("div", {
|
|
11
|
+
class: l(`border-l-8
|
|
12
|
+
${e.color}
|
|
13
|
+
p-4
|
|
14
|
+
my-3
|
|
15
|
+
transition
|
|
16
|
+
duration-200
|
|
17
|
+
ease-in-out
|
|
18
|
+
outline-primary
|
|
19
|
+
focus-within:outline
|
|
20
|
+
focus-within:outline-1
|
|
21
|
+
outline-offset-4
|
|
22
|
+
hover:outline
|
|
23
|
+
hover:outline-1
|
|
24
|
+
hover:outline-gray-200
|
|
25
|
+
dark:hover:outline-gray-700`)
|
|
26
|
+
}, [
|
|
27
|
+
o("div", a, [
|
|
28
|
+
o("div", c, t(e.nameApproach), 1),
|
|
29
|
+
o("div", d, [
|
|
30
|
+
o("h4", p, t(e.title), 1),
|
|
31
|
+
s(e.$slots, "default")
|
|
32
|
+
])
|
|
33
|
+
])
|
|
34
|
+
], 2));
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
export {
|
|
38
|
+
h as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
import { defineComponent as U, computed as R, toRefs as W, createElementBlock as s, createBlock as B, openBlock as o, createCommentVNode as n, createElementVNode as t, unref as e, Fragment as D, createVNode as a, createSlots as H, withCtx as i, createTextVNode as v, toDisplayString as l, normalizeClass as g, withModifiers as O } from "vue";
|
|
2
|
+
import r from "../basics/EpIcon.vue.js";
|
|
3
|
+
import x from "../basics/EpBtn.vue.js";
|
|
4
|
+
import X from "../tools/DisplayBox.vue2.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import q from "./EpEdu.vue.js";
|
|
7
|
+
import { useRenderText as F } from "../../composables/useRenderText.js";
|
|
8
|
+
import { mdiBookOpenPageVariant as S, mdiBookOpenVariant as L, mdiOpenInNew as P, mdiBookmarkBox as A } from "@mdi/js";
|
|
9
|
+
const Y = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "flex shadow-sm rounded-lg overflow-hidden bg-white dark:bg-dark md:flex-row"
|
|
12
|
+
}, Z = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "h-96 mr-2 w-full rounded-t-lg md:h-auto md:w-56 md:rounded-none md:rounded-l-lg flex justify-center items-center text-gray-300"
|
|
15
|
+
}, ee = ["src", "alt"], te = {
|
|
16
|
+
key: 1,
|
|
17
|
+
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-gray-300 dark:bg-dark"
|
|
18
|
+
}, oe = { class: "flex py-3 flex-col w-full" }, se = ["innerHTML"], le = { class: "w-full" }, ne = { class: "flex" }, ae = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "flex-1 py-2"
|
|
21
|
+
}, ie = { class: "font-medium" }, de = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "font-bold mr-1"
|
|
24
|
+
}, re = { key: 1 }, ce = { key: 2 }, ue = { key: 3 }, _e = { key: 0 }, pe = { class: "text-sm italic pr-1" }, fe = { class: "" }, me = { class: "pl-2 align-middle" }, he = ["innerHTML"], ye = { class: "flex flex-row justify-between" }, be = { class: "p-5" }, ke = { class: "text-lg leading-6 font-semibold font-sans" }, ve = { class: "flex" }, ge = { class: "p-5" }, xe = { class: "w-[32rem]" }, we = { class: "flex flex-col rounded-lg bg-white dark:bg-dark dark:border-r md:flex-row" }, Ie = ["src", "alt"], Ce = {
|
|
25
|
+
key: 1,
|
|
26
|
+
class: "h-96 border-l border-t border-b w-full rounded-t-lg md:h-auto md:w-56 md:rounded-none md:rounded-l-lg flex justify-center items-center text-gray-300"
|
|
27
|
+
}, Be = { class: "flex flex-col justify-between w-full" }, Le = { class: "text-left px-5 py-2 bg-gray-100 text-black dark:rounded-tr-lg" }, $e = { class: "pl-2 align-middle" }, je = { class: "w-full px-5" }, ze = { class: "flex" }, Ee = {
|
|
28
|
+
key: 0,
|
|
29
|
+
class: "flex-1 py-2"
|
|
30
|
+
}, Te = { class: "font-medium" }, Ve = {
|
|
31
|
+
key: 0,
|
|
32
|
+
class: "font-bold mr-2"
|
|
33
|
+
}, Me = { key: 1 }, Ne = { key: 2 }, Re = { key: 3 }, De = { key: 0 }, He = { class: "text-sm italic pr-1" }, Oe = { class: "pl-2 align-middle" }, qe = { class: "bg-gray-100 dark:bg-transparent dark:border-b dark:rounded-br text-right pr-5" }, Fe = { class: "border-l p-5" }, Se = "https://live.staticflickr.com/4868/45940268562_c5f7fdd06b_q.jpg", Pe = "https://farm5.staticflickr.com/4868/45940268562_9452f09a61_o.png", Ye = /* @__PURE__ */ U({
|
|
34
|
+
__name: "EpReading",
|
|
35
|
+
props: {
|
|
36
|
+
url: {},
|
|
37
|
+
year: {},
|
|
38
|
+
author: {},
|
|
39
|
+
cover: { default: "" },
|
|
40
|
+
title: { default: null },
|
|
41
|
+
container: {},
|
|
42
|
+
editor: {},
|
|
43
|
+
pages: {},
|
|
44
|
+
mandateLevel: {},
|
|
45
|
+
intentions: {},
|
|
46
|
+
compact: { type: Boolean, default: !1 },
|
|
47
|
+
more: { type: Boolean },
|
|
48
|
+
version_link: {},
|
|
49
|
+
hideCover: { type: Boolean, default: !1 },
|
|
50
|
+
type: { default: "neutral" },
|
|
51
|
+
hideIcon: { type: Boolean, default: !1 },
|
|
52
|
+
labelIn: { default: "dans" },
|
|
53
|
+
labelRead: { default: "Lire" },
|
|
54
|
+
labelClose: { default: "Fermer" },
|
|
55
|
+
labelDetails: { default: "détails" },
|
|
56
|
+
labelCard: { default: "Lecture" },
|
|
57
|
+
labelIntentions: { default: "Intentions de lecture" }
|
|
58
|
+
},
|
|
59
|
+
setup(G) {
|
|
60
|
+
const d = G, $ = R(() => !(d.cover === Se || d.cover.trim().length === 0 || d.cover === Pe)), c = R(() => !!(d.author || d.editor || d.container || d.year)), {
|
|
61
|
+
title: f,
|
|
62
|
+
intentions: h,
|
|
63
|
+
cover: j,
|
|
64
|
+
hideCover: z,
|
|
65
|
+
year: u,
|
|
66
|
+
author: y,
|
|
67
|
+
container: b,
|
|
68
|
+
editor: _,
|
|
69
|
+
pages: p,
|
|
70
|
+
type: E,
|
|
71
|
+
mandateLevel: J,
|
|
72
|
+
url: k,
|
|
73
|
+
labelIn: T,
|
|
74
|
+
labelRead: V,
|
|
75
|
+
labelClose: K,
|
|
76
|
+
labelDetails: Q,
|
|
77
|
+
labelCard: w,
|
|
78
|
+
labelIntentions: M
|
|
79
|
+
} = W(d), N = (m) => {
|
|
80
|
+
const I = m.target;
|
|
81
|
+
I.src && (I.src = "https://live.staticflickr.com/4868/45940268562_c5f7fdd06b_q.jpg");
|
|
82
|
+
};
|
|
83
|
+
return (m, I) => m.compact ? (o(), B(q, {
|
|
84
|
+
key: 1,
|
|
85
|
+
title: e(w),
|
|
86
|
+
labelIntentions: e(M),
|
|
87
|
+
icon: e(L),
|
|
88
|
+
flat: "",
|
|
89
|
+
type: e(E),
|
|
90
|
+
hideIcon: m.hideIcon
|
|
91
|
+
}, H({
|
|
92
|
+
content: i(() => [
|
|
93
|
+
t("div", ye, [
|
|
94
|
+
t("div", be, [
|
|
95
|
+
t("span", ke, l(e(f)), 1)
|
|
96
|
+
]),
|
|
97
|
+
t("div", ve, [
|
|
98
|
+
t("div", ge, [
|
|
99
|
+
a(X, null, {
|
|
100
|
+
default: i(({ open: C }) => [
|
|
101
|
+
a(x, {
|
|
102
|
+
text: "",
|
|
103
|
+
onClick: O(C, ["stop"]),
|
|
104
|
+
type: "primary"
|
|
105
|
+
}, {
|
|
106
|
+
default: i(() => [
|
|
107
|
+
v(l(e(Q)), 1)
|
|
108
|
+
]),
|
|
109
|
+
_: 2
|
|
110
|
+
}, 1032, ["onClick"])
|
|
111
|
+
]),
|
|
112
|
+
menu: i(({ close: C }) => [
|
|
113
|
+
t("div", xe, [
|
|
114
|
+
t("div", we, [
|
|
115
|
+
e(z) ? n("", !0) : (o(), s(D, { key: 0 }, [
|
|
116
|
+
$.value ? (o(), s("img", {
|
|
117
|
+
key: 0,
|
|
118
|
+
class: "object-cover h-96 w-full rounded-t-lg md:h-auto md:w-56 md:rounded-none md:rounded-l-lg",
|
|
119
|
+
src: e(j),
|
|
120
|
+
alt: `image de la lecture ${e(f)}`,
|
|
121
|
+
onError: N
|
|
122
|
+
}, null, 40, Ie)) : (o(), s("div", Ce, [
|
|
123
|
+
a(r, {
|
|
124
|
+
"icon-path": e(S),
|
|
125
|
+
size: "95"
|
|
126
|
+
}, null, 8, ["icon-path"])
|
|
127
|
+
]))
|
|
128
|
+
], 64)),
|
|
129
|
+
t("div", Be, [
|
|
130
|
+
t("div", Le, [
|
|
131
|
+
a(r, {
|
|
132
|
+
size: 24,
|
|
133
|
+
"icon-path": e(L)
|
|
134
|
+
}, null, 8, ["icon-path"]),
|
|
135
|
+
t("span", $e, l(e(w)), 1)
|
|
136
|
+
]),
|
|
137
|
+
t("div", je, [
|
|
138
|
+
t("h4", {
|
|
139
|
+
class: g(`text-xl font-semibold py-4 ${c.value || e(p) ? "border-b" : ""}`)
|
|
140
|
+
}, l(e(f)), 3),
|
|
141
|
+
t("div", ze, [
|
|
142
|
+
c.value ? (o(), s("div", Ee, [
|
|
143
|
+
t("p", Te, [
|
|
144
|
+
e(y) ? (o(), s("span", Ve, l(e(y)), 1)) : n("", !0),
|
|
145
|
+
e(u) ? (o(), s("span", Me, " (" + l(e(u)) + ")", 1)) : n("", !0),
|
|
146
|
+
e(u) && e(_) ? (o(), s("span", Ne, ", ")) : n("", !0),
|
|
147
|
+
e(_) ? (o(), s("span", Re, l(e(_)), 1)) : n("", !0)
|
|
148
|
+
]),
|
|
149
|
+
e(b) ? (o(), s("p", De, [
|
|
150
|
+
t("span", He, l(e(T)), 1),
|
|
151
|
+
t("span", null, l(e(b)), 1)
|
|
152
|
+
])) : n("", !0)
|
|
153
|
+
])) : n("", !0),
|
|
154
|
+
e(p) ? (o(), s("div", {
|
|
155
|
+
key: 1,
|
|
156
|
+
class: g(`flex-1 pt-2 pb-2 ${c.value ? "border-l pl-2" : ""}`)
|
|
157
|
+
}, [
|
|
158
|
+
a(r, {
|
|
159
|
+
size: 24,
|
|
160
|
+
"icon-path": e(A)
|
|
161
|
+
}, null, 8, ["icon-path"]),
|
|
162
|
+
t("span", Oe, l(e(p)), 1)
|
|
163
|
+
], 2)) : n("", !0)
|
|
164
|
+
])
|
|
165
|
+
]),
|
|
166
|
+
t("div", qe, [
|
|
167
|
+
a(x, {
|
|
168
|
+
text: "",
|
|
169
|
+
onClick: O(C, ["stop"]),
|
|
170
|
+
type: "error"
|
|
171
|
+
}, {
|
|
172
|
+
default: i(() => [
|
|
173
|
+
v(l(e(K)), 1)
|
|
174
|
+
]),
|
|
175
|
+
_: 2
|
|
176
|
+
}, 1032, ["onClick"])
|
|
177
|
+
])
|
|
178
|
+
])
|
|
179
|
+
])
|
|
180
|
+
])
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
})
|
|
184
|
+
]),
|
|
185
|
+
t("div", Fe, [
|
|
186
|
+
e(k) ? (o(), B(x, {
|
|
187
|
+
key: 0,
|
|
188
|
+
text: "",
|
|
189
|
+
href: e(k),
|
|
190
|
+
type: "primary"
|
|
191
|
+
}, {
|
|
192
|
+
default: i(() => [
|
|
193
|
+
a(r, {
|
|
194
|
+
size: 20,
|
|
195
|
+
"icon-path": e(P)
|
|
196
|
+
}, null, 8, ["icon-path"]),
|
|
197
|
+
v(" " + l(e(V)), 1)
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
}, 8, ["href"])) : n("", !0)
|
|
201
|
+
])
|
|
202
|
+
])
|
|
203
|
+
])
|
|
204
|
+
]),
|
|
205
|
+
_: 2
|
|
206
|
+
}, [
|
|
207
|
+
e(h) ? {
|
|
208
|
+
name: "intentions",
|
|
209
|
+
fn: i(() => [
|
|
210
|
+
t("div", {
|
|
211
|
+
innerHTML: e(F)(e(h))
|
|
212
|
+
}, null, 8, he)
|
|
213
|
+
]),
|
|
214
|
+
key: "0"
|
|
215
|
+
} : void 0
|
|
216
|
+
]), 1032, ["title", "labelIntentions", "icon", "type", "hideIcon"])) : (o(), s("div", Y, [
|
|
217
|
+
e(z) ? n("", !0) : (o(), s(D, { key: 0 }, [
|
|
218
|
+
$.value ? (o(), s("div", Z, [
|
|
219
|
+
t("img", {
|
|
220
|
+
src: e(j),
|
|
221
|
+
alt: `image de la lecture ${e(f)}`,
|
|
222
|
+
onError: N
|
|
223
|
+
}, null, 40, ee)
|
|
224
|
+
])) : (o(), s("div", te, [
|
|
225
|
+
a(r, {
|
|
226
|
+
"icon-path": e(S),
|
|
227
|
+
size: "95"
|
|
228
|
+
}, null, 8, ["icon-path"])
|
|
229
|
+
]))
|
|
230
|
+
], 64)),
|
|
231
|
+
t("div", oe, [
|
|
232
|
+
a(q, {
|
|
233
|
+
title: e(w),
|
|
234
|
+
labelIntentions: e(M),
|
|
235
|
+
icon: e(L),
|
|
236
|
+
flat: "",
|
|
237
|
+
type: e(E),
|
|
238
|
+
hideIcon: m.hideIcon,
|
|
239
|
+
mandateLevel: e(J)
|
|
240
|
+
}, H({
|
|
241
|
+
content: i(() => [
|
|
242
|
+
t("div", le, [
|
|
243
|
+
t("h4", {
|
|
244
|
+
class: g(`text-xl font-semibold ${c.value || e(p) ? "border-b" : ""}`)
|
|
245
|
+
}, l(e(f)), 3),
|
|
246
|
+
t("div", ne, [
|
|
247
|
+
c.value ? (o(), s("div", ae, [
|
|
248
|
+
t("p", ie, [
|
|
249
|
+
e(y) ? (o(), s("span", de, l(e(y)), 1)) : n("", !0),
|
|
250
|
+
e(u) ? (o(), s("span", re, "(" + l(e(u)) + ")", 1)) : n("", !0),
|
|
251
|
+
e(u) && e(_) ? (o(), s("span", ce, ", ")) : n("", !0),
|
|
252
|
+
e(_) ? (o(), s("span", ue, l(e(_)), 1)) : n("", !0)
|
|
253
|
+
]),
|
|
254
|
+
e(b) ? (o(), s("p", _e, [
|
|
255
|
+
t("span", pe, l(e(T)), 1),
|
|
256
|
+
t("span", fe, l(e(b)), 1)
|
|
257
|
+
])) : n("", !0)
|
|
258
|
+
])) : n("", !0),
|
|
259
|
+
e(p) ? (o(), s("div", {
|
|
260
|
+
key: 1,
|
|
261
|
+
class: g(`flex-1 pt-2 pb-2 ${c.value ? "border-l pl-2" : ""}`)
|
|
262
|
+
}, [
|
|
263
|
+
a(r, {
|
|
264
|
+
size: 24,
|
|
265
|
+
"icon-path": e(A)
|
|
266
|
+
}, null, 8, ["icon-path"]),
|
|
267
|
+
t("span", me, l(e(p)), 1)
|
|
268
|
+
], 2)) : n("", !0)
|
|
269
|
+
])
|
|
270
|
+
])
|
|
271
|
+
]),
|
|
272
|
+
actions: i(() => [
|
|
273
|
+
e(k) ? (o(), B(x, {
|
|
274
|
+
key: 0,
|
|
275
|
+
text: "",
|
|
276
|
+
href: e(k),
|
|
277
|
+
type: "primary"
|
|
278
|
+
}, {
|
|
279
|
+
default: i(() => [
|
|
280
|
+
a(r, {
|
|
281
|
+
size: 20,
|
|
282
|
+
"icon-path": e(P)
|
|
283
|
+
}, null, 8, ["icon-path"]),
|
|
284
|
+
v(" " + l(e(V)), 1)
|
|
285
|
+
]),
|
|
286
|
+
_: 1
|
|
287
|
+
}, 8, ["href"])) : n("", !0)
|
|
288
|
+
]),
|
|
289
|
+
_: 2
|
|
290
|
+
}, [
|
|
291
|
+
e(h) ? {
|
|
292
|
+
name: "intentions",
|
|
293
|
+
fn: i(() => [
|
|
294
|
+
t("div", {
|
|
295
|
+
innerHTML: e(F)(e(h))
|
|
296
|
+
}, null, 8, se)
|
|
297
|
+
]),
|
|
298
|
+
key: "0"
|
|
299
|
+
} : void 0
|
|
300
|
+
]), 1032, ["title", "labelIntentions", "icon", "type", "hideIcon", "mandateLevel"])
|
|
301
|
+
])
|
|
302
|
+
]));
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
export {
|
|
306
|
+
Ye as default
|
|
307
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import a from "../../_virtual/dynamic-import-helper.js";
|
|
2
|
+
import { defineComponent as n, computed as r, createBlock as u, openBlock as v, resolveDynamicComponent as c, mergeProps as E, defineAsyncComponent as p } from "vue";
|
|
3
|
+
import { useComponent as l } from "../../composables/useComponent.js";
|
|
4
|
+
const f = /* @__PURE__ */ n({
|
|
5
|
+
__name: "EpResource",
|
|
6
|
+
props: {
|
|
7
|
+
pages: {},
|
|
8
|
+
resource: {},
|
|
9
|
+
mandateLevel: {},
|
|
10
|
+
type: { default: "neutral" }
|
|
11
|
+
},
|
|
12
|
+
setup(t) {
|
|
13
|
+
const o = r(() => {
|
|
14
|
+
if (!t.resource.hasOwnProperty("content"))
|
|
15
|
+
return "EpNothing";
|
|
16
|
+
const i = Object.keys(t.resource.content)[0], e = Object.assign({}, t.resource.content[i]);
|
|
17
|
+
return e.pages = t.pages, e.type = i, e.intentions = t.pages, i === "clip" && (e.src = e.url), i === "website" && (e.href = e.url, e.label = e.title), i === "book" && t.pages && (e.pages = null), e.version_link && (e.url = e.version_link.url), e;
|
|
18
|
+
}), s = (i) => {
|
|
19
|
+
const e = l(i);
|
|
20
|
+
return e.name === "EpNothing" ? p(() => import("../signages/EpNothing.vue.js")) : e.name === "EpReading" ? p(() => import("./EpReading.vue2.js")) : p(
|
|
21
|
+
() => a(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("../basics/EpAvatar.vue2.js"), "../basics/EpBadge.vue": () => import("../basics/EpBadge.vue2.js"), "../basics/EpBtn.vue": () => import("../basics/EpBtn.vue2.js"), "../basics/EpCard.vue": () => import("../basics/EpCard.vue2.js"), "../basics/EpChip.vue": () => import("../basics/EpChip.vue2.js"), "../basics/EpDivider.vue": () => import("../basics/EpDivider.vue2.js"), "../basics/EpFlex.vue": () => import("../basics/EpFlex.vue2.js"), "../basics/EpHover.vue": () => import("../basics/EpHover.vue2.js"), "../basics/EpHoverCard.vue": () => import("../basics/EpHoverCard.vue2.js"), "../basics/EpIcon.vue": () => import("../basics/EpIcon.vue2.js"), "../basics/EpImg.vue": () => import("../basics/EpImg.vue2.js"), "../basics/EpImgCarousel.vue": () => import("../basics/EpImgCarousel.vue2.js"), "../basics/EpList.vue": () => import("../basics/EpList.vue.js"), "../basics/EpListItem.vue": () => import("../basics/EpListItem.vue2.js"), "../basics/EpSection.vue": () => import("../basics/EpSection.vue2.js"), "../basics/EpSectionCols.vue": () => import("../basics/EpSectionCols.vue2.js"), "../basics/EpSpinner.vue": () => import("../basics/EpSpinner.vue2.js"), "../basics/EpStackedList.vue": () => import("../basics/EpStackedList.vue2.js"), "../basics/EpTable.vue": () => import("../basics/EpTable.vue2.js"), "../basics/EpText.vue": () => import("../basics/EpText.vue2.js"), "../charts/EpBarChart.vue": () => import("../charts/EpBarChart.vue2.js"), "../charts/EpFunnelChart.vue": () => import("../charts/EpFunnelChart.vue2.js"), "../charts/EpLineChart.vue": () => import("../charts/EpLineChart.vue2.js"), "../charts/EpPieChart.vue": () => import("../charts/EpPieChart.vue2.js"), "./EpBranchingScenario.vue": () => import("./EpBranchingScenario.vue.js"), "./EpCodeblock.vue": () => import("./EpCodeblock.vue3.js"), "./EpConclusion.vue": () => import("./EpConclusion.vue2.js"), "./EpDescription.vue": () => import("./EpDescription.vue2.js"), "./EpDocument.vue": () => import("./EpDocument.vue2.js"), "./EpEdu.vue": () => import("./EpEdu.vue2.js"), "./EpInstructions.vue": () => import("./EpInstructions.vue2.js"), "./EpIntroduction.vue": () => import("./EpIntroduction.vue2.js"), "./EpObjective.vue": () => import("./EpObjective.vue2.js"), "./EpReading.vue": () => import("./EpReading.vue2.js"), "./EpResource.vue": () => import("./EpResource.vue2.js"), "./EpScope.vue": () => import("./EpScope.vue2.js"), "./EpSpecificObjective.vue": () => import("./EpSpecificObjective.vue2.js"), "../forms/EpCheckbox.vue": () => import("../forms/EpCheckbox.vue2.js"), "../forms/EpInput.vue": () => import("../forms/EpInput.vue2.js"), "../forms/EpRadio.vue": () => import("../forms/EpRadio.vue2.js"), "../forms/EpRadioSummative.vue": () => import("../forms/EpRadioSummative.vue2.js"), "../forms/EpSelect.vue": () => import("../forms/EpSelect.vue2.js"), "../forms/EpSwitch.vue": () => import("../forms/EpSwitch.vue2.js"), "../forms/EpTextarea.vue": () => import("../forms/EpTextarea.vue2.js"), "../forms/EpToggle.vue": () => import("../forms/EpToggle.vue2.js"), "../interactions/Ep360Image.vue": () => import("../interactions/Ep360Image.vue2.js"), "../interactions/Ep360Video.vue": () => import("../interactions/Ep360Video.vue2.js"), "../interactions/EpAccordeon.vue": () => import("../interactions/EpAccordeon.vue.js"), "../interactions/EpContentSlider.vue": () => import("../interactions/EpContentSlider.vue2.js"), "../interactions/EpDarkMode.vue": () => import("../interactions/EpDarkMode.vue2.js"), "../interactions/EpDraggable.vue": () => import("../interactions/EpDraggable.vue2.js"), "../interactions/EpHotsPot.vue": () => import("../interactions/EpHotsPot.vue2.js"), "../interactions/EpModal.vue": () => import("../interactions/EpModal.vue3.js"), "../interactions/EpQuestion.vue": () => import("../interactions/EpQuestion.vue2.js"), "../interactions/EpSummativeTable.vue": () => import("../interactions/EpSummativeTable.vue2.js"), "../interactions/EpSvgShow.vue": () => import("../interactions/EpSvgShow.vue2.js"), "../interactions/EpTabs.vue": () => import("../interactions/EpTabs.vue.js"), "../interactions/EpTooltip.vue": () => import("../interactions/EpTooltip.vue3.js"), "../medias/EpAudio.vue": () => import("../medias/EpAudio.vue2.js"), "../medias/EpCardLink.vue": () => import("../medias/EpCardLink.vue2.js"), "../medias/EpCarousel.vue": () => import("../medias/EpCarousel.vue.js"), "../medias/EpHierarchy.vue": () => import("../medias/EpHierarchy.vue.js"), "../medias/EpIframe.vue": () => import("../medias/EpIframe.vue2.js"), "../medias/EpKatex.vue": () => import("../medias/EpKatex.vue.js"), "../medias/EpLink.vue": () => import("../medias/EpLink.vue2.js"), "../medias/EpLinkVersion.vue": () => import("../medias/EpLinkVersion.vue2.js"), "../medias/EpLottieSvg.vue": () => import("../medias/EpLottieSvg.vue2.js"), "../medias/EpSensibleImage.vue": () => import("../medias/EpSensibleImage.vue.js"), "../medias/EpSoftware.vue": () => import("../medias/EpSoftware.vue2.js"), "../medias/EpSvg.vue": () => import("../medias/EpSvg.vue2.js"), "../medias/EpTerm.vue": () => import("../medias/EpTerm.vue2.js"), "../medias/EpTimeLine.vue": () => import("../medias/EpTimeLine.vue3.js"), "../medias/EpVideo.vue": () => import("../medias/EpVideo.vue2.js"), "../medias/EpVideoPanopto.vue": () => import("../medias/EpVideoPanopto.vue2.js"), "../medias/EpWordDef.vue": () => import("../medias/EpWordDef.vue2.js"), "../signages/EpAlert.vue": () => import("../signages/EpAlert.vue.js"), "../signages/EpBadge.vue": () => import("../signages/EpBadge.vue2.js"), "../signages/EpHeader.vue": () => import("../signages/EpHeader.vue2.js"), "../signages/EpNothing.vue": () => import("../signages/EpNothing.vue.js"), "../signages/EpQuote.vue": () => import("../signages/EpQuote.vue2.js"), "../signages/EpSkeleton.vue": () => import("../signages/EpSkeleton.vue3.js"), "../tools/BgAudio.vue": () => import("../tools/BgAudio.vue2.js"), "../tools/Details.vue": () => import("../tools/Details.vue.js"), "../tools/DisplayBox.vue": () => import("../tools/DisplayBox.vue.js"), "../tools/SvgFilter.vue": () => import("../tools/SvgFilter.vue.js"), "../tools/TextMedia.vue": () => import("../tools/TextMedia.vue.js"), "../tools/TimelineItem.vue": () => import("../tools/TimelineItem.vue.js"), "../tools/TwoColsMedia.vue": () => import("../tools/TwoColsMedia.vue.js") }), `../${e.path}/${e.name}.vue`, 3)
|
|
22
|
+
);
|
|
23
|
+
}, m = r(() => o.value.type && o.value.type === "website" && t.type === "base" ? "primary" : t.type);
|
|
24
|
+
return (i, e) => (v(), u(c(s(o.value.type)), E({ ...o.value }, {
|
|
25
|
+
mandateLevel: i.mandateLevel,
|
|
26
|
+
intentions: i.pages,
|
|
27
|
+
type: m.value
|
|
28
|
+
}), null, 16, ["mandateLevel", "intentions", "type"]));
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
export {
|
|
32
|
+
f as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as n, ref as m, computed as o, createBlock as l, createCommentVNode as p, openBlock as i, withCtx as d, createTextVNode as u, toDisplayString as c } from "vue";
|
|
2
|
+
import s from "../basics/EpChip.vue.js";
|
|
3
|
+
const _ = /* @__PURE__ */ n({
|
|
4
|
+
__name: "EpScope",
|
|
5
|
+
props: {
|
|
6
|
+
mandateLevel: {}
|
|
7
|
+
},
|
|
8
|
+
setup(a) {
|
|
9
|
+
let e = m("primary");
|
|
10
|
+
const r = o(() => a.mandateLevel?.value.trim() === "0" ? e.value = "warning" : e.value = "primary");
|
|
11
|
+
return (t, f) => t.mandateLevel ? (i(), l(s, {
|
|
12
|
+
key: 0,
|
|
13
|
+
size: "small",
|
|
14
|
+
type: r.value
|
|
15
|
+
}, {
|
|
16
|
+
default: d(() => [
|
|
17
|
+
u(c(t.mandateLevel.title), 1)
|
|
18
|
+
]),
|
|
19
|
+
_: 1
|
|
20
|
+
}, 8, ["type"])) : p("", !0);
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
_ as default
|
|
25
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as c, computed as i, createElementBlock as o, openBlock as n, normalizeClass as l, createElementVNode as t, createCommentVNode as b, toDisplayString as s } from "vue";
|
|
2
|
+
const m = { class: "flex flex-nowrap gap-x-4" }, g = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "flex-none self-center"
|
|
5
|
+
}, y = { class: "inline-flex items-center rounded-md px-2 py-1 text-xs font-medium text-primary-700 ring-1 ring-inset ring-primary-600/20" }, f = { class: "flex-auto" }, u = /* @__PURE__ */ c({
|
|
6
|
+
__name: "EpSpecificObjective",
|
|
7
|
+
props: {
|
|
8
|
+
label: {},
|
|
9
|
+
color: { default: "border-gray-200" },
|
|
10
|
+
tab: { type: Boolean, default: !1 },
|
|
11
|
+
content: {},
|
|
12
|
+
bg: { type: Boolean }
|
|
13
|
+
},
|
|
14
|
+
setup(r) {
|
|
15
|
+
const d = i(() => {
|
|
16
|
+
const e = r.tab ? `border-l-8 ${r.color} ` : "", a = r.bg ? "bg-gray-100 dark:text-dark" : "";
|
|
17
|
+
return `${e} ${a}`;
|
|
18
|
+
});
|
|
19
|
+
return (e, a) => (n(), o("div", {
|
|
20
|
+
class: l(`${d.value} rounded-lg p-4 ml-10 border border-t-gray-100 border-r-gray-100 border-b-gray-100`)
|
|
21
|
+
}, [
|
|
22
|
+
t("div", m, [
|
|
23
|
+
e.label ? (n(), o("div", g, [
|
|
24
|
+
t("div", y, s(e.label), 1)
|
|
25
|
+
])) : b("", !0),
|
|
26
|
+
t("div", f, [
|
|
27
|
+
t("dd", {
|
|
28
|
+
class: l(`mt-1 text-base font-base text-gray-900 ${e.bg ? "dark:text-dark" : "dark:text-gray-300"}`)
|
|
29
|
+
}, s(e.content), 3)
|
|
30
|
+
])
|
|
31
|
+
])
|
|
32
|
+
], 2));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
u as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { defineComponent as v, toRefs as g, toRef as y, createElementBlock as i, openBlock as u, Fragment as V, createTextVNode as p, createElementVNode as r, toDisplayString as l, unref as e, createVNode as k, withDirectives as B, createCommentVNode as N, isRef as E, vModelText as F } from "vue";
|
|
2
|
+
import { useField as P } from "vee-validate";
|
|
3
|
+
import R from "../basics/EpBadge.vue.js";
|
|
4
|
+
import { mdiLockOutline as C } from "@mdi/js";
|
|
5
|
+
const D = { class: "w-72" }, M = { class: "relative h-10 w-full min-w-[200px]" }, S = ["id", "type", "disabled"], T = ["for"], q = { class: "my-3" }, z = ["name", "id"], I = { key: 0 }, j = /* @__PURE__ */ v({
|
|
6
|
+
__name: "EpInput",
|
|
7
|
+
props: {
|
|
8
|
+
name: {},
|
|
9
|
+
id: { default: "0" },
|
|
10
|
+
label: { default: "label" },
|
|
11
|
+
modelValue: { default: "" },
|
|
12
|
+
type: { default: "text" },
|
|
13
|
+
placeholder: { default: "" },
|
|
14
|
+
iconPath: { default: "" },
|
|
15
|
+
iconSize: { default: "32" },
|
|
16
|
+
disabled: { type: Boolean, default: !1 },
|
|
17
|
+
readonly: { type: Boolean, default: !1 }
|
|
18
|
+
},
|
|
19
|
+
emits: ["update:modelValue"],
|
|
20
|
+
setup(b) {
|
|
21
|
+
const d = b, { id: s, label: c, type: m, disabled: h } = g(d), t = y(d, "name");
|
|
22
|
+
function x(n) {
|
|
23
|
+
return n ? n.length < 8 ? "this field must contain at least 8 characters" : !0 : "this field is required";
|
|
24
|
+
}
|
|
25
|
+
const { value: a, errorMessage: f, meta: w } = P(t, x);
|
|
26
|
+
return (n, o) => (u(), i(V, null, [
|
|
27
|
+
p(l(e(w)) + " ", 1),
|
|
28
|
+
r("div", D, [
|
|
29
|
+
r("div", M, [
|
|
30
|
+
o[1] || (o[1] = r("div", { class: "absolute top-2/4 right-3 grid h-5 w-5 -translate-y-2/4 place-items-center text-neutral-400" }, null, -1)),
|
|
31
|
+
r("input", {
|
|
32
|
+
id: e(s),
|
|
33
|
+
type: e(m),
|
|
34
|
+
class: "peer h-full w-full rounded-[7px] border border-blue-200 border-t-transparent bg-transparent px-3 py-2.5 !pr-9 font-sans text-sm font-normal text-neutral-700 outline outline-0 transition-all placeholder-shown:border placeholder-shown:border-neutral-200 placeholder-shown:border-t-neutral-200 focus:border-2 focus:border-blue-500 focus:border-t-transparent focus:outline-0 disabled:border-0 disabled:bg-neutral-100 disabled:cursor-not-allowed",
|
|
35
|
+
placeholder: " ",
|
|
36
|
+
disabled: e(h)
|
|
37
|
+
}, null, 8, S),
|
|
38
|
+
r("label", {
|
|
39
|
+
for: e(s),
|
|
40
|
+
class: "before:content[' '] after:content[' '] pointer-events-none absolute left-0 -top-1.5 flex h-full w-full select-none text-[11px] font-normal leading-tight text-neutral-400 transition-all before:pointer-events-none before:mt-[6.5px] before:mr-1 before:box-border before:block before:h-1.5 before:w-2.5 before:rounded-tl-md before:border-t before:border-l before:border-blue-200 before:transition-all after:pointer-events-none after:mt-[6.5px] after:ml-1 after:box-border after:block after:h-1.5 after:w-2.5 after:flex-grow after:rounded-tr-md after:border-t after:border-r after:border-blue-200 after:transition-all peer-placeholder-shown:text-sm peer-placeholder-shown:leading-[3.75] peer-placeholder-shown:text-neutral-700 peer-placeholder-shown:before:border-transparent peer-placeholder-shown:after:border-transparent peer-focus:text-[11px] peer-focus:leading-tight peer-focus:text-blue-500 peer-focus:before:border-t-2 peer-focus:before:border-l-2 peer-focus:before:border-blue-500 peer-focus:after:border-t-2 peer-focus:after:border-r-2 peer-focus:after:border-blue-500 peer-disabled:text-transparent peer-disabled:before:border-transparent peer-disabled:after:border-transparent peer-disabled:peer-placeholder-shown:text-neutral-500"
|
|
41
|
+
}, l(e(c)), 9, T),
|
|
42
|
+
k(R, { iconPath: e(C) }, null, 8, ["iconPath"])
|
|
43
|
+
])
|
|
44
|
+
]),
|
|
45
|
+
r("div", q, [
|
|
46
|
+
p(l(t.value) + " ", 1),
|
|
47
|
+
B(r("input", {
|
|
48
|
+
type: "text",
|
|
49
|
+
"onUpdate:modelValue": o[0] || (o[0] = (_) => E(a) ? a.value = _ : null),
|
|
50
|
+
name: t.value,
|
|
51
|
+
id: t.value
|
|
52
|
+
}, null, 8, z), [
|
|
53
|
+
[F, e(a)]
|
|
54
|
+
]),
|
|
55
|
+
e(f) ? (u(), i("div", I, l(e(f)), 1)) : N("", !0)
|
|
56
|
+
])
|
|
57
|
+
], 64));
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
j as default
|
|
62
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as v, computed as t, toRefs as y, createElementBlock as h, openBlock as V, createElementVNode as r, unref as a, normalizeClass as g, toDisplayString as k } from "vue";
|
|
2
|
+
import { radioVariants as x } from "../../types/Radio.js";
|
|
3
|
+
const B = { class: "flex items-center" }, C = ["id", "name", "disabled", "readonly", "value", "checked"], E = ["for"], $ = /* @__PURE__ */ v({
|
|
4
|
+
__name: "EpRadio",
|
|
5
|
+
props: {
|
|
6
|
+
id: { default: "01" },
|
|
7
|
+
label: {},
|
|
8
|
+
disabled: { type: Boolean, default: !1 },
|
|
9
|
+
readonly: { type: Boolean, default: !1 },
|
|
10
|
+
type: { default: "base" },
|
|
11
|
+
value: { default: void 0 },
|
|
12
|
+
modelValue: { default: "" }
|
|
13
|
+
},
|
|
14
|
+
emits: ["update:modelValue"],
|
|
15
|
+
setup(s, { emit: d }) {
|
|
16
|
+
const e = s, u = t(() => `${x[e.type]} mx-2 `), i = t(() => e.modelValue === e.value), l = t(() => e.label ? e.label.trim().replace(/\s/g, "_") : `label_${Math.round(Math.random() * 100)}`), { label: c, disabled: p, readonly: m, value: f } = y(e), _ = d, b = (o) => {
|
|
17
|
+
const n = o.target;
|
|
18
|
+
_("update:modelValue", n.value);
|
|
19
|
+
};
|
|
20
|
+
return (o, n) => (V(), h("span", B, [
|
|
21
|
+
r("input", {
|
|
22
|
+
class: g(["cursor-pointer", u.value]),
|
|
23
|
+
type: "radio",
|
|
24
|
+
id: l.value,
|
|
25
|
+
name: l.value,
|
|
26
|
+
disabled: a(p),
|
|
27
|
+
readonly: a(m),
|
|
28
|
+
value: a(f),
|
|
29
|
+
checked: i.value,
|
|
30
|
+
onChange: b
|
|
31
|
+
}, null, 42, C),
|
|
32
|
+
r("label", {
|
|
33
|
+
for: l.value,
|
|
34
|
+
class: "disabled:opacity-40 cursor-pointer"
|
|
35
|
+
}, k(a(c)), 9, E)
|
|
36
|
+
]));
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
$ as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as v, computed as y, toRefs as g, createElementBlock as h, openBlock as _, createElementVNode as l, unref as e, toDisplayString as x } from "vue";
|
|
2
|
+
const k = { class: "cursor-pointer hover:text-white dark:hover:text-black flex items-center rounded-md py-3 px-3 text-xs font-semibold uppercase sm:flex-1 hover:bg-base" }, V = ["id", "name", "disabled", "readonly", "value", "checked"], B = { class: "ml-2" }, E = /* @__PURE__ */ v({
|
|
3
|
+
__name: "EpRadioSummative",
|
|
4
|
+
props: {
|
|
5
|
+
id: { default: "01" },
|
|
6
|
+
label: {},
|
|
7
|
+
disabled: { type: Boolean, default: !1 },
|
|
8
|
+
readonly: { type: Boolean, default: !1 },
|
|
9
|
+
type: { default: "base" },
|
|
10
|
+
value: { default: void 0 },
|
|
11
|
+
modelValue: { default: null }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:modelValue"],
|
|
14
|
+
setup(s, { emit: d }) {
|
|
15
|
+
const t = s, r = y(() => t.modelValue === t.value), { label: n, disabled: u, readonly: c, value: i, id: a } = g(t), p = d, m = (o) => {
|
|
16
|
+
const b = +o.target.value || 0;
|
|
17
|
+
p("update:modelValue", b);
|
|
18
|
+
};
|
|
19
|
+
return (o, f) => (_(), h("label", k, [
|
|
20
|
+
l("input", {
|
|
21
|
+
type: "radio",
|
|
22
|
+
id: e(a),
|
|
23
|
+
name: e(a),
|
|
24
|
+
disabled: e(u),
|
|
25
|
+
readonly: e(c),
|
|
26
|
+
value: e(i),
|
|
27
|
+
checked: r.value,
|
|
28
|
+
onChange: m,
|
|
29
|
+
class: "rounded bg-base-dark border-gray-300 focus:border-transparent focus:bg-base text-primary focus:ring-1 focus:ring-offset-2 focus:ring-primary"
|
|
30
|
+
}, null, 40, V),
|
|
31
|
+
l("span", B, x(e(n)), 1)
|
|
32
|
+
]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
E as default
|
|
37
|
+
};
|