@odoo/o-spreadsheet 19.1.2 → 19.1.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.
- package/dist/o-spreadsheet-engine.d.ts +10 -4
- package/dist/o-spreadsheet-engine.esm.js +491 -421
- package/dist/o-spreadsheet-engine.iife.js +491 -421
- package/dist/o-spreadsheet-engine.min.iife.js +305 -305
- package/dist/o-spreadsheet.d.ts +10 -4
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +477 -375
- package/dist/o_spreadsheet.iife.js +477 -375
- package/dist/o_spreadsheet.min.iife.js +311 -311
- package/dist/o_spreadsheet.xml +6 -4
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1580,14 +1580,18 @@ interface Pivot$1 {
|
|
|
1580
1580
|
definition: PivotCoreDefinition;
|
|
1581
1581
|
formulaId: string;
|
|
1582
1582
|
}
|
|
1583
|
+
interface MeasureState {
|
|
1584
|
+
formula: RangeCompiledFormula;
|
|
1585
|
+
dependencies: Range[];
|
|
1586
|
+
}
|
|
1583
1587
|
interface CoreState {
|
|
1584
1588
|
nextFormulaId: number;
|
|
1585
1589
|
pivots: Record<UID, Pivot$1 | undefined>;
|
|
1586
1590
|
formulaIds: Record<UID, string | undefined>;
|
|
1587
|
-
compiledMeasureFormulas: Record<UID, Record<string,
|
|
1591
|
+
compiledMeasureFormulas: Record<UID, Record<string, MeasureState | undefined>>;
|
|
1588
1592
|
}
|
|
1589
1593
|
declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState {
|
|
1590
|
-
static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot"];
|
|
1594
|
+
static getters: readonly ["getPivotCoreDefinition", "getPivotDisplayName", "getPivotId", "getPivotFormulaId", "getPivotIds", "getMeasureCompiledFormula", "getPivotName", "isExistingPivot", "getMeasureFullDependencies"];
|
|
1591
1595
|
readonly nextFormulaId: number;
|
|
1592
1596
|
readonly pivots: {
|
|
1593
1597
|
[pivotId: UID]: Pivot$1 | undefined;
|
|
@@ -1595,7 +1599,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
1595
1599
|
readonly formulaIds: {
|
|
1596
1600
|
[formulaId: UID]: UID | undefined;
|
|
1597
1601
|
};
|
|
1598
|
-
readonly compiledMeasureFormulas: Record<UID, Record<string,
|
|
1602
|
+
readonly compiledMeasureFormulas: Record<UID, Record<string, MeasureState>>;
|
|
1599
1603
|
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
1600
1604
|
handle(cmd: CoreCommand): void;
|
|
1601
1605
|
adaptRanges(applyChange: ApplyRangeChange): void;
|
|
@@ -1614,9 +1618,11 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
1614
1618
|
getPivotFormulaId(pivotId: UID): string;
|
|
1615
1619
|
getPivotIds(): UID[];
|
|
1616
1620
|
isExistingPivot(pivotId: UID): boolean;
|
|
1617
|
-
getMeasureCompiledFormula(measure: PivotCoreMeasure): RangeCompiledFormula;
|
|
1621
|
+
getMeasureCompiledFormula(pivotId: UID, measure: PivotCoreMeasure): RangeCompiledFormula;
|
|
1622
|
+
getMeasureFullDependencies(pivotId: UID, measure: PivotCoreMeasure): Range[];
|
|
1618
1623
|
private addPivot;
|
|
1619
1624
|
private compileCalculatedMeasures;
|
|
1625
|
+
private computeMeasureFullDependencies;
|
|
1620
1626
|
private insertPivot;
|
|
1621
1627
|
private resizeSheet;
|
|
1622
1628
|
private getPivotCore;
|
package/dist/o_spreadsheet.css
CHANGED
|
@@ -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.1.
|
|
6
|
-
* @date 2026-01-
|
|
7
|
-
* @hash
|
|
5
|
+
* @version 19.1.3
|
|
6
|
+
* @date 2026-01-14T10:03:29.106Z
|
|
7
|
+
* @hash 52a3e52
|
|
8
8
|
*/
|
|
9
9
|
:root {
|
|
10
10
|
--os-gray-100: light-dark(#f9fafb, #1b1d26);
|