@pixerate/editor 0.24.0 → 0.25.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 +71 -1
- package/THIRD_PARTY_NOTICES.md +29 -0
- package/dist/agent/index.cjs +10 -9
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +4 -3
- package/dist/agent/index.js.map +1 -1
- package/dist/canvas/index.cjs +3173 -340
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +617 -4
- package/dist/canvas/index.d.ts +617 -4
- package/dist/canvas/index.js +3105 -272
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-4BVP64JJ.cjs +1406 -0
- package/dist/chunk-4BVP64JJ.cjs.map +1 -0
- package/dist/{chunk-XNORY7M6.cjs → chunk-7WISYZFO.cjs} +105 -50
- package/dist/chunk-7WISYZFO.cjs.map +1 -0
- package/dist/{chunk-OLZJXL4R.cjs → chunk-AL6JMGWW.cjs} +59 -25
- package/dist/chunk-AL6JMGWW.cjs.map +1 -0
- package/dist/chunk-BVP3TSLH.cjs +69 -0
- package/dist/chunk-BVP3TSLH.cjs.map +1 -0
- package/dist/{chunk-MCSJFWAO.cjs → chunk-C7P22VIP.cjs} +670 -96
- package/dist/chunk-C7P22VIP.cjs.map +1 -0
- package/dist/{chunk-PGNZKFQS.js → chunk-ECCCYKGL.js} +76 -21
- package/dist/chunk-ECCCYKGL.js.map +1 -0
- package/dist/{chunk-3CN2WD3X.js → chunk-FH6F67DN.js} +646 -72
- package/dist/chunk-FH6F67DN.js.map +1 -0
- package/dist/chunk-HRMEDT2L.js +1406 -0
- package/dist/chunk-HRMEDT2L.js.map +1 -0
- package/dist/{chunk-ITBSKI26.js → chunk-IXHSYOVY.js} +941 -9
- package/dist/chunk-IXHSYOVY.js.map +1 -0
- package/dist/{chunk-FODNLX5N.js → chunk-NAXVVS5I.js} +38 -4
- package/dist/chunk-NAXVVS5I.js.map +1 -0
- package/dist/chunk-O5RYH2PG.js +69 -0
- package/dist/chunk-O5RYH2PG.js.map +1 -0
- package/dist/{chunk-SBCZ6RN5.cjs → chunk-PO6A6QQH.cjs} +1039 -107
- package/dist/chunk-PO6A6QQH.cjs.map +1 -0
- package/dist/{chunk-3LV6RRPH.js → chunk-QGYDWPRM.js} +2 -2
- package/dist/{chunk-U5KWZU4X.js → chunk-RR7F5GUM.js} +2632 -129
- package/dist/chunk-RR7F5GUM.js.map +1 -0
- package/dist/{chunk-5S3Z4PPF.js → chunk-UAKDG62Z.js} +232 -25
- package/dist/chunk-UAKDG62Z.js.map +1 -0
- package/dist/{chunk-SML64VJG.cjs → chunk-V3CHHWOE.cjs} +4 -4
- package/dist/{chunk-SML64VJG.cjs.map → chunk-V3CHHWOE.cjs.map} +1 -1
- package/dist/chunk-WSQKHXW7.cjs +5726 -0
- package/dist/chunk-WSQKHXW7.cjs.map +1 -0
- package/dist/{chunk-D27YFC46.cjs → chunk-X4N4WUKB.cjs} +267 -60
- package/dist/chunk-X4N4WUKB.cjs.map +1 -0
- package/dist/commands/index.cjs +74 -1
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +34 -1
- package/dist/commands/index.d.ts +34 -1
- package/dist/commands/index.js +73 -0
- package/dist/commands/index.js.map +1 -1
- package/dist/compare/index.cjs +3 -3
- package/dist/compare/index.d.cts +1 -1
- package/dist/compare/index.d.ts +1 -1
- package/dist/compare/index.js +2 -2
- package/dist/controller-BIJiNoVs.d.cts +1842 -0
- package/dist/controller-BIJiNoVs.d.ts +1842 -0
- package/dist/{documents-BQjzJNe2.d.ts → documents-CHT1U5Vs.d.ts} +10 -0
- package/dist/{documents-KRTPhvst.d.cts → documents-Gp7wb0Me.d.cts} +10 -0
- package/dist/extensions/index.cjs +53 -6
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +12 -4
- package/dist/extensions/index.d.ts +12 -4
- package/dist/extensions/index.js +53 -6
- package/dist/generation/index.cjs +1013 -69
- package/dist/generation/index.cjs.map +1 -1
- package/dist/generation/index.d.cts +474 -13
- package/dist/generation/index.d.ts +474 -13
- package/dist/generation/index.js +976 -32
- package/dist/generation/index.js.map +1 -1
- package/dist/image-editor/index.cjs +3385 -1275
- package/dist/image-editor/index.cjs.map +1 -1
- package/dist/image-editor/index.d.cts +693 -128
- package/dist/image-editor/index.d.ts +693 -128
- package/dist/image-editor/index.js +3325 -1215
- package/dist/image-editor/index.js.map +1 -1
- package/dist/{index-fJrlkJCd.d.ts → index-7a6bHTLy.d.ts} +494 -5
- package/dist/{index-BhJBSm2d.d.cts → index-Csd5qI8u.d.cts} +494 -5
- package/dist/index.cjs +1491 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +110 -19
- package/dist/index.d.ts +110 -19
- package/dist/index.js +1464 -18
- package/dist/index.js.map +1 -1
- package/dist/mention-text-CDnCFd3c.d.cts +53 -0
- package/dist/mention-text-CDnCFd3c.d.ts +53 -0
- package/dist/model-C1zApQM8.d.cts +219 -0
- package/dist/model-C1zApQM8.d.ts +219 -0
- package/dist/persistence/index.d.cts +3 -120
- package/dist/persistence/index.d.ts +3 -120
- package/dist/{registry-GJI4gToU.d.cts → registry-CEgwXED1.d.cts} +12 -1
- package/dist/{registry-GJI4gToU.d.ts → registry-CEgwXED1.d.ts} +12 -1
- package/dist/serializers/index.cjs +12 -4
- package/dist/serializers/index.cjs.map +1 -1
- package/dist/serializers/index.d.cts +39 -12
- package/dist/serializers/index.d.ts +39 -12
- package/dist/serializers/index.js +12 -4
- package/dist/spreadsheet/index.cjs +127 -3
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +431 -11
- package/dist/spreadsheet/index.d.ts +431 -11
- package/dist/spreadsheet/index.js +127 -3
- package/dist/storage-BpFfspHm.d.cts +120 -0
- package/dist/storage-BpFfspHm.d.ts +120 -0
- package/dist/tokens/index.cjs +115 -0
- package/dist/tokens/index.cjs.map +1 -0
- package/dist/tokens/index.d.cts +212 -0
- package/dist/tokens/index.d.ts +212 -0
- package/dist/tokens/index.js +115 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/{track-changes-BK5sVf4_.d.cts → track-changes-D_VAPELi.d.cts} +95 -11
- package/dist/{track-changes-CDjCrwKe.d.ts → track-changes-Db_fGEvx.d.ts} +95 -11
- package/package.json +6 -1
- package/dist/chunk-3CN2WD3X.js.map +0 -1
- package/dist/chunk-5S3Z4PPF.js.map +0 -1
- package/dist/chunk-D27YFC46.cjs.map +0 -1
- package/dist/chunk-FODNLX5N.js.map +0 -1
- package/dist/chunk-ITBSKI26.js.map +0 -1
- package/dist/chunk-MA2F5KHF.cjs +0 -3223
- package/dist/chunk-MA2F5KHF.cjs.map +0 -1
- package/dist/chunk-MCSJFWAO.cjs.map +0 -1
- package/dist/chunk-OLZJXL4R.cjs.map +0 -1
- package/dist/chunk-PGNZKFQS.js.map +0 -1
- package/dist/chunk-SBCZ6RN5.cjs.map +0 -1
- package/dist/chunk-U5KWZU4X.js.map +0 -1
- package/dist/chunk-XNORY7M6.cjs.map +0 -1
- package/dist/controller-BhLLAoi8.d.cts +0 -1000
- package/dist/controller-BhLLAoi8.d.ts +0 -1000
- /package/dist/{chunk-3LV6RRPH.js.map → chunk-QGYDWPRM.js.map} +0 -0
|
@@ -29,6 +29,14 @@ interface CompareDocumentsOptions {
|
|
|
29
29
|
* at `granularity: "char"`. Default 2000.
|
|
30
30
|
*/
|
|
31
31
|
maxCharDiff?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Record a top-level paragraph that was deleted in one place and inserted,
|
|
34
|
+
* identical, elsewhere as a tracked move (`type: "move"`) instead of a
|
|
35
|
+
* whole-block deletion and insertion. Only paragraphs whose content occurs
|
|
36
|
+
* once among the deleted and once among the inserted blocks are paired.
|
|
37
|
+
* Default `false`.
|
|
38
|
+
*/
|
|
39
|
+
detectMoves?: boolean;
|
|
32
40
|
}
|
|
33
41
|
interface CompareSummary {
|
|
34
42
|
/** Inserted text runs and inserted block runs. */
|
|
@@ -39,6 +47,8 @@ interface CompareSummary {
|
|
|
39
47
|
formatChanges: number;
|
|
40
48
|
/** Block type, attribute and wrapping changes. */
|
|
41
49
|
blockChanges: number;
|
|
50
|
+
/** Moved paragraphs (with `detectMoves`). */
|
|
51
|
+
moves: number;
|
|
42
52
|
/** Differences the result could not represent as tracked changes. */
|
|
43
53
|
notHonoured: string[];
|
|
44
54
|
}
|
|
@@ -29,6 +29,14 @@ interface CompareDocumentsOptions {
|
|
|
29
29
|
* at `granularity: "char"`. Default 2000.
|
|
30
30
|
*/
|
|
31
31
|
maxCharDiff?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Record a top-level paragraph that was deleted in one place and inserted,
|
|
34
|
+
* identical, elsewhere as a tracked move (`type: "move"`) instead of a
|
|
35
|
+
* whole-block deletion and insertion. Only paragraphs whose content occurs
|
|
36
|
+
* once among the deleted and once among the inserted blocks are paired.
|
|
37
|
+
* Default `false`.
|
|
38
|
+
*/
|
|
39
|
+
detectMoves?: boolean;
|
|
32
40
|
}
|
|
33
41
|
interface CompareSummary {
|
|
34
42
|
/** Inserted text runs and inserted block runs. */
|
|
@@ -39,6 +47,8 @@ interface CompareSummary {
|
|
|
39
47
|
formatChanges: number;
|
|
40
48
|
/** Block type, attribute and wrapping changes. */
|
|
41
49
|
blockChanges: number;
|
|
50
|
+
/** Moved paragraphs (with `detectMoves`). */
|
|
51
|
+
moves: number;
|
|
42
52
|
/** Differences the result could not represent as tracked changes. */
|
|
43
53
|
notHonoured: string[];
|
|
44
54
|
}
|
|
@@ -92,11 +92,59 @@
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
var _chunkPO6A6QQHcjs = require('../chunk-PO6A6QQH.cjs');
|
|
114
|
+
require('../chunk-AL6JMGWW.cjs');
|
|
97
115
|
require('../chunk-MKA3AHLV.cjs');
|
|
98
|
-
require('../chunk-
|
|
99
|
-
require('../chunk-
|
|
116
|
+
require('../chunk-V3CHHWOE.cjs');
|
|
117
|
+
require('../chunk-7WISYZFO.cjs');
|
|
118
|
+
require('../chunk-BVP3TSLH.cjs');
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
var _chunkX4N4WUKBcjs = require('../chunk-X4N4WUKB.cjs');
|
|
100
148
|
|
|
101
149
|
|
|
102
150
|
|
|
@@ -120,7 +168,6 @@ require('../chunk-XNORY7M6.cjs');
|
|
|
120
168
|
|
|
121
169
|
|
|
122
170
|
|
|
123
|
-
var _chunkD27YFC46cjs = require('../chunk-D27YFC46.cjs');
|
|
124
171
|
|
|
125
172
|
|
|
126
173
|
|
|
@@ -237,5 +284,5 @@ var _chunkD27YFC46cjs = require('../chunk-D27YFC46.cjs');
|
|
|
237
284
|
|
|
238
285
|
|
|
239
286
|
|
|
240
|
-
exports.Autocorrect =
|
|
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;
|
|
241
288
|
//# 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;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;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;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;AACF,
|
|
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,iCAA8B;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;AACF,uxRAAC","file":"/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as AddCommentOptions,
|
|
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
|
|
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 CharacterFormat, p as CharacterStyle, q as ColorHighlighter, r as CommentRange, s as Comments, t as CommentsOptions, u as CommentsStorage, v as CompileFindPatternResult, w as CompiledFindPattern, y as CreateStyleFromSelectionOptions, z as CrossReference, E as CrossReferenceOptions, F as CrossReferenceTarget, G as CrossReferenceTargetType, H as DEFAULT_AUTOCORRECT_EXCEPTIONS, I as DEFAULT_STYLES, 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 EditorCompareOptions, T as FIND_OPTION_TOGGLES, U as FIND_PARAGRAPH_MARK, V as FileImport, W as FileImportOptions, X as FindAllOptions, Y as FindAllResult, Z as FindMatch, _ as FindOptionToggle, $ as FindOptions, a0 as FindPatternError, a1 as FindPatternErrorCode, a2 as FindReplace, a3 as FindReplaceCommandOptions, a4 as FindReplaceMode, a5 as FindReplaceOptions, a6 as FindReplaceSnapshot, a7 as FindReplaceStorage, a8 as FindReplaceStore, a9 as FocusHeadingOptions, aa as FontSize, ab as Footnote, ac as FootnoteInfo, ad as FootnoteReference, ae as Footnotes, af as FootnotesOptions, ag as GradientText, ah as GradientTextOptions, ai as Image, aj as ImageOptions, am as InsertFootnoteOptions, an as InsertTableOfContentsOptions, ao as LoadingNode, ap as MAX_FIND_PATTERN_LENGTH, aq as Markdown, ar as NORMAL_STYLE_ID, as as OpenFindReplaceParams, at as Outline, au as OutlineHeading, av as OutlineOptions, aw as OutlineSnapshot, ax as OutlineStorage, ay as OutlineStore, az as OutlineTreeItem, aA as ParagraphFormat, aB as ParagraphStyles, aC as ParagraphStylesOptions, aD as ParagraphStylesSnapshot, aE as ParagraphStylesStorage, aF as ParagraphStylesStore, aG as PatternMatch, aL as ReplacePiece, aM as ResolvedStyle, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as SMILIE_REPLACEMENTS, aT as STYLE_ID_ATTRIBUTE, aU as SearchBudget, aV as SearchBudgetOptions, aW as SetBookmarkOptions, aX as SetSearchParams, aY as SlashCommandMatchData, aZ as SlashCommands, a_ as SlashCommandsOptions, a$ as SmilieReplacer, b0 as StyleBlock, b1 as StyleCSSOptions, b2 as StyleDefaults, b3 as StyleDefinition, b4 as StyleKind, b5 as StyleRegistry, b6 as StyleRegistryJSON, b7 as StyleRegistryOptions, b8 as StyleRegistrySnapshot, b9 as TableOfContents, ba as TableOfContentsEntry, bb as TableOfContentsOptions, bc as TemplateSuggestions, bd as TemplateSuggestionsOptions, bf as applyDocumentComparison, bg as applyReplacements, bh as autocorrectPluginKey, bi as buildOutlineTree, bj as capitalizeSentenceRules, bk as captureSelectionFormat, bl as commentsPluginKey, bm as compareInEditor, bn as compileFindPattern, bo as computeOutline, bp as createFindReplaceCommands, br as createOutlineStore, bs as createParagraphStylesStore, bt as createRichTextPreset, bu as createSearchBudget, bv as createStyleRegistry, bw as crossReferencePluginKey, bx as defaultAutocorrectRules, bz as documentStructureCommandItems, bA as expandReplacement, bB as fileImportPluginKey, bC as findAllMatches, bD as findAutocorrection, bE as findCommentRanges, bF as findHexColors, bH as findReplacePluginKey, bI as foldCodePoint, bJ as footnotesMarkdownIt, bK as footnotesPluginKey, bL as formatFindStatus, bM as fractionRules, bN as getActiveHeading, bO as getBookmarks, bP as getCommentAnchors, bQ as getCommentAuthor, bR as getCommentIdsAt, bS as getCommentStore, bT as getCrossReferenceTargets, bU as getDocumentStructureCommandItems, bV as getFindReplaceState, bW as getFindReplaceStore, bX as getFootnotes, bZ as getOutline, b_ as getParagraphStyleAt, b$ as getStyleRegistry, c0 as getTableOfContentsEntries, c1 as handleImageInsertion, c3 as imagePastePluginKey, c5 as insertImageNode, c6 as isInsidePromptToken, c7 as isParagraphStyleAvailable, c8 as isValidStyleId, ca as navigateToHeading, cb as outlinePluginKey, cc as paragraphStylesPluginKey, cd as parseReplacement, ch as removeImageNode, ci as richClipboardPluginKey, ck as safeCSSValue, cl as searchDocument, cm as smartQuoteRules, cn as smilieAutocorrectRules, co as symbolRules, cp as syncFootnotes, cq as tableOfContentsMarkdownIt, cr as tableOfContentsPluginKey, cs as twoInitialCapitalsRules, cu as updateImageSrc, cv as validateFindPattern, cw as writeRichClipboard } from '../index-Csd5qI8u.cjs';
|
|
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
4
|
export { MarkdownOptions } from 'tiptap-markdown';
|
|
5
5
|
import '@tiptap/core';
|
|
@@ -7,9 +7,17 @@ import '../tokens-D7yXvUU6.cjs';
|
|
|
7
7
|
import '@tiptap/pm/state';
|
|
8
8
|
import '@tiptap/pm/view';
|
|
9
9
|
import '@tiptap/pm/model';
|
|
10
|
+
import '@tiptap/extension-underline';
|
|
11
|
+
import '@tiptap/extension-text-style';
|
|
12
|
+
import '@tiptap/extension-text-align';
|
|
13
|
+
import '@tiptap/extension-task-list';
|
|
14
|
+
import '@tiptap/extension-link';
|
|
10
15
|
import '@tiptap/extension-image';
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
16
|
+
import '@tiptap/extension-highlight';
|
|
17
|
+
import '@tiptap/extension-color';
|
|
18
|
+
import '@tiptap/starter-kit';
|
|
19
|
+
import '../registry-CEgwXED1.cjs';
|
|
20
|
+
import '../documents-Gp7wb0Me.cjs';
|
|
13
21
|
import '../registry-D32LpIc4.cjs';
|
|
14
22
|
import '../schema-DYDGdYL9.cjs';
|
|
15
23
|
import '@tiptap/extension-mention';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { A as AddCommentOptions,
|
|
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
|
|
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 CharacterFormat, p as CharacterStyle, q as ColorHighlighter, r as CommentRange, s as Comments, t as CommentsOptions, u as CommentsStorage, v as CompileFindPatternResult, w as CompiledFindPattern, y as CreateStyleFromSelectionOptions, z as CrossReference, E as CrossReferenceOptions, F as CrossReferenceTarget, G as CrossReferenceTargetType, H as DEFAULT_AUTOCORRECT_EXCEPTIONS, I as DEFAULT_STYLES, 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 EditorCompareOptions, T as FIND_OPTION_TOGGLES, U as FIND_PARAGRAPH_MARK, V as FileImport, W as FileImportOptions, X as FindAllOptions, Y as FindAllResult, Z as FindMatch, _ as FindOptionToggle, $ as FindOptions, a0 as FindPatternError, a1 as FindPatternErrorCode, a2 as FindReplace, a3 as FindReplaceCommandOptions, a4 as FindReplaceMode, a5 as FindReplaceOptions, a6 as FindReplaceSnapshot, a7 as FindReplaceStorage, a8 as FindReplaceStore, a9 as FocusHeadingOptions, aa as FontSize, ab as Footnote, ac as FootnoteInfo, ad as FootnoteReference, ae as Footnotes, af as FootnotesOptions, ag as GradientText, ah as GradientTextOptions, ai as Image, aj as ImageOptions, am as InsertFootnoteOptions, an as InsertTableOfContentsOptions, ao as LoadingNode, ap as MAX_FIND_PATTERN_LENGTH, aq as Markdown, ar as NORMAL_STYLE_ID, as as OpenFindReplaceParams, at as Outline, au as OutlineHeading, av as OutlineOptions, aw as OutlineSnapshot, ax as OutlineStorage, ay as OutlineStore, az as OutlineTreeItem, aA as ParagraphFormat, aB as ParagraphStyles, aC as ParagraphStylesOptions, aD as ParagraphStylesSnapshot, aE as ParagraphStylesStorage, aF as ParagraphStylesStore, aG as PatternMatch, aL as ReplacePiece, aM as ResolvedStyle, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as SMILIE_REPLACEMENTS, aT as STYLE_ID_ATTRIBUTE, aU as SearchBudget, aV as SearchBudgetOptions, aW as SetBookmarkOptions, aX as SetSearchParams, aY as SlashCommandMatchData, aZ as SlashCommands, a_ as SlashCommandsOptions, a$ as SmilieReplacer, b0 as StyleBlock, b1 as StyleCSSOptions, b2 as StyleDefaults, b3 as StyleDefinition, b4 as StyleKind, b5 as StyleRegistry, b6 as StyleRegistryJSON, b7 as StyleRegistryOptions, b8 as StyleRegistrySnapshot, b9 as TableOfContents, ba as TableOfContentsEntry, bb as TableOfContentsOptions, bc as TemplateSuggestions, bd as TemplateSuggestionsOptions, bf as applyDocumentComparison, bg as applyReplacements, bh as autocorrectPluginKey, bi as buildOutlineTree, bj as capitalizeSentenceRules, bk as captureSelectionFormat, bl as commentsPluginKey, bm as compareInEditor, bn as compileFindPattern, bo as computeOutline, bp as createFindReplaceCommands, br as createOutlineStore, bs as createParagraphStylesStore, bt as createRichTextPreset, bu as createSearchBudget, bv as createStyleRegistry, bw as crossReferencePluginKey, bx as defaultAutocorrectRules, bz as documentStructureCommandItems, bA as expandReplacement, bB as fileImportPluginKey, bC as findAllMatches, bD as findAutocorrection, bE as findCommentRanges, bF as findHexColors, bH as findReplacePluginKey, bI as foldCodePoint, bJ as footnotesMarkdownIt, bK as footnotesPluginKey, bL as formatFindStatus, bM as fractionRules, bN as getActiveHeading, bO as getBookmarks, bP as getCommentAnchors, bQ as getCommentAuthor, bR as getCommentIdsAt, bS as getCommentStore, bT as getCrossReferenceTargets, bU as getDocumentStructureCommandItems, bV as getFindReplaceState, bW as getFindReplaceStore, bX as getFootnotes, bZ as getOutline, b_ as getParagraphStyleAt, b$ as getStyleRegistry, c0 as getTableOfContentsEntries, c1 as handleImageInsertion, c3 as imagePastePluginKey, c5 as insertImageNode, c6 as isInsidePromptToken, c7 as isParagraphStyleAvailable, c8 as isValidStyleId, ca as navigateToHeading, cb as outlinePluginKey, cc as paragraphStylesPluginKey, cd as parseReplacement, ch as removeImageNode, ci as richClipboardPluginKey, ck as safeCSSValue, cl as searchDocument, cm as smartQuoteRules, cn as smilieAutocorrectRules, co as symbolRules, cp as syncFootnotes, cq as tableOfContentsMarkdownIt, cr as tableOfContentsPluginKey, cs as twoInitialCapitalsRules, cu as updateImageSrc, cv as validateFindPattern, cw as writeRichClipboard } from '../index-7a6bHTLy.js';
|
|
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
4
|
export { MarkdownOptions } from 'tiptap-markdown';
|
|
5
5
|
import '@tiptap/core';
|
|
@@ -7,9 +7,17 @@ import '../tokens-D7yXvUU6.js';
|
|
|
7
7
|
import '@tiptap/pm/state';
|
|
8
8
|
import '@tiptap/pm/view';
|
|
9
9
|
import '@tiptap/pm/model';
|
|
10
|
+
import '@tiptap/extension-underline';
|
|
11
|
+
import '@tiptap/extension-text-style';
|
|
12
|
+
import '@tiptap/extension-text-align';
|
|
13
|
+
import '@tiptap/extension-task-list';
|
|
14
|
+
import '@tiptap/extension-link';
|
|
10
15
|
import '@tiptap/extension-image';
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
16
|
+
import '@tiptap/extension-highlight';
|
|
17
|
+
import '@tiptap/extension-color';
|
|
18
|
+
import '@tiptap/starter-kit';
|
|
19
|
+
import '../registry-CEgwXED1.js';
|
|
20
|
+
import '../documents-CHT1U5Vs.js';
|
|
13
21
|
import '../registry-evKTP4ls.js';
|
|
14
22
|
import '../schema-DYDGdYL9.js';
|
|
15
23
|
import '@tiptap/extension-mention';
|
package/dist/extensions/index.js
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Autocorrect,
|
|
3
3
|
Bookmark,
|
|
4
|
+
CHARACTER_STYLE_MARK_NAME,
|
|
4
5
|
COMMENT_MARK_NAME,
|
|
6
|
+
CharacterStyle,
|
|
5
7
|
ColorHighlighter,
|
|
6
8
|
Comments,
|
|
7
9
|
CrossReference,
|
|
8
10
|
DEFAULT_AUTOCORRECT_EXCEPTIONS,
|
|
11
|
+
DEFAULT_STYLES,
|
|
9
12
|
DocumentCompare,
|
|
10
13
|
EMPTY_FIND_REPLACE_SNAPSHOT,
|
|
11
14
|
FIND_OPTION_TOGGLES,
|
|
@@ -23,11 +26,15 @@ import {
|
|
|
23
26
|
MAX_FIND_PATTERN_LENGTH,
|
|
24
27
|
Markdown,
|
|
25
28
|
Mention,
|
|
29
|
+
NORMAL_STYLE_ID,
|
|
26
30
|
Outline,
|
|
31
|
+
ParagraphStyles,
|
|
27
32
|
RichClipboard,
|
|
28
33
|
SMILIE_REPLACEMENTS,
|
|
34
|
+
STYLE_ID_ATTRIBUTE,
|
|
29
35
|
SlashCommands,
|
|
30
36
|
SmilieReplacer,
|
|
37
|
+
StyleRegistry,
|
|
31
38
|
TableOfContents,
|
|
32
39
|
TemplateSuggestions,
|
|
33
40
|
applyDocumentComparison,
|
|
@@ -35,6 +42,7 @@ import {
|
|
|
35
42
|
autocorrectPluginKey,
|
|
36
43
|
buildOutlineTree,
|
|
37
44
|
capitalizeSentenceRules,
|
|
45
|
+
captureSelectionFormat,
|
|
38
46
|
commentsPluginKey,
|
|
39
47
|
compareInEditor,
|
|
40
48
|
compileFindPattern,
|
|
@@ -42,8 +50,10 @@ import {
|
|
|
42
50
|
createFindReplaceCommands,
|
|
43
51
|
createMentionExtension,
|
|
44
52
|
createOutlineStore,
|
|
53
|
+
createParagraphStylesStore,
|
|
45
54
|
createRichTextPreset,
|
|
46
55
|
createSearchBudget,
|
|
56
|
+
createStyleRegistry,
|
|
47
57
|
crossReferencePluginKey,
|
|
48
58
|
defaultAutocorrectRules,
|
|
49
59
|
documentStructureCommandItems,
|
|
@@ -70,18 +80,26 @@ import {
|
|
|
70
80
|
getFindReplaceState,
|
|
71
81
|
getFindReplaceStore,
|
|
72
82
|
getFootnotes,
|
|
83
|
+
getMentionNodes,
|
|
73
84
|
getOutline,
|
|
85
|
+
getParagraphStyleAt,
|
|
86
|
+
getStyleRegistry,
|
|
74
87
|
getTableOfContentsEntries,
|
|
75
88
|
handleImageInsertion,
|
|
76
89
|
imagePastePluginKey,
|
|
77
90
|
insertImageNode,
|
|
78
91
|
isInsidePromptToken,
|
|
92
|
+
isParagraphStyleAvailable,
|
|
93
|
+
isValidStyleId,
|
|
79
94
|
navigateToHeading,
|
|
80
95
|
outlinePluginKey,
|
|
96
|
+
paragraphStylesPluginKey,
|
|
81
97
|
parseReplacement,
|
|
82
98
|
removeImageNode,
|
|
83
99
|
richClipboardPluginKey,
|
|
100
|
+
safeCSSValue,
|
|
84
101
|
searchDocument,
|
|
102
|
+
setMentionRoleAt,
|
|
85
103
|
smartQuoteRules,
|
|
86
104
|
smilieAutocorrectRules,
|
|
87
105
|
symbolRules,
|
|
@@ -92,17 +110,21 @@ import {
|
|
|
92
110
|
updateImageSrc,
|
|
93
111
|
validateFindPattern,
|
|
94
112
|
writeRichClipboard
|
|
95
|
-
} from "../chunk-
|
|
96
|
-
import "../chunk-
|
|
113
|
+
} from "../chunk-IXHSYOVY.js";
|
|
114
|
+
import "../chunk-NAXVVS5I.js";
|
|
97
115
|
import "../chunk-P6ODPZ4W.js";
|
|
98
|
-
import "../chunk-
|
|
99
|
-
import "../chunk-
|
|
116
|
+
import "../chunk-QGYDWPRM.js";
|
|
117
|
+
import "../chunk-ECCCYKGL.js";
|
|
118
|
+
import "../chunk-O5RYH2PG.js";
|
|
100
119
|
import {
|
|
101
120
|
BLOCK_CHANGE_ATTRIBUTE,
|
|
102
121
|
CommentStore,
|
|
103
122
|
DELETION_MARK_NAME,
|
|
104
123
|
FORMAT_CHANGE_MARK_NAME,
|
|
105
124
|
INSERTION_MARK_NAME,
|
|
125
|
+
MOVE_FROM_CLASS,
|
|
126
|
+
MOVE_ID_ATTRIBUTE,
|
|
127
|
+
MOVE_TO_CLASS,
|
|
106
128
|
TRACK_CHANGES_SKIP_META,
|
|
107
129
|
TrackChanges,
|
|
108
130
|
TrackChangesStore,
|
|
@@ -117,20 +139,25 @@ import {
|
|
|
117
139
|
getTrackChangesStore,
|
|
118
140
|
getTrackedChangeAt,
|
|
119
141
|
getTrackedChanges,
|
|
142
|
+
isMoveSized,
|
|
120
143
|
isTrackChangesEnabled,
|
|
121
144
|
resolveTrackedChanges,
|
|
122
|
-
trackChangesPluginKey
|
|
123
|
-
|
|
145
|
+
trackChangesPluginKey,
|
|
146
|
+
trackedChangeLabel
|
|
147
|
+
} from "../chunk-UAKDG62Z.js";
|
|
124
148
|
export {
|
|
125
149
|
Autocorrect,
|
|
126
150
|
BLOCK_CHANGE_ATTRIBUTE,
|
|
127
151
|
Bookmark,
|
|
152
|
+
CHARACTER_STYLE_MARK_NAME,
|
|
128
153
|
COMMENT_MARK_NAME,
|
|
154
|
+
CharacterStyle,
|
|
129
155
|
ColorHighlighter,
|
|
130
156
|
CommentStore,
|
|
131
157
|
Comments,
|
|
132
158
|
CrossReference,
|
|
133
159
|
DEFAULT_AUTOCORRECT_EXCEPTIONS,
|
|
160
|
+
DEFAULT_STYLES,
|
|
134
161
|
DELETION_MARK_NAME,
|
|
135
162
|
DocumentCompare,
|
|
136
163
|
EMPTY_FIND_REPLACE_SNAPSHOT,
|
|
@@ -149,13 +176,20 @@ export {
|
|
|
149
176
|
Image,
|
|
150
177
|
LoadingNode,
|
|
151
178
|
MAX_FIND_PATTERN_LENGTH,
|
|
179
|
+
MOVE_FROM_CLASS,
|
|
180
|
+
MOVE_ID_ATTRIBUTE,
|
|
181
|
+
MOVE_TO_CLASS,
|
|
152
182
|
Markdown,
|
|
153
183
|
Mention,
|
|
184
|
+
NORMAL_STYLE_ID,
|
|
154
185
|
Outline,
|
|
186
|
+
ParagraphStyles,
|
|
155
187
|
RichClipboard,
|
|
156
188
|
SMILIE_REPLACEMENTS,
|
|
189
|
+
STYLE_ID_ATTRIBUTE,
|
|
157
190
|
SlashCommands,
|
|
158
191
|
SmilieReplacer,
|
|
192
|
+
StyleRegistry,
|
|
159
193
|
TRACK_CHANGES_SKIP_META,
|
|
160
194
|
TableOfContents,
|
|
161
195
|
TemplateSuggestions,
|
|
@@ -169,6 +203,7 @@ export {
|
|
|
169
203
|
autocorrectPluginKey,
|
|
170
204
|
buildOutlineTree,
|
|
171
205
|
capitalizeSentenceRules,
|
|
206
|
+
captureSelectionFormat,
|
|
172
207
|
commentsPluginKey,
|
|
173
208
|
compareInEditor,
|
|
174
209
|
compileFindPattern,
|
|
@@ -177,9 +212,11 @@ export {
|
|
|
177
212
|
createFindReplaceCommands,
|
|
178
213
|
createMentionExtension,
|
|
179
214
|
createOutlineStore,
|
|
215
|
+
createParagraphStylesStore,
|
|
180
216
|
createReviewId,
|
|
181
217
|
createRichTextPreset,
|
|
182
218
|
createSearchBudget,
|
|
219
|
+
createStyleRegistry,
|
|
183
220
|
crossReferencePluginKey,
|
|
184
221
|
defaultAutocorrectRules,
|
|
185
222
|
describeBlockChange,
|
|
@@ -209,7 +246,10 @@ export {
|
|
|
209
246
|
getFindReplaceState,
|
|
210
247
|
getFindReplaceStore,
|
|
211
248
|
getFootnotes,
|
|
249
|
+
getMentionNodes,
|
|
212
250
|
getOutline,
|
|
251
|
+
getParagraphStyleAt,
|
|
252
|
+
getStyleRegistry,
|
|
213
253
|
getTableOfContentsEntries,
|
|
214
254
|
getTrackChangesStore,
|
|
215
255
|
getTrackedChangeAt,
|
|
@@ -218,14 +258,20 @@ export {
|
|
|
218
258
|
imagePastePluginKey,
|
|
219
259
|
insertImageNode,
|
|
220
260
|
isInsidePromptToken,
|
|
261
|
+
isMoveSized,
|
|
262
|
+
isParagraphStyleAvailable,
|
|
221
263
|
isTrackChangesEnabled,
|
|
264
|
+
isValidStyleId,
|
|
222
265
|
navigateToHeading,
|
|
223
266
|
outlinePluginKey,
|
|
267
|
+
paragraphStylesPluginKey,
|
|
224
268
|
parseReplacement,
|
|
225
269
|
removeImageNode,
|
|
226
270
|
resolveTrackedChanges,
|
|
227
271
|
richClipboardPluginKey,
|
|
272
|
+
safeCSSValue,
|
|
228
273
|
searchDocument,
|
|
274
|
+
setMentionRoleAt,
|
|
229
275
|
smartQuoteRules,
|
|
230
276
|
smilieAutocorrectRules,
|
|
231
277
|
symbolRules,
|
|
@@ -233,6 +279,7 @@ export {
|
|
|
233
279
|
tableOfContentsMarkdownIt,
|
|
234
280
|
tableOfContentsPluginKey,
|
|
235
281
|
trackChangesPluginKey,
|
|
282
|
+
trackedChangeLabel,
|
|
236
283
|
twoInitialCapitalsRules,
|
|
237
284
|
updateImageSrc,
|
|
238
285
|
validateFindPattern,
|