@odoo/o-spreadsheet 19.5.0-alpha.13 → 19.5.0-alpha.15
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 +2849 -2625
- package/dist/o_spreadsheet.css +17 -6
- package/dist/o_spreadsheet.esm.js +2845 -2625
- package/dist/o_spreadsheet.iife.js +2848 -2624
- package/dist/o_spreadsheet.min.iife.js +299 -299
- package/dist/o_spreadsheet.xml +21 -13
- package/dist/types/actions/menu_items_actions.d.ts +3 -2
- package/dist/types/collaborative/command_squisher.d.ts +1 -1
- package/dist/types/collaborative/session.d.ts +3 -1
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chartjs.d.ts +1 -0
- package/dist/types/components/figures/figure/figure.d.ts +1 -0
- package/dist/types/components/figures/figure_container/figure_container.d.ts +6 -2
- package/dist/types/components/full_screen_figure/full_screen_figure.d.ts +12 -1
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +1 -0
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +2 -0
- package/dist/types/components/helpers/figure_drag_helper.d.ts +3 -3
- package/dist/types/components/helpers/figure_snap_helper.d.ts +8 -3
- package/dist/types/components/helpers/zoom.d.ts +0 -10
- package/dist/types/components/link/link_editor/link_editor.d.ts +1 -0
- package/dist/types/components/side_panel/components/radio_selection/radio_selection.d.ts +1 -1
- package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +1 -0
- package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +2 -1
- package/dist/types/components/side_panel/table_panel/table_panel.d.ts +6 -0
- package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +2 -0
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +1 -0
- package/dist/types/components/top_bar/color_editor/color_editor.d.ts +1 -1
- package/dist/types/constants.d.ts +2 -2
- package/dist/types/formulas/compiler.d.ts +1 -1
- package/dist/types/functions/helper_lookup.d.ts +1 -1
- package/dist/types/helpers/cells/cell_evaluation.d.ts +1 -1
- package/dist/types/helpers/color_themes.d.ts +2 -0
- package/dist/types/helpers/figures/chart.d.ts +5 -5
- package/dist/types/helpers/figures/charts/chart_common.d.ts +3 -3
- package/dist/types/helpers/figures/charts/chart_data_sources.d.ts +3 -3
- package/dist/types/helpers/figures/charts/chart_ui_common.d.ts +3 -3
- package/dist/types/helpers/figures/charts/runtime/chart_data_extractor.d.ts +13 -12
- package/dist/types/helpers/figures/charts/runtime/chartjs_title.d.ts +2 -2
- package/dist/types/helpers/filter_helpers.d.ts +2 -2
- package/dist/types/helpers/links.d.ts +1 -1
- package/dist/types/helpers/owl3_helpers.d.ts +4 -0
- package/dist/types/helpers/pivot/pivot_composer_helpers.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_presentation.d.ts +2 -2
- package/dist/types/helpers/pivot/pivot_registry.d.ts +4 -5
- package/dist/types/helpers/pivot/spreadsheet_pivot/runtime_definition_spreadsheet_pivot.d.ts +2 -2
- package/dist/types/helpers/range.d.ts +1 -1
- package/dist/types/index.d.ts +7 -8
- package/dist/types/model.d.ts +17 -10
- package/dist/types/owl3_compatibility_layer.d.ts +1 -14
- package/dist/types/plugins/core/range.d.ts +1 -1
- package/dist/types/plugins/core/squisher.d.ts +4 -1
- package/dist/types/plugins/core/tables.d.ts +2 -1
- package/dist/types/plugins/core/unsquisher.d.ts +1 -1
- package/dist/types/plugins/core_plugin.d.ts +1 -1
- package/dist/types/plugins/{ui_stateful → evaluation}/cell_computed_style.d.ts +4 -4
- package/dist/types/plugins/{ui_core_views/cell_evaluation/evaluation_plugin.d.ts → evaluation/cell_evaluation/cell_evaluation_plugin.d.ts} +7 -7
- package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/compilation_parameters.d.ts +2 -2
- package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/evaluator.d.ts +2 -2
- package/dist/types/plugins/{ui_core_views → evaluation}/custom_colors.d.ts +5 -5
- package/dist/types/plugins/{ui_core_views → evaluation}/dynamic_tables.d.ts +4 -4
- package/dist/types/plugins/{ui_feature → evaluation}/dynamic_translate.d.ts +2 -2
- package/dist/types/plugins/evaluation/evaluation_chart.d.ts +27 -0
- package/dist/types/plugins/{ui_core_views → evaluation}/evaluation_conditional_format.d.ts +4 -4
- package/dist/types/plugins/{ui_core_views → evaluation}/evaluation_data_validation.d.ts +4 -4
- package/dist/types/plugins/{ui_stateful → evaluation}/filter_evaluation.d.ts +5 -5
- package/dist/types/plugins/{ui_core_views → evaluation}/fingerprint.d.ts +2 -2
- package/dist/types/plugins/evaluation/formula_tracker.d.ts +8 -0
- package/dist/types/plugins/evaluation/geo_loader.d.ts +12 -0
- package/dist/types/plugins/{ui_core_views → evaluation}/header_sizes_ui.d.ts +5 -5
- package/dist/types/plugins/{ui_stateful/header_visibility_ui.d.ts → evaluation/header_visibility_evaluation.d.ts} +2 -2
- package/dist/types/plugins/evaluation/pivot_presence_plugin.d.ts +12 -0
- package/dist/types/plugins/{ui_core_views → evaluation}/pivot_ui.d.ts +6 -6
- package/dist/types/plugins/evaluation/subtotal_evaluation.d.ts +5 -0
- package/dist/types/plugins/{ui_stateful → evaluation}/table_computed_style.d.ts +7 -7
- package/dist/types/plugins/evaluation_plugin.d.ts +31 -0
- package/dist/types/plugins/plugin_registries.d.ts +11 -5
- package/dist/types/plugins/ui_feature/chart_ui.d.ts +6 -0
- package/dist/types/plugins/ui_feature/color_theme.d.ts +0 -3
- package/dist/types/plugins/ui_feature/geo_features.d.ts +1 -6
- package/dist/types/plugins/{ui_core_views → ui_stateful}/cell_icon_plugin.d.ts +2 -2
- package/dist/types/registries/chart_data_source_registry.d.ts +4 -5
- package/dist/types/registries/chart_registry.d.ts +4 -5
- package/dist/types/registries/criterion_registry.d.ts +4 -4
- package/dist/types/registries/evaluation_registry.d.ts +2 -2
- package/dist/types/registries/figures_registry.d.ts +1 -1
- package/dist/types/stores/zoom_store.d.ts +15 -2
- package/dist/types/types/collaborative/transport_service.d.ts +1 -0
- package/dist/types/types/commands.d.ts +32 -17
- package/dist/types/types/functions.d.ts +2 -2
- package/dist/types/types/getters.d.ts +102 -20
- package/dist/types/types/model.d.ts +2 -1
- package/dist/types/types/rendering.d.ts +2 -0
- package/package.json +2 -2
- package/dist/types/plugins/core_view_plugin.d.ts +0 -29
- package/dist/types/plugins/ui_core_views/evaluation_chart.d.ts +0 -26
- package/dist/types/plugins/ui_core_views/formula_tracker.d.ts +0 -8
- package/dist/types/plugins/ui_feature/pivot_presence_plugin.d.ts +0 -11
- package/dist/types/plugins/ui_feature/subtotal_evaluation.d.ts +0 -5
- package/dist/types/types/core_getters.d.ts +0 -77
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/binary_grid.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/formula_dependency_graph.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/interval_tree.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/position_set.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/r_tree.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/range_set.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/spreading_relation.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/zone_set.d.ts +0 -0
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { BordersPlugin } from "../plugins/core/borders";
|
|
2
|
-
import { CarouselPlugin } from "../plugins/core/carousel";
|
|
3
|
-
import { CellPlugin } from "../plugins/core/cell";
|
|
4
|
-
import { ChartPlugin } from "../plugins/core/chart";
|
|
5
|
-
import { ConditionalFormatPlugin } from "../plugins/core/conditional_format";
|
|
6
|
-
import { DataValidationPlugin } from "../plugins/core/data_validation";
|
|
7
|
-
import { DefaultPlugin } from "../plugins/core/default";
|
|
8
|
-
import { FigurePlugin } from "../plugins/core/figures";
|
|
9
|
-
import { FormulaProviderAggregator } from "../plugins/core/formulas_provider";
|
|
10
|
-
import { HeaderGroupingPlugin } from "../plugins/core/header_grouping";
|
|
11
|
-
import { HeaderSizePlugin } from "../plugins/core/header_size";
|
|
12
|
-
import { HeaderVisibilityPlugin } from "../plugins/core/header_visibility";
|
|
13
|
-
import { ImagePlugin } from "../plugins/core/image";
|
|
14
|
-
import { MergePlugin } from "../plugins/core/merge";
|
|
15
|
-
import { NamedRangesPlugin } from "../plugins/core/named_range";
|
|
16
|
-
import { PivotCorePlugin } from "../plugins/core/pivot";
|
|
17
|
-
import { RangeAdapterPlugin } from "../plugins/core/range";
|
|
18
|
-
import { SettingsPlugin } from "../plugins/core/settings";
|
|
19
|
-
import { SheetPlugin } from "../plugins/core/sheet";
|
|
20
|
-
import { TablePlugin } from "../plugins/core/tables";
|
|
21
|
-
/**
|
|
22
|
-
* Union of all getter names of a plugin.
|
|
23
|
-
*
|
|
24
|
-
* e.g. With the following plugin
|
|
25
|
-
* ```ts
|
|
26
|
-
* class MyPlugin {
|
|
27
|
-
* static getters = [
|
|
28
|
-
* "getCell",
|
|
29
|
-
* "getCellValue",
|
|
30
|
-
* ] as const;
|
|
31
|
-
* getCell() { ... }
|
|
32
|
-
* getCellValue() { ... }
|
|
33
|
-
* }
|
|
34
|
-
* ```
|
|
35
|
-
* `type Names = GetterNames<typeof MyPlugin>` is equivalent to
|
|
36
|
-
* `type Names = "getCell" | "getCellValue"`
|
|
37
|
-
*
|
|
38
|
-
* Some technical comments:
|
|
39
|
-
*
|
|
40
|
-
* - Since the getter names are in a static array, the type of the plugin must
|
|
41
|
-
* be given, not the class itself.
|
|
42
|
-
*
|
|
43
|
-
* - we need to index the getters array with every index:
|
|
44
|
-
* `Plugin["getters"][0] | Plugin["getters"][1] | Plugin["getters"][2] | ...`
|
|
45
|
-
* which is equivalent to `Plugin["getters"][0 | 1 | 2 | ...]`.
|
|
46
|
-
* This can be generalized because the union of all indices `0 | 1 | 2 | 3 | ...`
|
|
47
|
-
* is actually the type `number`.
|
|
48
|
-
*/
|
|
49
|
-
type GetterNames<Plugin extends {
|
|
50
|
-
getters: readonly string[];
|
|
51
|
-
}> = Plugin["getters"][number];
|
|
52
|
-
/**
|
|
53
|
-
* Extract getter methods from a plugin, based on its `getters` static array.
|
|
54
|
-
* @example
|
|
55
|
-
* class MyPlugin {
|
|
56
|
-
* static getters = [
|
|
57
|
-
* "getCell",
|
|
58
|
-
* "getCellValue",
|
|
59
|
-
* ] as const;
|
|
60
|
-
* getCell() { ... }
|
|
61
|
-
* getCellValue() { ... }
|
|
62
|
-
* }
|
|
63
|
-
* type MyPluginGetters = PluginGetters<typeof MyPlugin>;
|
|
64
|
-
* // MyPluginGetters is equivalent to:
|
|
65
|
-
* // {
|
|
66
|
-
* // getCell: () => ...,
|
|
67
|
-
* // getCellValue: () => ...,
|
|
68
|
-
* // }
|
|
69
|
-
*/
|
|
70
|
-
export type PluginGetters<Plugin extends {
|
|
71
|
-
new (...args: unknown[]): any;
|
|
72
|
-
getters: readonly string[];
|
|
73
|
-
}> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
|
|
74
|
-
type RangeAdapterGetters = Pick<RangeAdapterPlugin, GetterNames<typeof RangeAdapterPlugin>>;
|
|
75
|
-
type FormulasGetters = Pick<FormulaProviderAggregator, GetterNames<typeof FormulaProviderAggregator>>;
|
|
76
|
-
export type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof DefaultPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & FormulasGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof NamedRangesPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
77
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/spreading_relation.d.ts
RENAMED
|
File without changes
|
|
File without changes
|