@pixerate/editor 0.150.0 → 0.151.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 (87) hide show
  1. package/dist/agent/index.cjs +34 -34
  2. package/dist/agent/index.js +8 -8
  3. package/dist/animation-editor/editorDocument.d.cts +9 -0
  4. package/dist/animation-editor/editorDocument.d.ts +9 -0
  5. package/dist/animation-editor/index.cjs +33 -1
  6. package/dist/animation-editor/index.d.cts +1 -0
  7. package/dist/animation-editor/index.d.ts +1 -0
  8. package/dist/animation-editor/index.js +32 -0
  9. package/dist/bridge/cli.cjs +4 -4
  10. package/dist/bridge/cli.js +3 -3
  11. package/dist/bridge/index.cjs +4 -4
  12. package/dist/bridge/index.js +3 -3
  13. package/dist/chart/controller.d.cts +5 -0
  14. package/dist/chart/controller.d.ts +5 -0
  15. package/dist/chart/editorDocument.d.cts +10 -0
  16. package/dist/chart/editorDocument.d.ts +10 -0
  17. package/dist/chart/index.cjs +54 -18
  18. package/dist/chart/index.d.cts +1 -0
  19. package/dist/chart/index.d.ts +1 -0
  20. package/dist/chart/index.js +37 -1
  21. package/dist/{chunk-ENIZYNEF.cjs → chunk-24M7VD6M.cjs} +7 -7
  22. package/dist/{chunk-OET45HIR.js → chunk-4RF2H3N3.js} +10 -0
  23. package/dist/{chunk-KC7HB5GF.cjs → chunk-5H2C3QSF.cjs} +4 -3
  24. package/dist/{chunk-HRLT5BYO.js → chunk-GNV54DLO.js} +2 -1
  25. package/dist/{chunk-EAQ4BGNS.js → chunk-MKTDELCD.js} +1 -1
  26. package/dist/{chunk-X35BV5YT.cjs → chunk-ML2II3Y3.cjs} +10 -0
  27. package/dist/{chunk-QCEQIRJQ.cjs → chunk-PI45JMP7.cjs} +163 -136
  28. package/dist/{chunk-DVLMW3GB.cjs → chunk-R3PECGTQ.cjs} +44 -44
  29. package/dist/{chunk-2AQL4JHM.js → chunk-R6HNWN7B.js} +1 -1
  30. package/dist/{chunk-6QTON3VW.cjs → chunk-RZJCYJWO.cjs} +8 -8
  31. package/dist/{chunk-O5ML2I6O.js → chunk-SVINJIGK.js} +1 -1
  32. package/dist/{chunk-ZQUANEK4.js → chunk-Y64YPIFT.js} +28 -1
  33. package/dist/diagram/index.cjs +6 -6
  34. package/dist/diagram/index.js +5 -5
  35. package/dist/export/index.cjs +1 -1
  36. package/dist/export/index.js +1 -1
  37. package/dist/extensions/index.cjs +5 -5
  38. package/dist/extensions/index.js +4 -4
  39. package/dist/image-editor/canvas-viewport.d.cts +52 -0
  40. package/dist/image-editor/canvas-viewport.d.ts +52 -0
  41. package/dist/image-editor/index.cjs +666 -599
  42. package/dist/image-editor/index.d.cts +1 -0
  43. package/dist/image-editor/index.d.ts +1 -0
  44. package/dist/image-editor/index.js +100 -33
  45. package/dist/image-editor/layers/ops.d.cts +21 -3
  46. package/dist/image-editor/layers/ops.d.ts +21 -3
  47. package/dist/image-editor/renderer.d.cts +7 -0
  48. package/dist/image-editor/renderer.d.ts +7 -0
  49. package/dist/index.cjs +14 -14
  50. package/dist/index.js +8 -8
  51. package/dist/paint-editor/index.cjs +6 -6
  52. package/dist/paint-editor/index.js +1 -1
  53. package/dist/parameters/controller.d.cts +6 -0
  54. package/dist/parameters/controller.d.ts +6 -0
  55. package/dist/parameters/editorDocument.d.cts +9 -0
  56. package/dist/parameters/editorDocument.d.ts +9 -0
  57. package/dist/parameters/index.cjs +71 -1
  58. package/dist/parameters/index.d.cts +1 -0
  59. package/dist/parameters/index.d.ts +1 -0
  60. package/dist/parameters/index.js +70 -0
  61. package/dist/persistence/editorDocument.d.cts +6 -3
  62. package/dist/persistence/editorDocument.d.ts +6 -3
  63. package/dist/persistence/index.cjs +7 -7
  64. package/dist/persistence/index.js +1 -1
  65. package/dist/tools/index.cjs +5 -5
  66. package/dist/tools/index.js +6 -6
  67. package/dist/vector/editorDocument.d.cts +9 -0
  68. package/dist/vector/editorDocument.d.ts +9 -0
  69. package/dist/vector/index.cjs +45 -1
  70. package/dist/vector/index.d.cts +1 -0
  71. package/dist/vector/index.d.ts +1 -0
  72. package/dist/vector/index.js +44 -0
  73. package/dist/video-editor/editorDocument.d.cts +9 -0
  74. package/dist/video-editor/editorDocument.d.ts +9 -0
  75. package/dist/video-editor/index.cjs +33 -1
  76. package/dist/video-editor/index.d.cts +1 -0
  77. package/dist/video-editor/index.d.ts +1 -0
  78. package/dist/video-editor/index.js +32 -0
  79. package/package.json +2 -2
  80. package/skills/pixerate-animation-editor/SKILL.md +12 -0
  81. package/skills/pixerate-chart/SKILL.md +12 -0
  82. package/skills/pixerate-image-editor/SKILL.md +6 -6
  83. package/skills/pixerate-parameters/SKILL.md +12 -0
  84. package/skills/pixerate-vector/SKILL.md +14 -0
  85. package/skills/pixerate-video-editor/SKILL.md +12 -0
  86. package/dist/{chunk-Y4BWZB6J.cjs → chunk-462WGGXX.cjs} +2 -2
  87. package/dist/{chunk-RFBFTLVN.js → chunk-EVXQNQND.js} +3 -3
package/dist/index.cjs CHANGED
@@ -165,7 +165,7 @@ var _chunkWIC7TG73cjs = require('./chunk-WIC7TG73.cjs');
165
165
 
166
166
 
167
167
 
168
- var _chunkDVLMW3GBcjs = require('./chunk-DVLMW3GB.cjs');
168
+ var _chunkR3PECGTQcjs = require('./chunk-R3PECGTQ.cjs');
169
169
 
170
170
 
171
171
 
@@ -246,8 +246,8 @@ var _chunkHMGWFXECcjs = require('./chunk-HMGWFXEC.cjs');
246
246
 
247
247
 
248
248
 
249
- var _chunk6QTON3VWcjs = require('./chunk-6QTON3VW.cjs');
250
- require('./chunk-X35BV5YT.cjs');
249
+ var _chunkRZJCYJWOcjs = require('./chunk-RZJCYJWO.cjs');
250
+ require('./chunk-ML2II3Y3.cjs');
251
251
  require('./chunk-XTU6QO2W.cjs');
252
252
  require('./chunk-I4AHLP7F.cjs');
253
253
  require('./chunk-WSLYNSMS.cjs');
@@ -320,11 +320,6 @@ var _chunk34RQAGWIcjs = require('./chunk-34RQAGWI.cjs');
320
320
 
321
321
 
322
322
 
323
- var _chunk2BSBFBOAcjs = require('./chunk-2BSBFBOA.cjs');
324
-
325
-
326
-
327
-
328
323
 
329
324
 
330
325
 
@@ -573,6 +568,11 @@ var _chunkUWEQ55MYcjs = require('./chunk-UWEQ55MY.cjs');
573
568
 
574
569
 
575
570
 
571
+
572
+ var _chunk2BSBFBOAcjs = require('./chunk-2BSBFBOA.cjs');
573
+
574
+
575
+
576
576
  var _chunkFJ2MSI43cjs = require('./chunk-FJ2MSI43.cjs');
577
577
  require('./chunk-UKCJ43YL.cjs');
578
578
  require('./chunk-IPJ3TEYR.cjs');
@@ -742,7 +742,7 @@ function pickImportFiles(options = {}) {
742
742
  return new Promise((resolve) => {
743
743
  const input = document.createElement("input");
744
744
  input.type = "file";
745
- input.accept = _nullishCoalesce(options.accept, () => ( _chunkDVLMW3GBcjs.defaultImportRegistry.accept("document")));
745
+ input.accept = _nullishCoalesce(options.accept, () => ( _chunkR3PECGTQcjs.defaultImportRegistry.accept("document")));
746
746
  input.multiple = _nullishCoalesce(options.multiple, () => ( true));
747
747
  input.style.display = "none";
748
748
  const finish = (files) => {
@@ -770,7 +770,7 @@ var FileImportController = (_class = class {
770
770
  }
771
771
  /** `accept` attribute value for document imports. */
772
772
  get accept() {
773
- return (_nullishCoalesce(this.options.registry, () => ( _chunkDVLMW3GBcjs.defaultImportRegistry))).accept("document");
773
+ return (_nullishCoalesce(this.options.registry, () => ( _chunkR3PECGTQcjs.defaultImportRegistry))).accept("document");
774
774
  }
775
775
  __init4() {this.getState = () => this.state}
776
776
  __init5() {this.subscribe = (listener) => {
@@ -792,7 +792,7 @@ var FileImportController = (_class = class {
792
792
  this.setState({ isImporting: true, error: null });
793
793
  let error = null;
794
794
  try {
795
- const outcomes = await _chunkDVLMW3GBcjs.importFilesIntoEditor.call(void 0, target, list, {
795
+ const outcomes = await _chunkR3PECGTQcjs.importFilesIntoEditor.call(void 0, target, list, {
796
796
  ...this.options,
797
797
  at,
798
798
  onError: (err, file) => {
@@ -2218,7 +2218,7 @@ function createZipImportAdapter(options = {}) {
2218
2218
  extensions: [".zip"],
2219
2219
  target: "document",
2220
2220
  async import(_input, context) {
2221
- const registry = _nullishCoalesce(_nullishCoalesce(options.registry, () => ( context.registry)), () => ( _chunkDVLMW3GBcjs.defaultImportRegistry));
2221
+ const registry = _nullishCoalesce(_nullishCoalesce(options.registry, () => ( context.registry)), () => ( _chunkR3PECGTQcjs.defaultImportRegistry));
2222
2222
  const zip = await _chunkALNIFK5Gcjs.readZip.call(void 0, await context.readArrayBuffer(), {
2223
2223
  maxTotalSize: 100 * 1024 * 1024,
2224
2224
  maxEntries: 5e3,
@@ -2269,7 +2269,7 @@ function createZipImportAdapter(options = {}) {
2269
2269
  }
2270
2270
  }
2271
2271
  if (!files.length) {
2272
- throw new (0, _chunkDVLMW3GBcjs.ImportError)("invalid_file", "The archive contains no importable documents.", {
2272
+ throw new (0, _chunkR3PECGTQcjs.ImportError)("invalid_file", "The archive contains no importable documents.", {
2273
2273
  fileName: context.fileName
2274
2274
  });
2275
2275
  }
@@ -2823,4 +2823,4 @@ var zipImportAdapter = createZipImportAdapter();
2823
2823
 
2824
2824
 
2825
2825
 
2826
- exports.ALLOW_NESTED_TABLES_META = _chunk6QTON3VWcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunk6QTON3VWcjs.AgentCaret; exports.Autocorrect = _chunkDVLMW3GBcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.BUILT_IN_IMPORT_ADAPTERS = _chunkDVLMW3GBcjs.BUILT_IN_IMPORT_ADAPTERS; exports.Bookmark = _chunkDVLMW3GBcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkDVLMW3GBcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkDVLMW3GBcjs.COMMENT_MARK_NAME; exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.CharacterStyle = _chunkDVLMW3GBcjs.CharacterStyle; exports.Chart = _chunk6QTON3VWcjs.Chart; exports.ChartNodeView = _chunk6QTON3VWcjs.ChartNodeView; exports.ColorHighlighter = _chunkDVLMW3GBcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkDVLMW3GBcjs.Comments; exports.ConditionalFormatEngine = _chunkQSM3MDDJcjs.ConditionalFormatEngine; exports.CrossReference = _chunkDVLMW3GBcjs.CrossReference; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkQSM3MDDJcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkQSM3MDDJcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkQSM3MDDJcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_AGENT_CARET_COLOR = _chunk6QTON3VWcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunk6QTON3VWcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkDVLMW3GBcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkQSM3MDDJcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkQSM3MDDJcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkQSM3MDDJcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkQSM3MDDJcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_DOCX_MAX_IMAGE_SIZE = _chunkDVLMW3GBcjs.DEFAULT_DOCX_MAX_IMAGE_SIZE; exports.DEFAULT_ROW_HEIGHT = _chunkQSM3MDDJcjs.DEFAULT_ROW_HEIGHT; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunk6QTON3VWcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunk6QTON3VWcjs.DEFAULT_TABLE_TOOLBAR; exports.DEFAULT_ZIP_MAX_ENTRIES = _chunkALNIFK5Gcjs.DEFAULT_ZIP_MAX_ENTRIES; exports.DEFAULT_ZIP_MAX_TOTAL_SIZE = _chunkALNIFK5Gcjs.DEFAULT_ZIP_MAX_TOTAL_SIZE; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DOCX_ANONYMOUS_AUTHOR = _chunk4YQKRHMIcjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunk4YQKRHMIcjs.DOCX_EXPORT_MIME_TYPE; exports.DOCX_MIME_TYPES = _chunkDVLMW3GBcjs.DOCX_MIME_TYPES; exports.DataSourceBinder = _chunkQSM3MDDJcjs.DataSourceBinder; exports.DependencyGraph = _chunkQSM3MDDJcjs.DependencyGraph; exports.DirtyTracker = _chunkWWMWFSXMcjs.DirtyTracker; exports.DocumentCompare = _chunkDVLMW3GBcjs.DocumentCompare; exports.DocxExportController = _chunk4YQKRHMIcjs.DocxExportController; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkQSM3MDDJcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkDVLMW3GBcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunk6QTON3VWcjs.EMPTY_TABLE_STATE; exports.EditorController = EditorController; exports.FIELD_ALIASES = _chunkWIC7TG73cjs.FIELD_ALIASES; exports.FIND_OPTION_TOGGLES = _chunkDVLMW3GBcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunk6QTON3VWcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FORMULA_ERRORS = _chunk55AKPTLMcjs.FORMULA_ERRORS; exports.FileImport = _chunkDVLMW3GBcjs.FileImport; exports.FileImportController = FileImportController; exports.FindReplace = _chunkDVLMW3GBcjs.FindReplace; exports.FindReplaceStore = _chunkDVLMW3GBcjs.FindReplaceStore; exports.FontSize = _chunkDVLMW3GBcjs.FontSize; exports.Footnote = _chunkDVLMW3GBcjs.Footnote; exports.FootnoteReference = _chunkDVLMW3GBcjs.FootnoteReference; exports.Footnotes = _chunkDVLMW3GBcjs.Footnotes; exports.FormulaEvaluator = _chunkQZFEX2N4cjs.FormulaEvaluator; exports.FormulaLambda = _chunkQZFEX2N4cjs.FormulaLambda; exports.FormulaParser = _chunkQZFEX2N4cjs.FormulaParser; exports.GradientText = _chunkDVLMW3GBcjs.GradientText; exports.HistoryManager = _chunkFJ2MSI43cjs.HistoryManager; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.INSTRUCTION_REGEX = _chunkUWEQ55MYcjs.INSTRUCTION_REGEX; exports.Image = _chunkDVLMW3GBcjs.Image; exports.ImportAdapterRegistry = _chunkDVLMW3GBcjs.ImportAdapterRegistry; exports.ImportError = _chunkDVLMW3GBcjs.ImportError; exports.IntervalIndex = _chunkQSM3MDDJcjs.IntervalIndex; exports.LoadingNode = _chunkDVLMW3GBcjs.LoadingNode; exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkG43MNQ4Ccjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MAX_DATA_SOURCE_FIELDS = _chunkWIC7TG73cjs.MAX_DATA_SOURCE_FIELDS; exports.MAX_DATA_SOURCE_RECORDS = _chunkWIC7TG73cjs.MAX_DATA_SOURCE_RECORDS; exports.MAX_DEFINED_NAME_LENGTH = _chunkQSM3MDDJcjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FIND_PATTERN_LENGTH = _chunk6QTON3VWcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkQZFEX2N4cjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkQZFEX2N4cjs.MAX_LAMBDA_DEPTH; exports.MAX_MERGE_LENGTH = _chunkWIC7TG73cjs.MAX_MERGE_LENGTH; exports.MAX_MERGE_OUTPUTS = _chunkWIC7TG73cjs.MAX_MERGE_OUTPUTS; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunk55AKPTLMcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkQSM3MDDJcjs.MAX_SHEET_NAME_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunk6QTON3VWcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunk6QTON3VWcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunk6QTON3VWcjs.MAX_TABLE_ROWS; exports.MENTION_REGEX = _chunkJG5VGCKPcjs.MENTION_REGEX; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkDVLMW3GBcjs.Markdown; exports.Mention = _chunkDVLMW3GBcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.NUMBER_FORMAT_PRESETS = _chunkQSM3MDDJcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunk55AKPTLMcjs.NumberFormat; exports.Outline = _chunkDVLMW3GBcjs.Outline; exports.PIXERATE_DOCUMENT_MIME = _chunk3AJMR7EGcjs.PIXERATE_DOCUMENT_MIME; exports.ParagraphStyles = _chunkDVLMW3GBcjs.ParagraphStyles; exports.RichClipboard = _chunkDVLMW3GBcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkDVLMW3GBcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunk6QTON3VWcjs.SPARKLINE_KINDS; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkQSM3MDDJcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkQSM3MDDJcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkQSM3MDDJcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkQSM3MDDJcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkQSM3MDDJcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkQSM3MDDJcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkQSM3MDDJcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkQSM3MDDJcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkQSM3MDDJcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.STYLE_ID_ATTRIBUTE = _chunkDVLMW3GBcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkDVLMW3GBcjs.SlashCommands; exports.SmilieReplacer = _chunkDVLMW3GBcjs.SmilieReplacer; exports.Sparkline = _chunk6QTON3VWcjs.Sparkline; exports.SpreadsheetController = _chunkQSM3MDDJcjs.SpreadsheetController; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunk6QTON3VWcjs.TABLE_ACTIONS; exports.TEMPLATE_DEPTH_ERROR = _chunkNIBFDFYWcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunkNIBFDFYWcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkUWEQ55MYcjs.TEMPLATE_REGEX; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunk6QTON3VWcjs.Table; exports.TableCell = _chunk6QTON3VWcjs.TableCell; exports.TableHeader = _chunk6QTON3VWcjs.TableHeader; exports.TableOfContents = _chunkDVLMW3GBcjs.TableOfContents; exports.TableRow = _chunk6QTON3VWcjs.TableRow; exports.TemplateSuggestions = _chunkDVLMW3GBcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.UNSAFE_JSON_KEYS = _chunk2BSBFBOAcjs.UNSAFE_JSON_KEYS; exports.VARIABLE_REGEX = _chunkUWEQ55MYcjs.VARIABLE_REGEX; exports.WHOLE_COLUMN_END_ROW = _chunkQZFEX2N4cjs.WHOLE_COLUMN_END_ROW; exports.XmlWriter = _chunk4YQKRHMIcjs.XmlWriter; exports.ZipArchive = _chunkALNIFK5Gcjs.ZipArchive; exports.ZipError = _chunkALNIFK5Gcjs.ZipError; exports.adjustRangeForStructuralChange = _chunkQSM3MDDJcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkQSM3MDDJcjs.adjustRangesForStructuralChange; exports.agentCaretPluginKey = _chunk6QTON3VWcjs.agentCaretPluginKey; exports.aggregateValues = _chunkQZFEX2N4cjs.aggregateValues; exports.analyzePdfLayout = analyzePdfLayout; exports.applyDocumentComparison = _chunkDVLMW3GBcjs.applyDocumentComparison; exports.applyFormulaSuggestion = _chunkQSM3MDDJcjs.applyFormulaSuggestion; exports.applyImportedReviewData = _chunkDVLMW3GBcjs.applyImportedReviewData; exports.applyReplacements = _chunk6QTON3VWcjs.applyReplacements; exports.autocorrectPluginKey = _chunkDVLMW3GBcjs.autocorrectPluginKey; exports.bindDirtyToHistory = _chunkWWMWFSXMcjs.bindDirtyToHistory; exports.bindSpreadsheetTableActions = _chunkQSM3MDDJcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkQSM3MDDJcjs.blendConditionalFormatColors; exports.buildOutlineTree = _chunkDVLMW3GBcjs.buildOutlineTree; exports.buildSpreadsheetView = _chunkQSM3MDDJcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunk55AKPTLMcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunk55AKPTLMcjs.builtinNumberFormatId; exports.capitalizeSentenceRules = _chunkDVLMW3GBcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkDVLMW3GBcjs.captureSelectionFormat; exports.cellFormatForNumberFormat = _chunkQSM3MDDJcjs.cellFormatForNumberFormat; exports.chartPluginKey = _chunk6QTON3VWcjs.chartPluginKey; exports.checkFormulaArgumentCount = _chunkQZFEX2N4cjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkQSM3MDDJcjs.clampMenuPosition; exports.clearAgentCaret = _chunk6QTON3VWcjs.clearAgentCaret; exports.clearNumberFormatCache = _chunk55AKPTLMcjs.clearNumberFormatCache; exports.colNameToIndex = _chunk55AKPTLMcjs.colNameToIndex; exports.columnDependencyKey = _chunkQSM3MDDJcjs.columnDependencyKey; exports.commentsPluginKey = _chunkDVLMW3GBcjs.commentsPluginKey; exports.compactVariableValues = _chunkWIC7TG73cjs.compactVariableValues; exports.compareCellValues = _chunkQZFEX2N4cjs.compareCellValues; exports.compareConditionValues = _chunkUWEQ55MYcjs.compareConditionValues; exports.compareDocuments = _chunkHMGWFXECcjs.compareDocuments; exports.compareHtml = _chunkHMGWFXECcjs.compareHtml; exports.compareInEditor = _chunkDVLMW3GBcjs.compareInEditor; exports.compareNumbers = _chunk55AKPTLMcjs.compareNumbers; exports.compareValues = _chunk55AKPTLMcjs.compareValues; exports.compileFindPattern = _chunk6QTON3VWcjs.compileFindPattern; exports.computeFillTarget = _chunkQZFEX2N4cjs.computeFillTarget; exports.computeOutline = _chunkDVLMW3GBcjs.computeOutline; exports.computeRowGroups = _chunkQSM3MDDJcjs.computeRowGroups; exports.conditionSubject = _chunkUWEQ55MYcjs.conditionSubject; exports.conditionalFormatContrastColor = _chunkQSM3MDDJcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkQSM3MDDJcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkQSM3MDDJcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkQSM3MDDJcjs.conditionalFormatStyleString; exports.copySheetName = _chunkQSM3MDDJcjs.copySheetName; exports.createAgentCaretPlugin = _chunk6QTON3VWcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunk6QTON3VWcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createConditionalFormatRule = _chunkQSM3MDDJcjs.createConditionalFormatRule; exports.createDirtyTracker = _chunkWWMWFSXMcjs.createDirtyTracker; exports.createDocxExportController = _chunk4YQKRHMIcjs.createDocxExportController; exports.createDocxImportAdapter = _chunkDVLMW3GBcjs.createDocxImportAdapter; exports.createDocxParts = _chunk4YQKRHMIcjs.createDocxParts; exports.createEditor = createEditor; exports.createFileImportController = createFileImportController; exports.createFindReplaceCommands = _chunkDVLMW3GBcjs.createFindReplaceCommands; exports.createHistoryManager = _chunkFJ2MSI43cjs.createHistoryManager; exports.createImportAdapterRegistry = _chunkDVLMW3GBcjs.createImportAdapterRegistry; exports.createImportContext = _chunkDVLMW3GBcjs.createImportContext; exports.createMentionExtension = _chunkDVLMW3GBcjs.createMentionExtension; exports.createOutlineStore = _chunkDVLMW3GBcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkDVLMW3GBcjs.createParagraphStylesStore; exports.createPdfImportAdapter = createPdfImportAdapter; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkDVLMW3GBcjs.createRichTextPreset; exports.createSearchBudget = _chunk6QTON3VWcjs.createSearchBudget; exports.createSpreadsheetClipboardData = _chunkQSM3MDDJcjs.createSpreadsheetClipboardData; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkDVLMW3GBcjs.createTableCommands; exports.createTableExtensions = _chunk6QTON3VWcjs.createTableExtensions; exports.createTableNestingPlugin = _chunk6QTON3VWcjs.createTableNestingPlugin; exports.createTableStore = _chunk6QTON3VWcjs.createTableStore; exports.createZipImportAdapter = createZipImportAdapter; exports.crossReferencePluginKey = _chunkDVLMW3GBcjs.crossReferencePluginKey; exports.csvImportAdapter = _chunkQSM3MDDJcjs.csvImportAdapter; exports.dateValueToSerial = _chunk55AKPTLMcjs.dateValueToSerial; exports.defaultAutocorrectRules = _chunkDVLMW3GBcjs.defaultAutocorrectRules; exports.defaultIconThresholds = _chunkQSM3MDDJcjs.defaultIconThresholds; exports.defaultImportRegistry = _chunkDVLMW3GBcjs.defaultImportRegistry; exports.defaultIsEqual = _chunkWWMWFSXMcjs.defaultIsEqual; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.deleteSheetInFormula = _chunkQSM3MDDJcjs.deleteSheetInFormula; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeConditionalFormat = _chunkQSM3MDDJcjs.describeConditionalFormat; exports.describeConditionalTag = _chunkUWEQ55MYcjs.describeConditionalTag; exports.describeDataValidation = _chunkQSM3MDDJcjs.describeDataValidation; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.describeFormulaError = _chunkQZFEX2N4cjs.describeFormulaError; exports.detectDelimiter = _chunkWIC7TG73cjs.detectDelimiter; exports.diffChanges = _chunkHMGWFXECcjs.diffChanges; exports.diffSequences = _chunkHMGWFXECcjs.diffSequences; exports.documentStructureCommandItems = _chunkDVLMW3GBcjs.documentStructureCommandItems; exports.docxFileName = _chunk4YQKRHMIcjs.docxFileName; exports.docxImportAdapter = _chunkDVLMW3GBcjs.docxImportAdapter; exports.docxToDocumentImport = _chunkDVLMW3GBcjs.docxToDocumentImport; exports.downloadBlob = _chunk4YQKRHMIcjs.downloadBlob; exports.ensureAgentCaret = _chunk6QTON3VWcjs.ensureAgentCaret; exports.escapeCsvField = _chunkN3KJFGXTcjs.escapeCsvField; exports.escapeHtml = _chunkG43MNQ4Ccjs.escapeHtml; exports.escapeVariableText = _chunkUWEQ55MYcjs.escapeVariableText; exports.escapeXmlAttr = _chunk4YQKRHMIcjs.escapeXmlAttr; exports.escapeXmlText = _chunk4YQKRHMIcjs.escapeXmlText; exports.evaluateCondition = _chunkUWEQ55MYcjs.evaluateCondition; exports.evaluateConditionExpression = _chunkUWEQ55MYcjs.evaluateConditionExpression; exports.evaluateConditionalFormats = _chunkQSM3MDDJcjs.evaluateConditionalFormats; exports.evaluatePromptTokens = _chunkNIBFDFYWcjs.evaluatePromptTokens; exports.expandReplacement = _chunk6QTON3VWcjs.expandReplacement; exports.exportDocx = _chunk4YQKRHMIcjs.exportDocx; exports.exportDocxBlob = _chunk4YQKRHMIcjs.exportDocxBlob; exports.extractCellDependencies = _chunkQSM3MDDJcjs.extractCellDependencies; exports.extractInstructionNames = _chunkWIC7TG73cjs.extractInstructionNames; exports.extractMentions = _chunkG43MNQ4Ccjs.extractMentions; exports.extractMentionsFromDoc = _chunkG43MNQ4Ccjs.extractMentionsFromDoc; exports.extractNameDependencies = _chunkQSM3MDDJcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkQSM3MDDJcjs.extractReferenceDependencies; exports.extractTemplateNames = _chunkWIC7TG73cjs.extractTemplateNames; exports.extractVariableNames = _chunkWIC7TG73cjs.extractVariableNames; exports.extractVariables = _chunkWIC7TG73cjs.extractVariables; exports.fileImportPluginKey = _chunkDVLMW3GBcjs.fileImportPluginKey; exports.fillSeries = _chunkQZFEX2N4cjs.fillSeries; exports.findAllMatches = _chunk6QTON3VWcjs.findAllMatches; exports.findAutocorrection = _chunkDVLMW3GBcjs.findAutocorrection; exports.findCommentRanges = _chunkDVLMW3GBcjs.findCommentRanges; exports.findDataValidation = _chunkQSM3MDDJcjs.findDataValidation; exports.findHexColors = _chunkDVLMW3GBcjs.findHexColors; exports.findImportAdapter = _chunkDVLMW3GBcjs.findImportAdapter; exports.findInvalidCells = _chunkQSM3MDDJcjs.findInvalidCells; exports.findReplacePluginKey = _chunkDVLMW3GBcjs.findReplacePluginKey; exports.findTextMentions = _chunkJG5VGCKPcjs.findTextMentions; exports.foldCodePoint = _chunk6QTON3VWcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkDVLMW3GBcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkDVLMW3GBcjs.footnotesPluginKey; exports.forEachRangeCell = _chunkQSM3MDDJcjs.forEachRangeCell; exports.formatCellDisplay = _chunkQSM3MDDJcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkQSM3MDDJcjs.formatCellForDisplay; exports.formatComparisonOperand = _chunkUWEQ55MYcjs.formatComparisonOperand; exports.formatConditionalTag = _chunkUWEQ55MYcjs.formatConditionalTag; exports.formatFindStatus = _chunkDVLMW3GBcjs.formatFindStatus; exports.formatGeneralFit = _chunk55AKPTLMcjs.formatGeneralFit; exports.formatMentionText = _chunkJG5VGCKPcjs.formatMentionText; exports.formatNumberFormatValue = _chunk55AKPTLMcjs.formatNumberFormatValue; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.formatRuleRanges = _chunkQSM3MDDJcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkQSM3MDDJcjs.formatSheetPrefix; exports.formatTextFunction = _chunk55AKPTLMcjs.formatTextFunction; exports.formatValueWithCode = _chunkQSM3MDDJcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkQSM3MDDJcjs.formulaIdentifiers; exports.fractionRules = _chunkDVLMW3GBcjs.fractionRules; exports.fullSpreadsheetViewWindow = _chunkQSM3MDDJcjs.fullSpreadsheetViewWindow; exports.getActiveHeading = _chunkDVLMW3GBcjs.getActiveHeading; exports.getAgentCarets = _chunk6QTON3VWcjs.getAgentCarets; exports.getBookmarks = _chunkDVLMW3GBcjs.getBookmarks; exports.getClipboardData = _chunk3AJMR7EGcjs.getClipboardData; exports.getCommentAnchors = _chunkDVLMW3GBcjs.getCommentAnchors; exports.getCommentAuthor = _chunkDVLMW3GBcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkDVLMW3GBcjs.getCommentIdsAt; exports.getCommentStore = _chunkDVLMW3GBcjs.getCommentStore; exports.getConditionalFormatCss = _chunkQSM3MDDJcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkQSM3MDDJcjs.getConditionalFormatIcon; exports.getCrossReferenceTargets = _chunkDVLMW3GBcjs.getCrossReferenceTargets; exports.getDataBarCss = _chunkQSM3MDDJcjs.getDataBarCss; exports.getDocumentCharts = _chunk6QTON3VWcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkDVLMW3GBcjs.getDocumentStructureCommandItems; exports.getEditorMarkdown = _chunkG43MNQ4Ccjs.getEditorMarkdown; exports.getEditorText = _chunkG43MNQ4Ccjs.getEditorText; exports.getFillDirection = _chunkQZFEX2N4cjs.getFillDirection; exports.getFindReplaceState = _chunkDVLMW3GBcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkDVLMW3GBcjs.getFindReplaceStore; exports.getFootnotes = _chunkDVLMW3GBcjs.getFootnotes; exports.getFormulaArgumentSpecIndex = _chunkQZFEX2N4cjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkQSM3MDDJcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkQZFEX2N4cjs.getFormulaFunction; exports.getFormulaHints = _chunkQSM3MDDJcjs.getFormulaHints; exports.getFormulaSignature = _chunkQZFEX2N4cjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkQZFEX2N4cjs.getFormulaSignatureParts; exports.getImportAccept = _chunkDVLMW3GBcjs.getImportAccept; exports.getLatestVersion = _chunkNIBFDFYWcjs.getLatestVersion; exports.getMentionNodes = _chunkDVLMW3GBcjs.getMentionNodes; exports.getNameManagerRows = _chunkQSM3MDDJcjs.getNameManagerRows; exports.getOutline = _chunkDVLMW3GBcjs.getOutline; exports.getParagraphStyleAt = _chunkDVLMW3GBcjs.getParagraphStyleAt; exports.getPromptDiagnostics = _chunkNIBFDFYWcjs.getPromptDiagnostics; exports.getRowSection = _chunkQSM3MDDJcjs.getRowSection; exports.getSchemaSignature = _chunk3AJMR7EGcjs.getSchemaSignature; exports.getSheetTabMenuItems = _chunkQSM3MDDJcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkQSM3MDDJcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkQSM3MDDJcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkQSM3MDDJcjs.getSpreadsheetViewWindow; exports.getStyleRegistry = _chunkDVLMW3GBcjs.getStyleRegistry; exports.getSuppliedValue = _chunkUWEQ55MYcjs.getSuppliedValue; exports.getTableActionState = _chunk6QTON3VWcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkDVLMW3GBcjs.getTableOfContentsEntries; exports.getTableSections = _chunkQSM3MDDJcjs.getTableSections; exports.getTableState = _chunk6QTON3VWcjs.getTableState; exports.getTemplateBody = _chunkNIBFDFYWcjs.getTemplateBody; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.getValidationListValues = _chunkQSM3MDDJcjs.getValidationListValues; exports.getVariableFormFields = _chunkWIC7TG73cjs.getVariableFormFields; exports.handleImageInsertion = _chunkDVLMW3GBcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunk6QTON3VWcjs.handleTablePasteWithoutNesting; exports.htmlImportAdapter = _chunkDVLMW3GBcjs.htmlImportAdapter; exports.htmlToPlainText = _chunkG43MNQ4Ccjs.htmlToPlainText; exports.htmlToSlice = _chunkDVLMW3GBcjs.htmlToSlice; exports.imagePastePluginKey = _chunkDVLMW3GBcjs.imagePastePluginKey; exports.importFile = _chunkDVLMW3GBcjs.importFile; exports.importFileIntoSpreadsheet = _chunkQSM3MDDJcjs.importFileIntoSpreadsheet; exports.importFilesIntoEditor = _chunkDVLMW3GBcjs.importFilesIntoEditor; exports.indexToColName = _chunk55AKPTLMcjs.indexToColName; exports.insertImageNode = _chunkDVLMW3GBcjs.insertImageNode; exports.insertImportedDocument = _chunkDVLMW3GBcjs.insertImportedDocument; exports.insertSliceAfterTable = _chunk6QTON3VWcjs.insertSliceAfterTable; exports.instructionRegex = _chunkUWEQ55MYcjs.instructionRegex; exports.isBlankValue = _chunkQZFEX2N4cjs.isBlankValue; exports.isChartEnabled = _chunk6QTON3VWcjs.isChartEnabled; exports.isFormulaError = _chunk55AKPTLMcjs.isFormulaError; exports.isFormulaLambda = _chunkQZFEX2N4cjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkQSM3MDDJcjs.isGeneralNumberFormat; exports.isGfmTable = _chunk6QTON3VWcjs.isGfmTable; exports.isInTableCell = _chunk6QTON3VWcjs.isInTableCell; exports.isInsidePromptToken = _chunkDVLMW3GBcjs.isInsidePromptToken; exports.isLambdaDefinition = _chunkQSM3MDDJcjs.isLambdaDefinition; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkDVLMW3GBcjs.isParagraphStyleAvailable; exports.isPromptValueSet = _chunkUWEQ55MYcjs.isPromptValueSet; exports.isSelectionInTable = _chunk6QTON3VWcjs.isSelectionInTable; exports.isSingleCellRange = _chunkQZFEX2N4cjs.isSingleCellRange; exports.isTableEnabled = _chunk6QTON3VWcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isUnsafeJsonKey = _chunk2BSBFBOAcjs.isUnsafeJsonKey; exports.isUnsafeZipPath = _chunkALNIFK5Gcjs.isUnsafeZipPath; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.listFormulaFunctions = _chunkQZFEX2N4cjs.listFormulaFunctions; exports.mapConditionalFormatFormulas = _chunkQSM3MDDJcjs.mapConditionalFormatFormulas; exports.mapDataValidationFormulas = _chunkQSM3MDDJcjs.mapDataValidationFormulas; exports.mapFormulaReferences = _chunkQSM3MDDJcjs.mapFormulaReferences; exports.mapRawOffsetToResolved = _chunkWIC7TG73cjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunkWIC7TG73cjs.mapResolvedOffsetToRaw; exports.markAgentChanges = _chunk6QTON3VWcjs.markAgentChanges; exports.markdownImportAdapter = _chunkDVLMW3GBcjs.markdownImportAdapter; exports.markdownToTipTapHtml = _chunkG43MNQ4Ccjs.markdownToTipTapHtml; exports.matchConditionalTags = _chunkUWEQ55MYcjs.matchConditionalTags; exports.matchFields = _chunkWIC7TG73cjs.matchFields; exports.matchesFilterRule = _chunkQZFEX2N4cjs.matchesFilterRule; exports.matchesTimePeriod = _chunkQSM3MDDJcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkQSM3MDDJcjs.measureSpreadsheetView; exports.mergeRecords = _chunkWIC7TG73cjs.mergeRecords; exports.mergeRuleRanges = _chunkQSM3MDDJcjs.mergeRuleRanges; exports.navigateToHeading = _chunkDVLMW3GBcjs.navigateToHeading; exports.nextSheetName = _chunkQSM3MDDJcjs.nextSheetName; exports.normalizeFieldKey = _chunkWIC7TG73cjs.normalizeFieldKey; exports.normalizeFieldNames = _chunkWIC7TG73cjs.normalizeFieldNames; exports.normalizeRange = _chunkQZFEX2N4cjs.normalizeRange; exports.normalizeSparklineValues = _chunk6QTON3VWcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunk6QTON3VWcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunk6QTON3VWcjs.normalizeTableCellColor; exports.numberFormatColorToCss = _chunk55AKPTLMcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkQSM3MDDJcjs.numberFormatForCellFormat; exports.numberToText = _chunk55AKPTLMcjs.numberToText; exports.offsetFormulaReferences = _chunkQSM3MDDJcjs.offsetFormulaReferences; exports.outermostTableDepth = _chunk6QTON3VWcjs.outermostTableDepth; exports.outlinePluginKey = _chunkDVLMW3GBcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkDVLMW3GBcjs.paragraphStylesPluginKey; exports.parseCellInput = _chunk55AKPTLMcjs.parseCellInput; exports.parseCellReference = _chunkQZFEX2N4cjs.parseCellReference; exports.parseComparison = _chunkUWEQ55MYcjs.parseComparison; exports.parseConditionExpression = _chunkUWEQ55MYcjs.parseConditionExpression; exports.parseCriteria = _chunkQZFEX2N4cjs.parseCriteria; exports.parseCsv = _chunkN3KJFGXTcjs.parseCsv; exports.parseDataSource = _chunkWIC7TG73cjs.parseDataSource; exports.parseFormula = _chunkQZFEX2N4cjs.parseFormula; exports.parseHtmlTable = _chunkQSM3MDDJcjs.parseHtmlTable; exports.parseMentionSegments = _chunkG43MNQ4Ccjs.parseMentionSegments; exports.parseNumberText = _chunk55AKPTLMcjs.parseNumberText; exports.parseRange = _chunkQZFEX2N4cjs.parseRange; exports.parseReplacement = _chunk6QTON3VWcjs.parseReplacement; exports.parseRichClipboardPayload = _chunk3AJMR7EGcjs.parseRichClipboardPayload; exports.parseRuleRanges = _chunkQSM3MDDJcjs.parseRuleRanges; exports.parseSpreadsheetPlaybackRef = _chunkQZFEX2N4cjs.parseSpreadsheetPlaybackRef; exports.parseTsv = _chunkN3KJFGXTcjs.parseTsv; exports.parseVariableBody = _chunkUWEQ55MYcjs.parseVariableBody; exports.pdfLayoutBlocksToHtml = pdfLayoutBlocksToHtml; exports.pdfOperatorListToRules = pdfOperatorListToRules; exports.pdfTextItemsToParagraphs = pdfTextItemsToParagraphs; exports.pdfTextItemsToRuns = pdfTextItemsToRuns; exports.pickImportFiles = pickImportFiles; exports.plainTextImportAdapter = _chunkDVLMW3GBcjs.plainTextImportAdapter; exports.plainTextToParagraphHtml = _chunk3AJMR7EGcjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkG43MNQ4Ccjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkG43MNQ4Ccjs.plainTextToTipTapHtml; exports.planSpreadsheetToolPlayback = _chunkQZFEX2N4cjs.planSpreadsheetToolPlayback; exports.preprocessMarkdownFileLinks = _chunkG43MNQ4Ccjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkG43MNQ4Ccjs.preprocessMarkdownMentions; exports.quoteSheetName = _chunkQSM3MDDJcjs.quoteSheetName; exports.rangeContains = _chunkQZFEX2N4cjs.rangeContains; exports.rangeContainsRange = _chunkQZFEX2N4cjs.rangeContainsRange; exports.rangeDependencyKey = _chunkQSM3MDDJcjs.rangeDependencyKey; exports.rangesContain = _chunkQSM3MDDJcjs.rangesContain; exports.rangesIntersect = _chunkQZFEX2N4cjs.rangesIntersect; exports.readRichClipboard = _chunk3AJMR7EGcjs.readRichClipboard; exports.readSpreadsheetClipboard = _chunkQSM3MDDJcjs.readSpreadsheetClipboard; exports.readZip = _chunkALNIFK5Gcjs.readZip; exports.reanchorRuleFormula = _chunkQSM3MDDJcjs.reanchorRuleFormula; exports.rebaseClipboardRows = _chunkQSM3MDDJcjs.rebaseClipboardRows; exports.recordToValues = _chunkWIC7TG73cjs.recordToValues; exports.registerFormulaFunction = _chunkQZFEX2N4cjs.registerFormulaFunction; exports.registerImportAdapter = _chunkDVLMW3GBcjs.registerImportAdapter; exports.registerSpreadsheetImportAdapters = _chunkQSM3MDDJcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkQSM3MDDJcjs.remapFormulaReferences; exports.removeImageNode = _chunkDVLMW3GBcjs.removeImageNode; exports.renameNameInFormula = _chunkQSM3MDDJcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkQSM3MDDJcjs.renameSheetInFormula; exports.replaceWithTextTransaction = _chunk6QTON3VWcjs.replaceWithTextTransaction; exports.resolvePrompt = _chunkNIBFDFYWcjs.resolvePrompt; exports.resolveTemplates = _chunkWIC7TG73cjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunkWIC7TG73cjs.resolveTemplatesWithMapping; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.resolveVariables = _chunkWIC7TG73cjs.resolveVariables; exports.richClipboardPluginKey = _chunkDVLMW3GBcjs.richClipboardPluginKey; exports.roundFloat = _chunkQZFEX2N4cjs.roundFloat; exports.rowPassesFilters = _chunkQSM3MDDJcjs.rowPassesFilters; exports.rtfImportAdapter = _chunkDVLMW3GBcjs.rtfImportAdapter; exports.rtfToPlainText = _chunk3AJMR7EGcjs.rtfToPlainText; exports.ruleAnchor = _chunkQSM3MDDJcjs.ruleAnchor; exports.ruleFormulaAt = _chunkQSM3MDDJcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkQSM3MDDJcjs.runSpreadsheetMenuItem; exports.runTableAction = _chunk6QTON3VWcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.sameSpreadsheetViewWindow = _chunkQSM3MDDJcjs.sameSpreadsheetViewWindow; exports.sanitizeHtml = _chunkG43MNQ4Ccjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunk3AJMR7EGcjs.sanitizeImportedHtml; exports.searchDocument = _chunk6QTON3VWcjs.searchDocument; exports.searchFormulaFunctions = _chunkQZFEX2N4cjs.searchFormulaFunctions; exports.serialFromYmd = _chunk55AKPTLMcjs.serialFromYmd; exports.serializeCsv = _chunkN3KJFGXTcjs.serializeCsv; exports.serializeHtmlTable = _chunkQSM3MDDJcjs.serializeHtmlTable; exports.serializeMergeOutputs = _chunkWIC7TG73cjs.serializeMergeOutputs; exports.serializeRichClipboardPayload = _chunk3AJMR7EGcjs.serializeRichClipboardPayload; exports.serializeTsv = _chunkN3KJFGXTcjs.serializeTsv; exports.setAgentCaret = _chunk6QTON3VWcjs.setAgentCaret; exports.setMentionRoleAt = _chunkDVLMW3GBcjs.setMentionRoleAt; exports.setMentionRoleInText = _chunkJG5VGCKPcjs.setMentionRoleInText; exports.sheetDropIndex = _chunkQSM3MDDJcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkQSM3MDDJcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkQSM3MDDJcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkQSM3MDDJcjs.shiftRuleFormula; exports.shouldShowTableBubbleMenu = _chunk6QTON3VWcjs.shouldShowTableBubbleMenu; exports.shouldVirtualizeSpreadsheet = _chunkQSM3MDDJcjs.shouldVirtualizeSpreadsheet; exports.sliceContainsTable = _chunk6QTON3VWcjs.sliceContainsTable; exports.smartQuoteRules = _chunkDVLMW3GBcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkDVLMW3GBcjs.smilieAutocorrectRules; exports.sortCompareValues = _chunk55AKPTLMcjs.sortCompareValues; exports.sortRuleRanges = _chunkQSM3MDDJcjs.sortRuleRanges; exports.sortRules = _chunkQSM3MDDJcjs.sortRules; exports.sortZipEntryNames = sortZipEntryNames; exports.sparklineLabel = _chunk6QTON3VWcjs.sparklineLabel; exports.splitMarkdownMentionParts = _chunkG43MNQ4Ccjs.splitMarkdownMentionParts; exports.staticChartSvg = _chunk6QTON3VWcjs.staticChartSvg; exports.stripInvalidXmlChars = _chunk4YQKRHMIcjs.stripInvalidXmlChars; exports.stripMarkdownCode = _chunkG43MNQ4Ccjs.stripMarkdownCode; exports.stripPrototypeKeys = _chunk2BSBFBOAcjs.stripPrototypeKeys; exports.subtractRange = _chunkQSM3MDDJcjs.subtractRange; exports.subtractRangeFromRanges = _chunkQSM3MDDJcjs.subtractRangeFromRanges; exports.summarizeImportStructure = summarizeImportStructure; exports.symbolRules = _chunkDVLMW3GBcjs.symbolRules; exports.syncFootnotes = _chunkDVLMW3GBcjs.syncFootnotes; exports.tableNestingPluginKey = _chunk6QTON3VWcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkDVLMW3GBcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkDVLMW3GBcjs.tableOfContentsPluginKey; exports.templateRegex = _chunkUWEQ55MYcjs.templateRegex; exports.toNumber = _chunkQZFEX2N4cjs.toNumber; exports.tokenizeFormula = _chunkQZFEX2N4cjs.tokenizeFormula; exports.tokenizePrompt = _chunkNIBFDFYWcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunkNIBFDFYWcjs.tokenizePromptWithDiagnostics; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.transposeFormulaReferences = _chunkQSM3MDDJcjs.transposeFormulaReferences; exports.transposeRuleFormula = _chunkQSM3MDDJcjs.transposeRuleFormula; exports.transposeRuleRanges = _chunkQSM3MDDJcjs.transposeRuleRanges; exports.transposeRules = _chunkQSM3MDDJcjs.transposeRules; exports.tsvImportAdapter = _chunkQSM3MDDJcjs.tsvImportAdapter; exports.twoInitialCapitalsRules = _chunkDVLMW3GBcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunk6QTON3VWcjs.typeAgentText; exports.unescapeVariableText = _chunkUWEQ55MYcjs.unescapeVariableText; exports.unnestTables = _chunk6QTON3VWcjs.unnestTables; exports.unregisterFormulaFunction = _chunkQZFEX2N4cjs.unregisterFormulaFunction; exports.unregisterImportAdapter = _chunkDVLMW3GBcjs.unregisterImportAdapter; exports.updateImageSrc = _chunkDVLMW3GBcjs.updateImageSrc; exports.validateCellInput = _chunkQSM3MDDJcjs.validateCellInput; exports.validateDefinedName = _chunkQSM3MDDJcjs.validateDefinedName; exports.validateFindPattern = _chunkDVLMW3GBcjs.validateFindPattern; exports.validateSheetName = _chunkQSM3MDDJcjs.validateSheetName; exports.variableRegex = _chunkUWEQ55MYcjs.variableRegex; exports.wildcardToRegExp = _chunkQZFEX2N4cjs.wildcardToRegExp; exports.withoutDirty = _chunkWWMWFSXMcjs.withoutDirty; exports.writeRichClipboard = _chunkDVLMW3GBcjs.writeRichClipboard; exports.writeZip = _chunkJLWLX52Lcjs.writeZip; exports.zipCrc32 = _chunkALNIFK5Gcjs.zipCrc32; exports.zipEntryTitle = zipEntryTitle; exports.zipImportAdapter = zipImportAdapter;
2826
+ exports.ALLOW_NESTED_TABLES_META = _chunkRZJCYJWOcjs.ALLOW_NESTED_TABLES_META; exports.AgentCaret = _chunkRZJCYJWOcjs.AgentCaret; exports.Autocorrect = _chunkR3PECGTQcjs.Autocorrect; exports.BLOCK_CHANGE_ATTRIBUTE = _chunk34RQAGWIcjs.BLOCK_CHANGE_ATTRIBUTE; exports.BUILT_IN_IMPORT_ADAPTERS = _chunkR3PECGTQcjs.BUILT_IN_IMPORT_ADAPTERS; exports.Bookmark = _chunkR3PECGTQcjs.Bookmark; exports.CHARACTER_STYLE_MARK_NAME = _chunkR3PECGTQcjs.CHARACTER_STYLE_MARK_NAME; exports.COMMENT_MARK_NAME = _chunkR3PECGTQcjs.COMMENT_MARK_NAME; exports.CONDITIONAL_FORMAT_ICON_SETS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_ICON_SETS; exports.CONDITIONAL_FORMAT_PRESETS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_PRESETS; exports.CONDITIONAL_FORMAT_STYLE_PRESETS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_STYLE_PRESETS; exports.CONDITIONAL_FORMAT_TIME_PERIODS = _chunkQSM3MDDJcjs.CONDITIONAL_FORMAT_TIME_PERIODS; exports.CharacterStyle = _chunkR3PECGTQcjs.CharacterStyle; exports.Chart = _chunkRZJCYJWOcjs.Chart; exports.ChartNodeView = _chunkRZJCYJWOcjs.ChartNodeView; exports.ColorHighlighter = _chunkR3PECGTQcjs.ColorHighlighter; exports.CommentStore = _chunk34RQAGWIcjs.CommentStore; exports.Comments = _chunkR3PECGTQcjs.Comments; exports.ConditionalFormatEngine = _chunkQSM3MDDJcjs.ConditionalFormatEngine; exports.CrossReference = _chunkR3PECGTQcjs.CrossReference; exports.DATA_VALIDATION_ERROR_STYLE_OPTIONS = _chunkQSM3MDDJcjs.DATA_VALIDATION_ERROR_STYLE_OPTIONS; exports.DATA_VALIDATION_OPERATOR_OPTIONS = _chunkQSM3MDDJcjs.DATA_VALIDATION_OPERATOR_OPTIONS; exports.DATA_VALIDATION_TYPE_OPTIONS = _chunkQSM3MDDJcjs.DATA_VALIDATION_TYPE_OPTIONS; exports.DEFAULT_AGENT_CARET_COLOR = _chunkRZJCYJWOcjs.DEFAULT_AGENT_CARET_COLOR; exports.DEFAULT_AGENT_CARET_NAME = _chunkRZJCYJWOcjs.DEFAULT_AGENT_CARET_NAME; exports.DEFAULT_AUTOCORRECT_EXCEPTIONS = _chunkR3PECGTQcjs.DEFAULT_AUTOCORRECT_EXCEPTIONS; exports.DEFAULT_COLUMN_WIDTH = _chunkQSM3MDDJcjs.DEFAULT_COLUMN_WIDTH; exports.DEFAULT_CONDITIONAL_FORMAT_STYLE = _chunkQSM3MDDJcjs.DEFAULT_CONDITIONAL_FORMAT_STYLE; exports.DEFAULT_DATA_VALIDATION_MESSAGE = _chunkQSM3MDDJcjs.DEFAULT_DATA_VALIDATION_MESSAGE; exports.DEFAULT_DATA_VALIDATION_TITLE = _chunkQSM3MDDJcjs.DEFAULT_DATA_VALIDATION_TITLE; exports.DEFAULT_DOCX_MAX_IMAGE_SIZE = _chunkR3PECGTQcjs.DEFAULT_DOCX_MAX_IMAGE_SIZE; exports.DEFAULT_ROW_HEIGHT = _chunkQSM3MDDJcjs.DEFAULT_ROW_HEIGHT; exports.DEFAULT_STYLES = _chunkYN6JKAUEcjs.DEFAULT_STYLES; exports.DEFAULT_TABLE_OPTIONS = _chunkRZJCYJWOcjs.DEFAULT_TABLE_OPTIONS; exports.DEFAULT_TABLE_TOOLBAR = _chunkRZJCYJWOcjs.DEFAULT_TABLE_TOOLBAR; exports.DEFAULT_ZIP_MAX_ENTRIES = _chunkALNIFK5Gcjs.DEFAULT_ZIP_MAX_ENTRIES; exports.DEFAULT_ZIP_MAX_TOTAL_SIZE = _chunkALNIFK5Gcjs.DEFAULT_ZIP_MAX_TOTAL_SIZE; exports.DELETION_MARK_NAME = _chunk34RQAGWIcjs.DELETION_MARK_NAME; exports.DOCX_ANONYMOUS_AUTHOR = _chunk4YQKRHMIcjs.DOCX_ANONYMOUS_AUTHOR; exports.DOCX_EXPORT_MIME_TYPE = _chunk4YQKRHMIcjs.DOCX_EXPORT_MIME_TYPE; exports.DOCX_MIME_TYPES = _chunkR3PECGTQcjs.DOCX_MIME_TYPES; exports.DataSourceBinder = _chunkQSM3MDDJcjs.DataSourceBinder; exports.DependencyGraph = _chunkQSM3MDDJcjs.DependencyGraph; exports.DirtyTracker = _chunkWWMWFSXMcjs.DirtyTracker; exports.DocumentCompare = _chunkR3PECGTQcjs.DocumentCompare; exports.DocxExportController = _chunk4YQKRHMIcjs.DocxExportController; exports.EMPTY_CONDITIONAL_FORMAT_OVERLAY = _chunkQSM3MDDJcjs.EMPTY_CONDITIONAL_FORMAT_OVERLAY; exports.EMPTY_FIND_REPLACE_SNAPSHOT = _chunkR3PECGTQcjs.EMPTY_FIND_REPLACE_SNAPSHOT; exports.EMPTY_TABLE_STATE = _chunkRZJCYJWOcjs.EMPTY_TABLE_STATE; exports.EditorController = EditorController; exports.FIELD_ALIASES = _chunkWIC7TG73cjs.FIELD_ALIASES; exports.FIND_OPTION_TOGGLES = _chunkR3PECGTQcjs.FIND_OPTION_TOGGLES; exports.FIND_PARAGRAPH_MARK = _chunkRZJCYJWOcjs.FIND_PARAGRAPH_MARK; exports.FORMAT_CHANGE_MARK_NAME = _chunk34RQAGWIcjs.FORMAT_CHANGE_MARK_NAME; exports.FORMULA_ERRORS = _chunk55AKPTLMcjs.FORMULA_ERRORS; exports.FileImport = _chunkR3PECGTQcjs.FileImport; exports.FileImportController = FileImportController; exports.FindReplace = _chunkR3PECGTQcjs.FindReplace; exports.FindReplaceStore = _chunkR3PECGTQcjs.FindReplaceStore; exports.FontSize = _chunkR3PECGTQcjs.FontSize; exports.Footnote = _chunkR3PECGTQcjs.Footnote; exports.FootnoteReference = _chunkR3PECGTQcjs.FootnoteReference; exports.Footnotes = _chunkR3PECGTQcjs.Footnotes; exports.FormulaEvaluator = _chunkQZFEX2N4cjs.FormulaEvaluator; exports.FormulaLambda = _chunkQZFEX2N4cjs.FormulaLambda; exports.FormulaParser = _chunkQZFEX2N4cjs.FormulaParser; exports.GradientText = _chunkR3PECGTQcjs.GradientText; exports.HistoryManager = _chunkFJ2MSI43cjs.HistoryManager; exports.INSERTION_MARK_NAME = _chunk34RQAGWIcjs.INSERTION_MARK_NAME; exports.INSTRUCTION_REGEX = _chunkUWEQ55MYcjs.INSTRUCTION_REGEX; exports.Image = _chunkR3PECGTQcjs.Image; exports.ImportAdapterRegistry = _chunkR3PECGTQcjs.ImportAdapterRegistry; exports.ImportError = _chunkR3PECGTQcjs.ImportError; exports.IntervalIndex = _chunkQSM3MDDJcjs.IntervalIndex; exports.LoadingNode = _chunkR3PECGTQcjs.LoadingNode; exports.MARKDOWN_MENTION_SPLIT_REGEX = _chunkG43MNQ4Ccjs.MARKDOWN_MENTION_SPLIT_REGEX; exports.MAX_DATA_SOURCE_FIELDS = _chunkWIC7TG73cjs.MAX_DATA_SOURCE_FIELDS; exports.MAX_DATA_SOURCE_RECORDS = _chunkWIC7TG73cjs.MAX_DATA_SOURCE_RECORDS; exports.MAX_DEFINED_NAME_LENGTH = _chunkQSM3MDDJcjs.MAX_DEFINED_NAME_LENGTH; exports.MAX_FIND_PATTERN_LENGTH = _chunkRZJCYJWOcjs.MAX_FIND_PATTERN_LENGTH; exports.MAX_FORMULA_ARRAY_SIZE = _chunkQZFEX2N4cjs.MAX_FORMULA_ARRAY_SIZE; exports.MAX_LAMBDA_DEPTH = _chunkQZFEX2N4cjs.MAX_LAMBDA_DEPTH; exports.MAX_MERGE_LENGTH = _chunkWIC7TG73cjs.MAX_MERGE_LENGTH; exports.MAX_MERGE_OUTPUTS = _chunkWIC7TG73cjs.MAX_MERGE_OUTPUTS; exports.MAX_NUMBER_FORMAT_CODE_CHARS = _chunk55AKPTLMcjs.MAX_NUMBER_FORMAT_CODE_CHARS; exports.MAX_SHEET_NAME_LENGTH = _chunkQSM3MDDJcjs.MAX_SHEET_NAME_LENGTH; exports.MAX_SPARKLINE_VALUES = _chunkRZJCYJWOcjs.MAX_SPARKLINE_VALUES; exports.MAX_TABLE_COLUMNS = _chunkRZJCYJWOcjs.MAX_TABLE_COLUMNS; exports.MAX_TABLE_ROWS = _chunkRZJCYJWOcjs.MAX_TABLE_ROWS; exports.MENTION_REGEX = _chunkJG5VGCKPcjs.MENTION_REGEX; exports.MOVE_FROM_CLASS = _chunk34RQAGWIcjs.MOVE_FROM_CLASS; exports.MOVE_ID_ATTRIBUTE = _chunk34RQAGWIcjs.MOVE_ID_ATTRIBUTE; exports.MOVE_TO_CLASS = _chunk34RQAGWIcjs.MOVE_TO_CLASS; exports.Markdown = _chunkR3PECGTQcjs.Markdown; exports.Mention = _chunkR3PECGTQcjs.Mention; exports.NORMAL_STYLE_ID = _chunkYN6JKAUEcjs.NORMAL_STYLE_ID; exports.NUMBER_FORMAT_PRESETS = _chunkQSM3MDDJcjs.NUMBER_FORMAT_PRESETS; exports.NumberFormat = _chunk55AKPTLMcjs.NumberFormat; exports.Outline = _chunkR3PECGTQcjs.Outline; exports.PIXERATE_DOCUMENT_MIME = _chunk3AJMR7EGcjs.PIXERATE_DOCUMENT_MIME; exports.ParagraphStyles = _chunkR3PECGTQcjs.ParagraphStyles; exports.RichClipboard = _chunkR3PECGTQcjs.RichClipboard; exports.SMILIE_REPLACEMENTS = _chunkR3PECGTQcjs.SMILIE_REPLACEMENTS; exports.SPARKLINE_KINDS = _chunkRZJCYJWOcjs.SPARKLINE_KINDS; exports.SPREADSHEET_CLIPBOARD_MIME = _chunkQSM3MDDJcjs.SPREADSHEET_CLIPBOARD_MIME; exports.SPREADSHEET_COLUMN_HEADER_HEIGHT = _chunkQSM3MDDJcjs.SPREADSHEET_COLUMN_HEADER_HEIGHT; exports.SPREADSHEET_DEFAULT_VIEWPORT = _chunkQSM3MDDJcjs.SPREADSHEET_DEFAULT_VIEWPORT; exports.SPREADSHEET_GROUP_ROW_HEIGHT = _chunkQSM3MDDJcjs.SPREADSHEET_GROUP_ROW_HEIGHT; exports.SPREADSHEET_IMPORT_ADAPTERS = _chunkQSM3MDDJcjs.SPREADSHEET_IMPORT_ADAPTERS; exports.SPREADSHEET_ROW_HEADER_WIDTH = _chunkQSM3MDDJcjs.SPREADSHEET_ROW_HEADER_WIDTH; exports.SPREADSHEET_TABLE_ACTIONS = _chunkQSM3MDDJcjs.SPREADSHEET_TABLE_ACTIONS; exports.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD = _chunkQSM3MDDJcjs.SPREADSHEET_VIRTUAL_COLUMN_THRESHOLD; exports.SPREADSHEET_VIRTUAL_ROW_THRESHOLD = _chunkQSM3MDDJcjs.SPREADSHEET_VIRTUAL_ROW_THRESHOLD; exports.STYLE_ID_ATTRIBUTE = _chunkR3PECGTQcjs.STYLE_ID_ATTRIBUTE; exports.SlashCommands = _chunkR3PECGTQcjs.SlashCommands; exports.SmilieReplacer = _chunkR3PECGTQcjs.SmilieReplacer; exports.Sparkline = _chunkRZJCYJWOcjs.Sparkline; exports.SpreadsheetController = _chunkQSM3MDDJcjs.SpreadsheetController; exports.StyleRegistry = _chunkYN6JKAUEcjs.StyleRegistry; exports.TABLE_ACTIONS = _chunkRZJCYJWOcjs.TABLE_ACTIONS; exports.TEMPLATE_DEPTH_ERROR = _chunkNIBFDFYWcjs.TEMPLATE_DEPTH_ERROR; exports.TEMPLATE_LOOP_ERROR = _chunkNIBFDFYWcjs.TEMPLATE_LOOP_ERROR; exports.TEMPLATE_REGEX = _chunkUWEQ55MYcjs.TEMPLATE_REGEX; exports.TRACK_CHANGES_SKIP_META = _chunk34RQAGWIcjs.TRACK_CHANGES_SKIP_META; exports.Table = _chunkRZJCYJWOcjs.Table; exports.TableCell = _chunkRZJCYJWOcjs.TableCell; exports.TableHeader = _chunkRZJCYJWOcjs.TableHeader; exports.TableOfContents = _chunkR3PECGTQcjs.TableOfContents; exports.TableRow = _chunkRZJCYJWOcjs.TableRow; exports.TemplateSuggestions = _chunkR3PECGTQcjs.TemplateSuggestions; exports.TrackChanges = _chunk34RQAGWIcjs.TrackChanges; exports.TrackChangesStore = _chunk34RQAGWIcjs.TrackChangesStore; exports.TrackedDeletion = _chunk34RQAGWIcjs.TrackedDeletion; exports.TrackedFormatChange = _chunk34RQAGWIcjs.TrackedFormatChange; exports.TrackedInsertion = _chunk34RQAGWIcjs.TrackedInsertion; exports.UNSAFE_JSON_KEYS = _chunk2BSBFBOAcjs.UNSAFE_JSON_KEYS; exports.VARIABLE_REGEX = _chunkUWEQ55MYcjs.VARIABLE_REGEX; exports.WHOLE_COLUMN_END_ROW = _chunkQZFEX2N4cjs.WHOLE_COLUMN_END_ROW; exports.XmlWriter = _chunk4YQKRHMIcjs.XmlWriter; exports.ZipArchive = _chunkALNIFK5Gcjs.ZipArchive; exports.ZipError = _chunkALNIFK5Gcjs.ZipError; exports.adjustRangeForStructuralChange = _chunkQSM3MDDJcjs.adjustRangeForStructuralChange; exports.adjustRangesForStructuralChange = _chunkQSM3MDDJcjs.adjustRangesForStructuralChange; exports.agentCaretPluginKey = _chunkRZJCYJWOcjs.agentCaretPluginKey; exports.aggregateValues = _chunkQZFEX2N4cjs.aggregateValues; exports.analyzePdfLayout = analyzePdfLayout; exports.applyDocumentComparison = _chunkR3PECGTQcjs.applyDocumentComparison; exports.applyFormulaSuggestion = _chunkQSM3MDDJcjs.applyFormulaSuggestion; exports.applyImportedReviewData = _chunkR3PECGTQcjs.applyImportedReviewData; exports.applyReplacements = _chunkRZJCYJWOcjs.applyReplacements; exports.autocorrectPluginKey = _chunkR3PECGTQcjs.autocorrectPluginKey; exports.bindDirtyToHistory = _chunkWWMWFSXMcjs.bindDirtyToHistory; exports.bindSpreadsheetTableActions = _chunkQSM3MDDJcjs.bindSpreadsheetTableActions; exports.blendConditionalFormatColors = _chunkQSM3MDDJcjs.blendConditionalFormatColors; exports.buildOutlineTree = _chunkR3PECGTQcjs.buildOutlineTree; exports.buildSpreadsheetView = _chunkQSM3MDDJcjs.buildSpreadsheetView; exports.builtinNumberFormat = _chunk55AKPTLMcjs.builtinNumberFormat; exports.builtinNumberFormatId = _chunk55AKPTLMcjs.builtinNumberFormatId; exports.capitalizeSentenceRules = _chunkR3PECGTQcjs.capitalizeSentenceRules; exports.captureSelectionFormat = _chunkR3PECGTQcjs.captureSelectionFormat; exports.cellFormatForNumberFormat = _chunkQSM3MDDJcjs.cellFormatForNumberFormat; exports.chartPluginKey = _chunkRZJCYJWOcjs.chartPluginKey; exports.checkFormulaArgumentCount = _chunkQZFEX2N4cjs.checkFormulaArgumentCount; exports.clampMenuPosition = _chunkQSM3MDDJcjs.clampMenuPosition; exports.clearAgentCaret = _chunkRZJCYJWOcjs.clearAgentCaret; exports.clearNumberFormatCache = _chunk55AKPTLMcjs.clearNumberFormatCache; exports.colNameToIndex = _chunk55AKPTLMcjs.colNameToIndex; exports.columnDependencyKey = _chunkQSM3MDDJcjs.columnDependencyKey; exports.commentsPluginKey = _chunkR3PECGTQcjs.commentsPluginKey; exports.compactVariableValues = _chunkWIC7TG73cjs.compactVariableValues; exports.compareCellValues = _chunkQZFEX2N4cjs.compareCellValues; exports.compareConditionValues = _chunkUWEQ55MYcjs.compareConditionValues; exports.compareDocuments = _chunkHMGWFXECcjs.compareDocuments; exports.compareHtml = _chunkHMGWFXECcjs.compareHtml; exports.compareInEditor = _chunkR3PECGTQcjs.compareInEditor; exports.compareNumbers = _chunk55AKPTLMcjs.compareNumbers; exports.compareValues = _chunk55AKPTLMcjs.compareValues; exports.compileFindPattern = _chunkRZJCYJWOcjs.compileFindPattern; exports.computeFillTarget = _chunkQZFEX2N4cjs.computeFillTarget; exports.computeOutline = _chunkR3PECGTQcjs.computeOutline; exports.computeRowGroups = _chunkQSM3MDDJcjs.computeRowGroups; exports.conditionSubject = _chunkUWEQ55MYcjs.conditionSubject; exports.conditionalFormatContrastColor = _chunkQSM3MDDJcjs.conditionalFormatContrastColor; exports.conditionalFormatIconCount = _chunkQSM3MDDJcjs.conditionalFormatIconCount; exports.conditionalFormatNumber = _chunkQSM3MDDJcjs.conditionalFormatNumber; exports.conditionalFormatStyleString = _chunkQSM3MDDJcjs.conditionalFormatStyleString; exports.copySheetName = _chunkQSM3MDDJcjs.copySheetName; exports.createAgentCaretPlugin = _chunkRZJCYJWOcjs.createAgentCaretPlugin; exports.createChartNodeView = _chunkRZJCYJWOcjs.createChartNodeView; exports.createCommentStore = _chunk34RQAGWIcjs.createCommentStore; exports.createConditionalFormatRule = _chunkQSM3MDDJcjs.createConditionalFormatRule; exports.createDirtyTracker = _chunkWWMWFSXMcjs.createDirtyTracker; exports.createDocxExportController = _chunk4YQKRHMIcjs.createDocxExportController; exports.createDocxImportAdapter = _chunkR3PECGTQcjs.createDocxImportAdapter; exports.createDocxParts = _chunk4YQKRHMIcjs.createDocxParts; exports.createEditor = createEditor; exports.createFileImportController = createFileImportController; exports.createFindReplaceCommands = _chunkR3PECGTQcjs.createFindReplaceCommands; exports.createHistoryManager = _chunkFJ2MSI43cjs.createHistoryManager; exports.createImportAdapterRegistry = _chunkR3PECGTQcjs.createImportAdapterRegistry; exports.createImportContext = _chunkR3PECGTQcjs.createImportContext; exports.createMentionExtension = _chunkR3PECGTQcjs.createMentionExtension; exports.createOutlineStore = _chunkR3PECGTQcjs.createOutlineStore; exports.createParagraphStylesStore = _chunkR3PECGTQcjs.createParagraphStylesStore; exports.createPdfImportAdapter = createPdfImportAdapter; exports.createReviewId = _chunk34RQAGWIcjs.createReviewId; exports.createRichTextPreset = _chunkR3PECGTQcjs.createRichTextPreset; exports.createSearchBudget = _chunkRZJCYJWOcjs.createSearchBudget; exports.createSpreadsheetClipboardData = _chunkQSM3MDDJcjs.createSpreadsheetClipboardData; exports.createStyleRegistry = _chunkYN6JKAUEcjs.createStyleRegistry; exports.createTableCommands = _chunkR3PECGTQcjs.createTableCommands; exports.createTableExtensions = _chunkRZJCYJWOcjs.createTableExtensions; exports.createTableNestingPlugin = _chunkRZJCYJWOcjs.createTableNestingPlugin; exports.createTableStore = _chunkRZJCYJWOcjs.createTableStore; exports.createZipImportAdapter = createZipImportAdapter; exports.crossReferencePluginKey = _chunkR3PECGTQcjs.crossReferencePluginKey; exports.csvImportAdapter = _chunkQSM3MDDJcjs.csvImportAdapter; exports.dateValueToSerial = _chunk55AKPTLMcjs.dateValueToSerial; exports.defaultAutocorrectRules = _chunkR3PECGTQcjs.defaultAutocorrectRules; exports.defaultIconThresholds = _chunkQSM3MDDJcjs.defaultIconThresholds; exports.defaultImportRegistry = _chunkR3PECGTQcjs.defaultImportRegistry; exports.defaultIsEqual = _chunkWWMWFSXMcjs.defaultIsEqual; exports.deflateRaw = _chunkJLWLX52Lcjs.deflateRaw; exports.deleteSheetInFormula = _chunkQSM3MDDJcjs.deleteSheetInFormula; exports.describeBlockChange = _chunk34RQAGWIcjs.describeBlockChange; exports.describeConditionalFormat = _chunkQSM3MDDJcjs.describeConditionalFormat; exports.describeConditionalTag = _chunkUWEQ55MYcjs.describeConditionalTag; exports.describeDataValidation = _chunkQSM3MDDJcjs.describeDataValidation; exports.describeFormatChange = _chunk34RQAGWIcjs.describeFormatChange; exports.describeFormulaError = _chunkQZFEX2N4cjs.describeFormulaError; exports.detectDelimiter = _chunkWIC7TG73cjs.detectDelimiter; exports.diffChanges = _chunkHMGWFXECcjs.diffChanges; exports.diffSequences = _chunkHMGWFXECcjs.diffSequences; exports.documentStructureCommandItems = _chunkR3PECGTQcjs.documentStructureCommandItems; exports.docxFileName = _chunk4YQKRHMIcjs.docxFileName; exports.docxImportAdapter = _chunkR3PECGTQcjs.docxImportAdapter; exports.docxToDocumentImport = _chunkR3PECGTQcjs.docxToDocumentImport; exports.downloadBlob = _chunk4YQKRHMIcjs.downloadBlob; exports.ensureAgentCaret = _chunkRZJCYJWOcjs.ensureAgentCaret; exports.escapeCsvField = _chunkN3KJFGXTcjs.escapeCsvField; exports.escapeHtml = _chunkG43MNQ4Ccjs.escapeHtml; exports.escapeVariableText = _chunkUWEQ55MYcjs.escapeVariableText; exports.escapeXmlAttr = _chunk4YQKRHMIcjs.escapeXmlAttr; exports.escapeXmlText = _chunk4YQKRHMIcjs.escapeXmlText; exports.evaluateCondition = _chunkUWEQ55MYcjs.evaluateCondition; exports.evaluateConditionExpression = _chunkUWEQ55MYcjs.evaluateConditionExpression; exports.evaluateConditionalFormats = _chunkQSM3MDDJcjs.evaluateConditionalFormats; exports.evaluatePromptTokens = _chunkNIBFDFYWcjs.evaluatePromptTokens; exports.expandReplacement = _chunkRZJCYJWOcjs.expandReplacement; exports.exportDocx = _chunk4YQKRHMIcjs.exportDocx; exports.exportDocxBlob = _chunk4YQKRHMIcjs.exportDocxBlob; exports.extractCellDependencies = _chunkQSM3MDDJcjs.extractCellDependencies; exports.extractInstructionNames = _chunkWIC7TG73cjs.extractInstructionNames; exports.extractMentions = _chunkG43MNQ4Ccjs.extractMentions; exports.extractMentionsFromDoc = _chunkG43MNQ4Ccjs.extractMentionsFromDoc; exports.extractNameDependencies = _chunkQSM3MDDJcjs.extractNameDependencies; exports.extractReferenceDependencies = _chunkQSM3MDDJcjs.extractReferenceDependencies; exports.extractTemplateNames = _chunkWIC7TG73cjs.extractTemplateNames; exports.extractVariableNames = _chunkWIC7TG73cjs.extractVariableNames; exports.extractVariables = _chunkWIC7TG73cjs.extractVariables; exports.fileImportPluginKey = _chunkR3PECGTQcjs.fileImportPluginKey; exports.fillSeries = _chunkQZFEX2N4cjs.fillSeries; exports.findAllMatches = _chunkRZJCYJWOcjs.findAllMatches; exports.findAutocorrection = _chunkR3PECGTQcjs.findAutocorrection; exports.findCommentRanges = _chunkR3PECGTQcjs.findCommentRanges; exports.findDataValidation = _chunkQSM3MDDJcjs.findDataValidation; exports.findHexColors = _chunkR3PECGTQcjs.findHexColors; exports.findImportAdapter = _chunkR3PECGTQcjs.findImportAdapter; exports.findInvalidCells = _chunkQSM3MDDJcjs.findInvalidCells; exports.findReplacePluginKey = _chunkR3PECGTQcjs.findReplacePluginKey; exports.findTextMentions = _chunkJG5VGCKPcjs.findTextMentions; exports.foldCodePoint = _chunkRZJCYJWOcjs.foldCodePoint; exports.footnotesMarkdownIt = _chunkR3PECGTQcjs.footnotesMarkdownIt; exports.footnotesPluginKey = _chunkR3PECGTQcjs.footnotesPluginKey; exports.forEachRangeCell = _chunkQSM3MDDJcjs.forEachRangeCell; exports.formatCellDisplay = _chunkQSM3MDDJcjs.formatCellDisplay; exports.formatCellForDisplay = _chunkQSM3MDDJcjs.formatCellForDisplay; exports.formatComparisonOperand = _chunkUWEQ55MYcjs.formatComparisonOperand; exports.formatConditionalTag = _chunkUWEQ55MYcjs.formatConditionalTag; exports.formatFindStatus = _chunkR3PECGTQcjs.formatFindStatus; exports.formatGeneralFit = _chunk55AKPTLMcjs.formatGeneralFit; exports.formatMentionText = _chunkJG5VGCKPcjs.formatMentionText; exports.formatNumberFormatValue = _chunk55AKPTLMcjs.formatNumberFormatValue; exports.formatReviewTime = _chunk34RQAGWIcjs.formatReviewTime; exports.formatRuleRanges = _chunkQSM3MDDJcjs.formatRuleRanges; exports.formatSheetPrefix = _chunkQSM3MDDJcjs.formatSheetPrefix; exports.formatTextFunction = _chunk55AKPTLMcjs.formatTextFunction; exports.formatValueWithCode = _chunkQSM3MDDJcjs.formatValueWithCode; exports.formulaIdentifiers = _chunkQSM3MDDJcjs.formulaIdentifiers; exports.fractionRules = _chunkR3PECGTQcjs.fractionRules; exports.fullSpreadsheetViewWindow = _chunkQSM3MDDJcjs.fullSpreadsheetViewWindow; exports.getActiveHeading = _chunkR3PECGTQcjs.getActiveHeading; exports.getAgentCarets = _chunkRZJCYJWOcjs.getAgentCarets; exports.getBookmarks = _chunkR3PECGTQcjs.getBookmarks; exports.getClipboardData = _chunk3AJMR7EGcjs.getClipboardData; exports.getCommentAnchors = _chunkR3PECGTQcjs.getCommentAnchors; exports.getCommentAuthor = _chunkR3PECGTQcjs.getCommentAuthor; exports.getCommentIdsAt = _chunkR3PECGTQcjs.getCommentIdsAt; exports.getCommentStore = _chunkR3PECGTQcjs.getCommentStore; exports.getConditionalFormatCss = _chunkQSM3MDDJcjs.getConditionalFormatCss; exports.getConditionalFormatIcon = _chunkQSM3MDDJcjs.getConditionalFormatIcon; exports.getCrossReferenceTargets = _chunkR3PECGTQcjs.getCrossReferenceTargets; exports.getDataBarCss = _chunkQSM3MDDJcjs.getDataBarCss; exports.getDocumentCharts = _chunkRZJCYJWOcjs.getDocumentCharts; exports.getDocumentStructureCommandItems = _chunkR3PECGTQcjs.getDocumentStructureCommandItems; exports.getEditorMarkdown = _chunkG43MNQ4Ccjs.getEditorMarkdown; exports.getEditorText = _chunkG43MNQ4Ccjs.getEditorText; exports.getFillDirection = _chunkQZFEX2N4cjs.getFillDirection; exports.getFindReplaceState = _chunkR3PECGTQcjs.getFindReplaceState; exports.getFindReplaceStore = _chunkR3PECGTQcjs.getFindReplaceStore; exports.getFootnotes = _chunkR3PECGTQcjs.getFootnotes; exports.getFormulaArgumentSpecIndex = _chunkQZFEX2N4cjs.getFormulaArgumentSpecIndex; exports.getFormulaCaretContext = _chunkQSM3MDDJcjs.getFormulaCaretContext; exports.getFormulaFunction = _chunkQZFEX2N4cjs.getFormulaFunction; exports.getFormulaHints = _chunkQSM3MDDJcjs.getFormulaHints; exports.getFormulaSignature = _chunkQZFEX2N4cjs.getFormulaSignature; exports.getFormulaSignatureParts = _chunkQZFEX2N4cjs.getFormulaSignatureParts; exports.getImportAccept = _chunkR3PECGTQcjs.getImportAccept; exports.getLatestVersion = _chunkNIBFDFYWcjs.getLatestVersion; exports.getMentionNodes = _chunkR3PECGTQcjs.getMentionNodes; exports.getNameManagerRows = _chunkQSM3MDDJcjs.getNameManagerRows; exports.getOutline = _chunkR3PECGTQcjs.getOutline; exports.getParagraphStyleAt = _chunkR3PECGTQcjs.getParagraphStyleAt; exports.getPromptDiagnostics = _chunkNIBFDFYWcjs.getPromptDiagnostics; exports.getRowSection = _chunkQSM3MDDJcjs.getRowSection; exports.getSchemaSignature = _chunk3AJMR7EGcjs.getSchemaSignature; exports.getSheetTabMenuItems = _chunkQSM3MDDJcjs.getSheetTabMenuItems; exports.getSpreadsheetMenuItems = _chunkQSM3MDDJcjs.getSpreadsheetMenuItems; exports.getSpreadsheetScrollToCell = _chunkQSM3MDDJcjs.getSpreadsheetScrollToCell; exports.getSpreadsheetViewWindow = _chunkQSM3MDDJcjs.getSpreadsheetViewWindow; exports.getStyleRegistry = _chunkR3PECGTQcjs.getStyleRegistry; exports.getSuppliedValue = _chunkUWEQ55MYcjs.getSuppliedValue; exports.getTableActionState = _chunkRZJCYJWOcjs.getTableActionState; exports.getTableOfContentsEntries = _chunkR3PECGTQcjs.getTableOfContentsEntries; exports.getTableSections = _chunkQSM3MDDJcjs.getTableSections; exports.getTableState = _chunkRZJCYJWOcjs.getTableState; exports.getTemplateBody = _chunkNIBFDFYWcjs.getTemplateBody; exports.getTrackChangesStore = _chunk34RQAGWIcjs.getTrackChangesStore; exports.getTrackedChangeAt = _chunk34RQAGWIcjs.getTrackedChangeAt; exports.getTrackedChanges = _chunk34RQAGWIcjs.getTrackedChanges; exports.getValidationListValues = _chunkQSM3MDDJcjs.getValidationListValues; exports.getVariableFormFields = _chunkWIC7TG73cjs.getVariableFormFields; exports.handleImageInsertion = _chunkR3PECGTQcjs.handleImageInsertion; exports.handleTablePasteWithoutNesting = _chunkRZJCYJWOcjs.handleTablePasteWithoutNesting; exports.htmlImportAdapter = _chunkR3PECGTQcjs.htmlImportAdapter; exports.htmlToPlainText = _chunkG43MNQ4Ccjs.htmlToPlainText; exports.htmlToSlice = _chunkR3PECGTQcjs.htmlToSlice; exports.imagePastePluginKey = _chunkR3PECGTQcjs.imagePastePluginKey; exports.importFile = _chunkR3PECGTQcjs.importFile; exports.importFileIntoSpreadsheet = _chunkQSM3MDDJcjs.importFileIntoSpreadsheet; exports.importFilesIntoEditor = _chunkR3PECGTQcjs.importFilesIntoEditor; exports.indexToColName = _chunk55AKPTLMcjs.indexToColName; exports.insertImageNode = _chunkR3PECGTQcjs.insertImageNode; exports.insertImportedDocument = _chunkR3PECGTQcjs.insertImportedDocument; exports.insertSliceAfterTable = _chunkRZJCYJWOcjs.insertSliceAfterTable; exports.instructionRegex = _chunkUWEQ55MYcjs.instructionRegex; exports.isBlankValue = _chunkQZFEX2N4cjs.isBlankValue; exports.isChartEnabled = _chunkRZJCYJWOcjs.isChartEnabled; exports.isFormulaError = _chunk55AKPTLMcjs.isFormulaError; exports.isFormulaLambda = _chunkQZFEX2N4cjs.isFormulaLambda; exports.isGeneralNumberFormat = _chunkQSM3MDDJcjs.isGeneralNumberFormat; exports.isGfmTable = _chunkRZJCYJWOcjs.isGfmTable; exports.isInTableCell = _chunkRZJCYJWOcjs.isInTableCell; exports.isInsidePromptToken = _chunkR3PECGTQcjs.isInsidePromptToken; exports.isLambdaDefinition = _chunkQSM3MDDJcjs.isLambdaDefinition; exports.isMoveSized = _chunk34RQAGWIcjs.isMoveSized; exports.isParagraphStyleAvailable = _chunkR3PECGTQcjs.isParagraphStyleAvailable; exports.isPromptValueSet = _chunkUWEQ55MYcjs.isPromptValueSet; exports.isSelectionInTable = _chunkRZJCYJWOcjs.isSelectionInTable; exports.isSingleCellRange = _chunkQZFEX2N4cjs.isSingleCellRange; exports.isTableEnabled = _chunkRZJCYJWOcjs.isTableEnabled; exports.isTrackChangesEnabled = _chunk34RQAGWIcjs.isTrackChangesEnabled; exports.isUnsafeJsonKey = _chunk2BSBFBOAcjs.isUnsafeJsonKey; exports.isUnsafeZipPath = _chunkALNIFK5Gcjs.isUnsafeZipPath; exports.isValidStyleId = _chunkYN6JKAUEcjs.isValidStyleId; exports.listFormulaFunctions = _chunkQZFEX2N4cjs.listFormulaFunctions; exports.mapConditionalFormatFormulas = _chunkQSM3MDDJcjs.mapConditionalFormatFormulas; exports.mapDataValidationFormulas = _chunkQSM3MDDJcjs.mapDataValidationFormulas; exports.mapFormulaReferences = _chunkQSM3MDDJcjs.mapFormulaReferences; exports.mapRawOffsetToResolved = _chunkWIC7TG73cjs.mapRawOffsetToResolved; exports.mapResolvedOffsetToRaw = _chunkWIC7TG73cjs.mapResolvedOffsetToRaw; exports.markAgentChanges = _chunkRZJCYJWOcjs.markAgentChanges; exports.markdownImportAdapter = _chunkR3PECGTQcjs.markdownImportAdapter; exports.markdownToTipTapHtml = _chunkG43MNQ4Ccjs.markdownToTipTapHtml; exports.matchConditionalTags = _chunkUWEQ55MYcjs.matchConditionalTags; exports.matchFields = _chunkWIC7TG73cjs.matchFields; exports.matchesFilterRule = _chunkQZFEX2N4cjs.matchesFilterRule; exports.matchesTimePeriod = _chunkQSM3MDDJcjs.matchesTimePeriod; exports.measureSpreadsheetView = _chunkQSM3MDDJcjs.measureSpreadsheetView; exports.mergeRecords = _chunkWIC7TG73cjs.mergeRecords; exports.mergeRuleRanges = _chunkQSM3MDDJcjs.mergeRuleRanges; exports.navigateToHeading = _chunkR3PECGTQcjs.navigateToHeading; exports.nextSheetName = _chunkQSM3MDDJcjs.nextSheetName; exports.normalizeFieldKey = _chunkWIC7TG73cjs.normalizeFieldKey; exports.normalizeFieldNames = _chunkWIC7TG73cjs.normalizeFieldNames; exports.normalizeRange = _chunkQZFEX2N4cjs.normalizeRange; exports.normalizeSparklineValues = _chunkRZJCYJWOcjs.normalizeSparklineValues; exports.normalizeTableCellAlignment = _chunkRZJCYJWOcjs.normalizeTableCellAlignment; exports.normalizeTableCellColor = _chunkRZJCYJWOcjs.normalizeTableCellColor; exports.numberFormatColorToCss = _chunk55AKPTLMcjs.numberFormatColorToCss; exports.numberFormatForCellFormat = _chunkQSM3MDDJcjs.numberFormatForCellFormat; exports.numberToText = _chunk55AKPTLMcjs.numberToText; exports.offsetFormulaReferences = _chunkQSM3MDDJcjs.offsetFormulaReferences; exports.outermostTableDepth = _chunkRZJCYJWOcjs.outermostTableDepth; exports.outlinePluginKey = _chunkR3PECGTQcjs.outlinePluginKey; exports.paragraphStylesPluginKey = _chunkR3PECGTQcjs.paragraphStylesPluginKey; exports.parseCellInput = _chunk55AKPTLMcjs.parseCellInput; exports.parseCellReference = _chunkQZFEX2N4cjs.parseCellReference; exports.parseComparison = _chunkUWEQ55MYcjs.parseComparison; exports.parseConditionExpression = _chunkUWEQ55MYcjs.parseConditionExpression; exports.parseCriteria = _chunkQZFEX2N4cjs.parseCriteria; exports.parseCsv = _chunkN3KJFGXTcjs.parseCsv; exports.parseDataSource = _chunkWIC7TG73cjs.parseDataSource; exports.parseFormula = _chunkQZFEX2N4cjs.parseFormula; exports.parseHtmlTable = _chunkQSM3MDDJcjs.parseHtmlTable; exports.parseMentionSegments = _chunkG43MNQ4Ccjs.parseMentionSegments; exports.parseNumberText = _chunk55AKPTLMcjs.parseNumberText; exports.parseRange = _chunkQZFEX2N4cjs.parseRange; exports.parseReplacement = _chunkRZJCYJWOcjs.parseReplacement; exports.parseRichClipboardPayload = _chunk3AJMR7EGcjs.parseRichClipboardPayload; exports.parseRuleRanges = _chunkQSM3MDDJcjs.parseRuleRanges; exports.parseSpreadsheetPlaybackRef = _chunkQZFEX2N4cjs.parseSpreadsheetPlaybackRef; exports.parseTsv = _chunkN3KJFGXTcjs.parseTsv; exports.parseVariableBody = _chunkUWEQ55MYcjs.parseVariableBody; exports.pdfLayoutBlocksToHtml = pdfLayoutBlocksToHtml; exports.pdfOperatorListToRules = pdfOperatorListToRules; exports.pdfTextItemsToParagraphs = pdfTextItemsToParagraphs; exports.pdfTextItemsToRuns = pdfTextItemsToRuns; exports.pickImportFiles = pickImportFiles; exports.plainTextImportAdapter = _chunkR3PECGTQcjs.plainTextImportAdapter; exports.plainTextToParagraphHtml = _chunk3AJMR7EGcjs.plainTextToParagraphHtml; exports.plainTextToSlice = _chunkG43MNQ4Ccjs.plainTextToSlice; exports.plainTextToTipTapHtml = _chunkG43MNQ4Ccjs.plainTextToTipTapHtml; exports.planSpreadsheetToolPlayback = _chunkQZFEX2N4cjs.planSpreadsheetToolPlayback; exports.preprocessMarkdownFileLinks = _chunkG43MNQ4Ccjs.preprocessMarkdownFileLinks; exports.preprocessMarkdownMentions = _chunkG43MNQ4Ccjs.preprocessMarkdownMentions; exports.quoteSheetName = _chunkQSM3MDDJcjs.quoteSheetName; exports.rangeContains = _chunkQZFEX2N4cjs.rangeContains; exports.rangeContainsRange = _chunkQZFEX2N4cjs.rangeContainsRange; exports.rangeDependencyKey = _chunkQSM3MDDJcjs.rangeDependencyKey; exports.rangesContain = _chunkQSM3MDDJcjs.rangesContain; exports.rangesIntersect = _chunkQZFEX2N4cjs.rangesIntersect; exports.readRichClipboard = _chunk3AJMR7EGcjs.readRichClipboard; exports.readSpreadsheetClipboard = _chunkQSM3MDDJcjs.readSpreadsheetClipboard; exports.readZip = _chunkALNIFK5Gcjs.readZip; exports.reanchorRuleFormula = _chunkQSM3MDDJcjs.reanchorRuleFormula; exports.rebaseClipboardRows = _chunkQSM3MDDJcjs.rebaseClipboardRows; exports.recordToValues = _chunkWIC7TG73cjs.recordToValues; exports.registerFormulaFunction = _chunkQZFEX2N4cjs.registerFormulaFunction; exports.registerImportAdapter = _chunkR3PECGTQcjs.registerImportAdapter; exports.registerSpreadsheetImportAdapters = _chunkQSM3MDDJcjs.registerSpreadsheetImportAdapters; exports.remapFormulaReferences = _chunkQSM3MDDJcjs.remapFormulaReferences; exports.removeImageNode = _chunkR3PECGTQcjs.removeImageNode; exports.renameNameInFormula = _chunkQSM3MDDJcjs.renameNameInFormula; exports.renameSheetInFormula = _chunkQSM3MDDJcjs.renameSheetInFormula; exports.replaceWithTextTransaction = _chunkRZJCYJWOcjs.replaceWithTextTransaction; exports.resolvePrompt = _chunkNIBFDFYWcjs.resolvePrompt; exports.resolveTemplates = _chunkWIC7TG73cjs.resolveTemplates; exports.resolveTemplatesWithMapping = _chunkWIC7TG73cjs.resolveTemplatesWithMapping; exports.resolveTrackedChanges = _chunk34RQAGWIcjs.resolveTrackedChanges; exports.resolveVariables = _chunkWIC7TG73cjs.resolveVariables; exports.richClipboardPluginKey = _chunkR3PECGTQcjs.richClipboardPluginKey; exports.roundFloat = _chunkQZFEX2N4cjs.roundFloat; exports.rowPassesFilters = _chunkQSM3MDDJcjs.rowPassesFilters; exports.rtfImportAdapter = _chunkR3PECGTQcjs.rtfImportAdapter; exports.rtfToPlainText = _chunk3AJMR7EGcjs.rtfToPlainText; exports.ruleAnchor = _chunkQSM3MDDJcjs.ruleAnchor; exports.ruleFormulaAt = _chunkQSM3MDDJcjs.ruleFormulaAt; exports.runSpreadsheetMenuItem = _chunkQSM3MDDJcjs.runSpreadsheetMenuItem; exports.runTableAction = _chunkRZJCYJWOcjs.runTableAction; exports.safeCSSValue = _chunkYN6JKAUEcjs.safeCSSValue; exports.safeMergeAttributes = _chunk34RQAGWIcjs.safeMergeAttributes; exports.sameSpreadsheetViewWindow = _chunkQSM3MDDJcjs.sameSpreadsheetViewWindow; exports.sanitizeHtml = _chunkG43MNQ4Ccjs.sanitizeHtml; exports.sanitizeImportedHtml = _chunk3AJMR7EGcjs.sanitizeImportedHtml; exports.searchDocument = _chunkRZJCYJWOcjs.searchDocument; exports.searchFormulaFunctions = _chunkQZFEX2N4cjs.searchFormulaFunctions; exports.serialFromYmd = _chunk55AKPTLMcjs.serialFromYmd; exports.serializeCsv = _chunkN3KJFGXTcjs.serializeCsv; exports.serializeHtmlTable = _chunkQSM3MDDJcjs.serializeHtmlTable; exports.serializeMergeOutputs = _chunkWIC7TG73cjs.serializeMergeOutputs; exports.serializeRichClipboardPayload = _chunk3AJMR7EGcjs.serializeRichClipboardPayload; exports.serializeTsv = _chunkN3KJFGXTcjs.serializeTsv; exports.setAgentCaret = _chunkRZJCYJWOcjs.setAgentCaret; exports.setMentionRoleAt = _chunkR3PECGTQcjs.setMentionRoleAt; exports.setMentionRoleInText = _chunkJG5VGCKPcjs.setMentionRoleInText; exports.sheetDropIndex = _chunkQSM3MDDJcjs.sheetDropIndex; exports.sheetNameNeedsQuotes = _chunkQSM3MDDJcjs.sheetNameNeedsQuotes; exports.shiftFormulaReferences = _chunkQSM3MDDJcjs.shiftFormulaReferences; exports.shiftRuleFormula = _chunkQSM3MDDJcjs.shiftRuleFormula; exports.shouldShowTableBubbleMenu = _chunkRZJCYJWOcjs.shouldShowTableBubbleMenu; exports.shouldVirtualizeSpreadsheet = _chunkQSM3MDDJcjs.shouldVirtualizeSpreadsheet; exports.sliceContainsTable = _chunkRZJCYJWOcjs.sliceContainsTable; exports.smartQuoteRules = _chunkR3PECGTQcjs.smartQuoteRules; exports.smilieAutocorrectRules = _chunkR3PECGTQcjs.smilieAutocorrectRules; exports.sortCompareValues = _chunk55AKPTLMcjs.sortCompareValues; exports.sortRuleRanges = _chunkQSM3MDDJcjs.sortRuleRanges; exports.sortRules = _chunkQSM3MDDJcjs.sortRules; exports.sortZipEntryNames = sortZipEntryNames; exports.sparklineLabel = _chunkRZJCYJWOcjs.sparklineLabel; exports.splitMarkdownMentionParts = _chunkG43MNQ4Ccjs.splitMarkdownMentionParts; exports.staticChartSvg = _chunkRZJCYJWOcjs.staticChartSvg; exports.stripInvalidXmlChars = _chunk4YQKRHMIcjs.stripInvalidXmlChars; exports.stripMarkdownCode = _chunkG43MNQ4Ccjs.stripMarkdownCode; exports.stripPrototypeKeys = _chunk2BSBFBOAcjs.stripPrototypeKeys; exports.subtractRange = _chunkQSM3MDDJcjs.subtractRange; exports.subtractRangeFromRanges = _chunkQSM3MDDJcjs.subtractRangeFromRanges; exports.summarizeImportStructure = summarizeImportStructure; exports.symbolRules = _chunkR3PECGTQcjs.symbolRules; exports.syncFootnotes = _chunkR3PECGTQcjs.syncFootnotes; exports.tableNestingPluginKey = _chunkRZJCYJWOcjs.tableNestingPluginKey; exports.tableOfContentsMarkdownIt = _chunkR3PECGTQcjs.tableOfContentsMarkdownIt; exports.tableOfContentsPluginKey = _chunkR3PECGTQcjs.tableOfContentsPluginKey; exports.templateRegex = _chunkUWEQ55MYcjs.templateRegex; exports.toNumber = _chunkQZFEX2N4cjs.toNumber; exports.tokenizeFormula = _chunkQZFEX2N4cjs.tokenizeFormula; exports.tokenizePrompt = _chunkNIBFDFYWcjs.tokenizePrompt; exports.tokenizePromptWithDiagnostics = _chunkNIBFDFYWcjs.tokenizePromptWithDiagnostics; exports.trackChangesPluginKey = _chunk34RQAGWIcjs.trackChangesPluginKey; exports.trackedChangeLabel = _chunk34RQAGWIcjs.trackedChangeLabel; exports.transposeFormulaReferences = _chunkQSM3MDDJcjs.transposeFormulaReferences; exports.transposeRuleFormula = _chunkQSM3MDDJcjs.transposeRuleFormula; exports.transposeRuleRanges = _chunkQSM3MDDJcjs.transposeRuleRanges; exports.transposeRules = _chunkQSM3MDDJcjs.transposeRules; exports.tsvImportAdapter = _chunkQSM3MDDJcjs.tsvImportAdapter; exports.twoInitialCapitalsRules = _chunkR3PECGTQcjs.twoInitialCapitalsRules; exports.typeAgentText = _chunkRZJCYJWOcjs.typeAgentText; exports.unescapeVariableText = _chunkUWEQ55MYcjs.unescapeVariableText; exports.unnestTables = _chunkRZJCYJWOcjs.unnestTables; exports.unregisterFormulaFunction = _chunkQZFEX2N4cjs.unregisterFormulaFunction; exports.unregisterImportAdapter = _chunkR3PECGTQcjs.unregisterImportAdapter; exports.updateImageSrc = _chunkR3PECGTQcjs.updateImageSrc; exports.validateCellInput = _chunkQSM3MDDJcjs.validateCellInput; exports.validateDefinedName = _chunkQSM3MDDJcjs.validateDefinedName; exports.validateFindPattern = _chunkR3PECGTQcjs.validateFindPattern; exports.validateSheetName = _chunkQSM3MDDJcjs.validateSheetName; exports.variableRegex = _chunkUWEQ55MYcjs.variableRegex; exports.wildcardToRegExp = _chunkQZFEX2N4cjs.wildcardToRegExp; exports.withoutDirty = _chunkWWMWFSXMcjs.withoutDirty; exports.writeRichClipboard = _chunkR3PECGTQcjs.writeRichClipboard; exports.writeZip = _chunkJLWLX52Lcjs.writeZip; exports.zipCrc32 = _chunkALNIFK5Gcjs.zipCrc32; exports.zipEntryTitle = zipEntryTitle; exports.zipImportAdapter = zipImportAdapter;
package/dist/index.js CHANGED
@@ -165,7 +165,7 @@ import {
165
165
  updateImageSrc,
166
166
  validateFindPattern,
167
167
  writeRichClipboard
168
- } from "./chunk-2AQL4JHM.js";
168
+ } from "./chunk-R6HNWN7B.js";
169
169
  import {
170
170
  DEFAULT_STYLES,
171
171
  NORMAL_STYLE_ID,
@@ -246,8 +246,8 @@ import {
246
246
  tableNestingPluginKey,
247
247
  typeAgentText,
248
248
  unnestTables
249
- } from "./chunk-O5ML2I6O.js";
250
- import "./chunk-OET45HIR.js";
249
+ } from "./chunk-SVINJIGK.js";
250
+ import "./chunk-4RF2H3N3.js";
251
251
  import "./chunk-DSZCDNTM.js";
252
252
  import "./chunk-SUVZJ2CP.js";
253
253
  import "./chunk-6T4BV5B4.js";
@@ -316,11 +316,6 @@ import {
316
316
  trackChangesPluginKey,
317
317
  trackedChangeLabel
318
318
  } from "./chunk-6IN474P4.js";
319
- import {
320
- UNSAFE_JSON_KEYS,
321
- isUnsafeJsonKey,
322
- stripPrototypeKeys
323
- } from "./chunk-HF5QZS7Z.js";
324
319
  import {
325
320
  CONDITIONAL_FORMAT_ICON_SETS,
326
321
  CONDITIONAL_FORMAT_PRESETS,
@@ -570,6 +565,11 @@ import {
570
565
  unescapeVariableText,
571
566
  variableRegex
572
567
  } from "./chunk-VDGBHYC7.js";
568
+ import {
569
+ UNSAFE_JSON_KEYS,
570
+ isUnsafeJsonKey,
571
+ stripPrototypeKeys
572
+ } from "./chunk-HF5QZS7Z.js";
573
573
  import {
574
574
  HistoryManager,
575
575
  createHistoryManager
@@ -7,7 +7,7 @@ var _chunkVKF3PWKRcjs = require('../chunk-VKF3PWKR.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkQCEQIRJQcjs = require('../chunk-QCEQIRJQ.cjs');
10
+ var _chunkPI45JMP7cjs = require('../chunk-PI45JMP7.cjs');
11
11
  require('../chunk-A2IS7EHE.cjs');
12
12
 
13
13
 
@@ -1634,11 +1634,11 @@ function header(state, options) {
1634
1634
  return out;
1635
1635
  }
1636
1636
  function serializePaintDocument(state, options = {}) {
1637
- const { layers, assets } = _chunkQCEQIRJQcjs.serializeLayers.call(void 0, state.layers);
1637
+ const { layers, assets } = _chunkPI45JMP7cjs.serializeLayers.call(void 0, state.layers);
1638
1638
  return { ...header(state, options), layers, assets };
1639
1639
  }
1640
1640
  async function serializePaintDocumentExternal(state, store, options = {}) {
1641
- const { layers, assets } = await _chunkQCEQIRJQcjs.serializeLayersExternal.call(void 0, state.layers, store);
1641
+ const { layers, assets } = await _chunkPI45JMP7cjs.serializeLayersExternal.call(void 0, state.layers, store);
1642
1642
  return { ...header(state, options), layers, assets };
1643
1643
  }
1644
1644
  function paintLayersOnly(layers, problems) {
@@ -1675,7 +1675,7 @@ function deserializePaintDocument(raw) {
1675
1675
  const canvas = normalizeCanvas({ width: r.width, height: r.height, dpi: _nullishCoalesce(r.dpi, () => ( void 0)) });
1676
1676
  const paper = _chunkBXMIBMVGcjs.normalizePaper.call(void 0, _nullishCoalesce(r.paper, () => ( {})));
1677
1677
  const assets = r.assets && typeof r.assets === "object" ? r.assets : {};
1678
- const layers = paintLayersOnly(_chunkQCEQIRJQcjs.deserializeLayers.call(void 0, r.layers, { assets, problems }), problems);
1678
+ const layers = paintLayersOnly(_chunkPI45JMP7cjs.deserializeLayers.call(void 0, r.layers, { assets, problems }), problems);
1679
1679
  const wanted = typeof r.activeLayerId === "string" ? r.activeLayerId : null;
1680
1680
  const activeLayerId = wanted && _chunkHGTDMKNEcjs.findLayer.call(void 0, layers, wanted) ? wanted : _nullishCoalesce(_optionalChain([_chunkHGTDMKNEcjs.flattenLayers.call(void 0, layers), 'access', _70 => _70.filter, 'call', _71 => _71((l) => l.type === "pixel"), 'access', _72 => _72.pop, 'call', _73 => _73(), 'optionalAccess', _74 => _74.id]), () => ( null));
1681
1681
  const wetEvents = Array.isArray(r.wetEvents) ? r.wetEvents.filter((e) => e && typeof e === "object" && Number.isInteger(e.clock) && typeof e.kind === "string") : [];
@@ -1689,7 +1689,7 @@ async function deserializePaintDocumentAsync(raw, store) {
1689
1689
  if (!raw || typeof raw !== "object") throw new Error("Not a paint document: expected a JSON object.");
1690
1690
  const r = raw;
1691
1691
  const problems = [];
1692
- const assets = await _chunkQCEQIRJQcjs.resolveExternalAssets.call(void 0, _nullishCoalesce(r.assets, () => ( {})), store, problems);
1692
+ const assets = await _chunkPI45JMP7cjs.resolveExternalAssets.call(void 0, _nullishCoalesce(r.assets, () => ( {})), store, problems);
1693
1693
  const loaded = deserializePaintDocument({ ...r, assets });
1694
1694
  return { ...loaded, problems: [...problems, ...loaded.problems] };
1695
1695
  }
@@ -5301,7 +5301,7 @@ var PaintEditorController = (_class10 = class _PaintEditorController {
5301
5301
  return next.type === "group" ? { ...next, children: toStandard(next.children) } : next;
5302
5302
  });
5303
5303
  const layers = toStandard(dried);
5304
- const result = _chunkQCEQIRJQcjs.exportPsd.call(void 0, { width, height, layers: [paperLayer, ...layers], merged, resolution: dpi });
5304
+ const result = _chunkPI45JMP7cjs.exportPsd.call(void 0, { width, height, layers: [paperLayer, ...layers], merged, resolution: dpi });
5305
5305
  for (const [mode, names] of changed) {
5306
5306
  const label = _nullishCoalesce(_optionalChain([_chunkCWM3CUUXcjs.BLEND_MODES, 'access', _268 => _268.find, 'call', _269 => _269((m) => m.id === mode), 'optionalAccess', _270 => _270.label]), () => ( mode));
5307
5307
  const std = _nullishCoalesce(_optionalChain([_chunkCWM3CUUXcjs.BLEND_MODES, 'access', _271 => _271.find, 'call', _272 => _272((m) => m.id === _chunkCWM3CUUXcjs.standardBlendMode.call(void 0, mode)), 'optionalAccess', _273 => _273.label]), () => ( _chunkCWM3CUUXcjs.standardBlendMode.call(void 0, mode)));
@@ -7,7 +7,7 @@ import {
7
7
  resolveExternalAssets,
8
8
  serializeLayers,
9
9
  serializeLayersExternal
10
- } from "../chunk-ZQUANEK4.js";
10
+ } from "../chunk-Y64YPIFT.js";
11
11
  import "../chunk-3CI7FRMK.js";
12
12
  import {
13
13
  EffectRendererPool
@@ -225,6 +225,12 @@ export declare class ParametersController {
225
225
  load(snapshot: ParametersSnapshot, options?: {
226
226
  clearHistory?: boolean;
227
227
  }): void;
228
+ /**
229
+ * Replaces every value (missing ones take their defaults) and, when given, the user presets,
230
+ * as one undo step. All-or-nothing: if any id is unknown or any value invalid, nothing
231
+ * changes and every error is returned.
232
+ */
233
+ replace(snapshot: ParametersSnapshot, options?: SetParameterOptions): ParameterSetValuesResult;
228
234
  undo(): boolean;
229
235
  redo(): boolean;
230
236
  /** Stops listening to the history and keyframes adapter. */
@@ -225,6 +225,12 @@ export declare class ParametersController {
225
225
  load(snapshot: ParametersSnapshot, options?: {
226
226
  clearHistory?: boolean;
227
227
  }): void;
228
+ /**
229
+ * Replaces every value (missing ones take their defaults) and, when given, the user presets,
230
+ * as one undo step. All-or-nothing: if any id is unknown or any value invalid, nothing
231
+ * changes and every error is returned.
232
+ */
233
+ replace(snapshot: ParametersSnapshot, options?: SetParameterOptions): ParameterSetValuesResult;
228
234
  undo(): boolean;
229
235
  redo(): boolean;
230
236
  /** Stops listening to the history and keyframes adapter. */
@@ -0,0 +1,9 @@
1
+ import { type EditorDocument } from '../persistence/editorDocument.cjs';
2
+ import type { ParametersController, ParametersSnapshot } from './controller.cjs';
3
+ /**
4
+ * The save / load / undo contract for a `ParametersController` (kind `parameters`, document:
5
+ * `{ values, presets }` from `toJSON`). A recorded load (agents) is one undo step and refuses
6
+ * unknown ids or invalid values; opening a file (`history: "reset"`) uses defaults for invalid
7
+ * values and reports them in the `LoadReport`.
8
+ */
9
+ export declare function createParametersEditorDocument(controller: ParametersController): EditorDocument<ParametersSnapshot>;
@@ -0,0 +1,9 @@
1
+ import { type EditorDocument } from '../persistence/editorDocument.js';
2
+ import type { ParametersController, ParametersSnapshot } from './controller.js';
3
+ /**
4
+ * The save / load / undo contract for a `ParametersController` (kind `parameters`, document:
5
+ * `{ values, presets }` from `toJSON`). A recorded load (agents) is one undo step and refuses
6
+ * unknown ids or invalid values; opening a file (`history: "reset"`) uses defaults for invalid
7
+ * values and reports them in the `LoadReport`.
8
+ */
9
+ export declare function createParametersEditorDocument(controller: ParametersController): EditorDocument<ParametersSnapshot>;
@@ -1,5 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
+ var _chunk5H2C3QSFcjs = require('../chunk-5H2C3QSF.cjs');
4
+ require('../chunk-L5OWG2NA.cjs');
5
+ require('../chunk-2BSBFBOA.cjs');
6
+
7
+
3
8
  var _chunkFJ2MSI43cjs = require('../chunk-FJ2MSI43.cjs');
4
9
 
5
10
 
@@ -948,6 +953,35 @@ var ParametersController = (_class = class {
948
953
  }
949
954
  this.notify(changed);
950
955
  }
956
+ /**
957
+ * Replaces every value (missing ones take their defaults) and, when given, the user presets,
958
+ * as one undo step. All-or-nothing: if any id is unknown or any value invalid, nothing
959
+ * changes and every error is returned.
960
+ */
961
+ replace(snapshot, options = {}) {
962
+ const errors = [];
963
+ const coerced = {};
964
+ for (const [id, raw] of Object.entries(_nullishCoalesce(snapshot.values, () => ( {})))) {
965
+ if (raw === void 0) continue;
966
+ const field = this.fieldMap.get(id);
967
+ if (!field) {
968
+ errors.push({ id, path: `/${id}`, message: unknownMessage(id, this.fields) });
969
+ continue;
970
+ }
971
+ const result = coerceParameterValue(field, raw);
972
+ if (result.ok) coerced[id] = result.value;
973
+ else errors.push(result.error);
974
+ }
975
+ if (errors.length) {
976
+ this.reject(errors.filter((e) => this.fieldMap.has(e.id)));
977
+ return { ok: false, errors, message: errors.map((e) => e.message).join(" ") };
978
+ }
979
+ const after = this.diff({ ...this.defaults, ...coerced });
980
+ const presets = snapshot.presets ? { before: this.userPresets, after: snapshot.presets.map((p) => ({ ...p, values: { ...p.values }, builtIn: false })) } : void 0;
981
+ const changed = Object.keys(after);
982
+ if (changed.length || presets) this.record(_nullishCoalesce(options.label, () => ( "Replace parameters")), after, presets ? { presets } : {});
983
+ return { ok: true, values: { ...this.values }, changed };
984
+ }
951
985
  undo() {
952
986
  this.endGesture();
953
987
  return this.history.undo();
@@ -1291,6 +1325,42 @@ function mapRange(value, from, to, options) {
1291
1325
  return createRangeMapper({ from, to, ...options })(value);
1292
1326
  }
1293
1327
 
1328
+ // src/parameters/editorDocument.ts
1329
+ var isRecord = (value) => !!value && typeof value === "object" && !Array.isArray(value);
1330
+ function createParametersEditorDocument(controller) {
1331
+ return _chunk5H2C3QSFcjs.defineEditorDocument.call(void 0, {
1332
+ kind: "parameters",
1333
+ get: () => controller.toJSON(),
1334
+ load: (document, { history }) => {
1335
+ if (!isRecord(document) || !isRecord(document.values)) throw new Error("A parameters document is { values: { <field id>: value }, presets?: [...] }.");
1336
+ if (document.presets !== void 0 && !Array.isArray(document.presets)) throw new Error("presets must be an array of presets.");
1337
+ const snapshot = document;
1338
+ if (history === "record") {
1339
+ const result = controller.replace(snapshot);
1340
+ if (!result.ok) throw new Error(result.message);
1341
+ return;
1342
+ }
1343
+ controller.load(snapshot, { clearHistory: true });
1344
+ return { problems: Object.entries(controller.getState().errors).map(([section, message]) => ({ section, message })) };
1345
+ },
1346
+ subscribe: (listener) => {
1347
+ let saved = JSON.stringify(controller.toJSON());
1348
+ return controller.subscribe(() => {
1349
+ const next = JSON.stringify(controller.toJSON());
1350
+ if (next === saved) return;
1351
+ saved = next;
1352
+ listener();
1353
+ });
1354
+ },
1355
+ history: {
1356
+ undo: () => controller.undo(),
1357
+ redo: () => controller.redo(),
1358
+ getState: () => controller.history.getState()
1359
+ }
1360
+ });
1361
+ }
1362
+
1363
+
1294
1364
 
1295
1365
 
1296
1366
 
@@ -1340,4 +1410,4 @@ function mapRange(value, from, to, options) {
1340
1410
 
1341
1411
 
1342
1412
 
1343
- exports.PARAMETER_KEY_TOLERANCE = PARAMETER_KEY_TOLERANCE; exports.ParameterSchemaError = ParameterSchemaError; exports.ParametersController = ParametersController; exports.checkParameterSchema = checkParameterSchema; exports.choiceOptionLabel = choiceOptionLabel; exports.clampParameterNumber = clampParameterNumber; exports.cloneValue = cloneValue; exports.coerceParameterValue = coerceParameterValue; exports.createParameterCommands = createParameterCommands; exports.createParameterKeyframeStore = createParameterKeyframeStore; exports.createParametersController = createParametersController; exports.createRangeMapper = createRangeMapper; exports.evaluateParameterCondition = evaluateParameterCondition; exports.findParameterKeyframe = findParameterKeyframe; exports.formatParameterNumber = formatParameterNumber; exports.formatParameterValue = formatParameterValue; exports.getChoiceOptions = getChoiceOptions; exports.getParameterDefaults = getParameterDefaults; exports.getParameterFields = getParameterFields; exports.getParameterGroups = getParameterGroups; exports.getParameterKeyState = getParameterKeyState; exports.getParameterVisibility = getParameterVisibility; exports.hexToRgba01 = hexToRgba01; exports.humanizeParameterId = humanizeParameterId; exports.isParameterGroup = isParameterGroup; exports.isSliderField = isSliderField; exports.mapRange = mapRange; exports.normalizeHexColor = normalizeHexColor; exports.parameterDecimals = parameterDecimals; exports.parameterFieldFromShaderControl = parameterFieldFromShaderControl; exports.parameterFieldToJsonSchema = parameterFieldToJsonSchema; exports.parameterLabel = parameterLabel; exports.parameterSchemaFromShaderControls = parameterSchemaFromShaderControls; exports.parameterSchemaToJsonSchema = parameterSchemaToJsonSchema; exports.parameterStep = parameterStep; exports.parameterValueFromShaderControl = parameterValueFromShaderControl; exports.parameterValuesEqual = parameterValuesEqual; exports.parseParameterNumberInput = parseParameterNumberInput; exports.planParameterSetPlayback = planParameterSetPlayback; exports.rgba01ToHex = rgba01ToHex; exports.seededRandom = seededRandom; exports.shaderControlValue = shaderControlValue; exports.validateParameterValue = validateParameterValue; exports.validateParameterValues = validateParameterValues; exports.vectorComponentField = vectorComponentField; exports.vectorSize = vectorSize; exports.withParameterKeyframe = withParameterKeyframe; exports.withParameterPlayback = withParameterPlayback; exports.withoutParameterKeyframe = withoutParameterKeyframe;
1413
+ exports.PARAMETER_KEY_TOLERANCE = PARAMETER_KEY_TOLERANCE; exports.ParameterSchemaError = ParameterSchemaError; exports.ParametersController = ParametersController; exports.checkParameterSchema = checkParameterSchema; exports.choiceOptionLabel = choiceOptionLabel; exports.clampParameterNumber = clampParameterNumber; exports.cloneValue = cloneValue; exports.coerceParameterValue = coerceParameterValue; exports.createParameterCommands = createParameterCommands; exports.createParameterKeyframeStore = createParameterKeyframeStore; exports.createParametersController = createParametersController; exports.createParametersEditorDocument = createParametersEditorDocument; exports.createRangeMapper = createRangeMapper; exports.evaluateParameterCondition = evaluateParameterCondition; exports.findParameterKeyframe = findParameterKeyframe; exports.formatParameterNumber = formatParameterNumber; exports.formatParameterValue = formatParameterValue; exports.getChoiceOptions = getChoiceOptions; exports.getParameterDefaults = getParameterDefaults; exports.getParameterFields = getParameterFields; exports.getParameterGroups = getParameterGroups; exports.getParameterKeyState = getParameterKeyState; exports.getParameterVisibility = getParameterVisibility; exports.hexToRgba01 = hexToRgba01; exports.humanizeParameterId = humanizeParameterId; exports.isParameterGroup = isParameterGroup; exports.isSliderField = isSliderField; exports.mapRange = mapRange; exports.normalizeHexColor = normalizeHexColor; exports.parameterDecimals = parameterDecimals; exports.parameterFieldFromShaderControl = parameterFieldFromShaderControl; exports.parameterFieldToJsonSchema = parameterFieldToJsonSchema; exports.parameterLabel = parameterLabel; exports.parameterSchemaFromShaderControls = parameterSchemaFromShaderControls; exports.parameterSchemaToJsonSchema = parameterSchemaToJsonSchema; exports.parameterStep = parameterStep; exports.parameterValueFromShaderControl = parameterValueFromShaderControl; exports.parameterValuesEqual = parameterValuesEqual; exports.parseParameterNumberInput = parseParameterNumberInput; exports.planParameterSetPlayback = planParameterSetPlayback; exports.rgba01ToHex = rgba01ToHex; exports.seededRandom = seededRandom; exports.shaderControlValue = shaderControlValue; exports.validateParameterValue = validateParameterValue; exports.validateParameterValues = validateParameterValues; exports.vectorComponentField = vectorComponentField; exports.vectorSize = vectorSize; exports.withParameterKeyframe = withParameterKeyframe; exports.withParameterPlayback = withParameterPlayback; exports.withoutParameterKeyframe = withoutParameterKeyframe;
@@ -6,3 +6,4 @@ export * from './commands.cjs';
6
6
  export * from './shader.cjs';
7
7
  export * from './rangeMapper.cjs';
8
8
  export * from './playback.cjs';
9
+ export * from './editorDocument.cjs';
@@ -6,3 +6,4 @@ export * from './commands.js';
6
6
  export * from './shader.js';
7
7
  export * from './rangeMapper.js';
8
8
  export * from './playback.js';
9
+ export * from './editorDocument.js';
@@ -1,3 +1,8 @@
1
+ import {
2
+ defineEditorDocument
3
+ } from "../chunk-GNV54DLO.js";
4
+ import "../chunk-WHKNYFM2.js";
5
+ import "../chunk-HF5QZS7Z.js";
1
6
  import {
2
7
  HistoryManager
3
8
  } from "../chunk-RNSANXPT.js";
@@ -948,6 +953,35 @@ var ParametersController = class {
948
953
  }
949
954
  this.notify(changed);
950
955
  }
956
+ /**
957
+ * Replaces every value (missing ones take their defaults) and, when given, the user presets,
958
+ * as one undo step. All-or-nothing: if any id is unknown or any value invalid, nothing
959
+ * changes and every error is returned.
960
+ */
961
+ replace(snapshot, options = {}) {
962
+ const errors = [];
963
+ const coerced = {};
964
+ for (const [id, raw] of Object.entries(snapshot.values ?? {})) {
965
+ if (raw === void 0) continue;
966
+ const field = this.fieldMap.get(id);
967
+ if (!field) {
968
+ errors.push({ id, path: `/${id}`, message: unknownMessage(id, this.fields) });
969
+ continue;
970
+ }
971
+ const result = coerceParameterValue(field, raw);
972
+ if (result.ok) coerced[id] = result.value;
973
+ else errors.push(result.error);
974
+ }
975
+ if (errors.length) {
976
+ this.reject(errors.filter((e) => this.fieldMap.has(e.id)));
977
+ return { ok: false, errors, message: errors.map((e) => e.message).join(" ") };
978
+ }
979
+ const after = this.diff({ ...this.defaults, ...coerced });
980
+ const presets = snapshot.presets ? { before: this.userPresets, after: snapshot.presets.map((p) => ({ ...p, values: { ...p.values }, builtIn: false })) } : void 0;
981
+ const changed = Object.keys(after);
982
+ if (changed.length || presets) this.record(options.label ?? "Replace parameters", after, presets ? { presets } : {});
983
+ return { ok: true, values: { ...this.values }, changed };
984
+ }
951
985
  undo() {
952
986
  this.endGesture();
953
987
  return this.history.undo();
@@ -1290,6 +1324,41 @@ function createRangeMapper(options = {}) {
1290
1324
  function mapRange(value, from, to, options) {
1291
1325
  return createRangeMapper({ from, to, ...options })(value);
1292
1326
  }
1327
+
1328
+ // src/parameters/editorDocument.ts
1329
+ var isRecord = (value) => !!value && typeof value === "object" && !Array.isArray(value);
1330
+ function createParametersEditorDocument(controller) {
1331
+ return defineEditorDocument({
1332
+ kind: "parameters",
1333
+ get: () => controller.toJSON(),
1334
+ load: (document, { history }) => {
1335
+ if (!isRecord(document) || !isRecord(document.values)) throw new Error("A parameters document is { values: { <field id>: value }, presets?: [...] }.");
1336
+ if (document.presets !== void 0 && !Array.isArray(document.presets)) throw new Error("presets must be an array of presets.");
1337
+ const snapshot = document;
1338
+ if (history === "record") {
1339
+ const result = controller.replace(snapshot);
1340
+ if (!result.ok) throw new Error(result.message);
1341
+ return;
1342
+ }
1343
+ controller.load(snapshot, { clearHistory: true });
1344
+ return { problems: Object.entries(controller.getState().errors).map(([section, message]) => ({ section, message })) };
1345
+ },
1346
+ subscribe: (listener) => {
1347
+ let saved = JSON.stringify(controller.toJSON());
1348
+ return controller.subscribe(() => {
1349
+ const next = JSON.stringify(controller.toJSON());
1350
+ if (next === saved) return;
1351
+ saved = next;
1352
+ listener();
1353
+ });
1354
+ },
1355
+ history: {
1356
+ undo: () => controller.undo(),
1357
+ redo: () => controller.redo(),
1358
+ getState: () => controller.history.getState()
1359
+ }
1360
+ });
1361
+ }
1293
1362
  export {
1294
1363
  PARAMETER_KEY_TOLERANCE,
1295
1364
  ParameterSchemaError,
@@ -1302,6 +1371,7 @@ export {
1302
1371
  createParameterCommands,
1303
1372
  createParameterKeyframeStore,
1304
1373
  createParametersController,
1374
+ createParametersEditorDocument,
1305
1375
  createRangeMapper,
1306
1376
  evaluateParameterCondition,
1307
1377
  findParameterKeyframe,