@pixerate/editor 0.26.1 → 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.
- package/README.md +8 -2
- package/dist/agent/index.cjs +56 -6
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +6 -4
- package/dist/agent/index.d.ts +6 -4
- package/dist/agent/index.js +51 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/{builtins-Chj6zv_O.d.ts → builtins-haN82vjT.d.ts} +33 -3
- package/dist/{builtins-CdPcLwwF.d.cts → builtins-nMXh9sT3.d.cts} +33 -3
- package/dist/canvas/index.cjs +372 -8
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +72 -4
- package/dist/canvas/index.d.ts +72 -4
- package/dist/canvas/index.js +368 -4
- package/dist/canvas/index.js.map +1 -1
- package/dist/{chunk-UBCFIABU.js → chunk-5H2OPMXZ.js} +183 -6
- package/dist/chunk-5H2OPMXZ.js.map +1 -0
- package/dist/{chunk-XQFHLT53.js → chunk-6IO7WUSU.js} +17 -3
- package/dist/chunk-6IO7WUSU.js.map +1 -0
- package/dist/{chunk-LN2POBHT.cjs → chunk-AGR7EVRW.cjs} +24 -10
- package/dist/chunk-AGR7EVRW.cjs.map +1 -0
- package/dist/chunk-HXDMZQTD.cjs +497 -0
- package/dist/chunk-HXDMZQTD.cjs.map +1 -0
- package/dist/chunk-IB3ZHQAX.js +497 -0
- package/dist/chunk-IB3ZHQAX.js.map +1 -0
- package/dist/{chunk-X7HXL2SB.js → chunk-JT7AXQTE.js} +336 -10
- package/dist/chunk-JT7AXQTE.js.map +1 -0
- package/dist/{chunk-HDYMLS3X.cjs → chunk-MC2LQN5S.cjs} +196 -19
- package/dist/chunk-MC2LQN5S.cjs.map +1 -0
- package/dist/{chunk-NQF32I6Z.cjs → chunk-YK5TATOF.cjs} +461 -135
- package/dist/chunk-YK5TATOF.cjs.map +1 -0
- package/dist/commands/index.cjs +30 -410
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +1 -1
- package/dist/commands/index.d.ts +1 -1
- package/dist/commands/index.js +17 -397
- package/dist/commands/index.js.map +1 -1
- package/dist/{controller-CxXGOEmy.d.cts → controller-w6eRTjF8.d.cts} +67 -2
- package/dist/{controller-CxXGOEmy.d.ts → controller-w6eRTjF8.d.ts} +67 -2
- package/dist/extensions/index.cjs +21 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.js +21 -3
- package/dist/{index-jcJwmBYt.d.cts → index-C6gaQRH0.d.cts} +53 -4
- package/dist/{index-B273Zllk.d.ts → index-DXAv_R08.d.ts} +53 -4
- package/dist/index.cjs +47 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +42 -4
- package/dist/index.js.map +1 -1
- package/dist/spreadsheet/index.cjs +22 -2
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +76 -3
- package/dist/spreadsheet/index.d.ts +76 -3
- package/dist/spreadsheet/index.js +21 -1
- package/package.json +1 -1
- package/dist/chunk-HDYMLS3X.cjs.map +0 -1
- package/dist/chunk-LN2POBHT.cjs.map +0 -1
- package/dist/chunk-NQF32I6Z.cjs.map +0 -1
- package/dist/chunk-UBCFIABU.js.map +0 -1
- package/dist/chunk-X7HXL2SB.js.map +0 -1
- package/dist/chunk-XQFHLT53.js.map +0 -1
|
@@ -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
|
-
/**
|
|
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
|
|
108
|
+
var _chunkAGR7EVRWcjs = require('../chunk-AGR7EVRW.cjs');
|
|
109
109
|
require('../chunk-CS6NZWWA.cjs');
|
|
110
110
|
|
|
111
111
|
|
|
@@ -139,7 +139,16 @@ require('../chunk-HNDSPZ5T.cjs');
|
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
var _chunkMC2LQN5Scjs = require('../chunk-MC2LQN5S.cjs');
|
|
143
152
|
require('../chunk-66IMF6OD.cjs');
|
|
144
153
|
require('../chunk-BVP3TSLH.cjs');
|
|
145
154
|
|
|
@@ -332,5 +341,14 @@ var _chunkIFHKKVXHcjs = require('../chunk-IFHKKVXH.cjs');
|
|
|
332
341
|
|
|
333
342
|
|
|
334
343
|
|
|
335
|
-
exports.Autocorrect = _chunkLN2POBHTcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunkIFHKKVXHcjs.BLOCK_CHANGE_ATTRIBUTE; exports.Bookmark = _chunkLN2POBHTcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkLN2POBHTcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkLN2POBHTcjs.COMMENT_MARK_NAME; exports.CharacterStyle = _chunkLN2POBHTcjs.CharacterStyle; exports.ColorHighlighter = _chunkLN2POBHTcjs.ColorHighlighter; exports.CommentStore = _chunkIFHKKVXHcjs.CommentStore; exports.Comments = _chunkLN2POBHTcjs.Comments; exports.CrossReference = _chunkLN2POBHTcjs.CrossReference; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkLN2POBHTcjs.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 = _chunkLN2POBHTcjs.DocumentCompare; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkLN2POBHTcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkHDYMLS3Xcjs.EMPTY_TABLE_STATE; exports.FIND_OPTION_TOGGLES = _chunkLN2POBHTcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkLN2POBHTcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunkIFHKKVXHcjs.FORMAT_CHANGE_MARK_NAME; exports.FileImport = _chunkLN2POBHTcjs.FileImport; exports.FindReplace = _chunkLN2POBHTcjs.FindReplace; exports.FindReplaceStore = _chunkLN2POBHTcjs.FindReplaceStore; exports.FontSize = _chunkLN2POBHTcjs.FontSize; exports.Footnote = _chunkLN2POBHTcjs.Footnote; exports.FootnoteReference = _chunkLN2POBHTcjs.FootnoteReference; exports.Footnotes = _chunkLN2POBHTcjs.Footnotes; exports.GradientText = _chunkLN2POBHTcjs.GradientText; exports.INSERTION_MARK_NAME = _chunkIFHKKVXHcjs.INSERTION_MARK_NAME; exports.Image = _chunkLN2POBHTcjs.Image; exports.LoadingNode = _chunkLN2POBHTcjs.LoadingNode; exports.MAX_FIND_PATTERN_LENGTH = _chunkLN2POBHTcjs.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 = _chunkLN2POBHTcjs.Markdown; exports.Mention = _chunkLN2POBHTcjs.Mention; exports.NORMAL_STYLE_ID = _chunk3CC7OPUQcjs.NORMAL_STYLE_ID; exports.Outline = _chunkLN2POBHTcjs.Outline; exports.ParagraphStyles = _chunkLN2POBHTcjs.ParagraphStyles; exports.RichClipboard = _chunkLN2POBHTcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkLN2POBHTcjs.SMILIE_REPLACEMENTS; exports.STYLE_ID_ATTRIBUTE = _chunkLN2POBHTcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkLN2POBHTcjs.SlashCommands; exports.SmilieReplacer = _chunkLN2POBHTcjs.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 = _chunkLN2POBHTcjs.TableOfContents; exports.TableRow = _chunkHDYMLS3Xcjs.TableRow; exports.TemplateSuggestions = _chunkLN2POBHTcjs.TemplateSuggestions; exports.TrackChanges = _chunkIFHKKVXHcjs.TrackChanges; exports.TrackChangesStore = _chunkIFHKKVXHcjs.TrackChangesStore; exports.TrackedDeletion = _chunkIFHKKVXHcjs.TrackedDeletion; exports.TrackedFormatChange = _chunkIFHKKVXHcjs.TrackedFormatChange; exports.TrackedInsertion = _chunkIFHKKVXHcjs.TrackedInsertion; exports.applyDocumentComparison = _chunkLN2POBHTcjs.applyDocumentComparison; exports.applyReplacements = _chunkLN2POBHTcjs.applyReplacements; exports.autocorrectPluginKey = _chunkLN2POBHTcjs.autocorrectPluginKey; exports.buildOutlineTree = _chunkLN2POBHTcjs.buildOutlineTree; exports.capitalizeSentenceRules = _chunkLN2POBHTcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkLN2POBHTcjs.captureSelectionFormat; exports.commentsPluginKey = _chunkLN2POBHTcjs.commentsPluginKey; exports.compareInEditor = _chunkLN2POBHTcjs.compareInEditor; exports.compileFindPattern = _chunkLN2POBHTcjs.compileFindPattern; exports.computeOutline = _chunkLN2POBHTcjs.computeOutline; exports.createCommentStore = _chunkIFHKKVXHcjs.createCommentStore; exports.createFindReplaceCommands = _chunkLN2POBHTcjs.createFindReplaceCommands; exports.createMentionExtension = _chunkLN2POBHTcjs.createMentionExtension; exports.createOutlineStore = _chunkLN2POBHTcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkLN2POBHTcjs.createParagraphStylesStore; exports.createReviewId = _chunkIFHKKVXHcjs.createReviewId; exports.createRichTextPreset = _chunkLN2POBHTcjs.createRichTextPreset; exports.createSearchBudget = _chunkLN2POBHTcjs.createSearchBudget; exports.createStyleRegistry = _chunk3CC7OPUQcjs.createStyleRegistry; exports.createTableCommands = _chunkLN2POBHTcjs.createTableCommands; exports.createTableExtensions = _chunkHDYMLS3Xcjs.createTableExtensions; exports.createTableStore = _chunkHDYMLS3Xcjs.createTableStore; exports.crossReferencePluginKey = _chunkLN2POBHTcjs.crossReferencePluginKey; exports.defaultAutocorrectRules = _chunkLN2POBHTcjs.defaultAutocorrectRules; exports.describeBlockChange = _chunkIFHKKVXHcjs.describeBlockChange; exports.describeFormatChange = _chunkIFHKKVXHcjs.describeFormatChange; exports.documentStructureCommandItems = _chunkLN2POBHTcjs.documentStructureCommandItems; exports.expandReplacement = _chunkLN2POBHTcjs.expandReplacement; exports.fileImportPluginKey = _chunkLN2POBHTcjs.fileImportPluginKey; exports.findAllMatches = _chunkLN2POBHTcjs.findAllMatches; exports.findAutocorrection = _chunkLN2POBHTcjs.findAutocorrection; exports.findCommentRanges = _chunkLN2POBHTcjs.findCommentRanges; exports.findHexColors = _chunkLN2POBHTcjs.findHexColors; exports.findReplacePluginKey = _chunkLN2POBHTcjs.findReplacePluginKey; exports.foldCodePoint = _chunkLN2POBHTcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkLN2POBHTcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkLN2POBHTcjs.footnotesPluginKey; exports.formatFindStatus = _chunkLN2POBHTcjs.formatFindStatus; exports.formatReviewTime = _chunkIFHKKVXHcjs.formatReviewTime; exports.fractionRules = _chunkLN2POBHTcjs.fractionRules; exports.getActiveHeading = _chunkLN2POBHTcjs.getActiveHeading; exports.getBookmarks = _chunkLN2POBHTcjs.getBookmarks; exports.getCommentAnchors = _chunkLN2POBHTcjs.getCommentAnchors; exports.getCommentAuthor = _chunkLN2POBHTcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkLN2POBHTcjs.getCommentIdsAt; exports.getCommentStore = _chunkLN2POBHTcjs.getCommentStore; exports.getCrossReferenceTargets = _chunkLN2POBHTcjs.getCrossReferenceTargets; exports.getDocumentStructureCommandItems = _chunkLN2POBHTcjs.getDocumentStructureCommandItems; exports.getFindReplaceState = _chunkLN2POBHTcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkLN2POBHTcjs.getFindReplaceStore; exports.getFootnotes = _chunkLN2POBHTcjs.getFootnotes; exports.getMentionNodes = _chunkLN2POBHTcjs.getMentionNodes; exports.getOutline = _chunkLN2POBHTcjs.getOutline; exports.getParagraphStyleAt = _chunkLN2POBHTcjs.getParagraphStyleAt; exports.getStyleRegistry = _chunkLN2POBHTcjs.getStyleRegistry; exports.getTableActionState = _chunkHDYMLS3Xcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkLN2POBHTcjs.getTableOfContentsEntries; exports.getTableState = _chunkHDYMLS3Xcjs.getTableState; exports.getTrackChangesStore = _chunkIFHKKVXHcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunkIFHKKVXHcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunkIFHKKVXHcjs.getTrackedChanges; exports.handleImageInsertion = _chunkLN2POBHTcjs.handleImageInsertion; exports.imagePastePluginKey = _chunkLN2POBHTcjs.imagePastePluginKey; exports.insertImageNode = _chunkLN2POBHTcjs.insertImageNode; exports.isGfmTable = _chunkHDYMLS3Xcjs.isGfmTable; exports.isInsidePromptToken = _chunkLN2POBHTcjs.isInsidePromptToken; exports.isMoveSized = _chunkIFHKKVXHcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkLN2POBHTcjs.isParagraphStyleAvailable; exports.isSelectionInTable = _chunkHDYMLS3Xcjs.isSelectionInTable; exports.isTableEnabled = _chunkHDYMLS3Xcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunkIFHKKVXHcjs.isTrackChangesEnabled; exports.isValidStyleId = _chunk3CC7OPUQcjs.isValidStyleId; exports.navigateToHeading = _chunkLN2POBHTcjs.navigateToHeading; exports.normalizeTableCellAlignment = _chunkHDYMLS3Xcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkHDYMLS3Xcjs.normalizeTableCellColor; exports.outlinePluginKey = _chunkLN2POBHTcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkLN2POBHTcjs.paragraphStylesPluginKey; exports.parseReplacement = _chunkLN2POBHTcjs.parseReplacement; exports.removeImageNode = _chunkLN2POBHTcjs.removeImageNode; exports.resolveTrackedChanges = _chunkIFHKKVXHcjs.resolveTrackedChanges; exports.richClipboardPluginKey = _chunkLN2POBHTcjs.richClipboardPluginKey; exports.runTableAction = _chunkHDYMLS3Xcjs.runTableAction; exports.safeCSSValue = _chunk3CC7OPUQcjs.safeCSSValue; exports.searchDocument = _chunkLN2POBHTcjs.searchDocument; exports.setMentionRoleAt = _chunkLN2POBHTcjs.setMentionRoleAt; exports.shouldShowTableBubbleMenu = _chunkHDYMLS3Xcjs.shouldShowTableBubbleMenu; exports.smartQuoteRules = _chunkLN2POBHTcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkLN2POBHTcjs.smilieAutocorrectRules; exports.symbolRules = _chunkLN2POBHTcjs.symbolRules; exports.syncFootnotes = _chunkLN2POBHTcjs.syncFootnotes; exports.tableOfContentsMarkdownIt = _chunkLN2POBHTcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkLN2POBHTcjs.tableOfContentsPluginKey; exports.trackChangesPluginKey = _chunkIFHKKVXHcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunkIFHKKVXHcjs.trackedChangeLabel; exports.twoInitialCapitalsRules = _chunkLN2POBHTcjs.twoInitialCapitalsRules; exports.updateImageSrc = _chunkLN2POBHTcjs.updateImageSrc; exports.validateFindPattern = _chunkLN2POBHTcjs.validateFindPattern; exports.writeRichClipboard = _chunkLN2POBHTcjs.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,
|
|
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
|
|
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
|
|
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';
|
package/dist/extensions/index.js
CHANGED
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
updateImageSrc,
|
|
106
106
|
validateFindPattern,
|
|
107
107
|
writeRichClipboard
|
|
108
|
-
} from "../chunk-
|
|
108
|
+
} from "../chunk-6IO7WUSU.js";
|
|
109
109
|
import "../chunk-QJSOZFCZ.js";
|
|
110
110
|
import {
|
|
111
111
|
DEFAULT_STYLES,
|
|
@@ -118,6 +118,7 @@ import {
|
|
|
118
118
|
import "../chunk-P6ODPZ4W.js";
|
|
119
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,17 +130,25 @@ 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
|
-
|
|
147
|
+
shouldShowTableBubbleMenu,
|
|
148
|
+
sliceContainsTable,
|
|
149
|
+
tableNestingPluginKey,
|
|
150
|
+
unnestTables
|
|
151
|
+
} from "../chunk-5H2OPMXZ.js";
|
|
143
152
|
import "../chunk-UKI64KUD.js";
|
|
144
153
|
import "../chunk-O5RYH2PG.js";
|
|
145
154
|
import {
|
|
@@ -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
|
-
/**
|
|
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
|
-
|
|
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 };
|
|
@@ -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.js';
|
|
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
|
-
/**
|
|
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
|
-
|
|
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 };
|