@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, U as g, V as _, _ as v, a as y, b, c as x, d as S, f as C, g as w, h as T, i as E, j as D, k as O, l as k, m as A, n as j, o as M, p as N, r as P, s as F, t as ee, u as I, v as L, w as R, x as z, y as te, z as B } from "../VennClassification-
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, U as g, V as _, _ as v, a as y, b, c as x, d as S, f as C, g as w, h as T, i as E, j as D, k as O, l as k, m as A, n as j, o as M, p as N, r as P, s as F, t as ee, u as I, v as L, w as R, x as z, y as te, z as B } from "../VennClassification-DrP-zXoc.js";
|
|
2
2
|
import { _ as ne, g as re, h as ie, i as ae, m as oe, n as se, p as V, v as H, y as ce } from "../controller-bkBJ6-j1.js";
|
|
3
3
|
import { Editor as le } from "@tiptap/core";
|
|
4
4
|
import ue from "@tiptap/starter-kit";
|
package/dist/delivery/index.js
CHANGED
|
@@ -5613,16 +5613,12 @@ function z() {
|
|
|
5613
5613
|
let e = window[P];
|
|
5614
5614
|
return typeof e?.renderMath == "function" ? e : null;
|
|
5615
5615
|
}
|
|
5616
|
-
|
|
5617
|
-
let e = i();
|
|
5618
|
-
e && r$2("legacy-renderer-delegation", `window['${P}'] renders this element's math with MathJax ${e}`);
|
|
5619
|
-
}
|
|
5620
|
-
var V = async (e) => {
|
|
5616
|
+
var B = async (e) => {
|
|
5621
5617
|
if (typeof window > "u") return;
|
|
5622
5618
|
let t = typeof e == "string", n;
|
|
5623
5619
|
t ? (n = document.createElement("div"), n.innerHTML = e) : n = e || document.body;
|
|
5624
5620
|
let r = z();
|
|
5625
|
-
return r ?
|
|
5621
|
+
return r ? await r.renderMath?.(n) : await R()(n), t ? n.innerHTML : void 0;
|
|
5626
5622
|
};
|
|
5627
5623
|
//#endregion
|
|
5628
5624
|
//#region ../../shared/translator/dist/en.js
|
|
@@ -9318,7 +9314,7 @@ function VennClassification($$anchor, $$props) {
|
|
|
9318
9314
|
if (!containerEl) return;
|
|
9319
9315
|
const warn = (err) => console.warn("venn-classification: MathJax render failed", err);
|
|
9320
9316
|
try {
|
|
9321
|
-
Promise.resolve(
|
|
9317
|
+
Promise.resolve(B(containerEl)).catch(warn);
|
|
9322
9318
|
} catch (err) {
|
|
9323
9319
|
warn(err);
|
|
9324
9320
|
}
|