@odoo/o-spreadsheet 19.2.12 → 19.2.13

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 19.2.12
6
- * @date 2026-05-12T12:20:55.681Z
7
- * @hash 5282e3c
5
+ * @version 19.2.13
6
+ * @date 2026-05-15T07:07:37.391Z
7
+ * @hash fece642
8
8
  */
9
9
 
10
10
  import { App, Component, blockDom, markRaw, onMounted, onPatched, onWillPatch, onWillStart, onWillUnmount, onWillUpdateProps, status, toRaw, useChildSubEnv, useComponent, useEffect, useEnv, useExternalListener, useRef, useState, useSubEnv, whenReady, xml } from "@odoo/owl";
@@ -2061,6 +2061,7 @@ var DependencyContainer = class extends EventBus {
2061
2061
  }
2062
2062
  };
2063
2063
  var StoreFactory = class {
2064
+ get;
2064
2065
  pendingBuilds = /* @__PURE__ */ new Set();
2065
2066
  constructor(get) {
2066
2067
  this.get = get;
@@ -2105,6 +2106,7 @@ stores.inject(MyMetaStore, storeInstance);
2105
2106
  return MetaStore;
2106
2107
  }
2107
2108
  var DisposableStore = class {
2109
+ get;
2108
2110
  disposeCallbacks = [];
2109
2111
  constructor(get) {
2110
2112
  this.get = get;
@@ -2860,6 +2862,7 @@ function getAlternatingColorsPalette(quantity) {
2860
2862
  else return ALTERNATING_COLORS_XL;
2861
2863
  }
2862
2864
  var ColorGenerator = class {
2865
+ preferredColors;
2863
2866
  currentColorIndex = 0;
2864
2867
  palette;
2865
2868
  constructor(paletteSize, preferredColors = []) {
@@ -3578,6 +3581,7 @@ const _t = function(s, ...values) {
3578
3581
  return sprintf(_translate(s), ...values);
3579
3582
  };
3580
3583
  var LazyTranslatedString = class extends String {
3584
+ values;
3581
3585
  constructor(str, values) {
3582
3586
  super(str);
3583
3587
  this.values = values;
@@ -3607,6 +3611,8 @@ const CellErrorType = {
3607
3611
  };
3608
3612
  const errorTypes = new Set(Object.values(CellErrorType));
3609
3613
  var EvaluationError = class {
3614
+ message;
3615
+ value;
3610
3616
  constructor(message = _t("Error"), value = CellErrorType.GenericError) {
3611
3617
  this.message = message;
3612
3618
  this.value = value;
@@ -3639,6 +3645,7 @@ var UnknownFunctionError = class extends EvaluationError {
3639
3645
  }
3640
3646
  };
3641
3647
  var SplillBlockedError = class extends EvaluationError {
3648
+ errorOriginPosition;
3642
3649
  constructor(message = _t("Spill range is not empty"), errorOriginPosition) {
3643
3650
  super(message, CellErrorType.SpilledBlocked);
3644
3651
  this.errorOriginPosition = errorOriginPosition;
@@ -10134,6 +10141,7 @@ function getScorecardConfiguration({ width, height }, runtime) {
10134
10141
  }, runtime).computeDesign();
10135
10142
  }
10136
10143
  var ScorecardChartConfigBuilder = class {
10144
+ runtime;
10137
10145
  context;
10138
10146
  width;
10139
10147
  height;
@@ -16213,6 +16221,10 @@ var GaugeChartComponent = class extends Component {
16213
16221
  * Animation interpolating values using the ease-out quartic curve function (chartJS default easing)
16214
16222
  */
16215
16223
  var Animation = class {
16224
+ startValue;
16225
+ endValue;
16226
+ duration;
16227
+ callback;
16216
16228
  startTime = void 0;
16217
16229
  animationFrameId = null;
16218
16230
  constructor(startValue, endValue, duration, callback) {
@@ -16679,6 +16691,11 @@ var Popover = class extends Component {
16679
16691
  }
16680
16692
  };
16681
16693
  var PopoverPositionContext = class {
16694
+ anchorRect;
16695
+ containerRect;
16696
+ propsMaxSize;
16697
+ spreadsheetOffset;
16698
+ lastPosition;
16682
16699
  constructor(anchorRect, containerRect, propsMaxSize, spreadsheetOffset, lastPosition) {
16683
16700
  this.anchorRect = anchorRect;
16684
16701
  this.containerRect = containerRect;
@@ -25783,6 +25800,7 @@ for (const category of categories) {
25783
25800
  * Represent a raw XML string
25784
25801
  */
25785
25802
  var XMLString = class {
25803
+ xmlString;
25786
25804
  /**
25787
25805
  * @param xmlString should be a well formed, properly escaped XML string
25788
25806
  */
@@ -34021,6 +34039,7 @@ var AbstractComposerStore = class extends SpreadsheetStore {
34021
34039
  //#endregion
34022
34040
  //#region src/components/composer/standalone_composer/standalone_composer_store.ts
34023
34041
  var StandaloneComposerStore = class extends AbstractComposerStore {
34042
+ args;
34024
34043
  constructor(get, args) {
34025
34044
  super(get);
34026
34045
  this.args = args;
@@ -34924,6 +34943,7 @@ var DOMDndHelper = class {
34924
34943
  }
34925
34944
  };
34926
34945
  var ContainerWrapper = class {
34946
+ el;
34927
34947
  constructor(el) {
34928
34948
  this.el = el;
34929
34949
  }
@@ -34995,6 +35015,10 @@ var FocusStore = class {
34995
35015
  * This plugin handles this internal state.
34996
35016
  */
34997
35017
  var SelectionInputStore = class extends SpreadsheetStore {
35018
+ initialRanges;
35019
+ inputHasSingleRange;
35020
+ colors;
35021
+ disabledRanges;
34998
35022
  mutators = [
34999
35023
  "resetWithRanges",
35000
35024
  "focusById",
@@ -43088,6 +43112,8 @@ var MoreFormatsPanel = class extends Component {
43088
43112
  //#endregion
43089
43113
  //#region src/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel_store.ts
43090
43114
  var PivotMeasureDisplayPanelStore = class extends SpreadsheetStore {
43115
+ pivotId;
43116
+ initialMeasure;
43091
43117
  mutators = [
43092
43118
  "cancelMeasureDisplayEdition",
43093
43119
  "updateMeasureDisplayType",
@@ -43570,6 +43596,7 @@ var PivotDimensionOrder = class extends Component {
43570
43596
  //#endregion
43571
43597
  //#region src/formulas/code_builder.ts
43572
43598
  var FunctionCodeBuilder = class {
43599
+ scope;
43573
43600
  code = "";
43574
43601
  constructor(scope = new Scope()) {
43575
43602
  this.scope = scope;
@@ -43585,6 +43612,8 @@ var FunctionCodeBuilder = class {
43585
43612
  }
43586
43613
  };
43587
43614
  var FunctionCodeImpl = class {
43615
+ scope;
43616
+ returnExpression;
43588
43617
  code;
43589
43618
  constructor(scope, code, returnExpression) {
43590
43619
  this.scope = scope;
@@ -43667,6 +43696,13 @@ const collator = new Intl.Collator("en", { sensitivity: "accent" });
43667
43696
  * without recompiling it (for example when the formula is copied to another cell, or when we want to replace literal values but keep the same structure).
43668
43697
  * */
43669
43698
  var CompiledFormula = class CompiledFormula {
43699
+ sheetId;
43700
+ tokens;
43701
+ literalValues;
43702
+ symbols;
43703
+ isBadExpression;
43704
+ normalizedFormula;
43705
+ execute;
43670
43706
  rangeDependencies;
43671
43707
  hasDependencies;
43672
43708
  constructor(sheetId, tokens, literalValues, symbols, dependencies, isBadExpression, normalizedFormula, execute) {
@@ -44551,13 +44587,30 @@ var PivotRuntimeDefinition = class {
44551
44587
  break;
44552
44588
  }
44553
44589
  return {
44590
+ /**
44591
+ * Get the id of the measure, as it is stored in the pivot formula
44592
+ */
44554
44593
  id: measure.id,
44594
+ /**
44595
+ * Display name of the measure
44596
+ * e.g. "__count" -> "Count", "amount_total" -> "Total Amount"
44597
+ */
44555
44598
  get displayName() {
44556
44599
  return measure.userDefinedName ?? field?.string ?? measure.fieldName;
44557
44600
  },
44558
44601
  userDefinedName: measure.userDefinedName,
44602
+ /**
44603
+ * Get the name of the field of the measure
44604
+ */
44559
44605
  fieldName,
44606
+ /**
44607
+ * Get the aggregator of the measure
44608
+ */
44560
44609
  aggregator,
44610
+ /**
44611
+ * Get the type of the measure field
44612
+ * e.g. "stage_id" -> "many2one", "create_date:month" -> "date"
44613
+ */
44561
44614
  type: fieldName === "__count" ? "integer" : field?.type ?? "integer",
44562
44615
  isValid,
44563
44616
  isHidden: measure.isHidden,
@@ -44571,10 +44624,30 @@ var PivotRuntimeDefinition = class {
44571
44624
  const type = field?.type ?? "integer";
44572
44625
  const granularity = field && isDateOrDatetimeField(field) ? dimension.granularity : void 0;
44573
44626
  return {
44627
+ /**
44628
+ * Get the display name of the dimension
44629
+ * e.g. "stage_id" -> "Stage", "create_date:month" -> "Create Date"
44630
+ */
44574
44631
  displayName: field?.string ?? dimension.fieldName,
44632
+ /**
44633
+ * Get the name of the dimension, as it is stored in the pivot formula
44634
+ * e.g. "stage_id", "create_date:month"
44635
+ */
44575
44636
  nameWithGranularity: dimension.fieldName + (granularity ? `:${granularity}` : ""),
44637
+ /**
44638
+ * Get the name of the field of the dimension
44639
+ * e.g. "stage_id" -> "stage_id", "create_date:month" -> "create_date"
44640
+ */
44576
44641
  fieldName: dimension.fieldName,
44642
+ /**
44643
+ * Get the aggregate operator of the dimension
44644
+ * e.g. "stage_id" -> undefined, "create_date:month" -> "month"
44645
+ */
44577
44646
  granularity,
44647
+ /**
44648
+ * Get the type of the field of the dimension
44649
+ * e.g. "stage_id" -> "many2one", "create_date:month" -> "date"
44650
+ */
44578
44651
  type: field?.isCustomField ? "custom" : type,
44579
44652
  order: dimension.order,
44580
44653
  isValid: !!field,
@@ -45796,6 +45869,8 @@ function extractFormulaIdFromToken(tokenAtCursor) {
45796
45869
  //#endregion
45797
45870
  //#region src/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.ts
45798
45871
  var PivotSidePanelStore = class extends SpreadsheetStore {
45872
+ pivotId;
45873
+ updateMode;
45799
45874
  mutators = [
45800
45875
  "reset",
45801
45876
  "deferUpdates",
@@ -60107,6 +60182,8 @@ function buildCompilationParameters(context, getters, computeCell) {
60107
60182
  return new CompilationParametersBuilder(context, getters, computeCell).getParameters();
60108
60183
  }
60109
60184
  var CompilationParametersBuilder = class {
60185
+ getters;
60186
+ computeCell;
60110
60187
  evalContext;
60111
60188
  rangeCache = {};
60112
60189
  constructor(context, getters, computeCell) {
@@ -61053,6 +61130,7 @@ const ERROR_CYCLE_CELL = Object.freeze(createEvaluatedCell({
61053
61130
  }));
61054
61131
  const EMPTY_CELL = Object.freeze(createEvaluatedCell({ value: null }));
61055
61132
  var Evaluator = class {
61133
+ context;
61056
61134
  getters;
61057
61135
  compilationParams;
61058
61136
  evaluatedCells = new PositionMap();
@@ -63685,6 +63763,8 @@ var PivotUIPlugin = class extends CoreViewPlugin {
63685
63763
  //#endregion
63686
63764
  //#region src/clipboard_handlers/abstract_clipboard_handler.ts
63687
63765
  var ClipboardHandler = class {
63766
+ getters;
63767
+ dispatch;
63688
63768
  constructor(getters, dispatch) {
63689
63769
  this.getters = getters;
63690
63770
  this.dispatch = dispatch;
@@ -65979,6 +66059,8 @@ function transformPositionWithMerge(toTransform, executed) {
65979
66059
  //#endregion
65980
66060
  //#region src/collaborative/revisions.ts
65981
66061
  var Revision = class {
66062
+ rootCommand;
66063
+ timestamp;
65982
66064
  id;
65983
66065
  clientId;
65984
66066
  _commands = [];
@@ -66015,6 +66097,9 @@ var Revision = class {
66015
66097
  //#region src/collaborative/session.ts
66016
66098
  var ClientDisconnectedError = class extends Error {};
66017
66099
  var Session = class extends EventBus {
66100
+ revisions;
66101
+ transportService;
66102
+ serverRevisionId;
66018
66103
  /**
66019
66104
  * Positions of the others client.
66020
66105
  */
@@ -69594,6 +69679,9 @@ var GridSelectionPlugin = class extends UIPlugin {
69594
69679
  //#endregion
69595
69680
  //#region src/helpers/internal_viewport.ts
69596
69681
  var InternalViewport = class {
69682
+ getters;
69683
+ sheetId;
69684
+ boundaries;
69597
69685
  top;
69598
69686
  bottom;
69599
69687
  left;
@@ -74404,6 +74492,7 @@ function instantiateClipboard() {
74404
74492
  return new WebClipboardWrapper(navigator.clipboard);
74405
74493
  }
74406
74494
  var WebClipboardWrapper = class {
74495
+ clipboard;
74407
74496
  constructor(clipboard) {
74408
74497
  this.clipboard = clipboard;
74409
74498
  }
@@ -74675,6 +74764,7 @@ var Spreadsheet = class extends Component {
74675
74764
  //#endregion
74676
74765
  //#region src/collaborative/readonly_transport_filter.ts
74677
74766
  var ReadonlyTransportFilter = class {
74767
+ transportService;
74678
74768
  constructor(transportService) {
74679
74769
  this.transportService = transportService;
74680
74770
  }
@@ -74706,6 +74796,8 @@ function inverseCommand(cmd) {
74706
74796
  * @param operations initial operations
74707
74797
  */
74708
74798
  var Branch = class Branch {
74799
+ buildTransformation;
74800
+ operations;
74709
74801
  constructor(buildTransformation, operations = []) {
74710
74802
  this.buildTransformation = buildTransformation;
74711
74803
  this.operations = operations;
@@ -74822,6 +74914,8 @@ var Branch = class Branch {
74822
74914
  * to revert it).
74823
74915
  */
74824
74916
  var Operation = class {
74917
+ id;
74918
+ data;
74825
74919
  constructor(id, data) {
74826
74920
  this.id = id;
74827
74921
  this.data = data;
@@ -74831,6 +74925,8 @@ var Operation = class {
74831
74925
  }
74832
74926
  };
74833
74927
  var LazyOperation = class LazyOperation {
74928
+ id;
74929
+ lazyData;
74834
74930
  constructor(id, lazyData) {
74835
74931
  this.id = id;
74836
74932
  this.lazyData = lazyData;
@@ -74856,6 +74952,7 @@ var LazyOperation = class LazyOperation {
74856
74952
  * ```
74857
74953
  */
74858
74954
  var OperationSequence = class OperationSequence {
74955
+ operations;
74859
74956
  constructor(operations) {
74860
74957
  this.operations = operations;
74861
74958
  }
@@ -74931,6 +75028,7 @@ var OperationSequence = class OperationSequence {
74931
75028
  *
74932
75029
  */
74933
75030
  var Tree = class {
75031
+ buildTransformation;
74934
75032
  branches;
74935
75033
  branchingOperationIds = /* @__PURE__ */ new Map();
74936
75034
  constructor(buildTransformation, initialBranch) {
@@ -75745,6 +75843,7 @@ var EventStream = class {
75745
75843
  * with the new selected anchor
75746
75844
  */
75747
75845
  var SelectionStreamProcessorImpl = class {
75846
+ getters;
75748
75847
  stream;
75749
75848
  /**
75750
75849
  * "Active" anchor used as a reference to compute new anchors
@@ -81504,6 +81603,6 @@ const chartHelpers = {
81504
81603
  //#endregion
81505
81604
  export { AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, CellErrorType, ClientDisconnectedError, CommandResult, CompiledFormula, CorePlugin, CoreViewPlugin, DEFAULT_LOCALE, DEFAULT_LOCALES, DispatchResult, EvaluationError, LocalTransportService, Model, PivotRuntimeDefinition, Registry, Revision, SPREADSHEET_DIMENSIONS, Spreadsheet, SpreadsheetPivotTable, UIPlugin, __info__, addFunction, addRenderingLayer, astToFormula, canExecuteInReadonly, categories, chartHelpers, components, constants, convertAstNodes, coreTypes, createAutocompleteArgumentsProvider, findCellInNewZone, functionCache, getCaretDownSvg, getCaretUpSvg, helpers, hooks, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isSheetDependent, iterateAstNodes, links, load, lockedSheetAllowedCommands, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
81506
81605
 
81507
- __info__.version = "19.2.12";
81508
- __info__.date = "2026-05-12T12:20:55.681Z";
81509
- __info__.hash = "5282e3c";
81606
+ __info__.version = "19.2.13";
81607
+ __info__.date = "2026-05-15T07:07:37.391Z";
81608
+ __info__.hash = "fece642";