ep-lib-ts 1.0.58 → 1.0.60
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/_virtual/_plugin-vue_export-helper.js +8 -6
- package/dist/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/dist/_virtual/dynamic-import-helper.js +7 -5
- package/dist/_virtual/dynamic-import-helper.js.map +1 -0
- package/dist/assets/ep-lib-ts.css +235 -0
- package/dist/components/basics/EpAvatar.vue.js +45 -19
- package/dist/components/basics/EpAvatar.vue.js.map +1 -0
- package/dist/components/basics/EpAvatar.vue2.js +3 -2
- package/dist/components/basics/EpAvatar.vue2.js.map +1 -0
- package/dist/components/basics/EpBadge.vue.js +3 -20
- package/dist/components/basics/EpBadge.vue.js.map +1 -0
- package/dist/components/basics/EpBadge.vue2.js +29 -2
- package/dist/components/basics/EpBadge.vue2.js.map +1 -0
- package/dist/components/basics/EpBtn.vue.js +81 -55
- package/dist/components/basics/EpBtn.vue.js.map +1 -0
- package/dist/components/basics/EpBtn.vue2.js +3 -2
- package/dist/components/basics/EpBtn.vue2.js.map +1 -0
- package/dist/components/basics/EpCard.vue.js +107 -56
- package/dist/components/basics/EpCard.vue.js.map +1 -0
- package/dist/components/basics/EpCard.vue2.js +3 -2
- package/dist/components/basics/EpCard.vue2.js.map +1 -0
- package/dist/components/basics/EpChip.vue.js +55 -34
- package/dist/components/basics/EpChip.vue.js.map +1 -0
- package/dist/components/basics/EpChip.vue2.js +3 -2
- package/dist/components/basics/EpChip.vue2.js.map +1 -0
- package/dist/components/basics/EpDivider.vue.js +22 -10
- package/dist/components/basics/EpDivider.vue.js.map +1 -0
- package/dist/components/basics/EpDivider.vue2.js +3 -2
- package/dist/components/basics/EpDivider.vue2.js.map +1 -0
- package/dist/components/basics/EpFlex.vue.js +11 -7
- package/dist/components/basics/EpFlex.vue.js.map +1 -0
- package/dist/components/basics/EpFlex.vue2.js +3 -2
- package/dist/components/basics/EpFlex.vue2.js.map +1 -0
- package/dist/components/basics/EpHover.vue.js +38 -23
- package/dist/components/basics/EpHover.vue.js.map +1 -0
- package/dist/components/basics/EpHover.vue2.js +3 -2
- package/dist/components/basics/EpHover.vue2.js.map +1 -0
- package/dist/components/basics/EpHoverCard.vue.js +104 -60
- package/dist/components/basics/EpHoverCard.vue.js.map +1 -0
- package/dist/components/basics/EpHoverCard.vue2.js +3 -2
- package/dist/components/basics/EpHoverCard.vue2.js.map +1 -0
- package/dist/components/basics/EpIcon.vue.js +21 -15
- package/dist/components/basics/EpIcon.vue.js.map +1 -0
- package/dist/components/basics/EpIcon.vue2.js +3 -2
- package/dist/components/basics/EpIcon.vue2.js.map +1 -0
- package/dist/components/basics/EpImg.vue.js +184 -141
- package/dist/components/basics/EpImg.vue.js.map +1 -0
- package/dist/components/basics/EpImg.vue2.js +3 -2
- package/dist/components/basics/EpImg.vue2.js.map +1 -0
- package/dist/components/basics/EpImgCarousel.vue.js +135 -97
- package/dist/components/basics/EpImgCarousel.vue.js.map +1 -0
- package/dist/components/basics/EpImgCarousel.vue2.js +3 -2
- package/dist/components/basics/EpImgCarousel.vue2.js.map +1 -0
- package/dist/components/basics/EpList.vue.js +10 -8
- package/dist/components/basics/EpList.vue.js.map +1 -0
- package/dist/components/basics/EpListItem.vue.js +43 -22
- package/dist/components/basics/EpListItem.vue.js.map +1 -0
- package/dist/components/basics/EpListItem.vue2.js +3 -2
- package/dist/components/basics/EpListItem.vue2.js.map +1 -0
- package/dist/components/basics/EpSection.vue.js +75 -52
- package/dist/components/basics/EpSection.vue.js.map +1 -0
- package/dist/components/basics/EpSection.vue2.js +3 -2
- package/dist/components/basics/EpSection.vue2.js.map +1 -0
- package/dist/components/basics/EpSectionCols.vue.js +92 -67
- package/dist/components/basics/EpSectionCols.vue.js.map +1 -0
- package/dist/components/basics/EpSectionCols.vue2.js +3 -2
- package/dist/components/basics/EpSectionCols.vue2.js.map +1 -0
- package/dist/components/basics/EpSpinner.vue.js +120 -109
- package/dist/components/basics/EpSpinner.vue.js.map +1 -0
- package/dist/components/basics/EpSpinner.vue2.js +3 -2
- package/dist/components/basics/EpSpinner.vue2.js.map +1 -0
- package/dist/components/basics/EpStackedList.vue.js +71 -56
- package/dist/components/basics/EpStackedList.vue.js.map +1 -0
- package/dist/components/basics/EpStackedList.vue2.js +3 -2
- package/dist/components/basics/EpStackedList.vue2.js.map +1 -0
- package/dist/components/basics/EpTable.vue.js +49 -35
- package/dist/components/basics/EpTable.vue.js.map +1 -0
- package/dist/components/basics/EpTable.vue2.js +3 -2
- package/dist/components/basics/EpTable.vue2.js.map +1 -0
- package/dist/components/basics/EpText.vue.js +119 -67
- package/dist/components/basics/EpText.vue.js.map +1 -0
- package/dist/components/basics/EpText.vue2.js +3 -2
- package/dist/components/basics/EpText.vue2.js.map +1 -0
- package/dist/components/charts/EpBarChart.vue.js +78 -59
- package/dist/components/charts/EpBarChart.vue.js.map +1 -0
- package/dist/components/charts/EpBarChart.vue2.js +3 -2
- package/dist/components/charts/EpBarChart.vue2.js.map +1 -0
- package/dist/components/charts/EpFunnelChart.vue.js +103 -82
- package/dist/components/charts/EpFunnelChart.vue.js.map +1 -0
- package/dist/components/charts/EpFunnelChart.vue2.js +3 -2
- package/dist/components/charts/EpFunnelChart.vue2.js.map +1 -0
- package/dist/components/charts/EpLineChart.vue.js +91 -72
- package/dist/components/charts/EpLineChart.vue.js.map +1 -0
- package/dist/components/charts/EpLineChart.vue2.js +3 -2
- package/dist/components/charts/EpLineChart.vue2.js.map +1 -0
- package/dist/components/charts/EpPieChart.vue.js +75 -56
- package/dist/components/charts/EpPieChart.vue.js.map +1 -0
- package/dist/components/charts/EpPieChart.vue2.js +3 -2
- package/dist/components/charts/EpPieChart.vue2.js.map +1 -0
- package/dist/components/educationals/EpBranchingScenario.vue.js +5 -4
- package/dist/components/educationals/EpBranchingScenario.vue.js.map +1 -0
- package/dist/components/educationals/EpBranchingScenario.vue2.js +232 -178
- package/dist/components/educationals/EpBranchingScenario.vue2.js.map +1 -0
- package/dist/components/educationals/EpCodeblock.vue.js +54 -33
- package/dist/components/educationals/EpCodeblock.vue.js.map +1 -0
- package/dist/components/educationals/EpCodeblock.vue3.js +3 -2
- package/dist/components/educationals/EpCodeblock.vue3.js.map +1 -0
- package/dist/components/educationals/EpConclusion.vue.js +37 -26
- package/dist/components/educationals/EpConclusion.vue.js.map +1 -0
- package/dist/components/educationals/EpConclusion.vue2.js +3 -2
- package/dist/components/educationals/EpConclusion.vue2.js.map +1 -0
- package/dist/components/educationals/EpDescription.vue.js +37 -26
- package/dist/components/educationals/EpDescription.vue.js.map +1 -0
- package/dist/components/educationals/EpDescription.vue2.js +3 -2
- package/dist/components/educationals/EpDescription.vue2.js.map +1 -0
- package/dist/components/educationals/EpDocument.vue.js +94 -69
- package/dist/components/educationals/EpDocument.vue.js.map +1 -0
- package/dist/components/educationals/EpDocument.vue2.js +3 -2
- package/dist/components/educationals/EpDocument.vue2.js.map +1 -0
- package/dist/components/educationals/EpEdu.vue.js +100 -61
- package/dist/components/educationals/EpEdu.vue.js.map +1 -0
- package/dist/components/educationals/EpEdu.vue2.js +3 -2
- package/dist/components/educationals/EpEdu.vue2.js.map +1 -0
- package/dist/components/educationals/EpInstructions.vue.js +49 -37
- package/dist/components/educationals/EpInstructions.vue.js.map +1 -0
- package/dist/components/educationals/EpInstructions.vue2.js +3 -2
- package/dist/components/educationals/EpInstructions.vue2.js.map +1 -0
- package/dist/components/educationals/EpIntroduction.vue.js +35 -25
- package/dist/components/educationals/EpIntroduction.vue.js.map +1 -0
- package/dist/components/educationals/EpIntroduction.vue2.js +3 -2
- package/dist/components/educationals/EpIntroduction.vue2.js.map +1 -0
- package/dist/components/educationals/EpObjective.vue.js +22 -15
- package/dist/components/educationals/EpObjective.vue.js.map +1 -0
- package/dist/components/educationals/EpObjective.vue2.js +3 -2
- package/dist/components/educationals/EpObjective.vue2.js.map +1 -0
- package/dist/components/educationals/EpReading.vue.js +313 -248
- package/dist/components/educationals/EpReading.vue.js.map +1 -0
- package/dist/components/educationals/EpReading.vue2.js +3 -2
- package/dist/components/educationals/EpReading.vue2.js.map +1 -0
- package/dist/components/educationals/EpResource.vue.js +56 -20
- package/dist/components/educationals/EpResource.vue.js.map +1 -0
- package/dist/components/educationals/EpResource.vue2.js +3 -2
- package/dist/components/educationals/EpResource.vue2.js.map +1 -0
- package/dist/components/educationals/EpScope.vue.js +26 -17
- package/dist/components/educationals/EpScope.vue.js.map +1 -0
- package/dist/components/educationals/EpScope.vue2.js +3 -2
- package/dist/components/educationals/EpScope.vue2.js.map +1 -0
- package/dist/components/educationals/EpSpecificObjective.vue.js +30 -22
- package/dist/components/educationals/EpSpecificObjective.vue.js.map +1 -0
- package/dist/components/educationals/EpSpecificObjective.vue2.js +3 -2
- package/dist/components/educationals/EpSpecificObjective.vue2.js.map +1 -0
- package/dist/components/forms/EpCheckbox.vue.js +3 -39
- package/dist/components/forms/EpCheckbox.vue.js.map +1 -0
- package/dist/components/forms/EpCheckbox.vue2.js +48 -2
- package/dist/components/forms/EpCheckbox.vue2.js.map +1 -0
- package/dist/components/forms/EpInput.vue.js +3 -60
- package/dist/components/forms/EpInput.vue.js.map +1 -0
- package/dist/components/forms/EpInput.vue2.js +78 -2
- package/dist/components/forms/EpInput.vue2.js.map +1 -0
- package/dist/components/forms/EpRadio.vue.js +3 -39
- package/dist/components/forms/EpRadio.vue.js.map +1 -0
- package/dist/components/forms/EpRadio.vue2.js +60 -2
- package/dist/components/forms/EpRadio.vue2.js.map +1 -0
- package/dist/components/forms/EpRadioSummative.vue.js +3 -35
- package/dist/components/forms/EpRadioSummative.vue.js.map +1 -0
- package/dist/components/forms/EpRadioSummative.vue2.js +48 -2
- package/dist/components/forms/EpRadioSummative.vue2.js.map +1 -0
- package/dist/components/forms/EpSelect.vue.js +3 -31
- package/dist/components/forms/EpSelect.vue.js.map +1 -0
- package/dist/components/forms/EpSelect.vue2.js +39 -2
- package/dist/components/forms/EpSelect.vue2.js.map +1 -0
- package/dist/components/forms/EpSwitch.vue.js +3 -46
- package/dist/components/forms/EpSwitch.vue.js.map +1 -0
- package/dist/components/forms/EpSwitch.vue2.js +58 -2
- package/dist/components/forms/EpSwitch.vue2.js.map +1 -0
- package/dist/components/forms/EpTextarea.vue.js +3 -33
- package/dist/components/forms/EpTextarea.vue.js.map +1 -0
- package/dist/components/forms/EpTextarea.vue2.js +43 -2
- package/dist/components/forms/EpTextarea.vue2.js.map +1 -0
- package/dist/components/forms/EpToggle.vue.js +3 -36
- package/dist/components/forms/EpToggle.vue.js.map +1 -0
- package/dist/components/forms/EpToggle.vue2.js +44 -2
- package/dist/components/forms/EpToggle.vue2.js.map +1 -0
- package/dist/components/interactions/Ep360Image.vue.js +3 -8
- package/dist/components/interactions/Ep360Image.vue.js.map +1 -0
- package/dist/components/interactions/Ep360Image.vue2.js +11 -2
- package/dist/components/interactions/Ep360Image.vue2.js.map +1 -0
- package/dist/components/interactions/Ep360Video.vue.js +3 -8
- package/dist/components/interactions/Ep360Video.vue.js.map +1 -0
- package/dist/components/interactions/Ep360Video.vue2.js +11 -2
- package/dist/components/interactions/Ep360Video.vue2.js.map +1 -0
- package/dist/components/interactions/EpAccordeon.vue.js +5 -4
- package/dist/components/interactions/EpAccordeon.vue.js.map +1 -0
- package/dist/components/interactions/EpAccordeon.vue2.js +88 -60
- package/dist/components/interactions/EpAccordeon.vue2.js.map +1 -0
- package/dist/components/interactions/EpContentSlider.vue.js +208 -156
- package/dist/components/interactions/EpContentSlider.vue.js.map +1 -0
- package/dist/components/interactions/EpContentSlider.vue2.js +3 -2
- package/dist/components/interactions/EpContentSlider.vue2.js.map +1 -0
- package/dist/components/interactions/EpDarkMode.vue.js +54 -37
- package/dist/components/interactions/EpDarkMode.vue.js.map +1 -0
- package/dist/components/interactions/EpDarkMode.vue2.js +3 -2
- package/dist/components/interactions/EpDarkMode.vue2.js.map +1 -0
- package/dist/components/interactions/EpDraggable.vue.js +171 -119
- package/dist/components/interactions/EpDraggable.vue.js.map +1 -0
- package/dist/components/interactions/EpDraggable.vue2.js +3 -2
- package/dist/components/interactions/EpDraggable.vue2.js.map +1 -0
- package/dist/components/interactions/EpHotSpot.vue.js +78 -45
- package/dist/components/interactions/EpHotSpot.vue.js.map +1 -0
- package/dist/components/interactions/EpHotSpot.vue2.js +3 -2
- package/dist/components/interactions/EpHotSpot.vue2.js.map +1 -0
- package/dist/components/interactions/EpModal.vue.js +51 -39
- package/dist/components/interactions/EpModal.vue.js.map +1 -0
- package/dist/components/interactions/EpModal.vue3.js +3 -2
- package/dist/components/interactions/EpModal.vue3.js.map +1 -0
- package/dist/components/interactions/EpQuestion.vue.js +181 -134
- package/dist/components/interactions/EpQuestion.vue.js.map +1 -0
- package/dist/components/interactions/EpQuestion.vue2.js +3 -2
- package/dist/components/interactions/EpQuestion.vue2.js.map +1 -0
- package/dist/components/interactions/EpSummativeTable.vue.js +57 -36
- package/dist/components/interactions/EpSummativeTable.vue.js.map +1 -0
- package/dist/components/interactions/EpSummativeTable.vue2.js +3 -2
- package/dist/components/interactions/EpSummativeTable.vue2.js.map +1 -0
- package/dist/components/interactions/EpSvgShow.vue.js +64 -42
- package/dist/components/interactions/EpSvgShow.vue.js.map +1 -0
- package/dist/components/interactions/EpSvgShow.vue2.js +3 -2
- package/dist/components/interactions/EpSvgShow.vue2.js.map +1 -0
- package/dist/components/interactions/EpTabs.vue.js +10 -8
- package/dist/components/interactions/EpTabs.vue.js.map +1 -0
- package/dist/components/interactions/EpTooltip.vue.js +38 -12
- package/dist/components/interactions/EpTooltip.vue.js.map +1 -0
- package/dist/components/interactions/EpTooltip.vue3.js +3 -2
- package/dist/components/interactions/EpTooltip.vue3.js.map +1 -0
- package/dist/components/medias/EpAudio.vue.js +92 -60
- package/dist/components/medias/EpAudio.vue.js.map +1 -0
- package/dist/components/medias/EpAudio.vue2.js +3 -2
- package/dist/components/medias/EpAudio.vue2.js.map +1 -0
- package/dist/components/medias/EpCardLink.vue.js +60 -46
- package/dist/components/medias/EpCardLink.vue.js.map +1 -0
- package/dist/components/medias/EpCardLink.vue2.js +3 -2
- package/dist/components/medias/EpCardLink.vue2.js.map +1 -0
- package/dist/components/medias/EpCarousel.vue.js +5 -4
- package/dist/components/medias/EpCarousel.vue.js.map +1 -0
- package/dist/components/medias/EpCarousel.vue2.js +168 -130
- package/dist/components/medias/EpCarousel.vue2.js.map +1 -0
- package/dist/components/medias/EpHierarchy.vue.js +5 -4
- package/dist/components/medias/EpHierarchy.vue.js.map +1 -0
- package/dist/components/medias/EpHierarchy.vue2.js +187 -107
- package/dist/components/medias/EpHierarchy.vue2.js.map +1 -0
- package/dist/components/medias/EpIframe.vue.js +65 -38
- package/dist/components/medias/EpIframe.vue.js.map +1 -0
- package/dist/components/medias/EpIframe.vue2.js +3 -2
- package/dist/components/medias/EpIframe.vue2.js.map +1 -0
- package/dist/components/medias/EpKatex.vue.js +5 -4
- package/dist/components/medias/EpKatex.vue.js.map +1 -0
- package/dist/components/medias/EpKatex.vue2.js +59 -43
- package/dist/components/medias/EpKatex.vue2.js.map +1 -0
- package/dist/components/medias/EpLink.vue.js +73 -56
- package/dist/components/medias/EpLink.vue.js.map +1 -0
- package/dist/components/medias/EpLink.vue2.js +3 -2
- package/dist/components/medias/EpLink.vue2.js.map +1 -0
- package/dist/components/medias/EpLinkVersion.vue.js +33 -24
- package/dist/components/medias/EpLinkVersion.vue.js.map +1 -0
- package/dist/components/medias/EpLinkVersion.vue2.js +3 -2
- package/dist/components/medias/EpLinkVersion.vue2.js.map +1 -0
- package/dist/components/medias/EpLottieSvg.vue.js +54 -34
- package/dist/components/medias/EpLottieSvg.vue.js.map +1 -0
- package/dist/components/medias/EpLottieSvg.vue2.js +3 -2
- package/dist/components/medias/EpLottieSvg.vue2.js.map +1 -0
- package/dist/components/medias/EpSensibleImage.vue.js +5 -4
- package/dist/components/medias/EpSensibleImage.vue.js.map +1 -0
- package/dist/components/medias/EpSensibleImage.vue2.js +69 -50
- package/dist/components/medias/EpSensibleImage.vue2.js.map +1 -0
- package/dist/components/medias/EpSoftware.vue.js +104 -86
- package/dist/components/medias/EpSoftware.vue.js.map +1 -0
- package/dist/components/medias/EpSoftware.vue2.js +3 -2
- package/dist/components/medias/EpSoftware.vue2.js.map +1 -0
- package/dist/components/medias/EpSvg.vue.js +56 -40
- package/dist/components/medias/EpSvg.vue.js.map +1 -0
- package/dist/components/medias/EpSvg.vue2.js +3 -2
- package/dist/components/medias/EpSvg.vue2.js.map +1 -0
- package/dist/components/medias/EpTerm.vue.js +163 -111
- package/dist/components/medias/EpTerm.vue.js.map +1 -0
- package/dist/components/medias/EpTerm.vue2.js +3 -2
- package/dist/components/medias/EpTerm.vue2.js.map +1 -0
- package/dist/components/medias/EpTimeLine.vue.js +89 -52
- package/dist/components/medias/EpTimeLine.vue.js.map +1 -0
- package/dist/components/medias/EpTimeLine.vue3.js +3 -2
- package/dist/components/medias/EpTimeLine.vue3.js.map +1 -0
- package/dist/components/medias/EpVideo.vue.js +97 -63
- package/dist/components/medias/EpVideo.vue.js.map +1 -0
- package/dist/components/medias/EpVideo.vue2.js +3 -2
- package/dist/components/medias/EpVideo.vue2.js.map +1 -0
- package/dist/components/medias/EpVideoPanopto.vue.js +61 -40
- package/dist/components/medias/EpVideoPanopto.vue.js.map +1 -0
- package/dist/components/medias/EpVideoPanopto.vue2.js +3 -2
- package/dist/components/medias/EpVideoPanopto.vue2.js.map +1 -0
- package/dist/components/medias/EpWordDef.vue.js +123 -73
- package/dist/components/medias/EpWordDef.vue.js.map +1 -0
- package/dist/components/medias/EpWordDef.vue2.js +3 -2
- package/dist/components/medias/EpWordDef.vue2.js.map +1 -0
- package/dist/components/signages/EpAlert.vue.js +5 -4
- package/dist/components/signages/EpAlert.vue.js.map +1 -0
- package/dist/components/signages/EpAlert.vue2.js +87 -51
- package/dist/components/signages/EpAlert.vue2.js.map +1 -0
- package/dist/components/signages/EpBadge.vue.js +44 -17
- package/dist/components/signages/EpBadge.vue.js.map +1 -0
- package/dist/components/signages/EpBadge.vue2.js +3 -2
- package/dist/components/signages/EpBadge.vue2.js.map +1 -0
- package/dist/components/signages/EpHeader.vue.js +179 -143
- package/dist/components/signages/EpHeader.vue.js.map +1 -0
- package/dist/components/signages/EpHeader.vue2.js +3 -2
- package/dist/components/signages/EpHeader.vue2.js.map +1 -0
- package/dist/components/signages/EpNothing.vue.js +8 -7
- package/dist/components/signages/EpNothing.vue.js.map +1 -0
- package/dist/components/signages/EpQuote.vue.js +83 -61
- package/dist/components/signages/EpQuote.vue.js.map +1 -0
- package/dist/components/signages/EpQuote.vue2.js +3 -2
- package/dist/components/signages/EpQuote.vue2.js.map +1 -0
- package/dist/components/signages/EpSkeleton.vue.js +31 -22
- package/dist/components/signages/EpSkeleton.vue.js.map +1 -0
- package/dist/components/signages/EpSkeleton.vue3.js +3 -2
- package/dist/components/signages/EpSkeleton.vue3.js.map +1 -0
- package/dist/components/tools/BgAudio.vue.js +3 -2
- package/dist/components/tools/BgAudio.vue.js.map +1 -0
- package/dist/components/tools/BgAudio.vue2.js +39 -42
- package/dist/components/tools/BgAudio.vue2.js.map +1 -0
- package/dist/components/tools/Details.vue.js +3 -2
- package/dist/components/tools/Details.vue.js.map +1 -0
- package/dist/components/tools/Details.vue2.js +48 -43
- package/dist/components/tools/Details.vue2.js.map +1 -0
- package/dist/components/tools/DisplayBox.vue.js +41 -3
- package/dist/components/tools/DisplayBox.vue.js.map +1 -0
- package/dist/components/tools/DisplayBox.vue3.js +6 -0
- package/dist/components/tools/DisplayBox.vue3.js.map +1 -0
- package/dist/components/tools/SvgFilter.vue.js +10 -47
- package/dist/components/tools/SvgFilter.vue.js.map +1 -0
- package/dist/components/tools/TextMedia.vue.js +3 -2
- package/dist/components/tools/TextMedia.vue.js.map +1 -0
- package/dist/components/tools/TextMedia.vue2.js +37 -25
- package/dist/components/tools/TextMedia.vue2.js.map +1 -0
- package/dist/components/tools/TimelineItem.vue.js +5 -4
- package/dist/components/tools/TimelineItem.vue.js.map +1 -0
- package/dist/components/tools/TimelineItem.vue2.js +136 -84
- package/dist/components/tools/TimelineItem.vue2.js.map +1 -0
- package/dist/components/tools/TwoColsMedia.vue.js +3 -2
- package/dist/components/tools/TwoColsMedia.vue.js.map +1 -0
- package/dist/components/tools/TwoColsMedia.vue2.js +39 -29
- package/dist/components/tools/TwoColsMedia.vue2.js.map +1 -0
- package/dist/composables/isHtml.js +5 -3
- package/dist/composables/isHtml.js.map +1 -0
- package/dist/composables/useColors.js +131 -129
- package/dist/composables/useColors.js.map +1 -0
- package/dist/composables/useComponent.js +34 -7
- package/dist/composables/useComponent.js.map +1 -0
- package/dist/composables/useCreateUid.js +6 -4
- package/dist/composables/useCreateUid.js.map +1 -0
- package/dist/composables/useIcons.js +12 -11
- package/dist/composables/useIcons.js.map +1 -0
- package/dist/composables/useMarkdown.js +9 -8
- package/dist/composables/useMarkdown.js.map +1 -0
- package/dist/composables/useRenderText.js +9 -5
- package/dist/composables/useRenderText.js.map +1 -0
- package/dist/entry/basics/EpBtn.d.ts +5 -0
- package/dist/entry/basics/EpBtn.js +5 -0
- package/dist/entry/basics/EpBtn.js.map +1 -0
- package/dist/entry/basics/EpCard.d.ts +5 -0
- package/dist/entry/basics/EpCard.js +5 -0
- package/dist/entry/basics/EpCard.js.map +1 -0
- package/dist/entry/basics/EpChip.d.ts +5 -0
- package/dist/entry/basics/EpChip.js +5 -0
- package/dist/entry/basics/EpChip.js.map +1 -0
- package/dist/entry/basics/EpDivider.d.ts +5 -0
- package/dist/entry/basics/EpDivider.js +5 -0
- package/dist/entry/basics/EpDivider.js.map +1 -0
- package/dist/entry/basics/EpFlex.d.ts +5 -0
- package/dist/entry/basics/EpFlex.js +5 -0
- package/dist/entry/basics/EpFlex.js.map +1 -0
- package/dist/entry/basics/EpHover.d.ts +5 -0
- package/dist/entry/basics/EpHover.js +5 -0
- package/dist/entry/basics/EpHover.js.map +1 -0
- package/dist/entry/basics/EpHoverCard.d.ts +5 -0
- package/dist/entry/basics/EpHoverCard.js +5 -0
- package/dist/entry/basics/EpHoverCard.js.map +1 -0
- package/dist/entry/basics/EpIcon.d.ts +5 -0
- package/dist/entry/basics/EpIcon.js +5 -0
- package/dist/entry/basics/EpIcon.js.map +1 -0
- package/dist/entry/basics/EpImg.d.ts +5 -0
- package/dist/entry/basics/EpImg.js +5 -0
- package/dist/entry/basics/EpImg.js.map +1 -0
- package/dist/entry/basics/EpImgCarousel.d.ts +5 -0
- package/dist/entry/basics/EpImgCarousel.js +5 -0
- package/dist/entry/basics/EpImgCarousel.js.map +1 -0
- package/dist/entry/basics/EpList.d.ts +5 -0
- package/dist/entry/basics/EpList.js +5 -0
- package/dist/entry/basics/EpList.js.map +1 -0
- package/dist/entry/basics/EpListItem.d.ts +5 -0
- package/dist/entry/basics/EpListItem.js +5 -0
- package/dist/entry/basics/EpListItem.js.map +1 -0
- package/dist/entry/basics/EpSection.d.ts +5 -0
- package/dist/entry/basics/EpSection.js +5 -0
- package/dist/entry/basics/EpSection.js.map +1 -0
- package/dist/entry/basics/EpSectionCols.d.ts +5 -0
- package/dist/entry/basics/EpSectionCols.js +5 -0
- package/dist/entry/basics/EpSectionCols.js.map +1 -0
- package/dist/entry/basics/EpSpinner.d.ts +5 -0
- package/dist/entry/basics/EpSpinner.js +5 -0
- package/dist/entry/basics/EpSpinner.js.map +1 -0
- package/dist/entry/basics/EpStackedList.d.ts +5 -0
- package/dist/entry/basics/EpStackedList.js +5 -0
- package/dist/entry/basics/EpStackedList.js.map +1 -0
- package/dist/entry/basics/EpTable.d.ts +5 -0
- package/dist/entry/basics/EpTable.js +5 -0
- package/dist/entry/basics/EpTable.js.map +1 -0
- package/dist/entry/basics/EpText.d.ts +5 -0
- package/dist/entry/basics/EpText.js +5 -0
- package/dist/entry/basics/EpText.js.map +1 -0
- package/dist/entry/charts/EpBarChart.d.ts +5 -0
- package/dist/entry/charts/EpBarChart.js +5 -0
- package/dist/entry/charts/EpBarChart.js.map +1 -0
- package/dist/entry/charts/EpFunnelChart.d.ts +5 -0
- package/dist/entry/charts/EpFunnelChart.js +5 -0
- package/dist/entry/charts/EpFunnelChart.js.map +1 -0
- package/dist/entry/charts/EpLineChart.d.ts +5 -0
- package/dist/entry/charts/EpLineChart.js +5 -0
- package/dist/entry/charts/EpLineChart.js.map +1 -0
- package/dist/entry/charts/EpPieChart.d.ts +5 -0
- package/dist/entry/charts/EpPieChart.js +5 -0
- package/dist/entry/charts/EpPieChart.js.map +1 -0
- package/dist/entry/educationals/EpBranchingScenario.d.ts +5 -0
- package/dist/entry/educationals/EpBranchingScenario.js +5 -0
- package/dist/entry/educationals/EpBranchingScenario.js.map +1 -0
- package/dist/entry/educationals/EpCodeblock.d.ts +5 -0
- package/dist/entry/educationals/EpCodeblock.js +6 -0
- package/dist/entry/educationals/EpCodeblock.js.map +1 -0
- package/dist/entry/educationals/EpConclusion.d.ts +5 -0
- package/dist/entry/educationals/EpConclusion.js +5 -0
- package/dist/entry/educationals/EpConclusion.js.map +1 -0
- package/dist/entry/educationals/EpDescription.d.ts +5 -0
- package/dist/entry/educationals/EpDescription.js +5 -0
- package/dist/entry/educationals/EpDescription.js.map +1 -0
- package/dist/entry/educationals/EpDocument.d.ts +5 -0
- package/dist/entry/educationals/EpDocument.js +5 -0
- package/dist/entry/educationals/EpDocument.js.map +1 -0
- package/dist/entry/educationals/EpEdu.d.ts +5 -0
- package/dist/entry/educationals/EpEdu.js +5 -0
- package/dist/entry/educationals/EpEdu.js.map +1 -0
- package/dist/entry/educationals/EpInstructions.d.ts +5 -0
- package/dist/entry/educationals/EpInstructions.js +5 -0
- package/dist/entry/educationals/EpInstructions.js.map +1 -0
- package/dist/entry/educationals/EpIntroduction.d.ts +5 -0
- package/dist/entry/educationals/EpIntroduction.js +5 -0
- package/dist/entry/educationals/EpIntroduction.js.map +1 -0
- package/dist/entry/educationals/EpObjective.d.ts +5 -0
- package/dist/entry/educationals/EpObjective.js +5 -0
- package/dist/entry/educationals/EpObjective.js.map +1 -0
- package/dist/entry/educationals/EpReading.d.ts +5 -0
- package/dist/entry/educationals/EpReading.js +5 -0
- package/dist/entry/educationals/EpReading.js.map +1 -0
- package/dist/entry/educationals/EpResource.d.ts +5 -0
- package/dist/entry/educationals/EpResource.js +5 -0
- package/dist/entry/educationals/EpResource.js.map +1 -0
- package/dist/entry/educationals/EpScope.d.ts +5 -0
- package/dist/entry/educationals/EpScope.js +5 -0
- package/dist/entry/educationals/EpScope.js.map +1 -0
- package/dist/entry/educationals/EpSpecificObjective.d.ts +5 -0
- package/dist/entry/educationals/EpSpecificObjective.js +5 -0
- package/dist/entry/educationals/EpSpecificObjective.js.map +1 -0
- package/dist/entry/interactions/EpAccordeon.d.ts +5 -0
- package/dist/entry/interactions/EpAccordeon.js +5 -0
- package/dist/entry/interactions/EpAccordeon.js.map +1 -0
- package/dist/entry/interactions/EpContentSlider.d.ts +5 -0
- package/dist/entry/interactions/EpContentSlider.js +5 -0
- package/dist/entry/interactions/EpContentSlider.js.map +1 -0
- package/dist/entry/interactions/EpDarkMode.d.ts +5 -0
- package/dist/entry/interactions/EpDarkMode.js +5 -0
- package/dist/entry/interactions/EpDarkMode.js.map +1 -0
- package/dist/entry/interactions/EpDraggable.d.ts +5 -0
- package/dist/entry/interactions/EpDraggable.js +5 -0
- package/dist/entry/interactions/EpDraggable.js.map +1 -0
- package/dist/entry/interactions/EpHotSpot.d.ts +5 -0
- package/dist/entry/interactions/EpHotSpot.js +5 -0
- package/dist/entry/interactions/EpHotSpot.js.map +1 -0
- package/dist/entry/interactions/EpModal.d.ts +5 -0
- package/dist/entry/interactions/EpModal.js +6 -0
- package/dist/entry/interactions/EpModal.js.map +1 -0
- package/dist/entry/interactions/EpQuestion.d.ts +5 -0
- package/dist/entry/interactions/EpQuestion.js +5 -0
- package/dist/entry/interactions/EpQuestion.js.map +1 -0
- package/dist/entry/interactions/EpSummativeTable.d.ts +5 -0
- package/dist/entry/interactions/EpSummativeTable.js +5 -0
- package/dist/entry/interactions/EpSummativeTable.js.map +1 -0
- package/dist/entry/interactions/EpSvgShow.d.ts +5 -0
- package/dist/entry/interactions/EpSvgShow.js +5 -0
- package/dist/entry/interactions/EpSvgShow.js.map +1 -0
- package/dist/entry/interactions/EpTabs.d.ts +5 -0
- package/dist/entry/interactions/EpTabs.js +5 -0
- package/dist/entry/interactions/EpTabs.js.map +1 -0
- package/dist/entry/interactions/EpTooltip.d.ts +5 -0
- package/dist/entry/interactions/EpTooltip.js +6 -0
- package/dist/entry/interactions/EpTooltip.js.map +1 -0
- package/dist/entry/medias/EpAudio.d.ts +5 -0
- package/dist/entry/medias/EpAudio.js +5 -0
- package/dist/entry/medias/EpAudio.js.map +1 -0
- package/dist/entry/medias/EpCardLink.d.ts +5 -0
- package/dist/entry/medias/EpCardLink.js +5 -0
- package/dist/entry/medias/EpCardLink.js.map +1 -0
- package/dist/entry/medias/EpCarousel.d.ts +5 -0
- package/dist/entry/medias/EpCarousel.js +5 -0
- package/dist/entry/medias/EpCarousel.js.map +1 -0
- package/dist/entry/medias/EpHierarchy.d.ts +5 -0
- package/dist/entry/medias/EpHierarchy.js +5 -0
- package/dist/entry/medias/EpHierarchy.js.map +1 -0
- package/dist/entry/medias/EpIframe.d.ts +5 -0
- package/dist/entry/medias/EpIframe.js +5 -0
- package/dist/entry/medias/EpIframe.js.map +1 -0
- package/dist/entry/medias/EpKatex.d.ts +5 -0
- package/dist/entry/medias/EpKatex.js +5 -0
- package/dist/entry/medias/EpKatex.js.map +1 -0
- package/dist/entry/medias/EpLink.d.ts +5 -0
- package/dist/entry/medias/EpLink.js +5 -0
- package/dist/entry/medias/EpLink.js.map +1 -0
- package/dist/entry/medias/EpLinkVersion.d.ts +5 -0
- package/dist/entry/medias/EpLinkVersion.js +5 -0
- package/dist/entry/medias/EpLinkVersion.js.map +1 -0
- package/dist/entry/medias/EpLottieSvg.d.ts +5 -0
- package/dist/entry/medias/EpLottieSvg.js +5 -0
- package/dist/entry/medias/EpLottieSvg.js.map +1 -0
- package/dist/entry/medias/EpSoftware.d.ts +5 -0
- package/dist/entry/medias/EpSoftware.js +5 -0
- package/dist/entry/medias/EpSoftware.js.map +1 -0
- package/dist/entry/medias/EpSvg.d.ts +5 -0
- package/dist/entry/medias/EpSvg.js +5 -0
- package/dist/entry/medias/EpSvg.js.map +1 -0
- package/dist/entry/medias/EpTerm.d.ts +5 -0
- package/dist/entry/medias/EpTerm.js +5 -0
- package/dist/entry/medias/EpTerm.js.map +1 -0
- package/dist/entry/medias/EpTimeLine.d.ts +5 -0
- package/dist/entry/medias/EpTimeLine.js +6 -0
- package/dist/entry/medias/EpTimeLine.js.map +1 -0
- package/dist/entry/medias/EpVideo.d.ts +5 -0
- package/dist/entry/medias/EpVideo.js +5 -0
- package/dist/entry/medias/EpVideo.js.map +1 -0
- package/dist/entry/medias/EpVideoPanopto.d.ts +5 -0
- package/dist/entry/medias/EpVideoPanopto.js +5 -0
- package/dist/entry/medias/EpVideoPanopto.js.map +1 -0
- package/dist/entry/medias/EpWordDef.d.ts +5 -0
- package/dist/entry/medias/EpWordDef.js +5 -0
- package/dist/entry/medias/EpWordDef.js.map +1 -0
- package/dist/entry/signages/EpAlert.d.ts +5 -0
- package/dist/entry/signages/EpAlert.js +5 -0
- package/dist/entry/signages/EpAlert.js.map +1 -0
- package/dist/entry/signages/EpBadge.d.ts +5 -0
- package/dist/entry/signages/EpBadge.js +5 -0
- package/dist/entry/signages/EpBadge.js.map +1 -0
- package/dist/entry/signages/EpHeader.d.ts +5 -0
- package/dist/entry/signages/EpHeader.js +5 -0
- package/dist/entry/signages/EpHeader.js.map +1 -0
- package/dist/entry/signages/EpNothing.d.ts +5 -0
- package/dist/entry/signages/EpNothing.js +5 -0
- package/dist/entry/signages/EpNothing.js.map +1 -0
- package/dist/entry/signages/EpQuote.d.ts +5 -0
- package/dist/entry/signages/EpQuote.js +5 -0
- package/dist/entry/signages/EpQuote.js.map +1 -0
- package/dist/entry/signages/EpSkeleton.d.ts +5 -0
- package/dist/entry/signages/EpSkeleton.js +6 -0
- package/dist/entry/signages/EpSkeleton.js.map +1 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.js +188 -0
- package/dist/index.js.map +1 -0
- package/dist/types/Accordeon.js +3 -2
- package/dist/types/Accordeon.js.map +1 -0
- package/dist/types/Alert.js +6 -4
- package/dist/types/Alert.js.map +1 -0
- package/dist/types/Avatar.js +3 -2
- package/dist/types/Avatar.js.map +1 -0
- package/dist/types/Badge.js +3 -2
- package/dist/types/Badge.js.map +1 -0
- package/dist/types/Btn.js +6 -4
- package/dist/types/Btn.js.map +1 -0
- package/dist/types/Card.js +3 -2
- package/dist/types/Card.js.map +1 -0
- package/dist/types/Chip.js +6 -4
- package/dist/types/Chip.js.map +1 -0
- package/dist/types/Codeblock.js +6 -4
- package/dist/types/Codeblock.js.map +1 -0
- package/dist/types/Cols.js +3 -2
- package/dist/types/Cols.js.map +1 -0
- package/dist/types/Glossary.d.ts +10 -0
- package/dist/types/Image.js +6 -4
- package/dist/types/Image.js.map +1 -0
- package/dist/types/Medias.js +3 -2
- package/dist/types/Medias.js.map +1 -0
- package/dist/types/Radio.js +3 -2
- package/dist/types/Radio.js.map +1 -0
- package/dist/types/StackedList.js +3 -2
- package/dist/types/StackedList.js.map +1 -0
- package/dist/types/Switch.js +3 -2
- package/dist/types/Switch.js.map +1 -0
- package/dist/types/TimeLine.js +15 -14
- package/dist/types/TimeLine.js.map +1 -0
- package/dist/types/Tooltip.js +3 -2
- package/dist/types/Tooltip.js.map +1 -0
- package/dist/{medias → types/medias}/EpSensibleImage.d.ts +2 -0
- package/package.json +1 -5
- package/dist/basics/EpAvatar.js +0 -4
- package/dist/basics/EpBadge.js +0 -4
- package/dist/basics/EpBtn.js +0 -4
- package/dist/basics/EpCard.js +0 -4
- package/dist/basics/EpChip.js +0 -4
- package/dist/basics/EpDivider.js +0 -4
- package/dist/basics/EpFlex.js +0 -4
- package/dist/basics/EpHover.js +0 -4
- package/dist/basics/EpHoverCard.js +0 -4
- package/dist/basics/EpIcon.js +0 -4
- package/dist/basics/EpImg.js +0 -4
- package/dist/basics/EpImgCarousel.js +0 -4
- package/dist/basics/EpList.js +0 -4
- package/dist/basics/EpListItem.js +0 -4
- package/dist/basics/EpSection.js +0 -4
- package/dist/basics/EpSectionCols.js +0 -4
- package/dist/basics/EpSpinner.js +0 -4
- package/dist/basics/EpStackedList.js +0 -4
- package/dist/basics/EpTable.js +0 -4
- package/dist/basics/EpText.js +0 -4
- package/dist/charts/EpBarChart.js +0 -4
- package/dist/charts/EpFunnelChart.js +0 -4
- package/dist/charts/EpLineChart.js +0 -4
- package/dist/charts/EpPieChart.js +0 -4
- package/dist/components/tools/DisplayBox.vue2.js +0 -36
- package/dist/educationals/EpBranchingScenario.js +0 -4
- package/dist/educationals/EpCodeblock.js +0 -5
- package/dist/educationals/EpConclusion.js +0 -4
- package/dist/educationals/EpDescription.js +0 -4
- package/dist/educationals/EpDocument.js +0 -4
- package/dist/educationals/EpEdu.js +0 -4
- package/dist/educationals/EpInstructions.js +0 -4
- package/dist/educationals/EpIntroduction.js +0 -4
- package/dist/educationals/EpObjective.js +0 -4
- package/dist/educationals/EpReading.js +0 -4
- package/dist/educationals/EpResource.js +0 -4
- package/dist/educationals/EpScope.js +0 -4
- package/dist/educationals/EpSpecificObjective.js +0 -4
- package/dist/ep-lib-ts.css +0 -1
- package/dist/forms/EpCheckbox.js +0 -4
- package/dist/forms/EpInput.js +0 -4
- package/dist/forms/EpRadio.js +0 -4
- package/dist/forms/EpRadioSummative.js +0 -4
- package/dist/forms/EpSelect.js +0 -4
- package/dist/forms/EpSwitch.js +0 -4
- package/dist/forms/EpTextarea.js +0 -4
- package/dist/forms/EpToggle.js +0 -4
- package/dist/interactions/Ep360Image.js +0 -4
- package/dist/interactions/Ep360Video.js +0 -4
- package/dist/interactions/EpAccordeon.js +0 -4
- package/dist/interactions/EpContentSlider.js +0 -4
- package/dist/interactions/EpDarkMode.js +0 -4
- package/dist/interactions/EpDraggable.js +0 -4
- package/dist/interactions/EpHotSpot.js +0 -4
- package/dist/interactions/EpModal.js +0 -5
- package/dist/interactions/EpQuestion.js +0 -4
- package/dist/interactions/EpSummativeTable.js +0 -4
- package/dist/interactions/EpSvgShow.js +0 -4
- package/dist/interactions/EpTabs.js +0 -4
- package/dist/interactions/EpTooltip.js +0 -5
- package/dist/medias/EpAudio.js +0 -4
- package/dist/medias/EpCardLink.js +0 -4
- package/dist/medias/EpCarousel.js +0 -4
- package/dist/medias/EpHierarchy.js +0 -4
- package/dist/medias/EpIframe.js +0 -4
- package/dist/medias/EpKatex.js +0 -4
- package/dist/medias/EpLink.js +0 -4
- package/dist/medias/EpLinkVersion.js +0 -4
- package/dist/medias/EpLottieSvg.js +0 -4
- package/dist/medias/EpSoftware.js +0 -4
- package/dist/medias/EpSvg.js +0 -4
- package/dist/medias/EpTerm.js +0 -4
- package/dist/medias/EpTimeLine.js +0 -5
- package/dist/medias/EpVideo.js +0 -4
- package/dist/medias/EpVideoPanopto.js +0 -4
- package/dist/medias/EpWordDef.js +0 -4
- package/dist/signages/EpAlert.js +0 -4
- package/dist/signages/EpBadge.js +0 -4
- package/dist/signages/EpHeader.js +0 -4
- package/dist/signages/EpNothing.js +0 -4
- package/dist/signages/EpQuote.js +0 -4
- package/dist/signages/EpSkeleton.js +0 -5
- /package/dist/{Accordeon.d.ts → types/Accordeon.d.ts} +0 -0
- /package/dist/{Aframe.d.ts → types/Aframe.d.ts} +0 -0
- /package/dist/{Alert.d.ts → types/Alert.d.ts} +0 -0
- /package/dist/{Answer.d.ts → types/Answer.d.ts} +0 -0
- /package/dist/{Avatar.d.ts → types/Avatar.d.ts} +0 -0
- /package/dist/{Badge.d.ts → types/Badge.d.ts} +0 -0
- /package/dist/{Border.d.ts → types/Border.d.ts} +0 -0
- /package/dist/{Btn.d.ts → types/Btn.d.ts} +0 -0
- /package/dist/{Card.d.ts → types/Card.d.ts} +0 -0
- /package/dist/{Chip.d.ts → types/Chip.d.ts} +0 -0
- /package/dist/{Codeblock.d.ts → types/Codeblock.d.ts} +0 -0
- /package/dist/{Cols.d.ts → types/Cols.d.ts} +0 -0
- /package/dist/{Component.d.ts → types/Component.d.ts} +0 -0
- /package/dist/{Draggable.d.ts → types/Draggable.d.ts} +0 -0
- /package/dist/{GlossaryEntry.d.ts → types/GlossaryEntry.d.ts} +0 -0
- /package/dist/{Hierarchy.d.ts → types/Hierarchy.d.ts} +0 -0
- /package/dist/{Hover.d.ts → types/Hover.d.ts} +0 -0
- /package/dist/{Image.d.ts → types/Image.d.ts} +0 -0
- /package/dist/{MandateLevel.d.ts → types/MandateLevel.d.ts} +0 -0
- /package/dist/{MediaCarousel.d.ts → types/MediaCarousel.d.ts} +0 -0
- /package/dist/{Medias.d.ts → types/Medias.d.ts} +0 -0
- /package/dist/{Radio.d.ts → types/Radio.d.ts} +0 -0
- /package/dist/{Slides.d.ts → types/Slides.d.ts} +0 -0
- /package/dist/{StackedList.d.ts → types/StackedList.d.ts} +0 -0
- /package/dist/{SummativeTable.d.ts → types/SummativeTable.d.ts} +0 -0
- /package/dist/{Switch.d.ts → types/Switch.d.ts} +0 -0
- /package/dist/{Three.d.ts → types/Three.d.ts} +0 -0
- /package/dist/{TimeLine.d.ts → types/TimeLine.d.ts} +0 -0
- /package/dist/{Tooltip.d.ts → types/Tooltip.d.ts} +0 -0
- /package/dist/{basics → types/basics}/EpAvatar.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpBadge.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpBtn.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpCard.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpChip.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpDivider.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpFlex.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpHover.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpHoverCard.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpIcon.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpImg.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpImgCarousel.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpList.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpListItem.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpSection.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpSectionCols.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpSpinner.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpStackedList.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpTable.d.ts +0 -0
- /package/dist/{basics → types/basics}/EpText.d.ts +0 -0
- /package/dist/{charts → types/charts}/EpBarChart.d.ts +0 -0
- /package/dist/{charts → types/charts}/EpFunnelChart.d.ts +0 -0
- /package/dist/{charts → types/charts}/EpLineChart.d.ts +0 -0
- /package/dist/{charts → types/charts}/EpPieChart.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpBranchingScenario.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpCodeblock.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpConclusion.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpDescription.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpDocument.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpEdu.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpInstructions.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpIntroduction.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpObjective.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpReading.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpResource.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpScope.d.ts +0 -0
- /package/dist/{educationals → types/educationals}/EpSpecificObjective.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpCheckbox.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpInput.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpRadio.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpRadioSummative.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpSelect.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpSwitch.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpTextarea.d.ts +0 -0
- /package/dist/{forms → types/forms}/EpToggle.d.ts +0 -0
- /package/dist/{image360.d.ts → types/image360.d.ts} +0 -0
- /package/dist/{interactions → types/interactions}/Ep360Image.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/Ep360Video.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpAccordeon.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpContentSlider.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpDarkMode.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpDraggable.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpHotSpot.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpModal.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpQuestion.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpSummativeTable.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpSvgShow.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpTabs.d.ts +0 -0
- /package/dist/{interactions → types/interactions}/EpTooltip.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpAudio.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpCardLink.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpCarousel.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpHierarchy.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpIframe.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpKatex.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpLink.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpLinkVersion.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpLottieSvg.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpSoftware.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpSvg.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpTerm.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpTimeLine.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpVideo.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpVideoPanopto.d.ts +0 -0
- /package/dist/{medias → types/medias}/EpWordDef.d.ts +0 -0
- /package/dist/{signages → types/signages}/EpAlert.d.ts +0 -0
- /package/dist/{signages → types/signages}/EpBadge.d.ts +0 -0
- /package/dist/{signages → types/signages}/EpHeader.d.ts +0 -0
- /package/dist/{signages → types/signages}/EpNothing.d.ts +0 -0
- /package/dist/{signages → types/signages}/EpQuote.d.ts +0 -0
- /package/dist/{signages → types/signages}/EpSkeleton.d.ts +0 -0
- /package/dist/{video360.d.ts → types/video360.d.ts} +0 -0
|
@@ -1,68 +1,104 @@
|
|
|
1
|
-
import { defineComponent
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { typeAlert
|
|
5
|
-
import { useIcons
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent, computed, toRefs, createElementBlock, createBlock, unref, openBlock, normalizeClass, createCommentVNode, createElementVNode, createVNode, toDisplayString, renderSlot, withCtx } from "vue";
|
|
2
|
+
import _sfc_main$1 from "../basics/EpIcon.vue.js";
|
|
3
|
+
import Comp from "../interactions/EpAccordeon.vue.js";
|
|
4
|
+
import { typeAlert, typeDivider } from "../../types/Alert.js";
|
|
5
|
+
import { useIcons } from "../../composables/useIcons.js";
|
|
6
|
+
const _hoisted_1 = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "flex items-center justify-center w-1/12"
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
const _hoisted_2 = { class: "container" };
|
|
11
|
+
const _hoisted_3 = {
|
|
10
12
|
key: 0,
|
|
11
13
|
class: "text-left text-2xl font-bold"
|
|
12
|
-
}
|
|
14
|
+
};
|
|
15
|
+
const _hoisted_4 = { class: "ep-info-box" };
|
|
16
|
+
const _hoisted_5 = { class: "ep-info-box" };
|
|
17
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
18
|
__name: "EpAlert",
|
|
14
19
|
props: {
|
|
15
20
|
type: { default: "base" },
|
|
16
21
|
title: { default: null },
|
|
17
22
|
outlined: { type: Boolean },
|
|
18
|
-
noIcon: { type: Boolean, default:
|
|
23
|
+
noIcon: { type: Boolean, default: false },
|
|
19
24
|
compact: { type: Boolean }
|
|
20
25
|
},
|
|
21
|
-
setup(
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
return
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
26
|
+
setup(__props) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const outlinedCompact = computed(() => {
|
|
29
|
+
return !props.outlined;
|
|
30
|
+
});
|
|
31
|
+
const isOutlined = computed(() => {
|
|
32
|
+
if (!props.outlined) {
|
|
33
|
+
return "outlined";
|
|
34
|
+
}
|
|
35
|
+
return "default";
|
|
36
|
+
});
|
|
37
|
+
const finalType = computed(() => {
|
|
38
|
+
if (typeof props.type === "object") {
|
|
39
|
+
return props.type.type;
|
|
40
|
+
}
|
|
41
|
+
return props.type;
|
|
42
|
+
});
|
|
43
|
+
const styles = computed(() => {
|
|
44
|
+
var _a;
|
|
45
|
+
return `${(_a = typeAlert[finalType.value]) == null ? void 0 : _a[isOutlined.value]}`;
|
|
46
|
+
});
|
|
47
|
+
const styleHr = computed(() => {
|
|
48
|
+
var _a;
|
|
49
|
+
return `${(_a = typeDivider[finalType.value]) == null ? void 0 : _a[isOutlined.value]}`;
|
|
50
|
+
});
|
|
51
|
+
const icon = computed(() => {
|
|
52
|
+
let icon2 = useIcons[finalType.value].icon;
|
|
53
|
+
if (props.noIcon) {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
return icon2;
|
|
57
|
+
});
|
|
58
|
+
const { title, compact } = toRefs(props);
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return !unref(compact) ? (openBlock(), createElementBlock("div", {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: normalizeClass(`flex p-4 rounded shadow-md m-2 ${styles.value}`)
|
|
51
63
|
}, [
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
64
|
+
icon.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
65
|
+
createVNode(_sfc_main$1, {
|
|
66
|
+
size: 40,
|
|
67
|
+
"icon-path": icon.value
|
|
68
|
+
}, null, 8, ["icon-path"])
|
|
69
|
+
])) : createCommentVNode("", true),
|
|
70
|
+
createElementVNode("div", {
|
|
71
|
+
class: normalizeClass(`${icon.value ? "w-11/12" : "w-full"} flex items-center`)
|
|
72
|
+
}, [
|
|
73
|
+
createElementVNode("div", _hoisted_2, [
|
|
74
|
+
unref(title) ? (openBlock(), createElementBlock("h3", _hoisted_3, toDisplayString(unref(title)), 1)) : createCommentVNode("", true),
|
|
75
|
+
unref(title) ? (openBlock(), createElementBlock("hr", {
|
|
76
|
+
key: 1,
|
|
77
|
+
class: normalizeClass(`w-full my-3 border ${styleHr.value}`)
|
|
78
|
+
}, null, 2)) : createCommentVNode("", true),
|
|
79
|
+
createElementVNode("div", _hoisted_4, [
|
|
80
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
81
|
+
])
|
|
82
|
+
])
|
|
83
|
+
], 2)
|
|
84
|
+
], 2)) : (openBlock(), createBlock(Comp, {
|
|
85
|
+
key: 1,
|
|
86
|
+
type: finalType.value,
|
|
87
|
+
outlined: outlinedCompact.value,
|
|
88
|
+
icon: icon.value,
|
|
89
|
+
title: unref(title)
|
|
90
|
+
}, {
|
|
91
|
+
default: withCtx(() => [
|
|
92
|
+
createElementVNode("div", _hoisted_5, [
|
|
93
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
60
94
|
])
|
|
61
|
-
])
|
|
62
|
-
|
|
63
|
-
|
|
95
|
+
]),
|
|
96
|
+
_: 3
|
|
97
|
+
}, 8, ["type", "outlined", "icon", "title"]));
|
|
98
|
+
};
|
|
64
99
|
}
|
|
65
100
|
});
|
|
66
101
|
export {
|
|
67
|
-
|
|
102
|
+
_sfc_main as default
|
|
68
103
|
};
|
|
104
|
+
//# sourceMappingURL=EpAlert.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EpAlert.vue2.js","sources":["../../../src/components/signages/EpAlert.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { toRefs, computed } from \"vue\";\nimport EpIcon from \"~/components/basics/EpIcon.vue\";\nimport EpAccordeon from \"~/components/interactions/EpAccordeon.vue\";\nimport { typeAlert, typeDivider } from \"~/types/Alert\";\nimport { useIcons } from \"~/composables/useIcons\";\nimport { EpAlertProps } from \"~/types/signages/EpAlert\";\n\n/*NOTE IMPORTANT \n sur l'éditeur la valeur outlined a été inversée (old v-switch the vuetify)\n donc outlined:true is fonce \n outlined:false is outlined style\n*/\n\nconst props = withDefaults(defineProps<EpAlertProps>(), {\n type: \"base\",\n title: null,\n noIcon: false,\n});\n\n/* sur l'éditeur de parcours la composante a été fait à l'inverse malhereusement (old v-switch the vuetify)*/\n/* donc outlined:true is fonce et oulined:false is the real onlined*/\nconst outlinedCompact = computed(() => {\n return !props.outlined;\n});\n\nconst isOutlined = computed(() => {\n if (!props.outlined) {\n return \"outlined\";\n }\n return \"default\";\n});\n\n// to change after change bd strapi v4\nconst finalType = computed(() => {\n if (typeof props.type === \"object\") {\n return props.type.type;\n }\n return props.type;\n});\n\nconst styles = computed(() => {\n return `${typeAlert[finalType.value]?.[isOutlined.value]}`;\n});\n\nconst styleHr = computed(() => {\n return `${typeDivider[finalType.value]?.[isOutlined.value]}`;\n});\n\nconst icon = computed(() => {\n let icon = useIcons[finalType.value].icon;\n if (props.noIcon) {\n return null;\n }\n return icon;\n});\n\nconst { title, compact, outlined } = toRefs(props);\n</script>\n\n<template>\n <div :class=\"`flex p-4 rounded shadow-md m-2 ${styles}`\" v-if=\"!compact\">\n <div v-if=\"icon\" class=\"flex items-center justify-center w-1/12\">\n <EpIcon :size=\"40\" :icon-path=\"icon\" />\n </div>\n <div :class=\"`${icon ? 'w-11/12' : 'w-full'} flex items-center`\">\n <div class=\"container\">\n <h3 v-if=\"title\" class=\"text-left text-2xl font-bold\">{{ title }}</h3>\n <hr v-if=\"title\" :class=\"`w-full my-3 border ${styleHr}`\" />\n <div class=\"ep-info-box\">\n <slot> </slot>\n </div>\n </div>\n </div>\n </div>\n <EpAccordeon\n :type=\"finalType\"\n :outlined=\"outlinedCompact\"\n :icon=\"icon\"\n :title=\"title\"\n v-else\n >\n <div class=\"ep-info-box\">\n <slot />\n </div>\n </EpAccordeon>\n</template>\n\n<style scoped>\n.ep-info-box :deep(a) {\n text-decoration: underline;\n font-weight: 500;\n}\n</style>\n"],"names":["icon","_unref","_createElementBlock","_openBlock","_createVNode","EpIcon","_createElementVNode","_toDisplayString","_renderSlot","_createBlock","EpAccordeon"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,UAAM,QAAQ;AAQd,UAAM,kBAAkB,SAAS,MAAM;AACrC,aAAO,CAAC,MAAM;AAAA,IAChB,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,UAAI,CAAC,MAAM,UAAU;AACnB,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT,CAAC;AAGD,UAAM,YAAY,SAAS,MAAM;AAC/B,UAAI,OAAO,MAAM,SAAS,UAAU;AAClC,eAAO,MAAM,KAAK;AAAA,MACpB;AACA,aAAO,MAAM;AAAA,IACf,CAAC;AAED,UAAM,SAAS,SAAS,MAAM;;AAC5B,aAAO,IAAG,eAAU,UAAU,KAAK,MAAzB,mBAA6B,WAAW,MAAM;AAAA,IAC1D,CAAC;AAED,UAAM,UAAU,SAAS,MAAM;;AAC7B,aAAO,IAAG,iBAAY,UAAU,KAAK,MAA3B,mBAA+B,WAAW,MAAM;AAAA,IAC5D,CAAC;AAED,UAAM,OAAO,SAAS,MAAM;AAC1B,UAAIA,QAAO,SAAS,UAAU,KAAK,EAAE;AACrC,UAAI,MAAM,QAAQ;AAChB,eAAO;AAAA,MACT;AACA,aAAOA;AAAAA,IACT,CAAC;AAED,UAAM,EAAE,OAAO,QAAkB,IAAI,OAAO,KAAK;;cAIiBC,MAAA,OAAA,kBAAhEC,mBAaM,OAAA;AAAA;QAbA,wDAAyC,OAAA,KAAM,EAAA;AAAA,MAAA;QACxC,KAAA,SAAXC,UAAA,GAAAD,mBAEM,OAFN,YAEM;AAAA,UADJE,YAAuCC,aAAA;AAAA,YAA9B,MAAM;AAAA,YAAK,aAAW,KAAA;AAAA,UAAA;;QAEjCC,mBAQM,OAAA;AAAA,UARA,yBAAU,KAAA,QAAI,YAAA,QAAA,oBAAA;AAAA,QAAA;UAClBA,mBAMM,OANN,YAMM;AAAA,YALML,MAAA,KAAA,kBAAVC,mBAAsE,MAAtE,YAAsEK,gBAAbN,MAAA,KAAA,CAAK,GAAA,CAAA;YACpDA,MAAA,KAAA,kBAAVC,mBAA4D,MAAA;AAAA;cAA1C,4CAA6B,QAAA,KAAO,EAAA;AAAA,YAAA;YACtDI,mBAEM,OAFN,YAEM;AAAA,cADJE,WAAc,KAAA,QAAA,WAAA,CAAA,GAAA,QAAA,IAAA;AAAA,YAAA;;;6BAKtBC,YAUcC,MAAA;AAAA;QATX,MAAM,UAAA;AAAA,QACN,UAAU,gBAAA;AAAA,QACV,MAAM,KAAA;AAAA,QACN,OAAOT,MAAA,KAAA;AAAA,MAAA;yBAGR,MAEM;AAAA,UAFNK,mBAEM,OAFN,YAEM;AAAA,YADJE,WAAQ,KAAA,QAAA,WAAA,CAAA,GAAA,QAAA,IAAA;AAAA,UAAA;;;;;;;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent
|
|
2
|
-
import { typeBadge
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, renderSlot, createElementVNode, normalizeClass, toDisplayString } from "vue";
|
|
2
|
+
import { typeBadge } from "../../types/Badge.js";
|
|
3
|
+
const _hoisted_1 = { class: "group relative w-max" };
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
5
|
__name: "EpBadge",
|
|
5
6
|
props: {
|
|
6
7
|
content: {},
|
|
@@ -10,23 +11,49 @@ const g = { class: "group relative w-max" }, V = /* @__PURE__ */ s({
|
|
|
10
11
|
color: { default: "primary" },
|
|
11
12
|
maxValue: { default: 0 }
|
|
12
13
|
},
|
|
13
|
-
setup(
|
|
14
|
-
const
|
|
15
|
-
|
|
14
|
+
setup(__props) {
|
|
15
|
+
const props = __props;
|
|
16
|
+
const finalType = computed(() => {
|
|
17
|
+
return props.placement;
|
|
18
|
+
});
|
|
19
|
+
const finalContent = computed(() => {
|
|
20
|
+
if (props.mode == "dot") {
|
|
16
21
|
return "";
|
|
17
|
-
if (
|
|
22
|
+
} else if (props.visibility == "false") {
|
|
18
23
|
return "";
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
} else if (props.content != 0) {
|
|
25
|
+
if (props.content > props.maxValue && props.maxValue != 0) {
|
|
26
|
+
return props.maxValue + "+";
|
|
27
|
+
} else {
|
|
28
|
+
return props.content;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
const badgeStyle = computed(() => {
|
|
33
|
+
if (props.visibility == "true") {
|
|
34
|
+
return props.mode;
|
|
35
|
+
} else {
|
|
36
|
+
return "hide";
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
const bgcolor = computed(() => {
|
|
40
|
+
return "bg-" + props.color;
|
|
41
|
+
});
|
|
42
|
+
const finalStyles = computed(() => {
|
|
43
|
+
var _a;
|
|
44
|
+
return `${(_a = typeBadge[finalType.value]) == null ? void 0 : _a[badgeStyle.value]}`;
|
|
45
|
+
});
|
|
46
|
+
return (_ctx, _cache) => {
|
|
47
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
48
|
+
renderSlot(_ctx.$slots, "default"),
|
|
49
|
+
createElementVNode("div", {
|
|
50
|
+
class: normalizeClass(`${finalStyles.value} ${bgcolor.value}`)
|
|
51
|
+
}, toDisplayString(finalContent.value), 3)
|
|
52
|
+
]);
|
|
53
|
+
};
|
|
28
54
|
}
|
|
29
55
|
});
|
|
30
56
|
export {
|
|
31
|
-
|
|
57
|
+
_sfc_main as default
|
|
32
58
|
};
|
|
59
|
+
//# sourceMappingURL=EpBadge.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EpBadge.vue.js","sources":["../../../src/components/signages/EpBadge.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed } from \"vue\";\nimport { typeBadge } from \"~/types/Badge\";\nimport { EpBadgeProps } from \"~/types/signages/EpBadge\";\n\n// define parameter and default valule\nconst props = withDefaults(defineProps<EpBadgeProps>(), {\n mode: \"default\",\n placement: \"top_right\",\n visibility: \"true\",\n color: \"primary\",\n maxValue: 0,\n});\n\n// const { badgestyle } = toRefs(props)\n\nconst finalType = computed(() => {\n return props.placement;\n});\n\nconst finalContent = computed(() => {\n if (props.mode == \"dot\") {\n return \"\";\n } else if (props.visibility == \"false\") {\n return \"\";\n } else if (props.content != 0) {\n if (props.content > props.maxValue && props.maxValue != 0) {\n return props.maxValue + \"+\";\n } else {\n return props.content;\n }\n }\n});\n\nconst badgeStyle = computed(() => {\n if (props.visibility == \"true\") {\n return props.mode;\n } else {\n return \"hide\";\n }\n});\n\nconst bgcolor = computed(() => {\n return \"bg-\" + props.color;\n});\n\nconst finalStyles = computed(() => {\n return `${typeBadge[finalType.value]?.[badgeStyle.value]}`;\n});\n</script>\n<template>\n <div class=\"group relative w-max\">\n <slot />\n <div :class=\"`${finalStyles} ${bgcolor}`\">{{ finalContent }}</div>\n </div>\n</template>\n"],"names":["_openBlock","_createElementBlock","_renderSlot","_createElementVNode","_normalizeClass"],"mappings":";;;;;;;;;;;;;;AAMA,UAAM,QAAQ;AAUd,UAAM,YAAY,SAAS,MAAM;AAC/B,aAAO,MAAM;AAAA,IACf,CAAC;AAED,UAAM,eAAe,SAAS,MAAM;AAClC,UAAI,MAAM,QAAQ,OAAO;AACvB,eAAO;AAAA,MACT,WAAW,MAAM,cAAc,SAAS;AACtC,eAAO;AAAA,MACT,WAAW,MAAM,WAAW,GAAG;AAC7B,YAAI,MAAM,UAAU,MAAM,YAAY,MAAM,YAAY,GAAG;AACzD,iBAAO,MAAM,WAAW;AAAA,QAC1B,OAAO;AACL,iBAAO,MAAM;AAAA,QACf;AAAA,MACF;AAAA,IACF,CAAC;AAED,UAAM,aAAa,SAAS,MAAM;AAChC,UAAI,MAAM,cAAc,QAAQ;AAC9B,eAAO,MAAM;AAAA,MACf,OAAO;AACL,eAAO;AAAA,MACT;AAAA,IACF,CAAC;AAED,UAAM,UAAU,SAAS,MAAM;AAC7B,aAAO,QAAQ,MAAM;AAAA,IACvB,CAAC;AAED,UAAM,cAAc,SAAS,MAAM;;AACjC,aAAO,IAAG,eAAU,UAAU,KAAK,MAAzB,mBAA6B,WAAW,MAAM;AAAA,IAC1D,CAAC;;AAGC,aAAAA,UAAA,GAAAC,mBAGM,OAHN,YAGM;AAAA,QAFJC,WAAQ,KAAA,QAAA,SAAA;AAAA,QACRC,mBAAkE,OAAA;AAAA,UAA5D,OAAKC,eAAA,GAAK,YAAA,KAAW,IAAI,QAAA,KAAO,EAAA;AAAA,QAAA,mBAAO,aAAA,KAAY,GAAA,CAAA;AAAA,MAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EpBadge.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,30 +1,49 @@
|
|
|
1
|
-
import { defineComponent
|
|
2
|
-
import { mdiCast
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent, computed, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, createVNode, normalizeStyle, createBlock, withCtx, createTextVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
+
import { mdiCast, mdiTimerOutline, mdiChairSchool, mdiChevronDown } from "@mdi/js";
|
|
3
|
+
import SvgFilter from "../tools/SvgFilter.vue.js";
|
|
4
|
+
import _sfc_main$2 from "../basics/EpIcon.vue.js";
|
|
5
|
+
import _sfc_main$1 from "../basics/EpChip.vue.js";
|
|
6
|
+
const _hoisted_1 = { class: "flex md:justify-end justify-center pt-5" };
|
|
7
|
+
const _hoisted_2 = { class: "text-center md:text-left" };
|
|
8
|
+
const _hoisted_3 = {
|
|
7
9
|
key: 0,
|
|
8
10
|
class: "text-3xl font-medium text-white sm:text-3xl"
|
|
9
|
-
}
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_4 = {
|
|
10
13
|
key: 1,
|
|
11
14
|
class: "max-w-xl mt-4 text-2xl text-white contrast-50"
|
|
12
|
-
}
|
|
15
|
+
};
|
|
16
|
+
const _hoisted_5 = {
|
|
13
17
|
key: 0,
|
|
14
18
|
class: "animate-bounce absolute bottom-10 left-1/2"
|
|
15
|
-
}
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_6 = { key: 1 };
|
|
21
|
+
const _hoisted_7 = { class: "text-center md:text-left mt-16 mb-32" };
|
|
22
|
+
const _hoisted_8 = {
|
|
16
23
|
key: 0,
|
|
17
24
|
class: "text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-100"
|
|
18
|
-
}
|
|
25
|
+
};
|
|
26
|
+
const _hoisted_9 = {
|
|
19
27
|
key: 1,
|
|
20
28
|
class: "w-1/2 mt-4 text-gray-500 dark:text-gray-300"
|
|
21
|
-
}
|
|
29
|
+
};
|
|
30
|
+
const _hoisted_10 = { key: 2 };
|
|
31
|
+
const _hoisted_11 = { class: "flex flex-col-reverse lg:flex-row items-stretch" };
|
|
32
|
+
const _hoisted_12 = { class: "basis-1/2 bg-gray-100 dark:bg-base-dark lg:min-h-48 p-4" };
|
|
33
|
+
const _hoisted_13 = { class: "flex justify-start pt-0 mb-4" };
|
|
34
|
+
const _hoisted_14 = {
|
|
22
35
|
key: 0,
|
|
23
36
|
class: "text-4xl sm:text-5xl xl:text-6xl font-bold tracking-tight text-gray-900 dark:text-white"
|
|
24
|
-
}
|
|
37
|
+
};
|
|
38
|
+
const _hoisted_15 = {
|
|
25
39
|
key: 1,
|
|
26
40
|
class: "mt-4 text-xl text-gray-600 dark:text-white"
|
|
27
|
-
}
|
|
41
|
+
};
|
|
42
|
+
const _hoisted_16 = { class: "mt-4" };
|
|
43
|
+
const _hoisted_17 = { class: "basis-1/2" };
|
|
44
|
+
const _hoisted_18 = ["src"];
|
|
45
|
+
const bgTextFit = "w-8/12";
|
|
46
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
28
47
|
__name: "EpHeader",
|
|
29
48
|
props: {
|
|
30
49
|
title: { default: null },
|
|
@@ -32,174 +51,191 @@ const V = { class: "flex md:justify-end justify-center pt-5" }, E = { class: "te
|
|
|
32
51
|
icon: { default: null },
|
|
33
52
|
courseCode: {},
|
|
34
53
|
courseTitle: {},
|
|
35
|
-
big: { type: [Boolean, null], default:
|
|
54
|
+
big: { type: [Boolean, null], default: false },
|
|
36
55
|
src: { default: null },
|
|
37
|
-
synchrone: { type: Boolean, default:
|
|
38
|
-
hideImg: { type: Boolean, default:
|
|
56
|
+
synchrone: { type: Boolean, default: false },
|
|
57
|
+
hideImg: { type: Boolean, default: false },
|
|
39
58
|
duration: { default: null },
|
|
40
59
|
assessment: { default: null },
|
|
41
60
|
headerImgColor: {},
|
|
42
|
-
labels: { default: () =>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
61
|
+
labels: { default: () => {
|
|
62
|
+
return {
|
|
63
|
+
synchrone: "Synchrone",
|
|
64
|
+
formatif: "Formatif"
|
|
65
|
+
};
|
|
66
|
+
} },
|
|
67
|
+
textBg: { type: Boolean, default: true },
|
|
47
68
|
type: { default: "imgBg" },
|
|
48
69
|
titlePosition: { default: "center" },
|
|
49
70
|
vAlign: { default: "items-center" },
|
|
50
71
|
hAlign: { default: "justify-center" }
|
|
51
72
|
},
|
|
52
73
|
emits: ["clicked"],
|
|
53
|
-
setup(
|
|
54
|
-
const
|
|
74
|
+
setup(__props, { emit: __emit }) {
|
|
75
|
+
const props = __props;
|
|
76
|
+
const styles = computed(() => {
|
|
77
|
+
return `
|
|
55
78
|
flex
|
|
56
79
|
flex-col
|
|
57
80
|
overflow-hidden
|
|
58
81
|
w-full
|
|
59
82
|
absolute
|
|
60
|
-
${
|
|
83
|
+
${props.big ? "min-h-screen" : "h-96"}
|
|
61
84
|
bg-cover
|
|
62
|
-
bg-center
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
85
|
+
bg-center`;
|
|
86
|
+
});
|
|
87
|
+
const bgImg = computed(() => {
|
|
88
|
+
if (props.src) {
|
|
89
|
+
return props.src;
|
|
90
|
+
}
|
|
91
|
+
return `https://live.staticflickr.com/1757/42677241511_a350206ac2_b.jpg`;
|
|
92
|
+
});
|
|
93
|
+
const emit = __emit;
|
|
94
|
+
const clickScroll = () => {
|
|
95
|
+
emit("clicked");
|
|
96
|
+
};
|
|
97
|
+
const { title, headerImgColor, big } = toRefs(props);
|
|
98
|
+
return (_ctx, _cache) => {
|
|
99
|
+
return _ctx.type === "imgBg" ? (openBlock(), createElementBlock("header", {
|
|
100
|
+
key: 0,
|
|
101
|
+
class: normalizeClass(`${unref(big) ? "h-screen " : "h-96"} items-center overflow-hidden relative `),
|
|
102
|
+
ref: "el"
|
|
76
103
|
}, [
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
83
|
-
default: c(() => [
|
|
84
|
-
u(r(e.labels.synchrone), 1)
|
|
85
|
-
]),
|
|
86
|
-
_: 1
|
|
87
|
-
}, 8, ["prependIcon"])) : o("", !0),
|
|
88
|
-
e.duration ? (l(), d(m, {
|
|
89
|
-
key: 1,
|
|
90
|
-
prependIcon: t(_),
|
|
91
|
-
size: "small"
|
|
92
|
-
}, {
|
|
93
|
-
default: c(() => [
|
|
94
|
-
u(r(e.duration), 1)
|
|
95
|
-
]),
|
|
96
|
-
_: 1
|
|
97
|
-
}, 8, ["prependIcon"])) : o("", !0),
|
|
98
|
-
e.assessment ? (l(), d(m, {
|
|
99
|
-
key: 2,
|
|
100
|
-
prependIcon: t(x),
|
|
101
|
-
size: "small"
|
|
102
|
-
}, {
|
|
103
|
-
default: c(() => [
|
|
104
|
-
u(r(e.labels.formatif), 1)
|
|
105
|
-
]),
|
|
106
|
-
_: 1
|
|
107
|
-
}, 8, ["prependIcon"])) : o("", !0)
|
|
108
|
-
]),
|
|
109
|
-
s("div", {
|
|
110
|
-
class: a(`${e.vAlign} ${e.hAlign} flex w-full grow h-96 `)
|
|
104
|
+
createElementVNode("div", {
|
|
105
|
+
class: normalizeClass(styles.value),
|
|
106
|
+
style: normalizeStyle(`background-image:url('${bgImg.value}'); filter:url(#${unref(headerImgColor)});`)
|
|
107
|
+
}, null, 6),
|
|
108
|
+
createElementVNode("div", {
|
|
109
|
+
class: normalizeClass(`relative ${unref(big) ? "mb-36" : ""} h-full items-end`)
|
|
111
110
|
}, [
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}, [
|
|
115
|
-
t(n) || e.subtitle ? (l(), i("div", {
|
|
111
|
+
createElementVNode("div", _hoisted_1, [
|
|
112
|
+
_ctx.synchrone ? (openBlock(), createBlock(_sfc_main$1, {
|
|
116
113
|
key: 0,
|
|
117
|
-
|
|
118
|
-
}, [
|
|
119
|
-
s("div", E, [
|
|
120
|
-
t(n) ? (l(), i("h1", F, r(t(n)), 1)) : o("", !0),
|
|
121
|
-
e.subtitle ? (l(), i("h2", P, r(e.subtitle), 1)) : o("", !0)
|
|
122
|
-
])
|
|
123
|
-
], 2)) : o("", !0)
|
|
124
|
-
], 2)
|
|
125
|
-
], 2)
|
|
126
|
-
], 2),
|
|
127
|
-
f.big ? (l(), i("div", D, [
|
|
128
|
-
s("div", {
|
|
129
|
-
class: "mx-auto w-12 bg-white dark:text-black rounded-full p-2",
|
|
130
|
-
onClick: C
|
|
131
|
-
}, [
|
|
132
|
-
b(T, {
|
|
133
|
-
iconPath: t(A),
|
|
134
|
-
size: "32"
|
|
135
|
-
}, null, 8, ["iconPath"])
|
|
136
|
-
])
|
|
137
|
-
])) : o("", !0),
|
|
138
|
-
b(N)
|
|
139
|
-
], 2)) : e.type === "simple" ? (l(), i("header", H, [
|
|
140
|
-
s("div", O, [
|
|
141
|
-
t(n) ? (l(), i("h1", R, r(t(n)), 1)) : o("", !0),
|
|
142
|
-
e.subtitle ? (l(), i("h2", q, r(e.subtitle), 1)) : o("", !0)
|
|
143
|
-
])
|
|
144
|
-
])) : (l(), i("header", G, [
|
|
145
|
-
s("div", J, [
|
|
146
|
-
s("div", K, [
|
|
147
|
-
s("div", L, [
|
|
148
|
-
e.synchrone ? (l(), d(m, {
|
|
149
|
-
key: 0,
|
|
150
|
-
prependIcon: t(v),
|
|
114
|
+
prependIcon: unref(mdiCast),
|
|
151
115
|
size: "small"
|
|
152
116
|
}, {
|
|
153
|
-
default:
|
|
154
|
-
|
|
117
|
+
default: withCtx(() => [
|
|
118
|
+
createTextVNode(toDisplayString(_ctx.labels.synchrone), 1)
|
|
155
119
|
]),
|
|
156
120
|
_: 1
|
|
157
|
-
}, 8, ["prependIcon"])) :
|
|
158
|
-
|
|
121
|
+
}, 8, ["prependIcon"])) : createCommentVNode("", true),
|
|
122
|
+
_ctx.duration ? (openBlock(), createBlock(_sfc_main$1, {
|
|
159
123
|
key: 1,
|
|
160
|
-
prependIcon:
|
|
124
|
+
prependIcon: unref(mdiTimerOutline),
|
|
161
125
|
size: "small"
|
|
162
126
|
}, {
|
|
163
|
-
default:
|
|
164
|
-
|
|
127
|
+
default: withCtx(() => [
|
|
128
|
+
createTextVNode(toDisplayString(_ctx.duration), 1)
|
|
165
129
|
]),
|
|
166
130
|
_: 1
|
|
167
|
-
}, 8, ["prependIcon"])) :
|
|
168
|
-
|
|
131
|
+
}, 8, ["prependIcon"])) : createCommentVNode("", true),
|
|
132
|
+
_ctx.assessment ? (openBlock(), createBlock(_sfc_main$1, {
|
|
169
133
|
key: 2,
|
|
170
|
-
prependIcon:
|
|
134
|
+
prependIcon: unref(mdiChairSchool),
|
|
171
135
|
size: "small"
|
|
172
136
|
}, {
|
|
173
|
-
default:
|
|
174
|
-
|
|
137
|
+
default: withCtx(() => [
|
|
138
|
+
createTextVNode(toDisplayString(_ctx.labels.formatif), 1)
|
|
175
139
|
]),
|
|
176
140
|
_: 1
|
|
177
|
-
}, 8, ["prependIcon"])) :
|
|
141
|
+
}, 8, ["prependIcon"])) : createCommentVNode("", true)
|
|
178
142
|
]),
|
|
179
|
-
|
|
180
|
-
class:
|
|
143
|
+
createElementVNode("div", {
|
|
144
|
+
class: normalizeClass(`${_ctx.vAlign} ${_ctx.hAlign} flex w-full grow h-96 `)
|
|
181
145
|
}, [
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
146
|
+
createElementVNode("div", {
|
|
147
|
+
class: normalizeClass(`${bgTextFit}`)
|
|
148
|
+
}, [
|
|
149
|
+
unref(title) || _ctx.subtitle ? (openBlock(), createElementBlock("div", {
|
|
150
|
+
key: 0,
|
|
151
|
+
class: normalizeClass(`${_ctx.textBg ? "inline-block backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded" : ""} p-4 md:items-center`)
|
|
152
|
+
}, [
|
|
153
|
+
createElementVNode("div", _hoisted_2, [
|
|
154
|
+
unref(title) ? (openBlock(), createElementBlock("h1", _hoisted_3, toDisplayString(unref(title)), 1)) : createCommentVNode("", true),
|
|
155
|
+
_ctx.subtitle ? (openBlock(), createElementBlock("h2", _hoisted_4, toDisplayString(_ctx.subtitle), 1)) : createCommentVNode("", true)
|
|
156
|
+
])
|
|
157
|
+
], 2)) : createCommentVNode("", true)
|
|
158
|
+
], 2)
|
|
189
159
|
], 2)
|
|
190
|
-
]),
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
160
|
+
], 2),
|
|
161
|
+
props.big ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
162
|
+
createElementVNode("div", {
|
|
163
|
+
class: "mx-auto w-12 bg-white dark:text-black rounded-full p-2",
|
|
164
|
+
onClick: clickScroll
|
|
165
|
+
}, [
|
|
166
|
+
createVNode(_sfc_main$2, {
|
|
167
|
+
iconPath: unref(mdiChevronDown),
|
|
168
|
+
size: "32"
|
|
169
|
+
}, null, 8, ["iconPath"])
|
|
170
|
+
])
|
|
171
|
+
])) : createCommentVNode("", true),
|
|
172
|
+
createVNode(SvgFilter)
|
|
173
|
+
], 2)) : _ctx.type === "simple" ? (openBlock(), createElementBlock("header", _hoisted_6, [
|
|
174
|
+
createElementVNode("div", _hoisted_7, [
|
|
175
|
+
unref(title) ? (openBlock(), createElementBlock("h1", _hoisted_8, toDisplayString(unref(title)), 1)) : createCommentVNode("", true),
|
|
176
|
+
_ctx.subtitle ? (openBlock(), createElementBlock("h2", _hoisted_9, toDisplayString(_ctx.subtitle), 1)) : createCommentVNode("", true)
|
|
177
|
+
])
|
|
178
|
+
])) : (openBlock(), createElementBlock("header", _hoisted_10, [
|
|
179
|
+
createElementVNode("div", _hoisted_11, [
|
|
180
|
+
createElementVNode("div", _hoisted_12, [
|
|
181
|
+
createElementVNode("div", _hoisted_13, [
|
|
182
|
+
_ctx.synchrone ? (openBlock(), createBlock(_sfc_main$1, {
|
|
183
|
+
key: 0,
|
|
184
|
+
prependIcon: unref(mdiCast),
|
|
185
|
+
size: "small"
|
|
186
|
+
}, {
|
|
187
|
+
default: withCtx(() => [
|
|
188
|
+
createTextVNode(toDisplayString(_ctx.labels.synchrone), 1)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["prependIcon"])) : createCommentVNode("", true),
|
|
192
|
+
_ctx.duration ? (openBlock(), createBlock(_sfc_main$1, {
|
|
193
|
+
key: 1,
|
|
194
|
+
prependIcon: unref(mdiTimerOutline),
|
|
195
|
+
size: "small"
|
|
196
|
+
}, {
|
|
197
|
+
default: withCtx(() => [
|
|
198
|
+
createTextVNode(toDisplayString(_ctx.duration), 1)
|
|
199
|
+
]),
|
|
200
|
+
_: 1
|
|
201
|
+
}, 8, ["prependIcon"])) : createCommentVNode("", true),
|
|
202
|
+
_ctx.assessment ? (openBlock(), createBlock(_sfc_main$1, {
|
|
203
|
+
key: 2,
|
|
204
|
+
prependIcon: unref(mdiChairSchool),
|
|
205
|
+
size: "small"
|
|
206
|
+
}, {
|
|
207
|
+
default: withCtx(() => [
|
|
208
|
+
createTextVNode(toDisplayString(_ctx.labels.formatif), 1)
|
|
209
|
+
]),
|
|
210
|
+
_: 1
|
|
211
|
+
}, 8, ["prependIcon"])) : createCommentVNode("", true)
|
|
212
|
+
]),
|
|
213
|
+
createElementVNode("div", {
|
|
214
|
+
class: normalizeClass(`${_ctx.vAlign} flex h-full pb-8 max-w-3xl`)
|
|
215
|
+
}, [
|
|
216
|
+
createElementVNode("div", null, [
|
|
217
|
+
unref(title) ? (openBlock(), createElementBlock("h1", _hoisted_14, toDisplayString(unref(title)), 1)) : createCommentVNode("", true),
|
|
218
|
+
_ctx.subtitle ? (openBlock(), createElementBlock("p", _hoisted_15, toDisplayString(_ctx.subtitle), 1)) : createCommentVNode("", true),
|
|
219
|
+
createElementVNode("div", _hoisted_16, [
|
|
220
|
+
renderSlot(_ctx.$slots, "default")
|
|
221
|
+
])
|
|
222
|
+
])
|
|
223
|
+
], 2)
|
|
224
|
+
]),
|
|
225
|
+
createElementVNode("div", _hoisted_17, [
|
|
226
|
+
createElementVNode("img", {
|
|
227
|
+
src: bgImg.value,
|
|
228
|
+
alt: "",
|
|
229
|
+
class: "h-32 lg:h-full size-full object-cover",
|
|
230
|
+
style: normalizeStyle(`filter:url(#${unref(headerImgColor)});`)
|
|
231
|
+
}, null, 12, _hoisted_18)
|
|
232
|
+
])
|
|
198
233
|
])
|
|
199
|
-
])
|
|
200
|
-
|
|
234
|
+
]));
|
|
235
|
+
};
|
|
201
236
|
}
|
|
202
237
|
});
|
|
203
238
|
export {
|
|
204
|
-
|
|
239
|
+
_sfc_main as default
|
|
205
240
|
};
|
|
241
|
+
//# sourceMappingURL=EpHeader.vue.js.map
|