@pixerate/editor 0.26.0 → 0.27.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 (79) hide show
  1. package/README.md +8 -2
  2. package/dist/agent/index.cjs +59 -9
  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 +52 -2
  7. package/dist/agent/index.js.map +1 -1
  8. package/dist/{builtins-Chj6zv_O.d.ts → builtins-haN82vjT.d.ts} +33 -3
  9. package/dist/{builtins-CdPcLwwF.d.cts → builtins-nMXh9sT3.d.cts} +33 -3
  10. package/dist/canvas/index.cjs +372 -8
  11. package/dist/canvas/index.cjs.map +1 -1
  12. package/dist/canvas/index.d.cts +72 -4
  13. package/dist/canvas/index.d.ts +72 -4
  14. package/dist/canvas/index.js +368 -4
  15. package/dist/canvas/index.js.map +1 -1
  16. package/dist/{chunk-UBCFIABU.js → chunk-5H2OPMXZ.js} +183 -6
  17. package/dist/chunk-5H2OPMXZ.js.map +1 -0
  18. package/dist/{chunk-NFVBT3UZ.cjs → chunk-66IMF6OD.cjs} +108 -25
  19. package/dist/chunk-66IMF6OD.cjs.map +1 -0
  20. package/dist/{chunk-Q2OHWD2A.js → chunk-6IO7WUSU.js} +19 -5
  21. package/dist/chunk-6IO7WUSU.js.map +1 -0
  22. package/dist/{chunk-YOMYSFJU.cjs → chunk-AGR7EVRW.cjs} +49 -35
  23. package/dist/chunk-AGR7EVRW.cjs.map +1 -0
  24. package/dist/{chunk-RRREAOVM.cjs → chunk-HNDSPZ5T.cjs} +4 -4
  25. package/dist/{chunk-RRREAOVM.cjs.map → chunk-HNDSPZ5T.cjs.map} +1 -1
  26. package/dist/chunk-HXDMZQTD.cjs +497 -0
  27. package/dist/chunk-HXDMZQTD.cjs.map +1 -0
  28. package/dist/chunk-IB3ZHQAX.js +497 -0
  29. package/dist/chunk-IB3ZHQAX.js.map +1 -0
  30. package/dist/{chunk-X7HXL2SB.js → chunk-JT7AXQTE.js} +336 -10
  31. package/dist/chunk-JT7AXQTE.js.map +1 -0
  32. package/dist/{chunk-HDYMLS3X.cjs → chunk-MC2LQN5S.cjs} +196 -19
  33. package/dist/chunk-MC2LQN5S.cjs.map +1 -0
  34. package/dist/{chunk-JOIREKL7.js → chunk-UKI64KUD.js} +85 -2
  35. package/dist/chunk-UKI64KUD.js.map +1 -0
  36. package/dist/{chunk-MHEPLBFB.js → chunk-WON34HKM.js} +2 -2
  37. package/dist/{chunk-NQF32I6Z.cjs → chunk-YK5TATOF.cjs} +461 -135
  38. package/dist/chunk-YK5TATOF.cjs.map +1 -0
  39. package/dist/commands/index.cjs +30 -410
  40. package/dist/commands/index.cjs.map +1 -1
  41. package/dist/commands/index.d.cts +1 -1
  42. package/dist/commands/index.d.ts +1 -1
  43. package/dist/commands/index.js +17 -397
  44. package/dist/commands/index.js.map +1 -1
  45. package/dist/{controller-CxXGOEmy.d.cts → controller-w6eRTjF8.d.cts} +67 -2
  46. package/dist/{controller-CxXGOEmy.d.ts → controller-w6eRTjF8.d.ts} +67 -2
  47. package/dist/extensions/index.cjs +23 -5
  48. package/dist/extensions/index.cjs.map +1 -1
  49. package/dist/extensions/index.d.cts +1 -1
  50. package/dist/extensions/index.d.ts +1 -1
  51. package/dist/extensions/index.js +23 -5
  52. package/dist/{index-jcJwmBYt.d.cts → index-C6gaQRH0.d.cts} +53 -4
  53. package/dist/{index-B273Zllk.d.ts → index-DXAv_R08.d.ts} +53 -4
  54. package/dist/index.cjs +66 -26
  55. package/dist/index.cjs.map +1 -1
  56. package/dist/index.d.cts +8 -6
  57. package/dist/index.d.ts +8 -6
  58. package/dist/index.js +46 -6
  59. package/dist/index.js.map +1 -1
  60. package/dist/serializers/index.cjs +5 -3
  61. package/dist/serializers/index.cjs.map +1 -1
  62. package/dist/serializers/index.d.cts +13 -3
  63. package/dist/serializers/index.d.ts +13 -3
  64. package/dist/serializers/index.js +4 -2
  65. package/dist/spreadsheet/index.cjs +22 -2
  66. package/dist/spreadsheet/index.cjs.map +1 -1
  67. package/dist/spreadsheet/index.d.cts +76 -3
  68. package/dist/spreadsheet/index.d.ts +76 -3
  69. package/dist/spreadsheet/index.js +21 -1
  70. package/package.json +1 -1
  71. package/dist/chunk-HDYMLS3X.cjs.map +0 -1
  72. package/dist/chunk-JOIREKL7.js.map +0 -1
  73. package/dist/chunk-NFVBT3UZ.cjs.map +0 -1
  74. package/dist/chunk-NQF32I6Z.cjs.map +0 -1
  75. package/dist/chunk-Q2OHWD2A.js.map +0 -1
  76. package/dist/chunk-UBCFIABU.js.map +0 -1
  77. package/dist/chunk-X7HXL2SB.js.map +0 -1
  78. package/dist/chunk-YOMYSFJU.cjs.map +0 -1
  79. /package/dist/{chunk-MHEPLBFB.js.map → chunk-WON34HKM.js.map} +0 -0
@@ -369,6 +369,19 @@ interface SpreadsheetDocument {
369
369
  createdAt?: number;
370
370
  updatedAt?: number;
371
371
  table?: SpreadsheetTableSettings;
372
+ /**
373
+ * The defined names formulas on this sheet can use, so a document saved on
374
+ * its own (from `onDocumentChange`) reloads with them: every
375
+ * workbook-scoped name (no `sheetId`) plus this sheet's own sheet-scoped
376
+ * names (`sheetId` set). Written by `SpreadsheetController` on every
377
+ * change; read by `new SpreadsheetController({ document })`,
378
+ * `loadDocument`, `addSheet({ document })` and, for `workbook.sheets`,
379
+ * `loadWorkbook` (where `workbook.names` wins). Any `sheetId` in a
380
+ * document's names means "this sheet", whatever its value. Absent when
381
+ * there are no names. `getWorkbook()` leaves it out of its sheets, because
382
+ * `workbook.names` holds them all.
383
+ */
384
+ names?: SpreadsheetDefinedName[];
372
385
  }
373
386
  type SortDirection = 'asc' | 'desc';
374
387
  interface SortKey {
@@ -462,6 +475,11 @@ interface SpreadsheetWorkbook {
462
475
  sheets: SpreadsheetDocument[];
463
476
  /** Id of the sheet shown (default: the first). */
464
477
  activeSheetId?: string;
478
+ /**
479
+ * Every defined name. When loading, these win over the same names found in
480
+ * `sheets[*].names`; names found only in a sheet's `names` are added too
481
+ * (first sheet in tab order wins for workbook-scoped duplicates).
482
+ */
465
483
  names?: SpreadsheetDefinedName[];
466
484
  }
467
485
  /** A sheet tab: what sheet-tab bars render. */
@@ -1090,6 +1108,23 @@ interface CellPosition {
1090
1108
  * otherwise it is kept, since it still covers the same rows and columns.
1091
1109
  */
1092
1110
  declare function remapFormulaReferences(formula: string, moveCell: (position: CellPosition) => CellPosition | null, options?: FormulaReferenceFilter): string;
1111
+ /**
1112
+ * Transposes a formula that is written relative to `anchor` (a rule formula:
1113
+ * conditional formatting or data validation) for a block transposed in
1114
+ * place around its top-left cell (`block.startRow`, `block.startCol`). The
1115
+ * result is written for the transposed anchor. Relative offsets swap axes
1116
+ * (a reference one column to the right becomes one row below) and `$`
1117
+ * parts inside the block follow the cell they point at, so the `$` flags
1118
+ * swap axes too (`$B2` → `C$2`). References with a `$` part outside the
1119
+ * block (or on another sheet), whole columns and other sheets' absolute
1120
+ * references keep their text.
1121
+ */
1122
+ declare function transposeFormulaReferences(formula: string, anchor: CellPosition, block: {
1123
+ startRow: number;
1124
+ startCol: number;
1125
+ endRow: number;
1126
+ endCol: number;
1127
+ }): string;
1093
1128
  /**
1094
1129
  * Whether a sheet name must be quoted in a formula (`'My Sheet'!A1`): names
1095
1130
  * with spaces or punctuation, starting with a digit, or that look like a
@@ -1338,6 +1373,11 @@ interface SpreadsheetControllerOptions {
1338
1373
  document?: Partial<SpreadsheetDocument>;
1339
1374
  dataSources?: SpreadsheetDataSource[];
1340
1375
  primaryDataSourceId?: string;
1376
+ /**
1377
+ * Called after any change with the active sheet's document. Its `names`
1378
+ * holds the defined names that sheet uses (workbook names and its own), so
1379
+ * saving this document and passing it back as `document` restores them.
1380
+ */
1341
1381
  onDocumentChange?: (doc: SpreadsheetDocument) => void;
1342
1382
  onSelectionChange?: (activeCell: CellCoordinate | null, range: CellRange | null) => void;
1343
1383
  onCellCommit?: (rowId: string, colId: string, raw: string, value: any) => void;
@@ -1453,10 +1493,28 @@ declare class SpreadsheetController {
1453
1493
  * name, made unique). Clears undo history.
1454
1494
  */
1455
1495
  loadDocument(document: SpreadsheetDocument): void;
1456
- /** A deep copy of the workbook: every sheet, the active sheet and the defined names. */
1496
+ /**
1497
+ * Installs the names saved in a document loaded into sheet `sheetId`: they
1498
+ * replace that sheet's own names and, when it is the only sheet, the
1499
+ * workbook names; with other sheets, its workbook names are added (or
1500
+ * replace the same name) and the others are kept.
1501
+ */
1502
+ private loadDocumentNames;
1503
+ /**
1504
+ * Writes every sheet's current names into its document (`doc.names`), so
1505
+ * documents passed to `onDocumentChange` or read from `document` carry them.
1506
+ */
1507
+ private syncDocumentNames;
1508
+ /**
1509
+ * A deep copy of the workbook: every sheet, the active sheet and the
1510
+ * defined names. The names are in `names` only (not repeated in each
1511
+ * sheet's `names`).
1512
+ */
1457
1513
  getWorkbook(): SpreadsheetWorkbook;
1458
1514
  /** Replaces the whole workbook (sheets, names, active sheet). Clears undo history. */
1459
1515
  loadWorkbook(workbook: SpreadsheetWorkbook): void;
1516
+ /** The workbook as undo data; sheets leave out their copies of the names. */
1517
+ private serializeWorkbookSnapshot;
1460
1518
  private workbookSnapshot;
1461
1519
  /**
1462
1520
  * Installs a workbook's sheets and names (taking ownership of the objects).
@@ -1965,6 +2023,13 @@ declare class SpreadsheetController {
1965
2023
  private generateRuleId;
1966
2024
  /** Moves rule ranges and rule formulas with inserted / deleted rows and columns. */
1967
2025
  private adjustRulesForStructuralChange;
2026
+ /**
2027
+ * Moves conditional formats and validations with sorted rows: per-row
2028
+ * parts follow their rows, parts spanning every sorted row stay (Excel).
2029
+ */
2030
+ private moveRulesForSort;
2031
+ /** Moves conditional formats and validations of a transposed block with its cells. */
2032
+ private moveRulesForTranspose;
1968
2033
  /** Conditional formats of the sheet, highest priority first. */
1969
2034
  getConditionalFormats(): ConditionalFormatRule[];
1970
2035
  /**
@@ -2035,4 +2100,4 @@ declare class SpreadsheetController {
2035
2100
  isInvalidDataCircled(row: number, col: number): boolean;
2036
2101
  }
2037
2102
 
2038
- export { type GroupAggregate as $, type ASTNode as A, type BinaryOpNode as B, type CellCoordinate as C, DEFAULT_COLUMN_WIDTH as D, type DataValidationResult as E, type DataValidationRule as F, type DataValidationSheet as G, type DataValidationType as H, DependencyGraph as I, type DependencyIndexStats as J, type EvaluationContext as K, FORMULA_ERRORS as L, type FilterOperator as M, type FilterRule as N, type FormulaDiagnostic as O, type FormulaErrorCode as P, type FormulaEvaluationResult as Q, FormulaEvaluator as R, SpreadsheetController as S, type FormulaNameDefinition as T, FormulaParser as U, type FormulaRange as V, type FormulaReferenceFilter as W, type FormulaReferenceInfo as X, type FormulaToken as Y, type FormulaTokenType as Z, type FunctionCallNode as _, type CellData as a, extractCellDependencies as a$, type GroupSummary as a0, IntervalIndex as a1, type InvokeNode as a2, type LiteralNode as a3, MAX_FORMULA_ARRAY_SIZE as a4, type MissingNode as a5, type NameDep as a6, type NameNode as a7, type NewConditionalFormatRule as a8, type NewDataValidationRule as a9, type SpreadsheetNameInfo as aA, type SpreadsheetNameScope as aB, type SpreadsheetRecalculationStats as aC, type SpreadsheetRow as aD, type SpreadsheetRowGroup as aE, type SpreadsheetRowSection as aF, type SpreadsheetSheetInfo as aG, type SpreadsheetSpill as aH, type SpreadsheetTableSettings as aI, type SpreadsheetValidationAction as aJ, type SpreadsheetValidationPrompt as aK, type SpreadsheetViewColumn as aL, type SpreadsheetViewModel as aM, type SpreadsheetViewRow as aN, type SpreadsheetWorkbook as aO, type StructuralChange as aP, type UnaryOpNode as aQ, WHOLE_COLUMN_END_ROW as aR, buildSpreadsheetView as aS, colNameToIndex as aT, columnDependencyKey as aU, compareNumbers as aV, compareValues as aW, computeRowGroups as aX, createSpreadsheetClipboardData as aY, deleteSheetInFormula as aZ, describeFormulaError as a_, type NewFilterRule as aa, type ParsedSpreadsheetClipboard as ab, type PropertyRefNode as ac, type RangeNode as ad, type RangeResolveOptions as ae, type ReferenceDep as af, type RowType as ag, SPREADSHEET_CLIPBOARD_MIME as ah, type SheetQualifier as ai, type SortDirection as aj, type SortKey as ak, type SpillRefNode as al, type SpreadsheetCellSpan as am, type SpreadsheetClipboardCell as an, type SpreadsheetClipboardData as ao, type SpreadsheetClipboardPayload as ap, type SpreadsheetClipboardSource as aq, type SpreadsheetColumn as ar, type SpreadsheetCommitResult as as, type SpreadsheetControllerOptions as at, type SpreadsheetDataSource as au, type SpreadsheetDataSourceField as av, type SpreadsheetDefinedName as aw, type SpreadsheetDocument as ax, type SpreadsheetFilterState as ay, type SpreadsheetGrouping as az, type CellDep as b, extractNameDependencies as b0, extractReferenceDependencies as b1, formatSheetPrefix as b2, formulaIdentifiers as b3, getRowSection as b4, getTableSections as b5, indexToColName as b6, isFormulaError as b7, mapFormulaReferences as b8, numberToText as b9, offsetFormulaReferences as ba, parseCellReference as bb, parseFormula as bc, parseHtmlTable as bd, parseRange as be, quoteSheetName as bf, rangeDependencyKey as bg, readSpreadsheetClipboard as bh, rebaseClipboardRows as bi, remapFormulaReferences as bj, renameNameInFormula as bk, renameSheetInFormula as bl, rowPassesFilters as bm, serializeHtmlTable as bn, sheetNameNeedsQuotes as bo, shiftFormulaReferences as bp, sortCompareValues as bq, tokenizeFormula as br, type CellFormat as c, type CellPosition as d, type CellRange as e, type CellRefNode as f, type CellValueReader as g, type ColumnBinding as h, type ColumnType as i, type ConditionalCellFormat as j, type ConditionalFormatCondition as k, type ConditionalFormatIconSet as l, type ConditionalFormatOperator as m, type ConditionalFormatOverlay as n, type ConditionalFormatRule as o, type ConditionalFormatSheet as p, type ConditionalFormatStyle as q, type ConditionalFormatTimePeriod as r, type ConditionalFormatType as s, type ConditionalFormatValue as t, type CsvExportOptions as u, type CsvImportOptions as v, DEFAULT_ROW_HEIGHT as w, DataSourceBinder as x, type DataValidationErrorStyle as y, type DataValidationOperator as z };
2103
+ export { type GroupAggregate as $, type ASTNode as A, type BinaryOpNode as B, type CellCoordinate as C, DEFAULT_COLUMN_WIDTH as D, type DataValidationResult as E, type DataValidationRule as F, type DataValidationSheet as G, type DataValidationType as H, DependencyGraph as I, type DependencyIndexStats as J, type EvaluationContext as K, FORMULA_ERRORS as L, type FilterOperator as M, type FilterRule as N, type FormulaDiagnostic as O, type FormulaErrorCode as P, type FormulaEvaluationResult as Q, FormulaEvaluator as R, SpreadsheetController as S, type FormulaNameDefinition as T, FormulaParser as U, type FormulaRange as V, type FormulaReferenceFilter as W, type FormulaReferenceInfo as X, type FormulaToken as Y, type FormulaTokenType as Z, type FunctionCallNode as _, type CellData as a, extractCellDependencies as a$, type GroupSummary as a0, IntervalIndex as a1, type InvokeNode as a2, type LiteralNode as a3, MAX_FORMULA_ARRAY_SIZE as a4, type MissingNode as a5, type NameDep as a6, type NameNode as a7, type NewConditionalFormatRule as a8, type NewDataValidationRule as a9, type SpreadsheetNameInfo as aA, type SpreadsheetNameScope as aB, type SpreadsheetRecalculationStats as aC, type SpreadsheetRow as aD, type SpreadsheetRowGroup as aE, type SpreadsheetRowSection as aF, type SpreadsheetSheetInfo as aG, type SpreadsheetSpill as aH, type SpreadsheetTableSettings as aI, type SpreadsheetValidationAction as aJ, type SpreadsheetValidationPrompt as aK, type SpreadsheetViewColumn as aL, type SpreadsheetViewModel as aM, type SpreadsheetViewRow as aN, type SpreadsheetWorkbook as aO, type StructuralChange as aP, type UnaryOpNode as aQ, WHOLE_COLUMN_END_ROW as aR, buildSpreadsheetView as aS, colNameToIndex as aT, columnDependencyKey as aU, compareNumbers as aV, compareValues as aW, computeRowGroups as aX, createSpreadsheetClipboardData as aY, deleteSheetInFormula as aZ, describeFormulaError as a_, type NewFilterRule as aa, type ParsedSpreadsheetClipboard as ab, type PropertyRefNode as ac, type RangeNode as ad, type RangeResolveOptions as ae, type ReferenceDep as af, type RowType as ag, SPREADSHEET_CLIPBOARD_MIME as ah, type SheetQualifier as ai, type SortDirection as aj, type SortKey as ak, type SpillRefNode as al, type SpreadsheetCellSpan as am, type SpreadsheetClipboardCell as an, type SpreadsheetClipboardData as ao, type SpreadsheetClipboardPayload as ap, type SpreadsheetClipboardSource as aq, type SpreadsheetColumn as ar, type SpreadsheetCommitResult as as, type SpreadsheetControllerOptions as at, type SpreadsheetDataSource as au, type SpreadsheetDataSourceField as av, type SpreadsheetDefinedName as aw, type SpreadsheetDocument as ax, type SpreadsheetFilterState as ay, type SpreadsheetGrouping as az, type CellDep as b, extractNameDependencies as b0, extractReferenceDependencies as b1, formatSheetPrefix as b2, formulaIdentifiers as b3, getRowSection as b4, getTableSections as b5, indexToColName as b6, isFormulaError as b7, mapFormulaReferences as b8, numberToText as b9, offsetFormulaReferences as ba, parseCellReference as bb, parseFormula as bc, parseHtmlTable as bd, parseRange as be, quoteSheetName as bf, rangeDependencyKey as bg, readSpreadsheetClipboard as bh, rebaseClipboardRows as bi, remapFormulaReferences as bj, renameNameInFormula as bk, renameSheetInFormula as bl, rowPassesFilters as bm, serializeHtmlTable as bn, sheetNameNeedsQuotes as bo, shiftFormulaReferences as bp, sortCompareValues as bq, tokenizeFormula as br, transposeFormulaReferences as bs, type CellFormat as c, type CellPosition as d, type CellRange as e, type CellRefNode as f, type CellValueReader as g, type ColumnBinding as h, type ColumnType as i, type ConditionalCellFormat as j, type ConditionalFormatCondition as k, type ConditionalFormatIconSet as l, type ConditionalFormatOperator as m, type ConditionalFormatOverlay as n, type ConditionalFormatRule as o, type ConditionalFormatSheet as p, type ConditionalFormatStyle as q, type ConditionalFormatTimePeriod as r, type ConditionalFormatType as s, type ConditionalFormatValue as t, type CsvExportOptions as u, type CsvImportOptions as v, DEFAULT_ROW_HEIGHT as w, DataSourceBinder as x, type DataValidationErrorStyle as y, type DataValidationOperator as z };
@@ -105,7 +105,7 @@
105
105
 
106
106
 
107
107
 
108
- var _chunkYOMYSFJUcjs = require('../chunk-YOMYSFJU.cjs');
108
+ var _chunkAGR7EVRWcjs = require('../chunk-AGR7EVRW.cjs');
109
109
  require('../chunk-CS6NZWWA.cjs');
110
110
 
111
111
 
@@ -116,7 +116,7 @@ require('../chunk-CS6NZWWA.cjs');
116
116
 
117
117
  var _chunk3CC7OPUQcjs = require('../chunk-3CC7OPUQ.cjs');
118
118
  require('../chunk-MKA3AHLV.cjs');
119
- require('../chunk-RRREAOVM.cjs');
119
+ require('../chunk-HNDSPZ5T.cjs');
120
120
 
121
121
 
122
122
 
@@ -139,8 +139,17 @@ require('../chunk-RRREAOVM.cjs');
139
139
 
140
140
 
141
141
 
142
- var _chunkHDYMLS3Xcjs = require('../chunk-HDYMLS3X.cjs');
143
- require('../chunk-NFVBT3UZ.cjs');
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+ var _chunkMC2LQN5Scjs = require('../chunk-MC2LQN5S.cjs');
152
+ require('../chunk-66IMF6OD.cjs');
144
153
  require('../chunk-BVP3TSLH.cjs');
145
154
 
146
155
 
@@ -332,5 +341,14 @@ var _chunkIFHKKVXHcjs = require('../chunk-IFHKKVXH.cjs');
332
341
 
333
342
 
334
343
 
335
- exports.Autocorrect = _chunkYOMYSFJUcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkIFHKKVXHcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkYOMYSFJUcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkYOMYSFJUcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkYOMYSFJUcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkYOMYSFJUcjs.CharacterStyle; exports.ColorHighlighter = _chunkYOMYSFJUcjs.ColorHighlighter; exports.CommentStore = _chunkIFHKKVXHcjs.CommentStore; exports.Comments = _chunkYOMYSFJUcjs.Comments; exports.CrossReference = _chunkYOMYSFJUcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkYOMYSFJUcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunk3CC7OPUQcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkHDYMLS3Xcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkHDYMLS3Xcjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunkIFHKKVXHcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkYOMYSFJUcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkYOMYSFJUcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkHDYMLS3Xcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkYOMYSFJUcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkYOMYSFJUcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkIFHKKVXHcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkYOMYSFJUcjs.FileImport; exports.FindReplace = _chunkYOMYSFJUcjs.FindReplace; exports.FindReplaceStore = _chunkYOMYSFJUcjs.FindReplaceStore; exports.FontSize = _chunkYOMYSFJUcjs.FontSize; exports.Footnote = _chunkYOMYSFJUcjs.Footnote; exports.FootnoteReference = _chunkYOMYSFJUcjs.FootnoteReference; exports.Footnotes = _chunkYOMYSFJUcjs.Footnotes; exports.GradientText = _chunkYOMYSFJUcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkIFHKKVXHcjs.INSERTION_MARK_NAME; exports.Image = _chunkYOMYSFJUcjs.Image; exports.LoadingNode = _chunkYOMYSFJUcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkYOMYSFJUcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_TABLE_COLUMNS = _chunkHDYMLS3Xcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkHDYMLS3Xcjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunkIFHKKVXHcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunkIFHKKVXHcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunkIFHKKVXHcjs.MOVE_TO_CLASS; exports.Markdown = _chunkYOMYSFJUcjs.Markdown; exports.Mention = _chunkYOMYSFJUcjs.Mention; exports.NORMAL_STYLE_ID = _chunk3CC7OPUQcjs.NORMAL_STYLE_ID; exports.Outline = _chunkYOMYSFJUcjs.Outline; exports.ParagraphStyles = _chunkYOMYSFJUcjs.ParagraphStyles; exports.RichClipboard = _chunkYOMYSFJUcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkYOMYSFJUcjs.SMILIE_REPLACEMENTS; exports.STYLE_ID_ATTRIBUTE = _chunkYOMYSFJUcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkYOMYSFJUcjs.SlashCommands; exports.SmilieReplacer = _chunkYOMYSFJUcjs.SmilieReplacer; exports.StyleRegistry = _chunk3CC7OPUQcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkHDYMLS3Xcjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunkIFHKKVXHcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkHDYMLS3Xcjs.Table; exports.TableCell = _chunkHDYMLS3Xcjs.TableCell; exports.TableHeader = _chunkHDYMLS3Xcjs.TableHeader; exports.TableOfContents = _chunkYOMYSFJUcjs.TableOfContents; exports.TableRow = _chunkHDYMLS3Xcjs.TableRow; exports.TemplateSuggestions = _chunkYOMYSFJUcjs.TemplateSuggestions; exports.TrackChanges = _chunkIFHKKVXHcjs.TrackChanges; exports.TrackChangesStore = _chunkIFHKKVXHcjs.TrackChangesStore; exports.TrackedDeletion = _chunkIFHKKVXHcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkIFHKKVXHcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkIFHKKVXHcjs.TrackedInsertion; exports.applyDocumentComparison = _chunkYOMYSFJUcjs.applyDocumentComparison; exports.applyReplacements = _chunkYOMYSFJUcjs.applyReplacements; exports.autocorrectPluginKey = _chunkYOMYSFJUcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkYOMYSFJUcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkYOMYSFJUcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkYOMYSFJUcjs.captureSelectionFormat; exports.commentsPluginKey = _chunkYOMYSFJUcjs.commentsPluginKey; exports.compareInEditor = _chunkYOMYSFJUcjs.compareInEditor; exports.compileFindPattern = _chunkYOMYSFJUcjs.compileFindPattern; exports.computeOutline = _chunkYOMYSFJUcjs.computeOutline; exports.createCommentStore = _chunkIFHKKVXHcjs.createCommentStore; exports.createFindReplaceCommands = _chunkYOMYSFJUcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkYOMYSFJUcjs.createMentionExtension; exports.createOutlineStore = _chunkYOMYSFJUcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkYOMYSFJUcjs.createParagraphStylesStore; exports.createReviewId = _chunkIFHKKVXHcjs.createReviewId; exports.createRichTextPreset = _chunkYOMYSFJUcjs.createRichTextPreset; exports.createSearchBudget = _chunkYOMYSFJUcjs.createSearchBudget; exports.createStyleRegistry = _chunk3CC7OPUQcjs.createStyleRegistry; exports.createTableCommands = _chunkYOMYSFJUcjs.createTableCommands; exports.createTableExtensions = _chunkHDYMLS3Xcjs.createTableExtensions; exports.createTableStore = _chunkHDYMLS3Xcjs.createTableStore; exports.crossReferencePluginKey = _chunkYOMYSFJUcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkYOMYSFJUcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkIFHKKVXHcjs.describeBlockChange; exports.describeFormatChange = _chunkIFHKKVXHcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkYOMYSFJUcjs.documentStructureCommandItems; exports.expandReplacement = _chunkYOMYSFJUcjs.expandReplacement; exports.fileImportPluginKey = _chunkYOMYSFJUcjs.fileImportPluginKey; exports.findAllMatches = _chunkYOMYSFJUcjs.findAllMatches; exports.findAutocorrection = _chunkYOMYSFJUcjs.findAutocorrection; exports.findCommentRanges = _chunkYOMYSFJUcjs.findCommentRanges; exports.findHexColors = _chunkYOMYSFJUcjs.findHexColors; exports.findReplacePluginKey = _chunkYOMYSFJUcjs.findReplacePluginKey; exports.foldCodePoint = _chunkYOMYSFJUcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkYOMYSFJUcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkYOMYSFJUcjs.footnotesPluginKey; exports.formatFindStatus = _chunkYOMYSFJUcjs.formatFindStatus; exports.formatReviewTime = _chunkIFHKKVXHcjs.formatReviewTime; exports.fractionRules = _chunkYOMYSFJUcjs.fractionRules; exports.getActiveHeading = _chunkYOMYSFJUcjs.getActiveHeading; exports.getBookmarks = _chunkYOMYSFJUcjs.getBookmarks; exports.getCommentAnchors = _chunkYOMYSFJUcjs.getCommentAnchors; exports.getCommentAuthor = _chunkYOMYSFJUcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkYOMYSFJUcjs.getCommentIdsAt; exports.getCommentStore = _chunkYOMYSFJUcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkYOMYSFJUcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkYOMYSFJUcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkYOMYSFJUcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkYOMYSFJUcjs.getFindReplaceStore; exports.getFootnotes = _chunkYOMYSFJUcjs.getFootnotes; exports.getMentionNodes = _chunkYOMYSFJUcjs.getMentionNodes; exports.getOutline = _chunkYOMYSFJUcjs.getOutline; exports.getParagraphStyleAt = _chunkYOMYSFJUcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkYOMYSFJUcjs.getStyleRegistry; exports.getTableActionState = _chunkHDYMLS3Xcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkYOMYSFJUcjs.getTableOfContentsEntries; exports.getTableState = _chunkHDYMLS3Xcjs.getTableState; exports.getTrackChangesStore = _chunkIFHKKVXHcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkIFHKKVXHcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkIFHKKVXHcjs.getTrackedChanges; exports.handleImageInsertion = _chunkYOMYSFJUcjs.handleImageInsertion; exports.imagePastePluginKey = _chunkYOMYSFJUcjs.imagePastePluginKey; exports.insertImageNode = _chunkYOMYSFJUcjs.insertImageNode; exports.isGfmTable = _chunkHDYMLS3Xcjs.isGfmTable; exports.isInsidePromptToken = _chunkYOMYSFJUcjs.isInsidePromptToken; exports.isMoveSized = _chunkIFHKKVXHcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkYOMYSFJUcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkHDYMLS3Xcjs.isSelectionInTable; exports.isTableEnabled = _chunkHDYMLS3Xcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunkIFHKKVXHcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunk3CC7OPUQcjs.isValidStyleId; exports.navigateToHeading = _chunkYOMYSFJUcjs.navigateToHeading; exports.normalizeTableCellAlignment = _chunkHDYMLS3Xcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkHDYMLS3Xcjs.normalizeTableCellColor; exports.outlinePluginKey = _chunkYOMYSFJUcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkYOMYSFJUcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkYOMYSFJUcjs.parseReplacement; exports.removeImageNode = _chunkYOMYSFJUcjs.removeImageNode; exports.resolveTrackedChanges = _chunkIFHKKVXHcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkYOMYSFJUcjs.richClipboardPluginKey; exports.runTableAction = _chunkHDYMLS3Xcjs.runTableAction; exports.safeCSSValue = _chunk3CC7OPUQcjs.safeCSSValue; exports.searchDocument = _chunkYOMYSFJUcjs.searchDocument; exports.setMentionRoleAt = _chunkYOMYSFJUcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkHDYMLS3Xcjs.shouldShowTableBubbleMenu; exports.smartQuoteRules = _chunkYOMYSFJUcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkYOMYSFJUcjs.smilieAutocorrectRules; exports.symbolRules = _chunkYOMYSFJUcjs.symbolRules; exports.syncFootnotes = _chunkYOMYSFJUcjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkYOMYSFJUcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkYOMYSFJUcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkIFHKKVXHcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkIFHKKVXHcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkYOMYSFJUcjs.twoInitialCapitalsRules; exports.updateImageSrc = _chunkYOMYSFJUcjs.updateImageSrc; exports.validateFindPattern = _chunkYOMYSFJUcjs.validateFindPattern; exports.writeRichClipboard = _chunkYOMYSFJUcjs.writeRichClipboard;
344
+
345
+
346
+
347
+
348
+
349
+
350
+
351
+
352
+
353
+ exports.ALLOW_NESTED_TABLES_META = _chunkMC2LQN5Scjs.ALLOW_NESTED_TABLES_META; exports.Autocorrect = _chunkAGR7EVRWcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkIFHKKVXHcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkAGR7EVRWcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkAGR7EVRWcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkAGR7EVRWcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkAGR7EVRWcjs.CharacterStyle; exports.ColorHighlighter = _chunkAGR7EVRWcjs.ColorHighlighter; exports.CommentStore = _chunkIFHKKVXHcjs.CommentStore; exports.Comments = _chunkAGR7EVRWcjs.Comments; exports.CrossReference = _chunkAGR7EVRWcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkAGR7EVRWcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_STYLES = _chunk3CC7OPUQcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkMC2LQN5Scjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkMC2LQN5Scjs.DEFAULT_TABLE_TOOLBAR; exports.DELETION_MARK_NAME = _chunkIFHKKVXHcjs.DELETION_MARK_NAME; exports.DocumentCompare = _chunkAGR7EVRWcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkAGR7EVRWcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkMC2LQN5Scjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkAGR7EVRWcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkAGR7EVRWcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkIFHKKVXHcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkAGR7EVRWcjs.FileImport; exports.FindReplace = _chunkAGR7EVRWcjs.FindReplace; exports.FindReplaceStore = _chunkAGR7EVRWcjs.FindReplaceStore; exports.FontSize = _chunkAGR7EVRWcjs.FontSize; exports.Footnote = _chunkAGR7EVRWcjs.Footnote; exports.FootnoteReference = _chunkAGR7EVRWcjs.FootnoteReference; exports.Footnotes = _chunkAGR7EVRWcjs.Footnotes; exports.GradientText = _chunkAGR7EVRWcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkIFHKKVXHcjs.INSERTION_MARK_NAME; exports.Image = _chunkAGR7EVRWcjs.Image; exports.LoadingNode = _chunkAGR7EVRWcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkAGR7EVRWcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_TABLE_COLUMNS = _chunkMC2LQN5Scjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkMC2LQN5Scjs.MAX_TABLE_ROWS; exports.MOVE_FROM_CLASS = _chunkIFHKKVXHcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunkIFHKKVXHcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunkIFHKKVXHcjs.MOVE_TO_CLASS; exports.Markdown = _chunkAGR7EVRWcjs.Markdown; exports.Mention = _chunkAGR7EVRWcjs.Mention; exports.NORMAL_STYLE_ID = _chunk3CC7OPUQcjs.NORMAL_STYLE_ID; exports.Outline = _chunkAGR7EVRWcjs.Outline; exports.ParagraphStyles = _chunkAGR7EVRWcjs.ParagraphStyles; exports.RichClipboard = _chunkAGR7EVRWcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkAGR7EVRWcjs.SMILIE_REPLACEMENTS; exports.STYLE_ID_ATTRIBUTE = _chunkAGR7EVRWcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkAGR7EVRWcjs.SlashCommands; exports.SmilieReplacer = _chunkAGR7EVRWcjs.SmilieReplacer; exports.StyleRegistry = _chunk3CC7OPUQcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkMC2LQN5Scjs.TABLE_ACTIONS; exports.TRACK_CHANGES_SKIP_META = _chunkIFHKKVXHcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkMC2LQN5Scjs.Table; exports.TableCell = _chunkMC2LQN5Scjs.TableCell; exports.TableHeader = _chunkMC2LQN5Scjs.TableHeader; exports.TableOfContents = _chunkAGR7EVRWcjs.TableOfContents; exports.TableRow = _chunkMC2LQN5Scjs.TableRow; exports.TemplateSuggestions = _chunkAGR7EVRWcjs.TemplateSuggestions; exports.TrackChanges = _chunkIFHKKVXHcjs.TrackChanges; exports.TrackChangesStore = _chunkIFHKKVXHcjs.TrackChangesStore; exports.TrackedDeletion = _chunkIFHKKVXHcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkIFHKKVXHcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkIFHKKVXHcjs.TrackedInsertion; exports.applyDocumentComparison = _chunkAGR7EVRWcjs.applyDocumentComparison; exports.applyReplacements = _chunkAGR7EVRWcjs.applyReplacements; exports.autocorrectPluginKey = _chunkAGR7EVRWcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkAGR7EVRWcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkAGR7EVRWcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkAGR7EVRWcjs.captureSelectionFormat; exports.commentsPluginKey = _chunkAGR7EVRWcjs.commentsPluginKey; exports.compareInEditor = _chunkAGR7EVRWcjs.compareInEditor; exports.compileFindPattern = _chunkAGR7EVRWcjs.compileFindPattern; exports.computeOutline = _chunkAGR7EVRWcjs.computeOutline; exports.createCommentStore = _chunkIFHKKVXHcjs.createCommentStore; exports.createFindReplaceCommands = _chunkAGR7EVRWcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkAGR7EVRWcjs.createMentionExtension; exports.createOutlineStore = _chunkAGR7EVRWcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkAGR7EVRWcjs.createParagraphStylesStore; exports.createReviewId = _chunkIFHKKVXHcjs.createReviewId; exports.createRichTextPreset = _chunkAGR7EVRWcjs.createRichTextPreset; exports.createSearchBudget = _chunkAGR7EVRWcjs.createSearchBudget; exports.createStyleRegistry = _chunk3CC7OPUQcjs.createStyleRegistry; exports.createTableCommands = _chunkAGR7EVRWcjs.createTableCommands; exports.createTableExtensions = _chunkMC2LQN5Scjs.createTableExtensions; exports.createTableNestingPlugin = _chunkMC2LQN5Scjs.createTableNestingPlugin; exports.createTableStore = _chunkMC2LQN5Scjs.createTableStore; exports.crossReferencePluginKey = _chunkAGR7EVRWcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkAGR7EVRWcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkIFHKKVXHcjs.describeBlockChange; exports.describeFormatChange = _chunkIFHKKVXHcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkAGR7EVRWcjs.documentStructureCommandItems; exports.expandReplacement = _chunkAGR7EVRWcjs.expandReplacement; exports.fileImportPluginKey = _chunkAGR7EVRWcjs.fileImportPluginKey; exports.findAllMatches = _chunkAGR7EVRWcjs.findAllMatches; exports.findAutocorrection = _chunkAGR7EVRWcjs.findAutocorrection; exports.findCommentRanges = _chunkAGR7EVRWcjs.findCommentRanges; exports.findHexColors = _chunkAGR7EVRWcjs.findHexColors; exports.findReplacePluginKey = _chunkAGR7EVRWcjs.findReplacePluginKey; exports.foldCodePoint = _chunkAGR7EVRWcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkAGR7EVRWcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkAGR7EVRWcjs.footnotesPluginKey; exports.formatFindStatus = _chunkAGR7EVRWcjs.formatFindStatus; exports.formatReviewTime = _chunkIFHKKVXHcjs.formatReviewTime; exports.fractionRules = _chunkAGR7EVRWcjs.fractionRules; exports.getActiveHeading = _chunkAGR7EVRWcjs.getActiveHeading; exports.getBookmarks = _chunkAGR7EVRWcjs.getBookmarks; exports.getCommentAnchors = _chunkAGR7EVRWcjs.getCommentAnchors; exports.getCommentAuthor = _chunkAGR7EVRWcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkAGR7EVRWcjs.getCommentIdsAt; exports.getCommentStore = _chunkAGR7EVRWcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkAGR7EVRWcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkAGR7EVRWcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkAGR7EVRWcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkAGR7EVRWcjs.getFindReplaceStore; exports.getFootnotes = _chunkAGR7EVRWcjs.getFootnotes; exports.getMentionNodes = _chunkAGR7EVRWcjs.getMentionNodes; exports.getOutline = _chunkAGR7EVRWcjs.getOutline; exports.getParagraphStyleAt = _chunkAGR7EVRWcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkAGR7EVRWcjs.getStyleRegistry; exports.getTableActionState = _chunkMC2LQN5Scjs.getTableActionState; exports.getTableOfContentsEntries = _chunkAGR7EVRWcjs.getTableOfContentsEntries; exports.getTableState = _chunkMC2LQN5Scjs.getTableState; exports.getTrackChangesStore = _chunkIFHKKVXHcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkIFHKKVXHcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkIFHKKVXHcjs.getTrackedChanges; exports.handleImageInsertion = _chunkAGR7EVRWcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkMC2LQN5Scjs.handleTablePasteWithoutNesting; exports.imagePastePluginKey = _chunkAGR7EVRWcjs.imagePastePluginKey; exports.insertImageNode = _chunkAGR7EVRWcjs.insertImageNode; exports.insertSliceAfterTable = _chunkMC2LQN5Scjs.insertSliceAfterTable; exports.isGfmTable = _chunkMC2LQN5Scjs.isGfmTable; exports.isInTableCell = _chunkMC2LQN5Scjs.isInTableCell; exports.isInsidePromptToken = _chunkAGR7EVRWcjs.isInsidePromptToken; exports.isMoveSized = _chunkIFHKKVXHcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkAGR7EVRWcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkMC2LQN5Scjs.isSelectionInTable; exports.isTableEnabled = _chunkMC2LQN5Scjs.isTableEnabled; exports.isTrackChangesEnabled = _chunkIFHKKVXHcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunk3CC7OPUQcjs.isValidStyleId; exports.navigateToHeading = _chunkAGR7EVRWcjs.navigateToHeading; exports.normalizeTableCellAlignment = _chunkMC2LQN5Scjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkMC2LQN5Scjs.normalizeTableCellColor; exports.outermostTableDepth = _chunkMC2LQN5Scjs.outermostTableDepth; exports.outlinePluginKey = _chunkAGR7EVRWcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkAGR7EVRWcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkAGR7EVRWcjs.parseReplacement; exports.removeImageNode = _chunkAGR7EVRWcjs.removeImageNode; exports.resolveTrackedChanges = _chunkIFHKKVXHcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkAGR7EVRWcjs.richClipboardPluginKey; exports.runTableAction = _chunkMC2LQN5Scjs.runTableAction; exports.safeCSSValue = _chunk3CC7OPUQcjs.safeCSSValue; exports.searchDocument = _chunkAGR7EVRWcjs.searchDocument; exports.setMentionRoleAt = _chunkAGR7EVRWcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkMC2LQN5Scjs.shouldShowTableBubbleMenu; exports.sliceContainsTable = _chunkMC2LQN5Scjs.sliceContainsTable; exports.smartQuoteRules = _chunkAGR7EVRWcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkAGR7EVRWcjs.smilieAutocorrectRules; exports.symbolRules = _chunkAGR7EVRWcjs.symbolRules; exports.syncFootnotes = _chunkAGR7EVRWcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkMC2LQN5Scjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkAGR7EVRWcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkAGR7EVRWcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkIFHKKVXHcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkIFHKKVXHcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkAGR7EVRWcjs.twoInitialCapitalsRules; exports.unnestTables = _chunkMC2LQN5Scjs.unnestTables; exports.updateImageSrc = _chunkAGR7EVRWcjs.updateImageSrc; exports.validateFindPattern = _chunkAGR7EVRWcjs.validateFindPattern; exports.writeRichClipboard = _chunkAGR7EVRWcjs.writeRichClipboard;
336
354
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,uoUAAC","file":"/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B,iCAA8B;AAC9B,iCAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,0wVAAC","file":"/home/runner/work/editor/editor/packages/core/dist/extensions/index.cjs"}
@@ -1,4 +1,4 @@
1
- export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as CharacterStyle, p as ColorHighlighter, q as CommentRange, r as Comments, s as CommentsOptions, t as CommentsStorage, u as CompileFindPatternResult, v as CompiledFindPattern, x as CreateStyleFromSelectionOptions, y as CrossReference, z as CrossReferenceOptions, E as CrossReferenceTarget, F as CrossReferenceTargetType, G as DEFAULT_AUTOCORRECT_EXCEPTIONS, H as DEFAULT_TABLE_OPTIONS, I as DEFAULT_TABLE_TOOLBAR, J as DocumentCompare, K as DocumentCompareOptions, L as DocumentCompareStorage, M as DocumentSearchOptions, N as DocumentSearchResult, O as DocumentStructureCommandArgs, Q as DocumentStructureCommandItem, R as EMPTY_FIND_REPLACE_SNAPSHOT, S as EMPTY_TABLE_STATE, T as EditorCompareOptions, U as FIND_OPTION_TOGGLES, V as FIND_PARAGRAPH_MARK, W as FileImport, X as FileImportOptions, Y as FindAllOptions, Z as FindAllResult, _ as FindMatch, $ as FindOptionToggle, a0 as FindOptions, a1 as FindPatternError, a2 as FindPatternErrorCode, a3 as FindReplace, a4 as FindReplaceCommandOptions, a5 as FindReplaceMode, a6 as FindReplaceOptions, a7 as FindReplaceSnapshot, a8 as FindReplaceStorage, a9 as FindReplaceStore, aa as FocusHeadingOptions, ab as FontSize, ac as Footnote, ad as FootnoteInfo, ae as FootnoteReference, af as Footnotes, ag as FootnotesOptions, ah as GradientText, ai as GradientTextOptions, aj as Image, ak as ImageOptions, an as InsertFootnoteOptions, ao as InsertTableOfContentsOptions, ap as LoadingNode, aq as MAX_FIND_PATTERN_LENGTH, ar as MAX_TABLE_COLUMNS, as as MAX_TABLE_ROWS, at as Markdown, au as OpenFindReplaceParams, av as Outline, aw as OutlineHeading, ax as OutlineOptions, ay as OutlineSnapshot, az as OutlineStorage, aA as OutlineStore, aB as OutlineTreeItem, aC as ParagraphStyles, aD as ParagraphStylesOptions, aE as ParagraphStylesSnapshot, aF as ParagraphStylesStorage, aG as ParagraphStylesStore, aH as PatternMatch, aM as ReplacePiece, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as RichTextTableOptions, aT as RunTableActionOptions, aU as SMILIE_REPLACEMENTS, aV as STYLE_ID_ATTRIBUTE, aW as SearchBudget, aX as SearchBudgetOptions, aY as SetBookmarkOptions, aZ as SetSearchParams, a_ as SlashCommandMatchData, a$ as SlashCommands, b0 as SlashCommandsOptions, b1 as SmilieReplacer, b2 as TABLE_ACTIONS, b3 as Table, b4 as TableAction, b5 as TableActionInfo, b6 as TableActionParams, b7 as TableActionStatus, b8 as TableCell, b9 as TableCellAlignment, ba as TableCommandOptions, bb as TableHeader, bc as TableOfContents, bd as TableOfContentsEntry, be as TableOfContentsOptions, bf as TableRow, bg as TableState, bh as TableStore, bi as TableToolbarItem, bj as TemplateSuggestions, bk as TemplateSuggestionsOptions, bm as applyDocumentComparison, bn as applyReplacements, bo as autocorrectPluginKey, bp as buildOutlineTree, bq as capitalizeSentenceRules, br as captureSelectionFormat, bs as commentsPluginKey, bt as compareInEditor, bu as compileFindPattern, bv as computeOutline, bw as createFindReplaceCommands, by as createOutlineStore, bz as createParagraphStylesStore, bA as createRichTextPreset, bB as createSearchBudget, bC as createTableCommands, bD as createTableExtensions, bE as createTableStore, bF as crossReferencePluginKey, bG as defaultAutocorrectRules, bI as documentStructureCommandItems, bJ as expandReplacement, bK as fileImportPluginKey, bL as findAllMatches, bM as findAutocorrection, bN as findCommentRanges, bO as findHexColors, bQ as findReplacePluginKey, bR as foldCodePoint, bS as footnotesMarkdownIt, bT as footnotesPluginKey, bU as formatFindStatus, bV as fractionRules, bW as getActiveHeading, bX as getBookmarks, bY as getCommentAnchors, bZ as getCommentAuthor, b_ as getCommentIdsAt, b$ as getCommentStore, c0 as getCrossReferenceTargets, c1 as getDocumentStructureCommandItems, c2 as getFindReplaceState, c3 as getFindReplaceStore, c4 as getFootnotes, c6 as getOutline, c7 as getParagraphStyleAt, c8 as getStyleRegistry, c9 as getTableActionState, ca as getTableOfContentsEntries, cb as getTableState, cc as handleImageInsertion, ce as imagePastePluginKey, cg as insertImageNode, ch as isGfmTable, ci as isInsidePromptToken, cj as isParagraphStyleAvailable, ck as isSelectionInTable, cl as isTableEnabled, cn as navigateToHeading, co as normalizeTableCellAlignment, cp as normalizeTableCellColor, cq as outlinePluginKey, cr as paragraphStylesPluginKey, cs as parseReplacement, cw as removeImageNode, cx as richClipboardPluginKey, cz as runTableAction, cA as searchDocument, cB as shouldShowTableBubbleMenu, cC as smartQuoteRules, cD as smilieAutocorrectRules, cE as symbolRules, cF as syncFootnotes, cG as tableOfContentsMarkdownIt, cH as tableOfContentsPluginKey, cI as twoInitialCapitalsRules, cK as updateImageSrc, cL as validateFindPattern, cM as writeRichClipboard } from '../index-jcJwmBYt.cjs';
1
+ 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, 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, 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, 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, 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, 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, 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, bK as documentStructureCommandItems, bL as expandReplacement, bM as fileImportPluginKey, bN as findAllMatches, bO as findAutocorrection, bP as findCommentRanges, bQ as findHexColors, 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, c8 as getOutline, c9 as getParagraphStyleAt, ca as getStyleRegistry, cb as getTableActionState, cc as getTableOfContentsEntries, cd as getTableState, ce as handleImageInsertion, cf as handleTablePasteWithoutNesting, ch as imagePastePluginKey, cj as insertImageNode, ck as insertSliceAfterTable, cl as isGfmTable, cm as isInTableCell, cn as isInsidePromptToken, co as isParagraphStyleAvailable, cp as isSelectionInTable, cq as isTableEnabled, cs as navigateToHeading, ct as normalizeTableCellAlignment, cu as normalizeTableCellColor, cv as outermostTableDepth, cw as outlinePluginKey, cx as paragraphStylesPluginKey, cy as parseReplacement, cC as removeImageNode, cD as richClipboardPluginKey, 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, cT as updateImageSrc, cU as validateFindPattern, cV as writeRichClipboard } from '../index-C6gaQRH0.cjs';
2
2
  export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from '../track-changes-D_VAPELi.cjs';
3
3
  export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from '../comment-store-BEMgVlAA.cjs';
4
4
  export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from '../registry-CED5C0lA.cjs';
@@ -1,4 +1,4 @@
1
- export { A as AddCommentOptions, e as Autocorrect, f as AutocorrectContext, g as AutocorrectCorrection, h as AutocorrectOptions, i as AutocorrectRule, j as AutocorrectStorage, k as Bookmark, l as BookmarkInfo, m as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, n as COMMENT_MARK_NAME, o as CharacterStyle, p as ColorHighlighter, q as CommentRange, r as Comments, s as CommentsOptions, t as CommentsStorage, u as CompileFindPatternResult, v as CompiledFindPattern, x as CreateStyleFromSelectionOptions, y as CrossReference, z as CrossReferenceOptions, E as CrossReferenceTarget, F as CrossReferenceTargetType, G as DEFAULT_AUTOCORRECT_EXCEPTIONS, H as DEFAULT_TABLE_OPTIONS, I as DEFAULT_TABLE_TOOLBAR, J as DocumentCompare, K as DocumentCompareOptions, L as DocumentCompareStorage, M as DocumentSearchOptions, N as DocumentSearchResult, O as DocumentStructureCommandArgs, Q as DocumentStructureCommandItem, R as EMPTY_FIND_REPLACE_SNAPSHOT, S as EMPTY_TABLE_STATE, T as EditorCompareOptions, U as FIND_OPTION_TOGGLES, V as FIND_PARAGRAPH_MARK, W as FileImport, X as FileImportOptions, Y as FindAllOptions, Z as FindAllResult, _ as FindMatch, $ as FindOptionToggle, a0 as FindOptions, a1 as FindPatternError, a2 as FindPatternErrorCode, a3 as FindReplace, a4 as FindReplaceCommandOptions, a5 as FindReplaceMode, a6 as FindReplaceOptions, a7 as FindReplaceSnapshot, a8 as FindReplaceStorage, a9 as FindReplaceStore, aa as FocusHeadingOptions, ab as FontSize, ac as Footnote, ad as FootnoteInfo, ae as FootnoteReference, af as Footnotes, ag as FootnotesOptions, ah as GradientText, ai as GradientTextOptions, aj as Image, ak as ImageOptions, an as InsertFootnoteOptions, ao as InsertTableOfContentsOptions, ap as LoadingNode, aq as MAX_FIND_PATTERN_LENGTH, ar as MAX_TABLE_COLUMNS, as as MAX_TABLE_ROWS, at as Markdown, au as OpenFindReplaceParams, av as Outline, aw as OutlineHeading, ax as OutlineOptions, ay as OutlineSnapshot, az as OutlineStorage, aA as OutlineStore, aB as OutlineTreeItem, aC as ParagraphStyles, aD as ParagraphStylesOptions, aE as ParagraphStylesSnapshot, aF as ParagraphStylesStorage, aG as ParagraphStylesStore, aH as PatternMatch, aM as ReplacePiece, aN as RichClipboard, aO as RichClipboardOptions, aP as RichClipboardStorage, aQ as RichTextPresetCommandPackages, aR as RichTextPresetOptions, aS as RichTextTableOptions, aT as RunTableActionOptions, aU as SMILIE_REPLACEMENTS, aV as STYLE_ID_ATTRIBUTE, aW as SearchBudget, aX as SearchBudgetOptions, aY as SetBookmarkOptions, aZ as SetSearchParams, a_ as SlashCommandMatchData, a$ as SlashCommands, b0 as SlashCommandsOptions, b1 as SmilieReplacer, b2 as TABLE_ACTIONS, b3 as Table, b4 as TableAction, b5 as TableActionInfo, b6 as TableActionParams, b7 as TableActionStatus, b8 as TableCell, b9 as TableCellAlignment, ba as TableCommandOptions, bb as TableHeader, bc as TableOfContents, bd as TableOfContentsEntry, be as TableOfContentsOptions, bf as TableRow, bg as TableState, bh as TableStore, bi as TableToolbarItem, bj as TemplateSuggestions, bk as TemplateSuggestionsOptions, bm as applyDocumentComparison, bn as applyReplacements, bo as autocorrectPluginKey, bp as buildOutlineTree, bq as capitalizeSentenceRules, br as captureSelectionFormat, bs as commentsPluginKey, bt as compareInEditor, bu as compileFindPattern, bv as computeOutline, bw as createFindReplaceCommands, by as createOutlineStore, bz as createParagraphStylesStore, bA as createRichTextPreset, bB as createSearchBudget, bC as createTableCommands, bD as createTableExtensions, bE as createTableStore, bF as crossReferencePluginKey, bG as defaultAutocorrectRules, bI as documentStructureCommandItems, bJ as expandReplacement, bK as fileImportPluginKey, bL as findAllMatches, bM as findAutocorrection, bN as findCommentRanges, bO as findHexColors, bQ as findReplacePluginKey, bR as foldCodePoint, bS as footnotesMarkdownIt, bT as footnotesPluginKey, bU as formatFindStatus, bV as fractionRules, bW as getActiveHeading, bX as getBookmarks, bY as getCommentAnchors, bZ as getCommentAuthor, b_ as getCommentIdsAt, b$ as getCommentStore, c0 as getCrossReferenceTargets, c1 as getDocumentStructureCommandItems, c2 as getFindReplaceState, c3 as getFindReplaceStore, c4 as getFootnotes, c6 as getOutline, c7 as getParagraphStyleAt, c8 as getStyleRegistry, c9 as getTableActionState, ca as getTableOfContentsEntries, cb as getTableState, cc as handleImageInsertion, ce as imagePastePluginKey, cg as insertImageNode, ch as isGfmTable, ci as isInsidePromptToken, cj as isParagraphStyleAvailable, ck as isSelectionInTable, cl as isTableEnabled, cn as navigateToHeading, co as normalizeTableCellAlignment, cp as normalizeTableCellColor, cq as outlinePluginKey, cr as paragraphStylesPluginKey, cs as parseReplacement, cw as removeImageNode, cx as richClipboardPluginKey, cz as runTableAction, cA as searchDocument, cB as shouldShowTableBubbleMenu, cC as smartQuoteRules, cD as smilieAutocorrectRules, cE as symbolRules, cF as syncFootnotes, cG as tableOfContentsMarkdownIt, cH as tableOfContentsPluginKey, cI as twoInitialCapitalsRules, cK as updateImageSrc, cL as validateFindPattern, cM as writeRichClipboard } from '../index-B273Zllk.js';
1
+ 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, 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, 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, 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, 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, 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, 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, bK as documentStructureCommandItems, bL as expandReplacement, bM as fileImportPluginKey, bN as findAllMatches, bO as findAutocorrection, bP as findCommentRanges, bQ as findHexColors, 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, c8 as getOutline, c9 as getParagraphStyleAt, ca as getStyleRegistry, cb as getTableActionState, cc as getTableOfContentsEntries, cd as getTableState, ce as handleImageInsertion, cf as handleTablePasteWithoutNesting, ch as imagePastePluginKey, cj as insertImageNode, ck as insertSliceAfterTable, cl as isGfmTable, cm as isInTableCell, cn as isInsidePromptToken, co as isParagraphStyleAvailable, cp as isSelectionInTable, cq as isTableEnabled, cs as navigateToHeading, ct as normalizeTableCellAlignment, cu as normalizeTableCellColor, cv as outermostTableDepth, cw as outlinePluginKey, cx as paragraphStylesPluginKey, cy as parseReplacement, cC as removeImageNode, cD as richClipboardPluginKey, 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, cT as updateImageSrc, cU as validateFindPattern, cV as writeRichClipboard } from '../index-DXAv_R08.js';
2
2
  export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from '../track-changes-Db_fGEvx.js';
3
3
  export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from '../comment-store-BEMgVlAA.js';
4
4
  export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from '../registry-CED5C0lA.js';
@@ -105,7 +105,7 @@ import {
105
105
  updateImageSrc,
106
106
  validateFindPattern,
107
107
  writeRichClipboard
108
- } from "../chunk-Q2OHWD2A.js";
108
+ } from "../chunk-6IO7WUSU.js";
109
109
  import "../chunk-QJSOZFCZ.js";
110
110
  import {
111
111
  DEFAULT_STYLES,
@@ -116,8 +116,9 @@ import {
116
116
  safeCSSValue
117
117
  } from "../chunk-MR2764X2.js";
118
118
  import "../chunk-P6ODPZ4W.js";
119
- import "../chunk-MHEPLBFB.js";
119
+ import "../chunk-WON34HKM.js";
120
120
  import {
121
+ ALLOW_NESTED_TABLES_META,
121
122
  DEFAULT_TABLE_OPTIONS,
122
123
  DEFAULT_TABLE_TOOLBAR,
123
124
  EMPTY_TABLE_STATE,
@@ -129,18 +130,26 @@ import {
129
130
  TableHeader,
130
131
  TableRow,
131
132
  createTableExtensions,
133
+ createTableNestingPlugin,
132
134
  createTableStore,
133
135
  getTableActionState,
134
136
  getTableState,
137
+ handleTablePasteWithoutNesting,
138
+ insertSliceAfterTable,
135
139
  isGfmTable,
140
+ isInTableCell,
136
141
  isSelectionInTable,
137
142
  isTableEnabled,
138
143
  normalizeTableCellAlignment,
139
144
  normalizeTableCellColor,
145
+ outermostTableDepth,
140
146
  runTableAction,
141
- shouldShowTableBubbleMenu
142
- } from "../chunk-UBCFIABU.js";
143
- import "../chunk-JOIREKL7.js";
147
+ shouldShowTableBubbleMenu,
148
+ sliceContainsTable,
149
+ tableNestingPluginKey,
150
+ unnestTables
151
+ } from "../chunk-5H2OPMXZ.js";
152
+ import "../chunk-UKI64KUD.js";
144
153
  import "../chunk-O5RYH2PG.js";
145
154
  import {
146
155
  BLOCK_CHANGE_ATTRIBUTE,
@@ -172,6 +181,7 @@ import {
172
181
  trackedChangeLabel
173
182
  } from "../chunk-SWE3NPOU.js";
174
183
  export {
184
+ ALLOW_NESTED_TABLES_META,
175
185
  Autocorrect,
176
186
  BLOCK_CHANGE_ATTRIBUTE,
177
187
  Bookmark,
@@ -255,6 +265,7 @@ export {
255
265
  createStyleRegistry,
256
266
  createTableCommands,
257
267
  createTableExtensions,
268
+ createTableNestingPlugin,
258
269
  createTableStore,
259
270
  crossReferencePluginKey,
260
271
  defaultAutocorrectRules,
@@ -296,9 +307,12 @@ export {
296
307
  getTrackedChangeAt,
297
308
  getTrackedChanges,
298
309
  handleImageInsertion,
310
+ handleTablePasteWithoutNesting,
299
311
  imagePastePluginKey,
300
312
  insertImageNode,
313
+ insertSliceAfterTable,
301
314
  isGfmTable,
315
+ isInTableCell,
302
316
  isInsidePromptToken,
303
317
  isMoveSized,
304
318
  isParagraphStyleAvailable,
@@ -309,6 +323,7 @@ export {
309
323
  navigateToHeading,
310
324
  normalizeTableCellAlignment,
311
325
  normalizeTableCellColor,
326
+ outermostTableDepth,
312
327
  outlinePluginKey,
313
328
  paragraphStylesPluginKey,
314
329
  parseReplacement,
@@ -320,15 +335,18 @@ export {
320
335
  searchDocument,
321
336
  setMentionRoleAt,
322
337
  shouldShowTableBubbleMenu,
338
+ sliceContainsTable,
323
339
  smartQuoteRules,
324
340
  smilieAutocorrectRules,
325
341
  symbolRules,
326
342
  syncFootnotes,
343
+ tableNestingPluginKey,
327
344
  tableOfContentsMarkdownIt,
328
345
  tableOfContentsPluginKey,
329
346
  trackChangesPluginKey,
330
347
  trackedChangeLabel,
331
348
  twoInitialCapitalsRules,
349
+ unnestTables,
332
350
  updateImageSrc,
333
351
  validateFindPattern,
334
352
  writeRichClipboard
@@ -1,8 +1,8 @@
1
1
  import { Mark, Extension, Node, Editor, Extensions } from '@tiptap/core';
2
2
  import { C as ColorGradient, T as Template } from './tokens-D7yXvUU6.cjs';
3
- import { EditorState, PluginKey, Transaction } from '@tiptap/pm/state';
3
+ import { EditorState, PluginKey, Transaction, Plugin } from '@tiptap/pm/state';
4
4
  import { DecorationSet, EditorView } from '@tiptap/pm/view';
5
- import { Node as Node$1 } from '@tiptap/pm/model';
5
+ import { Node as Node$1, Slice, ResolvedPos, Fragment } from '@tiptap/pm/model';
6
6
  import * as _tiptap_extension_table_cell from '@tiptap/extension-table-cell';
7
7
  import * as _tiptap_extension_table_header from '@tiptap/extension-table-header';
8
8
  import * as _tiptap_extension_table_row from '@tiptap/extension-table-row';
@@ -1469,7 +1469,11 @@ interface RichTextTableOptions {
1469
1469
  rowHTMLAttributes: Record<string, any>;
1470
1470
  }
1471
1471
  declare const DEFAULT_TABLE_OPTIONS: RichTextTableOptions;
1472
- /** TipTap's `Table` with the GFM-aware markdown serializer. */
1472
+ /**
1473
+ * TipTap's `Table` with the GFM-aware markdown serializer and the nesting
1474
+ * guard (`createTableNestingPlugin`): tables are never pasted, imported or
1475
+ * inserted into table cells.
1476
+ */
1473
1477
  declare const Table: any;
1474
1478
  declare const TableRow: any;
1475
1479
  /** TipTap's `TableCell` plus `align` and `backgroundColor` attributes. */
@@ -1755,4 +1759,49 @@ interface TableCommandOptions {
1755
1759
  */
1756
1760
  declare function createTableCommands(editor: Editor, options?: TableCommandOptions): CommandSpec[];
1757
1761
 
1758
- export { type FindOptionToggle as $, type AddCommentOptions as A, BUILT_IN_IMPORT_ADAPTERS as B, CHARACTER_STYLE_MARK_NAME as C, type DocumentImport as D, type CrossReferenceTarget as E, type CrossReferenceTargetType as F, DEFAULT_AUTOCORRECT_EXCEPTIONS as G, DEFAULT_TABLE_OPTIONS as H, DEFAULT_TABLE_TOOLBAR as I, DocumentCompare as J, type DocumentCompareOptions as K, type DocumentCompareStorage as L, type DocumentSearchOptions as M, type DocumentSearchResult as N, type DocumentStructureCommandArgs as O, type PdfStructureReport as P, type DocumentStructureCommandItem as Q, EMPTY_FIND_REPLACE_SNAPSHOT as R, EMPTY_TABLE_STATE as S, type EditorCompareOptions as T, FIND_OPTION_TOGGLES as U, FIND_PARAGRAPH_MARK as V, FileImport as W, type FileImportOptions as X, type FindAllOptions as Y, type FindAllResult as Z, type FindMatch as _, type DocumentImportAdapter as a, SlashCommands as a$, type FindOptions as a0, type FindPatternError as a1, type FindPatternErrorCode as a2, FindReplace as a3, type FindReplaceCommandOptions as a4, type FindReplaceMode as a5, type FindReplaceOptions as a6, type FindReplaceSnapshot as a7, type FindReplaceStorage as a8, FindReplaceStore as a9, type OutlineStore as aA, type OutlineTreeItem as aB, ParagraphStyles as aC, type ParagraphStylesOptions as aD, type ParagraphStylesSnapshot as aE, type ParagraphStylesStorage as aF, type ParagraphStylesStore as aG, type PatternMatch as aH, type PdfLayoutBlock as aI, type PdfLayoutPage as aJ, type PdfLayoutResult as aK, type PdfTableCell as aL, type ReplacePiece as aM, RichClipboard as aN, type RichClipboardOptions as aO, type RichClipboardStorage as aP, type RichTextPresetCommandPackages as aQ, type RichTextPresetOptions as aR, type RichTextTableOptions as aS, type RunTableActionOptions as aT, SMILIE_REPLACEMENTS as aU, STYLE_ID_ATTRIBUTE as aV, type SearchBudget as aW, type SearchBudgetOptions as aX, type SetBookmarkOptions as aY, type SetSearchParams as aZ, type SlashCommandMatchData as a_, type FocusHeadingOptions as aa, FontSize as ab, Footnote as ac, type FootnoteInfo as ad, FootnoteReference as ae, Footnotes as af, type FootnotesOptions as ag, GradientText as ah, type GradientTextOptions as ai, Image as aj, type ImageOptions as ak, type ImportStructureItem as al, type ImportStructureReport as am, type InsertFootnoteOptions as an, type InsertTableOfContentsOptions as ao, LoadingNode as ap, MAX_FIND_PATTERN_LENGTH as aq, MAX_TABLE_COLUMNS as ar, MAX_TABLE_ROWS as as, Markdown as at, type OpenFindReplaceParams as au, Outline as av, type OutlineHeading as aw, type OutlineOptions as ax, type OutlineSnapshot as ay, type OutlineStorage as az, type PdfLayoutOptions as b, getCommentStore as b$, type SlashCommandsOptions as b0, SmilieReplacer as b1, TABLE_ACTIONS as b2, Table as b3, type TableAction as b4, type TableActionInfo as b5, type TableActionParams as b6, type TableActionStatus as b7, TableCell as b8, type TableCellAlignment as b9, createRichTextPreset as bA, createSearchBudget as bB, createTableCommands as bC, createTableExtensions as bD, createTableStore as bE, crossReferencePluginKey as bF, defaultAutocorrectRules as bG, defaultImportRegistry as bH, documentStructureCommandItems as bI, expandReplacement as bJ, fileImportPluginKey as bK, findAllMatches as bL, findAutocorrection as bM, findCommentRanges as bN, findHexColors as bO, findImportAdapter as bP, findReplacePluginKey as bQ, foldCodePoint as bR, footnotesMarkdownIt as bS, footnotesPluginKey as bT, formatFindStatus as bU, fractionRules as bV, getActiveHeading as bW, getBookmarks as bX, getCommentAnchors as bY, getCommentAuthor as bZ, getCommentIdsAt as b_, type TableCommandOptions as ba, TableHeader as bb, TableOfContents as bc, type TableOfContentsEntry as bd, type TableOfContentsOptions as be, TableRow as bf, type TableState as bg, type TableStore as bh, type TableToolbarItem as bi, TemplateSuggestions as bj, type TemplateSuggestionsOptions as bk, analyzePdfLayout as bl, applyDocumentComparison as bm, applyReplacements as bn, autocorrectPluginKey as bo, buildOutlineTree as bp, capitalizeSentenceRules as bq, captureSelectionFormat as br, commentsPluginKey as bs, compareInEditor as bt, compileFindPattern as bu, computeOutline as bv, createFindReplaceCommands as bw, createImportAdapterRegistry as bx, createOutlineStore as by, createParagraphStylesStore as bz, type PdfRuleLine as c, getCrossReferenceTargets as c0, getDocumentStructureCommandItems as c1, getFindReplaceState as c2, getFindReplaceStore as c3, getFootnotes as c4, getImportAccept as c5, getOutline as c6, getParagraphStyleAt as c7, getStyleRegistry as c8, getTableActionState as c9, searchDocument as cA, shouldShowTableBubbleMenu as cB, smartQuoteRules as cC, smilieAutocorrectRules as cD, symbolRules as cE, syncFootnotes as cF, tableOfContentsMarkdownIt as cG, tableOfContentsPluginKey as cH, twoInitialCapitalsRules as cI, unregisterImportAdapter as cJ, updateImageSrc as cK, validateFindPattern as cL, writeRichClipboard as cM, getTableOfContentsEntries as ca, getTableState as cb, handleImageInsertion as cc, htmlImportAdapter as cd, imagePastePluginKey as ce, importFile as cf, insertImageNode as cg, isGfmTable as ch, isInsidePromptToken as ci, isParagraphStyleAvailable as cj, isSelectionInTable as ck, isTableEnabled as cl, markdownImportAdapter as cm, navigateToHeading as cn, normalizeTableCellAlignment as co, normalizeTableCellColor as cp, outlinePluginKey as cq, paragraphStylesPluginKey as cr, parseReplacement as cs, pdfLayoutBlocksToHtml as ct, plainTextImportAdapter as cu, registerImportAdapter as cv, removeImageNode as cw, richClipboardPluginKey as cx, rtfImportAdapter as cy, runTableAction as cz, type PdfTextRun as d, Autocorrect as e, type AutocorrectContext as f, type AutocorrectCorrection as g, type AutocorrectOptions as h, type AutocorrectRule as i, type AutocorrectStorage as j, Bookmark as k, type BookmarkInfo as l, type BookmarkOptions as m, COMMENT_MARK_NAME as n, CharacterStyle as o, ColorHighlighter as p, type CommentRange as q, Comments as r, type CommentsOptions as s, type CommentsStorage as t, type CompileFindPatternResult as u, type CompiledFindPattern as v, type CreateImportAdapterRegistryOptions as w, type CreateStyleFromSelectionOptions as x, CrossReference as y, type CrossReferenceOptions as z };
1762
+ /**
1763
+ * Set this meta on a transaction to let it create tables inside table cells
1764
+ * (the nesting guard leaves it alone), e.g. when loading legacy content
1765
+ * through a transaction that does not replace the whole document.
1766
+ */
1767
+ declare const ALLOW_NESTED_TABLES_META = "allowNestedTables";
1768
+ declare const tableNestingPluginKey: PluginKey<any>;
1769
+ /** Depth of the outermost table around `$pos`, or `-1` outside tables. */
1770
+ declare function outermostTableDepth($pos: ResolvedPos): number;
1771
+ /** Whether `$pos` lies inside a table cell or header cell. */
1772
+ declare function isInTableCell($pos: ResolvedPos): boolean;
1773
+ /** Whether a slice or fragment contains a table node at any depth. */
1774
+ declare function sliceContainsTable(content: Slice | Fragment): boolean;
1775
+ /**
1776
+ * Inserts `slice` right after the outermost table around `from` instead of
1777
+ * inside the cell, deleting `from`–`to` first when both lie in that table.
1778
+ * Returns the position right after the inserted content, or `null` (and
1779
+ * leaves `tr` unchanged) when `from` is not in a table.
1780
+ */
1781
+ declare function insertSliceAfterTable(tr: Transaction, from: number, to: number, slice: Slice): number | null;
1782
+ /**
1783
+ * Paste handling for slices that contain a table while the selection is in a
1784
+ * table: a cell selection or a pasted table (rows, cells) fills the cells from
1785
+ * the cursor (prosemirror-tables), and anything else that contains a table is
1786
+ * inserted after the outermost table, with the cursor at its end. Returns
1787
+ * `false` when the paste needs no special handling.
1788
+ */
1789
+ declare function handleTablePasteWithoutNesting(view: EditorView, event: ClipboardEvent | null, slice: Slice): boolean;
1790
+ /**
1791
+ * Moves tables that sit in table cells (at positions in `ranges`) to right
1792
+ * after their outermost table, keeping their content, and repeats for tables
1793
+ * nested in the moved ones. A cell left without content gets an empty
1794
+ * paragraph. Returns whether `tr` changed.
1795
+ */
1796
+ declare function unnestTables(tr: Transaction, ranges: [number, number][]): boolean;
1797
+ /**
1798
+ * Keeps tables out of table cells: paste handling (see
1799
+ * `handleTablePasteWithoutNesting`) plus a guard that moves any table a
1800
+ * local edit puts into a cell (`insertContent`, `insertTable`, drops) to
1801
+ * right after the outermost table. Documents that already contain nested
1802
+ * tables (initial content, `setContent`, undo/redo, collaboration, Track
1803
+ * Changes restoring a deleted table) are left as they are.
1804
+ */
1805
+ declare function createTableNestingPlugin(): Plugin;
1806
+
1807
+ export { type FindMatch as $, ALLOW_NESTED_TABLES_META as A, BUILT_IN_IMPORT_ADAPTERS as B, CHARACTER_STYLE_MARK_NAME as C, type DocumentImport as D, type CrossReferenceOptions as E, type CrossReferenceTarget as F, type CrossReferenceTargetType as G, DEFAULT_AUTOCORRECT_EXCEPTIONS as H, DEFAULT_TABLE_OPTIONS as I, DEFAULT_TABLE_TOOLBAR as J, DocumentCompare as K, type DocumentCompareOptions as L, type DocumentCompareStorage as M, type DocumentSearchOptions as N, type DocumentSearchResult as O, type PdfStructureReport as P, type DocumentStructureCommandArgs as Q, type DocumentStructureCommandItem as R, EMPTY_FIND_REPLACE_SNAPSHOT as S, EMPTY_TABLE_STATE as T, type EditorCompareOptions as U, FIND_OPTION_TOGGLES as V, FIND_PARAGRAPH_MARK as W, FileImport as X, type FileImportOptions as Y, type FindAllOptions as Z, type FindAllResult as _, type DocumentImportAdapter as a, type SlashCommandMatchData as a$, type FindOptionToggle as a0, type FindOptions as a1, type FindPatternError as a2, type FindPatternErrorCode as a3, FindReplace as a4, type FindReplaceCommandOptions as a5, type FindReplaceMode as a6, type FindReplaceOptions as a7, type FindReplaceSnapshot as a8, type FindReplaceStorage as a9, type OutlineStorage as aA, type OutlineStore as aB, type OutlineTreeItem as aC, ParagraphStyles as aD, type ParagraphStylesOptions as aE, type ParagraphStylesSnapshot as aF, type ParagraphStylesStorage as aG, type ParagraphStylesStore as aH, type PatternMatch as aI, type PdfLayoutBlock as aJ, type PdfLayoutPage as aK, type PdfLayoutResult as aL, type PdfTableCell as aM, type ReplacePiece as aN, RichClipboard as aO, type RichClipboardOptions as aP, type RichClipboardStorage as aQ, type RichTextPresetCommandPackages as aR, type RichTextPresetOptions as aS, type RichTextTableOptions as aT, type RunTableActionOptions as aU, SMILIE_REPLACEMENTS as aV, STYLE_ID_ATTRIBUTE as aW, type SearchBudget as aX, type SearchBudgetOptions as aY, type SetBookmarkOptions as aZ, type SetSearchParams as a_, FindReplaceStore as aa, type FocusHeadingOptions as ab, FontSize as ac, Footnote as ad, type FootnoteInfo as ae, FootnoteReference as af, Footnotes as ag, type FootnotesOptions as ah, GradientText as ai, type GradientTextOptions as aj, Image as ak, type ImageOptions as al, type ImportStructureItem as am, type ImportStructureReport as an, type InsertFootnoteOptions as ao, type InsertTableOfContentsOptions as ap, LoadingNode as aq, MAX_FIND_PATTERN_LENGTH as ar, MAX_TABLE_COLUMNS as as, MAX_TABLE_ROWS as at, Markdown as au, type OpenFindReplaceParams as av, Outline as aw, type OutlineHeading as ax, type OutlineOptions as ay, type OutlineSnapshot as az, type PdfLayoutOptions as b, getCommentAuthor as b$, SlashCommands as b0, type SlashCommandsOptions as b1, SmilieReplacer as b2, TABLE_ACTIONS as b3, Table as b4, type TableAction as b5, type TableActionInfo as b6, type TableActionParams as b7, type TableActionStatus as b8, TableCell as b9, createParagraphStylesStore as bA, createRichTextPreset as bB, createSearchBudget as bC, createTableCommands as bD, createTableExtensions as bE, createTableNestingPlugin as bF, createTableStore as bG, crossReferencePluginKey as bH, defaultAutocorrectRules as bI, defaultImportRegistry as bJ, documentStructureCommandItems as bK, expandReplacement as bL, fileImportPluginKey as bM, findAllMatches as bN, findAutocorrection as bO, findCommentRanges as bP, findHexColors as bQ, findImportAdapter as bR, findReplacePluginKey as bS, foldCodePoint as bT, footnotesMarkdownIt as bU, footnotesPluginKey as bV, formatFindStatus as bW, fractionRules as bX, getActiveHeading as bY, getBookmarks as bZ, getCommentAnchors as b_, type TableCellAlignment as ba, type TableCommandOptions as bb, TableHeader as bc, TableOfContents as bd, type TableOfContentsEntry as be, type TableOfContentsOptions as bf, TableRow as bg, type TableState as bh, type TableStore as bi, type TableToolbarItem as bj, TemplateSuggestions as bk, type TemplateSuggestionsOptions as bl, analyzePdfLayout as bm, applyDocumentComparison as bn, applyReplacements as bo, autocorrectPluginKey as bp, buildOutlineTree as bq, capitalizeSentenceRules as br, captureSelectionFormat as bs, commentsPluginKey as bt, compareInEditor as bu, compileFindPattern as bv, computeOutline as bw, createFindReplaceCommands as bx, createImportAdapterRegistry as by, createOutlineStore as bz, type PdfRuleLine as c, getCommentIdsAt as c0, getCommentStore as c1, getCrossReferenceTargets as c2, getDocumentStructureCommandItems as c3, getFindReplaceState as c4, getFindReplaceStore as c5, getFootnotes as c6, getImportAccept as c7, getOutline as c8, getParagraphStyleAt as c9, plainTextImportAdapter as cA, registerImportAdapter as cB, removeImageNode as cC, richClipboardPluginKey as cD, rtfImportAdapter as cE, runTableAction as cF, searchDocument as cG, shouldShowTableBubbleMenu as cH, sliceContainsTable as cI, smartQuoteRules as cJ, smilieAutocorrectRules as cK, symbolRules as cL, syncFootnotes as cM, tableNestingPluginKey as cN, tableOfContentsMarkdownIt as cO, tableOfContentsPluginKey as cP, twoInitialCapitalsRules as cQ, unnestTables as cR, unregisterImportAdapter as cS, updateImageSrc as cT, validateFindPattern as cU, writeRichClipboard as cV, getStyleRegistry as ca, getTableActionState as cb, getTableOfContentsEntries as cc, getTableState as cd, handleImageInsertion as ce, handleTablePasteWithoutNesting as cf, htmlImportAdapter as cg, imagePastePluginKey as ch, importFile as ci, insertImageNode as cj, insertSliceAfterTable as ck, isGfmTable as cl, isInTableCell as cm, isInsidePromptToken as cn, isParagraphStyleAvailable as co, isSelectionInTable as cp, isTableEnabled as cq, markdownImportAdapter as cr, navigateToHeading as cs, normalizeTableCellAlignment as ct, normalizeTableCellColor as cu, outermostTableDepth as cv, outlinePluginKey as cw, paragraphStylesPluginKey as cx, parseReplacement as cy, pdfLayoutBlocksToHtml as cz, type PdfTextRun as d, type AddCommentOptions as e, Autocorrect as f, type AutocorrectContext as g, type AutocorrectCorrection as h, type AutocorrectOptions as i, type AutocorrectRule as j, type AutocorrectStorage as k, Bookmark as l, type BookmarkInfo as m, type BookmarkOptions as n, COMMENT_MARK_NAME as o, CharacterStyle as p, ColorHighlighter as q, type CommentRange as r, Comments as s, type CommentsOptions as t, type CommentsStorage as u, type CompileFindPatternResult as v, type CompiledFindPattern as w, type CreateImportAdapterRegistryOptions as x, type CreateStyleFromSelectionOptions as y, CrossReference as z };