@odoo/o-spreadsheet 19.5.0-alpha.0 → 19.5.0-alpha.1

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.0
5
- @date 2026-06-29T09:01:27.380Z
6
- @hash 2437c0b
4
+ @version 19.5.0-alpha.1
5
+ @date 2026-07-01T05:05:43.248Z
6
+ @hash 3c78107
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -2,7 +2,7 @@ import { Registry } from "../../registries/registry";
2
2
  import { CellValue } from "../../types/cells";
3
3
  import { Locale } from "../../types/locale";
4
4
  import { CellPosition, FunctionResultObject, Matrix, Maybe } from "../../types/misc";
5
- import { Granularity, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroupedField, PivotDimension, PivotDomain, PivotField, PivotFields, PivotSortedColumn, PivotStyle, PivotTableCell } from "../../types/pivot";
5
+ import { PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroupedField, PivotDimension, PivotDomain, PivotField, PivotFields, PivotSortedColumn, PivotStyle, PivotTableCell } from "../../types/pivot";
6
6
  import { Pivot } from "../../types/pivot_runtime";
7
7
  import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
8
8
  import { PivotRuntimeDefinition } from "./pivot_runtime_definition";
@@ -53,7 +53,7 @@ export declare function createPivotFormula(formulaId: string, cell: PivotTableCe
53
53
  */
54
54
  export declare function toNormalizedPivotValue(dimension: Pick<PivotDimension, "type" | "displayName" | "granularity">, groupValue: Maybe<CellValue | FunctionResultObject>): CellValue;
55
55
  export declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension, "type" | "granularity">): string;
56
- export declare const pivotNormalizationValueRegistry: Registry<(value: string, granularity?: Granularity | string) => CellValue>;
56
+ export declare const pivotNormalizationValueRegistry: Registry<(value: string, dimension: Pick<PivotDimension, "type" | "displayName" | "granularity">) => CellValue>;
57
57
  export declare const pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
58
58
  export declare function getFieldDisplayName(field: PivotDimension): string;
59
59
  export declare function addAlignFormatToPivotHeader(domain: PivotDomain, functionResult: FunctionResultObject): FunctionResultObject;
@@ -198,7 +198,7 @@ export declare const registries: {
198
198
  pivotRegistry: import(".").Registry<import("./helpers/pivot/pivot_registry").PivotRegistryItem>;
199
199
  pivotTimeAdapterRegistry: import(".").Registry<import(".").PivotTimeAdapter<import(".").CellValue>>;
200
200
  pivotSidePanelRegistry: import(".").Registry<import("./helpers/pivot/pivot_side_panel_registry").PivotRegistryItem>;
201
- pivotNormalizationValueRegistry: import(".").Registry<(value: string, granularity?: import(".").Granularity | string) => import(".").CellValue>;
201
+ pivotNormalizationValueRegistry: import(".").Registry<(value: string, dimension: Pick<import(".").PivotDimension, "type" | "displayName" | "granularity">) => import(".").CellValue>;
202
202
  supportedPivotPositionalFormulaRegistry: import(".").Registry<boolean>;
203
203
  pivotToFunctionValueRegistry: import(".").Registry<(value: import(".").CellValue, granularity?: string) => string>;
204
204
  migrationStepRegistry: import(".").Registry<import("./migrations/migration_steps").MigrationStep>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "19.5.0-alpha.0",
3
+ "version": "19.5.0-alpha.1",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o_spreadsheet.cjs",