@gamelearn/arcade-components 3.12.5 → 3.12.6
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.
|
@@ -25989,6 +25989,7 @@ function VideoVisor({
|
|
|
25989
25989
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
25990
25990
|
"video",
|
|
25991
25991
|
{
|
|
25992
|
+
"data-testid": "video-visor-video",
|
|
25992
25993
|
autoPlay: h,
|
|
25993
25994
|
onMouseMove: () => Q(),
|
|
25994
25995
|
onClick: () => {
|
|
@@ -30501,35 +30502,45 @@ function ConversationalProComponent({
|
|
|
30501
30502
|
};
|
|
30502
30503
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(DecisionComponent, { ...Xe });
|
|
30503
30504
|
}
|
|
30504
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "conversation--layer", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
30505
|
-
|
|
30506
|
-
|
|
30507
|
-
|
|
30508
|
-
|
|
30509
|
-
|
|
30510
|
-
|
|
30511
|
-
|
|
30512
|
-
|
|
30513
|
-
|
|
30514
|
-
|
|
30515
|
-
|
|
30516
|
-
|
|
30517
|
-
|
|
30518
|
-
|
|
30519
|
-
|
|
30520
|
-
|
|
30521
|
-
|
|
30522
|
-
|
|
30523
|
-
|
|
30524
|
-
|
|
30525
|
-
|
|
30526
|
-
|
|
30527
|
-
|
|
30528
|
-
|
|
30529
|
-
|
|
30530
|
-
|
|
30531
|
-
|
|
30532
|
-
|
|
30505
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "conversation--layer", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
30506
|
+
"div",
|
|
30507
|
+
{
|
|
30508
|
+
"data-testid": "conversational-pro-image",
|
|
30509
|
+
className: "conversation",
|
|
30510
|
+
style: B ? { backgroundImage: `url("${B}")` } : null,
|
|
30511
|
+
children: [
|
|
30512
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SlotList, { ...Le, ttsStarted: N }),
|
|
30513
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "conversation--body", dir: "auto", children: [
|
|
30514
|
+
le ? /* @__PURE__ */ jsxRuntimeExports.jsx(Message, { current: le, translate: ee }) : null,
|
|
30515
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "conversation--controls", children: [
|
|
30516
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30517
|
+
"button",
|
|
30518
|
+
{
|
|
30519
|
+
"data-testid": "conversational-pro-button-back",
|
|
30520
|
+
className: `gat--btn__round ${dt ? "disabled" : ""}`,
|
|
30521
|
+
disabled: dt ? !0 : "",
|
|
30522
|
+
type: "button",
|
|
30523
|
+
onClick: Ve,
|
|
30524
|
+
"aria-label": LangIsRtl() ? ee("storylines.misc.forward") : ee("storylines.misc.rewind"),
|
|
30525
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: LangIsRtl() ? "icon-next" : "icon-back" })
|
|
30526
|
+
}
|
|
30527
|
+
),
|
|
30528
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30529
|
+
"button",
|
|
30530
|
+
{
|
|
30531
|
+
"data-testid": "conversational-pro-button-next",
|
|
30532
|
+
className: `gat--btn__round ${b && Me() ? "glowing-animation" : ""}`,
|
|
30533
|
+
type: "button",
|
|
30534
|
+
onClick: De,
|
|
30535
|
+
"aria-label": LangIsRtl() ? ee("storylines.misc.rewind") : ee("storylines.misc.forward"),
|
|
30536
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: LangIsRtl() ? "icon-back" : "icon-next" })
|
|
30537
|
+
}
|
|
30538
|
+
)
|
|
30539
|
+
] })
|
|
30540
|
+
] })
|
|
30541
|
+
]
|
|
30542
|
+
}
|
|
30543
|
+
) });
|
|
30533
30544
|
}
|
|
30534
30545
|
ConversationalProComponent.defaultProps = {
|
|
30535
30546
|
background: {},
|
|
@@ -30554,6 +30565,7 @@ function ConversationalComponent({ emitEvent: l, soundActions: e, messages: n, c
|
|
|
30554
30565
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "conversation--layer", children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
30555
30566
|
"div",
|
|
30556
30567
|
{
|
|
30568
|
+
"data-testid": "conversation-component",
|
|
30557
30569
|
className: "conversation arcade-conversation",
|
|
30558
30570
|
style: p ? { backgroundImage: `url("${p}")` } : {},
|
|
30559
30571
|
children: [
|
|
@@ -30574,13 +30586,23 @@ function ConversationalComponent({ emitEvent: l, soundActions: e, messages: n, c
|
|
|
30574
30586
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30575
30587
|
"button",
|
|
30576
30588
|
{
|
|
30589
|
+
"data-testid": "conversational-back-button",
|
|
30577
30590
|
className: `gat--btn__round ${f > 0 ? "" : "visibility--hidden"}`,
|
|
30578
30591
|
type: "button",
|
|
30579
30592
|
onClick: E,
|
|
30580
30593
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "icon-back" })
|
|
30581
30594
|
}
|
|
30582
30595
|
),
|
|
30583
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30596
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30597
|
+
"button",
|
|
30598
|
+
{
|
|
30599
|
+
"data-testid": "conversational-next-button",
|
|
30600
|
+
className: "gat--btn__round",
|
|
30601
|
+
type: "button",
|
|
30602
|
+
onClick: S,
|
|
30603
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "icon-next" })
|
|
30604
|
+
}
|
|
30605
|
+
)
|
|
30584
30606
|
] })
|
|
30585
30607
|
] })
|
|
30586
30608
|
]
|
|
@@ -30853,6 +30875,7 @@ function CartelComponent({
|
|
|
30853
30875
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "position--absolute center right", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30854
30876
|
"button",
|
|
30855
30877
|
{
|
|
30878
|
+
"data-testid": "cartel-close-button",
|
|
30856
30879
|
type: "button",
|
|
30857
30880
|
className: "gat--btn__round",
|
|
30858
30881
|
onClick: () => C(),
|
|
@@ -32181,6 +32204,7 @@ function FeedbackComponent$1({
|
|
|
32181
32204
|
"button",
|
|
32182
32205
|
{
|
|
32183
32206
|
type: "button",
|
|
32207
|
+
"data-testid": "close-feedback",
|
|
32184
32208
|
className: "gat--btn__navigation",
|
|
32185
32209
|
onClick: () => s(),
|
|
32186
32210
|
"aria-label": d("storylines.misc.closePiece"),
|
|
@@ -54931,7 +54955,7 @@ function CurrentImageClickPuzzle({
|
|
|
54931
54955
|
},
|
|
54932
54956
|
[
|
|
54933
54957
|
E,
|
|
54934
|
-
B
|
|
54958
|
+
B,
|
|
54935
54959
|
M.hasClickOnce,
|
|
54936
54960
|
M.areas.length,
|
|
54937
54961
|
M.hasClickOrder,
|
|
@@ -55290,6 +55314,7 @@ function FrameImageClickComponent({
|
|
|
55290
55314
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "puzzle-frame__controls", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "puzzle-frame__progress", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55291
55315
|
"div",
|
|
55292
55316
|
{
|
|
55317
|
+
"data-testid": "puzzle-frame-progress",
|
|
55293
55318
|
style: {
|
|
55294
55319
|
width: `${b / M * 100}%`
|
|
55295
55320
|
},
|
|
@@ -55299,6 +55324,7 @@ function FrameImageClickComponent({
|
|
|
55299
55324
|
s ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
55300
55325
|
"button",
|
|
55301
55326
|
{
|
|
55327
|
+
"data-testid": "puzzle-frame-counter-button",
|
|
55302
55328
|
disabled: C,
|
|
55303
55329
|
"aria-hidden": C,
|
|
55304
55330
|
type: "button",
|
|
@@ -56201,6 +56227,7 @@ function Card({ card: l, handleClick: e, flipped: n, cardIndex: t, wrongOrder: s
|
|
|
56201
56227
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
56202
56228
|
"button",
|
|
56203
56229
|
{
|
|
56230
|
+
"data-testid": `card-${t}`,
|
|
56204
56231
|
type: "button",
|
|
56205
56232
|
order: l.order,
|
|
56206
56233
|
onClick: () => {
|