ep-lib-ts 1.0.56 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/{types/Answer.d.ts → Answer.d.ts} +0 -1
- package/dist/{types/Hierarchy.d.ts → Hierarchy.d.ts} +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/_virtual/dynamic-import-helper.js +9 -0
- package/dist/basics/EpAvatar.d.ts +21 -0
- package/dist/basics/EpAvatar.js +4 -0
- package/dist/basics/EpBadge.d.ts +6 -0
- package/dist/basics/EpBadge.js +4 -0
- package/dist/basics/EpBtn.d.ts +14 -0
- package/dist/basics/EpBtn.js +4 -0
- package/dist/basics/EpCard.d.ts +14 -0
- package/dist/basics/EpCard.js +4 -0
- package/dist/basics/EpChip.d.ts +10 -0
- package/dist/basics/EpChip.js +4 -0
- package/dist/basics/EpDivider.d.ts +8 -0
- package/dist/basics/EpDivider.js +4 -0
- package/dist/basics/EpFlex.d.ts +7 -0
- package/dist/basics/EpFlex.js +4 -0
- package/dist/basics/EpHover.d.ts +9 -0
- package/dist/basics/EpHover.js +4 -0
- package/dist/basics/EpHoverCard.d.ts +19 -0
- package/dist/basics/EpHoverCard.js +4 -0
- package/dist/basics/EpIcon.d.ts +6 -0
- package/dist/basics/EpIcon.js +4 -0
- package/dist/basics/EpImg.d.ts +17 -0
- package/dist/basics/EpImg.js +4 -0
- package/dist/basics/EpImgCarousel.d.ts +20 -0
- package/dist/basics/EpImgCarousel.js +4 -0
- package/dist/basics/EpList.d.ts +3 -0
- package/dist/basics/EpList.js +4 -0
- package/dist/basics/EpListItem.d.ts +7 -0
- package/dist/basics/EpListItem.js +4 -0
- package/dist/basics/EpSection.d.ts +13 -0
- package/dist/basics/EpSection.js +4 -0
- package/dist/basics/EpSectionCols.d.ts +17 -0
- package/dist/basics/EpSectionCols.js +4 -0
- package/dist/basics/EpSpinner.d.ts +6 -0
- package/dist/basics/EpSpinner.js +4 -0
- package/dist/basics/EpStackedList.d.ts +10 -0
- package/dist/basics/EpStackedList.js +4 -0
- package/dist/basics/EpTable.d.ts +5 -0
- package/dist/basics/EpTable.js +4 -0
- package/dist/basics/EpText.d.ts +11 -0
- package/dist/basics/EpText.js +4 -0
- package/dist/charts/EpBarChart.d.ts +30 -0
- package/dist/charts/EpBarChart.js +4 -0
- package/dist/charts/EpFunnelChart.d.ts +31 -0
- package/dist/charts/EpFunnelChart.js +4 -0
- package/dist/charts/EpLineChart.d.ts +28 -0
- package/dist/charts/EpLineChart.js +4 -0
- package/dist/charts/EpPieChart.d.ts +32 -0
- package/dist/charts/EpPieChart.js +4 -0
- package/dist/components/basics/EpAvatar.vue.js +32 -0
- package/dist/components/basics/EpAvatar.vue2.js +4 -0
- package/dist/components/basics/EpBadge.vue.js +22 -0
- package/dist/components/basics/EpBadge.vue2.js +4 -0
- package/dist/components/basics/EpBtn.vue.js +79 -0
- package/dist/components/basics/EpBtn.vue2.js +4 -0
- package/dist/components/basics/EpCard.vue.js +80 -0
- package/dist/components/basics/EpCard.vue2.js +4 -0
- package/dist/components/basics/EpChip.vue.js +49 -0
- package/dist/components/basics/EpChip.vue2.js +4 -0
- package/dist/components/basics/EpDivider.vue.js +21 -0
- package/dist/components/basics/EpDivider.vue2.js +4 -0
- package/dist/components/basics/EpFlex.vue.js +12 -0
- package/dist/components/basics/EpFlex.vue2.js +4 -0
- package/dist/components/basics/EpHover.vue.js +36 -0
- package/dist/components/basics/EpHover.vue2.js +4 -0
- package/dist/components/basics/EpHoverCard.vue.js +86 -0
- package/dist/components/basics/EpHoverCard.vue2.js +4 -0
- package/dist/components/basics/EpIcon.vue.js +26 -0
- package/dist/components/basics/EpIcon.vue2.js +4 -0
- package/dist/components/basics/EpImg.vue.js +184 -0
- package/dist/components/basics/EpImg.vue2.js +4 -0
- package/dist/components/basics/EpImgCarousel.vue.js +124 -0
- package/dist/components/basics/EpImgCarousel.vue2.js +4 -0
- package/dist/components/basics/EpList.vue.js +12 -0
- package/dist/components/basics/EpListItem.vue.js +35 -0
- package/dist/components/basics/EpListItem.vue2.js +4 -0
- package/dist/components/basics/EpSection.vue.js +74 -0
- package/dist/components/basics/EpSection.vue2.js +4 -0
- package/dist/components/basics/EpSectionCols.vue.js +94 -0
- package/dist/components/basics/EpSectionCols.vue2.js +4 -0
- package/dist/components/basics/EpSpinner.vue.js +122 -0
- package/dist/components/basics/EpSpinner.vue2.js +4 -0
- package/dist/components/basics/EpStackedList.vue.js +70 -0
- package/dist/components/basics/EpStackedList.vue2.js +4 -0
- package/dist/components/basics/EpTable.vue.js +49 -0
- package/dist/components/basics/EpTable.vue2.js +4 -0
- package/dist/components/basics/EpText.vue.js +83 -0
- package/dist/components/basics/EpText.vue2.js +4 -0
- package/dist/components/charts/EpBarChart.vue.js +78 -0
- package/dist/components/charts/EpBarChart.vue2.js +4 -0
- package/dist/components/charts/EpFunnelChart.vue.js +112 -0
- package/dist/components/charts/EpFunnelChart.vue2.js +4 -0
- package/dist/components/charts/EpLineChart.vue.js +91 -0
- package/dist/components/charts/EpLineChart.vue2.js +4 -0
- package/dist/components/charts/EpPieChart.vue.js +75 -0
- package/dist/components/charts/EpPieChart.vue2.js +4 -0
- package/dist/components/educationals/EpBranchingScenario.vue.js +7 -0
- package/dist/components/educationals/EpBranchingScenario.vue2.js +236 -0
- package/dist/components/educationals/EpCodeblock.vue.js +44 -0
- package/dist/components/educationals/EpCodeblock.vue3.js +5 -0
- package/dist/components/educationals/EpConclusion.vue.js +40 -0
- package/dist/components/educationals/EpConclusion.vue2.js +4 -0
- package/dist/components/educationals/EpDescription.vue.js +40 -0
- package/dist/components/educationals/EpDescription.vue2.js +4 -0
- package/dist/components/educationals/EpDocument.vue.js +99 -0
- package/dist/components/educationals/EpDocument.vue2.js +4 -0
- package/dist/components/educationals/EpEdu.vue.js +81 -0
- package/dist/components/educationals/EpEdu.vue2.js +4 -0
- package/dist/components/educationals/EpInstructions.vue.js +49 -0
- package/dist/components/educationals/EpInstructions.vue2.js +4 -0
- package/dist/components/educationals/EpIntroduction.vue.js +39 -0
- package/dist/components/educationals/EpIntroduction.vue2.js +4 -0
- package/dist/components/educationals/EpObjective.vue.js +39 -0
- package/dist/components/educationals/EpObjective.vue2.js +4 -0
- package/dist/components/educationals/EpReading.vue.js +307 -0
- package/dist/components/educationals/EpReading.vue2.js +4 -0
- package/dist/components/educationals/EpResource.vue.js +33 -0
- package/dist/components/educationals/EpResource.vue2.js +4 -0
- package/dist/components/educationals/EpScope.vue.js +25 -0
- package/dist/components/educationals/EpScope.vue2.js +4 -0
- package/dist/components/educationals/EpSpecificObjective.vue.js +37 -0
- package/dist/components/educationals/EpSpecificObjective.vue2.js +4 -0
- package/dist/components/forms/EpCheckbox.vue2.js +4 -0
- package/dist/components/forms/EpInput.vue.js +62 -0
- package/dist/components/forms/EpInput.vue2.js +4 -0
- package/dist/components/forms/EpRadio.vue.js +41 -0
- package/dist/components/forms/EpRadio.vue2.js +4 -0
- package/dist/components/forms/EpRadioSummative.vue.js +37 -0
- package/dist/components/forms/EpRadioSummative.vue2.js +4 -0
- package/dist/components/forms/EpSelect.vue2.js +4 -0
- package/dist/components/forms/EpSwitch.vue.js +48 -0
- package/dist/components/forms/EpSwitch.vue2.js +4 -0
- package/dist/{EpTextarea-VJ4pdPV_.js → components/forms/EpTextarea.vue.js} +6 -15
- package/dist/components/forms/EpTextarea.vue2.js +4 -0
- package/dist/{EpToggle-BTkTNVEz.js → components/forms/EpToggle.vue.js} +7 -16
- package/dist/components/forms/EpToggle.vue2.js +4 -0
- package/dist/{Ep360Image-T9Z_eSbf.js → components/interactions/Ep360Image.vue.js} +1 -1
- package/dist/components/interactions/Ep360Image.vue2.js +4 -0
- package/dist/{Ep360Video-CkVrfj8k.js → components/interactions/Ep360Video.vue.js} +1 -1
- package/dist/components/interactions/Ep360Video.vue2.js +4 -0
- package/dist/components/interactions/EpAccordeon.vue.js +7 -0
- package/dist/components/interactions/EpAccordeon.vue2.js +75 -0
- package/dist/components/interactions/EpContentSlider.vue.js +184 -0
- package/dist/components/interactions/EpContentSlider.vue2.js +4 -0
- package/dist/{EpDarkmode-CW-dKJx2.js → components/interactions/EpDarkMode.vue.js} +5 -5
- package/dist/components/interactions/EpDarkMode.vue2.js +4 -0
- package/dist/components/interactions/EpDraggable.vue.js +144 -0
- package/dist/components/interactions/EpDraggable.vue2.js +4 -0
- package/dist/{EpHotsPot-nT87sUMT.js → components/interactions/EpHotSpot.vue.js} +8 -8
- package/dist/components/interactions/EpHotSpot.vue2.js +4 -0
- package/dist/components/interactions/EpModal.vue.js +55 -0
- package/dist/components/interactions/EpModal.vue3.js +5 -0
- package/dist/components/interactions/EpQuestion.vue.js +175 -0
- package/dist/components/interactions/EpQuestion.vue2.js +4 -0
- package/dist/components/interactions/EpSummativeTable.vue.js +49 -0
- package/dist/components/interactions/EpSummativeTable.vue2.js +4 -0
- package/dist/components/interactions/EpSvgShow.vue.js +69 -0
- package/dist/components/interactions/EpSvgShow.vue2.js +4 -0
- package/dist/components/interactions/EpTabs.vue.js +12 -0
- package/dist/components/interactions/EpTooltip.vue.js +24 -0
- package/dist/components/interactions/EpTooltip.vue3.js +5 -0
- package/dist/components/medias/EpAudio.vue.js +76 -0
- package/dist/components/medias/EpAudio.vue2.js +4 -0
- package/dist/components/medias/EpCardLink.vue.js +65 -0
- package/dist/components/medias/EpCardLink.vue2.js +4 -0
- package/dist/components/medias/EpCarousel.vue.js +7 -0
- package/dist/components/medias/EpCarousel.vue2.js +162 -0
- package/dist/components/medias/EpHierarchy.vue.js +7 -0
- package/dist/components/medias/EpHierarchy.vue2.js +172 -0
- package/dist/components/medias/EpIframe.vue.js +53 -0
- package/dist/components/medias/EpIframe.vue2.js +4 -0
- package/dist/components/medias/EpKatex.vue.js +7 -0
- package/dist/components/medias/EpKatex.vue2.js +58 -0
- package/dist/components/medias/EpLink.vue.js +73 -0
- package/dist/components/medias/EpLink.vue2.js +4 -0
- package/dist/components/medias/EpLinkVersion.vue.js +34 -0
- package/dist/components/medias/EpLinkVersion.vue2.js +4 -0
- package/dist/components/medias/EpLottieSvg.vue.js +47 -0
- package/dist/components/medias/EpLottieSvg.vue2.js +4 -0
- package/dist/components/medias/EpSensibleImage.vue.js +7 -0
- package/dist/components/medias/EpSensibleImage.vue2.js +71 -0
- package/dist/components/medias/EpSoftware.vue.js +113 -0
- package/dist/components/medias/EpSoftware.vue2.js +4 -0
- package/dist/components/medias/EpSvg.vue.js +56 -0
- package/dist/components/medias/EpSvg.vue2.js +4 -0
- package/dist/components/medias/EpTerm.vue.js +144 -0
- package/dist/components/medias/EpTerm.vue2.js +4 -0
- package/dist/components/medias/EpTimeLine.vue.js +64 -0
- package/dist/components/medias/EpTimeLine.vue3.js +5 -0
- package/dist/components/medias/EpVideo.vue.js +83 -0
- package/dist/components/medias/EpVideo.vue2.js +4 -0
- package/dist/components/medias/EpVideoPanopto.vue.js +56 -0
- package/dist/components/medias/EpVideoPanopto.vue2.js +4 -0
- package/dist/components/medias/EpWordDef.vue.js +100 -0
- package/dist/components/medias/EpWordDef.vue2.js +4 -0
- package/dist/components/signages/EpAlert.vue.js +7 -0
- package/dist/components/signages/EpAlert.vue2.js +68 -0
- package/dist/components/signages/EpBadge.vue.js +32 -0
- package/dist/components/signages/EpBadge.vue2.js +4 -0
- package/dist/components/signages/EpHeader.vue.js +205 -0
- package/dist/components/signages/EpHeader.vue2.js +4 -0
- package/dist/components/signages/EpNothing.vue.js +10 -0
- package/dist/components/signages/EpQuote.vue.js +76 -0
- package/dist/components/signages/EpQuote.vue2.js +4 -0
- package/dist/components/signages/EpSkeleton.vue.js +34 -0
- package/dist/components/signages/EpSkeleton.vue3.js +5 -0
- package/dist/components/tools/BgAudio.vue.js +4 -0
- package/dist/components/tools/BgAudio.vue2.js +59 -0
- package/dist/components/tools/Details.vue.js +4 -0
- package/dist/components/tools/Details.vue2.js +55 -0
- package/dist/components/tools/DisplayBox.vue.js +5 -0
- package/dist/components/tools/DisplayBox.vue2.js +36 -0
- package/dist/components/tools/SvgFilter.vue.js +54 -0
- package/dist/components/tools/TextMedia.vue.js +4 -0
- package/dist/components/tools/TextMedia.vue2.js +41 -0
- package/dist/components/tools/TimelineItem.vue.js +7 -0
- package/dist/components/tools/TimelineItem.vue2.js +112 -0
- package/dist/components/tools/TwoColsMedia.vue.js +4 -0
- package/dist/components/tools/TwoColsMedia.vue2.js +50 -0
- package/dist/composables/isHtml.js +6 -0
- package/dist/composables/useColors.js +133 -0
- package/dist/composables/useComponent.js +40 -0
- package/dist/composables/useCreateUid.js +7 -0
- package/dist/composables/useIcons.js +32 -0
- package/dist/composables/useMarkdown.js +12 -0
- package/dist/composables/useRenderText.js +8 -0
- package/dist/educationals/EpBranchingScenario.d.ts +21 -0
- package/dist/educationals/EpBranchingScenario.js +4 -0
- package/dist/educationals/EpCodeblock.d.ts +12 -0
- package/dist/educationals/EpCodeblock.js +5 -0
- package/dist/educationals/EpConclusion.d.ts +5 -0
- package/dist/educationals/EpConclusion.js +4 -0
- package/dist/educationals/EpDescription.d.ts +5 -0
- package/dist/educationals/EpDescription.js +4 -0
- package/dist/educationals/EpDocument.d.ts +10 -0
- package/dist/educationals/EpDocument.js +4 -0
- package/dist/educationals/EpEdu.d.ts +13 -0
- package/dist/educationals/EpEdu.js +4 -0
- package/dist/educationals/EpInstructions.d.ts +13 -0
- package/dist/educationals/EpInstructions.js +4 -0
- package/dist/educationals/EpIntroduction.d.ts +5 -0
- package/dist/educationals/EpIntroduction.js +4 -0
- package/dist/educationals/EpObjective.d.ts +5 -0
- package/dist/educationals/EpObjective.js +4 -0
- package/dist/educationals/EpReading.d.ts +26 -0
- package/dist/educationals/EpReading.js +4 -0
- package/dist/educationals/EpResource.d.ts +8 -0
- package/dist/educationals/EpResource.js +4 -0
- package/dist/educationals/EpScope.d.ts +4 -0
- package/dist/educationals/EpScope.js +4 -0
- package/dist/educationals/EpSpecificObjective.d.ts +7 -0
- package/dist/educationals/EpSpecificObjective.js +4 -0
- package/dist/ep-lib-ts.css +1 -0
- package/dist/forms/EpCheckbox.d.ts +8 -0
- package/dist/forms/EpCheckbox.js +4 -0
- package/dist/forms/EpInput.d.ts +21 -0
- package/dist/forms/EpInput.js +4 -0
- package/dist/forms/EpRadio.d.ts +10 -0
- package/dist/forms/EpRadio.js +4 -0
- package/dist/forms/EpRadioSummative.d.ts +10 -0
- package/dist/forms/EpRadioSummative.js +4 -0
- package/dist/forms/EpSelect.d.ts +7 -0
- package/dist/forms/EpSelect.js +4 -0
- package/dist/forms/EpSwitch.d.ts +10 -0
- package/dist/forms/EpSwitch.js +4 -0
- package/dist/forms/EpTextarea.d.ts +23 -0
- package/dist/forms/EpTextarea.js +4 -0
- package/dist/forms/EpToggle.d.ts +13 -0
- package/dist/forms/EpToggle.js +4 -0
- package/dist/interactions/Ep360Image.d.ts +4 -0
- package/dist/interactions/Ep360Image.js +4 -0
- package/dist/interactions/Ep360Video.d.ts +3 -0
- package/dist/interactions/Ep360Video.js +4 -0
- package/dist/interactions/EpAccordeon.d.ts +9 -0
- package/dist/interactions/EpAccordeon.js +4 -0
- package/dist/interactions/EpContentSlider.d.ts +7 -0
- package/dist/interactions/EpContentSlider.js +4 -0
- package/dist/interactions/EpDarkMode.d.ts +1 -0
- package/dist/interactions/EpDarkMode.js +4 -0
- package/dist/interactions/EpDraggable.d.ts +6 -0
- package/dist/interactions/EpDraggable.js +4 -0
- package/dist/interactions/EpHotSpot.d.ts +17 -0
- package/dist/interactions/EpHotSpot.js +4 -0
- package/dist/interactions/EpModal.d.ts +10 -0
- package/dist/interactions/EpModal.js +5 -0
- package/dist/interactions/EpQuestion.d.ts +19 -0
- package/dist/interactions/EpQuestion.js +4 -0
- package/dist/interactions/EpSummativeTable.d.ts +6 -0
- package/dist/interactions/EpSummativeTable.js +4 -0
- package/dist/interactions/EpSvgShow.d.ts +5 -0
- package/dist/interactions/EpSvgShow.js +4 -0
- package/dist/interactions/EpTabs.d.ts +1 -0
- package/dist/interactions/EpTabs.js +4 -0
- package/dist/interactions/EpTooltip.d.ts +24 -0
- package/dist/interactions/EpTooltip.js +5 -0
- package/dist/medias/EpAudio.d.ts +13 -0
- package/dist/medias/EpAudio.js +4 -0
- package/dist/medias/EpCardLink.d.ts +19 -0
- package/dist/medias/EpCardLink.js +4 -0
- package/dist/medias/EpCarousel.d.ts +13 -0
- package/dist/medias/EpCarousel.js +4 -0
- package/dist/medias/EpHierarchy.d.ts +10 -0
- package/dist/medias/EpHierarchy.js +4 -0
- package/dist/medias/EpIframe.d.ts +13 -0
- package/dist/medias/EpIframe.js +4 -0
- package/dist/medias/EpKatex.d.ts +10 -0
- package/dist/medias/EpKatex.js +4 -0
- package/dist/medias/EpLink.d.ts +13 -0
- package/dist/medias/EpLink.js +4 -0
- package/dist/medias/EpLinkVersion.d.ts +18 -0
- package/dist/medias/EpLinkVersion.js +4 -0
- package/dist/medias/EpLottieSvg.d.ts +12 -0
- package/dist/medias/EpLottieSvg.js +4 -0
- package/dist/medias/EpSensibleImage.d.ts +11 -0
- package/dist/medias/EpSoftware.d.ts +16 -0
- package/dist/medias/EpSoftware.js +4 -0
- package/dist/medias/EpSvg.d.ts +12 -0
- package/dist/medias/EpSvg.js +4 -0
- package/dist/medias/EpTerm.d.ts +15 -0
- package/dist/medias/EpTerm.js +4 -0
- package/dist/medias/EpTimeLine.d.ts +13 -0
- package/dist/medias/EpTimeLine.js +5 -0
- package/dist/medias/EpVideo.d.ts +13 -0
- package/dist/medias/EpVideo.js +4 -0
- package/dist/medias/EpVideoPanopto.d.ts +13 -0
- package/dist/medias/EpVideoPanopto.js +4 -0
- package/dist/medias/EpWordDef.d.ts +25 -0
- package/dist/medias/EpWordDef.js +4 -0
- package/dist/signages/EpAlert.d.ts +16 -0
- package/dist/signages/EpAlert.js +4 -0
- package/dist/signages/EpBadge.d.ts +22 -0
- package/dist/signages/EpBadge.js +4 -0
- package/dist/signages/EpHeader.d.ts +28 -0
- package/dist/signages/EpHeader.js +4 -0
- package/dist/signages/EpNothing.d.ts +1 -0
- package/dist/signages/EpNothing.js +4 -0
- package/dist/signages/EpQuote.d.ts +6 -0
- package/dist/signages/EpQuote.js +4 -0
- package/dist/signages/EpSkeleton.d.ts +9 -0
- package/dist/signages/EpSkeleton.js +5 -0
- package/dist/testImg.jpg +0 -0
- package/dist/testMaria.jpg +0 -0
- package/dist/types/Accordeon.js +51 -0
- package/dist/types/Alert.js +75 -0
- package/dist/types/Avatar.js +20 -0
- package/dist/{EpBadge-CWIq_C51.js → types/Badge.js} +3 -33
- package/dist/types/Btn.js +50 -0
- package/dist/types/Card.js +8 -0
- package/dist/types/Chip.js +42 -0
- package/dist/types/Codeblock.js +79 -0
- package/dist/types/Cols.js +10 -0
- package/dist/types/Image.js +23 -0
- package/dist/types/Medias.js +14 -0
- package/dist/types/Radio.js +13 -0
- package/dist/types/StackedList.js +9 -0
- package/dist/types/Switch.js +13 -0
- package/dist/types/TimeLine.js +22 -0
- package/dist/{EpTooltip-J6UMMP3d.js → types/Tooltip.js} +3 -25
- package/dist/vite.svg +0 -0
- package/package.json +84 -60
- package/.vscode/extensions.json +0 -3
- package/dist/BgAudio-i5PTLf0N.js +0 -4
- package/dist/Details-CS8Nyb_l.js +0 -4
- package/dist/DisplayBox-DirIshZw.js +0 -4
- package/dist/EpAudio-D2jZ4_2i.js +0 -4
- package/dist/EpAvatar-M02jfvFI.js +0 -4
- package/dist/EpBadge-BF-0h8Dh.js +0 -4
- package/dist/EpBarChart-BXNhTphT.js +0 -4
- package/dist/EpBtn-BoYPhKqX.js +0 -4
- package/dist/EpCard-CqnilIcE.js +0 -4
- package/dist/EpCardLink--_rDAa_E.js +0 -4
- package/dist/EpChip-C0cD6KFV.js +0 -4
- package/dist/EpCodeblock-GIrYPq6y.js +0 -4
- package/dist/EpConclusion-CUK9mpAC.js +0 -4
- package/dist/EpContentSlider-BlEFJulk.js +0 -4
- package/dist/EpDescription-BgtOpi53.js +0 -4
- package/dist/EpDivider-Op2QoptS.js +0 -4
- package/dist/EpDocument-MlNE59Qa.js +0 -4
- package/dist/EpDraggable-xB2wuyS9.js +0 -1676
- package/dist/EpEdu-DVW8x_BG.js +0 -4
- package/dist/EpFlex-B8IJkl_8.js +0 -4
- package/dist/EpFunnelChart-D1ptPhFl.js +0 -4
- package/dist/EpHeader-CMjLr9JM.js +0 -4
- package/dist/EpHover-Bblofuek.js +0 -4
- package/dist/EpHoverCard-bjn3lnwj.js +0 -4
- package/dist/EpIcon-DhwQi6Au.js +0 -4
- package/dist/EpIframe-B6SRnvUu.js +0 -4
- package/dist/EpImg-DzvIdzyz.js +0 -4
- package/dist/EpImgCarousel-DBf1h-5X.js +0 -4
- package/dist/EpInput-C0CMBUXe.js +0 -1095
- package/dist/EpInstructions-BrGtuXF0.js +0 -4
- package/dist/EpIntroduction-CqZ-4NpR.js +0 -4
- package/dist/EpLineChart-C4d_gdV7.js +0 -4
- package/dist/EpLink-oaKKn4qV.js +0 -4
- package/dist/EpLinkVersion-sfPy24Q2.js +0 -4
- package/dist/EpList-WwXeYUBm.js +0 -12
- package/dist/EpListitem-DXh4Kniu.js +0 -37
- package/dist/EpLottieSvg-NNSQLDpl.js +0 -1971
- package/dist/EpModal-BFqQKJTz.js +0 -4
- package/dist/EpNothing-C7vQO8hI.js +0 -10
- package/dist/EpObjective-C-c4gSvJ.js +0 -4
- package/dist/EpPieChart-B2mmQPO0.js +0 -4
- package/dist/EpQuestion-BMaqguZl.js +0 -4
- package/dist/EpQuote-CmpgynGk.js +0 -4
- package/dist/EpRadio-CUCgpUd_.js +0 -4
- package/dist/EpRadioSummative-DZNPH8SS.js +0 -4
- package/dist/EpReading-C_Puu9TF.js +0 -4
- package/dist/EpResource-YGl2YYa7.js +0 -4
- package/dist/EpScope-Bp8GVIxi.js +0 -4
- package/dist/EpSection-BCWwtKzA.js +0 -4
- package/dist/EpSectionCols-B1jykYrm.js +0 -4
- package/dist/EpSkeleton-VIzyuHgV.js +0 -4
- package/dist/EpSoftware-DR-Xei3P.js +0 -4
- package/dist/EpSpecificObjective-BzXora8y.js +0 -4
- package/dist/EpSpinner-BdhlSybk.js +0 -4
- package/dist/EpStackedList-hI9ca8KS.js +0 -4
- package/dist/EpSummativeTable-uPZf61d-.js +0 -4
- package/dist/EpSvg-TMco7bdD.js +0 -4
- package/dist/EpSvgShow-BcbojKsh.js +0 -4
- package/dist/EpSwitch-DtQon_hm.js +0 -64
- package/dist/EpTable-D8hV58AR.js +0 -4
- package/dist/EpTerm-BEi5nmEU.js +0 -4
- package/dist/EpText-D5p3vydP.js +0 -4
- package/dist/EpTimeLine-sgB1Bt70.js +0 -4
- package/dist/EpVideo-CLG17rgW.js +0 -4
- package/dist/EpVideoPanopto-CkY4bRjs.js +0 -4
- package/dist/EpWordDef-CrYgSmrV.js +0 -4
- package/dist/TextMedia-CtH3oJ5E.js +0 -4
- package/dist/TwoColsMedia-Di0IhDFz.js +0 -48
- package/dist/components/basics/EpAvatar.vue.d.ts +0 -51
- package/dist/components/basics/EpBadge.vue.d.ts +0 -37
- package/dist/components/basics/EpBtn.vue.d.ts +0 -64
- package/dist/components/basics/EpCard.vue.d.ts +0 -78
- package/dist/components/basics/EpChip.vue.d.ts +0 -60
- package/dist/components/basics/EpDivider.vue.d.ts +0 -46
- package/dist/components/basics/EpFlex.vue.d.ts +0 -11
- package/dist/components/basics/EpHover.vue.d.ts +0 -53
- package/dist/components/basics/EpHoverCard.vue.d.ts +0 -86
- package/dist/components/basics/EpIcon.vue.d.ts +0 -34
- package/dist/components/basics/EpImg.vue.d.ts +0 -64
- package/dist/components/basics/EpImgCarousel.vue.d.ts +0 -77
- package/dist/components/basics/EpList.vue.d.ts +0 -11
- package/dist/components/basics/EpListitem.vue.d.ts +0 -45
- package/dist/components/basics/EpSection.vue.d.ts +0 -55
- package/dist/components/basics/EpSectionCols.vue.d.ts +0 -69
- package/dist/components/basics/EpSpinner.vue.d.ts +0 -40
- package/dist/components/basics/EpStackedList.vue.d.ts +0 -58
- package/dist/components/basics/EpTable.vue.d.ts +0 -24
- package/dist/components/basics/EpText.vue.d.ts +0 -51
- package/dist/components/charts/EpBarChart.vue.d.ts +0 -57
- package/dist/components/charts/EpFunnelChart.vue.d.ts +0 -61
- package/dist/components/charts/EpLineChart.vue.d.ts +0 -57
- package/dist/components/charts/EpPieChart.vue.d.ts +0 -62
- package/dist/components/educationals/EpBranchingScenario.vue.d.ts +0 -74
- package/dist/components/educationals/EpCodeblock.vue.d.ts +0 -48
- package/dist/components/educationals/EpConclusion.vue.d.ts +0 -39
- package/dist/components/educationals/EpDescription.vue.d.ts +0 -39
- package/dist/components/educationals/EpDocument.vue.d.ts +0 -44
- package/dist/components/educationals/EpEdu.vue.d.ts +0 -62
- package/dist/components/educationals/EpInstructions.vue.d.ts +0 -37
- package/dist/components/educationals/EpIntroduction.vue.d.ts +0 -39
- package/dist/components/educationals/EpObjective.vue.d.ts +0 -39
- package/dist/components/educationals/EpReading.vue.d.ts +0 -87
- package/dist/components/educationals/EpResource.vue.d.ts +0 -34
- package/dist/components/educationals/EpScope.vue.d.ts +0 -24
- package/dist/components/educationals/EpSpecificObjective.vue.d.ts +0 -35
- package/dist/components/forms/EpCheckbox.vue.d.ts +0 -52
- package/dist/components/forms/EpInput.vue.d.ts +0 -65
- package/dist/components/forms/EpRadio.vue.d.ts +0 -57
- package/dist/components/forms/EpRadioSummative.vue.d.ts +0 -57
- package/dist/components/forms/EpSelect.vue.d.ts +0 -28
- package/dist/components/forms/EpSwitch.vue.d.ts +0 -58
- package/dist/components/forms/EpTextarea.vue.d.ts +0 -76
- package/dist/components/forms/EpToggle.vue.d.ts +0 -72
- package/dist/components/interactions/Ep360Image.vue.d.ts +0 -2
- package/dist/components/interactions/Ep360Video.vue.d.ts +0 -2
- package/dist/components/interactions/EpAccordeon.vue.d.ts +0 -53
- package/dist/components/interactions/EpContentSlider.vue.d.ts +0 -39
- package/dist/components/interactions/EpDarkmode.vue.d.ts +0 -7
- package/dist/components/interactions/EpDraggable.vue.d.ts +0 -26
- package/dist/components/interactions/EpHotsPot.vue.d.ts +0 -47
- package/dist/components/interactions/EpModal.vue.d.ts +0 -67
- package/dist/components/interactions/EpQuestion.vue.d.ts +0 -65
- package/dist/components/interactions/EpSummativeTable.vue.d.ts +0 -32
- package/dist/components/interactions/EpSvgShow.vue.d.ts +0 -33
- package/dist/components/interactions/EpTabs.vue.d.ts +0 -2
- package/dist/components/interactions/EpTooltip.vue.d.ts +0 -51
- package/dist/components/medias/EpAudio.vue.d.ts +0 -48
- package/dist/components/medias/EpCardLink.vue.d.ts +0 -65
- package/dist/components/medias/EpCarousel.vue.d.ts +0 -57
- package/dist/components/medias/EpHierarchy.vue.d.ts +0 -51
- package/dist/components/medias/EpIframe.vue.d.ts +0 -45
- package/dist/components/medias/EpKatex.vue.d.ts +0 -36
- package/dist/components/medias/EpLink.vue.d.ts +0 -42
- package/dist/components/medias/EpLinkVersion.vue.d.ts +0 -50
- package/dist/components/medias/EpLottieSvg.vue.d.ts +0 -58
- package/dist/components/medias/EpSoftware.vue.d.ts +0 -59
- package/dist/components/medias/EpSvg.vue.d.ts +0 -38
- package/dist/components/medias/EpTerm.vue.d.ts +0 -72
- package/dist/components/medias/EpTimeLine.vue.d.ts +0 -32
- package/dist/components/medias/EpVideo.vue.d.ts +0 -45
- package/dist/components/medias/EpVideoPanopto.vue.d.ts +0 -45
- package/dist/components/medias/EpWordDef.vue.d.ts +0 -63
- package/dist/components/signages/EpAlert.vue.d.ts +0 -55
- package/dist/components/signages/EpBadge.vue.d.ts +0 -59
- package/dist/components/signages/EpHeader.vue.d.ts +0 -112
- package/dist/components/signages/EpNothing.vue.d.ts +0 -2
- package/dist/components/signages/EpQuote.vue.d.ts +0 -49
- package/dist/components/signages/EpSkeleton.vue.d.ts +0 -45
- package/dist/components/tools/BgAudio.vue.d.ts +0 -29
- package/dist/components/tools/Details.vue.d.ts +0 -36
- package/dist/components/tools/DisplayBox.vue.d.ts +0 -19
- package/dist/components/tools/SvgFilter.vue.d.ts +0 -2
- package/dist/components/tools/TextMedia.vue.d.ts +0 -27
- package/dist/components/tools/TimelineItem.vue.d.ts +0 -38
- package/dist/components/tools/TwoColsMedia.vue.d.ts +0 -27
- package/dist/composables/isHtml.d.ts +0 -1
- package/dist/composables/useColors.d.ts +0 -1
- package/dist/composables/useComponent.d.ts +0 -6
- package/dist/composables/useCreateUid.d.ts +0 -2
- package/dist/composables/useIcons.d.ts +0 -26
- package/dist/composables/useMarkdown.d.ts +0 -1
- package/dist/composables/useRenderText.d.ts +0 -1
- package/dist/ep-lib-ts.js +0 -61
- package/dist/ep-lib-ts.umd.cjs +0 -465
- package/dist/index-4g-JMv7A.js +0 -24658
- package/dist/index-CLaGcnM3.js +0 -49358
- package/dist/index-CO05CQPt.js +0 -3430
- package/dist/index.d.ts +0 -60
- package/dist/main.d.ts +0 -1
- package/dist/prism-B3HCGkuN.js +0 -1182
- package/dist/router.d.ts +0 -2
- package/dist/style.css +0 -1
- package/src/components/basics/EpAvatar.vue +0 -72
- package/src/components/basics/EpBadge.vue +0 -78
- package/src/components/basics/EpBtn.vue +0 -88
- package/src/components/basics/EpCard.vue +0 -125
- package/src/components/basics/EpChip.vue +0 -80
- package/src/components/basics/EpDivider.vue +0 -40
- package/src/components/basics/EpFlex.vue +0 -43
- package/src/components/basics/EpHover.vue +0 -61
- package/src/components/basics/EpHoverCard.vue +0 -125
- package/src/components/basics/EpIcon.vue +0 -25
- package/src/components/basics/EpImg.vue +0 -162
- package/src/components/basics/EpImgCarousel.vue +0 -145
- package/src/components/basics/EpList.vue +0 -10
- package/src/components/basics/EpListitem.vue +0 -52
- package/src/components/basics/EpSection.vue +0 -74
- package/src/components/basics/EpSectionCols.vue +0 -100
- package/src/components/basics/EpSpinner.vue +0 -57
- package/src/components/basics/EpStackedList.vue +0 -79
- package/src/components/basics/EpTable.vue +0 -33
- package/src/components/basics/EpText.vue +0 -148
- package/src/components/charts/EpBarChart.vue +0 -94
- package/src/components/charts/EpFunnelChart.vue +0 -135
- package/src/components/charts/EpLineChart.vue +0 -106
- package/src/components/charts/EpPieChart.vue +0 -102
- package/src/components/educationals/EpBranchingScenario.vue +0 -307
- package/src/components/educationals/EpCodeblock.vue +0 -74
- package/src/components/educationals/EpConclusion.vue +0 -38
- package/src/components/educationals/EpDescription.vue +0 -38
- package/src/components/educationals/EpDocument.vue +0 -92
- package/src/components/educationals/EpEdu.vue +0 -126
- package/src/components/educationals/EpInstructions.vue +0 -49
- package/src/components/educationals/EpIntroduction.vue +0 -38
- package/src/components/educationals/EpObjective.vue +0 -41
- package/src/components/educationals/EpReading.vue +0 -255
- package/src/components/educationals/EpResource.vue +0 -85
- package/src/components/educationals/EpScope.vue +0 -29
- package/src/components/educationals/EpSpecificObjective.vue +0 -37
- package/src/components/forms/EpCheckbox.vue +0 -47
- package/src/components/forms/EpInput.vue +0 -178
- package/src/components/forms/EpRadio.vue +0 -72
- package/src/components/forms/EpRadioSummative.vue +0 -53
- package/src/components/forms/EpSelect.vue +0 -30
- package/src/components/forms/EpSwitch.vue +0 -73
- package/src/components/forms/EpTextarea.vue +0 -87
- package/src/components/forms/EpToggle.vue +0 -96
- package/src/components/interactions/Ep360Image.vue +0 -338
- package/src/components/interactions/Ep360Video.vue +0 -356
- package/src/components/interactions/EpAccordeon.vue +0 -91
- package/src/components/interactions/EpContentSlider.vue +0 -177
- package/src/components/interactions/EpDarkmode.vue +0 -44
- package/src/components/interactions/EpDraggable.vue +0 -192
- package/src/components/interactions/EpHotsPot.vue +0 -86
- package/src/components/interactions/EpModal.vue +0 -119
- package/src/components/interactions/EpQuestion.vue +0 -188
- package/src/components/interactions/EpSummativeTable.vue +0 -59
- package/src/components/interactions/EpSvgShow.vue +0 -108
- package/src/components/interactions/EpTabs.vue +0 -10
- package/src/components/interactions/EpTooltip.vue +0 -164
- package/src/components/medias/EpAudio.vue +0 -97
- package/src/components/medias/EpCardLink.vue +0 -82
- package/src/components/medias/EpCarousel.vue +0 -190
- package/src/components/medias/EpHierarchy.vue +0 -368
- package/src/components/medias/EpIframe.vue +0 -73
- package/src/components/medias/EpKatex.vue +0 -76
- package/src/components/medias/EpLink.vue +0 -78
- package/src/components/medias/EpLinkVersion.vue +0 -48
- package/src/components/medias/EpLottieSvg.vue +0 -79
- package/src/components/medias/EpSoftware.vue +0 -92
- package/src/components/medias/EpSvg.vue +0 -66
- package/src/components/medias/EpTerm.vue +0 -174
- package/src/components/medias/EpTimeLine.vue +0 -109
- package/src/components/medias/EpVideo.vue +0 -130
- package/src/components/medias/EpVideoPanopto.vue +0 -71
- package/src/components/medias/EpWordDef.vue +0 -142
- package/src/components/signages/EpAlert.vue +0 -109
- package/src/components/signages/EpBadge.vue +0 -82
- package/src/components/signages/EpHeader.vue +0 -215
- package/src/components/signages/EpNothing.vue +0 -5
- package/src/components/signages/EpQuote.vue +0 -72
- package/src/components/signages/EpSkeleton.vue +0 -48
- package/src/components/tools/BgAudio.vue +0 -51
- package/src/components/tools/Details.vue +0 -47
- package/src/components/tools/DisplayBox.vue +0 -44
- package/src/components/tools/SvgFilter.vue +0 -220
- package/src/components/tools/TextMedia.vue +0 -44
- package/src/components/tools/TimelineItem.vue +0 -141
- package/src/components/tools/TwoColsMedia.vue +0 -52
- /package/dist/{types/Accordeon.d.ts → Accordeon.d.ts} +0 -0
- /package/dist/{types/Aframe.d.ts → Aframe.d.ts} +0 -0
- /package/dist/{types/Alert.d.ts → Alert.d.ts} +0 -0
- /package/dist/{types/Avatar.d.ts → Avatar.d.ts} +0 -0
- /package/dist/{types/Badge.d.ts → Badge.d.ts} +0 -0
- /package/dist/{types/Border.d.ts → Border.d.ts} +0 -0
- /package/dist/{types/Btn.d.ts → Btn.d.ts} +0 -0
- /package/dist/{types/Card.d.ts → Card.d.ts} +0 -0
- /package/dist/{types/Chip.d.ts → Chip.d.ts} +0 -0
- /package/dist/{types/Codeblock.d.ts → Codeblock.d.ts} +0 -0
- /package/dist/{types/Cols.d.ts → Cols.d.ts} +0 -0
- /package/dist/{types/Component.d.ts → Component.d.ts} +0 -0
- /package/dist/{types/Draggable.d.ts → Draggable.d.ts} +0 -0
- /package/dist/{types/GlossaryEntry.d.ts → GlossaryEntry.d.ts} +0 -0
- /package/dist/{types/Hover.d.ts → Hover.d.ts} +0 -0
- /package/dist/{types/Image.d.ts → Image.d.ts} +0 -0
- /package/dist/{types/MandateLevel.d.ts → MandateLevel.d.ts} +0 -0
- /package/dist/{types/MediaCarousel.d.ts → MediaCarousel.d.ts} +0 -0
- /package/dist/{types/Medias.d.ts → Medias.d.ts} +0 -0
- /package/dist/{types/Radio.d.ts → Radio.d.ts} +0 -0
- /package/dist/{types/Slides.d.ts → Slides.d.ts} +0 -0
- /package/dist/{types/StackedList.d.ts → StackedList.d.ts} +0 -0
- /package/dist/{types/SummativeTable.d.ts → SummativeTable.d.ts} +0 -0
- /package/dist/{types/Switch.d.ts → Switch.d.ts} +0 -0
- /package/dist/{types/Three.d.ts → Three.d.ts} +0 -0
- /package/dist/{types/TimeLine.d.ts → TimeLine.d.ts} +0 -0
- /package/dist/{types/Tooltip.d.ts → Tooltip.d.ts} +0 -0
- /package/dist/{EpCheckbox-D-AiG1k1.js → components/forms/EpCheckbox.vue.js} +0 -0
- /package/dist/{EpSelect-C10jbOyP.js → components/forms/EpSelect.vue.js} +0 -0
- /package/dist/{types/image360.d.ts → image360.d.ts} +0 -0
- /package/dist/{types/video360.d.ts → video360.d.ts} +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { defineComponent as R, computed as M, ref as y, toRefs as $, createElementBlock as _, openBlock as k, createElementVNode as e, createVNode as i, normalizeClass as u, unref as o, withCtx as c, createCommentVNode as j, toDisplayString as m, createTextVNode as L } from "vue";
|
|
2
|
+
import { sizeThumbnailStyle as S } from "../../types/Image.js";
|
|
3
|
+
import w from "../interactions/EpModal.vue.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import f from "./EpIcon.vue.js";
|
|
6
|
+
import E from "./EpBtn.vue.js";
|
|
7
|
+
import { mdiArrowExpandAll as H, mdiChevronLeftCircleOutline as N, mdiChevronRightCircleOutline as F } from "@mdi/js";
|
|
8
|
+
import { useRenderText as C } from "../../composables/useRenderText.js";
|
|
9
|
+
const A = { class: "inline-block" }, I = ["src", "alt"], O = { class: "absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-white text-center" }, U = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "flex items-center justify-center mb-2"
|
|
12
|
+
}, q = ["src", "alt"], D = { class: "px-4 py-2" }, G = { class: "text-2xl dark:text-white font-bold" }, J = { class: "text-gray-500 dark:text-white text-sm mt-4 text-center" }, K = ["innerHTML"], P = ["innerHTML"], Q = { class: "flex justify-end" }, ne = /* @__PURE__ */ R({
|
|
13
|
+
__name: "EpImgCarousel",
|
|
14
|
+
props: {
|
|
15
|
+
src: {},
|
|
16
|
+
alt: { default: "Image snfas" },
|
|
17
|
+
height: {},
|
|
18
|
+
width: {},
|
|
19
|
+
sizeThumbnail: { default: "medium" },
|
|
20
|
+
caption: {},
|
|
21
|
+
bib: {},
|
|
22
|
+
title: {},
|
|
23
|
+
noModal: { type: Boolean, default: !1 },
|
|
24
|
+
cols: { default: "6" },
|
|
25
|
+
labelClose: { default: "Fermer" },
|
|
26
|
+
labelRef: { default: "Référence" },
|
|
27
|
+
labelRefLib: { default: "Référence bibliographique" },
|
|
28
|
+
puzzle: { type: Boolean, default: !1 },
|
|
29
|
+
managedModal: { type: Boolean, default: !1 },
|
|
30
|
+
infoModal: {}
|
|
31
|
+
},
|
|
32
|
+
emits: ["newFocus", "nextSlide", "prevSlide"],
|
|
33
|
+
setup(z, { emit: x }) {
|
|
34
|
+
const l = z, p = M(() => l.managedModal && l.infoModal ? C(l.infoModal.bib ? l.infoModal.bib : "") : l.bib ? C(l.bib) : ""), s = y(!1), b = () => {
|
|
35
|
+
l.noModal || (s.value = !s.value, l.managedModal && d("newFocus"));
|
|
36
|
+
}, r = y(!1), T = () => {
|
|
37
|
+
r.value = !r.value;
|
|
38
|
+
}, h = M(() => S[l.sizeThumbnail]), { src: v, alt: g, title: V, caption: B, bib: W, sizeThumbnail: X } = $(l), d = x;
|
|
39
|
+
return (t, a) => (k(), _("div", A, [
|
|
40
|
+
e("div", {
|
|
41
|
+
class: u(`relative group ${t.puzzle ? "h-full mb-1" : "inline-block m-2"}`)
|
|
42
|
+
}, [
|
|
43
|
+
e("img", {
|
|
44
|
+
class: u(`${t.puzzle ? "h-full w-full justify-self-stretch" : h.value} object-cover object-center group-hover:opacity-30 `),
|
|
45
|
+
src: o(v),
|
|
46
|
+
alt: o(g)
|
|
47
|
+
}, null, 10, I),
|
|
48
|
+
e("div", {
|
|
49
|
+
class: u(`absolute top-0 left-0 ${t.puzzle ? "h-full w-full" : h.value} bg-black opacity-0 transition-opacity duration-300 group-hover:opacity-30 cursor-pointer`),
|
|
50
|
+
onClick: b
|
|
51
|
+
}, [
|
|
52
|
+
e("div", O, [
|
|
53
|
+
i(f, { "icon-path": o(H) }, null, 8, ["icon-path"])
|
|
54
|
+
])
|
|
55
|
+
], 2)
|
|
56
|
+
], 2),
|
|
57
|
+
i(w, {
|
|
58
|
+
modelValue: s.value,
|
|
59
|
+
"onUpdate:modelValue": a[2] || (a[2] = (n) => s.value = n)
|
|
60
|
+
}, {
|
|
61
|
+
default: c(() => [
|
|
62
|
+
t.managedModal ? (k(), _("div", U, [
|
|
63
|
+
e("button", {
|
|
64
|
+
class: "p-2",
|
|
65
|
+
onClick: a[0] || (a[0] = (n) => d("prevSlide"))
|
|
66
|
+
}, [
|
|
67
|
+
i(f, { "icon-path": o(N) }, null, 8, ["icon-path"])
|
|
68
|
+
]),
|
|
69
|
+
e("button", {
|
|
70
|
+
class: "p-2",
|
|
71
|
+
onClick: a[1] || (a[1] = (n) => d("nextSlide"))
|
|
72
|
+
}, [
|
|
73
|
+
i(f, { "icon-path": o(F) }, null, 8, ["icon-path"])
|
|
74
|
+
])
|
|
75
|
+
])) : j("", !0),
|
|
76
|
+
e("img", {
|
|
77
|
+
class: "object-cover object-center h-5/6 w-5/6 mx-auto dark:bg-white",
|
|
78
|
+
src: t.managedModal && t.infoModal ? t.infoModal.src : o(v),
|
|
79
|
+
alt: o(g),
|
|
80
|
+
onClick: b
|
|
81
|
+
}, null, 8, q),
|
|
82
|
+
e("div", D, [
|
|
83
|
+
e("h2", G, m(o(V)), 1),
|
|
84
|
+
e("p", J, m(t.managedModal && t.infoModal ? t.infoModal.caption : o(B)), 1),
|
|
85
|
+
e("div", {
|
|
86
|
+
class: "text-gray-700 dark:text-white mt-4",
|
|
87
|
+
innerHTML: p.value
|
|
88
|
+
}, null, 8, K)
|
|
89
|
+
])
|
|
90
|
+
]),
|
|
91
|
+
_: 1
|
|
92
|
+
}, 8, ["modelValue"]),
|
|
93
|
+
i(w, {
|
|
94
|
+
modelValue: r.value,
|
|
95
|
+
"onUpdate:modelValue": a[3] || (a[3] = (n) => r.value = n),
|
|
96
|
+
title: t.labelRefLib
|
|
97
|
+
}, {
|
|
98
|
+
default: c(() => [
|
|
99
|
+
e("div", {
|
|
100
|
+
class: "text-gray-700 dark:text-white mt-4",
|
|
101
|
+
innerHTML: p.value
|
|
102
|
+
}, null, 8, P),
|
|
103
|
+
e("div", Q, [
|
|
104
|
+
i(E, {
|
|
105
|
+
onClick: T,
|
|
106
|
+
size: "small",
|
|
107
|
+
type: "error",
|
|
108
|
+
outlined: ""
|
|
109
|
+
}, {
|
|
110
|
+
default: c(() => [
|
|
111
|
+
L(m(t.labelClose), 1)
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
})
|
|
115
|
+
])
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["modelValue", "title"])
|
|
119
|
+
]));
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
export {
|
|
123
|
+
ne as default
|
|
124
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as t, renderSlot as r } from "vue";
|
|
2
|
+
import c from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
const n = {}, s = { class: "py-6 px-3 w-1/4 min-w-[180px]" };
|
|
4
|
+
function l(e, p) {
|
|
5
|
+
return t(), o("ul", s, [
|
|
6
|
+
r(e.$slots, "default")
|
|
7
|
+
]);
|
|
8
|
+
}
|
|
9
|
+
const m = /* @__PURE__ */ c(n, [["render", l]]);
|
|
10
|
+
export {
|
|
11
|
+
m as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { defineComponent as m, useSlots as h, computed as e, createElementBlock as s, openBlock as n, normalizeClass as v, createElementVNode as a, createCommentVNode as i, renderSlot as o } from "vue";
|
|
2
|
+
const y = { class: "flex items-center" }, C = {
|
|
3
|
+
key: 0,
|
|
4
|
+
class: "mr-2 min-w-fit px-2"
|
|
5
|
+
}, _ = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "px-2"
|
|
8
|
+
}, b = /* @__PURE__ */ m({
|
|
9
|
+
__name: "EpListItem",
|
|
10
|
+
props: {
|
|
11
|
+
type: { default: "default" },
|
|
12
|
+
disabled: { default: "false" }
|
|
13
|
+
},
|
|
14
|
+
setup(u) {
|
|
15
|
+
const l = u, r = h(), c = e(() => !!r.leftContent), d = e(() => !!r.rightContent), f = e(() => l.type == "nested" ? "px-10" : ""), p = e(() => l.disabled == "true" ? "opacity-75 text-slate-500 " : "hover:bg-gray-200 active:bg-gray-300");
|
|
16
|
+
return (t, g) => (n(), s("li", {
|
|
17
|
+
class: v(`flex flex-row flex-nowrap justify-between font-medium items-center py-4 ${f.value} ${p.value}`)
|
|
18
|
+
}, [
|
|
19
|
+
a("div", y, [
|
|
20
|
+
c.value ? (n(), s("div", C, [
|
|
21
|
+
o(t.$slots, "leftContent")
|
|
22
|
+
])) : i("", !0),
|
|
23
|
+
a("div", null, [
|
|
24
|
+
o(t.$slots, "default")
|
|
25
|
+
])
|
|
26
|
+
]),
|
|
27
|
+
d.value ? (n(), s("div", _, [
|
|
28
|
+
o(t.$slots, "rightContent")
|
|
29
|
+
])) : i("", !0)
|
|
30
|
+
], 2));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
export {
|
|
34
|
+
b as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { defineComponent as k, ref as v, computed as r, createElementBlock as s, openBlock as t, createElementVNode as i, createCommentVNode as o, createBlock as a, renderSlot as y, normalizeClass as l, toDisplayString as c } from "vue";
|
|
2
|
+
import { useCreateUid as $ } from "../../composables/useCreateUid.js";
|
|
3
|
+
import { cols_img as b } from "../../types/Image.js";
|
|
4
|
+
import g from "./EpDivider.vue.js";
|
|
5
|
+
import u from "./EpIcon.vue.js";
|
|
6
|
+
const w = ["id"], z = { class: "text-2xl font-semibold dark:text-white" }, C = { class: "dark:text-white" }, I = ["innerHTML"], S = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "w-full"
|
|
9
|
+
}, B = ["src", "alt"], H = /* @__PURE__ */ k({
|
|
10
|
+
__name: "EpSection",
|
|
11
|
+
props: {
|
|
12
|
+
uid: {},
|
|
13
|
+
title: { default: null },
|
|
14
|
+
subtitle: {},
|
|
15
|
+
icon: { default: null },
|
|
16
|
+
endIcon: { type: Boolean },
|
|
17
|
+
media: {},
|
|
18
|
+
colsMedia: { default: "6" },
|
|
19
|
+
mediaAling: { default: "justify-center" },
|
|
20
|
+
src: {}
|
|
21
|
+
},
|
|
22
|
+
setup(m) {
|
|
23
|
+
const n = m, f = v(n.uid || $()), d = r(() => n.title && n.subtitle ? 40 : 25), p = r(() => n.endIcon ? "justify-between" : ""), h = r(() => b[+n.colsMedia]);
|
|
24
|
+
return (e, E) => (t(), s("section", {
|
|
25
|
+
class: "EpSection",
|
|
26
|
+
id: `section-${f.value}`
|
|
27
|
+
}, [
|
|
28
|
+
i("div", {
|
|
29
|
+
class: l(`flex items-center ${p.value}`)
|
|
30
|
+
}, [
|
|
31
|
+
e.icon && !e.endIcon ? (t(), a(u, {
|
|
32
|
+
key: 0,
|
|
33
|
+
"icon-path": e.icon,
|
|
34
|
+
size: d.value
|
|
35
|
+
}, null, 8, ["icon-path", "size"])) : o("", !0),
|
|
36
|
+
i("div", {
|
|
37
|
+
class: l(`${e.endIcon ? "" : "ml-2"}`)
|
|
38
|
+
}, [
|
|
39
|
+
i("h2", z, c(e.title), 1),
|
|
40
|
+
i("h3", C, c(e.subtitle), 1)
|
|
41
|
+
], 2),
|
|
42
|
+
e.icon && e.endIcon ? (t(), a(u, {
|
|
43
|
+
key: 1,
|
|
44
|
+
"icon-path": e.icon,
|
|
45
|
+
size: d.value
|
|
46
|
+
}, null, 8, ["icon-path", "size"])) : o("", !0)
|
|
47
|
+
], 2),
|
|
48
|
+
e.media || e.src ? (t(), s("div", {
|
|
49
|
+
key: 0,
|
|
50
|
+
class: l(`flex ${e.mediaAling}`)
|
|
51
|
+
}, [
|
|
52
|
+
i("div", {
|
|
53
|
+
class: l(`dark:text-white ${h.value}`)
|
|
54
|
+
}, [
|
|
55
|
+
e.media ? (t(), s("div", {
|
|
56
|
+
key: 0,
|
|
57
|
+
innerHTML: e.media,
|
|
58
|
+
class: "w-full"
|
|
59
|
+
}, null, 8, I)) : (t(), s("div", S, [
|
|
60
|
+
i("img", {
|
|
61
|
+
src: e.src,
|
|
62
|
+
alt: `image section ${e.title}`
|
|
63
|
+
}, null, 8, B)
|
|
64
|
+
]))
|
|
65
|
+
], 2)
|
|
66
|
+
], 2)) : o("", !0),
|
|
67
|
+
e.title || e.subtitle ? (t(), a(g, { key: 1 })) : o("", !0),
|
|
68
|
+
y(e.$slots, "default")
|
|
69
|
+
], 8, w));
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
export {
|
|
73
|
+
H as default
|
|
74
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { defineComponent as C, ref as w, computed as s, createElementBlock as n, openBlock as i, createElementVNode as t, createCommentVNode as r, createBlock as a, normalizeClass as o, toDisplayString as f, renderSlot as m } from "vue";
|
|
2
|
+
import { useCreateUid as y } from "../../composables/useCreateUid.js";
|
|
3
|
+
import { cols_img as I } from "../../types/Image.js";
|
|
4
|
+
import { allowedColWidths as d } from "../../types/Cols.js";
|
|
5
|
+
import b from "./EpDivider.vue.js";
|
|
6
|
+
import p from "./EpIcon.vue.js";
|
|
7
|
+
const z = ["id"], S = { class: "text-2xl font-semibold dark:text-white" }, B = { class: "dark:text-white" }, E = ["innerHTML"], M = {
|
|
8
|
+
key: 1,
|
|
9
|
+
class: "w-full"
|
|
10
|
+
}, T = ["src", "alt"], D = /* @__PURE__ */ C({
|
|
11
|
+
__name: "EpSectionCols",
|
|
12
|
+
props: {
|
|
13
|
+
uid: {},
|
|
14
|
+
title: { default: null },
|
|
15
|
+
subtitle: {},
|
|
16
|
+
icon: { default: null },
|
|
17
|
+
endIcon: { type: Boolean },
|
|
18
|
+
media: {},
|
|
19
|
+
colsMedia: { default: "6" },
|
|
20
|
+
mediaAling: { default: "justify-center" },
|
|
21
|
+
src: {},
|
|
22
|
+
gap: { default: "gap-1" },
|
|
23
|
+
leftCol: { default: "w-full" }
|
|
24
|
+
},
|
|
25
|
+
setup(h) {
|
|
26
|
+
const l = h, v = w(l.uid || y()), c = s(() => l.title && l.subtitle ? 40 : 25), g = s(() => l.endIcon ? "justify-between" : ""), $ = s(() => I[+l.colsMedia]), k = s(() => {
|
|
27
|
+
if (l.leftCol === "w-full") return "w-full";
|
|
28
|
+
const e = d.indexOf(l.leftCol), u = d.length - e - 2;
|
|
29
|
+
return d[u] || "w-full";
|
|
30
|
+
});
|
|
31
|
+
return (e, u) => (i(), n("section", {
|
|
32
|
+
class: "EpSection",
|
|
33
|
+
id: `section-${v.value}`
|
|
34
|
+
}, [
|
|
35
|
+
t("div", {
|
|
36
|
+
class: o(`flex items-center ${g.value}`)
|
|
37
|
+
}, [
|
|
38
|
+
e.icon && !e.endIcon ? (i(), a(p, {
|
|
39
|
+
key: 0,
|
|
40
|
+
"icon-path": e.icon,
|
|
41
|
+
size: c.value
|
|
42
|
+
}, null, 8, ["icon-path", "size"])) : r("", !0),
|
|
43
|
+
t("div", {
|
|
44
|
+
class: o(`${e.endIcon ? "" : "ml-2"}`)
|
|
45
|
+
}, [
|
|
46
|
+
t("h2", S, f(e.title), 1),
|
|
47
|
+
t("h3", B, f(e.subtitle), 1)
|
|
48
|
+
], 2),
|
|
49
|
+
e.icon && e.endIcon ? (i(), a(p, {
|
|
50
|
+
key: 1,
|
|
51
|
+
"icon-path": e.icon,
|
|
52
|
+
size: c.value
|
|
53
|
+
}, null, 8, ["icon-path", "size"])) : r("", !0)
|
|
54
|
+
], 2),
|
|
55
|
+
e.media || e.src ? (i(), n("div", {
|
|
56
|
+
key: 0,
|
|
57
|
+
class: o(`flex ${e.mediaAling}`)
|
|
58
|
+
}, [
|
|
59
|
+
t("div", {
|
|
60
|
+
class: o(`dark:text-white ${$.value}`)
|
|
61
|
+
}, [
|
|
62
|
+
e.media ? (i(), n("div", {
|
|
63
|
+
key: 0,
|
|
64
|
+
innerHTML: e.media,
|
|
65
|
+
class: "w-full"
|
|
66
|
+
}, null, 8, E)) : (i(), n("div", M, [
|
|
67
|
+
t("img", {
|
|
68
|
+
src: e.src,
|
|
69
|
+
alt: `image section ${e.title}`
|
|
70
|
+
}, null, 8, T)
|
|
71
|
+
]))
|
|
72
|
+
], 2)
|
|
73
|
+
], 2)) : r("", !0),
|
|
74
|
+
e.title || e.subtitle ? (i(), a(b, { key: 1 })) : r("", !0),
|
|
75
|
+
t("div", {
|
|
76
|
+
class: o(`flex ${e.gap}`)
|
|
77
|
+
}, [
|
|
78
|
+
t("div", {
|
|
79
|
+
class: o(`${e.leftCol}`)
|
|
80
|
+
}, [
|
|
81
|
+
m(e.$slots, "left")
|
|
82
|
+
], 2),
|
|
83
|
+
t("div", {
|
|
84
|
+
class: o(`${k.value}`)
|
|
85
|
+
}, [
|
|
86
|
+
m(e.$slots, "right")
|
|
87
|
+
], 2)
|
|
88
|
+
], 2)
|
|
89
|
+
], 8, z));
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
export {
|
|
93
|
+
D as default
|
|
94
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { defineComponent as f, computed as a, createElementBlock as i, openBlock as s, normalizeClass as e, createElementVNode as l } from "vue";
|
|
2
|
+
import p from "../../composables/useColors.js";
|
|
3
|
+
const d = ["width", "height"], m = ["width", "height"], h = /* @__PURE__ */ f({
|
|
4
|
+
__name: "EpSpinner",
|
|
5
|
+
props: {
|
|
6
|
+
color: { default: "primary" },
|
|
7
|
+
dots: { type: Boolean, default: !1 },
|
|
8
|
+
size: { default: 46 },
|
|
9
|
+
inline: { type: Boolean, default: !1 }
|
|
10
|
+
},
|
|
11
|
+
setup(c) {
|
|
12
|
+
const n = c, r = a(() => p("fill", n.color)), u = a(() => n.inline ? "" : "flex flex-row w-full h-screen items-center justify-center");
|
|
13
|
+
return (t, o) => (s(), i("div", {
|
|
14
|
+
class: e(u.value)
|
|
15
|
+
}, [
|
|
16
|
+
t.dots ? (s(), i("svg", {
|
|
17
|
+
key: 1,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: t.size,
|
|
20
|
+
height: t.size,
|
|
21
|
+
class: "inline",
|
|
22
|
+
viewBox: "0 0 32 32"
|
|
23
|
+
}, [
|
|
24
|
+
l("g", null, [
|
|
25
|
+
l("circle", {
|
|
26
|
+
cx: "12",
|
|
27
|
+
cy: "2.5",
|
|
28
|
+
r: "1.5",
|
|
29
|
+
class: e(r.value),
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
opacity: ".14"
|
|
32
|
+
}, null, 2),
|
|
33
|
+
l("circle", {
|
|
34
|
+
cx: "16.75",
|
|
35
|
+
cy: "3.77",
|
|
36
|
+
r: "1.5",
|
|
37
|
+
class: e(r.value),
|
|
38
|
+
fill: "currentColor",
|
|
39
|
+
opacity: ".29"
|
|
40
|
+
}, null, 2),
|
|
41
|
+
l("circle", {
|
|
42
|
+
cx: "20.23",
|
|
43
|
+
cy: "7.25",
|
|
44
|
+
r: "1.5",
|
|
45
|
+
class: e(r.value),
|
|
46
|
+
fill: "currentColor",
|
|
47
|
+
opacity: ".43"
|
|
48
|
+
}, null, 2),
|
|
49
|
+
l("circle", {
|
|
50
|
+
cx: "21.5",
|
|
51
|
+
cy: "12",
|
|
52
|
+
r: "1.5",
|
|
53
|
+
class: e(r.value),
|
|
54
|
+
fill: "currentColor",
|
|
55
|
+
opacity: ".57"
|
|
56
|
+
}, null, 2),
|
|
57
|
+
l("circle", {
|
|
58
|
+
cx: "20.23",
|
|
59
|
+
cy: "16.75",
|
|
60
|
+
r: "1.5",
|
|
61
|
+
class: e(r.value),
|
|
62
|
+
fill: "currentColor",
|
|
63
|
+
opacity: ".71"
|
|
64
|
+
}, null, 2),
|
|
65
|
+
l("circle", {
|
|
66
|
+
cx: "16.75",
|
|
67
|
+
cy: "20.23",
|
|
68
|
+
r: "1.5",
|
|
69
|
+
class: e(r.value),
|
|
70
|
+
fill: "currentColor",
|
|
71
|
+
opacity: ".86"
|
|
72
|
+
}, null, 2),
|
|
73
|
+
l("circle", {
|
|
74
|
+
cx: "12",
|
|
75
|
+
cy: "21.5",
|
|
76
|
+
r: "1.5",
|
|
77
|
+
class: e(r.value),
|
|
78
|
+
fill: "currentColor"
|
|
79
|
+
}, null, 2),
|
|
80
|
+
o[1] || (o[1] = l("animateTransform", {
|
|
81
|
+
attributeName: "transform",
|
|
82
|
+
calcMode: "discrete",
|
|
83
|
+
dur: "0.75s",
|
|
84
|
+
repeatCount: "indefinite",
|
|
85
|
+
type: "rotate",
|
|
86
|
+
values: "0 12 12;30 12 12;60 12 12;90 12 12;120 12 12;150 12 12;180 12 12;210 12 12;240 12 12;270 12 12;300 12 12;330 12 12;360 12 12"
|
|
87
|
+
}, null, -1))
|
|
88
|
+
])
|
|
89
|
+
], 8, m)) : (s(), i("svg", {
|
|
90
|
+
key: 0,
|
|
91
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
92
|
+
width: t.size,
|
|
93
|
+
height: t.size,
|
|
94
|
+
class: "inline",
|
|
95
|
+
viewBox: "0 0 32 32"
|
|
96
|
+
}, [
|
|
97
|
+
l("path", {
|
|
98
|
+
class: e(r.value),
|
|
99
|
+
fill: "currentColor",
|
|
100
|
+
d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
|
|
101
|
+
opacity: ".25"
|
|
102
|
+
}, null, 2),
|
|
103
|
+
l("path", {
|
|
104
|
+
class: e(r.value),
|
|
105
|
+
fill: "currentColor",
|
|
106
|
+
d: "M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z"
|
|
107
|
+
}, [...o[0] || (o[0] = [
|
|
108
|
+
l("animateTransform", {
|
|
109
|
+
attributeName: "transform",
|
|
110
|
+
dur: "0.75s",
|
|
111
|
+
repeatCount: "indefinite",
|
|
112
|
+
type: "rotate",
|
|
113
|
+
values: "0 12 12;360 12 12"
|
|
114
|
+
}, null, -1)
|
|
115
|
+
])], 2)
|
|
116
|
+
], 8, d))
|
|
117
|
+
], 2));
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
export {
|
|
121
|
+
h as default
|
|
122
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent as y, computed as d, createElementBlock as s, openBlock as t, normalizeClass as a, Fragment as g, renderList as _, createBlock as i, resolveDynamicComponent as b, mergeProps as c, withCtx as v, createElementVNode as n, createCommentVNode as u, toDisplayString as h, unref as k, createVNode as $ } from "vue";
|
|
2
|
+
import S from "./EpAvatar.vue.js";
|
|
3
|
+
import z from "./EpIcon.vue.js";
|
|
4
|
+
import { useRenderText as B } from "../../composables/useRenderText.js";
|
|
5
|
+
import { roundedType as x } from "../../types/StackedList.js";
|
|
6
|
+
const C = { class: "col-span-5 justify-self-start" }, L = { class: "font-semibold" }, N = ["innerHTML"], T = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "flex gap-2 items-center col-span-4 justify-self-auto"
|
|
9
|
+
}, M = /* @__PURE__ */ y({
|
|
10
|
+
__name: "EpStackedList",
|
|
11
|
+
props: {
|
|
12
|
+
elements: { default: () => [] },
|
|
13
|
+
border: { type: Boolean, default: !0 },
|
|
14
|
+
rounded: { default: "small" },
|
|
15
|
+
restricted: { type: Boolean, default: !1 },
|
|
16
|
+
cropped: { type: Boolean, default: !1 },
|
|
17
|
+
avatarStyle: { default: () => ({
|
|
18
|
+
size: "middle"
|
|
19
|
+
}) },
|
|
20
|
+
iconSize: { default: 36 }
|
|
21
|
+
},
|
|
22
|
+
setup(p) {
|
|
23
|
+
const o = p, f = d(() => {
|
|
24
|
+
const r = o.border === !1 ? "border-0" : "border", l = x[o.rounded ? o.rounded : "small"], e = o.restricted ? "p-0" : "p-2";
|
|
25
|
+
return `${r} ${l} ${e}`;
|
|
26
|
+
}), m = d(() => o.restricted ? "p-3" : "mx-6 py-4");
|
|
27
|
+
return (r, l) => (t(), s("ul", {
|
|
28
|
+
class: a(`${f.value} border-gray-200 flex flex-col dark:border-slate-700 dark:bg-slate-900 lg:mx-28`)
|
|
29
|
+
}, [
|
|
30
|
+
(t(!0), s(g, null, _(r.elements, (e) => (t(), s("li", {
|
|
31
|
+
key: r.elements.indexOf(e),
|
|
32
|
+
class: a(`${r.elements.indexOf(e) !== 0 ? "border-t" : ""} list-none`)
|
|
33
|
+
}, [
|
|
34
|
+
(t(), i(b(e.url ? "a" : "div"), c(
|
|
35
|
+
{ ref_for: !0 },
|
|
36
|
+
e.url ? { href: e.url, target: "_blank", rel: "noopener noreferrer" } : {},
|
|
37
|
+
{ class: "contents" }
|
|
38
|
+
), {
|
|
39
|
+
default: v(() => [
|
|
40
|
+
n("div", {
|
|
41
|
+
class: a(`${m.value} ${e.url ? "hover:bg-gray-50 dark:hover:bg-slate-800" : ""} grid grid-cols-11 justify-items-center items-center border-gray-200 dark:border-slate-700`)
|
|
42
|
+
}, [
|
|
43
|
+
e.avatar ? (t(), i(S, c({
|
|
44
|
+
key: 0,
|
|
45
|
+
src: e.avatar
|
|
46
|
+
}, { ref_for: !0 }, r.avatarStyle, { class: "col-span-2" }), null, 16, ["src"])) : u("", !0),
|
|
47
|
+
n("div", C, [
|
|
48
|
+
n("h3", L, h(e.title), 1),
|
|
49
|
+
n("div", {
|
|
50
|
+
class: a(`${r.cropped ? "line-clamp-3" : ""}`),
|
|
51
|
+
innerHTML: k(B)(e.description)
|
|
52
|
+
}, null, 10, N)
|
|
53
|
+
]),
|
|
54
|
+
e.icon ? (t(), s("div", T, [
|
|
55
|
+
$(z, {
|
|
56
|
+
"icon-path": e.icon,
|
|
57
|
+
size: r.iconSize
|
|
58
|
+
}, null, 8, ["icon-path", "size"])
|
|
59
|
+
])) : u("", !0)
|
|
60
|
+
], 2)
|
|
61
|
+
]),
|
|
62
|
+
_: 2
|
|
63
|
+
}, 1040))
|
|
64
|
+
], 2))), 128))
|
|
65
|
+
], 2));
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
M as default
|
|
70
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as y, toRefs as _, createBlock as f, openBlock as e, unref as a, withCtx as g, createElementVNode as n, createElementBlock as t, createCommentVNode as b, Fragment as o, renderList as l, normalizeClass as x, toDisplayString as d } from "vue";
|
|
2
|
+
import w from "./EpCard.vue.js";
|
|
3
|
+
const C = { class: "min-w-full divide-y shadow dark:bg-dark" }, $ = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "bg-gray-50 dark:bg-base-dark"
|
|
6
|
+
}, v = { class: "bg-white divide-y dark:bg-dark" }, B = "px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider dark:text-white", z = /* @__PURE__ */ y({
|
|
7
|
+
__name: "EpTable",
|
|
8
|
+
props: {
|
|
9
|
+
arrayContent: {},
|
|
10
|
+
headers: {},
|
|
11
|
+
title: {}
|
|
12
|
+
},
|
|
13
|
+
setup(i) {
|
|
14
|
+
const u = i, { headers: c, arrayContent: p, title: k } = _(u);
|
|
15
|
+
return (E, N) => (e(), f(w, {
|
|
16
|
+
flat: "",
|
|
17
|
+
title: a(k)
|
|
18
|
+
}, {
|
|
19
|
+
default: g(() => [
|
|
20
|
+
n("table", C, [
|
|
21
|
+
a(c) ? (e(), t("thead", $, [
|
|
22
|
+
n("tr", null, [
|
|
23
|
+
(e(!0), t(o, null, l(a(c), (s, r) => (e(), t("th", {
|
|
24
|
+
key: `th-${r}`,
|
|
25
|
+
scope: "col",
|
|
26
|
+
class: x(B)
|
|
27
|
+
}, d(s), 1))), 128))
|
|
28
|
+
])
|
|
29
|
+
])) : b("", !0),
|
|
30
|
+
n("tbody", v, [
|
|
31
|
+
(e(!0), t(o, null, l(a(p), (s, r) => (e(), t("tr", {
|
|
32
|
+
key: `tr-${r}`,
|
|
33
|
+
class: "hover:bg-gray-50 dark:hover:bg-black"
|
|
34
|
+
}, [
|
|
35
|
+
(e(!0), t(o, null, l(s, (m, h) => (e(), t("td", {
|
|
36
|
+
key: `td-${r}-${h}`,
|
|
37
|
+
class: "px-6 py-4"
|
|
38
|
+
}, d(m), 1))), 128))
|
|
39
|
+
]))), 128))
|
|
40
|
+
])
|
|
41
|
+
])
|
|
42
|
+
]),
|
|
43
|
+
_: 1
|
|
44
|
+
}, 8, ["title"]));
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
z as default
|
|
49
|
+
};
|