lido-player 0.0.2-beta-24 → 0.0.2-beta-26-dev
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/LICENSE +21 -21
- package/dist/cjs/{decode-BCvdWRyT.js → decode-CE64w_Pc.js} +1 -1
- package/dist/cjs/{index-DjM03fsg.js → index-Cf9LHdIw.js} +238 -87
- package/dist/cjs/{index-DBCFoh1I.js → index-DnaH8sO-.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/lido-avatar_22.cjs.entry.js +214 -53
- package/dist/cjs/lido-player.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/avatar/lido-avatar.css +4 -4
- package/dist/collection/components/avatar/lido-avatar.js +1 -1
- package/dist/collection/components/avatar/lido-avatar.tsx +214 -214
- package/dist/collection/components/avatar/readme.md +49 -49
- package/dist/collection/components/calculator/lido-calculator.css +89 -89
- package/dist/collection/components/calculator/lido-calculator.js +2 -2
- package/dist/collection/components/canvas/lido-canvas.css +33 -33
- package/dist/collection/components/canvas/lido-canvas.js +1 -1
- package/dist/collection/components/cell/lido-cell.css +100 -100
- package/dist/collection/components/cell/lido-cell.js +12 -12
- package/dist/collection/components/column/lido-col.css +19 -19
- package/dist/collection/components/column/lido-col.js +6 -6
- package/dist/collection/components/container/lido-container.css +34 -10
- package/dist/collection/components/container/lido-container.js +55 -9
- package/dist/collection/components/flashCard/lido-flash-card.css +72 -72
- package/dist/collection/components/flashCard/lido-flash-card.js +84 -15
- package/dist/collection/components/float/lido-float.css +30 -30
- package/dist/collection/components/float/lido-float.js +2 -2
- package/dist/collection/components/home/lido-home.css +309 -309
- package/dist/collection/components/home/lido-home.js +38 -14
- package/dist/collection/components/image/lido-image.css +17 -17
- package/dist/collection/components/image/lido-image.js +6 -6
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -38
- package/dist/collection/components/keyboard/lido-keyboard.js +3 -3
- package/dist/collection/components/mathMatrix/lido-math-matrix.css +56 -56
- package/dist/collection/components/mathMatrix/lido-math-matrix.js +1 -1
- package/dist/collection/components/position/lido-pos.css +16 -16
- package/dist/collection/components/position/lido-pos.js +2 -2
- package/dist/collection/components/random/lido-random.css +8 -8
- package/dist/collection/components/random/lido-random.js +2 -2
- package/dist/collection/components/root/lido-root.js +6 -6
- package/dist/collection/components/row/lido-row.css +10 -10
- package/dist/collection/components/row/lido-row.js +6 -6
- package/dist/collection/components/scale/assets/Shadow.svg +9 -9
- package/dist/collection/components/scale/lido-balance.css +174 -174
- package/dist/collection/components/scale/lido-balance.js +13 -13
- package/dist/collection/components/shape/lido-shape.css +216 -216
- package/dist/collection/components/shape/lido-shape.js +6 -6
- package/dist/collection/components/slideFill/lido-slide-fill.css +3 -3
- package/dist/collection/components/slideFill/lido-slide-fill.js +13 -13
- package/dist/collection/components/text/lido-text.css +53 -53
- package/dist/collection/components/text/lido-text.js +6 -6
- package/dist/collection/components/trace/assets/Tracing-hand.svg +8 -8
- package/dist/collection/components/trace/lido-trace.css +97 -97
- package/dist/collection/components/trace/lido-trace.js +2 -2
- package/dist/collection/components/wrap/lido-wrap.css +18 -18
- package/dist/collection/components/wrap/lido-wrap.js +6 -6
- package/dist/collection/css/animation.css +211 -211
- package/dist/collection/css/index.css +323 -323
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +61 -61
- package/dist/collection/stories/Templates/LetterPairing/LetterPairing.stories.js +123 -123
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +48 -48
- package/dist/collection/stories/Templates/Tag/tagGame.stories.js +39 -39
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +44 -44
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +35 -35
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +38 -38
- package/dist/collection/stories/Templates/blender/blender.stories.js +59 -59
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +42 -42
- package/dist/collection/stories/Templates/calculator/calculator.stories.js +28 -28
- package/dist/collection/stories/Templates/categorize/categorize.stories.js +37 -37
- package/dist/collection/stories/Templates/categorize2/categorize2.stories.js +67 -67
- package/dist/collection/stories/Templates/checker-block/checkerBlock.stories.js +29 -29
- package/dist/collection/stories/Templates/checkerBlock/checkerBlock.stories.js +13 -13
- package/dist/collection/stories/Templates/create-sentence/createSentence.stories.js +74 -74
- package/dist/collection/stories/Templates/dragAndDrop/drag-drop.stories.js +69 -69
- package/dist/collection/stories/Templates/fillAnswer/fill-answer.stories.js +43 -43
- package/dist/collection/stories/Templates/fillBlank/fill-blank.stories.js +282 -282
- package/dist/collection/stories/Templates/foodJar/food-jar.stories.js +35 -35
- package/dist/collection/stories/Templates/grid/grid.stories.js +118 -118
- package/dist/collection/stories/Templates/gridGame/grid-game.stories.js +57 -57
- package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +44 -44
- package/dist/collection/stories/Templates/jumpSentence/jumpSentence.stories.js +41 -41
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +183 -183
- package/dist/collection/stories/Templates/makeSentence/make-sentence.stories.js +36 -36
- package/dist/collection/stories/Templates/matchBox/matchBox.stories.js +69 -69
- package/dist/collection/stories/Templates/matchBox/matchBox2.stories.js +84 -84
- package/dist/collection/stories/Templates/matchingCard/matching-card.stories.js +31 -31
- package/dist/collection/stories/Templates/multipleOption/mcqWithQuestionImage.stories.js +112 -112
- package/dist/collection/stories/Templates/multipleOption/multiple-option.stories.js +47 -47
- package/dist/collection/stories/Templates/multiplyBeeds/multiplyBeeds.stories.js +57 -57
- package/dist/collection/stories/Templates/nimbleTable/nimbleTable.stories.js +53 -53
- package/dist/collection/stories/Templates/numberBoard/numberBoard.stories.js +46 -46
- package/dist/collection/stories/Templates/numberBoardTwo/numberBoardTwo.stories.js +45 -45
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +56 -56
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +53 -53
- package/dist/collection/stories/Templates/numberPair/numberPair.stories.js +127 -127
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +47 -47
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +38 -38
- package/dist/collection/stories/Templates/order-tractor/order-tractor-ascending-order.stories.js +97 -97
- package/dist/collection/stories/Templates/order-tractor/order-tractor.stories.js +90 -90
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +45 -45
- package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +79 -79
- package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +32 -32
- package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +42 -42
- package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +63 -63
- package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +44 -44
- package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +34 -34
- package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +52 -52
- package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +33 -33
- package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +40 -40
- package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +48 -48
- package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +48 -48
- package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +18 -18
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +44 -44
- package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +34 -34
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +36 -36
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +30 -30
- package/dist/collection/stories/Templates/picturemeaning/pictureMeaningCocos.stories.js +20 -20
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +17 -17
- package/dist/collection/stories/Templates/questionBoard/questionBoard.stories.js +58 -58
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracy.stories.js +50 -50
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWithText.stories.js +36 -36
- package/dist/collection/stories/Templates/quizLiteracy/quizLiteracyImageWord.stories.js +43 -43
- package/dist/collection/stories/Templates/quizMaths/quizMaths.stories.js +633 -633
- package/dist/collection/stories/Templates/reorder/reorder.stories.js +63 -63
- package/dist/collection/stories/Templates/rowBlocks/rowBlocks.stories.js +47 -47
- package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +29 -29
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox1.stories.js +64 -64
- package/dist/collection/stories/Templates/sequenceBox/sequenceBox2.stories.js +62 -62
- package/dist/collection/stories/Templates/shapePair/shape-pair.stories.js +106 -106
- package/dist/collection/stories/Templates/shapeTractor/shape-tractor.stories.js +50 -50
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +41 -41
- package/dist/collection/stories/Templates/storyTale/storyTale.stories.js +39 -39
- package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +62 -62
- package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +42 -42
- package/dist/collection/stories/Templates/sumTogether/sumTogether.stories.js +50 -50
- package/dist/collection/stories/Templates/tenBox/tenBox.stories.js +88 -88
- package/dist/collection/stories/Templates/total/total.stories.js +28 -28
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +35 -35
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +34 -34
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +31 -31
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +58 -58
- package/dist/collection/stories/Templates/writeNumber/writeNumber.stories.js +44 -44
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +31 -31
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +34 -34
- package/dist/collection/stories/components/flash-card.stories.js +48 -48
- package/dist/collection/stories/components/keyboard.stories.js +10 -10
- package/dist/collection/stories/components/slider.stories.js +4 -4
- package/dist/collection/stories/components/trace.stories.js +5 -5
- package/dist/collection/utils/audioPlayer.js +10 -3
- package/dist/collection/utils/constants.js +6 -0
- package/dist/collection/utils/utils.js +109 -14
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +8 -8
- package/dist/collection/utils/utilsHandlers/highlightHandler.js +54 -54
- package/dist/collection/utils/utilsHandlers/slideHandler.js +58 -19
- package/dist/collection/utils/utilsHandlers/sortHandler.js +10 -10
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.js +1 -1
- package/dist/components/lido-balance.js +1 -1
- package/dist/components/lido-calculator.js +1 -1
- package/dist/components/lido-canvas.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-math-matrix.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 +1 -1
- 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-B4iWvszS.js +1 -0
- package/dist/components/{p-C5jvgiPE.js → p-BA-XmR9g.js} +1 -1
- package/dist/components/p-BJt-z8VW.js +1 -0
- package/dist/components/{p-CTlcpv4a.js → p-BfwUqpXc.js} +1 -1
- package/dist/components/{p-DNo3iX_r.js → p-BiBt9LGP.js} +1 -1
- package/dist/components/{p-DG0KR2iN.js → p-BlN0IsR4.js} +1 -1
- package/dist/components/{p-CFPSty2U.js → p-BpVpANK9.js} +1 -1
- package/dist/components/{p-CgsPIpg0.js → p-Bw-OC9iR.js} +1 -1
- package/dist/components/p-C2J7-bcH.js +1 -0
- package/dist/components/{p-CFWohOId.js → p-CEmofYPx.js} +1 -1
- package/dist/components/{p-C5WmmkI6.js → p-CPYnt0P-.js} +1 -1
- package/dist/components/{p-CsDu4kiC.js → p-ChfVUoX4.js} +1 -1
- package/dist/components/p-CnQ-4EIw.js +1 -0
- package/dist/components/{p-CXHPZN3m.js → p-CyGxEcn7.js} +1 -1
- package/dist/components/{p-C-pHQRbp.js → p-D1cBkIab.js} +1 -1
- package/dist/components/p-DP6jQ5ML.js +1 -0
- package/dist/components/{p-Bv1hunWk.js → p-DV-k1ulI.js} +1 -1
- package/dist/components/p-Qhj9-H6e.js +12 -0
- package/dist/components/{p-Bh_vemY3.js → p-hUfX1As2.js} +1 -1
- package/dist/components/p-leIEepjl.js +1 -0
- package/dist/components/{p-B8nzzM8c.js → p-s4oGlKg6.js} +1 -1
- package/dist/components/{p-C70ykycD.js → p-useuhkjH.js} +1 -1
- package/dist/esm/{decode-BxzUG5XP.js → decode-DhjaTUf2.js} +1 -1
- package/dist/esm/{index-C_uxZLF-.js → index-Bc6Y7rds.js} +235 -88
- package/dist/esm/{index-mMpK8062.js → index-Dvjbti-h.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/lido-avatar_22.entry.js +214 -53
- package/dist/esm/lido-player.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/lido-player/assets/Shadow.svg +9 -9
- package/dist/lido-player/assets/Tracing-hand.svg +8 -8
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-avatar.css +4 -4
- package/dist/lido-player/lido-avatar.tsx +214 -214
- package/dist/lido-player/lido-player.css +7 -7
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-CsCr7DlS.js → p-CORilAH-.js} +1 -1
- package/dist/lido-player/p-D66K5DXn.js +1 -0
- package/dist/lido-player/p-Dvjbti-h.js +2 -0
- package/dist/lido-player/p-ca195982.entry.js +12 -0
- package/dist/lido-player/readme.md +49 -49
- package/dist/types/components/container/lido-container.d.ts +7 -0
- package/dist/types/components/flashCard/lido-flash-card.d.ts +2 -0
- package/dist/types/components.d.ts +1 -0
- package/dist/types/types/json.d.ts +3 -3
- package/dist/types/utils/audioPlayer.d.ts +1 -1
- package/dist/types/utils/constants.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +11 -0
- package/dist/types/utils/utilsHandlers/slideHandler.d.ts +1 -1
- package/package.json +73 -73
- package/readme.md +113 -113
- package/dist/components/p-CgBwmr9A.js +0 -12
- package/dist/components/p-Ckb8QhUV.js +0 -1
- package/dist/components/p-DDwqmTYM.js +0 -1
- package/dist/components/p-DLyacZap.js +0 -1
- package/dist/components/p-DONbWJGn.js +0 -1
- package/dist/components/p-DXy70SGv.js +0 -1
- package/dist/components/p-Gwko4CTL.js +0 -1
- package/dist/lido-player/p-00993d1a.entry.js +0 -12
- package/dist/lido-player/p-mMpK8062.js +0 -2
- package/dist/lido-player/p-v3GBrpv9.js +0 -1
|
@@ -2,7 +2,7 @@ import { h, Host, getAssetPath } from "@stencil/core";
|
|
|
2
2
|
import JSZip from "jszip";
|
|
3
3
|
import GameScore, { SelectedValuesKey, NextContainerKey, PrevContainerKey, LidoContainer, exitUrl, prevUrl, nextUrl, speakUrl, ActivityScoreKey, LIDO_COMMON_AUDIO_PATH, TemplateID, } from "../../utils/constants";
|
|
4
4
|
import { dispatchActivityChangeEvent, dispatchGameExitEvent } from "../../utils/customEvents";
|
|
5
|
-
import { calculateScale, getCancelBtnPopup, setCancelBtnPopup, executeActions, triggerPrevcontainer, convertUrlToRelative, triggerNextContainer, matchStringPattern, setActiveZipAssets, clearActiveZipAssets, } from "../../utils/utils";
|
|
5
|
+
import { calculateScale, getCancelBtnPopup, setCancelBtnPopup, executeActions, triggerPrevcontainer, convertUrlToRelative, triggerNextContainer, matchStringPattern, setActiveZipAssets, clearActiveZipAssets, resetGoodJobAudioTracking, getGoodJobAudio, } from "../../utils/utils";
|
|
6
6
|
import { AudioPlayer } from "../../utils/audioPlayer";
|
|
7
7
|
import { generateUUIDFallback } from "../../utils/utils";
|
|
8
8
|
import i18next from "../../utils/i18n";
|
|
@@ -212,8 +212,8 @@ export class LidoHome {
|
|
|
212
212
|
}
|
|
213
213
|
translateHomeText(key) {
|
|
214
214
|
var _a;
|
|
215
|
-
const lang = (_a = this.Lang) === null || _a === void 0 ? void 0 : _a.trim();
|
|
216
|
-
return
|
|
215
|
+
const lang = ((_a = this.Lang) === null || _a === void 0 ? void 0 : _a.trim()) || i18next.language || 'en';
|
|
216
|
+
return i18next.getFixedT(lang)(key);
|
|
217
217
|
}
|
|
218
218
|
onCommonAudioPathChange(path) {
|
|
219
219
|
this.publishCommonAudioPath(path);
|
|
@@ -223,6 +223,7 @@ export class LidoHome {
|
|
|
223
223
|
* between containers and parses the XML data into containers.
|
|
224
224
|
*/
|
|
225
225
|
async componentWillLoad() {
|
|
226
|
+
resetGoodJobAudioTracking(this.el);
|
|
226
227
|
// Publish the current player's common-audio path before parsing XML so
|
|
227
228
|
// child lido-text components cannot resolve auto-audio against the
|
|
228
229
|
// previous player's global path.
|
|
@@ -553,10 +554,7 @@ export class LidoHome {
|
|
|
553
554
|
})
|
|
554
555
|
.filter(Boolean);
|
|
555
556
|
if (tagName === 'lido-text' && props.string) {
|
|
556
|
-
props.string =
|
|
557
|
-
}
|
|
558
|
-
if (tagName === 'lido-text' && props.string) {
|
|
559
|
-
props.string = i18next.t(props.string);
|
|
557
|
+
props.string = this.translateHomeText(props.string);
|
|
560
558
|
}
|
|
561
559
|
// Map XML tags to Stencil components
|
|
562
560
|
const componentMapping = {
|
|
@@ -618,7 +616,7 @@ export class LidoHome {
|
|
|
618
616
|
});
|
|
619
617
|
}
|
|
620
618
|
async btnpopup(runId) {
|
|
621
|
-
var _a, _b;
|
|
619
|
+
var _a, _b, _c;
|
|
622
620
|
const isStale = () => runId !== this.btnpopupRunId;
|
|
623
621
|
const container = document.getElementById(LidoContainer);
|
|
624
622
|
if (isStale())
|
|
@@ -668,11 +666,37 @@ export class LidoHome {
|
|
|
668
666
|
break;
|
|
669
667
|
}
|
|
670
668
|
}
|
|
669
|
+
if (getCancelBtnPopup() || isStale())
|
|
670
|
+
return;
|
|
671
|
+
if (templateId === 'flashcardtemplate') {
|
|
672
|
+
const flashCard = this.el.querySelector('lido-flash-card');
|
|
673
|
+
await ((_a = flashCard === null || flashCard === void 0 ? void 0 : flashCard.replayGoodJobAudio) === null || _a === void 0 ? void 0 : _a.call(flashCard));
|
|
674
|
+
if (isStale())
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
if (templateId === 'storyTale') {
|
|
678
|
+
const pageGoodJob = container.querySelector('#arrow1');
|
|
679
|
+
if (pageGoodJob) {
|
|
680
|
+
const originalAudio = pageGoodJob.getAttribute('data-lido-original-audio')
|
|
681
|
+
|| pageGoodJob.getAttribute('audio')
|
|
682
|
+
|| undefined;
|
|
683
|
+
const localizedAudio = getGoodJobAudio(pageGoodJob);
|
|
684
|
+
if (localizedAudio) {
|
|
685
|
+
if (!pageGoodJob.hasAttribute('data-lido-original-audio') && originalAudio) {
|
|
686
|
+
pageGoodJob.setAttribute('data-lido-original-audio', originalAudio);
|
|
687
|
+
}
|
|
688
|
+
pageGoodJob.setAttribute('audio', localizedAudio);
|
|
689
|
+
}
|
|
690
|
+
await AudioPlayer.getI().play(pageGoodJob, false, undefined, originalAudio);
|
|
691
|
+
if (isStale())
|
|
692
|
+
return;
|
|
693
|
+
}
|
|
694
|
+
}
|
|
671
695
|
if (isStale())
|
|
672
696
|
return;
|
|
673
697
|
if (this.areAllDropsFilled()) {
|
|
674
698
|
const objectiveString = container['objective'];
|
|
675
|
-
const objectiveArray = (
|
|
699
|
+
const objectiveArray = (_c = JSON.parse((_b = container.getAttribute(SelectedValuesKey)) !== null && _b !== void 0 ? _b : '[]')) !== null && _c !== void 0 ? _c : [];
|
|
676
700
|
const res = matchStringPattern(objectiveString, objectiveArray);
|
|
677
701
|
if (res) {
|
|
678
702
|
triggerNextContainer();
|
|
@@ -995,7 +1019,7 @@ export class LidoHome {
|
|
|
995
1019
|
"optional": false,
|
|
996
1020
|
"docs": {
|
|
997
1021
|
"tags": [],
|
|
998
|
-
"text": "Custom URL for the Exit button icon.\nFalls back to the default icon if not provided or invalid."
|
|
1022
|
+
"text": "Custom URL for the Exit button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
999
1023
|
},
|
|
1000
1024
|
"getter": false,
|
|
1001
1025
|
"setter": false,
|
|
@@ -1014,7 +1038,7 @@ export class LidoHome {
|
|
|
1014
1038
|
"optional": false,
|
|
1015
1039
|
"docs": {
|
|
1016
1040
|
"tags": [],
|
|
1017
|
-
"text": "Custom URL for the Previous button icon.\nFalls back to the default icon if not provided or invalid."
|
|
1041
|
+
"text": "Custom URL for the Previous button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
1018
1042
|
},
|
|
1019
1043
|
"getter": false,
|
|
1020
1044
|
"setter": false,
|
|
@@ -1033,7 +1057,7 @@ export class LidoHome {
|
|
|
1033
1057
|
"optional": false,
|
|
1034
1058
|
"docs": {
|
|
1035
1059
|
"tags": [],
|
|
1036
|
-
"text": "Custom URL for the Next button icon.\nFalls back to the default icon if not provided or invalid."
|
|
1060
|
+
"text": "Custom URL for the Next button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
1037
1061
|
},
|
|
1038
1062
|
"getter": false,
|
|
1039
1063
|
"setter": false,
|
|
@@ -1052,7 +1076,7 @@ export class LidoHome {
|
|
|
1052
1076
|
"optional": false,
|
|
1053
1077
|
"docs": {
|
|
1054
1078
|
"tags": [],
|
|
1055
|
-
"text": "Custom URL for the Speaker button icon.\nFalls back to the default icon if not provided or invalid."
|
|
1079
|
+
"text": "Custom URL for the Speaker button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
1056
1080
|
},
|
|
1057
1081
|
"getter": false,
|
|
1058
1082
|
"setter": false,
|
|
@@ -1090,7 +1114,7 @@ export class LidoHome {
|
|
|
1090
1114
|
"optional": false,
|
|
1091
1115
|
"docs": {
|
|
1092
1116
|
"tags": [],
|
|
1093
|
-
"text": "Unique identifier for the component instance.\nIf not provided, a UUID is generated to ensure uniqueness."
|
|
1117
|
+
"text": "Unique identifier for the component instance.\r\nIf not provided, a UUID is generated to ensure uniqueness."
|
|
1094
1118
|
},
|
|
1095
1119
|
"getter": false,
|
|
1096
1120
|
"setter": false,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
.lido-image {
|
|
2
|
-
user-select: none;
|
|
3
|
-
-webkit-user-drag: none;
|
|
4
|
-
object-fit: contain;
|
|
5
|
-
width: 100% !important;
|
|
6
|
-
height: 100% !important;
|
|
7
|
-
aspect-ratio: 1 / 1; /* Ensures the image retains a 1:1 aspect ratio
|
|
8
|
-
/* The image will scale to fit within its container, keeping the aspect ratio */
|
|
9
|
-
transform: rotate(0) !important;
|
|
10
|
-
margin: 0 !important;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.slice {
|
|
14
|
-
background-repeat: no-repeat;
|
|
15
|
-
background-position: center;
|
|
16
|
-
background-size: 100% 100%;
|
|
17
|
-
}
|
|
1
|
+
.lido-image {
|
|
2
|
+
user-select: none;
|
|
3
|
+
-webkit-user-drag: none;
|
|
4
|
+
object-fit: contain;
|
|
5
|
+
width: 100% !important;
|
|
6
|
+
height: 100% !important;
|
|
7
|
+
aspect-ratio: 1 / 1; /* Ensures the image retains a 1:1 aspect ratio
|
|
8
|
+
/* The image will scale to fit within its container, keeping the aspect ratio */
|
|
9
|
+
transform: rotate(0) !important;
|
|
10
|
+
margin: 0 !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.slice {
|
|
14
|
+
background-repeat: no-repeat;
|
|
15
|
+
background-position: center;
|
|
16
|
+
background-size: 100% 100%;
|
|
17
|
+
}
|
|
@@ -552,7 +552,7 @@ export class LidoImage {
|
|
|
552
552
|
"optional": false,
|
|
553
553
|
"docs": {
|
|
554
554
|
"tags": [],
|
|
555
|
-
"text": "Specifies the width for border-image slice (e.g., \"30px\", \"2em\").\nOnly used when `isSlice` is enabled."
|
|
555
|
+
"text": "Specifies the width for border-image slice (e.g., \"30px\", \"2em\").\r\nOnly used when `isSlice` is enabled."
|
|
556
556
|
},
|
|
557
557
|
"getter": false,
|
|
558
558
|
"setter": false,
|
|
@@ -612,7 +612,7 @@ export class LidoImage {
|
|
|
612
612
|
"optional": false,
|
|
613
613
|
"docs": {
|
|
614
614
|
"tags": [],
|
|
615
|
-
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
615
|
+
"text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
616
616
|
},
|
|
617
617
|
"getter": false,
|
|
618
618
|
"setter": false,
|
|
@@ -632,7 +632,7 @@ export class LidoImage {
|
|
|
632
632
|
"optional": false,
|
|
633
633
|
"docs": {
|
|
634
634
|
"tags": [],
|
|
635
|
-
"text": "CSS padding value applied to each child element inside the container.\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
|
|
635
|
+
"text": "CSS padding value applied to each child element inside the container.\r\nAccepts standard CSS padding formats (e.g., '10px', '5px 10px', etc.)."
|
|
636
636
|
},
|
|
637
637
|
"getter": false,
|
|
638
638
|
"setter": false,
|
|
@@ -652,7 +652,7 @@ export class LidoImage {
|
|
|
652
652
|
"optional": false,
|
|
653
653
|
"docs": {
|
|
654
654
|
"tags": [],
|
|
655
|
-
"text": "CSS filter to apply visual effects (e.g., blur, brightness) to the image.\nExample: 'blur(5px)', 'brightness(0.8)', 'grayscale(100%)'"
|
|
655
|
+
"text": "CSS filter to apply visual effects (e.g., blur, brightness) to the image.\r\nExample: 'blur(5px)', 'brightness(0.8)', 'grayscale(100%)'"
|
|
656
656
|
},
|
|
657
657
|
"getter": false,
|
|
658
658
|
"setter": false,
|
|
@@ -672,7 +672,7 @@ export class LidoImage {
|
|
|
672
672
|
"optional": false,
|
|
673
673
|
"docs": {
|
|
674
674
|
"tags": [],
|
|
675
|
-
"text": "CSS filter to apply border radius to the image.\nExample: '10px' for images."
|
|
675
|
+
"text": "CSS filter to apply border radius to the image.\r\nExample: '10px' for images."
|
|
676
676
|
},
|
|
677
677
|
"getter": false,
|
|
678
678
|
"setter": false,
|
|
@@ -692,7 +692,7 @@ export class LidoImage {
|
|
|
692
692
|
"optional": false,
|
|
693
693
|
"docs": {
|
|
694
694
|
"tags": [],
|
|
695
|
-
"text": "CSS transform property to apply transformations like rotate, scale, translate, etc.\nExample: 'rotate(45deg)' or 'scale(1.2)'."
|
|
695
|
+
"text": "CSS transform property to apply transformations like rotate, scale, translate, etc.\r\nExample: 'rotate(45deg)' or 'scale(1.2)'."
|
|
696
696
|
},
|
|
697
697
|
"getter": false,
|
|
698
698
|
"setter": false,
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
.lido-keyboard {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
align-items: center;
|
|
5
|
-
gap: 30px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.input-area {
|
|
9
|
-
display: flex;
|
|
10
|
-
gap: 15px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
input[type="text"] {
|
|
14
|
-
font-size: 30px;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
padding-left: 20px;
|
|
17
|
-
width: 300px;
|
|
18
|
-
height: 70px;
|
|
19
|
-
border: 2px solid;
|
|
20
|
-
background: whitesmoke;
|
|
21
|
-
border-radius: 20px;
|
|
22
|
-
text-align: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.keyboard-wrapper {
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: 700px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.disabled {
|
|
31
|
-
opacity: 0.5;
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.key-button {
|
|
36
|
-
background: aquamarine;
|
|
37
|
-
font-weight: 600;
|
|
38
|
-
}
|
|
1
|
+
.lido-keyboard {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
gap: 30px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.input-area {
|
|
9
|
+
display: flex;
|
|
10
|
+
gap: 15px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
input[type="text"] {
|
|
14
|
+
font-size: 30px;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
padding-left: 20px;
|
|
17
|
+
width: 300px;
|
|
18
|
+
height: 70px;
|
|
19
|
+
border: 2px solid;
|
|
20
|
+
background: whitesmoke;
|
|
21
|
+
border-radius: 20px;
|
|
22
|
+
text-align: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.keyboard-wrapper {
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 700px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.disabled {
|
|
31
|
+
opacity: 0.5;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.key-button {
|
|
36
|
+
background: aquamarine;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
}
|
|
@@ -139,10 +139,10 @@ export class LidoKeyboard {
|
|
|
139
139
|
const keysArray = this.keys.split(',').map(k => k.trim());
|
|
140
140
|
const container = document.getElementById(LidoContainer);
|
|
141
141
|
const showCheck = container.getAttribute('show-check') === 'true';
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: '4de3b75fa2905744ad610d147d9b4fe9912dd732', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (h("div", { key: '7b5d293c52747700cde9c1069cfbbdae065e64f9', class: "input-area" }, h("input", { key: '03a91cd87e6bb4f09bf698087258426dd9232f67', type: "text", value: this.inputString, class: "input-area", readonly: true }), h("lido-text", { key: 'd30e033a055df52b30b2f2775c2b3410ee37df63', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
|
|
143
143
|
this.inputString = this.inputString.slice(0, -1);
|
|
144
144
|
this.inputValidation(event);
|
|
145
|
-
} }), h("lido-text", { key: '
|
|
145
|
+
} }), h("lido-text", { key: '70d78aed7dedbe7d03a05c13c4c320029280bb03', visible: showCheck ? 'true' : 'false', id: "lido-checkButton", string: "Enter", "bg-color": "green", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "150px", height: "70px", type: "click" }))), this.letterLength && (h("lido-text", { key: '19306cd12bd98dc8dc7b54b20bad3f2f0318116f', visible: "true", string: `${this.numberOfClick}/${this.letterLength}`, "font-size": "60px", "font-color": "white", onEntry: "this.position='absolute'; this.right='0'; this.fontWeight='800';", x: "unset" })), h("div", { key: '826900d6ba26175eb45d2e7e4c02fccce2004db3', class: "keyboard-wrapper", style: {
|
|
146
146
|
display: 'flex',
|
|
147
147
|
flexWrap: 'wrap',
|
|
148
148
|
justifyContent: 'center',
|
|
@@ -514,7 +514,7 @@ export class LidoKeyboard {
|
|
|
514
514
|
"optional": false,
|
|
515
515
|
"docs": {
|
|
516
516
|
"tags": [],
|
|
517
|
-
"text": "Indicates whether the keyboard input is enabled.\nWhen set to `true`, the component will respond to keyboard events."
|
|
517
|
+
"text": "Indicates whether the keyboard input is enabled.\r\nWhen set to `true`, the component will respond to keyboard events."
|
|
518
518
|
},
|
|
519
519
|
"getter": false,
|
|
520
520
|
"setter": false,
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
.math-matrix {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.slot {
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
text-align: center;
|
|
12
|
-
align-content: center;
|
|
13
|
-
font-size: 42px;
|
|
14
|
-
font-weight: 800;
|
|
15
|
-
font-family: 'Baloo Bhai 2';
|
|
16
|
-
box-sizing: content-box;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.slot:hover {
|
|
20
|
-
/* background-color: rgba(0, 0, 0, 0.116); */
|
|
21
|
-
opacity: 0.7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.slot-parent {
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.slot-active {
|
|
34
|
-
background-color: var(--active-bg-color);
|
|
35
|
-
background-image: var(--bg-image);
|
|
36
|
-
background-size: contain;
|
|
37
|
-
background-position: center;
|
|
38
|
-
background-repeat: no-repeat;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.slot-inactive {
|
|
42
|
-
background-color: var(--deactive-bg-color);
|
|
43
|
-
background-size: cover;
|
|
44
|
-
background-position: center;
|
|
45
|
-
background-repeat: no-repeat;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.topIndex, .leftIndex, .bottomIndex {
|
|
49
|
-
height: 100%;
|
|
50
|
-
width: 100%;
|
|
51
|
-
text-align: center;
|
|
52
|
-
align-content: center;
|
|
53
|
-
font-size: 30px;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
font-family: 'Baloo Bhai 2';
|
|
56
|
-
}
|
|
1
|
+
.math-matrix {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 100%;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.slot {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
text-align: center;
|
|
12
|
+
align-content: center;
|
|
13
|
+
font-size: 42px;
|
|
14
|
+
font-weight: 800;
|
|
15
|
+
font-family: 'Baloo Bhai 2';
|
|
16
|
+
box-sizing: content-box;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.slot:hover {
|
|
20
|
+
/* background-color: rgba(0, 0, 0, 0.116); */
|
|
21
|
+
opacity: 0.7;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.slot-parent {
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: center;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.slot-active {
|
|
34
|
+
background-color: var(--active-bg-color);
|
|
35
|
+
background-image: var(--bg-image);
|
|
36
|
+
background-size: contain;
|
|
37
|
+
background-position: center;
|
|
38
|
+
background-repeat: no-repeat;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.slot-inactive {
|
|
42
|
+
background-color: var(--deactive-bg-color);
|
|
43
|
+
background-size: cover;
|
|
44
|
+
background-position: center;
|
|
45
|
+
background-repeat: no-repeat;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.topIndex, .leftIndex, .bottomIndex {
|
|
49
|
+
height: 100%;
|
|
50
|
+
width: 100%;
|
|
51
|
+
text-align: center;
|
|
52
|
+
align-content: center;
|
|
53
|
+
font-size: 30px;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
font-family: 'Baloo Bhai 2';
|
|
56
|
+
}
|
|
@@ -209,7 +209,7 @@ export class LidoMathMatrix {
|
|
|
209
209
|
render() {
|
|
210
210
|
let slotNumber = 1;
|
|
211
211
|
const slotData = this.getSlotData();
|
|
212
|
-
return (h(Host, { key: '
|
|
212
|
+
return (h(Host, { key: '8a17727416da00fda95c401c3a005cdea1e732d0', class: "math-matrix", style: {
|
|
213
213
|
height: this.style.height,
|
|
214
214
|
width: this.style.width,
|
|
215
215
|
z: this.style.z,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.lido-pos {
|
|
2
|
-
top: var(--y, 0);
|
|
3
|
-
left: var(--x, 0);
|
|
4
|
-
height: var(--height, 100%);
|
|
5
|
-
width: var(--width, 100%);
|
|
6
|
-
background-color: var(--bgColor, #eeeeee);
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: space-around;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
position: fixed;
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.lido-pos > * {
|
|
15
|
-
position: absolute;
|
|
16
|
-
}
|
|
1
|
+
.lido-pos {
|
|
2
|
+
top: var(--y, 0);
|
|
3
|
+
left: var(--x, 0);
|
|
4
|
+
height: var(--height, 100%);
|
|
5
|
+
width: var(--width, 100%);
|
|
6
|
+
background-color: var(--bgColor, #eeeeee);
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: space-around;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
position: fixed;
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.lido-pos > * {
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
@@ -131,7 +131,7 @@ export class LidoPos {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: 'cfd38900b31991e89c21a099fc4f91f77663ae94', id: this.id, class: "lido-pos", type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, value: this.value, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: '73f7bfe2d8214693d6f40a4dab6d735906ad4eaa' })));
|
|
135
135
|
}
|
|
136
136
|
static get is() { return "lido-pos"; }
|
|
137
137
|
static get originalStyleUrls() {
|
|
@@ -558,7 +558,7 @@ export class LidoPos {
|
|
|
558
558
|
"optional": false,
|
|
559
559
|
"docs": {
|
|
560
560
|
"tags": [],
|
|
561
|
-
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
561
|
+
"text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
562
562
|
},
|
|
563
563
|
"getter": false,
|
|
564
564
|
"setter": false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.lido-random {
|
|
2
|
-
position: relative; /* Ensures children position within this box */
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.lido-random > * {
|
|
8
|
-
position: absolute;
|
|
1
|
+
.lido-random {
|
|
2
|
+
position: relative; /* Ensures children position within this box */
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.lido-random > * {
|
|
8
|
+
position: absolute;
|
|
9
9
|
}
|
|
@@ -142,7 +142,7 @@ export class LidoRandom {
|
|
|
142
142
|
backgroundColor: this.bgColor,
|
|
143
143
|
margin: this.margin,
|
|
144
144
|
};
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: 'a4cec45d407b57833a4296a20230717534adf39b', class: "lido-random", type: this.type, "tab-index": this.tabIndex, value: this.value, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, minDrops: this.minDrops, maxDrops: this.maxDrops, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, h("slot", { key: 'b80726b68b7f1c009f35352b9d05cd573159f87b' })));
|
|
146
146
|
}
|
|
147
147
|
static get is() { return "lido-random"; }
|
|
148
148
|
static get originalStyleUrls() {
|
|
@@ -589,7 +589,7 @@ export class LidoRandom {
|
|
|
589
589
|
"optional": false,
|
|
590
590
|
"docs": {
|
|
591
591
|
"tags": [],
|
|
592
|
-
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
592
|
+
"text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
593
593
|
},
|
|
594
594
|
"getter": false,
|
|
595
595
|
"setter": false,
|
|
@@ -87,7 +87,7 @@ export class LidoRoot {
|
|
|
87
87
|
return h("div", null, "Error loading XML data. Please check the path or URL.");
|
|
88
88
|
}
|
|
89
89
|
// Once the XML data is loaded, pass it to the `lido-home` component
|
|
90
|
-
return (h("lido-home", Object.assign({ showNav: true, activeContainerIndexes: [], initialIndex: this.initialIndex, canplay: this.canplay, xmlData: this.xmlData, baseUrl: this.baseUrl }, (this.zipUrl ? { zipUrl: this.zipUrl } : {}), { exitButtonUrl: this.exitButtonUrl, prevButtonUrl: this.prevButtonUrl, nextButtonUrl: this.nextButtonUrl, speakerButtonUrl: this.speakerButtonUrl })));
|
|
90
|
+
return (h("lido-home", Object.assign({ showNav: true, activeContainerIndexes: [], initialIndex: this.initialIndex, canplay: this.canplay, Lang: this.Lang, xmlData: this.xmlData, baseUrl: this.baseUrl }, (this.zipUrl ? { zipUrl: this.zipUrl } : {}), { exitButtonUrl: this.exitButtonUrl, prevButtonUrl: this.prevButtonUrl, nextButtonUrl: this.nextButtonUrl, speakerButtonUrl: this.speakerButtonUrl })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "lido-root"; }
|
|
93
93
|
static get assetsDirs() { return ["assets"]; }
|
|
@@ -165,7 +165,7 @@ export class LidoRoot {
|
|
|
165
165
|
"optional": false,
|
|
166
166
|
"docs": {
|
|
167
167
|
"tags": [],
|
|
168
|
-
"text": "CSS margin value applied to each child element inside the container.\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
168
|
+
"text": "CSS margin value applied to each child element inside the container.\r\nAccepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.)."
|
|
169
169
|
},
|
|
170
170
|
"getter": false,
|
|
171
171
|
"setter": false,
|
|
@@ -245,7 +245,7 @@ export class LidoRoot {
|
|
|
245
245
|
"optional": false,
|
|
246
246
|
"docs": {
|
|
247
247
|
"tags": [],
|
|
248
|
-
"text": "Custom URL for the Exit button icon.\nFalls back to the default icon if not provided or invalid."
|
|
248
|
+
"text": "Custom URL for the Exit button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
249
249
|
},
|
|
250
250
|
"getter": false,
|
|
251
251
|
"setter": false,
|
|
@@ -264,7 +264,7 @@ export class LidoRoot {
|
|
|
264
264
|
"optional": false,
|
|
265
265
|
"docs": {
|
|
266
266
|
"tags": [],
|
|
267
|
-
"text": "Custom URL for the Previous button icon.\nFalls back to the default icon if not provided or invalid."
|
|
267
|
+
"text": "Custom URL for the Previous button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
268
268
|
},
|
|
269
269
|
"getter": false,
|
|
270
270
|
"setter": false,
|
|
@@ -283,7 +283,7 @@ export class LidoRoot {
|
|
|
283
283
|
"optional": false,
|
|
284
284
|
"docs": {
|
|
285
285
|
"tags": [],
|
|
286
|
-
"text": "Custom URL for the Next button icon.\nFalls back to the default icon if not provided or invalid."
|
|
286
|
+
"text": "Custom URL for the Next button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
287
287
|
},
|
|
288
288
|
"getter": false,
|
|
289
289
|
"setter": false,
|
|
@@ -302,7 +302,7 @@ export class LidoRoot {
|
|
|
302
302
|
"optional": false,
|
|
303
303
|
"docs": {
|
|
304
304
|
"tags": [],
|
|
305
|
-
"text": "Custom URL for the Speaker button icon.\nFalls back to the default icon if not provided or invalid."
|
|
305
|
+
"text": "Custom URL for the Speaker button icon.\r\nFalls back to the default icon if not provided or invalid."
|
|
306
306
|
},
|
|
307
307
|
"getter": false,
|
|
308
308
|
"setter": false,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.lido-row {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-around;
|
|
4
|
-
align-items: center;
|
|
5
|
-
/* position: absolute; */
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.lido-row > * {
|
|
9
|
-
/* position: relative; */
|
|
10
|
-
}
|
|
1
|
+
.lido-row {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: space-around;
|
|
4
|
+
align-items: center;
|
|
5
|
+
/* position: absolute; */
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.lido-row > * {
|
|
9
|
+
/* position: relative; */
|
|
10
|
+
}
|