lido-player 0.0.2-alpha-32 → 0.0.2-alpha-33
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/cjs/index.cjs.js +1 -1
- package/dist/cjs/lido-avatar_18.cjs.entry.js +1 -1
- package/dist/cjs/{utils-90a0261a.js → utils-07b2249f.js} +5 -1
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +10 -10
- package/dist/collection/utils/utilsHandlers/floatHandler.js +5 -1
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-cell.js +1 -1
- package/dist/components/lido-col.js +1 -1
- package/dist/components/lido-container.js +1 -1
- package/dist/components/lido-flash-card.js +1 -1
- package/dist/components/lido-float.js +1 -1
- package/dist/components/lido-home.js +1 -1
- package/dist/components/lido-image.js +1 -1
- package/dist/components/lido-keyboard.js +1 -1
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +18 -18
- package/dist/components/lido-row.js +1 -1
- package/dist/components/lido-shape.js +1 -1
- package/dist/components/lido-slide-fill.js +1 -1
- package/dist/components/lido-text.js +1 -1
- package/dist/components/lido-trace.js +1 -1
- package/dist/components/lido-wrap.js +1 -1
- package/dist/components/{p-518dbf0c.js → p-4f726fb5.js} +1 -1
- package/dist/components/{p-149d738f.js → p-66a06c78.js} +1 -1
- package/dist/components/{p-6069f60f.js → p-6a7d604b.js} +1 -1
- package/dist/components/{p-d7c8fdf9.js → p-6cb00626.js} +1 -1
- package/dist/components/{p-3db20df8.js → p-72d16bea.js} +1 -1
- package/dist/components/{p-bcf8583d.js → p-7a22083e.js} +1 -1
- package/dist/components/{p-769dc22d.js → p-891ef62d.js} +5 -1
- package/dist/components/{p-e3557ade.js → p-963af660.js} +1 -1
- package/dist/components/{p-a65e42db.js → p-9cb1af1a.js} +1 -1
- package/dist/components/{p-e165a409.js → p-a9e29b2f.js} +1 -1
- package/dist/components/{p-fd8b0c87.js → p-ac57a4e2.js} +1 -1
- package/dist/components/{p-0b6de9ec.js → p-affc10b9.js} +1 -1
- package/dist/components/{p-f1a192f1.js → p-b8a8822b.js} +1 -1
- package/dist/components/{p-4e30eaee.js → p-cbba1f37.js} +2 -2
- package/dist/components/{p-b4e8816f.js → p-d00f3288.js} +1 -1
- package/dist/components/{p-6c614a2f.js → p-dd8aa1c2.js} +17 -17
- package/dist/components/{p-e157c154.js → p-effc1618.js} +1 -1
- package/dist/components/{p-621d3e53.js → p-fb18186b.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-avatar_18.entry.js +1 -1
- package/dist/esm/{utils-53fa3280.js → utils-f0e0b5c8.js} +5 -1
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-e43fbd8f.entry.js → p-169fbe16.entry.js} +1 -1
- package/dist/lido-player/{p-878f7cfe.js → p-918b6138.js} +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -67825,11 +67825,15 @@ async function handleElementClick(element) {
|
|
|
67825
67825
|
if (res) {
|
|
67826
67826
|
const onCorrect = container['onCorrect'];
|
|
67827
67827
|
await executeActions(onCorrect, container);
|
|
67828
|
-
|
|
67828
|
+
let fillValue = JSON.parse(fillElement['fill']);
|
|
67829
67829
|
if (fillValue === 100 && !fillCompleted) {
|
|
67830
67830
|
fillCompleted = true;
|
|
67831
|
+
container.style.pointerEvents = 'none';
|
|
67831
67832
|
triggerNextContainer();
|
|
67832
67833
|
}
|
|
67834
|
+
else {
|
|
67835
|
+
fillCompleted = false;
|
|
67836
|
+
}
|
|
67833
67837
|
}
|
|
67834
67838
|
else {
|
|
67835
67839
|
const onInCorrect = container['onInCorrect'];
|
|
@@ -68,13 +68,13 @@ function getContainerXml(args) {
|
|
|
68
68
|
// ✅ Wing positioning based on DROP elements
|
|
69
69
|
const dropCount = args.correct.length;
|
|
70
70
|
// wing dynamic positions
|
|
71
|
-
const wingXLandscape =
|
|
72
|
-
const wingXPortrait =
|
|
71
|
+
const wingXLandscape = 46 + dropCount * 4;
|
|
72
|
+
const wingXPortrait = (dropCount <= 3 ? 52 + dropCount * 4 : 56 + dropCount * 4);
|
|
73
73
|
// create drop elements
|
|
74
74
|
const dropElements = args.correct.map((letter, index) => {
|
|
75
|
-
const marginleft = index === 0 ? -
|
|
75
|
+
const marginleft = index === 0 ? -60 : 0;
|
|
76
76
|
return `
|
|
77
|
-
<lido-image value="${letter}" string="${letter}" is-slice="true" onEntry="this.padding='0px'; this.margin-left='${marginleft}px'; this.margin-top='
|
|
77
|
+
<lido-image value="${letter}" string="${letter}" is-slice="true" onEntry="this.padding='0px'; this.margin-left='${marginleft}px'; this.margin-top='8px';" bg-color="transparent" id="drop-image${index + 1}" disable-edit="true" type="drop" tab-index="${9 + index}" visible="true" src="${args.dropImage}" height="landscape.150px, portrait.150px" width="landscape.150px, portrait.125px">
|
|
78
78
|
</lido-image>
|
|
79
79
|
`;
|
|
80
80
|
}).join('');
|
|
@@ -106,20 +106,20 @@ function getContainerXml(args) {
|
|
|
106
106
|
</lido-text>
|
|
107
107
|
</lido-cell>
|
|
108
108
|
|
|
109
|
-
<lido-cell
|
|
110
|
-
<lido-image bg-color="transparent" height="landscape.
|
|
109
|
+
<lido-cell layout="row" onEntry="this.position='absolute'; this.justify-content='center'; this.align-items='center';" y="landscape.20%, portrait.40%" tab-index="7" id="fullRrocket" bg-color="transparent" height="landscape.445px, portrait.275px" width="100%" visible="true">
|
|
110
|
+
<lido-image bg-color="transparent" height="landscape.160px, portrait.160px" id="rockethead_bg_wordnote" tab-index="8" width="landscape.350px, portrait.350px" disable-edit="true" visible="true" src="https://media.githubusercontent.com/media/chimple/bahama/refs/heads/master/assets/games/rocket/textures/rockethead_bg_wordnote.png" margin="landscape.0px 0px 0px 0px, portrait.0">
|
|
111
111
|
</lido-image>
|
|
112
112
|
|
|
113
113
|
${dropElements}
|
|
114
114
|
|
|
115
|
-
<lido-image onEntry="this.position='absolute'; this.padding='0px';" height="225px" width="27%" x="landscape.${wingXLandscape}%, portrait.${wingXPortrait}%" y="landscape
|
|
115
|
+
<lido-image onEntry="this.position='absolute'; this.padding='0px';" height="225px" width="27%" x="landscape.${wingXLandscape}%, portrait.${wingXPortrait}%" y="landscape.0%, portrait.-24%" tab-index="12" bg-color="transparent" id="wings-image1" disable-edit="true" visible="true" src="https://media.githubusercontent.com/media/chimple/bahama/refs/heads/master/assets/games/rocket/textures/rockethandle_bg_wordnote.png" margin="0">
|
|
116
116
|
</lido-image>
|
|
117
|
-
<lido-image onEntry="this.position='absolute'; this.padding='0px';" height="225px" width="27%" x="landscape.${wingXLandscape}%, portrait.${wingXPortrait}%" y="landscape.
|
|
117
|
+
<lido-image onEntry="this.position='absolute'; this.padding='0px';" height="225px" width="27%" x="landscape.${wingXLandscape}%, portrait.${wingXPortrait}%" y="landscape.51%, portrait.45%" tab-index="13" bg-color="transparent" id="wings-image2" disable-edit="true" visible="true" src="https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/RocketAssets/Fullalphabet/rockethandle_bg_wordnote%201.png" margin="0">
|
|
118
118
|
</lido-image>
|
|
119
119
|
|
|
120
|
-
<lido-image height="landscape.200px, portrait.
|
|
120
|
+
<lido-image height="landscape.200px, portrait.200px" width="landscape.6%, portrait.6%" onEntry="this.zIndex='9';" bg-color="transparent" id="rocket-end" disable-edit="true" tab-index="14" margin="landscape.0px -2% 0px -35px, portrait.0px -2% 0px -35px" src="https://media.githubusercontent.com/media/chimple/bahama/refs/heads/master/assets/games/rocket/textures/rocketend_bg_wordnote.png">
|
|
121
121
|
</lido-image>
|
|
122
|
-
<lido-image onEntry="this.padding='0px';" height="220px" width="
|
|
122
|
+
<lido-image onEntry="this.padding='0px';" height="220px" width="15%" tab-index="15" bg-color="transparent" disable-edit="true" id="fire_image1" src="https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/RocketAssets/Fullalphabet/Fire.png">
|
|
123
123
|
</lido-image>
|
|
124
124
|
</lido-cell>
|
|
125
125
|
|
|
@@ -23,11 +23,15 @@ export async function handleElementClick(element) {
|
|
|
23
23
|
if (res) {
|
|
24
24
|
const onCorrect = container['onCorrect'];
|
|
25
25
|
await executeActions(onCorrect, container);
|
|
26
|
-
|
|
26
|
+
let fillValue = JSON.parse(fillElement['fill']);
|
|
27
27
|
if (fillValue === 100 && !fillCompleted) {
|
|
28
28
|
fillCompleted = true;
|
|
29
|
+
container.style.pointerEvents = 'none';
|
|
29
30
|
triggerNextContainer();
|
|
30
31
|
}
|
|
32
|
+
else {
|
|
33
|
+
fillCompleted = false;
|
|
34
|
+
}
|
|
31
35
|
}
|
|
32
36
|
else {
|
|
33
37
|
const onInCorrect = container['onInCorrect'];
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-
|
|
1
|
+
export { f as format, g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-891ef62d.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-
|
|
2
|
-
import { d as defineCustomElement$i } from './p-
|
|
3
|
-
import { d as defineCustomElement$h } from './p-
|
|
4
|
-
import { d as defineCustomElement$g } from './p-
|
|
5
|
-
import { d as defineCustomElement$f } from './p-
|
|
6
|
-
import { d as defineCustomElement$e } from './p-
|
|
7
|
-
import { d as defineCustomElement$d } from './p-
|
|
8
|
-
import { d as defineCustomElement$c } from './p-
|
|
9
|
-
import { d as defineCustomElement$b } from './p-
|
|
10
|
-
import { d as defineCustomElement$a } from './p-
|
|
11
|
-
import { d as defineCustomElement$9 } from './p-
|
|
12
|
-
import { d as defineCustomElement$8 } from './p-
|
|
13
|
-
import { d as defineCustomElement$7 } from './p-
|
|
14
|
-
import { d as defineCustomElement$6 } from './p-
|
|
15
|
-
import { d as defineCustomElement$5 } from './p-
|
|
16
|
-
import { d as defineCustomElement$4 } from './p-
|
|
17
|
-
import { d as defineCustomElement$3 } from './p-
|
|
18
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-891ef62d.js';
|
|
2
|
+
import { d as defineCustomElement$i } from './p-effc1618.js';
|
|
3
|
+
import { d as defineCustomElement$h } from './p-963af660.js';
|
|
4
|
+
import { d as defineCustomElement$g } from './p-a9e29b2f.js';
|
|
5
|
+
import { d as defineCustomElement$f } from './p-affc10b9.js';
|
|
6
|
+
import { d as defineCustomElement$e } from './p-72d16bea.js';
|
|
7
|
+
import { d as defineCustomElement$d } from './p-fb18186b.js';
|
|
8
|
+
import { d as defineCustomElement$c } from './p-dd8aa1c2.js';
|
|
9
|
+
import { d as defineCustomElement$b } from './p-d00f3288.js';
|
|
10
|
+
import { d as defineCustomElement$a } from './p-cbba1f37.js';
|
|
11
|
+
import { d as defineCustomElement$9 } from './p-b8a8822b.js';
|
|
12
|
+
import { d as defineCustomElement$8 } from './p-9cb1af1a.js';
|
|
13
|
+
import { d as defineCustomElement$7 } from './p-7a22083e.js';
|
|
14
|
+
import { d as defineCustomElement$6 } from './p-6a7d604b.js';
|
|
15
|
+
import { d as defineCustomElement$5 } from './p-6cb00626.js';
|
|
16
|
+
import { d as defineCustomElement$4 } from './p-4f726fb5.js';
|
|
17
|
+
import { d as defineCustomElement$3 } from './p-ac57a4e2.js';
|
|
18
|
+
import { d as defineCustomElement$2 } from './p-66a06c78.js';
|
|
19
19
|
|
|
20
20
|
const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
21
21
|
constructor() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoTextCss = ".lido-text{transition:background-color 0.3s ease;user-select:none;align-items:center;justify-content:center;text-align:center;border-radius:24px;color:#333;cursor:pointer;font-family:'Baloo Bhai 2', serif}.text-letters{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-letters.letter-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-letter-bounce 0.4s}.text-words{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-words.word-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-word-bounce 0.4s}@keyframes text-letter-bounce{0%{transform:scale(1)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes text-word-bounce{0%{transform:scale(1)}60%{transform:scale(1.3)}100%{transform:scale(1)}}";
|
|
4
4
|
const LidoTextStyle0 = lidoTextCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoWrapCss = ".lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;background-color:var(--child-bg-color, #f0f0f0);box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}";
|
|
4
4
|
const LidoWrapStyle0 = lidoWrapCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoShapeCss = ".lido-shape{position:absolute;top:var(--y);left:var(--x);display:var(--display);z-index:var(--z)}.lido-rectangle{border-radius:0}.lido-circle{width:var(--width);height:var(--width);border-radius:50%;background-color:var(--bgColor)}.lido-ellipse{width:var(--width);height:var(--height);border-radius:50%;background-color:var(--bgColor)}.lido-triangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(50% 0%, 100% 100%, 0% 100%)}.lido-rightTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--bgColor);clip-path:polygon(100% 0%, 100% 100%, 0% 100%)}.lido-leftTriangle{width:var(--triangleWidth);height:var(--triangleHeight);background-color:var(--triangleBgColor);clip-path:polygon(0% 0%, 100% 100%, 0% 100%)}.lido-parallelogram{width:var(--paralleWidth);height:var(--paralleHeight);transform:skew(20deg)}.lido-star{width:var(--starWidth);height:var(--starHeight);background-color:var(--starBgColor);clip-path:polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%)}.lido-pentagon{width:var(--pentagonWidth);height:var(--pentagonHeight);background-color:var(--pentagonBgColor);clip-path:polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%)}.lido-heptagon{width:var(--heptagonWidth);height:var(--heptagonHeight);background-color:var(--heptagonBgColor);clip-path:polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)}.lido-octagon{width:var(--octagonWidth);height:var(--octagonHeight);background-color:var(--octagonBgColor);clip-path:polygon(25% 0%, 75% 0%, 100% 25%, 100% 75%, 75% 100%, 25% 100%, 0% 75%, 0% 25%)}.lido-rhombus{width:var(--rhombusWidth);height:var(--rhombusHeight);background-color:var(--rhombusBgColor);clip-path:polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%)}.lido-heart{height:var(--heartHeight);width:var(--heartWidth);border-image:radial-gradient(var(--heartBgColor) 69%, #0000 70%) 84.5%/50%;clip-path:polygon(-41% 0, 50% 91%, 141% 0)}";
|
|
4
4
|
const LidoShapeStyle0 = lidoShapeCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, O as fraction, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, m as parseProp, O as fraction, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoSlideFillCss = ".svg-element,svg{width:100%;height:100%}";
|
|
4
4
|
const LidoSlideFillStyle0 = lidoSlideFillCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, m as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoFlashCardCss = ".card{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.6s ease;cursor:pointer}.card.flipped{transform:rotateY(180deg)}.card-face{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}.card-back{transform:rotateY(180deg)}";
|
|
4
4
|
const LidoFlashCardStyle0 = lidoFlashCardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoRowCss = ".lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}";
|
|
4
4
|
const LidoRowStyle0 = lidoRowCss;
|
|
@@ -69221,11 +69221,15 @@ async function handleElementClick(element) {
|
|
|
69221
69221
|
if (res) {
|
|
69222
69222
|
const onCorrect = container['onCorrect'];
|
|
69223
69223
|
await executeActions(onCorrect, container);
|
|
69224
|
-
|
|
69224
|
+
let fillValue = JSON.parse(fillElement['fill']);
|
|
69225
69225
|
if (fillValue === 100 && !fillCompleted) {
|
|
69226
69226
|
fillCompleted = true;
|
|
69227
|
+
container.style.pointerEvents = 'none';
|
|
69227
69228
|
triggerNextContainer();
|
|
69228
69229
|
}
|
|
69230
|
+
else {
|
|
69231
|
+
fillCompleted = false;
|
|
69232
|
+
}
|
|
69229
69233
|
}
|
|
69230
69234
|
else {
|
|
69231
69235
|
const onInCorrect = container['onInCorrect'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
|
|
4
4
|
const LidoCellStyle0 = lidoCellCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, l as attachSpeakIcon, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoRandomCss = ".lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}";
|
|
4
4
|
const LidoRandomStyle0 = lidoRandomCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as handlingChildElements, l as attachSpeakIcon, e as convertUrlToRelative, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoColCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}";
|
|
4
4
|
const LidoColStyle0 = lidoColCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, T as TraceMode, d as setVisibilityWithDelay, Q as speakIcon, e as convertUrlToRelative, U as fingerUrl, L as LidoContainer, E as executeActions, J as triggerNextContainer, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, T as TraceMode, d as setVisibilityWithDelay, Q as speakIcon, e as convertUrlToRelative, U as fingerUrl, L as LidoContainer, E as executeActions, J as triggerNextContainer, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoTraceCss = ":host{display:block;position:relative}#lido-svgContainer{display:flex;justify-content:center;align-items:center;overflow:hidden}svg{width:100%;height:100%;max-height:calc(100vh - 50px);touch-action:none}#lido-draggableCircle{cursor:pointer;fill:#CF1565;transition:fill 0.2s, r 0.2s}.lido-blindTracing{stroke:none !important}.lido-blindFreeTrace{stroke:none !important}.lido-hovered{cursor:grab;fill:darkred}#lido-controls{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:10px;background-color:#f0f0f0;border-top:1px solid #ccc}button{padding:10px;font-size:16px}@media (max-width: 600px){button{padding:8px;font-size:14px}}.lido-trace-path-green{}.lido-flow-indicator{stroke:blue;stroke-width:2;stroke-dasharray:6, 6;fill:none}.lido-trace{height:700px;width:700px;z-index:1;justify-items:center;align-content:center}.trace-animate{animation:trace-bounce 0.5s}@keyframes trace-bounce{0%{transform:scale(1)}30%{transform:scale(1.05)}60%{transform:scale(0.95)}100%{transform:scale(1)}}";
|
|
4
4
|
const LidoTraceStyle0 = lidoTraceCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, n as calculateScale, e as convertUrlToRelative, i as initEventsForElement, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
|
|
4
4
|
const LidoContainerStyle0 = lidoContainerCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoPosCss = ".lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}";
|
|
4
4
|
const LidoPosStyle0 = lidoPosCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, E as executeActions, J as triggerNextContainer, o as handleFloatElementPosition, K as storingEachActivityScore, M as DropAction, m as parseProp, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, S as SelectedValuesKey, L as LidoContainer, E as executeActions, J as triggerNextContainer, o as handleFloatElementPosition, K as storingEachActivityScore, M as DropAction, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-4f726fb5.js';
|
|
3
3
|
|
|
4
4
|
const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
|
|
5
5
|
const LidoKeyboardStyle0 = lidoKeyboardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, G as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, I as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-
|
|
1
|
+
import { c as commonjsGlobal, G as getDefaultExportFromCjs, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, I as tinyColor, l as attachSpeakIcon, m as parseProp, e as convertUrlToRelative, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
var lib = {exports: {}};
|
|
4
4
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as exitUrl, y as prevUrl, z as nextUrl, B as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, C as getCancelBtnPopup, n as calculateScale, D as triggerPrevcontainer, E as executeActions, j as Host, F as setCancelBtnPopup } from './p-
|
|
2
|
-
import { d as defineCustomElement$g } from './p-
|
|
3
|
-
import { d as defineCustomElement$f } from './p-
|
|
4
|
-
import { d as defineCustomElement$e } from './p-
|
|
5
|
-
import { d as defineCustomElement$d } from './p-
|
|
6
|
-
import { d as defineCustomElement$c } from './p-
|
|
7
|
-
import { d as defineCustomElement$b } from './p-
|
|
8
|
-
import { d as defineCustomElement$a } from './p-
|
|
9
|
-
import { d as defineCustomElement$9 } from './p-
|
|
10
|
-
import { d as defineCustomElement$8 } from './p-
|
|
11
|
-
import { d as defineCustomElement$7 } from './p-
|
|
12
|
-
import { d as defineCustomElement$6 } from './p-
|
|
13
|
-
import { d as defineCustomElement$5 } from './p-
|
|
14
|
-
import { d as defineCustomElement$4 } from './p-
|
|
15
|
-
import { d as defineCustomElement$3 } from './p-
|
|
16
|
-
import { d as defineCustomElement$2 } from './p-
|
|
17
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, r as clearLocalStorage, t as dispatchActivityChangeEvent, A as ActivityScoreKey, u as dispatchGameCompletedEvent, v as dispatchGameExitEvent, w as AudioPlayer, x as exitUrl, y as prevUrl, z as nextUrl, B as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer, h, C as getCancelBtnPopup, n as calculateScale, D as triggerPrevcontainer, E as executeActions, j as Host, F as setCancelBtnPopup } from './p-891ef62d.js';
|
|
2
|
+
import { d as defineCustomElement$g } from './p-effc1618.js';
|
|
3
|
+
import { d as defineCustomElement$f } from './p-963af660.js';
|
|
4
|
+
import { d as defineCustomElement$e } from './p-a9e29b2f.js';
|
|
5
|
+
import { d as defineCustomElement$d } from './p-affc10b9.js';
|
|
6
|
+
import { d as defineCustomElement$c } from './p-72d16bea.js';
|
|
7
|
+
import { d as defineCustomElement$b } from './p-fb18186b.js';
|
|
8
|
+
import { d as defineCustomElement$a } from './p-d00f3288.js';
|
|
9
|
+
import { d as defineCustomElement$9 } from './p-cbba1f37.js';
|
|
10
|
+
import { d as defineCustomElement$8 } from './p-b8a8822b.js';
|
|
11
|
+
import { d as defineCustomElement$7 } from './p-9cb1af1a.js';
|
|
12
|
+
import { d as defineCustomElement$6 } from './p-7a22083e.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './p-6a7d604b.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './p-6cb00626.js';
|
|
15
|
+
import { d as defineCustomElement$3 } from './p-4f726fb5.js';
|
|
16
|
+
import { d as defineCustomElement$2 } from './p-ac57a4e2.js';
|
|
17
|
+
import { d as defineCustomElement$1 } from './p-66a06c78.js';
|
|
18
18
|
|
|
19
19
|
const indexCss = "@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Baloo+Bhai+2:wght@400..800&display=swap'); body{overflow:hidden;background-position:center;background-size:cover;background-repeat:no-repeat;height:100vh}*{user-select:none}.lido-disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}.lido-element-selected{border:2px solid;background-color:#ffdf7d !important}.diagonal-target,.diagonal-drop *{transform:scale(0.8) !important;opacity:1 !important}.cloned-element{display:flex !important;position:absolute !important;filter:grayscale(100%);pointer-events:none}.removeShadow{box-shadow:0px 0px 0px 0px #ff8900 !important}.highlight-element{border:2px solid white;box-shadow:0 2px 4px rgba(151, 150, 150, 0.1) !important}.drop-element.empty{border:4px dashed #f34d08 !important}.drop-element.filled{border:'none' !important}.drag-element{box-shadow:0px 15px 11px rgba(43, 0, 0, 0.3) !important}.drag-element.dropped{box-shadow:none !important}.click-element{background-color:var(--btn-bg-color, rgba(255, 172, 76, 1)) !important;box-shadow:var(--btn-shadow-px) var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;cursor:pointer;transition:box-shadow 0.1s ease-out, transform 0.2s ease-out;}.click-element:active{box-shadow:0px 0px 0px var(--btn-shadow-color, rgba(225, 121, 76, 1)) !important;transform:translateY(var(--btn-active));}.click-element:focus{outline:2px solid dodgerblue;outline-offset:3px}.after-drop-popup-container{width:200%;height:200%;background-color:rgba(0, 0, 0, 0.8);position:absolute;display:flex;flex-direction:row-reverse;align-items:center;justify-content:center !important;gap:80px}.after-drop-popup-drag-element{scale:1.5;border-radius:8px;transform:none !important;position:unset !important}.after-drop-popup-drop-element{scale:1.5;border:unset;border-radius:8px;transform:none !important;position:unset !important}@keyframes zoomFadeIn{0%{transform:scale(0.6);opacity:0}100%{transform:scale(1);opacity:1}}.zoom-fade-in{animation:zoomFadeIn 0.8s ease-out forwards}@keyframes zoomFadeOut{0%{transform:scale(1);opacity:1}100%{transform:scale(0.6);opacity:0}}.zoom-fade-out{animation:zoomFadeOut 0.8s ease-in forwards}.slide-numbers{width:70px;height:70px;border:1px solid #f57139;background-color:white;font-weight:500;color:#f57139;font-size:44px;border-radius:40px;display:flex;align-items:center;justify-content:center;font-family:'Baloo Bhai 2', serif}.slide-numbers-bottom{position:absolute;display:flex;justify-content:space-around;align-items:center;bottom:-25px;width:100%;height:50px}.slide-numbers-left{position:absolute;display:flex;flex-direction:column;justify-content:space-around;height:100%;width:50px;left:-25px;bottom:0px}.lido-speak-icon{width:56px;height:56px;position:absolute;top:-25px;right:-25px;z-index:10;background-image:url(\"https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/template/audioIcon.png\");background-color:white;border:4px solid #F34D08;border-radius:16px;box-shadow:0px 4px 0px 0px #F34D08;background-size:contain;background-repeat:no-repeat;cursor:pointer}.lido-speak-icon:active{transform:translateY(8px);box-shadow:0px 0px 0px 0px !important}.lido-strong-shake{animation:strongShake 0.3s ease}.lido-scaled-shake{animation:scaledShake 0.6s ease-in-out}.lido-horizontal-shake{animation:horizontalShake 0.6s ease-in-out;border-radius:20px}.lido-vertical-shake{animation:verticalShake 0.6s ease-in-out;border-radius:20px}.lido-diagonal-shake{animation:diagonalShake 0.5s ease-in-out;border-radius:20px;will-change:transform}";
|
|
20
20
|
const LidoHomeStyle0 = indexCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as commonjsGlobal, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-
|
|
1
|
+
import { c as commonjsGlobal, p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, e as convertUrlToRelative, h, j as Host, R as RiveService } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
var rive = {exports: {}};
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, o as handleFloatElementPosition, q as handleElementClick, m as parseProp, h, j as Host } from './p-891ef62d.js';
|
|
2
2
|
|
|
3
3
|
const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
|
|
4
4
|
const LidoFloatStyle0 = lidoFloatCss;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { f as format } from './utils-
|
|
1
|
+
export { f as format } from './utils-f0e0b5c8.js';
|
|
2
2
|
import './index-f47852d4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, a as getElement, g as getAssetPath } from './index-f47852d4.js';
|
|
2
|
-
import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, h as handlingChildElements, b as attachSpeakIcon, p as parseProp, d as calculateScale, e as handleFloatElementPosition, g as handleElementClick, j as clearLocalStorage, k as dispatchActivityChangeEvent, A as ActivityScoreKey, l as dispatchGameCompletedEvent, m as dispatchGameExitEvent, n as AudioPlayer, o as exitUrl, q as prevUrl, r as nextUrl, t as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer$1, u as getCancelBtnPopup, v as triggerPrevcontainer, w as executeActions, x as setCancelBtnPopup, y as getDefaultExportFromCjs, z as tinyColor, S as SelectedValuesKey, B as triggerNextContainer, C as storingEachActivityScore, D as DropAction, E as fraction, T as TraceMode, F as speakIcon, G as fingerUrl } from './utils-
|
|
2
|
+
import { c as commonjsGlobal, s as setVisibilityWithDelay, i as initEventsForElement, a as convertUrlToRelative, R as RiveService, h as handlingChildElements, b as attachSpeakIcon, p as parseProp, d as calculateScale, e as handleFloatElementPosition, g as handleElementClick, j as clearLocalStorage, k as dispatchActivityChangeEvent, A as ActivityScoreKey, l as dispatchGameCompletedEvent, m as dispatchGameExitEvent, n as AudioPlayer, o as exitUrl, q as prevUrl, r as nextUrl, t as speakUrl, N as NextContainerKey, P as PrevContainerKey, L as LidoContainer$1, u as getCancelBtnPopup, v as triggerPrevcontainer, w as executeActions, x as setCancelBtnPopup, y as getDefaultExportFromCjs, z as tinyColor, S as SelectedValuesKey, B as triggerNextContainer, C as storingEachActivityScore, D as DropAction, E as fraction, T as TraceMode, F as speakIcon, G as fingerUrl } from './utils-f0e0b5c8.js';
|
|
3
3
|
|
|
4
4
|
var rive = {exports: {}};
|
|
5
5
|
|
|
@@ -67823,11 +67823,15 @@ async function handleElementClick(element) {
|
|
|
67823
67823
|
if (res) {
|
|
67824
67824
|
const onCorrect = container['onCorrect'];
|
|
67825
67825
|
await executeActions(onCorrect, container);
|
|
67826
|
-
|
|
67826
|
+
let fillValue = JSON.parse(fillElement['fill']);
|
|
67827
67827
|
if (fillValue === 100 && !fillCompleted) {
|
|
67828
67828
|
fillCompleted = true;
|
|
67829
|
+
container.style.pointerEvents = 'none';
|
|
67829
67830
|
triggerNextContainer();
|
|
67830
67831
|
}
|
|
67832
|
+
else {
|
|
67833
|
+
fillCompleted = false;
|
|
67834
|
+
}
|
|
67831
67835
|
}
|
|
67832
67836
|
else {
|
|
67833
67837
|
const onInCorrect = container['onInCorrect'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{f as format}from"./p-
|
|
1
|
+
export{f as format}from"./p-918b6138.js";import"./p-ddf627b0.js";
|