@pixerate/editor 0.21.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +100 -13
  2. package/THIRD_PARTY_NOTICES.md +88 -0
  3. package/dist/agent/index.cjs +86 -111
  4. package/dist/agent/index.cjs.map +1 -1
  5. package/dist/agent/index.d.cts +69 -211
  6. package/dist/agent/index.d.ts +69 -211
  7. package/dist/agent/index.js +77 -102
  8. package/dist/agent/index.js.map +1 -1
  9. package/dist/arrangeShortcuts-B8O3f8-P.d.cts +184 -0
  10. package/dist/arrangeShortcuts-sLlD2rSX.d.ts +184 -0
  11. package/dist/canvas/index.cjs +2112 -60
  12. package/dist/canvas/index.cjs.map +1 -1
  13. package/dist/canvas/index.d.cts +712 -181
  14. package/dist/canvas/index.d.ts +712 -181
  15. package/dist/canvas/index.js +2105 -53
  16. package/dist/canvas/index.js.map +1 -1
  17. package/dist/chunk-26BVFKHU.cjs +453 -0
  18. package/dist/chunk-26BVFKHU.cjs.map +1 -0
  19. package/dist/chunk-2H7ZHPEJ.js +762 -0
  20. package/dist/chunk-2H7ZHPEJ.js.map +1 -0
  21. package/dist/chunk-7DWMJCAT.js +453 -0
  22. package/dist/chunk-7DWMJCAT.js.map +1 -0
  23. package/dist/{chunk-TVRC4KVT.cjs → chunk-AA4ZEVCC.cjs} +845 -90
  24. package/dist/chunk-AA4ZEVCC.cjs.map +1 -0
  25. package/dist/chunk-ARRTP33I.js +101 -0
  26. package/dist/chunk-ARRTP33I.js.map +1 -0
  27. package/dist/{chunk-LA7PEGU3.cjs → chunk-CL37JGFW.cjs} +4 -4
  28. package/dist/{chunk-LA7PEGU3.cjs.map → chunk-CL37JGFW.cjs.map} +1 -1
  29. package/dist/chunk-CPOKFNBG.cjs +101 -0
  30. package/dist/chunk-CPOKFNBG.cjs.map +1 -0
  31. package/dist/chunk-G2I4QJOT.cjs +762 -0
  32. package/dist/chunk-G2I4QJOT.cjs.map +1 -0
  33. package/dist/{chunk-4QPLEUL2.cjs → chunk-GVSMRPHB.cjs} +1046 -54
  34. package/dist/chunk-GVSMRPHB.cjs.map +1 -0
  35. package/dist/{chunk-KYRZDWM4.js → chunk-JJDLPEWL.js} +2 -2
  36. package/dist/{chunk-GVW4P7BG.js → chunk-K3R5NG2D.js} +448 -54
  37. package/dist/chunk-K3R5NG2D.js.map +1 -0
  38. package/dist/{chunk-3TYMNULT.js → chunk-MJZBNWG7.js} +807 -52
  39. package/dist/chunk-MJZBNWG7.js.map +1 -0
  40. package/dist/{chunk-A7DKIA72.js → chunk-QBJ22YZR.js} +1059 -93
  41. package/dist/chunk-QBJ22YZR.js.map +1 -0
  42. package/dist/{chunk-CYFJCKC4.js → chunk-QGHGJ56O.js} +997 -5
  43. package/dist/chunk-QGHGJ56O.js.map +1 -0
  44. package/dist/{chunk-JYRIOFEN.cjs → chunk-RIKBJLS2.cjs} +1064 -98
  45. package/dist/chunk-RIKBJLS2.cjs.map +1 -0
  46. package/dist/{chunk-U6NDQFOK.cjs → chunk-XDMXXC4Z.cjs} +569 -175
  47. package/dist/chunk-XDMXXC4Z.cjs.map +1 -0
  48. package/dist/commands/index.cjs +860 -0
  49. package/dist/commands/index.cjs.map +1 -0
  50. package/dist/commands/index.d.cts +592 -0
  51. package/dist/commands/index.d.ts +592 -0
  52. package/dist/commands/index.js +860 -0
  53. package/dist/commands/index.js.map +1 -0
  54. package/dist/{controller-OUdxPY-X.d.ts → controller-pePCJLT1.d.cts} +216 -11
  55. package/dist/{controller-OUdxPY-X.d.cts → controller-pePCJLT1.d.ts} +216 -11
  56. package/dist/extensions/index.cjs +14 -4
  57. package/dist/extensions/index.cjs.map +1 -1
  58. package/dist/extensions/index.d.cts +3 -3
  59. package/dist/extensions/index.d.ts +3 -3
  60. package/dist/extensions/index.js +13 -3
  61. package/dist/history/index.cjs +12 -2
  62. package/dist/history/index.cjs.map +1 -1
  63. package/dist/history/index.d.cts +211 -7
  64. package/dist/history/index.d.ts +211 -7
  65. package/dist/history/index.js +13 -3
  66. package/dist/image-editor/index.cjs +418 -13
  67. package/dist/image-editor/index.cjs.map +1 -1
  68. package/dist/image-editor/index.d.cts +154 -3
  69. package/dist/image-editor/index.d.ts +154 -3
  70. package/dist/image-editor/index.js +417 -12
  71. package/dist/image-editor/index.js.map +1 -1
  72. package/dist/{index-k3mFbPx_.d.cts → index-CCr_z9kF.d.cts} +3 -3
  73. package/dist/{index-Ng1pG7JE.d.ts → index-Ck6ajwXh.d.ts} +3 -3
  74. package/dist/index.cjs +275 -83
  75. package/dist/index.cjs.map +1 -1
  76. package/dist/index.d.cts +296 -47
  77. package/dist/index.d.ts +296 -47
  78. package/dist/index.js +266 -74
  79. package/dist/index.js.map +1 -1
  80. package/dist/registry-D5-R90p0.d.cts +209 -0
  81. package/dist/registry-D5-R90p0.d.ts +209 -0
  82. package/dist/{registry-iAHbqkYt.d.cts → registry-GJI4gToU.d.cts} +15 -4
  83. package/dist/{registry-iAHbqkYt.d.ts → registry-GJI4gToU.d.ts} +15 -4
  84. package/dist/serializers/index.cjs +3 -3
  85. package/dist/serializers/index.d.cts +1 -1
  86. package/dist/serializers/index.d.ts +1 -1
  87. package/dist/serializers/index.js +2 -2
  88. package/dist/spreadsheet/index.cjs +23 -3
  89. package/dist/spreadsheet/index.cjs.map +1 -1
  90. package/dist/spreadsheet/index.d.cts +97 -10
  91. package/dist/spreadsheet/index.d.ts +97 -10
  92. package/dist/spreadsheet/index.js +22 -2
  93. package/dist/{track-changes-G8JcWB8b.d.cts → track-changes-BSF58RK0.d.cts} +92 -9
  94. package/dist/{track-changes-G8JcWB8b.d.ts → track-changes-BSF58RK0.d.ts} +92 -9
  95. package/dist/{types-DMe0vFB1.d.cts → types-DX4Mh4SL.d.cts} +1 -1
  96. package/dist/{types-DMe0vFB1.d.ts → types-DX4Mh4SL.d.ts} +1 -1
  97. package/dist/types-GT5a5YAX.d.cts +86 -0
  98. package/dist/types-GT5a5YAX.d.ts +86 -0
  99. package/package.json +8 -2
  100. package/dist/chunk-2TWGLC5K.cjs +0 -262
  101. package/dist/chunk-2TWGLC5K.cjs.map +0 -1
  102. package/dist/chunk-3TYMNULT.js.map +0 -1
  103. package/dist/chunk-4QPLEUL2.cjs.map +0 -1
  104. package/dist/chunk-A7DKIA72.js.map +0 -1
  105. package/dist/chunk-CYFJCKC4.js.map +0 -1
  106. package/dist/chunk-GVW4P7BG.js.map +0 -1
  107. package/dist/chunk-JYRIOFEN.cjs.map +0 -1
  108. package/dist/chunk-KAADNAPF.js +0 -262
  109. package/dist/chunk-KAADNAPF.js.map +0 -1
  110. package/dist/chunk-TVRC4KVT.cjs.map +0 -1
  111. package/dist/chunk-U6NDQFOK.cjs.map +0 -1
  112. package/dist/types-BZgcDsC5.d.cts +0 -42
  113. package/dist/types-BZgcDsC5.d.ts +0 -42
  114. /package/dist/{chunk-KYRZDWM4.js.map → chunk-JJDLPEWL.js.map} +0 -0
@@ -3,10 +3,10 @@ import { C as ColorGradient, f as Template } from './tokens-CyLZmIei.cjs';
3
3
  import { EditorState, PluginKey, Transaction } from '@tiptap/pm/state';
4
4
  import { DecorationSet, EditorView } from '@tiptap/pm/view';
5
5
  import { Node as Node$1 } from '@tiptap/pm/model';
6
- import { R as ReviewAuthor, b as CommentStore, C as CommentAnchor, i as MentionOptions, k as TrackChangesOptions } from './track-changes-G8JcWB8b.cjs';
6
+ import { R as ReviewAuthor, b as CommentStore, C as CommentAnchor, i as MentionOptions, k as TrackChangesOptions } from './track-changes-BSF58RK0.cjs';
7
7
  import { MarkdownOptions } from 'tiptap-markdown';
8
8
  import { ImageOptions as ImageOptions$1 } from '@tiptap/extension-image';
9
- import { c as ImportAdapter, I as ImportAdapterRegistry, b as FindImportAdapterQuery, i as ImportTarget, h as ImportInput, g as ImportFileOptions, a as ImportOutcome, R as RegisterImportAdapterOptions, F as FileLike } from './registry-iAHbqkYt.cjs';
9
+ import { c as ImportAdapter, I as ImportAdapterRegistry, b as FindImportAdapterQuery, i as ImportTarget, h as ImportInput, g as ImportFileOptions, a as ImportOutcome, R as RegisterImportAdapterOptions, F as FileLike } from './registry-GJI4gToU.cjs';
10
10
 
11
11
  interface GradientTextOptions {
12
12
  templateColorMap: Map<string, ColorGradient>;
@@ -896,4 +896,4 @@ interface RichTextPresetOptions {
896
896
  */
897
897
  declare function createRichTextPreset(options?: RichTextPresetOptions): Extensions;
898
898
 
899
- export { type RichClipboardStorage as $, type AddCommentOptions as A, BUILT_IN_IMPORT_ADAPTERS as B, COMMENT_MARK_NAME as C, type DocumentImport as D, Footnote as E, FileImport as F, type FootnoteInfo as G, FootnoteReference as H, Footnotes as I, type FootnotesOptions as J, GradientText as K, type GradientTextOptions as L, Image as M, type ImageOptions as N, type InsertFootnoteOptions as O, type InsertTableOfContentsOptions as P, LoadingNode as Q, Markdown as R, Outline as S, type OutlineHeading as T, type OutlineOptions as U, type OutlineSnapshot as V, type OutlineStorage as W, type OutlineStore as X, type OutlineTreeItem as Y, RichClipboard as Z, type RichClipboardOptions as _, Autocorrect as a, tableOfContentsPluginKey as a$, type RichTextPresetOptions as a0, SMILIE_REPLACEMENTS as a1, type SetBookmarkOptions as a2, type SlashCommandMatchData as a3, SlashCommands as a4, type SlashCommandsOptions as a5, SmilieReplacer as a6, TableOfContents as a7, type TableOfContentsEntry as a8, type TableOfContentsOptions as a9, getCommentIdsAt as aA, getCommentStore as aB, getCrossReferenceTargets as aC, getDocumentStructureCommandItems as aD, getFootnotes as aE, getImportAccept as aF, getOutline as aG, getTableOfContentsEntries as aH, handleImageInsertion as aI, htmlImportAdapter as aJ, imagePastePluginKey as aK, importFile as aL, insertImageNode as aM, isInsidePromptToken as aN, markdownImportAdapter as aO, navigateToHeading as aP, outlinePluginKey as aQ, plainTextImportAdapter as aR, registerImportAdapter as aS, removeImageNode as aT, richClipboardPluginKey as aU, rtfImportAdapter as aV, smartQuoteRules as aW, smilieAutocorrectRules as aX, symbolRules as aY, syncFootnotes as aZ, tableOfContentsMarkdownIt as a_, TemplateSuggestions as aa, type TemplateSuggestionsOptions as ab, autocorrectPluginKey as ac, buildOutlineTree as ad, capitalizeSentenceRules as ae, commentsPluginKey as af, computeOutline as ag, createImportAdapterRegistry as ah, createOutlineStore as ai, createRichTextPreset as aj, crossReferencePluginKey as ak, defaultAutocorrectRules as al, defaultImportRegistry as am, documentStructureCommandItems as an, fileImportPluginKey as ao, findAutocorrection as ap, findCommentRanges as aq, findHexColors as ar, findImportAdapter as as, footnotesMarkdownIt as at, footnotesPluginKey as au, fractionRules as av, getActiveHeading as aw, getBookmarks as ax, getCommentAnchors as ay, getCommentAuthor as az, type AutocorrectContext as b, twoInitialCapitalsRules as b0, unregisterImportAdapter as b1, updateImageSrc as b2, writeRichClipboard as b3, type AutocorrectCorrection as c, type AutocorrectOptions as d, type AutocorrectRule as e, type AutocorrectStorage as f, Bookmark as g, type BookmarkInfo as h, type BookmarkOptions as i, ColorHighlighter as j, type CommentRange as k, Comments as l, type CommentsOptions as m, type CommentsStorage as n, type CreateImportAdapterRegistryOptions as o, CrossReference as p, type CrossReferenceOptions as q, type CrossReferenceTarget as r, type CrossReferenceTargetType as s, DEFAULT_AUTOCORRECT_EXCEPTIONS as t, type DocumentImportAdapter as u, type DocumentStructureCommandArgs as v, type DocumentStructureCommandItem as w, type FileImportOptions as x, type FocusHeadingOptions as y, FontSize as z };
899
+ export { type RichClipboardStorage as $, type AddCommentOptions as A, BUILT_IN_IMPORT_ADAPTERS as B, COMMENT_MARK_NAME as C, type DocumentImport as D, Footnote as E, FileImport as F, type FootnoteInfo as G, FootnoteReference as H, Footnotes as I, type FootnotesOptions as J, GradientText as K, type GradientTextOptions as L, Image as M, type ImageOptions as N, type InsertFootnoteOptions as O, type InsertTableOfContentsOptions as P, LoadingNode as Q, Markdown as R, Outline as S, type OutlineHeading as T, type OutlineOptions as U, type OutlineSnapshot as V, type OutlineStorage as W, type OutlineStore as X, type OutlineTreeItem as Y, RichClipboard as Z, type RichClipboardOptions as _, type DocumentImportAdapter as a, tableOfContentsPluginKey as a$, type RichTextPresetOptions as a0, SMILIE_REPLACEMENTS as a1, type SetBookmarkOptions as a2, type SlashCommandMatchData as a3, SlashCommands as a4, type SlashCommandsOptions as a5, SmilieReplacer as a6, TableOfContents as a7, type TableOfContentsEntry as a8, type TableOfContentsOptions as a9, getCommentIdsAt as aA, getCommentStore as aB, getCrossReferenceTargets as aC, getDocumentStructureCommandItems as aD, getFootnotes as aE, getImportAccept as aF, getOutline as aG, getTableOfContentsEntries as aH, handleImageInsertion as aI, htmlImportAdapter as aJ, imagePastePluginKey as aK, importFile as aL, insertImageNode as aM, isInsidePromptToken as aN, markdownImportAdapter as aO, navigateToHeading as aP, outlinePluginKey as aQ, plainTextImportAdapter as aR, registerImportAdapter as aS, removeImageNode as aT, richClipboardPluginKey as aU, rtfImportAdapter as aV, smartQuoteRules as aW, smilieAutocorrectRules as aX, symbolRules as aY, syncFootnotes as aZ, tableOfContentsMarkdownIt as a_, TemplateSuggestions as aa, type TemplateSuggestionsOptions as ab, autocorrectPluginKey as ac, buildOutlineTree as ad, capitalizeSentenceRules as ae, commentsPluginKey as af, computeOutline as ag, createImportAdapterRegistry as ah, createOutlineStore as ai, createRichTextPreset as aj, crossReferencePluginKey as ak, defaultAutocorrectRules as al, defaultImportRegistry as am, documentStructureCommandItems as an, fileImportPluginKey as ao, findAutocorrection as ap, findCommentRanges as aq, findHexColors as ar, findImportAdapter as as, footnotesMarkdownIt as at, footnotesPluginKey as au, fractionRules as av, getActiveHeading as aw, getBookmarks as ax, getCommentAnchors as ay, getCommentAuthor as az, Autocorrect as b, twoInitialCapitalsRules as b0, unregisterImportAdapter as b1, updateImageSrc as b2, writeRichClipboard as b3, type AutocorrectContext as c, type AutocorrectCorrection as d, type AutocorrectOptions as e, type AutocorrectRule as f, type AutocorrectStorage as g, Bookmark as h, type BookmarkInfo as i, type BookmarkOptions as j, ColorHighlighter as k, type CommentRange as l, Comments as m, type CommentsOptions as n, type CommentsStorage as o, type CreateImportAdapterRegistryOptions as p, CrossReference as q, type CrossReferenceOptions as r, type CrossReferenceTarget as s, type CrossReferenceTargetType as t, DEFAULT_AUTOCORRECT_EXCEPTIONS as u, type DocumentStructureCommandArgs as v, type DocumentStructureCommandItem as w, type FileImportOptions as x, type FocusHeadingOptions as y, FontSize as z };
@@ -3,10 +3,10 @@ import { C as ColorGradient, f as Template } from './tokens-CyLZmIei.js';
3
3
  import { EditorState, PluginKey, Transaction } from '@tiptap/pm/state';
4
4
  import { DecorationSet, EditorView } from '@tiptap/pm/view';
5
5
  import { Node as Node$1 } from '@tiptap/pm/model';
6
- import { R as ReviewAuthor, b as CommentStore, C as CommentAnchor, i as MentionOptions, k as TrackChangesOptions } from './track-changes-G8JcWB8b.js';
6
+ import { R as ReviewAuthor, b as CommentStore, C as CommentAnchor, i as MentionOptions, k as TrackChangesOptions } from './track-changes-BSF58RK0.js';
7
7
  import { MarkdownOptions } from 'tiptap-markdown';
8
8
  import { ImageOptions as ImageOptions$1 } from '@tiptap/extension-image';
9
- import { c as ImportAdapter, I as ImportAdapterRegistry, b as FindImportAdapterQuery, i as ImportTarget, h as ImportInput, g as ImportFileOptions, a as ImportOutcome, R as RegisterImportAdapterOptions, F as FileLike } from './registry-iAHbqkYt.js';
9
+ import { c as ImportAdapter, I as ImportAdapterRegistry, b as FindImportAdapterQuery, i as ImportTarget, h as ImportInput, g as ImportFileOptions, a as ImportOutcome, R as RegisterImportAdapterOptions, F as FileLike } from './registry-GJI4gToU.js';
10
10
 
11
11
  interface GradientTextOptions {
12
12
  templateColorMap: Map<string, ColorGradient>;
@@ -896,4 +896,4 @@ interface RichTextPresetOptions {
896
896
  */
897
897
  declare function createRichTextPreset(options?: RichTextPresetOptions): Extensions;
898
898
 
899
- export { type RichClipboardStorage as $, type AddCommentOptions as A, BUILT_IN_IMPORT_ADAPTERS as B, COMMENT_MARK_NAME as C, type DocumentImport as D, Footnote as E, FileImport as F, type FootnoteInfo as G, FootnoteReference as H, Footnotes as I, type FootnotesOptions as J, GradientText as K, type GradientTextOptions as L, Image as M, type ImageOptions as N, type InsertFootnoteOptions as O, type InsertTableOfContentsOptions as P, LoadingNode as Q, Markdown as R, Outline as S, type OutlineHeading as T, type OutlineOptions as U, type OutlineSnapshot as V, type OutlineStorage as W, type OutlineStore as X, type OutlineTreeItem as Y, RichClipboard as Z, type RichClipboardOptions as _, Autocorrect as a, tableOfContentsPluginKey as a$, type RichTextPresetOptions as a0, SMILIE_REPLACEMENTS as a1, type SetBookmarkOptions as a2, type SlashCommandMatchData as a3, SlashCommands as a4, type SlashCommandsOptions as a5, SmilieReplacer as a6, TableOfContents as a7, type TableOfContentsEntry as a8, type TableOfContentsOptions as a9, getCommentIdsAt as aA, getCommentStore as aB, getCrossReferenceTargets as aC, getDocumentStructureCommandItems as aD, getFootnotes as aE, getImportAccept as aF, getOutline as aG, getTableOfContentsEntries as aH, handleImageInsertion as aI, htmlImportAdapter as aJ, imagePastePluginKey as aK, importFile as aL, insertImageNode as aM, isInsidePromptToken as aN, markdownImportAdapter as aO, navigateToHeading as aP, outlinePluginKey as aQ, plainTextImportAdapter as aR, registerImportAdapter as aS, removeImageNode as aT, richClipboardPluginKey as aU, rtfImportAdapter as aV, smartQuoteRules as aW, smilieAutocorrectRules as aX, symbolRules as aY, syncFootnotes as aZ, tableOfContentsMarkdownIt as a_, TemplateSuggestions as aa, type TemplateSuggestionsOptions as ab, autocorrectPluginKey as ac, buildOutlineTree as ad, capitalizeSentenceRules as ae, commentsPluginKey as af, computeOutline as ag, createImportAdapterRegistry as ah, createOutlineStore as ai, createRichTextPreset as aj, crossReferencePluginKey as ak, defaultAutocorrectRules as al, defaultImportRegistry as am, documentStructureCommandItems as an, fileImportPluginKey as ao, findAutocorrection as ap, findCommentRanges as aq, findHexColors as ar, findImportAdapter as as, footnotesMarkdownIt as at, footnotesPluginKey as au, fractionRules as av, getActiveHeading as aw, getBookmarks as ax, getCommentAnchors as ay, getCommentAuthor as az, type AutocorrectContext as b, twoInitialCapitalsRules as b0, unregisterImportAdapter as b1, updateImageSrc as b2, writeRichClipboard as b3, type AutocorrectCorrection as c, type AutocorrectOptions as d, type AutocorrectRule as e, type AutocorrectStorage as f, Bookmark as g, type BookmarkInfo as h, type BookmarkOptions as i, ColorHighlighter as j, type CommentRange as k, Comments as l, type CommentsOptions as m, type CommentsStorage as n, type CreateImportAdapterRegistryOptions as o, CrossReference as p, type CrossReferenceOptions as q, type CrossReferenceTarget as r, type CrossReferenceTargetType as s, DEFAULT_AUTOCORRECT_EXCEPTIONS as t, type DocumentImportAdapter as u, type DocumentStructureCommandArgs as v, type DocumentStructureCommandItem as w, type FileImportOptions as x, type FocusHeadingOptions as y, FontSize as z };
899
+ export { type RichClipboardStorage as $, type AddCommentOptions as A, BUILT_IN_IMPORT_ADAPTERS as B, COMMENT_MARK_NAME as C, type DocumentImport as D, Footnote as E, FileImport as F, type FootnoteInfo as G, FootnoteReference as H, Footnotes as I, type FootnotesOptions as J, GradientText as K, type GradientTextOptions as L, Image as M, type ImageOptions as N, type InsertFootnoteOptions as O, type InsertTableOfContentsOptions as P, LoadingNode as Q, Markdown as R, Outline as S, type OutlineHeading as T, type OutlineOptions as U, type OutlineSnapshot as V, type OutlineStorage as W, type OutlineStore as X, type OutlineTreeItem as Y, RichClipboard as Z, type RichClipboardOptions as _, type DocumentImportAdapter as a, tableOfContentsPluginKey as a$, type RichTextPresetOptions as a0, SMILIE_REPLACEMENTS as a1, type SetBookmarkOptions as a2, type SlashCommandMatchData as a3, SlashCommands as a4, type SlashCommandsOptions as a5, SmilieReplacer as a6, TableOfContents as a7, type TableOfContentsEntry as a8, type TableOfContentsOptions as a9, getCommentIdsAt as aA, getCommentStore as aB, getCrossReferenceTargets as aC, getDocumentStructureCommandItems as aD, getFootnotes as aE, getImportAccept as aF, getOutline as aG, getTableOfContentsEntries as aH, handleImageInsertion as aI, htmlImportAdapter as aJ, imagePastePluginKey as aK, importFile as aL, insertImageNode as aM, isInsidePromptToken as aN, markdownImportAdapter as aO, navigateToHeading as aP, outlinePluginKey as aQ, plainTextImportAdapter as aR, registerImportAdapter as aS, removeImageNode as aT, richClipboardPluginKey as aU, rtfImportAdapter as aV, smartQuoteRules as aW, smilieAutocorrectRules as aX, symbolRules as aY, syncFootnotes as aZ, tableOfContentsMarkdownIt as a_, TemplateSuggestions as aa, type TemplateSuggestionsOptions as ab, autocorrectPluginKey as ac, buildOutlineTree as ad, capitalizeSentenceRules as ae, commentsPluginKey as af, computeOutline as ag, createImportAdapterRegistry as ah, createOutlineStore as ai, createRichTextPreset as aj, crossReferencePluginKey as ak, defaultAutocorrectRules as al, defaultImportRegistry as am, documentStructureCommandItems as an, fileImportPluginKey as ao, findAutocorrection as ap, findCommentRanges as aq, findHexColors as ar, findImportAdapter as as, footnotesMarkdownIt as at, footnotesPluginKey as au, fractionRules as av, getActiveHeading as aw, getBookmarks as ax, getCommentAnchors as ay, getCommentAuthor as az, Autocorrect as b, twoInitialCapitalsRules as b0, unregisterImportAdapter as b1, updateImageSrc as b2, writeRichClipboard as b3, type AutocorrectContext as c, type AutocorrectCorrection as d, type AutocorrectOptions as e, type AutocorrectRule as f, type AutocorrectStorage as g, Bookmark as h, type BookmarkInfo as i, type BookmarkOptions as j, ColorHighlighter as k, type CommentRange as l, Comments as m, type CommentsOptions as n, type CommentsStorage as o, type CreateImportAdapterRegistryOptions as p, CrossReference as q, type CrossReferenceOptions as r, type CrossReferenceTarget as s, type CrossReferenceTargetType as t, DEFAULT_AUTOCORRECT_EXCEPTIONS as u, type DocumentStructureCommandArgs as v, type DocumentStructureCommandItem as w, type FileImportOptions as x, type FocusHeadingOptions as y, FontSize as z };
package/dist/index.cjs CHANGED
@@ -109,7 +109,19 @@ var _chunk4SUNJZWBcjs = require('./chunk-4SUNJZWB.cjs');
109
109
 
110
110
 
111
111
 
112
- var _chunk4QPLEUL2cjs = require('./chunk-4QPLEUL2.cjs');
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ var _chunkGVSMRPHBcjs = require('./chunk-GVSMRPHB.cjs');
113
125
 
114
126
 
115
127
 
@@ -136,7 +148,26 @@ require('./chunk-JACER6TE.cjs');
136
148
 
137
149
 
138
150
 
139
- var _chunkLA7PEGU3cjs = require('./chunk-LA7PEGU3.cjs');
151
+ var _chunkCL37JGFWcjs = require('./chunk-CL37JGFW.cjs');
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
140
171
 
141
172
 
142
173
 
@@ -172,6 +203,7 @@ var _chunkLA7PEGU3cjs = require('./chunk-LA7PEGU3.cjs');
172
203
 
173
204
 
174
205
 
206
+ var _chunkXDMXXC4Zcjs = require('./chunk-XDMXXC4Z.cjs');
175
207
 
176
208
 
177
209
 
@@ -180,6 +212,7 @@ var _chunkLA7PEGU3cjs = require('./chunk-LA7PEGU3.cjs');
180
212
 
181
213
 
182
214
 
215
+ var _chunkG2I4QJOTcjs = require('./chunk-G2I4QJOT.cjs');
183
216
 
184
217
 
185
218
 
@@ -190,11 +223,9 @@ var _chunkLA7PEGU3cjs = require('./chunk-LA7PEGU3.cjs');
190
223
 
191
224
 
192
225
 
193
- var _chunkU6NDQFOKcjs = require('./chunk-U6NDQFOK.cjs');
194
226
 
195
227
 
196
228
 
197
- var _chunk2TWGLC5Kcjs = require('./chunk-2TWGLC5K.cjs');
198
229
 
199
230
 
200
231
 
@@ -221,6 +252,7 @@ var _chunk2TWGLC5Kcjs = require('./chunk-2TWGLC5K.cjs');
221
252
 
222
253
 
223
254
 
255
+ var _chunkAA4ZEVCCcjs = require('./chunk-AA4ZEVCC.cjs');
224
256
 
225
257
 
226
258
 
@@ -229,7 +261,6 @@ var _chunk2TWGLC5Kcjs = require('./chunk-2TWGLC5K.cjs');
229
261
 
230
262
 
231
263
 
232
- var _chunkTVRC4KVTcjs = require('./chunk-TVRC4KVT.cjs');
233
264
 
234
265
 
235
266
 
@@ -255,7 +286,8 @@ var _chunkTVRC4KVTcjs = require('./chunk-TVRC4KVT.cjs');
255
286
 
256
287
 
257
288
 
258
- var _chunkJYRIOFENcjs = require('./chunk-JYRIOFEN.cjs');
289
+
290
+ var _chunkRIKBJLS2cjs = require('./chunk-RIKBJLS2.cjs');
259
291
 
260
292
  // src/controller.ts
261
293
  var _core = require('@tiptap/core');
@@ -288,7 +320,7 @@ var EditorController = class {
288
320
  this.onMarkdownChange = onMarkdownChange;
289
321
  this.onTokensChange = onTokensChange;
290
322
  this.onSelectionChange = onSelectionChange;
291
- const initialContent = plainTextMode && typeof content === "string" ? _chunkTVRC4KVTcjs.plainTextToTipTapHtml.call(void 0, content) : markdownMode && typeof content === "string" ? _chunkTVRC4KVTcjs.markdownToTipTapHtml.call(void 0, content) : content;
323
+ const initialContent = plainTextMode && typeof content === "string" ? _chunkAA4ZEVCCcjs.plainTextToTipTapHtml.call(void 0, content) : markdownMode && typeof content === "string" ? _chunkAA4ZEVCCcjs.markdownToTipTapHtml.call(void 0, content) : content;
292
324
  this.editor = new (0, _core.Editor)({
293
325
  element: element || void 0,
294
326
  content: initialContent,
@@ -321,7 +353,7 @@ var EditorController = class {
321
353
  clipboardTextParser: (text, context, _plain, view) => {
322
354
  const schema = _optionalChain([context, 'optionalAccess', _13 => _13.doc, 'optionalAccess', _14 => _14.type, 'optionalAccess', _15 => _15.schema]) || _optionalChain([context, 'optionalAccess', _16 => _16.schema]) || _optionalChain([view, 'optionalAccess', _17 => _17.state, 'optionalAccess', _18 => _18.schema]) || this.editor.schema;
323
355
  if (!schema) return _model.Slice.empty;
324
- return _chunkTVRC4KVTcjs.plainTextToSlice.call(void 0, text, schema);
356
+ return _chunkAA4ZEVCCcjs.plainTextToSlice.call(void 0, text, schema);
325
357
  }
326
358
  }
327
359
  });
@@ -347,20 +379,20 @@ var EditorController = class {
347
379
  }
348
380
  }
349
381
  getPlainText() {
350
- return _chunkTVRC4KVTcjs.getEditorText.call(void 0, this.editor);
382
+ return _chunkAA4ZEVCCcjs.getEditorText.call(void 0, this.editor);
351
383
  }
352
384
  setPlainText(text, emitUpdate = true) {
353
- const html = _chunkTVRC4KVTcjs.plainTextToTipTapHtml.call(void 0, text);
385
+ const html = _chunkAA4ZEVCCcjs.plainTextToTipTapHtml.call(void 0, text);
354
386
  this.editor.commands.setContent(html, emitUpdate);
355
387
  }
356
388
  getMarkdown() {
357
- return _chunkTVRC4KVTcjs.getEditorMarkdown.call(void 0, this.editor);
389
+ return _chunkAA4ZEVCCcjs.getEditorMarkdown.call(void 0, this.editor);
358
390
  }
359
391
  setMarkdown(markdown, emitUpdate = true) {
360
392
  if (_optionalChain([this, 'access', _23 => _23.editor, 'access', _24 => _24.storage, 'optionalAccess', _25 => _25.markdown, 'optionalAccess', _26 => _26.parser])) {
361
393
  this.editor.commands.setContent(markdown, emitUpdate);
362
394
  } else {
363
- const html = _chunkTVRC4KVTcjs.markdownToTipTapHtml.call(void 0, markdown);
395
+ const html = _chunkAA4ZEVCCcjs.markdownToTipTapHtml.call(void 0, markdown);
364
396
  this.editor.commands.setContent(html, emitUpdate);
365
397
  }
366
398
  }
@@ -370,7 +402,7 @@ var EditorController = class {
370
402
  */
371
403
  insertPlainText(from, to, text) {
372
404
  const { state, view } = this.editor;
373
- const tr = text.includes("\n") || text.includes("\r") ? state.tr.replace(from, to, _chunkTVRC4KVTcjs.plainTextToSlice.call(void 0, text, state.schema)) : text ? state.tr.insertText(text, from, to) : state.tr.delete(from, to);
405
+ const tr = text.includes("\n") || text.includes("\r") ? state.tr.replace(from, to, _chunkAA4ZEVCCcjs.plainTextToSlice.call(void 0, text, state.schema)) : text ? state.tr.insertText(text, from, to) : state.tr.delete(from, to);
374
406
  view.dispatch(tr.scrollIntoView());
375
407
  }
376
408
  /** Inserts text literally at the selection; HTML in `text` is not parsed. */
@@ -413,78 +445,13 @@ function createEditor(options = {}) {
413
445
  return new EditorController(options);
414
446
  }
415
447
 
416
- // src/dirty.ts
417
- function defaultIsEqual(a, b) {
418
- if (Object.is(a, b)) return true;
419
- if (typeof a !== "object" || a === null || typeof b !== "object" || b === null) {
420
- return false;
421
- }
422
- if (Array.isArray(a) && Array.isArray(b)) {
423
- if (a.length !== b.length) return false;
424
- for (let i = 0; i < a.length; i++) {
425
- if (!defaultIsEqual(a[i], b[i])) return false;
426
- }
427
- return true;
428
- }
429
- if (Array.isArray(a) !== Array.isArray(b)) {
430
- return false;
431
- }
432
- const keysA = Object.keys(a);
433
- const keysB = Object.keys(b);
434
- if (keysA.length !== keysB.length) return false;
435
- for (const key of keysA) {
436
- if (!Object.prototype.hasOwnProperty.call(b, key)) return false;
437
- if (!defaultIsEqual(a[key], b[key])) return false;
438
- }
439
- return true;
440
- }
441
- var DirtyTracker = class {
442
-
443
-
444
- constructor(initialBaseline, options) {
445
- this.baseline = initialBaseline;
446
- if (typeof options === "function") {
447
- this.isEqual = options;
448
- } else {
449
- this.isEqual = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _27 => _27.isEqual]), () => ( defaultIsEqual));
450
- }
451
- }
452
- /**
453
- * Returns current baseline value.
454
- */
455
- getBaseline() {
456
- return this.baseline;
457
- }
458
- /**
459
- * Sets a new baseline value without triggering any dirty state.
460
- */
461
- setBaseline(value) {
462
- this.baseline = value;
463
- }
464
- /**
465
- * Checks whether the given value differs from the baseline.
466
- */
467
- isDirty(current) {
468
- return !this.isEqual(this.baseline, current);
469
- }
470
- /**
471
- * Resets the baseline to the provided current value (or clears dirty status).
472
- */
473
- reset(current) {
474
- this.baseline = current;
475
- }
476
- };
477
- function createDirtyTracker(initialBaseline, options) {
478
- return new DirtyTracker(initialBaseline, options);
479
- }
480
-
481
448
  // src/import/controller.ts
482
449
  function pickImportFiles(options = {}) {
483
450
  if (typeof document === "undefined") return Promise.resolve([]);
484
451
  return new Promise((resolve) => {
485
452
  const input = document.createElement("input");
486
453
  input.type = "file";
487
- input.accept = _nullishCoalesce(options.accept, () => ( _chunk4QPLEUL2cjs.defaultImportRegistry.accept("document")));
454
+ input.accept = _nullishCoalesce(options.accept, () => ( _chunkGVSMRPHBcjs.defaultImportRegistry.accept("document")));
488
455
  input.multiple = _nullishCoalesce(options.multiple, () => ( true));
489
456
  input.style.display = "none";
490
457
  const finish = (files) => {
@@ -512,7 +479,7 @@ var FileImportController = (_class = class {
512
479
  }
513
480
  /** `accept` attribute value for document imports. */
514
481
  get accept() {
515
- return (_nullishCoalesce(this.options.registry, () => ( _chunk4QPLEUL2cjs.defaultImportRegistry))).accept("document");
482
+ return (_nullishCoalesce(this.options.registry, () => ( _chunkGVSMRPHBcjs.defaultImportRegistry))).accept("document");
516
483
  }
517
484
  __init4() {this.getState = () => this.state}
518
485
  __init5() {this.subscribe = (listener) => {
@@ -534,12 +501,12 @@ var FileImportController = (_class = class {
534
501
  this.setState({ isImporting: true, error: null });
535
502
  let error = null;
536
503
  try {
537
- const outcomes = await _chunk4QPLEUL2cjs.importFilesIntoEditor.call(void 0, target, list, {
504
+ const outcomes = await _chunkGVSMRPHBcjs.importFilesIntoEditor.call(void 0, target, list, {
538
505
  ...this.options,
539
506
  at,
540
507
  onError: (err, file) => {
541
508
  error = err;
542
- _optionalChain([this, 'access', _31 => _31.options, 'access', _32 => _32.onError, 'optionalCall', _33 => _33(err, file)]);
509
+ _optionalChain([this, 'access', _30 => _30.options, 'access', _31 => _31.onError, 'optionalCall', _32 => _32(err, file)]);
543
510
  }
544
511
  });
545
512
  this.pending--;
@@ -561,6 +528,231 @@ function createFileImportController(getTarget, options) {
561
528
  return new FileImportController(getTarget, options);
562
529
  }
563
530
 
531
+ // src/import/pdf.ts
532
+ var isTextItem = (item) => typeof item.str === "string";
533
+ function median(values) {
534
+ if (!values.length) return 0;
535
+ const sorted = [...values].sort((a, b) => a - b);
536
+ const mid = sorted.length >> 1;
537
+ return sorted.length % 2 ? sorted[mid] : (sorted[mid - 1] + sorted[mid]) / 2;
538
+ }
539
+ function groupLines(items) {
540
+ const lines = [];
541
+ let current = null;
542
+ let breakNext = false;
543
+ for (const item of items) {
544
+ if (!isTextItem(item)) continue;
545
+ const x = _nullishCoalesce(_optionalChain([item, 'access', _33 => _33.transform, 'optionalAccess', _34 => _34[4]]), () => ( 0));
546
+ const y = _nullishCoalesce(_optionalChain([item, 'access', _35 => _35.transform, 'optionalAccess', _36 => _36[5]]), () => ( (_nullishCoalesce(_optionalChain([current, 'optionalAccess', _37 => _37.y]), () => ( 0)))));
547
+ const height = item.height || Math.abs(_nullishCoalesce(_optionalChain([item, 'access', _38 => _38.transform, 'optionalAccess', _39 => _39[3]]), () => ( 0))) || _optionalChain([current, 'optionalAccess', _40 => _40.height]) || 10;
548
+ const tolerance = Math.max(1, height * 0.5);
549
+ if (!item.str) {
550
+ if (item.hasEOL) {
551
+ if (breakNext && current) current.blankAfter = true;
552
+ breakNext = true;
553
+ }
554
+ continue;
555
+ }
556
+ if (!current || breakNext || Math.abs(y - current.y) > tolerance) {
557
+ current = { text: "", y, height, blankAfter: false };
558
+ lines.push(current);
559
+ } else if (current.endX !== void 0 && x - current.endX > height * 0.15) {
560
+ if (!/\s$/.test(current.text) && !/^\s/.test(item.str)) current.text += " ";
561
+ }
562
+ current.text += item.str;
563
+ current.height = Math.max(current.height, height);
564
+ current.endX = item.width !== void 0 ? x + item.width : void 0;
565
+ breakNext = !!item.hasEOL;
566
+ }
567
+ return lines;
568
+ }
569
+ function pdfTextItemsToParagraphs(items, options = {}) {
570
+ const lines = groupLines(items).filter((line) => line.text.trim() || line.blankAfter);
571
+ const gaps = [];
572
+ for (let i = 1; i < lines.length; i++) {
573
+ const gap = lines[i - 1].y - lines[i].y;
574
+ if (gap > 0) gaps.push(gap);
575
+ }
576
+ const typical = median(gaps);
577
+ const factor = _nullishCoalesce(options.paragraphGap, () => ( 1.4));
578
+ const paragraphs = [];
579
+ let current = [];
580
+ const flush = () => {
581
+ const text = current.join(" ").replace(/\s+/g, " ").trim();
582
+ if (text) paragraphs.push(text);
583
+ current = [];
584
+ };
585
+ lines.forEach((line, i) => {
586
+ if (i > 0) {
587
+ const prev = lines[i - 1];
588
+ const gap = prev.y - line.y;
589
+ const bigGap = typical > 0 ? gap > typical * factor : gap > prev.height * 1.8;
590
+ if (prev.blankAfter || bigGap || gap < -prev.height * 0.5) flush();
591
+ }
592
+ const text = line.text.trim();
593
+ if (!text) return;
594
+ if (current.length && /\w-$/.test(current[current.length - 1]) && /^[a-z]/.test(text)) {
595
+ current[current.length - 1] = current[current.length - 1].slice(0, -1) + text;
596
+ } else {
597
+ current.push(text);
598
+ }
599
+ });
600
+ flush();
601
+ return paragraphs;
602
+ }
603
+ function createPdfImportAdapter(pdfjs, options = {}) {
604
+ return {
605
+ id: _nullishCoalesce(options.id, () => ( "pdf")),
606
+ label: "PDF",
607
+ mimeTypes: ["application/pdf"],
608
+ extensions: [".pdf"],
609
+ target: "document",
610
+ async import(_input, context) {
611
+ const data = new Uint8Array((await context.readArrayBuffer()).slice(0));
612
+ const doc = await pdfjs.getDocument({ ...options.documentParams, data }).promise;
613
+ const paragraphs = [];
614
+ try {
615
+ const pages = Math.min(doc.numPages, _nullishCoalesce(options.maxPages, () => ( Infinity)));
616
+ for (let n = 1; n <= pages; n++) {
617
+ const page = await doc.getPage(n);
618
+ const content = await page.getTextContent();
619
+ paragraphs.push(...pdfTextItemsToParagraphs(content.items, options));
620
+ _optionalChain([page, 'access', _41 => _41.cleanup, 'optionalCall', _42 => _42()]);
621
+ }
622
+ } finally {
623
+ await _optionalChain([doc, 'access', _43 => _43.destroy, 'optionalCall', _44 => _44()]);
624
+ }
625
+ const text = paragraphs.join("\n");
626
+ return { html: _chunkCL37JGFWcjs.plainTextToParagraphHtml.call(void 0, text), text };
627
+ }
628
+ };
629
+ }
630
+
631
+ // src/import/zip-export.ts
632
+ var INDEX_NAMES = /^(index|readme|home|_index|start)$/i;
633
+ var baseName = (path) => path.slice(path.lastIndexOf("/") + 1);
634
+ var stem = (name) => name.replace(/\.[^./]+$/, "");
635
+ function zipEntryTitle(path) {
636
+ const title = stem(baseName(path)).replace(/\s+[0-9a-f]{32}$/i, "").replace(/[_]+/g, " ").trim();
637
+ return title || baseName(path);
638
+ }
639
+ function sortZipEntryNames(names) {
640
+ const isIndex = (name) => INDEX_NAMES.test(stem(baseName(name)));
641
+ const depth = (name) => name.split("/").length;
642
+ return [...names].sort((a, b) => {
643
+ const ai = isIndex(a);
644
+ const bi = isIndex(b);
645
+ if (ai !== bi) return ai ? -1 : 1;
646
+ if (ai && bi && depth(a) !== depth(b)) return depth(a) - depth(b);
647
+ return a.localeCompare(b, void 0, { numeric: true, sensitivity: "base" });
648
+ });
649
+ }
650
+ var isJunk = (name) => name.startsWith("__MACOSX/") || name.split("/").some((segment) => segment.startsWith("."));
651
+ function createZipImportAdapter(options = {}) {
652
+ const id = _nullishCoalesce(options.id, () => ( "zip"));
653
+ return {
654
+ id,
655
+ label: "Zipped documents",
656
+ mimeTypes: ["application/zip", "application/x-zip-compressed"],
657
+ extensions: [".zip"],
658
+ target: "document",
659
+ async import(_input, context) {
660
+ const registry = _nullishCoalesce(_nullishCoalesce(options.registry, () => ( context.registry)), () => ( _chunkGVSMRPHBcjs.defaultImportRegistry));
661
+ const zip = await _chunkGVSMRPHBcjs.readZip.call(void 0, await context.readArrayBuffer(), {
662
+ maxTotalSize: 100 * 1024 * 1024,
663
+ maxEntries: 5e3,
664
+ ...options.zip
665
+ });
666
+ const maxFiles = _nullishCoalesce(options.maxFiles, () => ( 500));
667
+ const level = _nullishCoalesce(options.headingLevel, () => ( 2));
668
+ const files = [];
669
+ const skipped = [];
670
+ let html = "";
671
+ let text = "";
672
+ const names = zip.entries.filter((entry) => !entry.isDirectory).map((entry) => entry.name);
673
+ for (const name of sortZipEntryNames(names)) {
674
+ if (isJunk(name)) continue;
675
+ const adapter = registry.find({ fileName: name, target: "document" });
676
+ if (!adapter) {
677
+ skipped.push({ name, reason: "unsupported type" });
678
+ continue;
679
+ }
680
+ if (adapter.id === id || adapter.extensions.some((ext) => ext.toLowerCase() === ".zip")) {
681
+ skipped.push({ name, reason: "nested archive" });
682
+ continue;
683
+ }
684
+ if (files.length >= maxFiles) {
685
+ skipped.push({ name, reason: "file limit reached" });
686
+ continue;
687
+ }
688
+ try {
689
+ const outcome = await registry.importFile(await zip.read(name), {
690
+ fileName: name,
691
+ adapterId: adapter.id
692
+ });
693
+ const title = zipEntryTitle(name);
694
+ if (options.headings !== false) {
695
+ html += `<h${level}>${_chunkAA4ZEVCCcjs.escapeHtml.call(void 0, title)}</h${level}>`;
696
+ text += `${text ? "\n" : ""}${title}
697
+ `;
698
+ } else if (text) {
699
+ text += "\n";
700
+ }
701
+ html += outcome.result.html.trim();
702
+ text += outcome.result.text;
703
+ files.push({ name, adapterId: adapter.id });
704
+ } catch (error) {
705
+ const code = _optionalChain([error, 'optionalAccess', _45 => _45.code]);
706
+ if (code === "too_large") throw error;
707
+ skipped.push({ name, reason: error instanceof Error ? error.message : String(error) });
708
+ }
709
+ }
710
+ if (!files.length) {
711
+ throw new (0, _chunkGVSMRPHBcjs.ImportError)("invalid_file", "The archive contains no importable documents.", {
712
+ fileName: context.fileName
713
+ });
714
+ }
715
+ return { html, text, files, skipped };
716
+ }
717
+ };
718
+ }
719
+ var zipImportAdapter = createZipImportAdapter();
720
+
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
564
756
 
565
757
 
566
758
 
@@ -810,5 +1002,5 @@ function createFileImportController(getTarget, options) {
810
1002
 
811
1003
 
812
1004
 
813
- exports.Autocorrect = _chunk4QPLEUL2cjs.Autocorrect; exports.BUILT_IN_IMPORT_ADAPTERS = _chunk4QPLEUL2cjs.BUILT_IN_IMPORT_ADAPTERS; exports.Bookmark = _chunk4QPLEUL2cjs.Bookmark; exports.COMMENT_MARK_NAME = _chunk4QPLEUL2cjs.COMMENT_MARK_NAME; exports.ColorHighlighter = _chunk4QPLEUL2cjs.ColorHighlighter; exports.CommentStore = _chunkTVRC4KVTcjs.CommentStore; exports.Comments = _chunk4QPLEUL2cjs.Comments; exports.CrossReference = _chunk4QPLEUL2cjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunk4QPLEUL2cjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkU6NDQFOKcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_ROW_HEIGHT = _chunkU6NDQFOKcjs.DEFAULT_ROW_HEIGHT; exports.DELETION_MARK_NAME = _chunkTVRC4KVTcjs.DELETION_MARK_NAME; exports.DataSourceBinder = _chunkU6NDQFOKcjs.DataSourceBinder; exports.DependencyGraph = _chunkU6NDQFOKcjs.DependencyGraph; exports.DirtyTracker = DirtyTracker; exports.EditorController = EditorController; exports.FORMULA_ERRORS = _chunkJYRIOFENcjs.FORMULA_ERRORS; exports.FileImport = _chunk4QPLEUL2cjs.FileImport; exports.FileImportController = FileImportController; exports.FontSize = _chunk4QPLEUL2cjs.FontSize; exports.Footnote = _chunk4QPLEUL2cjs.Footnote; exports.FootnoteReference = _chunk4QPLEUL2cjs.FootnoteReference; exports.Footnotes = _chunk4QPLEUL2cjs.Footnotes; exports.FormulaEvaluator = _chunkJYRIOFENcjs.FormulaEvaluator; exports.FormulaParser = _chunkJYRIOFENcjs.FormulaParser; exports.GradientText = _chunk4QPLEUL2cjs.GradientText; exports.HistoryManager = _chunk2TWGLC5Kcjs.HistoryManager; exports.INSERTION_MARK_NAME = _chunkTVRC4KVTcjs.INSERTION_MARK_NAME; exports.INSTRUCTION_REGEX = _chunkAXV2ZW34cjs.INSTRUCTION_REGEX; exports.Image = _chunk4QPLEUL2cjs.Image; exports.ImportAdapterRegistry = _chunk4QPLEUL2cjs.ImportAdapterRegistry; exports.ImportError = _chunk4QPLEUL2cjs.ImportError; exports.LoadingNode = _chunk4QPLEUL2cjs.LoadingNode; exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkTVRC4KVTcjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MENTION_REGEX = _chunkTVRC4KVTcjs.MENTION_REGEX; exports.Markdown = _chunk4QPLEUL2cjs.Markdown; exports.Mention = _chunk4QPLEUL2cjs.Mention; exports.Outline = _chunk4QPLEUL2cjs.Outline; exports.PIXERATE_DOCUMENT_MIME = _chunkLA7PEGU3cjs.PIXERATE_DOCUMENT_MIME; exports.RichClipboard = _chunk4QPLEUL2cjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunk4QPLEUL2cjs.SMILIE_REPLACEMENTS; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkU6NDQFOKcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkU6NDQFOKcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunkU6NDQFOKcjs.SPREADSHEET_TABLE_ACTIONS; exports.SlashCommands = _chunk4QPLEUL2cjs.SlashCommands; exports.SmilieReplacer = _chunk4QPLEUL2cjs.SmilieReplacer; exports.SpreadsheetController = _chunkU6NDQFOKcjs.SpreadsheetController; exports.TEMPLATE_DEPTH_ERROR = _chunk4SUNJZWBcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunk4SUNJZWBcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkAXV2ZW34cjs.TEMPLATE_REGEX; exports.TRACK_CHANGES_SKIP_META = _chunkTVRC4KVTcjs.TRACK_CHANGES_SKIP_META; exports.TableOfContents = _chunk4QPLEUL2cjs.TableOfContents; exports.TemplateSuggestions = _chunk4QPLEUL2cjs.TemplateSuggestions; exports.TrackChanges = _chunkTVRC4KVTcjs.TrackChanges; exports.TrackChangesStore = _chunkTVRC4KVTcjs.TrackChangesStore; exports.TrackedDeletion = _chunkTVRC4KVTcjs.TrackedDeletion; exports.TrackedInsertion = _chunkTVRC4KVTcjs.TrackedInsertion; exports.VARIABLE_REGEX = _chunkAXV2ZW34cjs.VARIABLE_REGEX; exports.WHOLE_COLUMN_END_ROW = _chunkJYRIOFENcjs.WHOLE_COLUMN_END_ROW; exports.aggregateValues = _chunkU6NDQFOKcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkU6NDQFOKcjs.applyFormulaSuggestion; exports.autocorrectPluginKey = _chunk4QPLEUL2cjs.autocorrectPluginKey; exports.bindSpreadsheetTableActions = _chunkU6NDQFOKcjs.bindSpreadsheetTableActions; exports.buildOutlineTree = _chunk4QPLEUL2cjs.buildOutlineTree; exports.buildSpreadsheetView = _chunkU6NDQFOKcjs.buildSpreadsheetView; exports.capitalizeSentenceRules = _chunk4QPLEUL2cjs.capitalizeSentenceRules; exports.checkFormulaArgumentCount = _chunkJYRIOFENcjs.checkFormulaArgumentCount; exports.colNameToIndex = _chunkJYRIOFENcjs.colNameToIndex; exports.columnDependencyKey = _chunkU6NDQFOKcjs.columnDependencyKey; exports.commentsPluginKey = _chunk4QPLEUL2cjs.commentsPluginKey; exports.compactVariableValues = _chunk4SUNJZWBcjs.compactVariableValues; exports.compareCellValues = _chunkU6NDQFOKcjs.compareCellValues; exports.computeFillTarget = _chunkU6NDQFOKcjs.computeFillTarget; exports.computeOutline = _chunk4QPLEUL2cjs.computeOutline; exports.computeRowGroups = _chunkU6NDQFOKcjs.computeRowGroups; exports.createCommentStore = _chunkTVRC4KVTcjs.createCommentStore; exports.createDirtyTracker = createDirtyTracker; exports.createEditor = createEditor; exports.createFileImportController = createFileImportController; exports.createHistoryManager = _chunk2TWGLC5Kcjs.createHistoryManager; exports.createImportAdapterRegistry = _chunk4QPLEUL2cjs.createImportAdapterRegistry; exports.createImportContext = _chunk4QPLEUL2cjs.createImportContext; exports.createMentionExtension = _chunk4QPLEUL2cjs.createMentionExtension; exports.createOutlineStore = _chunk4QPLEUL2cjs.createOutlineStore; exports.createReviewId = _chunkTVRC4KVTcjs.createReviewId; exports.createRichTextPreset = _chunk4QPLEUL2cjs.createRichTextPreset; exports.createSpreadsheetClipboardData = _chunkU6NDQFOKcjs.createSpreadsheetClipboardData; exports.crossReferencePluginKey = _chunk4QPLEUL2cjs.crossReferencePluginKey; exports.csvImportAdapter = _chunkU6NDQFOKcjs.csvImportAdapter; exports.defaultAutocorrectRules = _chunk4QPLEUL2cjs.defaultAutocorrectRules; exports.defaultImportRegistry = _chunk4QPLEUL2cjs.defaultImportRegistry; exports.defaultIsEqual = defaultIsEqual; exports.describeFormulaError = _chunkJYRIOFENcjs.describeFormulaError; exports.documentStructureCommandItems = _chunk4QPLEUL2cjs.documentStructureCommandItems; exports.escapeCsvField = _chunkU6NDQFOKcjs.escapeCsvField; exports.escapeHtml = _chunkTVRC4KVTcjs.escapeHtml; exports.escapeVariableText = _chunkAXV2ZW34cjs.escapeVariableText; exports.evaluateCondition = _chunkAXV2ZW34cjs.evaluateCondition; exports.evaluatePromptTokens = _chunk4SUNJZWBcjs.evaluatePromptTokens; exports.extractCellDependencies = _chunkU6NDQFOKcjs.extractCellDependencies; exports.extractInstructionNames = _chunk4SUNJZWBcjs.extractInstructionNames; exports.extractMentions = _chunkTVRC4KVTcjs.extractMentions; exports.extractMentionsFromDoc = _chunkTVRC4KVTcjs.extractMentionsFromDoc; exports.extractTemplateNames = _chunk4SUNJZWBcjs.extractTemplateNames; exports.extractVariableNames = _chunk4SUNJZWBcjs.extractVariableNames; exports.extractVariables = _chunk4SUNJZWBcjs.extractVariables; exports.fileImportPluginKey = _chunk4QPLEUL2cjs.fileImportPluginKey; exports.fillSeries = _chunkU6NDQFOKcjs.fillSeries; exports.findAutocorrection = _chunk4QPLEUL2cjs.findAutocorrection; exports.findCommentRanges = _chunk4QPLEUL2cjs.findCommentRanges; exports.findHexColors = _chunk4QPLEUL2cjs.findHexColors; exports.findImportAdapter = _chunk4QPLEUL2cjs.findImportAdapter; exports.footnotesMarkdownIt = _chunk4QPLEUL2cjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunk4QPLEUL2cjs.footnotesPluginKey; exports.formatReviewTime = _chunkTVRC4KVTcjs.formatReviewTime; exports.formatValueWithCode = _chunkJYRIOFENcjs.formatValueWithCode; exports.fractionRules = _chunk4QPLEUL2cjs.fractionRules; exports.getActiveHeading = _chunk4QPLEUL2cjs.getActiveHeading; exports.getBookmarks = _chunk4QPLEUL2cjs.getBookmarks; exports.getClipboardData = _chunkLA7PEGU3cjs.getClipboardData; exports.getCommentAnchors = _chunk4QPLEUL2cjs.getCommentAnchors; exports.getCommentAuthor = _chunk4QPLEUL2cjs.getCommentAuthor; exports.getCommentIdsAt = _chunk4QPLEUL2cjs.getCommentIdsAt; exports.getCommentStore = _chunk4QPLEUL2cjs.getCommentStore; exports.getCrossReferenceTargets = _chunk4QPLEUL2cjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunk4QPLEUL2cjs.getDocumentStructureCommandItems; exports.getEditorMarkdown = _chunkTVRC4KVTcjs.getEditorMarkdown; exports.getEditorText = _chunkTVRC4KVTcjs.getEditorText; exports.getFillDirection = _chunkU6NDQFOKcjs.getFillDirection; exports.getFootnotes = _chunk4QPLEUL2cjs.getFootnotes; exports.getFormulaArgumentSpecIndex = _chunkJYRIOFENcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkU6NDQFOKcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkJYRIOFENcjs.getFormulaFunction; exports.getFormulaHints = _chunkU6NDQFOKcjs.getFormulaHints; exports.getFormulaSignature = _chunkJYRIOFENcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkJYRIOFENcjs.getFormulaSignatureParts; exports.getImportAccept = _chunk4QPLEUL2cjs.getImportAccept; exports.getLatestVersion = _chunk4SUNJZWBcjs.getLatestVersion; exports.getOutline = _chunk4QPLEUL2cjs.getOutline; exports.getPromptDiagnostics = _chunk4SUNJZWBcjs.getPromptDiagnostics; exports.getRowSection = _chunkU6NDQFOKcjs.getRowSection; exports.getSchemaSignature = _chunkLA7PEGU3cjs.getSchemaSignature; exports.getSpreadsheetMenuItems = _chunkU6NDQFOKcjs.getSpreadsheetMenuItems; exports.getSuppliedValue = _chunkAXV2ZW34cjs.getSuppliedValue; exports.getTableOfContentsEntries = _chunk4QPLEUL2cjs.getTableOfContentsEntries; exports.getTableSections = _chunkU6NDQFOKcjs.getTableSections; exports.getTemplateBody = _chunk4SUNJZWBcjs.getTemplateBody; exports.getTrackChangesStore = _chunkTVRC4KVTcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkTVRC4KVTcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkTVRC4KVTcjs.getTrackedChanges; exports.getVariableFormFields = _chunk4SUNJZWBcjs.getVariableFormFields; exports.handleImageInsertion = _chunk4QPLEUL2cjs.handleImageInsertion; exports.htmlImportAdapter = _chunk4QPLEUL2cjs.htmlImportAdapter; exports.htmlToPlainText = _chunkTVRC4KVTcjs.htmlToPlainText; exports.htmlToSlice = _chunk4QPLEUL2cjs.htmlToSlice; exports.imagePastePluginKey = _chunk4QPLEUL2cjs.imagePastePluginKey; exports.importFile = _chunk4QPLEUL2cjs.importFile; exports.importFileIntoSpreadsheet = _chunkU6NDQFOKcjs.importFileIntoSpreadsheet; exports.importFilesIntoEditor = _chunk4QPLEUL2cjs.importFilesIntoEditor; exports.indexToColName = _chunkJYRIOFENcjs.indexToColName; exports.insertImageNode = _chunk4QPLEUL2cjs.insertImageNode; exports.insertImportedDocument = _chunk4QPLEUL2cjs.insertImportedDocument; exports.instructionRegex = _chunkAXV2ZW34cjs.instructionRegex; exports.isBlankValue = _chunkU6NDQFOKcjs.isBlankValue; exports.isFormulaError = _chunkJYRIOFENcjs.isFormulaError; exports.isInsidePromptToken = _chunk4QPLEUL2cjs.isInsidePromptToken; exports.isPromptValueSet = _chunkAXV2ZW34cjs.isPromptValueSet; exports.isSingleCellRange = _chunkU6NDQFOKcjs.isSingleCellRange; exports.isTrackChangesEnabled = _chunkTVRC4KVTcjs.isTrackChangesEnabled; exports.listFormulaFunctions = _chunkJYRIOFENcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkU6NDQFOKcjs.mapFormulaReferences; exports.mapRawOffsetToResolved = _chunk4SUNJZWBcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunk4SUNJZWBcjs.mapResolvedOffsetToRaw; exports.markdownImportAdapter = _chunk4QPLEUL2cjs.markdownImportAdapter; exports.markdownToTipTapHtml = _chunkTVRC4KVTcjs.markdownToTipTapHtml; exports.matchConditionalTags = _chunkAXV2ZW34cjs.matchConditionalTags; exports.matchesFilterRule = _chunkU6NDQFOKcjs.matchesFilterRule; exports.navigateToHeading = _chunk4QPLEUL2cjs.navigateToHeading; exports.normalizeRange = _chunkU6NDQFOKcjs.normalizeRange; exports.offsetFormulaReferences = _chunkU6NDQFOKcjs.offsetFormulaReferences; exports.outlinePluginKey = _chunk4QPLEUL2cjs.outlinePluginKey; exports.parseCellReference = _chunkJYRIOFENcjs.parseCellReference; exports.parseCriteria = _chunkJYRIOFENcjs.parseCriteria; exports.parseCsv = _chunkU6NDQFOKcjs.parseCsv; exports.parseFormula = _chunkJYRIOFENcjs.parseFormula; exports.parseHtmlTable = _chunkU6NDQFOKcjs.parseHtmlTable; exports.parseMentionSegments = _chunkTVRC4KVTcjs.parseMentionSegments; exports.parseRange = _chunkJYRIOFENcjs.parseRange; exports.parseRichClipboardPayload = _chunkLA7PEGU3cjs.parseRichClipboardPayload; exports.parseTsv = _chunkU6NDQFOKcjs.parseTsv; exports.parseVariableBody = _chunkAXV2ZW34cjs.parseVariableBody; exports.pickImportFiles = pickImportFiles; exports.plainTextImportAdapter = _chunk4QPLEUL2cjs.plainTextImportAdapter; exports.plainTextToParagraphHtml = _chunkLA7PEGU3cjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkTVRC4KVTcjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkTVRC4KVTcjs.plainTextToTipTapHtml; exports.preprocessMarkdownFileLinks = _chunkTVRC4KVTcjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkTVRC4KVTcjs.preprocessMarkdownMentions; exports.rangeContains = _chunkU6NDQFOKcjs.rangeContains; exports.rangeContainsRange = _chunkU6NDQFOKcjs.rangeContainsRange; exports.rangesIntersect = _chunkU6NDQFOKcjs.rangesIntersect; exports.readRichClipboard = _chunkLA7PEGU3cjs.readRichClipboard; exports.readSpreadsheetClipboard = _chunkU6NDQFOKcjs.readSpreadsheetClipboard; exports.rebaseClipboardRows = _chunkU6NDQFOKcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkJYRIOFENcjs.registerFormulaFunction; exports.registerImportAdapter = _chunk4QPLEUL2cjs.registerImportAdapter; exports.registerSpreadsheetImportAdapters = _chunkU6NDQFOKcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkU6NDQFOKcjs.remapFormulaReferences; exports.removeImageNode = _chunk4QPLEUL2cjs.removeImageNode; exports.resolvePrompt = _chunk4SUNJZWBcjs.resolvePrompt; exports.resolveTemplates = _chunk4SUNJZWBcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunk4SUNJZWBcjs.resolveTemplatesWithMapping; exports.resolveTrackedChanges = _chunkTVRC4KVTcjs.resolveTrackedChanges; exports.resolveVariables = _chunk4SUNJZWBcjs.resolveVariables; exports.richClipboardPluginKey = _chunk4QPLEUL2cjs.richClipboardPluginKey; exports.roundFloat = _chunkU6NDQFOKcjs.roundFloat; exports.rowPassesFilters = _chunkU6NDQFOKcjs.rowPassesFilters; exports.rtfImportAdapter = _chunk4QPLEUL2cjs.rtfImportAdapter; exports.rtfToPlainText = _chunkLA7PEGU3cjs.rtfToPlainText; exports.sanitizeHtml = _chunkTVRC4KVTcjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunkLA7PEGU3cjs.sanitizeImportedHtml; exports.searchFormulaFunctions = _chunkJYRIOFENcjs.searchFormulaFunctions; exports.serializeCsv = _chunkU6NDQFOKcjs.serializeCsv; exports.serializeHtmlTable = _chunkU6NDQFOKcjs.serializeHtmlTable; exports.serializeRichClipboardPayload = _chunkLA7PEGU3cjs.serializeRichClipboardPayload; exports.serializeTsv = _chunkU6NDQFOKcjs.serializeTsv; exports.shiftFormulaReferences = _chunkU6NDQFOKcjs.shiftFormulaReferences; exports.smartQuoteRules = _chunk4QPLEUL2cjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunk4QPLEUL2cjs.smilieAutocorrectRules; exports.stripMarkdownCode = _chunkTVRC4KVTcjs.stripMarkdownCode; exports.symbolRules = _chunk4QPLEUL2cjs.symbolRules; exports.syncFootnotes = _chunk4QPLEUL2cjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunk4QPLEUL2cjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunk4QPLEUL2cjs.tableOfContentsPluginKey; exports.templateRegex = _chunkAXV2ZW34cjs.templateRegex; exports.toNumber = _chunkU6NDQFOKcjs.toNumber; exports.tokenizeFormula = _chunkJYRIOFENcjs.tokenizeFormula; exports.tokenizePrompt = _chunk4SUNJZWBcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunk4SUNJZWBcjs.tokenizePromptWithDiagnostics; exports.trackChangesPluginKey = _chunkTVRC4KVTcjs.trackChangesPluginKey; exports.tsvImportAdapter = _chunkU6NDQFOKcjs.tsvImportAdapter; exports.twoInitialCapitalsRules = _chunk4QPLEUL2cjs.twoInitialCapitalsRules; exports.unescapeVariableText = _chunkAXV2ZW34cjs.unescapeVariableText; exports.unregisterFormulaFunction = _chunkJYRIOFENcjs.unregisterFormulaFunction; exports.unregisterImportAdapter = _chunk4QPLEUL2cjs.unregisterImportAdapter; exports.updateImageSrc = _chunk4QPLEUL2cjs.updateImageSrc; exports.variableRegex = _chunkAXV2ZW34cjs.variableRegex; exports.wildcardToRegExp = _chunkJYRIOFENcjs.wildcardToRegExp; exports.writeRichClipboard = _chunk4QPLEUL2cjs.writeRichClipboard;
1005
+ exports.Autocorrect = _chunkGVSMRPHBcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkAA4ZEVCCcjs.BLOCK_CHANGE_ATTRIBUTE; exports.BUILT_IN_IMPORT_ADAPTERS = _chunkGVSMRPHBcjs.BUILT_IN_IMPORT_ADAPTERS; exports.Bookmark = _chunkGVSMRPHBcjs.Bookmark; exports.COMMENT_MARK_NAME = _chunkGVSMRPHBcjs.COMMENT_MARK_NAME; exports.ColorHighlighter = _chunkGVSMRPHBcjs.ColorHighlighter; exports.CommentStore = _chunkAA4ZEVCCcjs.CommentStore; exports.Comments = _chunkGVSMRPHBcjs.Comments; exports.CrossReference = _chunkGVSMRPHBcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkGVSMRPHBcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkXDMXXC4Zcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_DOCX_MAX_IMAGE_SIZE = _chunkGVSMRPHBcjs.DEFAULT_DOCX_MAX_IMAGE_SIZE; exports.DEFAULT_ROW_HEIGHT = _chunkXDMXXC4Zcjs.DEFAULT_ROW_HEIGHT; exports.DEFAULT_ZIP_MAX_ENTRIES = _chunkGVSMRPHBcjs.DEFAULT_ZIP_MAX_ENTRIES; exports.DEFAULT_ZIP_MAX_TOTAL_SIZE = _chunkGVSMRPHBcjs.DEFAULT_ZIP_MAX_TOTAL_SIZE; exports.DELETION_MARK_NAME = _chunkAA4ZEVCCcjs.DELETION_MARK_NAME; exports.DOCX_MIME_TYPES = _chunkGVSMRPHBcjs.DOCX_MIME_TYPES; exports.DataSourceBinder = _chunkXDMXXC4Zcjs.DataSourceBinder; exports.DependencyGraph = _chunkXDMXXC4Zcjs.DependencyGraph; exports.DirtyTracker = _chunkG2I4QJOTcjs.DirtyTracker; exports.EditorController = EditorController; exports.FORMAT_CHANGE_MARK_NAME = _chunkAA4ZEVCCcjs.FORMAT_CHANGE_MARK_NAME; exports.FORMULA_ERRORS = _chunkRIKBJLS2cjs.FORMULA_ERRORS; exports.FileImport = _chunkGVSMRPHBcjs.FileImport; exports.FileImportController = FileImportController; exports.FontSize = _chunkGVSMRPHBcjs.FontSize; exports.Footnote = _chunkGVSMRPHBcjs.Footnote; exports.FootnoteReference = _chunkGVSMRPHBcjs.FootnoteReference; exports.Footnotes = _chunkGVSMRPHBcjs.Footnotes; exports.FormulaEvaluator = _chunkRIKBJLS2cjs.FormulaEvaluator; exports.FormulaParser = _chunkRIKBJLS2cjs.FormulaParser; exports.GradientText = _chunkGVSMRPHBcjs.GradientText; exports.HistoryManager = _chunkG2I4QJOTcjs.HistoryManager; exports.INSERTION_MARK_NAME = _chunkAA4ZEVCCcjs.INSERTION_MARK_NAME; exports.INSTRUCTION_REGEX = _chunkAXV2ZW34cjs.INSTRUCTION_REGEX; exports.Image = _chunkGVSMRPHBcjs.Image; exports.ImportAdapterRegistry = _chunkGVSMRPHBcjs.ImportAdapterRegistry; exports.ImportError = _chunkGVSMRPHBcjs.ImportError; exports.LoadingNode = _chunkGVSMRPHBcjs.LoadingNode; exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkAA4ZEVCCcjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MAX_FORMULA_ARRAY_SIZE = _chunkRIKBJLS2cjs.MAX_FORMULA_ARRAY_SIZE; exports.MENTION_REGEX = _chunkAA4ZEVCCcjs.MENTION_REGEX; exports.Markdown = _chunkGVSMRPHBcjs.Markdown; exports.Mention = _chunkGVSMRPHBcjs.Mention; exports.Outline = _chunkGVSMRPHBcjs.Outline; exports.PIXERATE_DOCUMENT_MIME = _chunkCL37JGFWcjs.PIXERATE_DOCUMENT_MIME; exports.RichClipboard = _chunkGVSMRPHBcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkGVSMRPHBcjs.SMILIE_REPLACEMENTS; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkXDMXXC4Zcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkXDMXXC4Zcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunkXDMXXC4Zcjs.SPREADSHEET_TABLE_ACTIONS; exports.SlashCommands = _chunkGVSMRPHBcjs.SlashCommands; exports.SmilieReplacer = _chunkGVSMRPHBcjs.SmilieReplacer; exports.SpreadsheetController = _chunkXDMXXC4Zcjs.SpreadsheetController; exports.TEMPLATE_DEPTH_ERROR = _chunk4SUNJZWBcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunk4SUNJZWBcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkAXV2ZW34cjs.TEMPLATE_REGEX; exports.TRACK_CHANGES_SKIP_META = _chunkAA4ZEVCCcjs.TRACK_CHANGES_SKIP_META; exports.TableOfContents = _chunkGVSMRPHBcjs.TableOfContents; exports.TemplateSuggestions = _chunkGVSMRPHBcjs.TemplateSuggestions; exports.TrackChanges = _chunkAA4ZEVCCcjs.TrackChanges; exports.TrackChangesStore = _chunkAA4ZEVCCcjs.TrackChangesStore; exports.TrackedDeletion = _chunkAA4ZEVCCcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkAA4ZEVCCcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkAA4ZEVCCcjs.TrackedInsertion; exports.VARIABLE_REGEX = _chunkAXV2ZW34cjs.VARIABLE_REGEX; exports.WHOLE_COLUMN_END_ROW = _chunkRIKBJLS2cjs.WHOLE_COLUMN_END_ROW; exports.ZipArchive = _chunkGVSMRPHBcjs.ZipArchive; exports.ZipError = _chunkGVSMRPHBcjs.ZipError; exports.aggregateValues = _chunkXDMXXC4Zcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkXDMXXC4Zcjs.applyFormulaSuggestion; exports.autocorrectPluginKey = _chunkGVSMRPHBcjs.autocorrectPluginKey; exports.bindDirtyToHistory = _chunkG2I4QJOTcjs.bindDirtyToHistory; exports.bindSpreadsheetTableActions = _chunkXDMXXC4Zcjs.bindSpreadsheetTableActions; exports.buildOutlineTree = _chunkGVSMRPHBcjs.buildOutlineTree; exports.buildSpreadsheetView = _chunkXDMXXC4Zcjs.buildSpreadsheetView; exports.capitalizeSentenceRules = _chunkGVSMRPHBcjs.capitalizeSentenceRules; exports.checkFormulaArgumentCount = _chunkRIKBJLS2cjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkXDMXXC4Zcjs.clampMenuPosition; exports.colNameToIndex = _chunkRIKBJLS2cjs.colNameToIndex; exports.columnDependencyKey = _chunkXDMXXC4Zcjs.columnDependencyKey; exports.commentsPluginKey = _chunkGVSMRPHBcjs.commentsPluginKey; exports.compactVariableValues = _chunk4SUNJZWBcjs.compactVariableValues; exports.compareCellValues = _chunkXDMXXC4Zcjs.compareCellValues; exports.compareNumbers = _chunkRIKBJLS2cjs.compareNumbers; exports.compareValues = _chunkRIKBJLS2cjs.compareValues; exports.computeFillTarget = _chunkXDMXXC4Zcjs.computeFillTarget; exports.computeOutline = _chunkGVSMRPHBcjs.computeOutline; exports.computeRowGroups = _chunkXDMXXC4Zcjs.computeRowGroups; exports.createCommentStore = _chunkAA4ZEVCCcjs.createCommentStore; exports.createDirtyTracker = _chunkG2I4QJOTcjs.createDirtyTracker; exports.createDocxImportAdapter = _chunkGVSMRPHBcjs.createDocxImportAdapter; exports.createEditor = createEditor; exports.createFileImportController = createFileImportController; exports.createHistoryManager = _chunkG2I4QJOTcjs.createHistoryManager; exports.createImportAdapterRegistry = _chunkGVSMRPHBcjs.createImportAdapterRegistry; exports.createImportContext = _chunkGVSMRPHBcjs.createImportContext; exports.createMentionExtension = _chunkGVSMRPHBcjs.createMentionExtension; exports.createOutlineStore = _chunkGVSMRPHBcjs.createOutlineStore; exports.createPdfImportAdapter = createPdfImportAdapter; exports.createReviewId = _chunkAA4ZEVCCcjs.createReviewId; exports.createRichTextPreset = _chunkGVSMRPHBcjs.createRichTextPreset; exports.createSpreadsheetClipboardData = _chunkXDMXXC4Zcjs.createSpreadsheetClipboardData; exports.createZipImportAdapter = createZipImportAdapter; exports.crossReferencePluginKey = _chunkGVSMRPHBcjs.crossReferencePluginKey; exports.csvImportAdapter = _chunkXDMXXC4Zcjs.csvImportAdapter; exports.defaultAutocorrectRules = _chunkGVSMRPHBcjs.defaultAutocorrectRules; exports.defaultImportRegistry = _chunkGVSMRPHBcjs.defaultImportRegistry; exports.defaultIsEqual = _chunkG2I4QJOTcjs.defaultIsEqual; exports.describeBlockChange = _chunkAA4ZEVCCcjs.describeBlockChange; exports.describeFormatChange = _chunkAA4ZEVCCcjs.describeFormatChange; exports.describeFormulaError = _chunkRIKBJLS2cjs.describeFormulaError; exports.documentStructureCommandItems = _chunkGVSMRPHBcjs.documentStructureCommandItems; exports.docxImportAdapter = _chunkGVSMRPHBcjs.docxImportAdapter; exports.docxToDocumentImport = _chunkGVSMRPHBcjs.docxToDocumentImport; exports.escapeCsvField = _chunkXDMXXC4Zcjs.escapeCsvField; exports.escapeHtml = _chunkAA4ZEVCCcjs.escapeHtml; exports.escapeVariableText = _chunkAXV2ZW34cjs.escapeVariableText; exports.evaluateCondition = _chunkAXV2ZW34cjs.evaluateCondition; exports.evaluatePromptTokens = _chunk4SUNJZWBcjs.evaluatePromptTokens; exports.extractCellDependencies = _chunkXDMXXC4Zcjs.extractCellDependencies; exports.extractInstructionNames = _chunk4SUNJZWBcjs.extractInstructionNames; exports.extractMentions = _chunkAA4ZEVCCcjs.extractMentions; exports.extractMentionsFromDoc = _chunkAA4ZEVCCcjs.extractMentionsFromDoc; exports.extractTemplateNames = _chunk4SUNJZWBcjs.extractTemplateNames; exports.extractVariableNames = _chunk4SUNJZWBcjs.extractVariableNames; exports.extractVariables = _chunk4SUNJZWBcjs.extractVariables; exports.fileImportPluginKey = _chunkGVSMRPHBcjs.fileImportPluginKey; exports.fillSeries = _chunkXDMXXC4Zcjs.fillSeries; exports.findAutocorrection = _chunkGVSMRPHBcjs.findAutocorrection; exports.findCommentRanges = _chunkGVSMRPHBcjs.findCommentRanges; exports.findHexColors = _chunkGVSMRPHBcjs.findHexColors; exports.findImportAdapter = _chunkGVSMRPHBcjs.findImportAdapter; exports.footnotesMarkdownIt = _chunkGVSMRPHBcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkGVSMRPHBcjs.footnotesPluginKey; exports.formatCellDisplay = _chunkRIKBJLS2cjs.formatCellDisplay; exports.formatReviewTime = _chunkAA4ZEVCCcjs.formatReviewTime; exports.formatValueWithCode = _chunkRIKBJLS2cjs.formatValueWithCode; exports.fractionRules = _chunkGVSMRPHBcjs.fractionRules; exports.getActiveHeading = _chunkGVSMRPHBcjs.getActiveHeading; exports.getBookmarks = _chunkGVSMRPHBcjs.getBookmarks; exports.getClipboardData = _chunkCL37JGFWcjs.getClipboardData; exports.getCommentAnchors = _chunkGVSMRPHBcjs.getCommentAnchors; exports.getCommentAuthor = _chunkGVSMRPHBcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkGVSMRPHBcjs.getCommentIdsAt; exports.getCommentStore = _chunkGVSMRPHBcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkGVSMRPHBcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkGVSMRPHBcjs.getDocumentStructureCommandItems; exports.getEditorMarkdown = _chunkAA4ZEVCCcjs.getEditorMarkdown; exports.getEditorText = _chunkAA4ZEVCCcjs.getEditorText; exports.getFillDirection = _chunkXDMXXC4Zcjs.getFillDirection; exports.getFootnotes = _chunkGVSMRPHBcjs.getFootnotes; exports.getFormulaArgumentSpecIndex = _chunkRIKBJLS2cjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkXDMXXC4Zcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkRIKBJLS2cjs.getFormulaFunction; exports.getFormulaHints = _chunkXDMXXC4Zcjs.getFormulaHints; exports.getFormulaSignature = _chunkRIKBJLS2cjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkRIKBJLS2cjs.getFormulaSignatureParts; exports.getImportAccept = _chunkGVSMRPHBcjs.getImportAccept; exports.getLatestVersion = _chunk4SUNJZWBcjs.getLatestVersion; exports.getOutline = _chunkGVSMRPHBcjs.getOutline; exports.getPromptDiagnostics = _chunk4SUNJZWBcjs.getPromptDiagnostics; exports.getRowSection = _chunkXDMXXC4Zcjs.getRowSection; exports.getSchemaSignature = _chunkCL37JGFWcjs.getSchemaSignature; exports.getSpreadsheetMenuItems = _chunkXDMXXC4Zcjs.getSpreadsheetMenuItems; exports.getSuppliedValue = _chunkAXV2ZW34cjs.getSuppliedValue; exports.getTableOfContentsEntries = _chunkGVSMRPHBcjs.getTableOfContentsEntries; exports.getTableSections = _chunkXDMXXC4Zcjs.getTableSections; exports.getTemplateBody = _chunk4SUNJZWBcjs.getTemplateBody; exports.getTrackChangesStore = _chunkAA4ZEVCCcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkAA4ZEVCCcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkAA4ZEVCCcjs.getTrackedChanges; exports.getVariableFormFields = _chunk4SUNJZWBcjs.getVariableFormFields; exports.handleImageInsertion = _chunkGVSMRPHBcjs.handleImageInsertion; exports.htmlImportAdapter = _chunkGVSMRPHBcjs.htmlImportAdapter; exports.htmlToPlainText = _chunkAA4ZEVCCcjs.htmlToPlainText; exports.htmlToSlice = _chunkGVSMRPHBcjs.htmlToSlice; exports.imagePastePluginKey = _chunkGVSMRPHBcjs.imagePastePluginKey; exports.importFile = _chunkGVSMRPHBcjs.importFile; exports.importFileIntoSpreadsheet = _chunkXDMXXC4Zcjs.importFileIntoSpreadsheet; exports.importFilesIntoEditor = _chunkGVSMRPHBcjs.importFilesIntoEditor; exports.indexToColName = _chunkRIKBJLS2cjs.indexToColName; exports.insertImageNode = _chunkGVSMRPHBcjs.insertImageNode; exports.insertImportedDocument = _chunkGVSMRPHBcjs.insertImportedDocument; exports.instructionRegex = _chunkAXV2ZW34cjs.instructionRegex; exports.isBlankValue = _chunkXDMXXC4Zcjs.isBlankValue; exports.isFormulaError = _chunkRIKBJLS2cjs.isFormulaError; exports.isInsidePromptToken = _chunkGVSMRPHBcjs.isInsidePromptToken; exports.isPromptValueSet = _chunkAXV2ZW34cjs.isPromptValueSet; exports.isSingleCellRange = _chunkXDMXXC4Zcjs.isSingleCellRange; exports.isTrackChangesEnabled = _chunkAA4ZEVCCcjs.isTrackChangesEnabled; exports.isUnsafeZipPath = _chunkGVSMRPHBcjs.isUnsafeZipPath; exports.listFormulaFunctions = _chunkRIKBJLS2cjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkXDMXXC4Zcjs.mapFormulaReferences; exports.mapRawOffsetToResolved = _chunk4SUNJZWBcjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunk4SUNJZWBcjs.mapResolvedOffsetToRaw; exports.markdownImportAdapter = _chunkGVSMRPHBcjs.markdownImportAdapter; exports.markdownToTipTapHtml = _chunkAA4ZEVCCcjs.markdownToTipTapHtml; exports.matchConditionalTags = _chunkAXV2ZW34cjs.matchConditionalTags; exports.matchesFilterRule = _chunkXDMXXC4Zcjs.matchesFilterRule; exports.navigateToHeading = _chunkGVSMRPHBcjs.navigateToHeading; exports.normalizeRange = _chunkXDMXXC4Zcjs.normalizeRange; exports.numberToText = _chunkRIKBJLS2cjs.numberToText; exports.offsetFormulaReferences = _chunkXDMXXC4Zcjs.offsetFormulaReferences; exports.outlinePluginKey = _chunkGVSMRPHBcjs.outlinePluginKey; exports.parseCellInput = _chunkRIKBJLS2cjs.parseCellInput; exports.parseCellReference = _chunkRIKBJLS2cjs.parseCellReference; exports.parseCriteria = _chunkRIKBJLS2cjs.parseCriteria; exports.parseCsv = _chunkXDMXXC4Zcjs.parseCsv; exports.parseFormula = _chunkRIKBJLS2cjs.parseFormula; exports.parseHtmlTable = _chunkXDMXXC4Zcjs.parseHtmlTable; exports.parseMentionSegments = _chunkAA4ZEVCCcjs.parseMentionSegments; exports.parseNumberText = _chunkRIKBJLS2cjs.parseNumberText; exports.parseRange = _chunkRIKBJLS2cjs.parseRange; exports.parseRichClipboardPayload = _chunkCL37JGFWcjs.parseRichClipboardPayload; exports.parseTsv = _chunkXDMXXC4Zcjs.parseTsv; exports.parseVariableBody = _chunkAXV2ZW34cjs.parseVariableBody; exports.pdfTextItemsToParagraphs = pdfTextItemsToParagraphs; exports.pickImportFiles = pickImportFiles; exports.plainTextImportAdapter = _chunkGVSMRPHBcjs.plainTextImportAdapter; exports.plainTextToParagraphHtml = _chunkCL37JGFWcjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkAA4ZEVCCcjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkAA4ZEVCCcjs.plainTextToTipTapHtml; exports.preprocessMarkdownFileLinks = _chunkAA4ZEVCCcjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkAA4ZEVCCcjs.preprocessMarkdownMentions; exports.rangeContains = _chunkXDMXXC4Zcjs.rangeContains; exports.rangeContainsRange = _chunkXDMXXC4Zcjs.rangeContainsRange; exports.rangesIntersect = _chunkXDMXXC4Zcjs.rangesIntersect; exports.readRichClipboard = _chunkCL37JGFWcjs.readRichClipboard; exports.readSpreadsheetClipboard = _chunkXDMXXC4Zcjs.readSpreadsheetClipboard; exports.readZip = _chunkGVSMRPHBcjs.readZip; exports.rebaseClipboardRows = _chunkXDMXXC4Zcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkRIKBJLS2cjs.registerFormulaFunction; exports.registerImportAdapter = _chunkGVSMRPHBcjs.registerImportAdapter; exports.registerSpreadsheetImportAdapters = _chunkXDMXXC4Zcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkXDMXXC4Zcjs.remapFormulaReferences; exports.removeImageNode = _chunkGVSMRPHBcjs.removeImageNode; exports.resolvePrompt = _chunk4SUNJZWBcjs.resolvePrompt; exports.resolveTemplates = _chunk4SUNJZWBcjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunk4SUNJZWBcjs.resolveTemplatesWithMapping; exports.resolveTrackedChanges = _chunkAA4ZEVCCcjs.resolveTrackedChanges; exports.resolveVariables = _chunk4SUNJZWBcjs.resolveVariables; exports.richClipboardPluginKey = _chunkGVSMRPHBcjs.richClipboardPluginKey; exports.roundFloat = _chunkXDMXXC4Zcjs.roundFloat; exports.rowPassesFilters = _chunkXDMXXC4Zcjs.rowPassesFilters; exports.rtfImportAdapter = _chunkGVSMRPHBcjs.rtfImportAdapter; exports.rtfToPlainText = _chunkCL37JGFWcjs.rtfToPlainText; exports.sanitizeHtml = _chunkAA4ZEVCCcjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunkCL37JGFWcjs.sanitizeImportedHtml; exports.searchFormulaFunctions = _chunkRIKBJLS2cjs.searchFormulaFunctions; exports.serialFromYmd = _chunkRIKBJLS2cjs.serialFromYmd; exports.serializeCsv = _chunkXDMXXC4Zcjs.serializeCsv; exports.serializeHtmlTable = _chunkXDMXXC4Zcjs.serializeHtmlTable; exports.serializeRichClipboardPayload = _chunkCL37JGFWcjs.serializeRichClipboardPayload; exports.serializeTsv = _chunkXDMXXC4Zcjs.serializeTsv; exports.shiftFormulaReferences = _chunkXDMXXC4Zcjs.shiftFormulaReferences; exports.smartQuoteRules = _chunkGVSMRPHBcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkGVSMRPHBcjs.smilieAutocorrectRules; exports.sortCompareValues = _chunkRIKBJLS2cjs.sortCompareValues; exports.sortZipEntryNames = sortZipEntryNames; exports.stripMarkdownCode = _chunkAA4ZEVCCcjs.stripMarkdownCode; exports.symbolRules = _chunkGVSMRPHBcjs.symbolRules; exports.syncFootnotes = _chunkGVSMRPHBcjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkGVSMRPHBcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkGVSMRPHBcjs.tableOfContentsPluginKey; exports.templateRegex = _chunkAXV2ZW34cjs.templateRegex; exports.toNumber = _chunkXDMXXC4Zcjs.toNumber; exports.tokenizeFormula = _chunkRIKBJLS2cjs.tokenizeFormula; exports.tokenizePrompt = _chunk4SUNJZWBcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunk4SUNJZWBcjs.tokenizePromptWithDiagnostics; exports.trackChangesPluginKey = _chunkAA4ZEVCCcjs.trackChangesPluginKey; exports.tsvImportAdapter = _chunkXDMXXC4Zcjs.tsvImportAdapter; exports.twoInitialCapitalsRules = _chunkGVSMRPHBcjs.twoInitialCapitalsRules; exports.unescapeVariableText = _chunkAXV2ZW34cjs.unescapeVariableText; exports.unregisterFormulaFunction = _chunkRIKBJLS2cjs.unregisterFormulaFunction; exports.unregisterImportAdapter = _chunkGVSMRPHBcjs.unregisterImportAdapter; exports.updateImageSrc = _chunkGVSMRPHBcjs.updateImageSrc; exports.variableRegex = _chunkAXV2ZW34cjs.variableRegex; exports.wildcardToRegExp = _chunkRIKBJLS2cjs.wildcardToRegExp; exports.withoutDirty = _chunkG2I4QJOTcjs.withoutDirty; exports.writeRichClipboard = _chunkGVSMRPHBcjs.writeRichClipboard; exports.zipCrc32 = _chunkGVSMRPHBcjs.zipCrc32; exports.zipEntryTitle = zipEntryTitle; exports.zipImportAdapter = zipImportAdapter;
814
1006
  //# sourceMappingURL=index.cjs.map