@pixerate/editor 0.25.0 → 0.26.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.
- package/README.md +30 -0
- package/THIRD_PARTY_NOTICES.md +11 -0
- package/dist/agent/index.cjs +174 -11
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +18 -4
- package/dist/agent/index.d.ts +18 -4
- package/dist/agent/index.js +167 -4
- package/dist/agent/index.js.map +1 -1
- package/dist/{arrangeShortcuts-B8O3f8-P.d.cts → arrange-BICutYPk.d.cts} +243 -29
- package/dist/{arrangeShortcuts-sLlD2rSX.d.ts → arrange-BICutYPk.d.ts} +243 -29
- package/dist/builtins-CdPcLwwF.d.cts +176 -0
- package/dist/builtins-Chj6zv_O.d.ts +176 -0
- package/dist/canvas/index.cjs +3917 -19
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +1232 -7
- package/dist/canvas/index.d.ts +1232 -7
- package/dist/canvas/index.js +3916 -18
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-3CC7OPUQ.cjs +831 -0
- package/dist/chunk-3CC7OPUQ.cjs.map +1 -0
- package/dist/{chunk-AL6JMGWW.cjs → chunk-CS6NZWWA.cjs} +24 -24
- package/dist/{chunk-AL6JMGWW.cjs.map → chunk-CS6NZWWA.cjs.map} +1 -1
- package/dist/{chunk-C7P22VIP.cjs → chunk-EWCOFSCQ.cjs} +17 -6
- package/dist/chunk-EWCOFSCQ.cjs.map +1 -0
- package/dist/chunk-HDYMLS3X.cjs +409 -0
- package/dist/chunk-HDYMLS3X.cjs.map +1 -0
- package/dist/{chunk-X4N4WUKB.cjs → chunk-IFHKKVXH.cjs} +150 -38
- package/dist/chunk-IFHKKVXH.cjs.map +1 -0
- package/dist/{chunk-ECCCYKGL.js → chunk-JOIREKL7.js} +63 -39
- package/dist/chunk-JOIREKL7.js.map +1 -0
- package/dist/chunk-KRGXUQ2Y.js +1696 -0
- package/dist/chunk-KRGXUQ2Y.js.map +1 -0
- package/dist/{chunk-QGYDWPRM.js → chunk-MHEPLBFB.js} +2 -2
- package/dist/chunk-MR2764X2.js +831 -0
- package/dist/chunk-MR2764X2.js.map +1 -0
- package/dist/{chunk-7WISYZFO.cjs → chunk-NFVBT3UZ.cjs} +67 -43
- package/dist/chunk-NFVBT3UZ.cjs.map +1 -0
- package/dist/{chunk-WSQKHXW7.cjs → chunk-NQF32I6Z.cjs} +1209 -457
- package/dist/chunk-NQF32I6Z.cjs.map +1 -0
- package/dist/{chunk-IXHSYOVY.js → chunk-Q2OHWD2A.js} +638 -866
- package/dist/chunk-Q2OHWD2A.js.map +1 -0
- package/dist/{chunk-NAXVVS5I.js → chunk-QJSOZFCZ.js} +2 -2
- package/dist/{chunk-V3CHHWOE.cjs → chunk-RRREAOVM.cjs} +4 -4
- package/dist/{chunk-V3CHHWOE.cjs.map → chunk-RRREAOVM.cjs.map} +1 -1
- package/dist/{chunk-UAKDG62Z.js → chunk-SWE3NPOU.js} +116 -4
- package/dist/chunk-SWE3NPOU.js.map +1 -0
- package/dist/chunk-TXXNBDQX.cjs +1696 -0
- package/dist/chunk-TXXNBDQX.cjs.map +1 -0
- package/dist/chunk-UBCFIABU.js +409 -0
- package/dist/chunk-UBCFIABU.js.map +1 -0
- package/dist/{chunk-RR7F5GUM.js → chunk-X7HXL2SB.js} +941 -189
- package/dist/chunk-X7HXL2SB.js.map +1 -0
- package/dist/{chunk-PO6A6QQH.cjs → chunk-YOMYSFJU.cjs} +742 -970
- package/dist/chunk-YOMYSFJU.cjs.map +1 -0
- package/dist/{chunk-FH6F67DN.js → chunk-ZRNHGAQT.js} +17 -6
- package/dist/{chunk-FH6F67DN.js.map → chunk-ZRNHGAQT.js.map} +1 -1
- package/dist/commands/index.cjs +352 -4
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +37 -108
- package/dist/commands/index.d.ts +37 -108
- package/dist/commands/index.js +351 -3
- package/dist/commands/index.js.map +1 -1
- package/dist/compare/index.cjs +3 -3
- package/dist/compare/index.js +2 -2
- package/dist/{controller-BIJiNoVs.d.cts → controller-CxXGOEmy.d.cts} +209 -13
- package/dist/{controller-BIJiNoVs.d.ts → controller-CxXGOEmy.d.ts} +209 -13
- package/dist/export/index.cjs +36 -0
- package/dist/export/index.cjs.map +1 -0
- package/dist/export/index.d.cts +243 -0
- package/dist/export/index.d.ts +243 -0
- package/dist/export/index.js +36 -0
- package/dist/export/index.js.map +1 -0
- package/dist/extensions/index.cjs +54 -6
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +7 -2
- package/dist/extensions/index.d.ts +7 -2
- package/dist/extensions/index.js +59 -11
- package/dist/{index-7a6bHTLy.d.ts → index-B273Zllk.d.ts} +211 -207
- package/dist/{index-Csd5qI8u.d.cts → index-jcJwmBYt.d.cts} +211 -207
- package/dist/index.cjs +144 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -13
- package/dist/index.d.ts +49 -13
- package/dist/index.js +136 -24
- package/dist/index.js.map +1 -1
- package/dist/registry-CED5C0lA.d.cts +204 -0
- package/dist/registry-CED5C0lA.d.ts +204 -0
- package/dist/{registry-D32LpIc4.d.cts → registry-D0GADKc7.d.cts} +1 -1
- package/dist/{registry-evKTP4ls.d.ts → registry-DhVUZioj.d.ts} +1 -1
- package/dist/serializers/index.cjs +4 -4
- package/dist/serializers/index.d.cts +2 -1
- package/dist/serializers/index.d.ts +2 -1
- package/dist/serializers/index.js +3 -3
- package/dist/spreadsheet/index.cjs +33 -3
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +106 -3
- package/dist/spreadsheet/index.d.ts +106 -3
- package/dist/spreadsheet/index.js +32 -2
- package/package.json +10 -1
- package/dist/chunk-7WISYZFO.cjs.map +0 -1
- package/dist/chunk-C7P22VIP.cjs.map +0 -1
- package/dist/chunk-ECCCYKGL.js.map +0 -1
- package/dist/chunk-IXHSYOVY.js.map +0 -1
- package/dist/chunk-PO6A6QQH.cjs.map +0 -1
- package/dist/chunk-RR7F5GUM.js.map +0 -1
- package/dist/chunk-UAKDG62Z.js.map +0 -1
- package/dist/chunk-WSQKHXW7.cjs.map +0 -1
- package/dist/chunk-X4N4WUKB.cjs.map +0 -1
- package/dist/types-DX4Mh4SL.d.cts +0 -217
- package/dist/types-DX4Mh4SL.d.ts +0 -217
- /package/dist/{chunk-QGYDWPRM.js.map → chunk-MHEPLBFB.js.map} +0 -0
- /package/dist/{chunk-NAXVVS5I.js.map → chunk-QJSOZFCZ.js.map} +0 -0
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { S as SerializedComments, f as CommentThread, R as ReviewAuthor } from '../comment-store-BEMgVlAA.js';
|
|
2
|
+
import { e as StyleRegistry, f as StyleRegistryJSON, c as StyleDefinition } from '../registry-CED5C0lA.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Dependency-free DOCX (WordprocessingML) export of TipTap documents.
|
|
6
|
+
*
|
|
7
|
+
* Takes an editor (anything with `getJSON()`) or its JSON and writes a
|
|
8
|
+
* minimal, valid package: `[Content_Types].xml`, `_rels/.rels`,
|
|
9
|
+
* `word/document.xml` (+ relationships), `styles.xml` (from the paragraph
|
|
10
|
+
* style registry, with `basedOn` / `next` / `link`), `numbering.xml` (one
|
|
11
|
+
* `w:num` per list), `settings.xml`, `comments.xml` +
|
|
12
|
+
* `commentsExtended.xml` (replies and resolved state) + `people.xml` (author
|
|
13
|
+
* ids), `docProps/core.xml` and `docProps/app.xml`, plus embedded images.
|
|
14
|
+
*
|
|
15
|
+
* Tracked insertions, deletions, moves (`w:moveFrom` / `w:moveTo` with
|
|
16
|
+
* named move ranges), formatting changes (`w:rPrChange`) and block changes
|
|
17
|
+
* (`w:pPrChange`, paragraph-mark `w:ins` / `w:del`) keep their authors and
|
|
18
|
+
* dates. Anything that cannot be written is listed in the returned report.
|
|
19
|
+
*/
|
|
20
|
+
declare const DOCX_EXPORT_MIME_TYPE = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
21
|
+
/** A ProseMirror / TipTap JSON node (`editor.getJSON()`). */
|
|
22
|
+
interface DocxJSONNode {
|
|
23
|
+
type?: string;
|
|
24
|
+
attrs?: Record<string, any>;
|
|
25
|
+
content?: DocxJSONNode[];
|
|
26
|
+
marks?: DocxJSONMark[];
|
|
27
|
+
text?: string;
|
|
28
|
+
}
|
|
29
|
+
interface DocxJSONMark {
|
|
30
|
+
type: string;
|
|
31
|
+
attrs?: Record<string, any>;
|
|
32
|
+
}
|
|
33
|
+
/** Anything with `getJSON()`, e.g. a TipTap `Editor`. Its comment store and style registry are used by default. */
|
|
34
|
+
interface DocxExportEditorLike {
|
|
35
|
+
getJSON(): DocxJSONNode;
|
|
36
|
+
storage?: unknown;
|
|
37
|
+
}
|
|
38
|
+
/** A comment store (`CommentStore`), its `toJSON()` output, or a thread list. */
|
|
39
|
+
type DocxCommentSource = {
|
|
40
|
+
toJSON(): SerializedComments;
|
|
41
|
+
} | {
|
|
42
|
+
getSnapshot(): {
|
|
43
|
+
threads: readonly CommentThread[];
|
|
44
|
+
};
|
|
45
|
+
} | SerializedComments | readonly CommentThread[];
|
|
46
|
+
interface DocxExportOptions {
|
|
47
|
+
/**
|
|
48
|
+
* Paragraph and character styles written to `styles.xml`. Defaults to the
|
|
49
|
+
* editor's registry (`ParagraphStyles` extension), else the built-in styles.
|
|
50
|
+
*/
|
|
51
|
+
styles?: StyleRegistry | StyleRegistryJSON | readonly StyleDefinition[];
|
|
52
|
+
/** Comment threads. Defaults to the editor's comment store (`Comments` extension). */
|
|
53
|
+
comments?: DocxCommentSource | null;
|
|
54
|
+
/**
|
|
55
|
+
* The document's author (`dc:creator`) and the author of tracked changes
|
|
56
|
+
* and comments that name none.
|
|
57
|
+
*/
|
|
58
|
+
author?: string | ReviewAuthor;
|
|
59
|
+
/**
|
|
60
|
+
* `"strip-authors"` writes every comment, reply and tracked change as
|
|
61
|
+
* "Author" (initials "A"), leaves out `people.xml`, the creator and last
|
|
62
|
+
* modified by, and sets `w:removePersonalInformation` so Word keeps doing
|
|
63
|
+
* so. Default `"keep"`.
|
|
64
|
+
*/
|
|
65
|
+
privacy?: "keep" | "strip-authors";
|
|
66
|
+
/** `dc:title` of the document. */
|
|
67
|
+
title?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Images with `http(s)` URLs: `"skip"` (default, reported) or `"link"`
|
|
70
|
+
* (an external relationship Word may load when the file is opened).
|
|
71
|
+
*/
|
|
72
|
+
remoteImages?: "skip" | "link";
|
|
73
|
+
/** Time written as created / modified (default: now). */
|
|
74
|
+
now?: () => Date;
|
|
75
|
+
/** ZIP compression (default `"auto"`: deflate when `CompressionStream` exists). */
|
|
76
|
+
compression?: "auto" | "store";
|
|
77
|
+
}
|
|
78
|
+
type DocxExportIssueKind = "node" | "mark" | "image" | "link" | "comment" | "style";
|
|
79
|
+
/** Something the export left out or simplified, counted per kind, name and reason. */
|
|
80
|
+
interface DocxExportIssue {
|
|
81
|
+
kind: DocxExportIssueKind;
|
|
82
|
+
/** Node / mark type, style id, image or link URL (truncated), or comment thread id. */
|
|
83
|
+
name: string;
|
|
84
|
+
reason: string;
|
|
85
|
+
count: number;
|
|
86
|
+
}
|
|
87
|
+
interface DocxExportReport {
|
|
88
|
+
/** Content that was dropped or simplified. Empty when everything was written. */
|
|
89
|
+
dropped: DocxExportIssue[];
|
|
90
|
+
/** Counts of what was written. */
|
|
91
|
+
written: {
|
|
92
|
+
paragraphs: number;
|
|
93
|
+
tables: number;
|
|
94
|
+
images: number;
|
|
95
|
+
comments: number;
|
|
96
|
+
replies: number;
|
|
97
|
+
trackedChanges: number;
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
interface DocxExportResult {
|
|
101
|
+
/** The `.docx` file. */
|
|
102
|
+
data: Uint8Array;
|
|
103
|
+
report: DocxExportReport;
|
|
104
|
+
}
|
|
105
|
+
interface DocxPackagePart {
|
|
106
|
+
name: string;
|
|
107
|
+
data: Uint8Array | string;
|
|
108
|
+
}
|
|
109
|
+
/** Name written for every author with `privacy: "strip-authors"` (as Word does). */
|
|
110
|
+
declare const DOCX_ANONYMOUS_AUTHOR = "Author";
|
|
111
|
+
/**
|
|
112
|
+
* Builds the package parts of a DOCX file without zipping them (synchronous;
|
|
113
|
+
* useful for inspection and tests). See {@link exportDocx}.
|
|
114
|
+
*/
|
|
115
|
+
declare function createDocxParts(input: DocxExportEditorLike | DocxJSONNode, options?: DocxExportOptions): {
|
|
116
|
+
parts: DocxPackagePart[];
|
|
117
|
+
report: DocxExportReport;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Exports an editor (or its JSON) as a Word document. Resolves with the file
|
|
121
|
+
* bytes and a report of what was dropped. Never fetches anything: remote
|
|
122
|
+
* images are skipped (or linked with `remoteImages: "link"`).
|
|
123
|
+
*/
|
|
124
|
+
declare function exportDocx(input: DocxExportEditorLike | DocxJSONNode, options?: DocxExportOptions): Promise<DocxExportResult>;
|
|
125
|
+
/** Like {@link exportDocx}, but resolves with a `Blob` of type {@link DOCX_EXPORT_MIME_TYPE}. */
|
|
126
|
+
declare function exportDocxBlob(input: DocxExportEditorLike | DocxJSONNode, options?: DocxExportOptions): Promise<{
|
|
127
|
+
blob: Blob;
|
|
128
|
+
report: DocxExportReport;
|
|
129
|
+
}>;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Saves a `Blob` as a file through a temporary `<a download>` link. Does
|
|
133
|
+
* nothing (returns `false`) without a DOM.
|
|
134
|
+
*/
|
|
135
|
+
declare function downloadBlob(blob: Blob, fileName: string): boolean;
|
|
136
|
+
/** `name.docx`, with characters that are invalid in file names replaced. */
|
|
137
|
+
declare function docxFileName(name: string | undefined): string;
|
|
138
|
+
interface DocxExportState {
|
|
139
|
+
isExporting: boolean;
|
|
140
|
+
/** Last export error (cleared when a new export starts). */
|
|
141
|
+
error: Error | null;
|
|
142
|
+
/** Report of the most recent successful export. */
|
|
143
|
+
lastReport: DocxExportReport | null;
|
|
144
|
+
}
|
|
145
|
+
interface DocxExportControllerOptions extends DocxExportOptions {
|
|
146
|
+
/** Download file name (default: `title`, else `document`, plus `.docx`). */
|
|
147
|
+
fileName?: string;
|
|
148
|
+
/** Called after each successful export with its report. */
|
|
149
|
+
onExport?: (report: DocxExportReport, blob: Blob) => void;
|
|
150
|
+
/** Called when an export fails (the error is also kept in the state). */
|
|
151
|
+
onError?: (error: Error) => void;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Framework-agnostic state for an "Export to Word" button: tracks
|
|
155
|
+
* `isExporting` / `error` / `lastReport` and downloads the `.docx` of the
|
|
156
|
+
* editor returned by `getSource`. React's `useDocxExport` and Svelte's
|
|
157
|
+
* `createDocxExport` wrap it.
|
|
158
|
+
*/
|
|
159
|
+
declare class DocxExportController {
|
|
160
|
+
private readonly getSource;
|
|
161
|
+
private options;
|
|
162
|
+
private state;
|
|
163
|
+
private readonly listeners;
|
|
164
|
+
private pending;
|
|
165
|
+
constructor(getSource: () => DocxExportEditorLike | DocxJSONNode | null | undefined, options?: DocxExportControllerOptions);
|
|
166
|
+
setOptions(options: DocxExportControllerOptions): void;
|
|
167
|
+
getState: () => DocxExportState;
|
|
168
|
+
subscribe: (listener: (state: DocxExportState) => void) => (() => void);
|
|
169
|
+
private setState;
|
|
170
|
+
/** Builds the `.docx` without downloading it. Resolves with `null` when there is no editor or it fails. */
|
|
171
|
+
exportBlob(): Promise<{
|
|
172
|
+
blob: Blob;
|
|
173
|
+
report: DocxExportReport;
|
|
174
|
+
} | null>;
|
|
175
|
+
/** Exports and downloads the document. Resolves with the report, or `null`. */
|
|
176
|
+
download(fileName?: string): Promise<DocxExportReport | null>;
|
|
177
|
+
}
|
|
178
|
+
declare function createDocxExportController(getSource: () => DocxExportEditorLike | DocxJSONNode | null | undefined, options?: DocxExportControllerOptions): DocxExportController;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Minimal, dependency-free ZIP writer (the counterpart of `readZip`), used by
|
|
182
|
+
* the DOCX export. Entries are deflated with the platform
|
|
183
|
+
* `CompressionStream("deflate-raw")` when it exists (modern browsers,
|
|
184
|
+
* Node ≥ 18) and stored otherwise, or when deflating does not make them
|
|
185
|
+
* smaller. Names are written as UTF-8 (flag bit 11). No ZIP64: archives are
|
|
186
|
+
* limited to 65 535 entries and 4 GiB.
|
|
187
|
+
*/
|
|
188
|
+
interface ZipWriteEntry {
|
|
189
|
+
/** Entry path with `/` separators; must be relative and free of `..`. */
|
|
190
|
+
name: string;
|
|
191
|
+
/** Strings are encoded as UTF-8. */
|
|
192
|
+
data: Uint8Array | string;
|
|
193
|
+
}
|
|
194
|
+
interface ZipWriteOptions {
|
|
195
|
+
/**
|
|
196
|
+
* `"auto"` (default) deflates when `CompressionStream` is available,
|
|
197
|
+
* `"store"` never compresses.
|
|
198
|
+
*/
|
|
199
|
+
compression?: "auto" | "store";
|
|
200
|
+
/**
|
|
201
|
+
* Modification time written for every entry (default 1980-01-01, the DOS
|
|
202
|
+
* epoch, so the output is deterministic).
|
|
203
|
+
*/
|
|
204
|
+
modified?: Date;
|
|
205
|
+
}
|
|
206
|
+
/** Raw deflate with `CompressionStream`, or `null` when it is unavailable. */
|
|
207
|
+
declare function deflateRaw(data: Uint8Array): Promise<Uint8Array | null>;
|
|
208
|
+
/** Writes a ZIP archive. Throws on unsafe or duplicate names and oversized archives. */
|
|
209
|
+
declare function writeZip(entries: readonly ZipWriteEntry[], options?: ZipWriteOptions): Promise<Uint8Array>;
|
|
210
|
+
|
|
211
|
+
/** Removes characters that are not allowed in XML 1.0 documents. */
|
|
212
|
+
declare function stripInvalidXmlChars(value: string): string;
|
|
213
|
+
/** Escapes text for XML element content (`&`, `<`, `>`), dropping invalid characters. */
|
|
214
|
+
declare function escapeXmlText(value: string): string;
|
|
215
|
+
/**
|
|
216
|
+
* Escapes a value for a double- or single-quoted XML attribute. White space
|
|
217
|
+
* other than spaces is written as character references, because attribute
|
|
218
|
+
* value normalisation would otherwise turn tabs and newlines into spaces.
|
|
219
|
+
*/
|
|
220
|
+
declare function escapeXmlAttr(value: string): string;
|
|
221
|
+
type XmlAttrs = Record<string, string | number | undefined | null | false>;
|
|
222
|
+
/**
|
|
223
|
+
* A small string-building XML writer; every attribute value and text node is
|
|
224
|
+
* escaped. Element names are trusted (always literals in this codebase).
|
|
225
|
+
*/
|
|
226
|
+
declare class XmlWriter {
|
|
227
|
+
private parts;
|
|
228
|
+
/** `declaration: false` writes a fragment (e.g. one paragraph). */
|
|
229
|
+
constructor(declaration?: boolean);
|
|
230
|
+
open(name: string, values?: XmlAttrs): this;
|
|
231
|
+
empty(name: string, values?: XmlAttrs): this;
|
|
232
|
+
close(name: string): this;
|
|
233
|
+
text(value: string): this;
|
|
234
|
+
/** `<name attrs>text</name>`. */
|
|
235
|
+
leaf(name: string, values: XmlAttrs | undefined, text: string): this;
|
|
236
|
+
/** `<name w:val="value"/>`. */
|
|
237
|
+
val(name: string, value: string | number): this;
|
|
238
|
+
/** Appends markup produced by another writer. */
|
|
239
|
+
raw(markup: string): this;
|
|
240
|
+
toString(): string;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export { DOCX_ANONYMOUS_AUTHOR, DOCX_EXPORT_MIME_TYPE, type DocxCommentSource, DocxExportController, type DocxExportControllerOptions, type DocxExportEditorLike, type DocxExportIssue, type DocxExportIssueKind, type DocxExportOptions, type DocxExportReport, type DocxExportResult, type DocxExportState, type DocxJSONMark, type DocxJSONNode, type DocxPackagePart, type XmlAttrs, XmlWriter, type ZipWriteEntry, type ZipWriteOptions, createDocxExportController, createDocxParts, deflateRaw, docxFileName, downloadBlob, escapeXmlAttr, escapeXmlText, exportDocx, exportDocxBlob, stripInvalidXmlChars, writeZip };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DOCX_ANONYMOUS_AUTHOR,
|
|
3
|
+
DOCX_EXPORT_MIME_TYPE,
|
|
4
|
+
DocxExportController,
|
|
5
|
+
XmlWriter,
|
|
6
|
+
createDocxExportController,
|
|
7
|
+
createDocxParts,
|
|
8
|
+
deflateRaw,
|
|
9
|
+
docxFileName,
|
|
10
|
+
downloadBlob,
|
|
11
|
+
escapeXmlAttr,
|
|
12
|
+
escapeXmlText,
|
|
13
|
+
exportDocx,
|
|
14
|
+
exportDocxBlob,
|
|
15
|
+
stripInvalidXmlChars,
|
|
16
|
+
writeZip
|
|
17
|
+
} from "../chunk-KRGXUQ2Y.js";
|
|
18
|
+
import "../chunk-MR2764X2.js";
|
|
19
|
+
export {
|
|
20
|
+
DOCX_ANONYMOUS_AUTHOR,
|
|
21
|
+
DOCX_EXPORT_MIME_TYPE,
|
|
22
|
+
DocxExportController,
|
|
23
|
+
XmlWriter,
|
|
24
|
+
createDocxExportController,
|
|
25
|
+
createDocxParts,
|
|
26
|
+
deflateRaw,
|
|
27
|
+
docxFileName,
|
|
28
|
+
downloadBlob,
|
|
29
|
+
escapeXmlAttr,
|
|
30
|
+
escapeXmlText,
|
|
31
|
+
exportDocx,
|
|
32
|
+
exportDocxBlob,
|
|
33
|
+
stripInvalidXmlChars,
|
|
34
|
+
writeZip
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -105,16 +105,42 @@
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
108
|
+
var _chunkYOMYSFJUcjs = require('../chunk-YOMYSFJU.cjs');
|
|
109
|
+
require('../chunk-CS6NZWWA.cjs');
|
|
108
110
|
|
|
109
111
|
|
|
110
112
|
|
|
111
113
|
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
var _chunk3CC7OPUQcjs = require('../chunk-3CC7OPUQ.cjs');
|
|
115
118
|
require('../chunk-MKA3AHLV.cjs');
|
|
116
|
-
require('../chunk-
|
|
117
|
-
|
|
119
|
+
require('../chunk-RRREAOVM.cjs');
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
var _chunkHDYMLS3Xcjs = require('../chunk-HDYMLS3X.cjs');
|
|
143
|
+
require('../chunk-NFVBT3UZ.cjs');
|
|
118
144
|
require('../chunk-BVP3TSLH.cjs');
|
|
119
145
|
|
|
120
146
|
|
|
@@ -144,7 +170,29 @@ require('../chunk-BVP3TSLH.cjs');
|
|
|
144
170
|
|
|
145
171
|
|
|
146
172
|
|
|
147
|
-
var
|
|
173
|
+
var _chunkIFHKKVXHcjs = require('../chunk-IFHKKVXH.cjs');
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
148
196
|
|
|
149
197
|
|
|
150
198
|
|
|
@@ -284,5 +332,5 @@ var _chunkX4N4WUKBcjs = require('../chunk-X4N4WUKB.cjs');
|
|
|
284
332
|
|
|
285
333
|
|
|
286
334
|
|
|
287
|
-
exports.Autocorrect = _chunkPO6A6QQHcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkX4N4WUKBcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkPO6A6QQHcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkPO6A6QQHcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkPO6A6QQHcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkPO6A6QQHcjs.CharacterStyle; exports.ColorHighlighter = _chunkPO6A6QQHcjs.ColorHighlighter; exports.CommentStore = _chunkX4N4WUKBcjs.CommentStore; exports.Comments = _chunkPO6A6QQHcjs.Comments; exports.CrossReference = _chunkPO6A6QQHcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkPO6A6QQHcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunkPO6A6QQHcjs.DEFAULT_STYLES; exports.DELETION_MARK_NAME = _chunkX4N4WUKBcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkPO6A6QQHcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkPO6A6QQHcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.FIND_OPTION_TOGGLES = _chunkPO6A6QQHcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkPO6A6QQHcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkX4N4WUKBcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkPO6A6QQHcjs.FileImport; exports.FindReplace = _chunkPO6A6QQHcjs.FindReplace; exports.FindReplaceStore = _chunkPO6A6QQHcjs.FindReplaceStore; exports.FontSize = _chunkPO6A6QQHcjs.FontSize; exports.Footnote = _chunkPO6A6QQHcjs.Footnote; exports.FootnoteReference = _chunkPO6A6QQHcjs.FootnoteReference; exports.Footnotes = _chunkPO6A6QQHcjs.Footnotes; exports.GradientText = _chunkPO6A6QQHcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkX4N4WUKBcjs.INSERTION_MARK_NAME; exports.Image = _chunkPO6A6QQHcjs.Image; exports.LoadingNode = _chunkPO6A6QQHcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkPO6A6QQHcjs.MAX_FIND_PATTERN_LENGTH; exports.MOVE_FROM_CLASS = _chunkX4N4WUKBcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunkX4N4WUKBcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunkX4N4WUKBcjs.MOVE_TO_CLASS; exports.Markdown = _chunkPO6A6QQHcjs.Markdown; exports.Mention = _chunkPO6A6QQHcjs.Mention; exports.NORMAL_STYLE_ID = _chunkPO6A6QQHcjs.NORMAL_STYLE_ID; exports.Outline = _chunkPO6A6QQHcjs.Outline; exports.ParagraphStyles = _chunkPO6A6QQHcjs.ParagraphStyles; exports.RichClipboard = _chunkPO6A6QQHcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkPO6A6QQHcjs.SMILIE_REPLACEMENTS; exports.STYLE_ID_ATTRIBUTE = _chunkPO6A6QQHcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkPO6A6QQHcjs.SlashCommands; exports.SmilieReplacer = _chunkPO6A6QQHcjs.SmilieReplacer; exports.StyleRegistry = _chunkPO6A6QQHcjs.StyleRegistry; exports.TRACK_CHANGES_SKIP_META = _chunkX4N4WUKBcjs.TRACK_CHANGES_SKIP_META; exports.TableOfContents = _chunkPO6A6QQHcjs.TableOfContents; exports.TemplateSuggestions = _chunkPO6A6QQHcjs.TemplateSuggestions; exports.TrackChanges = _chunkX4N4WUKBcjs.TrackChanges; exports.TrackChangesStore = _chunkX4N4WUKBcjs.TrackChangesStore; exports.TrackedDeletion = _chunkX4N4WUKBcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkX4N4WUKBcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkX4N4WUKBcjs.TrackedInsertion; exports.applyDocumentComparison = _chunkPO6A6QQHcjs.applyDocumentComparison; exports.applyReplacements = _chunkPO6A6QQHcjs.applyReplacements; exports.autocorrectPluginKey = _chunkPO6A6QQHcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkPO6A6QQHcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkPO6A6QQHcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkPO6A6QQHcjs.captureSelectionFormat; exports.commentsPluginKey = _chunkPO6A6QQHcjs.commentsPluginKey; exports.compareInEditor = _chunkPO6A6QQHcjs.compareInEditor; exports.compileFindPattern = _chunkPO6A6QQHcjs.compileFindPattern; exports.computeOutline = _chunkPO6A6QQHcjs.computeOutline; exports.createCommentStore = _chunkX4N4WUKBcjs.createCommentStore; exports.createFindReplaceCommands = _chunkPO6A6QQHcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkPO6A6QQHcjs.createMentionExtension; exports.createOutlineStore = _chunkPO6A6QQHcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkPO6A6QQHcjs.createParagraphStylesStore; exports.createReviewId = _chunkX4N4WUKBcjs.createReviewId; exports.createRichTextPreset = _chunkPO6A6QQHcjs.createRichTextPreset; exports.createSearchBudget = _chunkPO6A6QQHcjs.createSearchBudget; exports.createStyleRegistry = _chunkPO6A6QQHcjs.createStyleRegistry; exports.crossReferencePluginKey = _chunkPO6A6QQHcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkPO6A6QQHcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkX4N4WUKBcjs.describeBlockChange; exports.describeFormatChange = _chunkX4N4WUKBcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkPO6A6QQHcjs.documentStructureCommandItems; exports.expandReplacement = _chunkPO6A6QQHcjs.expandReplacement; exports.fileImportPluginKey = _chunkPO6A6QQHcjs.fileImportPluginKey; exports.findAllMatches = _chunkPO6A6QQHcjs.findAllMatches; exports.findAutocorrection = _chunkPO6A6QQHcjs.findAutocorrection; exports.findCommentRanges = _chunkPO6A6QQHcjs.findCommentRanges; exports.findHexColors = _chunkPO6A6QQHcjs.findHexColors; exports.findReplacePluginKey = _chunkPO6A6QQHcjs.findReplacePluginKey; exports.foldCodePoint = _chunkPO6A6QQHcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkPO6A6QQHcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkPO6A6QQHcjs.footnotesPluginKey; exports.formatFindStatus = _chunkPO6A6QQHcjs.formatFindStatus; exports.formatReviewTime = _chunkX4N4WUKBcjs.formatReviewTime; exports.fractionRules = _chunkPO6A6QQHcjs.fractionRules; exports.getActiveHeading = _chunkPO6A6QQHcjs.getActiveHeading; exports.getBookmarks = _chunkPO6A6QQHcjs.getBookmarks; exports.getCommentAnchors = _chunkPO6A6QQHcjs.getCommentAnchors; exports.getCommentAuthor = _chunkPO6A6QQHcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkPO6A6QQHcjs.getCommentIdsAt; exports.getCommentStore = _chunkPO6A6QQHcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkPO6A6QQHcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkPO6A6QQHcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkPO6A6QQHcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkPO6A6QQHcjs.getFindReplaceStore; exports.getFootnotes = _chunkPO6A6QQHcjs.getFootnotes; exports.getMentionNodes = _chunkPO6A6QQHcjs.getMentionNodes; exports.getOutline = _chunkPO6A6QQHcjs.getOutline; exports.getParagraphStyleAt = _chunkPO6A6QQHcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkPO6A6QQHcjs.getStyleRegistry; exports.getTableOfContentsEntries = _chunkPO6A6QQHcjs.getTableOfContentsEntries; exports.getTrackChangesStore = _chunkX4N4WUKBcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkX4N4WUKBcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkX4N4WUKBcjs.getTrackedChanges; exports.handleImageInsertion = _chunkPO6A6QQHcjs.handleImageInsertion; exports.imagePastePluginKey = _chunkPO6A6QQHcjs.imagePastePluginKey; exports.insertImageNode = _chunkPO6A6QQHcjs.insertImageNode; exports.isInsidePromptToken = _chunkPO6A6QQHcjs.isInsidePromptToken; exports.isMoveSized = _chunkX4N4WUKBcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkPO6A6QQHcjs.isParagraphStyleAvailable; exports.isTrackChangesEnabled = _chunkX4N4WUKBcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunkPO6A6QQHcjs.isValidStyleId; exports.navigateToHeading = _chunkPO6A6QQHcjs.navigateToHeading; exports.outlinePluginKey = _chunkPO6A6QQHcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkPO6A6QQHcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkPO6A6QQHcjs.parseReplacement; exports.removeImageNode = _chunkPO6A6QQHcjs.removeImageNode; exports.resolveTrackedChanges = _chunkX4N4WUKBcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkPO6A6QQHcjs.richClipboardPluginKey; exports.safeCSSValue = _chunkPO6A6QQHcjs.safeCSSValue; exports.searchDocument = _chunkPO6A6QQHcjs.searchDocument; exports.setMentionRoleAt = _chunkPO6A6QQHcjs.setMentionRoleAt; exports.smartQuoteRules = _chunkPO6A6QQHcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkPO6A6QQHcjs.smilieAutocorrectRules; exports.symbolRules = _chunkPO6A6QQHcjs.symbolRules; exports.syncFootnotes = _chunkPO6A6QQHcjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkPO6A6QQHcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkPO6A6QQHcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkX4N4WUKBcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkX4N4WUKBcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkPO6A6QQHcjs.twoInitialCapitalsRules; exports.updateImageSrc = _chunkPO6A6QQHcjs.updateImageSrc; exports.validateFindPattern = _chunkPO6A6QQHcjs.validateFindPattern; exports.writeRichClipboard = _chunkPO6A6QQHcjs.writeRichClipboard;
|
|
335
|
+
exports.Autocorrect = _chunkYOMYSFJUcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkIFHKKVXHcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkYOMYSFJUcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkYOMYSFJUcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkYOMYSFJUcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkYOMYSFJUcjs.CharacterStyle; exports.ColorHighlighter = _chunkYOMYSFJUcjs.ColorHighlighter; exports.CommentStore = _chunkIFHKKVXHcjs.CommentStore; exports.Comments = _chunkYOMYSFJUcjs.Comments; exports.CrossReference = _chunkYOMYSFJUcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkYOMYSFJUcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunk3CC7OPUQcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkHDYMLS3Xcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkHDYMLS3Xcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunkIFHKKVXHcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkYOMYSFJUcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkYOMYSFJUcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkHDYMLS3Xcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkYOMYSFJUcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkYOMYSFJUcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkIFHKKVXHcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkYOMYSFJUcjs.FileImport; exports.FindReplace = _chunkYOMYSFJUcjs.FindReplace; exports.FindReplaceStore = _chunkYOMYSFJUcjs.FindReplaceStore; exports.FontSize = _chunkYOMYSFJUcjs.FontSize; exports.Footnote = _chunkYOMYSFJUcjs.Footnote; exports.FootnoteReference = _chunkYOMYSFJUcjs.FootnoteReference; exports.Footnotes = _chunkYOMYSFJUcjs.Footnotes; exports.GradientText = _chunkYOMYSFJUcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkIFHKKVXHcjs.INSERTION_MARK_NAME; exports.Image = _chunkYOMYSFJUcjs.Image; exports.LoadingNode = _chunkYOMYSFJUcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkYOMYSFJUcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_TABLE_COLUMNS = _chunkHDYMLS3Xcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkHDYMLS3Xcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunkIFHKKVXHcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunkIFHKKVXHcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunkIFHKKVXHcjs.MOVE_TO_CLASS; exports.Markdown = _chunkYOMYSFJUcjs.Markdown; exports.Mention = _chunkYOMYSFJUcjs.Mention; exports.NORMAL_STYLE_ID = _chunk3CC7OPUQcjs.NORMAL_STYLE_ID; exports.Outline = _chunkYOMYSFJUcjs.Outline; exports.ParagraphStyles = _chunkYOMYSFJUcjs.ParagraphStyles; exports.RichClipboard = _chunkYOMYSFJUcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkYOMYSFJUcjs.SMILIE_REPLACEMENTS; exports.STYLE_ID_ATTRIBUTE = _chunkYOMYSFJUcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkYOMYSFJUcjs.SlashCommands; exports.SmilieReplacer = _chunkYOMYSFJUcjs.SmilieReplacer; exports.StyleRegistry = _chunk3CC7OPUQcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkHDYMLS3Xcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunkIFHKKVXHcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkHDYMLS3Xcjs.Table; exports.TableCell = _chunkHDYMLS3Xcjs.TableCell; exports.TableHeader = _chunkHDYMLS3Xcjs.TableHeader; exports.TableOfContents = _chunkYOMYSFJUcjs.TableOfContents; exports.TableRow = _chunkHDYMLS3Xcjs.TableRow; exports.TemplateSuggestions = _chunkYOMYSFJUcjs.TemplateSuggestions; exports.TrackChanges = _chunkIFHKKVXHcjs.TrackChanges; exports.TrackChangesStore = _chunkIFHKKVXHcjs.TrackChangesStore; exports.TrackedDeletion = _chunkIFHKKVXHcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkIFHKKVXHcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkIFHKKVXHcjs.TrackedInsertion; exports.applyDocumentComparison = _chunkYOMYSFJUcjs.applyDocumentComparison; exports.applyReplacements = _chunkYOMYSFJUcjs.applyReplacements; exports.autocorrectPluginKey = _chunkYOMYSFJUcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkYOMYSFJUcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkYOMYSFJUcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkYOMYSFJUcjs.captureSelectionFormat; exports.commentsPluginKey = _chunkYOMYSFJUcjs.commentsPluginKey; exports.compareInEditor = _chunkYOMYSFJUcjs.compareInEditor; exports.compileFindPattern = _chunkYOMYSFJUcjs.compileFindPattern; exports.computeOutline = _chunkYOMYSFJUcjs.computeOutline; exports.createCommentStore = _chunkIFHKKVXHcjs.createCommentStore; exports.createFindReplaceCommands = _chunkYOMYSFJUcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkYOMYSFJUcjs.createMentionExtension; exports.createOutlineStore = _chunkYOMYSFJUcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkYOMYSFJUcjs.createParagraphStylesStore; exports.createReviewId = _chunkIFHKKVXHcjs.createReviewId; exports.createRichTextPreset = _chunkYOMYSFJUcjs.createRichTextPreset; exports.createSearchBudget = _chunkYOMYSFJUcjs.createSearchBudget; exports.createStyleRegistry = _chunk3CC7OPUQcjs.createStyleRegistry; exports.createTableCommands = _chunkYOMYSFJUcjs.createTableCommands; exports.createTableExtensions = _chunkHDYMLS3Xcjs.createTableExtensions; exports.createTableStore = _chunkHDYMLS3Xcjs.createTableStore; exports.crossReferencePluginKey = _chunkYOMYSFJUcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkYOMYSFJUcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkIFHKKVXHcjs.describeBlockChange; exports.describeFormatChange = _chunkIFHKKVXHcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkYOMYSFJUcjs.documentStructureCommandItems; exports.expandReplacement = _chunkYOMYSFJUcjs.expandReplacement; exports.fileImportPluginKey = _chunkYOMYSFJUcjs.fileImportPluginKey; exports.findAllMatches = _chunkYOMYSFJUcjs.findAllMatches; exports.findAutocorrection = _chunkYOMYSFJUcjs.findAutocorrection; exports.findCommentRanges = _chunkYOMYSFJUcjs.findCommentRanges; exports.findHexColors = _chunkYOMYSFJUcjs.findHexColors; exports.findReplacePluginKey = _chunkYOMYSFJUcjs.findReplacePluginKey; exports.foldCodePoint = _chunkYOMYSFJUcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkYOMYSFJUcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkYOMYSFJUcjs.footnotesPluginKey; exports.formatFindStatus = _chunkYOMYSFJUcjs.formatFindStatus; exports.formatReviewTime = _chunkIFHKKVXHcjs.formatReviewTime; exports.fractionRules = _chunkYOMYSFJUcjs.fractionRules; exports.getActiveHeading = _chunkYOMYSFJUcjs.getActiveHeading; exports.getBookmarks = _chunkYOMYSFJUcjs.getBookmarks; exports.getCommentAnchors = _chunkYOMYSFJUcjs.getCommentAnchors; exports.getCommentAuthor = _chunkYOMYSFJUcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkYOMYSFJUcjs.getCommentIdsAt; exports.getCommentStore = _chunkYOMYSFJUcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkYOMYSFJUcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkYOMYSFJUcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkYOMYSFJUcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkYOMYSFJUcjs.getFindReplaceStore; exports.getFootnotes = _chunkYOMYSFJUcjs.getFootnotes; exports.getMentionNodes = _chunkYOMYSFJUcjs.getMentionNodes; exports.getOutline = _chunkYOMYSFJUcjs.getOutline; exports.getParagraphStyleAt = _chunkYOMYSFJUcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkYOMYSFJUcjs.getStyleRegistry; exports.getTableActionState = _chunkHDYMLS3Xcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkYOMYSFJUcjs.getTableOfContentsEntries; exports.getTableState = _chunkHDYMLS3Xcjs.getTableState; exports.getTrackChangesStore = _chunkIFHKKVXHcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkIFHKKVXHcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkIFHKKVXHcjs.getTrackedChanges; exports.handleImageInsertion = _chunkYOMYSFJUcjs.handleImageInsertion; exports.imagePastePluginKey = _chunkYOMYSFJUcjs.imagePastePluginKey; exports.insertImageNode = _chunkYOMYSFJUcjs.insertImageNode; exports.isGfmTable = _chunkHDYMLS3Xcjs.isGfmTable; exports.isInsidePromptToken = _chunkYOMYSFJUcjs.isInsidePromptToken; exports.isMoveSized = _chunkIFHKKVXHcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkYOMYSFJUcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkHDYMLS3Xcjs.isSelectionInTable; exports.isTableEnabled = _chunkHDYMLS3Xcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunkIFHKKVXHcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunk3CC7OPUQcjs.isValidStyleId; exports.navigateToHeading = _chunkYOMYSFJUcjs.navigateToHeading; exports.normalizeTableCellAlignment = _chunkHDYMLS3Xcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkHDYMLS3Xcjs.normalizeTableCellColor; exports.outlinePluginKey = _chunkYOMYSFJUcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkYOMYSFJUcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkYOMYSFJUcjs.parseReplacement; exports.removeImageNode = _chunkYOMYSFJUcjs.removeImageNode; exports.resolveTrackedChanges = _chunkIFHKKVXHcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkYOMYSFJUcjs.richClipboardPluginKey; exports.runTableAction = _chunkHDYMLS3Xcjs.runTableAction; exports.safeCSSValue = _chunk3CC7OPUQcjs.safeCSSValue; exports.searchDocument = _chunkYOMYSFJUcjs.searchDocument; exports.setMentionRoleAt = _chunkYOMYSFJUcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkHDYMLS3Xcjs.shouldShowTableBubbleMenu; exports.smartQuoteRules = _chunkYOMYSFJUcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkYOMYSFJUcjs.smilieAutocorrectRules; exports.symbolRules = _chunkYOMYSFJUcjs.symbolRules; exports.syncFootnotes = _chunkYOMYSFJUcjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkYOMYSFJUcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkYOMYSFJUcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkIFHKKVXHcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkIFHKKVXHcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkYOMYSFJUcjs.twoInitialCapitalsRules; exports.updateImageSrc = _chunkYOMYSFJUcjs.updateImageSrc; exports.validateFindPattern = _chunkYOMYSFJUcjs.validateFindPattern; exports.writeRichClipboard = _chunkYOMYSFJUcjs.writeRichClipboard;
|
|
288
336
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B,
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uoUAAC","file":"/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as
|
|
1
|
+
export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as CharacterStyle, p as ColorHighlighter, q as CommentRange, r as Comments, s as CommentsOptions, t as CommentsStorage, u as CompileFindPatternResult, v as CompiledFindPattern, x as CreateStyleFromSelectionOptions, y as CrossReference, z as CrossReferenceOptions, E as CrossReferenceTarget, F as CrossReferenceTargetType, G as DEFAULT_AUTOCORRECT_EXCEPTIONS, H as DEFAULT_TABLE_OPTIONS, I as DEFAULT_TABLE_TOOLBAR, J as DocumentCompare, K as DocumentCompareOptions, L as DocumentCompareStorage, M as DocumentSearchOptions, N as DocumentSearchResult, O as DocumentStructureCommandArgs, Q as DocumentStructureCommandItem, R as EMPTY_FIND_REPLACE_SNAPSHOT, S as EMPTY_TABLE_STATE, T as EditorCompareOptions, U as FIND_OPTION_TOGGLES, V as FIND_PARAGRAPH_MARK, W as FileImport, X as FileImportOptions, Y as FindAllOptions, Z as FindAllResult, _ as FindMatch, $ as FindOptionToggle, a0 as FindOptions, a1 as FindPatternError, a2 as FindPatternErrorCode, a3 as FindReplace, a4 as FindReplaceCommandOptions, a5 as FindReplaceMode, a6 as FindReplaceOptions, a7 as FindReplaceSnapshot, a8 as FindReplaceStorage, a9 as FindReplaceStore, aa as FocusHeadingOptions, ab as FontSize, ac as Footnote, ad as FootnoteInfo, ae as FootnoteReference, af as Footnotes, ag as FootnotesOptions, ah as GradientText, ai as GradientTextOptions, aj as Image, ak as ImageOptions, an as InsertFootnoteOptions, ao as InsertTableOfContentsOptions, ap as LoadingNode, aq as MAX_FIND_PATTERN_LENGTH, ar as MAX_TABLE_COLUMNS, as as MAX_TABLE_ROWS, at as Markdown, au as OpenFindReplaceParams, av as Outline, aw as OutlineHeading, ax as OutlineOptions, ay as OutlineSnapshot, az as OutlineStorage, aA as OutlineStore, aB as OutlineTreeItem, aC as ParagraphStyles, aD as ParagraphStylesOptions, aE as ParagraphStylesSnapshot, aF as ParagraphStylesStorage, aG as ParagraphStylesStore, aH as PatternMatch, aM as ReplacePiece, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as RichTextTableOptions, aT as RunTableActionOptions, aU as SMILIE_REPLACEMENTS, aV as STYLE_ID_ATTRIBUTE, aW as SearchBudget, aX as SearchBudgetOptions, aY as SetBookmarkOptions, aZ as SetSearchParams, a_ as SlashCommandMatchData, a$ as SlashCommands, b0 as SlashCommandsOptions, b1 as SmilieReplacer, b2 as TABLE_ACTIONS, b3 as Table, b4 as TableAction, b5 as TableActionInfo, b6 as TableActionParams, b7 as TableActionStatus, b8 as TableCell, b9 as TableCellAlignment, ba as TableCommandOptions, bb as TableHeader, bc as TableOfContents, bd as TableOfContentsEntry, be as TableOfContentsOptions, bf as TableRow, bg as TableState, bh as TableStore, bi as TableToolbarItem, bj as TemplateSuggestions, bk as TemplateSuggestionsOptions, bm as applyDocumentComparison, bn as applyReplacements, bo as autocorrectPluginKey, bp as buildOutlineTree, bq as capitalizeSentenceRules, br as captureSelectionFormat, bs as commentsPluginKey, bt as compareInEditor, bu as compileFindPattern, bv as computeOutline, bw as createFindReplaceCommands, by as createOutlineStore, bz as createParagraphStylesStore, bA as createRichTextPreset, bB as createSearchBudget, bC as createTableCommands, bD as createTableExtensions, bE as createTableStore, bF as crossReferencePluginKey, bG as defaultAutocorrectRules, bI as documentStructureCommandItems, bJ as expandReplacement, bK as fileImportPluginKey, bL as findAllMatches, bM as findAutocorrection, bN as findCommentRanges, bO as findHexColors, bQ as findReplacePluginKey, bR as foldCodePoint, bS as footnotesMarkdownIt, bT as footnotesPluginKey, bU as formatFindStatus, bV as fractionRules, bW as getActiveHeading, bX as getBookmarks, bY as getCommentAnchors, bZ as getCommentAuthor, b_ as getCommentIdsAt, b$ as getCommentStore, c0 as getCrossReferenceTargets, c1 as getDocumentStructureCommandItems, c2 as getFindReplaceState, c3 as getFindReplaceStore, c4 as getFootnotes, c6 as getOutline, c7 as getParagraphStyleAt, c8 as getStyleRegistry, c9 as getTableActionState, ca as getTableOfContentsEntries, cb as getTableState, cc as handleImageInsertion, ce as imagePastePluginKey, cg as insertImageNode, ch as isGfmTable, ci as isInsidePromptToken, cj as isParagraphStyleAvailable, ck as isSelectionInTable, cl as isTableEnabled, cn as navigateToHeading, co as normalizeTableCellAlignment, cp as normalizeTableCellColor, cq as outlinePluginKey, cr as paragraphStylesPluginKey, cs as parseReplacement, cw as removeImageNode, cx as richClipboardPluginKey, cz as runTableAction, cA as searchDocument, cB as shouldShowTableBubbleMenu, cC as smartQuoteRules, cD as smilieAutocorrectRules, cE as symbolRules, cF as syncFootnotes, cG as tableOfContentsMarkdownIt, cH as tableOfContentsPluginKey, cI as twoInitialCapitalsRules, cK as updateImageSrc, cL as validateFindPattern, cM as writeRichClipboard } from '../index-jcJwmBYt.cjs';
|
|
2
2
|
export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from '../track-changes-D_VAPELi.cjs';
|
|
3
3
|
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from '../comment-store-BEMgVlAA.cjs';
|
|
4
|
+
export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from '../registry-CED5C0lA.cjs';
|
|
4
5
|
export { MarkdownOptions } from 'tiptap-markdown';
|
|
5
6
|
import '@tiptap/core';
|
|
6
7
|
import '../tokens-D7yXvUU6.cjs';
|
|
7
8
|
import '@tiptap/pm/state';
|
|
8
9
|
import '@tiptap/pm/view';
|
|
9
10
|
import '@tiptap/pm/model';
|
|
11
|
+
import '@tiptap/extension-table-cell';
|
|
12
|
+
import '@tiptap/extension-table-header';
|
|
13
|
+
import '@tiptap/extension-table-row';
|
|
14
|
+
import '@tiptap/extension-table';
|
|
10
15
|
import '@tiptap/extension-underline';
|
|
11
16
|
import '@tiptap/extension-text-style';
|
|
12
17
|
import '@tiptap/extension-text-align';
|
|
@@ -18,7 +23,7 @@ import '@tiptap/extension-color';
|
|
|
18
23
|
import '@tiptap/starter-kit';
|
|
19
24
|
import '../registry-CEgwXED1.cjs';
|
|
20
25
|
import '../documents-Gp7wb0Me.cjs';
|
|
21
|
-
import '../registry-
|
|
26
|
+
import '../registry-D0GADKc7.cjs';
|
|
22
27
|
import '../schema-DYDGdYL9.cjs';
|
|
23
28
|
import '@tiptap/extension-mention';
|
|
24
29
|
import '@tiptap/suggestion';
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as
|
|
1
|
+
export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as CharacterStyle, p as ColorHighlighter, q as CommentRange, r as Comments, s as CommentsOptions, t as CommentsStorage, u as CompileFindPatternResult, v as CompiledFindPattern, x as CreateStyleFromSelectionOptions, y as CrossReference, z as CrossReferenceOptions, E as CrossReferenceTarget, F as CrossReferenceTargetType, G as DEFAULT_AUTOCORRECT_EXCEPTIONS, H as DEFAULT_TABLE_OPTIONS, I as DEFAULT_TABLE_TOOLBAR, J as DocumentCompare, K as DocumentCompareOptions, L as DocumentCompareStorage, M as DocumentSearchOptions, N as DocumentSearchResult, O as DocumentStructureCommandArgs, Q as DocumentStructureCommandItem, R as EMPTY_FIND_REPLACE_SNAPSHOT, S as EMPTY_TABLE_STATE, T as EditorCompareOptions, U as FIND_OPTION_TOGGLES, V as FIND_PARAGRAPH_MARK, W as FileImport, X as FileImportOptions, Y as FindAllOptions, Z as FindAllResult, _ as FindMatch, $ as FindOptionToggle, a0 as FindOptions, a1 as FindPatternError, a2 as FindPatternErrorCode, a3 as FindReplace, a4 as FindReplaceCommandOptions, a5 as FindReplaceMode, a6 as FindReplaceOptions, a7 as FindReplaceSnapshot, a8 as FindReplaceStorage, a9 as FindReplaceStore, aa as FocusHeadingOptions, ab as FontSize, ac as Footnote, ad as FootnoteInfo, ae as FootnoteReference, af as Footnotes, ag as FootnotesOptions, ah as GradientText, ai as GradientTextOptions, aj as Image, ak as ImageOptions, an as InsertFootnoteOptions, ao as InsertTableOfContentsOptions, ap as LoadingNode, aq as MAX_FIND_PATTERN_LENGTH, ar as MAX_TABLE_COLUMNS, as as MAX_TABLE_ROWS, at as Markdown, au as OpenFindReplaceParams, av as Outline, aw as OutlineHeading, ax as OutlineOptions, ay as OutlineSnapshot, az as OutlineStorage, aA as OutlineStore, aB as OutlineTreeItem, aC as ParagraphStyles, aD as ParagraphStylesOptions, aE as ParagraphStylesSnapshot, aF as ParagraphStylesStorage, aG as ParagraphStylesStore, aH as PatternMatch, aM as ReplacePiece, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as RichTextTableOptions, aT as RunTableActionOptions, aU as SMILIE_REPLACEMENTS, aV as STYLE_ID_ATTRIBUTE, aW as SearchBudget, aX as SearchBudgetOptions, aY as SetBookmarkOptions, aZ as SetSearchParams, a_ as SlashCommandMatchData, a$ as SlashCommands, b0 as SlashCommandsOptions, b1 as SmilieReplacer, b2 as TABLE_ACTIONS, b3 as Table, b4 as TableAction, b5 as TableActionInfo, b6 as TableActionParams, b7 as TableActionStatus, b8 as TableCell, b9 as TableCellAlignment, ba as TableCommandOptions, bb as TableHeader, bc as TableOfContents, bd as TableOfContentsEntry, be as TableOfContentsOptions, bf as TableRow, bg as TableState, bh as TableStore, bi as TableToolbarItem, bj as TemplateSuggestions, bk as TemplateSuggestionsOptions, bm as applyDocumentComparison, bn as applyReplacements, bo as autocorrectPluginKey, bp as buildOutlineTree, bq as capitalizeSentenceRules, br as captureSelectionFormat, bs as commentsPluginKey, bt as compareInEditor, bu as compileFindPattern, bv as computeOutline, bw as createFindReplaceCommands, by as createOutlineStore, bz as createParagraphStylesStore, bA as createRichTextPreset, bB as createSearchBudget, bC as createTableCommands, bD as createTableExtensions, bE as createTableStore, bF as crossReferencePluginKey, bG as defaultAutocorrectRules, bI as documentStructureCommandItems, bJ as expandReplacement, bK as fileImportPluginKey, bL as findAllMatches, bM as findAutocorrection, bN as findCommentRanges, bO as findHexColors, bQ as findReplacePluginKey, bR as foldCodePoint, bS as footnotesMarkdownIt, bT as footnotesPluginKey, bU as formatFindStatus, bV as fractionRules, bW as getActiveHeading, bX as getBookmarks, bY as getCommentAnchors, bZ as getCommentAuthor, b_ as getCommentIdsAt, b$ as getCommentStore, c0 as getCrossReferenceTargets, c1 as getDocumentStructureCommandItems, c2 as getFindReplaceState, c3 as getFindReplaceStore, c4 as getFootnotes, c6 as getOutline, c7 as getParagraphStyleAt, c8 as getStyleRegistry, c9 as getTableActionState, ca as getTableOfContentsEntries, cb as getTableState, cc as handleImageInsertion, ce as imagePastePluginKey, cg as insertImageNode, ch as isGfmTable, ci as isInsidePromptToken, cj as isParagraphStyleAvailable, ck as isSelectionInTable, cl as isTableEnabled, cn as navigateToHeading, co as normalizeTableCellAlignment, cp as normalizeTableCellColor, cq as outlinePluginKey, cr as paragraphStylesPluginKey, cs as parseReplacement, cw as removeImageNode, cx as richClipboardPluginKey, cz as runTableAction, cA as searchDocument, cB as shouldShowTableBubbleMenu, cC as smartQuoteRules, cD as smilieAutocorrectRules, cE as symbolRules, cF as syncFootnotes, cG as tableOfContentsMarkdownIt, cH as tableOfContentsPluginKey, cI as twoInitialCapitalsRules, cK as updateImageSrc, cL as validateFindPattern, cM as writeRichClipboard } from '../index-B273Zllk.js';
|
|
2
2
|
export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from '../track-changes-Db_fGEvx.js';
|
|
3
3
|
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from '../comment-store-BEMgVlAA.js';
|
|
4
|
+
export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from '../registry-CED5C0lA.js';
|
|
4
5
|
export { MarkdownOptions } from 'tiptap-markdown';
|
|
5
6
|
import '@tiptap/core';
|
|
6
7
|
import '../tokens-D7yXvUU6.js';
|
|
7
8
|
import '@tiptap/pm/state';
|
|
8
9
|
import '@tiptap/pm/view';
|
|
9
10
|
import '@tiptap/pm/model';
|
|
11
|
+
import '@tiptap/extension-table-cell';
|
|
12
|
+
import '@tiptap/extension-table-header';
|
|
13
|
+
import '@tiptap/extension-table-row';
|
|
14
|
+
import '@tiptap/extension-table';
|
|
10
15
|
import '@tiptap/extension-underline';
|
|
11
16
|
import '@tiptap/extension-text-style';
|
|
12
17
|
import '@tiptap/extension-text-align';
|
|
@@ -18,7 +23,7 @@ import '@tiptap/extension-color';
|
|
|
18
23
|
import '@tiptap/starter-kit';
|
|
19
24
|
import '../registry-CEgwXED1.js';
|
|
20
25
|
import '../documents-CHT1U5Vs.js';
|
|
21
|
-
import '../registry-
|
|
26
|
+
import '../registry-DhVUZioj.js';
|
|
22
27
|
import '../schema-DYDGdYL9.js';
|
|
23
28
|
import '@tiptap/extension-mention';
|
|
24
29
|
import '@tiptap/suggestion';
|