lido-player 0.0.2-1 → 0.0.2-alpha-1
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/app-col_12.cjs.entry.js +3 -1
- package/dist/cjs/app-col_12.cjs.entry.js.map +1 -1
- package/dist/cjs/lido-player.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/root/AppRoot.js +39 -1
- package/dist/collection/components/root/AppRoot.js.map +1 -1
- package/dist/components/app-root.js +5 -1
- package/dist/components/app-root.js.map +1 -1
- package/dist/esm/app-col_12.entry.js +3 -1
- package/dist/esm/app-col_12.entry.js.map +1 -1
- package/dist/esm/lido-player.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/lido-player/lido-player.esm.js +1 -1
- package/dist/lido-player/lido-player.esm.js.map +1 -1
- package/dist/lido-player/p-ec4f8898.entry.js +2 -0
- package/dist/lido-player/p-ec4f8898.entry.js.map +1 -0
- package/dist/types/components/root/AppRoot.d.ts +8 -0
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/lido-player/p-c87e2f20.entry.js +0 -2
- package/dist/lido-player/p-c87e2f20.entry.js.map +0 -1
|
@@ -497,6 +497,8 @@ const AppRoot = class {
|
|
|
497
497
|
constructor(hostRef) {
|
|
498
498
|
index.registerInstance(this, hostRef);
|
|
499
499
|
this.xmlPath = undefined;
|
|
500
|
+
this.initialIndex = 0;
|
|
501
|
+
this.canplay = true;
|
|
500
502
|
this.xmlData = undefined;
|
|
501
503
|
}
|
|
502
504
|
/**
|
|
@@ -537,7 +539,7 @@ const AppRoot = class {
|
|
|
537
539
|
return index.h("div", null, "Error loading XML data. Please check the path or URL.");
|
|
538
540
|
}
|
|
539
541
|
// Once the XML data is loaded, pass it to the `app-home` component
|
|
540
|
-
return index.h("app-home", { initialIndex:
|
|
542
|
+
return index.h("app-home", { initialIndex: this.initialIndex, canplay: this.canplay, xmlData: this.xmlData });
|
|
541
543
|
}
|
|
542
544
|
static get assetsDirs() { return ["assets"]; }
|
|
543
545
|
};
|