@editora/plugins 1.0.6 → 1.0.8
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/README.md +57 -4
- package/dist/_commonjsHelpers-BH3jXuIh.js +1 -0
- package/dist/_commonjsHelpers-ByX85dGu.mjs +33 -0
- package/dist/anchor.cjs.js +11 -11
- package/dist/anchor.esm.js +130 -107
- package/dist/anchoredPopover-BzqGPOAE.js +1 -0
- package/dist/anchoredPopover-Dts0IrgU.mjs +106 -0
- package/dist/background-color.cjs.js +3 -3
- package/dist/background-color.esm.js +116 -119
- package/dist/code.cjs.js +82 -102
- package/dist/code.esm.js +1172 -662
- package/dist/comments.cjs.js +10 -10
- package/dist/comments.esm.js +195 -177
- package/dist/document-manager.cjs.js +1 -1
- package/dist/document-manager.esm.js +1 -1
- package/dist/documentManager-CTqRftU8.mjs +8369 -0
- package/dist/documentManager-Jf0RbSks.js +17 -0
- package/dist/embed-iframe.cjs.js +2 -2
- package/dist/embed-iframe.esm.js +8 -5
- package/dist/emojis.cjs.js +64 -39
- package/dist/emojis.esm.js +133 -104
- package/dist/html2canvas.esm-B5qzocYs.js +5 -0
- package/dist/html2canvas.esm-BWVIUcAF.mjs +4802 -0
- package/dist/{index-Bskk414V.mjs → index-BFsKNTTj.mjs} +50 -50
- package/dist/index-CvJk4DKa.js +221 -0
- package/dist/index-D3CycEFU.mjs +16543 -0
- package/dist/index-tqLTHcO6.js +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/{index.es-Cz1qItab.js → index.es-CE_A4QSm.js} +5 -5
- package/dist/{index.es-DEcRmSTY.mjs → index.es-DQ78mYYo.mjs} +4 -3
- package/dist/index.esm.js +87 -79
- package/dist/jspdf.es.min-BoS80556.js +77 -0
- package/dist/jspdf.es.min-DQCoX5yh.mjs +7889 -0
- package/dist/link.cjs.js +6 -6
- package/dist/link.esm.js +41 -39
- package/dist/math.cjs.js +21 -21
- package/dist/math.esm.js +151 -112
- package/dist/media-manager.cjs.js +15 -15
- package/dist/media-manager.esm.js +227 -206
- package/dist/merge-tag.cjs.js +44 -12
- package/dist/merge-tag.esm.js +368 -241
- package/dist/page-break.cjs.js +2 -2
- package/dist/page-break.esm.js +77 -69
- package/dist/special-characters.cjs.js +83 -45
- package/dist/special-characters.esm.js +149 -100
- package/dist/spell-check.cjs.js +9 -9
- package/dist/spell-check.esm.js +235 -216
- package/dist/template.cjs.js +14 -14
- package/dist/template.esm.js +157 -131
- package/dist/text-color.cjs.js +9 -9
- package/dist/text-color.esm.js +131 -115
- package/index.d.ts +51 -1
- package/package.json +6 -4
- package/dist/colorSelectionApply-C0iOfMWb.js +0 -1
- package/dist/colorSelectionApply-D8r_gV32.mjs +0 -63
- package/dist/documentManager-DRUc1-Cs.mjs +0 -37581
- package/dist/documentManager-_tQQfQi9.js +0 -317
- package/dist/index-D3pJyAsj.js +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { c as Da,
|
|
1
|
+
import { c as Da, g as il } from "./_commonjsHelpers-ByX85dGu.mjs";
|
|
2
|
+
import { _ as Va } from "./jspdf.es.min-DQCoX5yh.mjs";
|
|
2
3
|
var fn = {}, cn = {}, cr, vn;
|
|
3
4
|
function Q() {
|
|
4
5
|
if (vn) return cr;
|
|
@@ -3261,7 +3262,7 @@ function Nf(n) {
|
|
|
3261
3262
|
createImage: r.loadImage
|
|
3262
3263
|
};
|
|
3263
3264
|
}
|
|
3264
|
-
var
|
|
3265
|
+
var $c = /* @__PURE__ */ Object.freeze({
|
|
3265
3266
|
__proto__: null,
|
|
3266
3267
|
offscreen: If,
|
|
3267
3268
|
node: Nf
|
|
@@ -6654,7 +6655,7 @@ export {
|
|
|
6654
6655
|
Df as normalizeAttributeName,
|
|
6655
6656
|
Vf as normalizeColor,
|
|
6656
6657
|
Ll as parseExternalUrl,
|
|
6657
|
-
|
|
6658
|
+
$c as presets,
|
|
6658
6659
|
ye as toNumbers,
|
|
6659
6660
|
_f as trimLeft,
|
|
6660
6661
|
Mf as trimRight,
|
package/dist/index.esm.js
CHANGED
|
@@ -1,91 +1,99 @@
|
|
|
1
|
-
import { HeadingPlugin as
|
|
2
|
-
import { BoldPlugin as
|
|
3
|
-
import { ItalicPlugin as
|
|
1
|
+
import { HeadingPlugin as r } from "./heading.esm.js";
|
|
2
|
+
import { BoldPlugin as i } from "./bold.esm.js";
|
|
3
|
+
import { ItalicPlugin as n } from "./italic.esm.js";
|
|
4
4
|
import { UnderlinePlugin as m } from "./underline.esm.js";
|
|
5
|
-
import { StrikethroughPlugin as
|
|
6
|
-
import { ListPlugin as
|
|
7
|
-
import { ChecklistPlugin as
|
|
8
|
-
import { HistoryPlugin as
|
|
9
|
-
import { LinkPlugin as
|
|
10
|
-
import { BlockquotePlugin as
|
|
5
|
+
import { StrikethroughPlugin as a } from "./strikethrough.esm.js";
|
|
6
|
+
import { ListPlugin as f } from "./list.esm.js";
|
|
7
|
+
import { ChecklistPlugin as x } from "./checklist.esm.js";
|
|
8
|
+
import { HistoryPlugin as C } from "./history.esm.js";
|
|
9
|
+
import { LinkPlugin as c } from "./link.esm.js";
|
|
10
|
+
import { BlockquotePlugin as M } from "./blockquote.esm.js";
|
|
11
11
|
import { ClearFormattingPlugin as A } from "./clear-formatting.esm.js";
|
|
12
|
-
import { CodePlugin as
|
|
13
|
-
import { TablePlugin as
|
|
14
|
-
import { FontSizePlugin as
|
|
15
|
-
import { FontFamilyPlugin as
|
|
12
|
+
import { CodePlugin as D } from "./code.esm.js";
|
|
13
|
+
import { TablePlugin as F } from "./table.esm.js";
|
|
14
|
+
import { FontSizePlugin as S } from "./font-size.esm.js";
|
|
15
|
+
import { FontFamilyPlugin as B } from "./font-family.esm.js";
|
|
16
16
|
import { TextAlignmentPlugin as I } from "./text-alignment.esm.js";
|
|
17
17
|
import { TextColorPlugin as z } from "./text-color.esm.js";
|
|
18
|
-
import { BackgroundColorPlugin as
|
|
19
|
-
import { LineHeightPlugin as
|
|
18
|
+
import { BackgroundColorPlugin as v } from "./background-color.esm.js";
|
|
19
|
+
import { LineHeightPlugin as j } from "./line-height.esm.js";
|
|
20
20
|
import { IndentPlugin as w } from "./indent.esm.js";
|
|
21
|
-
import { DirectionPlugin as
|
|
22
|
-
import { CapitalizationPlugin as
|
|
23
|
-
import { MathPlugin as
|
|
24
|
-
import { SpecialCharactersPlugin as
|
|
25
|
-
import { EmojisPlugin as
|
|
26
|
-
import { EmbedIframePlugin as
|
|
27
|
-
import { AnchorPlugin as
|
|
28
|
-
import { MediaManagerPlugin as
|
|
29
|
-
import { D as
|
|
30
|
-
import { PreviewPlugin as
|
|
31
|
-
import { FullscreenPlugin as
|
|
32
|
-
import { PrintPlugin as
|
|
33
|
-
import { PageBreakPlugin as
|
|
34
|
-
import { FootnotePlugin as
|
|
35
|
-
import { CodeSamplePlugin as
|
|
36
|
-
import { MergeTagPlugin as
|
|
37
|
-
import { TemplatePlugin as
|
|
38
|
-
import { CommentsPlugin as
|
|
39
|
-
import { SpellCheckPlugin as
|
|
40
|
-
import { A11yCheckerPlugin as
|
|
41
|
-
import { buildApiUrl as
|
|
21
|
+
import { DirectionPlugin as R } from "./direction.esm.js";
|
|
22
|
+
import { CapitalizationPlugin as J } from "./capitalization.esm.js";
|
|
23
|
+
import { MathPlugin as O } from "./math.esm.js";
|
|
24
|
+
import { SpecialCharactersPlugin as V } from "./special-characters.esm.js";
|
|
25
|
+
import { EmojisPlugin as X } from "./emojis.esm.js";
|
|
26
|
+
import { EmbedIframePlugin as Z } from "./embed-iframe.esm.js";
|
|
27
|
+
import { AnchorPlugin as ee } from "./anchor.esm.js";
|
|
28
|
+
import { MediaManagerPlugin as re, getMediaManagerConfig as te, setMediaManagerConfig as ie } from "./media-manager.esm.js";
|
|
29
|
+
import { D as ne, g as ge, s as me } from "./index-BFsKNTTj.mjs";
|
|
30
|
+
import { PreviewPlugin as ae } from "./preview.esm.js";
|
|
31
|
+
import { FullscreenPlugin as fe } from "./fullscreen.esm.js";
|
|
32
|
+
import { PrintPlugin as xe } from "./print.esm.js";
|
|
33
|
+
import { PageBreakPlugin as Ce } from "./page-break.esm.js";
|
|
34
|
+
import { FootnotePlugin as ce } from "./footnote.esm.js";
|
|
35
|
+
import { CodeSamplePlugin as Me } from "./code-sample.esm.js";
|
|
36
|
+
import { MergeTagPlugin as Ae } from "./merge-tag.esm.js";
|
|
37
|
+
import { PREDEFINED_TEMPLATES as De, TemplatePlugin as Ee, addCustomTemplate as Fe, getAllTemplates as be, getTemplateCategories as Se, getTemplatesByCategory as ye, sanitizeTemplate as Be, searchTemplates as He, validateTemplate as Ie } from "./template.esm.js";
|
|
38
|
+
import { CommentsPlugin as ze } from "./comments.esm.js";
|
|
39
|
+
import { SpellCheckPlugin as ve } from "./spell-check.esm.js";
|
|
40
|
+
import { A11yCheckerPlugin as je } from "./a11y-checker.esm.js";
|
|
41
|
+
import { buildApiUrl as we, getGlobalApiConfig as Ne, getGlobalApiHeaders as Re, setGlobalApiConfig as _e } from "./shared-config.esm.js";
|
|
42
42
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
43
|
+
je as A11yCheckerPlugin,
|
|
44
|
+
ee as AnchorPlugin,
|
|
45
|
+
v as BackgroundColorPlugin,
|
|
46
|
+
M as BlockquotePlugin,
|
|
47
|
+
i as BoldPlugin,
|
|
48
|
+
J as CapitalizationPlugin,
|
|
49
|
+
x as ChecklistPlugin,
|
|
50
50
|
A as ClearFormattingPlugin,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
51
|
+
D as CodePlugin,
|
|
52
|
+
Me as CodeSamplePlugin,
|
|
53
|
+
ze as CommentsPlugin,
|
|
54
|
+
R as DirectionPlugin,
|
|
55
|
+
ne as DocumentManagerPlugin,
|
|
56
|
+
Z as EmbedIframePlugin,
|
|
57
|
+
X as EmojisPlugin,
|
|
58
|
+
B as FontFamilyPlugin,
|
|
59
|
+
S as FontSizePlugin,
|
|
60
|
+
ce as FootnotePlugin,
|
|
61
|
+
fe as FullscreenPlugin,
|
|
62
|
+
r as HeadingPlugin,
|
|
63
|
+
C as HistoryPlugin,
|
|
64
64
|
w as IndentPlugin,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
65
|
+
n as ItalicPlugin,
|
|
66
|
+
j as LineHeightPlugin,
|
|
67
|
+
c as LinkPlugin,
|
|
68
|
+
f as ListPlugin,
|
|
69
|
+
O as MathPlugin,
|
|
70
|
+
re as MediaManagerPlugin,
|
|
71
|
+
Ae as MergeTagPlugin,
|
|
72
|
+
De as PREDEFINED_TEMPLATES,
|
|
73
|
+
Ce as PageBreakPlugin,
|
|
74
|
+
ae as PreviewPlugin,
|
|
75
|
+
xe as PrintPlugin,
|
|
76
|
+
V as SpecialCharactersPlugin,
|
|
77
|
+
ve as SpellCheckPlugin,
|
|
78
|
+
a as StrikethroughPlugin,
|
|
79
|
+
F as TablePlugin,
|
|
80
|
+
Ee as TemplatePlugin,
|
|
80
81
|
I as TextAlignmentPlugin,
|
|
81
82
|
z as TextColorPlugin,
|
|
82
83
|
m as UnderlinePlugin,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
84
|
+
Fe as addCustomTemplate,
|
|
85
|
+
we as buildApiUrl,
|
|
86
|
+
be as getAllTemplates,
|
|
87
|
+
ge as getDocumentManagerConfig,
|
|
88
|
+
Ne as getGlobalApiConfig,
|
|
89
|
+
Re as getGlobalApiHeaders,
|
|
90
|
+
te as getMediaManagerConfig,
|
|
91
|
+
Se as getTemplateCategories,
|
|
92
|
+
ye as getTemplatesByCategory,
|
|
93
|
+
Be as sanitizeTemplate,
|
|
94
|
+
He as searchTemplates,
|
|
95
|
+
me as setDocumentManagerConfig,
|
|
96
|
+
_e as setGlobalApiConfig,
|
|
97
|
+
ie as setMediaManagerConfig,
|
|
98
|
+
Ie as validateTemplate
|
|
91
99
|
};
|