@pie-element/shared-math-rendering-mathjax 0.1.8-next.20261019155156 → 0.1.8-next.20261022133444

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.
Files changed (47) hide show
  1. package/dist/adapter.d.ts +6 -0
  2. package/dist/browser/{PUA-BqHnH_Xu.js → PUA-CJdZh2Wf.js} +1 -1
  3. package/dist/browser/{accents-CT0iFhkZ.js → accents-DUN0SGpR.js} +1 -1
  4. package/dist/browser/{accents-b-i-lk3Xez5N.js → accents-b-i-BonjkJko.js} +1 -1
  5. package/dist/browser/{arabic-BPKKhLVq.js → arabic-DPsBZ_6r.js} +1 -1
  6. package/dist/browser/{arrows-DqEPtK-Z.js → arrows-BdSPBhI1.js} +1 -1
  7. package/dist/browser/{braille-DvxWOt-l.js → braille-D67IP_T7.js} +1 -1
  8. package/dist/browser/{braille-d-DxXharYY.js → braille-d-CP1DcXKB.js} +1 -1
  9. package/dist/browser/{calligraphic-kAaGCdjY.js → calligraphic-D3g8rnJG.js} +1 -1
  10. package/dist/browser/{cherokee-C8SaLR0X.js → cherokee-D9O6NlBu.js} +1 -1
  11. package/dist/browser/{cyrillic-90K8fbWC.js → cyrillic-DJvnsbqS.js} +1 -1
  12. package/dist/browser/{cyrillic-ss-pbT0_1Lh.js → cyrillic-ss-C1kj2CQV.js} +1 -1
  13. package/dist/browser/{devanagari-BUPEGT8G.js → devanagari-DaEPBZJl.js} +1 -1
  14. package/dist/browser/{double-struck-CCznZnxx.js → double-struck-DMCx5OKu.js} +1 -1
  15. package/dist/browser/{fraktur-SMS95L_I.js → fraktur-BhEkb_dS.js} +1 -1
  16. package/dist/browser/{greek-C-DH5pc5.js → greek-BUUqFJHy.js} +1 -1
  17. package/dist/browser/{greek-ss-CEapT6vh.js → greek-ss-BEMpAOeY.js} +1 -1
  18. package/dist/browser/{hebrew-D2yvNx7x.js → hebrew-Bzl8nOEB.js} +1 -1
  19. package/dist/browser/index.js +310 -280
  20. package/dist/browser/{latin-DXKr8Dbp.js → latin-P9zTNHCd.js} +1 -1
  21. package/dist/browser/{latin-b-BoB-xnDF.js → latin-b-PZ4kq6lM.js} +1 -1
  22. package/dist/browser/{latin-bi-BcLdKR4x.js → latin-bi-CmN1JUsd.js} +1 -1
  23. package/dist/browser/{latin-i-Bi7yeYJ4.js → latin-i-CXBnDzSq.js} +1 -1
  24. package/dist/browser/{marrows-KqSmC-Xy.js → marrows-B7SUVmW5.js} +1 -1
  25. package/dist/browser/{math-Brcq-P_I.js → math-vXr73lk6.js} +1 -1
  26. package/dist/browser/{mathjax-eq7xv-th.js → mathjax-2nQh1S7u.js} +51 -43
  27. package/dist/browser/{monospace-DNCP_eLB.js → monospace-DoS6YAxd.js} +1 -1
  28. package/dist/browser/{monospace-ex-CseBNM39.js → monospace-ex-DRTvVzi3.js} +1 -1
  29. package/dist/browser/{monospace-l-CR2fN48S.js → monospace-l-DUCa7CxU.js} +1 -1
  30. package/dist/browser/{mshapes-evOyxz2k.js → mshapes-CpjjJVqV.js} +1 -1
  31. package/dist/browser/{phonetics-DLwwvG6x.js → phonetics-bqiQHE22.js} +1 -1
  32. package/dist/browser/{phonetics-ss-DBAEzJVF.js → phonetics-ss-Q6DbUcOI.js} +1 -1
  33. package/dist/browser/{sans-serif-CCwtYnyq.js → sans-serif-Bp2jHFky.js} +1 -1
  34. package/dist/browser/{sans-serif-b-Bwpfq2IJ.js → sans-serif-b-BibGpEzd.js} +1 -1
  35. package/dist/browser/{sans-serif-bi-C7Px0log.js → sans-serif-bi-iTiG6eGH.js} +1 -1
  36. package/dist/browser/{sans-serif-ex-Cfj44GXC.js → sans-serif-ex-C8xaAvoq.js} +1 -1
  37. package/dist/browser/{sans-serif-i-DGAQjDod.js → sans-serif-i-BU3dKyZu.js} +1 -1
  38. package/dist/browser/{sans-serif-r-BoOxW29E.js → sans-serif-r-CgglPh5w.js} +1 -1
  39. package/dist/browser/{script-Btu8Vmeq.js → script-ClY84mt2.js} +1 -1
  40. package/dist/browser/{shapes-Boj8AIMj.js → shapes-myFFmw20.js} +1 -1
  41. package/dist/browser/{symbols-Bt-k4k-u.js → symbols-Cm-dpMqm.js} +1 -1
  42. package/dist/browser/{symbols-b-i-BwJ3dJ3E.js → symbols-b-i-Ckpc29j-.js} +1 -1
  43. package/dist/browser/{variants-BAfRhLBF.js → variants-CXvLtZew.js} +1 -1
  44. package/dist/index.d.ts +1 -1
  45. package/dist/index.js +161 -131
  46. package/dist/render-math.d.ts +14 -0
  47. package/package.json +1 -1
package/dist/adapter.d.ts CHANGED
@@ -66,6 +66,12 @@ export interface MathJaxGlobal {
66
66
  fontURL?: string;
67
67
  };
68
68
  typesetPromise?: (elements?: Element[]) => Promise<void>;
69
+ /** The TeX converted to serialized MathML; the component build and the bundled engine define it. */
70
+ tex2mml?: (tex: string, options?: {
71
+ display?: boolean;
72
+ }) => string;
73
+ /** Clears the TeX input's labels and tags; the component build and the bundled engine define it. */
74
+ texReset?: () => void;
69
75
  typesetClear?: (elements?: Element[]) => void;
70
76
  /** The component build's module tree. */
71
77
  _?: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/PUA.js
3
3
  t.dynamicSetup("", "PUA", e({
4
4
  PU: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t, r as n } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t, r as n } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/accents.js
3
3
  t.dynamicSetup("", "accents", e({ "": {
4
4
  normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/accents-b-i.js
3
3
  t.dynamicSetup("", "accents-b-i", e({
4
4
  AB: { bold: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/arabic.js
3
3
  t.dynamicSetup("", "arabic", e({
4
4
  AB: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, n, r } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, i as t, n, r } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/arrows.js
3
3
  n.dynamicSetup("", "arrows", e({
4
4
  AR: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/braille.js
3
3
  t.dynamicSetup("", "braille", e({ br: { "sans-serif": {
4
4
  10240: [
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/braille-d.js
3
3
  t.dynamicSetup("", "braille-d", e({ brd: { normal: {
4
4
  10240: [
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/calligraphic.js
3
3
  t.dynamicSetup("", "calligraphic", e({
4
4
  C: { "-tex-calligraphic": {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/cherokee.js
3
3
  t.dynamicSetup("", "cherokee", e({
4
4
  CH: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/cyrillic.js
3
3
  t.dynamicSetup("", "cyrillic", e({
4
4
  CY: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/cyrillic-ss.js
3
3
  t.dynamicSetup("", "cyrillic-ss", e({
4
4
  CYSS: { "sans-serif": {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/devanagari.js
3
3
  t.dynamicSetup("", "devanagari", e({
4
4
  DV: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/double-struck.js
3
3
  t.dynamicSetup("", "double-struck", e({ DS: {
4
4
  normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/fraktur.js
3
3
  t.dynamicSetup("", "fraktur", e({
4
4
  F: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/greek.js
3
3
  t.dynamicSetup("", "greek", e({
4
4
  GK: { normal: {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/greek-ss.js
3
3
  t.dynamicSetup("", "greek-ss", e({
4
4
  GKSS: { "sans-serif": {
@@ -1,4 +1,4 @@
1
- import { a as e, n as t } from "./mathjax-eq7xv-th.js";
1
+ import { a as e, n as t } from "./mathjax-2nQh1S7u.js";
2
2
  //#region ../../../node_modules/.bun/@mathjax+mathjax-newcm-font@4.1.3/node_modules/@mathjax/mathjax-newcm-font/mjs/chtml/dynamic/hebrew.js
3
3
  t.dynamicSetup("", "hebrew", e({
4
4
  HE: { normal: {