@odoo/o-spreadsheet 19.5.0-alpha.5 → 19.5.0-alpha.6
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 +58 -20
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +58 -20
- package/dist/o_spreadsheet.iife.js +58 -20
- package/dist/o_spreadsheet.min.iife.js +213 -213
- package/dist/o_spreadsheet.xml +4 -7
- package/dist/types/components/grid/grid.d.ts +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/plugins/ui_core_views/pivot_ui.d.ts +3 -0
- package/dist/types/plugins/ui_feature/collaborative.d.ts +2 -1
- package/dist/types/store_engine/store_registries.d.ts +4 -0
- 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 19.5.0-alpha.
|
|
5
|
-
@date 2026-07-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.5.0-alpha.6
|
|
5
|
+
@date 2026-07-23T07:49:15.559Z
|
|
6
|
+
@hash 192a921
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -7484,10 +7484,7 @@
|
|
|
7484
7484
|
/>
|
|
7485
7485
|
<canvas t-ref="this.canvasRef" class="os-theme-dependant pe-none"/>
|
|
7486
7486
|
<t t-set="focused" t-value="this.focusedClients"/>
|
|
7487
|
-
<t
|
|
7488
|
-
t-foreach="this.env.model.getters.getClientsToDisplay()"
|
|
7489
|
-
t-as="client"
|
|
7490
|
-
t-key="this.getClientPositionKey(client)">
|
|
7487
|
+
<t t-foreach="this.clientsToDisplay" t-as="client" t-key="this.getClientPositionKey(client)">
|
|
7491
7488
|
<ClientTag
|
|
7492
7489
|
name="client.name"
|
|
7493
7490
|
color="client.color"
|
package/dist/types/index.d.ts
CHANGED
|
@@ -236,6 +236,7 @@ import { Select } from "./components/select/select";
|
|
|
236
236
|
import { ChartRangeDataSourceComponent } from "./components/side_panel/chart/building_blocks/range_data_source/range_data_source";
|
|
237
237
|
import { CalendarButton } from "./components/side_panel/criterion_form/calendar_button/calendar_button";
|
|
238
238
|
import { TopBar } from "./components/top_bar/top_bar";
|
|
239
|
+
import { PositionMap } from "./helpers/cells/position_map";
|
|
239
240
|
import { parseFormat } from "./helpers/format/format_parser";
|
|
240
241
|
import { replaceSymbolInFormula } from "./helpers/formulas";
|
|
241
242
|
import { getFirstPivotFunction, getNumberOfPivotFunctions } from "./helpers/pivot/pivot_composer_helpers";
|
|
@@ -316,6 +317,7 @@ export declare const helpers: {
|
|
|
316
317
|
collapseHierarchicalDisplayName: typeof collapseHierarchicalDisplayName;
|
|
317
318
|
getCanonicalSymbolName: typeof getCanonicalSymbolName;
|
|
318
319
|
fuzzyLookup: typeof fuzzyLookup;
|
|
320
|
+
PositionMap: typeof PositionMap;
|
|
319
321
|
replaceSymbolInFormula: typeof replaceSymbolInFormula;
|
|
320
322
|
isSingleCellReference: typeof isSingleCellReference;
|
|
321
323
|
computeCachedTextDimension: typeof computeCachedTextDimension;
|
|
@@ -427,6 +429,7 @@ export declare const stores: {
|
|
|
427
429
|
ClientFocusStore: typeof ClientFocusStore;
|
|
428
430
|
GridRenderer: typeof GridRenderer;
|
|
429
431
|
ViewportsStore: typeof ViewportsStore;
|
|
432
|
+
globalStores: import(".").Registry<import(".").StoreConstructor<SpreadsheetStore, any[]>>;
|
|
430
433
|
};
|
|
431
434
|
export { getCaretDownSvg, getCaretUpSvg } from "./components/icons/icons";
|
|
432
435
|
export { createAutocompleteArgumentsProvider } from "./functions/autocomplete_arguments_provider";
|
|
@@ -15,9 +15,12 @@ export declare class PivotUIPlugin extends CoreViewPlugin {
|
|
|
15
15
|
private pivots;
|
|
16
16
|
private unusedPivotsInFormulas?;
|
|
17
17
|
private custom;
|
|
18
|
+
private pivotPositionCache;
|
|
19
|
+
private shouldInvalidateCache;
|
|
18
20
|
constructor(config: CoreViewPluginConfig);
|
|
19
21
|
beforeHandle(cmd: Command): void;
|
|
20
22
|
handle(cmd: Command): void;
|
|
23
|
+
finalize(): void;
|
|
21
24
|
/**
|
|
22
25
|
* Get the id of the first pivot in the formula at the given position. Returns undefined if there
|
|
23
26
|
* is no pivot at this position
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UID } from "../..";
|
|
1
2
|
import { Client, ClientId, ClientWithColor } from "../../types/collaborative/session";
|
|
2
3
|
import { GridRenderingContext } from "../../types/rendering";
|
|
3
4
|
import { UIPlugin, UIPluginConfig } from "../ui_plugin";
|
|
@@ -18,7 +19,7 @@ export declare class CollaborativePlugin extends UIPlugin {
|
|
|
18
19
|
* Get the list of others connected clients which are present in the same sheet
|
|
19
20
|
* and with a valid position
|
|
20
21
|
*/
|
|
21
|
-
getClientsToDisplay(): ClientToDisplay[];
|
|
22
|
+
getClientsToDisplay(sheetId: UID): ClientToDisplay[];
|
|
22
23
|
drawLayer(renderingContext: GridRenderingContext): void;
|
|
23
24
|
}
|
|
24
25
|
export {};
|