ep-lib-ts 0.1.43 → 1.0.0
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/package.json +25 -29
- package/src/components/charts/EpBarChart.vue +3 -3
- package/src/components/charts/EpLineChart.vue +3 -3
- package/src/components/charts/EpPieChart.vue +1 -0
- package/src/components/interactions/EpDarkmode.vue +48 -0
- package/src/components/interactions/EpSummativeTable.vue +1 -1
- package/src/components/medias/EpLink.vue +30 -13
- package/src/components/medias/EpVideoPanopto.vue +10 -1
- package/.vscode/extensions.json +0 -3
- package/dist/BgAudio-9074bf47.js +0 -6
- package/dist/DisplayBox-e2f9c14b.js +0 -6
- package/dist/EpAlert-98a8913b.js +0 -6
- package/dist/EpAudio-8bca3f8b.js +0 -6
- package/dist/EpAvatar-1e55fdc7.js +0 -50
- package/dist/EpBadge-aa69b61f.js +0 -6
- package/dist/EpBadge-f5faab43.js +0 -55
- package/dist/EpBarChart-89719705.js +0 -6
- package/dist/EpBtn-94de00aa.js +0 -6
- package/dist/EpCard-d31b9544.js +0 -6
- package/dist/EpCheckbox-b4696548.js +0 -41
- package/dist/EpChip-b1c3761b.js +0 -6
- package/dist/EpCodeblock-f5d4bbd7.js +0 -1467
- package/dist/EpContentSlider-8b95883d.js +0 -6
- package/dist/EpDivider-717cb204.js +0 -6
- package/dist/EpEdu-1d62ac0f.js +0 -6
- package/dist/EpFlex-4931d64b.js +0 -6
- package/dist/EpHeader-bf8e2580.js +0 -6
- package/dist/EpHotsPot-f4deb558.js +0 -56
- package/dist/EpHover-073dc31c.js +0 -32
- package/dist/EpIcon-e311fbad.js +0 -6
- package/dist/EpIframe-d9f071a1.js +0 -6
- package/dist/EpImg-69c0feaf.js +0 -6
- package/dist/EpInput-867e4d4d.js +0 -1172
- package/dist/EpLineChart-0954dd9c.js +0 -6
- package/dist/EpLink-d3b39f02.js +0 -6
- package/dist/EpLinkVersion-b760bbd8.js +0 -6
- package/dist/EpList-8a3621c1.js +0 -13
- package/dist/EpListitem-aa4a0f95.js +0 -37
- package/dist/EpModal-5f7b55e3.js +0 -6
- package/dist/EpNothing-ad160acf.js +0 -11
- package/dist/EpPieChart-b4ace5f7.js +0 -6
- package/dist/EpQuestion-15d6c264.js +0 -6
- package/dist/EpQuote-2f8b0fd5.js +0 -6
- package/dist/EpRadio-53ea7ddf.js +0 -6
- package/dist/EpRadioSummative-e834a5da.js +0 -6
- package/dist/EpReading-6d3adc21.js +0 -6
- package/dist/EpResource-730effb3.js +0 -6
- package/dist/EpScope-9fa20a62.js +0 -6
- package/dist/EpSection-7a940784.js +0 -6
- package/dist/EpSelect-2b3b90bf.js +0 -32
- package/dist/EpSkeleton-579dd745.js +0 -6
- package/dist/EpSoftware-705be204.js +0 -6
- package/dist/EpSpinner-34dd8e0e.js +0 -6
- package/dist/EpSummativeTable-4765167a.js +0 -6
- package/dist/EpSvg-c3fcd0c2.js +0 -6
- package/dist/EpSwitch-778610f4.js +0 -64
- package/dist/EpTable-5c9216b8.js +0 -6
- package/dist/EpTerm-507bdfb9.js +0 -6
- package/dist/EpText-1915cfeb.js +0 -6
- package/dist/EpTextarea-67f751e9.js +0 -41
- package/dist/EpTimeLine-73c0ce36.js +0 -6
- package/dist/EpToggle-79231e19.js +0 -44
- package/dist/EpTooltip-05e1d8fe.js +0 -99
- package/dist/EpVideo-1d6e8d50.js +0 -6
- package/dist/EpVideoPanopto-4cb0d51e.js +0 -6
- package/dist/EpWordDef-6bc37d76.js +0 -6
- 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 -68
- package/dist/components/basics/EpCard.vue.d.ts +0 -70
- package/dist/components/basics/EpChip.vue.d.ts +0 -57
- package/dist/components/basics/EpDivider.vue.d.ts +0 -45
- package/dist/components/basics/EpFlex.vue.d.ts +0 -9
- package/dist/components/basics/EpHover.vue.d.ts +0 -49
- package/dist/components/basics/EpIcon.vue.d.ts +0 -34
- package/dist/components/basics/EpImg.vue.d.ts +0 -51
- package/dist/components/basics/EpList.vue.d.ts +0 -9
- package/dist/components/basics/EpListitem.vue.d.ts +0 -43
- package/dist/components/basics/EpSection.vue.d.ts +0 -50
- package/dist/components/basics/EpSpinner.vue.d.ts +0 -40
- package/dist/components/basics/EpTable.vue.d.ts +0 -24
- package/dist/components/basics/EpText.vue.d.ts +0 -31
- package/dist/components/charts/EpBarChart.vue.d.ts +0 -52
- package/dist/components/charts/EpLineChart.vue.d.ts +0 -52
- package/dist/components/charts/EpPieChart.vue.d.ts +0 -56
- package/dist/components/educationals/EpCodeblock.vue.d.ts +0 -42
- package/dist/components/educationals/EpEdu.vue.d.ts +0 -56
- package/dist/components/educationals/EpReading.vue.d.ts +0 -77
- package/dist/components/educationals/EpResource.vue.d.ts +0 -33
- package/dist/components/educationals/EpScope.vue.d.ts +0 -32
- 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 -56
- package/dist/components/forms/EpRadioSummative.vue.d.ts +0 -56
- package/dist/components/forms/EpSelect.vue.d.ts +0 -57
- package/dist/components/forms/EpSwitch.vue.d.ts +0 -57
- package/dist/components/forms/EpTextarea.vue.d.ts +0 -64
- package/dist/components/forms/EpToggle.vue.d.ts +0 -60
- package/dist/components/interactions/EpAccordeon.vue.d.ts +0 -49
- package/dist/components/interactions/EpContentSlider.vue.d.ts +0 -23
- package/dist/components/interactions/EpHotsPot.vue.d.ts +0 -32
- package/dist/components/interactions/EpModal.vue.d.ts +0 -65
- package/dist/components/interactions/EpQuestion.vue.d.ts +0 -52
- package/dist/components/interactions/EpSummativeTable.vue.d.ts +0 -24
- package/dist/components/interactions/EpTabs.vue.d.ts +0 -2
- package/dist/components/interactions/EpTooltip.vue.d.ts +0 -48
- package/dist/components/medias/EpAudio.vue.d.ts +0 -47
- package/dist/components/medias/EpCarousel.vue.d.ts +0 -43
- package/dist/components/medias/EpIframe.vue.d.ts +0 -41
- package/dist/components/medias/EpKatex.vue.d.ts +0 -35
- package/dist/components/medias/EpLink.vue.d.ts +0 -47
- package/dist/components/medias/EpLinkVersion.vue.d.ts +0 -37
- package/dist/components/medias/EpSoftware.vue.d.ts +0 -54
- package/dist/components/medias/EpSvg.vue.d.ts +0 -35
- package/dist/components/medias/EpTerm.vue.d.ts +0 -54
- package/dist/components/medias/EpTimeLine.vue.d.ts +0 -31
- package/dist/components/medias/EpVideo.vue.d.ts +0 -43
- package/dist/components/medias/EpVideoPanopto.vue.d.ts +0 -43
- package/dist/components/medias/EpWordDef.vue.d.ts +0 -27
- package/dist/components/signages/EpAlert.vue.d.ts +0 -55
- package/dist/components/signages/EpBadge.vue.d.ts +0 -56
- package/dist/components/signages/EpHeader.vue.d.ts +0 -64
- package/dist/components/signages/EpNothing.vue.d.ts +0 -2
- package/dist/components/signages/EpQuote.vue.d.ts +0 -47
- package/dist/components/signages/EpSkeleton.vue.d.ts +0 -41
- package/dist/components/tools/BgAudio.vue.d.ts +0 -29
- package/dist/components/tools/DisplayBox.vue.d.ts +0 -17
- package/dist/components/tools/SvgFilter.vue.d.ts +0 -2
- package/dist/components/tools/TimelineItem.vue.d.ts +0 -37
- 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/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 -47
- package/dist/ep-lib-ts.umd.cjs +0 -407
- package/dist/index-96f36524.js +0 -47690
- package/dist/index-a3ad71e0.js +0 -19711
- package/dist/index.d.ts +0 -43
- package/dist/main.d.ts +0 -0
- package/dist/prism-04608307.js +0 -1182
- package/dist/router.d.ts +0 -2
- package/dist/style.css +0 -1
- package/dist/types/Accordeon.d.ts +0 -47
- package/dist/types/Alert.d.ts +0 -35
- package/dist/types/Answer.d.ts +0 -15
- package/dist/types/Avatar.d.ts +0 -18
- package/dist/types/Badge.d.ts +0 -23
- package/dist/types/Border.d.ts +0 -2
- package/dist/types/Btn.d.ts +0 -41
- package/dist/types/Card.d.ts +0 -6
- package/dist/types/Chip.d.ts +0 -41
- package/dist/types/Codeblock.d.ts +0 -223
- package/dist/types/GlossaryEntry.d.ts +0 -10
- package/dist/types/Image.d.ts +0 -6
- package/dist/types/MandateLevel.d.ts +0 -5
- package/dist/types/MediaCarousel.d.ts +0 -7
- package/dist/types/Medias.d.ts +0 -11
- package/dist/types/Radio.d.ts +0 -11
- package/dist/types/Slides.d.ts +0 -15
- package/dist/types/SummativeTable.d.ts +0 -10
- package/dist/types/Switch.d.ts +0 -11
- package/dist/types/TimeLine.d.ts +0 -124
- package/dist/types/Tooltip.d.ts +0 -75
- package/dist/vite.svg +0 -1
package/dist/EpEdu-1d62ac0f.js
DELETED
package/dist/EpFlex-4931d64b.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, toRefs as g, computed as k, ref as c, openBlock as n, createElementBlock as i, createElementVNode as o, toDisplayString as p, unref as m, Fragment as C, renderList as P, normalizeClass as $, normalizeStyle as b, createCommentVNode as w } from "vue";
|
|
2
|
-
const z = { class: "text-xl font-bold" }, B = { class: "relative" }, L = ["src", "alt"], M = ["onClick"], E = {
|
|
3
|
-
key: 0,
|
|
4
|
-
class: "absolute inset-0 flex items-center justify-center bg-black bg-opacity-5 px-2"
|
|
5
|
-
}, H = { class: "mx-2 bg-white p-2 shadow-md" }, R = ["innerHTML"], N = /* @__PURE__ */ y({
|
|
6
|
-
__name: "EpHotsPot",
|
|
7
|
-
props: {
|
|
8
|
-
id: {},
|
|
9
|
-
imageURL: {},
|
|
10
|
-
title: {},
|
|
11
|
-
infoButtons: {}
|
|
12
|
-
},
|
|
13
|
-
setup(f) {
|
|
14
|
-
const l = f, { title: d, imageURL: _ } = g(l), h = k(() => l.infoButtons ? l.infoButtons.map((t) => {
|
|
15
|
-
let e = "translateX(-50%)";
|
|
16
|
-
t.horizontalPosition === 0 ? e = "" : t.horizontalPosition === 100 && (e = "translateX(-100%)"), t.verticalPosition === 100 && (e = `translateY(-100%) ${e}`);
|
|
17
|
-
const s = `transform: ${e}; top: ${t.verticalPosition}%; left: ${t.horizontalPosition}%;`;
|
|
18
|
-
return { ...t, position: s };
|
|
19
|
-
}) : []), a = c(!1), r = c(""), u = c(""), v = (t, e) => {
|
|
20
|
-
a.value = !0, r.value = e, u.value = t;
|
|
21
|
-
}, x = () => {
|
|
22
|
-
a.value = !1, r.value = "";
|
|
23
|
-
};
|
|
24
|
-
return (t, e) => (n(), i("div", null, [
|
|
25
|
-
o("h2", z, p(m(d)), 1),
|
|
26
|
-
o("div", B, [
|
|
27
|
-
o("img", {
|
|
28
|
-
src: m(_),
|
|
29
|
-
alt: `l'image de ${m(d)}`
|
|
30
|
-
}, null, 8, L),
|
|
31
|
-
(n(!0), i(C, null, P(h.value, (s) => (n(), i("button", {
|
|
32
|
-
key: s.id,
|
|
33
|
-
onClick: (D) => v(s.title, s.content),
|
|
34
|
-
class: $("absolute text-white px-4 py-2 shadow-md bg-primary"),
|
|
35
|
-
style: b(`${s.position}`)
|
|
36
|
-
}, "+", 12, M))), 128)),
|
|
37
|
-
a.value ? (n(), i("div", E, [
|
|
38
|
-
o("div", H, [
|
|
39
|
-
o("h4", null, p(u.value), 1),
|
|
40
|
-
o("div", {
|
|
41
|
-
innerHTML: r.value,
|
|
42
|
-
class: "text-sm"
|
|
43
|
-
}, null, 8, R),
|
|
44
|
-
o("button", {
|
|
45
|
-
onClick: x,
|
|
46
|
-
class: "mt-4 bg-primary text-white px-2 py-1 text-sm"
|
|
47
|
-
}, " Fermer ")
|
|
48
|
-
])
|
|
49
|
-
])) : w("", !0)
|
|
50
|
-
])
|
|
51
|
-
]));
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
export {
|
|
55
|
-
N as default
|
|
56
|
-
};
|
package/dist/EpHover-073dc31c.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, computed as t, openBlock as i, createElementBlock as u, renderSlot as f, createElementVNode as d, normalizeClass as p, toDisplayString as m } from "vue";
|
|
2
|
-
import { u as o } from "./index-a3ad71e0.js";
|
|
3
|
-
import "vue-router";
|
|
4
|
-
const v = { class: "relative max-w-xs overflow-hidden bg-cover bg-no-repeat" }, g = /* @__PURE__ */ c({
|
|
5
|
-
__name: "EpHover",
|
|
6
|
-
props: {
|
|
7
|
-
bg_color: { default: "black" },
|
|
8
|
-
text_color: { default: "white" },
|
|
9
|
-
text: { default: "" },
|
|
10
|
-
animation: { default: "" }
|
|
11
|
-
},
|
|
12
|
-
setup(r) {
|
|
13
|
-
const e = r, l = t(() => {
|
|
14
|
-
if (e.bg_color)
|
|
15
|
-
return `${o("bg", e.bg_color)}`;
|
|
16
|
-
}), a = t(() => {
|
|
17
|
-
if (e.text_color)
|
|
18
|
-
return `${o("text", e.text_color)}`;
|
|
19
|
-
}), n = t(() => e.animation == "scale" ? "hover:scale-110 hover:opacity-100 " : "hover:opacity-100");
|
|
20
|
-
return (s, x) => (i(), u("div", v, [
|
|
21
|
-
f(s.$slots, "default"),
|
|
22
|
-
d("div", {
|
|
23
|
-
class: p(`absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden ${l.value}
|
|
24
|
-
font-bold flex justify-center items-center bg-fixed opacity-0 transition duration-300 ease-in-out
|
|
25
|
-
text-4xl ${n.value} ${a.value}`)
|
|
26
|
-
}, m(e.text), 3)
|
|
27
|
-
]));
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
export {
|
|
31
|
-
g as default
|
|
32
|
-
};
|
package/dist/EpIcon-e311fbad.js
DELETED