@pocketprep/ui-kit 3.4.51 → 3.4.52
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/@pocketprep/ui-kit.js +9 -6
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Quiz/Question.vue +73 -3
- package/lib/components/Quiz/QuizContainer.vue +15 -1
- package/package.json +1 -1
|
@@ -19452,10 +19452,12 @@ let ze = class extends we {
|
|
|
19452
19452
|
keywordClick(s) {
|
|
19453
19453
|
const o = s.target;
|
|
19454
19454
|
if (o.classList.contains("keyword-highlight")) {
|
|
19455
|
-
const t = o.innerHTML, n = o.getAttribute("data-location");
|
|
19455
|
+
const t = o.innerHTML, n = o.getAttribute("data-location"), r = { x: s.clientX, y: s.clientY };
|
|
19456
19456
|
return {
|
|
19457
19457
|
keyword: t,
|
|
19458
|
-
location: n
|
|
19458
|
+
location: n,
|
|
19459
|
+
clickLocation: r,
|
|
19460
|
+
target: o
|
|
19459
19461
|
};
|
|
19460
19462
|
}
|
|
19461
19463
|
}
|
|
@@ -20225,11 +20227,11 @@ function Ng(e, i, s, o, t, n) {
|
|
|
20225
20227
|
const r = Oe("breakpoint"), Y = Oe("dark");
|
|
20226
20228
|
return le((U(), te("div", Fg, [
|
|
20227
20229
|
le((U(), te("div", {
|
|
20228
|
-
class: "uikit-quiz-container__header",
|
|
20230
|
+
class: Le(["uikit-quiz-container__header", { "uikit-quiz-container__header--dark": e.isDarkMode }]),
|
|
20229
20231
|
style: Ke(e.customHeaderStyles)
|
|
20230
20232
|
}, [
|
|
20231
20233
|
De(e.$slots, "header")
|
|
20232
|
-
],
|
|
20234
|
+
], 6)), [
|
|
20233
20235
|
[r, void 0, "quizContainerEl"]
|
|
20234
20236
|
]),
|
|
20235
20237
|
oe("div", {
|
|
@@ -20237,6 +20239,7 @@ function Ng(e, i, s, o, t, n) {
|
|
|
20237
20239
|
style: Ke(e.customMainStyles)
|
|
20238
20240
|
}, [
|
|
20239
20241
|
e.showSide ? le((U(), te("div", zg, [
|
|
20242
|
+
De(e.$slots, "definition"),
|
|
20240
20243
|
De(e.$slots, "side")
|
|
20241
20244
|
])), [
|
|
20242
20245
|
[r, void 0, "quizContainerEl"],
|
|
@@ -20254,11 +20257,11 @@ function Ng(e, i, s, o, t, n) {
|
|
|
20254
20257
|
])
|
|
20255
20258
|
], 4),
|
|
20256
20259
|
le((U(), te("div", {
|
|
20257
|
-
class: "uikit-quiz-container__footer",
|
|
20260
|
+
class: Le(["uikit-quiz-container__footer", { "uikit-quiz-container__footer--dark": e.isDarkMode }]),
|
|
20258
20261
|
style: Ke(e.customFooterStyles)
|
|
20259
20262
|
}, [
|
|
20260
20263
|
De(e.$slots, "footer")
|
|
20261
|
-
],
|
|
20264
|
+
], 6)), [
|
|
20262
20265
|
[r, void 0, "quizContainerEl"]
|
|
20263
20266
|
])
|
|
20264
20267
|
])), [
|