lido-player 0.0.2-alpha-23 → 0.0.2-alpha-24
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-fe562525.js +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{lido-avatar_17.cjs.entry.js → lido-avatar_18.cjs.entry.js} +227 -26
- package/dist/cjs/lido-player.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-62b0df5b.js → utils-384577d3.js} +148 -87
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/float/lido-float.css +16 -8
- package/dist/collection/components/float/lido-float.js +42 -4
- package/dist/collection/components/home/lido-home.js +2 -1
- package/dist/collection/components/keyboard/lido-keyboard.css +38 -0
- package/dist/collection/components/keyboard/lido-keyboard.js +511 -0
- package/dist/collection/components/position/lido-pos.js +1 -1
- package/dist/collection/components/random/lido-random.js +1 -1
- package/dist/collection/components/root/lido-root.js +2 -2
- package/dist/collection/components/row/lido-row.js +1 -1
- package/dist/collection/components/shape/lido-shape.js +1 -1
- package/dist/collection/components/slideFill/lido-slide-fill.js +236 -3
- package/dist/collection/components/text/lido-text.css +1 -1
- package/dist/collection/components/text/lido-text.js +2 -2
- package/dist/collection/components/trace/lido-trace.js +22 -10
- package/dist/collection/components/wrap/lido-wrap.js +1 -1
- package/dist/collection/stories/Templates/Fill-Up/fill-up.stories.js +8 -8
- package/dist/collection/stories/Templates/RocketGame/rocketGame.stories.js +70 -120
- package/dist/collection/stories/Templates/arrangeLetters/arrangeLetters.stories.js +77 -0
- package/dist/collection/stories/Templates/balloonPop/balloonPop.stories.js +30 -28
- package/dist/collection/stories/Templates/bubbleType/bubbleType.stories.js +79 -0
- package/dist/collection/stories/Templates/grid/grid.stories.js +38 -39
- package/dist/collection/stories/Templates/letterboard/letterboard.stories.js +138 -110
- package/dist/collection/stories/Templates/openwindow/openwindow.stories.js +60 -46
- package/dist/collection/stories/Templates/openwindow/openwindow2.stories.js +94 -0
- package/dist/collection/stories/Templates/phonic-tractor/phonic-tractor.stories.js +40 -55
- package/dist/collection/stories/Templates/puzzleGame/puzzleGame.stories.js +24 -43
- package/dist/collection/stories/Templates/spellDoor/spellDoor.stories.js +39 -37
- package/dist/collection/stories/Templates/writeCard/writeCard.stories.js +4 -41
- package/dist/collection/stories/Templates/writeLetter/writeLetter.stories.js +107 -0
- package/dist/collection/stories/Templates/writeWord/writeWord.stories.js +17 -17
- package/dist/collection/stories/components/keyboard.stories.js +38 -0
- package/dist/collection/utils/utils.js +25 -5
- package/dist/collection/utils/utilsHandlers/clickHandler.js +8 -4
- package/dist/collection/utils/utilsHandlers/dragDropHandler.js +66 -51
- package/dist/collection/utils/utilsHandlers/floatHandler.js +35 -11
- package/dist/collection/utils/utilsHandlers/slideHandler.js +6 -3
- package/dist/components/index.js +1 -1
- package/dist/components/lido-avatar.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.d.ts +11 -0
- package/dist/components/lido-keyboard.js +6 -0
- package/dist/components/lido-pos.js +1 -1
- package/dist/components/lido-random.js +1 -1
- package/dist/components/lido-root.js +33 -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-e6ebeb10.js → p-1160f805.js} +1 -1
- package/dist/components/{p-b720a4eb.js → p-25b7344e.js} +2 -2
- package/dist/components/{p-893266ae.js → p-2970eb2e.js} +31 -24
- package/dist/components/{p-92c44c3e.js → p-2ed4c1fe.js} +1 -1
- package/dist/components/{p-21efe75a.js → p-3888d370.js} +1 -1
- package/dist/components/{p-c88253f5.js → p-4f00cf95.js} +1 -1
- package/dist/components/{p-d458e85f.js → p-64e30406.js} +22 -10
- package/dist/components/{p-f1d4885a.js → p-65be351b.js} +1 -1
- package/dist/components/p-730c110a.js +192 -0
- package/dist/components/{p-2a0f78da.js → p-754ab995.js} +4 -4
- package/dist/components/{p-0a506ec7.js → p-86e2f358.js} +10 -5
- package/dist/components/{p-da9ac604.js → p-8cf8a69f.js} +2 -2
- package/dist/components/{p-7720988c.js → p-9bea49e2.js} +56 -3
- package/dist/components/{p-c35eb8eb.js → p-b8e74ec7.js} +2 -2
- package/dist/components/{p-f93449bf.js → p-c00aa23f.js} +1 -1
- package/dist/components/{p-d8604dea.js → p-c1f5c790.js} +143 -84
- package/dist/components/{p-bae44292.js → p-c4c5be5f.js} +2 -2
- package/dist/components/{p-10b5bf17.js → p-ef95f88b.js} +2 -2
- package/dist/esm/index-f47852d4.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{lido-avatar_17.entry.js → lido-avatar_18.entry.js} +227 -27
- package/dist/esm/lido-player.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-2183f4e9.js → utils-c55751f2.js} +143 -84
- package/dist/lido-player/index.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/p-104bea08.entry.js +1 -0
- package/dist/lido-player/{p-458281d6.js → p-9bb5489f.js} +2 -2
- package/dist/types/components/float/lido-float.d.ts +9 -0
- package/dist/types/components/keyboard/lido-keyboard.d.ts +65 -0
- package/dist/types/components/slideFill/lido-slide-fill.d.ts +62 -0
- package/dist/types/components/trace/lido-trace.d.ts +5 -0
- package/dist/types/components.d.ts +277 -0
- package/dist/types/stories/Templates/RocketGame/rocketGame.stories.d.ts +6 -5
- package/dist/types/stories/Templates/arrangeLetters/arrangeLetters.stories.d.ts +4 -0
- package/dist/types/stories/Templates/bubbleType/bubbleType.stories.d.ts +4 -0
- package/dist/types/stories/Templates/letterboard/letterboard.stories.d.ts +2 -2
- package/dist/types/stories/Templates/openwindow/openwindow.stories.d.ts +4 -4
- package/dist/types/stories/Templates/openwindow/openwindow2.stories.d.ts +13 -0
- package/dist/types/stories/Templates/puzzleGame/puzzleGame.stories.d.ts +2 -19
- package/dist/types/stories/Templates/writeCard/writeCard.stories.d.ts +3 -5
- package/dist/types/stories/Templates/{flashCard/flashCard.stories.d.ts → writeLetter/writeLetter.stories.d.ts} +5 -3
- package/dist/types/stories/Templates/writeWord/writeWord.stories.d.ts +5 -5
- package/dist/types/stories/components/keyboard.stories.d.ts +4 -0
- package/package.json +1 -1
- package/dist/collection/stories/Templates/flashCard/flashCard.stories.js +0 -70
- package/dist/lido-player/p-de90219f.entry.js +0 -1
|
@@ -71,10 +71,10 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
71
71
|
}
|
|
72
72
|
switch(bundleId) {
|
|
73
73
|
|
|
74
|
-
case 'lido-
|
|
74
|
+
case 'lido-avatar_18.cjs':
|
|
75
75
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
|
76
76
|
/* webpackMode: "lazy" */
|
|
77
|
-
'./lido-
|
|
77
|
+
'./lido-avatar_18.cjs.entry.js')); }).then(processMod, consoleError);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fe562525.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-384577d3.js');
|
|
7
7
|
|
|
8
8
|
var rive = {exports: {}};
|
|
9
9
|
|
|
@@ -7021,7 +7021,7 @@ const LidoFlash = class {
|
|
|
7021
7021
|
};
|
|
7022
7022
|
LidoFlash.style = LidoFlashCardStyle0;
|
|
7023
7023
|
|
|
7024
|
-
const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:
|
|
7024
|
+
const lidoFloatCss = ".lido-float{position:relative}.lido-float>*{position:absolute;cursor:pointer}@keyframes float-up{from{top:var(--el-top)}to{top:-500px}}@keyframes float-lr{from{right:var(--el-left)}to{right:-500px}}";
|
|
7025
7025
|
const LidoFloatStyle0 = lidoFloatCss;
|
|
7026
7026
|
|
|
7027
7027
|
const LidoFloat = class {
|
|
@@ -7036,11 +7036,14 @@ const LidoFloat = class {
|
|
|
7036
7036
|
this.width = undefined;
|
|
7037
7037
|
this.height = undefined;
|
|
7038
7038
|
this.bgColor = undefined;
|
|
7039
|
+
this.type = undefined;
|
|
7039
7040
|
this.delayVisible = '';
|
|
7041
|
+
this.floatDirection = 'bottomToTop';
|
|
7040
7042
|
this.style = undefined;
|
|
7041
7043
|
}
|
|
7042
7044
|
componentDidLoad() {
|
|
7043
7045
|
utils.setVisibilityWithDelay(this.el, this.delayVisible);
|
|
7046
|
+
utils.initEventsForElement(this.el, this.type);
|
|
7044
7047
|
this.initializeFloatElement();
|
|
7045
7048
|
}
|
|
7046
7049
|
/**
|
|
@@ -7069,15 +7072,15 @@ const LidoFloat = class {
|
|
|
7069
7072
|
updateStyles() {
|
|
7070
7073
|
const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
|
|
7071
7074
|
this.style = {
|
|
7072
|
-
height: utils.parseProp(this.height, orientation),
|
|
7073
|
-
width: utils.parseProp(this.width, orientation),
|
|
7075
|
+
height: this.floatDirection !== 'leftToRight' ? "100%" : utils.parseProp(this.height, orientation),
|
|
7076
|
+
width: this.floatDirection === 'leftToRight' ? "100%" : utils.parseProp(this.width, orientation),
|
|
7074
7077
|
backgroundColor: utils.parseProp(this.bgColor, orientation),
|
|
7075
7078
|
zIndex: this.z,
|
|
7076
7079
|
display: this.visible ? 'flex' : 'none',
|
|
7077
7080
|
};
|
|
7078
7081
|
}
|
|
7079
7082
|
render() {
|
|
7080
|
-
return (index.h(index.Host, { key: '
|
|
7083
|
+
return (index.h(index.Host, { key: '2866d98e4a22a5825c24f23324473016c5e8c33f', class: "lido-float", "float-direction": this.floatDirection, id: this.id, "tab-index": this.tabIndex, style: this.style, onEntry: this.onEntry }, index.h("slot", { key: 'dd0a4405b91e1ddb95e90d6dfa1e16f8ac106c58' })));
|
|
7081
7084
|
}
|
|
7082
7085
|
get el() { return index.getElement(this); }
|
|
7083
7086
|
};
|
|
@@ -7312,6 +7315,7 @@ const LidoHome = class {
|
|
|
7312
7315
|
'lido-cell': index.h("lido-cell", Object.assign({}, props), children),
|
|
7313
7316
|
'lido-slide-fill': index.h("lido-slide-fill", Object.assign({}, props), children),
|
|
7314
7317
|
'lido-float': index.h("lido-float", Object.assign({}, props), children),
|
|
7318
|
+
'lido-keyboard': index.h("lido-keyboard", Object.assign({}, props), children),
|
|
7315
7319
|
};
|
|
7316
7320
|
// If the tag is known, return the corresponding Stencil component, otherwise log a warning
|
|
7317
7321
|
if (componentMapping[tagName]) {
|
|
@@ -7418,7 +7422,7 @@ const LidoHome = class {
|
|
|
7418
7422
|
// If no XML data is provided, prompt the user to provide it
|
|
7419
7423
|
return index.h("div", null, "Please provide XML data.");
|
|
7420
7424
|
}
|
|
7421
|
-
return (index.h(index.Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (index.h("div", { class: "lido-alert-parent" }, index.h("div", { class: "lido-alert-popup" }, index.h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, index.h("lido-text", { visible: "true", string: "
|
|
7425
|
+
return (index.h(index.Host, { class: "lido-home", index: this.currentContainerIndex, totalIndex: this.containers.length }, index.h("div", { key: this.currentContainerIndex }, (_b = (_a = this.containers)[this.currentContainerIndex]) === null || _b === void 0 ? void 0 : _b.call(_a)), this.renderDots(), this.exitFlag && (index.h("div", { class: "lido-alert-parent" }, index.h("div", { class: "lido-alert-popup" }, index.h("lido-cell", { class: "lido-alert-content", visible: "true", layout: "col", width: "340px", height: "210px", "bg-color": "#fff", "border-radius": "16px", onEntry: "this.box-shadow= '0 4px 8px 0 rgba(0, 0, 0, 0.25)';" }, index.h("lido-text", { visible: "true", string: "Quer sair?", width: "294px", height: "38px", class: "popup-exit-text", "font-size": "22px", onEntry: "this.margin-bottom =' -36px';" }), index.h("lido-cell", { visible: "true", layout: "row", width: "294px", class: "btn-cell" }, index.h("lido-text", { visible: "true", string: "Sair", width: "92px", height: "53px", "font-size": "16px", margin: "0px 50px 0px 0px", class: "popup-button", onClick: () => this.popUpClick('exit'), borderRadius: "16px", onEntry: 'this.color="#F34D08"; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', fontFamily: "Baloo Bhai 2", "font-weight": "700", bgColor: "white", "border-radius": "16px" }), index.h("lido-text", { visible: "true", string: "Continuar a jogar", width: "155px", height: "53px", "font-size": "16px", class: "popup-button", onClick: () => this.popUpClick('cancel'), borderRadius: "16px", onEntry: 'this.color=white; this.font-weight="700"; this.box-shadow="0 2px 0 #F34D08";', "font-family": "Baloo Bhai 2", "font-weight": "700", bgColor: "#F34D08", "border-radius": "16px" }))))))));
|
|
7422
7426
|
}
|
|
7423
7427
|
get el() { return index.getElement(this); }
|
|
7424
7428
|
static get watchers() { return {
|
|
@@ -10233,6 +10237,150 @@ const LidoImage = class {
|
|
|
10233
10237
|
};
|
|
10234
10238
|
LidoImage.style = LidoImageStyle0;
|
|
10235
10239
|
|
|
10240
|
+
const lidoKeyboardCss = ".lido-keyboard{display:flex;flex-direction:column;align-items:center;gap:30px}.input-area{display:flex;gap:15px}input[type=\"text\"]{font-size:30px;font-weight:600;padding-left:20px;width:300px;height:70px;border:2px solid;background:whitesmoke;border-radius:20px;text-align:center}.keyboard-wrapper{justify-content:center;width:700px}.disabled{opacity:0.5;pointer-events:none}.key-button{background:aquamarine;font-weight:600}";
|
|
10241
|
+
const LidoKeyboardStyle0 = lidoKeyboardCss;
|
|
10242
|
+
|
|
10243
|
+
const LidoKeyboard = class {
|
|
10244
|
+
constructor(hostRef) {
|
|
10245
|
+
index.registerInstance(this, hostRef);
|
|
10246
|
+
this.keys = '';
|
|
10247
|
+
this.width = undefined;
|
|
10248
|
+
this.height = undefined;
|
|
10249
|
+
this.fontSize = undefined;
|
|
10250
|
+
this.fontColor = undefined;
|
|
10251
|
+
this.fontFamily = undefined;
|
|
10252
|
+
this.gap = '10px';
|
|
10253
|
+
this.bgColor = '';
|
|
10254
|
+
this.borderRadius = '';
|
|
10255
|
+
this.y = undefined;
|
|
10256
|
+
this.x = undefined;
|
|
10257
|
+
this.z = undefined;
|
|
10258
|
+
this.margin = undefined;
|
|
10259
|
+
this.padding = undefined;
|
|
10260
|
+
this.visible = undefined;
|
|
10261
|
+
this.onEntry = undefined;
|
|
10262
|
+
this.type = undefined;
|
|
10263
|
+
this.keyboardInput = false;
|
|
10264
|
+
this.columns = "10";
|
|
10265
|
+
this.letterLength = undefined;
|
|
10266
|
+
this.numberOfClick = 0;
|
|
10267
|
+
this.inputString = '';
|
|
10268
|
+
this.style = {};
|
|
10269
|
+
}
|
|
10270
|
+
async inputValidation(e) {
|
|
10271
|
+
let selcetedValue = JSON.parse(localStorage.getItem(utils.SelectedValuesKey)) || '';
|
|
10272
|
+
selcetedValue = this.inputString;
|
|
10273
|
+
localStorage.setItem(utils.SelectedValuesKey, JSON.stringify(selcetedValue));
|
|
10274
|
+
const container = document.getElementById(utils.LidoContainer);
|
|
10275
|
+
const value = e.target.getAttribute('value');
|
|
10276
|
+
const bubbleValues = container.querySelectorAll(`[value= '${value}']`);
|
|
10277
|
+
const filteredElement = Array.from(bubbleValues).find(el => !el.className.includes('key-button'));
|
|
10278
|
+
this.inputString = value;
|
|
10279
|
+
let isOverlapping;
|
|
10280
|
+
if (filteredElement) {
|
|
10281
|
+
const bodyRect = document.body.getBoundingClientRect();
|
|
10282
|
+
const elemRect = filteredElement.getBoundingClientRect();
|
|
10283
|
+
isOverlapping =
|
|
10284
|
+
elemRect.left < bodyRect.right &&
|
|
10285
|
+
elemRect.right > bodyRect.left &&
|
|
10286
|
+
elemRect.top < bodyRect.bottom &&
|
|
10287
|
+
elemRect.bottom > bodyRect.top;
|
|
10288
|
+
}
|
|
10289
|
+
if (isOverlapping) {
|
|
10290
|
+
filteredElement.style.animation = 'none';
|
|
10291
|
+
this.numberOfClick++;
|
|
10292
|
+
if (this.numberOfClick === this.letterLength) {
|
|
10293
|
+
const onCorrrect = container.getAttribute('onCorrect');
|
|
10294
|
+
container.style.pointerEvents = "none";
|
|
10295
|
+
await utils.executeActions(onCorrrect, this.el);
|
|
10296
|
+
utils.triggerNextContainer();
|
|
10297
|
+
}
|
|
10298
|
+
else {
|
|
10299
|
+
utils.handleFloatElementPosition(filteredElement);
|
|
10300
|
+
utils.storingEachActivityScore(true);
|
|
10301
|
+
}
|
|
10302
|
+
}
|
|
10303
|
+
else {
|
|
10304
|
+
const onInCorrrect = container.getAttribute('onInCorrect');
|
|
10305
|
+
await utils.executeActions(onInCorrrect, this.el);
|
|
10306
|
+
utils.storingEachActivityScore(false);
|
|
10307
|
+
}
|
|
10308
|
+
}
|
|
10309
|
+
componentDidLoad() {
|
|
10310
|
+
const container = document.getElementById(utils.LidoContainer);
|
|
10311
|
+
if (container.getAttribute('drop-action') === utils.DropAction.InfiniteDrop) {
|
|
10312
|
+
const buttons = this.el.querySelectorAll('.key-button');
|
|
10313
|
+
const firstButton = buttons[0];
|
|
10314
|
+
buttons.forEach((button) => {
|
|
10315
|
+
button.style.width = firstButton.offsetWidth + 'px';
|
|
10316
|
+
button.style.height = firstButton.offsetHeight + 'px';
|
|
10317
|
+
});
|
|
10318
|
+
}
|
|
10319
|
+
}
|
|
10320
|
+
/**
|
|
10321
|
+
* Lifecycle method that runs before the component is rendered.
|
|
10322
|
+
* Initializes styles and sets up event listeners for resize and load events.
|
|
10323
|
+
*/
|
|
10324
|
+
componentWillLoad() {
|
|
10325
|
+
this.updateStyles();
|
|
10326
|
+
window.addEventListener('resize', this.updateStyles.bind(this));
|
|
10327
|
+
window.addEventListener('load', this.updateStyles.bind(this));
|
|
10328
|
+
}
|
|
10329
|
+
disconnectedCallback() {
|
|
10330
|
+
window.removeEventListener('resize', this.updateStyles.bind(this));
|
|
10331
|
+
window.removeEventListener('load', this.updateStyles.bind(this));
|
|
10332
|
+
}
|
|
10333
|
+
updateStyles() {
|
|
10334
|
+
const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
|
|
10335
|
+
this.style = {
|
|
10336
|
+
height: utils.parseProp(this.height, orientation),
|
|
10337
|
+
width: utils.parseProp(this.width, orientation),
|
|
10338
|
+
backgroundColor: utils.parseProp(this.bgColor, orientation),
|
|
10339
|
+
top: utils.parseProp(this.y, orientation),
|
|
10340
|
+
left: utils.parseProp(this.x, orientation),
|
|
10341
|
+
zIndex: this.z,
|
|
10342
|
+
fontSize: utils.parseProp(this.fontSize, orientation),
|
|
10343
|
+
fontFamily: this.fontFamily,
|
|
10344
|
+
color: utils.parseProp(this.fontColor, orientation),
|
|
10345
|
+
display: utils.parseProp(`${this.visible}`, orientation) === 'true' ? 'flex' : 'none',
|
|
10346
|
+
margin: utils.parseProp(this.margin, orientation),
|
|
10347
|
+
padding: utils.parseProp(this.padding, orientation),
|
|
10348
|
+
borderRadius: utils.parseProp(this.borderRadius, orientation),
|
|
10349
|
+
columns: utils.parseProp(`${this.columns}`, orientation),
|
|
10350
|
+
gap: utils.parseProp(this.gap, orientation)
|
|
10351
|
+
};
|
|
10352
|
+
}
|
|
10353
|
+
render() {
|
|
10354
|
+
const keysArray = this.keys.split(',').map(k => k.trim());
|
|
10355
|
+
const container = document.getElementById(utils.LidoContainer);
|
|
10356
|
+
const showCheck = container.getAttribute('show-check') === 'true';
|
|
10357
|
+
return (index.h(index.Host, { key: '59e8f873174042e62ca4077c6d9ee2d563c45fd5', class: "lido-keyboard", style: { width: this.style.width, height: this.style.height, position: 'relative', margin: this.style.margin, zIndex: this.z } }, this.keyboardInput && (index.h("div", { key: '07cb55f733a43b5f0c3f2f4aafc98e2ec0fa5a1e', class: "input-area" }, index.h("input", { key: 'b39008a1132d84edb447c65f79cc20b0519ab77b', type: "text", value: this.inputString, class: "input-area", readonly: true, onInput: (e) => (this.inputString = e.target.value) }), index.h("lido-text", { key: 'ffd684ce0e317d62c8d9b03cd8b00fb18ea48e0a', visible: showCheck ? 'true' : 'false', string: "<<", "bg-color": "black", "font-color": "white", "border-radius": "20px", "font-size": "30px", width: "100px", height: "70px", type: "click", onClick: () => {
|
|
10358
|
+
this.inputString = this.inputString.slice(0, -1);
|
|
10359
|
+
this.inputValidation(event);
|
|
10360
|
+
} }), index.h("lido-text", { key: 'fb04b691e301cb5fa7820f6715d209c93a09281a', 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 && (index.h("lido-text", { key: '0f6f9a8369ae7e3e74fd47eb79c0e528ae683504', 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" })), index.h("div", { key: 'eb27360d9bc144e908aeb39eafd8682d5ac3bda0', class: "keyboard-wrapper", style: {
|
|
10361
|
+
display: 'flex',
|
|
10362
|
+
flexWrap: 'wrap',
|
|
10363
|
+
justifyContent: 'center',
|
|
10364
|
+
alignContent: 'stretch',
|
|
10365
|
+
gap: this.gap,
|
|
10366
|
+
width: '100%',
|
|
10367
|
+
height: '100%',
|
|
10368
|
+
} }, keysArray.map((key, index$1) => {
|
|
10369
|
+
const [label, status] = key.split('-');
|
|
10370
|
+
const isDisabled = status === 'disable';
|
|
10371
|
+
let string = label === 'Space' ? ' ' : label;
|
|
10372
|
+
return (index.h("lido-text", { id: 'key-button-' + index$1, style: {
|
|
10373
|
+
flex: `0 0 calc(${100 / parseInt(this.style.columns)}% - ${this.style.gap})`,
|
|
10374
|
+
}, visible: "true", "font-size": this.style.fontSize, "font-color": this.fontColor, "font-family": this.fontFamily, "bg-color": this.bgColor, string: label, onEntry: this.onEntry, "border-radius": this.style.borderRadius, value: label, type: this.type, class: `key-button${isDisabled ? ' disabled' : ''}`, onClick: () => {
|
|
10375
|
+
this.inputString += string;
|
|
10376
|
+
this.inputValidation(event);
|
|
10377
|
+
} }));
|
|
10378
|
+
}))));
|
|
10379
|
+
}
|
|
10380
|
+
get el() { return index.getElement(this); }
|
|
10381
|
+
};
|
|
10382
|
+
LidoKeyboard.style = LidoKeyboardStyle0;
|
|
10383
|
+
|
|
10236
10384
|
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}";
|
|
10237
10385
|
const LidoPosStyle0 = lidoPosCss;
|
|
10238
10386
|
|
|
@@ -10296,7 +10444,7 @@ const LidoPos = class {
|
|
|
10296
10444
|
};
|
|
10297
10445
|
}
|
|
10298
10446
|
render() {
|
|
10299
|
-
return (index.h(index.Host, { key: '
|
|
10447
|
+
return (index.h(index.Host, { key: '1ec2896c6d2584a5035ec596afeb3e57a520e63e', 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 }, index.h("slot", { key: 'd38ca25ea13575de4d2236e897d280bc96016ca2' })));
|
|
10300
10448
|
}
|
|
10301
10449
|
get el() { return index.getElement(this); }
|
|
10302
10450
|
};
|
|
@@ -10377,7 +10525,7 @@ const LidoRandom = class {
|
|
|
10377
10525
|
backgroundColor: this.bgColor,
|
|
10378
10526
|
margin: this.margin,
|
|
10379
10527
|
};
|
|
10380
|
-
return (index.h(index.Host, { key: '
|
|
10528
|
+
return (index.h(index.Host, { key: 'c2464ba8470ead3808c35aba510362e45cef585b', 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 }, index.h("slot", { key: 'd6291a93a662a8894920def758352b8e4c561881' })));
|
|
10381
10529
|
}
|
|
10382
10530
|
get el() { return index.getElement(this); }
|
|
10383
10531
|
};
|
|
@@ -10398,13 +10546,13 @@ const LidoRoot = class {
|
|
|
10398
10546
|
* It fetches the XML data from the specified path or URL and sets it to the component's state.
|
|
10399
10547
|
*/
|
|
10400
10548
|
async componentWillLoad() {
|
|
10401
|
-
var _a;
|
|
10549
|
+
var _a, _b;
|
|
10402
10550
|
// Validate the xmlPath prop
|
|
10403
10551
|
// if (!this.xmlPath) {
|
|
10404
10552
|
// console.error('XML path is not provided.');
|
|
10405
10553
|
// return;
|
|
10406
10554
|
// }
|
|
10407
|
-
const xmlPath = (_a = this.xmlPath) !== null && _a !== void 0 ? _a : this.baseUrl + '/index.xml';
|
|
10555
|
+
const xmlPath = (_a = this.xmlPath) !== null && _a !== void 0 ? _a : this.baseUrl + (((_b = this.baseUrl) === null || _b === void 0 ? void 0 : _b.endsWith('/')) ? 'index.xml' : '/index.xml');
|
|
10408
10556
|
console.log('🚀 ~ LidoRoot ~ componentWillLoad ~ this.baseUrl:', this.baseUrl);
|
|
10409
10557
|
console.log('🚀 ~ LidoRoot ~ componentWillLoad ~ this.xmlPath:', this.xmlPath);
|
|
10410
10558
|
console.log('🚀 ~ LidoRoot ~ componentWillLoad ~ xmlPath:', xmlPath);
|
|
@@ -10516,7 +10664,7 @@ const LidoRow = class {
|
|
|
10516
10664
|
};
|
|
10517
10665
|
}
|
|
10518
10666
|
render() {
|
|
10519
|
-
return (index.h(index.Host, { key: '
|
|
10667
|
+
return (index.h(index.Host, { key: '2da5c1a525ad612536ba235dd98ca104f2f9209e', class: "lido-row", type: this.type, "tab-index": this.tabIndex, value: this.value, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, minDrops: this.minDrops, maxDrops: this.maxDrops, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '05a5b12376993e8eb27a4003a011c271aecc22a5' })));
|
|
10520
10668
|
}
|
|
10521
10669
|
get el() { return index.getElement(this); }
|
|
10522
10670
|
};
|
|
@@ -10572,7 +10720,7 @@ const LidoShape = class {
|
|
|
10572
10720
|
backgroundColor: this.shapeType !== 'polygon' ? this.bgColor : 'transparent', // Apply background only if not a polygon
|
|
10573
10721
|
margin: this.margin,
|
|
10574
10722
|
};
|
|
10575
|
-
return (index.h(index.Host, { key: '
|
|
10723
|
+
return (index.h(index.Host, { key: '3e7faa36779c759c183247aca4e9d8a57e541b79', class: `lido-shape ${this.shapeType}`, value: this.value, type: this.type, "tab-index": this.tabIndex, style: style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }));
|
|
10576
10724
|
}
|
|
10577
10725
|
get el() { return index.getElement(this); }
|
|
10578
10726
|
};
|
|
@@ -10588,6 +10736,15 @@ const LidoSlideFill = class {
|
|
|
10588
10736
|
this.originalY = null;
|
|
10589
10737
|
this.id = 'lido-slide-fill';
|
|
10590
10738
|
this.width = undefined;
|
|
10739
|
+
this.height = undefined;
|
|
10740
|
+
this.x = undefined;
|
|
10741
|
+
this.y = undefined;
|
|
10742
|
+
this.z = undefined;
|
|
10743
|
+
this.bgColor = undefined;
|
|
10744
|
+
this.visible = undefined;
|
|
10745
|
+
this.margin = undefined;
|
|
10746
|
+
this.padding = '';
|
|
10747
|
+
this.borderRadius = '0px';
|
|
10591
10748
|
this.fill = undefined;
|
|
10592
10749
|
this.numberType = 'integer';
|
|
10593
10750
|
this.min = 0;
|
|
@@ -10596,11 +10753,25 @@ const LidoSlideFill = class {
|
|
|
10596
10753
|
this.slider = undefined;
|
|
10597
10754
|
this.src = undefined;
|
|
10598
10755
|
this.fillDirection = undefined;
|
|
10756
|
+
this.type = '';
|
|
10757
|
+
this.onEntry = '';
|
|
10599
10758
|
this.svgContent = '';
|
|
10759
|
+
this.style = undefined;
|
|
10600
10760
|
this.delayVisible = '';
|
|
10601
10761
|
}
|
|
10762
|
+
/**
|
|
10763
|
+
* Lifecycle method that runs before the component is rendered.
|
|
10764
|
+
* Initializes styles and sets up event listeners for resize and load events.
|
|
10765
|
+
*/
|
|
10602
10766
|
async componentWillLoad() {
|
|
10603
10767
|
await this.renderSVG();
|
|
10768
|
+
this.updateStyles();
|
|
10769
|
+
window.addEventListener('resize', this.updateStyles.bind(this)); // Update on screen rotation
|
|
10770
|
+
window.addEventListener('load', this.updateStyles.bind(this)); // Update on screen rotation
|
|
10771
|
+
}
|
|
10772
|
+
disconnectedCallback() {
|
|
10773
|
+
window.removeEventListener('resize', this.updateStyles.bind(this));
|
|
10774
|
+
window.removeEventListener('load', this.updateStyles.bind(this));
|
|
10604
10775
|
}
|
|
10605
10776
|
async onSrcChange() {
|
|
10606
10777
|
await this.renderSVG();
|
|
@@ -10630,9 +10801,27 @@ const LidoSlideFill = class {
|
|
|
10630
10801
|
}
|
|
10631
10802
|
componentDidLoad() {
|
|
10632
10803
|
utils.setVisibilityWithDelay(this.el, this.delayVisible);
|
|
10804
|
+
utils.initEventsForElement(this.el, this.type);
|
|
10633
10805
|
this.updateFill();
|
|
10634
10806
|
this.addRulerNumbers();
|
|
10635
10807
|
}
|
|
10808
|
+
updateStyles() {
|
|
10809
|
+
const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
|
|
10810
|
+
this.style = {
|
|
10811
|
+
height: utils.parseProp(this.height, orientation),
|
|
10812
|
+
width: utils.parseProp(this.width, orientation),
|
|
10813
|
+
backgroundColor: utils.parseProp(this.bgColor, orientation),
|
|
10814
|
+
top: utils.parseProp(this.y, orientation),
|
|
10815
|
+
left: utils.parseProp(this.x, orientation),
|
|
10816
|
+
zIndex: this.z,
|
|
10817
|
+
display: utils.parseProp(`${this.visible}`, orientation) ? 'flex' : 'none',
|
|
10818
|
+
alignItems: 'center',
|
|
10819
|
+
justifyContent: 'center',
|
|
10820
|
+
margin: utils.parseProp(this.margin, orientation),
|
|
10821
|
+
padding: utils.parseProp(this.padding, orientation),
|
|
10822
|
+
borderRadius: this.borderRadius,
|
|
10823
|
+
};
|
|
10824
|
+
}
|
|
10636
10825
|
onPropChange() {
|
|
10637
10826
|
this.updateFill();
|
|
10638
10827
|
this.addRulerNumbers();
|
|
@@ -10729,7 +10918,7 @@ const LidoSlideFill = class {
|
|
|
10729
10918
|
}
|
|
10730
10919
|
}
|
|
10731
10920
|
render() {
|
|
10732
|
-
return (index.h(index.Host, { key: '
|
|
10921
|
+
return (index.h(index.Host, { key: 'a096a86b0436da6f677db27423a41a49bb3ef4b9', id: this.id, class: "lido-slide-fill", src: this.src, fill: this.fill, fillDirection: this.fillDirection, slider: this.slider, style: this.style, min: this.min, max: this.max, division: this.division, numberType: this.numberType, onEntry: this.onEntry, type: this.type }, index.h("div", { key: '8b544fbd926cf8fb4459a5f68ee1f600f18e04e5', innerHTML: this.svgContent, class: "svg-element" })));
|
|
10733
10922
|
}
|
|
10734
10923
|
get el() { return index.getElement(this); }
|
|
10735
10924
|
static get watchers() { return {
|
|
@@ -10744,7 +10933,7 @@ const LidoSlideFill = class {
|
|
|
10744
10933
|
};
|
|
10745
10934
|
LidoSlideFill.style = LidoSlideFillStyle0;
|
|
10746
10935
|
|
|
10747
|
-
const lidoTextCss = ".lido-text{transition:background-color 0.3s ease;user-select:none;align-items:center;justify-content:center;text-align:center;border-radius:24px;color:#333;cursor:pointer;font-family:'Baloo 2', serif}.lido-text:hover{background-color:#f0f0f0}.text-letters{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-letters.letter-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-letter-bounce 0.4s}.text-words{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-words.word-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-word-bounce 0.4s}@keyframes text-letter-bounce{0%{transform:scale(1)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes text-word-bounce{0%{transform:scale(1)}60%{transform:scale(1.3)}100%{transform:scale(1)}}";
|
|
10936
|
+
const lidoTextCss = ".lido-text{transition:background-color 0.3s ease;user-select:none;align-items:center;justify-content:center;text-align:center;border-radius:24px;color:#333;cursor:pointer;font-family:'Baloo Bhai 2', serif}.lido-text:hover{background-color:#f0f0f0}.text-letters{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-letters.letter-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-letter-bounce 0.4s}.text-words{transition:color 0.3s, text-shadow 0.3s;display:inline-block;padding:0 2px}.text-words.word-highlight{color:#8e24aa;background:none;border-radius:0;text-shadow:0 2px 8px #8e24aa88;animation:text-word-bounce 0.4s}@keyframes text-letter-bounce{0%{transform:scale(1)}60%{transform:scale(1.4)}100%{transform:scale(1)}}@keyframes text-word-bounce{0%{transform:scale(1)}60%{transform:scale(1.3)}100%{transform:scale(1)}}";
|
|
10748
10937
|
const LidoTextStyle0 = lidoTextCss;
|
|
10749
10938
|
|
|
10750
10939
|
const LidoText = class {
|
|
@@ -10825,7 +11014,7 @@ const LidoText = class {
|
|
|
10825
11014
|
fontSize: utils.parseProp(this.fontSize, orientation),
|
|
10826
11015
|
fontFamily: this.fontFamily,
|
|
10827
11016
|
color: utils.parseProp(this.fontColor, orientation),
|
|
10828
|
-
display: utils.parseProp(`${this.visible}`, orientation) ? 'flex' : 'none', // Toggle visibility
|
|
11017
|
+
display: utils.parseProp(`${this.visible}`, orientation) === "true" ? 'flex' : 'none', // Toggle visibility
|
|
10829
11018
|
borderImage: `url(${borderImg})`,
|
|
10830
11019
|
borderImageSlice: borderImg ? '0 fill' : '',
|
|
10831
11020
|
margin: utils.parseProp(this.margin, orientation),
|
|
@@ -10863,7 +11052,7 @@ const LidoText = class {
|
|
|
10863
11052
|
}
|
|
10864
11053
|
}
|
|
10865
11054
|
render() {
|
|
10866
|
-
return (index.h(index.Host, { key: '
|
|
11055
|
+
return (index.h(index.Host, { key: '7ff5b2fb13d760fdc1586a8af5f5e9a6ab722966', class: "lido-text", value: this.value, type: this.type, "tab-index": this.tabIndex, audio: this.audio, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry, minDrops: this.minDrops, maxDrops: this.maxDrops, id: this.id, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, "span-type": this.spanType }, this.spanType !== '' ? index.h("div", { class: "lido-text-content" }, this.string) : this.string));
|
|
10867
11056
|
}
|
|
10868
11057
|
get el() { return index.getElement(this); }
|
|
10869
11058
|
};
|
|
@@ -10897,6 +11086,7 @@ const LidoTrace = class {
|
|
|
10897
11086
|
this.highlightTextId = '';
|
|
10898
11087
|
this.animationTrace = false;
|
|
10899
11088
|
this.delayVisible = '';
|
|
11089
|
+
this.style = {};
|
|
10900
11090
|
this.fileIndex = -1;
|
|
10901
11091
|
this.isDragging = false;
|
|
10902
11092
|
this.activePointerId = null;
|
|
@@ -10935,6 +11125,9 @@ const LidoTrace = class {
|
|
|
10935
11125
|
utils.setVisibilityWithDelay(this.el, this.delayVisible);
|
|
10936
11126
|
}
|
|
10937
11127
|
componentWillLoad() {
|
|
11128
|
+
this.updateStyles();
|
|
11129
|
+
window.addEventListener('resize', this.updateStyles.bind(this));
|
|
11130
|
+
window.addEventListener('load', this.updateStyles.bind(this));
|
|
10938
11131
|
this.svgUrls = this.svgSource.split(';').map(s => s.trim());
|
|
10939
11132
|
this.currentSvgIndex = 0;
|
|
10940
11133
|
this.initializeSVG();
|
|
@@ -10943,6 +11136,10 @@ const LidoTrace = class {
|
|
|
10943
11136
|
this.el.append(utils.speakIcon(this.el));
|
|
10944
11137
|
}
|
|
10945
11138
|
}
|
|
11139
|
+
disconnectedCallback() {
|
|
11140
|
+
window.removeEventListener('resize', this.updateStyles.bind(this));
|
|
11141
|
+
window.removeEventListener('load', this.updateStyles.bind(this));
|
|
11142
|
+
}
|
|
10946
11143
|
/** ───────────────────────────────────────────────────────────
|
|
10947
11144
|
* Idle‑timer helpers
|
|
10948
11145
|
* ─────────────────────────────────────────────────────────── */
|
|
@@ -11487,16 +11684,19 @@ const LidoTrace = class {
|
|
|
11487
11684
|
word.classList.add('word-highlight');
|
|
11488
11685
|
}
|
|
11489
11686
|
}
|
|
11490
|
-
|
|
11491
|
-
const
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
|
|
11687
|
+
updateStyles() {
|
|
11688
|
+
const orientation = window.innerHeight > window.innerWidth ? 'portrait' : 'landscape';
|
|
11689
|
+
this.style = {
|
|
11690
|
+
'height': utils.parseProp(this.height, orientation),
|
|
11691
|
+
'width': utils.parseProp(this.width, orientation),
|
|
11692
|
+
'top': utils.parseProp(this.y, orientation),
|
|
11693
|
+
'left': utils.parseProp(this.x, orientation),
|
|
11694
|
+
'zIndex': this.z,
|
|
11695
|
+
'position': 'absolute',
|
|
11498
11696
|
};
|
|
11499
|
-
|
|
11697
|
+
}
|
|
11698
|
+
render() {
|
|
11699
|
+
return (index.h(index.Host, { key: '402c89a81b7393573cab64d27a2d789727768f5a', class: "lido-trace", id: this.id, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, tabindex: this.tabIndex }, index.h("div", { key: '5f9c7cc6f305ff9ef51252bbcbb499577171e2cc', style: this.style, id: "lido-svgContainer" })));
|
|
11500
11700
|
}
|
|
11501
11701
|
static get assetsDirs() { return ["svg", "images"]; }
|
|
11502
11702
|
get el() { return index.getElement(this); }
|
|
@@ -11583,7 +11783,7 @@ const LidoWrap = class {
|
|
|
11583
11783
|
};
|
|
11584
11784
|
}
|
|
11585
11785
|
render() {
|
|
11586
|
-
return (index.h(index.Host, { key: '
|
|
11786
|
+
return (index.h(index.Host, { key: '2cbff3a777cabde661963c99831a79e71b4baa5e', class: "lido-wrap", value: this.value, type: this.type, "tab-index": this.tabIndex, style: this.style, "aria-label": this.ariaLabel, "aria-hidden": this.ariaHidden, audio: this.audio, minDrops: this.minDrops, maxDrops: this.maxDrops, onTouch: this.onTouch, onCorrect: this.onCorrect, onInCorrect: this.onInCorrect, onEntry: this.onEntry }, index.h("slot", { key: '936b5147064c7448e01af2f77a555d9b674a9ad3' })));
|
|
11587
11787
|
}
|
|
11588
11788
|
get el() { return index.getElement(this); }
|
|
11589
11789
|
};
|
|
@@ -11597,6 +11797,7 @@ exports.lido_flash_card = LidoFlash;
|
|
|
11597
11797
|
exports.lido_float = LidoFloat;
|
|
11598
11798
|
exports.lido_home = LidoHome;
|
|
11599
11799
|
exports.lido_image = LidoImage;
|
|
11800
|
+
exports.lido_keyboard = LidoKeyboard;
|
|
11600
11801
|
exports.lido_pos = LidoPos;
|
|
11601
11802
|
exports.lido_random = LidoRandom;
|
|
11602
11803
|
exports.lido_root = LidoRoot;
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["lido-
|
|
22
|
+
return index.bootstrapLazy([["lido-avatar_18.cjs",[[0,"lido-root",{"xmlPath":[1,"xml-path"],"initialIndex":[2,"initial-index"],"margin":[1],"canplay":[4],"baseUrl":[1,"base-url"],"xmlData":[32]}],[0,"lido-home",{"xmlData":[1,"xml-data"],"initialIndex":[2,"initial-index"],"canplay":[4],"baseUrl":[1,"base-url"],"height":[1],"currentContainerIndex":[32],"exitFlag":[32],"containers":[32],"showDotsandbtn":[32]},null,{"xmlData":["onXmlDataChange"]}],[0,"lido-keyboard",{"keys":[1],"width":[1],"height":[1],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"fontFamily":[1,"font-family"],"gap":[1],"bgColor":[1,"bg-color"],"borderRadius":[1,"border-radius"],"y":[1],"x":[1],"z":[1],"margin":[1],"padding":[1],"visible":[1],"onEntry":[1,"on-entry"],"type":[1],"keyboardInput":[4,"keyboard-input"],"columns":[1],"letterLength":[2,"letter-length"],"numberOfClick":[32],"inputString":[32],"style":[32]}],[0,"lido-avatar",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"src":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"]}],[4,"lido-cell",{"showSpeakIcon":[4,"show-speak-icon"],"scrollbarWidth":[1,"scrollbar-width"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"gap":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[1],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"layout":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"alignItems":[1,"align-items"],"borderRadius":[1,"border-radius"],"flexDirection":[1,"flex-direction"],"delayVisible":[1,"delay-visible"],"style":[32]}],[4,"lido-col",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"borderImage":[1,"border-image"],"boxShadow":[1,"box-shadow"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[4,"lido-container",{"showDropBorder":[4,"show-drop-border"],"appendToDropOnCompletion":[4,"append-to-drop-on-completion"],"id":[1],"objective":[1],"customStyle":[1,"custom-style"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"bgImage":[1,"bg-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"canplay":[4],"showCheck":[4,"show-check"],"isContinueOnCorrect":[4,"is-continue-on-correct"],"isAllowOnlyCorrect":[4,"is-allow-only-correct"],"baseUrl":[1,"base-url"],"margin":[1],"showPrevButton":[1,"show-prev-button"],"showNextButton":[1,"show-next-button"],"delayVisible":[1,"delay-visible"]}],[4,"lido-flash-card",{"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"direction":[1],"display":[1],"front":[8],"back":[8],"flipped":[1540],"margin":[1],"delayVisible":[1,"delay-visible"],"style":[32]},null,{"flipped":["handleFlippedChange"]}],[4,"lido-float",{"id":[1],"value":[1],"z":[1],"tabIndex":[2,"tab-index"],"visible":[4],"onEntry":[1,"on-entry"],"width":[1],"height":[1],"bgColor":[1,"bg-color"],"type":[1],"delayVisible":[1,"delay-visible"],"floatDirection":[1,"float-direction"],"style":[32]}],[0,"lido-image",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"src":[1],"isSlice":[1,"is-slice"],"sliceWidth":[1,"slice-width"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"padding":[1],"filter":[1],"borderRadius":[1,"border-radius"],"transform":[1],"delayVisible":[1,"delay-visible"],"style":[32]}],[4,"lido-pos",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[4,"lido-random",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1]}],[4,"lido-row",{"showSpeakIcon":[4,"show-speak-icon"],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"direction":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"display":[1],"margin":[1],"style":[32]}],[0,"lido-shape",{"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"shapeType":[1,"shape-type"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"delayVisible":[1,"delay-visible"]}],[0,"lido-slide-fill",{"id":[1],"width":[1],"height":[1],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"visible":[8],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"fill":[1],"numberType":[1,"number-type"],"min":[2],"division":[2],"max":[2],"slider":[4],"src":[1],"fillDirection":[1,"fill-direction"],"type":[1],"onEntry":[1,"on-entry"],"delayVisible":[1,"delay-visible"],"svgContent":[32],"style":[32]},null,{"src":["onSrcChange"],"fill":["onPropChange"],"division":["onPropChange"],"fillDirection":["onPropChange"],"numberType":["onPropChange"],"min":["onPropChange"],"max":["onPropChange"]}],[0,"lido-trace",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"svgSource":[1,"svg-source"],"value":[1],"height":[1],"width":[1],"x":[1],"y":[1],"z":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"tabIndex":[2,"tab-index"],"mode":[1],"fingerHintUrl":[1,"finger-hint-url"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"highlightTextId":[1,"highlight-text-id"],"animationTrace":[4,"animation-trace"],"delayVisible":[1,"delay-visible"],"svgUrls":[32],"currentSvgIndex":[32],"style":[32],"fileIndex":[32],"isDragging":[32],"activePointerId":[32],"idleTimer":[32],"fingerImg":[32]},null,{"svgSource":["initializeSVG"],"mode":["initializeSVG"]}],[4,"lido-wrap",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[4],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"onEntry":[1,"on-entry"],"childElementsLength":[2,"child-elements-length"],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"flex":[1],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"margin":[1],"style":[32]}],[0,"lido-text",{"showSpeakIcon":[4,"show-speak-icon"],"id":[1],"value":[1],"string":[1],"fontFamily":[1,"font-family"],"fontSize":[1,"font-size"],"fontColor":[1,"font-color"],"highlightWhileSpeaking":[4,"highlight-while-speaking"],"height":[1],"width":[1],"ariaLabel":[1,"aria-label"],"ariaHidden":[1,"aria-hidden"],"x":[1],"y":[1],"z":[1],"bgColor":[1,"bg-color"],"borderImage":[1,"border-image"],"type":[1],"tabIndex":[2,"tab-index"],"visible":[8],"audio":[1],"onTouch":[1,"on-touch"],"onInCorrect":[1,"on-in-correct"],"onCorrect":[1,"on-correct"],"minDrops":[2,"min-drops"],"maxDrops":[2,"max-drops"],"onEntry":[1,"on-entry"],"margin":[1],"padding":[1],"borderRadius":[1,"border-radius"],"spanType":[1,"span-type"],"delayVisible":[1,"delay-visible"],"style":[32]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|