@pixerate/editor 0.80.0 → 0.81.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +13 -3
  2. package/dist/agent/index.cjs +102 -6
  3. package/dist/agent/index.cjs.map +1 -1
  4. package/dist/agent/index.d.cts +4 -2
  5. package/dist/agent/index.d.ts +4 -2
  6. package/dist/agent/index.js +101 -5
  7. package/dist/agent/index.js.map +1 -1
  8. package/dist/{builtins-BKYlHH1s.d.ts → builtins-CV1fDj64.d.ts} +5 -1
  9. package/dist/{builtins-1kqwLUnb.d.cts → builtins-c4w0eAYl.d.cts} +5 -1
  10. package/dist/{chunk-2CJ3LPYQ.js → chunk-424H3P4I.js} +13 -295
  11. package/dist/chunk-424H3P4I.js.map +1 -0
  12. package/dist/{chunk-UN33YOXW.cjs → chunk-PA5S7KPC.cjs} +293 -2
  13. package/dist/chunk-PA5S7KPC.cjs.map +1 -0
  14. package/dist/{chunk-IB3ZHQAX.js → chunk-PTYWCFFW.js} +29 -4
  15. package/dist/chunk-PTYWCFFW.js.map +1 -0
  16. package/dist/{chunk-JQ3BB3E6.js → chunk-PXDEFEG2.js} +293 -2
  17. package/dist/chunk-PXDEFEG2.js.map +1 -0
  18. package/dist/{chunk-YU4WQE5M.cjs → chunk-TAPXWP2B.cjs} +95 -377
  19. package/dist/chunk-TAPXWP2B.cjs.map +1 -0
  20. package/dist/{chunk-HXDMZQTD.cjs → chunk-TPOT575P.cjs} +29 -4
  21. package/dist/{chunk-IB3ZHQAX.js.map → chunk-TPOT575P.cjs.map} +1 -1
  22. package/dist/commands/index.cjs +2 -2
  23. package/dist/commands/index.d.cts +1 -1
  24. package/dist/commands/index.d.ts +1 -1
  25. package/dist/commands/index.js +1 -1
  26. package/dist/generation/index.cjs +932 -791
  27. package/dist/generation/index.cjs.map +1 -1
  28. package/dist/generation/index.d.cts +266 -240
  29. package/dist/generation/index.d.ts +266 -240
  30. package/dist/generation/index.js +926 -785
  31. package/dist/generation/index.js.map +1 -1
  32. package/dist/image-editor/index.cjs +266 -2
  33. package/dist/image-editor/index.cjs.map +1 -1
  34. package/dist/image-editor/index.d.cts +12 -1
  35. package/dist/image-editor/index.d.ts +12 -1
  36. package/dist/image-editor/index.js +265 -1
  37. package/dist/image-editor/index.js.map +1 -1
  38. package/dist/index.cjs +3 -3
  39. package/dist/index.cjs.map +1 -1
  40. package/dist/index.js +16 -16
  41. package/dist/spreadsheet/index.cjs +3 -3
  42. package/dist/spreadsheet/index.cjs.map +1 -1
  43. package/dist/spreadsheet/index.js +16 -16
  44. package/package.json +2 -1
  45. package/skills/README.md +55 -0
  46. package/skills/pixerate-agent-tools/SKILL.md +75 -0
  47. package/skills/pixerate-animation-editor/SKILL.md +155 -0
  48. package/skills/pixerate-animation-editor/references/commands.md +123 -0
  49. package/skills/pixerate-canvas/SKILL.md +230 -0
  50. package/skills/pixerate-chart/SKILL.md +190 -0
  51. package/skills/pixerate-diagram/SKILL.md +134 -0
  52. package/skills/pixerate-generation/SKILL.md +109 -0
  53. package/skills/pixerate-image-editor/SKILL.md +139 -0
  54. package/skills/pixerate-parameters/SKILL.md +83 -0
  55. package/skills/pixerate-rich-text/SKILL.md +160 -0
  56. package/skills/pixerate-spreadsheet/SKILL.md +146 -0
  57. package/skills/pixerate-vector/SKILL.md +191 -0
  58. package/skills/pixerate-vector/references/commands.md +138 -0
  59. package/skills/pixerate-video-editor/SKILL.md +173 -0
  60. package/dist/chunk-2CJ3LPYQ.js.map +0 -1
  61. package/dist/chunk-HXDMZQTD.cjs.map +0 -1
  62. package/dist/chunk-JQ3BB3E6.js.map +0 -1
  63. package/dist/chunk-UN33YOXW.cjs.map +0 -1
  64. package/dist/chunk-YU4WQE5M.cjs.map +0 -1
package/dist/index.js CHANGED
@@ -380,7 +380,6 @@ import {
380
380
  SpreadsheetController,
381
381
  adjustRangeForStructuralChange,
382
382
  adjustRangesForStructuralChange,
383
- aggregateValues,
384
383
  applyFormulaSuggestion,
385
384
  bindSpreadsheetTableActions,
386
385
  blendConditionalFormatColors,
@@ -388,8 +387,6 @@ import {
388
387
  cellFormatForNumberFormat,
389
388
  clampMenuPosition,
390
389
  columnDependencyKey,
391
- compareCellValues,
392
- computeFillTarget,
393
390
  computeRowGroups,
394
391
  conditionalFormatContrastColor,
395
392
  conditionalFormatIconCount,
@@ -407,7 +404,6 @@ import {
407
404
  extractCellDependencies,
408
405
  extractNameDependencies,
409
406
  extractReferenceDependencies,
410
- fillSeries,
411
407
  findDataValidation,
412
408
  findInvalidCells,
413
409
  forEachRangeCell,
@@ -421,7 +417,6 @@ import {
421
417
  getConditionalFormatCss,
422
418
  getConditionalFormatIcon,
423
419
  getDataBarCss,
424
- getFillDirection,
425
420
  getFormulaCaretContext,
426
421
  getFormulaHints,
427
422
  getNameManagerRows,
@@ -433,29 +428,22 @@ import {
433
428
  getTableSections,
434
429
  getValidationListValues,
435
430
  importFileIntoSpreadsheet,
436
- isBlankValue,
437
431
  isGeneralNumberFormat,
438
432
  isLambdaDefinition,
439
- isSingleCellRange,
440
433
  mapConditionalFormatFormulas,
441
434
  mapDataValidationFormulas,
442
435
  mapFormulaReferences,
443
- matchesFilterRule,
444
436
  matchesTimePeriod,
445
437
  measureSpreadsheetView,
446
438
  mergeRuleRanges,
447
439
  nextSheetName,
448
- normalizeRange,
449
440
  numberFormatForCellFormat,
450
441
  offsetFormulaReferences,
451
442
  parseHtmlTable,
452
443
  parseRuleRanges,
453
444
  quoteSheetName,
454
- rangeContains,
455
- rangeContainsRange,
456
445
  rangeDependencyKey,
457
446
  rangesContain,
458
- rangesIntersect,
459
447
  readSpreadsheetClipboard,
460
448
  reanchorRuleFormula,
461
449
  rebaseClipboardRows,
@@ -463,7 +451,6 @@ import {
463
451
  remapFormulaReferences,
464
452
  renameNameInFormula,
465
453
  renameSheetInFormula,
466
- roundFloat,
467
454
  rowPassesFilters,
468
455
  ruleAnchor,
469
456
  ruleFormulaAt,
@@ -479,7 +466,6 @@ import {
479
466
  sortRules,
480
467
  subtractRange,
481
468
  subtractRangeFromRanges,
482
- toNumber,
483
469
  transposeFormulaReferences,
484
470
  transposeRuleFormula,
485
471
  transposeRuleRanges,
@@ -488,7 +474,7 @@ import {
488
474
  validateCellInput,
489
475
  validateDefinedName,
490
476
  validateSheetName
491
- } from "./chunk-2CJ3LPYQ.js";
477
+ } from "./chunk-424H3P4I.js";
492
478
  import {
493
479
  FormulaEvaluator,
494
480
  FormulaLambda,
@@ -496,24 +482,38 @@ import {
496
482
  MAX_FORMULA_ARRAY_SIZE,
497
483
  MAX_LAMBDA_DEPTH,
498
484
  WHOLE_COLUMN_END_ROW,
485
+ aggregateValues,
499
486
  checkFormulaArgumentCount,
487
+ compareCellValues,
488
+ computeFillTarget,
500
489
  describeFormulaError,
490
+ fillSeries,
491
+ getFillDirection,
501
492
  getFormulaArgumentSpecIndex,
502
493
  getFormulaFunction,
503
494
  getFormulaSignature,
504
495
  getFormulaSignatureParts,
496
+ isBlankValue,
505
497
  isFormulaLambda,
498
+ isSingleCellRange,
506
499
  listFormulaFunctions,
500
+ matchesFilterRule,
501
+ normalizeRange,
507
502
  parseCellReference,
508
503
  parseCriteria,
509
504
  parseFormula,
510
505
  parseRange,
506
+ rangeContains,
507
+ rangeContainsRange,
508
+ rangesIntersect,
511
509
  registerFormulaFunction,
510
+ roundFloat,
512
511
  searchFormulaFunctions,
512
+ toNumber,
513
513
  tokenizeFormula,
514
514
  unregisterFormulaFunction,
515
515
  wildcardToRegExp
516
- } from "./chunk-JQ3BB3E6.js";
516
+ } from "./chunk-PXDEFEG2.js";
517
517
  import {
518
518
  FORMULA_ERRORS,
519
519
  MAX_NUMBER_FORMAT_CODE_CHARS,
@@ -125,6 +125,7 @@
125
125
 
126
126
 
127
127
 
128
+ var _chunkTAPXWP2Bcjs = require('../chunk-TAPXWP2B.cjs');
128
129
 
129
130
 
130
131
 
@@ -139,7 +140,6 @@
139
140
 
140
141
 
141
142
 
142
- var _chunkYU4WQE5Mcjs = require('../chunk-YU4WQE5M.cjs');
143
143
 
144
144
 
145
145
 
@@ -164,7 +164,7 @@ var _chunkYU4WQE5Mcjs = require('../chunk-YU4WQE5M.cjs');
164
164
 
165
165
 
166
166
 
167
- var _chunkUN33YOXWcjs = require('../chunk-UN33YOXW.cjs');
167
+ var _chunkPA5S7KPCcjs = require('../chunk-PA5S7KPC.cjs');
168
168
 
169
169
 
170
170
 
@@ -385,5 +385,5 @@ var _chunkTNNJXF46cjs = require('../chunk-TNNJXF46.cjs');
385
385
 
386
386
 
387
387
 
388
- exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkYU4WQE5Mcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkYU4WQE5Mcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkYU4WQE5Mcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkYU4WQE5Mcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkYU4WQE5Mcjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkYU4WQE5Mcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkYU4WQE5Mcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkYU4WQE5Mcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkYU4WQE5Mcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkYU4WQE5Mcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkYU4WQE5Mcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkYU4WQE5Mcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkYU4WQE5Mcjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkYU4WQE5Mcjs.DataSourceBinder; exports.DependencyGraph = _chunkYU4WQE5Mcjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkYU4WQE5Mcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkXP5IUZUOcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkUN33YOXWcjs.FormulaEvaluator; exports.FormulaLambda = _chunkUN33YOXWcjs.FormulaLambda; exports.FormulaParser = _chunkUN33YOXWcjs.FormulaParser; exports.IntervalIndex = _chunkYU4WQE5Mcjs.IntervalIndex; exports.MAX_DEFINED_NAME_LENGTH = _chunkYU4WQE5Mcjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkUN33YOXWcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkUN33YOXWcjs.MAX_LAMBDA_DEPTH; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkXP5IUZUOcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkYU4WQE5Mcjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkYU4WQE5Mcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkXP5IUZUOcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkYU4WQE5Mcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkYU4WQE5Mcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkYU4WQE5Mcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkYU4WQE5Mcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkYU4WQE5Mcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkYU4WQE5Mcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkYU4WQE5Mcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkYU4WQE5Mcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkYU4WQE5Mcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.SpreadsheetController = _chunkYU4WQE5Mcjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkUN33YOXWcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkYU4WQE5Mcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkYU4WQE5Mcjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkYU4WQE5Mcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkYU4WQE5Mcjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkYU4WQE5Mcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkYU4WQE5Mcjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkYU4WQE5Mcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkXP5IUZUOcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkXP5IUZUOcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkYU4WQE5Mcjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkUN33YOXWcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkYU4WQE5Mcjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkXP5IUZUOcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkXP5IUZUOcjs.colNameToIndex; exports.columnDependencyKey = _chunkYU4WQE5Mcjs.columnDependencyKey; exports.compareCellValues = _chunkYU4WQE5Mcjs.compareCellValues; exports.compareNumbers = _chunkXP5IUZUOcjs.compareNumbers; exports.compareValues = _chunkXP5IUZUOcjs.compareValues; exports.computeFillTarget = _chunkYU4WQE5Mcjs.computeFillTarget; exports.computeRowGroups = _chunkYU4WQE5Mcjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkYU4WQE5Mcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkYU4WQE5Mcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkYU4WQE5Mcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkYU4WQE5Mcjs.conditionalFormatStyleString; exports.copySheetName = _chunkYU4WQE5Mcjs.copySheetName; exports.createConditionalFormatRule = _chunkYU4WQE5Mcjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkYU4WQE5Mcjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkYU4WQE5Mcjs.csvImportAdapter; exports.dateValueToSerial = _chunkXP5IUZUOcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkYU4WQE5Mcjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkYU4WQE5Mcjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkYU4WQE5Mcjs.describeConditionalFormat; exports.describeDataValidation = _chunkYU4WQE5Mcjs.describeDataValidation; exports.describeFormulaError = _chunkUN33YOXWcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkYU4WQE5Mcjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkYU4WQE5Mcjs.extractCellDependencies; exports.extractNameDependencies = _chunkYU4WQE5Mcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkYU4WQE5Mcjs.extractReferenceDependencies; exports.fillSeries = _chunkYU4WQE5Mcjs.fillSeries; exports.findDataValidation = _chunkYU4WQE5Mcjs.findDataValidation; exports.findInvalidCells = _chunkYU4WQE5Mcjs.findInvalidCells; exports.forEachRangeCell = _chunkYU4WQE5Mcjs.forEachRangeCell; exports.formatCellDisplay = _chunkYU4WQE5Mcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkYU4WQE5Mcjs.formatCellForDisplay; exports.formatGeneralFit = _chunkXP5IUZUOcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkXP5IUZUOcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkYU4WQE5Mcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkYU4WQE5Mcjs.formatSheetPrefix; exports.formatTextFunction = _chunkXP5IUZUOcjs.formatTextFunction; exports.formatValueWithCode = _chunkYU4WQE5Mcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkYU4WQE5Mcjs.formulaIdentifiers; exports.fullSpreadsheetViewWindow = _chunkYU4WQE5Mcjs.fullSpreadsheetViewWindow; exports.getConditionalFormatCss = _chunkYU4WQE5Mcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkYU4WQE5Mcjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkYU4WQE5Mcjs.getDataBarCss; exports.getFillDirection = _chunkYU4WQE5Mcjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkUN33YOXWcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkYU4WQE5Mcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkUN33YOXWcjs.getFormulaFunction; exports.getFormulaHints = _chunkYU4WQE5Mcjs.getFormulaHints; exports.getFormulaSignature = _chunkUN33YOXWcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkUN33YOXWcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkYU4WQE5Mcjs.getNameManagerRows; exports.getRowSection = _chunkYU4WQE5Mcjs.getRowSection; exports.getSheetTabMenuItems = _chunkYU4WQE5Mcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkYU4WQE5Mcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkYU4WQE5Mcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkYU4WQE5Mcjs.getSpreadsheetViewWindow; exports.getTableSections = _chunkYU4WQE5Mcjs.getTableSections; exports.getValidationListValues = _chunkYU4WQE5Mcjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkYU4WQE5Mcjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkXP5IUZUOcjs.indexToColName; exports.isBlankValue = _chunkYU4WQE5Mcjs.isBlankValue; exports.isFormulaError = _chunkXP5IUZUOcjs.isFormulaError; exports.isFormulaLambda = _chunkUN33YOXWcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkYU4WQE5Mcjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkYU4WQE5Mcjs.isLambdaDefinition; exports.isSingleCellRange = _chunkYU4WQE5Mcjs.isSingleCellRange; exports.listFormulaFunctions = _chunkUN33YOXWcjs.listFormulaFunctions; exports.mapConditionalFormatFormulas = _chunkYU4WQE5Mcjs.mapConditionalFormatFormulas; exports.mapDataValidationFormulas = _chunkYU4WQE5Mcjs.mapDataValidationFormulas; exports.mapFormulaReferences = _chunkYU4WQE5Mcjs.mapFormulaReferences; exports.matchesFilterRule = _chunkYU4WQE5Mcjs.matchesFilterRule; exports.matchesTimePeriod = _chunkYU4WQE5Mcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkYU4WQE5Mcjs.measureSpreadsheetView; exports.mergeRuleRanges = _chunkYU4WQE5Mcjs.mergeRuleRanges; exports.nextSheetName = _chunkYU4WQE5Mcjs.nextSheetName; exports.normalizeRange = _chunkYU4WQE5Mcjs.normalizeRange; exports.numberFormatColorToCss = _chunkXP5IUZUOcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkYU4WQE5Mcjs.numberFormatForCellFormat; exports.numberToText = _chunkXP5IUZUOcjs.numberToText; exports.offsetFormulaReferences = _chunkYU4WQE5Mcjs.offsetFormulaReferences; exports.parseCellInput = _chunkXP5IUZUOcjs.parseCellInput; exports.parseCellReference = _chunkUN33YOXWcjs.parseCellReference; exports.parseCriteria = _chunkUN33YOXWcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkUN33YOXWcjs.parseFormula; exports.parseHtmlTable = _chunkYU4WQE5Mcjs.parseHtmlTable; exports.parseNumberText = _chunkXP5IUZUOcjs.parseNumberText; exports.parseRange = _chunkUN33YOXWcjs.parseRange; exports.parseRuleRanges = _chunkYU4WQE5Mcjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkYU4WQE5Mcjs.quoteSheetName; exports.rangeContains = _chunkYU4WQE5Mcjs.rangeContains; exports.rangeContainsRange = _chunkYU4WQE5Mcjs.rangeContainsRange; exports.rangeDependencyKey = _chunkYU4WQE5Mcjs.rangeDependencyKey; exports.rangesContain = _chunkYU4WQE5Mcjs.rangesContain; exports.rangesIntersect = _chunkYU4WQE5Mcjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkYU4WQE5Mcjs.readSpreadsheetClipboard; exports.reanchorRuleFormula = _chunkYU4WQE5Mcjs.reanchorRuleFormula; exports.rebaseClipboardRows = _chunkYU4WQE5Mcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkUN33YOXWcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkYU4WQE5Mcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkYU4WQE5Mcjs.remapFormulaReferences; exports.renameNameInFormula = _chunkYU4WQE5Mcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkYU4WQE5Mcjs.renameSheetInFormula; exports.roundFloat = _chunkYU4WQE5Mcjs.roundFloat; exports.rowPassesFilters = _chunkYU4WQE5Mcjs.rowPassesFilters; exports.ruleAnchor = _chunkYU4WQE5Mcjs.ruleAnchor; exports.ruleFormulaAt = _chunkYU4WQE5Mcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkYU4WQE5Mcjs.runSpreadsheetMenuItem; exports.sameSpreadsheetViewWindow = _chunkYU4WQE5Mcjs.sameSpreadsheetViewWindow; exports.searchFormulaFunctions = _chunkUN33YOXWcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkXP5IUZUOcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkYU4WQE5Mcjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkYU4WQE5Mcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkYU4WQE5Mcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkYU4WQE5Mcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkYU4WQE5Mcjs.shiftRuleFormula; exports.shouldVirtualizeSpreadsheet = _chunkYU4WQE5Mcjs.shouldVirtualizeSpreadsheet; exports.sortCompareValues = _chunkXP5IUZUOcjs.sortCompareValues; exports.sortRuleRanges = _chunkYU4WQE5Mcjs.sortRuleRanges; exports.sortRules = _chunkYU4WQE5Mcjs.sortRules; exports.subtractRange = _chunkYU4WQE5Mcjs.subtractRange; exports.subtractRangeFromRanges = _chunkYU4WQE5Mcjs.subtractRangeFromRanges; exports.toNumber = _chunkYU4WQE5Mcjs.toNumber; exports.tokenizeFormula = _chunkUN33YOXWcjs.tokenizeFormula; exports.transposeFormulaReferences = _chunkYU4WQE5Mcjs.transposeFormulaReferences; exports.transposeRuleFormula = _chunkYU4WQE5Mcjs.transposeRuleFormula; exports.transposeRuleRanges = _chunkYU4WQE5Mcjs.transposeRuleRanges; exports.transposeRules = _chunkYU4WQE5Mcjs.transposeRules; exports.tsvImportAdapter = _chunkYU4WQE5Mcjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkUN33YOXWcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkYU4WQE5Mcjs.validateCellInput; exports.validateDefinedName = _chunkYU4WQE5Mcjs.validateDefinedName; exports.validateSheetName = _chunkYU4WQE5Mcjs.validateSheetName; exports.wildcardToRegExp = _chunkUN33YOXWcjs.wildcardToRegExp;
388
+ exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkTAPXWP2Bcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkTAPXWP2Bcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkTAPXWP2Bcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkTAPXWP2Bcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.ConditionalFormatEngine = _chunkTAPXWP2Bcjs.ConditionalFormatEngine; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkTAPXWP2Bcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkTAPXWP2Bcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkTAPXWP2Bcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkTAPXWP2Bcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkTAPXWP2Bcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkTAPXWP2Bcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkTAPXWP2Bcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_ROW_HEIGHT = _chunkTAPXWP2Bcjs.DEFAULT_ROW_HEIGHT; exports.DataSourceBinder = _chunkTAPXWP2Bcjs.DataSourceBinder; exports.DependencyGraph = _chunkTAPXWP2Bcjs.DependencyGraph; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkTAPXWP2Bcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.FORMULA_ERRORS = _chunkXP5IUZUOcjs.FORMULA_ERRORS; exports.FormulaEvaluator = _chunkPA5S7KPCcjs.FormulaEvaluator; exports.FormulaLambda = _chunkPA5S7KPCcjs.FormulaLambda; exports.FormulaParser = _chunkPA5S7KPCcjs.FormulaParser; exports.IntervalIndex = _chunkTAPXWP2Bcjs.IntervalIndex; exports.MAX_DEFINED_NAME_LENGTH = _chunkTAPXWP2Bcjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkPA5S7KPCcjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkPA5S7KPCcjs.MAX_LAMBDA_DEPTH; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunkXP5IUZUOcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkTAPXWP2Bcjs.MAX_SHEET_NAME_LENGTH; exports.NUMBER_FORMAT_PRESETS = _chunkTAPXWP2Bcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunkXP5IUZUOcjs.NumberFormat; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkTAPXWP2Bcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkTAPXWP2Bcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkTAPXWP2Bcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkTAPXWP2Bcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkTAPXWP2Bcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkTAPXWP2Bcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkTAPXWP2Bcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkTAPXWP2Bcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkTAPXWP2Bcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.SpreadsheetController = _chunkTAPXWP2Bcjs.SpreadsheetController; exports.WHOLE_COLUMN_END_ROW = _chunkPA5S7KPCcjs.WHOLE_COLUMN_END_ROW; exports.adjustRangeForStructuralChange = _chunkTAPXWP2Bcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkTAPXWP2Bcjs.adjustRangesForStructuralChange; exports.aggregateValues = _chunkPA5S7KPCcjs.aggregateValues; exports.applyFormulaSuggestion = _chunkTAPXWP2Bcjs.applyFormulaSuggestion; exports.bindSpreadsheetTableActions = _chunkTAPXWP2Bcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkTAPXWP2Bcjs.blendConditionalFormatColors; exports.buildSpreadsheetView = _chunkTAPXWP2Bcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunkXP5IUZUOcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunkXP5IUZUOcjs.builtinNumberFormatId; exports.cellFormatForNumberFormat = _chunkTAPXWP2Bcjs.cellFormatForNumberFormat; exports.checkFormulaArgumentCount = _chunkPA5S7KPCcjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkTAPXWP2Bcjs.clampMenuPosition; exports.clearNumberFormatCache = _chunkXP5IUZUOcjs.clearNumberFormatCache; exports.colNameToIndex = _chunkXP5IUZUOcjs.colNameToIndex; exports.columnDependencyKey = _chunkTAPXWP2Bcjs.columnDependencyKey; exports.compareCellValues = _chunkPA5S7KPCcjs.compareCellValues; exports.compareNumbers = _chunkXP5IUZUOcjs.compareNumbers; exports.compareValues = _chunkXP5IUZUOcjs.compareValues; exports.computeFillTarget = _chunkPA5S7KPCcjs.computeFillTarget; exports.computeRowGroups = _chunkTAPXWP2Bcjs.computeRowGroups; exports.conditionalFormatContrastColor = _chunkTAPXWP2Bcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkTAPXWP2Bcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkTAPXWP2Bcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkTAPXWP2Bcjs.conditionalFormatStyleString; exports.copySheetName = _chunkTAPXWP2Bcjs.copySheetName; exports.createConditionalFormatRule = _chunkTAPXWP2Bcjs.createConditionalFormatRule; exports.createSpreadsheetClipboardData = _chunkTAPXWP2Bcjs.createSpreadsheetClipboardData; exports.csvImportAdapter = _chunkTAPXWP2Bcjs.csvImportAdapter; exports.dateValueToSerial = _chunkXP5IUZUOcjs.dateValueToSerial; exports.defaultIconThresholds = _chunkTAPXWP2Bcjs.defaultIconThresholds; exports.deleteSheetInFormula = _chunkTAPXWP2Bcjs.deleteSheetInFormula; exports.describeConditionalFormat = _chunkTAPXWP2Bcjs.describeConditionalFormat; exports.describeDataValidation = _chunkTAPXWP2Bcjs.describeDataValidation; exports.describeFormulaError = _chunkPA5S7KPCcjs.describeFormulaError; exports.escapeCsvField = _chunkTNNJXF46cjs.escapeCsvField; exports.evaluateConditionalFormats = _chunkTAPXWP2Bcjs.evaluateConditionalFormats; exports.extractCellDependencies = _chunkTAPXWP2Bcjs.extractCellDependencies; exports.extractNameDependencies = _chunkTAPXWP2Bcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkTAPXWP2Bcjs.extractReferenceDependencies; exports.fillSeries = _chunkPA5S7KPCcjs.fillSeries; exports.findDataValidation = _chunkTAPXWP2Bcjs.findDataValidation; exports.findInvalidCells = _chunkTAPXWP2Bcjs.findInvalidCells; exports.forEachRangeCell = _chunkTAPXWP2Bcjs.forEachRangeCell; exports.formatCellDisplay = _chunkTAPXWP2Bcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkTAPXWP2Bcjs.formatCellForDisplay; exports.formatGeneralFit = _chunkXP5IUZUOcjs.formatGeneralFit; exports.formatNumberFormatValue = _chunkXP5IUZUOcjs.formatNumberFormatValue; exports.formatRuleRanges = _chunkTAPXWP2Bcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkTAPXWP2Bcjs.formatSheetPrefix; exports.formatTextFunction = _chunkXP5IUZUOcjs.formatTextFunction; exports.formatValueWithCode = _chunkTAPXWP2Bcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkTAPXWP2Bcjs.formulaIdentifiers; exports.fullSpreadsheetViewWindow = _chunkTAPXWP2Bcjs.fullSpreadsheetViewWindow; exports.getConditionalFormatCss = _chunkTAPXWP2Bcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkTAPXWP2Bcjs.getConditionalFormatIcon; exports.getDataBarCss = _chunkTAPXWP2Bcjs.getDataBarCss; exports.getFillDirection = _chunkPA5S7KPCcjs.getFillDirection; exports.getFormulaArgumentSpecIndex = _chunkPA5S7KPCcjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkTAPXWP2Bcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkPA5S7KPCcjs.getFormulaFunction; exports.getFormulaHints = _chunkTAPXWP2Bcjs.getFormulaHints; exports.getFormulaSignature = _chunkPA5S7KPCcjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkPA5S7KPCcjs.getFormulaSignatureParts; exports.getNameManagerRows = _chunkTAPXWP2Bcjs.getNameManagerRows; exports.getRowSection = _chunkTAPXWP2Bcjs.getRowSection; exports.getSheetTabMenuItems = _chunkTAPXWP2Bcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkTAPXWP2Bcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkTAPXWP2Bcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkTAPXWP2Bcjs.getSpreadsheetViewWindow; exports.getTableSections = _chunkTAPXWP2Bcjs.getTableSections; exports.getValidationListValues = _chunkTAPXWP2Bcjs.getValidationListValues; exports.importFileIntoSpreadsheet = _chunkTAPXWP2Bcjs.importFileIntoSpreadsheet; exports.indexToColName = _chunkXP5IUZUOcjs.indexToColName; exports.isBlankValue = _chunkPA5S7KPCcjs.isBlankValue; exports.isFormulaError = _chunkXP5IUZUOcjs.isFormulaError; exports.isFormulaLambda = _chunkPA5S7KPCcjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkTAPXWP2Bcjs.isGeneralNumberFormat; exports.isLambdaDefinition = _chunkTAPXWP2Bcjs.isLambdaDefinition; exports.isSingleCellRange = _chunkPA5S7KPCcjs.isSingleCellRange; exports.listFormulaFunctions = _chunkPA5S7KPCcjs.listFormulaFunctions; exports.mapConditionalFormatFormulas = _chunkTAPXWP2Bcjs.mapConditionalFormatFormulas; exports.mapDataValidationFormulas = _chunkTAPXWP2Bcjs.mapDataValidationFormulas; exports.mapFormulaReferences = _chunkTAPXWP2Bcjs.mapFormulaReferences; exports.matchesFilterRule = _chunkPA5S7KPCcjs.matchesFilterRule; exports.matchesTimePeriod = _chunkTAPXWP2Bcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkTAPXWP2Bcjs.measureSpreadsheetView; exports.mergeRuleRanges = _chunkTAPXWP2Bcjs.mergeRuleRanges; exports.nextSheetName = _chunkTAPXWP2Bcjs.nextSheetName; exports.normalizeRange = _chunkPA5S7KPCcjs.normalizeRange; exports.numberFormatColorToCss = _chunkXP5IUZUOcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkTAPXWP2Bcjs.numberFormatForCellFormat; exports.numberToText = _chunkXP5IUZUOcjs.numberToText; exports.offsetFormulaReferences = _chunkTAPXWP2Bcjs.offsetFormulaReferences; exports.parseCellInput = _chunkXP5IUZUOcjs.parseCellInput; exports.parseCellReference = _chunkPA5S7KPCcjs.parseCellReference; exports.parseCriteria = _chunkPA5S7KPCcjs.parseCriteria; exports.parseCsv = _chunkTNNJXF46cjs.parseCsv; exports.parseFormula = _chunkPA5S7KPCcjs.parseFormula; exports.parseHtmlTable = _chunkTAPXWP2Bcjs.parseHtmlTable; exports.parseNumberText = _chunkXP5IUZUOcjs.parseNumberText; exports.parseRange = _chunkPA5S7KPCcjs.parseRange; exports.parseRuleRanges = _chunkTAPXWP2Bcjs.parseRuleRanges; exports.parseTsv = _chunkTNNJXF46cjs.parseTsv; exports.quoteSheetName = _chunkTAPXWP2Bcjs.quoteSheetName; exports.rangeContains = _chunkPA5S7KPCcjs.rangeContains; exports.rangeContainsRange = _chunkPA5S7KPCcjs.rangeContainsRange; exports.rangeDependencyKey = _chunkTAPXWP2Bcjs.rangeDependencyKey; exports.rangesContain = _chunkTAPXWP2Bcjs.rangesContain; exports.rangesIntersect = _chunkPA5S7KPCcjs.rangesIntersect; exports.readSpreadsheetClipboard = _chunkTAPXWP2Bcjs.readSpreadsheetClipboard; exports.reanchorRuleFormula = _chunkTAPXWP2Bcjs.reanchorRuleFormula; exports.rebaseClipboardRows = _chunkTAPXWP2Bcjs.rebaseClipboardRows; exports.registerFormulaFunction = _chunkPA5S7KPCcjs.registerFormulaFunction; exports.registerSpreadsheetImportAdapters = _chunkTAPXWP2Bcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkTAPXWP2Bcjs.remapFormulaReferences; exports.renameNameInFormula = _chunkTAPXWP2Bcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkTAPXWP2Bcjs.renameSheetInFormula; exports.roundFloat = _chunkPA5S7KPCcjs.roundFloat; exports.rowPassesFilters = _chunkTAPXWP2Bcjs.rowPassesFilters; exports.ruleAnchor = _chunkTAPXWP2Bcjs.ruleAnchor; exports.ruleFormulaAt = _chunkTAPXWP2Bcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkTAPXWP2Bcjs.runSpreadsheetMenuItem; exports.sameSpreadsheetViewWindow = _chunkTAPXWP2Bcjs.sameSpreadsheetViewWindow; exports.searchFormulaFunctions = _chunkPA5S7KPCcjs.searchFormulaFunctions; exports.serialFromYmd = _chunkXP5IUZUOcjs.serialFromYmd; exports.serializeCsv = _chunkTNNJXF46cjs.serializeCsv; exports.serializeHtmlTable = _chunkTAPXWP2Bcjs.serializeHtmlTable; exports.serializeTsv = _chunkTNNJXF46cjs.serializeTsv; exports.sheetDropIndex = _chunkTAPXWP2Bcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkTAPXWP2Bcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkTAPXWP2Bcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkTAPXWP2Bcjs.shiftRuleFormula; exports.shouldVirtualizeSpreadsheet = _chunkTAPXWP2Bcjs.shouldVirtualizeSpreadsheet; exports.sortCompareValues = _chunkXP5IUZUOcjs.sortCompareValues; exports.sortRuleRanges = _chunkTAPXWP2Bcjs.sortRuleRanges; exports.sortRules = _chunkTAPXWP2Bcjs.sortRules; exports.subtractRange = _chunkTAPXWP2Bcjs.subtractRange; exports.subtractRangeFromRanges = _chunkTAPXWP2Bcjs.subtractRangeFromRanges; exports.toNumber = _chunkPA5S7KPCcjs.toNumber; exports.tokenizeFormula = _chunkPA5S7KPCcjs.tokenizeFormula; exports.transposeFormulaReferences = _chunkTAPXWP2Bcjs.transposeFormulaReferences; exports.transposeRuleFormula = _chunkTAPXWP2Bcjs.transposeRuleFormula; exports.transposeRuleRanges = _chunkTAPXWP2Bcjs.transposeRuleRanges; exports.transposeRules = _chunkTAPXWP2Bcjs.transposeRules; exports.tsvImportAdapter = _chunkTAPXWP2Bcjs.tsvImportAdapter; exports.unregisterFormulaFunction = _chunkPA5S7KPCcjs.unregisterFormulaFunction; exports.validateCellInput = _chunkTAPXWP2Bcjs.validateCellInput; exports.validateDefinedName = _chunkTAPXWP2Bcjs.validateDefinedName; exports.validateSheetName = _chunkTAPXWP2Bcjs.validateSheetName; exports.wildcardToRegExp = _chunkPA5S7KPCcjs.wildcardToRegExp;
389
389
  //# 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;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;AACF,yDAA8B;AAC9B;AACE;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
+ {"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;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;AACF,yDAA8B;AAC9B;AACE;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"}
@@ -31,7 +31,6 @@ import {
31
31
  SpreadsheetController,
32
32
  adjustRangeForStructuralChange,
33
33
  adjustRangesForStructuralChange,
34
- aggregateValues,
35
34
  applyFormulaSuggestion,
36
35
  bindSpreadsheetTableActions,
37
36
  blendConditionalFormatColors,
@@ -39,8 +38,6 @@ import {
39
38
  cellFormatForNumberFormat,
40
39
  clampMenuPosition,
41
40
  columnDependencyKey,
42
- compareCellValues,
43
- computeFillTarget,
44
41
  computeRowGroups,
45
42
  conditionalFormatContrastColor,
46
43
  conditionalFormatIconCount,
@@ -58,7 +55,6 @@ import {
58
55
  extractCellDependencies,
59
56
  extractNameDependencies,
60
57
  extractReferenceDependencies,
61
- fillSeries,
62
58
  findDataValidation,
63
59
  findInvalidCells,
64
60
  forEachRangeCell,
@@ -72,7 +68,6 @@ import {
72
68
  getConditionalFormatCss,
73
69
  getConditionalFormatIcon,
74
70
  getDataBarCss,
75
- getFillDirection,
76
71
  getFormulaCaretContext,
77
72
  getFormulaHints,
78
73
  getNameManagerRows,
@@ -84,29 +79,22 @@ import {
84
79
  getTableSections,
85
80
  getValidationListValues,
86
81
  importFileIntoSpreadsheet,
87
- isBlankValue,
88
82
  isGeneralNumberFormat,
89
83
  isLambdaDefinition,
90
- isSingleCellRange,
91
84
  mapConditionalFormatFormulas,
92
85
  mapDataValidationFormulas,
93
86
  mapFormulaReferences,
94
- matchesFilterRule,
95
87
  matchesTimePeriod,
96
88
  measureSpreadsheetView,
97
89
  mergeRuleRanges,
98
90
  nextSheetName,
99
- normalizeRange,
100
91
  numberFormatForCellFormat,
101
92
  offsetFormulaReferences,
102
93
  parseHtmlTable,
103
94
  parseRuleRanges,
104
95
  quoteSheetName,
105
- rangeContains,
106
- rangeContainsRange,
107
96
  rangeDependencyKey,
108
97
  rangesContain,
109
- rangesIntersect,
110
98
  readSpreadsheetClipboard,
111
99
  reanchorRuleFormula,
112
100
  rebaseClipboardRows,
@@ -114,7 +102,6 @@ import {
114
102
  remapFormulaReferences,
115
103
  renameNameInFormula,
116
104
  renameSheetInFormula,
117
- roundFloat,
118
105
  rowPassesFilters,
119
106
  ruleAnchor,
120
107
  ruleFormulaAt,
@@ -130,7 +117,6 @@ import {
130
117
  sortRules,
131
118
  subtractRange,
132
119
  subtractRangeFromRanges,
133
- toNumber,
134
120
  transposeFormulaReferences,
135
121
  transposeRuleFormula,
136
122
  transposeRuleRanges,
@@ -139,7 +125,7 @@ import {
139
125
  validateCellInput,
140
126
  validateDefinedName,
141
127
  validateSheetName
142
- } from "../chunk-2CJ3LPYQ.js";
128
+ } from "../chunk-424H3P4I.js";
143
129
  import {
144
130
  FormulaEvaluator,
145
131
  FormulaLambda,
@@ -147,24 +133,38 @@ import {
147
133
  MAX_FORMULA_ARRAY_SIZE,
148
134
  MAX_LAMBDA_DEPTH,
149
135
  WHOLE_COLUMN_END_ROW,
136
+ aggregateValues,
150
137
  checkFormulaArgumentCount,
138
+ compareCellValues,
139
+ computeFillTarget,
151
140
  describeFormulaError,
141
+ fillSeries,
142
+ getFillDirection,
152
143
  getFormulaArgumentSpecIndex,
153
144
  getFormulaFunction,
154
145
  getFormulaSignature,
155
146
  getFormulaSignatureParts,
147
+ isBlankValue,
156
148
  isFormulaLambda,
149
+ isSingleCellRange,
157
150
  listFormulaFunctions,
151
+ matchesFilterRule,
152
+ normalizeRange,
158
153
  parseCellReference,
159
154
  parseCriteria,
160
155
  parseFormula,
161
156
  parseRange,
157
+ rangeContains,
158
+ rangeContainsRange,
159
+ rangesIntersect,
162
160
  registerFormulaFunction,
161
+ roundFloat,
163
162
  searchFormulaFunctions,
163
+ toNumber,
164
164
  tokenizeFormula,
165
165
  unregisterFormulaFunction,
166
166
  wildcardToRegExp
167
- } from "../chunk-JQ3BB3E6.js";
167
+ } from "../chunk-PXDEFEG2.js";
168
168
  import {
169
169
  FORMULA_ERRORS,
170
170
  MAX_NUMBER_FORMAT_CODE_CHARS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixerate/editor",
3
- "version": "0.80.0",
3
+ "version": "0.81.0",
4
4
  "description": "UI-agnostic rich text and media editing core library",
5
5
  "author": "Pixerate",
6
6
  "license": "MIT",
@@ -140,6 +140,7 @@
140
140
  },
141
141
  "files": [
142
142
  "dist",
143
+ "skills",
143
144
  "THIRD_PARTY_NOTICES.md"
144
145
  ],
145
146
  "sideEffects": false,
@@ -0,0 +1,55 @@
1
+ # Agent skills
2
+
3
+ Each editor domain in `@pixerate/editor` ships an [Agent Skill](https://agentskills.io): a
4
+ `SKILL.md` that teaches a model when and how to use that domain's tools, and the practice an
5
+ expert in the domain would follow. They are published with the package, so an app or agent
6
+ that uses the tools can load the matching skill.
7
+
8
+ | Skill | Covers |
9
+ | --- | --- |
10
+ | [`pixerate-agent-tools`](pixerate-agent-tools/SKILL.md) | What every editor has in common: the MCP bridge, tool naming and namespaces, `list_commands` / `run_command` / `run_commands`, errors, undo. Load it with any domain skill. |
11
+ | [`pixerate-rich-text`](pixerate-rich-text/SKILL.md) | Documents and prompts: text, tables, find and replace, charts in documents, prompt variables. |
12
+ | [`pixerate-spreadsheet`](pixerate-spreadsheet/SKILL.md) | Cells, ranges, rows and columns, filters, merges. |
13
+ | [`pixerate-canvas`](pixerate-canvas/SKILL.md) | Node-graph canvas, components and variants, arranging, shape booleans, keyframe animation. |
14
+ | [`pixerate-vector`](pixerate-vector/SKILL.md) | Vector paths, styles, gradients, effects, blends, Pathfinder, SVG. |
15
+ | [`pixerate-chart`](pixerate-chart/SKILL.md) | Chart specs, data, series, presets, trendlines, Office and Mermaid charts. |
16
+ | [`pixerate-diagram`](pixerate-diagram/SKILL.md) | Mermaid diagrams: nodes, edges, groups, layout. |
17
+ | [`pixerate-image-editor`](pixerate-image-editor/SKILL.md) | Adjustments, adjustment layers, selections and masks. |
18
+ | [`pixerate-animation-editor`](pixerate-animation-editor/SKILL.md) | Vector animation: shots, commands, timing, Flair and Lottie. |
19
+ | [`pixerate-video-editor`](pixerate-video-editor/SKILL.md) | Non-linear video editing: tracks, clips, transitions, export. |
20
+ | [`pixerate-generation`](pixerate-generation/SKILL.md) | Planning, estimating and running paid media generation. |
21
+ | [`pixerate-parameters`](pixerate-parameters/SKILL.md) | Effect parameters, presets and keyframes. |
22
+
23
+ ## Using them
24
+
25
+ Copy or symlink the directories into your agent's skills folder, for example for Claude Code:
26
+
27
+ ```bash
28
+ cp -R node_modules/@pixerate/editor/skills/* .claude/skills/
29
+ ```
30
+
31
+ Skills use bare tool names (`get_chart`). A host that namespaces providers exposes them as
32
+ `<namespace>__get_chart`.
33
+
34
+ ## Maintaining them
35
+
36
+ A skill is part of its domain's agent path (see section 4 of `AGENTS.md`). When you add,
37
+ rename or remove a tool or command, or change how one should be used, update the skill in the
38
+ same change.
39
+
40
+ - **Format.** YAML frontmatter with `name` (the directory name) and `description` (what the
41
+ skill covers and when to use it, at most 1024 characters), then: a mental model, a working
42
+ method, best practices, a tool reference, commands (if any) and pitfalls. Keep `SKILL.md`
43
+ under 500 lines and move long reference material to `references/*.md`.
44
+ - **Tool tables.** Every tool and command id the domain exposes is the first cell of exactly
45
+ one table row: `` | `get_chart` | when and how to use it | ``. Say when to reach for it, what
46
+ it returns, the arguments that matter (with units and defaults) and what to call before or
47
+ after.
48
+ - **The test.** `packages/core/tests/agent-skills.test.ts` builds every provider and command
49
+ set and fails when a skill misses a tool, lists one that no longer exists, or a new
50
+ `create*ToolProvider` / `create*Commands` factory is not mapped to a skill. A new domain
51
+ gets a new skill directory, an entry in `expectedBySkill()` and `FACTORIES`, and a row in
52
+ the table above.
53
+ - **Workflows and practice.** The test cannot check advice. When a feature changes the best
54
+ way to do something (a new batch tool, a new check, a better default), update the working
55
+ method and best practices too.
@@ -0,0 +1,75 @@
1
+ ---
2
+ name: pixerate-agent-tools
3
+ description: How to drive any Pixerate editor (rich text, spreadsheet, canvas, vector, chart, diagram, image, animation, video, generation) through its agent tools - finding the right editor over the MCP bridge, reading tool names and namespaces, running editor commands with list_commands / run_command / run_commands, batching with result references, undo, and recovering from tool errors. Use whenever Pixerate editor tools are available, before the domain skill for the editor at hand.
4
+ ---
5
+
6
+ # Driving Pixerate editors with agent tools
7
+
8
+ Every Pixerate editor exposes the same kind of tool surface: a strict, one-tool-per-operation
9
+ set of MCP tools from its tool provider, plus (where the host registers them) its commands
10
+ through three generic command tools. This skill covers what is common to all of them. Each
11
+ editor domain has its own skill for its tools: `pixerate-rich-text`, `pixerate-spreadsheet`,
12
+ `pixerate-canvas`, `pixerate-vector`, `pixerate-chart`, `pixerate-diagram`,
13
+ `pixerate-image-editor`, `pixerate-animation-editor`, `pixerate-video-editor`,
14
+ `pixerate-generation` and `pixerate-parameters`.
15
+
16
+ ## How tools are named
17
+
18
+ - Tool names are `snake_case` verbs on a noun: `get_*` / `list_*` / `find_*` / `render_*` read,
19
+ everything else writes.
20
+ - When several editors register a tool with the same name, or a host gives a provider a
21
+ namespace, the name is prefixed: `chart__get_chart`, `doc-1__find_text`. Skills use the bare
22
+ name; match on the suffix after `__`.
23
+ - The annotations are reliable: `readOnlyHint: true` never changes anything, `destructiveHint:
24
+ true` removes content, `idempotentHint: true` is safe to retry.
25
+ - The tool list changes while you work (an editor mounts, a chart becomes read-only and its
26
+ write tools disappear). If a tool you used before is gone, list tools again rather than guess.
27
+
28
+ ## Working method
29
+
30
+ 1. **Read before you write.** Start with the domain's `get_*` tool. Write tools take the ids,
31
+ ranges and positions that read tools return; never invent an id.
32
+ 2. **Prefer the specific tool.** A dedicated tool (`set_chart_values`, `add_video_clip`) has a
33
+ strict schema and a precise error; use generic commands only for what has no tool.
34
+ 3. **Batch related edits.** Use the domain's batch tool (`edit_animation`, `edit_video`,
35
+ `run_commands` with `atomic: true`) so a multi-step change is one undo step and either all
36
+ applies or none does. Use `dry_run` where offered when you are unsure.
37
+ 4. **Use what writes return.** Writes return what they created or changed (new ids, the
38
+ resulting range or value). Chain on those rather than re-reading the whole state.
39
+ 5. **Check, then look.** Run the domain's `check_*` tool and fix every error and warning.
40
+ Render (`render_*`, `view_editor`) after a batch of edits, not after every edit: images cost
41
+ tokens, so use them for what text cannot tell you (overlap, legibility, balance).
42
+ 6. **Undo your own mistakes** with the domain's `undo_*` tool or the `history.undo` command, not
43
+ by hand-reverting with more edits.
44
+
45
+ ## Errors
46
+
47
+ A failed call comes back as an `isError` result whose text says what was wrong and how to fix
48
+ it, with `structuredContent.error.code`:
49
+
50
+ - `invalid_arguments`: the arguments do not match the schema; `details` names each bad path.
51
+ Fix the arguments and call again.
52
+ - `tool_failed`: the editor refused the change (unknown id, out-of-range position, read-only
53
+ target). Nothing was applied. Read the state again, then retry with valid input.
54
+ - `unknown_tool`: the tool is not registered now (the editor closed, or it is read-only).
55
+
56
+ Never repeat an identical failing call. Never work around a read-only refusal; tell the user.
57
+
58
+ ## Tool reference
59
+
60
+ | Tool | Use it to |
61
+ | --- | --- |
62
+ | `list_editors` | See which editors are open in the browser and connected to the MCP bridge (id, name, kind, tool count, last activity). Call it first when tools come through the bridge; pass an id or part of a name as `editor` to any tool to pick one when several are open, otherwise the most recently active editor with that tool answers. If none is connected, ask the user to open the app and connect it. |
63
+ | `list_commands` | Discover the commands an editor registers: id, label, group, params JSON Schema, shortcuts, and whether each is enabled now (with the reason when it is not). Filter with `query`; pass `enabledOnly: true` to see only what you can run now. |
64
+ | `run_command` | Run one command by `id` with `params` matching its schema. Disabled commands and unknown params fail with a reason; read it before retrying. |
65
+ | `run_commands` | Run several commands in order as `steps`. A param string `"$0.id"` or `"$last.id"` is replaced by that path of an earlier step's result, so a step can use an id an earlier step created. Pass `atomic: true` and a `label` to make the batch one undo step that rolls back entirely on failure; without it, steps before a failure stay applied. |
66
+
67
+ ## Commands
68
+
69
+ These history commands are registered wherever a host shares a history with its command
70
+ registry. Domain editors also have their own `undo_*` / `redo_*` tools.
71
+
72
+ | Command | Use it to |
73
+ | --- | --- |
74
+ | `history.undo` | Revert the last change (one tool call or one atomic batch is one step). |
75
+ | `history.redo` | Re-apply the change you just undid. |