ep-lib-ts 0.1.17 → 0.1.18
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-95590047.js +5 -0
- package/dist/DisplayBox-d0f4000d.js +5 -0
- package/dist/EpAlert-a8f653c0.js +5 -0
- package/dist/EpAudio-481fe623.js +5 -0
- package/dist/EpBadge-29268823.js +5 -0
- package/dist/EpBarChart-161f527a.js +5 -0
- package/dist/EpBtn-e98b39ee.js +5 -0
- package/dist/EpCard-3158d566.js +5 -0
- package/dist/EpChip-28453834.js +5 -0
- package/dist/EpContentSlider-6808eabd.js +5 -0
- package/dist/{EpDivider-8d7aa8e7.js → EpDivider-ae523cf4.js} +1 -1
- package/dist/EpEdu-5a5a8d65.js +5 -0
- package/dist/EpFlex-df30ecf6.js +5 -0
- package/dist/EpHeader-baf44e55.js +5 -0
- package/dist/EpIcon-323fadf6.js +5 -0
- package/dist/EpIframe-91ffea7c.js +5 -0
- package/dist/{EpImg-2e564cad.js → EpImg-ae604c7e.js} +1 -1
- package/dist/{EpInput-fb7d22af.js → EpInput-1b3e6753.js} +1 -1
- package/dist/EpLineChart-0e1aa7f8.js +5 -0
- package/dist/EpLink-6ec8be2b.js +5 -0
- package/dist/EpLinkVersion-db575648.js +5 -0
- package/dist/EpModal-b345155c.js +5 -0
- package/dist/{EpNothing-263015d8.js → EpNothing-008091ff.js} +1 -1
- package/dist/EpPieChart-5e9ec489.js +5 -0
- package/dist/EpQuestion-b99e2686.js +5 -0
- package/dist/EpQuote-5e9ca8fc.js +5 -0
- package/dist/EpRadio-594eb500.js +5 -0
- package/dist/EpReading-0493eba5.js +5 -0
- package/dist/EpResource-ab58e3c3.js +5 -0
- package/dist/EpScope-7a611613.js +5 -0
- package/dist/EpSection-540c888a.js +5 -0
- package/dist/{EpSelect-5e34c852.js → EpSelect-d53ffb08.js} +1 -1
- package/dist/EpSoftware-38b2ba7d.js +5 -0
- package/dist/EpSpinner-517e8088.js +5 -0
- package/dist/EpSvg-4cd82994.js +5 -0
- package/dist/EpTable-6842a2cd.js +5 -0
- package/dist/EpTerm-c1957d47.js +5 -0
- package/dist/EpText-47e0526b.js +5 -0
- package/dist/EpTimeLine-585820f9.js +5 -0
- package/dist/EpVideo-287e5d3c.js +5 -0
- package/dist/EpVideoPanopto-8e5ff3f3.js +5 -0
- package/dist/components/charts/EpPieChart.vue.d.ts +15 -10
- package/dist/ep-lib-ts.js +1 -1
- package/dist/ep-lib-ts.umd.cjs +3 -3
- package/dist/{index-e976441a.js → index-733017ed.js} +27 -34
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/basics/EpText.vue +1 -1
- package/src/components/charts/EpPieChart.vue +19 -16
- package/src/components/interactions/EpContentSlider.vue +1 -1
- package/src/components/signages/EpAlert.vue +1 -1
- package/src/components/tools/DisplayBox.vue +1 -1
- package/src/components/tools/SvgFilter.vue +1 -1
- package/dist/BgAudio-b6ba4005.js +0 -5
- package/dist/DisplayBox-3738eb9b.js +0 -5
- package/dist/EpAlert-3b75c0a6.js +0 -5
- package/dist/EpAudio-b4ac66ed.js +0 -5
- package/dist/EpBadge-cc3c35b9.js +0 -5
- package/dist/EpBarChart-a8324390.js +0 -5
- package/dist/EpBtn-b01cb28f.js +0 -5
- package/dist/EpCard-68b673d6.js +0 -5
- package/dist/EpChip-9868d21a.js +0 -5
- package/dist/EpContentSlider-d9e267d3.js +0 -5
- package/dist/EpEdu-426ee5ce.js +0 -5
- package/dist/EpFlex-10ad1bed.js +0 -5
- package/dist/EpHeader-b8ee71fb.js +0 -5
- package/dist/EpIcon-c5aa1d80.js +0 -5
- package/dist/EpIframe-c6c0acff.js +0 -5
- package/dist/EpLineChart-bfa9c03b.js +0 -5
- package/dist/EpLink-064bd4c2.js +0 -5
- package/dist/EpLinkVersion-9e482c4b.js +0 -5
- package/dist/EpModal-3ab787b7.js +0 -5
- package/dist/EpPieChart-abc4e448.js +0 -5
- package/dist/EpQuestion-f899fda8.js +0 -5
- package/dist/EpQuote-362e82f2.js +0 -5
- package/dist/EpRadio-4e2a858c.js +0 -5
- package/dist/EpReading-52b126e6.js +0 -5
- package/dist/EpResource-126005d1.js +0 -5
- package/dist/EpScope-272f7f21.js +0 -5
- package/dist/EpSection-d58d9cd4.js +0 -5
- package/dist/EpSoftware-6a9106e9.js +0 -5
- package/dist/EpSpinner-317996c3.js +0 -5
- package/dist/EpSvg-befcc7db.js +0 -5
- package/dist/EpTable-f688b525.js +0 -5
- package/dist/EpTerm-a01a2098.js +0 -5
- package/dist/EpText-d62350de.js +0 -5
- package/dist/EpTimeLine-e744c57d.js +0 -5
- package/dist/EpVideo-4d570a83.js +0 -5
- package/dist/EpVideoPanopto-09db0ca7.js +0 -5
|
@@ -5384,7 +5384,7 @@ const Zt = (r, e) => {
|
|
|
5384
5384
|
components: {
|
|
5385
5385
|
epterm: tO
|
|
5386
5386
|
},
|
|
5387
|
-
template: n.value
|
|
5387
|
+
template: `<div>${n.value}</div>`
|
|
5388
5388
|
}), { compact: o } = ae(e);
|
|
5389
5389
|
return (a, i) => b(o) ? (S(), Y(pn, {
|
|
5390
5390
|
key: 1,
|
|
@@ -5940,60 +5940,53 @@ const Zt = (r, e) => {
|
|
|
5940
5940
|
__name: "EpPieChart",
|
|
5941
5941
|
props: {
|
|
5942
5942
|
series: {},
|
|
5943
|
-
|
|
5943
|
+
options: {},
|
|
5944
5944
|
id: {},
|
|
5945
5945
|
center: { type: Boolean, default: !1 },
|
|
5946
|
-
title: {},
|
|
5947
5946
|
intentions: {},
|
|
5948
5947
|
hideIcon: { type: Boolean },
|
|
5949
|
-
type: {},
|
|
5948
|
+
type: { default: "base" },
|
|
5950
5949
|
mandateLevel: {},
|
|
5951
5950
|
source: {}
|
|
5952
5951
|
},
|
|
5953
5952
|
setup(r) {
|
|
5954
|
-
const e = r, t = R(() => ({
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
},
|
|
5959
|
-
labels: e.labels || []
|
|
5960
|
-
})), n = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { center: s, series: o, source: a, labels: i, title: l } = ae(e);
|
|
5961
|
-
return (d, h) => {
|
|
5962
|
-
var v;
|
|
5963
|
-
const m = Q0("apexchart");
|
|
5953
|
+
const e = r, t = R(() => e.intentions ? tt(e.intentions) ? e.intentions : st(e.intentions) : null), { center: n, series: s, source: o, options: a } = ae(e);
|
|
5954
|
+
return (i, l) => {
|
|
5955
|
+
var h, m;
|
|
5956
|
+
const d = Q0("apexchart");
|
|
5964
5957
|
return S(), Y(Be, {
|
|
5965
|
-
title: (
|
|
5966
|
-
type:
|
|
5967
|
-
hideIcon:
|
|
5958
|
+
title: (m = (h = b(a)) == null ? void 0 : h.title) == null ? void 0 : m.text,
|
|
5959
|
+
type: i.type,
|
|
5960
|
+
hideIcon: i.hideIcon,
|
|
5968
5961
|
icon: b(TN),
|
|
5969
|
-
mandateLevel:
|
|
5962
|
+
mandateLevel: i.mandateLevel
|
|
5970
5963
|
}, qe({
|
|
5971
5964
|
content: G(() => [
|
|
5972
|
-
b(
|
|
5965
|
+
b(a) && b(s) ? (S(), z("div", {
|
|
5973
5966
|
key: 0,
|
|
5974
|
-
class: Z(`p-4 ${b(
|
|
5967
|
+
class: Z(`p-4 ${b(n) ? "flex justify-center" : ""}`)
|
|
5975
5968
|
}, [
|
|
5976
|
-
K(
|
|
5969
|
+
K(d, {
|
|
5977
5970
|
width: "350",
|
|
5978
5971
|
type: "pie",
|
|
5979
|
-
options:
|
|
5980
|
-
series: b(
|
|
5972
|
+
options: b(a),
|
|
5973
|
+
series: b(s)
|
|
5981
5974
|
}, null, 8, ["options", "series"])
|
|
5982
5975
|
], 2)) : (S(), z("div", KO, QO))
|
|
5983
5976
|
]),
|
|
5984
5977
|
_: 2
|
|
5985
5978
|
}, [
|
|
5986
|
-
|
|
5979
|
+
t.value ? {
|
|
5987
5980
|
name: "intentions",
|
|
5988
5981
|
fn: G(() => [
|
|
5989
|
-
k("div", { innerHTML:
|
|
5982
|
+
k("div", { innerHTML: t.value }, null, 8, XO)
|
|
5990
5983
|
]),
|
|
5991
5984
|
key: "0"
|
|
5992
5985
|
} : void 0,
|
|
5993
|
-
b(
|
|
5986
|
+
b(o) ? {
|
|
5994
5987
|
name: "actions",
|
|
5995
5988
|
fn: G(() => [
|
|
5996
|
-
k("p", null, U(b(
|
|
5989
|
+
k("p", null, U(b(o)), 1)
|
|
5997
5990
|
]),
|
|
5998
5991
|
key: "1"
|
|
5999
5992
|
} : void 0
|
|
@@ -6338,7 +6331,7 @@ const fW = /* @__PURE__ */ te({
|
|
|
6338
6331
|
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;
|
|
6339
6332
|
}), n = (i) => {
|
|
6340
6333
|
const l = vn(i);
|
|
6341
|
-
return l.name === "EpNothing" ? Lt(() => import("./EpNothing-
|
|
6334
|
+
return l.name === "EpNothing" ? Lt(() => import("./EpNothing-008091ff.js")) : l.name === "EpReading" ? Lt(() => import("./EpReading-0493eba5.js")) : Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-29268823.js"), "../basics/EpBtn.vue": () => import("./EpBtn-e98b39ee.js"), "../basics/EpCard.vue": () => import("./EpCard-3158d566.js"), "../basics/EpChip.vue": () => import("./EpChip-28453834.js"), "../basics/EpDivider.vue": () => import("./EpDivider-ae523cf4.js"), "../basics/EpFlex.vue": () => import("./EpFlex-df30ecf6.js"), "../basics/EpIcon.vue": () => import("./EpIcon-323fadf6.js"), "../basics/EpImg.vue": () => import("./EpImg-ae604c7e.js"), "../basics/EpSection.vue": () => import("./EpSection-540c888a.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-517e8088.js"), "../basics/EpTable.vue": () => import("./EpTable-6842a2cd.js"), "../basics/EpText.vue": () => import("./EpText-47e0526b.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-161f527a.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-0e1aa7f8.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-5e9ec489.js"), "./EpEdu.vue": () => import("./EpEdu-5a5a8d65.js"), "./EpReading.vue": () => import("./EpReading-0493eba5.js"), "./EpResource.vue": () => import("./EpResource-ab58e3c3.js"), "./EpScope.vue": () => import("./EpScope-7a611613.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-1b3e6753.js"), "../forms/EpRadio.vue": () => import("./EpRadio-594eb500.js"), "../forms/EpSelect.vue": () => import("./EpSelect-d53ffb08.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-1eaf9d3f.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "../interactions/EpAccordeon.vue": () => Promise.resolve().then(() => mn), "../interactions/EpContentSlider.vue": () => import("./EpContentSlider-6808eabd.js"), "../interactions/EpModal.vue": () => import("./EpModal-b345155c.js"), "../interactions/EpQuestion.vue": () => import("./EpQuestion-b99e2686.js"), "../interactions/EpTabs.vue": () => Promise.resolve().then(() => gn), "../medias/EpAudio.vue": () => import("./EpAudio-481fe623.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bn), "../medias/EpIframe.vue": () => import("./EpIframe-91ffea7c.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Hn), "../medias/EpLink.vue": () => import("./EpLink-6ec8be2b.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-db575648.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-38b2ba7d.js"), "../medias/EpSvg.vue": () => import("./EpSvg-4cd82994.js"), "../medias/EpTerm.vue": () => import("./EpTerm-c1957d47.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-585820f9.js"), "../medias/EpVideo.vue": () => import("./EpVideo-287e5d3c.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-8e5ff3f3.js"), "../signages/EpAlert.vue": () => import("./EpAlert-a8f653c0.js"), "../signages/EpHeader.vue": () => import("./EpHeader-baf44e55.js"), "../signages/EpNothing.vue": () => import("./EpNothing-008091ff.js"), "../signages/EpQuote.vue": () => import("./EpQuote-5e9ca8fc.js"), "../tools/BgAudio.vue": () => import("./BgAudio-95590047.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-d0f4000d.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Vn), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Nn) }), `../${l.path}/${l.name}.vue`));
|
|
6342
6335
|
}, { mandateLevel: s, type: o, pages: a } = ae(e);
|
|
6343
6336
|
return (i, l) => (S(), Y(Ot(n(t.value.type)), wo({ ...t.value }, {
|
|
6344
6337
|
mandateLevel: b(s),
|
|
@@ -6351,7 +6344,7 @@ const fW = /* @__PURE__ */ te({
|
|
|
6351
6344
|
class: "md:flex items-end pb-1"
|
|
6352
6345
|
}, eG = ["onClick"], tG = { class: "ml-2 text-xs" }, rG = { class: "" }, nG = {
|
|
6353
6346
|
key: 0,
|
|
6354
|
-
class: "
|
|
6347
|
+
class: "w-full mr-5 flex items-center"
|
|
6355
6348
|
}, sG = { class: "w-full" }, oG = ["innerHTML"], vW = /* @__PURE__ */ te({
|
|
6356
6349
|
__name: "EpContentSlider",
|
|
6357
6350
|
props: {
|
|
@@ -6361,10 +6354,10 @@ const fW = /* @__PURE__ */ te({
|
|
|
6361
6354
|
const e = r, t = ye(0), n = R(() => 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 = R(() => {
|
|
6362
6355
|
var m;
|
|
6363
6356
|
if (n.value.img)
|
|
6364
|
-
return Lt(() => import("./EpImg-
|
|
6357
|
+
return Lt(() => import("./EpImg-ae604c7e.js"));
|
|
6365
6358
|
if (n.value.component) {
|
|
6366
6359
|
const v = vn((m = n.value.component) == null ? void 0 : m.type);
|
|
6367
|
-
return Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-
|
|
6360
|
+
return Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-29268823.js"), "../basics/EpBtn.vue": () => import("./EpBtn-e98b39ee.js"), "../basics/EpCard.vue": () => import("./EpCard-3158d566.js"), "../basics/EpChip.vue": () => import("./EpChip-28453834.js"), "../basics/EpDivider.vue": () => import("./EpDivider-ae523cf4.js"), "../basics/EpFlex.vue": () => import("./EpFlex-df30ecf6.js"), "../basics/EpIcon.vue": () => import("./EpIcon-323fadf6.js"), "../basics/EpImg.vue": () => import("./EpImg-ae604c7e.js"), "../basics/EpSection.vue": () => import("./EpSection-540c888a.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-517e8088.js"), "../basics/EpTable.vue": () => import("./EpTable-6842a2cd.js"), "../basics/EpText.vue": () => import("./EpText-47e0526b.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-161f527a.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-0e1aa7f8.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-5e9ec489.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-5a5a8d65.js"), "../educationals/EpReading.vue": () => import("./EpReading-0493eba5.js"), "../educationals/EpResource.vue": () => import("./EpResource-ab58e3c3.js"), "../educationals/EpScope.vue": () => import("./EpScope-7a611613.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-1b3e6753.js"), "../forms/EpRadio.vue": () => import("./EpRadio-594eb500.js"), "../forms/EpSelect.vue": () => import("./EpSelect-d53ffb08.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-1eaf9d3f.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => mn), "./EpContentSlider.vue": () => import("./EpContentSlider-6808eabd.js"), "./EpModal.vue": () => import("./EpModal-b345155c.js"), "./EpQuestion.vue": () => import("./EpQuestion-b99e2686.js"), "./EpTabs.vue": () => Promise.resolve().then(() => gn), "../medias/EpAudio.vue": () => import("./EpAudio-481fe623.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bn), "../medias/EpIframe.vue": () => import("./EpIframe-91ffea7c.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Hn), "../medias/EpLink.vue": () => import("./EpLink-6ec8be2b.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-db575648.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-38b2ba7d.js"), "../medias/EpSvg.vue": () => import("./EpSvg-4cd82994.js"), "../medias/EpTerm.vue": () => import("./EpTerm-c1957d47.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-585820f9.js"), "../medias/EpVideo.vue": () => import("./EpVideo-287e5d3c.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-8e5ff3f3.js"), "../signages/EpAlert.vue": () => import("./EpAlert-a8f653c0.js"), "../signages/EpHeader.vue": () => import("./EpHeader-baf44e55.js"), "../signages/EpNothing.vue": () => import("./EpNothing-008091ff.js"), "../signages/EpQuote.vue": () => import("./EpQuote-5e9ca8fc.js"), "../tools/BgAudio.vue": () => import("./BgAudio-95590047.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-d0f4000d.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Vn), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Nn) }), `../${v.path}/${v.name}.vue`));
|
|
6368
6361
|
}
|
|
6369
6362
|
return null;
|
|
6370
6363
|
}), o = R(() => t.value + 1 < e.slides.length), a = R(() => t.value + 1 > 1), i = () => {
|
|
@@ -6547,7 +6540,7 @@ const aG = {
|
|
|
6547
6540
|
compact: { type: Boolean }
|
|
6548
6541
|
},
|
|
6549
6542
|
setup(r) {
|
|
6550
|
-
const e = r, t = R(() => e.outlined ? "
|
|
6543
|
+
const e = r, t = R(() => e.outlined ? "default" : "outlined"), n = R(() => typeof e.type == "object" ? e.type.type : e.type), s = R(() => {
|
|
6551
6544
|
var d;
|
|
6552
6545
|
return `${(d = dG[n.value]) == null ? void 0 : d[t.value]}`;
|
|
6553
6546
|
}), o = R(() => {
|
|
@@ -6630,7 +6623,7 @@ const aG = {
|
|
|
6630
6623
|
});
|
|
6631
6624
|
const m = (A) => {
|
|
6632
6625
|
const T = vn(A);
|
|
6633
|
-
return T.name === "EpNothing" ? Lt(() => import("./EpNothing-
|
|
6626
|
+
return T.name === "EpNothing" ? Lt(() => import("./EpNothing-008091ff.js")) : Lt(() => fn(/* @__PURE__ */ Object.assign({ "../basics/EpBadge.vue": () => import("./EpBadge-29268823.js"), "../basics/EpBtn.vue": () => import("./EpBtn-e98b39ee.js"), "../basics/EpCard.vue": () => import("./EpCard-3158d566.js"), "../basics/EpChip.vue": () => import("./EpChip-28453834.js"), "../basics/EpDivider.vue": () => import("./EpDivider-ae523cf4.js"), "../basics/EpFlex.vue": () => import("./EpFlex-df30ecf6.js"), "../basics/EpIcon.vue": () => import("./EpIcon-323fadf6.js"), "../basics/EpImg.vue": () => import("./EpImg-ae604c7e.js"), "../basics/EpSection.vue": () => import("./EpSection-540c888a.js"), "../basics/EpSpinner.vue": () => import("./EpSpinner-517e8088.js"), "../basics/EpTable.vue": () => import("./EpTable-6842a2cd.js"), "../basics/EpText.vue": () => import("./EpText-47e0526b.js"), "../charts/EpBarChart.vue": () => import("./EpBarChart-161f527a.js"), "../charts/EpLineChart.vue": () => import("./EpLineChart-0e1aa7f8.js"), "../charts/EpPieChart.vue": () => import("./EpPieChart-5e9ec489.js"), "../educationals/EpEdu.vue": () => import("./EpEdu-5a5a8d65.js"), "../educationals/EpReading.vue": () => import("./EpReading-0493eba5.js"), "../educationals/EpResource.vue": () => import("./EpResource-ab58e3c3.js"), "../educationals/EpScope.vue": () => import("./EpScope-7a611613.js"), "../forms/EpCheckbox.vue": () => import("./EpCheckbox-fe632df9.js"), "../forms/EpInput.vue": () => import("./EpInput-1b3e6753.js"), "../forms/EpRadio.vue": () => import("./EpRadio-594eb500.js"), "../forms/EpSelect.vue": () => import("./EpSelect-d53ffb08.js"), "../forms/EpSwitch.vue": () => import("./EpSwitch-1eaf9d3f.js"), "../forms/EpTextarea.vue": () => import("./EpTextarea-67f751e9.js"), "../forms/EpToggle.vue": () => import("./EpToggle-9755056a.js"), "./EpAccordeon.vue": () => Promise.resolve().then(() => mn), "./EpContentSlider.vue": () => import("./EpContentSlider-6808eabd.js"), "./EpModal.vue": () => import("./EpModal-b345155c.js"), "./EpQuestion.vue": () => import("./EpQuestion-b99e2686.js"), "./EpTabs.vue": () => Promise.resolve().then(() => gn), "../medias/EpAudio.vue": () => import("./EpAudio-481fe623.js"), "../medias/EpCarousel.vue": () => Promise.resolve().then(() => bn), "../medias/EpIframe.vue": () => import("./EpIframe-91ffea7c.js"), "../medias/EpKatex.vue": () => Promise.resolve().then(() => Hn), "../medias/EpLink.vue": () => import("./EpLink-6ec8be2b.js"), "../medias/EpLinkVersion.vue": () => import("./EpLinkVersion-db575648.js"), "../medias/EpSoftware.vue": () => import("./EpSoftware-38b2ba7d.js"), "../medias/EpSvg.vue": () => import("./EpSvg-4cd82994.js"), "../medias/EpTerm.vue": () => import("./EpTerm-c1957d47.js"), "../medias/EpTimeLine.vue": () => import("./EpTimeLine-585820f9.js"), "../medias/EpVideo.vue": () => import("./EpVideo-287e5d3c.js"), "../medias/EpVideoPanopto.vue": () => import("./EpVideoPanopto-8e5ff3f3.js"), "../signages/EpAlert.vue": () => import("./EpAlert-a8f653c0.js"), "../signages/EpHeader.vue": () => import("./EpHeader-baf44e55.js"), "../signages/EpNothing.vue": () => import("./EpNothing-008091ff.js"), "../signages/EpQuote.vue": () => import("./EpQuote-5e9ca8fc.js"), "../tools/BgAudio.vue": () => import("./BgAudio-95590047.js"), "../tools/DisplayBox.vue": () => import("./DisplayBox-d0f4000d.js"), "../tools/SvgFilter.vue": () => Promise.resolve().then(() => Vn), "../tools/TimelineItem.vue": () => Promise.resolve().then(() => Nn) }), `../${T.path}/${T.name}.vue`));
|
|
6634
6627
|
}, { title: v, intentions: f, hideIcon: w, question: C, src: M } = ae(e);
|
|
6635
6628
|
return (A, T) => (S(), Y(Be, {
|
|
6636
6629
|
title: b(v),
|
|
@@ -19154,7 +19147,7 @@ const LZ = ["innerHTML"], qZ = { class: "max-w-screen-sm mx-auto" }, BZ = ["src"
|
|
|
19154
19147
|
]), 1032, ["title", "type", "hideIcon", "icon", "mandateLevel"]));
|
|
19155
19148
|
}
|
|
19156
19149
|
}), HZ = {}, NZ = {
|
|
19157
|
-
class: "duotone-filters",
|
|
19150
|
+
class: "duotone-filters hidden",
|
|
19158
19151
|
xmlns: "http://www.w3.org/2000/svg"
|
|
19159
19152
|
}, VZ = /* @__PURE__ */ _o(`<filter id="duotone-bluered"><feColorMatrix type="matrix" result="grayscale" values="1 0 0 0 0
|
|
19160
19153
|
1 0 0 0 0
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.modal-mask{position:fixed;z-index:9998;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;transition:opacity .3s ease}.modal-container{margin:auto;max-height:95%;transition:all .3s ease;z-index:9999}.modal-header h3{margin-top:0;color:#42b983}.modal-body{margin:20px 0}.modal-default-button{float:right}.modal-enter-from,.modal-leave-to{opacity:0}.modal-enter-from .modal-container,.modal-leave-to .modal-container{transform:scale(1.1)}.content[data-v-ab122c9c]{max-height:0;overflow:hidden}.custom_index{z-index:9999;position:absolute;right
|
|
1
|
+
.modal-mask{position:fixed;z-index:9998;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;transition:opacity .3s ease}.modal-container{margin:auto;max-height:95%;transition:all .3s ease;z-index:9999}.modal-header h3{margin-top:0;color:#42b983}.modal-body{margin:20px 0}.modal-default-button{float:right}.modal-enter-from,.modal-leave-to{opacity:0}.modal-enter-from .modal-container,.modal-leave-to .modal-container{transform:scale(1.1)}.content[data-v-ab122c9c]{max-height:0;overflow:hidden}.custom_index{z-index:9999;position:absolute;right:12rem}.h-custom{height:30rem}.p-custom p{margin-bottom:1em}.v-enter-active[data-v-049ea2df],.v-leave-active[data-v-049ea2df]{transition:opacity .5s ease}.v-enter-from[data-v-049ea2df],.v-leave-to[data-v-049ea2df]{opacity:0}.katex[data-v-24ff8b28]{font-size:1.3em}.content[data-v-523dedc7]{max-height:0;overflow:hidden}.list-enter-active,.list-leave-active{transition:all .5s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}
|
package/package.json
CHANGED
|
@@ -7,16 +7,26 @@ import { isHtml } from "../../composables/isHtml";
|
|
|
7
7
|
import { useMarkdown } from "../../composables/useMarkdown";
|
|
8
8
|
|
|
9
9
|
interface TitlePie {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
text: string;
|
|
11
|
+
align?: string;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
interface OptionsPieChart {
|
|
15
|
+
chart?:{
|
|
16
|
+
type?:string;
|
|
17
|
+
width?:number|string;
|
|
18
|
+
}
|
|
19
|
+
title:TitlePie;
|
|
20
|
+
labels:string[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
14
25
|
interface Props {
|
|
15
26
|
series: number[];
|
|
16
|
-
|
|
27
|
+
options: OptionsPieChart;
|
|
17
28
|
id?: string;
|
|
18
29
|
center?: boolean;
|
|
19
|
-
title?: TitlePie;
|
|
20
30
|
intentions?: string;
|
|
21
31
|
hideIcon?: boolean;
|
|
22
32
|
type?: MediaVariants;
|
|
@@ -26,17 +36,9 @@ interface Props {
|
|
|
26
36
|
|
|
27
37
|
const props = withDefaults(defineProps<Props>(), {
|
|
28
38
|
center: false,
|
|
39
|
+
type:'base'
|
|
29
40
|
});
|
|
30
41
|
|
|
31
|
-
const options = computed(()=> {
|
|
32
|
-
return {
|
|
33
|
-
chart: {
|
|
34
|
-
width: 350,
|
|
35
|
-
type: "pie",
|
|
36
|
-
},
|
|
37
|
-
labels: props.labels || [],
|
|
38
|
-
}
|
|
39
|
-
})
|
|
40
42
|
|
|
41
43
|
const renderText = computed(() => {
|
|
42
44
|
if (!props.intentions) {
|
|
@@ -50,17 +52,18 @@ const renderText = computed(() => {
|
|
|
50
52
|
|
|
51
53
|
|
|
52
54
|
|
|
53
|
-
const { center, series, source,
|
|
55
|
+
const { center, series, source, options } = toRefs(props)
|
|
54
56
|
|
|
55
57
|
</script>
|
|
56
58
|
|
|
57
59
|
<template>
|
|
58
|
-
<EpEdu :title="title?.text" :type="type" :hideIcon="hideIcon" :icon="mdiChartPie" :mandateLevel="mandateLevel">
|
|
60
|
+
<EpEdu :title="options?.title?.text" :type="type" :hideIcon="hideIcon" :icon="mdiChartPie" :mandateLevel="mandateLevel">
|
|
59
61
|
<template #intentions v-if="renderText">
|
|
62
|
+
|
|
60
63
|
<div v-html="renderText"></div>
|
|
61
64
|
</template>
|
|
62
65
|
<template #content>
|
|
63
|
-
<div :class="`p-4 ${center ? 'flex justify-center' : ''}`" v-if="
|
|
66
|
+
<div :class="`p-4 ${center ? 'flex justify-center' : ''}`" v-if="options && series">
|
|
64
67
|
<apexchart width="350" type="pie" :options="options" :series="series"></apexchart>
|
|
65
68
|
</div>
|
|
66
69
|
<div v-else>
|
|
@@ -81,7 +81,7 @@ const {slides} = toRefs(props)
|
|
|
81
81
|
<div class="">
|
|
82
82
|
<Transition name="list" mode="out-in">
|
|
83
83
|
<div class="md:flex p-8" :key="currentSlide.uid">
|
|
84
|
-
<div class="
|
|
84
|
+
<div class="w-full mr-5 flex items-center" v-if="currentSlideMediaContent">
|
|
85
85
|
<component v-if="currentSlide.img" :is="currentSlideMediaContent" :src="currentSlide.img"></component>
|
|
86
86
|
<component v-else-if="currentSlide.component" :is="currentSlideMediaContent" v-bind="{...currentSlide.component.data}"></component>
|
|
87
87
|
</div>
|
package/dist/BgAudio-b6ba4005.js
DELETED
package/dist/EpAlert-3b75c0a6.js
DELETED
package/dist/EpAudio-b4ac66ed.js
DELETED
package/dist/EpBadge-cc3c35b9.js
DELETED
package/dist/EpBtn-b01cb28f.js
DELETED
package/dist/EpCard-68b673d6.js
DELETED
package/dist/EpChip-9868d21a.js
DELETED
package/dist/EpEdu-426ee5ce.js
DELETED
package/dist/EpFlex-10ad1bed.js
DELETED
package/dist/EpIcon-c5aa1d80.js
DELETED
package/dist/EpLink-064bd4c2.js
DELETED
package/dist/EpModal-3ab787b7.js
DELETED
package/dist/EpQuote-362e82f2.js
DELETED
package/dist/EpRadio-4e2a858c.js
DELETED
package/dist/EpScope-272f7f21.js
DELETED
package/dist/EpSvg-befcc7db.js
DELETED
package/dist/EpTable-f688b525.js
DELETED
package/dist/EpTerm-a01a2098.js
DELETED
package/dist/EpText-d62350de.js
DELETED
package/dist/EpVideo-4d570a83.js
DELETED