@odoo/o-spreadsheet 18.0.70 → 18.0.73
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.esm.js +119 -102
- package/dist/o-spreadsheet.iife.js +119 -102
- package/dist/o-spreadsheet.iife.min.js +216 -216
- package/dist/o_spreadsheet.xml +4 -4
- package/dist/types/components/bottom_bar/bottom_bar_sheet/bottom_bar_sheet.d.ts +1 -0
- package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +1 -1
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_helpers.d.ts +2 -2
- package/dist/types/helpers/pivot/pivot_runtime_definition.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/custom_colors.d.ts +1 -0
- package/package.json +7 -2
- package/dist/o-spreadsheet.cjs.js +0 -66563
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -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 18.0.
|
|
5
|
-
@date 2026-
|
|
6
|
-
@hash
|
|
4
|
+
@version 18.0.73
|
|
5
|
+
@date 2026-07-01T05:00:54.818Z
|
|
6
|
+
@hash 1a9c761
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
t-if="state.pickerOpened"
|
|
304
304
|
anchorRect="colorPickerAnchorRect"
|
|
305
305
|
onColorPicked.bind="onColorPicked"
|
|
306
|
-
currentColor="
|
|
306
|
+
currentColor="this.state.currentPickerColor"
|
|
307
307
|
/>
|
|
308
308
|
</t>
|
|
309
309
|
|
|
@@ -37,6 +37,7 @@ export declare class BottomBarSheet extends Component<Props, SpreadsheetChildEnv
|
|
|
37
37
|
private editionState;
|
|
38
38
|
private DOMFocusableElementStore;
|
|
39
39
|
setup(): void;
|
|
40
|
+
onExternalClick(ev: MouseEvent): void;
|
|
40
41
|
private focusInputAndSelectContent;
|
|
41
42
|
private scrollToSheet;
|
|
42
43
|
onFocusOut(): void;
|
|
@@ -8,10 +8,10 @@ export declare class FindAndReplaceStore extends SpreadsheetStore implements Hig
|
|
|
8
8
|
private allSheetsMatches;
|
|
9
9
|
private activeSheetMatches;
|
|
10
10
|
private specificRangeMatches;
|
|
11
|
+
private selectedMatchPosition;
|
|
11
12
|
private currentSearchRegex;
|
|
12
13
|
private isSearchDirty;
|
|
13
14
|
private initialShowFormulaState;
|
|
14
|
-
private preserveSelectedMatchIndex;
|
|
15
15
|
private irreplaceableMatchCount;
|
|
16
16
|
private notificationStore;
|
|
17
17
|
selectedMatchIndex: number | null;
|
|
@@ -120,7 +120,7 @@ export declare const DEFAULT_WRAPPING_MODE: "overflow";
|
|
|
120
120
|
export declare const DEFAULT_FONT_WEIGHT = "400";
|
|
121
121
|
export declare const DEFAULT_FONT_SIZE: number;
|
|
122
122
|
export declare const HEADER_FONT_SIZE = 11;
|
|
123
|
-
export declare const DEFAULT_FONT = "'Roboto', arial";
|
|
123
|
+
export declare const DEFAULT_FONT = "'Roboto', arial, 'Liberation Sans'";
|
|
124
124
|
export declare const DEFAULT_BORDER_DESC: BorderDescr;
|
|
125
125
|
export declare const DEFAULT_FILTER_BORDER_DESC: BorderDescr;
|
|
126
126
|
export declare const MAX_HISTORY_STEPS = 99;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Registry } from "../../registries/registry";
|
|
2
2
|
import { CellValue, FunctionResultObject, Locale, Matrix, Maybe, Pivot } from "../../types";
|
|
3
|
-
import {
|
|
3
|
+
import { PivotCoreDimension, PivotDimension, PivotDomain, PivotField, PivotTableCell } from "../../types/pivot";
|
|
4
4
|
import { PivotRuntimeDefinition } from "./pivot_runtime_definition";
|
|
5
5
|
export declare const AGGREGATORS: {};
|
|
6
6
|
type AggregatorFN = (args: Matrix<FunctionResultObject>, locale?: Locale) => FunctionResultObject;
|
|
@@ -48,7 +48,7 @@ export declare function createPivotFormula(formulaId: string, cell: PivotTableCe
|
|
|
48
48
|
*/
|
|
49
49
|
export declare function toNormalizedPivotValue(dimension: Pick<PivotDimension, "type" | "displayName" | "granularity">, groupValue: Maybe<CellValue | FunctionResultObject>): CellValue;
|
|
50
50
|
export declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension, "type" | "granularity">): string;
|
|
51
|
-
export declare const pivotNormalizationValueRegistry: Registry<(value: string,
|
|
51
|
+
export declare const pivotNormalizationValueRegistry: Registry<(value: string, dimension: Pick<PivotDimension, "type" | "displayName" | "granularity">) => CellValue>;
|
|
52
52
|
export declare const pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
|
|
53
53
|
export declare function getFieldDisplayName(field: PivotDimension): string;
|
|
54
54
|
export declare function addIndentAndAlignToPivotHeader(pivot: Pivot, domain: PivotDomain, functionResult: FunctionResultObject): FunctionResultObject;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -156,7 +156,7 @@ export declare const registries: {
|
|
|
156
156
|
pivotRegistry: import(".").Registry<import("./helpers/pivot/pivot_registry").PivotRegistryItem>;
|
|
157
157
|
pivotTimeAdapterRegistry: import(".").Registry<import(".").PivotTimeAdapter<import(".").CellValue>>;
|
|
158
158
|
pivotSidePanelRegistry: import(".").Registry<import("./helpers/pivot/pivot_side_panel_registry").PivotRegistryItem>;
|
|
159
|
-
pivotNormalizationValueRegistry: import(".").Registry<(value: string,
|
|
159
|
+
pivotNormalizationValueRegistry: import(".").Registry<(value: string, dimension: Pick<import(".").PivotDimension, "type" | "displayName" | "granularity">) => import(".").CellValue>;
|
|
160
160
|
supportedPivotPositionalFormulaRegistry: import(".").Registry<boolean>;
|
|
161
161
|
pivotToFunctionValueRegistry: import(".").Registry<(value: import(".").CellValue, granularity?: string) => string>;
|
|
162
162
|
migrationStepRegistry: import(".").Registry<import("./migrations/migration_steps").MigrationStep>;
|
|
@@ -18,6 +18,7 @@ export declare class CustomColorsPlugin extends UIPlugin<CustomColorState> {
|
|
|
18
18
|
finalize(): void;
|
|
19
19
|
getCustomColors(): Color[];
|
|
20
20
|
private computeCustomColors;
|
|
21
|
+
private getSheetColors;
|
|
21
22
|
private getColorsFromCells;
|
|
22
23
|
private getFormattingColors;
|
|
23
24
|
private getChartColors;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odoo/o-spreadsheet",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.73",
|
|
4
4
|
"description": "A spreadsheet component",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/o-spreadsheet.cjs.js",
|
|
@@ -35,7 +35,8 @@
|
|
|
35
35
|
"watch:xml": "node tools/bundle_xml/watch_xml_templates.cjs",
|
|
36
36
|
"unzipXlsx": "node tools/bundle_xlsx/unzip_xlsx_demo.cjs",
|
|
37
37
|
"zipXlsx": "node tools/bundle_xlsx/zip_xlsx_demo.cjs",
|
|
38
|
-
"lint": "eslint --fix"
|
|
38
|
+
"lint": "eslint --fix",
|
|
39
|
+
"runbot": "npm run check-formatting && npm run test --"
|
|
39
40
|
},
|
|
40
41
|
"browserslist": [
|
|
41
42
|
"last 1 Chrome versions"
|
|
@@ -122,6 +123,10 @@
|
|
|
122
123
|
"@rolldown/binding-win32-arm64-msvc": "1.0.0",
|
|
123
124
|
"@rolldown/binding-win32-x64-msvc": "1.0.0"
|
|
124
125
|
},
|
|
126
|
+
"engines": {
|
|
127
|
+
"node": ">=24.17.0",
|
|
128
|
+
"npm": ">=11.13.0"
|
|
129
|
+
},
|
|
125
130
|
"prettier": {
|
|
126
131
|
"printWidth": 100,
|
|
127
132
|
"xmlWhitespaceSensitivity": "ignore",
|