erl-mathtextx-editor 0.3.1 → 0.3.6

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 (51) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/README.md +14 -1
  3. package/dist/{CellPropertiesDialogImpl-5bzEkaTt.js → CellPropertiesDialogImpl-NSTfG9SA.js} +1 -1
  4. package/dist/ContentViewer-LqSkiQjT.js +161 -0
  5. package/dist/ImageInsertDialog-DDxR_Cah.js +331 -0
  6. package/dist/{InsertTableDialogImpl-B2GUzYNY.js → InsertTableDialogImpl-DrW9QTDd.js} +1 -1
  7. package/dist/{LinkDialogImpl-CPjj0CkY.js → LinkDialogImpl-BXjhfEiE.js} +1 -1
  8. package/dist/MathTextXEditor.d.ts +1 -1
  9. package/dist/{TablePropertiesDialogImpl-BLbhyfA0.js → TablePropertiesDialogImpl-C2eqgZMa.js} +1 -1
  10. package/dist/{TableTemplatesDialogImpl-BQZTGw_Y.js → TableTemplatesDialogImpl-B2DJBmzm.js} +1 -1
  11. package/dist/assets/erl-mathtextx-editor.css +1 -1
  12. package/dist/assets/viewer.css +1 -1
  13. package/dist/components/UploadErrorDebugPanel.d.ts +6 -0
  14. package/dist/erl-mathtextx-editor.js +50 -28
  15. package/dist/erl-mathtextx-editor.umd.cjs +470 -200
  16. package/dist/export-deps-Tu2DJTcR.js +14815 -0
  17. package/dist/{index-CI4oNSUc.js → index-CvLezwrJ.js} +1 -1
  18. package/dist/{index-Bq8NKSwD.js → index-D1pCAIcb.js} +6239 -4221
  19. package/dist/index-D7oo0rd0.js +14235 -0
  20. package/dist/index.d.ts +11 -1
  21. package/dist/index.es-UDhZ1Ncp.js +5632 -0
  22. package/dist/jszip.min-I9rjwvpP.js +2341 -0
  23. package/dist/math/MathInputModeContext.d.ts +7 -0
  24. package/dist/math/TemplatePanel.d.ts +4 -1
  25. package/dist/math/mathFieldFontStyles.d.ts +7 -0
  26. package/dist/math/mathFieldSpaceKey.d.ts +10 -0
  27. package/dist/{tiptap-K3rU-Wjn.js → tiptap-BiWGiMFj.js} +27 -27
  28. package/dist/toolbar/MainToolbar.d.ts +3 -1
  29. package/dist/toolbar/MathToolbar.d.ts +9 -2
  30. package/dist/types/index.d.ts +18 -5
  31. package/dist/utils/docxImporter.d.ts +1 -0
  32. package/dist/utils/docxOmmlPreprocess.d.ts +12 -0
  33. package/dist/utils/imageFileValidation.d.ts +14 -0
  34. package/dist/utils/isLatexContent.d.ts +5 -0
  35. package/dist/utils/mathMlToLatex.d.ts +4 -0
  36. package/dist/utils/microsoftMathPaste.d.ts +43 -0
  37. package/dist/utils/ommlToLatex.d.ts +11 -0
  38. package/dist/utils/reuploadImagesInHTML.d.ts +9 -0
  39. package/dist/utils/sanitizeConfig.d.ts +11 -0
  40. package/dist/utils/unicodeMathToLatex.d.ts +24 -0
  41. package/dist/utils/uploadError.d.ts +8 -0
  42. package/dist/{viewer-deps-BDYoL2Ts.js → viewer-deps-_HnWniSt.js} +5 -0
  43. package/dist/viewer.js +1 -1
  44. package/package.json +23 -10
  45. package/dist/ContentViewer-RijJ5nlJ.js +0 -45
  46. package/dist/ImageInsertDialog-Dcg6kdLb.js +0 -240
  47. package/dist/components/__tests__/WordCount.test.d.ts +0 -1
  48. package/dist/core/__tests__/serializer.test.d.ts +0 -1
  49. package/dist/index-elIws1oE.js +0 -16549
  50. package/dist/viewer-styles.d.ts +0 -1
  51. package/dist/viewer-styles.js +0 -1
@@ -0,0 +1,6 @@
1
+ import { UploadErrorDebug } from '../utils/uploadError';
2
+ interface UploadErrorDebugPanelProps {
3
+ debug: UploadErrorDebug;
4
+ }
5
+ export declare function UploadErrorDebugPanel({ debug }: UploadErrorDebugPanelProps): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,33 +1,55 @@
1
- import { C as t, I as s, b as o, L as l, M as i, d as r, e as T, f as g, h as n, i as m, S as p, T as M, j as C, k as b, l as d, W as h, m as y, n as D, o as L, p as c, q as x, r as u, s as E, t as I, v as P, w as S, x as f, y as k } from "./index-Bq8NKSwD.js";
2
- import { C as H } from "./ContentViewer-RijJ5nlJ.js";
1
+ import { C as s, I as t, b as o, L as l, M as r, d as i, e as n, f as T, h as g, j as m, k as p, S as M, T as d, m as h, n as x, o as C, p as b, W as u, q as L, r as D, s as I, t as c, w as E, x as y, y as P, z as S, A as f, B as H, D as U, E as v, F as N, G as z, H as B, J as O, K as k, i as F, N as J, l as W, O as w, P as K, Q as V, R as X, V as j, X as q, Y as A, Z as G, _ as Q, $ as R, a0 as Y, v as Z } from "./index-D1pCAIcb.js";
2
+ import { C as $ } from "./ContentViewer-LqSkiQjT.js";
3
3
  export {
4
- t as CellPropertiesDialog,
5
- H as ContentViewer,
6
- s as ImageEditDialog,
4
+ s as CellPropertiesDialog,
5
+ $ as ContentViewer,
6
+ t as ImageEditDialog,
7
7
  o as InsertTableDialog,
8
8
  l as LinkDialog,
9
- i as MainToolbar,
10
- r as MathBlockNode,
11
- T as MathInlineNode,
9
+ r as MainToolbar,
10
+ i as MathBlockNode,
11
+ n as MathInlineNode,
12
+ T as MathInputModeContext,
12
13
  g as MathTextXEditor,
13
- n as MathToolbar,
14
- m as MathTypeDialog,
15
- p as SymbolPalette,
16
- M as TableMenu,
17
- C as TablePropertiesDialog,
18
- b as TableTemplatesDialog,
19
- d as TemplatePanel,
20
- h as WordCount,
21
- y as countCharacters,
22
- D as countWords,
23
- L as createExtensions,
24
- c as getHTML,
25
- x as getJSON,
26
- u as getTemplateCategories,
27
- E as getTemplateStyles,
28
- I as getTemplatesByCategory,
29
- P as getTemplatesByLevel,
30
- S as mathTemplates,
31
- f as sanitizeCKEditorHTML,
32
- k as toCompatibleHTML
14
+ m as MathToolbar,
15
+ p as MathTypeDialog,
16
+ M as SymbolPalette,
17
+ d as TableMenu,
18
+ h as TablePropertiesDialog,
19
+ x as TableTemplatesDialog,
20
+ C as TemplatePanel,
21
+ b as UploadError,
22
+ u as WordCount,
23
+ L as clipboardHasMathContent,
24
+ D as countCharacters,
25
+ I as countWords,
26
+ c as createExtensions,
27
+ E as exportToImage,
28
+ y as exportToJSON,
29
+ P as exportToPDF,
30
+ S as formatUploadErrorDebug,
31
+ f as getHTML,
32
+ H as getJSON,
33
+ U as getTemplateCategories,
34
+ v as getTemplateStyles,
35
+ N as getTemplatesByCategory,
36
+ z as getTemplatesByLevel,
37
+ B as getUploadErrorDebug,
38
+ O as hasOmml,
39
+ k as isLatexContent,
40
+ F as isSafeImageUrl,
41
+ J as isUnicodeMathContent,
42
+ W as logUploadError,
43
+ w as mathTemplates,
44
+ K as normalizeExistingMathLatex,
45
+ V as normalizeLatexSource,
46
+ X as ommlToLatex,
47
+ j as resolveMathText,
48
+ q as resolveMicrosoftMathPaste,
49
+ A as reuploadImagesInHTML,
50
+ G as sanitizeCKEditorHTML,
51
+ Q as toCompatibleHTML,
52
+ R as unicodeMathToLatex,
53
+ Y as useMathInputMode,
54
+ Z as validateImageFile
33
55
  };