lido-player 0.0.2-alpha-2 → 0.0.2-alpha-4
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/app-col_12.cjs.entry.js +34 -50
- package/dist/cjs/app-col_12.cjs.entry.js.map +1 -1
- package/dist/cjs/index-0d28e716.js +14 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/lido-player.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-5eeb6512.js → utils-64490acd.js} +101 -36
- package/dist/cjs/utils-64490acd.js.map +1 -0
- package/dist/collection/components/column/AppCol.js +8 -44
- package/dist/collection/components/column/AppCol.js.map +1 -1
- package/dist/collection/components/container/AppContainer.js +27 -45
- package/dist/collection/components/container/AppContainer.js.map +1 -1
- package/dist/collection/components/home/AppHome.js +4 -3
- package/dist/collection/components/home/AppHome.js.map +1 -1
- package/dist/collection/components/image/AppImage.js +8 -44
- package/dist/collection/components/image/AppImage.js.map +1 -1
- package/dist/collection/components/position/AppPos.js +8 -44
- package/dist/collection/components/position/AppPos.js.map +1 -1
- package/dist/collection/components/random/AppRandom.js +8 -44
- package/dist/collection/components/random/AppRandom.js.map +1 -1
- package/dist/collection/components/root/assets/xmlData.xml +90 -170
- package/dist/collection/components/row/AppRow.js +8 -44
- package/dist/collection/components/row/AppRow.js.map +1 -1
- package/dist/collection/components/shape/AppShape.js +8 -44
- package/dist/collection/components/shape/AppShape.js.map +1 -1
- package/dist/collection/components/text/AppText.js +8 -44
- package/dist/collection/components/text/AppText.js.map +1 -1
- package/dist/collection/components/wrap/AppWrap.js +8 -44
- package/dist/collection/components/wrap/AppWrap.js.map +1 -1
- package/dist/collection/index.css +8 -0
- package/dist/collection/utils/constants.js +3 -0
- package/dist/collection/utils/constants.js.map +1 -1
- package/dist/collection/utils/utils.js +85 -36
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/app-col.js +1 -1
- package/dist/components/app-container.js +1 -1
- package/dist/components/app-home.js +1 -1
- package/dist/components/app-image.js +1 -1
- package/dist/components/app-pos.js +1 -1
- package/dist/components/app-random.js +1 -1
- package/dist/components/app-root.js +11 -11
- package/dist/components/app-row.js +1 -1
- package/dist/components/app-shape.js +1 -1
- package/dist/components/app-text.js +1 -1
- package/dist/components/app-trace.js +1 -1
- package/dist/components/app-wrap.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-d1055dc6.js → p-0136243c.js} +7 -11
- package/dist/components/p-0136243c.js.map +1 -0
- package/dist/{esm/utils-5df13f57.js → components/p-62fee06e.js} +101 -36
- package/dist/components/p-62fee06e.js.map +1 -0
- package/dist/components/{p-31575e90.js → p-7768c4db.js} +7 -11
- package/dist/components/p-7768c4db.js.map +1 -0
- package/dist/components/{p-3bf2f3d8.js → p-7f0a0129.js} +7 -11
- package/dist/components/p-7f0a0129.js.map +1 -0
- package/dist/components/{p-7c78da26.js → p-92d974b0.js} +7 -11
- package/dist/components/p-92d974b0.js.map +1 -0
- package/dist/components/{p-0b0798f2.js → p-c14c784e.js} +2 -2
- package/dist/components/{p-0b0798f2.js.map → p-c14c784e.js.map} +1 -1
- package/dist/components/{p-af356ca3.js → p-c2a88323.js} +11 -13
- package/dist/components/p-c2a88323.js.map +1 -0
- package/dist/components/{p-e939882f.js → p-c35c29db.js} +7 -11
- package/dist/components/p-c35c29db.js.map +1 -0
- package/dist/components/{p-d8783e81.js → p-d6c20e95.js} +7 -11
- package/dist/components/p-d6c20e95.js.map +1 -0
- package/dist/components/{p-f8bcec19.js → p-e3642074.js} +6 -10
- package/dist/components/p-e3642074.js.map +1 -0
- package/dist/components/{p-f3062e1a.js → p-f190e0a7.js} +17 -16
- package/dist/components/p-f190e0a7.js.map +1 -0
- package/dist/components/{p-590cd7cc.js → p-f332d2b4.js} +7 -11
- package/dist/components/p-f332d2b4.js.map +1 -0
- package/dist/esm/app-col_12.entry.js +34 -50
- package/dist/esm/app-col_12.entry.js.map +1 -1
- package/dist/esm/index-00663f21.js +14 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-player.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/{components/p-3bb09d53.js → esm/utils-4f6f5606.js} +101 -36
- package/dist/esm/utils-4f6f5606.js.map +1 -0
- package/dist/lido-player/assets/xmlData.xml +90 -170
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.css +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js.map +1 -1
- package/dist/lido-player/p-07e1ea8a.entry.js +2 -0
- package/dist/lido-player/p-07e1ea8a.entry.js.map +1 -0
- package/dist/lido-player/p-62fee06e.js +2 -0
- package/dist/lido-player/p-62fee06e.js.map +1 -0
- package/dist/types/components/column/AppCol.d.ts +3 -5
- package/dist/types/components/container/AppContainer.d.ts +11 -9
- package/dist/types/components/image/AppImage.d.ts +3 -5
- package/dist/types/components/position/AppPos.d.ts +3 -5
- package/dist/types/components/random/AppRandom.d.ts +3 -5
- package/dist/types/components/row/AppRow.d.ts +3 -5
- package/dist/types/components/shape/AppShape.d.ts +3 -5
- package/dist/types/components/text/AppText.d.ts +3 -5
- package/dist/types/components/wrap/AppWrap.d.ts +3 -5
- package/dist/types/components.d.ts +102 -130
- package/dist/types/utils/constants.d.ts +3 -0
- package/package.json +1 -1
- package/dist/cjs/utils-5eeb6512.js.map +0 -1
- package/dist/components/p-31575e90.js.map +0 -1
- package/dist/components/p-3bb09d53.js.map +0 -1
- package/dist/components/p-3bf2f3d8.js.map +0 -1
- package/dist/components/p-590cd7cc.js.map +0 -1
- package/dist/components/p-7c78da26.js.map +0 -1
- package/dist/components/p-af356ca3.js.map +0 -1
- package/dist/components/p-d1055dc6.js.map +0 -1
- package/dist/components/p-d8783e81.js.map +0 -1
- package/dist/components/p-e939882f.js.map +0 -1
- package/dist/components/p-f3062e1a.js.map +0 -1
- package/dist/components/p-f8bcec19.js.map +0 -1
- package/dist/esm/utils-5df13f57.js.map +0 -1
- package/dist/lido-player/p-3bb09d53.js +0 -2
- package/dist/lido-player/p-3bb09d53.js.map +0 -1
- package/dist/lido-player/p-fc201574.entry.js +0 -2
- package/dist/lido-player/p-fc201574.entry.js.map +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-0d28e716.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-64490acd.js');
|
|
7
7
|
|
|
8
8
|
const appColCss = ".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}.col>*{}";
|
|
9
9
|
const AppColStyle0 = appColCss;
|
|
@@ -26,11 +26,9 @@ const AppCol = class {
|
|
|
26
26
|
this.visible = undefined;
|
|
27
27
|
this.audio = undefined;
|
|
28
28
|
this.onTouch = undefined;
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.onCorrectMatch = undefined;
|
|
29
|
+
this.onInCorrect = undefined;
|
|
30
|
+
this.onCorrect = undefined;
|
|
32
31
|
this.onMatch = undefined;
|
|
33
|
-
this.onWrong = undefined;
|
|
34
32
|
this.onEntry = undefined;
|
|
35
33
|
}
|
|
36
34
|
/**
|
|
@@ -51,7 +49,7 @@ const AppCol = class {
|
|
|
51
49
|
display: this.visible ? 'flex' : 'none',
|
|
52
50
|
zIndex: this.z,
|
|
53
51
|
};
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
52
|
+
return (index.h(index.Host, { key: '99f188b18d41efb977b7bc17d93d1474e97fd444', id: this.id, class: "col", type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '6c663c7c7e5aa6167d5af26ecee8b34305c7da6d' })));
|
|
55
53
|
}
|
|
56
54
|
get el() { return index.getElement(this); }
|
|
57
55
|
};
|
|
@@ -79,13 +77,12 @@ const AppContainer = class {
|
|
|
79
77
|
this.visible = undefined;
|
|
80
78
|
this.audio = undefined;
|
|
81
79
|
this.onTouch = undefined;
|
|
82
|
-
this.
|
|
83
|
-
this.
|
|
84
|
-
this.onMatch = undefined;
|
|
85
|
-
this.onWrong = undefined;
|
|
86
|
-
this.onIncorrectTouch = undefined;
|
|
80
|
+
this.onInCorrect = undefined;
|
|
81
|
+
this.onCorrect = undefined;
|
|
87
82
|
this.onEntry = undefined;
|
|
88
83
|
this.canplay = true;
|
|
84
|
+
this.showCheck = undefined;
|
|
85
|
+
this.isContinueOnCorrect = undefined;
|
|
89
86
|
this.baseUrl = '';
|
|
90
87
|
}
|
|
91
88
|
/**
|
|
@@ -134,13 +131,13 @@ const AppContainer = class {
|
|
|
134
131
|
transform: 'translate(-50%, -50%)', // Centering the container
|
|
135
132
|
};
|
|
136
133
|
console.log('🚀 ~ AppContainer ~ canplay:', this.canplay);
|
|
137
|
-
return (index.h(index.Host, { key: '
|
|
134
|
+
return (index.h(index.Host, { key: 'e4748f56d1520a0418d3378c695f5968e9d7c53e', id: "container", tabindex: 0, class: "container", objective: this.objective, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, showCheck: this.showCheck, isContinueOnCorrect: this.isContinueOnCorrect }, index.h("slot", { key: '2ea749cec0f51f1ebcd0b810700de21eaf138a7d' })));
|
|
138
135
|
}
|
|
139
136
|
get el() { return index.getElement(this); }
|
|
140
137
|
};
|
|
141
138
|
AppContainer.style = AppContainerStyle0;
|
|
142
139
|
|
|
143
|
-
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'); body{overflow:hidden}";
|
|
140
|
+
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'); body{overflow:hidden}.disable-check-button{pointer-events:none;background-color:#9393935c !important;color:white}";
|
|
144
141
|
const AppHomeStyle0 = indexCss;
|
|
145
142
|
|
|
146
143
|
const animationCss = "@keyframes rightToPlace{from{transform:translateX(2000px)}to{left:0}}@keyframes placeToLeft{from{}to{transform:translateX(-2000px)}}@keyframes shake{0%{transform:translateX(0);color:red;outline:4px solid red}10%{transform:translateX(-5px);color:red;outline:4px solid red}20%{transform:translateX(5px);color:red;outline:4px solid red}30%{transform:translateX(-5px);color:red;outline:4px solid red}40%{transform:translateX(5px);color:red;outline:4px solid red}50%{transform:translateX(-5px);color:red;outline:4px solid red}60%{transform:translateX(5px);color:red;outline:4px solid red}70%{transform:translateX(-5px);color:red;outline:4px solid red}80%{transform:translateX(5px);color:red;outline:4px solid red}90%{transform:translateX(-5px);color:red;outline:4px solid red}100%{transform:translateX(0);color:red;outline:4px solid red}}@keyframes fallAndBounce{0%{transform:translateY(-1000px)}25%{transform:translateY(0px)}50%{transform:translateY(-200px)}75%{transform:translateY(0)}90%{transform:translateY(-100px)}100%{transform:translateY(0)}}";
|
|
@@ -172,11 +169,12 @@ const AppHome = class {
|
|
|
172
169
|
this.currentContainerIndex++;
|
|
173
170
|
window.dispatchEvent(new CustomEvent('activityChange', { detail: { index: this.currentContainerIndex } }));
|
|
174
171
|
}
|
|
175
|
-
else {
|
|
172
|
+
else if (this.currentContainerIndex >= this.containers.length - 1) {
|
|
176
173
|
// Show the completion message if all containers have been viewed
|
|
177
174
|
this.showCompletionMessage = true;
|
|
178
175
|
const event = new CustomEvent('gameCompleted');
|
|
179
176
|
window.dispatchEvent(event);
|
|
177
|
+
this.currentContainerIndex = 0;
|
|
180
178
|
// Hide the completion message after 3 seconds
|
|
181
179
|
setTimeout(() => {
|
|
182
180
|
this.showCompletionMessage = false;
|
|
@@ -324,7 +322,7 @@ const AppHome = class {
|
|
|
324
322
|
// If no XML data is provided, prompt the user to provide it
|
|
325
323
|
return index.h("div", null, "Please provide XML data.");
|
|
326
324
|
}
|
|
327
|
-
return (index.h(
|
|
325
|
+
return (index.h(index.Host, { index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, this.containers[this.currentContainerIndex]), this.renderDots(), this.showCompletionMessage && index.h("div", { class: "snackbar" }, "All containers have been displayed!")));
|
|
328
326
|
}
|
|
329
327
|
};
|
|
330
328
|
AppHome.style = AppHomeStyle0 + (AppHomeStyle1 + AppHomeStyle2);
|
|
@@ -349,11 +347,9 @@ const AppImage = class {
|
|
|
349
347
|
this.visible = undefined;
|
|
350
348
|
this.audio = undefined;
|
|
351
349
|
this.onTouch = undefined;
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.onCorrectMatch = undefined;
|
|
350
|
+
this.onInCorrect = undefined;
|
|
351
|
+
this.onCorrect = undefined;
|
|
355
352
|
this.onMatch = undefined;
|
|
356
|
-
this.onWrong = undefined;
|
|
357
353
|
this.onEntry = undefined;
|
|
358
354
|
this.src = undefined;
|
|
359
355
|
}
|
|
@@ -377,7 +373,7 @@ const AppImage = class {
|
|
|
377
373
|
alignItems: 'center', // Vertically center the image
|
|
378
374
|
justifyContent: 'center', // Horizontally center the image
|
|
379
375
|
};
|
|
380
|
-
return (index.h(index.Host, { key: '
|
|
376
|
+
return (index.h(index.Host, { key: 'ee933f90204e8d435ead5226d5d6f5ad907a1b4a', type: this.type, tabindex: this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, value: this.value, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("img", { key: 'f8df33300a01f27a6aaf61763677708b6234faf8', class: "image", src: utils.convertUrlToRelative(this.src), alt: "", style: style })));
|
|
381
377
|
}
|
|
382
378
|
get el() { return index.getElement(this); }
|
|
383
379
|
};
|
|
@@ -404,11 +400,9 @@ const AppPos = class {
|
|
|
404
400
|
this.visible = undefined;
|
|
405
401
|
this.audio = undefined;
|
|
406
402
|
this.onTouch = undefined;
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
409
|
-
this.onCorrectMatch = undefined;
|
|
403
|
+
this.onInCorrect = undefined;
|
|
404
|
+
this.onCorrect = undefined;
|
|
410
405
|
this.onMatch = undefined;
|
|
411
|
-
this.onWrong = undefined;
|
|
412
406
|
this.onEntry = undefined;
|
|
413
407
|
}
|
|
414
408
|
/**
|
|
@@ -429,7 +423,7 @@ const AppPos = class {
|
|
|
429
423
|
zIndex: this.z,
|
|
430
424
|
display: this.visible ? 'block' : 'none', // Toggle visibility
|
|
431
425
|
};
|
|
432
|
-
return (index.h(index.Host, { key: '
|
|
426
|
+
return (index.h(index.Host, { key: '72c646c495d9a645e378fadd35fa1a277a97707a', id: this.id, class: "pos", type: this.type, tabindex: this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, value: this.value, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '46f2d0c9369ac51e6224d0826ef279416b9d851f' })));
|
|
433
427
|
}
|
|
434
428
|
get el() { return index.getElement(this); }
|
|
435
429
|
};
|
|
@@ -456,11 +450,9 @@ const AppRandom = class {
|
|
|
456
450
|
this.visible = undefined;
|
|
457
451
|
this.audio = undefined;
|
|
458
452
|
this.onTouch = undefined;
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
461
|
-
this.onCorrectMatch = undefined;
|
|
453
|
+
this.onInCorrect = undefined;
|
|
454
|
+
this.onCorrect = undefined;
|
|
462
455
|
this.onMatch = undefined;
|
|
463
|
-
this.onWrong = undefined;
|
|
464
456
|
this.onEntry = undefined;
|
|
465
457
|
}
|
|
466
458
|
/**
|
|
@@ -489,7 +481,7 @@ const AppRandom = class {
|
|
|
489
481
|
zIndex: this.z,
|
|
490
482
|
backgroundColor: this.bgColor,
|
|
491
483
|
};
|
|
492
|
-
return (index.h(index.Host, { key: '
|
|
484
|
+
return (index.h(index.Host, { key: 'f2dfffd55f24f7f2de14105682be9c0cfe8fa8ad', class: "random", type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '433ce405177d74dca078e6f5e01608567ad4af68' })));
|
|
493
485
|
}
|
|
494
486
|
get el() { return index.getElement(this); }
|
|
495
487
|
};
|
|
@@ -572,11 +564,9 @@ const AppRow = class {
|
|
|
572
564
|
this.visible = undefined;
|
|
573
565
|
this.audio = undefined;
|
|
574
566
|
this.onTouch = undefined;
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
this.onCorrectMatch = undefined;
|
|
567
|
+
this.onInCorrect = undefined;
|
|
568
|
+
this.onCorrect = undefined;
|
|
578
569
|
this.onMatch = undefined;
|
|
579
|
-
this.onWrong = undefined;
|
|
580
570
|
this.onEntry = undefined;
|
|
581
571
|
}
|
|
582
572
|
/**
|
|
@@ -597,7 +587,7 @@ const AppRow = class {
|
|
|
597
587
|
zIndex: this.z,
|
|
598
588
|
backgroundColor: this.bgColor, // Apply background color if provided
|
|
599
589
|
};
|
|
600
|
-
return (index.h(index.Host, { key: '
|
|
590
|
+
return (index.h(index.Host, { key: '41c3b5c1306523da20944f30e3a801b36cbac5d9', class: "row", type: this.type, tabindex: this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '52aaca9eda94648083d734f6eab815f85e5bd32c' })));
|
|
601
591
|
}
|
|
602
592
|
get el() { return index.getElement(this); }
|
|
603
593
|
};
|
|
@@ -625,11 +615,9 @@ const AppShape = class {
|
|
|
625
615
|
this.visible = undefined;
|
|
626
616
|
this.audio = undefined;
|
|
627
617
|
this.onTouch = undefined;
|
|
628
|
-
this.
|
|
629
|
-
this.
|
|
630
|
-
this.onCorrectMatch = undefined;
|
|
618
|
+
this.onInCorrect = undefined;
|
|
619
|
+
this.onCorrect = undefined;
|
|
631
620
|
this.onMatch = undefined;
|
|
632
|
-
this.onWrong = undefined;
|
|
633
621
|
this.onEntry = undefined;
|
|
634
622
|
}
|
|
635
623
|
/**
|
|
@@ -650,7 +638,7 @@ const AppShape = class {
|
|
|
650
638
|
zIndex: this.z,
|
|
651
639
|
backgroundColor: this.shapeType !== 'polygon' ? this.bgColor : 'transparent', // Apply background only if not a polygon
|
|
652
640
|
};
|
|
653
|
-
return (index.h(index.Host, { key: '
|
|
641
|
+
return (index.h(index.Host, { key: '895f28cbf17ef12295a38ec7d18373f98761b9f1', class: `shape ${this.shapeType}`, value: this.value, type: this.type, tabindex: this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }));
|
|
654
642
|
}
|
|
655
643
|
get el() { return index.getElement(this); }
|
|
656
644
|
};
|
|
@@ -682,11 +670,9 @@ const AppText = class {
|
|
|
682
670
|
this.visible = undefined;
|
|
683
671
|
this.audio = undefined;
|
|
684
672
|
this.onTouch = undefined;
|
|
685
|
-
this.
|
|
686
|
-
this.
|
|
687
|
-
this.onCorrectMatch = undefined;
|
|
673
|
+
this.onInCorrect = undefined;
|
|
674
|
+
this.onCorrect = undefined;
|
|
688
675
|
this.onMatch = undefined;
|
|
689
|
-
this.onWrong = undefined;
|
|
690
676
|
this.onEntry = undefined;
|
|
691
677
|
}
|
|
692
678
|
/**
|
|
@@ -710,7 +696,7 @@ const AppText = class {
|
|
|
710
696
|
color: this.fontColor,
|
|
711
697
|
display: this.visible ? 'flex' : 'none', // Show or hide based on visibility prop
|
|
712
698
|
};
|
|
713
|
-
return (index.h(index.Host, { key: '
|
|
699
|
+
return (index.h(index.Host, { key: 'e1f55600afa34e7bf93f8c89b22de9b6868953d6', class: "text", value: this.value, type: this.type, tabindex: this.tabIndex, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, id: this.id, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden }, this.string));
|
|
714
700
|
}
|
|
715
701
|
get el() { return index.getElement(this); }
|
|
716
702
|
};
|
|
@@ -1219,11 +1205,9 @@ const AppWrap = class {
|
|
|
1219
1205
|
this.visible = undefined;
|
|
1220
1206
|
this.audio = undefined;
|
|
1221
1207
|
this.onTouch = undefined;
|
|
1222
|
-
this.
|
|
1223
|
-
this.
|
|
1224
|
-
this.onCorrectMatch = undefined;
|
|
1208
|
+
this.onInCorrect = undefined;
|
|
1209
|
+
this.onCorrect = undefined;
|
|
1225
1210
|
this.onMatch = undefined;
|
|
1226
|
-
this.onWrong = undefined;
|
|
1227
1211
|
this.onEntry = undefined;
|
|
1228
1212
|
}
|
|
1229
1213
|
/**
|
|
@@ -1244,7 +1228,7 @@ const AppWrap = class {
|
|
|
1244
1228
|
zIndex: this.z,
|
|
1245
1229
|
backgroundColor: this.bgColor,
|
|
1246
1230
|
};
|
|
1247
|
-
return (index.h(index.Host, { key: '
|
|
1231
|
+
return (index.h(index.Host, { key: 'e3a8cad8af5c14362bd1db98c191ca8738058fd2', class: "wrap", value: this.value, type: this.type, tabindex: this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '96869c0417ecf29ec6fc9f7bdbbf1b611e302687' })));
|
|
1248
1232
|
}
|
|
1249
1233
|
get el() { return index.getElement(this); }
|
|
1250
1234
|
};
|