@pixerate/editor 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/agent/index.cjs +59 -9
- 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 +52 -2
- 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-NFVBT3UZ.cjs → chunk-66IMF6OD.cjs} +108 -25
- package/dist/chunk-66IMF6OD.cjs.map +1 -0
- package/dist/{chunk-Q2OHWD2A.js → chunk-6IO7WUSU.js} +19 -5
- package/dist/chunk-6IO7WUSU.js.map +1 -0
- package/dist/{chunk-YOMYSFJU.cjs → chunk-AGR7EVRW.cjs} +49 -35
- package/dist/chunk-AGR7EVRW.cjs.map +1 -0
- package/dist/{chunk-RRREAOVM.cjs → chunk-HNDSPZ5T.cjs} +4 -4
- package/dist/{chunk-RRREAOVM.cjs.map → chunk-HNDSPZ5T.cjs.map} +1 -1
- 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-JOIREKL7.js → chunk-UKI64KUD.js} +85 -2
- package/dist/chunk-UKI64KUD.js.map +1 -0
- package/dist/{chunk-MHEPLBFB.js → chunk-WON34HKM.js} +2 -2
- 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 +23 -5
- 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 +23 -5
- 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 +66 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +46 -6
- package/dist/index.js.map +1 -1
- package/dist/serializers/index.cjs +5 -3
- package/dist/serializers/index.cjs.map +1 -1
- package/dist/serializers/index.d.cts +13 -3
- package/dist/serializers/index.d.ts +13 -3
- package/dist/serializers/index.js +4 -2
- 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-JOIREKL7.js.map +0 -1
- package/dist/chunk-NFVBT3UZ.cjs.map +0 -1
- package/dist/chunk-NQF32I6Z.cjs.map +0 -1
- package/dist/chunk-Q2OHWD2A.js.map +0 -1
- package/dist/chunk-UBCFIABU.js.map +0 -1
- package/dist/chunk-X7HXL2SB.js.map +0 -1
- package/dist/chunk-YOMYSFJU.cjs.map +0 -1
- /package/dist/{chunk-MHEPLBFB.js.map → chunk-WON34HKM.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -2,16 +2,16 @@ import { b as Token } from './tokens-D7yXvUU6.cjs';
|
|
|
2
2
|
export { C as ColorGradient, c as ComparisonOperator, d as ConditionComparison, e as ConditionalKind, I as INSTRUCTION_REGEX, a as PromptDiagnostic, f as PromptDiagnosticCode, g as PromptValue, P as PromptValues, h as TEMPLATE_REGEX, T as Template, i as TemplateVersion, j as TokenType, V as VARIABLE_REGEX, k as instructionRegex, t as templateRegex, v as variableRegex } from './tokens-D7yXvUU6.cjs';
|
|
3
3
|
export { ConditionExpression, ConditionalTagLike, ConditionalTagMatch, DataSourceInput, DataSourceWarning, DataSourceWarningCode, EvaluatedToken, ExtractVariablesOptions, FIELD_ALIASES, FieldMapping, FieldMatch, FieldMatchKind, MAX_DATA_SOURCE_FIELDS, MAX_DATA_SOURCE_RECORDS, MAX_MERGE_LENGTH, MAX_MERGE_OUTPUTS, MatchFieldsOptions, MergeDataSource, MergeDiagnostic, MergeDiagnosticCode, MergeOutput, MergeRecord, MergeRecordsOptions, MergeRecordsResult, MergeSkip, ParseDataSourceOptions, ParsedComparison, ParsedVariableBody, RecordToValuesOptions, ResolvePromptOptions, ResolvePromptResult, TEMPLATE_DEPTH_ERROR, TEMPLATE_LOOP_ERROR, TokenizeResult, VariableDescriptor, VariableFormField, compactVariableValues, compareConditionValues, conditionSubject, describeConditionalTag, detectDelimiter, escapeVariableText, evaluateCondition, evaluateConditionExpression, evaluatePromptTokens, extractVariables, formatComparisonOperand, formatConditionalTag, getLatestVersion, getPromptDiagnostics, getSuppliedValue, getTemplateBody, getVariableFormFields, isPromptValueSet, matchConditionalTags, matchFields, mergeRecords, normalizeFieldKey, normalizeFieldNames, parseComparison, parseConditionExpression, parseDataSource, parseVariableBody, recordToValues, resolvePrompt, serializeMergeOutputs, tokenizePrompt, tokenizePromptWithDiagnostics, unescapeVariableText } from './grammar/index.cjs';
|
|
4
4
|
export { R as ResolveTemplatesOptions, S as SourceMapSegment, e as extractInstructionNames, a as extractTemplateNames, b as extractVariableNames, m as mapRawOffsetToResolved, c as mapResolvedOffsetToRaw, r as resolveTemplates, d as resolveTemplatesWithMapping, f as resolveVariables } from './sourcemap-C8AH3MBQ.cjs';
|
|
5
|
-
import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-
|
|
6
|
-
export { A as
|
|
5
|
+
import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-C6gaQRH0.cjs';
|
|
6
|
+
export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, B as BUILT_IN_IMPORT_ADAPTERS, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as ColorHighlighter, r as CommentRange, s as Comments, t as CommentsOptions, u as CommentsStorage, v as CompileFindPatternResult, w as CompiledFindPattern, x as CreateImportAdapterRegistryOptions, y as CreateStyleFromSelectionOptions, z as CrossReference, E as CrossReferenceOptions, F as CrossReferenceTarget, G as CrossReferenceTargetType, H as DEFAULT_AUTOCORRECT_EXCEPTIONS, I as DEFAULT_TABLE_OPTIONS, J as DEFAULT_TABLE_TOOLBAR, K as DocumentCompare, L as DocumentCompareOptions, M as DocumentCompareStorage, N as DocumentSearchOptions, O as DocumentSearchResult, Q as DocumentStructureCommandArgs, R as DocumentStructureCommandItem, S as EMPTY_FIND_REPLACE_SNAPSHOT, T as EMPTY_TABLE_STATE, U as EditorCompareOptions, V as FIND_OPTION_TOGGLES, W as FIND_PARAGRAPH_MARK, X as FileImport, Y as FileImportOptions, Z as FindAllOptions, _ as FindAllResult, $ as FindMatch, a0 as FindOptionToggle, a1 as FindOptions, a2 as FindPatternError, a3 as FindPatternErrorCode, a4 as FindReplace, a5 as FindReplaceCommandOptions, a6 as FindReplaceMode, a7 as FindReplaceOptions, a8 as FindReplaceSnapshot, a9 as FindReplaceStorage, aa as FindReplaceStore, ab as FocusHeadingOptions, ac as FontSize, ad as Footnote, ae as FootnoteInfo, af as FootnoteReference, ag as Footnotes, ah as FootnotesOptions, ai as GradientText, aj as GradientTextOptions, ak as Image, al as ImageOptions, am as ImportStructureItem, an as ImportStructureReport, ao as InsertFootnoteOptions, ap as InsertTableOfContentsOptions, aq as LoadingNode, ar as MAX_FIND_PATTERN_LENGTH, as as MAX_TABLE_COLUMNS, at as MAX_TABLE_ROWS, au as Markdown, av as OpenFindReplaceParams, aw as Outline, ax as OutlineHeading, ay as OutlineOptions, az as OutlineSnapshot, aA as OutlineStorage, aB as OutlineStore, aC as OutlineTreeItem, aD as ParagraphStyles, aE as ParagraphStylesOptions, aF as ParagraphStylesSnapshot, aG as ParagraphStylesStorage, aH as ParagraphStylesStore, aI as PatternMatch, aJ as PdfLayoutBlock, aK as PdfLayoutPage, aL as PdfLayoutResult, aM as PdfTableCell, aN as ReplacePiece, aO as RichClipboard, aP as RichClipboardOptions, aQ as RichClipboardStorage, aR as RichTextPresetCommandPackages, aS as RichTextPresetOptions, aT as RichTextTableOptions, aU as RunTableActionOptions, aV as SMILIE_REPLACEMENTS, aW as STYLE_ID_ATTRIBUTE, aX as SearchBudget, aY as SearchBudgetOptions, aZ as SetBookmarkOptions, a_ as SetSearchParams, a$ as SlashCommandMatchData, b0 as SlashCommands, b1 as SlashCommandsOptions, b2 as SmilieReplacer, b3 as TABLE_ACTIONS, b4 as Table, b5 as TableAction, b6 as TableActionInfo, b7 as TableActionParams, b8 as TableActionStatus, b9 as TableCell, ba as TableCellAlignment, bb as TableCommandOptions, bc as TableHeader, bd as TableOfContents, be as TableOfContentsEntry, bf as TableOfContentsOptions, bg as TableRow, bh as TableState, bi as TableStore, bj as TableToolbarItem, bk as TemplateSuggestions, bl as TemplateSuggestionsOptions, bm as analyzePdfLayout, bn as applyDocumentComparison, bo as applyReplacements, bp as autocorrectPluginKey, bq as buildOutlineTree, br as capitalizeSentenceRules, bs as captureSelectionFormat, bt as commentsPluginKey, bu as compareInEditor, bv as compileFindPattern, bw as computeOutline, bx as createFindReplaceCommands, by as createImportAdapterRegistry, bz as createOutlineStore, bA as createParagraphStylesStore, bB as createRichTextPreset, bC as createSearchBudget, bD as createTableCommands, bE as createTableExtensions, bF as createTableNestingPlugin, bG as createTableStore, bH as crossReferencePluginKey, bI as defaultAutocorrectRules, bJ as defaultImportRegistry, bK as documentStructureCommandItems, bL as expandReplacement, bM as fileImportPluginKey, bN as findAllMatches, bO as findAutocorrection, bP as findCommentRanges, bQ as findHexColors, bR as findImportAdapter, bS as findReplacePluginKey, bT as foldCodePoint, bU as footnotesMarkdownIt, bV as footnotesPluginKey, bW as formatFindStatus, bX as fractionRules, bY as getActiveHeading, bZ as getBookmarks, b_ as getCommentAnchors, b$ as getCommentAuthor, c0 as getCommentIdsAt, c1 as getCommentStore, c2 as getCrossReferenceTargets, c3 as getDocumentStructureCommandItems, c4 as getFindReplaceState, c5 as getFindReplaceStore, c6 as getFootnotes, c7 as getImportAccept, c8 as getOutline, c9 as getParagraphStyleAt, ca as getStyleRegistry, cb as getTableActionState, cc as getTableOfContentsEntries, cd as getTableState, ce as handleImageInsertion, cf as handleTablePasteWithoutNesting, cg as htmlImportAdapter, ch as imagePastePluginKey, ci as importFile, cj as insertImageNode, ck as insertSliceAfterTable, cl as isGfmTable, cm as isInTableCell, cn as isInsidePromptToken, co as isParagraphStyleAvailable, cp as isSelectionInTable, cq as isTableEnabled, cr as markdownImportAdapter, cs as navigateToHeading, ct as normalizeTableCellAlignment, cu as normalizeTableCellColor, cv as outermostTableDepth, cw as outlinePluginKey, cx as paragraphStylesPluginKey, cy as parseReplacement, cz as pdfLayoutBlocksToHtml, cA as plainTextImportAdapter, cB as registerImportAdapter, cC as removeImageNode, cD as richClipboardPluginKey, cE as rtfImportAdapter, cF as runTableAction, cG as searchDocument, cH as shouldShowTableBubbleMenu, cI as sliceContainsTable, cJ as smartQuoteRules, cK as smilieAutocorrectRules, cL as symbolRules, cM as syncFootnotes, cN as tableNestingPluginKey, cO as tableOfContentsMarkdownIt, cP as tableOfContentsPluginKey, cQ as twoInitialCapitalsRules, cR as unnestTables, cS as unregisterImportAdapter, cT as updateImageSrc, cU as validateFindPattern, cV as writeRichClipboard } from './index-C6gaQRH0.cjs';
|
|
7
7
|
export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from './track-changes-D_VAPELi.cjs';
|
|
8
8
|
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from './comment-store-BEMgVlAA.cjs';
|
|
9
9
|
export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from './registry-CED5C0lA.cjs';
|
|
10
|
-
export { ClipboardDataLike, ExtractMentionsOptions, ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MarkdownToHtmlOptions, MentionDetail, MentionSegment, PIXERATE_DOCUMENT_MIME, PlainTextOptions, PreprocessMarkdownMentionsOptions, RichClipboardPayload, SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, stripMarkdownCode } from './serializers/index.cjs';
|
|
10
|
+
export { ClipboardDataLike, ExtractMentionsOptions, ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MarkdownToHtmlOptions, MentionDetail, MentionSegment, PIXERATE_DOCUMENT_MIME, PlainTextOptions, PreprocessMarkdownMentionsOptions, RichClipboardPayload, SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, splitMarkdownMentionParts, stripMarkdownCode } from './serializers/index.cjs';
|
|
11
11
|
import { Editor, EditorOptions, Content, Extensions } from '@tiptap/core';
|
|
12
12
|
export { Content, Editor, EditorOptions, Extensions } from '@tiptap/core';
|
|
13
|
-
export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula } from './controller-
|
|
14
|
-
export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, subtractRange, subtractRangeFromRanges, toNumber, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.cjs';
|
|
13
|
+
export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula, bs as transposeFormulaReferences } from './controller-w6eRTjF8.cjs';
|
|
14
|
+
export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, mapConditionalFormatFormulas, mapDataValidationFormulas, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, mergeRuleRanges, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, reanchorRuleFormula, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, sortRuleRanges, sortRules, subtractRange, subtractRangeFromRanges, toNumber, transposeRuleFormula, transposeRuleRanges, transposeRules, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.cjs';
|
|
15
15
|
export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, HistoryManager, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from './history/index.cjs';
|
|
16
16
|
export { C as Command, a as HistoryEntry, b as HistoryManagerOptions, c as HistoryMark, H as HistoryState, M as MergedExecutionOptions, S as SnapshotCommandOptions } from './types-GT5a5YAX.cjs';
|
|
17
17
|
import { I as ImportAdapterRegistry, a as ImportOutcome, F as FileLike, b as ImportAdapter } from './registry-CEgwXED1.cjs';
|
|
@@ -150,7 +150,9 @@ interface InsertImportedDocumentOptions {
|
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* Inserts an imported document into an editor as one transaction and returns
|
|
153
|
-
* the position right after the inserted content.
|
|
153
|
+
* the position right after the inserted content. Content with a table that
|
|
154
|
+
* would land in a table cell is inserted after the outermost table instead
|
|
155
|
+
* (tables are never nested).
|
|
154
156
|
*/
|
|
155
157
|
declare function insertImportedDocument(target: ImportEditorTarget, content: DocumentImport, options?: InsertImportedDocumentOptions): number;
|
|
156
158
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import { b as Token } from './tokens-D7yXvUU6.js';
|
|
|
2
2
|
export { C as ColorGradient, c as ComparisonOperator, d as ConditionComparison, e as ConditionalKind, I as INSTRUCTION_REGEX, a as PromptDiagnostic, f as PromptDiagnosticCode, g as PromptValue, P as PromptValues, h as TEMPLATE_REGEX, T as Template, i as TemplateVersion, j as TokenType, V as VARIABLE_REGEX, k as instructionRegex, t as templateRegex, v as variableRegex } from './tokens-D7yXvUU6.js';
|
|
3
3
|
export { ConditionExpression, ConditionalTagLike, ConditionalTagMatch, DataSourceInput, DataSourceWarning, DataSourceWarningCode, EvaluatedToken, ExtractVariablesOptions, FIELD_ALIASES, FieldMapping, FieldMatch, FieldMatchKind, MAX_DATA_SOURCE_FIELDS, MAX_DATA_SOURCE_RECORDS, MAX_MERGE_LENGTH, MAX_MERGE_OUTPUTS, MatchFieldsOptions, MergeDataSource, MergeDiagnostic, MergeDiagnosticCode, MergeOutput, MergeRecord, MergeRecordsOptions, MergeRecordsResult, MergeSkip, ParseDataSourceOptions, ParsedComparison, ParsedVariableBody, RecordToValuesOptions, ResolvePromptOptions, ResolvePromptResult, TEMPLATE_DEPTH_ERROR, TEMPLATE_LOOP_ERROR, TokenizeResult, VariableDescriptor, VariableFormField, compactVariableValues, compareConditionValues, conditionSubject, describeConditionalTag, detectDelimiter, escapeVariableText, evaluateCondition, evaluateConditionExpression, evaluatePromptTokens, extractVariables, formatComparisonOperand, formatConditionalTag, getLatestVersion, getPromptDiagnostics, getSuppliedValue, getTemplateBody, getVariableFormFields, isPromptValueSet, matchConditionalTags, matchFields, mergeRecords, normalizeFieldKey, normalizeFieldNames, parseComparison, parseConditionExpression, parseDataSource, parseVariableBody, recordToValues, resolvePrompt, serializeMergeOutputs, tokenizePrompt, tokenizePromptWithDiagnostics, unescapeVariableText } from './grammar/index.js';
|
|
4
4
|
export { R as ResolveTemplatesOptions, S as SourceMapSegment, e as extractInstructionNames, a as extractTemplateNames, b as extractVariableNames, m as mapRawOffsetToResolved, c as mapResolvedOffsetToRaw, r as resolveTemplates, d as resolveTemplatesWithMapping, f as resolveVariables } from './sourcemap-DA1Evhrv.js';
|
|
5
|
-
import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-
|
|
6
|
-
export { A as
|
|
5
|
+
import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-DXAv_R08.js';
|
|
6
|
+
export { A as ALLOW_NESTED_TABLES_META, e as AddCommentOptions, f as Autocorrect, g as AutocorrectContext, h as AutocorrectCorrection, i as AutocorrectOptions, j as AutocorrectRule, k as AutocorrectStorage, B as BUILT_IN_IMPORT_ADAPTERS, l as Bookmark, m as BookmarkInfo, n as BookmarkOptions, C as CHARACTER_STYLE_MARK_NAME, o as COMMENT_MARK_NAME, p as CharacterStyle, q as ColorHighlighter, r as CommentRange, s as Comments, t as CommentsOptions, u as CommentsStorage, v as CompileFindPatternResult, w as CompiledFindPattern, x as CreateImportAdapterRegistryOptions, y as CreateStyleFromSelectionOptions, z as CrossReference, E as CrossReferenceOptions, F as CrossReferenceTarget, G as CrossReferenceTargetType, H as DEFAULT_AUTOCORRECT_EXCEPTIONS, I as DEFAULT_TABLE_OPTIONS, J as DEFAULT_TABLE_TOOLBAR, K as DocumentCompare, L as DocumentCompareOptions, M as DocumentCompareStorage, N as DocumentSearchOptions, O as DocumentSearchResult, Q as DocumentStructureCommandArgs, R as DocumentStructureCommandItem, S as EMPTY_FIND_REPLACE_SNAPSHOT, T as EMPTY_TABLE_STATE, U as EditorCompareOptions, V as FIND_OPTION_TOGGLES, W as FIND_PARAGRAPH_MARK, X as FileImport, Y as FileImportOptions, Z as FindAllOptions, _ as FindAllResult, $ as FindMatch, a0 as FindOptionToggle, a1 as FindOptions, a2 as FindPatternError, a3 as FindPatternErrorCode, a4 as FindReplace, a5 as FindReplaceCommandOptions, a6 as FindReplaceMode, a7 as FindReplaceOptions, a8 as FindReplaceSnapshot, a9 as FindReplaceStorage, aa as FindReplaceStore, ab as FocusHeadingOptions, ac as FontSize, ad as Footnote, ae as FootnoteInfo, af as FootnoteReference, ag as Footnotes, ah as FootnotesOptions, ai as GradientText, aj as GradientTextOptions, ak as Image, al as ImageOptions, am as ImportStructureItem, an as ImportStructureReport, ao as InsertFootnoteOptions, ap as InsertTableOfContentsOptions, aq as LoadingNode, ar as MAX_FIND_PATTERN_LENGTH, as as MAX_TABLE_COLUMNS, at as MAX_TABLE_ROWS, au as Markdown, av as OpenFindReplaceParams, aw as Outline, ax as OutlineHeading, ay as OutlineOptions, az as OutlineSnapshot, aA as OutlineStorage, aB as OutlineStore, aC as OutlineTreeItem, aD as ParagraphStyles, aE as ParagraphStylesOptions, aF as ParagraphStylesSnapshot, aG as ParagraphStylesStorage, aH as ParagraphStylesStore, aI as PatternMatch, aJ as PdfLayoutBlock, aK as PdfLayoutPage, aL as PdfLayoutResult, aM as PdfTableCell, aN as ReplacePiece, aO as RichClipboard, aP as RichClipboardOptions, aQ as RichClipboardStorage, aR as RichTextPresetCommandPackages, aS as RichTextPresetOptions, aT as RichTextTableOptions, aU as RunTableActionOptions, aV as SMILIE_REPLACEMENTS, aW as STYLE_ID_ATTRIBUTE, aX as SearchBudget, aY as SearchBudgetOptions, aZ as SetBookmarkOptions, a_ as SetSearchParams, a$ as SlashCommandMatchData, b0 as SlashCommands, b1 as SlashCommandsOptions, b2 as SmilieReplacer, b3 as TABLE_ACTIONS, b4 as Table, b5 as TableAction, b6 as TableActionInfo, b7 as TableActionParams, b8 as TableActionStatus, b9 as TableCell, ba as TableCellAlignment, bb as TableCommandOptions, bc as TableHeader, bd as TableOfContents, be as TableOfContentsEntry, bf as TableOfContentsOptions, bg as TableRow, bh as TableState, bi as TableStore, bj as TableToolbarItem, bk as TemplateSuggestions, bl as TemplateSuggestionsOptions, bm as analyzePdfLayout, bn as applyDocumentComparison, bo as applyReplacements, bp as autocorrectPluginKey, bq as buildOutlineTree, br as capitalizeSentenceRules, bs as captureSelectionFormat, bt as commentsPluginKey, bu as compareInEditor, bv as compileFindPattern, bw as computeOutline, bx as createFindReplaceCommands, by as createImportAdapterRegistry, bz as createOutlineStore, bA as createParagraphStylesStore, bB as createRichTextPreset, bC as createSearchBudget, bD as createTableCommands, bE as createTableExtensions, bF as createTableNestingPlugin, bG as createTableStore, bH as crossReferencePluginKey, bI as defaultAutocorrectRules, bJ as defaultImportRegistry, bK as documentStructureCommandItems, bL as expandReplacement, bM as fileImportPluginKey, bN as findAllMatches, bO as findAutocorrection, bP as findCommentRanges, bQ as findHexColors, bR as findImportAdapter, bS as findReplacePluginKey, bT as foldCodePoint, bU as footnotesMarkdownIt, bV as footnotesPluginKey, bW as formatFindStatus, bX as fractionRules, bY as getActiveHeading, bZ as getBookmarks, b_ as getCommentAnchors, b$ as getCommentAuthor, c0 as getCommentIdsAt, c1 as getCommentStore, c2 as getCrossReferenceTargets, c3 as getDocumentStructureCommandItems, c4 as getFindReplaceState, c5 as getFindReplaceStore, c6 as getFootnotes, c7 as getImportAccept, c8 as getOutline, c9 as getParagraphStyleAt, ca as getStyleRegistry, cb as getTableActionState, cc as getTableOfContentsEntries, cd as getTableState, ce as handleImageInsertion, cf as handleTablePasteWithoutNesting, cg as htmlImportAdapter, ch as imagePastePluginKey, ci as importFile, cj as insertImageNode, ck as insertSliceAfterTable, cl as isGfmTable, cm as isInTableCell, cn as isInsidePromptToken, co as isParagraphStyleAvailable, cp as isSelectionInTable, cq as isTableEnabled, cr as markdownImportAdapter, cs as navigateToHeading, ct as normalizeTableCellAlignment, cu as normalizeTableCellColor, cv as outermostTableDepth, cw as outlinePluginKey, cx as paragraphStylesPluginKey, cy as parseReplacement, cz as pdfLayoutBlocksToHtml, cA as plainTextImportAdapter, cB as registerImportAdapter, cC as removeImageNode, cD as richClipboardPluginKey, cE as rtfImportAdapter, cF as runTableAction, cG as searchDocument, cH as shouldShowTableBubbleMenu, cI as sliceContainsTable, cJ as smartQuoteRules, cK as smilieAutocorrectRules, cL as symbolRules, cM as syncFootnotes, cN as tableNestingPluginKey, cO as tableOfContentsMarkdownIt, cP as tableOfContentsPluginKey, cQ as twoInitialCapitalsRules, cR as unnestTables, cS as unregisterImportAdapter, cT as updateImageSrc, cU as validateFindPattern, cV as writeRichClipboard } from './index-DXAv_R08.js';
|
|
7
7
|
export { B as BLOCK_CHANGE_ATTRIBUTE, D as DELETION_MARK_NAME, F as FORMAT_CHANGE_MARK_NAME, I as INSERTION_MARK_NAME, M as MOVE_FROM_CLASS, a as MOVE_ID_ATTRIBUTE, b as MOVE_TO_CLASS, c as Mention, d as MentionEntity, e as MentionNodeInfo, f as MentionOptions, T as TRACK_CHANGES_SKIP_META, g as TrackChanges, h as TrackChangesOptions, i as TrackChangesSnapshot, j as TrackChangesStorage, k as TrackChangesStore, l as TrackedBlockChangeAttributes, m as TrackedBlockOperation, n as TrackedBlockSnapshot, o as TrackedChange, p as TrackedChangeAttributes, q as TrackedChangeType, r as TrackedChangesView, s as TrackedDeletion, t as TrackedFormatChange, u as TrackedFormatChangeAttributes, v as TrackedFormatSummary, w as TrackedInsertion, x as TrackedMark, y as createMentionExtension, z as describeBlockChange, A as describeFormatChange, C as getMentionNodes, E as getTrackChangesStore, G as getTrackedChangeAt, H as getTrackedChanges, J as isMoveSized, K as isTrackChangesEnabled, L as resolveTrackedChanges, N as setMentionRoleAt, O as trackChangesPluginKey, P as trackedChangeLabel } from './track-changes-Db_fGEvx.js';
|
|
8
8
|
export { C as CommentAnchor, a as CommentReply, b as CommentStore, c as CommentStoreListener, d as CommentStoreOptions, e as CommentStoreSnapshot, f as CommentThread, g as CreateThreadInput, R as ReviewAuthor, S as SerializedComments, h as createCommentStore, i as createReviewId, j as formatReviewTime } from './comment-store-BEMgVlAA.js';
|
|
9
9
|
export { C as CharacterFormat, D as DEFAULT_STYLES, N as NORMAL_STYLE_ID, P as ParagraphFormat, R as ResolvedStyle, S as StyleBlock, a as StyleCSSOptions, b as StyleDefaults, c as StyleDefinition, d as StyleKind, e as StyleRegistry, f as StyleRegistryJSON, g as StyleRegistryOptions, h as StyleRegistrySnapshot, i as createStyleRegistry, j as isValidStyleId, s as safeCSSValue } from './registry-CED5C0lA.js';
|
|
10
|
-
export { ClipboardDataLike, ExtractMentionsOptions, ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MarkdownToHtmlOptions, MentionDetail, MentionSegment, PIXERATE_DOCUMENT_MIME, PlainTextOptions, PreprocessMarkdownMentionsOptions, RichClipboardPayload, SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, stripMarkdownCode } from './serializers/index.js';
|
|
10
|
+
export { ClipboardDataLike, ExtractMentionsOptions, ExtractedMention, MARKDOWN_MENTION_SPLIT_REGEX, MarkdownToHtmlOptions, MentionDetail, MentionSegment, PIXERATE_DOCUMENT_MIME, PlainTextOptions, PreprocessMarkdownMentionsOptions, RichClipboardPayload, SanitizeHtmlOptions, escapeHtml, extractMentions, extractMentionsFromDoc, getClipboardData, getEditorMarkdown, getEditorText, getSchemaSignature, htmlToPlainText, markdownToTipTapHtml, parseMentionSegments, parseRichClipboardPayload, plainTextToParagraphHtml, plainTextToSlice, plainTextToTipTapHtml, preprocessMarkdownFileLinks, preprocessMarkdownMentions, readRichClipboard, rtfToPlainText, sanitizeHtml, sanitizeImportedHtml, serializeRichClipboardPayload, splitMarkdownMentionParts, stripMarkdownCode } from './serializers/index.js';
|
|
11
11
|
import { Editor, EditorOptions, Content, Extensions } from '@tiptap/core';
|
|
12
12
|
export { Content, Editor, EditorOptions, Extensions } from '@tiptap/core';
|
|
13
|
-
export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula } from './controller-
|
|
14
|
-
export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, subtractRange, subtractRangeFromRanges, toNumber, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.js';
|
|
13
|
+
export { A as ASTNode, B as BinaryOpNode, C as CellCoordinate, a as CellData, b as CellDep, c as CellFormat, d as CellPosition, e as CellRange, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, j as ConditionalCellFormat, k as ConditionalFormatCondition, l as ConditionalFormatIconSet, m as ConditionalFormatOperator, n as ConditionalFormatOverlay, o as ConditionalFormatRule, p as ConditionalFormatSheet, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, s as ConditionalFormatType, t as ConditionalFormatValue, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, y as DataValidationErrorStyle, z as DataValidationOperator, E as DataValidationResult, F as DataValidationRule, G as DataValidationSheet, H as DataValidationType, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, N as FilterRule, O as FormulaDiagnostic, P as FormulaErrorCode, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, V as FormulaRange, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, $ as GroupAggregate, a0 as GroupSummary, a1 as IntervalIndex, a2 as InvokeNode, a3 as LiteralNode, a4 as MAX_FORMULA_ARRAY_SIZE, a5 as MissingNode, a6 as NameDep, a7 as NameNode, a8 as NewConditionalFormatRule, a9 as NewDataValidationRule, aa as NewFilterRule, ab as ParsedSpreadsheetClipboard, ac as PropertyRefNode, ad as RangeNode, ae as RangeResolveOptions, af as ReferenceDep, ag as RowType, ah as SPREADSHEET_CLIPBOARD_MIME, ai as SheetQualifier, aj as SortDirection, ak as SortKey, al as SpillRefNode, am as SpreadsheetCellSpan, an as SpreadsheetClipboardCell, ao as SpreadsheetClipboardData, ap as SpreadsheetClipboardPayload, aq as SpreadsheetClipboardSource, ar as SpreadsheetColumn, as as SpreadsheetCommitResult, S as SpreadsheetController, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, aw as SpreadsheetDefinedName, ax as SpreadsheetDocument, ay as SpreadsheetFilterState, az as SpreadsheetGrouping, aA as SpreadsheetNameInfo, aB as SpreadsheetNameScope, aC as SpreadsheetRecalculationStats, aD as SpreadsheetRow, aE as SpreadsheetRowGroup, aF as SpreadsheetRowSection, aG as SpreadsheetSheetInfo, aH as SpreadsheetSpill, aI as SpreadsheetTableSettings, aJ as SpreadsheetValidationAction, aK as SpreadsheetValidationPrompt, aL as SpreadsheetViewColumn, aM as SpreadsheetViewModel, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, aP as StructuralChange, aQ as UnaryOpNode, aR as WHOLE_COLUMN_END_ROW, aS as buildSpreadsheetView, aT as colNameToIndex, aU as columnDependencyKey, aV as compareNumbers, aW as compareValues, aX as computeRowGroups, aY as createSpreadsheetClipboardData, aZ as deleteSheetInFormula, a_ as describeFormulaError, a$ as extractCellDependencies, b0 as extractNameDependencies, b1 as extractReferenceDependencies, b2 as formatSheetPrefix, b3 as formulaIdentifiers, b4 as getRowSection, b5 as getTableSections, b6 as indexToColName, b7 as isFormulaError, b8 as mapFormulaReferences, b9 as numberToText, ba as offsetFormulaReferences, bb as parseCellReference, bc as parseFormula, bd as parseHtmlTable, be as parseRange, bf as quoteSheetName, bg as rangeDependencyKey, bh as readSpreadsheetClipboard, bi as rebaseClipboardRows, bj as remapFormulaReferences, bk as renameNameInFormula, bl as renameSheetInFormula, bm as rowPassesFilters, bn as serializeHtmlTable, bo as sheetNameNeedsQuotes, bp as shiftFormulaReferences, bq as sortCompareValues, br as tokenizeFormula, bs as transposeFormulaReferences } from './controller-w6eRTjF8.js';
|
|
14
|
+
export { CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellInputFormatKind, ConditionalFormatCss, ConditionalFormatEngine, ConditionalFormatIconGlyph, ConditionalFormatPresetField, ConditionalFormatPresetInfo, ConditionalFormatPresetInput, ConditionalFormatPresetKind, CsvParseOptions, CsvSerializeOptions, DATA_VALIDATION_ERROR_STYLE_OPTIONS, DATA_VALIDATION_OPERATOR_OPTIONS, DATA_VALIDATION_TYPE_OPTIONS, DEFAULT_CONDITIONAL_FORMAT_STYLE, DEFAULT_DATA_VALIDATION_MESSAGE, DEFAULT_DATA_VALIDATION_TITLE, EMPTY_CONDITIONAL_FORMAT_OVERLAY, FillDirection, FormattedNumberValue, FormulaActiveCall, FormulaArgument, FormulaArgumentSpec, FormulaArgumentType, FormulaCaretContext, FormulaCriteriaPredicate, FormulaEnvironment, FormulaFunctionCategory, FormulaFunctionContext, FormulaFunctionDefinition, FormulaFunctionSuggestion, FormulaHints, FormulaLambda, FormulaNameSuggestionSource, FormulaSignaturePart, ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NumberFormat, NumberFormatColor, NumberFormatKind, NumberFormatPreset, ParsedCellInput, SPREADSHEET_COLUMN_HEADER_HEIGHT, SPREADSHEET_DEFAULT_VIEWPORT, SPREADSHEET_GROUP_ROW_HEIGHT, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_ROW_HEADER_WIDTH, SPREADSHEET_TABLE_ACTIONS, SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD, SPREADSHEET_VIRTUAL_ROW_THRESHOLD, SpreadsheetImport, SpreadsheetImportAdapter, SpreadsheetMenuItem, SpreadsheetNameRow, SpreadsheetPanelId, SpreadsheetTableActionName, SpreadsheetTableActions, SpreadsheetViewMetrics, SpreadsheetViewWindow, SpreadsheetViewWindowOptions, SpreadsheetViewport, adjustRangeForStructuralChange, adjustRangesForStructuralChange, aggregateValues, applyFormulaSuggestion, bindSpreadsheetTableActions, blendConditionalFormatColors, builtinNumberFormat, builtinNumberFormatId, cellFormatForNumberFormat, checkFormulaArgumentCount, clampMenuPosition, clearNumberFormatCache, compareCellValues, computeFillTarget, conditionalFormatContrastColor, conditionalFormatIconCount, conditionalFormatNumber, conditionalFormatStyleString, copySheetName, createConditionalFormatRule, csvImportAdapter, dateValueToSerial, defaultIconThresholds, describeConditionalFormat, describeDataValidation, escapeCsvField, evaluateConditionalFormats, fillSeries, findDataValidation, findInvalidCells, forEachRangeCell, formatCellDisplay, formatCellForDisplay, formatGeneralFit, formatNumberFormatValue, formatRuleRanges, formatTextFunction, formatValueWithCode, fullSpreadsheetViewWindow, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getSpreadsheetScrollToCell, getSpreadsheetViewWindow, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, mapConditionalFormatFormulas, mapDataValidationFormulas, matchesFilterRule, matchesTimePeriod, measureSpreadsheetView, mergeRuleRanges, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, reanchorRuleFormula, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, sameSpreadsheetViewWindow, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, shouldVirtualizeSpreadsheet, sortRuleRanges, sortRules, subtractRange, subtractRangeFromRanges, toNumber, transposeRuleFormula, transposeRuleRanges, transposeRules, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp } from './spreadsheet/index.js';
|
|
15
15
|
export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, HistoryManager, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from './history/index.js';
|
|
16
16
|
export { C as Command, a as HistoryEntry, b as HistoryManagerOptions, c as HistoryMark, H as HistoryState, M as MergedExecutionOptions, S as SnapshotCommandOptions } from './types-GT5a5YAX.js';
|
|
17
17
|
import { I as ImportAdapterRegistry, a as ImportOutcome, F as FileLike, b as ImportAdapter } from './registry-CEgwXED1.js';
|
|
@@ -150,7 +150,9 @@ interface InsertImportedDocumentOptions {
|
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
152
|
* Inserts an imported document into an editor as one transaction and returns
|
|
153
|
-
* the position right after the inserted content.
|
|
153
|
+
* the position right after the inserted content. Content with a table that
|
|
154
|
+
* would land in a table cell is inserted after the outermost table instead
|
|
155
|
+
* (tables are never nested).
|
|
154
156
|
*/
|
|
155
157
|
declare function insertImportedDocument(target: ImportEditorTarget, content: DocumentImport, options?: InsertImportedDocumentOptions): number;
|
|
156
158
|
/**
|
package/dist/index.js
CHANGED
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
updateImageSrc,
|
|
185
185
|
validateFindPattern,
|
|
186
186
|
writeRichClipboard
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-6IO7WUSU.js";
|
|
188
188
|
import {
|
|
189
189
|
compareDocuments,
|
|
190
190
|
compareHtml,
|
|
@@ -240,7 +240,7 @@ import {
|
|
|
240
240
|
rtfToPlainText,
|
|
241
241
|
sanitizeImportedHtml,
|
|
242
242
|
serializeRichClipboardPayload
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-WON34HKM.js";
|
|
244
244
|
import {
|
|
245
245
|
CONDITIONAL_FORMAT_ICON_SETS,
|
|
246
246
|
CONDITIONAL_FORMAT_PRESETS,
|
|
@@ -331,10 +331,13 @@ import {
|
|
|
331
331
|
isGeneralNumberFormat,
|
|
332
332
|
isLambdaDefinition,
|
|
333
333
|
isSingleCellRange,
|
|
334
|
+
mapConditionalFormatFormulas,
|
|
335
|
+
mapDataValidationFormulas,
|
|
334
336
|
mapFormulaReferences,
|
|
335
337
|
matchesFilterRule,
|
|
336
338
|
matchesTimePeriod,
|
|
337
339
|
measureSpreadsheetView,
|
|
340
|
+
mergeRuleRanges,
|
|
338
341
|
nextSheetName,
|
|
339
342
|
normalizeRange,
|
|
340
343
|
numberFormatForCellFormat,
|
|
@@ -348,6 +351,7 @@ import {
|
|
|
348
351
|
rangesContain,
|
|
349
352
|
rangesIntersect,
|
|
350
353
|
readSpreadsheetClipboard,
|
|
354
|
+
reanchorRuleFormula,
|
|
351
355
|
rebaseClipboardRows,
|
|
352
356
|
registerSpreadsheetImportAdapters,
|
|
353
357
|
remapFormulaReferences,
|
|
@@ -365,14 +369,20 @@ import {
|
|
|
365
369
|
shiftFormulaReferences,
|
|
366
370
|
shiftRuleFormula,
|
|
367
371
|
shouldVirtualizeSpreadsheet,
|
|
372
|
+
sortRuleRanges,
|
|
373
|
+
sortRules,
|
|
368
374
|
subtractRange,
|
|
369
375
|
subtractRangeFromRanges,
|
|
370
376
|
toNumber,
|
|
377
|
+
transposeFormulaReferences,
|
|
378
|
+
transposeRuleFormula,
|
|
379
|
+
transposeRuleRanges,
|
|
380
|
+
transposeRules,
|
|
371
381
|
tsvImportAdapter,
|
|
372
382
|
validateCellInput,
|
|
373
383
|
validateDefinedName,
|
|
374
384
|
validateSheetName
|
|
375
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-JT7AXQTE.js";
|
|
376
386
|
import {
|
|
377
387
|
escapeCsvField,
|
|
378
388
|
parseCsv,
|
|
@@ -390,6 +400,7 @@ import {
|
|
|
390
400
|
withoutDirty
|
|
391
401
|
} from "./chunk-2H7ZHPEJ.js";
|
|
392
402
|
import {
|
|
403
|
+
ALLOW_NESTED_TABLES_META,
|
|
393
404
|
DEFAULT_TABLE_OPTIONS,
|
|
394
405
|
DEFAULT_TABLE_TOOLBAR,
|
|
395
406
|
EMPTY_TABLE_STATE,
|
|
@@ -401,17 +412,25 @@ import {
|
|
|
401
412
|
TableHeader,
|
|
402
413
|
TableRow,
|
|
403
414
|
createTableExtensions,
|
|
415
|
+
createTableNestingPlugin,
|
|
404
416
|
createTableStore,
|
|
405
417
|
getTableActionState,
|
|
406
418
|
getTableState,
|
|
419
|
+
handleTablePasteWithoutNesting,
|
|
420
|
+
insertSliceAfterTable,
|
|
407
421
|
isGfmTable,
|
|
422
|
+
isInTableCell,
|
|
408
423
|
isSelectionInTable,
|
|
409
424
|
isTableEnabled,
|
|
410
425
|
normalizeTableCellAlignment,
|
|
411
426
|
normalizeTableCellColor,
|
|
427
|
+
outermostTableDepth,
|
|
412
428
|
runTableAction,
|
|
413
|
-
shouldShowTableBubbleMenu
|
|
414
|
-
|
|
429
|
+
shouldShowTableBubbleMenu,
|
|
430
|
+
sliceContainsTable,
|
|
431
|
+
tableNestingPluginKey,
|
|
432
|
+
unnestTables
|
|
433
|
+
} from "./chunk-5H2OPMXZ.js";
|
|
415
434
|
import {
|
|
416
435
|
MARKDOWN_MENTION_SPLIT_REGEX,
|
|
417
436
|
escapeHtml,
|
|
@@ -427,8 +446,9 @@ import {
|
|
|
427
446
|
preprocessMarkdownFileLinks,
|
|
428
447
|
preprocessMarkdownMentions,
|
|
429
448
|
sanitizeHtml,
|
|
449
|
+
splitMarkdownMentionParts,
|
|
430
450
|
stripMarkdownCode
|
|
431
|
-
} from "./chunk-
|
|
451
|
+
} from "./chunk-UKI64KUD.js";
|
|
432
452
|
import {
|
|
433
453
|
MENTION_REGEX,
|
|
434
454
|
findTextMentions,
|
|
@@ -2203,6 +2223,7 @@ function createZipImportAdapter(options = {}) {
|
|
|
2203
2223
|
}
|
|
2204
2224
|
var zipImportAdapter = createZipImportAdapter();
|
|
2205
2225
|
export {
|
|
2226
|
+
ALLOW_NESTED_TABLES_META,
|
|
2206
2227
|
Autocorrect,
|
|
2207
2228
|
BLOCK_CHANGE_ATTRIBUTE,
|
|
2208
2229
|
BUILT_IN_IMPORT_ADAPTERS,
|
|
@@ -2400,6 +2421,7 @@ export {
|
|
|
2400
2421
|
createStyleRegistry,
|
|
2401
2422
|
createTableCommands,
|
|
2402
2423
|
createTableExtensions,
|
|
2424
|
+
createTableNestingPlugin,
|
|
2403
2425
|
createTableStore,
|
|
2404
2426
|
createZipImportAdapter,
|
|
2405
2427
|
crossReferencePluginKey,
|
|
@@ -2527,6 +2549,7 @@ export {
|
|
|
2527
2549
|
getValidationListValues,
|
|
2528
2550
|
getVariableFormFields,
|
|
2529
2551
|
handleImageInsertion,
|
|
2552
|
+
handleTablePasteWithoutNesting,
|
|
2530
2553
|
htmlImportAdapter,
|
|
2531
2554
|
htmlToPlainText,
|
|
2532
2555
|
htmlToSlice,
|
|
@@ -2537,12 +2560,14 @@ export {
|
|
|
2537
2560
|
indexToColName,
|
|
2538
2561
|
insertImageNode,
|
|
2539
2562
|
insertImportedDocument,
|
|
2563
|
+
insertSliceAfterTable,
|
|
2540
2564
|
instructionRegex,
|
|
2541
2565
|
isBlankValue,
|
|
2542
2566
|
isFormulaError,
|
|
2543
2567
|
isFormulaLambda,
|
|
2544
2568
|
isGeneralNumberFormat,
|
|
2545
2569
|
isGfmTable,
|
|
2570
|
+
isInTableCell,
|
|
2546
2571
|
isInsidePromptToken,
|
|
2547
2572
|
isLambdaDefinition,
|
|
2548
2573
|
isMoveSized,
|
|
@@ -2555,6 +2580,8 @@ export {
|
|
|
2555
2580
|
isUnsafeZipPath,
|
|
2556
2581
|
isValidStyleId,
|
|
2557
2582
|
listFormulaFunctions,
|
|
2583
|
+
mapConditionalFormatFormulas,
|
|
2584
|
+
mapDataValidationFormulas,
|
|
2558
2585
|
mapFormulaReferences,
|
|
2559
2586
|
mapRawOffsetToResolved,
|
|
2560
2587
|
mapResolvedOffsetToRaw,
|
|
@@ -2566,6 +2593,7 @@ export {
|
|
|
2566
2593
|
matchesTimePeriod,
|
|
2567
2594
|
measureSpreadsheetView,
|
|
2568
2595
|
mergeRecords,
|
|
2596
|
+
mergeRuleRanges,
|
|
2569
2597
|
navigateToHeading,
|
|
2570
2598
|
nextSheetName,
|
|
2571
2599
|
normalizeFieldKey,
|
|
@@ -2577,6 +2605,7 @@ export {
|
|
|
2577
2605
|
numberFormatForCellFormat,
|
|
2578
2606
|
numberToText,
|
|
2579
2607
|
offsetFormulaReferences,
|
|
2608
|
+
outermostTableDepth,
|
|
2580
2609
|
outlinePluginKey,
|
|
2581
2610
|
paragraphStylesPluginKey,
|
|
2582
2611
|
parseCellInput,
|
|
@@ -2616,6 +2645,7 @@ export {
|
|
|
2616
2645
|
readRichClipboard,
|
|
2617
2646
|
readSpreadsheetClipboard,
|
|
2618
2647
|
readZip,
|
|
2648
|
+
reanchorRuleFormula,
|
|
2619
2649
|
rebaseClipboardRows,
|
|
2620
2650
|
recordToValues,
|
|
2621
2651
|
registerFormulaFunction,
|
|
@@ -2659,10 +2689,14 @@ export {
|
|
|
2659
2689
|
shiftRuleFormula,
|
|
2660
2690
|
shouldShowTableBubbleMenu,
|
|
2661
2691
|
shouldVirtualizeSpreadsheet,
|
|
2692
|
+
sliceContainsTable,
|
|
2662
2693
|
smartQuoteRules,
|
|
2663
2694
|
smilieAutocorrectRules,
|
|
2664
2695
|
sortCompareValues,
|
|
2696
|
+
sortRuleRanges,
|
|
2697
|
+
sortRules,
|
|
2665
2698
|
sortZipEntryNames,
|
|
2699
|
+
splitMarkdownMentionParts,
|
|
2666
2700
|
stripInvalidXmlChars,
|
|
2667
2701
|
stripMarkdownCode,
|
|
2668
2702
|
subtractRange,
|
|
@@ -2670,6 +2704,7 @@ export {
|
|
|
2670
2704
|
summarizeImportStructure,
|
|
2671
2705
|
symbolRules,
|
|
2672
2706
|
syncFootnotes,
|
|
2707
|
+
tableNestingPluginKey,
|
|
2673
2708
|
tableOfContentsMarkdownIt,
|
|
2674
2709
|
tableOfContentsPluginKey,
|
|
2675
2710
|
templateRegex,
|
|
@@ -2679,9 +2714,14 @@ export {
|
|
|
2679
2714
|
tokenizePromptWithDiagnostics,
|
|
2680
2715
|
trackChangesPluginKey,
|
|
2681
2716
|
trackedChangeLabel,
|
|
2717
|
+
transposeFormulaReferences,
|
|
2718
|
+
transposeRuleFormula,
|
|
2719
|
+
transposeRuleRanges,
|
|
2720
|
+
transposeRules,
|
|
2682
2721
|
tsvImportAdapter,
|
|
2683
2722
|
twoInitialCapitalsRules,
|
|
2684
2723
|
unescapeVariableText,
|
|
2724
|
+
unnestTables,
|
|
2685
2725
|
unregisterFormulaFunction,
|
|
2686
2726
|
unregisterImportAdapter,
|
|
2687
2727
|
updateImageSrc,
|