@pixerate/editor 0.46.1 → 0.47.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/THIRD_PARTY_NOTICES.md +20 -0
- package/dist/agent/index.cjs +20 -19
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +2 -2
- package/dist/agent/index.d.ts +2 -2
- package/dist/agent/index.js +4 -3
- package/dist/agent/index.js.map +1 -1
- package/dist/{builtins-DghNQbT-.d.ts → builtins-D2nMtw2W.d.ts} +1 -1
- package/dist/{builtins-CZW-aYKS.d.cts → builtins-xs7rK6ys.d.cts} +1 -1
- package/dist/chart/index.cjs +3887 -813
- package/dist/chart/index.cjs.map +1 -1
- package/dist/chart/index.d.cts +941 -239
- package/dist/chart/index.d.ts +941 -239
- package/dist/chart/index.js +3866 -792
- package/dist/chart/index.js.map +1 -1
- package/dist/{chunk-PQM5W7ZN.js → chunk-4FX5ACVG.js} +29 -2
- package/dist/{chunk-PQM5W7ZN.js.map → chunk-4FX5ACVG.js.map} +1 -1
- package/dist/{chunk-3RPOW4CS.js → chunk-5VXI5GED.js} +12 -10
- package/dist/{chunk-3RPOW4CS.js.map → chunk-5VXI5GED.js.map} +1 -1
- package/dist/{chunk-HHQ4XJWT.js → chunk-AMWXSYCI.js} +2 -2
- package/dist/{chunk-U7VGDSNY.cjs → chunk-BBRK6MOI.cjs} +101 -99
- package/dist/chunk-BBRK6MOI.cjs.map +1 -0
- package/dist/chunk-C3NWJE3K.js +1182 -0
- package/dist/chunk-C3NWJE3K.js.map +1 -0
- package/dist/{chunk-N4MLNJPO.cjs → chunk-H4PICYNL.cjs} +59 -12
- package/dist/chunk-H4PICYNL.cjs.map +1 -0
- package/dist/chunk-LYGEEDNR.cjs +1895 -0
- package/dist/chunk-LYGEEDNR.cjs.map +1 -0
- package/dist/chunk-NEOO6QJD.cjs +1182 -0
- package/dist/chunk-NEOO6QJD.cjs.map +1 -0
- package/dist/{chunk-Q25ZS4F7.js → chunk-PQFAHT5O.js} +53 -6
- package/dist/chunk-PQFAHT5O.js.map +1 -0
- package/dist/{chunk-ZRNHGAQT.js → chunk-REAGGLXS.js} +43 -1891
- package/dist/chunk-REAGGLXS.js.map +1 -0
- package/dist/{chunk-EFDCLENW.cjs → chunk-RIWPYSKU.cjs} +29 -2
- package/dist/chunk-RIWPYSKU.cjs.map +1 -0
- package/dist/{chunk-EWCOFSCQ.cjs → chunk-SQC26VQV.cjs} +252 -2100
- package/dist/chunk-SQC26VQV.cjs.map +1 -0
- package/dist/{chunk-K2LVZ4FA.cjs → chunk-XFYUFVAX.cjs} +3 -3
- package/dist/{chunk-K2LVZ4FA.cjs.map → chunk-XFYUFVAX.cjs.map} +1 -1
- package/dist/chunk-ZFBBVGCI.js +1895 -0
- package/dist/chunk-ZFBBVGCI.js.map +1 -0
- package/dist/commands/index.cjs +93 -11
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +9 -7
- package/dist/commands/index.d.ts +9 -7
- package/dist/commands/index.js +92 -10
- package/dist/commands/index.js.map +1 -1
- package/dist/extensions/index.cjs +3 -2
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +3 -2
- package/dist/extensions/index.d.ts +3 -2
- package/dist/extensions/index.js +2 -1
- package/dist/generation/index.cjs +2 -2
- package/dist/generation/index.js +1 -1
- package/dist/{index-jwJ_onWf.d.ts → index-CSUCQYAH.d.ts} +23 -2
- package/dist/{index-CfOQf70b.d.cts → index-QrqMmZ75.d.cts} +23 -2
- package/dist/index.cjs +12 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +26 -23
- package/dist/index.js.map +1 -1
- package/dist/parameters/index.d.cts +1 -1
- package/dist/parameters/index.d.ts +1 -1
- package/dist/{registry-vz6HOiiy.d.cts → registry-CaR7LC6W.d.cts} +2 -0
- package/dist/{registry-BfVD-vVg.d.ts → registry-rVtFJjRM.d.ts} +2 -0
- package/dist/spreadsheet/index.cjs +5 -3
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.js +24 -22
- package/dist/tools/index.cjs +3 -3
- package/dist/tools/index.js +2 -2
- package/dist/types-BVqWm3d1.d.cts +320 -0
- package/dist/types-BVqWm3d1.d.ts +320 -0
- package/dist/vector/index.d.cts +1 -1
- package/dist/vector/index.d.ts +1 -1
- package/package.json +2 -1
- package/dist/chunk-EFDCLENW.cjs.map +0 -1
- package/dist/chunk-EWCOFSCQ.cjs.map +0 -1
- package/dist/chunk-N4MLNJPO.cjs.map +0 -1
- package/dist/chunk-Q25ZS4F7.js.map +0 -1
- package/dist/chunk-U7VGDSNY.cjs.map +0 -1
- package/dist/chunk-ZRNHGAQT.js.map +0 -1
- /package/dist/{chunk-HHQ4XJWT.js.map → chunk-AMWXSYCI.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ 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 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
|
|
5
|
+
import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-QrqMmZ75.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 ImportedChart, ap as InsertFootnoteOptions, aq as InsertTableOfContentsOptions, ar as LoadingNode, as as MAX_FIND_PATTERN_LENGTH, at as MAX_TABLE_COLUMNS, au as MAX_TABLE_ROWS, av as Markdown, aw as OpenFindReplaceParams, ax as Outline, ay as OutlineHeading, az as OutlineOptions, aA as OutlineSnapshot, aB as OutlineStorage, aC as OutlineStore, aD as OutlineTreeItem, aE as ParagraphStyles, aF as ParagraphStylesOptions, aG as ParagraphStylesSnapshot, aH as ParagraphStylesStorage, aI as ParagraphStylesStore, aJ as PatternMatch, aK as PdfLayoutBlock, aL as PdfLayoutPage, aM as PdfLayoutResult, aN as PdfTableCell, aO as ReplacePiece, aP as RichClipboard, aQ as RichClipboardOptions, aR as RichClipboardStorage, aS as RichTextPresetCommandPackages, aT as RichTextPresetOptions, aU as RichTextTableOptions, aV as RunTableActionOptions, aW as SMILIE_REPLACEMENTS, aX as STYLE_ID_ATTRIBUTE, aY as SearchBudget, aZ as SearchBudgetOptions, a_ as SetBookmarkOptions, a$ as SetSearchParams, b0 as SlashCommandMatchData, b1 as SlashCommands, b2 as SlashCommandsOptions, b3 as SmilieReplacer, b4 as TABLE_ACTIONS, b5 as Table, b6 as TableAction, b7 as TableActionInfo, b8 as TableActionParams, b9 as TableActionStatus, ba as TableCell, bb as TableCellAlignment, bc as TableCommandOptions, bd as TableHeader, be as TableOfContents, bf as TableOfContentsEntry, bg as TableOfContentsOptions, bh as TableRow, bi as TableState, bj as TableStore, bk as TableToolbarItem, bl as TemplateSuggestions, bm as TemplateSuggestionsOptions, bn as analyzePdfLayout, bo as applyDocumentComparison, bp as applyReplacements, bq as autocorrectPluginKey, br as buildOutlineTree, bs as capitalizeSentenceRules, bt as captureSelectionFormat, bu as commentsPluginKey, bv as compareInEditor, bw as compileFindPattern, bx as computeOutline, by as createFindReplaceCommands, bz as createImportAdapterRegistry, bA as createOutlineStore, bB as createParagraphStylesStore, bC as createRichTextPreset, bD as createSearchBudget, bE as createTableCommands, bF as createTableExtensions, bG as createTableNestingPlugin, bH as createTableStore, bI as crossReferencePluginKey, bJ as defaultAutocorrectRules, bK as defaultImportRegistry, bL as documentStructureCommandItems, bM as expandReplacement, bN as fileImportPluginKey, bO as findAllMatches, bP as findAutocorrection, bQ as findCommentRanges, bR as findHexColors, bS as findImportAdapter, bT as findReplacePluginKey, bU as foldCodePoint, bV as footnotesMarkdownIt, bW as footnotesPluginKey, bX as formatFindStatus, bY as fractionRules, bZ as getActiveHeading, b_ as getBookmarks, b$ as getCommentAnchors, c0 as getCommentAuthor, c1 as getCommentIdsAt, c2 as getCommentStore, c3 as getCrossReferenceTargets, c4 as getDocumentStructureCommandItems, c5 as getFindReplaceState, c6 as getFindReplaceStore, c7 as getFootnotes, c8 as getImportAccept, c9 as getOutline, ca as getParagraphStyleAt, cb as getStyleRegistry, cc as getTableActionState, cd as getTableOfContentsEntries, ce as getTableState, cf as handleImageInsertion, cg as handleTablePasteWithoutNesting, ch as htmlImportAdapter, ci as imagePastePluginKey, cj as importFile, ck as insertImageNode, cl as insertSliceAfterTable, cm as isGfmTable, cn as isInTableCell, co as isInsidePromptToken, cp as isParagraphStyleAvailable, cq as isSelectionInTable, cr as isTableEnabled, cs as markdownImportAdapter, ct as navigateToHeading, cu as normalizeTableCellAlignment, cv as normalizeTableCellColor, cw as outermostTableDepth, cx as outlinePluginKey, cy as paragraphStylesPluginKey, cz as parseReplacement, cA as pdfLayoutBlocksToHtml, cB as plainTextImportAdapter, cC as registerImportAdapter, cD as removeImageNode, cE as richClipboardPluginKey, cF as rtfImportAdapter, cG as runTableAction, cH as searchDocument, cI as shouldShowTableBubbleMenu, cJ as sliceContainsTable, cK as smartQuoteRules, cL as smilieAutocorrectRules, cM as symbolRules, cN as syncFootnotes, cO as tableNestingPluginKey, cP as tableOfContentsMarkdownIt, cQ as tableOfContentsPluginKey, cR as twoInitialCapitalsRules, cS as unnestTables, cT as unregisterImportAdapter, cU as updateImageSrc, cV as validateFindPattern, cW as writeRichClipboard } from './index-QrqMmZ75.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';
|
|
@@ -38,7 +38,8 @@ import '@tiptap/extension-image';
|
|
|
38
38
|
import '@tiptap/extension-highlight';
|
|
39
39
|
import '@tiptap/extension-color';
|
|
40
40
|
import '@tiptap/starter-kit';
|
|
41
|
-
import './
|
|
41
|
+
import './types-BVqWm3d1.cjs';
|
|
42
|
+
import './registry-CaR7LC6W.cjs';
|
|
42
43
|
import './schema-Di0CS6Pe.cjs';
|
|
43
44
|
import '@tiptap/extension-mention';
|
|
44
45
|
import '@tiptap/suggestion';
|
|
@@ -413,6 +414,11 @@ interface DocxImportOptions {
|
|
|
413
414
|
paragraphStyles?: boolean;
|
|
414
415
|
/** Embed images from `word/media` as data URLs (default `true`). */
|
|
415
416
|
images?: boolean;
|
|
417
|
+
/**
|
|
418
|
+
* Read embedded charts (`word/charts/chartN.xml`, default `true`). Each becomes a caption
|
|
419
|
+
* and a table of its data in the HTML, and its full spec is returned in `charts`.
|
|
420
|
+
*/
|
|
421
|
+
charts?: boolean;
|
|
416
422
|
/** Images larger than this many bytes are skipped (default 10 MiB). */
|
|
417
423
|
maxImageSize?: number;
|
|
418
424
|
/** Limits for reading the DOCX container (default: 100 MiB extracted, 5 000 entries). */
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ 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 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
|
|
5
|
+
import { D as DocumentImport, a as DocumentImportAdapter, P as PdfStructureReport, b as PdfLayoutOptions, c as PdfRuleLine, d as PdfTextRun } from './index-CSUCQYAH.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 ImportedChart, ap as InsertFootnoteOptions, aq as InsertTableOfContentsOptions, ar as LoadingNode, as as MAX_FIND_PATTERN_LENGTH, at as MAX_TABLE_COLUMNS, au as MAX_TABLE_ROWS, av as Markdown, aw as OpenFindReplaceParams, ax as Outline, ay as OutlineHeading, az as OutlineOptions, aA as OutlineSnapshot, aB as OutlineStorage, aC as OutlineStore, aD as OutlineTreeItem, aE as ParagraphStyles, aF as ParagraphStylesOptions, aG as ParagraphStylesSnapshot, aH as ParagraphStylesStorage, aI as ParagraphStylesStore, aJ as PatternMatch, aK as PdfLayoutBlock, aL as PdfLayoutPage, aM as PdfLayoutResult, aN as PdfTableCell, aO as ReplacePiece, aP as RichClipboard, aQ as RichClipboardOptions, aR as RichClipboardStorage, aS as RichTextPresetCommandPackages, aT as RichTextPresetOptions, aU as RichTextTableOptions, aV as RunTableActionOptions, aW as SMILIE_REPLACEMENTS, aX as STYLE_ID_ATTRIBUTE, aY as SearchBudget, aZ as SearchBudgetOptions, a_ as SetBookmarkOptions, a$ as SetSearchParams, b0 as SlashCommandMatchData, b1 as SlashCommands, b2 as SlashCommandsOptions, b3 as SmilieReplacer, b4 as TABLE_ACTIONS, b5 as Table, b6 as TableAction, b7 as TableActionInfo, b8 as TableActionParams, b9 as TableActionStatus, ba as TableCell, bb as TableCellAlignment, bc as TableCommandOptions, bd as TableHeader, be as TableOfContents, bf as TableOfContentsEntry, bg as TableOfContentsOptions, bh as TableRow, bi as TableState, bj as TableStore, bk as TableToolbarItem, bl as TemplateSuggestions, bm as TemplateSuggestionsOptions, bn as analyzePdfLayout, bo as applyDocumentComparison, bp as applyReplacements, bq as autocorrectPluginKey, br as buildOutlineTree, bs as capitalizeSentenceRules, bt as captureSelectionFormat, bu as commentsPluginKey, bv as compareInEditor, bw as compileFindPattern, bx as computeOutline, by as createFindReplaceCommands, bz as createImportAdapterRegistry, bA as createOutlineStore, bB as createParagraphStylesStore, bC as createRichTextPreset, bD as createSearchBudget, bE as createTableCommands, bF as createTableExtensions, bG as createTableNestingPlugin, bH as createTableStore, bI as crossReferencePluginKey, bJ as defaultAutocorrectRules, bK as defaultImportRegistry, bL as documentStructureCommandItems, bM as expandReplacement, bN as fileImportPluginKey, bO as findAllMatches, bP as findAutocorrection, bQ as findCommentRanges, bR as findHexColors, bS as findImportAdapter, bT as findReplacePluginKey, bU as foldCodePoint, bV as footnotesMarkdownIt, bW as footnotesPluginKey, bX as formatFindStatus, bY as fractionRules, bZ as getActiveHeading, b_ as getBookmarks, b$ as getCommentAnchors, c0 as getCommentAuthor, c1 as getCommentIdsAt, c2 as getCommentStore, c3 as getCrossReferenceTargets, c4 as getDocumentStructureCommandItems, c5 as getFindReplaceState, c6 as getFindReplaceStore, c7 as getFootnotes, c8 as getImportAccept, c9 as getOutline, ca as getParagraphStyleAt, cb as getStyleRegistry, cc as getTableActionState, cd as getTableOfContentsEntries, ce as getTableState, cf as handleImageInsertion, cg as handleTablePasteWithoutNesting, ch as htmlImportAdapter, ci as imagePastePluginKey, cj as importFile, ck as insertImageNode, cl as insertSliceAfterTable, cm as isGfmTable, cn as isInTableCell, co as isInsidePromptToken, cp as isParagraphStyleAvailable, cq as isSelectionInTable, cr as isTableEnabled, cs as markdownImportAdapter, ct as navigateToHeading, cu as normalizeTableCellAlignment, cv as normalizeTableCellColor, cw as outermostTableDepth, cx as outlinePluginKey, cy as paragraphStylesPluginKey, cz as parseReplacement, cA as pdfLayoutBlocksToHtml, cB as plainTextImportAdapter, cC as registerImportAdapter, cD as removeImageNode, cE as richClipboardPluginKey, cF as rtfImportAdapter, cG as runTableAction, cH as searchDocument, cI as shouldShowTableBubbleMenu, cJ as sliceContainsTable, cK as smartQuoteRules, cL as smilieAutocorrectRules, cM as symbolRules, cN as syncFootnotes, cO as tableNestingPluginKey, cP as tableOfContentsMarkdownIt, cQ as tableOfContentsPluginKey, cR as twoInitialCapitalsRules, cS as unnestTables, cT as unregisterImportAdapter, cU as updateImageSrc, cV as validateFindPattern, cW as writeRichClipboard } from './index-CSUCQYAH.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';
|
|
@@ -38,7 +38,8 @@ import '@tiptap/extension-image';
|
|
|
38
38
|
import '@tiptap/extension-highlight';
|
|
39
39
|
import '@tiptap/extension-color';
|
|
40
40
|
import '@tiptap/starter-kit';
|
|
41
|
-
import './
|
|
41
|
+
import './types-BVqWm3d1.js';
|
|
42
|
+
import './registry-rVtFJjRM.js';
|
|
42
43
|
import './schema-Di0CS6Pe.js';
|
|
43
44
|
import '@tiptap/extension-mention';
|
|
44
45
|
import '@tiptap/suggestion';
|
|
@@ -413,6 +414,11 @@ interface DocxImportOptions {
|
|
|
413
414
|
paragraphStyles?: boolean;
|
|
414
415
|
/** Embed images from `word/media` as data URLs (default `true`). */
|
|
415
416
|
images?: boolean;
|
|
417
|
+
/**
|
|
418
|
+
* Read embedded charts (`word/charts/chartN.xml`, default `true`). Each becomes a caption
|
|
419
|
+
* and a table of its data in the HTML, and its full spec is returned in `charts`.
|
|
420
|
+
*/
|
|
421
|
+
charts?: boolean;
|
|
416
422
|
/** Images larger than this many bytes are skipped (default 10 MiB). */
|
|
417
423
|
maxImageSize?: number;
|
|
418
424
|
/** Limits for reading the DOCX container (default: 100 MiB extracted, 5 000 entries). */
|
package/dist/index.js
CHANGED
|
@@ -174,7 +174,7 @@ import {
|
|
|
174
174
|
updateImageSrc,
|
|
175
175
|
validateFindPattern,
|
|
176
176
|
writeRichClipboard
|
|
177
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-PQFAHT5O.js";
|
|
178
178
|
import {
|
|
179
179
|
DEFAULT_STYLES,
|
|
180
180
|
DEFAULT_ZIP_MAX_ENTRIES,
|
|
@@ -190,6 +190,7 @@ import {
|
|
|
190
190
|
safeCSSValue,
|
|
191
191
|
zipCrc32
|
|
192
192
|
} from "./chunk-MR2764X2.js";
|
|
193
|
+
import "./chunk-C3NWJE3K.js";
|
|
193
194
|
import {
|
|
194
195
|
ALLOW_NESTED_TABLES_META,
|
|
195
196
|
DEFAULT_TABLE_OPTIONS,
|
|
@@ -467,53 +468,55 @@ import {
|
|
|
467
468
|
validateCellInput,
|
|
468
469
|
validateDefinedName,
|
|
469
470
|
validateSheetName
|
|
470
|
-
} from "./chunk-
|
|
471
|
+
} from "./chunk-5VXI5GED.js";
|
|
471
472
|
import {
|
|
472
|
-
FORMULA_ERRORS,
|
|
473
473
|
FormulaEvaluator,
|
|
474
474
|
FormulaLambda,
|
|
475
475
|
FormulaParser,
|
|
476
476
|
MAX_FORMULA_ARRAY_SIZE,
|
|
477
477
|
MAX_LAMBDA_DEPTH,
|
|
478
|
+
WHOLE_COLUMN_END_ROW,
|
|
479
|
+
checkFormulaArgumentCount,
|
|
480
|
+
describeFormulaError,
|
|
481
|
+
getFormulaArgumentSpecIndex,
|
|
482
|
+
getFormulaFunction,
|
|
483
|
+
getFormulaSignature,
|
|
484
|
+
getFormulaSignatureParts,
|
|
485
|
+
isFormulaLambda,
|
|
486
|
+
listFormulaFunctions,
|
|
487
|
+
parseCellReference,
|
|
488
|
+
parseCriteria,
|
|
489
|
+
parseFormula,
|
|
490
|
+
parseRange,
|
|
491
|
+
registerFormulaFunction,
|
|
492
|
+
searchFormulaFunctions,
|
|
493
|
+
tokenizeFormula,
|
|
494
|
+
unregisterFormulaFunction,
|
|
495
|
+
wildcardToRegExp
|
|
496
|
+
} from "./chunk-REAGGLXS.js";
|
|
497
|
+
import {
|
|
498
|
+
FORMULA_ERRORS,
|
|
478
499
|
MAX_NUMBER_FORMAT_CODE_CHARS,
|
|
479
500
|
NumberFormat,
|
|
480
|
-
WHOLE_COLUMN_END_ROW,
|
|
481
501
|
builtinNumberFormat,
|
|
482
502
|
builtinNumberFormatId,
|
|
483
|
-
checkFormulaArgumentCount,
|
|
484
503
|
clearNumberFormatCache,
|
|
485
504
|
colNameToIndex,
|
|
486
505
|
compareNumbers,
|
|
487
506
|
compareValues,
|
|
488
507
|
dateValueToSerial,
|
|
489
|
-
describeFormulaError,
|
|
490
508
|
formatGeneralFit,
|
|
491
509
|
formatNumberFormatValue,
|
|
492
510
|
formatTextFunction,
|
|
493
|
-
getFormulaArgumentSpecIndex,
|
|
494
|
-
getFormulaFunction,
|
|
495
|
-
getFormulaSignature,
|
|
496
|
-
getFormulaSignatureParts,
|
|
497
511
|
indexToColName,
|
|
498
512
|
isFormulaError,
|
|
499
|
-
isFormulaLambda,
|
|
500
|
-
listFormulaFunctions,
|
|
501
513
|
numberFormatColorToCss,
|
|
502
514
|
numberToText,
|
|
503
515
|
parseCellInput,
|
|
504
|
-
parseCellReference,
|
|
505
|
-
parseCriteria,
|
|
506
|
-
parseFormula,
|
|
507
516
|
parseNumberText,
|
|
508
|
-
parseRange,
|
|
509
|
-
registerFormulaFunction,
|
|
510
|
-
searchFormulaFunctions,
|
|
511
517
|
serialFromYmd,
|
|
512
|
-
sortCompareValues
|
|
513
|
-
|
|
514
|
-
unregisterFormulaFunction,
|
|
515
|
-
wildcardToRegExp
|
|
516
|
-
} from "./chunk-ZRNHGAQT.js";
|
|
518
|
+
sortCompareValues
|
|
519
|
+
} from "./chunk-ZFBBVGCI.js";
|
|
517
520
|
import {
|
|
518
521
|
escapeCsvField,
|
|
519
522
|
parseCsv,
|