@viji-dev/core 0.3.19 → 0.3.20
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/{essentia-wasm.web-C7QoUtrj.js → essentia-wasm.web-MJg8deal.js} +2 -2
- package/dist/{essentia-wasm.web-C7QoUtrj.js.map → essentia-wasm.web-MJg8deal.js.map} +1 -1
- package/dist/{index-BKGarA3m.js → index-DW8r2Eux.js} +6 -3
- package/dist/index-DW8r2Eux.js.map +1 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/index-BKGarA3m.js.map +0 -1
|
@@ -73,8 +73,11 @@ class IFrameManager {
|
|
|
73
73
|
document.body.appendChild(hiddenContainer);
|
|
74
74
|
hiddenContainer.appendChild(iframe);
|
|
75
75
|
} else {
|
|
76
|
+
if (getComputedStyle(this.hostContainer).position === "static") {
|
|
77
|
+
this.hostContainer.style.position = "relative";
|
|
78
|
+
}
|
|
76
79
|
const visibility = this.initiallyVisible ? "" : "visibility:hidden;";
|
|
77
|
-
iframe.style.cssText = `width:100%;height:100%;border:none
|
|
80
|
+
iframe.style.cssText = `position:absolute;top:0;left:0;width:100%;height:100%;border:none;${visibility}`;
|
|
78
81
|
this.hostContainer.appendChild(iframe);
|
|
79
82
|
}
|
|
80
83
|
const iframeContent = this.generateIFrameHTML();
|
|
@@ -1913,7 +1916,7 @@ class EssentiaOnsetDetection {
|
|
|
1913
1916
|
this.initPromise = (async () => {
|
|
1914
1917
|
try {
|
|
1915
1918
|
const essentiaModule = await import("./essentia.js-core.es-DnrJE0uR.js");
|
|
1916
|
-
const wasmModule = await import("./essentia-wasm.web-
|
|
1919
|
+
const wasmModule = await import("./essentia-wasm.web-MJg8deal.js").then((n) => n.e);
|
|
1917
1920
|
const EssentiaClass = essentiaModule.Essentia || essentiaModule.default?.Essentia || essentiaModule.default;
|
|
1918
1921
|
let WASMModule = wasmModule.default || wasmModule.EssentiaWASM || wasmModule.default?.EssentiaWASM;
|
|
1919
1922
|
if (!WASMModule) {
|
|
@@ -16317,4 +16320,4 @@ export {
|
|
|
16317
16320
|
VijiCoreError as b,
|
|
16318
16321
|
getDefaultExportFromCjs as g
|
|
16319
16322
|
};
|
|
16320
|
-
//# sourceMappingURL=index-
|
|
16323
|
+
//# sourceMappingURL=index-DW8r2Eux.js.map
|