@pixerate/editor 0.26.1 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -3
- package/dist/agent/index.cjs +56 -6
- package/dist/agent/index.cjs.map +1 -1
- package/dist/agent/index.d.cts +6 -4
- package/dist/agent/index.d.ts +6 -4
- package/dist/agent/index.js +51 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/animation/index.cjs +62 -0
- package/dist/animation/index.cjs.map +1 -0
- package/dist/animation/index.d.cts +296 -0
- package/dist/animation/index.d.ts +296 -0
- package/dist/animation/index.js +62 -0
- package/dist/animation/index.js.map +1 -0
- package/dist/{builtins-Chj6zv_O.d.ts → builtins-haN82vjT.d.ts} +33 -3
- package/dist/{builtins-CdPcLwwF.d.cts → builtins-nMXh9sT3.d.cts} +33 -3
- package/dist/canvas/index.cjs +535 -737
- package/dist/canvas/index.cjs.map +1 -1
- package/dist/canvas/index.d.cts +74 -291
- package/dist/canvas/index.d.ts +74 -291
- package/dist/canvas/index.js +417 -619
- package/dist/canvas/index.js.map +1 -1
- package/dist/{chunk-X7HXL2SB.js → chunk-3RPOW4CS.js} +342 -16
- package/dist/chunk-3RPOW4CS.js.map +1 -0
- package/dist/{chunk-UBCFIABU.js → chunk-5H2OPMXZ.js} +183 -6
- package/dist/chunk-5H2OPMXZ.js.map +1 -0
- package/dist/chunk-A6PHCAGX.cjs +87 -0
- package/dist/chunk-A6PHCAGX.cjs.map +1 -0
- package/dist/{chunk-HRMEDT2L.js → chunk-D6AVOTSD.js} +6 -85
- package/dist/chunk-D6AVOTSD.js.map +1 -0
- package/dist/chunk-HXDMZQTD.cjs +497 -0
- package/dist/chunk-HXDMZQTD.cjs.map +1 -0
- package/dist/chunk-IB3ZHQAX.js +497 -0
- package/dist/chunk-IB3ZHQAX.js.map +1 -0
- package/dist/{chunk-4BVP64JJ.cjs → chunk-K2UYKJ6M.cjs} +24 -103
- package/dist/chunk-K2UYKJ6M.cjs.map +1 -0
- package/dist/{chunk-HDYMLS3X.cjs → chunk-MC2LQN5S.cjs} +196 -19
- package/dist/chunk-MC2LQN5S.cjs.map +1 -0
- package/dist/{chunk-XQFHLT53.js → chunk-MXZJ4PKN.js} +24 -10
- package/dist/chunk-MXZJ4PKN.js.map +1 -0
- package/dist/{chunk-LN2POBHT.cjs → chunk-OYEFRO3D.cjs} +28 -14
- package/dist/chunk-OYEFRO3D.cjs.map +1 -0
- package/dist/chunk-PWJARCI4.js +637 -0
- package/dist/chunk-PWJARCI4.js.map +1 -0
- package/dist/chunk-TGD52FEZ.js +87 -0
- package/dist/chunk-TGD52FEZ.js.map +1 -0
- package/dist/chunk-TTYCN6ZH.cjs +637 -0
- package/dist/chunk-TTYCN6ZH.cjs.map +1 -0
- package/dist/{chunk-NQF32I6Z.cjs → chunk-U7VGDSNY.cjs} +463 -137
- package/dist/chunk-U7VGDSNY.cjs.map +1 -0
- package/dist/commands/index.cjs +30 -410
- package/dist/commands/index.cjs.map +1 -1
- package/dist/commands/index.d.cts +1 -1
- package/dist/commands/index.d.ts +1 -1
- package/dist/commands/index.js +17 -397
- package/dist/commands/index.js.map +1 -1
- package/dist/{controller-CxXGOEmy.d.ts → controller-w6eRTjF8.d.cts} +67 -2
- package/dist/{controller-CxXGOEmy.d.cts → controller-w6eRTjF8.d.ts} +67 -2
- package/dist/extensions/index.cjs +25 -7
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.d.cts +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/index.js +32 -14
- package/dist/generation/index.cjs +3 -3
- package/dist/generation/index.cjs.map +1 -1
- package/dist/generation/index.js +3 -3
- package/dist/{index-jcJwmBYt.d.cts → index-C6gaQRH0.d.cts} +53 -4
- package/dist/{index-B273Zllk.d.ts → index-DXAv_R08.d.ts} +53 -4
- package/dist/index.cjs +57 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +132 -94
- package/dist/index.js.map +1 -1
- package/dist/spreadsheet/index.cjs +23 -3
- package/dist/spreadsheet/index.cjs.map +1 -1
- package/dist/spreadsheet/index.d.cts +76 -3
- package/dist/spreadsheet/index.d.ts +76 -3
- package/dist/spreadsheet/index.js +28 -8
- package/dist/tokens/index.cjs +4 -2
- package/dist/tokens/index.cjs.map +1 -1
- package/dist/tokens/index.js +6 -4
- package/package.json +6 -1
- package/dist/chunk-4BVP64JJ.cjs.map +0 -1
- package/dist/chunk-HDYMLS3X.cjs.map +0 -1
- package/dist/chunk-HRMEDT2L.js.map +0 -1
- package/dist/chunk-LN2POBHT.cjs.map +0 -1
- package/dist/chunk-NQF32I6Z.cjs.map +0 -1
- package/dist/chunk-UBCFIABU.js.map +0 -1
- package/dist/chunk-X7HXL2SB.js.map +0 -1
- package/dist/chunk-XQFHLT53.js.map +0 -1
|
@@ -129,14 +129,17 @@
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
var _chunkNQF32I6Zcjs = require('../chunk-NQF32I6Z.cjs');
|
|
133
132
|
|
|
134
133
|
|
|
135
134
|
|
|
136
135
|
|
|
137
136
|
|
|
138
137
|
|
|
139
|
-
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
var _chunkU7VGDSNYcjs = require('../chunk-U7VGDSNY.cjs');
|
|
140
143
|
|
|
141
144
|
|
|
142
145
|
|
|
@@ -189,6 +192,23 @@ var _chunkEWCOFSCQcjs = require('../chunk-EWCOFSCQ.cjs');
|
|
|
189
192
|
|
|
190
193
|
|
|
191
194
|
|
|
195
|
+
var _chunkTNNJXF46cjs = require('../chunk-TNNJXF46.cjs');
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
192
212
|
|
|
193
213
|
|
|
194
214
|
|
|
@@ -363,5 +383,5 @@ var _chunkEWCOFSCQcjs = require('../chunk-EWCOFSCQ.cjs');
|
|
|
363
383
|
|
|
364
384
|
|
|
365
385
|
|
|
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;
|
|
386
|
+
exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkU7VGDSNYcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkU7VGDSNYcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkU7VGDSNYcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkU7VGDSNYcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkU7VGDSNYcjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkU7VGDSNYcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkU7VGDSNYcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkU7VGDSNYcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkU7VGDSNYcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkU7VGDSNYcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkU7VGDSNYcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkU7VGDSNYcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkU7VGDSNYcjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkU7VGDSNYcjs.DataSourceBinder; exports.DependencyGraph = _chunkU7VGDSNYcjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkU7VGDSNYcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkEWCOFSCQcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkEWCOFSCQcjs.FormulaEvaluator; exports.FormulaLambda = _chunkEWCOFSCQcjs.FormulaLambda; exports.FormulaParser = _chunkEWCOFSCQcjs.FormulaParser; exports.IntervalIndex = _chunkU7VGDSNYcjs.IntervalIndex; exports.MAX_DEFINED_NAME_LENGTH = _chunkU7VGDSNYcjs.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 = _chunkU7VGDSNYcjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkU7VGDSNYcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkEWCOFSCQcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkU7VGDSNYcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkU7VGDSNYcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkU7VGDSNYcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkU7VGDSNYcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkU7VGDSNYcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkU7VGDSNYcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkU7VGDSNYcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkU7VGDSNYcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkU7VGDSNYcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.SpreadsheetController = _chunkU7VGDSNYcjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkEWCOFSCQcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkU7VGDSNYcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkU7VGDSNYcjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkU7VGDSNYcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkU7VGDSNYcjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkU7VGDSNYcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkU7VGDSNYcjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkU7VGDSNYcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkEWCOFSCQcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkEWCOFSCQcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkU7VGDSNYcjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkEWCOFSCQcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkU7VGDSNYcjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkEWCOFSCQcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkEWCOFSCQcjs.colNameToIndex; exports.columnDependencyKey = _chunkU7VGDSNYcjs.columnDependencyKey; exports.compareCellValues = _chunkU7VGDSNYcjs.compareCellValues; exports.compareNumbers = _chunkEWCOFSCQcjs.compareNumbers; exports.compareValues = _chunkEWCOFSCQcjs.compareValues; exports.computeFillTarget = _chunkU7VGDSNYcjs.computeFillTarget; exports.computeRowGroups = _chunkU7VGDSNYcjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkU7VGDSNYcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkU7VGDSNYcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkU7VGDSNYcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkU7VGDSNYcjs.conditionalFormatStyleString; exports.copySheetName = _chunkU7VGDSNYcjs.copySheetName; exports.createConditionalFormatRule = _chunkU7VGDSNYcjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkU7VGDSNYcjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkU7VGDSNYcjs.csvImportAdapter; exports.dateValueToSerial = _chunkEWCOFSCQcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkU7VGDSNYcjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkU7VGDSNYcjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkU7VGDSNYcjs.describeConditionalFormat; exports.describeDataValidation = _chunkU7VGDSNYcjs.describeDataValidation; exports.describeFormulaError = _chunkEWCOFSCQcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkU7VGDSNYcjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkU7VGDSNYcjs.extractCellDependencies; exports.extractNameDependencies = _chunkU7VGDSNYcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkU7VGDSNYcjs.extractReferenceDependencies; exports.fillSeries = _chunkU7VGDSNYcjs.fillSeries; exports.findDataValidation = _chunkU7VGDSNYcjs.findDataValidation; exports.findInvalidCells = _chunkU7VGDSNYcjs.findInvalidCells; exports.forEachRangeCell = _chunkU7VGDSNYcjs.forEachRangeCell; exports.formatCellDisplay = _chunkU7VGDSNYcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkU7VGDSNYcjs.formatCellForDisplay; exports.formatGeneralFit = _chunkEWCOFSCQcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkEWCOFSCQcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkU7VGDSNYcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkU7VGDSNYcjs.formatSheetPrefix; exports.formatTextFunction = _chunkEWCOFSCQcjs.formatTextFunction; exports.formatValueWithCode = _chunkU7VGDSNYcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkU7VGDSNYcjs.formulaIdentifiers; exports.fullSpreadsheetViewWindow = _chunkU7VGDSNYcjs.fullSpreadsheetViewWindow; exports.getConditionalFormatCss = _chunkU7VGDSNYcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkU7VGDSNYcjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkU7VGDSNYcjs.getDataBarCss; exports.getFillDirection = _chunkU7VGDSNYcjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkEWCOFSCQcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkU7VGDSNYcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkEWCOFSCQcjs.getFormulaFunction; exports.getFormulaHints = _chunkU7VGDSNYcjs.getFormulaHints; exports.getFormulaSignature = _chunkEWCOFSCQcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkEWCOFSCQcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkU7VGDSNYcjs.getNameManagerRows; exports.getRowSection = _chunkU7VGDSNYcjs.getRowSection; exports.getSheetTabMenuItems = _chunkU7VGDSNYcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkU7VGDSNYcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkU7VGDSNYcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkU7VGDSNYcjs.getSpreadsheetViewWindow; exports.getTableSections = _chunkU7VGDSNYcjs.getTableSections; exports.getValidationListValues = _chunkU7VGDSNYcjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkU7VGDSNYcjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkEWCOFSCQcjs.indexToColName; exports.isBlankValue = _chunkU7VGDSNYcjs.isBlankValue; exports.isFormulaError = _chunkEWCOFSCQcjs.isFormulaError; exports.isFormulaLambda = _chunkEWCOFSCQcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkU7VGDSNYcjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkU7VGDSNYcjs.isLambdaDefinition; exports.isSingleCellRange = _chunkU7VGDSNYcjs.isSingleCellRange; exports.listFormulaFunctions = _chunkEWCOFSCQcjs.listFormulaFunctions; exports.mapConditionalFormatFormulas = _chunkU7VGDSNYcjs.mapConditionalFormatFormulas; exports.mapDataValidationFormulas = _chunkU7VGDSNYcjs.mapDataValidationFormulas; exports.mapFormulaReferences = _chunkU7VGDSNYcjs.mapFormulaReferences; exports.matchesFilterRule = _chunkU7VGDSNYcjs.matchesFilterRule; exports.matchesTimePeriod = _chunkU7VGDSNYcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkU7VGDSNYcjs.measureSpreadsheetView; exports.mergeRuleRanges = _chunkU7VGDSNYcjs.mergeRuleRanges; exports.nextSheetName = _chunkU7VGDSNYcjs.nextSheetName; exports.normalizeRange = _chunkU7VGDSNYcjs.normalizeRange; exports.numberFormatColorToCss = _chunkEWCOFSCQcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkU7VGDSNYcjs.numberFormatForCellFormat; exports.numberToText = _chunkEWCOFSCQcjs.numberToText; exports.offsetFormulaReferences = _chunkU7VGDSNYcjs.offsetFormulaReferences; exports.parseCellInput = _chunkEWCOFSCQcjs.parseCellInput; exports.parseCellReference = _chunkEWCOFSCQcjs.parseCellReference; exports.parseCriteria = _chunkEWCOFSCQcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkEWCOFSCQcjs.parseFormula; exports.parseHtmlTable = _chunkU7VGDSNYcjs.parseHtmlTable; exports.parseNumberText = _chunkEWCOFSCQcjs.parseNumberText; exports.parseRange = _chunkEWCOFSCQcjs.parseRange; exports.parseRuleRanges = _chunkU7VGDSNYcjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkU7VGDSNYcjs.quoteSheetName; exports.rangeContains = _chunkU7VGDSNYcjs.rangeContains; exports.rangeContainsRange = _chunkU7VGDSNYcjs.rangeContainsRange; exports.rangeDependencyKey = _chunkU7VGDSNYcjs.rangeDependencyKey; exports.rangesContain = _chunkU7VGDSNYcjs.rangesContain; exports.rangesIntersect = _chunkU7VGDSNYcjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkU7VGDSNYcjs.readSpreadsheetClipboard; exports.reanchorRuleFormula = _chunkU7VGDSNYcjs.reanchorRuleFormula; exports.rebaseClipboardRows = _chunkU7VGDSNYcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkEWCOFSCQcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkU7VGDSNYcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkU7VGDSNYcjs.remapFormulaReferences; exports.renameNameInFormula = _chunkU7VGDSNYcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkU7VGDSNYcjs.renameSheetInFormula; exports.roundFloat = _chunkU7VGDSNYcjs.roundFloat; exports.rowPassesFilters = _chunkU7VGDSNYcjs.rowPassesFilters; exports.ruleAnchor = _chunkU7VGDSNYcjs.ruleAnchor; exports.ruleFormulaAt = _chunkU7VGDSNYcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkU7VGDSNYcjs.runSpreadsheetMenuItem; exports.sameSpreadsheetViewWindow = _chunkU7VGDSNYcjs.sameSpreadsheetViewWindow; exports.searchFormulaFunctions = _chunkEWCOFSCQcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkEWCOFSCQcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkU7VGDSNYcjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkU7VGDSNYcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkU7VGDSNYcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkU7VGDSNYcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkU7VGDSNYcjs.shiftRuleFormula; exports.shouldVirtualizeSpreadsheet = _chunkU7VGDSNYcjs.shouldVirtualizeSpreadsheet; exports.sortCompareValues = _chunkEWCOFSCQcjs.sortCompareValues; exports.sortRuleRanges = _chunkU7VGDSNYcjs.sortRuleRanges; exports.sortRules = _chunkU7VGDSNYcjs.sortRules; exports.subtractRange = _chunkU7VGDSNYcjs.subtractRange; exports.subtractRangeFromRanges = _chunkU7VGDSNYcjs.subtractRangeFromRanges; exports.toNumber = _chunkU7VGDSNYcjs.toNumber; exports.tokenizeFormula = _chunkEWCOFSCQcjs.tokenizeFormula; exports.transposeFormulaReferences = _chunkU7VGDSNYcjs.transposeFormulaReferences; exports.transposeRuleFormula = _chunkU7VGDSNYcjs.transposeRuleFormula; exports.transposeRuleRanges = _chunkU7VGDSNYcjs.transposeRuleRanges; exports.transposeRules = _chunkU7VGDSNYcjs.transposeRules; exports.tsvImportAdapter = _chunkU7VGDSNYcjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkEWCOFSCQcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkU7VGDSNYcjs.validateCellInput; exports.validateDefinedName = _chunkU7VGDSNYcjs.validateDefinedName; exports.validateSheetName = _chunkU7VGDSNYcjs.validateSheetName; exports.wildcardToRegExp = _chunkEWCOFSCQcjs.wildcardToRegExp;
|
|
367
387
|
//# 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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;
|
|
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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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,glaAAC","file":"/home/runner/work/editor/editor/packages/core/dist/spreadsheet/index.cjs"}
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-
|
|
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-w6eRTjF8.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, bs as transposeFormulaReferences } from '../controller-w6eRTjF8.cjs';
|
|
3
3
|
import { I as ImportAdapterRegistry, b as ImportAdapter, h as ImportInput, a as ImportOutcome } from '../registry-CEgwXED1.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1075,6 +1075,79 @@ declare function forEachRangeCell(ranges: CellRange[], rowCount: number, colCoun
|
|
|
1075
1075
|
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
|
+
/**
|
|
1079
|
+
* Joins ranges that touch or overlap into fewer rectangles: ranges with the
|
|
1080
|
+
* same columns and adjacent rows, then ranges with the same rows and
|
|
1081
|
+
* adjacent columns. The result is sorted by row, then column.
|
|
1082
|
+
*/
|
|
1083
|
+
declare function mergeRuleRanges(ranges: CellRange[]): CellRange[];
|
|
1084
|
+
/**
|
|
1085
|
+
* Rule ranges after sorting the rows of `block` (`newRowOf(oldRow)` gives a
|
|
1086
|
+
* sorted row's new index), following Excel: the part of a range that spans
|
|
1087
|
+
* every sorted row applies to the column and stays; the cells of a range
|
|
1088
|
+
* covering only some of the sorted rows move with their rows. Returns null
|
|
1089
|
+
* when no range changes.
|
|
1090
|
+
*/
|
|
1091
|
+
declare function sortRuleRanges(ranges: CellRange[], block: CellRange, newRowOf: (row: number) => number): CellRange[] | null;
|
|
1092
|
+
/**
|
|
1093
|
+
* Rule ranges after transposing `block` in place around its top-left cell
|
|
1094
|
+
* (the transposed block is `target`): the cells inside the block move to
|
|
1095
|
+
* their transposed positions (`inside`), cells elsewhere stay (`outside`),
|
|
1096
|
+
* except those under the transposed block, which it replaces. Null when
|
|
1097
|
+
* the rule touches neither.
|
|
1098
|
+
*/
|
|
1099
|
+
declare function transposeRuleRanges(ranges: CellRange[], block: CellRange, target: CellRange): {
|
|
1100
|
+
inside: CellRange[];
|
|
1101
|
+
outside: CellRange[];
|
|
1102
|
+
} | null;
|
|
1103
|
+
/**
|
|
1104
|
+
* Rewrites a rule formula written for `from` so it means the same when
|
|
1105
|
+
* written for `to` (rules are written for their first range's top-left
|
|
1106
|
+
* cell, which can change when ranges move). Keeps the caller's leading `=`
|
|
1107
|
+
* (or its absence).
|
|
1108
|
+
*/
|
|
1109
|
+
declare function reanchorRuleFormula(formula: string, from: {
|
|
1110
|
+
row: number;
|
|
1111
|
+
col: number;
|
|
1112
|
+
}, to: {
|
|
1113
|
+
row: number;
|
|
1114
|
+
col: number;
|
|
1115
|
+
}): string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Transposes a rule formula written for `anchor` (a cell of `block`): see
|
|
1118
|
+
* `transposeFormulaReferences`. The result is written for the transposed
|
|
1119
|
+
* anchor. Keeps the caller's leading `=` (or its absence).
|
|
1120
|
+
*/
|
|
1121
|
+
declare function transposeRuleFormula(formula: string, anchor: {
|
|
1122
|
+
row: number;
|
|
1123
|
+
col: number;
|
|
1124
|
+
}, block: CellRange): string;
|
|
1125
|
+
/** Applies `fn` to every formula of a conditional format (expression, `=` values, formula anchors). */
|
|
1126
|
+
declare function mapConditionalFormatFormulas(rule: ConditionalFormatRule, fn: (formula: string) => string): ConditionalFormatRule;
|
|
1127
|
+
/** Applies `fn` to the `=` formulas of a data validation rule. */
|
|
1128
|
+
declare function mapDataValidationFormulas(rule: DataValidationRule, fn: (formula: string) => string): DataValidationRule;
|
|
1129
|
+
type RuleFormulaMapper<R> = (rule: R, fn: (formula: string) => string) => R;
|
|
1130
|
+
/**
|
|
1131
|
+
* Conditional formats or validations after a sort of `block` (see
|
|
1132
|
+
* `sortRuleRanges`). Rules whose first cell changes get their formulas
|
|
1133
|
+
* re-anchored, so relative references keep meaning "this row". Returns the
|
|
1134
|
+
* same array when nothing changes.
|
|
1135
|
+
*/
|
|
1136
|
+
declare function sortRules<R extends {
|
|
1137
|
+
ranges: CellRange[];
|
|
1138
|
+
}>(rules: R[], block: CellRange, newRowOf: (row: number) => number, mapFormulas: RuleFormulaMapper<R>): R[];
|
|
1139
|
+
/**
|
|
1140
|
+
* Conditional formats or validations after transposing `block` in place
|
|
1141
|
+
* (see `transposeRuleRanges`). Formulas of the moved part are transposed
|
|
1142
|
+
* (`transposeRuleFormula`). A rule with formulas that is only partly inside
|
|
1143
|
+
* the block is split, since one formula can't serve both layouts: the moved
|
|
1144
|
+
* part becomes a new rule (id from `newId`) right after it. Rules left
|
|
1145
|
+
* without ranges are dropped. Returns the same array when nothing changes.
|
|
1146
|
+
*/
|
|
1147
|
+
declare function transposeRules<R extends {
|
|
1148
|
+
id: string;
|
|
1149
|
+
ranges: CellRange[];
|
|
1150
|
+
}>(rules: R[], block: CellRange, target: CellRange, mapFormulas: RuleFormulaMapper<R>, newId: () => string): R[];
|
|
1078
1151
|
|
|
1079
1152
|
/**
|
|
1080
1153
|
* Virtualised rendering of large sheets: which displayed rows and columns
|
|
@@ -1179,4 +1252,4 @@ declare function getSpreadsheetScrollToCell(metrics: SpreadsheetViewMetrics, vie
|
|
|
1179
1252
|
/** Whether two windows render the same rows and columns. */
|
|
1180
1253
|
declare function sameSpreadsheetViewWindow(a: SpreadsheetViewWindow, b: SpreadsheetViewWindow): boolean;
|
|
1181
1254
|
|
|
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 };
|
|
1255
|
+
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, 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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
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-
|
|
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-w6eRTjF8.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, bs as transposeFormulaReferences } from '../controller-w6eRTjF8.js';
|
|
3
3
|
import { I as ImportAdapterRegistry, b as ImportAdapter, h as ImportInput, a as ImportOutcome } from '../registry-CEgwXED1.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1075,6 +1075,79 @@ declare function forEachRangeCell(ranges: CellRange[], rowCount: number, colCoun
|
|
|
1075
1075
|
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
|
+
/**
|
|
1079
|
+
* Joins ranges that touch or overlap into fewer rectangles: ranges with the
|
|
1080
|
+
* same columns and adjacent rows, then ranges with the same rows and
|
|
1081
|
+
* adjacent columns. The result is sorted by row, then column.
|
|
1082
|
+
*/
|
|
1083
|
+
declare function mergeRuleRanges(ranges: CellRange[]): CellRange[];
|
|
1084
|
+
/**
|
|
1085
|
+
* Rule ranges after sorting the rows of `block` (`newRowOf(oldRow)` gives a
|
|
1086
|
+
* sorted row's new index), following Excel: the part of a range that spans
|
|
1087
|
+
* every sorted row applies to the column and stays; the cells of a range
|
|
1088
|
+
* covering only some of the sorted rows move with their rows. Returns null
|
|
1089
|
+
* when no range changes.
|
|
1090
|
+
*/
|
|
1091
|
+
declare function sortRuleRanges(ranges: CellRange[], block: CellRange, newRowOf: (row: number) => number): CellRange[] | null;
|
|
1092
|
+
/**
|
|
1093
|
+
* Rule ranges after transposing `block` in place around its top-left cell
|
|
1094
|
+
* (the transposed block is `target`): the cells inside the block move to
|
|
1095
|
+
* their transposed positions (`inside`), cells elsewhere stay (`outside`),
|
|
1096
|
+
* except those under the transposed block, which it replaces. Null when
|
|
1097
|
+
* the rule touches neither.
|
|
1098
|
+
*/
|
|
1099
|
+
declare function transposeRuleRanges(ranges: CellRange[], block: CellRange, target: CellRange): {
|
|
1100
|
+
inside: CellRange[];
|
|
1101
|
+
outside: CellRange[];
|
|
1102
|
+
} | null;
|
|
1103
|
+
/**
|
|
1104
|
+
* Rewrites a rule formula written for `from` so it means the same when
|
|
1105
|
+
* written for `to` (rules are written for their first range's top-left
|
|
1106
|
+
* cell, which can change when ranges move). Keeps the caller's leading `=`
|
|
1107
|
+
* (or its absence).
|
|
1108
|
+
*/
|
|
1109
|
+
declare function reanchorRuleFormula(formula: string, from: {
|
|
1110
|
+
row: number;
|
|
1111
|
+
col: number;
|
|
1112
|
+
}, to: {
|
|
1113
|
+
row: number;
|
|
1114
|
+
col: number;
|
|
1115
|
+
}): string;
|
|
1116
|
+
/**
|
|
1117
|
+
* Transposes a rule formula written for `anchor` (a cell of `block`): see
|
|
1118
|
+
* `transposeFormulaReferences`. The result is written for the transposed
|
|
1119
|
+
* anchor. Keeps the caller's leading `=` (or its absence).
|
|
1120
|
+
*/
|
|
1121
|
+
declare function transposeRuleFormula(formula: string, anchor: {
|
|
1122
|
+
row: number;
|
|
1123
|
+
col: number;
|
|
1124
|
+
}, block: CellRange): string;
|
|
1125
|
+
/** Applies `fn` to every formula of a conditional format (expression, `=` values, formula anchors). */
|
|
1126
|
+
declare function mapConditionalFormatFormulas(rule: ConditionalFormatRule, fn: (formula: string) => string): ConditionalFormatRule;
|
|
1127
|
+
/** Applies `fn` to the `=` formulas of a data validation rule. */
|
|
1128
|
+
declare function mapDataValidationFormulas(rule: DataValidationRule, fn: (formula: string) => string): DataValidationRule;
|
|
1129
|
+
type RuleFormulaMapper<R> = (rule: R, fn: (formula: string) => string) => R;
|
|
1130
|
+
/**
|
|
1131
|
+
* Conditional formats or validations after a sort of `block` (see
|
|
1132
|
+
* `sortRuleRanges`). Rules whose first cell changes get their formulas
|
|
1133
|
+
* re-anchored, so relative references keep meaning "this row". Returns the
|
|
1134
|
+
* same array when nothing changes.
|
|
1135
|
+
*/
|
|
1136
|
+
declare function sortRules<R extends {
|
|
1137
|
+
ranges: CellRange[];
|
|
1138
|
+
}>(rules: R[], block: CellRange, newRowOf: (row: number) => number, mapFormulas: RuleFormulaMapper<R>): R[];
|
|
1139
|
+
/**
|
|
1140
|
+
* Conditional formats or validations after transposing `block` in place
|
|
1141
|
+
* (see `transposeRuleRanges`). Formulas of the moved part are transposed
|
|
1142
|
+
* (`transposeRuleFormula`). A rule with formulas that is only partly inside
|
|
1143
|
+
* the block is split, since one formula can't serve both layouts: the moved
|
|
1144
|
+
* part becomes a new rule (id from `newId`) right after it. Rules left
|
|
1145
|
+
* without ranges are dropped. Returns the same array when nothing changes.
|
|
1146
|
+
*/
|
|
1147
|
+
declare function transposeRules<R extends {
|
|
1148
|
+
id: string;
|
|
1149
|
+
ranges: CellRange[];
|
|
1150
|
+
}>(rules: R[], block: CellRange, target: CellRange, mapFormulas: RuleFormulaMapper<R>, newId: () => string): R[];
|
|
1078
1151
|
|
|
1079
1152
|
/**
|
|
1080
1153
|
* Virtualised rendering of large sheets: which displayed rows and columns
|
|
@@ -1179,4 +1252,4 @@ declare function getSpreadsheetScrollToCell(metrics: SpreadsheetViewMetrics, vie
|
|
|
1179
1252
|
/** Whether two windows render the same rows and columns. */
|
|
1180
1253
|
declare function sameSpreadsheetViewWindow(a: SpreadsheetViewWindow, b: SpreadsheetViewWindow): boolean;
|
|
1181
1254
|
|
|
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 };
|
|
1255
|
+
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, 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 };
|
|
@@ -88,10 +88,13 @@ import {
|
|
|
88
88
|
isGeneralNumberFormat,
|
|
89
89
|
isLambdaDefinition,
|
|
90
90
|
isSingleCellRange,
|
|
91
|
+
mapConditionalFormatFormulas,
|
|
92
|
+
mapDataValidationFormulas,
|
|
91
93
|
mapFormulaReferences,
|
|
92
94
|
matchesFilterRule,
|
|
93
95
|
matchesTimePeriod,
|
|
94
96
|
measureSpreadsheetView,
|
|
97
|
+
mergeRuleRanges,
|
|
95
98
|
nextSheetName,
|
|
96
99
|
normalizeRange,
|
|
97
100
|
numberFormatForCellFormat,
|
|
@@ -105,6 +108,7 @@ import {
|
|
|
105
108
|
rangesContain,
|
|
106
109
|
rangesIntersect,
|
|
107
110
|
readSpreadsheetClipboard,
|
|
111
|
+
reanchorRuleFormula,
|
|
108
112
|
rebaseClipboardRows,
|
|
109
113
|
registerSpreadsheetImportAdapters,
|
|
110
114
|
remapFormulaReferences,
|
|
@@ -122,21 +126,20 @@ import {
|
|
|
122
126
|
shiftFormulaReferences,
|
|
123
127
|
shiftRuleFormula,
|
|
124
128
|
shouldVirtualizeSpreadsheet,
|
|
129
|
+
sortRuleRanges,
|
|
130
|
+
sortRules,
|
|
125
131
|
subtractRange,
|
|
126
132
|
subtractRangeFromRanges,
|
|
127
133
|
toNumber,
|
|
134
|
+
transposeFormulaReferences,
|
|
135
|
+
transposeRuleFormula,
|
|
136
|
+
transposeRuleRanges,
|
|
137
|
+
transposeRules,
|
|
128
138
|
tsvImportAdapter,
|
|
129
139
|
validateCellInput,
|
|
130
140
|
validateDefinedName,
|
|
131
141
|
validateSheetName
|
|
132
|
-
} from "../chunk-
|
|
133
|
-
import {
|
|
134
|
-
escapeCsvField,
|
|
135
|
-
parseCsv,
|
|
136
|
-
parseTsv,
|
|
137
|
-
serializeCsv,
|
|
138
|
-
serializeTsv
|
|
139
|
-
} from "../chunk-664LQYFJ.js";
|
|
142
|
+
} from "../chunk-3RPOW4CS.js";
|
|
140
143
|
import {
|
|
141
144
|
FORMULA_ERRORS,
|
|
142
145
|
FormulaEvaluator,
|
|
@@ -183,6 +186,13 @@ import {
|
|
|
183
186
|
unregisterFormulaFunction,
|
|
184
187
|
wildcardToRegExp
|
|
185
188
|
} from "../chunk-ZRNHGAQT.js";
|
|
189
|
+
import {
|
|
190
|
+
escapeCsvField,
|
|
191
|
+
parseCsv,
|
|
192
|
+
parseTsv,
|
|
193
|
+
serializeCsv,
|
|
194
|
+
serializeTsv
|
|
195
|
+
} from "../chunk-664LQYFJ.js";
|
|
186
196
|
export {
|
|
187
197
|
CONDITIONAL_FORMAT_ICON_SETS,
|
|
188
198
|
CONDITIONAL_FORMAT_PRESETS,
|
|
@@ -303,10 +313,13 @@ export {
|
|
|
303
313
|
isLambdaDefinition,
|
|
304
314
|
isSingleCellRange,
|
|
305
315
|
listFormulaFunctions,
|
|
316
|
+
mapConditionalFormatFormulas,
|
|
317
|
+
mapDataValidationFormulas,
|
|
306
318
|
mapFormulaReferences,
|
|
307
319
|
matchesFilterRule,
|
|
308
320
|
matchesTimePeriod,
|
|
309
321
|
measureSpreadsheetView,
|
|
322
|
+
mergeRuleRanges,
|
|
310
323
|
nextSheetName,
|
|
311
324
|
normalizeRange,
|
|
312
325
|
numberFormatColorToCss,
|
|
@@ -330,6 +343,7 @@ export {
|
|
|
330
343
|
rangesContain,
|
|
331
344
|
rangesIntersect,
|
|
332
345
|
readSpreadsheetClipboard,
|
|
346
|
+
reanchorRuleFormula,
|
|
333
347
|
rebaseClipboardRows,
|
|
334
348
|
registerFormulaFunction,
|
|
335
349
|
registerSpreadsheetImportAdapters,
|
|
@@ -353,10 +367,16 @@ export {
|
|
|
353
367
|
shiftRuleFormula,
|
|
354
368
|
shouldVirtualizeSpreadsheet,
|
|
355
369
|
sortCompareValues,
|
|
370
|
+
sortRuleRanges,
|
|
371
|
+
sortRules,
|
|
356
372
|
subtractRange,
|
|
357
373
|
subtractRangeFromRanges,
|
|
358
374
|
toNumber,
|
|
359
375
|
tokenizeFormula,
|
|
376
|
+
transposeFormulaReferences,
|
|
377
|
+
transposeRuleFormula,
|
|
378
|
+
transposeRuleRanges,
|
|
379
|
+
transposeRules,
|
|
360
380
|
tsvImportAdapter,
|
|
361
381
|
unregisterFormulaFunction,
|
|
362
382
|
validateCellInput,
|
package/dist/tokens/index.cjs
CHANGED
|
@@ -51,11 +51,12 @@
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
var _chunkK2UYKJ6Mcjs = require('../chunk-K2UYKJ6M.cjs');
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
|
|
57
|
-
var _chunk4BVP64JJcjs = require('../chunk-4BVP64JJ.cjs');
|
|
58
58
|
|
|
59
|
+
var _chunkA6PHCAGXcjs = require('../chunk-A6PHCAGX.cjs');
|
|
59
60
|
|
|
60
61
|
|
|
61
62
|
|
|
@@ -111,5 +112,6 @@ var _chunk4BVP64JJcjs = require('../chunk-4BVP64JJ.cjs');
|
|
|
111
112
|
|
|
112
113
|
|
|
113
114
|
|
|
114
|
-
|
|
115
|
+
|
|
116
|
+
exports.EMPTY_TOKEN_STATE = _chunkK2UYKJ6Mcjs.EMPTY_TOKEN_STATE; exports.TOKEN_SCOPES_BY_TYPE = _chunkK2UYKJ6Mcjs.TOKEN_SCOPES_BY_TYPE; exports.TOKEN_TYPES = _chunkK2UYKJ6Mcjs.TOKEN_TYPES; exports.TokenError = _chunkK2UYKJ6Mcjs.TokenError; exports.TokenStore = _chunkK2UYKJ6Mcjs.TokenStore; exports.W3C_TOKENS_EXTENSION = _chunkK2UYKJ6Mcjs.W3C_TOKENS_EXTENSION; exports.addTokenMode = _chunkK2UYKJ6Mcjs.addTokenMode; exports.checkTokenAlias = _chunkK2UYKJ6Mcjs.checkTokenAlias; exports.coerceTokenLiteral = _chunkK2UYKJ6Mcjs.coerceTokenLiteral; exports.createTokenCollection = _chunkK2UYKJ6Mcjs.createTokenCollection; exports.createTokenStore = _chunkK2UYKJ6Mcjs.createTokenStore; exports.createTokenVariable = _chunkK2UYKJ6Mcjs.createTokenVariable; exports.cssString = _chunkK2UYKJ6Mcjs.cssString; exports.defaultTokenId = _chunkK2UYKJ6Mcjs.defaultTokenId; exports.defaultTokenValue = _chunkK2UYKJ6Mcjs.defaultTokenValue; exports.deleteTokenCollection = _chunkK2UYKJ6Mcjs.deleteTokenCollection; exports.deleteTokenVariables = _chunkK2UYKJ6Mcjs.deleteTokenVariables; exports.exportTokensCss = _chunkK2UYKJ6Mcjs.exportTokensCss; exports.exportW3CTokens = _chunkK2UYKJ6Mcjs.exportW3CTokens; exports.exportW3CTokensJson = _chunkK2UYKJ6Mcjs.exportW3CTokensJson; exports.findTokenCollection = _chunkK2UYKJ6Mcjs.findTokenCollection; exports.findTokenMode = _chunkK2UYKJ6Mcjs.findTokenMode; exports.findTokenVariable = _chunkK2UYKJ6Mcjs.findTokenVariable; exports.formatTokenCssValue = _chunkK2UYKJ6Mcjs.formatTokenCssValue; exports.formatTokenValue = _chunkK2UYKJ6Mcjs.formatTokenValue; exports.getCollectionVariables = _chunkK2UYKJ6Mcjs.getCollectionVariables; exports.getCurrentMode = _chunkK2UYKJ6Mcjs.getCurrentMode; exports.getDefaultMode = _chunkK2UYKJ6Mcjs.getDefaultMode; exports.getTokenCollection = _chunkK2UYKJ6Mcjs.getTokenCollection; exports.getTokenCssName = _chunkK2UYKJ6Mcjs.getTokenCssName; exports.getTokenCssVariables = _chunkK2UYKJ6Mcjs.getTokenCssVariables; exports.getTokenVariable = _chunkK2UYKJ6Mcjs.getTokenVariable; exports.hexToRgba = _chunkA6PHCAGXcjs.hexToRgba; exports.importW3CTokens = _chunkK2UYKJ6Mcjs.importW3CTokens; exports.isTokenAlias = _chunkK2UYKJ6Mcjs.isTokenAlias; exports.isTokenInScope = _chunkK2UYKJ6Mcjs.isTokenInScope; exports.isTokenScopeKnown = _chunkK2UYKJ6Mcjs.isTokenScopeKnown; exports.literalTokenType = _chunkK2UYKJ6Mcjs.literalTokenType; exports.moveTokenMode = _chunkK2UYKJ6Mcjs.moveTokenMode; exports.normalizeTokenColor = _chunkA6PHCAGXcjs.normalizeTokenColor; exports.normalizeTokenName = _chunkK2UYKJ6Mcjs.normalizeTokenName; exports.normalizeTokenScopes = _chunkK2UYKJ6Mcjs.normalizeTokenScopes; exports.parseTokenState = _chunkK2UYKJ6Mcjs.parseTokenState; exports.prepareTokenValue = _chunkK2UYKJ6Mcjs.prepareTokenValue; exports.removeTokenMode = _chunkK2UYKJ6Mcjs.removeTokenMode; exports.renameTokenCollection = _chunkK2UYKJ6Mcjs.renameTokenCollection; exports.renameTokenMode = _chunkK2UYKJ6Mcjs.renameTokenMode; exports.renameTokenVariable = _chunkK2UYKJ6Mcjs.renameTokenVariable; exports.resolveToken = _chunkK2UYKJ6Mcjs.resolveToken; exports.resolveTokenInMode = _chunkK2UYKJ6Mcjs.resolveTokenInMode; exports.resolveTokenValue = _chunkK2UYKJ6Mcjs.resolveTokenValue; exports.rgbaToHex = _chunkA6PHCAGXcjs.rgbaToHex; exports.setTokenValue = _chunkK2UYKJ6Mcjs.setTokenValue; exports.tokenSlug = _chunkK2UYKJ6Mcjs.tokenSlug; exports.updateTokenVariable = _chunkK2UYKJ6Mcjs.updateTokenVariable;
|
|
115
117
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/tokens/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;
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/editor/editor/packages/core/dist/tokens/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;AACF,yDAA8B;AAC9B;AACE;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;AACF,43GAAC","file":"/home/runner/work/editor/editor/packages/core/dist/tokens/index.cjs"}
|
package/dist/tokens/index.js
CHANGED
|
@@ -31,14 +31,12 @@ import {
|
|
|
31
31
|
getTokenCssName,
|
|
32
32
|
getTokenCssVariables,
|
|
33
33
|
getTokenVariable,
|
|
34
|
-
hexToRgba,
|
|
35
34
|
importW3CTokens,
|
|
36
35
|
isTokenAlias,
|
|
37
36
|
isTokenInScope,
|
|
38
37
|
isTokenScopeKnown,
|
|
39
38
|
literalTokenType,
|
|
40
39
|
moveTokenMode,
|
|
41
|
-
normalizeTokenColor,
|
|
42
40
|
normalizeTokenName,
|
|
43
41
|
normalizeTokenScopes,
|
|
44
42
|
parseTokenState,
|
|
@@ -50,11 +48,15 @@ import {
|
|
|
50
48
|
resolveToken,
|
|
51
49
|
resolveTokenInMode,
|
|
52
50
|
resolveTokenValue,
|
|
53
|
-
rgbaToHex,
|
|
54
51
|
setTokenValue,
|
|
55
52
|
tokenSlug,
|
|
56
53
|
updateTokenVariable
|
|
57
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-D6AVOTSD.js";
|
|
55
|
+
import {
|
|
56
|
+
hexToRgba,
|
|
57
|
+
normalizeTokenColor,
|
|
58
|
+
rgbaToHex
|
|
59
|
+
} from "../chunk-TGD52FEZ.js";
|
|
58
60
|
export {
|
|
59
61
|
EMPTY_TOKEN_STATE,
|
|
60
62
|
TOKEN_SCOPES_BY_TYPE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixerate/editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "UI-agnostic rich text and media editing core library",
|
|
5
5
|
"author": "Pixerate",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,6 +44,11 @@
|
|
|
44
44
|
"import": "./dist/history/index.js",
|
|
45
45
|
"require": "./dist/history/index.cjs"
|
|
46
46
|
},
|
|
47
|
+
"./animation": {
|
|
48
|
+
"types": "./dist/animation/index.d.ts",
|
|
49
|
+
"import": "./dist/animation/index.js",
|
|
50
|
+
"require": "./dist/animation/index.cjs"
|
|
51
|
+
},
|
|
47
52
|
"./canvas": {
|
|
48
53
|
"types": "./dist/canvas/index.d.ts",
|
|
49
54
|
"import": "./dist/canvas/index.js",
|