@pie-element/math-inline 13.0.1-next.20261002220849 → 13.0.1-next.20261002222413
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/browser/author/index.js +5 -5
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +1 -1
- package/dist/browser/{dist-XPx7Nz9J.js → dist-B5xHNyJn.js} +1725 -1702
- package/dist/browser/dist-B5xHNyJn.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +5 -5
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +1 -1
- package/dist/browser/editor-runtime/{dist-D4UP79rO.js → dist-JuoNv-Za.js} +1725 -1702
- package/dist/browser/editor-runtime/dist-JuoNv-Za.js.map +1 -0
- package/dist/browser/editor-runtime/{main-qypbr4dI.js → main-DmqZd67J.js} +155 -155
- package/dist/browser/editor-runtime/{main-qypbr4dI.js.map → main-DmqZd67J.js.map} +1 -1
- package/dist/browser/editor-runtime/print/index.js +2 -2
- package/dist/browser/{main-8jbBrhpB.js → main-CS3MUenL.js} +155 -155
- package/dist/browser/{main-8jbBrhpB.js.map → main-CS3MUenL.js.map} +1 -1
- package/dist/browser/print/index.js +2 -2
- package/dist/index.iife.js +43 -43
- package/module/print.js +2052 -2029
- package/module/print.js.map +1 -1
- package/package.json +8 -8
- package/dist/browser/dist-XPx7Nz9J.js.map +0 -1
- package/dist/browser/editor-runtime/dist-D4UP79rO.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as e, a as t, d as n, i as r, m as i, n as a, o, p as s, r as c, s as l, t as u, u as d, y as f } from "../dist--pvq7WNe.js";
|
|
2
|
-
import { $ as p, A as m, B as h, Ct as g, D as _, Dt as v, E as y, Et as b, F as x, G as S, H as C, I as w, J as T, K as ee, N as te, O as E, Ot as ne, P as re, Q as ie, R as ae, St as oe, Tt as D, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _t as pe, a as me, at as he, b as ge, bt as O, c as _e, ct as ve, d as ye, et as k, ft as A, g as be, gt as xe, h as Se, ht as j, i as Ce, it as we, j as Te, k as Ee, kt as De, l as Oe, lt as ke, m as Ae, mt as je, n as Me, nt as Ne, o as Pe, ot as Fe, p as Ie, q as M, r as Le, rt as Re, s as ze, st as Be, t as Ve, tt as N, u as He, ut as Ue, v as We, vt as Ge, wt as P, x as Ke, xt as qe, y as Je, yt as Ye, z as Xe } from "../dist-
|
|
2
|
+
import { $ as p, A as m, B as h, Ct as g, D as _, Dt as v, E as y, Et as b, F as x, G as S, H as C, I as w, J as T, K as ee, N as te, O as E, Ot as ne, P as re, Q as ie, R as ae, St as oe, Tt as D, U as se, V as ce, W as le, X as ue, Y as de, Z as fe, _t as pe, a as me, at as he, b as ge, bt as O, c as _e, ct as ve, d as ye, et as k, ft as A, g as be, gt as xe, h as Se, ht as j, i as Ce, it as we, j as Te, k as Ee, kt as De, l as Oe, lt as ke, m as Ae, mt as je, n as Me, nt as Ne, o as Pe, ot as Fe, p as Ie, q as M, r as Le, rt as Re, s as ze, st as Be, t as Ve, tt as N, u as He, ut as Ue, v as We, vt as Ge, wt as P, x as Ke, xt as qe, y as Je, yt as Ye, z as Xe } from "../dist-B5xHNyJn.js";
|
|
3
3
|
import * as F from "react";
|
|
4
4
|
import I, { Component as Ze, createContext as Qe, createElement as $e, createRef as et, forwardRef as tt, memo as nt, useCallback as rt, useContext as it, useDebugValue as at, useEffect as L, useLayoutEffect as ot, useMemo as st, useRef as ct, useState as lt, version as ut } from "react";
|
|
5
5
|
import { createRoot as dt } from "react-dom/client";
|
|
@@ -18271,7 +18271,7 @@ function XC({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
18271
18271
|
L(() => (document.addEventListener("click", u), () => {
|
|
18272
18272
|
document.removeEventListener("click", u);
|
|
18273
18273
|
}), []), L(() => {
|
|
18274
|
-
l.current && typeof
|
|
18274
|
+
l.current && typeof ae == "function" && ae(l.current);
|
|
18275
18275
|
}, [
|
|
18276
18276
|
a?.value,
|
|
18277
18277
|
r,
|
|
@@ -18485,7 +18485,7 @@ var tw = (e) => {
|
|
|
18485
18485
|
]);
|
|
18486
18486
|
let w = (e) => e.clientX > document.documentElement.clientWidth || e.clientY > document.documentElement.clientHeight || e.target === document.documentElement;
|
|
18487
18487
|
return L(() => {
|
|
18488
|
-
m.current && typeof
|
|
18488
|
+
m.current && typeof ae == "function" && ae(m.current);
|
|
18489
18489
|
}, [s]), L(() => {
|
|
18490
18490
|
let e = document.body.getBoundingClientRect(), { from: n } = t.state.selection, r = t.view.coordsAtPos(n);
|
|
18491
18491
|
y({
|
|
@@ -18966,7 +18966,7 @@ var ow = {}, sw = (e) => String(e || "").replace(/-/g, "_"), cw = (e) => e && e.
|
|
|
18966
18966
|
parseHTML() {
|
|
18967
18967
|
return [{
|
|
18968
18968
|
tag: "span[data-latex]",
|
|
18969
|
-
getAttrs: (e) => ({ latex:
|
|
18969
|
+
getAttrs: (e) => ({ latex: Xe(e.getAttribute("data-raw") || e.textContent).unwrapped })
|
|
18970
18970
|
}, {
|
|
18971
18971
|
tag: "span[data-type=\"mathml\"]",
|
|
18972
18972
|
getAttrs: (e) => ({ html: e.innerHTML })
|
|
@@ -18992,7 +18992,7 @@ var ow = {}, sw = (e) => String(e || "").replace(/-/g, "_"), cw = (e) => e && e.
|
|
|
18992
18992
|
"data-latex": "",
|
|
18993
18993
|
"data-raw": e.latex
|
|
18994
18994
|
},
|
|
18995
|
-
|
|
18995
|
+
h(e.latex, e.wrapper)
|
|
18996
18996
|
];
|
|
18997
18997
|
},
|
|
18998
18998
|
addNodeView() {
|