labmaker-plugin 0.0.358 → 0.0.359
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
CHANGED
|
@@ -887,7 +887,7 @@ const Fu = {
|
|
|
887
887
|
return this.stepperStore.getShowFeedbackAttempts;
|
|
888
888
|
},
|
|
889
889
|
feedbackHeader() {
|
|
890
|
-
return this.stepperStore.getShowFeedbackAttempts
|
|
890
|
+
return this.stepperStore.getShowFeedbackAttempts ? "Too Many Attempts" : this.content.feedbackHeader;
|
|
891
891
|
},
|
|
892
892
|
feedbackWidth() {
|
|
893
893
|
return this.content.feedbackWidth ? this.content.feedbackWidth : "50%";
|
|
@@ -1973,7 +1973,7 @@ const Sh = {
|
|
|
1973
1973
|
return !1;
|
|
1974
1974
|
return !0;
|
|
1975
1975
|
}
|
|
1976
|
-
this.getAttempt < Number(this.content.attempts) ? c(this.selected, this.correctChoices) ? (this.stepperStore.showFeedback = !0, this.feedbackObject.feedbackHeader = this.content.correctHeader, this.feedbackObject.feedback = this.content.correctFeedback, this.choicesComplete(!0)) : (this.feedbackObject.feedbackHeader = this.content.incorrectHeader, this.feedbackObject.feedback = this.content.incorrectFeedback, this.stepperStore.attempts = this.getAttempt + 1) : (c(this.selected, this.correctChoices) || (this.stepperStore.showFeedbackAttempts = !0, this.feedbackObject.feedbackAttempts = this.content.feedbackAttempts, this.
|
|
1976
|
+
this.getAttempt < Number(this.content.attempts) ? c(this.selected, this.correctChoices) ? (this.stepperStore.showFeedback = !0, this.feedbackObject.feedbackHeader = this.content.correctHeader, this.feedbackObject.feedback = this.content.correctFeedback, this.choicesComplete(!0)) : (this.feedbackObject.feedbackHeader = this.content.incorrectHeader, this.feedbackObject.feedback = this.content.incorrectFeedback, this.stepperStore.attempts = this.getAttempt + 1) : (c(this.selected, this.correctChoices) || (this.stepperStore.showFeedbackAttempts = !0, this.feedbackObject.feedbackAttempts = this.content.feedbackAttempts, this.selected = this.correctChoices), this.choicesComplete(!1)), this.feedbackIndex = A, this.stepperStore.showFeedback = !0, setTimeout(() => {
|
|
1977
1977
|
document.getElementById("feedbackClose") && document.getElementById("feedbackClose").focus();
|
|
1978
1978
|
});
|
|
1979
1979
|
},
|
|
@@ -2034,7 +2034,7 @@ function Th(A, c, e, a, r, t) {
|
|
|
2034
2034
|
}, null, 8, ["content"])) : y("", !0)
|
|
2035
2035
|
], 2);
|
|
2036
2036
|
}
|
|
2037
|
-
const Dh = /* @__PURE__ */ a2(Sh, [["render", Th], ["__scopeId", "data-v-
|
|
2037
|
+
const Dh = /* @__PURE__ */ a2(Sh, [["render", Th], ["__scopeId", "data-v-38862b63"]]);
|
|
2038
2038
|
const XA = {
|
|
2039
2039
|
y: {
|
|
2040
2040
|
t: "top",
|