@pixerate/editor 0.27.0 → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +44 -2
  2. package/dist/HistoryManager-DWSLd6Tf.d.ts +150 -0
  3. package/dist/HistoryManager-DeQQMBCj.d.cts +150 -0
  4. package/dist/agent/index.cjs +20 -427
  5. package/dist/agent/index.cjs.map +1 -1
  6. package/dist/agent/index.d.cts +4 -342
  7. package/dist/agent/index.d.ts +4 -342
  8. package/dist/agent/index.js +14 -421
  9. package/dist/agent/index.js.map +1 -1
  10. package/dist/animation/index.cjs +62 -0
  11. package/dist/animation/index.cjs.map +1 -0
  12. package/dist/animation/index.d.cts +226 -0
  13. package/dist/animation/index.d.ts +226 -0
  14. package/dist/animation/index.js +62 -0
  15. package/dist/animation/index.js.map +1 -0
  16. package/dist/{builtins-nMXh9sT3.d.cts → builtins-DxC3aUR2.d.cts} +2 -2
  17. package/dist/{builtins-haN82vjT.d.ts → builtins-NGxNxQfJ.d.ts} +2 -2
  18. package/dist/canvas/index.cjs +177 -743
  19. package/dist/canvas/index.cjs.map +1 -1
  20. package/dist/canvas/index.d.cts +6 -289
  21. package/dist/canvas/index.d.ts +6 -289
  22. package/dist/canvas/index.js +49 -615
  23. package/dist/canvas/index.js.map +1 -1
  24. package/dist/chunk-36BLROHV.js +438 -0
  25. package/dist/chunk-36BLROHV.js.map +1 -0
  26. package/dist/{chunk-JT7AXQTE.js → chunk-3RPOW4CS.js} +7 -7
  27. package/dist/{chunk-AGR7EVRW.cjs → chunk-6MDQKHRH.cjs} +6 -6
  28. package/dist/{chunk-AGR7EVRW.cjs.map → chunk-6MDQKHRH.cjs.map} +1 -1
  29. package/dist/chunk-A6PHCAGX.cjs +87 -0
  30. package/dist/chunk-A6PHCAGX.cjs.map +1 -0
  31. package/dist/{chunk-HRMEDT2L.js → chunk-D6AVOTSD.js} +6 -85
  32. package/dist/chunk-D6AVOTSD.js.map +1 -0
  33. package/dist/{chunk-ARRTP33I.js → chunk-D6S5M7HV.js} +2 -2
  34. package/dist/{chunk-ARRTP33I.js.map → chunk-D6S5M7HV.js.map} +1 -1
  35. package/dist/{chunk-6IO7WUSU.js → chunk-DDADOHJW.js} +17 -17
  36. package/dist/{chunk-CPOKFNBG.cjs → chunk-I6BZB5ZH.cjs} +2 -2
  37. package/dist/{chunk-CPOKFNBG.cjs.map → chunk-I6BZB5ZH.cjs.map} +1 -1
  38. package/dist/{chunk-4BVP64JJ.cjs → chunk-K2UYKJ6M.cjs} +24 -103
  39. package/dist/chunk-K2UYKJ6M.cjs.map +1 -0
  40. package/dist/chunk-PIIAZV3L.cjs +244 -0
  41. package/dist/chunk-PIIAZV3L.cjs.map +1 -0
  42. package/dist/chunk-PWJARCI4.js +637 -0
  43. package/dist/chunk-PWJARCI4.js.map +1 -0
  44. package/dist/{chunk-G2I4QJOT.cjs → chunk-QKLRAA4T.cjs} +3 -244
  45. package/dist/chunk-QKLRAA4T.cjs.map +1 -0
  46. package/dist/{chunk-2H7ZHPEJ.js → chunk-QVZZGT4X.js} +1 -242
  47. package/dist/chunk-QVZZGT4X.js.map +1 -0
  48. package/dist/chunk-TGD52FEZ.js +87 -0
  49. package/dist/chunk-TGD52FEZ.js.map +1 -0
  50. package/dist/chunk-TTYCN6ZH.cjs +637 -0
  51. package/dist/chunk-TTYCN6ZH.cjs.map +1 -0
  52. package/dist/{chunk-YK5TATOF.cjs → chunk-U7VGDSNY.cjs} +3 -3
  53. package/dist/{chunk-YK5TATOF.cjs.map → chunk-U7VGDSNY.cjs.map} +1 -1
  54. package/dist/chunk-V7CC7RZ6.cjs +438 -0
  55. package/dist/chunk-V7CC7RZ6.cjs.map +1 -0
  56. package/dist/chunk-YK57D7PW.js +244 -0
  57. package/dist/chunk-YK57D7PW.js.map +1 -0
  58. package/dist/commands/index.cjs +2 -2
  59. package/dist/commands/index.cjs.map +1 -1
  60. package/dist/commands/index.d.cts +2 -2
  61. package/dist/commands/index.d.ts +2 -2
  62. package/dist/commands/index.js +1 -1
  63. package/dist/commands/index.js.map +1 -1
  64. package/dist/easing-B6iAnJHk.d.cts +74 -0
  65. package/dist/easing-B6iAnJHk.d.ts +74 -0
  66. package/dist/extensions/index.cjs +5 -5
  67. package/dist/extensions/index.cjs.map +1 -1
  68. package/dist/extensions/index.js +4 -4
  69. package/dist/generation/index.cjs +4 -4
  70. package/dist/generation/index.cjs.map +1 -1
  71. package/dist/generation/index.js +3 -3
  72. package/dist/generation/index.js.map +1 -1
  73. package/dist/history/index.cjs +4 -2
  74. package/dist/history/index.cjs.map +1 -1
  75. package/dist/history/index.d.cts +3 -149
  76. package/dist/history/index.d.ts +3 -149
  77. package/dist/history/index.js +5 -3
  78. package/dist/image-editor/index.cjs.map +1 -1
  79. package/dist/image-editor/index.js.map +1 -1
  80. package/dist/index.cjs +24 -22
  81. package/dist/index.cjs.map +1 -1
  82. package/dist/index.d.cts +3 -2
  83. package/dist/index.d.ts +3 -2
  84. package/dist/index.js +112 -110
  85. package/dist/index.js.map +1 -1
  86. package/dist/parameters/index.cjs +1283 -0
  87. package/dist/parameters/index.cjs.map +1 -0
  88. package/dist/parameters/index.d.cts +595 -0
  89. package/dist/parameters/index.d.ts +595 -0
  90. package/dist/parameters/index.js +1283 -0
  91. package/dist/parameters/index.js.map +1 -0
  92. package/dist/spreadsheet/index.cjs +4 -4
  93. package/dist/spreadsheet/index.cjs.map +1 -1
  94. package/dist/spreadsheet/index.js +8 -8
  95. package/dist/tokens/index.cjs +4 -2
  96. package/dist/tokens/index.cjs.map +1 -1
  97. package/dist/tokens/index.js +6 -4
  98. package/dist/tools/index.cjs +31 -0
  99. package/dist/tools/index.cjs.map +1 -0
  100. package/dist/tools/index.d.cts +343 -0
  101. package/dist/tools/index.d.ts +343 -0
  102. package/dist/tools/index.js +31 -0
  103. package/dist/tools/index.js.map +1 -0
  104. package/dist/{types-GT5a5YAX.d.cts → types-DsiXGmjo.d.cts} +1 -1
  105. package/dist/{types-GT5a5YAX.d.ts → types-DsiXGmjo.d.ts} +1 -1
  106. package/package.json +16 -1
  107. package/dist/chunk-2H7ZHPEJ.js.map +0 -1
  108. package/dist/chunk-4BVP64JJ.cjs.map +0 -1
  109. package/dist/chunk-G2I4QJOT.cjs.map +0 -1
  110. package/dist/chunk-HRMEDT2L.js.map +0 -1
  111. /package/dist/{chunk-JT7AXQTE.js.map → chunk-3RPOW4CS.js.map} +0 -0
  112. /package/dist/{chunk-6IO7WUSU.js.map → chunk-DDADOHJW.js.map} +0 -0
package/dist/index.d.cts CHANGED
@@ -12,8 +12,9 @@ import { Editor, EditorOptions, Content, Extensions } from '@tiptap/core';
12
12
  export { Content, Editor, EditorOptions, Extensions } from '@tiptap/core';
13
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
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
- export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, HistoryManager, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from './history/index.cjs';
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';
15
+ export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, bindDirtyToHistory, createDirtyTracker, defaultIsEqual, withoutDirty } from './history/index.cjs';
16
+ export { C as Command, c as HistoryEntry, a as HistoryManagerOptions, b as HistoryMark, H as HistoryState, M as MergedExecutionOptions, S as SnapshotCommandOptions } from './types-DsiXGmjo.cjs';
17
+ export { H as HistoryManager, c as createHistoryManager } from './HistoryManager-DeQQMBCj.cjs';
17
18
  import { I as ImportAdapterRegistry, a as ImportOutcome, F as FileLike, b as ImportAdapter } from './registry-CEgwXED1.cjs';
18
19
  export { c as FindImportAdapterQuery, d as ImportContext, e as ImportError, f as ImportErrorCode, g as ImportFileOptions, h as ImportInput, i as ImportTarget, R as RegisterImportAdapterOptions, j as createImportContext } from './registry-CEgwXED1.cjs';
19
20
  import { Schema, Slice } from '@tiptap/pm/model';
package/dist/index.d.ts CHANGED
@@ -12,8 +12,9 @@ import { Editor, EditorOptions, Content, Extensions } from '@tiptap/core';
12
12
  export { Content, Editor, EditorOptions, Extensions } from '@tiptap/core';
13
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
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
- export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, HistoryManager, bindDirtyToHistory, createDirtyTracker, createHistoryManager, defaultIsEqual, withoutDirty } from './history/index.js';
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';
15
+ export { BindDirtyToHistoryOptions, DirtyHistorySource, DirtyTracker, DirtyTrackerOptions, HistoryDirtyBinding, bindDirtyToHistory, createDirtyTracker, defaultIsEqual, withoutDirty } from './history/index.js';
16
+ export { C as Command, c as HistoryEntry, a as HistoryManagerOptions, b as HistoryMark, H as HistoryState, M as MergedExecutionOptions, S as SnapshotCommandOptions } from './types-DsiXGmjo.js';
17
+ export { H as HistoryManager, c as createHistoryManager } from './HistoryManager-DWSLd6Tf.js';
17
18
  import { I as ImportAdapterRegistry, a as ImportOutcome, F as FileLike, b as ImportAdapter } from './registry-CEgwXED1.js';
18
19
  export { c as FindImportAdapterQuery, d as ImportContext, e as ImportError, f as ImportErrorCode, g as ImportFileOptions, h as ImportInput, i as ImportTarget, R as RegisterImportAdapterOptions, j as createImportContext } from './registry-CEgwXED1.js';
19
20
  import { Schema, Slice } from '@tiptap/pm/model';
package/dist/index.js CHANGED
@@ -1,4 +1,3 @@
1
- import "./chunk-HLIMTC6N.js";
2
1
  import {
3
2
  DOCX_ANONYMOUS_AUTHOR,
4
3
  DOCX_EXPORT_MIME_TYPE,
@@ -16,6 +15,7 @@ import {
16
15
  stripInvalidXmlChars,
17
16
  writeZip
18
17
  } from "./chunk-KRGXUQ2Y.js";
18
+ import "./chunk-HLIMTC6N.js";
19
19
  import {
20
20
  FIELD_ALIASES,
21
21
  MAX_DATA_SOURCE_FIELDS,
@@ -184,13 +184,7 @@ import {
184
184
  updateImageSrc,
185
185
  validateFindPattern,
186
186
  writeRichClipboard
187
- } from "./chunk-6IO7WUSU.js";
188
- import {
189
- compareDocuments,
190
- compareHtml,
191
- diffChanges,
192
- diffSequences
193
- } from "./chunk-QJSOZFCZ.js";
187
+ } from "./chunk-DDADOHJW.js";
194
188
  import {
195
189
  DEFAULT_STYLES,
196
190
  DEFAULT_ZIP_MAX_ENTRIES,
@@ -206,6 +200,44 @@ import {
206
200
  safeCSSValue,
207
201
  zipCrc32
208
202
  } from "./chunk-MR2764X2.js";
203
+ import {
204
+ ALLOW_NESTED_TABLES_META,
205
+ DEFAULT_TABLE_OPTIONS,
206
+ DEFAULT_TABLE_TOOLBAR,
207
+ EMPTY_TABLE_STATE,
208
+ MAX_TABLE_COLUMNS,
209
+ MAX_TABLE_ROWS,
210
+ TABLE_ACTIONS,
211
+ Table,
212
+ TableCell,
213
+ TableHeader,
214
+ TableRow,
215
+ createTableExtensions,
216
+ createTableNestingPlugin,
217
+ createTableStore,
218
+ getTableActionState,
219
+ getTableState,
220
+ handleTablePasteWithoutNesting,
221
+ insertSliceAfterTable,
222
+ isGfmTable,
223
+ isInTableCell,
224
+ isSelectionInTable,
225
+ isTableEnabled,
226
+ normalizeTableCellAlignment,
227
+ normalizeTableCellColor,
228
+ outermostTableDepth,
229
+ runTableAction,
230
+ shouldShowTableBubbleMenu,
231
+ sliceContainsTable,
232
+ tableNestingPluginKey,
233
+ unnestTables
234
+ } from "./chunk-5H2OPMXZ.js";
235
+ import {
236
+ compareDocuments,
237
+ compareHtml,
238
+ diffChanges,
239
+ diffSequences
240
+ } from "./chunk-QJSOZFCZ.js";
209
241
  import {
210
242
  INSTRUCTION_REGEX,
211
243
  TEMPLATE_REGEX,
@@ -241,6 +273,59 @@ import {
241
273
  sanitizeImportedHtml,
242
274
  serializeRichClipboardPayload
243
275
  } from "./chunk-WON34HKM.js";
276
+ import {
277
+ MARKDOWN_MENTION_SPLIT_REGEX,
278
+ escapeHtml,
279
+ extractMentions,
280
+ extractMentionsFromDoc,
281
+ getEditorMarkdown,
282
+ getEditorText,
283
+ htmlToPlainText,
284
+ markdownToTipTapHtml,
285
+ parseMentionSegments,
286
+ plainTextToSlice,
287
+ plainTextToTipTapHtml,
288
+ preprocessMarkdownFileLinks,
289
+ preprocessMarkdownMentions,
290
+ sanitizeHtml,
291
+ splitMarkdownMentionParts,
292
+ stripMarkdownCode
293
+ } from "./chunk-UKI64KUD.js";
294
+ import {
295
+ MENTION_REGEX,
296
+ findTextMentions,
297
+ formatMentionText,
298
+ setMentionRoleInText
299
+ } from "./chunk-O5RYH2PG.js";
300
+ import {
301
+ BLOCK_CHANGE_ATTRIBUTE,
302
+ CommentStore,
303
+ DELETION_MARK_NAME,
304
+ FORMAT_CHANGE_MARK_NAME,
305
+ INSERTION_MARK_NAME,
306
+ MOVE_FROM_CLASS,
307
+ MOVE_ID_ATTRIBUTE,
308
+ MOVE_TO_CLASS,
309
+ TRACK_CHANGES_SKIP_META,
310
+ TrackChanges,
311
+ TrackChangesStore,
312
+ TrackedDeletion,
313
+ TrackedFormatChange,
314
+ TrackedInsertion,
315
+ createCommentStore,
316
+ createReviewId,
317
+ describeBlockChange,
318
+ describeFormatChange,
319
+ formatReviewTime,
320
+ getTrackChangesStore,
321
+ getTrackedChangeAt,
322
+ getTrackedChanges,
323
+ isMoveSized,
324
+ isTrackChangesEnabled,
325
+ resolveTrackedChanges,
326
+ trackChangesPluginKey,
327
+ trackedChangeLabel
328
+ } from "./chunk-SWE3NPOU.js";
244
329
  import {
245
330
  CONDITIONAL_FORMAT_ICON_SETS,
246
331
  CONDITIONAL_FORMAT_PRESETS,
@@ -382,108 +467,7 @@ import {
382
467
  validateCellInput,
383
468
  validateDefinedName,
384
469
  validateSheetName
385
- } from "./chunk-JT7AXQTE.js";
386
- import {
387
- escapeCsvField,
388
- parseCsv,
389
- parseTsv,
390
- serializeCsv,
391
- serializeTsv
392
- } from "./chunk-664LQYFJ.js";
393
- import {
394
- DirtyTracker,
395
- HistoryManager,
396
- bindDirtyToHistory,
397
- createDirtyTracker,
398
- createHistoryManager,
399
- defaultIsEqual,
400
- withoutDirty
401
- } from "./chunk-2H7ZHPEJ.js";
402
- import {
403
- ALLOW_NESTED_TABLES_META,
404
- DEFAULT_TABLE_OPTIONS,
405
- DEFAULT_TABLE_TOOLBAR,
406
- EMPTY_TABLE_STATE,
407
- MAX_TABLE_COLUMNS,
408
- MAX_TABLE_ROWS,
409
- TABLE_ACTIONS,
410
- Table,
411
- TableCell,
412
- TableHeader,
413
- TableRow,
414
- createTableExtensions,
415
- createTableNestingPlugin,
416
- createTableStore,
417
- getTableActionState,
418
- getTableState,
419
- handleTablePasteWithoutNesting,
420
- insertSliceAfterTable,
421
- isGfmTable,
422
- isInTableCell,
423
- isSelectionInTable,
424
- isTableEnabled,
425
- normalizeTableCellAlignment,
426
- normalizeTableCellColor,
427
- outermostTableDepth,
428
- runTableAction,
429
- shouldShowTableBubbleMenu,
430
- sliceContainsTable,
431
- tableNestingPluginKey,
432
- unnestTables
433
- } from "./chunk-5H2OPMXZ.js";
434
- import {
435
- MARKDOWN_MENTION_SPLIT_REGEX,
436
- escapeHtml,
437
- extractMentions,
438
- extractMentionsFromDoc,
439
- getEditorMarkdown,
440
- getEditorText,
441
- htmlToPlainText,
442
- markdownToTipTapHtml,
443
- parseMentionSegments,
444
- plainTextToSlice,
445
- plainTextToTipTapHtml,
446
- preprocessMarkdownFileLinks,
447
- preprocessMarkdownMentions,
448
- sanitizeHtml,
449
- splitMarkdownMentionParts,
450
- stripMarkdownCode
451
- } from "./chunk-UKI64KUD.js";
452
- import {
453
- MENTION_REGEX,
454
- findTextMentions,
455
- formatMentionText,
456
- setMentionRoleInText
457
- } from "./chunk-O5RYH2PG.js";
458
- import {
459
- BLOCK_CHANGE_ATTRIBUTE,
460
- CommentStore,
461
- DELETION_MARK_NAME,
462
- FORMAT_CHANGE_MARK_NAME,
463
- INSERTION_MARK_NAME,
464
- MOVE_FROM_CLASS,
465
- MOVE_ID_ATTRIBUTE,
466
- MOVE_TO_CLASS,
467
- TRACK_CHANGES_SKIP_META,
468
- TrackChanges,
469
- TrackChangesStore,
470
- TrackedDeletion,
471
- TrackedFormatChange,
472
- TrackedInsertion,
473
- createCommentStore,
474
- createReviewId,
475
- describeBlockChange,
476
- describeFormatChange,
477
- formatReviewTime,
478
- getTrackChangesStore,
479
- getTrackedChangeAt,
480
- getTrackedChanges,
481
- isMoveSized,
482
- isTrackChangesEnabled,
483
- resolveTrackedChanges,
484
- trackChangesPluginKey,
485
- trackedChangeLabel
486
- } from "./chunk-SWE3NPOU.js";
470
+ } from "./chunk-3RPOW4CS.js";
487
471
  import {
488
472
  FORMULA_ERRORS,
489
473
  FormulaEvaluator,
@@ -530,6 +514,24 @@ import {
530
514
  unregisterFormulaFunction,
531
515
  wildcardToRegExp
532
516
  } from "./chunk-ZRNHGAQT.js";
517
+ import {
518
+ escapeCsvField,
519
+ parseCsv,
520
+ parseTsv,
521
+ serializeCsv,
522
+ serializeTsv
523
+ } from "./chunk-664LQYFJ.js";
524
+ import {
525
+ DirtyTracker,
526
+ bindDirtyToHistory,
527
+ createDirtyTracker,
528
+ defaultIsEqual,
529
+ withoutDirty
530
+ } from "./chunk-YK57D7PW.js";
531
+ import {
532
+ HistoryManager,
533
+ createHistoryManager
534
+ } from "./chunk-QVZZGT4X.js";
533
535
 
534
536
  // src/controller.ts
535
537
  import { Editor } from "@tiptap/core";