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.
Files changed (117) hide show
  1. package/dist/cjs/app-col_12.cjs.entry.js +34 -50
  2. package/dist/cjs/app-col_12.cjs.entry.js.map +1 -1
  3. package/dist/cjs/index-0d28e716.js +14 -1
  4. package/dist/cjs/index.cjs.js +1 -1
  5. package/dist/cjs/lido-player.cjs.js +1 -1
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/{utils-5eeb6512.js → utils-64490acd.js} +101 -36
  8. package/dist/cjs/utils-64490acd.js.map +1 -0
  9. package/dist/collection/components/column/AppCol.js +8 -44
  10. package/dist/collection/components/column/AppCol.js.map +1 -1
  11. package/dist/collection/components/container/AppContainer.js +27 -45
  12. package/dist/collection/components/container/AppContainer.js.map +1 -1
  13. package/dist/collection/components/home/AppHome.js +4 -3
  14. package/dist/collection/components/home/AppHome.js.map +1 -1
  15. package/dist/collection/components/image/AppImage.js +8 -44
  16. package/dist/collection/components/image/AppImage.js.map +1 -1
  17. package/dist/collection/components/position/AppPos.js +8 -44
  18. package/dist/collection/components/position/AppPos.js.map +1 -1
  19. package/dist/collection/components/random/AppRandom.js +8 -44
  20. package/dist/collection/components/random/AppRandom.js.map +1 -1
  21. package/dist/collection/components/root/assets/xmlData.xml +90 -170
  22. package/dist/collection/components/row/AppRow.js +8 -44
  23. package/dist/collection/components/row/AppRow.js.map +1 -1
  24. package/dist/collection/components/shape/AppShape.js +8 -44
  25. package/dist/collection/components/shape/AppShape.js.map +1 -1
  26. package/dist/collection/components/text/AppText.js +8 -44
  27. package/dist/collection/components/text/AppText.js.map +1 -1
  28. package/dist/collection/components/wrap/AppWrap.js +8 -44
  29. package/dist/collection/components/wrap/AppWrap.js.map +1 -1
  30. package/dist/collection/index.css +8 -0
  31. package/dist/collection/utils/constants.js +3 -0
  32. package/dist/collection/utils/constants.js.map +1 -1
  33. package/dist/collection/utils/utils.js +85 -36
  34. package/dist/collection/utils/utils.js.map +1 -1
  35. package/dist/components/app-col.js +1 -1
  36. package/dist/components/app-container.js +1 -1
  37. package/dist/components/app-home.js +1 -1
  38. package/dist/components/app-image.js +1 -1
  39. package/dist/components/app-pos.js +1 -1
  40. package/dist/components/app-random.js +1 -1
  41. package/dist/components/app-root.js +11 -11
  42. package/dist/components/app-row.js +1 -1
  43. package/dist/components/app-shape.js +1 -1
  44. package/dist/components/app-text.js +1 -1
  45. package/dist/components/app-trace.js +1 -1
  46. package/dist/components/app-wrap.js +1 -1
  47. package/dist/components/index.js +1 -1
  48. package/dist/components/{p-d1055dc6.js → p-0136243c.js} +7 -11
  49. package/dist/components/p-0136243c.js.map +1 -0
  50. package/dist/{esm/utils-5df13f57.js → components/p-62fee06e.js} +101 -36
  51. package/dist/components/p-62fee06e.js.map +1 -0
  52. package/dist/components/{p-31575e90.js → p-7768c4db.js} +7 -11
  53. package/dist/components/p-7768c4db.js.map +1 -0
  54. package/dist/components/{p-3bf2f3d8.js → p-7f0a0129.js} +7 -11
  55. package/dist/components/p-7f0a0129.js.map +1 -0
  56. package/dist/components/{p-7c78da26.js → p-92d974b0.js} +7 -11
  57. package/dist/components/p-92d974b0.js.map +1 -0
  58. package/dist/components/{p-0b0798f2.js → p-c14c784e.js} +2 -2
  59. package/dist/components/{p-0b0798f2.js.map → p-c14c784e.js.map} +1 -1
  60. package/dist/components/{p-af356ca3.js → p-c2a88323.js} +11 -13
  61. package/dist/components/p-c2a88323.js.map +1 -0
  62. package/dist/components/{p-e939882f.js → p-c35c29db.js} +7 -11
  63. package/dist/components/p-c35c29db.js.map +1 -0
  64. package/dist/components/{p-d8783e81.js → p-d6c20e95.js} +7 -11
  65. package/dist/components/p-d6c20e95.js.map +1 -0
  66. package/dist/components/{p-f8bcec19.js → p-e3642074.js} +6 -10
  67. package/dist/components/p-e3642074.js.map +1 -0
  68. package/dist/components/{p-f3062e1a.js → p-f190e0a7.js} +17 -16
  69. package/dist/components/p-f190e0a7.js.map +1 -0
  70. package/dist/components/{p-590cd7cc.js → p-f332d2b4.js} +7 -11
  71. package/dist/components/p-f332d2b4.js.map +1 -0
  72. package/dist/esm/app-col_12.entry.js +34 -50
  73. package/dist/esm/app-col_12.entry.js.map +1 -1
  74. package/dist/esm/index-00663f21.js +14 -1
  75. package/dist/esm/index.js +1 -1
  76. package/dist/esm/lido-player.js +1 -1
  77. package/dist/esm/loader.js +1 -1
  78. package/dist/{components/p-3bb09d53.js → esm/utils-4f6f5606.js} +101 -36
  79. package/dist/esm/utils-4f6f5606.js.map +1 -0
  80. package/dist/lido-player/assets/xmlData.xml +90 -170
  81. package/dist/lido-player/index.esm.js +1 -1
  82. package/dist/lido-player/lido-player.css +1 -1
  83. package/dist/lido-player/lido-player.esm.js +1 -1
  84. package/dist/lido-player/lido-player.esm.js.map +1 -1
  85. package/dist/lido-player/p-07e1ea8a.entry.js +2 -0
  86. package/dist/lido-player/p-07e1ea8a.entry.js.map +1 -0
  87. package/dist/lido-player/p-62fee06e.js +2 -0
  88. package/dist/lido-player/p-62fee06e.js.map +1 -0
  89. package/dist/types/components/column/AppCol.d.ts +3 -5
  90. package/dist/types/components/container/AppContainer.d.ts +11 -9
  91. package/dist/types/components/image/AppImage.d.ts +3 -5
  92. package/dist/types/components/position/AppPos.d.ts +3 -5
  93. package/dist/types/components/random/AppRandom.d.ts +3 -5
  94. package/dist/types/components/row/AppRow.d.ts +3 -5
  95. package/dist/types/components/shape/AppShape.d.ts +3 -5
  96. package/dist/types/components/text/AppText.d.ts +3 -5
  97. package/dist/types/components/wrap/AppWrap.d.ts +3 -5
  98. package/dist/types/components.d.ts +102 -130
  99. package/dist/types/utils/constants.d.ts +3 -0
  100. package/package.json +1 -1
  101. package/dist/cjs/utils-5eeb6512.js.map +0 -1
  102. package/dist/components/p-31575e90.js.map +0 -1
  103. package/dist/components/p-3bb09d53.js.map +0 -1
  104. package/dist/components/p-3bf2f3d8.js.map +0 -1
  105. package/dist/components/p-590cd7cc.js.map +0 -1
  106. package/dist/components/p-7c78da26.js.map +0 -1
  107. package/dist/components/p-af356ca3.js.map +0 -1
  108. package/dist/components/p-d1055dc6.js.map +0 -1
  109. package/dist/components/p-d8783e81.js.map +0 -1
  110. package/dist/components/p-e939882f.js.map +0 -1
  111. package/dist/components/p-f3062e1a.js.map +0 -1
  112. package/dist/components/p-f8bcec19.js.map +0 -1
  113. package/dist/esm/utils-5df13f57.js.map +0 -1
  114. package/dist/lido-player/p-3bb09d53.js +0 -2
  115. package/dist/lido-player/p-3bb09d53.js.map +0 -1
  116. package/dist/lido-player/p-fc201574.entry.js +0 -2
  117. 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-5eeb6512.js');
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.onCorrectTouch = undefined;
30
- this.onInCorrectTouch = undefined;
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: '3cd3b141cf167e7c43132fc0f28fe049765e3e68', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }, index.h("slot", { key: 'fecc9cdf6b7204461c07e89de0ebec35559f8daf' })));
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.onCorrectTouch = undefined;
83
- this.onCorrectMatch = undefined;
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: 'b9a426ecbea1635883a1cb841f36e7c1d8e55caa', id: "container", tabindex: 0, class: "container", objective: this.objective, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onMatch: this.onMatch, onWrong: this.onWrong, onIncorrectTouch: this.onIncorrectTouch, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onEntry: this.onEntry, baseUrl: this.baseUrl }, index.h("slot", { key: '2f55d759f184ebb7f5771f6e6e9c0cc9da4621d8' })));
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("div", null, index.h("div", { key: this.currentContainerIndex }, this.containers[this.currentContainerIndex]), this.renderDots(), this.showCompletionMessage && index.h("div", { class: "snackbar" }, "All containers have been displayed!")));
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.onCorrectTouch = undefined;
353
- this.onInCorrectTouch = undefined;
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: '34c70a3d120b96080892e45da7d97c01778358e1', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }, index.h("img", { key: '9c5f71bf1fbdad17f0f57081e981a712837f6ea4', class: "image", src: utils.convertUrlToRelative(this.src), alt: "", style: style })));
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.onCorrectTouch = undefined;
408
- this.onInCorrectTouch = undefined;
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: 'c63889200e5b87ccddf17f236898df959b643aee', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }, index.h("slot", { key: '09b1a03217ffc2c02836f4ac6f61f0887b8445cb' })));
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.onCorrectTouch = undefined;
460
- this.onInCorrectTouch = undefined;
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: '66b661510df51498d8aaeaa3b8c43d7caf3ab6d1', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }, index.h("slot", { key: '70b2819af97f7d1f85de0ea1161ae95014e427f4' })));
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.onCorrectTouch = undefined;
576
- this.onInCorrectTouch = undefined;
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: 'fc3153fcef0ccc98d99afd2e93607e8c71c0a591', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }, index.h("slot", { key: 'b28ce98adfc7ad7c9ac191eae523b974f9bb97f6' })));
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.onCorrectTouch = undefined;
629
- this.onInCorrectTouch = undefined;
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: '64db966fc0a1f601fd0002d0f71de3ec3aae241a', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }));
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.onCorrectTouch = undefined;
686
- this.onInCorrectTouch = undefined;
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: '06c76433420706301a70a892a9081dfea480167e', class: "text", value: this.value, type: this.type, tabindex: this.tabIndex, audio: this.audio, onTouch: this.onTouch, onMatch: this.onMatch, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry, id: this.id, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden }, this.string));
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.onCorrectTouch = undefined;
1223
- this.onInCorrectTouch = undefined;
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: '7e955c4ff7d20f7138088114ccf344d0fda171d8', 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, onWrong: this.onWrong, onCorrectMatch: this.onCorrectMatch, onCorrectTouch: this.onCorrectTouch, onInCorrectTouch: this.onInCorrectTouch, onEntry: this.onEntry }, index.h("slot", { key: '1ee6b59cfe7cbb8b3bc1c830c51e38e0711e6e62' })));
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
  };