@odoo/o-spreadsheet 19.3.3 → 19.4.0-alpha.5
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 +26034 -24992
- package/dist/o_spreadsheet.css +46 -15
- package/dist/o_spreadsheet.esm.js +26002 -24993
- package/dist/o_spreadsheet.iife.js +26797 -25755
- package/dist/o_spreadsheet.min.iife.js +279 -272
- package/dist/o_spreadsheet.xml +270 -30
- package/dist/types/actions/action.d.ts +1 -1
- package/dist/types/actions/format_actions.d.ts +2 -1
- package/dist/types/actions/menu_items_actions.d.ts +2 -1
- package/dist/types/clipboard_handlers/borders_clipboard.d.ts +2 -1
- package/dist/types/clipboard_handlers/carousel_clipboard.d.ts +4 -1
- package/dist/types/clipboard_handlers/cell_clipboard.d.ts +3 -1
- package/dist/types/clipboard_handlers/chart_clipboard.d.ts +4 -1
- package/dist/types/clipboard_handlers/conditional_format_clipboard.d.ts +3 -2
- package/dist/types/clipboard_handlers/data_validation_clipboard.d.ts +3 -2
- package/dist/types/clipboard_handlers/image_clipboard.d.ts +4 -1
- package/dist/types/clipboard_handlers/merge_clipboard.d.ts +2 -1
- package/dist/types/clipboard_handlers/references_clipboard.d.ts +2 -1
- package/dist/types/clipboard_handlers/sheet_clipboard.d.ts +3 -1
- package/dist/types/clipboard_handlers/tables_clipboard.d.ts +4 -1
- package/dist/types/collaborative/session.d.ts +0 -1
- package/dist/types/components/autofill/autofill.d.ts +2 -1
- package/dist/types/components/border_editor/border_editor.d.ts +2 -1
- package/dist/types/components/border_editor/border_editor_widget.d.ts +2 -1
- package/dist/types/components/bottom_bar/bottom_bar.d.ts +1 -1
- package/dist/types/components/bottom_bar/bottom_bar_sheet/bottom_bar_sheet.d.ts +1 -1
- package/dist/types/components/bottom_bar/bottom_bar_statistic/aggregate_statistics_store.d.ts +3 -3
- package/dist/types/components/collaborative_client_tag/collaborative_client_tag.d.ts +1 -1
- package/dist/types/components/color_picker/color_picker.d.ts +2 -1
- package/dist/types/components/color_picker/color_picker_widget.d.ts +2 -1
- package/dist/types/components/composer/autocomplete_dropdown/autocomplete_dropdown.d.ts +1 -1
- package/dist/types/components/composer/autocomplete_dropdown/autocomplete_dropdown_store.d.ts +2 -2
- package/dist/types/components/composer/composer/abstract_composer_store.d.ts +5 -4
- package/dist/types/components/composer/composer/cell_composer_store.d.ts +2 -1
- package/dist/types/components/composer/composer/composer.d.ts +5 -3
- package/dist/types/components/composer/composer_focus_store.d.ts +1 -1
- package/dist/types/components/composer/formula_assistant/formula_assistant.d.ts +1 -1
- package/dist/types/components/composer/grid_composer/grid_composer.d.ts +3 -2
- package/dist/types/components/composer/speech_bubble/speech_bubble.d.ts +1 -1
- package/dist/types/components/composer/standalone_composer/standalone_composer.d.ts +2 -2
- package/dist/types/components/composer/standalone_composer/standalone_composer_store.d.ts +3 -3
- package/dist/types/components/composer/top_bar_composer/top_bar_composer.d.ts +1 -1
- package/dist/types/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.d.ts +1 -1
- package/dist/types/components/dashboard/clickable_cell_store.d.ts +3 -1
- package/dist/types/components/dashboard/dashboard.d.ts +5 -4
- package/dist/types/components/error_tooltip/error_tooltip.d.ts +1 -1
- package/dist/types/components/figures/chart/chartJs/chartjs.d.ts +2 -2
- package/dist/types/components/figures/chart/chartJs/chartjs_animation_store.d.ts +2 -1
- package/dist/types/components/figures/chart/chartJs/chartjs_colorscale_plugin.d.ts +2 -1
- package/dist/types/components/figures/chart/chartJs/chartjs_show_values_plugin.d.ts +2 -2
- package/dist/types/components/figures/chart/chartJs/chartjs_sunburst_labels_plugin.d.ts +1 -1
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chart_store.d.ts +3 -2
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chartjs.d.ts +1 -1
- package/dist/types/components/figures/chart/chart_dashboard_menu/chart_dashboard_menu.d.ts +1 -1
- package/dist/types/components/figures/chart/gauge/gauge_chart_component.d.ts +2 -2
- package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +1 -1
- package/dist/types/components/figures/figure/figure.d.ts +3 -1
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +4 -2
- package/dist/types/components/figures/figure_chart/figure_chart.d.ts +4 -1
- package/dist/types/components/figures/figure_container/figure_container.d.ts +1 -1
- package/dist/types/components/figures/figure_image/figure_image.d.ts +3 -1
- package/dist/types/components/filters/filter_menu/filter_menu.d.ts +2 -1
- package/dist/types/components/filters/filter_menu_criterion/filter_menu_criterion.d.ts +3 -1
- package/dist/types/components/filters/filter_menu_value_list/filter_menu_value_list.d.ts +1 -1
- package/dist/types/components/full_screen_figure/full_screen_figure_store.d.ts +2 -2
- package/dist/types/components/generic_input/generic_input.d.ts +1 -1
- package/dist/types/components/grid/delayed_hovered_cell_store.d.ts +3 -2
- package/dist/types/components/grid/grid.d.ts +7 -3
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +2 -1
- package/dist/types/components/grid_overlay/hovered_icon_store.d.ts +2 -2
- package/dist/types/components/grid_popover/grid_popover.d.ts +2 -2
- package/dist/types/components/header_group/header_group.d.ts +2 -1
- package/dist/types/components/header_group/header_group_container.d.ts +1 -1
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +2 -1
- package/dist/types/components/headers_overlay/unhide_headers.d.ts +1 -1
- package/dist/types/components/helpers/drag_and_drop_dom_items_hook.d.ts +1 -1
- package/dist/types/components/helpers/draw_grid_hook.d.ts +2 -2
- package/dist/types/components/helpers/figure_drag_helper.d.ts +3 -1
- package/dist/types/components/helpers/figure_snap_helper.d.ts +3 -1
- package/dist/types/components/helpers/highlight_hook.d.ts +1 -1
- package/dist/types/components/helpers/listener_hook.d.ts +1 -1
- package/dist/types/components/helpers/position_hook.d.ts +1 -1
- package/dist/types/components/helpers/selection_helpers.d.ts +2 -1
- package/dist/types/components/helpers/touch_handlers_hook.d.ts +1 -1
- package/dist/types/components/helpers/zoom.d.ts +2 -1
- package/dist/types/components/highlight/border/border.d.ts +1 -1
- package/dist/types/components/highlight/corner/corner.d.ts +2 -1
- package/dist/types/components/highlight/highlight/highlight.d.ts +3 -1
- package/dist/types/components/icons/icons.d.ts +3 -3
- package/dist/types/components/link/link_display/link_display.d.ts +4 -3
- package/dist/types/components/link/link_editor/link_editor.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +2 -1
- package/dist/types/components/menu_popover/menu_popover.d.ts +2 -1
- package/dist/types/components/number_editor/number_editor.d.ts +1 -1
- package/dist/types/components/paint_format_button/paint_format_store.d.ts +5 -4
- package/dist/types/components/pivot_html_renderer/pivot_html_renderer.d.ts +2 -1
- package/dist/types/components/popover/cell_popover_store.d.ts +4 -3
- package/dist/types/components/popover/popover.d.ts +2 -1
- package/dist/types/components/scrollbar/scrollbar.d.ts +1 -1
- package/dist/types/components/scrollbar.d.ts +1 -1
- package/dist/types/components/select/select.d.ts +1 -1
- package/dist/types/components/selection_input/selection_input.d.ts +1 -1
- package/dist/types/components/selection_input/selection_input_store.d.ts +6 -5
- package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +3 -1
- package/dist/types/components/side_panel/chart/bar_chart/bar_chart_design_panel.d.ts +3 -2
- package/dist/types/components/side_panel/chart/bubble_chart/bubble_chart_config_panel.d.ts +66 -0
- package/dist/types/components/side_panel/chart/bubble_chart/bubble_chart_design_panel.d.ts +61 -0
- package/dist/types/components/side_panel/chart/building_blocks/axis_design/axis_design_editor.d.ts +3 -2
- package/dist/types/components/side_panel/chart/building_blocks/chart_title/chart_title.d.ts +1 -1
- package/dist/types/components/side_panel/chart/building_blocks/color_scale/color_scale_picker.d.ts +4 -3
- package/dist/types/components/side_panel/chart/building_blocks/data_series/data_series.d.ts +7 -3
- package/dist/types/components/side_panel/chart/building_blocks/data_source/data_source.d.ts +2 -1
- package/dist/types/components/side_panel/chart/building_blocks/general_design/general_design_editor.d.ts +2 -1
- package/dist/types/components/side_panel/chart/building_blocks/generic_side_panel/config_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/building_blocks/humanize_numbers/humanize_numbers.d.ts +1 -1
- package/dist/types/components/side_panel/chart/building_blocks/label_range/label_range.d.ts +6 -0
- package/dist/types/components/side_panel/chart/building_blocks/legend/legend.d.ts +3 -2
- package/dist/types/components/side_panel/chart/building_blocks/range_data_source/range_data_source.d.ts +3 -1
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_design_editor.d.ts +2 -1
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_with_axis_design_editor.d.ts +2 -1
- package/dist/types/components/side_panel/chart/building_blocks/show_data_markers/show_data_markers.d.ts +1 -1
- package/dist/types/components/side_panel/chart/building_blocks/show_values/show_values.d.ts +1 -1
- package/dist/types/components/side_panel/chart/building_blocks/text_styler/text_styler.d.ts +2 -1
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_config_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_design_panel.d.ts +2 -2
- package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +3 -2
- package/dist/types/components/side_panel/chart/chart_with_axis/design_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/combo_chart/combo_chart_design_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/common.d.ts +3 -1
- package/dist/types/components/side_panel/chart/funnel_chart_panel/funnel_chart_design_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/gauge_chart_panel/gauge_chart_design_panel.d.ts +2 -1
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_design_panel.d.ts +3 -2
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_region_select_section.d.ts +2 -1
- package/dist/types/components/side_panel/chart/line_chart/line_chart_design_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/main_chart_panel/main_chart_panel.d.ts +4 -3
- package/dist/types/components/side_panel/chart/main_chart_panel/main_chart_panel_store.d.ts +2 -2
- package/dist/types/components/side_panel/chart/pie_chart/pie_chart_design_panel.d.ts +2 -2
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_config_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_design_panel.d.ts +2 -1
- package/dist/types/components/side_panel/chart/sunburst_chart/sunburst_chart_design_panel.d.ts +1 -1
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_category_color/treemap_category_color.d.ts +2 -1
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_color_scale/treemap_color_scale.d.ts +2 -1
- package/dist/types/components/side_panel/chart/waterfall_chart/waterfall_chart_design_panel.d.ts +3 -2
- package/dist/types/components/side_panel/chart/zoomable_chart/design_panel.d.ts +1 -1
- package/dist/types/components/side_panel/column_stats/column_stats_panel.d.ts +2 -2
- package/dist/types/components/side_panel/column_stats/column_stats_store.d.ts +5 -3
- package/dist/types/components/side_panel/components/cog_wheel_menu/cog_wheel_menu.d.ts +1 -1
- package/dist/types/components/side_panel/components/round_color_picker/round_color_picker.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cell_is_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cf_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cf_editor_store.d.ts +6 -3
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor_threshold.d.ts +2 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/data_bar_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/icon_set_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_preview/cf_preview.d.ts +2 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_preview_list/cf_preview_list.d.ts +1 -1
- package/dist/types/components/side_panel/criterion_form/criterion_form.d.ts +1 -1
- package/dist/types/components/side_panel/criterion_form/criterion_input/criterion_input.d.ts +1 -1
- package/dist/types/components/side_panel/criterion_form/date_criterion/date_criterion.d.ts +2 -1
- package/dist/types/components/side_panel/criterion_form/top_10_criterion/top_10_criterion.d.ts +1 -1
- package/dist/types/components/side_panel/criterion_form/value_in_list_criterion/value_in_list_criterion.d.ts +2 -1
- package/dist/types/components/side_panel/criterion_form/value_in_range_criterion/value_in_range_criterion.d.ts +2 -1
- package/dist/types/components/side_panel/data_validation/data_validation_panel.d.ts +1 -1
- package/dist/types/components/side_panel/data_validation/dv_editor/dv_editor.d.ts +4 -1
- package/dist/types/components/side_panel/data_validation/dv_preview/dv_preview.d.ts +2 -1
- package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +1 -1
- package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +4 -3
- package/dist/types/components/side_panel/more_formats/more_formats.d.ts +1 -1
- package/dist/types/components/side_panel/more_formats/more_formats_store.d.ts +2 -2
- package/dist/types/components/side_panel/named_ranges_panel/named_range_preview/named_range_preview.d.ts +1 -1
- package/dist/types/components/side_panel/perf_profile/perf_profile_panel.d.ts +30 -0
- package/dist/types/components/side_panel/pivot/pivot_custom_groups_collapsible/pivot_custom_groups_collapsible.d.ts +2 -1
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/add_dimension_button/add_dimension_button.d.ts +2 -2
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_granularity/pivot_dimension_granularity.d.ts +1 -1
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_order/pivot_dimension_order.d.ts +1 -1
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +1 -1
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_measure/pivot_measure.d.ts +3 -2
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_sort_section/pivot_sort_section.d.ts +1 -1
- package/dist/types/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel.d.ts +3 -2
- package/dist/types/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel_store.d.ts +4 -3
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_design_panel/pivot_design_panel.d.ts +4 -2
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel.d.ts +1 -1
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.d.ts +3 -2
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_spreadsheet_side_panel/pivot_spreadsheet_side_panel.d.ts +2 -2
- package/dist/types/components/side_panel/pivot/pivot_title_section/pivot_title_section.d.ts +1 -1
- package/dist/types/components/side_panel/settings/settings_panel.d.ts +2 -1
- package/dist/types/components/side_panel/side_panel/side_panel_store.d.ts +2 -2
- package/dist/types/components/side_panel/side_panels/side_panels.d.ts +1 -1
- package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_panel.d.ts +1 -1
- package/dist/types/components/side_panel/table_panel/table_panel.d.ts +2 -1
- package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +2 -1
- package/dist/types/components/small_bottom_bar/small_bottom_bar.d.ts +2 -1
- package/dist/types/components/spreadsheet/spreadsheet.d.ts +2 -7
- package/dist/types/components/spreadsheet_print/spreadsheet_print.d.ts +1 -1
- package/dist/types/components/spreadsheet_print/spreadsheet_print_store.d.ts +3 -2
- package/dist/types/components/standalone_grid_canvas/figure_renderer_store.d.ts +3 -2
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +3 -2
- package/dist/types/components/tables/hovered_table_store.d.ts +3 -2
- package/dist/types/components/tables/table_dropdown_button/table_dropdown_button.d.ts +1 -1
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +2 -1
- package/dist/types/components/tables/table_style_preview/table_canvas_helpers.d.ts +1 -1
- package/dist/types/components/top_bar/dropdown_action/dropdown_action.d.ts +1 -1
- package/dist/types/components/top_bar/number_formats_tool/number_formats_tool.d.ts +1 -1
- package/dist/types/components/top_bar/top_bar.d.ts +5 -3
- package/dist/types/components/translations_terms.d.ts +1 -1
- package/dist/types/constants.d.ts +4 -8
- package/dist/types/functions/arguments.d.ts +1 -1
- package/dist/types/functions/autocomplete_arguments_provider.d.ts +1 -1
- package/dist/types/functions/create_compute_function.d.ts +39 -2
- package/dist/types/functions/helpers.d.ts +0 -37
- package/dist/types/functions/module_logical.d.ts +24 -4
- package/dist/types/functions/module_lookup.d.ts +6 -6
- package/dist/types/functions/module_operators.d.ts +1 -1
- package/dist/types/functions/module_text.d.ts +2 -2
- package/dist/types/helpers/carousel_helpers.d.ts +1 -1
- package/dist/types/helpers/chart_date.d.ts +3 -1
- package/dist/types/helpers/color.d.ts +15 -0
- package/dist/types/helpers/figures/chart.d.ts +3 -3
- package/dist/types/helpers/figures/charts/abstract_chart.d.ts +1 -1
- package/dist/types/helpers/figures/charts/bubble_chart.d.ts +7 -0
- package/dist/types/helpers/figures/charts/chart_common.d.ts +5 -2
- package/dist/types/helpers/figures/charts/chart_data_sources.d.ts +1 -1
- package/dist/types/helpers/figures/charts/chart_ui_common.d.ts +2 -2
- package/dist/types/helpers/figures/charts/gauge_chart_rendering.d.ts +1 -1
- package/dist/types/helpers/figures/charts/runtime/chart_data_extractor.d.ts +15 -2
- package/dist/types/helpers/figures/charts/runtime/chartjs_dataset.d.ts +13 -2
- package/dist/types/helpers/figures/charts/runtime/chartjs_layout.d.ts +1 -1
- package/dist/types/helpers/figures/charts/runtime/chartjs_legend.d.ts +11 -7
- package/dist/types/helpers/figures/charts/runtime/chartjs_scales.d.ts +11 -2
- package/dist/types/helpers/figures/charts/runtime/chartjs_show_values.d.ts +7 -3
- package/dist/types/helpers/figures/charts/runtime/chartjs_title.d.ts +7 -2
- package/dist/types/helpers/figures/charts/runtime/chartjs_tooltip.d.ts +12 -2
- package/dist/types/helpers/figures/charts/scorecard_chart_config_builder.d.ts +1 -1
- package/dist/types/helpers/figures/charts/smart_chart_engine.d.ts +3 -1
- package/dist/types/helpers/figures/images/image_provider.d.ts +1 -1
- package/dist/types/helpers/misc.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_composer_helpers.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_highlight.d.ts +2 -1
- package/dist/types/helpers/pivot/pivot_menu_items.d.ts +2 -1
- package/dist/types/helpers/rectangle.d.ts +1 -1
- package/dist/types/helpers/rendering.d.ts +2 -1
- package/dist/types/helpers/selection_statistic_functions.d.ts +3 -1
- package/dist/types/helpers/ui/freeze_interactive.d.ts +1 -1
- package/dist/types/helpers/ui/merge_interactive.d.ts +1 -1
- package/dist/types/helpers/ui/named_range_interactive.d.ts +1 -1
- package/dist/types/helpers/ui/paste_interactive.d.ts +3 -1
- package/dist/types/helpers/ui/sheet_interactive.d.ts +1 -1
- package/dist/types/helpers/ui/table_interactive.d.ts +2 -1
- package/dist/types/helpers/ui/toggle_group_interactive.d.ts +1 -1
- package/dist/types/helpers/uuid.d.ts +3 -3
- package/dist/types/index.d.ts +73 -26
- package/dist/types/model.d.ts +4 -4
- package/dist/types/plugins/core/chart.d.ts +1 -1
- package/dist/types/plugins/core/named_range.d.ts +8 -1
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluation_plugin.d.ts +3 -1
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluator.d.ts +11 -1
- package/dist/types/plugins/ui_core_views/cell_evaluation/formula_dependency_graph.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/cell_evaluation/range_set.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/cell_evaluation/zone_set.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/dynamic_tables.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/evaluation_chart.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/fingerprint.d.ts +13 -0
- package/dist/types/plugins/ui_feature/color_theme.d.ts +15 -0
- package/dist/types/plugins/ui_plugin.d.ts +1 -0
- package/dist/types/plugins/ui_stateful/carousel_ui.d.ts +0 -1
- package/dist/types/plugins/ui_stateful/clipboard.d.ts +0 -1
- package/dist/types/registries/auto_completes/auto_complete_registry.d.ts +2 -1
- package/dist/types/registries/auto_completes/{index.d.ts → autocompelete_registration.d.ts} +1 -1
- package/dist/types/registries/auto_completes/pivot_dimension_auto_complete.d.ts +1 -1
- package/dist/types/registries/cell_clickable_registry.d.ts +2 -1
- package/dist/types/registries/cell_popovers_registry.d.ts +1 -1
- package/dist/types/registries/chart_data_source_registry.d.ts +1 -1
- package/dist/types/registries/chart_registry.d.ts +3 -2
- package/dist/types/registries/criterion_component_registry.d.ts +2 -1
- package/dist/types/registries/currencies_registry.d.ts +1 -1
- package/dist/types/registries/figures_registry.d.ts +1 -1
- package/dist/types/registries/menus/header_group_registry.d.ts +1 -1
- package/dist/types/registries/repeat_commands_registry.d.ts +1 -1
- package/dist/types/registries/side_panel_registry.d.ts +1 -1
- package/dist/types/registries/topbar_component_registry.d.ts +1 -3
- package/dist/types/selection_stream/selection_stream_processor.d.ts +1 -1
- package/dist/types/stores/array_formula_highlight.d.ts +3 -3
- package/dist/types/stores/client_focus_store.d.ts +2 -2
- package/dist/types/stores/formula_fingerprints_store.d.ts +2 -4
- package/dist/types/stores/grid_renderer_store.d.ts +5 -2
- package/dist/types/stores/highlight_store.d.ts +3 -2
- package/dist/types/stores/renderer_store.d.ts +1 -1
- package/dist/types/stores/spreadsheet_store.d.ts +5 -3
- package/dist/types/types/cell_popovers.d.ts +1 -1
- package/dist/types/types/chart/bar_chart.d.ts +1 -1
- package/dist/types/types/chart/bubble_chart.d.ts +24 -0
- package/dist/types/types/chart/calendar_chart.d.ts +2 -1
- package/dist/types/types/chart/chart.d.ts +8 -3
- package/dist/types/types/chart/common_chart.d.ts +6 -0
- package/dist/types/types/chart/gauge_chart.d.ts +2 -5
- package/dist/types/types/chart/scatter_chart.d.ts +1 -1
- package/dist/types/types/chart/scorecard_chart.d.ts +2 -5
- package/dist/types/types/chart_subtype_properties.d.ts +1 -1
- package/dist/types/types/commands.d.ts +18 -10
- package/dist/types/types/figure.d.ts +1 -1
- package/dist/types/types/functions.d.ts +18 -0
- package/dist/types/types/getters.d.ts +4 -2
- package/dist/types/types/model.d.ts +1 -0
- package/dist/types/types/rendering.d.ts +13 -0
- package/dist/types/types/selection_stream_processor.d.ts +1 -1
- package/dist/types/types/workbook_data.d.ts +1 -1
- package/dist/types/types/xlsx.d.ts +7 -1
- package/dist/types/xlsx/conversion/conversion_maps.d.ts +2 -1
- package/dist/types/xlsx/conversion/named_ranges_conversion.d.ts +5 -0
- package/dist/types/xlsx/extraction/chart_extractor.d.ts +1 -1
- package/dist/types/xlsx/extraction/misc_extractor.d.ts +2 -1
- package/dist/types/xlsx/functions/charts.d.ts +1 -1
- package/dist/types/xlsx/functions/drawings.d.ts +1 -1
- package/dist/types/xlsx/functions/worksheet.d.ts +1 -0
- package/package.json +2 -2
- package/dist/types/components/helpers/index.d.ts +0 -1
- package/dist/types/components/index.d.ts +0 -1
- package/dist/types/components/link/index.d.ts +0 -2
- package/dist/types/components/popover/index.d.ts +0 -3
- package/dist/types/components/scrollbar/index.d.ts +0 -2
- package/dist/types/helpers/index.d.ts +0 -18
- package/dist/types/plugins/ui_core_views/cell_evaluation/index.d.ts +0 -1
- package/dist/types/plugins/ui_feature/index.d.ts +0 -1
- package/dist/types/store_engine/index.d.ts +0 -4
- package/dist/types/stores/index.d.ts +0 -2
- package/dist/types/types/chart/index.d.ts +0 -13
- package/dist/types/types/event_stream/index.d.ts +0 -1
- package/dist/types/types/index.d.ts +0 -36
- package/dist/types/xlsx/conversion/index.d.ts +0 -7
- package/dist/types/xlsx/extraction/index.d.ts +0 -3
- /package/dist/types/clipboard_handlers/{index.d.ts → clipboard_handler_registrations.d.ts} +0 -0
- /package/dist/types/components/side_panel/chart/{index.d.ts → chart_side_panel_registry.d.ts} +0 -0
- /package/dist/types/helpers/figures/charts/{index.d.ts → helpers_index.d.ts} +0 -0
- /package/dist/types/helpers/figures/charts/runtime/{index.d.ts → helpers_index.d.ts} +0 -0
- /package/dist/types/plugins/{index.d.ts → plugin_registries.d.ts} +0 -0
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
|
-
@date 2026-05-12T12:20:
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.4.0-alpha.5
|
|
5
|
+
@date 2026-05-12T12:20:58.318Z
|
|
6
|
+
@hash 02a5f91
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
t-on-click="props.onClick"
|
|
323
323
|
t-on-contextmenu.prevent="(ev) => this.onContextMenu(ev)">
|
|
324
324
|
<div class="o-table-preview">
|
|
325
|
-
<canvas t-ref="canvas" class="w-100 h-100"/>
|
|
325
|
+
<canvas t-ref="canvas" class="w-100 h-100 os-theme-dependant"/>
|
|
326
326
|
</div>
|
|
327
327
|
<div
|
|
328
328
|
class="o-table-style-edit-button position-absolute d-none bg-white border"
|
|
@@ -1582,6 +1582,83 @@
|
|
|
1582
1582
|
</SidePanelCollapsible>
|
|
1583
1583
|
</t>
|
|
1584
1584
|
|
|
1585
|
+
<t t-name="o-spreadsheet-PerfProfilePanel">
|
|
1586
|
+
<div class="o-perf-profile-panel">
|
|
1587
|
+
<t t-if="!this.perfProfile">
|
|
1588
|
+
<Section>
|
|
1589
|
+
<div class="d-flex justify-content-center mt-3">
|
|
1590
|
+
<button class="o-button primary" t-on-click="this.startProfiling">
|
|
1591
|
+
Analyze performance
|
|
1592
|
+
</button>
|
|
1593
|
+
</div>
|
|
1594
|
+
<small class="text-muted d-flex justify-content-center mt-2">
|
|
1595
|
+
This may take a while.
|
|
1596
|
+
</small>
|
|
1597
|
+
</Section>
|
|
1598
|
+
</t>
|
|
1599
|
+
<t t-else="">
|
|
1600
|
+
<Section>
|
|
1601
|
+
<div class="d-flex flex-column gap-1">
|
|
1602
|
+
<div class="d-flex justify-content-center mb-3">
|
|
1603
|
+
<button class="o-button" t-on-click="this.startProfiling">
|
|
1604
|
+
<i class="fa fa-refresh me-1"/>
|
|
1605
|
+
Re-analyze
|
|
1606
|
+
</button>
|
|
1607
|
+
</div>
|
|
1608
|
+
<div class="d-flex justify-content-between">
|
|
1609
|
+
<span class="text-muted">Total time</span>
|
|
1610
|
+
<span class="fw-bold" t-esc="this.formatTime(this.perfProfile.totalTime)"/>
|
|
1611
|
+
</div>
|
|
1612
|
+
<div class="d-flex justify-content-between">
|
|
1613
|
+
<span class="text-muted">Cells</span>
|
|
1614
|
+
<span
|
|
1615
|
+
t-esc="this.humanize(this.perfProfile.totalCells)"
|
|
1616
|
+
t-att-title="this.perfProfile.totalCells"
|
|
1617
|
+
/>
|
|
1618
|
+
</div>
|
|
1619
|
+
<div class="d-flex justify-content-between">
|
|
1620
|
+
<span class="text-muted">Function calls</span>
|
|
1621
|
+
<span
|
|
1622
|
+
t-esc="this.humanize(this.perfProfile.totalFunctionCalls)"
|
|
1623
|
+
t-att-title="this.perfProfile.totalFunctionCalls"
|
|
1624
|
+
/>
|
|
1625
|
+
</div>
|
|
1626
|
+
</div>
|
|
1627
|
+
</Section>
|
|
1628
|
+
<Section>
|
|
1629
|
+
<div class="d-flex flex-column gap-1">
|
|
1630
|
+
<t t-foreach="this.perfProfile.entries.slice(0, 500)" t-as="entry" t-key="entry_index">
|
|
1631
|
+
<t t-if="entry.time > 0">
|
|
1632
|
+
<div
|
|
1633
|
+
class="o-perf-range-entry position-relative overflow-hidden rounded"
|
|
1634
|
+
t-att-class="{ 'o-perf-entry-selected': this.isSelected(entry_index) }"
|
|
1635
|
+
t-on-click="() => this.selectEntry(entry_index)">
|
|
1636
|
+
<div
|
|
1637
|
+
class="o-perf-bar position-absolute top-0 start-0 bottom-0"
|
|
1638
|
+
t-attf-style="width: {{ this.barWidth(entry) }}%"
|
|
1639
|
+
/>
|
|
1640
|
+
<div
|
|
1641
|
+
class="position-relative d-flex justify-content-between py-1 px-2 text-nowrap">
|
|
1642
|
+
<span class="text-truncate me-2">
|
|
1643
|
+
<t t-esc="entry.functionName"/>
|
|
1644
|
+
<small class="text-muted ms-1" t-esc="this.stringifyRange(entry)"/>
|
|
1645
|
+
</span>
|
|
1646
|
+
<small class="flex-shrink-0 text-muted">
|
|
1647
|
+
<t t-esc="this.formatTime(entry.time)"/>
|
|
1648
|
+
(
|
|
1649
|
+
<t t-esc="this.formatPercent(entry.time)"/>
|
|
1650
|
+
)
|
|
1651
|
+
</small>
|
|
1652
|
+
</div>
|
|
1653
|
+
</div>
|
|
1654
|
+
</t>
|
|
1655
|
+
</t>
|
|
1656
|
+
</div>
|
|
1657
|
+
</Section>
|
|
1658
|
+
</t>
|
|
1659
|
+
</div>
|
|
1660
|
+
</t>
|
|
1661
|
+
|
|
1585
1662
|
<t t-name="o-spreadsheet-NamedRangesPanel">
|
|
1586
1663
|
<div class="o-named-ranges">
|
|
1587
1664
|
<div class="o-named-range-list">
|
|
@@ -2107,7 +2184,7 @@
|
|
|
2107
2184
|
</div>
|
|
2108
2185
|
<t t-if="cf.rule.type==='IconSetRule'">
|
|
2109
2186
|
<div
|
|
2110
|
-
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3
|
|
2187
|
+
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 border os-theme-dependant">
|
|
2111
2188
|
<t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
|
|
2112
2189
|
<t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
|
|
2113
2190
|
<t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
|
|
@@ -2116,7 +2193,7 @@
|
|
|
2116
2193
|
<t t-else="">
|
|
2117
2194
|
<div
|
|
2118
2195
|
t-att-style="previewImageStyle"
|
|
2119
|
-
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 flex-shrink-0 border">
|
|
2196
|
+
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 flex-shrink-0 border os-theme-dependant">
|
|
2120
2197
|
123
|
|
2121
2198
|
</div>
|
|
2122
2199
|
</t>
|
|
@@ -2145,7 +2222,7 @@
|
|
|
2145
2222
|
<div class="o-section-subtitle">Icons</div>
|
|
2146
2223
|
<div class="o-cf-iconsets d-flex flex-row">
|
|
2147
2224
|
<div
|
|
2148
|
-
class="o-cf-iconset o-cf-clickable-icon d-flex flex-row justify-content-between border rounded"
|
|
2225
|
+
class="o-cf-iconset o-cf-clickable-icon d-flex flex-row justify-content-between border rounded os-theme-dependant"
|
|
2149
2226
|
t-foreach="['arrows', 'smiley', 'dots']"
|
|
2150
2227
|
t-as="iconSet"
|
|
2151
2228
|
t-key="iconSet"
|
|
@@ -2170,7 +2247,8 @@
|
|
|
2170
2247
|
<tr>
|
|
2171
2248
|
<td>
|
|
2172
2249
|
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-upperIcon')">
|
|
2173
|
-
<div
|
|
2250
|
+
<div
|
|
2251
|
+
class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded os-theme-dependant">
|
|
2174
2252
|
<t t-call="{{this.getIconTemplate(this.rule.icons.upper)}}"/>
|
|
2175
2253
|
</div>
|
|
2176
2254
|
</div>
|
|
@@ -2362,7 +2440,9 @@
|
|
|
2362
2440
|
<t t-name="o-spreadsheet-ColorScaleRuleEditor">
|
|
2363
2441
|
<div class="o-cf-color-scale-editor">
|
|
2364
2442
|
<div class="o-section-subtitle">Preview</div>
|
|
2365
|
-
<div
|
|
2443
|
+
<div
|
|
2444
|
+
class="o-cf-preview-display mb-4 os-theme-dependant"
|
|
2445
|
+
t-attf-style="{{this.props.store.previewGradient}}">
|
|
2366
2446
|
Preview text
|
|
2367
2447
|
</div>
|
|
2368
2448
|
<div class="o-section-subtitle">Minpoint</div>
|
|
@@ -2454,7 +2534,7 @@
|
|
|
2454
2534
|
<div class="o-section-subtitle pt-3">Formatting style</div>
|
|
2455
2535
|
|
|
2456
2536
|
<div
|
|
2457
|
-
class="o-cf-preview-display border"
|
|
2537
|
+
class="o-cf-preview-display border os-theme-dependant"
|
|
2458
2538
|
t-attf-style="font-weight:{{this.rule.style.bold ?'bold':'normal'}};
|
|
2459
2539
|
text-decoration:{{this.getTextDecoration(this.rule.style)}};
|
|
2460
2540
|
font-style:{{this.rule.style.italic?'italic':'normal'}};
|
|
@@ -2529,7 +2609,7 @@
|
|
|
2529
2609
|
|
|
2530
2610
|
<t t-name="o-spreadsheet.RoundColorPicker">
|
|
2531
2611
|
<div
|
|
2532
|
-
class="o-round-color-picker-button rounded-circle border"
|
|
2612
|
+
class="o-round-color-picker-button rounded-circle border os-theme-dependant"
|
|
2533
2613
|
t-ref="colorPickerButton"
|
|
2534
2614
|
t-on-click.stop="togglePicker"
|
|
2535
2615
|
t-att-title="props.title"
|
|
@@ -3877,6 +3957,47 @@
|
|
|
3877
3957
|
<path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
|
|
3878
3958
|
</svg>
|
|
3879
3959
|
</t>
|
|
3960
|
+
<t t-name="o-spreadsheet-ChartPreview.BUBBLE_CHART">
|
|
3961
|
+
<svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
|
|
3962
|
+
<circle
|
|
3963
|
+
stroke="var(--os-chart-preview-blue-line)"
|
|
3964
|
+
fill="var(--os-chart-preview-blue-fill)"
|
|
3965
|
+
cx="12"
|
|
3966
|
+
cy="32"
|
|
3967
|
+
r="4"
|
|
3968
|
+
/>
|
|
3969
|
+
<circle
|
|
3970
|
+
stroke="var(--os-chart-preview-blue-line)"
|
|
3971
|
+
fill="var(--os-chart-preview-blue-fill)"
|
|
3972
|
+
cx="22"
|
|
3973
|
+
cy="16"
|
|
3974
|
+
r="3"
|
|
3975
|
+
/>
|
|
3976
|
+
<circle
|
|
3977
|
+
stroke="var(--os-chart-preview-orange-line)"
|
|
3978
|
+
fill="var(--os-chart-preview-orange-fill)"
|
|
3979
|
+
cx="30"
|
|
3980
|
+
cy="26"
|
|
3981
|
+
r="5"
|
|
3982
|
+
/>
|
|
3983
|
+
<circle
|
|
3984
|
+
stroke="var(--os-chart-preview-orange-line)"
|
|
3985
|
+
fill="var(--os-chart-preview-orange-fill)"
|
|
3986
|
+
cx="18"
|
|
3987
|
+
cy="24"
|
|
3988
|
+
r="2.5"
|
|
3989
|
+
/>
|
|
3990
|
+
<circle
|
|
3991
|
+
stroke="var(--os-chart-preview-green-line)"
|
|
3992
|
+
fill="var(--os-chart-preview-green-fill)"
|
|
3993
|
+
cx="36"
|
|
3994
|
+
cy="14"
|
|
3995
|
+
r="6"
|
|
3996
|
+
opacity="0.8"
|
|
3997
|
+
/>
|
|
3998
|
+
<path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
|
|
3999
|
+
</svg>
|
|
4000
|
+
</t>
|
|
3880
4001
|
<t t-name="o-spreadsheet-ChartPreview.GAUGE_CHART">
|
|
3881
4002
|
<svg
|
|
3882
4003
|
viewBox="0 0 48 48"
|
|
@@ -4410,12 +4531,14 @@
|
|
|
4410
4531
|
onChange.bind="this.updateLegendPosition"
|
|
4411
4532
|
/>
|
|
4412
4533
|
</div>
|
|
4413
|
-
<div t-else="" title="No legend available">
|
|
4534
|
+
<div t-else="" title="No legend available">
|
|
4535
|
+
<span class="o-disabled">None</span>
|
|
4536
|
+
</div>
|
|
4414
4537
|
</Section>
|
|
4415
4538
|
</t>
|
|
4416
4539
|
|
|
4417
4540
|
<t t-name="o-spreadsheet.ChartLabelRange">
|
|
4418
|
-
<Section class="
|
|
4541
|
+
<Section class="sectionClass" title="props.title">
|
|
4419
4542
|
<SelectionInput
|
|
4420
4543
|
ranges="[props.range]"
|
|
4421
4544
|
isInvalid="props.isInvalid"
|
|
@@ -4546,7 +4669,7 @@
|
|
|
4546
4669
|
<t t-out="currentColorScaleLabel"/>
|
|
4547
4670
|
</span>
|
|
4548
4671
|
<div
|
|
4549
|
-
class="color-scale-preview w-100"
|
|
4672
|
+
class="color-scale-preview w-100 os-theme-dependant"
|
|
4550
4673
|
t-att-data-test-colorscale="selectedColorScale"
|
|
4551
4674
|
t-att-style="currentColorScaleStyle"
|
|
4552
4675
|
/>
|
|
@@ -4562,7 +4685,7 @@
|
|
|
4562
4685
|
<td class="p-1 text-end">Custom</td>
|
|
4563
4686
|
<td class="w-100 p-1">
|
|
4564
4687
|
<div
|
|
4565
|
-
class="color-scale-preview o-checkers-background"
|
|
4688
|
+
class="color-scale-preview o-checkers-background os-theme-dependant"
|
|
4566
4689
|
data-test-id="custom-color-scale"
|
|
4567
4690
|
/>
|
|
4568
4691
|
</td>
|
|
@@ -4577,7 +4700,7 @@
|
|
|
4577
4700
|
</td>
|
|
4578
4701
|
<td class="w-100 p-1">
|
|
4579
4702
|
<div
|
|
4580
|
-
class="color-scale-preview"
|
|
4703
|
+
class="color-scale-preview os-theme-dependant"
|
|
4581
4704
|
t-att-data-test-id="colorScale.className"
|
|
4582
4705
|
t-att-style="colorScalePreviewStyle(colorScale.value)"
|
|
4583
4706
|
/>
|
|
@@ -4705,6 +4828,103 @@
|
|
|
4705
4828
|
</Section>
|
|
4706
4829
|
</t>
|
|
4707
4830
|
|
|
4831
|
+
<t t-name="o-spreadsheet-BubbleChartDesignPanel">
|
|
4832
|
+
<GeneralDesignEditor t-props="props">
|
|
4833
|
+
<t t-set-slot="general-extension">
|
|
4834
|
+
<ChartLegend t-props="props" isDisabled="colorMode == 'single'"/>
|
|
4835
|
+
<Section class="'o-vertical-axis-selection pt-0'" title.translate="Vertical axis position">
|
|
4836
|
+
<RadioSelection
|
|
4837
|
+
choices="axisChoices"
|
|
4838
|
+
selectedValue="verticalAxisPosition"
|
|
4839
|
+
name="'axis'"
|
|
4840
|
+
onChange.bind="updateVerticalAxisPosition"
|
|
4841
|
+
/>
|
|
4842
|
+
</Section>
|
|
4843
|
+
<Section class="'pt-0'" title.translate="Values">
|
|
4844
|
+
<ChartShowValues t-props="props"/>
|
|
4845
|
+
</Section>
|
|
4846
|
+
</t>
|
|
4847
|
+
</GeneralDesignEditor>
|
|
4848
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Bubble chart design">
|
|
4849
|
+
<t t-set-slot="content">
|
|
4850
|
+
<Section class="'pt-0'" title.translate="Color mode">
|
|
4851
|
+
<RadioSelection
|
|
4852
|
+
choices="colorModeChoices"
|
|
4853
|
+
selectedValue="colorMode"
|
|
4854
|
+
name="'bubble-color-mode'"
|
|
4855
|
+
onChange.bind="onColorModeChange"
|
|
4856
|
+
/>
|
|
4857
|
+
<Checkbox
|
|
4858
|
+
name="'areBubblesTransparent'"
|
|
4859
|
+
value="areBubblesTransparent"
|
|
4860
|
+
onChange.bind="updateBubbleTransparency"
|
|
4861
|
+
className="'w-100 pt-2'"
|
|
4862
|
+
label.translate="Show semi-transparent bubbles"
|
|
4863
|
+
/>
|
|
4864
|
+
</Section>
|
|
4865
|
+
<Section t-if="colorMode == 'single'" class="'pt-0'" title.translate="Bubble color">
|
|
4866
|
+
<RoundColorPicker
|
|
4867
|
+
currentColor="currentBubbleColor"
|
|
4868
|
+
onColorPicked.bind="updateBubbleColor"
|
|
4869
|
+
/>
|
|
4870
|
+
</Section>
|
|
4871
|
+
</t>
|
|
4872
|
+
</SidePanelCollapsible>
|
|
4873
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Axes">
|
|
4874
|
+
<t t-set-slot="content">
|
|
4875
|
+
<AxisDesignEditor
|
|
4876
|
+
axesList="axesList"
|
|
4877
|
+
chartId="props.chartId"
|
|
4878
|
+
definition="props.definition"
|
|
4879
|
+
updateChart="props.updateChart"
|
|
4880
|
+
/>
|
|
4881
|
+
</t>
|
|
4882
|
+
</SidePanelCollapsible>
|
|
4883
|
+
</t>
|
|
4884
|
+
|
|
4885
|
+
<t t-name="o-spreadsheet-BubbleChartConfigPanel">
|
|
4886
|
+
<div>
|
|
4887
|
+
<ChartDataSeries
|
|
4888
|
+
ranges="this.getDataSeriesRanges()"
|
|
4889
|
+
dataSetStyles="{}"
|
|
4890
|
+
onSelectionChanged.bind="onDataSeriesRangesChanged"
|
|
4891
|
+
onSelectionConfirmed.bind="onDataSeriesConfirmed"
|
|
4892
|
+
onSelectionReordered.bind="onDataSeriesReordered"
|
|
4893
|
+
onSelectionRemoved.bind="onDataSeriesRemoved"
|
|
4894
|
+
maxNumberOfUsedRanges="maxNumberOfUsedRanges"
|
|
4895
|
+
datasetOrientation="datasetOrientation"
|
|
4896
|
+
canChangeDatasetOrientation="false"
|
|
4897
|
+
/>
|
|
4898
|
+
<ChartLabelRange
|
|
4899
|
+
title.translate="Horizontal axis values"
|
|
4900
|
+
range="xRange || ''"
|
|
4901
|
+
isInvalid="isXDataInvalid"
|
|
4902
|
+
onSelectionChanged.bind="onXDataRangeChanged"
|
|
4903
|
+
onSelectionConfirmed.bind="onXDataRangeConfirmed"
|
|
4904
|
+
class="'pt-0'"
|
|
4905
|
+
/>
|
|
4906
|
+
<ChartLabelRange
|
|
4907
|
+
title.translate="Bubble labels"
|
|
4908
|
+
range="labelRange || ''"
|
|
4909
|
+
isInvalid="isLabelInvalid"
|
|
4910
|
+
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4911
|
+
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4912
|
+
class="'pt-0'"
|
|
4913
|
+
/>
|
|
4914
|
+
<ChartLabelRange
|
|
4915
|
+
title.translate="Bubble sizes"
|
|
4916
|
+
range="sizeRange || ''"
|
|
4917
|
+
isInvalid="isBubbleSizeRangeInvalid"
|
|
4918
|
+
onSelectionChanged.bind="onBubbleSizeRangeChanged"
|
|
4919
|
+
onSelectionConfirmed.bind="onBubbleSizeRangeConfirmed"
|
|
4920
|
+
class="'pt-0'"
|
|
4921
|
+
options="this.getLabelRangeOptions()"
|
|
4922
|
+
/>
|
|
4923
|
+
|
|
4924
|
+
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
4925
|
+
</div>
|
|
4926
|
+
</t>
|
|
4927
|
+
|
|
4708
4928
|
<t t-name="o-spreadsheet-BarChartDesignPanel">
|
|
4709
4929
|
<GeneralDesignEditor t-props="props">
|
|
4710
4930
|
<t t-set-slot="general-extension">
|
|
@@ -6518,11 +6738,24 @@
|
|
|
6518
6738
|
/>
|
|
6519
6739
|
</svg>
|
|
6520
6740
|
</t>
|
|
6741
|
+
<t t-name="o-spreadsheet-Icon.AVG_TIME">
|
|
6742
|
+
<svg
|
|
6743
|
+
class="o-icon"
|
|
6744
|
+
fill="currentColor"
|
|
6745
|
+
viewBox="0 -960 960 960"
|
|
6746
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
6747
|
+
<!-- Material icon avg_time.
|
|
6748
|
+
TODO remove when we use Material icons directly -->
|
|
6749
|
+
<path
|
|
6750
|
+
d="M203-480h117q11 0 21 5.5t15 16.5l44 88 124-248q11-23 36-23t36 23l69 138h92q-15-102-93-171t-184-69q-106 0-184 69t-93 171Zm461 251q78-69 93-171H640q-11 0-21-5.5T604-422l-44-88-124 248q-11 23-36 23t-36-23l-69-138h-92q15 102 93 171t184 69q106 0 184-69ZM340.5-108.5Q275-137 226-186t-77.5-114.5Q120-366 120-440h80q0 116 82 198t198 82q116 0 198-82t82-198h80q0 74-28.5 139.5T734-186q-49 49-114.5 77.5T480-80q-74 0-139.5-28.5ZM120-440q0-74 28.5-139.5T226-694q49-49 114.5-77.5T480-800q62 0 119 20t107 58l56-56 56 56-56 56q38 50 58 107t20 119h-80q0-116-82-198t-198-82q-116 0-198 82t-82 198h-80Zm240-400v-80h240v80H360Zm-78 598q-82-82-82-198t82-198q82-82 198-82t198 82q82 82 82 198t-82 198q-82 82-198 82t-198-82Zm198-198Z"
|
|
6751
|
+
/>
|
|
6752
|
+
</svg>
|
|
6753
|
+
</t>
|
|
6521
6754
|
|
|
6522
6755
|
<t t-name="o-spreadsheet-IconPicker">
|
|
6523
6756
|
<div class="o-icon-picker bg-white">
|
|
6524
6757
|
<t t-foreach="iconSets" t-as="iconSet" t-key="iconSet">
|
|
6525
|
-
<div class="o-cf-icon-line">
|
|
6758
|
+
<div class="o-cf-icon-line os-theme-dependant">
|
|
6526
6759
|
<div
|
|
6527
6760
|
class="o-icon-picker-item p-1"
|
|
6528
6761
|
t-on-click="() => this.onIconClick(iconSets[iconSet].good)">
|
|
@@ -6897,7 +7130,7 @@
|
|
|
6897
7130
|
|
|
6898
7131
|
<t t-name="o-spreadsheet-GridAddRowsFooter">
|
|
6899
7132
|
<div
|
|
6900
|
-
class="o-grid-add-rows mt-2 ms-2 w-100 d-flex position-relative align-items-center"
|
|
7133
|
+
class="o-grid-add-rows mt-2 ms-2 w-100 d-flex position-relative align-items-center os-theme-dependant"
|
|
6901
7134
|
t-att-style="addRowsPosition"
|
|
6902
7135
|
t-on-pointerdown.stop.prevent="">
|
|
6903
7136
|
<button
|
|
@@ -6945,7 +7178,7 @@
|
|
|
6945
7178
|
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
6946
7179
|
onInputContextMenu.bind="onInputContextMenu"
|
|
6947
7180
|
/>
|
|
6948
|
-
<canvas t-ref="canvas"/>
|
|
7181
|
+
<canvas t-ref="canvas" class="os-theme-dependant pe-none"/>
|
|
6949
7182
|
<t t-set="focused" t-value="focusedClients"/>
|
|
6950
7183
|
<t
|
|
6951
7184
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -7008,7 +7241,7 @@
|
|
|
7008
7241
|
</button>
|
|
7009
7242
|
<div class="flex-fill">
|
|
7010
7243
|
<div
|
|
7011
|
-
class="o-fullscreen-figure o-figure position-relative border rounded shadow"
|
|
7244
|
+
class="o-fullscreen-figure os-theme-dependant o-figure position-relative border rounded shadow"
|
|
7012
7245
|
tabindex="1"
|
|
7013
7246
|
t-ref="fullScreenFigure"
|
|
7014
7247
|
t-on-click.stop=""
|
|
@@ -7320,7 +7553,7 @@
|
|
|
7320
7553
|
|
|
7321
7554
|
<t t-name="o-spreadsheet-FigureComponent">
|
|
7322
7555
|
<div
|
|
7323
|
-
class="o-figure-wrapper"
|
|
7556
|
+
class="o-figure-wrapper os-theme-dependant"
|
|
7324
7557
|
t-att-class="{'o-figure-selected': isSelected}"
|
|
7325
7558
|
t-att-style="wrapperStyle"
|
|
7326
7559
|
t-ref="figureWrapper">
|
|
@@ -7553,7 +7786,7 @@
|
|
|
7553
7786
|
|
|
7554
7787
|
<t t-name="o-spreadsheet-SpreadsheetDashboard">
|
|
7555
7788
|
<div
|
|
7556
|
-
class="o-grid o-two-columns o-zoomable"
|
|
7789
|
+
class="o-grid o-two-columns o-zoomable bg-white"
|
|
7557
7790
|
t-ref="dashboard"
|
|
7558
7791
|
tabindex="-1"
|
|
7559
7792
|
t-on-wheel="onMouseWheel"
|
|
@@ -7579,7 +7812,7 @@
|
|
|
7579
7812
|
/>
|
|
7580
7813
|
</div>
|
|
7581
7814
|
</GridOverlay>
|
|
7582
|
-
<canvas t-ref="canvas"/>
|
|
7815
|
+
<canvas t-ref="canvas" class="os-theme-dependant"/>
|
|
7583
7816
|
<GridPopover
|
|
7584
7817
|
gridRect="getGridRect()"
|
|
7585
7818
|
onMouseWheel.bind="onMouseWheel"
|
|
@@ -7868,9 +8101,13 @@
|
|
|
7868
8101
|
t-att-title="props.title"
|
|
7869
8102
|
t-att-class="props.class ? props.class : 'o-color-picker-button-style'"
|
|
7870
8103
|
t-att-disabled="props.disabled">
|
|
7871
|
-
<
|
|
8104
|
+
<div class="position-relative">
|
|
7872
8105
|
<t t-call="{{props.icon}}"/>
|
|
7873
|
-
|
|
8106
|
+
<div
|
|
8107
|
+
class="o-colored-border position-absolute bottom-0 w-100 os-theme-dependant"
|
|
8108
|
+
t-att-style="iconStyle"
|
|
8109
|
+
/>
|
|
8110
|
+
</div>
|
|
7874
8111
|
</span>
|
|
7875
8112
|
<ColorPicker
|
|
7876
8113
|
t-if="props.showColorPicker"
|
|
@@ -7891,7 +8128,7 @@
|
|
|
7891
8128
|
t-foreach="COLORS"
|
|
7892
8129
|
t-as="color"
|
|
7893
8130
|
t-key="color"
|
|
7894
|
-
class="o-color-picker-line-item"
|
|
8131
|
+
class="o-color-picker-line-item os-theme-dependant"
|
|
7895
8132
|
t-att-data-color="color"
|
|
7896
8133
|
t-on-click="() => this.onColorClick(color)"
|
|
7897
8134
|
t-attf-style="background-color:{{color}};">
|
|
@@ -7919,7 +8156,7 @@
|
|
|
7919
8156
|
t-foreach="env.model.getters.getCustomColors()"
|
|
7920
8157
|
t-as="color"
|
|
7921
8158
|
t-key="color"
|
|
7922
|
-
class="o-color-picker-line-item"
|
|
8159
|
+
class="o-color-picker-line-item os-theme-dependant"
|
|
7923
8160
|
t-att-data-color="color"
|
|
7924
8161
|
t-attf-style="background-color:{{color}};"
|
|
7925
8162
|
t-on-click="() => this.onColorClick(color)">
|
|
@@ -7933,7 +8170,7 @@
|
|
|
7933
8170
|
</div>
|
|
7934
8171
|
<div t-if="state.showGradient" class="o-custom-selector">
|
|
7935
8172
|
<div
|
|
7936
|
-
class="o-gradient"
|
|
8173
|
+
class="o-gradient os-theme-dependant"
|
|
7937
8174
|
t-on-click.stop=""
|
|
7938
8175
|
t-on-pointerdown="dragGradientPointer"
|
|
7939
8176
|
t-att-style="gradientHueStyle">
|
|
@@ -7943,7 +8180,7 @@
|
|
|
7943
8180
|
</div>
|
|
7944
8181
|
<div class="o-hue-container" t-on-pointerdown="dragHuePointer">
|
|
7945
8182
|
<div class="o-hue-picker border rounded" t-on-click.stop=""/>
|
|
7946
|
-
<div class="o-hue-slider pe-none" t-att-style="sliderStyle">
|
|
8183
|
+
<div class="o-hue-slider pe-none os-theme-dependant" t-att-style="sliderStyle">
|
|
7947
8184
|
<t t-call="o-spreadsheet-Icon.CARET_UP"/>
|
|
7948
8185
|
</div>
|
|
7949
8186
|
</div>
|
|
@@ -7956,7 +8193,10 @@
|
|
|
7956
8193
|
t-att-value="state.customHexColor"
|
|
7957
8194
|
t-on-input="setHexColor"
|
|
7958
8195
|
/>
|
|
7959
|
-
<div
|
|
8196
|
+
<div
|
|
8197
|
+
class="o-color-preview border rounded os-theme-dependant"
|
|
8198
|
+
t-att-style="colorPreviewStyle"
|
|
8199
|
+
/>
|
|
7960
8200
|
</div>
|
|
7961
8201
|
<div class="o-custom-input-buttons">
|
|
7962
8202
|
<button
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { CellValue
|
|
1
|
+
import { CellValue } from "../types/cells";
|
|
2
|
+
import { Format } from "../types/format";
|
|
2
3
|
import { SpreadsheetChildEnv } from "../types/spreadsheet_env";
|
|
3
4
|
import { ActionSpec } from "./action";
|
|
4
5
|
export interface NumberFormatActionSpec extends ActionSpec {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Format } from "../types/format";
|
|
2
|
+
import { Dimension, Style } from "../types/misc";
|
|
2
3
|
import { SpreadsheetChildEnv } from "../types/spreadsheet_env";
|
|
3
4
|
import { ActionSpec } from "./action";
|
|
4
5
|
export declare function setFormatter(env: SpreadsheetChildEnv, format: Format): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { Border, HeaderIndex, UID } from "../types/misc";
|
|
2
3
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
4
|
type ClipboardContent = {
|
|
4
5
|
borders: (Border | null)[][];
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SpreadsheetChart } from "../helpers/figures/chart";
|
|
2
|
-
import {
|
|
2
|
+
import { ClipboardFigureData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
3
|
+
import { CommandResult } from "../types/commands";
|
|
4
|
+
import { Carousel, Figure } from "../types/figure";
|
|
5
|
+
import { UID, Zone } from "../types/misc";
|
|
3
6
|
import { AbstractFigureClipboardHandler } from "./abstract_figure_clipboard_handler";
|
|
4
7
|
type ClipboardContent = {
|
|
5
8
|
figureId: UID;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClipboardCellData, ClipboardCopyOptions, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { CommandResult } from "../types/commands";
|
|
3
|
+
import { ClipboardCell, HeaderIndex, UID, Zone } from "../types/misc";
|
|
2
4
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
5
|
interface ClipboardContent {
|
|
4
6
|
cells: ClipboardCell[][];
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { SpreadsheetChart } from "../helpers/figures/chart";
|
|
2
|
-
import { ClipboardFigureData, ClipboardOptions, ClipboardPasteTarget
|
|
2
|
+
import { ClipboardFigureData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
3
|
+
import { CommandResult } from "../types/commands";
|
|
4
|
+
import { Figure } from "../types/figure";
|
|
5
|
+
import { UID, Zone } from "../types/misc";
|
|
3
6
|
import { AbstractFigureClipboardHandler } from "./abstract_figure_clipboard_handler";
|
|
4
7
|
type ClipboardContent = {
|
|
5
8
|
figureId: UID;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { ConditionalFormat } from "../types/conditional_formatting";
|
|
3
|
+
import { CellPosition, HeaderIndex, Maybe, UID } from "../types/misc";
|
|
2
4
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
5
|
interface ClipboardConditionalFormat {
|
|
4
6
|
position: CellPosition;
|
|
@@ -8,7 +10,6 @@ interface ClipboardContent {
|
|
|
8
10
|
cfRules: Maybe<ClipboardConditionalFormat>[][];
|
|
9
11
|
}
|
|
10
12
|
export declare class ConditionalFormatClipboardHandler extends AbstractCellClipboardHandler<ClipboardContent, Maybe<ClipboardConditionalFormat>> {
|
|
11
|
-
private readonly uuidGenerator;
|
|
12
13
|
private queuedChanges;
|
|
13
14
|
copy(data: ClipboardCellData): ClipboardContent | undefined;
|
|
14
15
|
paste(target: ClipboardPasteTarget, clippedContent: ClipboardContent, options: ClipboardOptions): void;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { DataValidationRule } from "../types/data_validation";
|
|
3
|
+
import { CellPosition, HeaderIndex, Maybe, UID } from "../types/misc";
|
|
2
4
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
5
|
interface ClipboardDataValidationRule {
|
|
4
6
|
position: CellPosition;
|
|
@@ -8,7 +10,6 @@ interface ClipboardContent {
|
|
|
8
10
|
dvRules: Maybe<ClipboardDataValidationRule>[][];
|
|
9
11
|
}
|
|
10
12
|
export declare class DataValidationClipboardHandler extends AbstractCellClipboardHandler<ClipboardContent, Maybe<ClipboardDataValidationRule>> {
|
|
11
|
-
private readonly uuidGenerator;
|
|
12
13
|
private queuedChanges;
|
|
13
14
|
copy(data: ClipboardCellData): ClipboardContent | undefined;
|
|
14
15
|
paste(target: ClipboardPasteTarget, clippedContent: ClipboardContent, options: ClipboardOptions): void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
import { ClipboardFigureData, ClipboardOptions, ClipboardPasteTarget
|
|
1
|
+
import { ClipboardFigureData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { CommandResult } from "../types/commands";
|
|
3
|
+
import { Figure } from "../types/figure";
|
|
2
4
|
import { Image } from "../types/image";
|
|
5
|
+
import { UID, Zone } from "../types/misc";
|
|
3
6
|
import { AbstractFigureClipboardHandler } from "./abstract_figure_clipboard_handler";
|
|
4
7
|
type ClipboardContent = {
|
|
5
8
|
figureId: UID;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget
|
|
1
|
+
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { HeaderIndex, Maybe, Merge, UID } from "../types/misc";
|
|
2
3
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
4
|
interface ClipboardContent {
|
|
4
5
|
sheetId: UID;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget
|
|
1
|
+
import { ClipboardCellData, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { UID, Zone } from "../types/misc";
|
|
2
3
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
4
|
interface ClipboardContent {
|
|
4
5
|
zones: Zone[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { ClipboardOptions
|
|
1
|
+
import { ClipboardOptions } from "../types/clipboard";
|
|
2
|
+
import { CommandResult } from "../types/commands";
|
|
3
|
+
import { UID, Zone } from "../types/misc";
|
|
2
4
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
5
|
type ClipboardContent = {
|
|
4
6
|
cells: any[][];
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ClipboardCellData, ClipboardCopyOptions, ClipboardOptions, ClipboardPasteTarget } from "../types/clipboard";
|
|
2
|
+
import { Border, HeaderIndex, Style, UID } from "../types/misc";
|
|
3
|
+
import { RangeData } from "../types/range";
|
|
4
|
+
import { CoreTableType, TableConfig } from "../types/table";
|
|
2
5
|
import { AbstractCellClipboardHandler } from "./abstract_cell_clipboard_handler";
|
|
3
6
|
interface TableStyle {
|
|
4
7
|
style?: Style;
|
|
@@ -35,7 +35,6 @@ export declare class Session extends EventBus<CollaborativeEvent> {
|
|
|
35
35
|
private isReplayingInitialRevisions;
|
|
36
36
|
private processedRevisions;
|
|
37
37
|
private lastRevisionMessage;
|
|
38
|
-
private uuidGenerator;
|
|
39
38
|
private lastLocalOperation;
|
|
40
39
|
/**
|
|
41
40
|
* Manages the collaboration between multiple users on the same spreadsheet.
|