@pixerate/editor 0.25.0 → 0.26.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 +30 -0
- package/THIRD_PARTY_NOTICES.md +11 -0
- package/dist/agent/index.cjs +174 -11
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +18 -4
- package/dist/agent/index.d.ts +18 -4
- package/dist/agent/index.js +167 -4
- package/dist/agent/index.js.map +1 -1
- package/dist/{arrangeShortcuts-B8O3f8-P.d.cts → arrange-BICutYPk.d.cts} +243 -29
- package/dist/{arrangeShortcuts-sLlD2rSX.d.ts → arrange-BICutYPk.d.ts} +243 -29
- package/dist/builtins-CdPcLwwF.d.cts +176 -0
- package/dist/builtins-Chj6zv_O.d.ts +176 -0
- package/dist/canvas/index.cjs +3917 -19
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +1232 -7
- package/dist/canvas/index.d.ts +1232 -7
- package/dist/canvas/index.js +3916 -18
- package/dist/canvas/index.js.map +1 -1
- package/dist/chunk-3CC7OPUQ.cjs +831 -0
- package/dist/chunk-3CC7OPUQ.cjs.map +1 -0
- package/dist/{chunk-AL6JMGWW.cjs → chunk-CS6NZWWA.cjs} +24 -24
- package/dist/{chunk-AL6JMGWW.cjs.map → chunk-CS6NZWWA.cjs.map} +1 -1
- package/dist/{chunk-C7P22VIP.cjs → chunk-EWCOFSCQ.cjs} +17 -6
- package/dist/chunk-EWCOFSCQ.cjs.map +1 -0
- package/dist/chunk-HDYMLS3X.cjs +409 -0
- package/dist/chunk-HDYMLS3X.cjs.map +1 -0
- package/dist/{chunk-X4N4WUKB.cjs → chunk-IFHKKVXH.cjs} +150 -38
- package/dist/chunk-IFHKKVXH.cjs.map +1 -0
- package/dist/{chunk-ECCCYKGL.js → chunk-JOIREKL7.js} +63 -39
- package/dist/chunk-JOIREKL7.js.map +1 -0
- package/dist/chunk-KRGXUQ2Y.js +1696 -0
- package/dist/chunk-KRGXUQ2Y.js.map +1 -0
- package/dist/{chunk-QGYDWPRM.js → chunk-MHEPLBFB.js} +2 -2
- package/dist/chunk-MR2764X2.js +831 -0
- package/dist/chunk-MR2764X2.js.map +1 -0
- package/dist/{chunk-7WISYZFO.cjs → chunk-NFVBT3UZ.cjs} +67 -43
- package/dist/chunk-NFVBT3UZ.cjs.map +1 -0
- package/dist/{chunk-WSQKHXW7.cjs → chunk-NQF32I6Z.cjs} +1209 -457
- package/dist/chunk-NQF32I6Z.cjs.map +1 -0
- package/dist/{chunk-IXHSYOVY.js → chunk-Q2OHWD2A.js} +638 -866
- package/dist/chunk-Q2OHWD2A.js.map +1 -0
- package/dist/{chunk-NAXVVS5I.js → chunk-QJSOZFCZ.js} +2 -2
- package/dist/{chunk-V3CHHWOE.cjs → chunk-RRREAOVM.cjs} +4 -4
- package/dist/{chunk-V3CHHWOE.cjs.map → chunk-RRREAOVM.cjs.map} +1 -1
- package/dist/{chunk-UAKDG62Z.js → chunk-SWE3NPOU.js} +116 -4
- package/dist/chunk-SWE3NPOU.js.map +1 -0
- package/dist/chunk-TXXNBDQX.cjs +1696 -0
- package/dist/chunk-TXXNBDQX.cjs.map +1 -0
- package/dist/chunk-UBCFIABU.js +409 -0
- package/dist/chunk-UBCFIABU.js.map +1 -0
- package/dist/{chunk-RR7F5GUM.js → chunk-X7HXL2SB.js} +941 -189
- package/dist/chunk-X7HXL2SB.js.map +1 -0
- package/dist/{chunk-PO6A6QQH.cjs → chunk-YOMYSFJU.cjs} +742 -970
- package/dist/chunk-YOMYSFJU.cjs.map +1 -0
- package/dist/{chunk-FH6F67DN.js → chunk-ZRNHGAQT.js} +17 -6
- package/dist/{chunk-FH6F67DN.js.map → chunk-ZRNHGAQT.js.map} +1 -1
- package/dist/commands/index.cjs +352 -4
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +37 -108
- package/dist/commands/index.d.ts +37 -108
- package/dist/commands/index.js +351 -3
- package/dist/commands/index.js.map +1 -1
- package/dist/compare/index.cjs +3 -3
- package/dist/compare/index.js +2 -2
- package/dist/{controller-BIJiNoVs.d.cts → controller-CxXGOEmy.d.cts} +209 -13
- package/dist/{controller-BIJiNoVs.d.ts → controller-CxXGOEmy.d.ts} +209 -13
- package/dist/export/index.cjs +36 -0
- package/dist/export/index.cjs.map +1 -0
- package/dist/export/index.d.cts +243 -0
- package/dist/export/index.d.ts +243 -0
- package/dist/export/index.js +36 -0
- package/dist/export/index.js.map +1 -0
- package/dist/extensions/index.cjs +54 -6
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +7 -2
- package/dist/extensions/index.d.ts +7 -2
- package/dist/extensions/index.js +59 -11
- package/dist/{index-7a6bHTLy.d.ts → index-B273Zllk.d.ts} +211 -207
- package/dist/{index-Csd5qI8u.d.cts → index-jcJwmBYt.d.cts} +211 -207
- package/dist/index.cjs +144 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -13
- package/dist/index.d.ts +49 -13
- package/dist/index.js +136 -24
- package/dist/index.js.map +1 -1
- package/dist/registry-CED5C0lA.d.cts +204 -0
- package/dist/registry-CED5C0lA.d.ts +204 -0
- package/dist/{registry-D32LpIc4.d.cts → registry-D0GADKc7.d.cts} +1 -1
- package/dist/{registry-evKTP4ls.d.ts → registry-DhVUZioj.d.ts} +1 -1
- package/dist/serializers/index.cjs +4 -4
- package/dist/serializers/index.d.cts +2 -1
- package/dist/serializers/index.d.ts +2 -1
- package/dist/serializers/index.js +3 -3
- package/dist/spreadsheet/index.cjs +33 -3
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +106 -3
- package/dist/spreadsheet/index.d.ts +106 -3
- package/dist/spreadsheet/index.js +32 -2
- package/package.json +10 -1
- package/dist/chunk-7WISYZFO.cjs.map +0 -1
- package/dist/chunk-C7P22VIP.cjs.map +0 -1
- package/dist/chunk-ECCCYKGL.js.map +0 -1
- package/dist/chunk-IXHSYOVY.js.map +0 -1
- package/dist/chunk-PO6A6QQH.cjs.map +0 -1
- package/dist/chunk-RR7F5GUM.js.map +0 -1
- package/dist/chunk-UAKDG62Z.js.map +0 -1
- package/dist/chunk-WSQKHXW7.cjs.map +0 -1
- package/dist/chunk-X4N4WUKB.cjs.map +0 -1
- package/dist/types-DX4Mh4SL.d.cts +0 -217
- package/dist/types-DX4Mh4SL.d.ts +0 -217
- /package/dist/{chunk-QGYDWPRM.js.map → chunk-MHEPLBFB.js.map} +0 -0
- /package/dist/{chunk-NAXVVS5I.js.map → chunk-QJSOZFCZ.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
1
|
import "./chunk-HLIMTC6N.js";
|
|
2
|
+
import {
|
|
3
|
+
DOCX_ANONYMOUS_AUTHOR,
|
|
4
|
+
DOCX_EXPORT_MIME_TYPE,
|
|
5
|
+
DocxExportController,
|
|
6
|
+
XmlWriter,
|
|
7
|
+
createDocxExportController,
|
|
8
|
+
createDocxParts,
|
|
9
|
+
deflateRaw,
|
|
10
|
+
docxFileName,
|
|
11
|
+
downloadBlob,
|
|
12
|
+
escapeXmlAttr,
|
|
13
|
+
escapeXmlText,
|
|
14
|
+
exportDocx,
|
|
15
|
+
exportDocxBlob,
|
|
16
|
+
stripInvalidXmlChars,
|
|
17
|
+
writeZip
|
|
18
|
+
} from "./chunk-KRGXUQ2Y.js";
|
|
2
19
|
import {
|
|
3
20
|
FIELD_ALIASES,
|
|
4
21
|
MAX_DATA_SOURCE_FIELDS,
|
|
@@ -48,9 +65,6 @@ import {
|
|
|
48
65
|
CrossReference,
|
|
49
66
|
DEFAULT_AUTOCORRECT_EXCEPTIONS,
|
|
50
67
|
DEFAULT_DOCX_MAX_IMAGE_SIZE,
|
|
51
|
-
DEFAULT_STYLES,
|
|
52
|
-
DEFAULT_ZIP_MAX_ENTRIES,
|
|
53
|
-
DEFAULT_ZIP_MAX_TOTAL_SIZE,
|
|
54
68
|
DOCX_MIME_TYPES,
|
|
55
69
|
DocumentCompare,
|
|
56
70
|
EMPTY_FIND_REPLACE_SNAPSHOT,
|
|
@@ -71,7 +85,6 @@ import {
|
|
|
71
85
|
MAX_FIND_PATTERN_LENGTH,
|
|
72
86
|
Markdown,
|
|
73
87
|
Mention,
|
|
74
|
-
NORMAL_STYLE_ID,
|
|
75
88
|
Outline,
|
|
76
89
|
ParagraphStyles,
|
|
77
90
|
RichClipboard,
|
|
@@ -79,12 +92,10 @@ import {
|
|
|
79
92
|
STYLE_ID_ATTRIBUTE,
|
|
80
93
|
SlashCommands,
|
|
81
94
|
SmilieReplacer,
|
|
82
|
-
StyleRegistry,
|
|
83
95
|
TableOfContents,
|
|
84
96
|
TemplateSuggestions,
|
|
85
|
-
ZipArchive,
|
|
86
|
-
ZipError,
|
|
87
97
|
applyDocumentComparison,
|
|
98
|
+
applyImportedReviewData,
|
|
88
99
|
applyReplacements,
|
|
89
100
|
autocorrectPluginKey,
|
|
90
101
|
buildOutlineTree,
|
|
@@ -103,7 +114,7 @@ import {
|
|
|
103
114
|
createParagraphStylesStore,
|
|
104
115
|
createRichTextPreset,
|
|
105
116
|
createSearchBudget,
|
|
106
|
-
|
|
117
|
+
createTableCommands,
|
|
107
118
|
crossReferencePluginKey,
|
|
108
119
|
defaultAutocorrectRules,
|
|
109
120
|
defaultImportRegistry,
|
|
@@ -150,20 +161,16 @@ import {
|
|
|
150
161
|
insertImportedDocument,
|
|
151
162
|
isInsidePromptToken,
|
|
152
163
|
isParagraphStyleAvailable,
|
|
153
|
-
isUnsafeZipPath,
|
|
154
|
-
isValidStyleId,
|
|
155
164
|
markdownImportAdapter,
|
|
156
165
|
navigateToHeading,
|
|
157
166
|
outlinePluginKey,
|
|
158
167
|
paragraphStylesPluginKey,
|
|
159
168
|
parseReplacement,
|
|
160
169
|
plainTextImportAdapter,
|
|
161
|
-
readZip,
|
|
162
170
|
registerImportAdapter,
|
|
163
171
|
removeImageNode,
|
|
164
172
|
richClipboardPluginKey,
|
|
165
173
|
rtfImportAdapter,
|
|
166
|
-
safeCSSValue,
|
|
167
174
|
searchDocument,
|
|
168
175
|
setMentionRoleAt,
|
|
169
176
|
smartQuoteRules,
|
|
@@ -176,15 +183,29 @@ import {
|
|
|
176
183
|
unregisterImportAdapter,
|
|
177
184
|
updateImageSrc,
|
|
178
185
|
validateFindPattern,
|
|
179
|
-
writeRichClipboard
|
|
180
|
-
|
|
181
|
-
} from "./chunk-IXHSYOVY.js";
|
|
186
|
+
writeRichClipboard
|
|
187
|
+
} from "./chunk-Q2OHWD2A.js";
|
|
182
188
|
import {
|
|
183
189
|
compareDocuments,
|
|
184
190
|
compareHtml,
|
|
185
191
|
diffChanges,
|
|
186
192
|
diffSequences
|
|
187
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-QJSOZFCZ.js";
|
|
194
|
+
import {
|
|
195
|
+
DEFAULT_STYLES,
|
|
196
|
+
DEFAULT_ZIP_MAX_ENTRIES,
|
|
197
|
+
DEFAULT_ZIP_MAX_TOTAL_SIZE,
|
|
198
|
+
NORMAL_STYLE_ID,
|
|
199
|
+
StyleRegistry,
|
|
200
|
+
ZipArchive,
|
|
201
|
+
ZipError,
|
|
202
|
+
createStyleRegistry,
|
|
203
|
+
isUnsafeZipPath,
|
|
204
|
+
isValidStyleId,
|
|
205
|
+
readZip,
|
|
206
|
+
safeCSSValue,
|
|
207
|
+
zipCrc32
|
|
208
|
+
} from "./chunk-MR2764X2.js";
|
|
188
209
|
import {
|
|
189
210
|
INSTRUCTION_REGEX,
|
|
190
211
|
TEMPLATE_REGEX,
|
|
@@ -219,7 +240,7 @@ import {
|
|
|
219
240
|
rtfToPlainText,
|
|
220
241
|
sanitizeImportedHtml,
|
|
221
242
|
serializeRichClipboardPayload
|
|
222
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-MHEPLBFB.js";
|
|
223
244
|
import {
|
|
224
245
|
CONDITIONAL_FORMAT_ICON_SETS,
|
|
225
246
|
CONDITIONAL_FORMAT_PRESETS,
|
|
@@ -237,12 +258,19 @@ import {
|
|
|
237
258
|
DataSourceBinder,
|
|
238
259
|
DependencyGraph,
|
|
239
260
|
EMPTY_CONDITIONAL_FORMAT_OVERLAY,
|
|
261
|
+
IntervalIndex,
|
|
240
262
|
MAX_DEFINED_NAME_LENGTH,
|
|
241
263
|
MAX_SHEET_NAME_LENGTH,
|
|
242
264
|
NUMBER_FORMAT_PRESETS,
|
|
243
265
|
SPREADSHEET_CLIPBOARD_MIME,
|
|
266
|
+
SPREADSHEET_COLUMN_HEADER_HEIGHT,
|
|
267
|
+
SPREADSHEET_DEFAULT_VIEWPORT,
|
|
268
|
+
SPREADSHEET_GROUP_ROW_HEIGHT,
|
|
244
269
|
SPREADSHEET_IMPORT_ADAPTERS,
|
|
270
|
+
SPREADSHEET_ROW_HEADER_WIDTH,
|
|
245
271
|
SPREADSHEET_TABLE_ACTIONS,
|
|
272
|
+
SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD,
|
|
273
|
+
SPREADSHEET_VIRTUAL_ROW_THRESHOLD,
|
|
246
274
|
SpreadsheetController,
|
|
247
275
|
adjustRangeForStructuralChange,
|
|
248
276
|
adjustRangesForStructuralChange,
|
|
@@ -272,6 +300,7 @@ import {
|
|
|
272
300
|
evaluateConditionalFormats,
|
|
273
301
|
extractCellDependencies,
|
|
274
302
|
extractNameDependencies,
|
|
303
|
+
extractReferenceDependencies,
|
|
275
304
|
fillSeries,
|
|
276
305
|
findDataValidation,
|
|
277
306
|
findInvalidCells,
|
|
@@ -282,6 +311,7 @@ import {
|
|
|
282
311
|
formatSheetPrefix,
|
|
283
312
|
formatValueWithCode,
|
|
284
313
|
formulaIdentifiers,
|
|
314
|
+
fullSpreadsheetViewWindow,
|
|
285
315
|
getConditionalFormatCss,
|
|
286
316
|
getConditionalFormatIcon,
|
|
287
317
|
getDataBarCss,
|
|
@@ -292,6 +322,8 @@ import {
|
|
|
292
322
|
getRowSection,
|
|
293
323
|
getSheetTabMenuItems,
|
|
294
324
|
getSpreadsheetMenuItems,
|
|
325
|
+
getSpreadsheetScrollToCell,
|
|
326
|
+
getSpreadsheetViewWindow,
|
|
295
327
|
getTableSections,
|
|
296
328
|
getValidationListValues,
|
|
297
329
|
importFileIntoSpreadsheet,
|
|
@@ -302,6 +334,7 @@ import {
|
|
|
302
334
|
mapFormulaReferences,
|
|
303
335
|
matchesFilterRule,
|
|
304
336
|
matchesTimePeriod,
|
|
337
|
+
measureSpreadsheetView,
|
|
305
338
|
nextSheetName,
|
|
306
339
|
normalizeRange,
|
|
307
340
|
numberFormatForCellFormat,
|
|
@@ -311,6 +344,7 @@ import {
|
|
|
311
344
|
quoteSheetName,
|
|
312
345
|
rangeContains,
|
|
313
346
|
rangeContainsRange,
|
|
347
|
+
rangeDependencyKey,
|
|
314
348
|
rangesContain,
|
|
315
349
|
rangesIntersect,
|
|
316
350
|
readSpreadsheetClipboard,
|
|
@@ -324,11 +358,13 @@ import {
|
|
|
324
358
|
ruleAnchor,
|
|
325
359
|
ruleFormulaAt,
|
|
326
360
|
runSpreadsheetMenuItem,
|
|
361
|
+
sameSpreadsheetViewWindow,
|
|
327
362
|
serializeHtmlTable,
|
|
328
363
|
sheetDropIndex,
|
|
329
364
|
sheetNameNeedsQuotes,
|
|
330
365
|
shiftFormulaReferences,
|
|
331
366
|
shiftRuleFormula,
|
|
367
|
+
shouldVirtualizeSpreadsheet,
|
|
332
368
|
subtractRange,
|
|
333
369
|
subtractRangeFromRanges,
|
|
334
370
|
toNumber,
|
|
@@ -336,7 +372,7 @@ import {
|
|
|
336
372
|
validateCellInput,
|
|
337
373
|
validateDefinedName,
|
|
338
374
|
validateSheetName
|
|
339
|
-
} from "./chunk-
|
|
375
|
+
} from "./chunk-X7HXL2SB.js";
|
|
340
376
|
import {
|
|
341
377
|
escapeCsvField,
|
|
342
378
|
parseCsv,
|
|
@@ -353,6 +389,29 @@ import {
|
|
|
353
389
|
defaultIsEqual,
|
|
354
390
|
withoutDirty
|
|
355
391
|
} from "./chunk-2H7ZHPEJ.js";
|
|
392
|
+
import {
|
|
393
|
+
DEFAULT_TABLE_OPTIONS,
|
|
394
|
+
DEFAULT_TABLE_TOOLBAR,
|
|
395
|
+
EMPTY_TABLE_STATE,
|
|
396
|
+
MAX_TABLE_COLUMNS,
|
|
397
|
+
MAX_TABLE_ROWS,
|
|
398
|
+
TABLE_ACTIONS,
|
|
399
|
+
Table,
|
|
400
|
+
TableCell,
|
|
401
|
+
TableHeader,
|
|
402
|
+
TableRow,
|
|
403
|
+
createTableExtensions,
|
|
404
|
+
createTableStore,
|
|
405
|
+
getTableActionState,
|
|
406
|
+
getTableState,
|
|
407
|
+
isGfmTable,
|
|
408
|
+
isSelectionInTable,
|
|
409
|
+
isTableEnabled,
|
|
410
|
+
normalizeTableCellAlignment,
|
|
411
|
+
normalizeTableCellColor,
|
|
412
|
+
runTableAction,
|
|
413
|
+
shouldShowTableBubbleMenu
|
|
414
|
+
} from "./chunk-UBCFIABU.js";
|
|
356
415
|
import {
|
|
357
416
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
358
417
|
escapeHtml,
|
|
@@ -369,7 +428,7 @@ import {
|
|
|
369
428
|
preprocessMarkdownMentions,
|
|
370
429
|
sanitizeHtml,
|
|
371
430
|
stripMarkdownCode
|
|
372
|
-
} from "./chunk-
|
|
431
|
+
} from "./chunk-JOIREKL7.js";
|
|
373
432
|
import {
|
|
374
433
|
MENTION_REGEX,
|
|
375
434
|
findTextMentions,
|
|
@@ -404,7 +463,7 @@ import {
|
|
|
404
463
|
resolveTrackedChanges,
|
|
405
464
|
trackChangesPluginKey,
|
|
406
465
|
trackedChangeLabel
|
|
407
|
-
} from "./chunk-
|
|
466
|
+
} from "./chunk-SWE3NPOU.js";
|
|
408
467
|
import {
|
|
409
468
|
FORMULA_ERRORS,
|
|
410
469
|
FormulaEvaluator,
|
|
@@ -450,7 +509,7 @@ import {
|
|
|
450
509
|
tokenizeFormula,
|
|
451
510
|
unregisterFormulaFunction,
|
|
452
511
|
wildcardToRegExp
|
|
453
|
-
} from "./chunk-
|
|
512
|
+
} from "./chunk-ZRNHGAQT.js";
|
|
454
513
|
|
|
455
514
|
// src/controller.ts
|
|
456
515
|
import { Editor } from "@tiptap/core";
|
|
@@ -709,7 +768,7 @@ function summarizeImportStructure(outcomes) {
|
|
|
709
768
|
|
|
710
769
|
// src/import/pdf-layout.ts
|
|
711
770
|
var MAX_COLS = 63;
|
|
712
|
-
var
|
|
771
|
+
var MAX_TABLE_ROWS2 = 2e3;
|
|
713
772
|
var MAX_RULES = 2e3;
|
|
714
773
|
var MAX_DEPTH = 4;
|
|
715
774
|
var BULLET_GLYPH_RE = /^[•◦▪▫●○■□‣⁃∙·➢►▶✓✔❖]\s*/;
|
|
@@ -1069,7 +1128,7 @@ function gridTable(inside, group, hys, vxsIn, x0, x1, top, bottom, page, dehyphe
|
|
|
1069
1128
|
if (rowsY[rowsY.length - 1] > bottom + 4) rowsY.push(bottom);
|
|
1070
1129
|
const cols = xs.length - 1;
|
|
1071
1130
|
const rows = rowsY.length - 1;
|
|
1072
|
-
if (cols < 2 || rows < 1 || cols > MAX_COLS || rows >
|
|
1131
|
+
if (cols < 2 || rows < 1 || cols > MAX_COLS || rows > MAX_TABLE_ROWS2) return null;
|
|
1073
1132
|
const grid = Array.from({ length: rows }, () => Array.from({ length: cols }, () => []));
|
|
1074
1133
|
const ascRows = [...rowsY].reverse();
|
|
1075
1134
|
for (const frag of inside) {
|
|
@@ -1156,7 +1215,7 @@ function alignedTable(frags, page, minRows, dehyphenate, stats, headerRuleY) {
|
|
|
1156
1215
|
rows.slice(0, first).forEach((row) => before.push(...row));
|
|
1157
1216
|
rows.slice(end).forEach((row) => leftover.push(...row));
|
|
1158
1217
|
rows = rows.slice(first, end);
|
|
1159
|
-
if (rows.length < minRows || rows.length >
|
|
1218
|
+
if (rows.length < minRows || rows.length > MAX_TABLE_ROWS2) return null;
|
|
1160
1219
|
const grid = [];
|
|
1161
1220
|
const spansGrid = [];
|
|
1162
1221
|
let prevRow = null;
|
|
@@ -2171,16 +2230,22 @@ export {
|
|
|
2171
2230
|
DEFAULT_DOCX_MAX_IMAGE_SIZE,
|
|
2172
2231
|
DEFAULT_ROW_HEIGHT,
|
|
2173
2232
|
DEFAULT_STYLES,
|
|
2233
|
+
DEFAULT_TABLE_OPTIONS,
|
|
2234
|
+
DEFAULT_TABLE_TOOLBAR,
|
|
2174
2235
|
DEFAULT_ZIP_MAX_ENTRIES,
|
|
2175
2236
|
DEFAULT_ZIP_MAX_TOTAL_SIZE,
|
|
2176
2237
|
DELETION_MARK_NAME,
|
|
2238
|
+
DOCX_ANONYMOUS_AUTHOR,
|
|
2239
|
+
DOCX_EXPORT_MIME_TYPE,
|
|
2177
2240
|
DOCX_MIME_TYPES,
|
|
2178
2241
|
DataSourceBinder,
|
|
2179
2242
|
DependencyGraph,
|
|
2180
2243
|
DirtyTracker,
|
|
2181
2244
|
DocumentCompare,
|
|
2245
|
+
DocxExportController,
|
|
2182
2246
|
EMPTY_CONDITIONAL_FORMAT_OVERLAY,
|
|
2183
2247
|
EMPTY_FIND_REPLACE_SNAPSHOT,
|
|
2248
|
+
EMPTY_TABLE_STATE,
|
|
2184
2249
|
EditorController,
|
|
2185
2250
|
FIELD_ALIASES,
|
|
2186
2251
|
FIND_OPTION_TOGGLES,
|
|
@@ -2205,6 +2270,7 @@ export {
|
|
|
2205
2270
|
Image,
|
|
2206
2271
|
ImportAdapterRegistry,
|
|
2207
2272
|
ImportError,
|
|
2273
|
+
IntervalIndex,
|
|
2208
2274
|
LoadingNode,
|
|
2209
2275
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
2210
2276
|
MAX_DATA_SOURCE_FIELDS,
|
|
@@ -2217,6 +2283,8 @@ export {
|
|
|
2217
2283
|
MAX_MERGE_OUTPUTS,
|
|
2218
2284
|
MAX_NUMBER_FORMAT_CODE_CHARS,
|
|
2219
2285
|
MAX_SHEET_NAME_LENGTH,
|
|
2286
|
+
MAX_TABLE_COLUMNS,
|
|
2287
|
+
MAX_TABLE_ROWS,
|
|
2220
2288
|
MENTION_REGEX,
|
|
2221
2289
|
MOVE_FROM_CLASS,
|
|
2222
2290
|
MOVE_ID_ATTRIBUTE,
|
|
@@ -2232,18 +2300,29 @@ export {
|
|
|
2232
2300
|
RichClipboard,
|
|
2233
2301
|
SMILIE_REPLACEMENTS,
|
|
2234
2302
|
SPREADSHEET_CLIPBOARD_MIME,
|
|
2303
|
+
SPREADSHEET_COLUMN_HEADER_HEIGHT,
|
|
2304
|
+
SPREADSHEET_DEFAULT_VIEWPORT,
|
|
2305
|
+
SPREADSHEET_GROUP_ROW_HEIGHT,
|
|
2235
2306
|
SPREADSHEET_IMPORT_ADAPTERS,
|
|
2307
|
+
SPREADSHEET_ROW_HEADER_WIDTH,
|
|
2236
2308
|
SPREADSHEET_TABLE_ACTIONS,
|
|
2309
|
+
SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD,
|
|
2310
|
+
SPREADSHEET_VIRTUAL_ROW_THRESHOLD,
|
|
2237
2311
|
STYLE_ID_ATTRIBUTE,
|
|
2238
2312
|
SlashCommands,
|
|
2239
2313
|
SmilieReplacer,
|
|
2240
2314
|
SpreadsheetController,
|
|
2241
2315
|
StyleRegistry,
|
|
2316
|
+
TABLE_ACTIONS,
|
|
2242
2317
|
TEMPLATE_DEPTH_ERROR,
|
|
2243
2318
|
TEMPLATE_LOOP_ERROR,
|
|
2244
2319
|
TEMPLATE_REGEX,
|
|
2245
2320
|
TRACK_CHANGES_SKIP_META,
|
|
2321
|
+
Table,
|
|
2322
|
+
TableCell,
|
|
2323
|
+
TableHeader,
|
|
2246
2324
|
TableOfContents,
|
|
2325
|
+
TableRow,
|
|
2247
2326
|
TemplateSuggestions,
|
|
2248
2327
|
TrackChanges,
|
|
2249
2328
|
TrackChangesStore,
|
|
@@ -2252,6 +2331,7 @@ export {
|
|
|
2252
2331
|
TrackedInsertion,
|
|
2253
2332
|
VARIABLE_REGEX,
|
|
2254
2333
|
WHOLE_COLUMN_END_ROW,
|
|
2334
|
+
XmlWriter,
|
|
2255
2335
|
ZipArchive,
|
|
2256
2336
|
ZipError,
|
|
2257
2337
|
adjustRangeForStructuralChange,
|
|
@@ -2260,6 +2340,7 @@ export {
|
|
|
2260
2340
|
analyzePdfLayout,
|
|
2261
2341
|
applyDocumentComparison,
|
|
2262
2342
|
applyFormulaSuggestion,
|
|
2343
|
+
applyImportedReviewData,
|
|
2263
2344
|
applyReplacements,
|
|
2264
2345
|
autocorrectPluginKey,
|
|
2265
2346
|
bindDirtyToHistory,
|
|
@@ -2299,7 +2380,9 @@ export {
|
|
|
2299
2380
|
createCommentStore,
|
|
2300
2381
|
createConditionalFormatRule,
|
|
2301
2382
|
createDirtyTracker,
|
|
2383
|
+
createDocxExportController,
|
|
2302
2384
|
createDocxImportAdapter,
|
|
2385
|
+
createDocxParts,
|
|
2303
2386
|
createEditor,
|
|
2304
2387
|
createFileImportController,
|
|
2305
2388
|
createFindReplaceCommands,
|
|
@@ -2315,6 +2398,9 @@ export {
|
|
|
2315
2398
|
createSearchBudget,
|
|
2316
2399
|
createSpreadsheetClipboardData,
|
|
2317
2400
|
createStyleRegistry,
|
|
2401
|
+
createTableCommands,
|
|
2402
|
+
createTableExtensions,
|
|
2403
|
+
createTableStore,
|
|
2318
2404
|
createZipImportAdapter,
|
|
2319
2405
|
crossReferencePluginKey,
|
|
2320
2406
|
csvImportAdapter,
|
|
@@ -2323,6 +2409,7 @@ export {
|
|
|
2323
2409
|
defaultIconThresholds,
|
|
2324
2410
|
defaultImportRegistry,
|
|
2325
2411
|
defaultIsEqual,
|
|
2412
|
+
deflateRaw,
|
|
2326
2413
|
deleteSheetInFormula,
|
|
2327
2414
|
describeBlockChange,
|
|
2328
2415
|
describeConditionalFormat,
|
|
@@ -2334,21 +2421,28 @@ export {
|
|
|
2334
2421
|
diffChanges,
|
|
2335
2422
|
diffSequences,
|
|
2336
2423
|
documentStructureCommandItems,
|
|
2424
|
+
docxFileName,
|
|
2337
2425
|
docxImportAdapter,
|
|
2338
2426
|
docxToDocumentImport,
|
|
2427
|
+
downloadBlob,
|
|
2339
2428
|
escapeCsvField,
|
|
2340
2429
|
escapeHtml,
|
|
2341
2430
|
escapeVariableText,
|
|
2431
|
+
escapeXmlAttr,
|
|
2432
|
+
escapeXmlText,
|
|
2342
2433
|
evaluateCondition,
|
|
2343
2434
|
evaluateConditionExpression,
|
|
2344
2435
|
evaluateConditionalFormats,
|
|
2345
2436
|
evaluatePromptTokens,
|
|
2346
2437
|
expandReplacement,
|
|
2438
|
+
exportDocx,
|
|
2439
|
+
exportDocxBlob,
|
|
2347
2440
|
extractCellDependencies,
|
|
2348
2441
|
extractInstructionNames,
|
|
2349
2442
|
extractMentions,
|
|
2350
2443
|
extractMentionsFromDoc,
|
|
2351
2444
|
extractNameDependencies,
|
|
2445
|
+
extractReferenceDependencies,
|
|
2352
2446
|
extractTemplateNames,
|
|
2353
2447
|
extractVariableNames,
|
|
2354
2448
|
extractVariables,
|
|
@@ -2382,6 +2476,7 @@ export {
|
|
|
2382
2476
|
formatValueWithCode,
|
|
2383
2477
|
formulaIdentifiers,
|
|
2384
2478
|
fractionRules,
|
|
2479
|
+
fullSpreadsheetViewWindow,
|
|
2385
2480
|
getActiveHeading,
|
|
2386
2481
|
getBookmarks,
|
|
2387
2482
|
getClipboardData,
|
|
@@ -2417,10 +2512,14 @@ export {
|
|
|
2417
2512
|
getSchemaSignature,
|
|
2418
2513
|
getSheetTabMenuItems,
|
|
2419
2514
|
getSpreadsheetMenuItems,
|
|
2515
|
+
getSpreadsheetScrollToCell,
|
|
2516
|
+
getSpreadsheetViewWindow,
|
|
2420
2517
|
getStyleRegistry,
|
|
2421
2518
|
getSuppliedValue,
|
|
2519
|
+
getTableActionState,
|
|
2422
2520
|
getTableOfContentsEntries,
|
|
2423
2521
|
getTableSections,
|
|
2522
|
+
getTableState,
|
|
2424
2523
|
getTemplateBody,
|
|
2425
2524
|
getTrackChangesStore,
|
|
2426
2525
|
getTrackedChangeAt,
|
|
@@ -2443,12 +2542,15 @@ export {
|
|
|
2443
2542
|
isFormulaError,
|
|
2444
2543
|
isFormulaLambda,
|
|
2445
2544
|
isGeneralNumberFormat,
|
|
2545
|
+
isGfmTable,
|
|
2446
2546
|
isInsidePromptToken,
|
|
2447
2547
|
isLambdaDefinition,
|
|
2448
2548
|
isMoveSized,
|
|
2449
2549
|
isParagraphStyleAvailable,
|
|
2450
2550
|
isPromptValueSet,
|
|
2551
|
+
isSelectionInTable,
|
|
2451
2552
|
isSingleCellRange,
|
|
2553
|
+
isTableEnabled,
|
|
2452
2554
|
isTrackChangesEnabled,
|
|
2453
2555
|
isUnsafeZipPath,
|
|
2454
2556
|
isValidStyleId,
|
|
@@ -2462,12 +2564,15 @@ export {
|
|
|
2462
2564
|
matchFields,
|
|
2463
2565
|
matchesFilterRule,
|
|
2464
2566
|
matchesTimePeriod,
|
|
2567
|
+
measureSpreadsheetView,
|
|
2465
2568
|
mergeRecords,
|
|
2466
2569
|
navigateToHeading,
|
|
2467
2570
|
nextSheetName,
|
|
2468
2571
|
normalizeFieldKey,
|
|
2469
2572
|
normalizeFieldNames,
|
|
2470
2573
|
normalizeRange,
|
|
2574
|
+
normalizeTableCellAlignment,
|
|
2575
|
+
normalizeTableCellColor,
|
|
2471
2576
|
numberFormatColorToCss,
|
|
2472
2577
|
numberFormatForCellFormat,
|
|
2473
2578
|
numberToText,
|
|
@@ -2505,6 +2610,7 @@ export {
|
|
|
2505
2610
|
quoteSheetName,
|
|
2506
2611
|
rangeContains,
|
|
2507
2612
|
rangeContainsRange,
|
|
2613
|
+
rangeDependencyKey,
|
|
2508
2614
|
rangesContain,
|
|
2509
2615
|
rangesIntersect,
|
|
2510
2616
|
readRichClipboard,
|
|
@@ -2532,7 +2638,9 @@ export {
|
|
|
2532
2638
|
ruleAnchor,
|
|
2533
2639
|
ruleFormulaAt,
|
|
2534
2640
|
runSpreadsheetMenuItem,
|
|
2641
|
+
runTableAction,
|
|
2535
2642
|
safeCSSValue,
|
|
2643
|
+
sameSpreadsheetViewWindow,
|
|
2536
2644
|
sanitizeHtml,
|
|
2537
2645
|
sanitizeImportedHtml,
|
|
2538
2646
|
searchDocument,
|
|
@@ -2549,10 +2657,13 @@ export {
|
|
|
2549
2657
|
sheetNameNeedsQuotes,
|
|
2550
2658
|
shiftFormulaReferences,
|
|
2551
2659
|
shiftRuleFormula,
|
|
2660
|
+
shouldShowTableBubbleMenu,
|
|
2661
|
+
shouldVirtualizeSpreadsheet,
|
|
2552
2662
|
smartQuoteRules,
|
|
2553
2663
|
smilieAutocorrectRules,
|
|
2554
2664
|
sortCompareValues,
|
|
2555
2665
|
sortZipEntryNames,
|
|
2666
|
+
stripInvalidXmlChars,
|
|
2556
2667
|
stripMarkdownCode,
|
|
2557
2668
|
subtractRange,
|
|
2558
2669
|
subtractRangeFromRanges,
|
|
@@ -2582,6 +2693,7 @@ export {
|
|
|
2582
2693
|
wildcardToRegExp,
|
|
2583
2694
|
withoutDirty,
|
|
2584
2695
|
writeRichClipboard,
|
|
2696
|
+
writeZip,
|
|
2585
2697
|
zipCrc32,
|
|
2586
2698
|
zipEntryTitle,
|
|
2587
2699
|
zipImportAdapter
|