@pixerate/editor 0.25.0 → 0.26.1

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 (113) hide show
  1. package/README.md +30 -0
  2. package/THIRD_PARTY_NOTICES.md +11 -0
  3. package/dist/agent/index.cjs +174 -11
  4. package/dist/agent/index.cjs.map +1 -1
  5. package/dist/agent/index.d.cts +18 -4
  6. package/dist/agent/index.d.ts +18 -4
  7. package/dist/agent/index.js +167 -4
  8. package/dist/agent/index.js.map +1 -1
  9. package/dist/{arrangeShortcuts-B8O3f8-P.d.cts → arrange-BICutYPk.d.cts} +243 -29
  10. package/dist/{arrangeShortcuts-sLlD2rSX.d.ts → arrange-BICutYPk.d.ts} +243 -29
  11. package/dist/builtins-CdPcLwwF.d.cts +176 -0
  12. package/dist/builtins-Chj6zv_O.d.ts +176 -0
  13. package/dist/canvas/index.cjs +3917 -19
  14. package/dist/canvas/index.cjs.map +1 -1
  15. package/dist/canvas/index.d.cts +1232 -7
  16. package/dist/canvas/index.d.ts +1232 -7
  17. package/dist/canvas/index.js +3916 -18
  18. package/dist/canvas/index.js.map +1 -1
  19. package/dist/chunk-3CC7OPUQ.cjs +831 -0
  20. package/dist/chunk-3CC7OPUQ.cjs.map +1 -0
  21. package/dist/{chunk-7WISYZFO.cjs → chunk-66IMF6OD.cjs} +174 -67
  22. package/dist/chunk-66IMF6OD.cjs.map +1 -0
  23. package/dist/{chunk-AL6JMGWW.cjs → chunk-CS6NZWWA.cjs} +24 -24
  24. package/dist/{chunk-AL6JMGWW.cjs.map → chunk-CS6NZWWA.cjs.map} +1 -1
  25. package/dist/{chunk-C7P22VIP.cjs → chunk-EWCOFSCQ.cjs} +17 -6
  26. package/dist/chunk-EWCOFSCQ.cjs.map +1 -0
  27. package/dist/chunk-HDYMLS3X.cjs +409 -0
  28. package/dist/chunk-HDYMLS3X.cjs.map +1 -0
  29. package/dist/{chunk-V3CHHWOE.cjs → chunk-HNDSPZ5T.cjs} +4 -4
  30. package/dist/{chunk-V3CHHWOE.cjs.map → chunk-HNDSPZ5T.cjs.map} +1 -1
  31. package/dist/{chunk-X4N4WUKB.cjs → chunk-IFHKKVXH.cjs} +150 -38
  32. package/dist/chunk-IFHKKVXH.cjs.map +1 -0
  33. package/dist/chunk-KRGXUQ2Y.js +1696 -0
  34. package/dist/chunk-KRGXUQ2Y.js.map +1 -0
  35. package/dist/{chunk-PO6A6QQH.cjs → chunk-LN2POBHT.cjs} +742 -970
  36. package/dist/chunk-LN2POBHT.cjs.map +1 -0
  37. package/dist/chunk-MR2764X2.js +831 -0
  38. package/dist/chunk-MR2764X2.js.map +1 -0
  39. package/dist/{chunk-WSQKHXW7.cjs → chunk-NQF32I6Z.cjs} +1209 -457
  40. package/dist/chunk-NQF32I6Z.cjs.map +1 -0
  41. package/dist/{chunk-NAXVVS5I.js → chunk-QJSOZFCZ.js} +2 -2
  42. package/dist/{chunk-UAKDG62Z.js → chunk-SWE3NPOU.js} +116 -4
  43. package/dist/chunk-SWE3NPOU.js.map +1 -0
  44. package/dist/chunk-TXXNBDQX.cjs +1696 -0
  45. package/dist/chunk-TXXNBDQX.cjs.map +1 -0
  46. package/dist/chunk-UBCFIABU.js +409 -0
  47. package/dist/chunk-UBCFIABU.js.map +1 -0
  48. package/dist/{chunk-ECCCYKGL.js → chunk-UKI64KUD.js} +147 -40
  49. package/dist/chunk-UKI64KUD.js.map +1 -0
  50. package/dist/{chunk-QGYDWPRM.js → chunk-WON34HKM.js} +2 -2
  51. package/dist/{chunk-RR7F5GUM.js → chunk-X7HXL2SB.js} +941 -189
  52. package/dist/chunk-X7HXL2SB.js.map +1 -0
  53. package/dist/{chunk-IXHSYOVY.js → chunk-XQFHLT53.js} +638 -866
  54. package/dist/chunk-XQFHLT53.js.map +1 -0
  55. package/dist/{chunk-FH6F67DN.js → chunk-ZRNHGAQT.js} +17 -6
  56. package/dist/{chunk-FH6F67DN.js.map → chunk-ZRNHGAQT.js.map} +1 -1
  57. package/dist/commands/index.cjs +352 -4
  58. package/dist/commands/index.cjs.map +1 -1
  59. package/dist/commands/index.d.cts +37 -108
  60. package/dist/commands/index.d.ts +37 -108
  61. package/dist/commands/index.js +351 -3
  62. package/dist/commands/index.js.map +1 -1
  63. package/dist/compare/index.cjs +3 -3
  64. package/dist/compare/index.js +2 -2
  65. package/dist/{controller-BIJiNoVs.d.cts → controller-CxXGOEmy.d.cts} +209 -13
  66. package/dist/{controller-BIJiNoVs.d.ts → controller-CxXGOEmy.d.ts} +209 -13
  67. package/dist/export/index.cjs +36 -0
  68. package/dist/export/index.cjs.map +1 -0
  69. package/dist/export/index.d.cts +243 -0
  70. package/dist/export/index.d.ts +243 -0
  71. package/dist/export/index.js +36 -0
  72. package/dist/export/index.js.map +1 -0
  73. package/dist/extensions/index.cjs +54 -6
  74. package/dist/extensions/index.cjs.map +1 -1
  75. package/dist/extensions/index.d.cts +7 -2
  76. package/dist/extensions/index.d.ts +7 -2
  77. package/dist/extensions/index.js +59 -11
  78. package/dist/{index-7a6bHTLy.d.ts → index-B273Zllk.d.ts} +211 -207
  79. package/dist/{index-Csd5qI8u.d.cts → index-jcJwmBYt.d.cts} +211 -207
  80. package/dist/index.cjs +146 -32
  81. package/dist/index.cjs.map +1 -1
  82. package/dist/index.d.cts +50 -14
  83. package/dist/index.d.ts +50 -14
  84. package/dist/index.js +138 -24
  85. package/dist/index.js.map +1 -1
  86. package/dist/registry-CED5C0lA.d.cts +204 -0
  87. package/dist/registry-CED5C0lA.d.ts +204 -0
  88. package/dist/{registry-D32LpIc4.d.cts → registry-D0GADKc7.d.cts} +1 -1
  89. package/dist/{registry-evKTP4ls.d.ts → registry-DhVUZioj.d.ts} +1 -1
  90. package/dist/serializers/index.cjs +6 -4
  91. package/dist/serializers/index.cjs.map +1 -1
  92. package/dist/serializers/index.d.cts +15 -4
  93. package/dist/serializers/index.d.ts +15 -4
  94. package/dist/serializers/index.js +5 -3
  95. package/dist/spreadsheet/index.cjs +33 -3
  96. package/dist/spreadsheet/index.cjs.map +1 -1
  97. package/dist/spreadsheet/index.d.cts +106 -3
  98. package/dist/spreadsheet/index.d.ts +106 -3
  99. package/dist/spreadsheet/index.js +32 -2
  100. package/package.json +10 -1
  101. package/dist/chunk-7WISYZFO.cjs.map +0 -1
  102. package/dist/chunk-C7P22VIP.cjs.map +0 -1
  103. package/dist/chunk-ECCCYKGL.js.map +0 -1
  104. package/dist/chunk-IXHSYOVY.js.map +0 -1
  105. package/dist/chunk-PO6A6QQH.cjs.map +0 -1
  106. package/dist/chunk-RR7F5GUM.js.map +0 -1
  107. package/dist/chunk-UAKDG62Z.js.map +0 -1
  108. package/dist/chunk-WSQKHXW7.cjs.map +0 -1
  109. package/dist/chunk-X4N4WUKB.cjs.map +0 -1
  110. package/dist/types-DX4Mh4SL.d.cts +0 -217
  111. package/dist/types-DX4Mh4SL.d.ts +0 -217
  112. /package/dist/{chunk-NAXVVS5I.js.map → chunk-QJSOZFCZ.js.map} +0 -0
  113. /package/dist/{chunk-QGYDWPRM.js.map → chunk-WON34HKM.js.map} +0 -0
@@ -114,7 +114,22 @@
114
114
 
115
115
 
116
116
 
117
- var _chunkWSQKHXW7cjs = require('../chunk-WSQKHXW7.cjs');
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+ var _chunkNQF32I6Zcjs = require('../chunk-NQF32I6Z.cjs');
118
133
 
119
134
 
120
135
 
@@ -167,7 +182,22 @@ var _chunkTNNJXF46cjs = require('../chunk-TNNJXF46.cjs');
167
182
 
168
183
 
169
184
 
170
- var _chunkC7P22VIPcjs = require('../chunk-C7P22VIP.cjs');
185
+ var _chunkEWCOFSCQcjs = require('../chunk-EWCOFSCQ.cjs');
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
171
201
 
172
202
 
173
203
 
@@ -333,5 +363,5 @@ var _chunkC7P22VIPcjs = require('../chunk-C7P22VIP.cjs');
333
363
 
334
364
 
335
365
 
336
- exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkWSQKHXW7cjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkWSQKHXW7cjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkWSQKHXW7cjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkWSQKHXW7cjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkWSQKHXW7cjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkWSQKHXW7cjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkWSQKHXW7cjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkWSQKHXW7cjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkWSQKHXW7cjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkWSQKHXW7cjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkWSQKHXW7cjs.DataSourceBinder; exports.DependencyGraph = _chunkWSQKHXW7cjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkWSQKHXW7cjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkC7P22VIPcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkC7P22VIPcjs.FormulaEvaluator; exports.FormulaLambda = _chunkC7P22VIPcjs.FormulaLambda; exports.FormulaParser = _chunkC7P22VIPcjs.FormulaParser; exports.MAX_DEFINED_NAME_LENGTH = _chunkWSQKHXW7cjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkC7P22VIPcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkC7P22VIPcjs.MAX_LAMBDA_DEPTH; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkC7P22VIPcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkWSQKHXW7cjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkWSQKHXW7cjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkC7P22VIPcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkWSQKHXW7cjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkWSQKHXW7cjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_TABLE_ACTIONS = _chunkWSQKHXW7cjs.SPREADSHEET_TABLE_ACTIONS; exports.SpreadsheetController = _chunkWSQKHXW7cjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkC7P22VIPcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkWSQKHXW7cjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkWSQKHXW7cjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkWSQKHXW7cjs.aggregateValues; exports.applyFormulaSuggestion = _chunkWSQKHXW7cjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkWSQKHXW7cjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkWSQKHXW7cjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkWSQKHXW7cjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkC7P22VIPcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkC7P22VIPcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkWSQKHXW7cjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkC7P22VIPcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkWSQKHXW7cjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkC7P22VIPcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkC7P22VIPcjs.colNameToIndex; exports.columnDependencyKey = _chunkWSQKHXW7cjs.columnDependencyKey; exports.compareCellValues = _chunkWSQKHXW7cjs.compareCellValues; exports.compareNumbers = _chunkC7P22VIPcjs.compareNumbers; exports.compareValues = _chunkC7P22VIPcjs.compareValues; exports.computeFillTarget = _chunkWSQKHXW7cjs.computeFillTarget; exports.computeRowGroups = _chunkWSQKHXW7cjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkWSQKHXW7cjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkWSQKHXW7cjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkWSQKHXW7cjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkWSQKHXW7cjs.conditionalFormatStyleString; exports.copySheetName = _chunkWSQKHXW7cjs.copySheetName; exports.createConditionalFormatRule = _chunkWSQKHXW7cjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkWSQKHXW7cjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkWSQKHXW7cjs.csvImportAdapter; exports.dateValueToSerial = _chunkC7P22VIPcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkWSQKHXW7cjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkWSQKHXW7cjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkWSQKHXW7cjs.describeConditionalFormat; exports.describeDataValidation = _chunkWSQKHXW7cjs.describeDataValidation; exports.describeFormulaError = _chunkC7P22VIPcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkWSQKHXW7cjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkWSQKHXW7cjs.extractCellDependencies; exports.extractNameDependencies = _chunkWSQKHXW7cjs.extractNameDependencies; exports.fillSeries = _chunkWSQKHXW7cjs.fillSeries; exports.findDataValidation = _chunkWSQKHXW7cjs.findDataValidation; exports.findInvalidCells = _chunkWSQKHXW7cjs.findInvalidCells; exports.forEachRangeCell = _chunkWSQKHXW7cjs.forEachRangeCell; exports.formatCellDisplay = _chunkWSQKHXW7cjs.formatCellDisplay; exports.formatCellForDisplay = _chunkWSQKHXW7cjs.formatCellForDisplay; exports.formatGeneralFit = _chunkC7P22VIPcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkC7P22VIPcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkWSQKHXW7cjs.formatRuleRanges; exports.formatSheetPrefix = _chunkWSQKHXW7cjs.formatSheetPrefix; exports.formatTextFunction = _chunkC7P22VIPcjs.formatTextFunction; exports.formatValueWithCode = _chunkWSQKHXW7cjs.formatValueWithCode; exports.formulaIdentifiers = _chunkWSQKHXW7cjs.formulaIdentifiers; exports.getConditionalFormatCss = _chunkWSQKHXW7cjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkWSQKHXW7cjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkWSQKHXW7cjs.getDataBarCss; exports.getFillDirection = _chunkWSQKHXW7cjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkC7P22VIPcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkWSQKHXW7cjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkC7P22VIPcjs.getFormulaFunction; exports.getFormulaHints = _chunkWSQKHXW7cjs.getFormulaHints; exports.getFormulaSignature = _chunkC7P22VIPcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkC7P22VIPcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkWSQKHXW7cjs.getNameManagerRows; exports.getRowSection = _chunkWSQKHXW7cjs.getRowSection; exports.getSheetTabMenuItems = _chunkWSQKHXW7cjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkWSQKHXW7cjs.getSpreadsheetMenuItems; exports.getTableSections = _chunkWSQKHXW7cjs.getTableSections; exports.getValidationListValues = _chunkWSQKHXW7cjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkWSQKHXW7cjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkC7P22VIPcjs.indexToColName; exports.isBlankValue = _chunkWSQKHXW7cjs.isBlankValue; exports.isFormulaError = _chunkC7P22VIPcjs.isFormulaError; exports.isFormulaLambda = _chunkC7P22VIPcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkWSQKHXW7cjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkWSQKHXW7cjs.isLambdaDefinition; exports.isSingleCellRange = _chunkWSQKHXW7cjs.isSingleCellRange; exports.listFormulaFunctions = _chunkC7P22VIPcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkWSQKHXW7cjs.mapFormulaReferences; exports.matchesFilterRule = _chunkWSQKHXW7cjs.matchesFilterRule; exports.matchesTimePeriod = _chunkWSQKHXW7cjs.matchesTimePeriod; exports.nextSheetName = _chunkWSQKHXW7cjs.nextSheetName; exports.normalizeRange = _chunkWSQKHXW7cjs.normalizeRange; exports.numberFormatColorToCss = _chunkC7P22VIPcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkWSQKHXW7cjs.numberFormatForCellFormat; exports.numberToText = _chunkC7P22VIPcjs.numberToText; exports.offsetFormulaReferences = _chunkWSQKHXW7cjs.offsetFormulaReferences; exports.parseCellInput = _chunkC7P22VIPcjs.parseCellInput; exports.parseCellReference = _chunkC7P22VIPcjs.parseCellReference; exports.parseCriteria = _chunkC7P22VIPcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkC7P22VIPcjs.parseFormula; exports.parseHtmlTable = _chunkWSQKHXW7cjs.parseHtmlTable; exports.parseNumberText = _chunkC7P22VIPcjs.parseNumberText; exports.parseRange = _chunkC7P22VIPcjs.parseRange; exports.parseRuleRanges = _chunkWSQKHXW7cjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkWSQKHXW7cjs.quoteSheetName; exports.rangeContains = _chunkWSQKHXW7cjs.rangeContains; exports.rangeContainsRange = _chunkWSQKHXW7cjs.rangeContainsRange; exports.rangesContain = _chunkWSQKHXW7cjs.rangesContain; exports.rangesIntersect = _chunkWSQKHXW7cjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkWSQKHXW7cjs.readSpreadsheetClipboard; exports.rebaseClipboardRows = _chunkWSQKHXW7cjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkC7P22VIPcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkWSQKHXW7cjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkWSQKHXW7cjs.remapFormulaReferences; exports.renameNameInFormula = _chunkWSQKHXW7cjs.renameNameInFormula; exports.renameSheetInFormula = _chunkWSQKHXW7cjs.renameSheetInFormula; exports.roundFloat = _chunkWSQKHXW7cjs.roundFloat; exports.rowPassesFilters = _chunkWSQKHXW7cjs.rowPassesFilters; exports.ruleAnchor = _chunkWSQKHXW7cjs.ruleAnchor; exports.ruleFormulaAt = _chunkWSQKHXW7cjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkWSQKHXW7cjs.runSpreadsheetMenuItem; exports.searchFormulaFunctions = _chunkC7P22VIPcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkC7P22VIPcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkWSQKHXW7cjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkWSQKHXW7cjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkWSQKHXW7cjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkWSQKHXW7cjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkWSQKHXW7cjs.shiftRuleFormula; exports.sortCompareValues = _chunkC7P22VIPcjs.sortCompareValues; exports.subtractRange = _chunkWSQKHXW7cjs.subtractRange; exports.subtractRangeFromRanges = _chunkWSQKHXW7cjs.subtractRangeFromRanges; exports.toNumber = _chunkWSQKHXW7cjs.toNumber; exports.tokenizeFormula = _chunkC7P22VIPcjs.tokenizeFormula; exports.tsvImportAdapter = _chunkWSQKHXW7cjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkC7P22VIPcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkWSQKHXW7cjs.validateCellInput; exports.validateDefinedName = _chunkWSQKHXW7cjs.validateDefinedName; exports.validateSheetName = _chunkWSQKHXW7cjs.validateSheetName; exports.wildcardToRegExp = _chunkC7P22VIPcjs.wildcardToRegExp;
366
+ exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkNQF32I6Zcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkNQF32I6Zcjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkNQF32I6Zcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkNQF32I6Zcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkNQF32I6Zcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkNQF32I6Zcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkNQF32I6Zcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkNQF32I6Zcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkNQF32I6Zcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkNQF32I6Zcjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkNQF32I6Zcjs.DataSourceBinder; exports.DependencyGraph = _chunkNQF32I6Zcjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkNQF32I6Zcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkEWCOFSCQcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkEWCOFSCQcjs.FormulaEvaluator; exports.FormulaLambda = _chunkEWCOFSCQcjs.FormulaLambda; exports.FormulaParser = _chunkEWCOFSCQcjs.FormulaParser; exports.IntervalIndex = _chunkNQF32I6Zcjs.IntervalIndex; exports.MAX_DEFINED_NAME_LENGTH = _chunkNQF32I6Zcjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkEWCOFSCQcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkEWCOFSCQcjs.MAX_LAMBDA_DEPTH; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkEWCOFSCQcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkNQF32I6Zcjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkNQF32I6Zcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkEWCOFSCQcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkNQF32I6Zcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkNQF32I6Zcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkNQF32I6Zcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkNQF32I6Zcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkNQF32I6Zcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkNQF32I6Zcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkNQF32I6Zcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkNQF32I6Zcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkNQF32I6Zcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.SpreadsheetController = _chunkNQF32I6Zcjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkEWCOFSCQcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkNQF32I6Zcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkNQF32I6Zcjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkNQF32I6Zcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkNQF32I6Zcjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkNQF32I6Zcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkNQF32I6Zcjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkNQF32I6Zcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkEWCOFSCQcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkEWCOFSCQcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkNQF32I6Zcjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkEWCOFSCQcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkNQF32I6Zcjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkEWCOFSCQcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkEWCOFSCQcjs.colNameToIndex; exports.columnDependencyKey = _chunkNQF32I6Zcjs.columnDependencyKey; exports.compareCellValues = _chunkNQF32I6Zcjs.compareCellValues; exports.compareNumbers = _chunkEWCOFSCQcjs.compareNumbers; exports.compareValues = _chunkEWCOFSCQcjs.compareValues; exports.computeFillTarget = _chunkNQF32I6Zcjs.computeFillTarget; exports.computeRowGroups = _chunkNQF32I6Zcjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkNQF32I6Zcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkNQF32I6Zcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkNQF32I6Zcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkNQF32I6Zcjs.conditionalFormatStyleString; exports.copySheetName = _chunkNQF32I6Zcjs.copySheetName; exports.createConditionalFormatRule = _chunkNQF32I6Zcjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkNQF32I6Zcjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkNQF32I6Zcjs.csvImportAdapter; exports.dateValueToSerial = _chunkEWCOFSCQcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkNQF32I6Zcjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkNQF32I6Zcjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkNQF32I6Zcjs.describeConditionalFormat; exports.describeDataValidation = _chunkNQF32I6Zcjs.describeDataValidation; exports.describeFormulaError = _chunkEWCOFSCQcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkNQF32I6Zcjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkNQF32I6Zcjs.extractCellDependencies; exports.extractNameDependencies = _chunkNQF32I6Zcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkNQF32I6Zcjs.extractReferenceDependencies; exports.fillSeries = _chunkNQF32I6Zcjs.fillSeries; exports.findDataValidation = _chunkNQF32I6Zcjs.findDataValidation; exports.findInvalidCells = _chunkNQF32I6Zcjs.findInvalidCells; exports.forEachRangeCell = _chunkNQF32I6Zcjs.forEachRangeCell; exports.formatCellDisplay = _chunkNQF32I6Zcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkNQF32I6Zcjs.formatCellForDisplay; exports.formatGeneralFit = _chunkEWCOFSCQcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkEWCOFSCQcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkNQF32I6Zcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkNQF32I6Zcjs.formatSheetPrefix; exports.formatTextFunction = _chunkEWCOFSCQcjs.formatTextFunction; exports.formatValueWithCode = _chunkNQF32I6Zcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkNQF32I6Zcjs.formulaIdentifiers; exports.fullSpreadsheetViewWindow = _chunkNQF32I6Zcjs.fullSpreadsheetViewWindow; exports.getConditionalFormatCss = _chunkNQF32I6Zcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkNQF32I6Zcjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkNQF32I6Zcjs.getDataBarCss; exports.getFillDirection = _chunkNQF32I6Zcjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkEWCOFSCQcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkNQF32I6Zcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkEWCOFSCQcjs.getFormulaFunction; exports.getFormulaHints = _chunkNQF32I6Zcjs.getFormulaHints; exports.getFormulaSignature = _chunkEWCOFSCQcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkEWCOFSCQcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkNQF32I6Zcjs.getNameManagerRows; exports.getRowSection = _chunkNQF32I6Zcjs.getRowSection; exports.getSheetTabMenuItems = _chunkNQF32I6Zcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkNQF32I6Zcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkNQF32I6Zcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkNQF32I6Zcjs.getSpreadsheetViewWindow; exports.getTableSections = _chunkNQF32I6Zcjs.getTableSections; exports.getValidationListValues = _chunkNQF32I6Zcjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkNQF32I6Zcjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkEWCOFSCQcjs.indexToColName; exports.isBlankValue = _chunkNQF32I6Zcjs.isBlankValue; exports.isFormulaError = _chunkEWCOFSCQcjs.isFormulaError; exports.isFormulaLambda = _chunkEWCOFSCQcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkNQF32I6Zcjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkNQF32I6Zcjs.isLambdaDefinition; exports.isSingleCellRange = _chunkNQF32I6Zcjs.isSingleCellRange; exports.listFormulaFunctions = _chunkEWCOFSCQcjs.listFormulaFunctions; exports.mapFormulaReferences = _chunkNQF32I6Zcjs.mapFormulaReferences; exports.matchesFilterRule = _chunkNQF32I6Zcjs.matchesFilterRule; exports.matchesTimePeriod = _chunkNQF32I6Zcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkNQF32I6Zcjs.measureSpreadsheetView; exports.nextSheetName = _chunkNQF32I6Zcjs.nextSheetName; exports.normalizeRange = _chunkNQF32I6Zcjs.normalizeRange; exports.numberFormatColorToCss = _chunkEWCOFSCQcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkNQF32I6Zcjs.numberFormatForCellFormat; exports.numberToText = _chunkEWCOFSCQcjs.numberToText; exports.offsetFormulaReferences = _chunkNQF32I6Zcjs.offsetFormulaReferences; exports.parseCellInput = _chunkEWCOFSCQcjs.parseCellInput; exports.parseCellReference = _chunkEWCOFSCQcjs.parseCellReference; exports.parseCriteria = _chunkEWCOFSCQcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkEWCOFSCQcjs.parseFormula; exports.parseHtmlTable = _chunkNQF32I6Zcjs.parseHtmlTable; exports.parseNumberText = _chunkEWCOFSCQcjs.parseNumberText; exports.parseRange = _chunkEWCOFSCQcjs.parseRange; exports.parseRuleRanges = _chunkNQF32I6Zcjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkNQF32I6Zcjs.quoteSheetName; exports.rangeContains = _chunkNQF32I6Zcjs.rangeContains; exports.rangeContainsRange = _chunkNQF32I6Zcjs.rangeContainsRange; exports.rangeDependencyKey = _chunkNQF32I6Zcjs.rangeDependencyKey; exports.rangesContain = _chunkNQF32I6Zcjs.rangesContain; exports.rangesIntersect = _chunkNQF32I6Zcjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkNQF32I6Zcjs.readSpreadsheetClipboard; exports.rebaseClipboardRows = _chunkNQF32I6Zcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkEWCOFSCQcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkNQF32I6Zcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkNQF32I6Zcjs.remapFormulaReferences; exports.renameNameInFormula = _chunkNQF32I6Zcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkNQF32I6Zcjs.renameSheetInFormula; exports.roundFloat = _chunkNQF32I6Zcjs.roundFloat; exports.rowPassesFilters = _chunkNQF32I6Zcjs.rowPassesFilters; exports.ruleAnchor = _chunkNQF32I6Zcjs.ruleAnchor; exports.ruleFormulaAt = _chunkNQF32I6Zcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkNQF32I6Zcjs.runSpreadsheetMenuItem; exports.sameSpreadsheetViewWindow = _chunkNQF32I6Zcjs.sameSpreadsheetViewWindow; exports.searchFormulaFunctions = _chunkEWCOFSCQcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkEWCOFSCQcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkNQF32I6Zcjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkNQF32I6Zcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkNQF32I6Zcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkNQF32I6Zcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkNQF32I6Zcjs.shiftRuleFormula; exports.shouldVirtualizeSpreadsheet = _chunkNQF32I6Zcjs.shouldVirtualizeSpreadsheet; exports.sortCompareValues = _chunkEWCOFSCQcjs.sortCompareValues; exports.subtractRange = _chunkNQF32I6Zcjs.subtractRange; exports.subtractRangeFromRanges = _chunkNQF32I6Zcjs.subtractRangeFromRanges; exports.toNumber = _chunkNQF32I6Zcjs.toNumber; exports.tokenizeFormula = _chunkEWCOFSCQcjs.tokenizeFormula; exports.tsvImportAdapter = _chunkNQF32I6Zcjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkEWCOFSCQcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkNQF32I6Zcjs.validateCellInput; exports.validateDefinedName = _chunkNQF32I6Zcjs.validateDefinedName; exports.validateSheetName = _chunkNQF32I6Zcjs.validateSheetName; exports.wildcardToRegExp = _chunkEWCOFSCQcjs.wildcardToRegExp;
337
367
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6rWAAC","file":"/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"}
1
+ {"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,g6YAAC","file":"/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"}
@@ -1,5 +1,5 @@
1
- import { A as ASTNode, O as FormulaErrorCode, U as FormulaRange, a as CellData, c as CellFormat, p as ConditionalFormatSheet, n as ConditionalFormatOverlay, o as ConditionalFormatRule, j as ConditionalCellFormat, t as ConditionalFormatValue, l as ConditionalFormatIconSet, F as DataValidationRule, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, e as CellRange, y as DataValidationErrorStyle, z as DataValidationOperator, H as DataValidationType, a6 as NewConditionalFormatRule, G as DataValidationSheet, d as CellPosition, E as DataValidationResult, _ as GroupAggregate, af as SortDirection, M as FilterRule, S as SpreadsheetController, as as SpreadsheetDefinedName, aK as StructuralChange } from '../controller-BIJiNoVs.cjs';
2
- export { B as BinaryOpNode, C as CellCoordinate, b as CellDep, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, k as ConditionalFormatCondition, m as ConditionalFormatOperator, s as ConditionalFormatType, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, I as DependencyGraph, J as EvaluationContext, K as FORMULA_ERRORS, L as FilterOperator, N as FormulaDiagnostic, P as FormulaEvaluationResult, Q as FormulaEvaluator, R as FormulaNameDefinition, T as FormulaParser, V as FormulaReferenceFilter, W as FormulaReferenceInfo, X as FormulaToken, Y as FormulaTokenType, Z as FunctionCallNode, $ as GroupSummary, a0 as InvokeNode, a1 as LiteralNode, a2 as MAX_FORMULA_ARRAY_SIZE, a3 as MissingNode, a4 as NameDep, a5 as NameNode, a7 as NewDataValidationRule, a8 as NewFilterRule, a9 as ParsedSpreadsheetClipboard, aa as PropertyRefNode, ab as RangeNode, ac as RowType, ad as SPREADSHEET_CLIPBOARD_MIME, ae as SheetQualifier, ag as SortKey, ah as SpillRefNode, ai as SpreadsheetCellSpan, aj as SpreadsheetClipboardCell, ak as SpreadsheetClipboardData, al as SpreadsheetClipboardPayload, am as SpreadsheetClipboardSource, an as SpreadsheetColumn, ao as SpreadsheetCommitResult, ap as SpreadsheetControllerOptions, aq as SpreadsheetDataSource, ar as SpreadsheetDataSourceField, at as SpreadsheetDocument, au as SpreadsheetFilterState, av as SpreadsheetGrouping, aw as SpreadsheetNameInfo, ax as SpreadsheetNameScope, ay as SpreadsheetRow, az as SpreadsheetRowGroup, aA as SpreadsheetRowSection, aB as SpreadsheetSheetInfo, aC as SpreadsheetSpill, aD as SpreadsheetTableSettings, aE as SpreadsheetValidationAction, aF as SpreadsheetValidationPrompt, aG as SpreadsheetViewColumn, aH as SpreadsheetViewModel, aI as SpreadsheetViewRow, aJ as SpreadsheetWorkbook, aL as UnaryOpNode, aM as WHOLE_COLUMN_END_ROW, aN as buildSpreadsheetView, aO as colNameToIndex, aP as columnDependencyKey, aQ as compareNumbers, aR as compareValues, aS as computeRowGroups, aT as createSpreadsheetClipboardData, aU as deleteSheetInFormula, aV as describeFormulaError, aW as extractCellDependencies, aX as extractNameDependencies, aY as formatSheetPrefix, aZ as formulaIdentifiers, a_ as getRowSection, a$ as getTableSections, b0 as indexToColName, b1 as isFormulaError, b2 as mapFormulaReferences, b3 as numberToText, b4 as offsetFormulaReferences, b5 as parseCellReference, b6 as parseFormula, b7 as parseHtmlTable, b8 as parseRange, b9 as quoteSheetName, ba as readSpreadsheetClipboard, bb as rebaseClipboardRows, bc as remapFormulaReferences, bd as renameNameInFormula, be as renameSheetInFormula, bf as rowPassesFilters, bg as serializeHtmlTable, bh as sheetNameNeedsQuotes, bi as shiftFormulaReferences, bj as sortCompareValues, bk as tokenizeFormula } from '../controller-BIJiNoVs.cjs';
1
+ import { A as ASTNode, P as FormulaErrorCode, V as FormulaRange, a as CellData, c as CellFormat, p as ConditionalFormatSheet, n as ConditionalFormatOverlay, o as ConditionalFormatRule, j as ConditionalCellFormat, t as ConditionalFormatValue, l as ConditionalFormatIconSet, F as DataValidationRule, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, e as CellRange, y as DataValidationErrorStyle, z as DataValidationOperator, H as DataValidationType, a8 as NewConditionalFormatRule, G as DataValidationSheet, d as CellPosition, E as DataValidationResult, $ as GroupAggregate, aj as SortDirection, N as FilterRule, S as SpreadsheetController, aw as SpreadsheetDefinedName, aP as StructuralChange, aM as SpreadsheetViewModel } from '../controller-CxXGOEmy.cjs';
2
+ export { B as BinaryOpNode, C as CellCoordinate, b as CellDep, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, k as ConditionalFormatCondition, m as ConditionalFormatOperator, s as ConditionalFormatType, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, O as FormulaDiagnostic, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, 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, 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, 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, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, 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, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, 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-CxXGOEmy.cjs';
3
3
  import { I as ImportAdapterRegistry, b as ImportAdapter, h as ImportInput, a as ImportOutcome } from '../registry-CEgwXED1.cjs';
4
4
 
5
5
  /**
@@ -1076,4 +1076,107 @@ declare function formatRuleRanges(ranges: CellRange[]): string;
1076
1076
  /** Parses `A1:B5, D2` (commas, semicolons or spaces between ranges; `$` ignored). Null when any part is not a cell or range. */
1077
1077
  declare function parseRuleRanges(text: string): CellRange[] | null;
1078
1078
 
1079
- export { ASTNode, CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellData, CellFormat, type CellInputFormatKind, CellPosition, CellRange, ConditionalCellFormat, type ConditionalFormatCss, ConditionalFormatEngine, type ConditionalFormatIconGlyph, ConditionalFormatIconSet, ConditionalFormatOverlay, type ConditionalFormatPresetField, type ConditionalFormatPresetInfo, type ConditionalFormatPresetInput, type ConditionalFormatPresetKind, ConditionalFormatRule, ConditionalFormatSheet, ConditionalFormatStyle, ConditionalFormatTimePeriod, ConditionalFormatValue, type CsvParseOptions, type 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, DataValidationErrorStyle, DataValidationOperator, DataValidationResult, DataValidationRule, DataValidationSheet, DataValidationType, EMPTY_CONDITIONAL_FORMAT_OVERLAY, type FillDirection, FilterRule, type FormattedNumberValue, type FormulaActiveCall, type FormulaArgument, type FormulaArgumentSpec, type FormulaArgumentType, type FormulaCaretContext, type FormulaCriteriaPredicate, type FormulaEnvironment, FormulaErrorCode, type FormulaFunctionCategory, type FormulaFunctionContext, type FormulaFunctionDefinition, type FormulaFunctionSuggestion, type FormulaHints, FormulaLambda, type FormulaNameSuggestionSource, FormulaRange, type FormulaSignaturePart, GroupAggregate, type ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NewConditionalFormatRule, NumberFormat, type NumberFormatColor, type NumberFormatKind, type NumberFormatPreset, type ParsedCellInput, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_TABLE_ACTIONS, SortDirection, SpreadsheetController, SpreadsheetDefinedName, type SpreadsheetImport, type SpreadsheetImportAdapter, type SpreadsheetMenuItem, type SpreadsheetNameRow, type SpreadsheetPanelId, type SpreadsheetTableActionName, type SpreadsheetTableActions, StructuralChange, 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, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, matchesFilterRule, matchesTimePeriod, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, subtractRange, subtractRangeFromRanges, toNumber, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp };
1079
+ /**
1080
+ * Virtualised rendering of large sheets: which displayed rows and columns
1081
+ * are inside (or near) the scrolled viewport, the space taken by the ones
1082
+ * left out, and how far to scroll to bring a cell into view. Framework
1083
+ * bindings render the frozen rows/columns, a spacer, the window and another
1084
+ * spacer; small sheets render everything (`shouldVirtualizeSpreadsheet`).
1085
+ */
1086
+
1087
+ /** Height of the sticky column-header row, in pixels. */
1088
+ declare const SPREADSHEET_COLUMN_HEADER_HEIGHT = 28;
1089
+ /** Width of the sticky row-number column, in pixels. */
1090
+ declare const SPREADSHEET_ROW_HEADER_WIDTH = 48;
1091
+ /** Height of a category (group) header row, in pixels. */
1092
+ declare const SPREADSHEET_GROUP_ROW_HEIGHT = 28;
1093
+ /** Displayed rows above which `shouldVirtualizeSpreadsheet` turns virtualisation on. */
1094
+ declare const SPREADSHEET_VIRTUAL_ROW_THRESHOLD = 200;
1095
+ /** Displayed columns above which `shouldVirtualizeSpreadsheet` turns virtualisation on. */
1096
+ declare const SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = 60;
1097
+ /** Viewport assumed before the grid has been measured (server rendering, jsdom). */
1098
+ declare const SPREADSHEET_DEFAULT_VIEWPORT: {
1099
+ width: number;
1100
+ height: number;
1101
+ };
1102
+ /** Pixel positions of a view model's rows and columns (see `measureSpreadsheetView`). */
1103
+ interface SpreadsheetViewMetrics {
1104
+ /** Top of each entry of `view.rows`, below the column header; the last entry is the total height. */
1105
+ rowTops: Float64Array;
1106
+ /** Left of each entry of `view.columns`, after the row header; the last entry is the total width. */
1107
+ columnLefts: Float64Array;
1108
+ /** Leading frozen entries of `view.rows` (always rendered, sticky). */
1109
+ frozenRows: number;
1110
+ /** Leading frozen entries of `view.columns`. */
1111
+ frozenColumns: number;
1112
+ /** Position in `view.rows` of each displayed document row. */
1113
+ rowPosition: Map<number, number>;
1114
+ /** Position in `view.columns` of each displayed document column. */
1115
+ columnPosition: Map<number, number>;
1116
+ }
1117
+ /** The scroll container: its scroll offsets and client size, in pixels. */
1118
+ interface SpreadsheetViewport {
1119
+ scrollTop: number;
1120
+ scrollLeft: number;
1121
+ width: number;
1122
+ height: number;
1123
+ }
1124
+ /**
1125
+ * The part of a view model to render: frozen rows `[0, frozenRows)`, then
1126
+ * `topSpace` pixels of rows left out, then rows `[rowStart, rowEnd)`, then
1127
+ * `bottomSpace`; columns likewise (indices into `view.rows` / `view.columns`).
1128
+ */
1129
+ interface SpreadsheetViewWindow {
1130
+ virtual: boolean;
1131
+ frozenRows: number;
1132
+ rowStart: number;
1133
+ rowEnd: number;
1134
+ topSpace: number;
1135
+ bottomSpace: number;
1136
+ frozenColumns: number;
1137
+ colStart: number;
1138
+ colEnd: number;
1139
+ leftSpace: number;
1140
+ rightSpace: number;
1141
+ }
1142
+ interface SpreadsheetViewWindowOptions {
1143
+ /** Extra rows rendered above and below the viewport. Default 8. */
1144
+ overscanRows?: number;
1145
+ /** Extra columns rendered left and right of the viewport. Default 2. */
1146
+ overscanColumns?: number;
1147
+ /** Merged ranges (document indices): a merge crossing the window's edge is rendered whole. */
1148
+ merges?: readonly CellRange[];
1149
+ }
1150
+ /** Measures the rows (row height, or the group row height) and columns (width) of a view model. */
1151
+ declare function measureSpreadsheetView(view: SpreadsheetViewModel): SpreadsheetViewMetrics;
1152
+ /**
1153
+ * Whether to virtualise: `true` / `false` force it; `'auto'` (the default)
1154
+ * virtualises views with more than `SPREADSHEET_VIRTUAL_ROW_THRESHOLD` rows
1155
+ * or `SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD` columns, so small sheets render
1156
+ * every cell exactly as before.
1157
+ */
1158
+ declare function shouldVirtualizeSpreadsheet(view: SpreadsheetViewModel, mode?: boolean | 'auto'): boolean;
1159
+ /** A window holding every row and column (no spacers). */
1160
+ declare function fullSpreadsheetViewWindow(metrics: SpreadsheetViewMetrics): SpreadsheetViewWindow;
1161
+ /**
1162
+ * The rows and columns to render for a viewport. Frozen rows and columns are
1163
+ * always rendered; the rest are limited to the viewport plus overscan, and
1164
+ * widened so no merge is cut by the window's edge.
1165
+ */
1166
+ declare function getSpreadsheetViewWindow(metrics: SpreadsheetViewMetrics, viewport: SpreadsheetViewport, options?: SpreadsheetViewWindowOptions): SpreadsheetViewWindow;
1167
+ /**
1168
+ * Scroll offsets that bring the cell at document (row, col) fully into view
1169
+ * (below the frozen rows, right of the frozen columns), or null when it
1170
+ * already is (or isn't displayed). Only the axes that must move are set.
1171
+ */
1172
+ declare function getSpreadsheetScrollToCell(metrics: SpreadsheetViewMetrics, viewport: SpreadsheetViewport, cell: {
1173
+ row: number;
1174
+ col: number;
1175
+ }): {
1176
+ scrollTop?: number;
1177
+ scrollLeft?: number;
1178
+ } | null;
1179
+ /** Whether two windows render the same rows and columns. */
1180
+ declare function sameSpreadsheetViewWindow(a: SpreadsheetViewWindow, b: SpreadsheetViewWindow): boolean;
1181
+
1182
+ export { ASTNode, CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellData, CellFormat, type CellInputFormatKind, CellPosition, CellRange, ConditionalCellFormat, type ConditionalFormatCss, ConditionalFormatEngine, type ConditionalFormatIconGlyph, ConditionalFormatIconSet, ConditionalFormatOverlay, type ConditionalFormatPresetField, type ConditionalFormatPresetInfo, type ConditionalFormatPresetInput, type ConditionalFormatPresetKind, ConditionalFormatRule, ConditionalFormatSheet, ConditionalFormatStyle, ConditionalFormatTimePeriod, ConditionalFormatValue, type CsvParseOptions, type 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, DataValidationErrorStyle, DataValidationOperator, DataValidationResult, DataValidationRule, DataValidationSheet, DataValidationType, EMPTY_CONDITIONAL_FORMAT_OVERLAY, type FillDirection, FilterRule, type FormattedNumberValue, type FormulaActiveCall, type FormulaArgument, type FormulaArgumentSpec, type FormulaArgumentType, type FormulaCaretContext, type FormulaCriteriaPredicate, type FormulaEnvironment, FormulaErrorCode, type FormulaFunctionCategory, type FormulaFunctionContext, type FormulaFunctionDefinition, type FormulaFunctionSuggestion, type FormulaHints, FormulaLambda, type FormulaNameSuggestionSource, FormulaRange, type FormulaSignaturePart, GroupAggregate, type ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NewConditionalFormatRule, NumberFormat, type NumberFormatColor, type NumberFormatKind, type NumberFormatPreset, type 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, SortDirection, SpreadsheetController, SpreadsheetDefinedName, type SpreadsheetImport, type SpreadsheetImportAdapter, type SpreadsheetMenuItem, type SpreadsheetNameRow, type SpreadsheetPanelId, type SpreadsheetTableActionName, type SpreadsheetTableActions, type SpreadsheetViewMetrics, SpreadsheetViewModel, type SpreadsheetViewWindow, type SpreadsheetViewWindowOptions, type SpreadsheetViewport, StructuralChange, 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 };
@@ -1,5 +1,5 @@
1
- import { A as ASTNode, O as FormulaErrorCode, U as FormulaRange, a as CellData, c as CellFormat, p as ConditionalFormatSheet, n as ConditionalFormatOverlay, o as ConditionalFormatRule, j as ConditionalCellFormat, t as ConditionalFormatValue, l as ConditionalFormatIconSet, F as DataValidationRule, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, e as CellRange, y as DataValidationErrorStyle, z as DataValidationOperator, H as DataValidationType, a6 as NewConditionalFormatRule, G as DataValidationSheet, d as CellPosition, E as DataValidationResult, _ as GroupAggregate, af as SortDirection, M as FilterRule, S as SpreadsheetController, as as SpreadsheetDefinedName, aK as StructuralChange } from '../controller-BIJiNoVs.js';
2
- export { B as BinaryOpNode, C as CellCoordinate, b as CellDep, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, k as ConditionalFormatCondition, m as ConditionalFormatOperator, s as ConditionalFormatType, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, I as DependencyGraph, J as EvaluationContext, K as FORMULA_ERRORS, L as FilterOperator, N as FormulaDiagnostic, P as FormulaEvaluationResult, Q as FormulaEvaluator, R as FormulaNameDefinition, T as FormulaParser, V as FormulaReferenceFilter, W as FormulaReferenceInfo, X as FormulaToken, Y as FormulaTokenType, Z as FunctionCallNode, $ as GroupSummary, a0 as InvokeNode, a1 as LiteralNode, a2 as MAX_FORMULA_ARRAY_SIZE, a3 as MissingNode, a4 as NameDep, a5 as NameNode, a7 as NewDataValidationRule, a8 as NewFilterRule, a9 as ParsedSpreadsheetClipboard, aa as PropertyRefNode, ab as RangeNode, ac as RowType, ad as SPREADSHEET_CLIPBOARD_MIME, ae as SheetQualifier, ag as SortKey, ah as SpillRefNode, ai as SpreadsheetCellSpan, aj as SpreadsheetClipboardCell, ak as SpreadsheetClipboardData, al as SpreadsheetClipboardPayload, am as SpreadsheetClipboardSource, an as SpreadsheetColumn, ao as SpreadsheetCommitResult, ap as SpreadsheetControllerOptions, aq as SpreadsheetDataSource, ar as SpreadsheetDataSourceField, at as SpreadsheetDocument, au as SpreadsheetFilterState, av as SpreadsheetGrouping, aw as SpreadsheetNameInfo, ax as SpreadsheetNameScope, ay as SpreadsheetRow, az as SpreadsheetRowGroup, aA as SpreadsheetRowSection, aB as SpreadsheetSheetInfo, aC as SpreadsheetSpill, aD as SpreadsheetTableSettings, aE as SpreadsheetValidationAction, aF as SpreadsheetValidationPrompt, aG as SpreadsheetViewColumn, aH as SpreadsheetViewModel, aI as SpreadsheetViewRow, aJ as SpreadsheetWorkbook, aL as UnaryOpNode, aM as WHOLE_COLUMN_END_ROW, aN as buildSpreadsheetView, aO as colNameToIndex, aP as columnDependencyKey, aQ as compareNumbers, aR as compareValues, aS as computeRowGroups, aT as createSpreadsheetClipboardData, aU as deleteSheetInFormula, aV as describeFormulaError, aW as extractCellDependencies, aX as extractNameDependencies, aY as formatSheetPrefix, aZ as formulaIdentifiers, a_ as getRowSection, a$ as getTableSections, b0 as indexToColName, b1 as isFormulaError, b2 as mapFormulaReferences, b3 as numberToText, b4 as offsetFormulaReferences, b5 as parseCellReference, b6 as parseFormula, b7 as parseHtmlTable, b8 as parseRange, b9 as quoteSheetName, ba as readSpreadsheetClipboard, bb as rebaseClipboardRows, bc as remapFormulaReferences, bd as renameNameInFormula, be as renameSheetInFormula, bf as rowPassesFilters, bg as serializeHtmlTable, bh as sheetNameNeedsQuotes, bi as shiftFormulaReferences, bj as sortCompareValues, bk as tokenizeFormula } from '../controller-BIJiNoVs.js';
1
+ import { A as ASTNode, P as FormulaErrorCode, V as FormulaRange, a as CellData, c as CellFormat, p as ConditionalFormatSheet, n as ConditionalFormatOverlay, o as ConditionalFormatRule, j as ConditionalCellFormat, t as ConditionalFormatValue, l as ConditionalFormatIconSet, F as DataValidationRule, q as ConditionalFormatStyle, r as ConditionalFormatTimePeriod, e as CellRange, y as DataValidationErrorStyle, z as DataValidationOperator, H as DataValidationType, a8 as NewConditionalFormatRule, G as DataValidationSheet, d as CellPosition, E as DataValidationResult, $ as GroupAggregate, aj as SortDirection, N as FilterRule, S as SpreadsheetController, aw as SpreadsheetDefinedName, aP as StructuralChange, aM as SpreadsheetViewModel } from '../controller-CxXGOEmy.js';
2
+ export { B as BinaryOpNode, C as CellCoordinate, b as CellDep, f as CellRefNode, g as CellValueReader, h as ColumnBinding, i as ColumnType, k as ConditionalFormatCondition, m as ConditionalFormatOperator, s as ConditionalFormatType, u as CsvExportOptions, v as CsvImportOptions, D as DEFAULT_COLUMN_WIDTH, w as DEFAULT_ROW_HEIGHT, x as DataSourceBinder, I as DependencyGraph, J as DependencyIndexStats, K as EvaluationContext, L as FORMULA_ERRORS, M as FilterOperator, O as FormulaDiagnostic, Q as FormulaEvaluationResult, R as FormulaEvaluator, T as FormulaNameDefinition, U as FormulaParser, W as FormulaReferenceFilter, X as FormulaReferenceInfo, Y as FormulaToken, Z as FormulaTokenType, _ as FunctionCallNode, 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, 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, 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, at as SpreadsheetControllerOptions, au as SpreadsheetDataSource, av as SpreadsheetDataSourceField, 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, aN as SpreadsheetViewRow, aO as SpreadsheetWorkbook, 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-CxXGOEmy.js';
3
3
  import { I as ImportAdapterRegistry, b as ImportAdapter, h as ImportInput, a as ImportOutcome } from '../registry-CEgwXED1.js';
4
4
 
5
5
  /**
@@ -1076,4 +1076,107 @@ declare function formatRuleRanges(ranges: CellRange[]): string;
1076
1076
  /** Parses `A1:B5, D2` (commas, semicolons or spaces between ranges; `$` ignored). Null when any part is not a cell or range. */
1077
1077
  declare function parseRuleRanges(text: string): CellRange[] | null;
1078
1078
 
1079
- export { ASTNode, CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellData, CellFormat, type CellInputFormatKind, CellPosition, CellRange, ConditionalCellFormat, type ConditionalFormatCss, ConditionalFormatEngine, type ConditionalFormatIconGlyph, ConditionalFormatIconSet, ConditionalFormatOverlay, type ConditionalFormatPresetField, type ConditionalFormatPresetInfo, type ConditionalFormatPresetInput, type ConditionalFormatPresetKind, ConditionalFormatRule, ConditionalFormatSheet, ConditionalFormatStyle, ConditionalFormatTimePeriod, ConditionalFormatValue, type CsvParseOptions, type 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, DataValidationErrorStyle, DataValidationOperator, DataValidationResult, DataValidationRule, DataValidationSheet, DataValidationType, EMPTY_CONDITIONAL_FORMAT_OVERLAY, type FillDirection, FilterRule, type FormattedNumberValue, type FormulaActiveCall, type FormulaArgument, type FormulaArgumentSpec, type FormulaArgumentType, type FormulaCaretContext, type FormulaCriteriaPredicate, type FormulaEnvironment, FormulaErrorCode, type FormulaFunctionCategory, type FormulaFunctionContext, type FormulaFunctionDefinition, type FormulaFunctionSuggestion, type FormulaHints, FormulaLambda, type FormulaNameSuggestionSource, FormulaRange, type FormulaSignaturePart, GroupAggregate, type ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NewConditionalFormatRule, NumberFormat, type NumberFormatColor, type NumberFormatKind, type NumberFormatPreset, type ParsedCellInput, SPREADSHEET_IMPORT_ADAPTERS, SPREADSHEET_TABLE_ACTIONS, SortDirection, SpreadsheetController, SpreadsheetDefinedName, type SpreadsheetImport, type SpreadsheetImportAdapter, type SpreadsheetMenuItem, type SpreadsheetNameRow, type SpreadsheetPanelId, type SpreadsheetTableActionName, type SpreadsheetTableActions, StructuralChange, 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, getConditionalFormatCss, getConditionalFormatIcon, getDataBarCss, getFillDirection, getFormulaArgumentSpecIndex, getFormulaCaretContext, getFormulaFunction, getFormulaHints, getFormulaSignature, getFormulaSignatureParts, getNameManagerRows, getSheetTabMenuItems, getSpreadsheetMenuItems, getValidationListValues, importFileIntoSpreadsheet, isBlankValue, isFormulaLambda, isGeneralNumberFormat, isLambdaDefinition, isSingleCellRange, listFormulaFunctions, matchesFilterRule, matchesTimePeriod, nextSheetName, normalizeRange, numberFormatColorToCss, numberFormatForCellFormat, parseCellInput, parseCriteria, parseCsv, parseNumberText, parseRuleRanges, parseTsv, rangeContains, rangeContainsRange, rangesContain, rangesIntersect, registerFormulaFunction, registerSpreadsheetImportAdapters, roundFloat, ruleAnchor, ruleFormulaAt, runSpreadsheetMenuItem, searchFormulaFunctions, serialFromYmd, serializeCsv, serializeTsv, sheetDropIndex, shiftRuleFormula, subtractRange, subtractRangeFromRanges, toNumber, tsvImportAdapter, unregisterFormulaFunction, validateCellInput, validateDefinedName, validateSheetName, wildcardToRegExp };
1079
+ /**
1080
+ * Virtualised rendering of large sheets: which displayed rows and columns
1081
+ * are inside (or near) the scrolled viewport, the space taken by the ones
1082
+ * left out, and how far to scroll to bring a cell into view. Framework
1083
+ * bindings render the frozen rows/columns, a spacer, the window and another
1084
+ * spacer; small sheets render everything (`shouldVirtualizeSpreadsheet`).
1085
+ */
1086
+
1087
+ /** Height of the sticky column-header row, in pixels. */
1088
+ declare const SPREADSHEET_COLUMN_HEADER_HEIGHT = 28;
1089
+ /** Width of the sticky row-number column, in pixels. */
1090
+ declare const SPREADSHEET_ROW_HEADER_WIDTH = 48;
1091
+ /** Height of a category (group) header row, in pixels. */
1092
+ declare const SPREADSHEET_GROUP_ROW_HEIGHT = 28;
1093
+ /** Displayed rows above which `shouldVirtualizeSpreadsheet` turns virtualisation on. */
1094
+ declare const SPREADSHEET_VIRTUAL_ROW_THRESHOLD = 200;
1095
+ /** Displayed columns above which `shouldVirtualizeSpreadsheet` turns virtualisation on. */
1096
+ declare const SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = 60;
1097
+ /** Viewport assumed before the grid has been measured (server rendering, jsdom). */
1098
+ declare const SPREADSHEET_DEFAULT_VIEWPORT: {
1099
+ width: number;
1100
+ height: number;
1101
+ };
1102
+ /** Pixel positions of a view model's rows and columns (see `measureSpreadsheetView`). */
1103
+ interface SpreadsheetViewMetrics {
1104
+ /** Top of each entry of `view.rows`, below the column header; the last entry is the total height. */
1105
+ rowTops: Float64Array;
1106
+ /** Left of each entry of `view.columns`, after the row header; the last entry is the total width. */
1107
+ columnLefts: Float64Array;
1108
+ /** Leading frozen entries of `view.rows` (always rendered, sticky). */
1109
+ frozenRows: number;
1110
+ /** Leading frozen entries of `view.columns`. */
1111
+ frozenColumns: number;
1112
+ /** Position in `view.rows` of each displayed document row. */
1113
+ rowPosition: Map<number, number>;
1114
+ /** Position in `view.columns` of each displayed document column. */
1115
+ columnPosition: Map<number, number>;
1116
+ }
1117
+ /** The scroll container: its scroll offsets and client size, in pixels. */
1118
+ interface SpreadsheetViewport {
1119
+ scrollTop: number;
1120
+ scrollLeft: number;
1121
+ width: number;
1122
+ height: number;
1123
+ }
1124
+ /**
1125
+ * The part of a view model to render: frozen rows `[0, frozenRows)`, then
1126
+ * `topSpace` pixels of rows left out, then rows `[rowStart, rowEnd)`, then
1127
+ * `bottomSpace`; columns likewise (indices into `view.rows` / `view.columns`).
1128
+ */
1129
+ interface SpreadsheetViewWindow {
1130
+ virtual: boolean;
1131
+ frozenRows: number;
1132
+ rowStart: number;
1133
+ rowEnd: number;
1134
+ topSpace: number;
1135
+ bottomSpace: number;
1136
+ frozenColumns: number;
1137
+ colStart: number;
1138
+ colEnd: number;
1139
+ leftSpace: number;
1140
+ rightSpace: number;
1141
+ }
1142
+ interface SpreadsheetViewWindowOptions {
1143
+ /** Extra rows rendered above and below the viewport. Default 8. */
1144
+ overscanRows?: number;
1145
+ /** Extra columns rendered left and right of the viewport. Default 2. */
1146
+ overscanColumns?: number;
1147
+ /** Merged ranges (document indices): a merge crossing the window's edge is rendered whole. */
1148
+ merges?: readonly CellRange[];
1149
+ }
1150
+ /** Measures the rows (row height, or the group row height) and columns (width) of a view model. */
1151
+ declare function measureSpreadsheetView(view: SpreadsheetViewModel): SpreadsheetViewMetrics;
1152
+ /**
1153
+ * Whether to virtualise: `true` / `false` force it; `'auto'` (the default)
1154
+ * virtualises views with more than `SPREADSHEET_VIRTUAL_ROW_THRESHOLD` rows
1155
+ * or `SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD` columns, so small sheets render
1156
+ * every cell exactly as before.
1157
+ */
1158
+ declare function shouldVirtualizeSpreadsheet(view: SpreadsheetViewModel, mode?: boolean | 'auto'): boolean;
1159
+ /** A window holding every row and column (no spacers). */
1160
+ declare function fullSpreadsheetViewWindow(metrics: SpreadsheetViewMetrics): SpreadsheetViewWindow;
1161
+ /**
1162
+ * The rows and columns to render for a viewport. Frozen rows and columns are
1163
+ * always rendered; the rest are limited to the viewport plus overscan, and
1164
+ * widened so no merge is cut by the window's edge.
1165
+ */
1166
+ declare function getSpreadsheetViewWindow(metrics: SpreadsheetViewMetrics, viewport: SpreadsheetViewport, options?: SpreadsheetViewWindowOptions): SpreadsheetViewWindow;
1167
+ /**
1168
+ * Scroll offsets that bring the cell at document (row, col) fully into view
1169
+ * (below the frozen rows, right of the frozen columns), or null when it
1170
+ * already is (or isn't displayed). Only the axes that must move are set.
1171
+ */
1172
+ declare function getSpreadsheetScrollToCell(metrics: SpreadsheetViewMetrics, viewport: SpreadsheetViewport, cell: {
1173
+ row: number;
1174
+ col: number;
1175
+ }): {
1176
+ scrollTop?: number;
1177
+ scrollLeft?: number;
1178
+ } | null;
1179
+ /** Whether two windows render the same rows and columns. */
1180
+ declare function sameSpreadsheetViewWindow(a: SpreadsheetViewWindow, b: SpreadsheetViewWindow): boolean;
1181
+
1182
+ export { ASTNode, CONDITIONAL_FORMAT_ICON_SETS, CONDITIONAL_FORMAT_PRESETS, CONDITIONAL_FORMAT_STYLE_PRESETS, CONDITIONAL_FORMAT_TIME_PERIODS, CellData, CellFormat, type CellInputFormatKind, CellPosition, CellRange, ConditionalCellFormat, type ConditionalFormatCss, ConditionalFormatEngine, type ConditionalFormatIconGlyph, ConditionalFormatIconSet, ConditionalFormatOverlay, type ConditionalFormatPresetField, type ConditionalFormatPresetInfo, type ConditionalFormatPresetInput, type ConditionalFormatPresetKind, ConditionalFormatRule, ConditionalFormatSheet, ConditionalFormatStyle, ConditionalFormatTimePeriod, ConditionalFormatValue, type CsvParseOptions, type 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, DataValidationErrorStyle, DataValidationOperator, DataValidationResult, DataValidationRule, DataValidationSheet, DataValidationType, EMPTY_CONDITIONAL_FORMAT_OVERLAY, type FillDirection, FilterRule, type FormattedNumberValue, type FormulaActiveCall, type FormulaArgument, type FormulaArgumentSpec, type FormulaArgumentType, type FormulaCaretContext, type FormulaCriteriaPredicate, type FormulaEnvironment, FormulaErrorCode, type FormulaFunctionCategory, type FormulaFunctionContext, type FormulaFunctionDefinition, type FormulaFunctionSuggestion, type FormulaHints, FormulaLambda, type FormulaNameSuggestionSource, FormulaRange, type FormulaSignaturePart, GroupAggregate, type ImportFileIntoSpreadsheetOptions, MAX_DEFINED_NAME_LENGTH, MAX_LAMBDA_DEPTH, MAX_NUMBER_FORMAT_CODE_CHARS, MAX_SHEET_NAME_LENGTH, NUMBER_FORMAT_PRESETS, NewConditionalFormatRule, NumberFormat, type NumberFormatColor, type NumberFormatKind, type NumberFormatPreset, type 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, SortDirection, SpreadsheetController, SpreadsheetDefinedName, type SpreadsheetImport, type SpreadsheetImportAdapter, type SpreadsheetMenuItem, type SpreadsheetNameRow, type SpreadsheetPanelId, type SpreadsheetTableActionName, type SpreadsheetTableActions, type SpreadsheetViewMetrics, SpreadsheetViewModel, type SpreadsheetViewWindow, type SpreadsheetViewWindowOptions, type SpreadsheetViewport, StructuralChange, 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 };
@@ -15,12 +15,19 @@ import {
15
15
  DataSourceBinder,
16
16
  DependencyGraph,
17
17
  EMPTY_CONDITIONAL_FORMAT_OVERLAY,
18
+ IntervalIndex,
18
19
  MAX_DEFINED_NAME_LENGTH,
19
20
  MAX_SHEET_NAME_LENGTH,
20
21
  NUMBER_FORMAT_PRESETS,
21
22
  SPREADSHEET_CLIPBOARD_MIME,
23
+ SPREADSHEET_COLUMN_HEADER_HEIGHT,
24
+ SPREADSHEET_DEFAULT_VIEWPORT,
25
+ SPREADSHEET_GROUP_ROW_HEIGHT,
22
26
  SPREADSHEET_IMPORT_ADAPTERS,
27
+ SPREADSHEET_ROW_HEADER_WIDTH,
23
28
  SPREADSHEET_TABLE_ACTIONS,
29
+ SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD,
30
+ SPREADSHEET_VIRTUAL_ROW_THRESHOLD,
24
31
  SpreadsheetController,
25
32
  adjustRangeForStructuralChange,
26
33
  adjustRangesForStructuralChange,
@@ -50,6 +57,7 @@ import {
50
57
  evaluateConditionalFormats,
51
58
  extractCellDependencies,
52
59
  extractNameDependencies,
60
+ extractReferenceDependencies,
53
61
  fillSeries,
54
62
  findDataValidation,
55
63
  findInvalidCells,
@@ -60,6 +68,7 @@ import {
60
68
  formatSheetPrefix,
61
69
  formatValueWithCode,
62
70
  formulaIdentifiers,
71
+ fullSpreadsheetViewWindow,
63
72
  getConditionalFormatCss,
64
73
  getConditionalFormatIcon,
65
74
  getDataBarCss,
@@ -70,6 +79,8 @@ import {
70
79
  getRowSection,
71
80
  getSheetTabMenuItems,
72
81
  getSpreadsheetMenuItems,
82
+ getSpreadsheetScrollToCell,
83
+ getSpreadsheetViewWindow,
73
84
  getTableSections,
74
85
  getValidationListValues,
75
86
  importFileIntoSpreadsheet,
@@ -80,6 +91,7 @@ import {
80
91
  mapFormulaReferences,
81
92
  matchesFilterRule,
82
93
  matchesTimePeriod,
94
+ measureSpreadsheetView,
83
95
  nextSheetName,
84
96
  normalizeRange,
85
97
  numberFormatForCellFormat,
@@ -89,6 +101,7 @@ import {
89
101
  quoteSheetName,
90
102
  rangeContains,
91
103
  rangeContainsRange,
104
+ rangeDependencyKey,
92
105
  rangesContain,
93
106
  rangesIntersect,
94
107
  readSpreadsheetClipboard,
@@ -102,11 +115,13 @@ import {
102
115
  ruleAnchor,
103
116
  ruleFormulaAt,
104
117
  runSpreadsheetMenuItem,
118
+ sameSpreadsheetViewWindow,
105
119
  serializeHtmlTable,
106
120
  sheetDropIndex,
107
121
  sheetNameNeedsQuotes,
108
122
  shiftFormulaReferences,
109
123
  shiftRuleFormula,
124
+ shouldVirtualizeSpreadsheet,
110
125
  subtractRange,
111
126
  subtractRangeFromRanges,
112
127
  toNumber,
@@ -114,7 +129,7 @@ import {
114
129
  validateCellInput,
115
130
  validateDefinedName,
116
131
  validateSheetName
117
- } from "../chunk-RR7F5GUM.js";
132
+ } from "../chunk-X7HXL2SB.js";
118
133
  import {
119
134
  escapeCsvField,
120
135
  parseCsv,
@@ -167,7 +182,7 @@ import {
167
182
  tokenizeFormula,
168
183
  unregisterFormulaFunction,
169
184
  wildcardToRegExp
170
- } from "../chunk-FH6F67DN.js";
185
+ } from "../chunk-ZRNHGAQT.js";
171
186
  export {
172
187
  CONDITIONAL_FORMAT_ICON_SETS,
173
188
  CONDITIONAL_FORMAT_PRESETS,
@@ -189,6 +204,7 @@ export {
189
204
  FormulaEvaluator,
190
205
  FormulaLambda,
191
206
  FormulaParser,
207
+ IntervalIndex,
192
208
  MAX_DEFINED_NAME_LENGTH,
193
209
  MAX_FORMULA_ARRAY_SIZE,
194
210
  MAX_LAMBDA_DEPTH,
@@ -197,8 +213,14 @@ export {
197
213
  NUMBER_FORMAT_PRESETS,
198
214
  NumberFormat,
199
215
  SPREADSHEET_CLIPBOARD_MIME,
216
+ SPREADSHEET_COLUMN_HEADER_HEIGHT,
217
+ SPREADSHEET_DEFAULT_VIEWPORT,
218
+ SPREADSHEET_GROUP_ROW_HEIGHT,
200
219
  SPREADSHEET_IMPORT_ADAPTERS,
220
+ SPREADSHEET_ROW_HEADER_WIDTH,
201
221
  SPREADSHEET_TABLE_ACTIONS,
222
+ SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD,
223
+ SPREADSHEET_VIRTUAL_ROW_THRESHOLD,
202
224
  SpreadsheetController,
203
225
  WHOLE_COLUMN_END_ROW,
204
226
  adjustRangeForStructuralChange,
@@ -239,6 +261,7 @@ export {
239
261
  evaluateConditionalFormats,
240
262
  extractCellDependencies,
241
263
  extractNameDependencies,
264
+ extractReferenceDependencies,
242
265
  fillSeries,
243
266
  findDataValidation,
244
267
  findInvalidCells,
@@ -252,6 +275,7 @@ export {
252
275
  formatTextFunction,
253
276
  formatValueWithCode,
254
277
  formulaIdentifiers,
278
+ fullSpreadsheetViewWindow,
255
279
  getConditionalFormatCss,
256
280
  getConditionalFormatIcon,
257
281
  getDataBarCss,
@@ -266,6 +290,8 @@ export {
266
290
  getRowSection,
267
291
  getSheetTabMenuItems,
268
292
  getSpreadsheetMenuItems,
293
+ getSpreadsheetScrollToCell,
294
+ getSpreadsheetViewWindow,
269
295
  getTableSections,
270
296
  getValidationListValues,
271
297
  importFileIntoSpreadsheet,
@@ -280,6 +306,7 @@ export {
280
306
  mapFormulaReferences,
281
307
  matchesFilterRule,
282
308
  matchesTimePeriod,
309
+ measureSpreadsheetView,
283
310
  nextSheetName,
284
311
  normalizeRange,
285
312
  numberFormatColorToCss,
@@ -299,6 +326,7 @@ export {
299
326
  quoteSheetName,
300
327
  rangeContains,
301
328
  rangeContainsRange,
329
+ rangeDependencyKey,
302
330
  rangesContain,
303
331
  rangesIntersect,
304
332
  readSpreadsheetClipboard,
@@ -313,6 +341,7 @@ export {
313
341
  ruleAnchor,
314
342
  ruleFormulaAt,
315
343
  runSpreadsheetMenuItem,
344
+ sameSpreadsheetViewWindow,
316
345
  searchFormulaFunctions,
317
346
  serialFromYmd,
318
347
  serializeCsv,
@@ -322,6 +351,7 @@ export {
322
351
  sheetNameNeedsQuotes,
323
352
  shiftFormulaReferences,
324
353
  shiftRuleFormula,
354
+ shouldVirtualizeSpreadsheet,
325
355
  sortCompareValues,
326
356
  subtractRange,
327
357
  subtractRangeFromRanges,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor",
3
- "version": "0.25.0",
3
+ "version": "0.26.1",
4
4
  "description": "UI-agnostic rich text and media editing core library",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",
@@ -83,6 +83,11 @@
83
83
  "types": "./dist/tokens/index.d.ts",
84
84
  "import": "./dist/tokens/index.js",
85
85
  "require": "./dist/tokens/index.cjs"
86
+ },
87
+ "./export": {
88
+ "types": "./dist/export/index.d.ts",
89
+ "import": "./dist/export/index.js",
90
+ "require": "./dist/export/index.cjs"
86
91
  }
87
92
  },
88
93
  "files": [
@@ -100,6 +105,10 @@
100
105
  "@tiptap/extension-placeholder": "^2.11.5",
101
106
  "@tiptap/extension-subscript": "^2.11.5",
102
107
  "@tiptap/extension-superscript": "^2.11.5",
108
+ "@tiptap/extension-table": "^2.11.5",
109
+ "@tiptap/extension-table-cell": "^2.11.5",
110
+ "@tiptap/extension-table-header": "^2.11.5",
111
+ "@tiptap/extension-table-row": "^2.11.5",
103
112
  "@tiptap/extension-task-item": "^2.11.5",
104
113
  "@tiptap/extension-task-list": "^2.11.5",
105
114
  "@tiptap/extension-text-align": "^2.11.5",