@odoo/o-spreadsheet 19.0.33 → 19.0.35

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.0.33
6
- * @date 2026-05-11T13:47:09.950Z
7
- * @hash b46ee86
5
+ * @version 19.0.35
6
+ * @date 2026-05-15T07:06:09.392Z
7
+ * @hash 5de341b
8
8
  */
9
9
 
10
10
  (function(exports, _odoo_owl) {
@@ -1432,6 +1432,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1432
1432
  else return ALTERNATING_COLORS_XL;
1433
1433
  }
1434
1434
  var ColorGenerator = class {
1435
+ preferredColors;
1435
1436
  currentColorIndex = 0;
1436
1437
  palette;
1437
1438
  constructor(paletteSize, preferredColors = []) {
@@ -1639,6 +1640,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1639
1640
  return sprintf(_translate(s), ...values);
1640
1641
  };
1641
1642
  var LazyTranslatedString = class extends String {
1643
+ values;
1642
1644
  constructor(str, values) {
1643
1645
  super(str);
1644
1646
  this.values = values;
@@ -2797,6 +2799,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2797
2799
  };
2798
2800
  const errorTypes = new Set(Object.values(CellErrorType));
2799
2801
  var EvaluationError = class {
2802
+ message;
2803
+ value;
2800
2804
  constructor(message = _t("Error"), value = CellErrorType.GenericError) {
2801
2805
  this.message = message;
2802
2806
  this.value = value;
@@ -2829,6 +2833,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2829
2833
  }
2830
2834
  };
2831
2835
  var SplillBlockedError = class extends EvaluationError {
2836
+ errorOriginPosition;
2832
2837
  constructor(message = _t("Spill range is not empty"), errorOriginPosition) {
2833
2838
  super(message, CellErrorType.SpilledBlocked);
2834
2839
  this.errorOriginPosition = errorOriginPosition;
@@ -6461,6 +6466,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
6461
6466
  //#endregion
6462
6467
  //#region src/clipboard_handlers/abstract_clipboard_handler.ts
6463
6468
  var ClipboardHandler = class {
6469
+ getters;
6470
+ dispatch;
6464
6471
  constructor(getters, dispatch) {
6465
6472
  this.getters = getters;
6466
6473
  this.dispatch = dispatch;
@@ -8895,6 +8902,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8895
8902
  }
8896
8903
  };
8897
8904
  var StoreFactory = class {
8905
+ get;
8898
8906
  pendingBuilds = /* @__PURE__ */ new Set();
8899
8907
  constructor(get) {
8900
8908
  this.get = get;
@@ -8939,6 +8947,7 @@ stores.inject(MyMetaStore, storeInstance);
8939
8947
  return MetaStore;
8940
8948
  }
8941
8949
  var DisposableStore = class {
8950
+ get;
8942
8951
  disposeCallbacks = [];
8943
8952
  constructor(get) {
8944
8953
  this.get = get;
@@ -18622,6 +18631,7 @@ stores.inject(MyMetaStore, storeInstance);
18622
18631
  //#endregion
18623
18632
  //#region src/formulas/code_builder.ts
18624
18633
  var FunctionCodeBuilder = class {
18634
+ scope;
18625
18635
  code = "";
18626
18636
  constructor(scope = new Scope()) {
18627
18637
  this.scope = scope;
@@ -18637,6 +18647,8 @@ stores.inject(MyMetaStore, storeInstance);
18637
18647
  }
18638
18648
  };
18639
18649
  var FunctionCodeImpl = class {
18650
+ scope;
18651
+ returnExpression;
18640
18652
  code;
18641
18653
  constructor(scope, code, returnExpression) {
18642
18654
  this.scope = scope;
@@ -20607,6 +20619,7 @@ stores.inject(MyMetaStore, storeInstance);
20607
20619
  }, runtime).computeDesign();
20608
20620
  }
20609
20621
  var ScorecardChartConfigBuilder = class {
20622
+ runtime;
20610
20623
  context;
20611
20624
  width;
20612
20625
  height;
@@ -24267,6 +24280,10 @@ stores.inject(MyMetaStore, storeInstance);
24267
24280
  * Animation interpolating values using the ease-out quartic curve function (chartJS default easing)
24268
24281
  */
24269
24282
  var Animation = class {
24283
+ startValue;
24284
+ endValue;
24285
+ duration;
24286
+ callback;
24270
24287
  startTime = void 0;
24271
24288
  animationFrameId = null;
24272
24289
  constructor(startValue, endValue, duration, callback) {
@@ -26593,6 +26610,7 @@ stores.inject(MyMetaStore, storeInstance);
26593
26610
  * Represent a raw XML string
26594
26611
  */
26595
26612
  var XMLString = class {
26613
+ xmlString;
26596
26614
  /**
26597
26615
  * @param xmlString should be a well formed, properly escaped XML string
26598
26616
  */
@@ -27428,6 +27446,11 @@ stores.inject(MyMetaStore, storeInstance);
27428
27446
  }
27429
27447
  };
27430
27448
  var PopoverPositionContext = class {
27449
+ anchorRect;
27450
+ containerRect;
27451
+ propsMaxSize;
27452
+ spreadsheetOffset;
27453
+ lastPosition;
27431
27454
  constructor(anchorRect, containerRect, propsMaxSize, spreadsheetOffset, lastPosition) {
27432
27455
  this.anchorRect = anchorRect;
27433
27456
  this.containerRect = containerRect;
@@ -30723,6 +30746,7 @@ stores.inject(MyMetaStore, storeInstance);
30723
30746
  //#endregion
30724
30747
  //#region src/components/composer/standalone_composer/standalone_composer_store.ts
30725
30748
  var StandaloneComposerStore = class extends AbstractComposerStore {
30749
+ args;
30726
30750
  constructor(get, args) {
30727
30751
  super(get);
30728
30752
  this.args = args;
@@ -31774,6 +31798,7 @@ stores.inject(MyMetaStore, storeInstance);
31774
31798
  }
31775
31799
  };
31776
31800
  var ContainerWrapper = class {
31801
+ el;
31777
31802
  constructor(el) {
31778
31803
  this.el = el;
31779
31804
  }
@@ -31845,6 +31870,10 @@ stores.inject(MyMetaStore, storeInstance);
31845
31870
  * This plugin handles this internal state.
31846
31871
  */
31847
31872
  var SelectionInputStore = class extends SpreadsheetStore {
31873
+ initialRanges;
31874
+ inputHasSingleRange;
31875
+ colors;
31876
+ disabledRanges;
31848
31877
  mutators = [
31849
31878
  "resetWithRanges",
31850
31879
  "focusById",
@@ -40666,13 +40695,30 @@ stores.inject(MyMetaStore, storeInstance);
40666
40695
  break;
40667
40696
  }
40668
40697
  return {
40698
+ /**
40699
+ * Get the id of the measure, as it is stored in the pivot formula
40700
+ */
40669
40701
  id: measure.id,
40702
+ /**
40703
+ * Display name of the measure
40704
+ * e.g. "__count" -> "Count", "amount_total" -> "Total Amount"
40705
+ */
40670
40706
  get displayName() {
40671
40707
  return measure.userDefinedName ?? field?.string ?? measure.fieldName;
40672
40708
  },
40673
40709
  userDefinedName: measure.userDefinedName,
40710
+ /**
40711
+ * Get the name of the field of the measure
40712
+ */
40674
40713
  fieldName,
40714
+ /**
40715
+ * Get the aggregator of the measure
40716
+ */
40675
40717
  aggregator,
40718
+ /**
40719
+ * Get the type of the measure field
40720
+ * e.g. "stage_id" -> "many2one", "create_date:month" -> "date"
40721
+ */
40676
40722
  type: fieldName === "__count" ? "integer" : field?.type ?? "integer",
40677
40723
  isValid,
40678
40724
  isHidden: measure.isHidden,
@@ -40686,10 +40732,30 @@ stores.inject(MyMetaStore, storeInstance);
40686
40732
  const type = field?.type ?? "integer";
40687
40733
  const granularity = field && isDateOrDatetimeField(field) ? dimension.granularity : void 0;
40688
40734
  return {
40735
+ /**
40736
+ * Get the display name of the dimension
40737
+ * e.g. "stage_id" -> "Stage", "create_date:month" -> "Create Date"
40738
+ */
40689
40739
  displayName: field?.string ?? dimension.fieldName,
40740
+ /**
40741
+ * Get the name of the dimension, as it is stored in the pivot formula
40742
+ * e.g. "stage_id", "create_date:month"
40743
+ */
40690
40744
  nameWithGranularity: dimension.fieldName + (granularity ? `:${granularity}` : ""),
40745
+ /**
40746
+ * Get the name of the field of the dimension
40747
+ * e.g. "stage_id" -> "stage_id", "create_date:month" -> "create_date"
40748
+ */
40691
40749
  fieldName: dimension.fieldName,
40750
+ /**
40751
+ * Get the aggregate operator of the dimension
40752
+ * e.g. "stage_id" -> undefined, "create_date:month" -> "month"
40753
+ */
40692
40754
  granularity,
40755
+ /**
40756
+ * Get the type of the field of the dimension
40757
+ * e.g. "stage_id" -> "many2one", "create_date:month" -> "date"
40758
+ */
40693
40759
  type: field?.isCustomField ? "custom" : type,
40694
40760
  order: dimension.order,
40695
40761
  isValid: !!field,
@@ -51860,6 +51926,8 @@ stores.inject(MyMetaStore, storeInstance);
51860
51926
  //#endregion
51861
51927
  //#region src/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel_store.ts
51862
51928
  var PivotMeasureDisplayPanelStore = class extends SpreadsheetStore {
51929
+ pivotId;
51930
+ initialMeasure;
51863
51931
  mutators = [
51864
51932
  "cancelMeasureDisplayEdition",
51865
51933
  "updateMeasureDisplayType",
@@ -52956,6 +53024,7 @@ stores.inject(MyMetaStore, storeInstance);
52956
53024
  //#endregion
52957
53025
  //#region src/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.ts
52958
53026
  var PivotSidePanelStore = class extends SpreadsheetStore {
53027
+ pivotId;
52959
53028
  mutators = [
52960
53029
  "reset",
52961
53030
  "deferUpdates",
@@ -56487,6 +56556,11 @@ stores.inject(MyMetaStore, storeInstance);
56487
56556
  }
56488
56557
  };
56489
56558
  var FormulaCellWithDependencies = class {
56559
+ id;
56560
+ format;
56561
+ style;
56562
+ sheetId;
56563
+ getRangeString;
56490
56564
  isFormula = true;
56491
56565
  compiledFormula;
56492
56566
  constructor(id, compiledFormula, format, style, dependencies, sheetId, getRangeString) {
@@ -56521,6 +56595,10 @@ stores.inject(MyMetaStore, storeInstance);
56521
56595
  }
56522
56596
  };
56523
56597
  var RangeReferenceToken = class {
56598
+ ranges;
56599
+ rangeIndex;
56600
+ sheetId;
56601
+ getRangeString;
56524
56602
  type = "REFERENCE";
56525
56603
  constructor(ranges, rangeIndex, sheetId, getRangeString) {
56526
56604
  this.ranges = ranges;
@@ -60506,6 +60584,8 @@ stores.inject(MyMetaStore, storeInstance);
60506
60584
  return new CompilationParametersBuilder(context, getters, computeCell).getParameters();
60507
60585
  }
60508
60586
  var CompilationParametersBuilder = class {
60587
+ getters;
60588
+ computeCell;
60509
60589
  evalContext;
60510
60590
  rangeCache = {};
60511
60591
  constructor(context, getters, computeCell) {
@@ -61439,6 +61519,7 @@ stores.inject(MyMetaStore, storeInstance);
61439
61519
  }));
61440
61520
  const EMPTY_CELL = Object.freeze(createEvaluatedCell({ value: null }));
61441
61521
  var Evaluator = class {
61522
+ context;
61442
61523
  getters;
61443
61524
  compilationParams;
61444
61525
  evaluatedCells = new PositionMap();
@@ -65559,6 +65640,8 @@ stores.inject(MyMetaStore, storeInstance);
65559
65640
  //#endregion
65560
65641
  //#region src/collaborative/revisions.ts
65561
65642
  var Revision = class {
65643
+ rootCommand;
65644
+ timestamp;
65562
65645
  id;
65563
65646
  clientId;
65564
65647
  _commands = [];
@@ -65595,6 +65678,9 @@ stores.inject(MyMetaStore, storeInstance);
65595
65678
  //#region src/collaborative/session.ts
65596
65679
  var ClientDisconnectedError = class extends Error {};
65597
65680
  var Session = class extends EventBus {
65681
+ revisions;
65682
+ transportService;
65683
+ serverRevisionId;
65598
65684
  /**
65599
65685
  * Positions of the others client.
65600
65686
  */
@@ -69311,6 +69397,9 @@ stores.inject(MyMetaStore, storeInstance);
69311
69397
  //#endregion
69312
69398
  //#region src/helpers/internal_viewport.ts
69313
69399
  var InternalViewport = class {
69400
+ getters;
69401
+ sheetId;
69402
+ boundaries;
69314
69403
  top;
69315
69404
  bottom;
69316
69405
  left;
@@ -74446,6 +74535,7 @@ stores.inject(MyMetaStore, storeInstance);
74446
74535
  return new WebClipboardWrapper(navigator.clipboard);
74447
74536
  }
74448
74537
  var WebClipboardWrapper = class {
74538
+ clipboard;
74449
74539
  constructor(clipboard) {
74450
74540
  this.clipboard = clipboard;
74451
74541
  }
@@ -74932,6 +75022,7 @@ stores.inject(MyMetaStore, storeInstance);
74932
75022
  //#endregion
74933
75023
  //#region src/collaborative/readonly_transport_filter.ts
74934
75024
  var ReadonlyTransportFilter = class {
75025
+ transportService;
74935
75026
  constructor(transportService) {
74936
75027
  this.transportService = transportService;
74937
75028
  }
@@ -74963,6 +75054,8 @@ stores.inject(MyMetaStore, storeInstance);
74963
75054
  * @param operations initial operations
74964
75055
  */
74965
75056
  var Branch = class Branch {
75057
+ buildTransformation;
75058
+ operations;
74966
75059
  constructor(buildTransformation, operations = []) {
74967
75060
  this.buildTransformation = buildTransformation;
74968
75061
  this.operations = operations;
@@ -75079,6 +75172,8 @@ stores.inject(MyMetaStore, storeInstance);
75079
75172
  * to revert it).
75080
75173
  */
75081
75174
  var Operation = class {
75175
+ id;
75176
+ data;
75082
75177
  constructor(id, data) {
75083
75178
  this.id = id;
75084
75179
  this.data = data;
@@ -75088,6 +75183,8 @@ stores.inject(MyMetaStore, storeInstance);
75088
75183
  }
75089
75184
  };
75090
75185
  var LazyOperation = class LazyOperation {
75186
+ id;
75187
+ lazyData;
75091
75188
  constructor(id, lazyData) {
75092
75189
  this.id = id;
75093
75190
  this.lazyData = lazyData;
@@ -75113,6 +75210,7 @@ stores.inject(MyMetaStore, storeInstance);
75113
75210
  * ```
75114
75211
  */
75115
75212
  var OperationSequence = class OperationSequence {
75213
+ operations;
75116
75214
  constructor(operations) {
75117
75215
  this.operations = operations;
75118
75216
  }
@@ -75188,6 +75286,7 @@ stores.inject(MyMetaStore, storeInstance);
75188
75286
  *
75189
75287
  */
75190
75288
  var Tree = class {
75289
+ buildTransformation;
75191
75290
  branches;
75192
75291
  branchingOperationIds = /* @__PURE__ */ new Map();
75193
75292
  constructor(buildTransformation, initialBranch) {
@@ -75767,6 +75866,7 @@ stores.inject(MyMetaStore, storeInstance);
75767
75866
  * with the new selected anchor
75768
75867
  */
75769
75868
  var SelectionStreamProcessorImpl = class {
75869
+ getters;
75770
75870
  stream;
75771
75871
  /**
75772
75872
  * "Active" anchor used as a reference to compute new anchors
@@ -79233,8 +79333,8 @@ exports.stores = stores;
79233
79333
  exports.tokenColors = tokenColors;
79234
79334
  exports.tokenize = tokenize;
79235
79335
 
79236
- __info__.version = "19.0.33";
79237
- __info__.date = "2026-05-11T13:47:09.950Z";
79238
- __info__.hash = "b46ee86";
79336
+ __info__.version = "19.0.35";
79337
+ __info__.date = "2026-05-15T07:06:09.392Z";
79338
+ __info__.hash = "5de341b";
79239
79339
 
79240
79340
  })(this.o_spreadsheet = this.o_spreadsheet || {}, owl);