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.
Files changed (166) hide show
  1. package/package.json +25 -29
  2. package/src/components/charts/EpBarChart.vue +3 -3
  3. package/src/components/charts/EpLineChart.vue +3 -3
  4. package/src/components/charts/EpPieChart.vue +1 -0
  5. package/src/components/interactions/EpDarkmode.vue +48 -0
  6. package/src/components/interactions/EpSummativeTable.vue +1 -1
  7. package/src/components/medias/EpLink.vue +30 -13
  8. package/src/components/medias/EpVideoPanopto.vue +10 -1
  9. package/.vscode/extensions.json +0 -3
  10. package/dist/BgAudio-9074bf47.js +0 -6
  11. package/dist/DisplayBox-e2f9c14b.js +0 -6
  12. package/dist/EpAlert-98a8913b.js +0 -6
  13. package/dist/EpAudio-8bca3f8b.js +0 -6
  14. package/dist/EpAvatar-1e55fdc7.js +0 -50
  15. package/dist/EpBadge-aa69b61f.js +0 -6
  16. package/dist/EpBadge-f5faab43.js +0 -55
  17. package/dist/EpBarChart-89719705.js +0 -6
  18. package/dist/EpBtn-94de00aa.js +0 -6
  19. package/dist/EpCard-d31b9544.js +0 -6
  20. package/dist/EpCheckbox-b4696548.js +0 -41
  21. package/dist/EpChip-b1c3761b.js +0 -6
  22. package/dist/EpCodeblock-f5d4bbd7.js +0 -1467
  23. package/dist/EpContentSlider-8b95883d.js +0 -6
  24. package/dist/EpDivider-717cb204.js +0 -6
  25. package/dist/EpEdu-1d62ac0f.js +0 -6
  26. package/dist/EpFlex-4931d64b.js +0 -6
  27. package/dist/EpHeader-bf8e2580.js +0 -6
  28. package/dist/EpHotsPot-f4deb558.js +0 -56
  29. package/dist/EpHover-073dc31c.js +0 -32
  30. package/dist/EpIcon-e311fbad.js +0 -6
  31. package/dist/EpIframe-d9f071a1.js +0 -6
  32. package/dist/EpImg-69c0feaf.js +0 -6
  33. package/dist/EpInput-867e4d4d.js +0 -1172
  34. package/dist/EpLineChart-0954dd9c.js +0 -6
  35. package/dist/EpLink-d3b39f02.js +0 -6
  36. package/dist/EpLinkVersion-b760bbd8.js +0 -6
  37. package/dist/EpList-8a3621c1.js +0 -13
  38. package/dist/EpListitem-aa4a0f95.js +0 -37
  39. package/dist/EpModal-5f7b55e3.js +0 -6
  40. package/dist/EpNothing-ad160acf.js +0 -11
  41. package/dist/EpPieChart-b4ace5f7.js +0 -6
  42. package/dist/EpQuestion-15d6c264.js +0 -6
  43. package/dist/EpQuote-2f8b0fd5.js +0 -6
  44. package/dist/EpRadio-53ea7ddf.js +0 -6
  45. package/dist/EpRadioSummative-e834a5da.js +0 -6
  46. package/dist/EpReading-6d3adc21.js +0 -6
  47. package/dist/EpResource-730effb3.js +0 -6
  48. package/dist/EpScope-9fa20a62.js +0 -6
  49. package/dist/EpSection-7a940784.js +0 -6
  50. package/dist/EpSelect-2b3b90bf.js +0 -32
  51. package/dist/EpSkeleton-579dd745.js +0 -6
  52. package/dist/EpSoftware-705be204.js +0 -6
  53. package/dist/EpSpinner-34dd8e0e.js +0 -6
  54. package/dist/EpSummativeTable-4765167a.js +0 -6
  55. package/dist/EpSvg-c3fcd0c2.js +0 -6
  56. package/dist/EpSwitch-778610f4.js +0 -64
  57. package/dist/EpTable-5c9216b8.js +0 -6
  58. package/dist/EpTerm-507bdfb9.js +0 -6
  59. package/dist/EpText-1915cfeb.js +0 -6
  60. package/dist/EpTextarea-67f751e9.js +0 -41
  61. package/dist/EpTimeLine-73c0ce36.js +0 -6
  62. package/dist/EpToggle-79231e19.js +0 -44
  63. package/dist/EpTooltip-05e1d8fe.js +0 -99
  64. package/dist/EpVideo-1d6e8d50.js +0 -6
  65. package/dist/EpVideoPanopto-4cb0d51e.js +0 -6
  66. package/dist/EpWordDef-6bc37d76.js +0 -6
  67. package/dist/components/basics/EpAvatar.vue.d.ts +0 -51
  68. package/dist/components/basics/EpBadge.vue.d.ts +0 -37
  69. package/dist/components/basics/EpBtn.vue.d.ts +0 -68
  70. package/dist/components/basics/EpCard.vue.d.ts +0 -70
  71. package/dist/components/basics/EpChip.vue.d.ts +0 -57
  72. package/dist/components/basics/EpDivider.vue.d.ts +0 -45
  73. package/dist/components/basics/EpFlex.vue.d.ts +0 -9
  74. package/dist/components/basics/EpHover.vue.d.ts +0 -49
  75. package/dist/components/basics/EpIcon.vue.d.ts +0 -34
  76. package/dist/components/basics/EpImg.vue.d.ts +0 -51
  77. package/dist/components/basics/EpList.vue.d.ts +0 -9
  78. package/dist/components/basics/EpListitem.vue.d.ts +0 -43
  79. package/dist/components/basics/EpSection.vue.d.ts +0 -50
  80. package/dist/components/basics/EpSpinner.vue.d.ts +0 -40
  81. package/dist/components/basics/EpTable.vue.d.ts +0 -24
  82. package/dist/components/basics/EpText.vue.d.ts +0 -31
  83. package/dist/components/charts/EpBarChart.vue.d.ts +0 -52
  84. package/dist/components/charts/EpLineChart.vue.d.ts +0 -52
  85. package/dist/components/charts/EpPieChart.vue.d.ts +0 -56
  86. package/dist/components/educationals/EpCodeblock.vue.d.ts +0 -42
  87. package/dist/components/educationals/EpEdu.vue.d.ts +0 -56
  88. package/dist/components/educationals/EpReading.vue.d.ts +0 -77
  89. package/dist/components/educationals/EpResource.vue.d.ts +0 -33
  90. package/dist/components/educationals/EpScope.vue.d.ts +0 -32
  91. package/dist/components/forms/EpCheckbox.vue.d.ts +0 -52
  92. package/dist/components/forms/EpInput.vue.d.ts +0 -65
  93. package/dist/components/forms/EpRadio.vue.d.ts +0 -56
  94. package/dist/components/forms/EpRadioSummative.vue.d.ts +0 -56
  95. package/dist/components/forms/EpSelect.vue.d.ts +0 -57
  96. package/dist/components/forms/EpSwitch.vue.d.ts +0 -57
  97. package/dist/components/forms/EpTextarea.vue.d.ts +0 -64
  98. package/dist/components/forms/EpToggle.vue.d.ts +0 -60
  99. package/dist/components/interactions/EpAccordeon.vue.d.ts +0 -49
  100. package/dist/components/interactions/EpContentSlider.vue.d.ts +0 -23
  101. package/dist/components/interactions/EpHotsPot.vue.d.ts +0 -32
  102. package/dist/components/interactions/EpModal.vue.d.ts +0 -65
  103. package/dist/components/interactions/EpQuestion.vue.d.ts +0 -52
  104. package/dist/components/interactions/EpSummativeTable.vue.d.ts +0 -24
  105. package/dist/components/interactions/EpTabs.vue.d.ts +0 -2
  106. package/dist/components/interactions/EpTooltip.vue.d.ts +0 -48
  107. package/dist/components/medias/EpAudio.vue.d.ts +0 -47
  108. package/dist/components/medias/EpCarousel.vue.d.ts +0 -43
  109. package/dist/components/medias/EpIframe.vue.d.ts +0 -41
  110. package/dist/components/medias/EpKatex.vue.d.ts +0 -35
  111. package/dist/components/medias/EpLink.vue.d.ts +0 -47
  112. package/dist/components/medias/EpLinkVersion.vue.d.ts +0 -37
  113. package/dist/components/medias/EpSoftware.vue.d.ts +0 -54
  114. package/dist/components/medias/EpSvg.vue.d.ts +0 -35
  115. package/dist/components/medias/EpTerm.vue.d.ts +0 -54
  116. package/dist/components/medias/EpTimeLine.vue.d.ts +0 -31
  117. package/dist/components/medias/EpVideo.vue.d.ts +0 -43
  118. package/dist/components/medias/EpVideoPanopto.vue.d.ts +0 -43
  119. package/dist/components/medias/EpWordDef.vue.d.ts +0 -27
  120. package/dist/components/signages/EpAlert.vue.d.ts +0 -55
  121. package/dist/components/signages/EpBadge.vue.d.ts +0 -56
  122. package/dist/components/signages/EpHeader.vue.d.ts +0 -64
  123. package/dist/components/signages/EpNothing.vue.d.ts +0 -2
  124. package/dist/components/signages/EpQuote.vue.d.ts +0 -47
  125. package/dist/components/signages/EpSkeleton.vue.d.ts +0 -41
  126. package/dist/components/tools/BgAudio.vue.d.ts +0 -29
  127. package/dist/components/tools/DisplayBox.vue.d.ts +0 -17
  128. package/dist/components/tools/SvgFilter.vue.d.ts +0 -2
  129. package/dist/components/tools/TimelineItem.vue.d.ts +0 -37
  130. package/dist/composables/isHtml.d.ts +0 -1
  131. package/dist/composables/useColors.d.ts +0 -1
  132. package/dist/composables/useComponent.d.ts +0 -6
  133. package/dist/composables/useIcons.d.ts +0 -26
  134. package/dist/composables/useMarkdown.d.ts +0 -1
  135. package/dist/composables/useRenderText.d.ts +0 -1
  136. package/dist/ep-lib-ts.js +0 -47
  137. package/dist/ep-lib-ts.umd.cjs +0 -407
  138. package/dist/index-96f36524.js +0 -47690
  139. package/dist/index-a3ad71e0.js +0 -19711
  140. package/dist/index.d.ts +0 -43
  141. package/dist/main.d.ts +0 -0
  142. package/dist/prism-04608307.js +0 -1182
  143. package/dist/router.d.ts +0 -2
  144. package/dist/style.css +0 -1
  145. package/dist/types/Accordeon.d.ts +0 -47
  146. package/dist/types/Alert.d.ts +0 -35
  147. package/dist/types/Answer.d.ts +0 -15
  148. package/dist/types/Avatar.d.ts +0 -18
  149. package/dist/types/Badge.d.ts +0 -23
  150. package/dist/types/Border.d.ts +0 -2
  151. package/dist/types/Btn.d.ts +0 -41
  152. package/dist/types/Card.d.ts +0 -6
  153. package/dist/types/Chip.d.ts +0 -41
  154. package/dist/types/Codeblock.d.ts +0 -223
  155. package/dist/types/GlossaryEntry.d.ts +0 -10
  156. package/dist/types/Image.d.ts +0 -6
  157. package/dist/types/MandateLevel.d.ts +0 -5
  158. package/dist/types/MediaCarousel.d.ts +0 -7
  159. package/dist/types/Medias.d.ts +0 -11
  160. package/dist/types/Radio.d.ts +0 -11
  161. package/dist/types/Slides.d.ts +0 -15
  162. package/dist/types/SummativeTable.d.ts +0 -10
  163. package/dist/types/Switch.d.ts +0 -11
  164. package/dist/types/TimeLine.d.ts +0 -124
  165. package/dist/types/Tooltip.d.ts +0 -75
  166. package/dist/vite.svg +0 -1
@@ -1,6 +0,0 @@
1
- import { A as o } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- o as default
6
- };
@@ -1,6 +0,0 @@
1
- import { g as o } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- o as default
6
- };
@@ -1,6 +0,0 @@
1
- import { t as m } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- m as default
6
- };
@@ -1,6 +0,0 @@
1
- import { h as o } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- o as default
6
- };
@@ -1,6 +0,0 @@
1
- import { P as o } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- o as default
6
- };
@@ -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
- };
@@ -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
- };
@@ -1,6 +0,0 @@
1
- import { i as m } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- m as default
6
- };
@@ -1,6 +0,0 @@
1
- import { F as o } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- o as default
6
- };
@@ -1,6 +0,0 @@
1
- import { j as o } from "./index-a3ad71e0.js";
2
- import "vue";
3
- import "vue-router";
4
- export {
5
- o as default
6
- };