ep-lib-ts 1.0.42 → 1.0.44
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-ByQMjvpb.js +4 -0
- package/dist/DisplayBox-5KOzK-T1.js +4 -0
- package/dist/Ep360Image-CQJBPImD.js +241 -0
- package/dist/{Ep360Video-b_stvC2Z.js → Ep360Video-CL_7mOiQ.js} +84 -77
- package/dist/EpAlert-9n3eGOzn.js +4 -0
- package/dist/EpAudio-DN-khrPL.js +4 -0
- package/dist/EpAvatar-CXQP2wql.js +4 -0
- package/dist/EpBadge-4MOToF_Q.js +4 -0
- package/dist/EpBarChart-D7YNa6L1.js +4 -0
- package/dist/EpBranchingScenario-vDe8SVyF.js +160 -0
- package/dist/EpBtn-CodZ5WkT.js +4 -0
- package/dist/EpCard-bxcDoveo.js +4 -0
- package/dist/EpCardLink-BpRg37fb.js +4 -0
- package/dist/EpChip-DyPsThQ7.js +4 -0
- package/dist/EpCodeblock-CTVen6ok.js +4 -0
- package/dist/EpConclusion-CZSpnFN3.js +4 -0
- package/dist/EpContentSlider-0KrwEp3v.js +4 -0
- package/dist/{EpDarkmode-DV9Z9xYJ.js → EpDarkmode-CM5E89Mq.js} +1 -1
- package/dist/EpDescription-BqAK-19p.js +4 -0
- package/dist/EpDivider-Cz2UczzO.js +4 -0
- package/dist/EpDraggable-DihYnwD-.js +1676 -0
- package/dist/EpEdu-Cb0syukg.js +4 -0
- package/dist/EpFlex-C9FQK2SA.js +4 -0
- package/dist/EpFunnelChart-DCiSFsse.js +4 -0
- package/dist/EpHeader-CzSF69pa.js +4 -0
- package/dist/EpHover-RZmDKnaw.js +4 -0
- package/dist/EpHoverCard-D6G0baOv.js +4 -0
- package/dist/EpIcon-Av0-zy17.js +4 -0
- package/dist/EpIframe-DW9zyLQo.js +4 -0
- package/dist/EpImg-CSHuR6qU.js +4 -0
- package/dist/EpImgCarousel-cIC103wg.js +4 -0
- package/dist/{EpInput-CZghcnDC.js → EpInput-DHrHSXzx.js} +29 -29
- package/dist/EpInstructions-K-kkygx5.js +4 -0
- package/dist/EpIntroduction-CQlFolxF.js +4 -0
- package/dist/EpLineChart-mWEJNhfP.js +4 -0
- package/dist/EpLink-ByArsF1O.js +4 -0
- package/dist/EpLinkVersion-D0l0gER1.js +4 -0
- package/dist/{EpList-ukdKbhdd.js → EpList-c0SMP53E.js} +1 -1
- package/dist/EpModal-CnTSNH-6.js +4 -0
- package/dist/{EpNothing-nZWACvB0.js → EpNothing-CT8_zyfI.js} +1 -1
- package/dist/EpObjective-CFUl1myw.js +4 -0
- package/dist/EpPieChart-D4gofeCO.js +4 -0
- package/dist/EpQuestion-DpEP1I3J.js +4 -0
- package/dist/EpQuote-D_a9FXrQ.js +4 -0
- package/dist/EpRadio-BPGeCsln.js +4 -0
- package/dist/EpRadioSummative-2GRkKBZC.js +4 -0
- package/dist/EpReading-b0gkhYIF.js +4 -0
- package/dist/EpResource-B1pFABU5.js +4 -0
- package/dist/EpScope-BQWyrqjD.js +4 -0
- package/dist/EpSection-CkXDsnuU.js +4 -0
- package/dist/EpSectionCols-BwC-XklV.js +4 -0
- package/dist/EpSkeleton-CfhwJtyP.js +4 -0
- package/dist/EpSoftware-c8ntWUO-.js +4 -0
- package/dist/EpSpecificObjective-D3mba6ZZ.js +4 -0
- package/dist/EpSpinner-G3e-rq8T.js +4 -0
- package/dist/EpStackedList-Bo0PTfJP.js +4 -0
- package/dist/EpSummativeTable-BumOFuw9.js +4 -0
- package/dist/EpSvg-D1zVHuRF.js +4 -0
- package/dist/EpSvgShow-CDYlL1_A.js +54 -0
- package/dist/EpTable-gr45PRwp.js +4 -0
- package/dist/EpTerm-CNfRoEdY.js +4 -0
- package/dist/EpText-DKuz6gcn.js +4 -0
- package/dist/EpTimeLine-O-XSTUsa.js +4 -0
- package/dist/EpVideo-DB3Kgada.js +4 -0
- package/dist/EpVideoPanopto-Vta3OP2y.js +4 -0
- package/dist/EpWordDef-CYOQAmor.js +4 -0
- package/dist/components/basics/EpImgCarousel.vue.d.ts +77 -0
- package/dist/components/educationals/EpBranchingScenario.vue.d.ts +1 -0
- package/dist/components/interactions/Ep360Image.vue.d.ts +1 -0
- package/dist/components/interactions/EpDraggable.vue.d.ts +26 -0
- package/dist/components/interactions/EpSvgShow.vue.d.ts +34 -0
- package/dist/components/medias/EpCardLink.vue.d.ts +4 -0
- package/dist/components/medias/EpCarousel.vue.d.ts +5 -0
- package/dist/ep-lib-ts.js +30 -30
- package/dist/ep-lib-ts.umd.cjs +4600 -4766
- package/dist/{index-BABRC_Ij.js → index-DtabYqi-.js} +1 -1
- package/dist/{index-DDAVtT-Z.js → index-hjRiaRG8.js} +3942 -3779
- package/dist/{prism-6uDYLnZo.js → prism-DpfMvZqf.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/three.module-CWLs6nMo.js +33752 -0
- package/dist/types/Draggable.d.ts +15 -0
- package/dist/types/Image.d.ts +5 -0
- package/package.json +4 -2
- package/src/components/basics/EpCard.vue +1 -1
- package/src/components/basics/EpImg.vue +1 -1
- package/src/components/basics/EpImgCarousel.vue +145 -0
- package/src/components/basics/EpText.vue +20 -18
- package/src/components/educationals/EpBranchingScenario.vue +15 -6
- package/src/components/educationals/EpReading.vue +3 -3
- package/src/components/interactions/Ep360Image.vue +32 -11
- package/src/components/interactions/Ep360Video.vue +15 -3
- package/src/components/interactions/EpDraggable.vue +192 -0
- package/src/components/interactions/EpSvgShow.vue +97 -0
- package/src/components/medias/EpCardLink.vue +51 -46
- package/src/components/medias/EpCarousel.vue +74 -11
- package/dist/BgAudio-B8TWhPS4.js +0 -4
- package/dist/DisplayBox-CVjM7CIK.js +0 -4
- package/dist/Ep360Image-Dmwx7NrY.js +0 -228
- package/dist/EpAlert-BL76x1nU.js +0 -4
- package/dist/EpAudio-C1oISf9P.js +0 -4
- package/dist/EpAvatar-BhbxoN3-.js +0 -4
- package/dist/EpBadge-CrFyRMYZ.js +0 -4
- package/dist/EpBarChart-BppGcLMQ.js +0 -4
- package/dist/EpBranchingScenario-B24j3QCB.js +0 -151
- package/dist/EpBtn-fVZ6TDv0.js +0 -4
- package/dist/EpCard-jyubSatC.js +0 -4
- package/dist/EpCardLink-DZSHjJtM.js +0 -4
- package/dist/EpChip-CnIScjK2.js +0 -4
- package/dist/EpCodeblock-C3sfk5vm.js +0 -4
- package/dist/EpConclusion-BMyRU6is.js +0 -4
- package/dist/EpContentSlider-DXuhYYCY.js +0 -4
- package/dist/EpDescription-DbyvVHqd.js +0 -4
- package/dist/EpDivider-DLNUbygt.js +0 -4
- package/dist/EpEdu-D8qKZwo4.js +0 -4
- package/dist/EpFlex-DERxMM1-.js +0 -4
- package/dist/EpFunnelChart-CaGjSoAy.js +0 -4
- package/dist/EpHeader-B0hVPn_n.js +0 -4
- package/dist/EpHover-XSJ4bqps.js +0 -4
- package/dist/EpHoverCard-EjNFyHQH.js +0 -4
- package/dist/EpIcon-D0W1dYE5.js +0 -4
- package/dist/EpIframe-BI4RWK0-.js +0 -4
- package/dist/EpImg-B4t8oZ4_.js +0 -4
- package/dist/EpInstructions-DWBai9-j.js +0 -4
- package/dist/EpIntroduction-C_zkEVjU.js +0 -4
- package/dist/EpLineChart-DHHtVVVK.js +0 -4
- package/dist/EpLink-CtdHaQpr.js +0 -4
- package/dist/EpLinkVersion-3WS3UgxY.js +0 -4
- package/dist/EpModal-DAzgqs2T.js +0 -4
- package/dist/EpObjective-Dwx6_PZV.js +0 -4
- package/dist/EpPieChart-B8Pr5W9-.js +0 -4
- package/dist/EpQuestion-B62CYUVA.js +0 -4
- package/dist/EpQuote-BihyGusM.js +0 -4
- package/dist/EpRadio-CpG6pS3s.js +0 -4
- package/dist/EpRadioSummative-DLXgKZAu.js +0 -4
- package/dist/EpReading-BlSjw_UD.js +0 -4
- package/dist/EpResource-ofzOBR4O.js +0 -4
- package/dist/EpScope-BIYN9eA2.js +0 -4
- package/dist/EpSection-33XioYMg.js +0 -4
- package/dist/EpSectionCols-A97bH9ae.js +0 -4
- package/dist/EpSkeleton-By3TPHqs.js +0 -4
- package/dist/EpSoftware-CUXfVeuT.js +0 -4
- package/dist/EpSpecificObjective-C2RasqCs.js +0 -4
- package/dist/EpSpinner-ZYvRrAHj.js +0 -4
- package/dist/EpStackedList-DHurElck.js +0 -4
- package/dist/EpSummativeTable-etwjX91_.js +0 -4
- package/dist/EpSvg-DmCV9jTP.js +0 -4
- package/dist/EpTable-Biz8ArYF.js +0 -4
- package/dist/EpTerm-Cisb50Au.js +0 -4
- package/dist/EpText-ibFC4JV7.js +0 -4
- package/dist/EpTimeLine-xAkA3Jb1.js +0 -4
- package/dist/EpVideo-CsieKBpx.js +0 -4
- package/dist/EpVideoPanopto-V584YRQc.js +0 -4
- package/dist/EpWordDef-VtpC2ck8.js +0 -4
- package/dist/three.module-laS36oD-.js +0 -48903
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { computed as C, toValue as g, unref as v, onMounted as Ye, getCurrentInstance as
|
|
2
|
-
import { d as dt,
|
|
1
|
+
import { computed as C, toValue as g, unref as v, onMounted as Ye, getCurrentInstance as G, provide as Xe, isRef as ie, watch as U, onBeforeUnmount as He, inject as Qe, onUnmounted as Ze, ref as te, reactive as et, nextTick as tt, defineComponent as rt, toRefs as nt, toRef as ot, createElementBlock as ve, openBlock as pe, Fragment as it, createTextVNode as me, createElementVNode as P, toDisplayString as X, createVNode as lt, withDirectives as at, createCommentVNode as ut, vModelText as st } from "vue";
|
|
2
|
+
import { d as dt, K as ct } from "./index-hjRiaRG8.js";
|
|
3
3
|
/**
|
|
4
4
|
* vee-validate v4.15.0
|
|
5
5
|
* (c) 2024 Abdelrahman Awad
|
|
@@ -183,7 +183,7 @@ function xe(e) {
|
|
|
183
183
|
return Object.keys(e);
|
|
184
184
|
}
|
|
185
185
|
function Ie(e, t = void 0) {
|
|
186
|
-
const r =
|
|
186
|
+
const r = G();
|
|
187
187
|
return (r == null ? void 0 : r.provides[e]) || Qe(e, t);
|
|
188
188
|
}
|
|
189
189
|
function _t(e, t, r) {
|
|
@@ -515,7 +515,7 @@ function Wt() {
|
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
517
|
}
|
|
518
|
-
const Re = {}, W = {},
|
|
518
|
+
const Re = {}, W = {}, K = "vee-validate-inspector", O = {
|
|
519
519
|
error: 12405579,
|
|
520
520
|
success: 448379,
|
|
521
521
|
unknown: 5522283,
|
|
@@ -527,7 +527,7 @@ const Re = {}, W = {}, J = "vee-validate-inspector", O = {
|
|
|
527
527
|
gray: 12304330
|
|
528
528
|
};
|
|
529
529
|
let y = null, x;
|
|
530
|
-
async function
|
|
530
|
+
async function Kt(e) {
|
|
531
531
|
if (process.env.NODE_ENV !== "production") {
|
|
532
532
|
if (!ke)
|
|
533
533
|
return;
|
|
@@ -540,7 +540,7 @@ async function Jt(e) {
|
|
|
540
540
|
logo: "https://vee-validate.logaretm.com/v4/logo.png"
|
|
541
541
|
}, (r) => {
|
|
542
542
|
x = r, r.addInspector({
|
|
543
|
-
id:
|
|
543
|
+
id: K,
|
|
544
544
|
icon: "rule",
|
|
545
545
|
label: "vee-validate",
|
|
546
546
|
noSelectionText: "Select a vee-validate node to inspect",
|
|
@@ -581,15 +581,15 @@ async function Jt(e) {
|
|
|
581
581
|
}
|
|
582
582
|
]
|
|
583
583
|
}), r.on.getInspectorTree((n) => {
|
|
584
|
-
if (n.inspectorId !==
|
|
584
|
+
if (n.inspectorId !== K)
|
|
585
585
|
return;
|
|
586
586
|
const o = Object.values(Re), i = Object.values(W);
|
|
587
587
|
n.rootNodes = [
|
|
588
|
-
...o.map(
|
|
588
|
+
...o.map(Jt),
|
|
589
589
|
...i.map((l) => Xt(l))
|
|
590
590
|
];
|
|
591
591
|
}), r.on.getInspectorState((n) => {
|
|
592
|
-
if (n.inspectorId !==
|
|
592
|
+
if (n.inspectorId !== K)
|
|
593
593
|
return;
|
|
594
594
|
const { form: o, field: i, state: l, type: u } = Ht(n.nodeId);
|
|
595
595
|
if (r.unhighlightElement(), o && u === "form") {
|
|
@@ -618,22 +618,22 @@ async function Jt(e) {
|
|
|
618
618
|
}
|
|
619
619
|
const oe = St(() => {
|
|
620
620
|
setTimeout(async () => {
|
|
621
|
-
await tt(), x == null || x.sendInspectorState(
|
|
621
|
+
await tt(), x == null || x.sendInspectorState(K), x == null || x.sendInspectorTree(K);
|
|
622
622
|
}, 100);
|
|
623
623
|
}, 100);
|
|
624
|
-
function
|
|
625
|
-
const t =
|
|
624
|
+
function Gt(e) {
|
|
625
|
+
const t = G();
|
|
626
626
|
if (!x) {
|
|
627
627
|
const r = t == null ? void 0 : t.appContext.app;
|
|
628
628
|
if (!r)
|
|
629
629
|
return;
|
|
630
|
-
|
|
630
|
+
Kt(r);
|
|
631
631
|
}
|
|
632
632
|
W[e.id] = Object.assign({}, e), W[e.id]._vm = t, Ze(() => {
|
|
633
633
|
delete W[e.id], oe();
|
|
634
634
|
}), oe();
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function Jt(e) {
|
|
637
637
|
const { textColor: t, bgColor: r } = Ue(e.meta.value.valid), n = {};
|
|
638
638
|
Object.values(e.getAllPathStates()).forEach((l) => {
|
|
639
639
|
Ot(n, g(l.path), Yt(l, e));
|
|
@@ -828,7 +828,7 @@ function Be(e, t, r) {
|
|
|
828
828
|
return;
|
|
829
829
|
const p = v(t);
|
|
830
830
|
return ne(p) || q(p) || I(p) || Array.isArray(p) ? p : Te(p);
|
|
831
|
-
}), ze = !I(E.value) && q(g(t)), { id: H, value: $, initialValue: $e, meta: A, setState:
|
|
831
|
+
}), ze = !I(E.value) && q(g(t)), { id: H, value: $, initialValue: $e, meta: A, setState: J, errors: Q, flags: Y } = zt(w, {
|
|
832
832
|
modelValue: n,
|
|
833
833
|
form: c,
|
|
834
834
|
bails: i,
|
|
@@ -859,7 +859,7 @@ function Be(e, t, r) {
|
|
|
859
859
|
bails: i
|
|
860
860
|
}) : { valid: !0, errors: [] };
|
|
861
861
|
}
|
|
862
|
-
const D = Ve(async () => (A.pending = !0, A.validated = !0, ue("validated-only")), (a) => (Y.pendingUnmount[j.id] || (
|
|
862
|
+
const D = Ve(async () => (A.pending = !0, A.validated = !0, ue("validated-only")), (a) => (Y.pendingUnmount[j.id] || (J({ errors: a.errors }), A.pending = !1, A.valid = a.valid), a)), R = Ve(async () => ue("silent"), (a) => (A.valid = a.valid, a));
|
|
863
863
|
function se(a) {
|
|
864
864
|
return (a == null ? void 0 : a.mode) === "silent" ? R() : D();
|
|
865
865
|
}
|
|
@@ -878,21 +878,21 @@ function Be(e, t, r) {
|
|
|
878
878
|
function ce(a) {
|
|
879
879
|
var p;
|
|
880
880
|
const V = a && "value" in a ? a.value : $e.value;
|
|
881
|
-
|
|
881
|
+
J({
|
|
882
882
|
value: T(V),
|
|
883
883
|
initialValue: T(V),
|
|
884
884
|
touched: (p = a == null ? void 0 : a.touched) !== null && p !== void 0 ? p : !1,
|
|
885
885
|
errors: (a == null ? void 0 : a.errors) || []
|
|
886
886
|
}), A.pending = !1, A.validated = !1, R();
|
|
887
887
|
}
|
|
888
|
-
const fe =
|
|
888
|
+
const fe = G();
|
|
889
889
|
function Z(a, p = !0) {
|
|
890
890
|
$.value = fe && f ? wt(a, fe.props.modelModifiers) : a, (p ? D : R)();
|
|
891
891
|
}
|
|
892
|
-
function
|
|
893
|
-
|
|
892
|
+
function Ke(a) {
|
|
893
|
+
J({ errors: Array.isArray(a) ? a : [a] });
|
|
894
894
|
}
|
|
895
|
-
const
|
|
895
|
+
const Ge = C({
|
|
896
896
|
get() {
|
|
897
897
|
return $.value;
|
|
898
898
|
},
|
|
@@ -903,7 +903,7 @@ function Be(e, t, r) {
|
|
|
903
903
|
id: H,
|
|
904
904
|
name: w,
|
|
905
905
|
label: s,
|
|
906
|
-
value:
|
|
906
|
+
value: Ge,
|
|
907
907
|
meta: A,
|
|
908
908
|
errors: Q,
|
|
909
909
|
errorMessage: Le,
|
|
@@ -917,20 +917,20 @@ function Be(e, t, r) {
|
|
|
917
917
|
validate: se,
|
|
918
918
|
handleChange: de,
|
|
919
919
|
handleBlur: qe,
|
|
920
|
-
setState:
|
|
920
|
+
setState: J,
|
|
921
921
|
setTouched: We,
|
|
922
|
-
setErrors:
|
|
922
|
+
setErrors: Ke,
|
|
923
923
|
setValue: Z
|
|
924
924
|
};
|
|
925
925
|
if (Xe(ht, j), ie(t) && typeof v(t) != "function" && U(t, (a, p) => {
|
|
926
926
|
k(a, p) || (A.validated ? D() : R());
|
|
927
927
|
}, {
|
|
928
928
|
deep: !0
|
|
929
|
-
}), process.env.NODE_ENV !== "production" && (j._vm =
|
|
929
|
+
}), process.env.NODE_ENV !== "production" && (j._vm = G(), U(() => Object.assign(Object.assign({ errors: Q.value }, A), { value: $.value }), oe, {
|
|
930
930
|
deep: !0
|
|
931
|
-
}), c ||
|
|
931
|
+
}), c || Gt(j)), !c)
|
|
932
932
|
return j;
|
|
933
|
-
const
|
|
933
|
+
const Je = C(() => {
|
|
934
934
|
const a = E.value;
|
|
935
935
|
return !a || I(a) || ne(a) || q(a) || Array.isArray(a) ? {} : Object.keys(a).reduce((p, V) => {
|
|
936
936
|
const b = Nt(a[V]).map((L) => L.__locatorRef).reduce((L, M) => {
|
|
@@ -940,7 +940,7 @@ function Be(e, t, r) {
|
|
|
940
940
|
return Object.assign(p, b), p;
|
|
941
941
|
}, {});
|
|
942
942
|
});
|
|
943
|
-
return U(
|
|
943
|
+
return U(Je, (a, p) => {
|
|
944
944
|
if (!Object.keys(a).length)
|
|
945
945
|
return;
|
|
946
946
|
!k(a, p) && (A.validated ? D() : R());
|
|
@@ -1006,7 +1006,7 @@ function tr(e, t, r) {
|
|
|
1006
1006
|
return l(Be(e, t));
|
|
1007
1007
|
}
|
|
1008
1008
|
function rr({ prop: e, value: t, handleChange: r, shouldValidate: n }) {
|
|
1009
|
-
const o =
|
|
1009
|
+
const o = G();
|
|
1010
1010
|
if (!o || !e) {
|
|
1011
1011
|
process.env.NODE_ENV !== "production" && console.warn("Failed to setup model events because `useField` was not called in setup.");
|
|
1012
1012
|
return;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as t, openBlock as o, renderSlot as r } from "vue";
|
|
2
|
-
import { a as s } from "./index-
|
|
2
|
+
import { a as s } from "./index-hjRiaRG8.js";
|
|
3
3
|
const c = {}, n = { class: "py-6 px-3 w-1/4 min-w-[180px]" };
|
|
4
4
|
function a(e, l) {
|
|
5
5
|
return o(), t("ul", n, [
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { defineComponent as m, ref as u, computed as f, onMounted as p, nextTick as v, createElementBlock as h, openBlock as y } from "vue";
|
|
2
|
+
import { y as g } from "./index-hjRiaRG8.js";
|
|
3
|
+
const E = ["id", "innerHTML"], T = /* @__PURE__ */ m({
|
|
4
|
+
__name: "EpSvgShow",
|
|
5
|
+
props: {
|
|
6
|
+
svg: {},
|
|
7
|
+
id: {},
|
|
8
|
+
animation: { default: "" },
|
|
9
|
+
multiple: { type: Boolean, default: !1 }
|
|
10
|
+
},
|
|
11
|
+
setup(l) {
|
|
12
|
+
const n = l, o = u(""), c = f(() => {
|
|
13
|
+
switch (n.animation) {
|
|
14
|
+
case "translateX":
|
|
15
|
+
return "animate-slide";
|
|
16
|
+
case "scale":
|
|
17
|
+
return "animate-zoom";
|
|
18
|
+
default:
|
|
19
|
+
return "animate-fade";
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
p(async () => {
|
|
23
|
+
var a, e;
|
|
24
|
+
o.value = g(n.svg), await v();
|
|
25
|
+
const t = (a = document.getElementById(n.id)) == null ? void 0 : a.getElementsByClassName("scene");
|
|
26
|
+
t && Array.from(t).forEach((i) => {
|
|
27
|
+
i.classList.contains("hidden") || i.classList.add("hidden");
|
|
28
|
+
});
|
|
29
|
+
const s = (e = document.getElementById(n.id)) == null ? void 0 : e.getElementsByClassName("btn");
|
|
30
|
+
s && Array.from(s).forEach((i) => {
|
|
31
|
+
i.addEventListener("click", (L) => {
|
|
32
|
+
const r = i.getAttribute("id");
|
|
33
|
+
d(r ?? "");
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
const d = (t) => {
|
|
38
|
+
var s;
|
|
39
|
+
if (console.log("event", t), o.value) {
|
|
40
|
+
const a = (s = document.getElementById(n.id)) == null ? void 0 : s.getElementsByClassName("scene");
|
|
41
|
+
a && Array.from(a).forEach((e) => {
|
|
42
|
+
e.classList.contains(`scene-${t}`) ? (e.classList.remove("hidden", c.value), e.classList.add(c.value)) : !n.multiple && !e.classList.contains("hidden") && (e.classList.add("hidden"), e.classList.remove(c.value));
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
return (t, s) => (y(), h("div", {
|
|
47
|
+
id: t.id,
|
|
48
|
+
innerHTML: o.value
|
|
49
|
+
}, null, 8, E));
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
T as default
|
|
54
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { SizeThumbnail, InfoModal } from '../../types/Image';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
height?: string | number;
|
|
7
|
+
width?: string | number;
|
|
8
|
+
sizeThumbnail?: SizeThumbnail;
|
|
9
|
+
caption?: string;
|
|
10
|
+
bib?: string;
|
|
11
|
+
title?: string;
|
|
12
|
+
noModal?: boolean;
|
|
13
|
+
cols?: string | number;
|
|
14
|
+
labelClose?: string;
|
|
15
|
+
labelRef?: string;
|
|
16
|
+
labelRefLib?: string;
|
|
17
|
+
puzzle?: boolean;
|
|
18
|
+
managedModal?: boolean;
|
|
19
|
+
infoModal?: InfoModal;
|
|
20
|
+
}
|
|
21
|
+
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
22
|
+
alt: string;
|
|
23
|
+
cols: string;
|
|
24
|
+
noModal: boolean;
|
|
25
|
+
puzzle: boolean;
|
|
26
|
+
sizeThumbnail: string;
|
|
27
|
+
labelClose: string;
|
|
28
|
+
labelRef: string;
|
|
29
|
+
labelRefLib: string;
|
|
30
|
+
managedModal: boolean;
|
|
31
|
+
}>>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {
|
|
32
|
+
newFocus: () => void;
|
|
33
|
+
nextSlide: () => void;
|
|
34
|
+
prevSlide: () => void;
|
|
35
|
+
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
36
|
+
alt: string;
|
|
37
|
+
cols: string;
|
|
38
|
+
noModal: boolean;
|
|
39
|
+
puzzle: boolean;
|
|
40
|
+
sizeThumbnail: string;
|
|
41
|
+
labelClose: string;
|
|
42
|
+
labelRef: string;
|
|
43
|
+
labelRefLib: string;
|
|
44
|
+
managedModal: boolean;
|
|
45
|
+
}>>> & Readonly<{
|
|
46
|
+
onNewFocus?: (() => any) | undefined;
|
|
47
|
+
onNextSlide?: (() => any) | undefined;
|
|
48
|
+
onPrevSlide?: (() => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
alt: string;
|
|
51
|
+
cols: string | number;
|
|
52
|
+
sizeThumbnail: SizeThumbnail;
|
|
53
|
+
noModal: boolean;
|
|
54
|
+
labelClose: string;
|
|
55
|
+
labelRef: string;
|
|
56
|
+
labelRefLib: string;
|
|
57
|
+
puzzle: boolean;
|
|
58
|
+
managedModal: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
62
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
63
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
64
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
65
|
+
} : {
|
|
66
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
type __VLS_WithDefaults<P, D> = {
|
|
71
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
72
|
+
default: D[K];
|
|
73
|
+
}> : P[K];
|
|
74
|
+
};
|
|
75
|
+
type __VLS_Prettify<T> = {
|
|
76
|
+
[K in keyof T]: T[K];
|
|
77
|
+
} & {};
|
|
@@ -2,6 +2,7 @@ import { Scene } from '../../types/image360';
|
|
|
2
2
|
|
|
3
3
|
interface Props {
|
|
4
4
|
scenes: Scene[];
|
|
5
|
+
id?: string;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
7
8
|
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Answer, Sockets } from '../../types/Draggable';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
answers: Answer[];
|
|
5
|
+
src: string;
|
|
6
|
+
sockets: Sockets[];
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {}>>> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('../../../vue/dist/vue.esm-bundler.js').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|