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
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-
|
|
2
|
-
import { d as defineCustomElement$4, i as instance } from './p-
|
|
3
|
-
import { d as defineCustomElement$m } from './p-
|
|
4
|
-
import { d as defineCustomElement$l } from './p-
|
|
5
|
-
import { d as defineCustomElement$k } from './p-
|
|
6
|
-
import { d as defineCustomElement$j } from './p-
|
|
7
|
-
import { d as defineCustomElement$i } from './p-
|
|
8
|
-
import { d as defineCustomElement$h } from './p-
|
|
9
|
-
import { d as defineCustomElement$g } from './p-
|
|
10
|
-
import { d as defineCustomElement$f } from './p-
|
|
11
|
-
import { d as defineCustomElement$e } from './p-
|
|
12
|
-
import { d as defineCustomElement$d } from './p-
|
|
13
|
-
import { d as defineCustomElement$c } from './p-
|
|
14
|
-
import { d as defineCustomElement$b } from './p-
|
|
15
|
-
import { d as defineCustomElement$a } from './p-
|
|
16
|
-
import { d as defineCustomElement$9 } from './p-
|
|
17
|
-
import { d as defineCustomElement$8 } from './p-
|
|
18
|
-
import { d as defineCustomElement$7 } from './p-
|
|
19
|
-
import { d as defineCustomElement$6 } from './p-
|
|
20
|
-
import { d as defineCustomElement$5 } from './p-
|
|
21
|
-
import { d as defineCustomElement$3 } from './p-
|
|
22
|
-
import { d as defineCustomElement$2 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, g as getAssetPath, h } from './p-40afd35f.js';
|
|
2
|
+
import { d as defineCustomElement$4, i as instance } from './p-e4b71ba1.js';
|
|
3
|
+
import { d as defineCustomElement$m } from './p-76947363.js';
|
|
4
|
+
import { d as defineCustomElement$l } from './p-dfa70e99.js';
|
|
5
|
+
import { d as defineCustomElement$k } from './p-97ca067d.js';
|
|
6
|
+
import { d as defineCustomElement$j } from './p-0f54f212.js';
|
|
7
|
+
import { d as defineCustomElement$i } from './p-16a6a6f6.js';
|
|
8
|
+
import { d as defineCustomElement$h } from './p-4a1af1bb.js';
|
|
9
|
+
import { d as defineCustomElement$g } from './p-27bfb88f.js';
|
|
10
|
+
import { d as defineCustomElement$f } from './p-2fedf56d.js';
|
|
11
|
+
import { d as defineCustomElement$e } from './p-df6042b0.js';
|
|
12
|
+
import { d as defineCustomElement$d } from './p-8632f479.js';
|
|
13
|
+
import { d as defineCustomElement$c } from './p-6bee9883.js';
|
|
14
|
+
import { d as defineCustomElement$b } from './p-4c1d15df.js';
|
|
15
|
+
import { d as defineCustomElement$a } from './p-2b0ef6d4.js';
|
|
16
|
+
import { d as defineCustomElement$9 } from './p-2ce1503f.js';
|
|
17
|
+
import { d as defineCustomElement$8 } from './p-d28496a9.js';
|
|
18
|
+
import { d as defineCustomElement$7 } from './p-572f8490.js';
|
|
19
|
+
import { d as defineCustomElement$6 } from './p-be063cbd.js';
|
|
20
|
+
import { d as defineCustomElement$5 } from './p-3c9dd098.js';
|
|
21
|
+
import { d as defineCustomElement$3 } from './p-f241ab97.js';
|
|
22
|
+
import { d as defineCustomElement$2 } from './p-4ec94e44.js';
|
|
23
23
|
|
|
24
24
|
const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
25
25
|
constructor() {
|
|
26
26
|
super();
|
|
27
27
|
this.__registerHost();
|
|
28
|
-
this.
|
|
28
|
+
this.Lang = '';
|
|
29
29
|
this.xmlPath = '';
|
|
30
30
|
this.initialIndex = 0;
|
|
31
31
|
this.margin = '';
|
|
@@ -42,7 +42,7 @@ const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
|
42
42
|
* It fetches the XML data from the specified path or URL and sets it to the component's state.
|
|
43
43
|
*/
|
|
44
44
|
connectedCallback() {
|
|
45
|
-
this.setLanguage(this.
|
|
45
|
+
this.setLanguage(this.Lang);
|
|
46
46
|
}
|
|
47
47
|
onLangChange(newLang) {
|
|
48
48
|
this.setLanguage(newLang);
|
|
@@ -94,10 +94,10 @@ const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
|
94
94
|
}
|
|
95
95
|
static get assetsDirs() { return ["assets"]; }
|
|
96
96
|
static get watchers() { return {
|
|
97
|
-
"
|
|
97
|
+
"Lang": ["onLangChange"]
|
|
98
98
|
}; }
|
|
99
99
|
}, [0, "lido-root", {
|
|
100
|
-
"
|
|
100
|
+
"Lang": [1, "lang"],
|
|
101
101
|
"xmlPath": [1, "xml-path"],
|
|
102
102
|
"initialIndex": [2, "initial-index"],
|
|
103
103
|
"margin": [1],
|
|
@@ -109,7 +109,7 @@ const LidoRoot$1 = /*@__PURE__*/ proxyCustomElement(class LidoRoot extends H {
|
|
|
109
109
|
"speakerButtonUrl": [1, "speaker-button-url"],
|
|
110
110
|
"xmlData": [32]
|
|
111
111
|
}, undefined, {
|
|
112
|
-
"
|
|
112
|
+
"Lang": ["onLangChange"]
|
|
113
113
|
}]);
|
|
114
114
|
function defineCustomElement$1() {
|
|
115
115
|
if (typeof customElements === "undefined") {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, k as parseProp, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, k as parseProp, h, j as Host } from './p-40afd35f.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-e4b71ba1.js';
|
|
3
3
|
|
|
4
4
|
const lidoCanvasCss = ":host{display:flex;justify-content:center;align-items:center}.lido-canvas{background:red;border:2px solid #ccc;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;position:relative}#lido-exit-button{padding:6px 14px;border:none;background:transparent;color:#fff;border-radius:6px;cursor:pointer;font-size:14px;position:relative;top:-43%;left:18%;z-index:10}canvas{touch-action:none;display:block}";
|
|
5
5
|
const LidoCanvasStyle0 = lidoCanvasCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as setVisibilityWithDelay, i as initEventsForElement, r as handlingChildElements, t as attachSpeakIcon, k as parseProp, h, j as Host } from './p-40afd35f.js';
|
|
2
2
|
|
|
3
3
|
const lidoCellCss = ".lido-col{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);padding:15px;border-radius:10px;display:flex;justify-content:space-around;flex-direction:column;align-items:center}.lido-col>*{}.lido-row{display:flex;justify-content:space-around;align-items:center;}.lido-row>*{}.lido-wrap{display:grid;grid-gap:10px;grid-template-columns:repeat(auto-fill, minmax(186px, auto))}.lido-wrap>*{padding:10px;box-sizing:border-box}.lido-flex{display:flex;flex-wrap:wrap;align-content:flex-start;gap:10px}.lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}.lido-random{position:relative;width:100%;height:100%}.lido-random>*{position:absolute}.lido-col::-webkit-scrollbar,.lido-wrap::-webkit-scrollbar,.lido-flex::-webkit-scrollbar{width:var(--scrollbar-width);height:var(--scrollbar-width)}.lido-col::-webkit-scrollbar-thumb,.lido-wrap::-webkit-scrollbar-thumb,.lido-flex::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px;border:3px solid transparent;background-clip:content-box}.lido-col::-webkit-scrollbar-track,.lido-wrap::-webkit-scrollbar-track,.lido-flex::-webkit-scrollbar-track{background:#f1f1f1}";
|
|
4
4
|
const LidoCellStyle0 = lidoCellCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, T as TemplateID, v as calculateScale, e as convertUrlToRelative, i as initEventsForElement, w as highlightElement, h, j as Host } from './p-
|
|
2
|
-
import { d as defineCustomElement$1, i as instance } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, T as TemplateID, v as calculateScale, e as convertUrlToRelative, i as initEventsForElement, w as highlightElement, x as Timer, h, j as Host } from './p-40afd35f.js';
|
|
2
|
+
import { d as defineCustomElement$1, i as instance } from './p-e4b71ba1.js';
|
|
3
3
|
|
|
4
4
|
const lidoContainerCss = ".lido-container{position:relative;height:100%;width:100%;background-color:var(--bgColor, transparent);display:flex;flex-direction:column;justify-content:center;align-items:center}";
|
|
5
5
|
const LidoContainerStyle0 = lidoContainerCss;
|
|
@@ -8,7 +8,7 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
10
10
|
this.__registerHost();
|
|
11
|
-
this.
|
|
11
|
+
this.Lang = '';
|
|
12
12
|
this.showDropBorder = true;
|
|
13
13
|
this.appendToDropOnCompletion = false;
|
|
14
14
|
this.id = '';
|
|
@@ -61,13 +61,13 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
61
61
|
}
|
|
62
62
|
resolveInstructionAudio() {
|
|
63
63
|
var _a;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
const key = (_a = {
|
|
65
|
+
flashcard: "instruction.flashcards" /* templateAudio.flashcards */,
|
|
66
|
+
mcq: "instruction.mcq" /* templateAudio.mcq */,
|
|
67
|
+
tracing: "instruction.tracing" /* templateAudio.tracing */,
|
|
68
|
+
dragAndDrop: "instruction.dragAndDrop" /* templateAudio.dragAndDrop */,
|
|
69
|
+
}[this.templateId]) !== null && _a !== void 0 ? _a : '';
|
|
70
|
+
this.instructName = key ? instance.t(key) : '';
|
|
71
71
|
const home = document.querySelector('lido-home');
|
|
72
72
|
if (!home)
|
|
73
73
|
return;
|
|
@@ -80,16 +80,16 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
80
80
|
resolveLanguage() {
|
|
81
81
|
var _a, _b;
|
|
82
82
|
const rootEl = this.el.closest('lido-root');
|
|
83
|
-
const rootLang = (rootEl === null || rootEl === void 0 ? void 0 : rootEl.
|
|
83
|
+
const rootLang = (rootEl === null || rootEl === void 0 ? void 0 : rootEl.Lang) || '';
|
|
84
84
|
if (rootLang === null || rootLang === void 0 ? void 0 : rootLang.trim())
|
|
85
85
|
return rootLang;
|
|
86
86
|
const homeEl = this.el.closest('lido-home');
|
|
87
|
-
const homeLang = (homeEl === null || homeEl === void 0 ? void 0 : homeEl.
|
|
87
|
+
const homeLang = (homeEl === null || homeEl === void 0 ? void 0 : homeEl.Lang) || '';
|
|
88
88
|
if (homeLang === null || homeLang === void 0 ? void 0 : homeLang.trim())
|
|
89
89
|
return homeLang;
|
|
90
|
-
if ((_a = this.
|
|
91
|
-
return this.
|
|
92
|
-
const xmlLang = this.el.getAttribute('
|
|
90
|
+
if ((_a = this.Lang) === null || _a === void 0 ? void 0 : _a.trim())
|
|
91
|
+
return this.Lang;
|
|
92
|
+
const xmlLang = this.el.getAttribute('Lang');
|
|
93
93
|
if (xmlLang === null || xmlLang === void 0 ? void 0 : xmlLang.trim())
|
|
94
94
|
return xmlLang;
|
|
95
95
|
return (_b = this.el.textContent) === null || _b === void 0 ? void 0 : _b.trim();
|
|
@@ -161,7 +161,7 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
161
161
|
instance.changeLanguage(appliedLang);
|
|
162
162
|
const texts = this.el.querySelectorAll('lido-text');
|
|
163
163
|
texts.forEach((textEl) => {
|
|
164
|
-
textEl.
|
|
164
|
+
textEl.Lang = appliedLang;
|
|
165
165
|
textEl.dispatchEvent(new CustomEvent('languageChanged', { bubbles: true }));
|
|
166
166
|
});
|
|
167
167
|
}
|
|
@@ -200,12 +200,14 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
200
200
|
setTimeout(() => {
|
|
201
201
|
highlightElement();
|
|
202
202
|
}, 100);
|
|
203
|
+
Timer.getI().start();
|
|
203
204
|
}
|
|
204
205
|
disconnectedCallback() {
|
|
205
206
|
window.removeEventListener('resize', () => this.scaleContainer(this.el));
|
|
206
207
|
window.removeEventListener('load', () => this.scaleContainer(this.el));
|
|
207
208
|
document.body.style.backgroundColor = '';
|
|
208
209
|
document.body.style.backgroundImage = '';
|
|
210
|
+
Timer.getI().stop();
|
|
209
211
|
}
|
|
210
212
|
render() {
|
|
211
213
|
// Define the styles for the container element
|
|
@@ -219,15 +221,15 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
219
221
|
userSelect: 'none', // Prevent any field selection
|
|
220
222
|
};
|
|
221
223
|
console.log('🚀 ~ LidoContainer ~ canplay:', this.canplay);
|
|
222
|
-
return (h(Host, { key: '
|
|
224
|
+
return (h(Host, { key: 'b2b35ac6c3be99cabf0eeaf2708611bfd4c3360c', id: "lido-container", Lang: this.Lang, "tab-index": 0, class: "lido-container", objective: this.objective, baseUrl: this.baseUrl, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, onTouch: this.onTouch, onInCorrect: this.onInCorrect, onCorrect: this.onCorrect, onEntry: this.onEntry, "show-check": `${this.showCheck}`, "is-continue-on-correct": `${this.isContinueOnCorrect}`, "is-allow-only-correct": `${this.isAllowOnlyCorrect}`, canplay: `${this.canplay}`, appendToDropOnCompletion: `${this.appendToDropOnCompletion}`, "show-prev-button": `${this.showPrevButton}`, "show-next-button": `${this.showNextButton}`, "show-drop-border": `${this.showDropBorder}`, "bg-image": this.bgImage, "exit-button-url": this.exitButtonUrl, "prev-button-url": this.prevButtonUrl, "next-button-url": this.nextButtonUrl, "speaker-button-url": this.speakerButtonUrl, "disable-speak": this.disableSpeak, "template-id": this.templateId, audio: this.audio }, h("lido-text", { key: 'ebd91c0603caa4e52d583dd86a1692b57b99afb4', visible: "false", id: this.templateId, audio: "", string: this.instructName }), h("slot", { key: '76f7f53558af814bbd0ce4516b80d4fa970e3c48' })));
|
|
223
225
|
}
|
|
224
226
|
get el() { return this; }
|
|
225
227
|
static get watchers() { return {
|
|
226
|
-
"
|
|
228
|
+
"Lang": ["languageChanged"]
|
|
227
229
|
}; }
|
|
228
230
|
static get style() { return LidoContainerStyle0; }
|
|
229
231
|
}, [4, "lido-container", {
|
|
230
|
-
"
|
|
232
|
+
"Lang": [1, "lang"],
|
|
231
233
|
"showDropBorder": [4, "show-drop-border"],
|
|
232
234
|
"appendToDropOnCompletion": [4, "append-to-drop-on-completion"],
|
|
233
235
|
"id": [1],
|
|
@@ -269,7 +271,7 @@ const LidoContainer = /*@__PURE__*/ proxyCustomElement(class LidoContainer exten
|
|
|
269
271
|
"instructName": [32],
|
|
270
272
|
"speakFlag": [32]
|
|
271
273
|
}, undefined, {
|
|
272
|
-
"
|
|
274
|
+
"Lang": ["languageChanged"]
|
|
273
275
|
}]);
|
|
274
276
|
function defineCustomElement() {
|
|
275
277
|
if (typeof customElements === "undefined") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, e as convertUrlToRelative, k as parseProp,
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, e as convertUrlToRelative, k as parseProp, _ as validateObjectiveStatus, h, j as Host } from './p-40afd35f.js';
|
|
2
2
|
|
|
3
3
|
const lidoMathMatrixCss = ".math-matrix{width:100%;height:100%;display:flex;justify-content:center}.slot{width:100%;height:100%;text-align:center;align-content:center;font-size:42px;font-weight:800;font-family:'Baloo Bhai 2';box-sizing:content-box}.slot:hover{opacity:0.7}.slot-parent{width:100%;height:100%;display:flex;justify-content:center;align-items:center;flex-direction:column}.slot-active{background-color:var(--active-bg-color);background-image:var(--bg-image);background-size:contain;background-position:center;background-repeat:no-repeat}.slot-inactive{background-color:var(--deactive-bg-color);background-size:cover;background-position:center;background-repeat:no-repeat}.topIndex,.leftIndex,.bottomIndex{height:100%;width:100%;text-align:center;align-content:center;font-size:30px;font-weight:600;font-family:'Baloo Bhai 2'}";
|
|
4
4
|
const LidoMathMatrixStyle0 = lidoMathMatrixCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, i as initEventsForElement, k as parseProp, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, i as initEventsForElement, k as parseProp, h, j as Host } from './p-40afd35f.js';
|
|
2
2
|
|
|
3
3
|
const lidoPosCss = ".lido-pos{top:var(--y, 0);left:var(--x, 0);height:var(--height, 100%);width:var(--width, 100%);background-color:var(--bgColor, #eeeeee);display:flex;justify-content:space-around;flex-direction:column;position:fixed}.lido-pos>*{position:absolute}";
|
|
4
4
|
const LidoPosStyle0 = lidoPosCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, k as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, k as parseProp, d as setVisibilityWithDelay, i as initEventsForElement, h, j as Host } from './p-40afd35f.js';
|
|
2
2
|
|
|
3
3
|
const lidoFlashCardCss = ".card{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform 0.6s ease;cursor:pointer}.card.flipped{transform:rotateY(180deg)}.card-face{position:absolute;width:100%;height:100%;backface-visibility:hidden;display:flex;align-items:center;justify-content:center}.card-back{transform:rotateY(180deg)}";
|
|
4
4
|
const LidoFlashCardStyle0 = lidoFlashCardCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, k as parseProp,
|
|
1
|
+
import { p as proxyCustomElement, H, e as convertUrlToRelative, d as setVisibilityWithDelay, i as initEventsForElement, k as parseProp, $ as fraction, h, j as Host } from './p-40afd35f.js';
|
|
2
2
|
|
|
3
3
|
const lidoSlideFillCss = ".svg-element,svg{width:100%;height:100%}";
|
|
4
4
|
const LidoSlideFillStyle0 = lidoSlideFillCss;
|