@odoo/o-spreadsheet 19.3.5 → 19.3.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 +86 -104
- package/dist/o_spreadsheet.css +3 -3
- package/dist/o_spreadsheet.esm.js +86 -104
- package/dist/o_spreadsheet.iife.js +86 -104
- package/dist/o_spreadsheet.min.iife.js +275 -275
- package/dist/o_spreadsheet.xml +5 -4
- package/dist/types/functions/function_registry.d.ts +1 -1
- package/dist/types/helpers/figures/charts/chart_js_extension.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_registry.d.ts +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/migrations/migration_steps.d.ts +1 -1
- package/dist/types/plugins/index.d.ts +1 -1
- package/dist/types/plugins/ui_feature/table_computed_style.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/registry.d.ts +0 -10
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.3.
|
|
5
|
-
@date 2026-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.3.6
|
|
5
|
+
@date 2026-06-06T06:24:23.733Z
|
|
6
|
+
@hash 0fe939b
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -5151,6 +5151,7 @@
|
|
|
5151
5151
|
t-on-wheel.stop=""
|
|
5152
5152
|
t-on-pointerdown.prevent=""
|
|
5153
5153
|
t-on-click.stop="">
|
|
5154
|
+
<t t-set="shouldDisplayIcons" t-value="this.childrenHaveIcon"/>
|
|
5154
5155
|
<t t-foreach="props.menuItems" t-as="menuItem" t-key="menuItem_index">
|
|
5155
5156
|
<div t-if="menuItem === 'separator'" class="o-separator border-bottom"/>
|
|
5156
5157
|
<t t-else="">
|
|
@@ -5170,7 +5171,7 @@
|
|
|
5170
5171
|
t-att-style="getColor(menuItem)">
|
|
5171
5172
|
<div class="d-flex w-100">
|
|
5172
5173
|
<div
|
|
5173
|
-
t-if="
|
|
5174
|
+
t-if="shouldDisplayIcons"
|
|
5174
5175
|
class="o-menu-item-icon d-flex align-items-center flex-shrink-0"
|
|
5175
5176
|
t-att-style="getIconColor(menuItem)">
|
|
5176
5177
|
<t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Registry } from "../registry";
|
|
1
|
+
import { Registry } from "../registries/registry";
|
|
2
2
|
import { AddFunctionDescription, ComputeFunction, FunctionDescription } from "../types/functions";
|
|
3
3
|
import { FunctionResultObject, Matrix } from "../types/misc";
|
|
4
4
|
export declare class FunctionRegistry extends Registry<FunctionDescription> {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -134,11 +134,11 @@ export declare const registries: {
|
|
|
134
134
|
colMenuRegistry: import("./registries/menu_items_registry").MenuItemRegistry;
|
|
135
135
|
errorTypes: Set<string>;
|
|
136
136
|
functionRegistry: import(".").FunctionRegistry;
|
|
137
|
-
featurePluginRegistry: import("
|
|
137
|
+
featurePluginRegistry: import(".").Registry<import("./plugins/ui_plugin").UIPluginConstructor>;
|
|
138
138
|
iconsOnCellRegistry: import(".").Registry<(getters: import(".").Getters, position: import(".").CellPosition) => import("./registries/icons_on_cell_registry").GridIcon | undefined>;
|
|
139
|
-
statefulUIPluginRegistry: import("
|
|
140
|
-
coreViewsPluginRegistry: import("
|
|
141
|
-
corePluginRegistry: import("
|
|
139
|
+
statefulUIPluginRegistry: import(".").Registry<import("./plugins/ui_plugin").UIPluginConstructor>;
|
|
140
|
+
coreViewsPluginRegistry: import(".").Registry<import("./plugins/core_view_plugin").CoreViewPluginConstructor>;
|
|
141
|
+
corePluginRegistry: import(".").Registry<import("./plugins/core_plugin").CorePluginConstructor>;
|
|
142
142
|
rowMenuRegistry: import("./registries/menu_items_registry").MenuItemRegistry;
|
|
143
143
|
sidePanelRegistry: import(".").Registry<import("./registries/side_panel_registry").SidePanelContent>;
|
|
144
144
|
figureRegistry: import(".").Registry<import("./registries/figures_registry").FigureContent>;
|
|
@@ -178,14 +178,14 @@ export declare const registries: {
|
|
|
178
178
|
figureHandlers: import(".").Registry<typeof import(".").AbstractFigureClipboardHandler>;
|
|
179
179
|
cellHandlers: import(".").Registry<typeof import(".").AbstractCellClipboardHandler>;
|
|
180
180
|
};
|
|
181
|
-
pivotRegistry: import("
|
|
181
|
+
pivotRegistry: import(".").Registry<import("./helpers/pivot/pivot_registry").PivotRegistryItem>;
|
|
182
182
|
pivotTimeAdapterRegistry: import(".").Registry<import(".").PivotTimeAdapter<import(".").CellValue>>;
|
|
183
183
|
pivotSidePanelRegistry: import(".").Registry<import("./helpers/pivot/pivot_side_panel_registry").PivotRegistryItem>;
|
|
184
184
|
pivotNormalizationValueRegistry: import(".").Registry<(value: string, granularity?: import(".").Granularity | string) => import(".").CellValue>;
|
|
185
185
|
supportedPivotPositionalFormulaRegistry: import(".").Registry<boolean>;
|
|
186
186
|
pivotToFunctionValueRegistry: import(".").Registry<(value: import(".").CellValue, granularity?: string) => string>;
|
|
187
|
-
migrationStepRegistry: import("
|
|
188
|
-
chartJsExtensionRegistry: import("
|
|
187
|
+
migrationStepRegistry: import(".").Registry<import("./migrations/migration_steps").MigrationStep>;
|
|
188
|
+
chartJsExtensionRegistry: import(".").Registry<{
|
|
189
189
|
register: (chart: import("./types/chart/chartjs").GlobalChart) => void;
|
|
190
190
|
unregister: (chart: import("./types/chart/chartjs").GlobalChart) => void;
|
|
191
191
|
}>;
|
|
@@ -21,7 +21,7 @@ export declare class TableComputedStylePlugin extends UIPlugin {
|
|
|
21
21
|
*/
|
|
22
22
|
private getTableMapping;
|
|
23
23
|
}
|
|
24
|
-
declare const invalidateTableStyleCommands: readonly ["HIDE_COLUMNS_ROWS", "UNHIDE_COLUMNS_ROWS", "UNFOLD_HEADER_GROUP", "UNGROUP_HEADERS", "FOLD_HEADER_GROUP", "FOLD_ALL_HEADER_GROUPS", "UNFOLD_ALL_HEADER_GROUPS", "FOLD_HEADER_GROUPS_IN_ZONE", "UNFOLD_HEADER_GROUPS_IN_ZONE", "CREATE_TABLE", "UPDATE_TABLE", "UPDATE_FILTER", "REMOVE_TABLE", "RESIZE_TABLE", "CREATE_TABLE_STYLE", "REMOVE_TABLE_STYLE"];
|
|
24
|
+
declare const invalidateTableStyleCommands: readonly ["HIDE_COLUMNS_ROWS", "UNHIDE_COLUMNS_ROWS", "UNFOLD_HEADER_GROUP", "UNGROUP_HEADERS", "FOLD_HEADER_GROUP", "FOLD_ALL_HEADER_GROUPS", "UNFOLD_ALL_HEADER_GROUPS", "FOLD_HEADER_GROUPS_IN_ZONE", "UNFOLD_HEADER_GROUPS_IN_ZONE", "CREATE_TABLE", "UPDATE_TABLE", "UPDATE_FILTER", "REMOVE_TABLE", "RESIZE_TABLE", "CREATE_TABLE_STYLE", "REMOVE_TABLE_STYLE", "DELETE_CONTENT"];
|
|
25
25
|
export declare function doesCommandInvalidatesTableStyle(cmd: Command): cmd is {
|
|
26
26
|
type: (typeof invalidateTableStyleCommands)[number];
|
|
27
27
|
} & Command;
|
package/package.json
CHANGED
package/dist/types/registry.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare class Registry<T> {
|
|
2
|
-
content: Record<string, T>;
|
|
3
|
-
add(key: string, value: T): this;
|
|
4
|
-
replace(key: string, value: T): this;
|
|
5
|
-
get(key: string): T;
|
|
6
|
-
contains(key: string): boolean;
|
|
7
|
-
getAll(): T[];
|
|
8
|
-
getKeys(): string[];
|
|
9
|
-
remove(key: string): void;
|
|
10
|
-
}
|