lido-player 0.0.2-alpha-60-dev → 0.0.2-alpha-61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/lido-avatar_22.cjs.entry.js +70 -28
- package/dist/cjs/lido-player.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-28faa755.js → utils-9cf49b55.js} +118 -55
- package/dist/collection/components/container/lido-container.js +21 -18
- package/dist/collection/components/home/lido-home.js +4 -4
- package/dist/collection/components/root/lido-root.js +5 -5
- package/dist/collection/components/text/lido-text.js +3 -2
- package/dist/collection/stories/Templates/balancing/balancing.stories.js +1 -1
- package/dist/collection/stories/Templates/imageMatch/imageMatch.stories.js +16 -15
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationimageTotext.stories.js +9 -7
- package/dist/collection/stories/Templates/numberIdentification/numberIdentificationtextTotext.stories.js +8 -6
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaMultiOption.stories.js +2 -2
- package/dist/collection/stories/Templates/palEgmaCalculateSum/palEgmaSumTogether.stories.js +1 -1
- package/dist/collection/stories/Templates/palEgmaPatternMatching/palEgmaPatternMatching.stories.js +31 -18
- package/dist/collection/stories/Templates/palEgmaWordProblem/palEgmaWordProblem.stories.js +5 -5
- package/dist/collection/stories/Templates/palEgraInventedSpelling/pal_egra_invented_spelling_schema.stories.js +10 -7
- package/dist/collection/stories/Templates/palEgraMCQWithImage/palEgraMCQWithImage.stories.js +10 -6
- package/dist/collection/stories/Templates/palEgraOptionWithAudio/palEgraOptionWithAudio.stories.js +19 -14
- package/dist/collection/stories/Templates/palEgraStoryMaking/pal_egra_story_making.stories.js +8 -8
- package/dist/collection/stories/Templates/palEgraTemplate1/palEgraLetterIdentification.stories.js +17 -10
- package/dist/collection/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.js +97 -0
- package/dist/collection/stories/Templates/palEgra_OddOneOut/palEgra_oddOneOut.stories.js +6 -6
- package/dist/collection/stories/Templates/palEgra_arrange_pictures/palEgra_arrange_pictures.stories.js +16 -19
- package/dist/collection/stories/Templates/palEgra_build_word/palEgra_build_word.stories.js +17 -18
- package/dist/collection/stories/Templates/palEgra_word_formation/palEgra_WordFormation.stories.js +22 -19
- package/dist/collection/stories/Templates/palStorytale/palStorytale.stories.js +9 -9
- package/dist/collection/stories/Templates/pictureClues/pictureClues.stories.js +9 -9
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch1.stories.js +13 -13
- package/dist/collection/stories/Templates/pictureWordMatch/pictureWordMatch2.stories.js +9 -9
- package/dist/collection/stories/Templates/sentenceMatch/sentenceMatch.stories.js +63 -0
- package/dist/collection/stories/Templates/substraction/substractionWithimg.stories.js +7 -7
- package/dist/collection/stories/Templates/substraction/substractionWithoutImg.stories.js +13 -13
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithimg.stories.js +7 -7
- package/dist/collection/stories/Templates/wordBuilding/wordBuildingwithoutimg.stories.js +1 -1
- package/dist/collection/stories/Templates/writeSet/writeSet.stories.js +6 -5
- package/dist/collection/utils/audioPlayer.js +10 -0
- package/dist/collection/utils/customEvents.js +2 -1
- package/dist/collection/utils/i18n.js +2 -0
- package/dist/collection/utils/utils.js +4 -11
- package/dist/collection/utils/utilsHandlers/clickHandler.js +12 -7
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +26 -52
- package/dist/collection/utils/utilsHandlers/lidoBalanceHandler.js +4 -5
- package/dist/collection/utils/utilsHandlers/timer.js +53 -0
- 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 +27 -27
- 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-354f7b19.js → p-0f54f212.js} +2 -2
- package/dist/components/{p-3acada8c.js → p-16a6a6f6.js} +1 -1
- package/dist/components/{p-b151457d.js → p-27bfb88f.js} +22 -20
- package/dist/components/{p-93acfbb2.js → p-2b0ef6d4.js} +1 -1
- package/dist/components/{p-c90d92db.js → p-2ce1503f.js} +1 -1
- package/dist/components/{p-8f082c62.js → p-2fedf56d.js} +1 -1
- package/dist/components/{p-a182c9a2.js → p-3c9dd098.js} +1 -1
- package/dist/components/{p-235091a1.js → p-40afd35f.js} +118 -56
- package/dist/components/{p-57400ebc.js → p-4a1af1bb.js} +1 -1
- package/dist/components/{p-74c270d2.js → p-4c1d15df.js} +2 -2
- package/dist/components/{p-5e7c6afa.js → p-4ec94e44.js} +1 -1
- package/dist/components/{p-3acd9a2e.js → p-572f8490.js} +1 -1
- package/dist/components/{p-16604098.js → p-6bee9883.js} +1 -1
- package/dist/components/{p-4d01394c.js → p-76947363.js} +1 -1
- package/dist/components/{p-de45dcab.js → p-8632f479.js} +25 -25
- package/dist/components/{p-db2a05f5.js → p-97ca067d.js} +3 -3
- package/dist/components/{p-8a32f7cb.js → p-be063cbd.js} +1 -1
- package/dist/components/{p-8c0667eb.js → p-d28496a9.js} +1 -1
- package/dist/components/{p-b867548e.js → p-df6042b0.js} +1 -1
- package/dist/components/{p-06cecca5.js → p-dfa70e99.js} +1 -1
- package/dist/components/{p-37c86a94.js → p-e4b71ba1.js} +47 -7
- package/dist/components/{p-32c89979.js → p-f241ab97.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/lido-avatar_22.entry.js +70 -28
- package/dist/esm/lido-player.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-2edeb213.js → utils-01d6cbb5.js} +118 -56
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/{p-add7f36e.js → p-c5ca9462.js} +2 -2
- package/dist/lido-player/p-e4d5dabf.entry.js +1 -0
- package/dist/types/components/container/lido-container.d.ts +1 -1
- package/dist/types/components/home/lido-home.d.ts +1 -1
- package/dist/types/components/root/lido-root.d.ts +1 -1
- package/dist/types/components.d.ts +24 -24
- package/dist/types/stories/Templates/palEgraWordMatch/palEgraWordMatch.stories.d.ts +4 -0
- package/dist/types/stories/Templates/sentenceMatch/sentenceMatch.stories.d.ts +4 -0
- package/dist/types/utils/audioPlayer.d.ts +1 -0
- package/dist/types/utils/constants.d.ts +4 -5
- package/dist/types/utils/utilsHandlers/timer.d.ts +14 -0
- package/package.json +1 -1
- package/dist/lido-player/p-280e3d34.entry.js +0 -1
|
@@ -12,7 +12,7 @@ export declare class LidoHome {
|
|
|
12
12
|
/** Array of active container indexes to be rendered */
|
|
13
13
|
activeContainerIndexes: number[];
|
|
14
14
|
/** Language to apply to all texts */
|
|
15
|
-
|
|
15
|
+
Lang?: string;
|
|
16
16
|
/**
|
|
17
17
|
* XML data passed to the component, which is parsed and used to render various containers.
|
|
18
18
|
*/
|
|
@@ -492,6 +492,10 @@ export namespace Components {
|
|
|
492
492
|
* such as dimensions, positioning, visibility, and custom event handlers.
|
|
493
493
|
*/
|
|
494
494
|
interface LidoContainer {
|
|
495
|
+
/**
|
|
496
|
+
* Language to apply to all texts
|
|
497
|
+
*/
|
|
498
|
+
"Lang": string;
|
|
495
499
|
/**
|
|
496
500
|
* Enables appending the dragged element to the drop target after all correct drops are completed.
|
|
497
501
|
*/
|
|
@@ -556,10 +560,6 @@ export namespace Components {
|
|
|
556
560
|
* Specifies whether the activity should continue automatically upon a correct response. Expected values: "true" or "false".
|
|
557
561
|
*/
|
|
558
562
|
"isContinueOnCorrect": boolean;
|
|
559
|
-
/**
|
|
560
|
-
* Language to apply to all texts
|
|
561
|
-
*/
|
|
562
|
-
"locale": string;
|
|
563
563
|
/**
|
|
564
564
|
* CSS margin value applied to each child element inside the container. Accepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.).
|
|
565
565
|
*/
|
|
@@ -808,6 +808,10 @@ export namespace Components {
|
|
|
808
808
|
* and displays progress indicators (dots) for each container.
|
|
809
809
|
*/
|
|
810
810
|
interface LidoHome {
|
|
811
|
+
/**
|
|
812
|
+
* Language to apply to all texts
|
|
813
|
+
*/
|
|
814
|
+
"Lang"?: string;
|
|
811
815
|
/**
|
|
812
816
|
* Array of active container indexes to be rendered
|
|
813
817
|
*/
|
|
@@ -837,10 +841,6 @@ export namespace Components {
|
|
|
837
841
|
* Initial index of the container being displayed.
|
|
838
842
|
*/
|
|
839
843
|
"initialIndex": number;
|
|
840
|
-
/**
|
|
841
|
-
* Language to apply to all texts
|
|
842
|
-
*/
|
|
843
|
-
"locale"?: string;
|
|
844
844
|
/**
|
|
845
845
|
* Custom URL for the Next button icon. Falls back to the default icon if not provided or invalid.
|
|
846
846
|
*/
|
|
@@ -1386,6 +1386,10 @@ export namespace Components {
|
|
|
1386
1386
|
* The XML path can be configured via a prop.
|
|
1387
1387
|
*/
|
|
1388
1388
|
interface LidoRoot {
|
|
1389
|
+
/**
|
|
1390
|
+
* Language to apply to all texts
|
|
1391
|
+
*/
|
|
1392
|
+
"Lang"?: string;
|
|
1389
1393
|
/**
|
|
1390
1394
|
* Base URL for the containers.
|
|
1391
1395
|
*/
|
|
@@ -1402,10 +1406,6 @@ export namespace Components {
|
|
|
1402
1406
|
* Initial index of the container being displayed.
|
|
1403
1407
|
*/
|
|
1404
1408
|
"initialIndex": number;
|
|
1405
|
-
/**
|
|
1406
|
-
* Language to apply to all texts
|
|
1407
|
-
*/
|
|
1408
|
-
"locale"?: string;
|
|
1409
1409
|
/**
|
|
1410
1410
|
* CSS margin value applied to each child element inside the container. Accepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.).
|
|
1411
1411
|
*/
|
|
@@ -2826,6 +2826,10 @@ declare namespace LocalJSX {
|
|
|
2826
2826
|
* such as dimensions, positioning, visibility, and custom event handlers.
|
|
2827
2827
|
*/
|
|
2828
2828
|
interface LidoContainer {
|
|
2829
|
+
/**
|
|
2830
|
+
* Language to apply to all texts
|
|
2831
|
+
*/
|
|
2832
|
+
"Lang"?: string;
|
|
2829
2833
|
/**
|
|
2830
2834
|
* Enables appending the dragged element to the drop target after all correct drops are completed.
|
|
2831
2835
|
*/
|
|
@@ -2890,10 +2894,6 @@ declare namespace LocalJSX {
|
|
|
2890
2894
|
* Specifies whether the activity should continue automatically upon a correct response. Expected values: "true" or "false".
|
|
2891
2895
|
*/
|
|
2892
2896
|
"isContinueOnCorrect"?: boolean;
|
|
2893
|
-
/**
|
|
2894
|
-
* Language to apply to all texts
|
|
2895
|
-
*/
|
|
2896
|
-
"locale"?: string;
|
|
2897
2897
|
/**
|
|
2898
2898
|
* CSS margin value applied to each child element inside the container. Accepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.).
|
|
2899
2899
|
*/
|
|
@@ -3142,6 +3142,10 @@ declare namespace LocalJSX {
|
|
|
3142
3142
|
* and displays progress indicators (dots) for each container.
|
|
3143
3143
|
*/
|
|
3144
3144
|
interface LidoHome {
|
|
3145
|
+
/**
|
|
3146
|
+
* Language to apply to all texts
|
|
3147
|
+
*/
|
|
3148
|
+
"Lang"?: string;
|
|
3145
3149
|
/**
|
|
3146
3150
|
* Array of active container indexes to be rendered
|
|
3147
3151
|
*/
|
|
@@ -3171,10 +3175,6 @@ declare namespace LocalJSX {
|
|
|
3171
3175
|
* Initial index of the container being displayed.
|
|
3172
3176
|
*/
|
|
3173
3177
|
"initialIndex"?: number;
|
|
3174
|
-
/**
|
|
3175
|
-
* Language to apply to all texts
|
|
3176
|
-
*/
|
|
3177
|
-
"locale"?: string;
|
|
3178
3178
|
/**
|
|
3179
3179
|
* Custom URL for the Next button icon. Falls back to the default icon if not provided or invalid.
|
|
3180
3180
|
*/
|
|
@@ -3720,6 +3720,10 @@ declare namespace LocalJSX {
|
|
|
3720
3720
|
* The XML path can be configured via a prop.
|
|
3721
3721
|
*/
|
|
3722
3722
|
interface LidoRoot {
|
|
3723
|
+
/**
|
|
3724
|
+
* Language to apply to all texts
|
|
3725
|
+
*/
|
|
3726
|
+
"Lang"?: string;
|
|
3723
3727
|
/**
|
|
3724
3728
|
* Base URL for the containers.
|
|
3725
3729
|
*/
|
|
@@ -3736,10 +3740,6 @@ declare namespace LocalJSX {
|
|
|
3736
3740
|
* Initial index of the container being displayed.
|
|
3737
3741
|
*/
|
|
3738
3742
|
"initialIndex"?: number;
|
|
3739
|
-
/**
|
|
3740
|
-
* Language to apply to all texts
|
|
3741
|
-
*/
|
|
3742
|
-
"locale"?: string;
|
|
3743
3743
|
/**
|
|
3744
3744
|
* CSS margin value applied to each child element inside the container. Accepts standard CSS margin formats (e.g., '10px', '5px 10px', etc.).
|
|
3745
3745
|
*/
|
|
@@ -49,9 +49,8 @@ export declare const nextUrl = "https://aeakbcdznktpsbrfsgys.supabase.co/storage
|
|
|
49
49
|
export declare const speakUrl = "https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/Navbar-buttons/audio.png";
|
|
50
50
|
export declare const fingerUrl = "https://aeakbcdznktpsbrfsgys.supabase.co/storage/v1/object/public/template-assets/trace/Tracing-hand.svg";
|
|
51
51
|
export declare const enum templateAudio {
|
|
52
|
-
dragAndDrop = "
|
|
53
|
-
mcq = "
|
|
54
|
-
tracing = "
|
|
55
|
-
flashcards = "
|
|
56
|
-
hello = "hello"
|
|
52
|
+
dragAndDrop = "instruction.dragAndDrop",
|
|
53
|
+
mcq = "instruction.mcq",
|
|
54
|
+
tracing = "instruction.tracing",
|
|
55
|
+
flashcards = "instruction.flashcards"
|
|
57
56
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class Timer {
|
|
2
|
+
private static instance;
|
|
3
|
+
private startTime;
|
|
4
|
+
private elapsedTime;
|
|
5
|
+
private intervalId;
|
|
6
|
+
private onTick?;
|
|
7
|
+
private constructor();
|
|
8
|
+
static getI(onTick?: (elapsed: number) => void): Timer;
|
|
9
|
+
start(): void;
|
|
10
|
+
pause(): void;
|
|
11
|
+
resume(): void;
|
|
12
|
+
stop(): void;
|
|
13
|
+
getElapsed(): number;
|
|
14
|
+
}
|