ep-lib-ts 1.0.39 → 1.0.40
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-o-6UyPLQ.js +4 -0
- package/dist/DisplayBox-kNQglpGH.js +4 -0
- package/dist/EpAlert-DyFkfcBY.js +4 -0
- package/dist/EpAudio-D33uLLKW.js +4 -0
- package/dist/EpAvatar-VKpJzHex.js +4 -0
- package/dist/EpBadge-BZKe8gkM.js +4 -0
- package/dist/EpBarChart-DSbJgjP4.js +4 -0
- package/dist/{EpBranchingScenario-dEapAg2r.js → EpBranchingScenario-HmQ5tqNL.js} +11 -11
- package/dist/EpBtn-eQgJ7t7X.js +4 -0
- package/dist/EpCard-DmkbiqF8.js +4 -0
- package/dist/EpCardLink-CZktIRDZ.js +4 -0
- package/dist/EpChip-CvPvgb7r.js +4 -0
- package/dist/EpCodeblock-CWJ6fozJ.js +4 -0
- package/dist/EpConclusion-B5-N829f.js +4 -0
- package/dist/EpContentSlider-CwCS1urD.js +4 -0
- package/dist/{EpDarkmode-DV-fRn1K.js → EpDarkmode-DgXjweO7.js} +1 -1
- package/dist/EpDescription-CpkftJ_t.js +4 -0
- package/dist/EpDivider-Cm9VAuRM.js +4 -0
- package/dist/EpEdu-l9pEISFf.js +4 -0
- package/dist/EpFlex-C5fyq8lg.js +4 -0
- package/dist/EpFunnelChart-CH_6LUvo.js +4 -0
- package/dist/EpHeader-CCvORAE4.js +4 -0
- package/dist/EpHover-oFN3yCY9.js +4 -0
- package/dist/EpHoverCard-CtASruWi.js +4 -0
- package/dist/EpIcon-CbmGlHE2.js +4 -0
- package/dist/EpIframe-Dnb7aND_.js +4 -0
- package/dist/EpImg-DB5ZMjSu.js +4 -0
- package/dist/{EpInput-c9THhDCs.js → EpInput-CaN-TCpG.js} +42 -42
- package/dist/EpInstructions-CaWQD2qB.js +4 -0
- package/dist/EpIntroduction-CI0_D2yu.js +4 -0
- package/dist/EpLineChart-LJX0c0Nf.js +4 -0
- package/dist/EpLink-DPB7Nepc.js +4 -0
- package/dist/EpLinkVersion-CKWqW5AF.js +4 -0
- package/dist/{EpList-CM3b-mLc.js → EpList-DqsIwnA9.js} +1 -1
- package/dist/EpModal-B97mL5T-.js +4 -0
- package/dist/{EpNothing-DVY_GKL6.js → EpNothing-rOIFtbf1.js} +1 -1
- package/dist/EpObjective-rFX5IDy3.js +4 -0
- package/dist/EpPieChart-BS4qEe0K.js +4 -0
- package/dist/EpQuestion-D1jwZMyZ.js +4 -0
- package/dist/EpQuote-C4fI2kxZ.js +4 -0
- package/dist/EpRadio-mIf2ff8X.js +4 -0
- package/dist/EpRadioSummative-Bx66akYL.js +4 -0
- package/dist/EpReading-BFoNTxDy.js +4 -0
- package/dist/EpResource-8CZRcYtG.js +4 -0
- package/dist/EpScope-DTfD4VEM.js +4 -0
- package/dist/EpSection-CcxIByfH.js +4 -0
- package/dist/EpSectionCols-t1k3weXM.js +4 -0
- package/dist/EpSelect-C10jbOyP.js +33 -0
- package/dist/EpSkeleton-BlWjhOMG.js +4 -0
- package/dist/EpSoftware-BENDV3kt.js +4 -0
- package/dist/EpSpecificObjective-ByRW9R5i.js +4 -0
- package/dist/EpSpinner-C6KTvwwF.js +4 -0
- package/dist/EpStackedList-CyBiCT2q.js +4 -0
- package/dist/EpSummativeTable-7eMF30pz.js +4 -0
- package/dist/EpSvg-gHmfbp0I.js +4 -0
- package/dist/EpTable-hgRLqA3o.js +4 -0
- package/dist/EpTerm-DQhi12a3.js +4 -0
- package/dist/EpText-BVr0yeDd.js +4 -0
- package/dist/EpTimeLine-CqfJ9LEU.js +4 -0
- package/dist/EpVideo-cJCwDUcG.js +4 -0
- package/dist/EpVideoPanopto-CslIPs2L.js +4 -0
- package/dist/EpWordDef-DiIZxUFD.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 +23 -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/ep-lib-ts.js +44 -41
- package/dist/ep-lib-ts.umd.cjs +238 -239
- package/dist/{index-Bw4yzGuc.js → index-BIs_9STK.js} +1 -1
- package/dist/{index-CPs4nmaJ.js → index-mAWa7blx.js} +4419 -4114
- package/dist/index.d.ts +4 -1
- package/dist/{prism-DM8vlN3d.js → prism-EB5WECGI.js} +1 -1
- package/dist/types/Hover.d.ts +2 -2
- package/dist/types/Medias.d.ts +1 -0
- package/dist/types/StackedList.d.ts +8 -15
- 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 +20 -22
- 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/EpQuestion.vue +1 -1
- package/src/components/medias/EpAudio.vue +1 -1
- package/src/components/medias/EpCardLink.vue +77 -0
- 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
|
@@ -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
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, computed as i, createElementBlock as n, openBlock as r, normalizeClass as s, Fragment as $, renderList as x, createBlock as u, createCommentVNode as m, createElementVNode as a, mergeProps as p, toDisplayString as f, unref as h, resolveDynamicComponent as C, withCtx as T, createTextVNode as L, defineAsyncComponent as y } from "vue";
|
|
2
|
-
import { _ as N } from "./EpAvatar.vue_vue_type_script_setup_true_lang-IeQ9W4tD.js";
|
|
3
|
-
import { k as j } from "./index-CPs4nmaJ.js";
|
|
4
|
-
const B = {
|
|
5
|
-
none: "rounded-none",
|
|
6
|
-
small: "rounded-md",
|
|
7
|
-
middle: "rounded-lg",
|
|
8
|
-
big: "rounded-2xl"
|
|
9
|
-
}, E = { class: "col-span-5 justify-self-start" }, V = { class: "font-semibold" }, D = ["innerHTML"], H = {
|
|
10
|
-
key: 1,
|
|
11
|
-
class: "flex gap-2 items-center col-span-4 justify-self-auto"
|
|
12
|
-
}, z = /* @__PURE__ */ k({
|
|
13
|
-
__name: "EpStackedList",
|
|
14
|
-
props: {
|
|
15
|
-
elements: { default: () => [] },
|
|
16
|
-
itemStyle: { default: () => ({
|
|
17
|
-
cropped: !1
|
|
18
|
-
}) },
|
|
19
|
-
customStyle: { default: () => ({
|
|
20
|
-
border: !0,
|
|
21
|
-
rounded: "small",
|
|
22
|
-
restricted: !1
|
|
23
|
-
}) }
|
|
24
|
-
},
|
|
25
|
-
setup(g) {
|
|
26
|
-
const o = g, _ = i(() => {
|
|
27
|
-
const t = o.customStyle.border === !1 ? "border-0" : "border", d = B[o.customStyle.rounded ? o.customStyle.rounded : "small"], e = o.customStyle.restricted ? "p-0" : "p-4";
|
|
28
|
-
return `${t} ${d} ${e}`;
|
|
29
|
-
}), b = i(() => o.customStyle.restricted ? "p-6" : "mx-6 py-6"), v = (t) => t ? "grid-cols-11" : "grid-cols-7", S = (t) => {
|
|
30
|
-
if (!t)
|
|
31
|
-
return y(() => import("./EpNothing-DVY_GKL6.js"));
|
|
32
|
-
//!IMPORT IN SAME FOLDER PATH!! EpIcon and EpBtn
|
|
33
|
-
return y(() => import(
|
|
34
|
-
/* @vite-ignore */
|
|
35
|
-
`./${t}.vue`
|
|
36
|
-
));
|
|
37
|
-
};
|
|
38
|
-
return (t, d) => (r(), n("div", {
|
|
39
|
-
class: s(`${_.value} border-gray-200 flex flex-col dark:border-slate-700 dark:bg-slate-900 lg:mx-28`)
|
|
40
|
-
}, [
|
|
41
|
-
(r(!0), n($, null, x(t.elements, (e) => {
|
|
42
|
-
var l, c;
|
|
43
|
-
return r(), n("li", {
|
|
44
|
-
key: t.elements.indexOf(e),
|
|
45
|
-
class: s(`${t.elements.indexOf(e) !== 0 ? "border-t" : ""} list-none ${b.value} grid ${v(e.component)} justify-items-center items-center border-gray-200 dark:border-slate-700`)
|
|
46
|
-
}, [
|
|
47
|
-
e.avatar ? (r(), u(N, p({
|
|
48
|
-
key: 0,
|
|
49
|
-
src: (l = e.avatar) == null ? void 0 : l.src,
|
|
50
|
-
alt: (c = e.avatar) == null ? void 0 : c.alt,
|
|
51
|
-
ref_for: !0
|
|
52
|
-
}, t.itemStyle.avatar, { class: "col-span-2" }), null, 16, ["src", "alt"])) : m("", !0),
|
|
53
|
-
a("div", E, [
|
|
54
|
-
a("h3", V, f(e.title), 1),
|
|
55
|
-
a("div", {
|
|
56
|
-
class: s(`${t.itemStyle.cropped ? "line-clamp-3" : ""}`),
|
|
57
|
-
innerHTML: h(j)(e.description)
|
|
58
|
-
}, null, 10, D)
|
|
59
|
-
]),
|
|
60
|
-
e.component ? (r(), n("div", H, [
|
|
61
|
-
(r(), u(C(S(e.component.type)), p({ ref_for: !0 }, { ...e.component.data }), {
|
|
62
|
-
default: T(() => [
|
|
63
|
-
L(f(e.component.data.content), 1)
|
|
64
|
-
]),
|
|
65
|
-
_: 2
|
|
66
|
-
}, 1040))
|
|
67
|
-
])) : m("", !0)
|
|
68
|
-
], 2);
|
|
69
|
-
}), 128))
|
|
70
|
-
], 2));
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
export {
|
|
74
|
-
z as default
|
|
75
|
-
};
|
package/dist/EpSvg-CG-uua_J.js
DELETED
package/dist/EpTable-DsXZI8Hm.js
DELETED
package/dist/EpTerm-DGTKAJqq.js
DELETED
package/dist/EpText-kB0vb1Da.js
DELETED
package/dist/EpVideo-CPN6M6cs.js
DELETED