@odoo/o-spreadsheet 18.2.17 → 18.2.19

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.
@@ -2,9 +2,9 @@
2
2
  /**
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 18.2.17
6
- * @date 2025-06-12T09:52:15.050Z
7
- * @hash ea64209
5
+ * @version 18.2.19
6
+ * @date 2025-06-23T15:07:13.023Z
7
+ * @hash 430d931
8
8
  */
9
9
 
10
10
  'use strict';
@@ -6827,6 +6827,63 @@ function parseOSClipboardContent(content) {
6827
6827
  data: spreadsheetContent,
6828
6828
  };
6829
6829
  }
6830
+ /**
6831
+ * Applies each clipboard handler to paste its corresponding data into the target.
6832
+ */
6833
+ const applyClipboardHandlersPaste = (handlers, copiedData, target, options) => {
6834
+ handlers.forEach(({ handlerName, handler }) => {
6835
+ const data = copiedData[handlerName];
6836
+ if (data) {
6837
+ handler.paste(target, data, options);
6838
+ }
6839
+ });
6840
+ };
6841
+ /**
6842
+ * Returns the paste target based on clipboard handlers.
6843
+ * Also includes the full affected zone and the list of pasted zones for selection.
6844
+ */
6845
+ function getPasteTargetFromHandlers(sheetId, zones, copiedData, handlers, options) {
6846
+ let zone = undefined;
6847
+ let selectedZones = [];
6848
+ let target = {
6849
+ sheetId,
6850
+ zones,
6851
+ };
6852
+ for (const { handlerName, handler } of handlers) {
6853
+ const handlerData = copiedData[handlerName];
6854
+ if (!handlerData) {
6855
+ continue;
6856
+ }
6857
+ const currentTarget = handler.getPasteTarget(sheetId, zones, handlerData, options);
6858
+ if (currentTarget.figureId) {
6859
+ target.figureId = currentTarget.figureId;
6860
+ }
6861
+ for (const targetZone of currentTarget.zones) {
6862
+ selectedZones.push(targetZone);
6863
+ if (zone === undefined) {
6864
+ zone = targetZone;
6865
+ continue;
6866
+ }
6867
+ zone = union(zone, targetZone);
6868
+ }
6869
+ }
6870
+ return {
6871
+ target,
6872
+ zone,
6873
+ selectedZones,
6874
+ };
6875
+ }
6876
+ /**
6877
+ * Updates the selection after a paste operation.
6878
+ */
6879
+ const selectPastedZone = (selection, sourceZones, pastedZones) => {
6880
+ const anchorCell = {
6881
+ col: sourceZones[0].left,
6882
+ row: sourceZones[0].top,
6883
+ };
6884
+ selection.getBackToDefault();
6885
+ selection.selectZone({ cell: anchorCell, zone: union(...pastedZones) }, { scrollIntoView: false });
6886
+ };
6830
6887
 
6831
6888
  class ClipboardHandler {
6832
6889
  getters;
@@ -10368,6 +10425,7 @@ function drawLineOrBarOrRadarChartValues(chart, options, ctx) {
10368
10425
  if (isTrendLineAxis(dataset.xAxisID) || dataset.hidden) {
10369
10426
  continue;
10370
10427
  }
10428
+ const yAxisScale = chart.scales[dataset.yAxisID];
10371
10429
  for (let i = 0; i < dataset._parsed.length; i++) {
10372
10430
  const parsedValue = dataset._parsed[i];
10373
10431
  const value = Number(chart.config.type === "radar" ? parsedValue.r : parsedValue.y);
@@ -10378,10 +10436,18 @@ function drawLineOrBarOrRadarChartValues(chart, options, ctx) {
10378
10436
  const xPosition = point.x;
10379
10437
  let yPosition = 0;
10380
10438
  if (chart.config.type === "line" || chart.config.type === "radar") {
10381
- yPosition = point.y - 10;
10439
+ yPosition = value < 0 ? point.y + 10 : point.y - 10;
10382
10440
  }
10383
10441
  else {
10384
- yPosition = value < 0 ? point.y - point.height / 2 : point.y + point.height / 2;
10442
+ const yZeroLine = yAxisScale.getPixelForValue(0);
10443
+ const distanceFromAxisOrigin = Math.abs(yZeroLine - point.y);
10444
+ const textHeight = 12; // ChartJS default text height
10445
+ if (distanceFromAxisOrigin < textHeight) {
10446
+ yPosition = value < 0 ? yZeroLine + textHeight / 2 : yZeroLine - textHeight / 2;
10447
+ }
10448
+ else {
10449
+ yPosition = value < 0 ? point.y - point.height / 2 : point.y + point.height / 2;
10450
+ }
10385
10451
  }
10386
10452
  yPosition = Math.min(yPosition, yMax);
10387
10453
  yPosition = Math.max(yPosition, yMin);
@@ -10391,7 +10457,7 @@ function drawLineOrBarOrRadarChartValues(chart, options, ctx) {
10391
10457
  }
10392
10458
  for (const otherPosition of textsPositions[xPosition] || []) {
10393
10459
  if (Math.abs(otherPosition - yPosition) < 13) {
10394
- yPosition = otherPosition - 13;
10460
+ yPosition = value < 0 ? otherPosition + 13 : otherPosition - 13;
10395
10461
  }
10396
10462
  }
10397
10463
  textsPositions[xPosition].push(yPosition);
@@ -10410,6 +10476,8 @@ function drawHorizontalBarChartValues(chart, options, ctx) {
10410
10476
  if (isTrendLineAxis(dataset.xAxisID)) {
10411
10477
  return; // ignore trend lines
10412
10478
  }
10479
+ const xAxisScale = chart.scales[dataset.xAxisID];
10480
+ const xZeroLine = xAxisScale.getPixelForValue(0);
10413
10481
  for (let i = 0; i < dataset._parsed.length; i++) {
10414
10482
  const value = Number(dataset._parsed[i].x);
10415
10483
  if (isNaN(value)) {
@@ -10418,17 +10486,27 @@ function drawHorizontalBarChartValues(chart, options, ctx) {
10418
10486
  const displayValue = options.callback(value, dataset, i);
10419
10487
  const point = dataset.data[i];
10420
10488
  const yPosition = point.y;
10421
- let xPosition = value < 0 ? point.x + point.width / 2 : point.x - point.width / 2;
10422
- xPosition = Math.min(xPosition, xMax);
10423
- xPosition = Math.max(xPosition, xMin);
10489
+ const textWidth = computeTextWidth(ctx, displayValue, { fontSize: 12 }, "px");
10490
+ const distanceFromAxisOrigin = Math.abs(point.x - xZeroLine);
10491
+ const PADDING = 3;
10492
+ let xPosition;
10493
+ if (distanceFromAxisOrigin < textWidth) {
10494
+ xPosition =
10495
+ value < 0 ? xZeroLine - textWidth / 2 - PADDING : xZeroLine + textWidth / 2 + PADDING;
10496
+ }
10497
+ else {
10498
+ xPosition = value < 0 ? point.x + point.width / 2 : point.x - point.width / 2;
10499
+ xPosition = Math.min(xPosition, xMax);
10500
+ xPosition = Math.max(xPosition, xMin);
10501
+ }
10424
10502
  // Avoid overlapping texts with same Y
10425
10503
  if (!textsPositions[yPosition]) {
10426
10504
  textsPositions[yPosition] = [];
10427
10505
  }
10428
- const textWidth = computeTextWidth(ctx, displayValue, { fontSize: 12 }, "px");
10429
10506
  for (const otherPosition of textsPositions[yPosition]) {
10430
10507
  if (Math.abs(otherPosition - xPosition) < textWidth) {
10431
- xPosition = otherPosition + textWidth + 3;
10508
+ xPosition =
10509
+ value < 0 ? otherPosition - textWidth - PADDING : otherPosition + textWidth + PADDING;
10432
10510
  }
10433
10511
  }
10434
10512
  textsPositions[yPosition].push(xPosition);
@@ -30112,7 +30190,9 @@ function getPyramidChartShowValues(definition, args) {
30112
30190
  background: definition.background,
30113
30191
  callback: (value, dataset) => {
30114
30192
  value = Math.abs(Number(value));
30115
- return formatChartDatasetValue(axisFormats, locale)(value, dataset.xAxisID || "x");
30193
+ return value === 0
30194
+ ? ""
30195
+ : formatChartDatasetValue(axisFormats, locale)(value, dataset.xAxisID || "x");
30116
30196
  },
30117
30197
  };
30118
30198
  }
@@ -34781,6 +34861,10 @@ const REMOVE_ROWS_ACTION = (env) => {
34781
34861
  });
34782
34862
  };
34783
34863
  const CAN_REMOVE_COLUMNS_ROWS = (dimension, env) => {
34864
+ if ((dimension === "COL" && env.model.getters.getActiveRows().size > 0) ||
34865
+ (dimension === "ROW" && env.model.getters.getActiveCols().size > 0)) {
34866
+ return false;
34867
+ }
34784
34868
  const sheetId = env.model.getters.getActiveSheetId();
34785
34869
  const selectedElements = env.model.getters.getElementsFromSelection(dimension);
34786
34870
  const includesAllVisibleHeaders = env.model.getters.checkElementsIncludeAllVisibleHeaders(sheetId, dimension, selectedElements);
@@ -37760,11 +37844,11 @@ class OTRegistry extends Registry {
37760
37844
  * transformation function given
37761
37845
  */
37762
37846
  addTransformation(executed, toTransforms, fn) {
37763
- for (let toTransform of toTransforms) {
37764
- if (!this.content[toTransform]) {
37765
- this.content[toTransform] = new Map();
37766
- }
37767
- this.content[toTransform].set(executed, fn);
37847
+ if (!this.content[executed]) {
37848
+ this.content[executed] = new Map();
37849
+ }
37850
+ for (const toTransform of toTransforms) {
37851
+ this.content[executed].set(toTransform, fn);
37768
37852
  }
37769
37853
  return this;
37770
37854
  }
@@ -37773,7 +37857,7 @@ class OTRegistry extends Registry {
37773
37857
  * that the executed command happened.
37774
37858
  */
37775
37859
  getTransformation(toTransform, executed) {
37776
- return this.content[toTransform] && this.content[toTransform].get(executed);
37860
+ return this.content[executed] && this.content[executed].get(toTransform);
37777
37861
  }
37778
37862
  }
37779
37863
  const otRegistry = new OTRegistry();
@@ -47080,7 +47164,7 @@ class SpreadsheetPivot {
47080
47164
  }
47081
47165
  getTypeFromZone(sheetId, zone) {
47082
47166
  const cells = this.getters.getEvaluatedCellsInZone(sheetId, zone);
47083
- const nonEmptyCells = cells.filter((cell) => cell.type !== CellValueType.empty);
47167
+ const nonEmptyCells = cells.filter((cell) => !(cell.type === CellValueType.empty || cell.value === ""));
47084
47168
  if (nonEmptyCells.length === 0) {
47085
47169
  return "integer";
47086
47170
  }
@@ -50630,15 +50714,16 @@ class GridAddRowsFooter extends owl.Component {
50630
50714
  }
50631
50715
  }
50632
50716
 
50717
+ const PAINT_FORMAT_HANDLER_KEYS = [
50718
+ "cell",
50719
+ "border",
50720
+ "table",
50721
+ "conditionalFormat",
50722
+ "merge",
50723
+ ];
50633
50724
  class PaintFormatStore extends SpreadsheetStore {
50634
50725
  mutators = ["activate", "cancel", "pasteFormat"];
50635
50726
  highlightStore = this.get(HighlightStore);
50636
- clipboardHandlers = [
50637
- new CellClipboardHandler(this.getters, this.model.dispatch),
50638
- new BorderClipboardHandler(this.getters, this.model.dispatch),
50639
- new TableClipboardHandler(this.getters, this.model.dispatch),
50640
- new ConditionalFormatClipboardHandler(this.getters, this.model.dispatch),
50641
- ];
50642
50727
  status = "inactive";
50643
50728
  copiedData;
50644
50729
  constructor(get) {
@@ -50669,24 +50754,38 @@ class PaintFormatStore extends SpreadsheetStore {
50669
50754
  get isActive() {
50670
50755
  return this.status !== "inactive";
50671
50756
  }
50757
+ get clipboardHandlers() {
50758
+ return PAINT_FORMAT_HANDLER_KEYS.map((handlerName) => {
50759
+ const HandlerClass = clipboardHandlersRegistries.cellHandlers.get(handlerName);
50760
+ return {
50761
+ handlerName,
50762
+ handler: new HandlerClass(this.getters, this.model.dispatch),
50763
+ };
50764
+ });
50765
+ }
50672
50766
  copyFormats() {
50673
50767
  const sheetId = this.getters.getActiveSheetId();
50674
50768
  const zones = this.getters.getSelectedZones();
50675
- const copiedData = {};
50676
- for (const handler of this.clipboardHandlers) {
50677
- Object.assign(copiedData, handler.copy(getClipboardDataPositions(sheetId, zones)));
50769
+ const copiedData = { zones, sheetId };
50770
+ for (const { handlerName, handler } of this.clipboardHandlers) {
50771
+ const handlerResult = handler.copy(getClipboardDataPositions(sheetId, zones));
50772
+ if (handlerResult !== undefined) {
50773
+ copiedData[handlerName] = handlerResult;
50774
+ }
50678
50775
  }
50679
50776
  return copiedData;
50680
50777
  }
50681
50778
  paintFormat(sheetId, target) {
50682
- if (this.copiedData) {
50683
- for (const handler of this.clipboardHandlers) {
50684
- handler.paste({ zones: target, sheetId }, this.copiedData, {
50685
- isCutOperation: false,
50686
- pasteOption: "onlyFormat",
50687
- });
50688
- }
50779
+ if (!this.copiedData) {
50780
+ return;
50689
50781
  }
50782
+ const options = {
50783
+ isCutOperation: false,
50784
+ pasteOption: "onlyFormat",
50785
+ };
50786
+ const { target: pasteTarget, selectedZones } = getPasteTargetFromHandlers(sheetId, target, this.copiedData, this.clipboardHandlers, options);
50787
+ applyClipboardHandlersPaste(this.clipboardHandlers, this.copiedData, pasteTarget, options);
50788
+ selectPastedZone(this.model.selection, target, selectedZones);
50690
50789
  if (this.status === "oneOff") {
50691
50790
  this.cancel();
50692
50791
  }
@@ -55987,7 +56086,7 @@ class DataValidationPlugin extends CorePlugin {
55987
56086
  else if (newRule.criterion.type === "isValueInList") {
55988
56087
  newRule.criterion.values = Array.from(new Set(newRule.criterion.values));
55989
56088
  }
55990
- const adaptedRules = this.removeRangesFromRules(sheetId, newRule.ranges, rules);
56089
+ const adaptedRules = this.removeRangesFromRules(sheetId, newRule.ranges, rules, newRule.id);
55991
56090
  const ruleIndex = adaptedRules.findIndex((rule) => rule.id === newRule.id);
55992
56091
  if (ruleIndex !== -1) {
55993
56092
  adaptedRules[ruleIndex] = newRule;
@@ -55997,9 +56096,12 @@ class DataValidationPlugin extends CorePlugin {
55997
56096
  this.history.update("rules", sheetId, [...adaptedRules, newRule]);
55998
56097
  }
55999
56098
  }
56000
- removeRangesFromRules(sheetId, ranges, rules) {
56099
+ removeRangesFromRules(sheetId, ranges, rules, editingRuleId) {
56001
56100
  rules = deepCopy(rules);
56002
56101
  for (const rule of rules) {
56102
+ if (rule.id === editingRuleId) {
56103
+ continue; // Skip the rule being edited to preserve its place in the list
56104
+ }
56003
56105
  rule.ranges = this.getters.recomputeRanges(rule.ranges, ranges);
56004
56106
  }
56005
56107
  return rules.filter((rule) => rule.ranges.length > 0);
@@ -64767,10 +64869,20 @@ function transform(toTransform, executed) {
64767
64869
  */
64768
64870
  function transformAll(toTransform, executed) {
64769
64871
  let transformedCommands = [...toTransform];
64872
+ const possibleTransformations = new Set(otRegistry.getKeys());
64770
64873
  for (const executedCommand of executed) {
64771
- transformedCommands = transformedCommands
64772
- .map((cmd) => transform(cmd, executedCommand))
64773
- .filter(isDefined);
64874
+ // If the executed command is not in the registry, we skip it
64875
+ // because we know there won't be any transformation impacting the
64876
+ // commands to transform.
64877
+ if (possibleTransformations.has(executedCommand.type)) {
64878
+ transformedCommands = transformedCommands.reduce((acc, cmd) => {
64879
+ const transformed = transform(cmd, executedCommand);
64880
+ if (transformed) {
64881
+ acc.push(transformed);
64882
+ }
64883
+ return acc;
64884
+ }, []);
64885
+ }
64774
64886
  }
64775
64887
  return transformedCommands;
64776
64888
  }
@@ -66459,7 +66571,7 @@ class SheetUIPlugin extends UIPlugin {
66459
66571
  }
66460
66572
  const position = this.getters.getCellPosition(cell.id);
66461
66573
  const colSize = this.getters.getColSize(sheetId, position.col);
66462
- if (cell.isFormula) {
66574
+ if (cell.isFormula || this.getters.getArrayFormulaSpreadingOn(position)) {
66463
66575
  const content = this.getters.getEvaluatedCell(position).formattedValue;
66464
66576
  const evaluatedSize = getCellContentHeight(this.ctx, content, cell?.style, colSize);
66465
66577
  if (evaluatedSize > evaluatedRowSize && evaluatedSize > DEFAULT_CELL_HEIGHT) {
@@ -67747,49 +67859,17 @@ class ClipboardPlugin extends UIPlugin {
67747
67859
  if (!copiedData) {
67748
67860
  return;
67749
67861
  }
67750
- let zone = undefined;
67751
- let selectedZones = [];
67752
67862
  const sheetId = this.getters.getActiveSheetId();
67753
- let target = {
67754
- sheetId,
67755
- zones,
67756
- };
67757
67863
  const handlers = this.selectClipboardHandlers(copiedData);
67758
- for (const { handlerName, handler } of handlers) {
67759
- const handlerData = copiedData[handlerName];
67760
- if (!handlerData) {
67761
- continue;
67762
- }
67763
- const currentTarget = handler.getPasteTarget(sheetId, zones, handlerData, options);
67764
- if (currentTarget.figureId) {
67765
- target.figureId = currentTarget.figureId;
67766
- }
67767
- for (const targetZone of currentTarget.zones) {
67768
- selectedZones.push(targetZone);
67769
- if (zone === undefined) {
67770
- zone = targetZone;
67771
- continue;
67772
- }
67773
- zone = union(zone, targetZone);
67774
- }
67775
- }
67864
+ const { target, zone, selectedZones } = getPasteTargetFromHandlers(sheetId, zones, copiedData, handlers, options);
67776
67865
  if (zone !== undefined) {
67777
- this.addMissingDimensions(this.getters.getActiveSheetId(), zone.right - zone.left + 1, zone.bottom - zone.top + 1, zone.left, zone.top);
67866
+ this.addMissingDimensions(sheetId, zone.right - zone.left + 1, zone.bottom - zone.top + 1, zone.left, zone.top);
67778
67867
  }
67779
- handlers.forEach(({ handlerName, handler }) => {
67780
- const handlerData = copiedData[handlerName];
67781
- if (handlerData) {
67782
- handler.paste(target, handlerData, options);
67783
- }
67784
- });
67868
+ applyClipboardHandlersPaste(handlers, copiedData, target, options);
67785
67869
  if (!options?.selectTarget) {
67786
67870
  return;
67787
67871
  }
67788
- const selection = zones[0];
67789
- const col = selection.left;
67790
- const row = selection.top;
67791
- this.selection.getBackToDefault();
67792
- this.selection.selectZone({ cell: { col, row }, zone: union(...selectedZones) }, { scrollIntoView: false });
67872
+ selectPastedZone(this.selection, zones, selectedZones);
67793
67873
  }
67794
67874
  /**
67795
67875
  * Add columns and/or rows to ensure that col + width and row + height are still
@@ -77015,6 +77095,6 @@ exports.tokenColors = tokenColors;
77015
77095
  exports.tokenize = tokenize;
77016
77096
 
77017
77097
 
77018
- __info__.version = "18.2.17";
77019
- __info__.date = "2025-06-12T09:52:15.050Z";
77020
- __info__.hash = "ea64209";
77098
+ __info__.version = "18.2.19";
77099
+ __info__.date = "2025-06-23T15:07:13.023Z";
77100
+ __info__.hash = "430d931";
@@ -1918,13 +1918,6 @@ declare class UIPlugin<State = any> extends BasePlugin<State, Command> {
1918
1918
  drawLayer(ctx: GridRenderingContext, layer: LayerName): void;
1919
1919
  }
1920
1920
 
1921
- type MinimalClipboardData = {
1922
- sheetId?: UID;
1923
- cells?: ClipboardCell[][];
1924
- zones?: Zone[];
1925
- figureId?: UID;
1926
- [key: string]: unknown;
1927
- };
1928
1921
  interface SpreadsheetClipboardData extends MinimalClipboardData {
1929
1922
  version?: number;
1930
1923
  clipboardId?: string;
@@ -2362,6 +2355,13 @@ type ClipboardPasteTarget = {
2362
2355
  zones: Zone[];
2363
2356
  figureId?: UID;
2364
2357
  };
2358
+ type MinimalClipboardData = {
2359
+ sheetId?: UID;
2360
+ cells?: ClipboardCell[][];
2361
+ zones?: Zone[];
2362
+ figureId?: UID;
2363
+ [key: string]: unknown;
2364
+ };
2365
2365
 
2366
2366
  /**
2367
2367
  * There are two kinds of commands: CoreCommands and LocalCommands
@@ -13500,4 +13500,4 @@ declare const chartHelpers: {
13500
13500
  WaterfallChart: typeof WaterfallChart;
13501
13501
  };
13502
13502
 
13503
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
13503
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };