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,79 @@
|
|
|
1
|
+
import { defineComponent as $, computed as r, toRefs as B, createElementBlock as p, openBlock as l, unref as t, normalizeClass as m, createBlock as i, createCommentVNode as u, renderSlot as y } from "vue";
|
|
2
|
+
import d from "./EpIcon.vue.js";
|
|
3
|
+
import { bgVariants as h, sizeVariants as C } from "../../types/Btn.js";
|
|
4
|
+
const x = ["disabled"], _ = ["disabled", "href"], V = /* @__PURE__ */ $({
|
|
5
|
+
__name: "EpBtn",
|
|
6
|
+
props: {
|
|
7
|
+
type: { default: "base" },
|
|
8
|
+
disabled: { type: Boolean },
|
|
9
|
+
block: { type: Boolean },
|
|
10
|
+
rounded: { type: Boolean, default: !1 },
|
|
11
|
+
size: { default: "medium" },
|
|
12
|
+
appendIcon: { default: null },
|
|
13
|
+
prependIcon: { default: null },
|
|
14
|
+
outlined: { type: Boolean },
|
|
15
|
+
text: { type: Boolean },
|
|
16
|
+
extraClass: { default: null },
|
|
17
|
+
href: {}
|
|
18
|
+
},
|
|
19
|
+
setup(z) {
|
|
20
|
+
const e = z, b = r(() => e.outlined ? "outlined" : "default"), k = r(() => e.text ? `${h[e.type].text}` : `${h[e.type]?.[b.value]}`), c = r(() => `
|
|
21
|
+
transition
|
|
22
|
+
font-medium
|
|
23
|
+
${k.value}
|
|
24
|
+
${C[e.size]}
|
|
25
|
+
${e.disabled ? "opacity-50" : ""}
|
|
26
|
+
${e.block ? "w-full block" : ""}
|
|
27
|
+
${e.rounded ? "rounded-md" : ""}
|
|
28
|
+
${e.extraClass ? e.extraClass : "transition"}`), a = r(() => {
|
|
29
|
+
if (e.size === "large")
|
|
30
|
+
return "30";
|
|
31
|
+
if (e.size === "medium")
|
|
32
|
+
return "20";
|
|
33
|
+
if (e.size === "small")
|
|
34
|
+
return "15";
|
|
35
|
+
}), { disabled: f, prependIcon: n, appendIcon: s } = B(e);
|
|
36
|
+
return (o, v) => o.href ? (l(), p("a", {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: m(`${c.value} flex justify-center items-center`),
|
|
39
|
+
disabled: t(f),
|
|
40
|
+
href: o.href,
|
|
41
|
+
target: "_blank"
|
|
42
|
+
}, [
|
|
43
|
+
t(n) ? (l(), i(d, {
|
|
44
|
+
key: 0,
|
|
45
|
+
iconPath: t(n),
|
|
46
|
+
size: a.value,
|
|
47
|
+
extraClass: "mr-2"
|
|
48
|
+
}, null, 8, ["iconPath", "size"])) : u("", !0),
|
|
49
|
+
y(o.$slots, "default"),
|
|
50
|
+
t(s) ? (l(), i(d, {
|
|
51
|
+
key: 1,
|
|
52
|
+
iconPath: t(s),
|
|
53
|
+
size: a.value,
|
|
54
|
+
extraClass: "ml-2"
|
|
55
|
+
}, null, 8, ["iconPath", "size"])) : u("", !0)
|
|
56
|
+
], 10, _)) : (l(), p("button", {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: m(c.value),
|
|
59
|
+
disabled: t(f)
|
|
60
|
+
}, [
|
|
61
|
+
t(n) ? (l(), i(d, {
|
|
62
|
+
key: 0,
|
|
63
|
+
iconPath: t(n),
|
|
64
|
+
size: a.value,
|
|
65
|
+
extraClass: "mr-2"
|
|
66
|
+
}, null, 8, ["iconPath", "size"])) : u("", !0),
|
|
67
|
+
y(o.$slots, "default"),
|
|
68
|
+
t(s) ? (l(), i(d, {
|
|
69
|
+
key: 1,
|
|
70
|
+
iconPath: t(s),
|
|
71
|
+
size: a.value,
|
|
72
|
+
extraClass: "ml-2"
|
|
73
|
+
}, null, 8, ["iconPath", "size"])) : u("", !0)
|
|
74
|
+
], 10, x));
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
export {
|
|
78
|
+
V as default
|
|
79
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { defineComponent as E, computed as r, toRefs as L, useSlots as N, createElementBlock as o, openBlock as l, normalizeClass as n, createCommentVNode as s, unref as t, createVNode as b, renderSlot as c, createElementVNode as d, toDisplayString as p } from "vue";
|
|
2
|
+
import V from "./EpIcon.vue.js";
|
|
3
|
+
import T from "../medias/EpSvg.vue.js";
|
|
4
|
+
import v from "../../composables/useColors.js";
|
|
5
|
+
import { density_style as W } from "../../types/Card.js";
|
|
6
|
+
const j = ["src"], z = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "w-full rounded-t-md dark:text-white"
|
|
9
|
+
}, D = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "mb-2 flex items-center justify-between dark:text-white"
|
|
12
|
+
}, R = { class: "text-2xl dark:text-white font-bold" }, q = { key: 0 }, A = { class: "dark:text-white" }, F = { class: "dark:text-white" }, O = /* @__PURE__ */ E({
|
|
13
|
+
__name: "EpCard",
|
|
14
|
+
props: {
|
|
15
|
+
title: { default: null },
|
|
16
|
+
subtitle: { default: null },
|
|
17
|
+
outlined: { type: Boolean, default: !1 },
|
|
18
|
+
flat: { type: Boolean, default: !1 },
|
|
19
|
+
icon: { default: null },
|
|
20
|
+
color: { default: null },
|
|
21
|
+
src: { default: null },
|
|
22
|
+
maxWidth: { default: "max-w-full" },
|
|
23
|
+
density: { default: "default" },
|
|
24
|
+
svg: {},
|
|
25
|
+
isLink: { type: Boolean, default: !1 }
|
|
26
|
+
},
|
|
27
|
+
setup(_) {
|
|
28
|
+
const e = _, x = r(() => e.flat ? "" : "shadow-lg"), y = r(() => e.outlined && e.color ? `border solid ${v("border", e.color)}` : e.outlined ? "border solid border-primary dark:border-white" : "dark:border dark:solid dark:border-white"), w = r(() => e.isLink ? "dark:hover:border-white hover:border-primary hover:border hover:border rounded-md cursor-pointer" : ""), $ = r(() => e.color && !e.outlined ? `${v("bg", e.color)}` : "bg-white text-black"), g = r(() => e.color && !e.outlined ? "text-white" : "text-gray-600"), C = r(() => W[e.density]), B = r(() => `
|
|
29
|
+
${x.value}
|
|
30
|
+
${y.value}
|
|
31
|
+
${$.value}
|
|
32
|
+
${e.maxWidth}
|
|
33
|
+
rounded-md
|
|
34
|
+
dark:bg-dark
|
|
35
|
+
dark:text-white
|
|
36
|
+
`), { title: f, subtitle: h, icon: a, src: i, svg: m } = L(e), S = N(), k = r(() => !!S.default || !!e.title || !!e.subtitle || !!e.icon);
|
|
37
|
+
return (u, G) => (l(), o("div", {
|
|
38
|
+
class: n(`${B.value} ${w.value}`)
|
|
39
|
+
}, [
|
|
40
|
+
t(i) ? (l(), o("img", {
|
|
41
|
+
key: 0,
|
|
42
|
+
src: t(i),
|
|
43
|
+
class: n(`w-full ${k.value ? "rounded-t-md" : "rounded-md"}`),
|
|
44
|
+
alt: "header card"
|
|
45
|
+
}, null, 10, j)) : s("", !0),
|
|
46
|
+
!t(i) && t(m) ? (l(), o("div", z, [
|
|
47
|
+
b(T, { content: t(m) }, null, 8, ["content"])
|
|
48
|
+
])) : s("", !0),
|
|
49
|
+
k.value ? (l(), o("div", {
|
|
50
|
+
key: 2,
|
|
51
|
+
class: n(C.value)
|
|
52
|
+
}, [
|
|
53
|
+
t(f) || t(h) || t(a) ? (l(), o("div", D, [
|
|
54
|
+
d("div", null, [
|
|
55
|
+
d("h3", R, p(t(f)), 1),
|
|
56
|
+
d("h4", {
|
|
57
|
+
class: n(`text-xs dark:text-white ${g.value}`)
|
|
58
|
+
}, p(t(h)), 3)
|
|
59
|
+
]),
|
|
60
|
+
t(a) ? (l(), o("div", q, [
|
|
61
|
+
b(V, {
|
|
62
|
+
"icon-path": t(a),
|
|
63
|
+
"extra-class": "dark:text-white"
|
|
64
|
+
}, null, 8, ["icon-path"])
|
|
65
|
+
])) : s("", !0)
|
|
66
|
+
])) : s("", !0),
|
|
67
|
+
c(u.$slots, "card-header"),
|
|
68
|
+
d("div", A, [
|
|
69
|
+
c(u.$slots, "default")
|
|
70
|
+
]),
|
|
71
|
+
d("div", F, [
|
|
72
|
+
c(u.$slots, "card-actions")
|
|
73
|
+
])
|
|
74
|
+
], 2)) : s("", !0)
|
|
75
|
+
], 2));
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
export {
|
|
79
|
+
O as default
|
|
80
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as m, computed as t, toRefs as z, createElementBlock as h, openBlock as a, normalizeClass as y, createBlock as o, createCommentVNode as s, renderSlot as C, unref as u } from "vue";
|
|
2
|
+
import i from "./EpIcon.vue.js";
|
|
3
|
+
import { sizeChipVariants as k, chipVariants as B } from "../../types/Chip.js";
|
|
4
|
+
const P = /* @__PURE__ */ m({
|
|
5
|
+
__name: "EpChip",
|
|
6
|
+
props: {
|
|
7
|
+
type: { default: "base" },
|
|
8
|
+
size: { default: "medium" },
|
|
9
|
+
outlined: { type: Boolean },
|
|
10
|
+
appendIcon: { default: null },
|
|
11
|
+
prependIcon: { default: null },
|
|
12
|
+
square: { type: Boolean, default: !1 },
|
|
13
|
+
dark: { type: Boolean, default: !1 }
|
|
14
|
+
},
|
|
15
|
+
setup(p) {
|
|
16
|
+
const e = p, c = t(() => e.outlined ? "outlined" : "default"), d = t(() => e.square ? "" : "rounded-full"), f = t(() => `
|
|
17
|
+
${k[e.size]}
|
|
18
|
+
${d.value}
|
|
19
|
+
${B[e.type]?.[c.value]}
|
|
20
|
+
`), r = t(() => {
|
|
21
|
+
if (e.size === "large")
|
|
22
|
+
return "30";
|
|
23
|
+
if (e.size === "medium")
|
|
24
|
+
return "20";
|
|
25
|
+
if (e.size === "small")
|
|
26
|
+
return "15";
|
|
27
|
+
}), { appendIcon: l } = z(e);
|
|
28
|
+
return (n, I) => (a(), h("span", {
|
|
29
|
+
class: y(`${f.value} mx-2 cursor-default`)
|
|
30
|
+
}, [
|
|
31
|
+
n.prependIcon ? (a(), o(i, {
|
|
32
|
+
key: 0,
|
|
33
|
+
iconPath: n.prependIcon,
|
|
34
|
+
size: r.value,
|
|
35
|
+
extraClass: "mr-2"
|
|
36
|
+
}, null, 8, ["iconPath", "size"])) : s("", !0),
|
|
37
|
+
C(n.$slots, "default"),
|
|
38
|
+
u(l) ? (a(), o(i, {
|
|
39
|
+
key: 1,
|
|
40
|
+
iconPath: u(l),
|
|
41
|
+
size: r.value,
|
|
42
|
+
extraClass: "ml-2"
|
|
43
|
+
}, null, 8, ["iconPath", "size"])) : s("", !0)
|
|
44
|
+
], 2));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
P as default
|
|
49
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineComponent as n, computed as r, createElementBlock as s, openBlock as a, normalizeClass as u } from "vue";
|
|
2
|
+
import c from "../../composables/useColors.js";
|
|
3
|
+
const f = /* @__PURE__ */ n({
|
|
4
|
+
__name: "EpDivider",
|
|
5
|
+
props: {
|
|
6
|
+
color: { default: null },
|
|
7
|
+
size: { default: "border" },
|
|
8
|
+
inset: { type: Boolean, default: !1 },
|
|
9
|
+
icon: { default: null },
|
|
10
|
+
margin: { default: "my-2" }
|
|
11
|
+
},
|
|
12
|
+
setup(o) {
|
|
13
|
+
const e = o, l = r(() => e.color ? `${e.size} ${c("border", e.color)}` : `${e.size} border-grey-700`), t = r(() => `${l.value} ${e.inset ? "w-9/12 mx-auto" : "w-full"} ${e.margin}`);
|
|
14
|
+
return (i, m) => (a(), s("hr", {
|
|
15
|
+
class: u(`h-px ${t.value}`)
|
|
16
|
+
}, null, 2));
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
export {
|
|
20
|
+
f as default
|
|
21
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineComponent as o, createElementBlock as t, openBlock as r, renderSlot as n } from "vue";
|
|
2
|
+
const s = { class: "grid grid-cols-2 gap-4" }, p = /* @__PURE__ */ o({
|
|
3
|
+
__name: "EpFlex",
|
|
4
|
+
setup(c) {
|
|
5
|
+
return (e, l) => (r(), t("div", s, [
|
|
6
|
+
n(e.$slots, "default")
|
|
7
|
+
]));
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
p as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { defineComponent as i, computed as r, createElementBlock as u, openBlock as c, renderSlot as p, createElementVNode as d, unref as f, normalizeClass as m, normalizeStyle as h } from "vue";
|
|
2
|
+
import { useRenderText as x } from "../../composables/useRenderText.js";
|
|
3
|
+
const v = { class: "relative group overflow-hidden bg-cover bg-no-repeat" }, g = ["innerHTML"], _ = /* @__PURE__ */ i({
|
|
4
|
+
__name: "EpHover",
|
|
5
|
+
props: {
|
|
6
|
+
bgColor: { default: "beige" },
|
|
7
|
+
textColor: { default: "black" },
|
|
8
|
+
text: { default: "" },
|
|
9
|
+
animation: { default: "translateX" },
|
|
10
|
+
seeThrough: { type: Boolean },
|
|
11
|
+
textSize: {}
|
|
12
|
+
},
|
|
13
|
+
setup(a) {
|
|
14
|
+
const e = a, l = r(() => {
|
|
15
|
+
let t = "";
|
|
16
|
+
e.animation == "scale" ? t = "group-hover:scale-105" : e.animation == "translateY" ? t = "translate-y-96 group-hover:translate-y-0" : e.animation == "translateX" && (t = "translate-x-96 group-hover:translate-x-0");
|
|
17
|
+
let o = e.seeThrough ? "group-hover:opacity-90" : "group-hover:opacity-100", s = e.textSize ? e.textSize : "";
|
|
18
|
+
return t + " " + o + " " + s;
|
|
19
|
+
}), n = r(() => ({
|
|
20
|
+
backgroundColor: e.bgColor,
|
|
21
|
+
color: e.textColor
|
|
22
|
+
}));
|
|
23
|
+
return (t, o) => (c(), u("div", v, [
|
|
24
|
+
p(t.$slots, "default"),
|
|
25
|
+
d("div", {
|
|
26
|
+
style: h(n.value),
|
|
27
|
+
class: m(`rounded-t-md absolute bottom-0 left-0 right-0 top-0 max-h-full w-full p-10 dark:text-white box-border whitespace-normal overflow-x-auto overflow-y-auto
|
|
28
|
+
flex flex-col opacity-0 transition duration-1000 ease-in-out ${l.value}`),
|
|
29
|
+
innerHTML: f(x)(t.text)
|
|
30
|
+
}, null, 14, g)
|
|
31
|
+
]));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
export {
|
|
35
|
+
_ as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { defineComponent as B, computed as r, toRefs as S, useSlots as T, createElementBlock as s, openBlock as a, normalizeClass as n, createBlock as z, createCommentVNode as d, unref as t, withCtx as E, createElementVNode as l, renderSlot as i, toDisplayString as p, createVNode as N } from "vue";
|
|
2
|
+
import V from "./EpHover.vue.js";
|
|
3
|
+
import A from "./EpIcon.vue.js";
|
|
4
|
+
import v from "../../composables/useColors.js";
|
|
5
|
+
import { density_style as W } from "../../types/Card.js";
|
|
6
|
+
const j = ["src"], D = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "mb-2 flex items-center justify-between dark:text-white"
|
|
9
|
+
}, H = { class: "text-2xl dark:text-white font-bold" }, R = { key: 0 }, Y = { class: "dark:text-white" }, q = { class: "dark:text-white max-w-4xl" }, M = /* @__PURE__ */ B({
|
|
10
|
+
__name: "EpHoverCard",
|
|
11
|
+
props: {
|
|
12
|
+
title: { default: null },
|
|
13
|
+
subtitle: { default: null },
|
|
14
|
+
outlined: { type: Boolean, default: !1 },
|
|
15
|
+
flat: { type: Boolean, default: !1 },
|
|
16
|
+
icon: { default: null },
|
|
17
|
+
color: { default: null },
|
|
18
|
+
src: { default: null },
|
|
19
|
+
maxWidth: { default: "max-w-xl" },
|
|
20
|
+
density: { default: "default" },
|
|
21
|
+
hoverContent: {},
|
|
22
|
+
hoverBg: { default: "" },
|
|
23
|
+
hoverAnimation: { default: "translateY" },
|
|
24
|
+
seeThrough: { type: Boolean },
|
|
25
|
+
textSize: {},
|
|
26
|
+
hoverColor: {}
|
|
27
|
+
},
|
|
28
|
+
setup(b) {
|
|
29
|
+
const e = b, k = r(() => e.flat ? "" : "shadow-lg"), y = r(() => e.outlined && e.color ? `border solid ${v("border", e.color)}` : e.outlined ? "border solid border-primary dark:border-primary" : "dark:border dark:solid dark:border-primary"), C = r(() => e.color && !e.outlined ? `${v("bg", e.color)}` : "bg-white text-black"), _ = r(() => e.color && !e.outlined ? "text-white" : "text-gray-600"), g = r(() => W[e.density]), w = r(() => `
|
|
30
|
+
${k.value}
|
|
31
|
+
${y.value}
|
|
32
|
+
${C.value}
|
|
33
|
+
${e.maxWidth}
|
|
34
|
+
rounded-md
|
|
35
|
+
dark:bg-dark
|
|
36
|
+
dark:text-white`), { title: u, subtitle: c, icon: h, src: f, hoverContent: m } = S(e), $ = T(), x = r(() => !!$.default || !!e.title || !!e.subtitle);
|
|
37
|
+
return (o, F) => (a(), s("div", {
|
|
38
|
+
class: n(`${w.value} mx-auto`)
|
|
39
|
+
}, [
|
|
40
|
+
t(f) && t(m) ? (a(), z(V, {
|
|
41
|
+
key: 0,
|
|
42
|
+
textColor: o.hoverColor,
|
|
43
|
+
textSize: o.textSize,
|
|
44
|
+
seeThrough: o.seeThrough,
|
|
45
|
+
bgColor: o.hoverBg,
|
|
46
|
+
animation: o.hoverAnimation,
|
|
47
|
+
text: t(m)
|
|
48
|
+
}, {
|
|
49
|
+
default: E(() => [
|
|
50
|
+
l("img", {
|
|
51
|
+
src: t(f),
|
|
52
|
+
class: n(`w-full ${x.value ? "rounded-t-md" : "rounded-md"}`),
|
|
53
|
+
alt: "header card"
|
|
54
|
+
}, null, 10, j)
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}, 8, ["textColor", "textSize", "seeThrough", "bgColor", "animation", "text"])) : d("", !0),
|
|
58
|
+
x.value ? (a(), s("div", {
|
|
59
|
+
key: 1,
|
|
60
|
+
class: n(g.value)
|
|
61
|
+
}, [
|
|
62
|
+
t(u) || t(c) ? (a(), s("div", D, [
|
|
63
|
+
l("div", null, [
|
|
64
|
+
l("h3", H, p(t(u)), 1),
|
|
65
|
+
l("h4", {
|
|
66
|
+
class: n(`text-xs dark:text-white ${_.value}`)
|
|
67
|
+
}, p(t(c)), 3)
|
|
68
|
+
]),
|
|
69
|
+
t(h) ? (a(), s("div", R, [
|
|
70
|
+
N(A, { "icon-path": t(h) }, null, 8, ["icon-path"])
|
|
71
|
+
])) : d("", !0)
|
|
72
|
+
])) : d("", !0),
|
|
73
|
+
i(o.$slots, "card-header"),
|
|
74
|
+
l("div", Y, [
|
|
75
|
+
i(o.$slots, "default")
|
|
76
|
+
]),
|
|
77
|
+
l("div", q, [
|
|
78
|
+
i(o.$slots, "card-actions")
|
|
79
|
+
])
|
|
80
|
+
], 2)) : d("", !0)
|
|
81
|
+
], 2));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
M as default
|
|
86
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as c, toRefs as l, createElementBlock as a, openBlock as h, normalizeClass as d, unref as e, createElementVNode as p } from "vue";
|
|
2
|
+
const u = ["width", "height", "viewBox"], _ = ["d"], w = /* @__PURE__ */ c({
|
|
3
|
+
__name: "EpIcon",
|
|
4
|
+
props: {
|
|
5
|
+
size: { default: 32 },
|
|
6
|
+
viewBox: { default: "0 0 24 24" },
|
|
7
|
+
iconPath: {},
|
|
8
|
+
extraClass: {}
|
|
9
|
+
},
|
|
10
|
+
setup(t) {
|
|
11
|
+
const n = t, { size: o, viewBox: s, iconPath: r, extraClass: i } = l(n);
|
|
12
|
+
return (f, m) => (h(), a("svg", {
|
|
13
|
+
width: e(o),
|
|
14
|
+
height: e(o),
|
|
15
|
+
viewBox: e(s),
|
|
16
|
+
color: "currentColor",
|
|
17
|
+
fill: "currentColor",
|
|
18
|
+
class: d(`inline ${e(i)}`)
|
|
19
|
+
}, [
|
|
20
|
+
p("path", { d: e(r) }, null, 8, _)
|
|
21
|
+
], 10, u));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
w as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { defineComponent as S, ref as C, computed as z, toRefs as A, createElementBlock as o, openBlock as l, normalizeClass as c, unref as e, createCommentVNode as i, createVNode as a, createElementVNode as t, toDisplayString as r, withCtx as h, createTextVNode as V } from "vue";
|
|
2
|
+
import { cols_img as U, sizeThumbnailStyle as q } from "../../types/Image.js";
|
|
3
|
+
import { useImage as D } from "@vueuse/core";
|
|
4
|
+
import R from "../interactions/EpModal.vue.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import f from "./EpIcon.vue.js";
|
|
7
|
+
import j from "./EpBtn.vue.js";
|
|
8
|
+
import { mdiImage as F, mdiImageRemove as G, mdiArrowExpandAll as B } from "@mdi/js";
|
|
9
|
+
import { useRenderText as J } from "../../composables/useRenderText.js";
|
|
10
|
+
const K = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "flex m-2"
|
|
13
|
+
}, O = {
|
|
14
|
+
key: 0,
|
|
15
|
+
class: "text-gray-200"
|
|
16
|
+
}, P = {
|
|
17
|
+
key: 1,
|
|
18
|
+
class: "text-red-200"
|
|
19
|
+
}, Q = ["src", "alt"], W = {
|
|
20
|
+
key: 0,
|
|
21
|
+
class: "absolute bottom-2 right-2 text-white text-center bg-black rounded opacity-0 transition-opacity duration-300 group-hover:opacity-50 cursor-pointer"
|
|
22
|
+
}, X = {
|
|
23
|
+
key: 3,
|
|
24
|
+
class: "px-4 py-2 dark:bg-black dark:border-white dark:rounded-b-md"
|
|
25
|
+
}, Y = { class: "text-2xl dark:text-white font-bold" }, Z = { class: "text-gray-500 dark:text-white text-sm mt-4" }, ee = {
|
|
26
|
+
key: 0,
|
|
27
|
+
class: "text-right"
|
|
28
|
+
}, te = {
|
|
29
|
+
key: 1,
|
|
30
|
+
class: "relative group inline-block m-2"
|
|
31
|
+
}, oe = ["src", "alt"], le = { class: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-white text-center" }, ae = ["src", "alt"], se = {
|
|
32
|
+
key: 0,
|
|
33
|
+
class: "px-4 py-2"
|
|
34
|
+
}, ie = { class: "text-2xl dark:text-white font-bold" }, re = { class: "text-gray-500 dark:text-white text-sm mt-4" }, ne = ["innerHTML"], ce = ["innerHTML"], de = { class: "flex justify-end" }, ye = /* @__PURE__ */ S({
|
|
35
|
+
__name: "EpImg",
|
|
36
|
+
props: {
|
|
37
|
+
src: {},
|
|
38
|
+
alt: { default: "Image snfas" },
|
|
39
|
+
height: {},
|
|
40
|
+
width: {},
|
|
41
|
+
thumbnail: { type: Boolean, default: !1 },
|
|
42
|
+
sizeThumbnail: { default: "medium" },
|
|
43
|
+
caption: {},
|
|
44
|
+
bib: {},
|
|
45
|
+
title: {},
|
|
46
|
+
noModal: { type: Boolean, default: !1 },
|
|
47
|
+
cols: { default: "6" },
|
|
48
|
+
labelClose: { default: "Fermer" },
|
|
49
|
+
labelRef: { default: "Référence" },
|
|
50
|
+
labelRefLib: { default: "Référence bibliographique" }
|
|
51
|
+
},
|
|
52
|
+
setup(E, { expose: L }) {
|
|
53
|
+
const s = E, b = C(null);
|
|
54
|
+
L({ imgEl: b });
|
|
55
|
+
const $ = z(() => U[+s.cols]), _ = z(() => s.bib ? J(s.bib) : ""), d = C(!1), g = () => {
|
|
56
|
+
s.noModal || (d.value = !d.value);
|
|
57
|
+
}, u = C(!1), T = () => {
|
|
58
|
+
u.value = !u.value;
|
|
59
|
+
}, M = z(() => q[s.sizeThumbnail]), { isLoading: I, error: H } = D({ src: s.src }), { src: v, alt: k, title: y, caption: x, thumbnail: m, bib: N, sizeThumbnail: ue } = A(s);
|
|
60
|
+
return (n, p) => (l(), o("div", {
|
|
61
|
+
class: c(e(m) ? "inline-block" : "")
|
|
62
|
+
}, [
|
|
63
|
+
e(m) ? i("", !0) : (l(), o("div", K, [
|
|
64
|
+
t("div", {
|
|
65
|
+
class: c(`mx-auto bg-white dark:bg-dark rounded-md overflow-hidden shadow-md ${$.value}`)
|
|
66
|
+
}, [
|
|
67
|
+
e(I) ? (l(), o("span", O, [
|
|
68
|
+
a(f, {
|
|
69
|
+
"icon-path": e(F),
|
|
70
|
+
size: "250"
|
|
71
|
+
}, null, 8, ["icon-path"])
|
|
72
|
+
])) : e(H) ? (l(), o("span", P, [
|
|
73
|
+
a(f, {
|
|
74
|
+
"icon-path": e(G),
|
|
75
|
+
size: "150"
|
|
76
|
+
}, null, 8, ["icon-path"])
|
|
77
|
+
])) : (l(), o("div", {
|
|
78
|
+
key: 2,
|
|
79
|
+
class: c(`${n.noModal ? "" : "cursor-pointer"} dark:bg-white group relative`)
|
|
80
|
+
}, [
|
|
81
|
+
t("img", {
|
|
82
|
+
class: "object-cover object-center w-full",
|
|
83
|
+
src: e(v),
|
|
84
|
+
alt: e(k),
|
|
85
|
+
onClick: g,
|
|
86
|
+
ref_key: "imgEl",
|
|
87
|
+
ref: b
|
|
88
|
+
}, null, 8, Q),
|
|
89
|
+
n.noModal ? i("", !0) : (l(), o("div", W, [
|
|
90
|
+
a(f, {
|
|
91
|
+
size: "28",
|
|
92
|
+
"icon-path": e(B)
|
|
93
|
+
}, null, 8, ["icon-path"])
|
|
94
|
+
]))
|
|
95
|
+
], 2)),
|
|
96
|
+
e(y) || e(x) || e(N) ? (l(), o("div", X, [
|
|
97
|
+
t("h2", Y, r(e(y)), 1),
|
|
98
|
+
t("p", Z, r(e(x)), 1),
|
|
99
|
+
_.value ? (l(), o("div", ee, [
|
|
100
|
+
a(j, {
|
|
101
|
+
onClick: T,
|
|
102
|
+
size: "small",
|
|
103
|
+
type: "primary"
|
|
104
|
+
}, {
|
|
105
|
+
default: h(() => [
|
|
106
|
+
V(r(n.labelRef), 1)
|
|
107
|
+
]),
|
|
108
|
+
_: 1
|
|
109
|
+
})
|
|
110
|
+
])) : i("", !0)
|
|
111
|
+
])) : i("", !0)
|
|
112
|
+
], 2)
|
|
113
|
+
])),
|
|
114
|
+
e(m) ? (l(), o("div", te, [
|
|
115
|
+
t("img", {
|
|
116
|
+
class: c(`${M.value} object-cover object-center group-hover:opacity-30 `),
|
|
117
|
+
src: e(v),
|
|
118
|
+
alt: e(k),
|
|
119
|
+
ref_key: "imgEl",
|
|
120
|
+
ref: b
|
|
121
|
+
}, null, 10, oe),
|
|
122
|
+
t("div", {
|
|
123
|
+
class: c(`absolute top-0 left-0 ${M.value} bg-black opacity-0 transition-opacity duration-300 group-hover:opacity-30 cursor-pointer`),
|
|
124
|
+
onClick: g
|
|
125
|
+
}, [
|
|
126
|
+
t("div", le, [
|
|
127
|
+
a(f, { "icon-path": e(B) }, null, 8, ["icon-path"])
|
|
128
|
+
])
|
|
129
|
+
], 2)
|
|
130
|
+
])) : i("", !0),
|
|
131
|
+
a(R, {
|
|
132
|
+
modelValue: d.value,
|
|
133
|
+
"onUpdate:modelValue": p[0] || (p[0] = (w) => d.value = w)
|
|
134
|
+
}, {
|
|
135
|
+
default: h(() => [
|
|
136
|
+
t("img", {
|
|
137
|
+
class: "object-cover object-center h-5/6 w-5/6 mx-auto dark:bg-white",
|
|
138
|
+
src: e(v),
|
|
139
|
+
alt: e(k),
|
|
140
|
+
onClick: g
|
|
141
|
+
}, null, 8, ae),
|
|
142
|
+
e(m) ? (l(), o("div", se, [
|
|
143
|
+
t("h2", ie, r(e(y)), 1),
|
|
144
|
+
t("p", re, r(e(x)), 1),
|
|
145
|
+
t("div", {
|
|
146
|
+
class: "text-gray-700 dark:text-white mt-4",
|
|
147
|
+
innerHTML: _.value
|
|
148
|
+
}, null, 8, ne)
|
|
149
|
+
])) : i("", !0)
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
}, 8, ["modelValue"]),
|
|
153
|
+
a(R, {
|
|
154
|
+
modelValue: u.value,
|
|
155
|
+
"onUpdate:modelValue": p[1] || (p[1] = (w) => u.value = w),
|
|
156
|
+
title: n.labelRefLib
|
|
157
|
+
}, {
|
|
158
|
+
default: h(() => [
|
|
159
|
+
t("div", {
|
|
160
|
+
class: "text-gray-700 dark:text-white mt-4",
|
|
161
|
+
innerHTML: _.value
|
|
162
|
+
}, null, 8, ce),
|
|
163
|
+
t("div", de, [
|
|
164
|
+
a(j, {
|
|
165
|
+
onClick: T,
|
|
166
|
+
size: "small",
|
|
167
|
+
type: "error",
|
|
168
|
+
outlined: ""
|
|
169
|
+
}, {
|
|
170
|
+
default: h(() => [
|
|
171
|
+
V(r(n.labelClose), 1)
|
|
172
|
+
]),
|
|
173
|
+
_: 1
|
|
174
|
+
})
|
|
175
|
+
])
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}, 8, ["modelValue", "title"])
|
|
179
|
+
], 2));
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
export {
|
|
183
|
+
ye as default
|
|
184
|
+
};
|