mardora 1.2.0

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 (138) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +113 -0
  3. package/dist/chunk-3OCUX4OO.js +7690 -0
  4. package/dist/chunk-3OCUX4OO.js.map +1 -0
  5. package/dist/chunk-3ZOCCFDL.cjs +74 -0
  6. package/dist/chunk-3ZOCCFDL.cjs.map +1 -0
  7. package/dist/chunk-7JOEPNEV.cjs +7740 -0
  8. package/dist/chunk-7JOEPNEV.cjs.map +1 -0
  9. package/dist/chunk-BIKZQZ6W.js +33 -0
  10. package/dist/chunk-BIKZQZ6W.js.map +1 -0
  11. package/dist/chunk-EQJESPP2.js +234 -0
  12. package/dist/chunk-EQJESPP2.js.map +1 -0
  13. package/dist/chunk-G4SE26YY.js +70 -0
  14. package/dist/chunk-G4SE26YY.js.map +1 -0
  15. package/dist/chunk-KNDWF2DP.cjs +35 -0
  16. package/dist/chunk-KNDWF2DP.cjs.map +1 -0
  17. package/dist/chunk-MLBEBFHB.cjs +2971 -0
  18. package/dist/chunk-MLBEBFHB.cjs.map +1 -0
  19. package/dist/chunk-P7JFCYU3.js +905 -0
  20. package/dist/chunk-P7JFCYU3.js.map +1 -0
  21. package/dist/chunk-SWFUKJDO.cjs +243 -0
  22. package/dist/chunk-SWFUKJDO.cjs.map +1 -0
  23. package/dist/chunk-WFVCG4LD.cjs +926 -0
  24. package/dist/chunk-WFVCG4LD.cjs.map +1 -0
  25. package/dist/chunk-XL6WFGJT.js +2901 -0
  26. package/dist/chunk-XL6WFGJT.js.map +1 -0
  27. package/dist/editor/index.cjs +277 -0
  28. package/dist/editor/index.cjs.map +1 -0
  29. package/dist/editor/index.d.cts +186 -0
  30. package/dist/editor/index.d.ts +186 -0
  31. package/dist/editor/index.js +4 -0
  32. package/dist/editor/index.js.map +1 -0
  33. package/dist/index.cjs +405 -0
  34. package/dist/index.cjs.map +1 -0
  35. package/dist/index.d.cts +13 -0
  36. package/dist/index.d.ts +13 -0
  37. package/dist/index.js +8 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/lib/index.cjs +12 -0
  40. package/dist/lib/index.cjs.map +1 -0
  41. package/dist/lib/index.d.cts +16 -0
  42. package/dist/lib/index.d.ts +16 -0
  43. package/dist/lib/index.js +3 -0
  44. package/dist/lib/index.js.map +1 -0
  45. package/dist/mardora-DCwjomil.d.cts +640 -0
  46. package/dist/mardora-DCwjomil.d.ts +640 -0
  47. package/dist/plugins/index.cjs +104 -0
  48. package/dist/plugins/index.cjs.map +1 -0
  49. package/dist/plugins/index.d.cts +740 -0
  50. package/dist/plugins/index.d.ts +740 -0
  51. package/dist/plugins/index.js +7 -0
  52. package/dist/plugins/index.js.map +1 -0
  53. package/dist/preview/index.cjs +38 -0
  54. package/dist/preview/index.cjs.map +1 -0
  55. package/dist/preview/index.d.cts +101 -0
  56. package/dist/preview/index.d.ts +101 -0
  57. package/dist/preview/index.js +5 -0
  58. package/dist/preview/index.js.map +1 -0
  59. package/dist/types-NBsaxl4d.d.cts +71 -0
  60. package/dist/types-Pw2SWWAR.d.ts +71 -0
  61. package/package.json +92 -0
  62. package/src/editor/attachments/extension.ts +181 -0
  63. package/src/editor/attachments/format.ts +63 -0
  64. package/src/editor/attachments/index.ts +3 -0
  65. package/src/editor/attachments/types.ts +37 -0
  66. package/src/editor/heading-fold/config.ts +25 -0
  67. package/src/editor/heading-fold/extension.ts +268 -0
  68. package/src/editor/heading-fold/extract.ts +88 -0
  69. package/src/editor/heading-fold/index.ts +5 -0
  70. package/src/editor/heading-fold/theme.ts +85 -0
  71. package/src/editor/heading-fold/types.ts +24 -0
  72. package/src/editor/i18n.ts +13 -0
  73. package/src/editor/icons/index.ts +367 -0
  74. package/src/editor/index.ts +16 -0
  75. package/src/editor/mardora.ts +257 -0
  76. package/src/editor/media-lightbox-theme.ts +146 -0
  77. package/src/editor/media-lightbox.ts +125 -0
  78. package/src/editor/plugin.ts +294 -0
  79. package/src/editor/selection-toolbar/activation.ts +123 -0
  80. package/src/editor/selection-toolbar/commands.ts +279 -0
  81. package/src/editor/selection-toolbar/extension.ts +564 -0
  82. package/src/editor/selection-toolbar/i18n.ts +164 -0
  83. package/src/editor/selection-toolbar/index.ts +7 -0
  84. package/src/editor/selection-toolbar/menu.ts +252 -0
  85. package/src/editor/selection-toolbar/position.ts +43 -0
  86. package/src/editor/selection-toolbar/theme.ts +195 -0
  87. package/src/editor/selection-toolbar/types.ts +155 -0
  88. package/src/editor/slash/default-commands.ts +190 -0
  89. package/src/editor/slash/extension.ts +319 -0
  90. package/src/editor/slash/index.ts +7 -0
  91. package/src/editor/slash/insertions.ts +26 -0
  92. package/src/editor/slash/menu.ts +123 -0
  93. package/src/editor/slash/position.ts +61 -0
  94. package/src/editor/slash/query.ts +33 -0
  95. package/src/editor/slash/theme.ts +113 -0
  96. package/src/editor/slash/types.ts +40 -0
  97. package/src/editor/table-of-contents/extension.ts +202 -0
  98. package/src/editor/table-of-contents/extract.ts +53 -0
  99. package/src/editor/table-of-contents/index.ts +7 -0
  100. package/src/editor/table-of-contents/panel.ts +83 -0
  101. package/src/editor/table-of-contents/slug.ts +50 -0
  102. package/src/editor/table-of-contents/storage.ts +35 -0
  103. package/src/editor/table-of-contents/theme.ts +153 -0
  104. package/src/editor/table-of-contents/types.ts +44 -0
  105. package/src/editor/theme.ts +72 -0
  106. package/src/editor/utils.ts +176 -0
  107. package/src/editor/view-plugin.ts +189 -0
  108. package/src/index.ts +5 -0
  109. package/src/lib/index.ts +2 -0
  110. package/src/lib/input-handler.ts +47 -0
  111. package/src/plugins/code-plugin.theme.ts +545 -0
  112. package/src/plugins/code-plugin.ts +1892 -0
  113. package/src/plugins/emoji-plugin.ts +140 -0
  114. package/src/plugins/heading-plugin.ts +194 -0
  115. package/src/plugins/hr-plugin.ts +102 -0
  116. package/src/plugins/html-plugin.ts +353 -0
  117. package/src/plugins/image-plugin.ts +806 -0
  118. package/src/plugins/index.ts +71 -0
  119. package/src/plugins/inline-plugin.ts +311 -0
  120. package/src/plugins/link-plugin.ts +509 -0
  121. package/src/plugins/list-plugin.ts +492 -0
  122. package/src/plugins/math-plugin.ts +526 -0
  123. package/src/plugins/mermaid-plugin.ts +513 -0
  124. package/src/plugins/paragraph-plugin.ts +38 -0
  125. package/src/plugins/quote-plugin.ts +733 -0
  126. package/src/plugins/table-controls-theme.ts +126 -0
  127. package/src/plugins/table-controls.ts +423 -0
  128. package/src/plugins/table-model.ts +661 -0
  129. package/src/plugins/table-plugin.ts +2111 -0
  130. package/src/preview/context.ts +45 -0
  131. package/src/preview/css-generator.ts +64 -0
  132. package/src/preview/default-renderers.ts +29 -0
  133. package/src/preview/index.ts +29 -0
  134. package/src/preview/preview.ts +41 -0
  135. package/src/preview/renderer.ts +184 -0
  136. package/src/preview/syntax-theme.ts +112 -0
  137. package/src/preview/toc.ts +23 -0
  138. package/src/preview/types.ts +89 -0
@@ -0,0 +1,104 @@
1
+ 'use strict';
2
+
3
+ var chunk7JOEPNEV_cjs = require('../chunk-7JOEPNEV.cjs');
4
+ require('../chunk-MLBEBFHB.cjs');
5
+ require('../chunk-KNDWF2DP.cjs');
6
+ require('../chunk-SWFUKJDO.cjs');
7
+ require('../chunk-WFVCG4LD.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "CODE_COPY_SUCCESS_ICON", {
12
+ enumerable: true,
13
+ get: function () { return chunk7JOEPNEV_cjs.CODE_COPY_SUCCESS_ICON; }
14
+ });
15
+ Object.defineProperty(exports, "CodePlugin", {
16
+ enumerable: true,
17
+ get: function () { return chunk7JOEPNEV_cjs.CodePlugin; }
18
+ });
19
+ Object.defineProperty(exports, "EmojiPlugin", {
20
+ enumerable: true,
21
+ get: function () { return chunk7JOEPNEV_cjs.EmojiPlugin; }
22
+ });
23
+ Object.defineProperty(exports, "HRPlugin", {
24
+ enumerable: true,
25
+ get: function () { return chunk7JOEPNEV_cjs.HRPlugin; }
26
+ });
27
+ Object.defineProperty(exports, "HTMLPlugin", {
28
+ enumerable: true,
29
+ get: function () { return chunk7JOEPNEV_cjs.HTMLPlugin; }
30
+ });
31
+ Object.defineProperty(exports, "HeadingPlugin", {
32
+ enumerable: true,
33
+ get: function () { return chunk7JOEPNEV_cjs.HeadingPlugin; }
34
+ });
35
+ Object.defineProperty(exports, "ImagePlugin", {
36
+ enumerable: true,
37
+ get: function () { return chunk7JOEPNEV_cjs.ImagePlugin; }
38
+ });
39
+ Object.defineProperty(exports, "InlinePlugin", {
40
+ enumerable: true,
41
+ get: function () { return chunk7JOEPNEV_cjs.InlinePlugin; }
42
+ });
43
+ Object.defineProperty(exports, "LinkPlugin", {
44
+ enumerable: true,
45
+ get: function () { return chunk7JOEPNEV_cjs.LinkPlugin; }
46
+ });
47
+ Object.defineProperty(exports, "ListPlugin", {
48
+ enumerable: true,
49
+ get: function () { return chunk7JOEPNEV_cjs.ListPlugin; }
50
+ });
51
+ Object.defineProperty(exports, "MathPlugin", {
52
+ enumerable: true,
53
+ get: function () { return chunk7JOEPNEV_cjs.MathPlugin; }
54
+ });
55
+ Object.defineProperty(exports, "MermaidPlugin", {
56
+ enumerable: true,
57
+ get: function () { return chunk7JOEPNEV_cjs.MermaidPlugin; }
58
+ });
59
+ Object.defineProperty(exports, "ParagraphPlugin", {
60
+ enumerable: true,
61
+ get: function () { return chunk7JOEPNEV_cjs.ParagraphPlugin; }
62
+ });
63
+ Object.defineProperty(exports, "QuotePlugin", {
64
+ enumerable: true,
65
+ get: function () { return chunk7JOEPNEV_cjs.QuotePlugin; }
66
+ });
67
+ Object.defineProperty(exports, "TablePlugin", {
68
+ enumerable: true,
69
+ get: function () { return chunk7JOEPNEV_cjs.TablePlugin; }
70
+ });
71
+ Object.defineProperty(exports, "allPlugins", {
72
+ enumerable: true,
73
+ get: function () { return chunk7JOEPNEV_cjs.allPlugins; }
74
+ });
75
+ Object.defineProperty(exports, "bindCodeCopyButtons", {
76
+ enumerable: true,
77
+ get: function () { return chunk7JOEPNEV_cjs.bindCodeCopyButtons; }
78
+ });
79
+ Object.defineProperty(exports, "copyCodeTextToClipboard", {
80
+ enumerable: true,
81
+ get: function () { return chunk7JOEPNEV_cjs.copyCodeTextToClipboard; }
82
+ });
83
+ Object.defineProperty(exports, "decodeCodeCopyPayload", {
84
+ enumerable: true,
85
+ get: function () { return chunk7JOEPNEV_cjs.decodeCodeCopyPayload; }
86
+ });
87
+ Object.defineProperty(exports, "encodeCodeCopyPayload", {
88
+ enumerable: true,
89
+ get: function () { return chunk7JOEPNEV_cjs.encodeCodeCopyPayload; }
90
+ });
91
+ Object.defineProperty(exports, "essentialPlugins", {
92
+ enumerable: true,
93
+ get: function () { return chunk7JOEPNEV_cjs.essentialPlugins; }
94
+ });
95
+ Object.defineProperty(exports, "resolveCalloutTitleInputTarget", {
96
+ enumerable: true,
97
+ get: function () { return chunk7JOEPNEV_cjs.resolveCalloutTitleInputTarget; }
98
+ });
99
+ Object.defineProperty(exports, "resolveCalloutTypeChange", {
100
+ enumerable: true,
101
+ get: function () { return chunk7JOEPNEV_cjs.resolveCalloutTypeChange; }
102
+ });
103
+ //# sourceMappingURL=index.cjs.map
104
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}