labmaker-plugin 0.0.238 → 0.0.240
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/labmaker-plugin.js +25 -9
- package/dist/labmaker-plugin.umd.cjs +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/labmaker-plugin.js
CHANGED
|
@@ -475,8 +475,16 @@ const wo = {
|
|
|
475
475
|
return !!(this.stepperStore.getShowFeedback && this.feedbackIndex === A);
|
|
476
476
|
}
|
|
477
477
|
},
|
|
478
|
+
mounted() {
|
|
479
|
+
if (this.stepperStore.getDirections.display === !1) {
|
|
480
|
+
let A = document.getElementsByClassName("hotspot");
|
|
481
|
+
setTimeout(() => {
|
|
482
|
+
A[0].focus();
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
},
|
|
478
486
|
beforeMount() {
|
|
479
|
-
this.stepperStore = this.stepperMain(), this.stepperStore.
|
|
487
|
+
this.stepperStore = this.stepperMain(), this.stepperStore.resetSteps("hotspot");
|
|
480
488
|
}
|
|
481
489
|
}, Lo = { class: "imageMarker" }, Qo = ["src", "alt"], Fo = { class: "hotspotArea" }, Uo = ["src", "alt"], bo = { class: "im-buttonText" };
|
|
482
490
|
function xo(A, c, e, a, r, s) {
|
|
@@ -515,7 +523,7 @@ function xo(A, c, e, a, r, s) {
|
|
|
515
523
|
])
|
|
516
524
|
]);
|
|
517
525
|
}
|
|
518
|
-
const yo = /* @__PURE__ */ i2(wo, [["render", xo], ["__scopeId", "data-v-
|
|
526
|
+
const yo = /* @__PURE__ */ i2(wo, [["render", xo], ["__scopeId", "data-v-c90347a1"]]);
|
|
519
527
|
const So = {
|
|
520
528
|
props: ["content"],
|
|
521
529
|
data() {
|
|
@@ -538,8 +546,16 @@ const So = {
|
|
|
538
546
|
this.imageReplaced = !0, this.imageSrc = this.content.hotspots[A].imageOverlay, this.imageAlt = this.content.hotspots[A].imageOverlayAlt, this.stepperStore.stepHold = !1, this.stepperStore.lastPageFocus();
|
|
539
547
|
}
|
|
540
548
|
},
|
|
549
|
+
mounted() {
|
|
550
|
+
if (this.stepperStore.getDirections.display === !1) {
|
|
551
|
+
let A = document.getElementsByClassName("hotspot");
|
|
552
|
+
setTimeout(() => {
|
|
553
|
+
A[0].focus();
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
},
|
|
541
557
|
beforeMount() {
|
|
542
|
-
this.stepperStore = this.stepperMain();
|
|
558
|
+
this.stepperStore = this.stepperMain(), this.stepperStore.resetSteps("hotspot");
|
|
543
559
|
}
|
|
544
560
|
}, No = ["innerHTML"], Eo = ["src", "alt"], ko = { class: "hotspotArea" };
|
|
545
561
|
function Io(A, c, e, a, r, s) {
|
|
@@ -578,7 +594,7 @@ function Io(A, c, e, a, r, s) {
|
|
|
578
594
|
_: 1
|
|
579
595
|
});
|
|
580
596
|
}
|
|
581
|
-
const To = /* @__PURE__ */ i2(So, [["render", Io], ["__scopeId", "data-v-
|
|
597
|
+
const To = /* @__PURE__ */ i2(So, [["render", Io], ["__scopeId", "data-v-16681fb3"]]);
|
|
582
598
|
const Do = {
|
|
583
599
|
components: {},
|
|
584
600
|
props: ["content"],
|
|
@@ -1115,11 +1131,11 @@ const cl = {
|
|
|
1115
1131
|
}
|
|
1116
1132
|
},
|
|
1117
1133
|
mounted() {
|
|
1118
|
-
this.stepperStore.getDirections.display === !1 && (document.getElementsByClassName("
|
|
1134
|
+
this.stepperStore.getDirections.display === !1 && (document.getElementsByClassName("jl-menu-item"), setTimeout(() => {
|
|
1119
1135
|
}));
|
|
1120
1136
|
},
|
|
1121
1137
|
beforeMount() {
|
|
1122
|
-
this.stepperStore = this.stepperMain(), this.stepperStore.
|
|
1138
|
+
this.stepperStore = this.stepperMain(), this.stepperStore.resetSteps("jl-menu-item"), this.feedbackIndex = -1, this.content.attempts && (this.totalAttempts = this.content.attempts);
|
|
1123
1139
|
}
|
|
1124
1140
|
}, el = { key: 0 }, al = ["index", "onClick"], rl = { class: "jl-menu-sub__title" }, sl = ["id"], tl = ["index", "onClick"], il = { class: "jl-menu-sub-sub__title" }, nl = ["id"], ol = ["index", "onClick"], ll = ["onClick"], fl = {
|
|
1125
1141
|
key: 1,
|
|
@@ -1831,7 +1847,7 @@ const gl = {
|
|
|
1831
1847
|
}), this.keyboardMove(A);
|
|
1832
1848
|
},
|
|
1833
1849
|
beforeMount() {
|
|
1834
|
-
this.stepperStore = this.stepperMain();
|
|
1850
|
+
this.stepperStore = this.stepperMain(), this.stepperStore.resetSteps("vdr");
|
|
1835
1851
|
}
|
|
1836
1852
|
}, dl = { class: "fridgemagnet" }, zl = ["innerHTML"], Vl = ["src", "alt"], Ml = ["id", "src", "alt"], wl = ["innerHTML"];
|
|
1837
1853
|
function Ll(A, c, e, a, r, s) {
|
|
@@ -1957,7 +1973,7 @@ const Fl = {
|
|
|
1957
1973
|
});
|
|
1958
1974
|
},
|
|
1959
1975
|
beforeMount() {
|
|
1960
|
-
this.stepperStore = this.stepperMain(), this.createItems();
|
|
1976
|
+
this.stepperStore = this.stepperMain(), this.stepperStore.resetSteps("dragItems"), this.createItems();
|
|
1961
1977
|
}
|
|
1962
1978
|
}, Ul = ["innerHTML"], bl = {
|
|
1963
1979
|
key: 1,
|
|
@@ -2147,7 +2163,7 @@ const Il = {
|
|
|
2147
2163
|
}
|
|
2148
2164
|
},
|
|
2149
2165
|
beforeMount() {
|
|
2150
|
-
this.stepperStore = this.stepperMain(), this.stepperStore.
|
|
2166
|
+
this.stepperStore = this.stepperMain(), this.stepperStore.resetSteps("dragItems"), this.stepperStore.attempts = 0, this.content.attempts && (this.totalAttempts = this.content.attempts), this.createItems();
|
|
2151
2167
|
}
|
|
2152
2168
|
}, Tl = ["innerHTML"], Dl = ["onClick"], Kl = ["id", "src", "alt"], Rl = {
|
|
2153
2169
|
key: 0,
|