@odoo/o-spreadsheet 18.0.82 → 18.0.84
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 +393 -327
- package/dist/o-spreadsheet.iife.js +393 -327
- package/dist/o-spreadsheet.iife.min.js +490 -490
- package/dist/o_spreadsheet.xml +4 -5
- package/dist/types/helpers/data_normalization.d.ts +5 -1
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
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.84
|
|
5
|
+
@date 2026-10-14T06:49:39.302Z
|
|
6
|
+
@hash 56a1fca
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ActionButton">
|
|
@@ -4211,7 +4211,7 @@
|
|
|
4211
4211
|
<t t-call="o-spreadsheet-Icon.STRIKE"/>
|
|
4212
4212
|
</div>
|
|
4213
4213
|
<ColorPickerWidget
|
|
4214
|
-
currentColor="rule.style.textColor
|
|
4214
|
+
currentColor="rule.style.textColor"
|
|
4215
4215
|
toggleColorPicker="(ev) => this.toggleMenu('cellIsRule-textColor', ev)"
|
|
4216
4216
|
showColorPicker="state.openedMenu === 'cellIsRule-textColor'"
|
|
4217
4217
|
onColorPicked="(color) => this.setColor('textColor', color)"
|
|
@@ -5362,7 +5362,6 @@
|
|
|
5362
5362
|
<t t-set-slot="title">Range</t>
|
|
5363
5363
|
<SelectionInput
|
|
5364
5364
|
ranges="ranges"
|
|
5365
|
-
required="true"
|
|
5366
5365
|
isInvalid="shouldDisplayInvalidRangeError"
|
|
5367
5366
|
hasSingleRange="true"
|
|
5368
5367
|
onSelectionChanged="(ranges) => this.onSelectionChanged(ranges)"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Position } from "../types";
|
|
1
|
+
import { Border, CellPosition, Format, Position, Style, WorkbookData } from "../types";
|
|
2
2
|
type ItemsDic<T> = {
|
|
3
3
|
[id: number]: T;
|
|
4
4
|
};
|
|
@@ -11,4 +11,8 @@ export declare function groupItemIdsByZones(positionsByItemId: {
|
|
|
11
11
|
[id: number]: Position[];
|
|
12
12
|
}): Record<string, number>;
|
|
13
13
|
export declare function getCanonicalRepresentation(item: any): string;
|
|
14
|
+
/**
|
|
15
|
+
* This adds a border/style/format to the cell position in the workbook data, updating the zonified structure accordingly.
|
|
16
|
+
*/
|
|
17
|
+
export declare function addStyleToWorkbookData(workbookData: WorkbookData, key: "borders" | "formats" | "styles", position: CellPosition, newItem: Border | Format | Style): void;
|
|
14
18
|
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ import { getFunctionsFromTokens } from "./formulas";
|
|
|
43
43
|
import { isEvaluationError, toBoolean, toJsDate, toNumber, toString } from "./functions/helpers";
|
|
44
44
|
import { FunctionRegistry, arg } from "./functions/index";
|
|
45
45
|
import { chartFontColor, formatTickValue, getChartAxisTitleRuntime, getDefaultChartJsRuntime, getFillingMode, getTrendDatasetForBarChart } from "./helpers/figures/charts";
|
|
46
|
-
import { ColorGenerator, UuidGenerator, colorToRGBA, computeTextWidth, createCurrencyFormat, deepCopy, deepEquals, expandZoneOnInsertion, formatValue, isDateTime, isDefined, isInside, isMarkdownLink, isNumber, lazy, lettersToNumber, markdownLink, mergeContiguousZones, numberToLetters, overlap, parseMarkdownLink, positionToZone, reduceZoneOnDeletion, rgbaToHex, sanitizeSheetName, splitReference, toCartesian, toUnboundedZone, toXC, toZone, union, unquote } from "./helpers/index";
|
|
46
|
+
import { ColorGenerator, UuidGenerator, addStyleToWorkbookData, colorToRGBA, computeTextWidth, createCurrencyFormat, deepCopy, deepEquals, expandZoneOnInsertion, formatValue, isDateTime, isDefined, isInside, isMarkdownLink, isNumber, lazy, lettersToNumber, markdownLink, mergeContiguousZones, numberToLetters, overlap, parseMarkdownLink, positionToZone, reduceZoneOnDeletion, rgbaToHex, sanitizeSheetName, splitReference, toCartesian, toUnboundedZone, toXC, toZone, union, unquote } from "./helpers/index";
|
|
47
47
|
import { openLink, urlRepresentation } from "./helpers/links";
|
|
48
48
|
import { getFirstPivotFunction, getNumberOfPivotFunctions, insertTokenAfterArgSeparator, insertTokenAfterLeftParenthesis, makeFieldProposal } from "./helpers/pivot/pivot_composer_helpers";
|
|
49
49
|
import { CellComposerStore } from "./components/composer/composer/cell_composer_store";
|
|
@@ -204,6 +204,7 @@ export declare const helpers: {
|
|
|
204
204
|
overlap: typeof overlap;
|
|
205
205
|
union: typeof union;
|
|
206
206
|
isInside: typeof isInside;
|
|
207
|
+
addStyleToWorkbookData: typeof addStyleToWorkbookData;
|
|
207
208
|
deepCopy: typeof deepCopy;
|
|
208
209
|
expandZoneOnInsertion: typeof expandZoneOnInsertion;
|
|
209
210
|
reduceZoneOnDeletion: typeof reduceZoneOnDeletion;
|