@pie-element/venn-classification 0.1.1-next.16 → 0.1.1-next.17
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/author/index.js +3 -7
- package/dist/author/index.js.map +1 -1
- package/dist/browser/{VennClassification-BPq_DgNM.js → VennClassification-DrP-zXoc.js} +133 -137
- package/dist/browser/{VennClassification-BPq_DgNM.js.map → VennClassification-DrP-zXoc.js.map} +1 -1
- package/dist/browser/author/index.js +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/{VennClassification-BPq_DgNM.js → VennClassification-DrP-zXoc.js} +133 -137
- package/dist/browser/editor-runtime/{VennClassification-BPq_DgNM.js.map → VennClassification-DrP-zXoc.js.map} +1 -1
- package/dist/browser/editor-runtime/author/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/delivery/index.js +3 -7
- package/dist/delivery/index.js.map +1 -1
- package/dist/index.iife.js +4 -4
- package/package.json +3 -3
package/dist/author/index.js
CHANGED
|
@@ -35311,16 +35311,12 @@ function z() {
|
|
|
35311
35311
|
let e = window[P];
|
|
35312
35312
|
return typeof e?.renderMath == "function" ? e : null;
|
|
35313
35313
|
}
|
|
35314
|
-
|
|
35315
|
-
let e = i();
|
|
35316
|
-
e && r("legacy-renderer-delegation", `window['${P}'] renders this element's math with MathJax ${e}`);
|
|
35317
|
-
}
|
|
35318
|
-
var V = async (e) => {
|
|
35314
|
+
var B = async (e) => {
|
|
35319
35315
|
if (typeof window > "u") return;
|
|
35320
35316
|
let t = typeof e == "string", n;
|
|
35321
35317
|
t ? (n = document.createElement("div"), n.innerHTML = e) : n = e || document.body;
|
|
35322
35318
|
let r = z();
|
|
35323
|
-
return r ?
|
|
35319
|
+
return r ? await r.renderMath?.(n) : await R()(n), t ? n.innerHTML : void 0;
|
|
35324
35320
|
};
|
|
35325
35321
|
//#endregion
|
|
35326
35322
|
//#region src/delivery/tile-accessible-name.ts
|
|
@@ -36641,7 +36637,7 @@ function VennClassification($$anchor, $$props) {
|
|
|
36641
36637
|
if (!containerEl) return;
|
|
36642
36638
|
const warn = (err) => console.warn("venn-classification: MathJax render failed", err);
|
|
36643
36639
|
try {
|
|
36644
|
-
Promise.resolve(
|
|
36640
|
+
Promise.resolve(B(containerEl)).catch(warn);
|
|
36645
36641
|
} catch (err) {
|
|
36646
36642
|
warn(err);
|
|
36647
36643
|
}
|