@odoo/o-spreadsheet 17.2.0-alpha.8 → 17.2.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.
- package/dist/o-spreadsheet.cjs.js +415 -286
- package/dist/o-spreadsheet.d.ts +5 -3
- package/dist/o-spreadsheet.esm.js +415 -286
- package/dist/o-spreadsheet.iife.js +415 -286
- package/dist/o-spreadsheet.iife.min.js +333 -328
- package/dist/o_spreadsheet.xml +29 -20
- package/package.json +2 -2
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ declare class DependencyContainer {
|
|
|
76
76
|
*/
|
|
77
77
|
get<T>(Store: StoreConstructor<T>): T;
|
|
78
78
|
instantiate<T>(Store: StoreConstructor<T>, ...args: StoreParams<StoreConstructor<T>>): T;
|
|
79
|
+
resetStores(): void;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
/**
|
|
@@ -3030,7 +3031,7 @@ interface TableState {
|
|
|
3030
3031
|
tables: Record<UID, Record<TableId, Table | undefined>>;
|
|
3031
3032
|
}
|
|
3032
3033
|
declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
3033
|
-
static getters: readonly ["
|
|
3034
|
+
static getters: readonly ["getFilter", "getFilters", "getTable", "getTables", "getTablesInZone", "getTablesOverlappingZones", "getFilterId", "getFilterHeaders", "isFilterHeader"];
|
|
3034
3035
|
readonly tables: Record<UID, Record<TableId, Table | undefined>>;
|
|
3035
3036
|
adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
|
|
3036
3037
|
allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
|
|
@@ -3043,7 +3044,6 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
|
|
|
3043
3044
|
/** Get the filter tables that are fully inside the given zone */
|
|
3044
3045
|
getTablesInZone(sheetId: UID, zone: Zone): Table[];
|
|
3045
3046
|
getTablesOverlappingZones(sheetId: UID, zones: Zone[]): Table[];
|
|
3046
|
-
doesZonesContainFilter(sheetId: UID, zones: Zone[]): boolean;
|
|
3047
3047
|
getFilterHeaders(sheetId: UID): Position$1[];
|
|
3048
3048
|
isFilterHeader({ sheetId, col, row }: CellPosition): boolean;
|
|
3049
3049
|
/** Extend a table down one row */
|
|
@@ -4581,6 +4581,7 @@ type Getters = {
|
|
|
4581
4581
|
|
|
4582
4582
|
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
4583
4583
|
interface ArgDefinition {
|
|
4584
|
+
acceptMatrix?: boolean;
|
|
4584
4585
|
repeating?: boolean;
|
|
4585
4586
|
optional?: boolean;
|
|
4586
4587
|
description: string;
|
|
@@ -6646,7 +6647,7 @@ interface Props$z {
|
|
|
6646
6647
|
interface AssistantState {
|
|
6647
6648
|
allowCellSelectionBehind: boolean;
|
|
6648
6649
|
}
|
|
6649
|
-
declare class FunctionDescriptionProvider extends Component<Props$z> {
|
|
6650
|
+
declare class FunctionDescriptionProvider extends Component<Props$z, SpreadsheetChildEnv> {
|
|
6650
6651
|
static template: string;
|
|
6651
6652
|
static props: {
|
|
6652
6653
|
functionName: StringConstructor;
|
|
@@ -6658,6 +6659,7 @@ declare class FunctionDescriptionProvider extends Component<Props$z> {
|
|
|
6658
6659
|
setup(): void;
|
|
6659
6660
|
getContext(): Props$z;
|
|
6660
6661
|
onMouseMove(): void;
|
|
6662
|
+
get formulaArgSeparator(): string;
|
|
6661
6663
|
}
|
|
6662
6664
|
|
|
6663
6665
|
type HtmlContent = {
|