@pixerate/editor 0.26.1 → 0.28.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 (90) hide show
  1. package/README.md +32 -3
  2. package/dist/agent/index.cjs +56 -6
  3. package/dist/agent/index.cjs.map +1 -1
  4. package/dist/agent/index.d.cts +6 -4
  5. package/dist/agent/index.d.ts +6 -4
  6. package/dist/agent/index.js +51 -1
  7. package/dist/agent/index.js.map +1 -1
  8. package/dist/animation/index.cjs +62 -0
  9. package/dist/animation/index.cjs.map +1 -0
  10. package/dist/animation/index.d.cts +296 -0
  11. package/dist/animation/index.d.ts +296 -0
  12. package/dist/animation/index.js +62 -0
  13. package/dist/animation/index.js.map +1 -0
  14. package/dist/{builtins-Chj6zv_O.d.ts → builtins-haN82vjT.d.ts} +33 -3
  15. package/dist/{builtins-CdPcLwwF.d.cts → builtins-nMXh9sT3.d.cts} +33 -3
  16. package/dist/canvas/index.cjs +535 -737
  17. package/dist/canvas/index.cjs.map +1 -1
  18. package/dist/canvas/index.d.cts +74 -291
  19. package/dist/canvas/index.d.ts +74 -291
  20. package/dist/canvas/index.js +417 -619
  21. package/dist/canvas/index.js.map +1 -1
  22. package/dist/{chunk-X7HXL2SB.js → chunk-3RPOW4CS.js} +342 -16
  23. package/dist/chunk-3RPOW4CS.js.map +1 -0
  24. package/dist/{chunk-UBCFIABU.js → chunk-5H2OPMXZ.js} +183 -6
  25. package/dist/chunk-5H2OPMXZ.js.map +1 -0
  26. package/dist/chunk-A6PHCAGX.cjs +87 -0
  27. package/dist/chunk-A6PHCAGX.cjs.map +1 -0
  28. package/dist/{chunk-HRMEDT2L.js → chunk-D6AVOTSD.js} +6 -85
  29. package/dist/chunk-D6AVOTSD.js.map +1 -0
  30. package/dist/chunk-HXDMZQTD.cjs +497 -0
  31. package/dist/chunk-HXDMZQTD.cjs.map +1 -0
  32. package/dist/chunk-IB3ZHQAX.js +497 -0
  33. package/dist/chunk-IB3ZHQAX.js.map +1 -0
  34. package/dist/{chunk-4BVP64JJ.cjs → chunk-K2UYKJ6M.cjs} +24 -103
  35. package/dist/chunk-K2UYKJ6M.cjs.map +1 -0
  36. package/dist/{chunk-HDYMLS3X.cjs → chunk-MC2LQN5S.cjs} +196 -19
  37. package/dist/chunk-MC2LQN5S.cjs.map +1 -0
  38. package/dist/{chunk-XQFHLT53.js → chunk-MXZJ4PKN.js} +24 -10
  39. package/dist/chunk-MXZJ4PKN.js.map +1 -0
  40. package/dist/{chunk-LN2POBHT.cjs → chunk-OYEFRO3D.cjs} +28 -14
  41. package/dist/chunk-OYEFRO3D.cjs.map +1 -0
  42. package/dist/chunk-PWJARCI4.js +637 -0
  43. package/dist/chunk-PWJARCI4.js.map +1 -0
  44. package/dist/chunk-TGD52FEZ.js +87 -0
  45. package/dist/chunk-TGD52FEZ.js.map +1 -0
  46. package/dist/chunk-TTYCN6ZH.cjs +637 -0
  47. package/dist/chunk-TTYCN6ZH.cjs.map +1 -0
  48. package/dist/{chunk-NQF32I6Z.cjs → chunk-U7VGDSNY.cjs} +463 -137
  49. package/dist/chunk-U7VGDSNY.cjs.map +1 -0
  50. package/dist/commands/index.cjs +30 -410
  51. package/dist/commands/index.cjs.map +1 -1
  52. package/dist/commands/index.d.cts +1 -1
  53. package/dist/commands/index.d.ts +1 -1
  54. package/dist/commands/index.js +17 -397
  55. package/dist/commands/index.js.map +1 -1
  56. package/dist/{controller-CxXGOEmy.d.ts → controller-w6eRTjF8.d.cts} +67 -2
  57. package/dist/{controller-CxXGOEmy.d.cts → controller-w6eRTjF8.d.ts} +67 -2
  58. package/dist/extensions/index.cjs +25 -7
  59. package/dist/extensions/index.cjs.map +1 -1
  60. package/dist/extensions/index.d.cts +1 -1
  61. package/dist/extensions/index.d.ts +1 -1
  62. package/dist/extensions/index.js +32 -14
  63. package/dist/generation/index.cjs +3 -3
  64. package/dist/generation/index.cjs.map +1 -1
  65. package/dist/generation/index.js +3 -3
  66. package/dist/{index-jcJwmBYt.d.cts → index-C6gaQRH0.d.cts} +53 -4
  67. package/dist/{index-B273Zllk.d.ts → index-DXAv_R08.d.ts} +53 -4
  68. package/dist/index.cjs +57 -19
  69. package/dist/index.cjs.map +1 -1
  70. package/dist/index.d.cts +7 -5
  71. package/dist/index.d.ts +7 -5
  72. package/dist/index.js +132 -94
  73. package/dist/index.js.map +1 -1
  74. package/dist/spreadsheet/index.cjs +23 -3
  75. package/dist/spreadsheet/index.cjs.map +1 -1
  76. package/dist/spreadsheet/index.d.cts +76 -3
  77. package/dist/spreadsheet/index.d.ts +76 -3
  78. package/dist/spreadsheet/index.js +28 -8
  79. package/dist/tokens/index.cjs +4 -2
  80. package/dist/tokens/index.cjs.map +1 -1
  81. package/dist/tokens/index.js +6 -4
  82. package/package.json +6 -1
  83. package/dist/chunk-4BVP64JJ.cjs.map +0 -1
  84. package/dist/chunk-HDYMLS3X.cjs.map +0 -1
  85. package/dist/chunk-HRMEDT2L.js.map +0 -1
  86. package/dist/chunk-LN2POBHT.cjs.map +0 -1
  87. package/dist/chunk-NQF32I6Z.cjs.map +0 -1
  88. package/dist/chunk-UBCFIABU.js.map +0 -1
  89. package/dist/chunk-X7HXL2SB.js.map +0 -1
  90. package/dist/chunk-XQFHLT53.js.map +0 -1
package/dist/index.d.cts CHANGED
@@ -2,16 +2,16 @@ import { b as Token } from './tokens-D7yXvUU6.cjs';
2
2
  export { C as ColorGradient, c as ComparisonOperator, d as ConditionComparison, e as ConditionalKind, I as INSTRUCTION_REGEX, a as PromptDiagnostic, f as PromptDiagnosticCode, g as PromptValue, P as PromptValues, h as TEMPLATE_REGEX, T as Template, i as TemplateVersion, j as TokenType, V as VARIABLE_REGEX, k as instructionRegex, t as templateRegex, v as variableRegex } from './tokens-D7yXvUU6.cjs';
3
3
  export { ConditionExpression, ConditionalTagLike, ConditionalTagMatch, DataSourceInput, DataSourceWarning, DataSourceWarningCode, EvaluatedToken, ExtractVariablesOptions, FIELD_ALIASES, FieldMapping, FieldMatch, FieldMatchKind, MAX_DATA_SOURCE_FIELDS, MAX_DATA_SOURCE_RECORDS, MAX_MERGE_LENGTH, MAX_MERGE_OUTPUTS, MatchFieldsOptions, MergeDataSource, MergeDiagnostic, MergeDiagnosticCode, MergeOutput, MergeRecord, MergeRecordsOptions, MergeRecordsResult, MergeSkip, ParseDataSourceOptions, ParsedComparison, ParsedVariableBody, RecordToValuesOptions, ResolvePromptOptions, ResolvePromptResult, TEMPLATE_DEPTH_ERROR, TEMPLATE_LOOP_ERROR, TokenizeResult, VariableDescriptor, VariableFormField, compactVariableValues, compareConditionValues, conditionSubject, describeConditionalTag, detectDelimiter, escapeVariableText, evaluateCondition, evaluateConditionExpression, evaluatePromptTokens, extractVariables, formatComparisonOperand, formatConditionalTag, getLatestVersion, getPromptDiagnostics, getSuppliedValue, getTemplateBody, getVariableFormFields, isPromptValueSet, matchConditionalTags, matchFields, mergeRecords, normalizeFieldKey, normalizeFieldNames, parseComparison, parseConditionExpression, parseDataSource, parseVariableBody, recordToValues, resolvePrompt, serializeMergeOutputs, tokenizePrompt, tokenizePromptWithDiagnostics, unescapeVariableText } from './grammar/index.cjs';
4
4
  export { R as ResolveTemplatesOptions, S as SourceMapSegment, e as extractInstructionNames, a as extractTemplateNames, b as extractVariableNames, m as mapRawOffsetToResolved, c as mapResolvedOffsetToRaw, r as resolveTemplates, d as resolveTemplatesWithMapping, f as resolveVariables } from './sourcemap-C8AH3MBQ.cjs';
5
- import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-jcJwmBYt.cjs';
6
- export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, B as BUILT_IN_IMPORT_ADAPTERS, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as CharacterStyle, p as ColorHighlighter, q as CommentRange, r as Comments, s as CommentsOptions, t as CommentsStorage, u as CompileFindPatternResult, v as CompiledFindPattern, w as CreateImportAdapterRegistryOptions, x as CreateStyleFromSelectionOptions, y as CrossReference, z as CrossReferenceOptions, E as CrossReferenceTarget, F as CrossReferenceTargetType, G as DEFAULT_AUTOCORRECT_EXCEPTIONS, H as DEFAULT_TABLE_OPTIONS, I as DEFAULT_TABLE_TOOLBAR, J as DocumentCompare, K as DocumentCompareOptions, L as DocumentCompareStorage, M as DocumentSearchOptions, N as DocumentSearchResult, O as DocumentStructureCommandArgs, Q as DocumentStructureCommandItem, R as EMPTY_FIND_REPLACE_SNAPSHOT, S as EMPTY_TABLE_STATE, T as EditorCompareOptions, U as FIND_OPTION_TOGGLES, V as FIND_PARAGRAPH_MARK, W as FileImport, X as FileImportOptions, Y as FindAllOptions, Z as FindAllResult, _ as FindMatch, $ as FindOptionToggle, a0 as FindOptions, a1 as FindPatternError, a2 as FindPatternErrorCode, a3 as FindReplace, a4 as FindReplaceCommandOptions, a5 as FindReplaceMode, a6 as FindReplaceOptions, a7 as FindReplaceSnapshot, a8 as FindReplaceStorage, a9 as FindReplaceStore, aa as FocusHeadingOptions, ab as FontSize, ac as Footnote, ad as FootnoteInfo, ae as FootnoteReference, af as Footnotes, ag as FootnotesOptions, ah as GradientText, ai as GradientTextOptions, aj as Image, ak as ImageOptions, al as ImportStructureItem, am as ImportStructureReport, an as InsertFootnoteOptions, ao as InsertTableOfContentsOptions, ap as LoadingNode, aq as MAX_FIND_PATTERN_LENGTH, ar as MAX_TABLE_COLUMNS, as as MAX_TABLE_ROWS, at as Markdown, au as OpenFindReplaceParams, av as Outline, aw as OutlineHeading, ax as OutlineOptions, ay as OutlineSnapshot, az as OutlineStorage, aA as OutlineStore, aB as OutlineTreeItem, aC as ParagraphStyles, aD as ParagraphStylesOptions, aE as ParagraphStylesSnapshot, aF as ParagraphStylesStorage, aG as ParagraphStylesStore, aH as PatternMatch, aI as PdfLayoutBlock, aJ as PdfLayoutPage, aK as PdfLayoutResult, aL as PdfTableCell, aM as ReplacePiece, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as RichTextTableOptions, aT as RunTableActionOptions, aU as SMILIE_REPLACEMENTS, aV as STYLE_ID_ATTRIBUTE, aW as SearchBudget, aX as SearchBudgetOptions, aY as SetBookmarkOptions, aZ as SetSearchParams, a_ as SlashCommandMatchData, a$ as SlashCommands, b0 as SlashCommandsOptions, b1 as SmilieReplacer, b2 as TABLE_ACTIONS, b3 as Table, b4 as TableAction, b5 as TableActionInfo, b6 as TableActionParams, b7 as TableActionStatus, b8 as TableCell, b9 as TableCellAlignment, ba as TableCommandOptions, bb as TableHeader, bc as TableOfContents, bd as TableOfContentsEntry, be as TableOfContentsOptions, bf as TableRow, bg as TableState, bh as TableStore, bi as TableToolbarItem, bj as TemplateSuggestions, bk as TemplateSuggestionsOptions, bl as analyzePdfLayout, bm as applyDocumentComparison, bn as applyReplacements, bo as autocorrectPluginKey, bp as buildOutlineTree, bq as capitalizeSentenceRules, br as captureSelectionFormat, bs as commentsPluginKey, bt as compareInEditor, bu as compileFindPattern, bv as computeOutline, bw as createFindReplaceCommands, bx as createImportAdapterRegistry, by as createOutlineStore, bz as createParagraphStylesStore, bA as createRichTextPreset, bB as createSearchBudget, bC as createTableCommands, bD as createTableExtensions, bE as createTableStore, bF as crossReferencePluginKey, bG as defaultAutocorrectRules, bH as defaultImportRegistry, bI as documentStructureCommandItems, bJ as expandReplacement, bK as fileImportPluginKey, bL as findAllMatches, bM as findAutocorrection, bN as findCommentRanges, bO as findHexColors, bP as findImportAdapter, bQ as findReplacePluginKey, bR as foldCodePoint, bS as footnotesMarkdownIt, bT as footnotesPluginKey, bU as formatFindStatus, bV as fractionRules, bW as getActiveHeading, bX as getBookmarks, bY as getCommentAnchors, bZ as getCommentAuthor, b_ as getCommentIdsAt, b$ as getCommentStore, c0 as getCrossReferenceTargets, c1 as getDocumentStructureCommandItems, c2 as getFindReplaceState, c3 as getFindReplaceStore, c4 as getFootnotes, c5 as getImportAccept, c6 as getOutline, c7 as getParagraphStyleAt, c8 as getStyleRegistry, c9 as getTableActionState, ca as getTableOfContentsEntries, cb as getTableState, cc as handleImageInsertion, cd as htmlImportAdapter, ce as imagePastePluginKey, cf as importFile, cg as insertImageNode, ch as isGfmTable, ci as isInsidePromptToken, cj as isParagraphStyleAvailable, ck as isSelectionInTable, cl as isTableEnabled, cm as markdownImportAdapter, cn as navigateToHeading, co as normalizeTableCellAlignment, cp as normalizeTableCellColor, cq as outlinePluginKey, cr as paragraphStylesPluginKey, cs as parseReplacement, ct as pdfLayoutBlocksToHtml, cu as plainTextImportAdapter, cv as registerImportAdapter, cw as removeImageNode, cx as richClipboardPluginKey, cy as rtfImportAdapter, cz as runTableAction, cA as searchDocument, cB as shouldShowTableBubbleMenu, cC as smartQuoteRules, cD as smilieAutocorrectRules, cE as symbolRules, cF as syncFootnotes, cG as tableOfContentsMarkdownIt, cH as tableOfContentsPluginKey, cI as twoInitialCapitalsRules, cJ as unregisterImportAdapter, cK as updateImageSrc, cL as validateFindPattern, cM as writeRichClipboard } from './index-jcJwmBYt.cjs';
5
+ import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-C6gaQRH0.cjs';
6
+ export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, B as BUILT_IN_IMPORT_ADAPTERS, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as ColorHighlighter, r as CommentRange, s as Comments, t as CommentsOptions, u as CommentsStorage, v as CompileFindPatternResult, w as CompiledFindPattern, x as CreateImportAdapterRegistryOptions, y as CreateStyleFromSelectionOptions, z as CrossReference, E as CrossReferenceOptions, F as CrossReferenceTarget, G as CrossReferenceTargetType, H as DEFAULT_AUTOCORRECT_EXCEPTIONS, I as DEFAULT_TABLE_OPTIONS, J as DEFAULT_TABLE_TOOLBAR, K as DocumentCompare, L as DocumentCompareOptions, M as DocumentCompareStorage, N as DocumentSearchOptions, O as DocumentSearchResult, Q as DocumentStructureCommandArgs, R as DocumentStructureCommandItem, S as EMPTY_FIND_REPLACE_SNAPSHOT, T as EMPTY_TABLE_STATE, U as EditorCompareOptions, V as FIND_OPTION_TOGGLES, W as FIND_PARAGRAPH_MARK, X as FileImport, Y as FileImportOptions, Z as FindAllOptions, _ as FindAllResult, $ as FindMatch, a0 as FindOptionToggle, a1 as FindOptions, a2 as FindPatternError, a3 as FindPatternErrorCode, a4 as FindReplace, a5 as FindReplaceCommandOptions, a6 as FindReplaceMode, a7 as FindReplaceOptions, a8 as FindReplaceSnapshot, a9 as FindReplaceStorage, aa as FindReplaceStore, ab as FocusHeadingOptions, ac as FontSize, ad as Footnote, ae as FootnoteInfo, af as FootnoteReference, ag as Footnotes, ah as FootnotesOptions, ai as GradientText, aj as GradientTextOptions, ak as Image, al as ImageOptions, am as ImportStructureItem, an as ImportStructureReport, ao as InsertFootnoteOptions, ap as InsertTableOfContentsOptions, aq as LoadingNode, ar as MAX_FIND_PATTERN_LENGTH, as as MAX_TABLE_COLUMNS, at as MAX_TABLE_ROWS, au as Markdown, av as OpenFindReplaceParams, aw as Outline, ax as OutlineHeading, ay as OutlineOptions, az as OutlineSnapshot, aA as OutlineStorage, aB as OutlineStore, aC as OutlineTreeItem, aD as ParagraphStyles, aE as ParagraphStylesOptions, aF as ParagraphStylesSnapshot, aG as ParagraphStylesStorage, aH as ParagraphStylesStore, aI as PatternMatch, aJ as PdfLayoutBlock, aK as PdfLayoutPage, aL as PdfLayoutResult, aM as PdfTableCell, aN as ReplacePiece, aO as RichClipboard, aP as RichClipboardOptions, aQ as RichClipboardStorage, aR as RichTextPresetCommandPackages, aS as RichTextPresetOptions, aT as RichTextTableOptions, aU as RunTableActionOptions, aV as SMILIE_REPLACEMENTS, aW as STYLE_ID_ATTRIBUTE, aX as SearchBudget, aY as SearchBudgetOptions, aZ as SetBookmarkOptions, a_ as SetSearchParams, a$ as SlashCommandMatchData, b0 as SlashCommands, b1 as SlashCommandsOptions, b2 as SmilieReplacer, b3 as TABLE_ACTIONS, b4 as Table, b5 as TableAction, b6 as TableActionInfo, b7 as TableActionParams, b8 as TableActionStatus, b9 as TableCell, ba as TableCellAlignment, bb as TableCommandOptions, bc as TableHeader, bd as TableOfContents, be as TableOfContentsEntry, bf as TableOfContentsOptions, bg as TableRow, bh as TableState, bi as TableStore, bj as TableToolbarItem, bk as TemplateSuggestions, bl as TemplateSuggestionsOptions, bm as analyzePdfLayout, bn as applyDocumentComparison, bo as applyReplacements, bp as autocorrectPluginKey, bq as buildOutlineTree, br as capitalizeSentenceRules, bs as captureSelectionFormat, bt as commentsPluginKey, bu as compareInEditor, bv as compileFindPattern, bw as computeOutline, bx as createFindReplaceCommands, by as createImportAdapterRegistry, bz as createOutlineStore, bA as createParagraphStylesStore, bB as createRichTextPreset, bC as createSearchBudget, bD as createTableCommands, bE as createTableExtensions, bF as createTableNestingPlugin, bG as createTableStore, bH as crossReferencePluginKey, bI as defaultAutocorrectRules, bJ as defaultImportRegistry, bK as documentStructureCommandItems, bL as expandReplacement, bM as fileImportPluginKey, bN as findAllMatches, bO as findAutocorrection, bP as findCommentRanges, bQ as findHexColors, bR as findImportAdapter, bS as findReplacePluginKey, bT as foldCodePoint, bU as footnotesMarkdownIt, bV as footnotesPluginKey, bW as formatFindStatus, bX as fractionRules, bY as getActiveHeading, bZ as getBookmarks, b_ as getCommentAnchors, b$ as getCommentAuthor, c0 as getCommentIdsAt, c1 as getCommentStore, c2 as getCrossReferenceTargets, c3 as getDocumentStructureCommandItems, c4 as getFindReplaceState, c5 as getFindReplaceStore, c6 as getFootnotes, c7 as getImportAccept, c8 as getOutline, c9 as getParagraphStyleAt, ca as getStyleRegistry, cb as getTableActionState, cc as getTableOfContentsEntries, cd as getTableState, ce as handleImageInsertion, cf as handleTablePasteWithoutNesting, cg as htmlImportAdapter, ch as imagePastePluginKey, ci as importFile, cj as insertImageNode, ck as insertSliceAfterTable, cl as isGfmTable, cm as isInTableCell, cn as isInsidePromptToken, co as isParagraphStyleAvailable, cp as isSelectionInTable, cq as isTableEnabled, cr as markdownImportAdapter, cs as navigateToHeading, ct as normalizeTableCellAlignment, cu as normalizeTableCellColor, cv as outermostTableDepth, cw as outlinePluginKey, cx as paragraphStylesPluginKey, cy as parseReplacement, cz as pdfLayoutBlocksToHtml, cA as plainTextImportAdapter, cB as registerImportAdapter, cC as removeImageNode, cD as richClipboardPluginKey, cE as rtfImportAdapter, cF as runTableAction, cG as searchDocument, cH as shouldShowTableBubbleMenu, cI as sliceContainsTable, cJ as smartQuoteRules, cK as smilieAutocorrectRules, cL as symbolRules, cM as syncFootnotes, cN as tableNestingPluginKey, cO as tableOfContentsMarkdownIt, cP as tableOfContentsPluginKey, cQ as twoInitialCapitalsRules, cR as unnestTables, cS as unregisterImportAdapter, cT as updateImageSrc, cU as validateFindPattern, cV as writeRichClipboard } from './index-C6gaQRH0.cjs';
7
7
  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';
8
8
  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';
9
9
  export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from './registry-CED5C0lA.cjs';
10
10
  export { ClipboardDataLike, ExtractMentionsOptions, ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MarkdownToHtmlOptions, MentionDetail, MentionSegment, PIXERATE_DOCUMENT_MIME, PlainTextOptions, PreprocessMarkdownMentionsOptions, RichClipboardPayload, SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, splitMarkdownMentionParts, stripMarkdownCode } from './serializers/index.cjs';
11
11
  import { Editor, EditorOptions, Content, Extensions } from '@tiptap/core';
12
12
  export { Content, Editor, EditorOptions, Extensions } from '@tiptap/core';
13
- export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula } from './controller-CxXGOEmy.cjs';
14
- export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, subtractRange, subtractRangeFromRanges, toNumber, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.cjs';
13
+ export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula, bs as transposeFormulaReferences } from './controller-w6eRTjF8.cjs';
14
+ export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, mapConditionalFormatFormulas, mapDataValidationFormulas, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, mergeRuleRanges, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, reanchorRuleFormula, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, sortRuleRanges, sortRules, subtractRange, subtractRangeFromRanges, toNumber, transposeRuleFormula, transposeRuleRanges, transposeRules, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.cjs';
15
15
  export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, HistoryManager, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from './history/index.cjs';
16
16
  export { C as Command, a as HistoryEntry, b as HistoryManagerOptions, c as HistoryMark, H as HistoryState, M as MergedExecutionOptions, S as SnapshotCommandOptions } from './types-GT5a5YAX.cjs';
17
17
  import { I as ImportAdapterRegistry, a as ImportOutcome, F as FileLike, b as ImportAdapter } from './registry-CEgwXED1.cjs';
@@ -150,7 +150,9 @@ interface InsertImportedDocumentOptions {
150
150
  }
151
151
  /**
152
152
  * Inserts an imported document into an editor as one transaction and returns
153
- * the position right after the inserted content.
153
+ * the position right after the inserted content. Content with a table that
154
+ * would land in a table cell is inserted after the outermost table instead
155
+ * (tables are never nested).
154
156
  */
155
157
  declare function insertImportedDocument(target: ImportEditorTarget, content: DocumentImport, options?: InsertImportedDocumentOptions): number;
156
158
  /**
package/dist/index.d.ts CHANGED
@@ -2,16 +2,16 @@ import { b as Token } from './tokens-D7yXvUU6.js';
2
2
  export { C as ColorGradient, c as ComparisonOperator, d as ConditionComparison, e as ConditionalKind, I as INSTRUCTION_REGEX, a as PromptDiagnostic, f as PromptDiagnosticCode, g as PromptValue, P as PromptValues, h as TEMPLATE_REGEX, T as Template, i as TemplateVersion, j as TokenType, V as VARIABLE_REGEX, k as instructionRegex, t as templateRegex, v as variableRegex } from './tokens-D7yXvUU6.js';
3
3
  export { ConditionExpression, ConditionalTagLike, ConditionalTagMatch, DataSourceInput, DataSourceWarning, DataSourceWarningCode, EvaluatedToken, ExtractVariablesOptions, FIELD_ALIASES, FieldMapping, FieldMatch, FieldMatchKind, MAX_DATA_SOURCE_FIELDS, MAX_DATA_SOURCE_RECORDS, MAX_MERGE_LENGTH, MAX_MERGE_OUTPUTS, MatchFieldsOptions, MergeDataSource, MergeDiagnostic, MergeDiagnosticCode, MergeOutput, MergeRecord, MergeRecordsOptions, MergeRecordsResult, MergeSkip, ParseDataSourceOptions, ParsedComparison, ParsedVariableBody, RecordToValuesOptions, ResolvePromptOptions, ResolvePromptResult, TEMPLATE_DEPTH_ERROR, TEMPLATE_LOOP_ERROR, TokenizeResult, VariableDescriptor, VariableFormField, compactVariableValues, compareConditionValues, conditionSubject, describeConditionalTag, detectDelimiter, escapeVariableText, evaluateCondition, evaluateConditionExpression, evaluatePromptTokens, extractVariables, formatComparisonOperand, formatConditionalTag, getLatestVersion, getPromptDiagnostics, getSuppliedValue, getTemplateBody, getVariableFormFields, isPromptValueSet, matchConditionalTags, matchFields, mergeRecords, normalizeFieldKey, normalizeFieldNames, parseComparison, parseConditionExpression, parseDataSource, parseVariableBody, recordToValues, resolvePrompt, serializeMergeOutputs, tokenizePrompt, tokenizePromptWithDiagnostics, unescapeVariableText } from './grammar/index.js';
4
4
  export { R as ResolveTemplatesOptions, S as SourceMapSegment, e as extractInstructionNames, a as extractTemplateNames, b as extractVariableNames, m as mapRawOffsetToResolved, c as mapResolvedOffsetToRaw, r as resolveTemplates, d as resolveTemplatesWithMapping, f as resolveVariables } from './sourcemap-DA1Evhrv.js';
5
- import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-B273Zllk.js';
6
- export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, B as BUILT_IN_IMPORT_ADAPTERS, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as CharacterStyle, p as ColorHighlighter, q as CommentRange, r as Comments, s as CommentsOptions, t as CommentsStorage, u as CompileFindPatternResult, v as CompiledFindPattern, w as CreateImportAdapterRegistryOptions, x as CreateStyleFromSelectionOptions, y as CrossReference, z as CrossReferenceOptions, E as CrossReferenceTarget, F as CrossReferenceTargetType, G as DEFAULT_AUTOCORRECT_EXCEPTIONS, H as DEFAULT_TABLE_OPTIONS, I as DEFAULT_TABLE_TOOLBAR, J as DocumentCompare, K as DocumentCompareOptions, L as DocumentCompareStorage, M as DocumentSearchOptions, N as DocumentSearchResult, O as DocumentStructureCommandArgs, Q as DocumentStructureCommandItem, R as EMPTY_FIND_REPLACE_SNAPSHOT, S as EMPTY_TABLE_STATE, T as EditorCompareOptions, U as FIND_OPTION_TOGGLES, V as FIND_PARAGRAPH_MARK, W as FileImport, X as FileImportOptions, Y as FindAllOptions, Z as FindAllResult, _ as FindMatch, $ as FindOptionToggle, a0 as FindOptions, a1 as FindPatternError, a2 as FindPatternErrorCode, a3 as FindReplace, a4 as FindReplaceCommandOptions, a5 as FindReplaceMode, a6 as FindReplaceOptions, a7 as FindReplaceSnapshot, a8 as FindReplaceStorage, a9 as FindReplaceStore, aa as FocusHeadingOptions, ab as FontSize, ac as Footnote, ad as FootnoteInfo, ae as FootnoteReference, af as Footnotes, ag as FootnotesOptions, ah as GradientText, ai as GradientTextOptions, aj as Image, ak as ImageOptions, al as ImportStructureItem, am as ImportStructureReport, an as InsertFootnoteOptions, ao as InsertTableOfContentsOptions, ap as LoadingNode, aq as MAX_FIND_PATTERN_LENGTH, ar as MAX_TABLE_COLUMNS, as as MAX_TABLE_ROWS, at as Markdown, au as OpenFindReplaceParams, av as Outline, aw as OutlineHeading, ax as OutlineOptions, ay as OutlineSnapshot, az as OutlineStorage, aA as OutlineStore, aB as OutlineTreeItem, aC as ParagraphStyles, aD as ParagraphStylesOptions, aE as ParagraphStylesSnapshot, aF as ParagraphStylesStorage, aG as ParagraphStylesStore, aH as PatternMatch, aI as PdfLayoutBlock, aJ as PdfLayoutPage, aK as PdfLayoutResult, aL as PdfTableCell, aM as ReplacePiece, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as RichTextTableOptions, aT as RunTableActionOptions, aU as SMILIE_REPLACEMENTS, aV as STYLE_ID_ATTRIBUTE, aW as SearchBudget, aX as SearchBudgetOptions, aY as SetBookmarkOptions, aZ as SetSearchParams, a_ as SlashCommandMatchData, a$ as SlashCommands, b0 as SlashCommandsOptions, b1 as SmilieReplacer, b2 as TABLE_ACTIONS, b3 as Table, b4 as TableAction, b5 as TableActionInfo, b6 as TableActionParams, b7 as TableActionStatus, b8 as TableCell, b9 as TableCellAlignment, ba as TableCommandOptions, bb as TableHeader, bc as TableOfContents, bd as TableOfContentsEntry, be as TableOfContentsOptions, bf as TableRow, bg as TableState, bh as TableStore, bi as TableToolbarItem, bj as TemplateSuggestions, bk as TemplateSuggestionsOptions, bl as analyzePdfLayout, bm as applyDocumentComparison, bn as applyReplacements, bo as autocorrectPluginKey, bp as buildOutlineTree, bq as capitalizeSentenceRules, br as captureSelectionFormat, bs as commentsPluginKey, bt as compareInEditor, bu as compileFindPattern, bv as computeOutline, bw as createFindReplaceCommands, bx as createImportAdapterRegistry, by as createOutlineStore, bz as createParagraphStylesStore, bA as createRichTextPreset, bB as createSearchBudget, bC as createTableCommands, bD as createTableExtensions, bE as createTableStore, bF as crossReferencePluginKey, bG as defaultAutocorrectRules, bH as defaultImportRegistry, bI as documentStructureCommandItems, bJ as expandReplacement, bK as fileImportPluginKey, bL as findAllMatches, bM as findAutocorrection, bN as findCommentRanges, bO as findHexColors, bP as findImportAdapter, bQ as findReplacePluginKey, bR as foldCodePoint, bS as footnotesMarkdownIt, bT as footnotesPluginKey, bU as formatFindStatus, bV as fractionRules, bW as getActiveHeading, bX as getBookmarks, bY as getCommentAnchors, bZ as getCommentAuthor, b_ as getCommentIdsAt, b$ as getCommentStore, c0 as getCrossReferenceTargets, c1 as getDocumentStructureCommandItems, c2 as getFindReplaceState, c3 as getFindReplaceStore, c4 as getFootnotes, c5 as getImportAccept, c6 as getOutline, c7 as getParagraphStyleAt, c8 as getStyleRegistry, c9 as getTableActionState, ca as getTableOfContentsEntries, cb as getTableState, cc as handleImageInsertion, cd as htmlImportAdapter, ce as imagePastePluginKey, cf as importFile, cg as insertImageNode, ch as isGfmTable, ci as isInsidePromptToken, cj as isParagraphStyleAvailable, ck as isSelectionInTable, cl as isTableEnabled, cm as markdownImportAdapter, cn as navigateToHeading, co as normalizeTableCellAlignment, cp as normalizeTableCellColor, cq as outlinePluginKey, cr as paragraphStylesPluginKey, cs as parseReplacement, ct as pdfLayoutBlocksToHtml, cu as plainTextImportAdapter, cv as registerImportAdapter, cw as removeImageNode, cx as richClipboardPluginKey, cy as rtfImportAdapter, cz as runTableAction, cA as searchDocument, cB as shouldShowTableBubbleMenu, cC as smartQuoteRules, cD as smilieAutocorrectRules, cE as symbolRules, cF as syncFootnotes, cG as tableOfContentsMarkdownIt, cH as tableOfContentsPluginKey, cI as twoInitialCapitalsRules, cJ as unregisterImportAdapter, cK as updateImageSrc, cL as validateFindPattern, cM as writeRichClipboard } from './index-B273Zllk.js';
5
+ import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-DXAv_R08.js';
6
+ export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, B as BUILT_IN_IMPORT_ADAPTERS, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as ColorHighlighter, r as CommentRange, s as Comments, t as CommentsOptions, u as CommentsStorage, v as CompileFindPatternResult, w as CompiledFindPattern, x as CreateImportAdapterRegistryOptions, y as CreateStyleFromSelectionOptions, z as CrossReference, E as CrossReferenceOptions, F as CrossReferenceTarget, G as CrossReferenceTargetType, H as DEFAULT_AUTOCORRECT_EXCEPTIONS, I as DEFAULT_TABLE_OPTIONS, J as DEFAULT_TABLE_TOOLBAR, K as DocumentCompare, L as DocumentCompareOptions, M as DocumentCompareStorage, N as DocumentSearchOptions, O as DocumentSearchResult, Q as DocumentStructureCommandArgs, R as DocumentStructureCommandItem, S as EMPTY_FIND_REPLACE_SNAPSHOT, T as EMPTY_TABLE_STATE, U as EditorCompareOptions, V as FIND_OPTION_TOGGLES, W as FIND_PARAGRAPH_MARK, X as FileImport, Y as FileImportOptions, Z as FindAllOptions, _ as FindAllResult, $ as FindMatch, a0 as FindOptionToggle, a1 as FindOptions, a2 as FindPatternError, a3 as FindPatternErrorCode, a4 as FindReplace, a5 as FindReplaceCommandOptions, a6 as FindReplaceMode, a7 as FindReplaceOptions, a8 as FindReplaceSnapshot, a9 as FindReplaceStorage, aa as FindReplaceStore, ab as FocusHeadingOptions, ac as FontSize, ad as Footnote, ae as FootnoteInfo, af as FootnoteReference, ag as Footnotes, ah as FootnotesOptions, ai as GradientText, aj as GradientTextOptions, ak as Image, al as ImageOptions, am as ImportStructureItem, an as ImportStructureReport, ao as InsertFootnoteOptions, ap as InsertTableOfContentsOptions, aq as LoadingNode, ar as MAX_FIND_PATTERN_LENGTH, as as MAX_TABLE_COLUMNS, at as MAX_TABLE_ROWS, au as Markdown, av as OpenFindReplaceParams, aw as Outline, ax as OutlineHeading, ay as OutlineOptions, az as OutlineSnapshot, aA as OutlineStorage, aB as OutlineStore, aC as OutlineTreeItem, aD as ParagraphStyles, aE as ParagraphStylesOptions, aF as ParagraphStylesSnapshot, aG as ParagraphStylesStorage, aH as ParagraphStylesStore, aI as PatternMatch, aJ as PdfLayoutBlock, aK as PdfLayoutPage, aL as PdfLayoutResult, aM as PdfTableCell, aN as ReplacePiece, aO as RichClipboard, aP as RichClipboardOptions, aQ as RichClipboardStorage, aR as RichTextPresetCommandPackages, aS as RichTextPresetOptions, aT as RichTextTableOptions, aU as RunTableActionOptions, aV as SMILIE_REPLACEMENTS, aW as STYLE_ID_ATTRIBUTE, aX as SearchBudget, aY as SearchBudgetOptions, aZ as SetBookmarkOptions, a_ as SetSearchParams, a$ as SlashCommandMatchData, b0 as SlashCommands, b1 as SlashCommandsOptions, b2 as SmilieReplacer, b3 as TABLE_ACTIONS, b4 as Table, b5 as TableAction, b6 as TableActionInfo, b7 as TableActionParams, b8 as TableActionStatus, b9 as TableCell, ba as TableCellAlignment, bb as TableCommandOptions, bc as TableHeader, bd as TableOfContents, be as TableOfContentsEntry, bf as TableOfContentsOptions, bg as TableRow, bh as TableState, bi as TableStore, bj as TableToolbarItem, bk as TemplateSuggestions, bl as TemplateSuggestionsOptions, bm as analyzePdfLayout, bn as applyDocumentComparison, bo as applyReplacements, bp as autocorrectPluginKey, bq as buildOutlineTree, br as capitalizeSentenceRules, bs as captureSelectionFormat, bt as commentsPluginKey, bu as compareInEditor, bv as compileFindPattern, bw as computeOutline, bx as createFindReplaceCommands, by as createImportAdapterRegistry, bz as createOutlineStore, bA as createParagraphStylesStore, bB as createRichTextPreset, bC as createSearchBudget, bD as createTableCommands, bE as createTableExtensions, bF as createTableNestingPlugin, bG as createTableStore, bH as crossReferencePluginKey, bI as defaultAutocorrectRules, bJ as defaultImportRegistry, bK as documentStructureCommandItems, bL as expandReplacement, bM as fileImportPluginKey, bN as findAllMatches, bO as findAutocorrection, bP as findCommentRanges, bQ as findHexColors, bR as findImportAdapter, bS as findReplacePluginKey, bT as foldCodePoint, bU as footnotesMarkdownIt, bV as footnotesPluginKey, bW as formatFindStatus, bX as fractionRules, bY as getActiveHeading, bZ as getBookmarks, b_ as getCommentAnchors, b$ as getCommentAuthor, c0 as getCommentIdsAt, c1 as getCommentStore, c2 as getCrossReferenceTargets, c3 as getDocumentStructureCommandItems, c4 as getFindReplaceState, c5 as getFindReplaceStore, c6 as getFootnotes, c7 as getImportAccept, c8 as getOutline, c9 as getParagraphStyleAt, ca as getStyleRegistry, cb as getTableActionState, cc as getTableOfContentsEntries, cd as getTableState, ce as handleImageInsertion, cf as handleTablePasteWithoutNesting, cg as htmlImportAdapter, ch as imagePastePluginKey, ci as importFile, cj as insertImageNode, ck as insertSliceAfterTable, cl as isGfmTable, cm as isInTableCell, cn as isInsidePromptToken, co as isParagraphStyleAvailable, cp as isSelectionInTable, cq as isTableEnabled, cr as markdownImportAdapter, cs as navigateToHeading, ct as normalizeTableCellAlignment, cu as normalizeTableCellColor, cv as outermostTableDepth, cw as outlinePluginKey, cx as paragraphStylesPluginKey, cy as parseReplacement, cz as pdfLayoutBlocksToHtml, cA as plainTextImportAdapter, cB as registerImportAdapter, cC as removeImageNode, cD as richClipboardPluginKey, cE as rtfImportAdapter, cF as runTableAction, cG as searchDocument, cH as shouldShowTableBubbleMenu, cI as sliceContainsTable, cJ as smartQuoteRules, cK as smilieAutocorrectRules, cL as symbolRules, cM as syncFootnotes, cN as tableNestingPluginKey, cO as tableOfContentsMarkdownIt, cP as tableOfContentsPluginKey, cQ as twoInitialCapitalsRules, cR as unnestTables, cS as unregisterImportAdapter, cT as updateImageSrc, cU as validateFindPattern, cV as writeRichClipboard } from './index-DXAv_R08.js';
7
7
  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';
8
8
  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';
9
9
  export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from './registry-CED5C0lA.js';
10
10
  export { ClipboardDataLike, ExtractMentionsOptions, ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MarkdownToHtmlOptions, MentionDetail, MentionSegment, PIXERATE_DOCUMENT_MIME, PlainTextOptions, PreprocessMarkdownMentionsOptions, RichClipboardPayload, SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, splitMarkdownMentionParts, stripMarkdownCode } from './serializers/index.js';
11
11
  import { Editor, EditorOptions, Content, Extensions } from '@tiptap/core';
12
12
  export { Content, Editor, EditorOptions, Extensions } from '@tiptap/core';
13
- export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula } from './controller-CxXGOEmy.js';
14
- export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, subtractRange, subtractRangeFromRanges, toNumber, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.js';
13
+ export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula, bs as transposeFormulaReferences } from './controller-w6eRTjF8.js';
14
+ export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, mapConditionalFormatFormulas, mapDataValidationFormulas, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, mergeRuleRanges, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, reanchorRuleFormula, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, sortRuleRanges, sortRules, subtractRange, subtractRangeFromRanges, toNumber, transposeRuleFormula, transposeRuleRanges, transposeRules, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.js';
15
15
  export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, HistoryManager, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from './history/index.js';
16
16
  export { C as Command, a as HistoryEntry, b as HistoryManagerOptions, c as HistoryMark, H as HistoryState, M as MergedExecutionOptions, S as SnapshotCommandOptions } from './types-GT5a5YAX.js';
17
17
  import { I as ImportAdapterRegistry, a as ImportOutcome, F as FileLike, b as ImportAdapter } from './registry-CEgwXED1.js';
@@ -150,7 +150,9 @@ interface InsertImportedDocumentOptions {
150
150
  }
151
151
  /**
152
152
  * Inserts an imported document into an editor as one transaction and returns
153
- * the position right after the inserted content.
153
+ * the position right after the inserted content. Content with a table that
154
+ * would land in a table cell is inserted after the outermost table instead
155
+ * (tables are never nested).
154
156
  */
155
157
  declare function insertImportedDocument(target: ImportEditorTarget, content: DocumentImport, options?: InsertImportedDocumentOptions): number;
156
158
  /**
package/dist/index.js CHANGED
@@ -184,7 +184,39 @@ import {
184
184
  updateImageSrc,
185
185
  validateFindPattern,
186
186
  writeRichClipboard
187
- } from "./chunk-XQFHLT53.js";
187
+ } from "./chunk-MXZJ4PKN.js";
188
+ import {
189
+ ALLOW_NESTED_TABLES_META,
190
+ DEFAULT_TABLE_OPTIONS,
191
+ DEFAULT_TABLE_TOOLBAR,
192
+ EMPTY_TABLE_STATE,
193
+ MAX_TABLE_COLUMNS,
194
+ MAX_TABLE_ROWS,
195
+ TABLE_ACTIONS,
196
+ Table,
197
+ TableCell,
198
+ TableHeader,
199
+ TableRow,
200
+ createTableExtensions,
201
+ createTableNestingPlugin,
202
+ createTableStore,
203
+ getTableActionState,
204
+ getTableState,
205
+ handleTablePasteWithoutNesting,
206
+ insertSliceAfterTable,
207
+ isGfmTable,
208
+ isInTableCell,
209
+ isSelectionInTable,
210
+ isTableEnabled,
211
+ normalizeTableCellAlignment,
212
+ normalizeTableCellColor,
213
+ outermostTableDepth,
214
+ runTableAction,
215
+ shouldShowTableBubbleMenu,
216
+ sliceContainsTable,
217
+ tableNestingPluginKey,
218
+ unnestTables
219
+ } from "./chunk-5H2OPMXZ.js";
188
220
  import {
189
221
  compareDocuments,
190
222
  compareHtml,
@@ -241,6 +273,59 @@ import {
241
273
  sanitizeImportedHtml,
242
274
  serializeRichClipboardPayload
243
275
  } from "./chunk-WON34HKM.js";
276
+ import {
277
+ MARKDOWN_MENTION_SPLIT_REGEX,
278
+ escapeHtml,
279
+ extractMentions,
280
+ extractMentionsFromDoc,
281
+ getEditorMarkdown,
282
+ getEditorText,
283
+ htmlToPlainText,
284
+ markdownToTipTapHtml,
285
+ parseMentionSegments,
286
+ plainTextToSlice,
287
+ plainTextToTipTapHtml,
288
+ preprocessMarkdownFileLinks,
289
+ preprocessMarkdownMentions,
290
+ sanitizeHtml,
291
+ splitMarkdownMentionParts,
292
+ stripMarkdownCode
293
+ } from "./chunk-UKI64KUD.js";
294
+ import {
295
+ MENTION_REGEX,
296
+ findTextMentions,
297
+ formatMentionText,
298
+ setMentionRoleInText
299
+ } from "./chunk-O5RYH2PG.js";
300
+ import {
301
+ BLOCK_CHANGE_ATTRIBUTE,
302
+ CommentStore,
303
+ DELETION_MARK_NAME,
304
+ FORMAT_CHANGE_MARK_NAME,
305
+ INSERTION_MARK_NAME,
306
+ MOVE_FROM_CLASS,
307
+ MOVE_ID_ATTRIBUTE,
308
+ MOVE_TO_CLASS,
309
+ TRACK_CHANGES_SKIP_META,
310
+ TrackChanges,
311
+ TrackChangesStore,
312
+ TrackedDeletion,
313
+ TrackedFormatChange,
314
+ TrackedInsertion,
315
+ createCommentStore,
316
+ createReviewId,
317
+ describeBlockChange,
318
+ describeFormatChange,
319
+ formatReviewTime,
320
+ getTrackChangesStore,
321
+ getTrackedChangeAt,
322
+ getTrackedChanges,
323
+ isMoveSized,
324
+ isTrackChangesEnabled,
325
+ resolveTrackedChanges,
326
+ trackChangesPluginKey,
327
+ trackedChangeLabel
328
+ } from "./chunk-SWE3NPOU.js";
244
329
  import {
245
330
  CONDITIONAL_FORMAT_ICON_SETS,
246
331
  CONDITIONAL_FORMAT_PRESETS,
@@ -331,10 +416,13 @@ import {
331
416
  isGeneralNumberFormat,
332
417
  isLambdaDefinition,
333
418
  isSingleCellRange,
419
+ mapConditionalFormatFormulas,
420
+ mapDataValidationFormulas,
334
421
  mapFormulaReferences,
335
422
  matchesFilterRule,
336
423
  matchesTimePeriod,
337
424
  measureSpreadsheetView,
425
+ mergeRuleRanges,
338
426
  nextSheetName,
339
427
  normalizeRange,
340
428
  numberFormatForCellFormat,
@@ -348,6 +436,7 @@ import {
348
436
  rangesContain,
349
437
  rangesIntersect,
350
438
  readSpreadsheetClipboard,
439
+ reanchorRuleFormula,
351
440
  rebaseClipboardRows,
352
441
  registerSpreadsheetImportAdapters,
353
442
  remapFormulaReferences,
@@ -365,106 +454,20 @@ import {
365
454
  shiftFormulaReferences,
366
455
  shiftRuleFormula,
367
456
  shouldVirtualizeSpreadsheet,
457
+ sortRuleRanges,
458
+ sortRules,
368
459
  subtractRange,
369
460
  subtractRangeFromRanges,
370
461
  toNumber,
462
+ transposeFormulaReferences,
463
+ transposeRuleFormula,
464
+ transposeRuleRanges,
465
+ transposeRules,
371
466
  tsvImportAdapter,
372
467
  validateCellInput,
373
468
  validateDefinedName,
374
469
  validateSheetName
375
- } from "./chunk-X7HXL2SB.js";
376
- import {
377
- escapeCsvField,
378
- parseCsv,
379
- parseTsv,
380
- serializeCsv,
381
- serializeTsv
382
- } from "./chunk-664LQYFJ.js";
383
- import {
384
- DirtyTracker,
385
- HistoryManager,
386
- bindDirtyToHistory,
387
- createDirtyTracker,
388
- createHistoryManager,
389
- defaultIsEqual,
390
- withoutDirty
391
- } from "./chunk-2H7ZHPEJ.js";
392
- import {
393
- DEFAULT_TABLE_OPTIONS,
394
- DEFAULT_TABLE_TOOLBAR,
395
- EMPTY_TABLE_STATE,
396
- MAX_TABLE_COLUMNS,
397
- MAX_TABLE_ROWS,
398
- TABLE_ACTIONS,
399
- Table,
400
- TableCell,
401
- TableHeader,
402
- TableRow,
403
- createTableExtensions,
404
- createTableStore,
405
- getTableActionState,
406
- getTableState,
407
- isGfmTable,
408
- isSelectionInTable,
409
- isTableEnabled,
410
- normalizeTableCellAlignment,
411
- normalizeTableCellColor,
412
- runTableAction,
413
- shouldShowTableBubbleMenu
414
- } from "./chunk-UBCFIABU.js";
415
- import {
416
- MARKDOWN_MENTION_SPLIT_REGEX,
417
- escapeHtml,
418
- extractMentions,
419
- extractMentionsFromDoc,
420
- getEditorMarkdown,
421
- getEditorText,
422
- htmlToPlainText,
423
- markdownToTipTapHtml,
424
- parseMentionSegments,
425
- plainTextToSlice,
426
- plainTextToTipTapHtml,
427
- preprocessMarkdownFileLinks,
428
- preprocessMarkdownMentions,
429
- sanitizeHtml,
430
- splitMarkdownMentionParts,
431
- stripMarkdownCode
432
- } from "./chunk-UKI64KUD.js";
433
- import {
434
- MENTION_REGEX,
435
- findTextMentions,
436
- formatMentionText,
437
- setMentionRoleInText
438
- } from "./chunk-O5RYH2PG.js";
439
- import {
440
- BLOCK_CHANGE_ATTRIBUTE,
441
- CommentStore,
442
- DELETION_MARK_NAME,
443
- FORMAT_CHANGE_MARK_NAME,
444
- INSERTION_MARK_NAME,
445
- MOVE_FROM_CLASS,
446
- MOVE_ID_ATTRIBUTE,
447
- MOVE_TO_CLASS,
448
- TRACK_CHANGES_SKIP_META,
449
- TrackChanges,
450
- TrackChangesStore,
451
- TrackedDeletion,
452
- TrackedFormatChange,
453
- TrackedInsertion,
454
- createCommentStore,
455
- createReviewId,
456
- describeBlockChange,
457
- describeFormatChange,
458
- formatReviewTime,
459
- getTrackChangesStore,
460
- getTrackedChangeAt,
461
- getTrackedChanges,
462
- isMoveSized,
463
- isTrackChangesEnabled,
464
- resolveTrackedChanges,
465
- trackChangesPluginKey,
466
- trackedChangeLabel
467
- } from "./chunk-SWE3NPOU.js";
470
+ } from "./chunk-3RPOW4CS.js";
468
471
  import {
469
472
  FORMULA_ERRORS,
470
473
  FormulaEvaluator,
@@ -511,6 +514,22 @@ import {
511
514
  unregisterFormulaFunction,
512
515
  wildcardToRegExp
513
516
  } from "./chunk-ZRNHGAQT.js";
517
+ import {
518
+ escapeCsvField,
519
+ parseCsv,
520
+ parseTsv,
521
+ serializeCsv,
522
+ serializeTsv
523
+ } from "./chunk-664LQYFJ.js";
524
+ import {
525
+ DirtyTracker,
526
+ HistoryManager,
527
+ bindDirtyToHistory,
528
+ createDirtyTracker,
529
+ createHistoryManager,
530
+ defaultIsEqual,
531
+ withoutDirty
532
+ } from "./chunk-2H7ZHPEJ.js";
514
533
 
515
534
  // src/controller.ts
516
535
  import { Editor } from "@tiptap/core";
@@ -2204,6 +2223,7 @@ function createZipImportAdapter(options = {}) {
2204
2223
  }
2205
2224
  var zipImportAdapter = createZipImportAdapter();
2206
2225
  export {
2226
+ ALLOW_NESTED_TABLES_META,
2207
2227
  Autocorrect,
2208
2228
  BLOCK_CHANGE_ATTRIBUTE,
2209
2229
  BUILT_IN_IMPORT_ADAPTERS,
@@ -2401,6 +2421,7 @@ export {
2401
2421
  createStyleRegistry,
2402
2422
  createTableCommands,
2403
2423
  createTableExtensions,
2424
+ createTableNestingPlugin,
2404
2425
  createTableStore,
2405
2426
  createZipImportAdapter,
2406
2427
  crossReferencePluginKey,
@@ -2528,6 +2549,7 @@ export {
2528
2549
  getValidationListValues,
2529
2550
  getVariableFormFields,
2530
2551
  handleImageInsertion,
2552
+ handleTablePasteWithoutNesting,
2531
2553
  htmlImportAdapter,
2532
2554
  htmlToPlainText,
2533
2555
  htmlToSlice,
@@ -2538,12 +2560,14 @@ export {
2538
2560
  indexToColName,
2539
2561
  insertImageNode,
2540
2562
  insertImportedDocument,
2563
+ insertSliceAfterTable,
2541
2564
  instructionRegex,
2542
2565
  isBlankValue,
2543
2566
  isFormulaError,
2544
2567
  isFormulaLambda,
2545
2568
  isGeneralNumberFormat,
2546
2569
  isGfmTable,
2570
+ isInTableCell,
2547
2571
  isInsidePromptToken,
2548
2572
  isLambdaDefinition,
2549
2573
  isMoveSized,
@@ -2556,6 +2580,8 @@ export {
2556
2580
  isUnsafeZipPath,
2557
2581
  isValidStyleId,
2558
2582
  listFormulaFunctions,
2583
+ mapConditionalFormatFormulas,
2584
+ mapDataValidationFormulas,
2559
2585
  mapFormulaReferences,
2560
2586
  mapRawOffsetToResolved,
2561
2587
  mapResolvedOffsetToRaw,
@@ -2567,6 +2593,7 @@ export {
2567
2593
  matchesTimePeriod,
2568
2594
  measureSpreadsheetView,
2569
2595
  mergeRecords,
2596
+ mergeRuleRanges,
2570
2597
  navigateToHeading,
2571
2598
  nextSheetName,
2572
2599
  normalizeFieldKey,
@@ -2578,6 +2605,7 @@ export {
2578
2605
  numberFormatForCellFormat,
2579
2606
  numberToText,
2580
2607
  offsetFormulaReferences,
2608
+ outermostTableDepth,
2581
2609
  outlinePluginKey,
2582
2610
  paragraphStylesPluginKey,
2583
2611
  parseCellInput,
@@ -2617,6 +2645,7 @@ export {
2617
2645
  readRichClipboard,
2618
2646
  readSpreadsheetClipboard,
2619
2647
  readZip,
2648
+ reanchorRuleFormula,
2620
2649
  rebaseClipboardRows,
2621
2650
  recordToValues,
2622
2651
  registerFormulaFunction,
@@ -2660,9 +2689,12 @@ export {
2660
2689
  shiftRuleFormula,
2661
2690
  shouldShowTableBubbleMenu,
2662
2691
  shouldVirtualizeSpreadsheet,
2692
+ sliceContainsTable,
2663
2693
  smartQuoteRules,
2664
2694
  smilieAutocorrectRules,
2665
2695
  sortCompareValues,
2696
+ sortRuleRanges,
2697
+ sortRules,
2666
2698
  sortZipEntryNames,
2667
2699
  splitMarkdownMentionParts,
2668
2700
  stripInvalidXmlChars,
@@ -2672,6 +2704,7 @@ export {
2672
2704
  summarizeImportStructure,
2673
2705
  symbolRules,
2674
2706
  syncFootnotes,
2707
+ tableNestingPluginKey,
2675
2708
  tableOfContentsMarkdownIt,
2676
2709
  tableOfContentsPluginKey,
2677
2710
  templateRegex,
@@ -2681,9 +2714,14 @@ export {
2681
2714
  tokenizePromptWithDiagnostics,
2682
2715
  trackChangesPluginKey,
2683
2716
  trackedChangeLabel,
2717
+ transposeFormulaReferences,
2718
+ transposeRuleFormula,
2719
+ transposeRuleRanges,
2720
+ transposeRules,
2684
2721
  tsvImportAdapter,
2685
2722
  twoInitialCapitalsRules,
2686
2723
  unescapeVariableText,
2724
+ unnestTables,
2687
2725
  unregisterFormulaFunction,
2688
2726
  unregisterImportAdapter,
2689
2727
  updateImageSrc,