@odoo/o-spreadsheet 19.5.0-alpha.2 → 19.5.0-alpha.3

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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 19.5.0-alpha.2
5
- @date 2026-07-13T06:26:21.365Z
6
- @hash a4d2f90
4
+ @version 19.5.0-alpha.3
5
+ @date 2026-07-14T10:17:07.928Z
6
+ @hash c029184
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -15,7 +15,7 @@ type ClipboardContent = {
15
15
  };
16
16
  export declare class DefaultClipboardHandler extends AbstractCellClipboardHandler<ClipboardContent, unknown> {
17
17
  copy(data: ClipboardCellData): ClipboardContent | undefined;
18
- clearStyleFormat(sheetId: UID, zone: Zone): void;
18
+ adaptContentToZone(zone: Zone, content: ClipboardContent): ClipboardContent;
19
19
  paste(target: ClipboardPasteTarget, content: ClipboardContent, options: ClipboardOptions): void;
20
20
  /**
21
21
  * Clear the clipped zones: remove the cells and clear the formatting
@@ -233,3 +233,4 @@ export declare function defaultDict<T>(def: T): {
233
233
  get: (key: string) => T;
234
234
  set: (key: string, value: T) => void;
235
235
  };
236
+ export declare function repeat<T>(array: T[], times: number): T[];
@@ -10,7 +10,7 @@ export interface RadarChartDefinition<T extends string | Range = Range> extends
10
10
  readonly humanize?: boolean;
11
11
  }
12
12
  export type RadarChartRuntime = {
13
- chartJsConfig: ChartConfiguration;
13
+ chartJsConfig: ChartConfiguration<"radar">;
14
14
  customizableSeries: {
15
15
  dataSetId: string;
16
16
  label: string;
@@ -200,6 +200,10 @@ export interface PixelPosition {
200
200
  x: Pixel;
201
201
  y: Pixel;
202
202
  }
203
+ export interface PixelDimension {
204
+ width: Pixel;
205
+ height: Pixel;
206
+ }
203
207
  export interface Merge extends Zone {
204
208
  id: number;
205
209
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.5.0-alpha.2",
3
+ "version": "19.5.0-alpha.3",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o_spreadsheet.cjs",