eat-js-sdk 0.0.16 → 0.0.17
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/eat-prompt-builder.mjs +11 -10
- package/package.json +1 -1
|
@@ -1644,6 +1644,7 @@
|
|
|
1644
1644
|
c() {
|
|
1645
1645
|
span = element("span");
|
|
1646
1646
|
if_block.c();
|
|
1647
|
+
attr(span, "aria-hidden", "true");
|
|
1647
1648
|
attr(span, "class", span_class_value = /*isResultCorrect*/
|
|
1648
1649
|
(ctx[2] ? "text-green-800" : "text-red-800") + " p-0.5");
|
|
1649
1650
|
},
|
|
@@ -1810,13 +1811,13 @@
|
|
|
1810
1811
|
attr(span1, "class", "grow flex items-center");
|
|
1811
1812
|
attr(button, "aria-label", button_aria_label_value = `${/*selectedOption*/
|
|
1812
1813
|
ctx[3] === /*option*/
|
|
1813
|
-
ctx[17].id ?
|
|
1814
|
-
/*index*/
|
|
1815
|
-
ctx[19]
|
|
1816
|
-
)} ${!/*isFinished*/
|
|
1814
|
+
ctx[17].id ? `${!/*isFinished*/
|
|
1817
1815
|
ctx[1] ? "" : (
|
|
1818
1816
|
/*isResultCorrect*/
|
|
1819
|
-
ctx[2] ? "(
|
|
1817
|
+
ctx[2] ? "(Correct)" : "(Incorrect)"
|
|
1818
|
+
)} Selected option ${useMCQ_default(
|
|
1819
|
+
/*index*/
|
|
1820
|
+
ctx[19]
|
|
1820
1821
|
)}` : `Option ${useMCQ_default(
|
|
1821
1822
|
/*index*/
|
|
1822
1823
|
ctx[19]
|
|
@@ -1902,13 +1903,13 @@
|
|
|
1902
1903
|
if (!current || dirty & /*selectedOption, isFinished, isResultCorrect*/
|
|
1903
1904
|
14 && button_aria_label_value !== (button_aria_label_value = `${/*selectedOption*/
|
|
1904
1905
|
ctx[3] === /*option*/
|
|
1905
|
-
ctx[17].id ?
|
|
1906
|
-
/*index*/
|
|
1907
|
-
ctx[19]
|
|
1908
|
-
)} ${!/*isFinished*/
|
|
1906
|
+
ctx[17].id ? `${!/*isFinished*/
|
|
1909
1907
|
ctx[1] ? "" : (
|
|
1910
1908
|
/*isResultCorrect*/
|
|
1911
|
-
ctx[2] ? "(
|
|
1909
|
+
ctx[2] ? "(Correct)" : "(Incorrect)"
|
|
1910
|
+
)} Selected option ${useMCQ_default(
|
|
1911
|
+
/*index*/
|
|
1912
|
+
ctx[19]
|
|
1912
1913
|
)}` : `Option ${useMCQ_default(
|
|
1913
1914
|
/*index*/
|
|
1914
1915
|
ctx[19]
|