@pie-element/venn-classification 0.1.1-next.1 → 0.1.1-next.2
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 +25242 -16259
- package/dist/author/index.js.map +1 -1
- package/dist/browser/{VennClassification-C6roHfLf.js → VennClassification-DtwuotJl.js} +76 -69
- package/dist/browser/{VennClassification-C6roHfLf.js.map → VennClassification-DtwuotJl.js.map} +1 -1
- package/dist/browser/author/index.js +16646 -10743
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/delivery/index.js +15 -8
- package/dist/delivery/index.js.map +1 -1
- package/dist/index.iife.js +4 -4
- package/dist/index.js +15 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "../VennClassification-
|
|
1
|
+
import { i as e, r as t, t as n } from "../VennClassification-DtwuotJl.js";
|
|
2
2
|
import { s as r } from "../controller-Dt0dg5dA.js";
|
|
3
3
|
//#region src/delivery/index.ts
|
|
4
4
|
var i = n.element, a = class extends i {
|
package/dist/delivery/index.js
CHANGED
|
@@ -5345,7 +5345,7 @@ function r$1({ sourceEl: t, fallbackSelector: r, component: i, complete: a, sess
|
|
|
5345
5345
|
//#region ../../shared/math-rendering-mathjax/dist/index.js
|
|
5346
5346
|
var e = "https://cdn.jsdelivr.net/npm/mathjax@4/tex-chtml.js", t = null;
|
|
5347
5347
|
function n(n) {
|
|
5348
|
-
return typeof window > "u" || window.MathJax?.
|
|
5348
|
+
return typeof window > "u" || window.MathJax?.typesetPromise ? Promise.resolve() : t || (t = new Promise((t, r) => {
|
|
5349
5349
|
let { useSingleDollar: i = !1, accessibility: a = !0, loadFonts: o = !0, srcUrl: s } = n, c = {
|
|
5350
5350
|
loader: { load: a ? ["a11y/assistive-mml"] : [] },
|
|
5351
5351
|
tex: {
|
|
@@ -5399,17 +5399,24 @@ function i(e = {}) {
|
|
|
5399
5399
|
await window.MathJax.typesetPromise([t]), r();
|
|
5400
5400
|
};
|
|
5401
5401
|
}
|
|
5402
|
-
var o = null;
|
|
5403
|
-
function
|
|
5404
|
-
return
|
|
5402
|
+
var o = "@pie-lib/math-rendering", s = null;
|
|
5403
|
+
function c() {
|
|
5404
|
+
return s || (s = i({
|
|
5405
5405
|
accessibility: !0,
|
|
5406
5406
|
useSingleDollar: !0
|
|
5407
|
-
})),
|
|
5407
|
+
})), s;
|
|
5408
5408
|
}
|
|
5409
|
-
|
|
5409
|
+
function l() {
|
|
5410
|
+
if (typeof window > "u") return null;
|
|
5411
|
+
let e = window[o];
|
|
5412
|
+
return typeof e?.renderMath == "function" ? e : null;
|
|
5413
|
+
}
|
|
5414
|
+
var u = async (e) => {
|
|
5410
5415
|
if (typeof window > "u") return;
|
|
5411
5416
|
let t = typeof e == "string", n;
|
|
5412
|
-
|
|
5417
|
+
t ? (n = document.createElement("div"), n.innerHTML = e) : n = e || document.body;
|
|
5418
|
+
let r = l();
|
|
5419
|
+
return r ? await r.renderMath?.(n) : await c()(n), t ? n.innerHTML : void 0;
|
|
5413
5420
|
};
|
|
5414
5421
|
//#endregion
|
|
5415
5422
|
//#region src/delivery/tile-accessible-name.ts
|
|
@@ -6275,7 +6282,7 @@ function VennClassification($$anchor, $$props) {
|
|
|
6275
6282
|
function typeset() {
|
|
6276
6283
|
if (!containerEl) return;
|
|
6277
6284
|
try {
|
|
6278
|
-
|
|
6285
|
+
u(containerEl);
|
|
6279
6286
|
} catch (err) {
|
|
6280
6287
|
console.warn("venn-classification: MathJax render failed", err);
|
|
6281
6288
|
}
|