@odoo/o-spreadsheet 19.4.0-alpha.7 → 19.5.0-alpha.0
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 +5001 -3518
- package/dist/o_spreadsheet.css +76 -22
- package/dist/o_spreadsheet.esm.js +4797 -3317
- package/dist/o_spreadsheet.iife.js +5001 -3518
- package/dist/o_spreadsheet.min.iife.js +299 -306
- package/dist/o_spreadsheet.xml +2247 -1887
- package/dist/types/actions/action.d.ts +1 -0
- package/dist/types/actions/data_actions.d.ts +3 -0
- package/dist/types/actions/sheet_actions.d.ts +5 -2
- package/dist/types/clipboard_handlers/cell_clipboard.d.ts +1 -1
- package/dist/types/clipboard_handlers/default_clipboard.d.ts +29 -0
- package/dist/types/components/action_button/action_button.d.ts +9 -30
- package/dist/types/components/animation/ripple.d.ts +28 -94
- package/dist/types/components/autofill/autofill.d.ts +6 -10
- package/dist/types/components/border_editor/border_editor.d.ts +20 -47
- package/dist/types/components/border_editor/border_editor_widget.d.ts +8 -24
- package/dist/types/components/bottom_bar/bottom_bar.d.ts +6 -9
- package/dist/types/components/bottom_bar/bottom_bar_sheet/bottom_bar_sheet.d.ts +8 -24
- package/dist/types/components/bottom_bar/bottom_bar_statistic/bottom_bar_statistic.d.ts +9 -13
- package/dist/types/components/collaborative_client_tag/collaborative_client_tag.d.ts +9 -18
- package/dist/types/components/color_picker/color_picker.d.ts +14 -31
- package/dist/types/components/color_picker/color_picker_widget.d.ts +14 -44
- package/dist/types/components/composer/autocomplete_dropdown/autocomplete_dropdown.d.ts +9 -19
- package/dist/types/components/composer/composer/abstract_composer_store.d.ts +1 -1
- package/dist/types/components/composer/composer/cell_composer_store.d.ts +1 -0
- package/dist/types/components/composer/composer/composer.d.ts +16 -70
- package/dist/types/components/composer/formula_assistant/formula_assistant.d.ts +9 -18
- package/dist/types/components/composer/grid_composer/grid_composer.d.ts +9 -14
- package/dist/types/components/composer/speech_bubble/speech_bubble.d.ts +6 -11
- package/dist/types/components/composer/standalone_composer/standalone_composer.d.ts +14 -63
- package/dist/types/components/composer/standalone_composer/standalone_composer_store.d.ts +1 -0
- package/dist/types/components/composer/top_bar_composer/top_bar_composer.d.ts +2 -3
- package/dist/types/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.d.ts +6 -12
- package/dist/types/components/dashboard/clickable_cell_store.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard.d.ts +7 -9
- package/dist/types/components/error_tooltip/error_tooltip.d.ts +6 -15
- package/dist/types/components/figures/chart/chartJs/chartjs.d.ts +7 -18
- package/dist/types/components/figures/chart/chart_menu/chart_menu.d.ts +43 -0
- package/dist/types/components/figures/chart/gauge/gauge_chart_component.d.ts +6 -14
- package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +6 -15
- package/dist/types/components/figures/figure/figure.d.ts +10 -35
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +13 -28
- package/dist/types/components/figures/figure_chart/figure_chart.d.ts +10 -27
- package/dist/types/components/figures/figure_container/figure_container.d.ts +2 -5
- package/dist/types/components/figures/figure_image/figure_image.d.ts +10 -21
- package/dist/types/components/filters/filter_menu/filter_menu.d.ts +6 -14
- package/dist/types/components/filters/filter_menu_criterion/filter_menu_criterion.d.ts +8 -16
- package/dist/types/components/filters/filter_menu_item/filter_menu_value_item.d.ts +11 -23
- package/dist/types/components/filters/filter_menu_value_list/filter_menu_value_list.d.ts +14 -15
- package/dist/types/components/filters/pivot_filter_menu/pivot_filter_menu.d.ts +37 -0
- package/dist/types/components/font_size_editor/font_size_editor.d.ts +8 -25
- package/dist/types/components/full_screen_figure/full_screen_figure.d.ts +3 -4
- package/dist/types/components/generic_input/generic_input.d.ts +18 -49
- package/dist/types/components/grid/grid.d.ts +7 -11
- package/dist/types/components/grid_add_rows_footer/grid_add_rows_footer.d.ts +3 -9
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +10 -42
- package/dist/types/components/grid_popover/grid_popover.d.ts +7 -14
- package/dist/types/components/header_group/header_group.d.ts +8 -13
- package/dist/types/components/header_group/header_group_container.d.ts +7 -12
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +13 -19
- package/dist/types/components/headers_overlay/unhide_headers.d.ts +16 -31
- package/dist/types/components/helpers/autofocus_hook.d.ts +2 -3
- package/dist/types/components/helpers/dom_helpers.d.ts +1 -6
- package/dist/types/components/helpers/draw_grid_hook.d.ts +3 -2
- package/dist/types/components/helpers/highlight_hook.d.ts +2 -2
- package/dist/types/components/helpers/listener_hook.d.ts +2 -11
- package/dist/types/components/helpers/touch_handlers_hook.d.ts +2 -2
- package/dist/types/components/highlight/border/border.d.ts +8 -17
- package/dist/types/components/highlight/corner/corner.d.ts +9 -19
- package/dist/types/components/highlight/highlight/highlight.d.ts +7 -12
- package/dist/types/components/icon_picker/icon_picker.d.ts +6 -29
- package/dist/types/components/info_popover/info_popover.d.ts +21 -0
- package/dist/types/components/link/link_display/link_display.d.ts +7 -14
- package/dist/types/components/link/link_editor/link_editor.d.ts +10 -23
- package/dist/types/components/menu/menu.d.ts +16 -56
- package/dist/types/components/menu_popover/menu_popover.d.ts +21 -71
- package/dist/types/components/named_range_selector/named_range_selector.d.ts +2 -5
- package/dist/types/components/number_editor/number_editor.d.ts +17 -55
- package/dist/types/components/number_input/number_input.d.ts +18 -61
- package/dist/types/components/paint_format_button/paint_format_button.d.ts +5 -12
- package/dist/types/components/pivot_html_renderer/pivot_html_renderer.d.ts +7 -12
- package/dist/types/components/popover/popover.d.ts +12 -69
- package/dist/types/components/props_validation.d.ts +182 -0
- package/dist/types/components/scrollbar/scrollbar.d.ts +11 -30
- package/dist/types/components/scrollbar/scrollbar_horizontal.d.ts +4 -14
- package/dist/types/components/scrollbar/scrollbar_vertical.d.ts +4 -14
- package/dist/types/components/select/select.d.ts +14 -37
- package/dist/types/components/selection/selection.d.ts +5 -5
- package/dist/types/components/selection_input/selection_input.d.ts +20 -76
- package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +6 -11
- package/dist/types/components/side_panel/chart/bar_chart/bar_chart_design_panel.d.ts +2 -10
- package/dist/types/components/side_panel/chart/bubble_chart/bubble_chart_config_panel.d.ts +3 -8
- package/dist/types/components/side_panel/chart/bubble_chart/bubble_chart_design_panel.d.ts +7 -17
- package/dist/types/components/side_panel/chart/building_blocks/annotation/annotation.d.ts +24 -0
- package/dist/types/components/side_panel/chart/building_blocks/axis_design/axis_design_editor.d.ts +10 -18
- package/dist/types/components/side_panel/chart/building_blocks/chart_title/chart_title.d.ts +18 -34
- package/dist/types/components/side_panel/chart/building_blocks/color_scale/color_scale_picker.d.ts +12 -17
- package/dist/types/components/side_panel/chart/building_blocks/data_series/data_series.d.ts +20 -62
- package/dist/types/components/side_panel/chart/building_blocks/data_source/data_source.d.ts +17 -42
- package/dist/types/components/side_panel/chart/building_blocks/error_section/error_section.d.ts +6 -13
- package/dist/types/components/side_panel/chart/building_blocks/general_design/general_design_editor.d.ts +10 -25
- package/dist/types/components/side_panel/chart/building_blocks/generic_side_panel/config_panel.d.ts +3 -8
- package/dist/types/components/side_panel/chart/building_blocks/humanize_numbers/humanize_numbers.d.ts +3 -8
- package/dist/types/components/side_panel/chart/building_blocks/label_range/label_range.d.ts +15 -35
- package/dist/types/components/side_panel/chart/building_blocks/legend/legend.d.ts +9 -18
- package/dist/types/components/side_panel/chart/building_blocks/pie_hole_size/pie_hole_size.d.ts +6 -11
- package/dist/types/components/side_panel/chart/building_blocks/range_data_source/range_data_source.d.ts +19 -42
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_design_editor.d.ts +9 -17
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_with_axis_design_editor.d.ts +9 -17
- package/dist/types/components/side_panel/chart/building_blocks/show_data_markers/show_data_markers.d.ts +3 -8
- package/dist/types/components/side_panel/chart/building_blocks/show_values/show_values.d.ts +11 -17
- package/dist/types/components/side_panel/chart/building_blocks/text_styler/text_styler.d.ts +19 -39
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/chart_side_panel_registry.d.ts +1 -1
- package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +11 -18
- package/dist/types/components/side_panel/chart/chart_with_axis/design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/combo_chart/combo_chart_design_panel.d.ts +2 -0
- package/dist/types/components/side_panel/chart/common.d.ts +6 -5
- package/dist/types/components/side_panel/chart/funnel_chart_panel/funnel_chart_design_panel.d.ts +7 -8
- package/dist/types/components/side_panel/chart/gauge_chart_panel/gauge_chart_config_panel.d.ts +3 -8
- package/dist/types/components/side_panel/chart/gauge_chart_panel/gauge_chart_design_panel.d.ts +7 -9
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_design_panel.d.ts +1 -0
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_region_select_section.d.ts +9 -15
- package/dist/types/components/side_panel/chart/line_chart/line_chart_design_panel.d.ts +1 -0
- package/dist/types/components/side_panel/chart/main_chart_panel/main_chart_panel.d.ts +6 -11
- package/dist/types/components/side_panel/chart/pie_chart/pie_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/radar_chart/radar_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_config_panel.d.ts +3 -8
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/sunburst_chart/sunburst_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_category_color/treemap_category_color.d.ts +9 -15
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_color_scale/treemap_color_scale.d.ts +8 -15
- package/dist/types/components/side_panel/chart/waterfall_chart/waterfall_chart_design_panel.d.ts +5 -8
- package/dist/types/components/side_panel/chart/zoomable_chart/design_panel.d.ts +2 -3
- package/dist/types/components/side_panel/column_stats/column_stats_panel.d.ts +6 -10
- package/dist/types/components/side_panel/components/badge_selection/badge_selection.d.ts +7 -12
- package/dist/types/components/side_panel/components/checkbox/checkbox.d.ts +10 -41
- package/dist/types/components/side_panel/components/cog_wheel_menu/cog_wheel_menu.d.ts +5 -10
- package/dist/types/components/side_panel/components/collapse/collapse.d.ts +5 -11
- package/dist/types/components/side_panel/components/collapsible/side_panel_collapsible.d.ts +7 -17
- package/dist/types/components/side_panel/components/radio_selection/radio_selection.d.ts +9 -24
- package/dist/types/components/side_panel/components/round_color_picker/round_color_picker.d.ts +9 -27
- package/dist/types/components/side_panel/components/section/section.d.ts +7 -17
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cell_is_rule_editor.d.ts +5 -10
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cf_editor.d.ts +7 -14
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cf_editor_store.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor.d.ts +5 -10
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor_threshold.d.ts +9 -13
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/data_bar_rule_editor.d.ts +5 -10
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/icon_set_rule_editor.d.ts +8 -11
- package/dist/types/components/side_panel/conditional_formatting/cf_preview/cf_preview.d.ts +8 -15
- package/dist/types/components/side_panel/conditional_formatting/cf_preview_list/cf_preview_list.d.ts +5 -9
- package/dist/types/components/side_panel/criterion_form/criterion_form.d.ts +4 -15
- package/dist/types/components/side_panel/criterion_form/criterion_input/criterion_input.d.ts +16 -50
- package/dist/types/components/side_panel/data_validation/data_validation_panel.d.ts +6 -12
- package/dist/types/components/side_panel/data_validation/dv_editor/dv_editor.d.ts +7 -15
- package/dist/types/components/side_panel/data_validation/dv_preview/dv_preview.d.ts +6 -11
- package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +9 -10
- package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +10 -3
- package/dist/types/components/side_panel/more_formats/more_formats.d.ts +7 -15
- package/dist/types/components/side_panel/named_ranges_panel/named_range_preview/named_range_preview.d.ts +7 -10
- package/dist/types/components/side_panel/named_ranges_panel/named_ranges_panel.d.ts +5 -9
- package/dist/types/components/side_panel/perf_profile/perf_profile_panel.d.ts +5 -9
- package/dist/types/components/side_panel/pivot/pivot_custom_groups_collapsible/pivot_custom_groups_collapsible.d.ts +7 -13
- package/dist/types/components/side_panel/pivot/pivot_defer_update/pivot_defer_update.d.ts +9 -17
- package/dist/types/components/side_panel/pivot/pivot_filter/pivot_filter.d.ts +45 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/add_dimension_button/add_dimension_button.d.ts +7 -15
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension/pivot_dimension.d.ts +9 -25
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_granularity/pivot_dimension_granularity.d.ts +9 -16
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_order/pivot_dimension_order.d.ts +9 -12
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +18 -29
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_measure/pivot_measure.d.ts +12 -22
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_sort_section/pivot_sort_section.d.ts +6 -13
- package/dist/types/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel.d.ts +8 -15
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_design_panel/pivot_design_panel.d.ts +5 -10
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel.d.ts +7 -19
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.d.ts +1 -0
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_spreadsheet_side_panel/pivot_spreadsheet_side_panel.d.ts +13 -13
- package/dist/types/components/side_panel/pivot/pivot_title_section/pivot_title_section.d.ts +6 -12
- package/dist/types/components/side_panel/remove_duplicates/remove_duplicates.d.ts +5 -8
- package/dist/types/components/side_panel/settings/settings_panel.d.ts +5 -9
- package/dist/types/components/side_panel/side_panel/side_panel.d.ts +13 -38
- package/dist/types/components/side_panel/side_panels/side_panels.d.ts +27 -7
- package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_panel.d.ts +5 -8
- package/dist/types/components/side_panel/table_panel/table_panel.d.ts +7 -11
- package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +7 -18
- package/dist/types/components/small_bottom_bar/ribbon_menu/ribbon_menu.d.ts +8 -12
- package/dist/types/components/small_bottom_bar/small_bottom_bar.d.ts +8 -11
- package/dist/types/components/spreadsheet/spreadsheet.d.ts +10 -24
- package/dist/types/components/spreadsheet_print/spreadsheet_print.d.ts +5 -9
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +17 -18
- package/dist/types/components/tables/table_dropdown_button/table_dropdown_button.d.ts +9 -14
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +5 -9
- package/dist/types/components/tables/table_style_picker/table_style_picker.d.ts +12 -17
- package/dist/types/components/tables/table_style_preview/table_style_preview.d.ts +10 -29
- package/dist/types/components/tables/table_styles_popover/table_styles_popover.d.ts +33 -27
- package/dist/types/components/text_input/text_input.d.ts +2 -48
- package/dist/types/components/top_bar/color_editor/color_editor.d.ts +9 -15
- package/dist/types/components/top_bar/dropdown_action/dropdown_action.d.ts +12 -21
- package/dist/types/components/top_bar/font_size_editor/font_size_editor.d.ts +5 -9
- package/dist/types/components/top_bar/number_formats_tool/number_formats_tool.d.ts +6 -11
- package/dist/types/components/top_bar/top_bar.d.ts +16 -31
- package/dist/types/components/top_bar/top_bar_tool_store.d.ts +2 -2
- package/dist/types/components/top_bar/zoom_editor/zoom_editor.d.ts +5 -9
- package/dist/types/components/validation_messages/validation_messages.d.ts +7 -17
- package/dist/types/constants.d.ts +2 -2
- package/dist/types/functions/function_registry.d.ts +1 -1
- package/dist/types/helpers/cells/cell_evaluation.d.ts +1 -1
- package/dist/types/helpers/data_normalization.d.ts +1 -2
- package/dist/types/helpers/figures/charts/chart_js_extension.d.ts +1 -1
- package/dist/types/helpers/figures/charts/runtime/chart_highlight.d.ts +2 -0
- package/dist/types/helpers/filter_helpers.d.ts +8 -0
- package/dist/types/helpers/formulas.d.ts +1 -0
- package/dist/types/helpers/locale.d.ts +0 -5
- package/dist/types/helpers/misc.d.ts +5 -0
- package/dist/types/helpers/pivot/pivot_registry.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_runtime_definition.d.ts +3 -1
- package/dist/types/helpers/pivot/pivot_side_panel_registry.d.ts +1 -1
- package/dist/types/helpers/pivot/spreadsheet_pivot/spreadsheet_pivot.d.ts +11 -3
- package/dist/types/helpers/selection_statistic_functions.d.ts +5 -3
- package/dist/types/index.d.ts +40 -12
- package/dist/types/migrations/migration_steps.d.ts +1 -1
- package/dist/types/owl3_compatibility_layer.d.ts +85 -0
- package/dist/types/plugins/core/cell.d.ts +2 -10
- package/dist/types/plugins/core/default.d.ts +64 -0
- package/dist/types/plugins/core/sheet.d.ts +2 -1
- package/dist/types/plugins/plugin_registries.d.ts +1 -1
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluation_plugin.d.ts +2 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluator.d.ts +6 -0
- package/dist/types/plugins/ui_core_views/custom_colors.d.ts +2 -0
- package/dist/types/plugins/ui_feature/color_theme.d.ts +0 -1
- package/dist/types/plugins/ui_feature/table_computed_style.d.ts +1 -1
- package/dist/types/plugins/ui_feature/ui_options.d.ts +7 -1
- package/dist/types/plugins/ui_stateful/filter_evaluation.d.ts +0 -1
- package/dist/types/plugins/ui_stateful/selection.d.ts +1 -0
- package/dist/types/registries/cell_clickable_registry.d.ts +1 -1
- package/dist/types/registries/chart_component_registry.d.ts +1 -1
- package/dist/types/registries/chart_data_source_registry.d.ts +3 -1
- package/dist/types/registries/chart_registry.d.ts +2 -4
- package/dist/types/registries/criterion_component_registry.d.ts +1 -1
- package/dist/types/registries/menus/sheet_menu_registry.d.ts +2 -1
- package/dist/types/registries/toolbar_menu_registry.d.ts +8 -7
- package/dist/types/registries/topbar_component_registry.d.ts +1 -0
- package/dist/types/selection_stream/selection_stream_processor.d.ts +1 -1
- package/dist/types/store_engine/store_hooks.d.ts +1 -2
- package/dist/types/stores/grid_renderer_store.d.ts +1 -0
- package/dist/types/types/autofill.d.ts +4 -1
- package/dist/types/types/cell_popovers.d.ts +3 -3
- package/dist/types/types/chart/bar_chart.d.ts +3 -2
- package/dist/types/types/chart/calendar_chart.d.ts +2 -2
- package/dist/types/types/chart/chart.d.ts +4 -0
- package/dist/types/types/chart/combo_chart.d.ts +2 -2
- package/dist/types/types/chart/common_chart.d.ts +9 -8
- package/dist/types/types/chart/funnel_chart.d.ts +2 -12
- package/dist/types/types/chart/geo_chart.d.ts +2 -2
- package/dist/types/types/chart/line_chart.d.ts +2 -2
- package/dist/types/types/chart/pie_chart.d.ts +2 -2
- package/dist/types/types/chart/radar_chart.d.ts +2 -2
- package/dist/types/types/chart/sunburst_chart.d.ts +3 -6
- package/dist/types/types/chart/tree_map_chart.d.ts +2 -4
- package/dist/types/types/chart/waterfall_chart.d.ts +2 -2
- package/dist/types/types/commands.d.ts +25 -12
- package/dist/types/types/core_getters.d.ts +2 -1
- package/dist/types/types/event_stream/selection_events.d.ts +1 -0
- package/dist/types/types/find_and_replace.d.ts +1 -0
- package/dist/types/types/misc.d.ts +8 -4
- package/dist/types/types/pivot.d.ts +13 -0
- package/dist/types/types/props_of.d.ts +11 -3
- package/dist/types/types/selection_stream_processor.d.ts +1 -1
- package/dist/types/types/spreadsheet_env.d.ts +0 -1
- package/dist/types/types/workbook_data.d.ts +4 -0
- package/dist/types/xlsx/conversion/color_conversion.d.ts +5 -0
- package/dist/types/xlsx/extraction/chart_extractor.d.ts +18 -0
- package/dist/types/xlsx/functions/worksheet.d.ts +2 -4
- package/package.json +10 -7
- package/dist/types/components/figures/chart/chart_dashboard_menu/chart_dashboard_menu.d.ts +0 -44
- package/dist/types/registry.d.ts +0 -10
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
2
2
|
import { ResizeDirection } from "../../../types/figure";
|
|
3
|
-
import {
|
|
4
|
-
import { Range } from "../../../types/range";
|
|
3
|
+
import { HeaderIndex } from "../../../types/misc";
|
|
5
4
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
6
5
|
import { DnDDirection } from "../../helpers/drag_and_drop_grid_hook";
|
|
7
6
|
import { Border } from "../border/border";
|
|
8
7
|
import { Corner } from "../corner/corner";
|
|
9
|
-
export interface HighlightProps {
|
|
10
|
-
range: Range;
|
|
11
|
-
color: Color;
|
|
12
|
-
}
|
|
13
8
|
interface HighlightState {
|
|
14
9
|
shiftingMode: "isMoving" | "isResizing" | "none";
|
|
15
10
|
}
|
|
16
|
-
export declare class Highlight extends Component<
|
|
11
|
+
export declare class Highlight extends Component<SpreadsheetChildEnv> {
|
|
17
12
|
static template: string;
|
|
18
|
-
static props: {
|
|
19
|
-
range: ObjectConstructor;
|
|
20
|
-
color: StringConstructor;
|
|
21
|
-
};
|
|
22
13
|
static components: {
|
|
23
14
|
Corner: typeof Corner;
|
|
24
15
|
Border: typeof Border;
|
|
25
16
|
};
|
|
17
|
+
protected props: import("@odoo/owl").Props<{
|
|
18
|
+
range: import("../../..").Range;
|
|
19
|
+
color: import("../../..").Color;
|
|
20
|
+
}>;
|
|
26
21
|
highlightState: HighlightState;
|
|
27
22
|
dragNDropGrid: {
|
|
28
23
|
start: (initialPointerCoordinates: {
|
|
@@ -1,34 +1,11 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare class IconPicker extends Component<Props, SpreadsheetChildEnv> {
|
|
2
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
3
|
+
export declare class IconPicker extends Component<SpreadsheetChildEnv> {
|
|
7
4
|
static template: string;
|
|
8
|
-
|
|
9
|
-
onIconPicked:
|
|
10
|
-
};
|
|
11
|
-
icons: Record<string, {
|
|
12
|
-
template: string;
|
|
13
|
-
svg: import("../../types/image").ImageSVG;
|
|
5
|
+
protected props: import("@odoo/owl").Props<{
|
|
6
|
+
onIconPicked: (icon: string) => void;
|
|
14
7
|
}>;
|
|
15
|
-
iconSets: {
|
|
16
|
-
arrows: {
|
|
17
|
-
good: string;
|
|
18
|
-
neutral: string;
|
|
19
|
-
bad: string;
|
|
20
|
-
};
|
|
21
|
-
smiley: {
|
|
22
|
-
good: string;
|
|
23
|
-
neutral: string;
|
|
24
|
-
bad: string;
|
|
25
|
-
};
|
|
26
|
-
dots: {
|
|
27
|
-
good: string;
|
|
28
|
-
neutral: string;
|
|
29
|
-
bad: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
8
|
onIconClick(icon: string): void;
|
|
9
|
+
getIconName(iconSet: "arrows" | "smiley" | "dots", iconType: "good" | "neutral" | "bad"): string;
|
|
10
|
+
getIconTemplate(icon: string): string;
|
|
33
11
|
}
|
|
34
|
-
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
2
|
+
import { PropsOf } from "../../types/props_of";
|
|
3
|
+
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
4
|
+
import { Popover } from "../popover/popover";
|
|
5
|
+
export declare class InfoPopover extends Component<SpreadsheetChildEnv> {
|
|
6
|
+
static template: string;
|
|
7
|
+
protected props: import("@odoo/owl").Props<{
|
|
8
|
+
anchorRect: import("../..").Rect;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
annotationText?: string | undefined;
|
|
11
|
+
annotationLink?: string | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
static components: {
|
|
14
|
+
Popover: typeof Popover;
|
|
15
|
+
};
|
|
16
|
+
setup(): void;
|
|
17
|
+
private infoRef;
|
|
18
|
+
get popoverProps(): PropsOf<Popover>;
|
|
19
|
+
private onExternalClick;
|
|
20
|
+
getAnnotationLinkWithHttps(): string | undefined;
|
|
21
|
+
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import type { PopoverBuilders } from "../../../types/cell_popovers";
|
|
3
2
|
import { EvaluatedCell } from "../../../types/cells";
|
|
4
|
-
import { Link
|
|
3
|
+
import { Link } from "../../../types/misc";
|
|
5
4
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
6
5
|
import { Store } from "../../../types/store_engine";
|
|
7
6
|
import { CellPopoverStore } from "../../popover/cell_popover_store";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export declare class LinkDisplay extends Component<LinkDisplayProps, SpreadsheetChildEnv> {
|
|
7
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
8
|
+
export declare class LinkDisplay extends Component<SpreadsheetChildEnv> {
|
|
12
9
|
static template: string;
|
|
13
|
-
|
|
14
|
-
cellPosition:
|
|
15
|
-
onClosed
|
|
16
|
-
|
|
17
|
-
optional: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
10
|
+
protected props: import("@odoo/owl").Props<{
|
|
11
|
+
cellPosition: import("../../..").CellPosition;
|
|
12
|
+
onClosed?: (() => void) | undefined;
|
|
13
|
+
}>;
|
|
20
14
|
protected cellPopovers: Store<CellPopoverStore>;
|
|
21
15
|
setup(): void;
|
|
22
16
|
get cell(): EvaluatedCell;
|
|
@@ -27,4 +21,3 @@ export declare class LinkDisplay extends Component<LinkDisplayProps, Spreadsheet
|
|
|
27
21
|
unlink(): void;
|
|
28
22
|
}
|
|
29
23
|
export declare const LinkCellPopoverBuilder: PopoverBuilders;
|
|
30
|
-
export {};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
2
2
|
import { PopoverBuilders } from "../../../types/cell_popovers";
|
|
3
|
-
import { Link
|
|
3
|
+
import { Link } from "../../../types/misc";
|
|
4
4
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
5
5
|
import { MenuPopover } from "../../menu_popover/menu_popover";
|
|
6
|
-
interface LinkEditorProps {
|
|
7
|
-
cellPosition: Position;
|
|
8
|
-
onClosed?: () => void;
|
|
9
|
-
}
|
|
10
6
|
interface LinkProposal {
|
|
11
7
|
text: string;
|
|
12
8
|
icon?: string;
|
|
@@ -21,30 +17,21 @@ interface LinkState {
|
|
|
21
17
|
linksByCategory: Record<string, LinkProposal>;
|
|
22
18
|
linksList: LinkProposal[];
|
|
23
19
|
}
|
|
24
|
-
export declare class LinkEditor extends Component<
|
|
20
|
+
export declare class LinkEditor extends Component<SpreadsheetChildEnv> {
|
|
25
21
|
static template: string;
|
|
26
|
-
static props: {
|
|
27
|
-
cellPosition: ObjectConstructor;
|
|
28
|
-
onClosed: {
|
|
29
|
-
type: FunctionConstructor;
|
|
30
|
-
optional: boolean;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
22
|
static components: {
|
|
34
23
|
MenuPopover: typeof MenuPopover;
|
|
35
24
|
};
|
|
25
|
+
protected props: import("@odoo/owl").Props<{
|
|
26
|
+
cellPosition: import("../../..").CellPosition;
|
|
27
|
+
onClosed?: (() => void) | undefined;
|
|
28
|
+
}>;
|
|
36
29
|
static size: {
|
|
37
30
|
maxHeight: number;
|
|
38
31
|
};
|
|
39
|
-
urlInput:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
suggestionListRef: {
|
|
43
|
-
el: HTMLElement | null;
|
|
44
|
-
};
|
|
45
|
-
urlInputContainer: {
|
|
46
|
-
el: HTMLElement | null;
|
|
47
|
-
};
|
|
32
|
+
urlInput: import("@odoo/owl").Signal<HTMLElement | null>;
|
|
33
|
+
suggestionListRef: import("@odoo/owl").Signal<HTMLElement | null>;
|
|
34
|
+
urlInputContainer: import("@odoo/owl").Signal<HTMLElement | null>;
|
|
48
35
|
private state;
|
|
49
36
|
setup(): void;
|
|
50
37
|
computeLinks(): void;
|
|
@@ -1,24 +1,11 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import { Action, MenuItemOrSeparator } from "../../actions/action";
|
|
2
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
3
3
|
import { Pixel } from "../../types/misc";
|
|
4
4
|
import { Rect } from "../../types/rendering";
|
|
5
5
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
6
6
|
export type MenuItemRects = {
|
|
7
7
|
[menuItemId: string]: Rect;
|
|
8
8
|
};
|
|
9
|
-
export interface MenuProps {
|
|
10
|
-
menuItems: MenuItemOrSeparator[];
|
|
11
|
-
onClose: () => void;
|
|
12
|
-
onScroll?: (ev: CustomEvent) => void;
|
|
13
|
-
onClickMenu?: (menu: Action, ev: PointerEvent) => void;
|
|
14
|
-
onMouseEnter?: (menu: Action, ev: PointerEvent) => void;
|
|
15
|
-
onMouseLeave?: (menu: Action, ev: PointerEvent) => void;
|
|
16
|
-
hoveredMenuId?: string;
|
|
17
|
-
isHoveredMenuFocused?: boolean;
|
|
18
|
-
width?: number;
|
|
19
|
-
onKeyDown?: (ev: KeyboardEvent) => void;
|
|
20
|
-
disableKeyboardNavigation?: boolean;
|
|
21
|
-
}
|
|
22
9
|
export interface MenuState {
|
|
23
10
|
isOpen: boolean;
|
|
24
11
|
parentMenu?: Action;
|
|
@@ -26,54 +13,27 @@ export interface MenuState {
|
|
|
26
13
|
menuItems: Action[];
|
|
27
14
|
isHoveringChild?: boolean;
|
|
28
15
|
}
|
|
29
|
-
export declare class Menu extends Component<
|
|
16
|
+
export declare class Menu extends Component<SpreadsheetChildEnv> {
|
|
30
17
|
static template: string;
|
|
31
|
-
static props: {
|
|
32
|
-
menuItems: ArrayConstructor;
|
|
33
|
-
onClose: FunctionConstructor;
|
|
34
|
-
onClickMenu: {
|
|
35
|
-
type: FunctionConstructor;
|
|
36
|
-
optional: boolean;
|
|
37
|
-
};
|
|
38
|
-
onMouseEnter: {
|
|
39
|
-
type: FunctionConstructor;
|
|
40
|
-
optional: boolean;
|
|
41
|
-
};
|
|
42
|
-
onMouseLeave: {
|
|
43
|
-
type: FunctionConstructor;
|
|
44
|
-
optional: boolean;
|
|
45
|
-
};
|
|
46
|
-
width: {
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
optional: boolean;
|
|
49
|
-
};
|
|
50
|
-
hoveredMenuId: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
optional: boolean;
|
|
53
|
-
};
|
|
54
|
-
isHoveredMenuFocused: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
optional: boolean;
|
|
57
|
-
};
|
|
58
|
-
onScroll: {
|
|
59
|
-
type: FunctionConstructor;
|
|
60
|
-
optional: boolean;
|
|
61
|
-
};
|
|
62
|
-
onKeyDown: {
|
|
63
|
-
type: FunctionConstructor;
|
|
64
|
-
optional: boolean;
|
|
65
|
-
};
|
|
66
|
-
disableKeyboardNavigation: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
optional: boolean;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
18
|
static components: {};
|
|
72
|
-
|
|
19
|
+
protected props: import("@odoo/owl").Props<{
|
|
20
|
+
menuItems: MenuItemOrSeparator[];
|
|
21
|
+
onClose: () => void;
|
|
22
|
+
onClickMenu?: ((menu: Action, ev: PointerEvent) => void) | undefined;
|
|
23
|
+
onMouseEnter?: ((menu: Action, ev: PointerEvent) => void) | undefined;
|
|
24
|
+
onMouseLeave?: ((menu: Action, ev: PointerEvent) => void) | undefined;
|
|
25
|
+
width?: number | undefined;
|
|
26
|
+
hoveredMenuId?: string | undefined;
|
|
27
|
+
isHoveredMenuFocused?: boolean | undefined;
|
|
28
|
+
onScroll?: ((ev: CustomEvent) => void) | undefined;
|
|
29
|
+
onKeyDown?: ((ev: KeyboardEvent) => void) | undefined;
|
|
30
|
+
disableKeyboardNavigation?: boolean | undefined;
|
|
31
|
+
}>;
|
|
73
32
|
private menuRef;
|
|
74
33
|
setup(): void;
|
|
75
34
|
get childrenHaveIcon(): boolean;
|
|
76
35
|
getIconName(menu: Action): string;
|
|
36
|
+
getShortcut(menu: Action): string | undefined;
|
|
77
37
|
getColor(menu: Action): string;
|
|
78
38
|
getIconColor(menu: Action): string;
|
|
79
39
|
getName(menu: Action): string;
|
|
@@ -1,26 +1,11 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import { Action } from "../../actions/action";
|
|
3
|
-
import {
|
|
2
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
4
3
|
import { Pixel, UID } from "../../types/misc";
|
|
4
|
+
import { PropsOf } from "../../types/props_of";
|
|
5
5
|
import { Rect } from "../../types/rendering";
|
|
6
6
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
7
|
-
import { Menu
|
|
8
|
-
import { Popover
|
|
9
|
-
interface Props {
|
|
10
|
-
anchorRect: Rect;
|
|
11
|
-
popoverPositioning: PopoverPropsPosition;
|
|
12
|
-
menuItems: Action[];
|
|
13
|
-
depth: number;
|
|
14
|
-
maxHeight?: Pixel;
|
|
15
|
-
onClose: () => void;
|
|
16
|
-
onMenuClicked?: (ev: CustomEvent) => void;
|
|
17
|
-
menuId?: UID;
|
|
18
|
-
onMouseOver?: () => void;
|
|
19
|
-
width?: number;
|
|
20
|
-
autoSelectFirstItem?: boolean;
|
|
21
|
-
disableKeyboardNavigation?: boolean;
|
|
22
|
-
onKeyboardNavigation?: (ev: KeyboardEvent) => void;
|
|
23
|
-
}
|
|
7
|
+
import { Menu } from "../menu/menu";
|
|
8
|
+
import { Popover } from "../popover/popover";
|
|
24
9
|
export interface MenuState {
|
|
25
10
|
isOpen: boolean;
|
|
26
11
|
parentMenu?: Action;
|
|
@@ -30,70 +15,36 @@ export interface MenuState {
|
|
|
30
15
|
isHoveringChild?: boolean;
|
|
31
16
|
autoSelectFirstItem?: boolean;
|
|
32
17
|
}
|
|
33
|
-
export declare class MenuPopover extends Component<
|
|
18
|
+
export declare class MenuPopover extends Component<SpreadsheetChildEnv> {
|
|
34
19
|
static template: string;
|
|
35
|
-
static props: {
|
|
36
|
-
anchorRect: ObjectConstructor;
|
|
37
|
-
popoverPositioning: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
optional: boolean;
|
|
40
|
-
};
|
|
41
|
-
menuItems: ArrayConstructor;
|
|
42
|
-
depth: {
|
|
43
|
-
type: NumberConstructor;
|
|
44
|
-
optional: boolean;
|
|
45
|
-
};
|
|
46
|
-
maxHeight: {
|
|
47
|
-
type: NumberConstructor;
|
|
48
|
-
optional: boolean;
|
|
49
|
-
};
|
|
50
|
-
onClose: FunctionConstructor;
|
|
51
|
-
onMenuClicked: {
|
|
52
|
-
type: FunctionConstructor;
|
|
53
|
-
optional: boolean;
|
|
54
|
-
};
|
|
55
|
-
menuId: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
optional: boolean;
|
|
58
|
-
};
|
|
59
|
-
onMouseOver: {
|
|
60
|
-
type: FunctionConstructor;
|
|
61
|
-
optional: boolean;
|
|
62
|
-
};
|
|
63
|
-
width: {
|
|
64
|
-
type: NumberConstructor;
|
|
65
|
-
optional: boolean;
|
|
66
|
-
};
|
|
67
|
-
autoSelectFirstItem: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
optional: boolean;
|
|
70
|
-
};
|
|
71
|
-
disableKeyboardNavigation: {
|
|
72
|
-
type: BooleanConstructor;
|
|
73
|
-
optional: boolean;
|
|
74
|
-
};
|
|
75
|
-
onKeyboardNavigation: {
|
|
76
|
-
type: FunctionConstructor;
|
|
77
|
-
optional: boolean;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
20
|
static components: {
|
|
81
21
|
MenuPopover: typeof MenuPopover;
|
|
82
22
|
Menu: typeof Menu;
|
|
83
23
|
Popover: typeof Popover;
|
|
84
24
|
};
|
|
85
|
-
|
|
25
|
+
protected props: import("@odoo/owl").PropsWithDefaults<{
|
|
26
|
+
anchorRect: Rect;
|
|
27
|
+
popoverPositioning: "top-right" | "bottom-left";
|
|
28
|
+
menuItems: Action[];
|
|
86
29
|
depth: number;
|
|
87
|
-
|
|
88
|
-
|
|
30
|
+
onClose: () => void;
|
|
31
|
+
maxHeight?: Pixel | undefined;
|
|
32
|
+
onMenuClicked?: ((ev: CustomEvent) => void) | undefined;
|
|
33
|
+
menuId?: UID | undefined;
|
|
34
|
+
onMouseOver?: (() => void) | undefined;
|
|
35
|
+
width?: number | undefined;
|
|
36
|
+
autoSelectFirstItem?: boolean | undefined;
|
|
37
|
+
disableKeyboardNavigation?: boolean | undefined;
|
|
38
|
+
onKeyboardNavigation?: ((ev: KeyboardEvent) => void) | undefined;
|
|
39
|
+
}, "depth" | "popoverPositioning">;
|
|
89
40
|
private subMenu;
|
|
90
41
|
private state;
|
|
91
42
|
private menuRef;
|
|
92
43
|
private openingTimeOut;
|
|
93
44
|
setup(): void;
|
|
94
|
-
get menuProps():
|
|
45
|
+
get menuProps(): PropsOf<Menu>;
|
|
95
46
|
get subMenuAnchorRect(): Rect;
|
|
96
|
-
get popoverProps():
|
|
47
|
+
get popoverProps(): PropsOf<Popover>;
|
|
97
48
|
get childrenHaveIcon(): boolean;
|
|
98
49
|
getIconName(menu: Action): string;
|
|
99
50
|
getColor(menu: Action): string;
|
|
@@ -125,4 +76,3 @@ export declare class MenuPopover extends Component<Props, SpreadsheetChildEnv> {
|
|
|
125
76
|
getNextEnabledMenuItem(currentHoveredMenu?: Action): Action | undefined;
|
|
126
77
|
getPreviousEnabledMenuItem(currentHoveredMenu?: Action): Action | undefined;
|
|
127
78
|
}
|
|
128
|
-
export {};
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import { Action } from "../../actions/action";
|
|
2
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
3
3
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
4
4
|
import { ToolBarDropdownStore } from "../helpers/top_bar_tool_hook";
|
|
5
5
|
import { MenuPopover, MenuState } from "../menu_popover/menu_popover";
|
|
6
6
|
import { TextInput } from "../text_input/text_input";
|
|
7
|
-
interface Props {
|
|
8
|
-
}
|
|
9
7
|
interface State extends Omit<MenuState, "isOpen"> {
|
|
10
8
|
searchedText?: string;
|
|
11
9
|
}
|
|
12
|
-
export declare class NamedRangeSelector extends Component<
|
|
10
|
+
export declare class NamedRangeSelector extends Component<SpreadsheetChildEnv> {
|
|
13
11
|
static template: string;
|
|
14
|
-
static props: {};
|
|
15
12
|
static components: {
|
|
16
13
|
TextInput: typeof TextInput;
|
|
17
14
|
MenuPopover: typeof MenuPopover;
|
|
@@ -1,72 +1,34 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
2
|
+
import { PropsOf } from "../../types/props_of";
|
|
2
3
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
3
|
-
import { Popover
|
|
4
|
+
import { Popover } from "../popover/popover";
|
|
4
5
|
interface State {
|
|
5
6
|
isOpen: boolean;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
-
currentValue: number;
|
|
9
|
-
class: string;
|
|
10
|
-
onValueChange: (fontSize: number) => void;
|
|
11
|
-
onToggle?: () => void;
|
|
12
|
-
onFocusInput?: () => void;
|
|
13
|
-
valueIcon?: String;
|
|
14
|
-
min: number;
|
|
15
|
-
max: number;
|
|
16
|
-
title: String;
|
|
17
|
-
valueList: number[];
|
|
18
|
-
}
|
|
19
|
-
export declare class NumberEditor extends Component<Props, SpreadsheetChildEnv> {
|
|
8
|
+
export declare class NumberEditor extends Component<SpreadsheetChildEnv> {
|
|
20
9
|
static template: string;
|
|
21
|
-
static props: {
|
|
22
|
-
currentValue: NumberConstructor;
|
|
23
|
-
onValueChange: FunctionConstructor;
|
|
24
|
-
onToggle: {
|
|
25
|
-
type: FunctionConstructor;
|
|
26
|
-
optional: boolean;
|
|
27
|
-
};
|
|
28
|
-
onFocusInput: {
|
|
29
|
-
type: FunctionConstructor;
|
|
30
|
-
optional: boolean;
|
|
31
|
-
};
|
|
32
|
-
class: StringConstructor;
|
|
33
|
-
valueIcon: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
optional: boolean;
|
|
36
|
-
};
|
|
37
|
-
min: NumberConstructor;
|
|
38
|
-
max: NumberConstructor;
|
|
39
|
-
title: StringConstructor;
|
|
40
|
-
valueList: {
|
|
41
|
-
(arrayLength: number): Number[];
|
|
42
|
-
(...items: Number[]): Number[];
|
|
43
|
-
new (arrayLength: number): Number[];
|
|
44
|
-
new (...items: Number[]): Number[];
|
|
45
|
-
isArray(arg: any): arg is any[];
|
|
46
|
-
readonly prototype: any[];
|
|
47
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
48
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
49
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
50
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
51
|
-
of<T>(...items: T[]): T[];
|
|
52
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
53
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
54
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
static defaultProps: {
|
|
58
|
-
onFocusInput: () => void;
|
|
59
|
-
};
|
|
60
10
|
static components: {
|
|
61
11
|
Popover: typeof Popover;
|
|
62
12
|
};
|
|
13
|
+
protected props: import("@odoo/owl").PropsWithDefaults<{
|
|
14
|
+
currentValue: number;
|
|
15
|
+
onValueChange: (fontSize: number) => void;
|
|
16
|
+
onFocusInput: () => void;
|
|
17
|
+
class: string;
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
title: string;
|
|
21
|
+
valueList: number[];
|
|
22
|
+
onToggle?: (() => void) | undefined;
|
|
23
|
+
valueIcon?: string | undefined;
|
|
24
|
+
}, "onFocusInput">;
|
|
63
25
|
dropdown: State;
|
|
64
26
|
private inputRef;
|
|
65
27
|
private rootEditorRef;
|
|
66
28
|
private valueListRef;
|
|
67
29
|
private DOMFocusableElementStore;
|
|
68
30
|
setup(): void;
|
|
69
|
-
get popoverProps():
|
|
31
|
+
get popoverProps(): PropsOf<Popover>;
|
|
70
32
|
onExternalClick(ev: MouseEvent): void;
|
|
71
33
|
toggleList(): void;
|
|
72
34
|
closeList(): void;
|
|
@@ -1,67 +1,24 @@
|
|
|
1
|
-
import { GenericInput
|
|
2
|
-
|
|
3
|
-
alwaysShowBorder?: boolean;
|
|
4
|
-
min?: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
value: number;
|
|
7
|
-
}
|
|
8
|
-
export declare class NumberInput extends GenericInput<Props> {
|
|
1
|
+
import { GenericInput } from "../generic_input/generic_input";
|
|
2
|
+
export declare class NumberInput extends GenericInput<any> {
|
|
9
3
|
static template: string;
|
|
10
4
|
static components: {};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
type: FunctionConstructor;
|
|
28
|
-
optional: boolean;
|
|
29
|
-
};
|
|
30
|
-
onInput: {
|
|
31
|
-
type: FunctionConstructor;
|
|
32
|
-
optional: boolean;
|
|
33
|
-
};
|
|
34
|
-
class: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
optional: boolean;
|
|
37
|
-
};
|
|
38
|
-
id: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
optional: boolean;
|
|
41
|
-
};
|
|
42
|
-
placeholder: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
optional: boolean;
|
|
45
|
-
};
|
|
46
|
-
autofocus: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
optional: boolean;
|
|
49
|
-
};
|
|
50
|
-
alwaysShowBorder: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
optional: boolean;
|
|
53
|
-
};
|
|
54
|
-
selectContentOnFocus: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
optional: boolean;
|
|
57
|
-
};
|
|
58
|
-
resetOnBlur: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
optional: boolean;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
5
|
+
protected props: import("@odoo/owl").Props<{
|
|
6
|
+
value: string | number;
|
|
7
|
+
onChange: (value: string) => void;
|
|
8
|
+
min?: number | undefined;
|
|
9
|
+
max?: number | undefined;
|
|
10
|
+
onFocused?: (() => void) | undefined;
|
|
11
|
+
onBlur?: (() => void) | undefined;
|
|
12
|
+
onInput?: ((value: string) => void) | undefined;
|
|
13
|
+
class?: string | undefined;
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
placeholder?: string | undefined;
|
|
16
|
+
autofocus?: boolean | undefined;
|
|
17
|
+
alwaysShowBorder?: boolean | undefined;
|
|
18
|
+
selectContentOnFocus?: boolean | undefined;
|
|
19
|
+
resetOnBlur?: boolean | undefined;
|
|
20
|
+
}>;
|
|
63
21
|
debouncedOnChange: import("../..").DebouncedFunction<(value: string) => void>;
|
|
64
22
|
save(): void;
|
|
65
23
|
get inputClass(): string;
|
|
66
24
|
}
|
|
67
|
-
export {};
|
|
@@ -1,20 +1,13 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export declare class PaintFormatButton extends Component<Props, SpreadsheetChildEnv> {
|
|
2
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
3
|
+
export declare class PaintFormatButton extends Component<SpreadsheetChildEnv> {
|
|
7
4
|
static template: string;
|
|
8
|
-
|
|
9
|
-
class
|
|
10
|
-
|
|
11
|
-
optional: boolean;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
5
|
+
protected props: import("@odoo/owl").Props<{
|
|
6
|
+
class?: string | undefined;
|
|
7
|
+
}>;
|
|
14
8
|
private paintFormatStore;
|
|
15
9
|
setup(): void;
|
|
16
10
|
get isActive(): boolean;
|
|
17
11
|
onDblClick(): void;
|
|
18
12
|
togglePaintFormat(): void;
|
|
19
13
|
}
|
|
20
|
-
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { UID } from "../../types/misc";
|
|
1
|
+
import { SpreadsheetPivotTable, UID } from "../..";
|
|
2
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
4
3
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
5
4
|
import { Checkbox } from "../side_panel/components/checkbox/checkbox";
|
|
6
5
|
interface PivotDialogColumn {
|
|
@@ -21,24 +20,20 @@ interface PivotDialogValue {
|
|
|
21
20
|
value: string;
|
|
22
21
|
isMissing: boolean;
|
|
23
22
|
}
|
|
24
|
-
interface Props {
|
|
25
|
-
pivotId: UID;
|
|
26
|
-
onCellClicked: (formula: string) => void;
|
|
27
|
-
}
|
|
28
23
|
interface TableData {
|
|
29
24
|
columns: PivotDialogColumn[][];
|
|
30
25
|
rows: PivotDialogRow[];
|
|
31
26
|
values: PivotDialogValue[][];
|
|
32
27
|
}
|
|
33
|
-
export declare class PivotHTMLRenderer extends Component<
|
|
28
|
+
export declare class PivotHTMLRenderer extends Component<SpreadsheetChildEnv> {
|
|
34
29
|
static template: string;
|
|
35
30
|
static components: {
|
|
36
31
|
Checkbox: typeof Checkbox;
|
|
37
32
|
};
|
|
38
|
-
|
|
39
|
-
pivotId:
|
|
40
|
-
onCellClicked:
|
|
41
|
-
}
|
|
33
|
+
protected props: import("@odoo/owl").Props<{
|
|
34
|
+
pivotId: UID;
|
|
35
|
+
onCellClicked: (formula: string) => void;
|
|
36
|
+
}>;
|
|
42
37
|
private pivot;
|
|
43
38
|
data: TableData;
|
|
44
39
|
private state;
|