ep-lib-ts 1.0.39 → 1.0.41
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/BgAudio-CMLWbfvr.js +4 -0
- package/dist/DisplayBox-CkdBJBJI.js +4 -0
- package/dist/EpAlert-JlMrEObi.js +4 -0
- package/dist/EpAudio-VrcGJ8Db.js +4 -0
- package/dist/EpAvatar-Ca-kk6EZ.js +4 -0
- package/dist/EpBadge-CHvJucWe.js +4 -0
- package/dist/EpBarChart-GDpWcGfE.js +4 -0
- package/dist/{EpBranchingScenario-dEapAg2r.js → EpBranchingScenario-B8nLWki3.js} +11 -11
- package/dist/EpBtn-BgZFFhTL.js +4 -0
- package/dist/EpCard-DmS1N4pN.js +4 -0
- package/dist/EpCardLink-Du6iFSbt.js +4 -0
- package/dist/EpChip-CQIXizba.js +4 -0
- package/dist/EpCodeblock-CO2UezAG.js +4 -0
- package/dist/EpConclusion-YppTRVL7.js +4 -0
- package/dist/EpContentSlider-BjLPOtgZ.js +4 -0
- package/dist/{EpDarkmode-DV-fRn1K.js → EpDarkmode-CLUPVaGp.js} +1 -1
- package/dist/EpDescription-BluJojgg.js +4 -0
- package/dist/EpDivider-Brr8kzMH.js +4 -0
- package/dist/EpEdu-BH5FJYem.js +4 -0
- package/dist/EpFlex-CsE9C11l.js +4 -0
- package/dist/EpFunnelChart-kp3owMAz.js +4 -0
- package/dist/EpHeader-DlGGG1Ox.js +4 -0
- package/dist/EpHover-DiGD6FNb.js +4 -0
- package/dist/EpHoverCard-CRH3waVN.js +4 -0
- package/dist/EpIcon-JTYiKf6o.js +4 -0
- package/dist/EpIframe-C85RzQXY.js +4 -0
- package/dist/EpImg-3gIPftrs.js +4 -0
- package/dist/{EpInput-c9THhDCs.js → EpInput-D-lI-MYS.js} +42 -42
- package/dist/EpInstructions-CCIIJ_5a.js +4 -0
- package/dist/EpIntroduction-C5FDH-eg.js +4 -0
- package/dist/EpLineChart-BBDY2nda.js +4 -0
- package/dist/EpLink-Chfta119.js +4 -0
- package/dist/EpLinkVersion-CRbgskhy.js +4 -0
- package/dist/{EpList-CM3b-mLc.js → EpList-CeH9eeTi.js} +1 -1
- package/dist/EpModal-CEx1yWoh.js +4 -0
- package/dist/{EpNothing-DVY_GKL6.js → EpNothing-Bwd2205p.js} +1 -1
- package/dist/EpObjective-D_x_naQR.js +4 -0
- package/dist/EpPieChart-DBzthvBJ.js +4 -0
- package/dist/EpQuestion-D68TXvhg.js +4 -0
- package/dist/EpQuote-B5-VP9kL.js +4 -0
- package/dist/EpRadio-C2vq4jeY.js +4 -0
- package/dist/EpRadioSummative-DVSBMKNj.js +4 -0
- package/dist/EpReading-DP_1KWfr.js +4 -0
- package/dist/EpResource-CZM0gU_7.js +4 -0
- package/dist/EpScope-meZPX883.js +4 -0
- package/dist/EpSection-DWBhTaGz.js +4 -0
- package/dist/EpSectionCols-BUZpP7cZ.js +4 -0
- package/dist/EpSelect-C10jbOyP.js +33 -0
- package/dist/EpSkeleton-7Tvxhm2e.js +4 -0
- package/dist/EpSoftware-D8ywQVK4.js +4 -0
- package/dist/EpSpecificObjective-BDzEXe-b.js +4 -0
- package/dist/EpSpinner-D9qcDsKm.js +4 -0
- package/dist/EpStackedList-DzzMxNDW.js +4 -0
- package/dist/EpSummativeTable-DayT2lg3.js +4 -0
- package/dist/EpSvg-3oOPTl7O.js +4 -0
- package/dist/EpTable-3w26nmve.js +4 -0
- package/dist/EpTerm-_uESciRE.js +4 -0
- package/dist/EpText-Sgr5ar-O.js +4 -0
- package/dist/EpTimeLine-CS6zF8B3.js +4 -0
- package/dist/EpVideo-B2F1gl9a.js +4 -0
- package/dist/EpVideoPanopto-8uQxH62t.js +4 -0
- package/dist/EpWordDef-C9Ge9yT1.js +4 -0
- package/dist/components/basics/EpCard.vue.d.ts +6 -1
- package/dist/components/basics/EpDivider.vue.d.ts +1 -1
- package/dist/components/basics/EpHover.vue.d.ts +2 -2
- package/dist/components/basics/EpHoverCard.vue.d.ts +5 -5
- package/dist/components/basics/EpImg.vue.d.ts +1 -1
- package/dist/components/basics/EpStackedList.vue.d.ts +27 -19
- package/dist/components/educationals/EpReading.vue.d.ts +2 -2
- package/dist/components/forms/EpSelect.vue.d.ts +11 -1
- package/dist/components/interactions/EpModal.vue.d.ts +1 -1
- package/dist/components/medias/EpCardLink.vue.d.ts +61 -0
- package/dist/components/medias/EpCarousel.vue.d.ts +4 -0
- package/dist/ep-lib-ts.js +44 -41
- package/dist/ep-lib-ts.umd.cjs +242 -244
- package/dist/{index-Bw4yzGuc.js → index-DZl7ARpM.js} +1 -1
- package/dist/{index-CPs4nmaJ.js → index-Nv4nmsHW.js} +4120 -3814
- package/dist/index.d.ts +4 -1
- package/dist/{prism-DM8vlN3d.js → prism-DOVb2y1O.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/Hover.d.ts +2 -2
- package/dist/types/Medias.d.ts +1 -0
- package/dist/types/StackedList.d.ts +10 -17
- package/package.json +2 -2
- package/src/components/basics/EpCard.vue +32 -11
- package/src/components/basics/EpHover.vue +3 -3
- package/src/components/basics/EpHoverCard.vue +14 -12
- package/src/components/basics/EpStackedList.vue +43 -47
- package/src/components/charts/EpFunnelChart.vue +1 -1
- package/src/components/charts/EpPieChart.vue +1 -1
- package/src/components/educationals/EpEdu.vue +32 -14
- package/src/components/educationals/EpReading.vue +4 -2
- package/src/components/educationals/EpResource.vue +1 -1
- package/src/components/forms/EpSelect.vue +8 -3
- package/src/components/interactions/EpContentSlider.vue +1 -1
- package/src/components/interactions/EpQuestion.vue +1 -1
- package/src/components/medias/EpAudio.vue +1 -1
- package/src/components/medias/EpCardLink.vue +77 -0
- package/src/components/medias/EpCarousel.vue +8 -2
- package/src/components/medias/EpIframe.vue +1 -1
- package/src/components/medias/EpLink.vue +1 -1
- package/src/components/medias/EpTimeLine.vue +2 -2
- package/src/components/medias/EpVideo.vue +1 -1
- package/src/components/medias/EpVideoPanopto.vue +1 -1
- package/dist/BgAudio-BDO4Ln5y.js +0 -4
- package/dist/DisplayBox-Diko7_uH.js +0 -4
- package/dist/EpAlert-iWXSHupC.js +0 -4
- package/dist/EpAudio-Bnb1MIw6.js +0 -4
- package/dist/EpAvatar-DTfkDxUP.js +0 -4
- package/dist/EpAvatar.vue_vue_type_script_setup_true_lang-IeQ9W4tD.js +0 -50
- package/dist/EpBadge-BcVkBKJK.js +0 -4
- package/dist/EpBarChart-D42B3a97.js +0 -4
- package/dist/EpBtn-BtyunWne.js +0 -4
- package/dist/EpCard--mtof8hL.js +0 -4
- package/dist/EpChip-DitreF_J.js +0 -4
- package/dist/EpCodeblock-nBOawE0H.js +0 -4
- package/dist/EpConclusion-CcOvoC8e.js +0 -4
- package/dist/EpContentSlider-DpIiJmPt.js +0 -4
- package/dist/EpDescription-DeVW7LNL.js +0 -4
- package/dist/EpDivider-vEs9W9Km.js +0 -4
- package/dist/EpEdu-BC4BxjYR.js +0 -4
- package/dist/EpFlex-xdVOYg4a.js +0 -4
- package/dist/EpFunnelChart-CF1CM2id.js +0 -4
- package/dist/EpHeader-BMoXpQdW.js +0 -4
- package/dist/EpHover-CwOc7bvn.js +0 -4
- package/dist/EpHover.vue_vue_type_script_setup_true_lang-DDLIDTha.js +0 -36
- package/dist/EpHoverCard-BTWsiA2z.js +0 -84
- package/dist/EpIcon-Cektqqle.js +0 -4
- package/dist/EpIframe-CFLSXU7z.js +0 -4
- package/dist/EpImg-Ct-KfkRp.js +0 -4
- package/dist/EpInstructions-BCFWkov8.js +0 -4
- package/dist/EpIntroduction-Cx1Tc920.js +0 -4
- package/dist/EpLineChart-BffNNoNj.js +0 -4
- package/dist/EpLink-Bx_E9Gjz.js +0 -4
- package/dist/EpLinkVersion-6CTPFhT5.js +0 -4
- package/dist/EpModal-DLG_mddB.js +0 -4
- package/dist/EpObjective-DIWMrap_.js +0 -4
- package/dist/EpPieChart-CTDL07vZ.js +0 -4
- package/dist/EpQuestion-RzrZk_Op.js +0 -4
- package/dist/EpQuote-SaMcAmmL.js +0 -4
- package/dist/EpRadio-w5IkZmj5.js +0 -4
- package/dist/EpRadioSummative-BeZecHlR.js +0 -4
- package/dist/EpReading-CVgr9TGN.js +0 -4
- package/dist/EpResource-BEql6U6K.js +0 -4
- package/dist/EpScope-BAuTDV_B.js +0 -4
- package/dist/EpSection-CESMVDna.js +0 -4
- package/dist/EpSectionCols-CacYX-v3.js +0 -4
- package/dist/EpSelect-kjH_wTXb.js +0 -32
- package/dist/EpSkeleton-CuvqT7PL.js +0 -4
- package/dist/EpSoftware-LK_nIUJY.js +0 -4
- package/dist/EpSpecificObjective-BTavyAY9.js +0 -4
- package/dist/EpSpinner-CZo0f9Nx.js +0 -4
- package/dist/EpStackedList-DWkLmrqI.js +0 -75
- package/dist/EpSummativeTable-Dlhhgq1A.js +0 -4
- package/dist/EpSvg-CG-uua_J.js +0 -4
- package/dist/EpTable-DsXZI8Hm.js +0 -4
- package/dist/EpTerm-DGTKAJqq.js +0 -4
- package/dist/EpText-kB0vb1Da.js +0 -4
- package/dist/EpTimeLine-DK_bzCen.js +0 -4
- package/dist/EpVideo-CPN6M6cs.js +0 -4
- package/dist/EpVideoPanopto-UZckfqS1.js +0 -4
- package/dist/EpWordDef-dSnuxRtl.js +0 -4
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
import EpCard from '../basics/EpCard.vue';
|
|
4
|
+
import type { MaxWidth } from "../../types/Hover";
|
|
5
|
+
import { mdiChevronRight } from "@mdi/js";
|
|
6
|
+
interface Props {
|
|
7
|
+
title?: string | null;
|
|
8
|
+
subtitle?: string | null;
|
|
9
|
+
outlined?: boolean;
|
|
10
|
+
flat?: boolean;
|
|
11
|
+
color?: string | null;
|
|
12
|
+
src?: string | null;
|
|
13
|
+
svg?: string;
|
|
14
|
+
maxWidth?:MaxWidth;
|
|
15
|
+
center?:boolean;
|
|
16
|
+
content?:string;
|
|
17
|
+
iconlink?:string;
|
|
18
|
+
to?:string;
|
|
19
|
+
nuxtLink?:boolean;
|
|
20
|
+
isExternal?:boolean
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
const props = withDefaults(defineProps<Props>(),{
|
|
25
|
+
//defaults ? ...
|
|
26
|
+
svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>dog</title><path d="M18,4C16.29,4 15.25,4.33 14.65,4.61C13.88,4.23 13,4 12,4C11,4 10.12,4.23 9.35,4.61C8.75,4.33 7.71,4 6,4C3,4 1,12 1,14C1,14.83 2.32,15.59 4.14,15.9C4.78,18.14 7.8,19.85 11.5,20V15.72C10.91,15.35 10,14.68 10,14C10,13 12,13 12,13C12,13 14,13 14,14C14,14.68 13.09,15.35 12.5,15.72V20C16.2,19.85 19.22,18.14 19.86,15.9C21.68,15.59 23,14.83 23,14C23,12 21,4 18,4M4.15,13.87C3.65,13.75 3.26,13.61 3,13.5C3.25,10.73 5.2,6.4 6.05,6C6.59,6 7,6.06 7.37,6.11C5.27,8.42 4.44,12.04 4.15,13.87M9,12A1,1 0 0,1 8,11C8,10.46 8.45,10 9,10A1,1 0 0,1 10,11C10,11.56 9.55,12 9,12M15,12A1,1 0 0,1 14,11C14,10.46 14.45,10 15,10A1,1 0 0,1 16,11C16,11.56 15.55,12 15,12M19.85,13.87C19.56,12.04 18.73,8.42 16.63,6.11C17,6.06 17.41,6 17.95,6C18.8,6.4 20.75,10.73 21,13.5C20.75,13.61 20.36,13.75 19.85,13.87Z" /></svg>',
|
|
27
|
+
maxWidth:"max-w-md",
|
|
28
|
+
center:false,
|
|
29
|
+
iconlink:mdiChevronRight,
|
|
30
|
+
nuxtLink:false,
|
|
31
|
+
to:'/',
|
|
32
|
+
isExternal:false
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
const centerCard = computed(()=> {
|
|
36
|
+
if(props.center){
|
|
37
|
+
return 'mx-auto'
|
|
38
|
+
}
|
|
39
|
+
return ''
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
</script>
|
|
44
|
+
|
|
45
|
+
<template>
|
|
46
|
+
<div :class="`${centerCard} ${maxWidth}`">
|
|
47
|
+
<a v-if="isExternal" :href="to" target="_blank" rel="noopener noreferrer">
|
|
48
|
+
<EpCard
|
|
49
|
+
:title="title"
|
|
50
|
+
:subtitle="subtitle"
|
|
51
|
+
:src="src"
|
|
52
|
+
:svg="svg"
|
|
53
|
+
:maxWidth="maxWidth"
|
|
54
|
+
:icon="iconlink"
|
|
55
|
+
isLink
|
|
56
|
+
/>
|
|
57
|
+
</a>
|
|
58
|
+
<component
|
|
59
|
+
:is="nuxtLink ? 'NuxtLink' : 'RouterLink'"
|
|
60
|
+
:to="to"
|
|
61
|
+
v-else
|
|
62
|
+
>
|
|
63
|
+
<EpCard
|
|
64
|
+
:title="title"
|
|
65
|
+
:subtitle="subtitle"
|
|
66
|
+
:src="src"
|
|
67
|
+
:svg="svg"
|
|
68
|
+
:maxWidth="maxWidth"
|
|
69
|
+
:icon="iconlink"
|
|
70
|
+
isLink
|
|
71
|
+
/>
|
|
72
|
+
</component>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { toRefs, ref } from "vue";
|
|
2
|
+
import { toRefs, ref, computed } from "vue";
|
|
3
3
|
import { mdiChevronLeftCircleOutline } from "@mdi/js";
|
|
4
4
|
import { mdiChevronRightCircleOutline } from "@mdi/js";
|
|
5
5
|
import { type MediaCarousel } from "../../types/MediaCarousel";
|
|
@@ -13,6 +13,7 @@ interface Props {
|
|
|
13
13
|
carrouselImg: MediaCarousel[];
|
|
14
14
|
gallery?: boolean;
|
|
15
15
|
sizeThumbnail?: SizeThumbnail;
|
|
16
|
+
isCenter?:boolean;
|
|
16
17
|
labelClose?:string;
|
|
17
18
|
labelRef?:string;
|
|
18
19
|
labelRefLib?:string;
|
|
@@ -20,6 +21,7 @@ interface Props {
|
|
|
20
21
|
|
|
21
22
|
const props = withDefaults(defineProps<Props>(), {
|
|
22
23
|
gallery: false,
|
|
24
|
+
isCenter:false,
|
|
23
25
|
sizeThumbnail: "medium",
|
|
24
26
|
labelRef:"Référence",
|
|
25
27
|
labelClose:"Fermer",
|
|
@@ -44,6 +46,10 @@ const nextSlide = () => {
|
|
|
44
46
|
currentIndex.value = newIndex;
|
|
45
47
|
};
|
|
46
48
|
|
|
49
|
+
const isCenterStyle = computed(()=> {
|
|
50
|
+
return props.isCenter ? 'justify-center':''
|
|
51
|
+
})
|
|
52
|
+
|
|
47
53
|
const { carrouselImg, sizeThumbnail } = toRefs(props);
|
|
48
54
|
</script>
|
|
49
55
|
|
|
@@ -93,7 +99,7 @@ const { carrouselImg, sizeThumbnail } = toRefs(props);
|
|
|
93
99
|
</div>
|
|
94
100
|
</EpModal>
|
|
95
101
|
</div>
|
|
96
|
-
<div v-else class="flex flex-wrap">
|
|
102
|
+
<div v-else :class="`flex flex-wrap ${isCenterStyle}`">
|
|
97
103
|
<template v-for="image in carrouselImg" :key="`image-${image?.uid}`">
|
|
98
104
|
<EpImg
|
|
99
105
|
:src="image.src"
|
|
@@ -72,7 +72,7 @@ const { title } = toRefs(props)
|
|
|
72
72
|
<template>
|
|
73
73
|
<!-- component -->
|
|
74
74
|
<div>
|
|
75
|
-
<div class="w-10/12 mx-auto relative
|
|
75
|
+
<div class="w-10/12 mx-auto relative">
|
|
76
76
|
<h3 class="text-2xl mb-2">{{ title?.text.headline }}</h3>
|
|
77
77
|
<p>{{ title?.text.text}}</p>
|
|
78
78
|
<div class="my-4 px-2">
|
|
@@ -84,7 +84,7 @@ const { title } = toRefs(props)
|
|
|
84
84
|
</span>
|
|
85
85
|
</template>
|
|
86
86
|
</div>
|
|
87
|
-
<div class="border-l-4 pl-1 transition-all dark:border-l-
|
|
87
|
+
<div class="border-l-4 pl-1 transition-all dark:border-l-gray-500">
|
|
88
88
|
<TransitionGroup name="list" tag="div">
|
|
89
89
|
<template v-for="(item, i) in filteredEvents" :key="`${i}-card-${item.id}`">
|
|
90
90
|
<TimeLineItem :event="item"></TimeLineItem>
|
package/dist/BgAudio-BDO4Ln5y.js
DELETED
package/dist/EpAlert-iWXSHupC.js
DELETED
package/dist/EpAudio-Bnb1MIw6.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, computed as t, createElementBlock as r, openBlock as n, createCommentVNode as f, createElementVNode as s, normalizeClass as o, toDisplayString as h } from "vue";
|
|
2
|
-
const _ = {
|
|
3
|
-
circle: {
|
|
4
|
-
small: " rounded-full w-12 h-12 text-5xl ",
|
|
5
|
-
middle: "rounded-full w-14 h-14 text-6xl",
|
|
6
|
-
big: "rounded-full w-16 h-16 text-7xl"
|
|
7
|
-
},
|
|
8
|
-
square: {
|
|
9
|
-
small: "w-12 h-12 text-5xl",
|
|
10
|
-
middle: "w-14 h-14 text-6xl",
|
|
11
|
-
big: "w-16 h-16 text-7xl"
|
|
12
|
-
},
|
|
13
|
-
rounded: {
|
|
14
|
-
small: "rounded w-12 h-12 text-5xl",
|
|
15
|
-
middle: "rounded w-14 h-14 text-6xl",
|
|
16
|
-
big: "rounded w-16 h-16 text-7xl"
|
|
17
|
-
}
|
|
18
|
-
}, p = { key: 0 }, v = ["src", "alt"], w = { key: 1 }, b = /* @__PURE__ */ x({
|
|
19
|
-
__name: "EpAvatar",
|
|
20
|
-
props: {
|
|
21
|
-
src: { default: "" },
|
|
22
|
-
alt: { default: "" },
|
|
23
|
-
color: { default: "primary" },
|
|
24
|
-
size: { default: "small" },
|
|
25
|
-
variant: { default: "circle" },
|
|
26
|
-
name: { default: "" }
|
|
27
|
-
},
|
|
28
|
-
setup(c) {
|
|
29
|
-
const e = c, d = t(() => e.variant), u = t(() => e.size), a = t(() => {
|
|
30
|
-
var l;
|
|
31
|
-
return `${(l = _[d.value]) == null ? void 0 : l[u.value]}`;
|
|
32
|
-
}), i = t(() => " bg-" + e.color), m = t(() => e.name.length > 2 ? e.name.slice(0, 2) : e.name);
|
|
33
|
-
return (l, g) => (n(), r("div", null, [
|
|
34
|
-
e.src != "" ? (n(), r("div", p, [
|
|
35
|
-
s("img", {
|
|
36
|
-
src: e.src,
|
|
37
|
-
alt: e.alt,
|
|
38
|
-
class: o(`${a.value} `)
|
|
39
|
-
}, null, 10, v)
|
|
40
|
-
])) : e.src == "" ? (n(), r("div", w, [
|
|
41
|
-
s("div", {
|
|
42
|
-
class: o(`${a.value} ${i.value} justify-center font-bold text-white flex items-center`)
|
|
43
|
-
}, h(m.value), 3)
|
|
44
|
-
])) : f("", !0)
|
|
45
|
-
]));
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
export {
|
|
49
|
-
b as _
|
|
50
|
-
};
|
package/dist/EpBadge-BcVkBKJK.js
DELETED
package/dist/EpBtn-BtyunWne.js
DELETED
package/dist/EpCard--mtof8hL.js
DELETED
package/dist/EpChip-DitreF_J.js
DELETED
package/dist/EpEdu-BC4BxjYR.js
DELETED
package/dist/EpFlex-xdVOYg4a.js
DELETED
package/dist/EpHover-CwOc7bvn.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
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 x } from "vue";
|
|
2
|
-
import { k as h } from "./index-CPs4nmaJ.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 ? `text-${e.textSize}` : "text-md";
|
|
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: x(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(h)(t.text)
|
|
30
|
-
}, null, 14, g)
|
|
31
|
-
]));
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
_
|
|
36
|
-
};
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { defineComponent as w, computed as l, toRefs as $, createElementBlock as s, openBlock as a, normalizeClass as d, createBlock as B, createCommentVNode as n, createElementVNode as r, unref as t, withCtx as S, renderSlot as i, toDisplayString as x, createVNode as T } from "vue";
|
|
2
|
-
import { _ as z } from "./EpHover.vue_vue_type_script_setup_true_lang-DDLIDTha.js";
|
|
3
|
-
import { u as p, i as E, j as N } from "./index-CPs4nmaJ.js";
|
|
4
|
-
const V = ["src"], j = {
|
|
5
|
-
key: 0,
|
|
6
|
-
class: "mb-2 flex items-center justify-between dark:text-white"
|
|
7
|
-
}, A = { class: "text-2xl dark:text-white font-bold" }, W = { key: 0 }, D = { class: "dark:text-white" }, H = { class: "dark:text-white max-w-4xl" }, G = /* @__PURE__ */ w({
|
|
8
|
-
__name: "EpHoverCard",
|
|
9
|
-
props: {
|
|
10
|
-
title: { default: null },
|
|
11
|
-
subtitle: { default: null },
|
|
12
|
-
outlined: { type: Boolean, default: !1 },
|
|
13
|
-
flat: { type: Boolean, default: !1 },
|
|
14
|
-
icon: { default: null },
|
|
15
|
-
color: { default: null },
|
|
16
|
-
src: { default: null },
|
|
17
|
-
maxWidth: { default: "max-w-4xl" },
|
|
18
|
-
density: { default: "default" },
|
|
19
|
-
hoverContent: {},
|
|
20
|
-
hoverBg: { default: "" },
|
|
21
|
-
hoverAnimation: { default: "translateY" },
|
|
22
|
-
seeThrough: { type: Boolean },
|
|
23
|
-
textSize: {},
|
|
24
|
-
hoverColor: {}
|
|
25
|
-
},
|
|
26
|
-
setup(v) {
|
|
27
|
-
const e = v, b = l(() => e.flat ? "" : "shadow-lg"), k = l(() => e.outlined && e.color ? `border solid ${p("border", e.color)}` : e.outlined ? "border solid border-primary dark:border-primary" : "dark:border dark:solid dark:border-primary"), y = l(() => e.color && !e.outlined ? `${p("bg", e.color)}` : "bg-white text-black"), C = l(() => e.color && !e.outlined ? "text-white" : "text-gray-600"), _ = l(() => E[e.density]), g = l(() => `
|
|
28
|
-
${b.value}
|
|
29
|
-
${k.value}
|
|
30
|
-
${y.value}
|
|
31
|
-
${e.maxWidth}
|
|
32
|
-
rounded-md
|
|
33
|
-
dark:bg-dark
|
|
34
|
-
dark:text-white
|
|
35
|
-
my-4 `), { title: u, subtitle: c, icon: h, src: f, hoverContent: m } = $(e);
|
|
36
|
-
return (o, R) => (a(), s("div", {
|
|
37
|
-
class: d(`${g.value} mx-auto`)
|
|
38
|
-
}, [
|
|
39
|
-
t(f) && t(m) ? (a(), B(z, {
|
|
40
|
-
key: 0,
|
|
41
|
-
textColor: o.hoverColor,
|
|
42
|
-
textSize: o.textSize,
|
|
43
|
-
seeThrough: o.seeThrough,
|
|
44
|
-
bgColor: o.hoverBg,
|
|
45
|
-
animation: o.hoverAnimation,
|
|
46
|
-
text: t(m)
|
|
47
|
-
}, {
|
|
48
|
-
default: S(() => [
|
|
49
|
-
r("img", {
|
|
50
|
-
src: t(f),
|
|
51
|
-
class: "w-full rounded-t-md",
|
|
52
|
-
alt: "header card"
|
|
53
|
-
}, null, 8, V)
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
}, 8, ["textColor", "textSize", "seeThrough", "bgColor", "animation", "text"])) : n("", !0),
|
|
57
|
-
r("div", {
|
|
58
|
-
class: d(_.value)
|
|
59
|
-
}, [
|
|
60
|
-
t(u) || t(c) ? (a(), s("div", j, [
|
|
61
|
-
r("div", null, [
|
|
62
|
-
r("h3", A, x(t(u)), 1),
|
|
63
|
-
r("h4", {
|
|
64
|
-
class: d(`text-xs dark:text-white ${C.value}`)
|
|
65
|
-
}, x(t(c)), 3)
|
|
66
|
-
]),
|
|
67
|
-
t(h) ? (a(), s("div", W, [
|
|
68
|
-
T(N, { "icon-path": t(h) }, null, 8, ["icon-path"])
|
|
69
|
-
])) : n("", !0)
|
|
70
|
-
])) : n("", !0),
|
|
71
|
-
i(o.$slots, "card-header"),
|
|
72
|
-
r("div", D, [
|
|
73
|
-
i(o.$slots, "default")
|
|
74
|
-
]),
|
|
75
|
-
r("div", H, [
|
|
76
|
-
i(o.$slots, "card-actions")
|
|
77
|
-
])
|
|
78
|
-
], 2)
|
|
79
|
-
], 2));
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
export {
|
|
83
|
-
G as default
|
|
84
|
-
};
|
package/dist/EpIcon-Cektqqle.js
DELETED
package/dist/EpImg-Ct-KfkRp.js
DELETED
package/dist/EpLink-Bx_E9Gjz.js
DELETED
package/dist/EpModal-DLG_mddB.js
DELETED
package/dist/EpQuote-SaMcAmmL.js
DELETED
package/dist/EpRadio-w5IkZmj5.js
DELETED
package/dist/EpScope-BAuTDV_B.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, mergeModels as m, useModel as a, createElementBlock as l, openBlock as t, createElementVNode as d, withDirectives as i, Fragment as c, renderList as p, toDisplayString as f, vModelSelect as g } from "vue";
|
|
2
|
-
const v = { class: "w-full max-w-xs" }, b = ["value"], w = /* @__PURE__ */ u({
|
|
3
|
-
__name: "EpSelect",
|
|
4
|
-
props: /* @__PURE__ */ m({
|
|
5
|
-
options: {},
|
|
6
|
-
modelValue: {}
|
|
7
|
-
}, {
|
|
8
|
-
modelValue: {},
|
|
9
|
-
modelModifiers: {}
|
|
10
|
-
}),
|
|
11
|
-
emits: ["update:modelValue"],
|
|
12
|
-
setup(r) {
|
|
13
|
-
const s = a(r, "modelValue");
|
|
14
|
-
return (n, o) => (t(), l("div", v, [
|
|
15
|
-
o[1] || (o[1] = d("label", { class: "block text-sm font-medium text-gray-700 mb-1" }, "Select Theme:", -1)),
|
|
16
|
-
i(d("select", {
|
|
17
|
-
"onUpdate:modelValue": o[0] || (o[0] = (e) => s.value = e),
|
|
18
|
-
class: "block w-full bg-white border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm"
|
|
19
|
-
}, [
|
|
20
|
-
(t(!0), l(c, null, p(n.options, (e) => (t(), l("option", {
|
|
21
|
-
key: e.value,
|
|
22
|
-
value: e.value
|
|
23
|
-
}, f(e.text), 9, b))), 128))
|
|
24
|
-
], 512), [
|
|
25
|
-
[g, s.value]
|
|
26
|
-
])
|
|
27
|
-
]));
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
w as default
|
|
32
|
-
};
|