ep-lib-ts 1.0.5 → 1.0.6
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-D0bYt2vk.js +4 -0
- package/dist/DisplayBox-B_BDtSRL.js +4 -0
- package/dist/EpAlert-DLdxfnbh.js +4 -0
- package/dist/EpAudio-CIh7P96j.js +4 -0
- package/dist/EpBadge-RSrPtork.js +4 -0
- package/dist/EpBarChart-BYviso9y.js +4 -0
- package/dist/EpBtn-CI08Fkc-.js +4 -0
- package/dist/EpCard-BmYWCNC6.js +4 -0
- package/dist/EpChip-DYxrBk_j.js +4 -0
- package/dist/EpContentSlider-3W5NRtqY.js +4 -0
- package/dist/EpDivider-C8eu7oo-.js +4 -0
- package/dist/EpEdu-D3s7wgId.js +4 -0
- package/dist/EpFlex-D3slIMIF.js +4 -0
- package/dist/EpFunnelChart-Bd6DcHXv.js +4 -0
- package/dist/EpHeader-LmfheLve.js +4 -0
- package/dist/{EpHover-CGtVjFli.js → EpHover-kZgJ2f1P.js} +1 -1
- package/dist/EpIcon-CTPp2iAz.js +4 -0
- package/dist/EpIframe-Bu6Shp40.js +4 -0
- package/dist/EpImg-PgXn_5PG.js +4 -0
- package/dist/{EpInput-BlwqQ8GO.js → EpInput-BEcNn9JQ.js} +1 -1
- package/dist/EpLineChart-CuvzboxC.js +4 -0
- package/dist/EpLink-t90xMdUk.js +4 -0
- package/dist/EpLinkVersion-DcLaAKcb.js +4 -0
- package/dist/{EpList-CzlKDgP3.js → EpList-VmeDfvpc.js} +1 -1
- package/dist/EpModal-DTKzIbiU.js +4 -0
- package/dist/{EpNothing-CXDeB2Xh.js → EpNothing-DG4uHrcR.js} +1 -1
- package/dist/EpPieChart-CDbVXeA9.js +4 -0
- package/dist/EpQuestion-zXilF4UO.js +4 -0
- package/dist/EpQuote-BRWz5Gax.js +4 -0
- package/dist/EpRadio-C4i-6XLB.js +4 -0
- package/dist/EpRadioSummative-DcZ_SSed.js +4 -0
- package/dist/EpReading-CE2gINrm.js +4 -0
- package/dist/EpResource-Co7Y4NBv.js +4 -0
- package/dist/EpScope-BgReTGM3.js +4 -0
- package/dist/EpSection-DAc7gApp.js +4 -0
- package/dist/{EpSelect-DN7s_Aty.js → EpSelect-Cm8AVg72.js} +1 -1
- package/dist/EpSkeleton-DTrfxnMN.js +4 -0
- package/dist/EpSoftware-BRheqKDl.js +4 -0
- package/dist/EpSpinner-Bs6k4L2I.js +4 -0
- package/dist/EpSummativeTable-R-a__jzb.js +4 -0
- package/dist/EpSvg-8H1LG5x_.js +4 -0
- package/dist/EpTable-CcPpxyTI.js +4 -0
- package/dist/EpTerm-CHal6ICj.js +4 -0
- package/dist/EpText-Div60TMB.js +4 -0
- package/dist/EpTimeLine-CcUqFqgj.js +4 -0
- package/dist/EpVideo-Bk2ovJyj.js +4 -0
- package/dist/EpVideoPanopto-gQgwEvaf.js +4 -0
- package/dist/EpWordDef-D81-AGFK.js +4 -0
- package/dist/components/charts/EpPieChart.vue.d.ts +1 -0
- package/dist/components/interactions/EpQuestion.vue.d.ts +12 -12
- package/dist/components/medias/EpLinkVersion.vue.d.ts +1 -0
- package/dist/components/medias/EpWordDef.vue.d.ts +0 -4
- package/dist/components/signages/EpAlert.vue.d.ts +0 -3
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +32 -32
- package/dist/{index-Skmdww7c.js → index-CWNyTRsL.js} +55 -54
- package/package.json +1 -1
- package/src/components/basics/EpImg.vue +3 -3
- package/src/components/charts/EpFunnelChart.vue +1 -1
- package/src/components/charts/EpPieChart.vue +4 -2
- package/src/components/educationals/EpEdu.vue +3 -3
- package/src/components/educationals/EpReading.vue +1 -1
- package/src/components/interactions/EpQuestion.vue +9 -9
- package/src/components/medias/EpLinkVersion.vue +3 -2
- package/src/components/medias/EpSoftware.vue +1 -1
- package/src/components/medias/EpVideo.vue +4 -4
- package/src/components/medias/EpWordDef.vue +3 -5
- package/src/components/signages/EpAlert.vue +16 -2
- package/dist/BgAudio-Bz6aPUrZ.js +0 -4
- package/dist/DisplayBox-B7EYuWTN.js +0 -4
- package/dist/EpAlert-DCZ6DiMo.js +0 -4
- package/dist/EpAudio-DkM9fjmw.js +0 -4
- package/dist/EpBadge-CY0YoXxs.js +0 -4
- package/dist/EpBarChart-DJeIqz8f.js +0 -4
- package/dist/EpBtn-Bdld4mlP.js +0 -4
- package/dist/EpCard-vA65yxkZ.js +0 -4
- package/dist/EpChip-DfM8BIuk.js +0 -4
- package/dist/EpContentSlider-C_c1OeHV.js +0 -4
- package/dist/EpDivider-Ca6DbpJs.js +0 -4
- package/dist/EpEdu-CtxBXkGE.js +0 -4
- package/dist/EpFlex-BReEWQoW.js +0 -4
- package/dist/EpFunnelChart-Ch-dprll.js +0 -4
- package/dist/EpHeader-u8-Q9UwT.js +0 -4
- package/dist/EpIcon-CvvMgRw9.js +0 -4
- package/dist/EpIframe-BLu6Nhfj.js +0 -4
- package/dist/EpImg-DsxiqbDu.js +0 -4
- package/dist/EpLineChart-DSoKvkMi.js +0 -4
- package/dist/EpLink-6X0q9juy.js +0 -4
- package/dist/EpLinkVersion-CTq-NTLq.js +0 -4
- package/dist/EpModal-CXOvBxNP.js +0 -4
- package/dist/EpPieChart-vDhYE00b.js +0 -4
- package/dist/EpQuestion-D-9FxFL6.js +0 -4
- package/dist/EpQuote-H6SRcev1.js +0 -4
- package/dist/EpRadio-CE-j3WNH.js +0 -4
- package/dist/EpRadioSummative-CzssksYf.js +0 -4
- package/dist/EpReading-BwFuRUX0.js +0 -4
- package/dist/EpResource-DpdLV5X_.js +0 -4
- package/dist/EpScope-TsPj_Kwq.js +0 -4
- package/dist/EpSection-DQ1dy14X.js +0 -4
- package/dist/EpSkeleton-BDPfEznW.js +0 -4
- package/dist/EpSoftware-ClsoVdd5.js +0 -4
- package/dist/EpSpinner-vo13Q_qa.js +0 -4
- package/dist/EpSummativeTable-DsqZCxwk.js +0 -4
- package/dist/EpSvg-BdM22Kv5.js +0 -4
- package/dist/EpTable-C88t_8Ty.js +0 -4
- package/dist/EpTerm-BhaC_QJL.js +0 -4
- package/dist/EpText-CrZ6bzKd.js +0 -4
- package/dist/EpTimeLine-BFgDubiK.js +0 -4
- package/dist/EpVideo-IKtqXyPs.js +0 -4
- package/dist/EpVideoPanopto-Z2CQoaIu.js +0 -4
- package/dist/EpWordDef-CkFC1G8H.js +0 -4
|
@@ -3417,7 +3417,7 @@ const Do = {
|
|
|
3417
3417
|
}), a = () => {
|
|
3418
3418
|
const i = {
|
|
3419
3419
|
components: {
|
|
3420
|
-
epterm: S0(() => import("./EpTerm-
|
|
3420
|
+
epterm: S0(() => import("./EpTerm-CHal6ICj.js"))
|
|
3421
3421
|
},
|
|
3422
3422
|
template: `${u.value}`
|
|
3423
3423
|
};
|
|
@@ -3955,9 +3955,9 @@ const Ll = {
|
|
|
3955
3955
|
noModal: { type: Boolean, default: !1 },
|
|
3956
3956
|
cols: { default: "6" },
|
|
3957
3957
|
labels: { default: () => ({
|
|
3958
|
-
reference: "
|
|
3958
|
+
reference: "Référence",
|
|
3959
3959
|
fermer: "Fermer",
|
|
3960
|
-
referenceLibrary: "
|
|
3960
|
+
referenceLibrary: "Référence bibliographique"
|
|
3961
3961
|
}) }
|
|
3962
3962
|
},
|
|
3963
3963
|
setup(t) {
|
|
@@ -4061,7 +4061,7 @@ const Ll = {
|
|
|
4061
4061
|
U(Ot, {
|
|
4062
4062
|
modelValue: s.value,
|
|
4063
4063
|
"onUpdate:modelValue": F[1] || (F[1] = (q) => s.value = q),
|
|
4064
|
-
title:
|
|
4064
|
+
title: z.labels.referenceLibrary
|
|
4065
4065
|
}, {
|
|
4066
4066
|
default: V(() => [
|
|
4067
4067
|
w("div", {
|
|
@@ -4083,7 +4083,7 @@ const Ll = {
|
|
|
4083
4083
|
])
|
|
4084
4084
|
]),
|
|
4085
4085
|
_: 1
|
|
4086
|
-
}, 8, ["modelValue"])
|
|
4086
|
+
}, 8, ["modelValue", "title"])
|
|
4087
4087
|
], 2));
|
|
4088
4088
|
}
|
|
4089
4089
|
}), Kl = { class: "p-12 bg-warning-light w-[50%] mx-auto border-2 border-warning dark:bg-warning-dark" }, Ql = { class: "text-center text-error font-bold uppercase" }, q5 = /* @__PURE__ */ J({
|
|
@@ -4444,7 +4444,7 @@ const Ll = {
|
|
|
4444
4444
|
_: 1
|
|
4445
4445
|
}, 8, ["type"]));
|
|
4446
4446
|
}
|
|
4447
|
-
}), _c = { class: "font-bold align-middle" }, Cc = { class: "px-5 dark:
|
|
4447
|
+
}), _c = { class: "font-bold align-middle" }, Cc = { class: "px-5 dark:base-dark" }, Ac = {
|
|
4448
4448
|
key: 0,
|
|
4449
4449
|
class: "py-2"
|
|
4450
4450
|
}, Ec = { class: "font-semibold mb-2 text-sm uppercase tracking-wide text-gray-500" }, Sc = { class: "py-2" }, ze = /* @__PURE__ */ J({
|
|
@@ -4473,7 +4473,7 @@ const Ll = {
|
|
|
4473
4473
|
}, [
|
|
4474
4474
|
v(h) || b.mandateLevel ? (_(), S("div", {
|
|
4475
4475
|
key: 0,
|
|
4476
|
-
class: G([`${i.value}`, "dark:
|
|
4476
|
+
class: G([`${i.value}`, "dark:base-dark"])
|
|
4477
4477
|
}, [
|
|
4478
4478
|
w("h3", null, [
|
|
4479
4479
|
v(f) ? R("", !0) : (_(), W(ne, {
|
|
@@ -4501,7 +4501,7 @@ const Ll = {
|
|
|
4501
4501
|
]),
|
|
4502
4502
|
a.value ? (_(), S("div", {
|
|
4503
4503
|
key: 1,
|
|
4504
|
-
class: G([s.value, "dark:
|
|
4504
|
+
class: G([s.value, "dark:base-dark"])
|
|
4505
4505
|
}, [
|
|
4506
4506
|
ye(b.$slots, "actions")
|
|
4507
4507
|
], 2)) : R("", !0)
|
|
@@ -4659,13 +4659,14 @@ const Ll = {
|
|
|
4659
4659
|
series: {},
|
|
4660
4660
|
options: {},
|
|
4661
4661
|
id: {},
|
|
4662
|
+
title: {},
|
|
4662
4663
|
center: { type: Boolean, default: !0 },
|
|
4663
4664
|
intentions: {},
|
|
4664
4665
|
hideIcon: { type: Boolean },
|
|
4665
4666
|
type: { default: "base" },
|
|
4666
4667
|
mandateLevel: {},
|
|
4667
4668
|
source: {},
|
|
4668
|
-
width: { default: "
|
|
4669
|
+
width: { default: "500" },
|
|
4669
4670
|
labels: { default: () => ({
|
|
4670
4671
|
dataNoDisponible: "Data no disponible"
|
|
4671
4672
|
}) }
|
|
@@ -4673,10 +4674,9 @@ const Ll = {
|
|
|
4673
4674
|
setup(t) {
|
|
4674
4675
|
const e = t, r = B(() => e.intentions ? Xe(e.intentions) ? e.intentions : Ke(e.intentions) : null), { center: u, series: a, source: n, options: i, width: s } = te(e);
|
|
4675
4676
|
return (o, d) => {
|
|
4676
|
-
var f, b;
|
|
4677
4677
|
const h = Yt("apexchart");
|
|
4678
4678
|
return _(), W(ze, {
|
|
4679
|
-
title:
|
|
4679
|
+
title: o.title,
|
|
4680
4680
|
type: o.type,
|
|
4681
4681
|
hideIcon: o.hideIcon,
|
|
4682
4682
|
icon: v(pl),
|
|
@@ -4763,7 +4763,7 @@ const Ll = {
|
|
|
4763
4763
|
enabled: !0,
|
|
4764
4764
|
formatter: function(d, h) {
|
|
4765
4765
|
let f = "";
|
|
4766
|
-
return h.w.globals.labels[h.dataPointIndex] && (f = h.w.globals.labels[h.dataPointIndex] + "
|
|
4766
|
+
return h.w.globals.labels[h.dataPointIndex] && (f = h.w.globals.labels[h.dataPointIndex] + " "), f + d;
|
|
4767
4767
|
},
|
|
4768
4768
|
dropShadow: {
|
|
4769
4769
|
enabled: !0
|
|
@@ -4904,7 +4904,7 @@ const Ll = {
|
|
|
4904
4904
|
fermer: "Fermer",
|
|
4905
4905
|
details: "détails",
|
|
4906
4906
|
lecture: "Lecture",
|
|
4907
|
-
card: "
|
|
4907
|
+
card: "Lecture",
|
|
4908
4908
|
Btb: "lire",
|
|
4909
4909
|
intentions: "Intentions de lecture"
|
|
4910
4910
|
}) }
|
|
@@ -5168,7 +5168,7 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5168
5168
|
return o.pages = e.pages, o.type = s, s === "clip" && (o.src = o.url), s === "website" && (o.href = o.url, o.label = o.title), s === "book" && e.pages && (o.intentions = e.pages, o.pages = null), o.version_link && (o.url = o.version_link.url), o;
|
|
5169
5169
|
}), u = (s) => {
|
|
5170
5170
|
const o = lu(s);
|
|
5171
|
-
return o.name === "EpNothing" ? S0(() => import("./EpNothing-
|
|
5171
|
+
return o.name === "EpNothing" ? S0(() => import("./EpNothing-DG4uHrcR.js")) : o.name === "EpReading" ? S0(() => import("./EpReading-CE2gINrm.js")) : S0(() => ou(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-RSrPtork.js"), "../basics/EpBtn.vue": () => import("./EpBtn-CI08Fkc-.js"), "../basics/EpCard.vue": () => import("./EpCard-BmYWCNC6.js"), "../basics/EpChip.vue": () => import("./EpChip-DYxrBk_j.js"), "../basics/EpDivider.vue": () => import("./EpDivider-C8eu7oo-.js"), "../basics/EpFlex.vue": () => import("./EpFlex-D3slIMIF.js"), "../basics/EpHover.vue": () => import("./EpHover-kZgJ2f1P.js"), "../basics/EpIcon.vue": () => import("./EpIcon-CTPp2iAz.js"), "../basics/EpImg.vue": () => import("./EpImg-PgXn_5PG.js"), "../basics/EpList.vue": () => import("./EpList-VmeDfvpc.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-DAc7gApp.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-Bs6k4L2I.js"), "../basics/EpTable.vue": () => import("./EpTable-CcPpxyTI.js"), "../basics/EpText.vue": () => import("./EpText-Div60TMB.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-BYviso9y.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-Bd6DcHXv.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-CuvzboxC.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-CDbVXeA9.js"), "./EpCodeblock.vue": () => import("./EpCodeblock-DX7H-PE3.js").then((d) => d.E), "./EpEdu.vue": () => import("./EpEdu-D3s7wgId.js"), "./EpReading.vue": () => import("./EpReading-CE2gINrm.js"), "./EpResource.vue": () => import("./EpResource-Co7Y4NBv.js"), "./EpScope.vue": () => import("./EpScope-BgReTGM3.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-BEcNn9JQ.js"), "../forms/EpRadio.vue": () => import("./EpRadio-C4i-6XLB.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-DcZ_SSed.js"), "../forms/EpSelect.vue": () => import("./EpSelect-Cm8AVg72.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-C7NMjBk9.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-D8UCQuga.js"), "../forms/EpToggle.vue": () => import("./EpToggle-BDp54LpY.js"), "../interactions/EpAccordeon.vue": () => Promise.resolve().then(() => iu), "../interactions/EpContentSlider.vue": () => import("./EpContentSlider-3W5NRtqY.js"), "../interactions/EpDarkmode.vue": () => import("./EpDarkmode-CVX7I7Oh.js"), "../interactions/EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "../interactions/EpModal.vue": () => import("./EpModal-DTKzIbiU.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-zXilF4UO.js"), "../interactions/EpSummativeTable.vue": () => import("./EpSummativeTable-R-a__jzb.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => cu), "../interactions/EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-CIh7P96j.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => du), "../medias/EpIframe.vue": () => import("./EpIframe-Bu6Shp40.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Fu), "../medias/EpLink.vue": () => import("./EpLink-t90xMdUk.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-DcLaAKcb.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-BRheqKDl.js"), "../medias/EpSvg.vue": () => import("./EpSvg-8H1LG5x_.js"), "../medias/EpTerm.vue": () => import("./EpTerm-CHal6ICj.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CcUqFqgj.js"), "../medias/EpVideo.vue": () => import("./EpVideo-Bk2ovJyj.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-gQgwEvaf.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-D81-AGFK.js"), "../signages/EpAlert.vue": () => import("./EpAlert-DLdxfnbh.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-LmfheLve.js"), "../signages/EpNothing.vue": () => import("./EpNothing-DG4uHrcR.js"), "../signages/EpQuote.vue": () => import("./EpQuote-BRWz5Gax.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-DTrfxnMN.js"), "../tools/BgAudio.vue": () => import("./BgAudio-D0bYt2vk.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-B_BDtSRL.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Bu), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Lu) }), `../${o.path}/${o.name}.vue`, 3));
|
|
5172
5172
|
}, { mandateLevel: a, type: n, pages: i } = te(e);
|
|
5173
5173
|
return (s, o) => (_(), W(Ht(u(r.value.type)), Bi({ ...r.value }, {
|
|
5174
5174
|
mandateLevel: v(a),
|
|
@@ -5198,10 +5198,10 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5198
5198
|
const e = t, r = ce(0), u = B(() => e.slides ? e.slides.length === 0 ? { title: e.labels.noData, img: "", uid: 2, content: "", component: null } : e.slides[r.value] : { title: e.labels.noData, img: "", uid: 2, content: "", component: null }), a = B(() => u.value.content.trim().length > 0), n = B(() => {
|
|
5199
5199
|
var b;
|
|
5200
5200
|
if (u.value.img)
|
|
5201
|
-
return S0(() => import("./EpImg-
|
|
5201
|
+
return S0(() => import("./EpImg-PgXn_5PG.js"));
|
|
5202
5202
|
if (u.value.component) {
|
|
5203
5203
|
const g = lu((b = u.value.component) == null ? void 0 : b.type);
|
|
5204
|
-
return S0(() => ou(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-
|
|
5204
|
+
return S0(() => ou(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-RSrPtork.js"), "../basics/EpBtn.vue": () => import("./EpBtn-CI08Fkc-.js"), "../basics/EpCard.vue": () => import("./EpCard-BmYWCNC6.js"), "../basics/EpChip.vue": () => import("./EpChip-DYxrBk_j.js"), "../basics/EpDivider.vue": () => import("./EpDivider-C8eu7oo-.js"), "../basics/EpFlex.vue": () => import("./EpFlex-D3slIMIF.js"), "../basics/EpHover.vue": () => import("./EpHover-kZgJ2f1P.js"), "../basics/EpIcon.vue": () => import("./EpIcon-CTPp2iAz.js"), "../basics/EpImg.vue": () => import("./EpImg-PgXn_5PG.js"), "../basics/EpList.vue": () => import("./EpList-VmeDfvpc.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-DAc7gApp.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-Bs6k4L2I.js"), "../basics/EpTable.vue": () => import("./EpTable-CcPpxyTI.js"), "../basics/EpText.vue": () => import("./EpText-Div60TMB.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-BYviso9y.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-Bd6DcHXv.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-CuvzboxC.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-CDbVXeA9.js"), "../educationals/EpCodeblock.vue": () => import("./EpCodeblock-DX7H-PE3.js").then((x) => x.E), "../educationals/EpEdu.vue": () => import("./EpEdu-D3s7wgId.js"), "../educationals/EpReading.vue": () => import("./EpReading-CE2gINrm.js"), "../educationals/EpResource.vue": () => import("./EpResource-Co7Y4NBv.js"), "../educationals/EpScope.vue": () => import("./EpScope-BgReTGM3.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-BEcNn9JQ.js"), "../forms/EpRadio.vue": () => import("./EpRadio-C4i-6XLB.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-DcZ_SSed.js"), "../forms/EpSelect.vue": () => import("./EpSelect-Cm8AVg72.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-C7NMjBk9.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-D8UCQuga.js"), "../forms/EpToggle.vue": () => import("./EpToggle-BDp54LpY.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => iu), "./EpContentSlider.vue": () => import("./EpContentSlider-3W5NRtqY.js"), "./EpDarkmode.vue": () => import("./EpDarkmode-CVX7I7Oh.js"), "./EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "./EpModal.vue": () => import("./EpModal-DTKzIbiU.js"), "./EpQuestion.vue": () => import("./EpQuestion-zXilF4UO.js"), "./EpSummativeTable.vue": () => import("./EpSummativeTable-R-a__jzb.js"), "./EpTabs.vue": () => Promise.resolve().then(() => cu), "./EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-CIh7P96j.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => du), "../medias/EpIframe.vue": () => import("./EpIframe-Bu6Shp40.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Fu), "../medias/EpLink.vue": () => import("./EpLink-t90xMdUk.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-DcLaAKcb.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-BRheqKDl.js"), "../medias/EpSvg.vue": () => import("./EpSvg-8H1LG5x_.js"), "../medias/EpTerm.vue": () => import("./EpTerm-CHal6ICj.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CcUqFqgj.js"), "../medias/EpVideo.vue": () => import("./EpVideo-Bk2ovJyj.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-gQgwEvaf.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-D81-AGFK.js"), "../signages/EpAlert.vue": () => import("./EpAlert-DLdxfnbh.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-LmfheLve.js"), "../signages/EpNothing.vue": () => import("./EpNothing-DG4uHrcR.js"), "../signages/EpQuote.vue": () => import("./EpQuote-BRWz5Gax.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-DTrfxnMN.js"), "../tools/BgAudio.vue": () => import("./BgAudio-D0bYt2vk.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-B_BDtSRL.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Bu), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Lu) }), `../${g.path}/${g.name}.vue`, 3));
|
|
5205
5205
|
}
|
|
5206
5206
|
return null;
|
|
5207
5207
|
}), i = B(() => r.value + 1 < e.slides.length), s = B(() => r.value + 1 > 1), o = () => {
|
|
@@ -5402,49 +5402,49 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5402
5402
|
props: {
|
|
5403
5403
|
type: { default: "base" },
|
|
5404
5404
|
title: { default: null },
|
|
5405
|
-
outlined: { type: Boolean
|
|
5405
|
+
outlined: { type: Boolean },
|
|
5406
5406
|
noIcon: { type: Boolean, default: !1 },
|
|
5407
5407
|
compact: { type: Boolean }
|
|
5408
5408
|
},
|
|
5409
5409
|
setup(t) {
|
|
5410
|
-
const e = t, r = B(() => e.outlined ? "default" : "outlined"),
|
|
5411
|
-
var
|
|
5412
|
-
return `${(
|
|
5413
|
-
}),
|
|
5414
|
-
let
|
|
5415
|
-
return e.noIcon ? null :
|
|
5416
|
-
}), { title:
|
|
5417
|
-
return (
|
|
5410
|
+
const e = t, r = B(() => !e.outlined), u = B(() => e.outlined ? "default" : "outlined"), a = B(() => typeof e.type == "object" ? e.type.type : e.type), n = B(() => {
|
|
5411
|
+
var h;
|
|
5412
|
+
return `${(h = U2[a.value]) == null ? void 0 : h[u.value]}`;
|
|
5413
|
+
}), i = B(() => {
|
|
5414
|
+
let h = Z2[a.value].icon;
|
|
5415
|
+
return e.noIcon ? null : h;
|
|
5416
|
+
}), { title: s, compact: o, outlined: d } = te(e);
|
|
5417
|
+
return (h, f) => v(o) ? (_(), W(nu, {
|
|
5418
5418
|
key: 1,
|
|
5419
|
-
type:
|
|
5420
|
-
outlined:
|
|
5421
|
-
icon:
|
|
5422
|
-
title: v(
|
|
5419
|
+
type: a.value,
|
|
5420
|
+
outlined: r.value,
|
|
5421
|
+
icon: i.value,
|
|
5422
|
+
title: v(s)
|
|
5423
5423
|
}, {
|
|
5424
5424
|
default: V(() => [
|
|
5425
|
-
ye(
|
|
5425
|
+
ye(h.$slots, "default")
|
|
5426
5426
|
]),
|
|
5427
5427
|
_: 3
|
|
5428
5428
|
}, 8, ["type", "outlined", "icon", "title"])) : (_(), S("div", {
|
|
5429
5429
|
key: 0,
|
|
5430
|
-
class: G(`flex p-4 rounded shadow-md m-2 ${
|
|
5430
|
+
class: G(`flex p-4 rounded shadow-md m-2 ${n.value}`)
|
|
5431
5431
|
}, [
|
|
5432
|
-
|
|
5432
|
+
i.value ? (_(), S("div", W2, [
|
|
5433
5433
|
U(ne, {
|
|
5434
5434
|
size: 40,
|
|
5435
|
-
"icon-path":
|
|
5435
|
+
"icon-path": i.value
|
|
5436
5436
|
}, null, 8, ["icon-path"])
|
|
5437
5437
|
])) : R("", !0),
|
|
5438
5438
|
w("div", {
|
|
5439
|
-
class: G(`${
|
|
5439
|
+
class: G(`${i.value ? "w-11/12" : "w-full"} flex items-center`)
|
|
5440
5440
|
}, [
|
|
5441
5441
|
w("div", X2, [
|
|
5442
|
-
v(
|
|
5443
|
-
v(
|
|
5442
|
+
v(s) ? (_(), S("h3", Y2, L(v(s)), 1)) : R("", !0),
|
|
5443
|
+
v(s) ? (_(), W(W0, {
|
|
5444
5444
|
key: 1,
|
|
5445
5445
|
size: "border"
|
|
5446
5446
|
})) : R("", !0),
|
|
5447
|
-
ye(
|
|
5447
|
+
ye(h.$slots, "default")
|
|
5448
5448
|
])
|
|
5449
5449
|
], 2)
|
|
5450
5450
|
], 2));
|
|
@@ -5470,9 +5470,9 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5470
5470
|
numeration: { type: Boolean, default: !1 },
|
|
5471
5471
|
src: {},
|
|
5472
5472
|
labels: { default: () => ({
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5473
|
+
answer: "Veuillez choisir une réponse",
|
|
5474
|
+
validate: "Valider",
|
|
5475
|
+
tryagain: "Réessayer"
|
|
5476
5476
|
}) }
|
|
5477
5477
|
},
|
|
5478
5478
|
setup(t) {
|
|
@@ -5499,7 +5499,7 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5499
5499
|
});
|
|
5500
5500
|
const b = (D) => {
|
|
5501
5501
|
const z = lu(D);
|
|
5502
|
-
return z.name === "EpNothing" ? S0(() => import("./EpNothing-
|
|
5502
|
+
return z.name === "EpNothing" ? S0(() => import("./EpNothing-DG4uHrcR.js")) : S0(() => ou(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-Dmpg0PFj.js"), "../basics/EpBadge.vue": () => import("./EpBadge-RSrPtork.js"), "../basics/EpBtn.vue": () => import("./EpBtn-CI08Fkc-.js"), "../basics/EpCard.vue": () => import("./EpCard-BmYWCNC6.js"), "../basics/EpChip.vue": () => import("./EpChip-DYxrBk_j.js"), "../basics/EpDivider.vue": () => import("./EpDivider-C8eu7oo-.js"), "../basics/EpFlex.vue": () => import("./EpFlex-D3slIMIF.js"), "../basics/EpHover.vue": () => import("./EpHover-kZgJ2f1P.js"), "../basics/EpIcon.vue": () => import("./EpIcon-CTPp2iAz.js"), "../basics/EpImg.vue": () => import("./EpImg-PgXn_5PG.js"), "../basics/EpList.vue": () => import("./EpList-VmeDfvpc.js"), "../basics/EpListitem.vue": () => import("./EpListitem-DzQrc-k2.js"), "../basics/EpSection.vue": () => import("./EpSection-DAc7gApp.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-Bs6k4L2I.js"), "../basics/EpTable.vue": () => import("./EpTable-CcPpxyTI.js"), "../basics/EpText.vue": () => import("./EpText-Div60TMB.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-BYviso9y.js"), "../charts/EpFunnelChart.vue": () => import("./EpFunnelChart-Bd6DcHXv.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-CuvzboxC.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-CDbVXeA9.js"), "../educationals/EpCodeblock.vue": () => import("./EpCodeblock-DX7H-PE3.js").then((F) => F.E), "../educationals/EpEdu.vue": () => import("./EpEdu-D3s7wgId.js"), "../educationals/EpReading.vue": () => import("./EpReading-CE2gINrm.js"), "../educationals/EpResource.vue": () => import("./EpResource-Co7Y4NBv.js"), "../educationals/EpScope.vue": () => import("./EpScope-BgReTGM3.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-BtJRFbS_.js"), "../forms/EpInput.vue": () => import("./EpInput-BEcNn9JQ.js"), "../forms/EpRadio.vue": () => import("./EpRadio-C4i-6XLB.js"), "../forms/EpRadioSummative.vue": () => import("./EpRadioSummative-DcZ_SSed.js"), "../forms/EpSelect.vue": () => import("./EpSelect-Cm8AVg72.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-C7NMjBk9.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-D8UCQuga.js"), "../forms/EpToggle.vue": () => import("./EpToggle-BDp54LpY.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => iu), "./EpContentSlider.vue": () => import("./EpContentSlider-3W5NRtqY.js"), "./EpDarkmode.vue": () => import("./EpDarkmode-CVX7I7Oh.js"), "./EpHotsPot.vue": () => import("./EpHotsPot-DFz_Du9o.js"), "./EpModal.vue": () => import("./EpModal-DTKzIbiU.js"), "./EpQuestion.vue": () => import("./EpQuestion-zXilF4UO.js"), "./EpSummativeTable.vue": () => import("./EpSummativeTable-R-a__jzb.js"), "./EpTabs.vue": () => Promise.resolve().then(() => cu), "./EpTooltip.vue": () => import("./EpTooltip-B4s0_PvZ.js"), "../medias/EpAudio.vue": () => import("./EpAudio-CIh7P96j.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => du), "../medias/EpIframe.vue": () => import("./EpIframe-Bu6Shp40.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Fu), "../medias/EpLink.vue": () => import("./EpLink-t90xMdUk.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-DcLaAKcb.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-BRheqKDl.js"), "../medias/EpSvg.vue": () => import("./EpSvg-8H1LG5x_.js"), "../medias/EpTerm.vue": () => import("./EpTerm-CHal6ICj.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-CcUqFqgj.js"), "../medias/EpVideo.vue": () => import("./EpVideo-Bk2ovJyj.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-gQgwEvaf.js"), "../medias/EpWordDef.vue": () => import("./EpWordDef-D81-AGFK.js"), "../signages/EpAlert.vue": () => import("./EpAlert-DLdxfnbh.js"), "../signages/EpBadge.vue": () => import("./EpBadge-DqmSNdbi.js"), "../signages/EpHeader.vue": () => import("./EpHeader-LmfheLve.js"), "../signages/EpNothing.vue": () => import("./EpNothing-DG4uHrcR.js"), "../signages/EpQuote.vue": () => import("./EpQuote-BRWz5Gax.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-DTrfxnMN.js"), "../tools/BgAudio.vue": () => import("./BgAudio-D0bYt2vk.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-B_BDtSRL.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Bu), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Lu) }), `../${z.path}/${z.name}.vue`, 3));
|
|
5503
5503
|
}, { title: g, intentions: x, hideIcon: A, question: M, src: T } = te(e);
|
|
5504
5504
|
return (D, z) => (_(), W(ze, {
|
|
5505
5505
|
title: v(g),
|
|
@@ -5547,7 +5547,7 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5547
5547
|
noIcon: ""
|
|
5548
5548
|
}, {
|
|
5549
5549
|
default: V(() => [
|
|
5550
|
-
ie(L(D.labels.
|
|
5550
|
+
ie(L(D.labels.answer), 1)
|
|
5551
5551
|
]),
|
|
5552
5552
|
_: 1
|
|
5553
5553
|
}))
|
|
@@ -5576,7 +5576,7 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5576
5576
|
extraClass: "mr-2"
|
|
5577
5577
|
}, {
|
|
5578
5578
|
default: V(() => [
|
|
5579
|
-
ie(L(D.labels.
|
|
5579
|
+
ie(L(D.labels.validate), 1)
|
|
5580
5580
|
]),
|
|
5581
5581
|
_: 1
|
|
5582
5582
|
}, 8, ["type", "disabled"]),
|
|
@@ -5587,7 +5587,7 @@ const Z5 = /* @__PURE__ */ J({
|
|
|
5587
5587
|
outlined: ""
|
|
5588
5588
|
}, {
|
|
5589
5589
|
default: V(() => [
|
|
5590
|
-
ie(L(D.labels.
|
|
5590
|
+
ie(L(D.labels.tryagain), 1)
|
|
5591
5591
|
]),
|
|
5592
5592
|
_: 1
|
|
5593
5593
|
}, 8, ["type"])) : R("", !0)
|
|
@@ -17690,13 +17690,14 @@ const O3 = ["innerHTML"], P3 = /* @__PURE__ */ J({
|
|
|
17690
17690
|
type: {},
|
|
17691
17691
|
link: {},
|
|
17692
17692
|
big: { type: Boolean, default: !1 },
|
|
17693
|
+
customHeight: {},
|
|
17693
17694
|
labels: { default: () => ({
|
|
17694
17695
|
noData: "no data"
|
|
17695
17696
|
}) }
|
|
17696
17697
|
},
|
|
17697
17698
|
setup(t) {
|
|
17698
|
-
const e = t, { type: r, link: u, big: a } = te(e);
|
|
17699
|
-
return (
|
|
17699
|
+
const e = t, { type: r, link: u, big: a, customHeight: n } = te(e);
|
|
17700
|
+
return (i, s) => v(r) === "button" ? (_(), S("div", Y3, [
|
|
17700
17701
|
U(X3, {
|
|
17701
17702
|
title: v(u).title,
|
|
17702
17703
|
url: v(u).url
|
|
@@ -17705,9 +17706,10 @@ const O3 = ["innerHTML"], P3 = /* @__PURE__ */ J({
|
|
|
17705
17706
|
U(Pd, {
|
|
17706
17707
|
title: v(u).title,
|
|
17707
17708
|
src: v(u).url,
|
|
17708
|
-
big: v(a)
|
|
17709
|
-
|
|
17710
|
-
|
|
17709
|
+
big: v(a),
|
|
17710
|
+
"custom-height": v(n)
|
|
17711
|
+
}, null, 8, ["title", "src", "big", "custom-height"])
|
|
17712
|
+
])) : (_(), S("div", Q3, L(i.labels.noData), 1));
|
|
17711
17713
|
}
|
|
17712
17714
|
}), J3 = ["innerHTML"], e6 = { class: "flex flex-col items-center border rounded-lg bg-neutral-100 md:flex-row mt-2 dark:bg-neutral-200" }, t6 = ["src", "alt"], r6 = {
|
|
17713
17715
|
key: 1,
|
|
@@ -17727,7 +17729,7 @@ const O3 = ["innerHTML"], P3 = /* @__PURE__ */ J({
|
|
|
17727
17729
|
hideIcon: { type: Boolean, default: !1 },
|
|
17728
17730
|
labelCard: {},
|
|
17729
17731
|
labels: { default: () => ({
|
|
17730
|
-
acceder: "
|
|
17732
|
+
acceder: "Accéder au logiciel"
|
|
17731
17733
|
}) }
|
|
17732
17734
|
},
|
|
17733
17735
|
setup(t) {
|
|
@@ -18201,7 +18203,7 @@ const O3 = ["innerHTML"], P3 = /* @__PURE__ */ J({
|
|
|
18201
18203
|
return `https://www.youtube.com/embed/${b}`;
|
|
18202
18204
|
}
|
|
18203
18205
|
return f;
|
|
18204
|
-
}), n = B(() => e.
|
|
18206
|
+
}), n = B(() => e.intentions ? Xe(e.intentions) ? e.intentions : Ke(e.intentions) : null), i = (f) => {
|
|
18205
18207
|
const b = f.match(/\/([^\/]+)$/);
|
|
18206
18208
|
return b ? b[1] : null;
|
|
18207
18209
|
}, { src: s, title: o, hideIcon: d, type: h } = te(e);
|
|
@@ -18302,8 +18304,7 @@ const O3 = ["innerHTML"], P3 = /* @__PURE__ */ J({
|
|
|
18302
18304
|
domain: "Domaine",
|
|
18303
18305
|
relations: "Relations",
|
|
18304
18306
|
definition: "La definition n'est pas disponible",
|
|
18305
|
-
variations: "Variation(s)"
|
|
18306
|
-
imageDuTerme: "Image du terme "
|
|
18307
|
+
variations: "Variation(s)"
|
|
18307
18308
|
}) }
|
|
18308
18309
|
},
|
|
18309
18310
|
setup(t) {
|
|
@@ -18348,7 +18349,7 @@ const O3 = ["innerHTML"], P3 = /* @__PURE__ */ J({
|
|
|
18348
18349
|
w("img", {
|
|
18349
18350
|
class: "h-60",
|
|
18350
18351
|
src: r.value.img,
|
|
18351
|
-
alt:
|
|
18352
|
+
alt: `Image du terme ${r.value.term}`
|
|
18352
18353
|
}, null, 8, a5)
|
|
18353
18354
|
])) : (_(), S("div", {
|
|
18354
18355
|
key: 0,
|
package/package.json
CHANGED
|
@@ -37,9 +37,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
37
37
|
sizeThumbnail:"medium",
|
|
38
38
|
labels:()=>{
|
|
39
39
|
return {
|
|
40
|
-
reference: "
|
|
40
|
+
reference: "Référence",
|
|
41
41
|
fermer:"Fermer",
|
|
42
|
-
referenceLibrary:"
|
|
42
|
+
referenceLibrary:"Référence bibliographique"
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
})
|
|
@@ -134,7 +134,7 @@ const { src, alt, title, caption, thumbnail, bib, sizeThumbnail } = toRefs(props
|
|
|
134
134
|
</div>
|
|
135
135
|
<!-- <div class="flex justify-end"><EpBtn @click="toggleModal" size="small" type="error" outlined>Fermer</EpBtn></div> -->
|
|
136
136
|
</EpModal>
|
|
137
|
-
<EpModal v-model="showBib" title="labels.referenceLibrary">
|
|
137
|
+
<EpModal v-model="showBib" :title="labels.referenceLibrary">
|
|
138
138
|
|
|
139
139
|
<div class="text-gray-700 mt-4" v-html="renderBib"></div>
|
|
140
140
|
<div class="flex justify-end"><EpBtn @click="toggleBib" size="small" type="error" outlined>{{labels.fermer}}</EpBtn></div>
|
|
@@ -85,7 +85,7 @@ const optionsFunnel = computed(()=> {
|
|
|
85
85
|
formatter: function (val:string, opt:OptionsFormmater) {
|
|
86
86
|
let label = ''
|
|
87
87
|
if(opt.w.globals.labels[opt.dataPointIndex]){
|
|
88
|
-
label = opt.w.globals.labels[opt.dataPointIndex] + '
|
|
88
|
+
label = opt.w.globals.labels[opt.dataPointIndex] + ' '
|
|
89
89
|
}
|
|
90
90
|
return label + val
|
|
91
91
|
},
|
|
@@ -27,6 +27,7 @@ interface Props {
|
|
|
27
27
|
series: number[];
|
|
28
28
|
options: OptionsPieChart;
|
|
29
29
|
id?: string;
|
|
30
|
+
title?:string;
|
|
30
31
|
center?: boolean;
|
|
31
32
|
intentions?: string;
|
|
32
33
|
hideIcon?: boolean;
|
|
@@ -42,7 +43,7 @@ interface Props {
|
|
|
42
43
|
const props = withDefaults(defineProps<Props>(), {
|
|
43
44
|
center: true,
|
|
44
45
|
type:'base',
|
|
45
|
-
width:"
|
|
46
|
+
width:"500",
|
|
46
47
|
labels:()=>{
|
|
47
48
|
return {
|
|
48
49
|
dataNoDisponible:"Data no disponible"
|
|
@@ -68,7 +69,8 @@ const { center, series, source, options, width } = toRefs(props)
|
|
|
68
69
|
</script>
|
|
69
70
|
|
|
70
71
|
<template>
|
|
71
|
-
<EpEdu :title="
|
|
72
|
+
<EpEdu :title="title" :type="type" :hideIcon="hideIcon" :icon="mdiChartPie" :mandateLevel="mandateLevel">
|
|
73
|
+
|
|
72
74
|
<template #intentions v-if="renderText">
|
|
73
75
|
|
|
74
76
|
<div v-html="renderText"></div>
|
|
@@ -84,12 +84,12 @@ const { title, hideIcon } = toRefs(props);
|
|
|
84
84
|
|
|
85
85
|
<template>
|
|
86
86
|
<div :class="containerStyle">
|
|
87
|
-
<div :class="`${topBarStyle}`" class="dark:
|
|
87
|
+
<div :class="`${topBarStyle}`" class="dark:base-dark" v-if="title || mandateLevel">
|
|
88
88
|
<!-- <EpIcon :size="24" :icon-path="mdiBookOpenVariant"></EpIcon> -->
|
|
89
89
|
<h3><EpIcon v-if="!hideIcon" :iconPath="renderIcon" size="24"></EpIcon> <span class="font-bold align-middle">{{ title }}</span></h3>
|
|
90
90
|
<EpScope v-if="mandateLevel" :title="renderMandateLevel"></EpScope>
|
|
91
91
|
</div>
|
|
92
|
-
<div class="px-5 dark:
|
|
92
|
+
<div class="px-5 dark:base-dark">
|
|
93
93
|
<div class="py-2" v-if="hasIntentions">
|
|
94
94
|
<!-- <EpIcon :size="24" :icon-path="mdiInformationOutline"></EpIcon> -->
|
|
95
95
|
<h4 class="font-semibold mb-2 text-sm uppercase tracking-wide text-gray-500">
|
|
@@ -102,7 +102,7 @@ const { title, hideIcon } = toRefs(props);
|
|
|
102
102
|
<slot name="content"></slot>
|
|
103
103
|
</div>
|
|
104
104
|
</div>
|
|
105
|
-
<div :class="bottomBarStyle" class="dark:
|
|
105
|
+
<div :class="bottomBarStyle" class="dark:base-dark" v-if="hasActions">
|
|
106
106
|
<slot name="actions"></slot>
|
|
107
107
|
</div>
|
|
108
108
|
</div>
|
|
@@ -27,9 +27,9 @@ interface Props {
|
|
|
27
27
|
numeration?: boolean;
|
|
28
28
|
src?: string | null;
|
|
29
29
|
labels?:{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
answer?:string;
|
|
31
|
+
validate?:string;
|
|
32
|
+
tryagain?:string;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -41,9 +41,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
41
41
|
numeration: false,
|
|
42
42
|
labels:()=>{
|
|
43
43
|
return {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
answer:"Veuillez choisir une réponse",
|
|
45
|
+
validate : "Valider",
|
|
46
|
+
tryagain: "Réessayer"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
});
|
|
@@ -160,7 +160,7 @@ const { title, intentions, hideIcon, question, src } = toRefs(props);
|
|
|
160
160
|
</li>
|
|
161
161
|
</ol>
|
|
162
162
|
<EpAlert type="error" outlined noIcon v-if="!valid">
|
|
163
|
-
{{labels.
|
|
163
|
+
{{labels.answer}}
|
|
164
164
|
</EpAlert>
|
|
165
165
|
</div>
|
|
166
166
|
|
|
@@ -180,9 +180,9 @@ const { title, intentions, hideIcon, question, src } = toRefs(props);
|
|
|
180
180
|
:disabled="answered"
|
|
181
181
|
outlined
|
|
182
182
|
extraClass="mr-2"
|
|
183
|
-
>{{labels.
|
|
183
|
+
>{{labels.validate}}</EpBtn
|
|
184
184
|
>
|
|
185
|
-
<EpBtn :type="type" v-if="answered" @click="reset" outlined>{{labels.
|
|
185
|
+
<EpBtn :type="type" v-if="answered" @click="reset" outlined>{{labels.tryagain}}</EpBtn>
|
|
186
186
|
</div>
|
|
187
187
|
</template>
|
|
188
188
|
<!-- <template #actions>
|
|
@@ -16,6 +16,7 @@ interface Props{
|
|
|
16
16
|
type:TypeLink;
|
|
17
17
|
link:Link;
|
|
18
18
|
big?:boolean;
|
|
19
|
+
customHeight?:number;
|
|
19
20
|
labels?:{
|
|
20
21
|
noData?:string;
|
|
21
22
|
}
|
|
@@ -30,7 +31,7 @@ const props = withDefaults(defineProps<Props>(),{
|
|
|
30
31
|
}
|
|
31
32
|
})
|
|
32
33
|
|
|
33
|
-
const {type, link, big} = toRefs(props)
|
|
34
|
+
const {type, link, big, customHeight} = toRefs(props)
|
|
34
35
|
|
|
35
36
|
</script>
|
|
36
37
|
|
|
@@ -39,7 +40,7 @@ const {type, link, big} = toRefs(props)
|
|
|
39
40
|
<EpLink :title="link.title" :url="link.url"></EpLink>
|
|
40
41
|
</div>
|
|
41
42
|
<div v-else-if="type === 'iframe'">
|
|
42
|
-
<EpIframe :title="link.title" :src="link.url" :big="big"></EpIframe>
|
|
43
|
+
<EpIframe :title="link.title" :src="link.url" :big="big" :custom-height="customHeight"></EpIframe>
|
|
43
44
|
</div>
|
|
44
45
|
<div v-else>
|
|
45
46
|
{{labels.noData}}
|
|
@@ -62,13 +62,13 @@ const videoURL = computed(()=> {
|
|
|
62
62
|
})
|
|
63
63
|
|
|
64
64
|
const renderText = computed(()=>{
|
|
65
|
-
if(!props.
|
|
65
|
+
if(!props.intentions){
|
|
66
66
|
return null
|
|
67
67
|
}
|
|
68
|
-
if(!isHtml(props.
|
|
69
|
-
return useMarkdown(props.
|
|
68
|
+
if(!isHtml(props.intentions)){
|
|
69
|
+
return useMarkdown(props.intentions)
|
|
70
70
|
}
|
|
71
|
-
return props.
|
|
71
|
+
return props.intentions
|
|
72
72
|
})
|
|
73
73
|
|
|
74
74
|
const getIdYoutube = (url:string):string|null => {
|
|
@@ -16,8 +16,7 @@ interface Props {
|
|
|
16
16
|
domain?:string;
|
|
17
17
|
relations?: string;
|
|
18
18
|
definition?:string;
|
|
19
|
-
variations?:string;
|
|
20
|
-
imageDuTerme?:string;
|
|
19
|
+
variations?:string;
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -29,8 +28,7 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
29
28
|
domain:"Domaine",
|
|
30
29
|
relations:"Relations" ,
|
|
31
30
|
definition:"La definition n'est pas disponible",
|
|
32
|
-
variations:"Variation(s)"
|
|
33
|
-
imageDuTerme:"Image du terme "
|
|
31
|
+
variations:"Variation(s)"
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
34
|
});
|
|
@@ -113,7 +111,7 @@ const goto = (term:string) =>{
|
|
|
113
111
|
<template v-else>
|
|
114
112
|
<div class="flex">
|
|
115
113
|
<div class="px-2 py-6" v-html="useRenderText(definition.definition)"></div>
|
|
116
|
-
<img class="h-60" :src="definition.img" :alt="
|
|
114
|
+
<img class="h-60" :src="definition.img" :alt="`Image du terme ${definition.term}`" />
|
|
117
115
|
</div>
|
|
118
116
|
</template>
|
|
119
117
|
|