@odoo/o-spreadsheet 18.0.17 → 18.0.19
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.cjs.js +17971 -17751
- package/dist/o-spreadsheet.d.ts +15 -4
- package/dist/o-spreadsheet.esm.js +17971 -17751
- package/dist/o-spreadsheet.iife.js +17953 -17733
- package/dist/o-spreadsheet.iife.min.js +413 -392
- package/dist/o_spreadsheet.xml +55 -37
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1033,6 +1033,9 @@ interface ExcelSheetData extends Omit<SheetData, "figureTables" | "cols" | "rows
|
|
|
1033
1033
|
cells: {
|
|
1034
1034
|
[key: string]: ExcelCellData | undefined;
|
|
1035
1035
|
};
|
|
1036
|
+
formulaSpillRanges: {
|
|
1037
|
+
[xc: string]: string;
|
|
1038
|
+
};
|
|
1036
1039
|
charts: FigureData<ExcelChartDefinition>[];
|
|
1037
1040
|
images: FigureData<Image$1>[];
|
|
1038
1041
|
tables: ExcelTableData[];
|
|
@@ -7738,7 +7741,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
|
|
|
7738
7741
|
*/
|
|
7739
7742
|
interface AutofillRule {
|
|
7740
7743
|
condition: (cell: Cell, cells: (Cell | undefined)[]) => boolean;
|
|
7741
|
-
generateRule: (cell: Cell, cells: (Cell | undefined)[]) => AutofillModifier;
|
|
7744
|
+
generateRule: (cell: Cell, cells: (Cell | undefined)[], direction: DIRECTION) => AutofillModifier;
|
|
7742
7745
|
sequence: number;
|
|
7743
7746
|
}
|
|
7744
7747
|
|
|
@@ -8111,7 +8114,9 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
|
|
|
8111
8114
|
};
|
|
8112
8115
|
private compositionActive;
|
|
8113
8116
|
private spreadsheetRect;
|
|
8117
|
+
get assistantStyleProperties(): CSSProperties;
|
|
8114
8118
|
get assistantStyle(): string;
|
|
8119
|
+
get assistantContainerStyle(): string;
|
|
8115
8120
|
shouldProcessInputEvents: boolean;
|
|
8116
8121
|
tokens: EnrichedToken[];
|
|
8117
8122
|
keyMapping: {
|
|
@@ -8206,11 +8211,12 @@ interface ComposerStoreInterface {
|
|
|
8206
8211
|
* We declare the providers in the registry as an object (rather than a class)
|
|
8207
8212
|
* to allow a type-safe way to declare the provider.
|
|
8208
8213
|
* We still want to be able to use `this` for the getters and dispatch for simplicity.
|
|
8209
|
-
* Binding happens at runtime in the
|
|
8214
|
+
* Binding happens at runtime in the composer store.
|
|
8210
8215
|
*/
|
|
8211
8216
|
interface AutoCompleteProviderDefinition {
|
|
8212
8217
|
sequence?: number;
|
|
8213
8218
|
autoSelectFirstProposal?: boolean;
|
|
8219
|
+
displayAllOnInitialContent?: boolean;
|
|
8214
8220
|
maxDisplayedProposals?: number;
|
|
8215
8221
|
getProposals(this: {
|
|
8216
8222
|
composer: ComposerStoreInterface;
|
|
@@ -8952,6 +8958,7 @@ declare class ColResizer extends AbstractResizer {
|
|
|
8952
8958
|
static template: string;
|
|
8953
8959
|
private colResizerRef;
|
|
8954
8960
|
setup(): void;
|
|
8961
|
+
get sheetId(): UID;
|
|
8955
8962
|
_getEvOffset(ev: MouseEvent): Pixel;
|
|
8956
8963
|
_getViewportOffset(): Pixel;
|
|
8957
8964
|
_getClientPosition(ev: MouseEvent): Pixel;
|
|
@@ -8980,6 +8987,7 @@ declare class RowResizer extends AbstractResizer {
|
|
|
8980
8987
|
static template: string;
|
|
8981
8988
|
setup(): void;
|
|
8982
8989
|
private rowResizerRef;
|
|
8990
|
+
get sheetId(): UID;
|
|
8983
8991
|
_getEvOffset(ev: MouseEvent): Pixel;
|
|
8984
8992
|
_getViewportOffset(): Pixel;
|
|
8985
8993
|
_getClientPosition(ev: MouseEvent): Pixel;
|
|
@@ -9889,8 +9897,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
9889
9897
|
applyUpdate(): void;
|
|
9890
9898
|
discardPendingUpdate(): void;
|
|
9891
9899
|
update(definitionUpdate: Partial<PivotCoreDefinition>): void;
|
|
9892
|
-
|
|
9893
|
-
|
|
9900
|
+
/**
|
|
9901
|
+
* @returns true if the updated pivot is visible in the viewport only as a
|
|
9902
|
+
* static pivot and not as a dynamic pivot
|
|
9903
|
+
*/
|
|
9904
|
+
private isUpdatedPivotVisibleInViewportOnlyAsStaticPivot;
|
|
9894
9905
|
private addDefaultDateTimeGranularity;
|
|
9895
9906
|
private getUnusedGranularities;
|
|
9896
9907
|
}
|