ep-lib-ts 0.1.34 → 0.1.35
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-a228cf2d.js → BgAudio-bf61de51.js} +1 -1
- package/dist/{DisplayBox-0b5dad43.js → DisplayBox-89b549f2.js} +1 -1
- package/dist/{EpAlert-6989df03.js → EpAlert-97de6de7.js} +1 -1
- package/dist/{EpAudio-ebe996a9.js → EpAudio-9ab815f1.js} +1 -1
- package/dist/EpBadge-dd8e857c.js +6 -0
- package/dist/{EpBarChart-52c346de.js → EpBarChart-0bbf2ef2.js} +1 -1
- package/dist/EpBtn-18387d10.js +6 -0
- package/dist/EpCard-31f18d9b.js +6 -0
- package/dist/EpChip-32ef487d.js +6 -0
- package/dist/EpContentSlider-d64d71f8.js +6 -0
- package/dist/EpDivider-233fb36b.js +6 -0
- package/dist/{EpEdu-ce928b82.js → EpEdu-5f3c59a4.js} +1 -1
- package/dist/EpFlex-eeda64e3.js +6 -0
- package/dist/EpHeader-333e073c.js +6 -0
- package/dist/{EpIcon-4f8bc342.js → EpIcon-3d10cc80.js} +1 -1
- package/dist/EpIframe-2ffab515.js +6 -0
- package/dist/EpImg-f1ed48bc.js +6 -0
- package/dist/{EpInput-c8787b2d.js → EpInput-8b77b684.js} +1 -1
- package/dist/EpLineChart-07cccc87.js +6 -0
- package/dist/EpLink-4ebb0f75.js +6 -0
- package/dist/EpLinkVersion-9504b6f0.js +6 -0
- package/dist/{EpList-a99a3dd0.js → EpList-d8433794.js} +1 -1
- package/dist/{EpListitem-457e39b7.js → EpListitem-aa4a0f95.js} +6 -6
- package/dist/EpModal-e17bd732.js +6 -0
- package/dist/{EpNothing-acde1df4.js → EpNothing-30ef41e6.js} +1 -1
- package/dist/EpPieChart-7b5c7d64.js +6 -0
- package/dist/EpQuestion-90a88ae5.js +6 -0
- package/dist/EpQuote-26dbbb13.js +6 -0
- package/dist/EpRadio-6eddd7b3.js +6 -0
- package/dist/EpReading-b9565583.js +6 -0
- package/dist/EpResource-8302d3d8.js +6 -0
- package/dist/{EpScope-3d80861f.js → EpScope-b84566a4.js} +1 -1
- package/dist/EpSection-ddd3a8b3.js +6 -0
- package/dist/{EpSelect-6089fdcb.js → EpSelect-63be92d8.js} +1 -1
- package/dist/EpSkeleton-1c722632.js +6 -0
- package/dist/EpSoftware-80fc1d51.js +6 -0
- package/dist/EpSpinner-55270b38.js +6 -0
- package/dist/EpSvg-89224f2a.js +6 -0
- package/dist/EpSwitch-9feee893.js +64 -0
- package/dist/EpTable-934c61e4.js +6 -0
- package/dist/EpTerm-cc9dc6c5.js +6 -0
- package/dist/EpText-f2758226.js +6 -0
- package/dist/EpTimeLine-94895947.js +6 -0
- package/dist/EpVideo-a581818c.js +6 -0
- package/dist/EpVideoPanopto-3681c5d8.js +6 -0
- package/dist/components/forms/EpSwitch.vue.d.ts +7 -10
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +11 -8
- package/dist/{index-90cd7bf2.js → index-fbf251b4.js} +8 -8
- package/dist/types/Switch.d.ts +11 -0
- package/package.json +1 -1
- package/src/components/basics/EpListitem.vue +1 -1
- package/src/components/forms/EpSwitch.vue +36 -26
- package/src/components/interactions/EpQuestion.vue +1 -1
- package/src/components/signages/EpHeader.vue +3 -3
- package/dist/EpBadge-de5e90c5.js +0 -6
- package/dist/EpBtn-255af003.js +0 -6
- package/dist/EpCard-6dc99a29.js +0 -6
- package/dist/EpChip-ecaf5fdd.js +0 -6
- package/dist/EpContentSlider-67ee8ff1.js +0 -6
- package/dist/EpDivider-399403ef.js +0 -6
- package/dist/EpFlex-ab0b2002.js +0 -6
- package/dist/EpHeader-c1f58215.js +0 -6
- package/dist/EpIframe-c1451be2.js +0 -6
- package/dist/EpImg-6068534f.js +0 -6
- package/dist/EpLineChart-740ffcc2.js +0 -6
- package/dist/EpLink-2414e304.js +0 -6
- package/dist/EpLinkVersion-43c07ab6.js +0 -6
- package/dist/EpModal-ef8a63d2.js +0 -6
- package/dist/EpPieChart-9dcb459f.js +0 -6
- package/dist/EpQuestion-aaa1f8bb.js +0 -6
- package/dist/EpQuote-5b4015f4.js +0 -6
- package/dist/EpRadio-227b82c2.js +0 -6
- package/dist/EpReading-58b135fb.js +0 -6
- package/dist/EpResource-10cc639f.js +0 -6
- package/dist/EpSection-f6695955.js +0 -6
- package/dist/EpSkeleton-0827c884.js +0 -6
- package/dist/EpSoftware-1f53d7fb.js +0 -6
- package/dist/EpSpinner-7f89aad2.js +0 -6
- package/dist/EpSvg-5d7df4f2.js +0 -6
- package/dist/EpSwitch-005fe90a.js +0 -47
- package/dist/EpTable-c8f1f97d.js +0 -6
- package/dist/EpTerm-3d4f8bd2.js +0 -6
- package/dist/EpText-9f05234d.js +0 -6
- package/dist/EpTimeLine-49b8ac13.js +0 -6
- package/dist/EpVideo-37c08690.js +0 -6
- package/dist/EpVideoPanopto-bd41e61d.js +0 -6
|
@@ -4648,7 +4648,7 @@ const jt = (r, e) => {
|
|
|
4648
4648
|
}), s = () => {
|
|
4649
4649
|
const a = {
|
|
4650
4650
|
components: {
|
|
4651
|
-
epterm: Ct(() => import("./EpTerm-
|
|
4651
|
+
epterm: Ct(() => import("./EpTerm-cc9dc6c5.js"))
|
|
4652
4652
|
},
|
|
4653
4653
|
template: `${n.value}`
|
|
4654
4654
|
};
|
|
@@ -6198,7 +6198,7 @@ const lW = /* @__PURE__ */ te({
|
|
|
6198
6198
|
return l.pages = e.pages, l.type = i, i === "clip" && (l.src = l.url), i === "website" && (l.href = l.url, l.label = l.title, l.title = null), i === "book" && e.pages && (l.intentions = e.pages, l.pages = null), l.version_link && (l.url = l.version_link.url), l;
|
|
6199
6199
|
}), n = (i) => {
|
|
6200
6200
|
const l = gn(i);
|
|
6201
|
-
return l.name === "EpNothing" ? Ct(() => import("./EpNothing-
|
|
6201
|
+
return l.name === "EpNothing" ? Ct(() => import("./EpNothing-30ef41e6.js")) : l.name === "EpReading" ? Ct(() => import("./EpReading-b9565583.js")) : Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-dd8e857c.js"), "../basics/EpBtn.vue": () => import("./EpBtn-18387d10.js"), "../basics/EpCard.vue": () => import("./EpCard-31f18d9b.js"), "../basics/EpChip.vue": () => import("./EpChip-32ef487d.js"), "../basics/EpDivider.vue": () => import("./EpDivider-233fb36b.js"), "../basics/EpFlex.vue": () => import("./EpFlex-eeda64e3.js"), "../basics/EpIcon.vue": () => import("./EpIcon-3d10cc80.js"), "../basics/EpImg.vue": () => import("./EpImg-f1ed48bc.js"), "../basics/EpList.vue": () => import("./EpList-d8433794.js"), "../basics/EpListitem.vue": () => import("./EpListitem-aa4a0f95.js"), "../basics/EpSection.vue": () => import("./EpSection-ddd3a8b3.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-55270b38.js"), "../basics/EpTable.vue": () => import("./EpTable-934c61e4.js"), "../basics/EpText.vue": () => import("./EpText-f2758226.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-0bbf2ef2.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-07cccc87.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-7b5c7d64.js"), "./EpEdu.vue": () => import("./EpEdu-5f3c59a4.js"), "./EpReading.vue": () => import("./EpReading-b9565583.js"), "./EpResource.vue": () => import("./EpResource-8302d3d8.js"), "./EpScope.vue": () => import("./EpScope-b84566a4.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-8b77b684.js"), "../forms/EpRadio.vue": () => import("./EpRadio-6eddd7b3.js"), "../forms/EpSelect.vue": () => import("./EpSelect-63be92d8.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-9feee893.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "../interactions/EpAccordeon.vue": () => Promise.resolve().then(() => pn), "../interactions/EpContentSlider.vue": () => import("./EpContentSlider-d64d71f8.js"), "../interactions/EpModal.vue": () => import("./EpModal-e17bd732.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-90a88ae5.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => bn), "../interactions/EpTooltip.vue": () => import("./EpTooltip-05e1d8fe.js"), "../medias/EpAudio.vue": () => import("./EpAudio-9ab815f1.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => yn), "../medias/EpIframe.vue": () => import("./EpIframe-2ffab515.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Nn), "../medias/EpLink.vue": () => import("./EpLink-4ebb0f75.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-9504b6f0.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-80fc1d51.js"), "../medias/EpSvg.vue": () => import("./EpSvg-89224f2a.js"), "../medias/EpTerm.vue": () => import("./EpTerm-cc9dc6c5.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-94895947.js"), "../medias/EpVideo.vue": () => import("./EpVideo-a581818c.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-3681c5d8.js"), "../signages/EpAlert.vue": () => import("./EpAlert-97de6de7.js"), "../signages/EpBadge.vue": () => import("./EpBadge-f5faab43.js"), "../signages/EpHeader.vue": () => import("./EpHeader-333e073c.js"), "../signages/EpNothing.vue": () => import("./EpNothing-30ef41e6.js"), "../signages/EpQuote.vue": () => import("./EpQuote-26dbbb13.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-1c722632.js"), "../tools/BgAudio.vue": () => import("./BgAudio-bf61de51.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-89b549f2.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => On), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Vn) }), `../${l.path}/${l.name}.vue`));
|
|
6202
6202
|
}, { mandateLevel: s, type: o, pages: a } = ae(e);
|
|
6203
6203
|
return (i, l) => (S(), K(Br(n(t.value.type)), bo({ ...t.value }, {
|
|
6204
6204
|
mandateLevel: b(s),
|
|
@@ -6221,10 +6221,10 @@ const lW = /* @__PURE__ */ te({
|
|
|
6221
6221
|
const e = r, t = ye(0), n = I(() => e.slides ? e.slides.length === 0 ? { title: "no data", img: "", uid: 2, content: "" } : e.slides[t.value] : { title: "no data", img: "", uid: 2, content: "" }), s = I(() => {
|
|
6222
6222
|
var m;
|
|
6223
6223
|
if (n.value.img)
|
|
6224
|
-
return Ct(() => import("./EpImg-
|
|
6224
|
+
return Ct(() => import("./EpImg-f1ed48bc.js"));
|
|
6225
6225
|
if (n.value.component) {
|
|
6226
6226
|
const f = gn((m = n.value.component) == null ? void 0 : m.type);
|
|
6227
|
-
return Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-
|
|
6227
|
+
return Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-dd8e857c.js"), "../basics/EpBtn.vue": () => import("./EpBtn-18387d10.js"), "../basics/EpCard.vue": () => import("./EpCard-31f18d9b.js"), "../basics/EpChip.vue": () => import("./EpChip-32ef487d.js"), "../basics/EpDivider.vue": () => import("./EpDivider-233fb36b.js"), "../basics/EpFlex.vue": () => import("./EpFlex-eeda64e3.js"), "../basics/EpIcon.vue": () => import("./EpIcon-3d10cc80.js"), "../basics/EpImg.vue": () => import("./EpImg-f1ed48bc.js"), "../basics/EpList.vue": () => import("./EpList-d8433794.js"), "../basics/EpListitem.vue": () => import("./EpListitem-aa4a0f95.js"), "../basics/EpSection.vue": () => import("./EpSection-ddd3a8b3.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-55270b38.js"), "../basics/EpTable.vue": () => import("./EpTable-934c61e4.js"), "../basics/EpText.vue": () => import("./EpText-f2758226.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-0bbf2ef2.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-07cccc87.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-7b5c7d64.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-5f3c59a4.js"), "../educationals/EpReading.vue": () => import("./EpReading-b9565583.js"), "../educationals/EpResource.vue": () => import("./EpResource-8302d3d8.js"), "../educationals/EpScope.vue": () => import("./EpScope-b84566a4.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-8b77b684.js"), "../forms/EpRadio.vue": () => import("./EpRadio-6eddd7b3.js"), "../forms/EpSelect.vue": () => import("./EpSelect-63be92d8.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-9feee893.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => pn), "./EpContentSlider.vue": () => import("./EpContentSlider-d64d71f8.js"), "./EpModal.vue": () => import("./EpModal-e17bd732.js"), "./EpQuestion.vue": () => import("./EpQuestion-90a88ae5.js"), "./EpTabs.vue": () => Promise.resolve().then(() => bn), "./EpTooltip.vue": () => import("./EpTooltip-05e1d8fe.js"), "../medias/EpAudio.vue": () => import("./EpAudio-9ab815f1.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => yn), "../medias/EpIframe.vue": () => import("./EpIframe-2ffab515.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Nn), "../medias/EpLink.vue": () => import("./EpLink-4ebb0f75.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-9504b6f0.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-80fc1d51.js"), "../medias/EpSvg.vue": () => import("./EpSvg-89224f2a.js"), "../medias/EpTerm.vue": () => import("./EpTerm-cc9dc6c5.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-94895947.js"), "../medias/EpVideo.vue": () => import("./EpVideo-a581818c.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-3681c5d8.js"), "../signages/EpAlert.vue": () => import("./EpAlert-97de6de7.js"), "../signages/EpBadge.vue": () => import("./EpBadge-f5faab43.js"), "../signages/EpHeader.vue": () => import("./EpHeader-333e073c.js"), "../signages/EpNothing.vue": () => import("./EpNothing-30ef41e6.js"), "../signages/EpQuote.vue": () => import("./EpQuote-26dbbb13.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-1c722632.js"), "../tools/BgAudio.vue": () => import("./BgAudio-bf61de51.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-89b549f2.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => On), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Vn) }), `../${f.path}/${f.name}.vue`));
|
|
6228
6228
|
}
|
|
6229
6229
|
return null;
|
|
6230
6230
|
}), o = I(() => t.value + 1 < e.slides.length), a = I(() => t.value + 1 > 1), i = () => {
|
|
@@ -6459,7 +6459,7 @@ const BP = {
|
|
|
6459
6459
|
], 2)
|
|
6460
6460
|
], 2));
|
|
6461
6461
|
}
|
|
6462
|
-
}), GP = ["innerHTML"], UP = { class: "mt-5" }, jP = ["innerHTML"], ZP = { class: "mb-6" }, WP = { class: "list
|
|
6462
|
+
}), GP = ["innerHTML"], UP = { class: "mt-5" }, jP = ["innerHTML"], ZP = { class: "mb-6" }, WP = { class: "no-list" }, YP = { key: 2 }, XP = ["innerHTML"], KP = { key: 0 }, uW = /* @__PURE__ */ te({
|
|
6463
6463
|
__name: "EpQuestion",
|
|
6464
6464
|
props: {
|
|
6465
6465
|
title: {},
|
|
@@ -6500,7 +6500,7 @@ const BP = {
|
|
|
6500
6500
|
});
|
|
6501
6501
|
const m = (A) => {
|
|
6502
6502
|
const T = gn(A);
|
|
6503
|
-
return T.name === "EpNothing" ? Ct(() => import("./EpNothing-
|
|
6503
|
+
return T.name === "EpNothing" ? Ct(() => import("./EpNothing-30ef41e6.js")) : Ct(() => vn(/* @__PURE__ */ Object.assign({ "../basics/EpAvatar.vue": () => import("./EpAvatar-1e55fdc7.js"), "../basics/EpBadge.vue": () => import("./EpBadge-dd8e857c.js"), "../basics/EpBtn.vue": () => import("./EpBtn-18387d10.js"), "../basics/EpCard.vue": () => import("./EpCard-31f18d9b.js"), "../basics/EpChip.vue": () => import("./EpChip-32ef487d.js"), "../basics/EpDivider.vue": () => import("./EpDivider-233fb36b.js"), "../basics/EpFlex.vue": () => import("./EpFlex-eeda64e3.js"), "../basics/EpIcon.vue": () => import("./EpIcon-3d10cc80.js"), "../basics/EpImg.vue": () => import("./EpImg-f1ed48bc.js"), "../basics/EpList.vue": () => import("./EpList-d8433794.js"), "../basics/EpListitem.vue": () => import("./EpListitem-aa4a0f95.js"), "../basics/EpSection.vue": () => import("./EpSection-ddd3a8b3.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-55270b38.js"), "../basics/EpTable.vue": () => import("./EpTable-934c61e4.js"), "../basics/EpText.vue": () => import("./EpText-f2758226.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-0bbf2ef2.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-07cccc87.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-7b5c7d64.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-5f3c59a4.js"), "../educationals/EpReading.vue": () => import("./EpReading-b9565583.js"), "../educationals/EpResource.vue": () => import("./EpResource-8302d3d8.js"), "../educationals/EpScope.vue": () => import("./EpScope-b84566a4.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-8b77b684.js"), "../forms/EpRadio.vue": () => import("./EpRadio-6eddd7b3.js"), "../forms/EpSelect.vue": () => import("./EpSelect-63be92d8.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-9feee893.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => pn), "./EpContentSlider.vue": () => import("./EpContentSlider-d64d71f8.js"), "./EpModal.vue": () => import("./EpModal-e17bd732.js"), "./EpQuestion.vue": () => import("./EpQuestion-90a88ae5.js"), "./EpTabs.vue": () => Promise.resolve().then(() => bn), "./EpTooltip.vue": () => import("./EpTooltip-05e1d8fe.js"), "../medias/EpAudio.vue": () => import("./EpAudio-9ab815f1.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => yn), "../medias/EpIframe.vue": () => import("./EpIframe-2ffab515.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Nn), "../medias/EpLink.vue": () => import("./EpLink-4ebb0f75.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-9504b6f0.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-80fc1d51.js"), "../medias/EpSvg.vue": () => import("./EpSvg-89224f2a.js"), "../medias/EpTerm.vue": () => import("./EpTerm-cc9dc6c5.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-94895947.js"), "../medias/EpVideo.vue": () => import("./EpVideo-a581818c.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-3681c5d8.js"), "../signages/EpAlert.vue": () => import("./EpAlert-97de6de7.js"), "../signages/EpBadge.vue": () => import("./EpBadge-f5faab43.js"), "../signages/EpHeader.vue": () => import("./EpHeader-333e073c.js"), "../signages/EpNothing.vue": () => import("./EpNothing-30ef41e6.js"), "../signages/EpQuote.vue": () => import("./EpQuote-26dbbb13.js"), "../signages/EpSkeleton.vue": () => import("./EpSkeleton-1c722632.js"), "../tools/BgAudio.vue": () => import("./BgAudio-bf61de51.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-89b549f2.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => On), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Vn) }), `../${T.path}/${T.name}.vue`));
|
|
6504
6504
|
}, { title: f, intentions: g, hideIcon: w, question: C, src: M } = ae(e);
|
|
6505
6505
|
return (A, T) => (S(), K(Be, {
|
|
6506
6506
|
title: b(f),
|
|
@@ -19221,7 +19221,7 @@ function qZ(r, e) {
|
|
|
19221
19221
|
const Pa = /* @__PURE__ */ jt(EZ, [["render", qZ]]), On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19222
19222
|
__proto__: null,
|
|
19223
19223
|
default: Pa
|
|
19224
|
-
}, Symbol.toStringTag, { value: "Module" })), LZ = { class: "flex md:justify-end justify-center pt-5" }, BZ = { class: "
|
|
19224
|
+
}, Symbol.toStringTag, { value: "Module" })), LZ = { class: "flex md:justify-end justify-center pt-5" }, BZ = { class: "flex w-full py-24 grow flex h-full items-center" }, FZ = { class: "mx-auto w-8/12" }, RZ = {
|
|
19225
19225
|
key: 0,
|
|
19226
19226
|
class: "p-4 md:items-center backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded"
|
|
19227
19227
|
}, IZ = { class: "text-center md:text-left" }, $Z = {
|
|
@@ -19232,7 +19232,7 @@ const Pa = /* @__PURE__ */ jt(EZ, [["render", qZ]]), On = /* @__PURE__ */ Object
|
|
|
19232
19232
|
class: "max-w-xl mt-4 text-xl tracking-tight text-white contrast-50"
|
|
19233
19233
|
}, NZ = {
|
|
19234
19234
|
key: 0,
|
|
19235
|
-
class: "animate-bounce absolute bottom-
|
|
19235
|
+
class: "animate-bounce absolute bottom-10 left-1/2"
|
|
19236
19236
|
}, yW = /* @__PURE__ */ te({
|
|
19237
19237
|
__name: "EpHeader",
|
|
19238
19238
|
props: {
|
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@ const isDisabled = computed(()=>{
|
|
|
42
42
|
<template>
|
|
43
43
|
<li :class="`flex flex-row flex-nowrap justify-between font-medium items-center py-4 ${isNested} ${isDisabled}`">
|
|
44
44
|
<div class="flex items-center">
|
|
45
|
-
<div v-if="hasLeftContent" class="mr-2 min-w-fit">
|
|
45
|
+
<div v-if="hasLeftContent" class="mr-2 min-w-fit px-2">
|
|
46
46
|
<slot name="leftContent"></slot>
|
|
47
47
|
</div>
|
|
48
48
|
<div>
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { toRefs } from "vue";
|
|
2
|
+
import { toRefs,computed } from "vue";
|
|
3
|
+
import { defineEmits } from 'vue'
|
|
4
|
+
import { SwitchColorVariant , ColorVariants} from "../../types/Switch";
|
|
3
5
|
|
|
4
6
|
interface Props {
|
|
5
7
|
id?: string;
|
|
8
|
+
type?:SwitchColorVariant;
|
|
6
9
|
label?: string;
|
|
7
|
-
modelValue?: boolean;
|
|
8
|
-
type?: string;
|
|
9
|
-
placeholder?: string;
|
|
10
|
+
modelValue?: boolean ;
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
readonly?: boolean;
|
|
12
13
|
checked?: boolean;
|
|
@@ -14,30 +15,30 @@ interface Props {
|
|
|
14
15
|
|
|
15
16
|
const props = withDefaults(defineProps<Props>(), {
|
|
16
17
|
id: "toggle",
|
|
17
|
-
label: "
|
|
18
|
+
label: "",
|
|
19
|
+
type:"base",
|
|
18
20
|
modelValue: false,
|
|
19
|
-
type: "checkbox",
|
|
20
|
-
placeholder: "",
|
|
21
21
|
disabled: false,
|
|
22
22
|
readonly: false,
|
|
23
23
|
checked: false,
|
|
24
24
|
});
|
|
25
25
|
|
|
26
|
-
const emit = defineEmits<{
|
|
27
|
-
(e: "update:modelValue", modelValue: boolean): void;
|
|
28
|
-
}>();
|
|
29
26
|
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
const emit = defineEmits(['update:modelValue'])
|
|
28
|
+
|
|
29
|
+
const updateValue = (event: Event) => {
|
|
30
|
+
emit("update:modelValue",(event.target as HTMLInputElement).checked)
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const style = computed(()=>{
|
|
34
|
+
return `${ColorVariants[props.type]}`
|
|
35
|
+
})
|
|
34
36
|
|
|
35
37
|
const {
|
|
36
38
|
id,
|
|
37
39
|
label,
|
|
38
40
|
type,
|
|
39
41
|
modelValue,
|
|
40
|
-
placeholder,
|
|
41
42
|
disabled,
|
|
42
43
|
readonly,
|
|
43
44
|
checked,
|
|
@@ -46,17 +47,26 @@ const {
|
|
|
46
47
|
|
|
47
48
|
<template>
|
|
48
49
|
<div>
|
|
49
|
-
<
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
50
|
+
<label class="relative inline-flex items-center cursor-pointer">
|
|
51
|
+
<input
|
|
52
|
+
:id="id"
|
|
53
|
+
type="checkbox"
|
|
54
|
+
:checked=modelValue
|
|
55
|
+
:value=modelValue
|
|
56
|
+
@input=updateValue
|
|
57
|
+
class="sr-only peer"
|
|
58
|
+
role="switch"
|
|
59
|
+
:disabled="disabled"
|
|
60
|
+
@change=updateValue>
|
|
61
|
+
<div :class="`w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4
|
|
62
|
+
${style} dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full
|
|
63
|
+
peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px]
|
|
64
|
+
after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all `">
|
|
65
|
+
</div>
|
|
66
|
+
</label>
|
|
67
|
+
|
|
68
|
+
<label class="inline-block pl-[0.15rem] hover:cursor-pointer" :for="id"
|
|
69
|
+
>{{label}}</label
|
|
60
70
|
>
|
|
61
71
|
</div>
|
|
62
72
|
</template>
|
|
@@ -137,7 +137,7 @@ const { title, intentions, hideIcon, question, src } = toRefs(props);
|
|
|
137
137
|
/>
|
|
138
138
|
|
|
139
139
|
<div class="mb-6">
|
|
140
|
-
<ol class="list
|
|
140
|
+
<ol class="no-list">
|
|
141
141
|
<li v-for="(answer, i) in answers" :key="answer.uid">
|
|
142
142
|
<EpRadio
|
|
143
143
|
:label="`${typeList(i)}. ${answer.text}`"
|
|
@@ -83,8 +83,8 @@ const { title, headerImgColor, big } = toRefs(props);
|
|
|
83
83
|
<EpChip v-if="duration" :prependIcon="mdiTimerOutline"> {{ duration }}</EpChip>
|
|
84
84
|
<EpChip v-if="assessment" :prependIcon="mdiChairSchool">Formatif</EpChip>
|
|
85
85
|
</div>
|
|
86
|
-
<div class="
|
|
87
|
-
<div class="
|
|
86
|
+
<div class="flex w-full py-24 grow flex h-full items-center">
|
|
87
|
+
<div class="mx-auto w-8/12">
|
|
88
88
|
<div v-if="title || subtitle"
|
|
89
89
|
class="p-4 md:items-center backdrop-blur-md backdrop-brightness-50 backdrop-opacity-75 rounded"
|
|
90
90
|
>
|
|
@@ -101,7 +101,7 @@ const { title, headerImgColor, big } = toRefs(props);
|
|
|
101
101
|
</div>
|
|
102
102
|
</div>
|
|
103
103
|
|
|
104
|
-
<div v-if="props.big" class="animate-bounce absolute bottom-
|
|
104
|
+
<div v-if="props.big" class="animate-bounce absolute bottom-10 left-1/2">
|
|
105
105
|
<div class="mx-auto w-12 bg-white rounded-full p-2" @click="clickScroll">
|
|
106
106
|
<EpIcon :iconPath="mdiChevronDown" size="32"></EpIcon>
|
|
107
107
|
</div>
|
package/dist/EpBadge-de5e90c5.js
DELETED
package/dist/EpBtn-255af003.js
DELETED
package/dist/EpCard-6dc99a29.js
DELETED
package/dist/EpChip-ecaf5fdd.js
DELETED
package/dist/EpFlex-ab0b2002.js
DELETED
package/dist/EpImg-6068534f.js
DELETED
package/dist/EpLink-2414e304.js
DELETED
package/dist/EpModal-ef8a63d2.js
DELETED
package/dist/EpQuote-5b4015f4.js
DELETED
package/dist/EpRadio-227b82c2.js
DELETED
package/dist/EpSvg-5d7df4f2.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, toRefs as b, openBlock as _, createElementBlock as p, createElementVNode as a, unref as e } from "vue";
|
|
2
|
-
const h = ["id", "type", "checked", "disabled"], k = ["for"], B = /* @__PURE__ */ u({
|
|
3
|
-
__name: "EpSwitch",
|
|
4
|
-
props: {
|
|
5
|
-
id: { default: "toggle" },
|
|
6
|
-
label: { default: "label" },
|
|
7
|
-
modelValue: { type: Boolean, default: !1 },
|
|
8
|
-
type: { default: "checkbox" },
|
|
9
|
-
placeholder: { default: "" },
|
|
10
|
-
disabled: { type: Boolean, default: !1 },
|
|
11
|
-
readonly: { type: Boolean, default: !1 },
|
|
12
|
-
checked: { type: Boolean, default: !1 }
|
|
13
|
-
},
|
|
14
|
-
emits: ["update:modelValue"],
|
|
15
|
-
setup(t, { emit: c }) {
|
|
16
|
-
const f = t, d = (r) => {
|
|
17
|
-
r.target, c("update:modelValue", !0);
|
|
18
|
-
}, {
|
|
19
|
-
id: o,
|
|
20
|
-
label: i,
|
|
21
|
-
type: l,
|
|
22
|
-
modelValue: x,
|
|
23
|
-
placeholder: m,
|
|
24
|
-
disabled: s,
|
|
25
|
-
readonly: g,
|
|
26
|
-
checked: n
|
|
27
|
-
} = b(f);
|
|
28
|
-
return (r, w) => (_(), p("div", null, [
|
|
29
|
-
a("input", {
|
|
30
|
-
id: e(o),
|
|
31
|
-
type: e(l),
|
|
32
|
-
checked: e(n),
|
|
33
|
-
class: "form-checkbox mr-2 mt-[0rem] h-4 w-8 appearance-none rounded-full bg-neutral-200 border-neutral-300 before:pointer-events-none before:absolute before:h-3.5 before:w-3.5 before:rounded-full before:bg-transparent before:content-[''] after:absolute after:z-[2] after:-mt-[0rem] after:h-3.5 after:w-3.5 after:rounded-full after:border-none after:bg-neutral-50 after:shadow-[0_0px_3px_0_rgb(0_0_0_/_7%),_0_2px_2px_0_rgb(0_0_0_/_4%)] after:transition-[background-color_0.2s,transform_0.2s] after:content-[''] checked:bg-none checked:bg-blue-600 checked:after:absolute checked:after:z-[2] checked:after:-mt-[0px] checked:after:ml-[1.0625rem] checked:after:h-3.5 checked:after:w-3.5 checked:after:rounded-full checked:after:border-none checked:after:bg-neutral-100 checked:after:shadow-[0_3px_1px_-2px_rgba(0,0,0,0.2),_0_2px_2px_0_rgba(0,0,0,0.14),_0_1px_5px_0_rgba(0,0,0,0.12)] checked:after:transition-[background-color_0.2s,transform_0.2s] checked:after:content-[''] hover:cursor-pointer focus:outline-none focus:ring-0 focus:before:scale-75 focus:before:opacity-[0.12] focus:before:mt-[0.1rem] focus:before:shadow-[3px_-1px_0px_13px_rgba(0,0,0,0.6)] focus:before:transition-[box-shadow_0.2s,transform_0.2s] focus:after:absolute focus:after:z-[1] focus:after:block focus:after:h-3.5 focus:after:w-3.5 focus:after:-mt-[0rem] focus:after:rounded-full focus:after:content-[''] checked:focus:border-neutral-200 checked:focus:bg-blue-600 checked:focus:before:ml-[1rem] checked:focus:before:mt-[0.1rem] checked:focus:before:scale-75 checked:focus:before:shadow-[3px_-1px_0px_13px_#3b71ca] checked:focus:before:transition-[box-shadow_0.2s,transform_0.2s] dark:bg-neutral-600 dark:after:bg-neutral-400 dark:checked:bg-blue-600 dark:checked:after:bg-blue-600 dark:focus:before:shadow-[3px_-1px_0px_13px_rgba(255,255,255,0.4)] dark:checked:focus:before:shadow-[3px_-1px_0px_13px_#3b71ca] disabled:opacity-40 disabled:cursor-not-allowed",
|
|
34
|
-
role: "switch",
|
|
35
|
-
disabled: e(s),
|
|
36
|
-
onChange: d
|
|
37
|
-
}, null, 40, h),
|
|
38
|
-
a("label", {
|
|
39
|
-
class: "inline-block pl-[0.15rem] hover:cursor-pointer",
|
|
40
|
-
for: e(o)
|
|
41
|
-
}, "Default switch checkbox input", 8, k)
|
|
42
|
-
]));
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
export {
|
|
46
|
-
B as default
|
|
47
|
-
};
|
package/dist/EpTable-c8f1f97d.js
DELETED
package/dist/EpTerm-3d4f8bd2.js
DELETED
package/dist/EpText-9f05234d.js
DELETED
package/dist/EpVideo-37c08690.js
DELETED