@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
package/dist/types/components/side_panel/criterion_form/criterion_input/criterion_input.d.ts
CHANGED
|
@@ -1,67 +1,33 @@
|
|
|
1
|
-
import { Component } from "
|
|
2
|
-
import {
|
|
1
|
+
import { Component } from "../../../../owl3_compatibility_layer";
|
|
2
|
+
import { PropsOf } from "../../../../types/props_of";
|
|
3
3
|
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
4
4
|
import { StandaloneComposer } from "../../../composer/standalone_composer/standalone_composer";
|
|
5
|
-
|
|
6
|
-
value: string;
|
|
7
|
-
criterionType: DataValidationCriterionType;
|
|
8
|
-
onValueChanged: (value: string) => void;
|
|
9
|
-
onKeyDown?: (ev: KeyboardEvent) => void;
|
|
10
|
-
focused: boolean;
|
|
11
|
-
onBlur: () => void;
|
|
12
|
-
disableFormulas?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare class CriterionInput extends Component<Props, SpreadsheetChildEnv> {
|
|
5
|
+
export declare class CriterionInput extends Component<SpreadsheetChildEnv> {
|
|
15
6
|
static template: string;
|
|
16
|
-
static
|
|
17
|
-
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
optional: boolean;
|
|
20
|
-
};
|
|
21
|
-
criterionType: StringConstructor;
|
|
22
|
-
onValueChanged: FunctionConstructor;
|
|
23
|
-
onKeyDown: {
|
|
24
|
-
type: FunctionConstructor;
|
|
25
|
-
optional: boolean;
|
|
26
|
-
};
|
|
27
|
-
focused: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
optional: boolean;
|
|
30
|
-
};
|
|
31
|
-
onBlur: {
|
|
32
|
-
type: FunctionConstructor;
|
|
33
|
-
optional: boolean;
|
|
34
|
-
};
|
|
35
|
-
onFocus: {
|
|
36
|
-
type: FunctionConstructor;
|
|
37
|
-
optional: boolean;
|
|
38
|
-
};
|
|
39
|
-
disableFormulas: {
|
|
40
|
-
type: BooleanConstructor;
|
|
41
|
-
optional: boolean;
|
|
42
|
-
};
|
|
7
|
+
static components: {
|
|
8
|
+
StandaloneComposer: typeof StandaloneComposer;
|
|
43
9
|
};
|
|
44
|
-
|
|
10
|
+
protected props: import("@odoo/owl").PropsWithDefaults<{
|
|
45
11
|
value: string;
|
|
46
|
-
|
|
12
|
+
criterionType: "containsText" | "notContainsText" | "isEqualText" | "isEmail" | "isLink" | "dateIs" | "dateIsBefore" | "dateIsOnOrBefore" | "dateIsAfter" | "dateIsOnOrAfter" | "dateIsBetween" | "dateIsNotBetween" | "dateIsValid" | "isEqual" | "isNotEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isBetween" | "isNotBetween" | "isBoolean" | "isValueInList" | "isValueInRange" | "customFormula";
|
|
13
|
+
onValueChanged: (value: string) => void;
|
|
14
|
+
onKeyDown: (ev: KeyboardEvent) => void;
|
|
47
15
|
focused: boolean;
|
|
48
16
|
onBlur: () => void;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
inputRef: {
|
|
54
|
-
el: HTMLElement | null;
|
|
55
|
-
};
|
|
17
|
+
onFocus?: (() => void) | undefined;
|
|
18
|
+
disableFormulas?: boolean | undefined;
|
|
19
|
+
}, "value" | "onBlur" | "onKeyDown" | "focused">;
|
|
20
|
+
inputRef: import("@odoo/owl").Signal<HTMLInputElement | null>;
|
|
56
21
|
setup(): void;
|
|
57
22
|
state: {
|
|
58
23
|
shouldDisplayError: boolean;
|
|
24
|
+
textInput: string;
|
|
59
25
|
};
|
|
60
26
|
get placeholder(): string;
|
|
61
27
|
get allowedValues(): string;
|
|
62
28
|
onInputValueChanged(ev: Event): void;
|
|
29
|
+
onInputValueConfirmed(): void;
|
|
63
30
|
onChangeComposerValue(str: string): void;
|
|
64
|
-
getDataValidationRuleInputComposerProps(): StandaloneComposer
|
|
31
|
+
getDataValidationRuleInputComposerProps(): PropsOf<StandaloneComposer>;
|
|
65
32
|
get errorMessage(): string | undefined;
|
|
66
33
|
}
|
|
67
|
-
export {};
|
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
|
-
import { DataValidationRule } from "../../../types/data_validation";
|
|
3
1
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
4
2
|
import { DataValidationPreview } from "./dv_preview/dv_preview";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
export declare class DataValidationPanel extends Component<Props, SpreadsheetChildEnv> {
|
|
3
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
4
|
+
export declare class DataValidationPanel extends Component<SpreadsheetChildEnv> {
|
|
9
5
|
static template: string;
|
|
10
|
-
static props: {
|
|
11
|
-
onCloseSidePanel: FunctionConstructor;
|
|
12
|
-
};
|
|
13
6
|
static components: {
|
|
14
7
|
DataValidationPreview: typeof DataValidationPreview;
|
|
15
8
|
};
|
|
9
|
+
protected props: import("@odoo/owl").Props<{
|
|
10
|
+
onCloseSidePanel: () => void;
|
|
11
|
+
}>;
|
|
16
12
|
addDataValidationRule(): void;
|
|
17
|
-
|
|
18
|
-
get validationRules(): DataValidationRule[];
|
|
13
|
+
get validationRules(): import("../../..").DataValidationRule[];
|
|
19
14
|
}
|
|
20
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, ComponentConstructor } from "
|
|
1
|
+
import { Component, ComponentConstructor } from "../../../../owl3_compatibility_layer";
|
|
2
2
|
import { AddDataValidationCommand, CancelledReason } from "../../../../types/commands";
|
|
3
3
|
import { DataValidationCriterion, DataValidationCriterionType } from "../../../../types/data_validation";
|
|
4
4
|
import { UID, ValueAndLabel } from "../../../../types/misc";
|
|
@@ -8,17 +8,12 @@ import { Select } from "../../../select/select";
|
|
|
8
8
|
import { SelectionInput } from "../../../selection_input/selection_input";
|
|
9
9
|
import { ValidationMessages } from "../../../validation_messages/validation_messages";
|
|
10
10
|
import { Section } from "../../components/section/section";
|
|
11
|
-
interface Props {
|
|
12
|
-
ruleId: UID;
|
|
13
|
-
onCancel?: () => void;
|
|
14
|
-
onCloseSidePanel: () => void;
|
|
15
|
-
}
|
|
16
11
|
interface State {
|
|
17
12
|
rule: DataValidationRuleData;
|
|
18
13
|
errors: CancelledReason[];
|
|
19
14
|
isTypeUpdated: boolean;
|
|
20
15
|
}
|
|
21
|
-
export declare class DataValidationEditor extends Component<
|
|
16
|
+
export declare class DataValidationEditor extends Component<SpreadsheetChildEnv> {
|
|
22
17
|
static template: string;
|
|
23
18
|
static components: {
|
|
24
19
|
SelectionInput: typeof SelectionInput;
|
|
@@ -26,14 +21,11 @@ export declare class DataValidationEditor extends Component<Props, SpreadsheetCh
|
|
|
26
21
|
Section: typeof Section;
|
|
27
22
|
ValidationMessages: typeof ValidationMessages;
|
|
28
23
|
};
|
|
29
|
-
|
|
30
|
-
ruleId:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
onCloseSidePanel: FunctionConstructor;
|
|
36
|
-
};
|
|
24
|
+
protected props: import("@odoo/owl").Props<{
|
|
25
|
+
ruleId: UID;
|
|
26
|
+
onCloseSidePanel: () => void;
|
|
27
|
+
onCancel?: (() => void) | undefined;
|
|
28
|
+
}>;
|
|
37
29
|
state: State;
|
|
38
30
|
private editingSheetId;
|
|
39
31
|
setup(): void;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { Component } from "
|
|
2
|
-
import { DataValidationRule } from "../../../../types/data_validation";
|
|
1
|
+
import { Component } from "../../../../owl3_compatibility_layer";
|
|
3
2
|
import { Highlight } from "../../../../types/misc";
|
|
4
3
|
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
5
|
-
|
|
6
|
-
rule: DataValidationRule;
|
|
7
|
-
}
|
|
8
|
-
export declare class DataValidationPreview extends Component<Props, SpreadsheetChildEnv> {
|
|
4
|
+
export declare class DataValidationPreview extends Component<SpreadsheetChildEnv> {
|
|
9
5
|
static template: string;
|
|
10
|
-
|
|
11
|
-
rule:
|
|
12
|
-
}
|
|
13
|
-
private
|
|
6
|
+
protected props: import("@odoo/owl").Props<{
|
|
7
|
+
rule: import("../../../..").DataValidationRule;
|
|
8
|
+
}>;
|
|
9
|
+
private dvPreviewRef;
|
|
14
10
|
setup(): void;
|
|
15
11
|
onPreviewClick(): void;
|
|
16
12
|
deleteDataValidation(): void;
|
|
@@ -18,4 +14,3 @@ export declare class DataValidationPreview extends Component<Props, SpreadsheetC
|
|
|
18
14
|
get rangesString(): string;
|
|
19
15
|
get descriptionString(): string;
|
|
20
16
|
}
|
|
21
|
-
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
2
2
|
import { SearchOptions } from "../../../types/find_and_replace";
|
|
3
3
|
import { ValueAndLabel } from "../../../types/misc";
|
|
4
4
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
@@ -7,10 +7,7 @@ import { SelectionInput } from "../../selection_input/selection_input";
|
|
|
7
7
|
import { ValidationMessages } from "../../validation_messages/validation_messages";
|
|
8
8
|
import { Checkbox } from "../components/checkbox/checkbox";
|
|
9
9
|
import { Section } from "../components/section/section";
|
|
10
|
-
|
|
11
|
-
onCloseSidePanel: () => void;
|
|
12
|
-
}
|
|
13
|
-
export declare class FindAndReplacePanel extends Component<Props, SpreadsheetChildEnv> {
|
|
10
|
+
export declare class FindAndReplacePanel extends Component<SpreadsheetChildEnv> {
|
|
14
11
|
static template: string;
|
|
15
12
|
static components: {
|
|
16
13
|
SelectionInput: typeof SelectionInput;
|
|
@@ -19,10 +16,10 @@ export declare class FindAndReplacePanel extends Component<Props, SpreadsheetChi
|
|
|
19
16
|
ValidationMessages: typeof ValidationMessages;
|
|
20
17
|
Select: typeof Select;
|
|
21
18
|
};
|
|
22
|
-
|
|
23
|
-
onCloseSidePanel:
|
|
24
|
-
}
|
|
25
|
-
private
|
|
19
|
+
protected props: import("@odoo/owl").Props<{
|
|
20
|
+
onCloseSidePanel: () => void;
|
|
21
|
+
}>;
|
|
22
|
+
private searchInputRef;
|
|
26
23
|
private store;
|
|
27
24
|
private state;
|
|
28
25
|
private updateSearchContent;
|
|
@@ -31,7 +28,9 @@ export declare class FindAndReplacePanel extends Component<Props, SpreadsheetChi
|
|
|
31
28
|
get allSheetsMatchesCount(): string;
|
|
32
29
|
get currentSheetMatchesCount(): string;
|
|
33
30
|
get specificRangeMatchesCount(): string;
|
|
31
|
+
private hiddenLabel;
|
|
34
32
|
get searchInfo(): string[];
|
|
33
|
+
get hiddenSheetsWithMatchesInfo(): string[];
|
|
35
34
|
setup(): void;
|
|
36
35
|
onFocusSearch(): void;
|
|
37
36
|
onSearchInput(ev: InputEvent): void;
|
|
@@ -41,6 +40,7 @@ export declare class FindAndReplacePanel extends Component<Props, SpreadsheetChi
|
|
|
41
40
|
searchFormulas(searchFormulas: boolean): void;
|
|
42
41
|
searchExactMatch(exactMatch: boolean): void;
|
|
43
42
|
searchMatchCase(matchCase: boolean): void;
|
|
43
|
+
searchIncludeHidden(includeHidden: boolean): void;
|
|
44
44
|
changeSearchScope(searchScope: SearchOptions["searchScope"]): void;
|
|
45
45
|
onSearchRangeChanged(ranges: string[]): void;
|
|
46
46
|
updateDataRange(): void;
|
|
@@ -49,4 +49,3 @@ export declare class FindAndReplacePanel extends Component<Props, SpreadsheetChi
|
|
|
49
49
|
get selectionInputKey(): import("../../..").UID;
|
|
50
50
|
get searchScopeOptions(): ValueAndLabel[];
|
|
51
51
|
}
|
|
52
|
-
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HighlightProvider } from "../../../stores/highlight_store";
|
|
2
2
|
import { Command } from "../../../types/commands";
|
|
3
|
-
import { CellPosition, Highlight } from "../../../types/misc";
|
|
3
|
+
import { CellPosition, Highlight, UID } from "../../../types/misc";
|
|
4
4
|
import { SpreadsheetStore } from "../../../stores/spreadsheet_store";
|
|
5
5
|
import { SearchOptions } from "../../../types/find_and_replace";
|
|
6
6
|
import { Get } from "../../../types/store_engine";
|
|
@@ -9,9 +9,13 @@ export declare class FindAndReplaceStore extends SpreadsheetStore implements Hig
|
|
|
9
9
|
private allSheetsMatches;
|
|
10
10
|
private activeSheetMatches;
|
|
11
11
|
private specificRangeMatches;
|
|
12
|
+
private selectedMatchPosition;
|
|
13
|
+
private allSheetsHiddenMatches;
|
|
14
|
+
private activeSheetHiddenMatches;
|
|
15
|
+
private specificRangeHiddenMatches;
|
|
16
|
+
hiddenSheetsWithMatches: UID[];
|
|
12
17
|
private currentSearchRegex;
|
|
13
18
|
private initialShowFormulaState;
|
|
14
|
-
private preserveSelectedMatchIndex;
|
|
15
19
|
private irreplaceableMatchCount;
|
|
16
20
|
private isSearchDirty;
|
|
17
21
|
private shouldFinalizeUpdateSelection;
|
|
@@ -29,9 +33,12 @@ export declare class FindAndReplaceStore extends SpreadsheetStore implements Hig
|
|
|
29
33
|
selectNextMatch(): void;
|
|
30
34
|
handle(cmd: Command): void;
|
|
31
35
|
finalize(): void;
|
|
32
|
-
get
|
|
36
|
+
get allSheetsMatchesCount(): number;
|
|
33
37
|
get activeSheetMatchesCount(): number;
|
|
34
38
|
get specificRangeMatchesCount(): number;
|
|
39
|
+
get allSheetsHiddenMatchesCount(): number;
|
|
40
|
+
get activeSheetHiddenMatchesCount(): number;
|
|
41
|
+
get specificRangeHiddenMatchesCount(): number;
|
|
35
42
|
/**
|
|
36
43
|
* Will update the current searchOptions and accordingly update the regex.
|
|
37
44
|
* It will then search for matches using the regex and store them.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
2
2
|
import { Currency } from "../../../types/currency";
|
|
3
3
|
import { ValueAndLabel } from "../../../types/misc";
|
|
4
4
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
@@ -8,20 +8,9 @@ import { TextInput } from "../../text_input/text_input";
|
|
|
8
8
|
import { BadgeSelection } from "../components/badge_selection/badge_selection";
|
|
9
9
|
import { Checkbox } from "../components/checkbox/checkbox";
|
|
10
10
|
import { Section } from "../components/section/section";
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
onCloseSidePanel: () => void;
|
|
14
|
-
category?: CustomFormatCategory;
|
|
15
|
-
}
|
|
16
|
-
export declare class MoreFormatsPanel extends Component<Props, SpreadsheetChildEnv> {
|
|
11
|
+
import { MoreFormatsStore } from "./more_formats_store";
|
|
12
|
+
export declare class MoreFormatsPanel extends Component<SpreadsheetChildEnv> {
|
|
17
13
|
static template: string;
|
|
18
|
-
static props: {
|
|
19
|
-
onCloseSidePanel: FunctionConstructor;
|
|
20
|
-
category: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
optional: boolean;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
14
|
static components: {
|
|
26
15
|
BadgeSelection: typeof BadgeSelection;
|
|
27
16
|
Section: typeof Section;
|
|
@@ -29,6 +18,10 @@ export declare class MoreFormatsPanel extends Component<Props, SpreadsheetChildE
|
|
|
29
18
|
Checkbox: typeof Checkbox;
|
|
30
19
|
Select: typeof Select;
|
|
31
20
|
};
|
|
21
|
+
protected props: import("@odoo/owl").Props<{
|
|
22
|
+
onCloseSidePanel: () => void;
|
|
23
|
+
category?: "number" | "currency" | "date" | undefined;
|
|
24
|
+
}>;
|
|
32
25
|
store: Store<MoreFormatsStore>;
|
|
33
26
|
setup(): void;
|
|
34
27
|
loadCurrencies(): Promise<void>;
|
|
@@ -37,4 +30,3 @@ export declare class MoreFormatsPanel extends Component<Props, SpreadsheetChildE
|
|
|
37
30
|
isFormatSelected(format: string | undefined): boolean;
|
|
38
31
|
get availableCurrenciesOptions(): ValueAndLabel[];
|
|
39
32
|
}
|
|
40
|
-
export {};
|
|
@@ -1,26 +1,23 @@
|
|
|
1
|
-
import { Component } from "
|
|
2
|
-
import { Highlight
|
|
1
|
+
import { Component } from "../../../../owl3_compatibility_layer";
|
|
2
|
+
import { Highlight } from "../../../../types/misc";
|
|
3
3
|
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
4
4
|
import { SelectionInput } from "../../../selection_input/selection_input";
|
|
5
5
|
import { TextInput } from "../../../text_input/text_input";
|
|
6
|
-
interface Props {
|
|
7
|
-
namedRange: NamedRange;
|
|
8
|
-
}
|
|
9
6
|
interface State {
|
|
10
7
|
isSelectionInputFocused?: boolean;
|
|
11
8
|
currentRange?: string;
|
|
12
9
|
}
|
|
13
|
-
export declare class NamedRangePreview extends Component<
|
|
10
|
+
export declare class NamedRangePreview extends Component<SpreadsheetChildEnv> {
|
|
14
11
|
static template: string;
|
|
15
|
-
static props: {
|
|
16
|
-
namedRange: ObjectConstructor;
|
|
17
|
-
};
|
|
18
12
|
static components: {
|
|
19
13
|
SelectionInput: typeof SelectionInput;
|
|
20
14
|
TextInput: typeof TextInput;
|
|
21
15
|
};
|
|
16
|
+
protected props: import("@odoo/owl").Props<{
|
|
17
|
+
namedRange: import("../../../..").NamedRange;
|
|
18
|
+
}>;
|
|
22
19
|
state: State;
|
|
23
|
-
private
|
|
20
|
+
private namedRangePreviewRef;
|
|
24
21
|
setup(): void;
|
|
25
22
|
get highlights(): Highlight[];
|
|
26
23
|
deleteNamedRange(): void;
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
import { Component } from "@odoo/owl";
|
|
2
1
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
3
2
|
import { SelectionInput } from "../../selection_input/selection_input";
|
|
4
3
|
import { TextInput } from "../../text_input/text_input";
|
|
5
4
|
import { NamedRangePreview } from "./named_range_preview/named_range_preview";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export declare class NamedRangesPanel extends Component<Props, SpreadsheetChildEnv> {
|
|
5
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
6
|
+
export declare class NamedRangesPanel extends Component<SpreadsheetChildEnv> {
|
|
10
7
|
static template: string;
|
|
11
|
-
static props: {
|
|
12
|
-
onCloseSidePanel: FunctionConstructor;
|
|
13
|
-
};
|
|
14
8
|
static components: {
|
|
15
9
|
NamedRangePreview: typeof NamedRangePreview;
|
|
16
10
|
SelectionInput: typeof SelectionInput;
|
|
17
11
|
TextInput: typeof TextInput;
|
|
18
12
|
};
|
|
13
|
+
protected props: import("@odoo/owl").Props<{
|
|
14
|
+
onCloseSidePanel: () => void;
|
|
15
|
+
}>;
|
|
19
16
|
get namedRanges(): import("../../..").NamedRange[];
|
|
20
17
|
addNewNamedRange(): void;
|
|
21
18
|
}
|
|
22
|
-
export {};
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
2
2
|
import { PerfProfile, RangeTiming } from "../../../types/functions";
|
|
3
3
|
import { Highlight } from "../../../types/misc";
|
|
4
4
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
5
5
|
import { Section } from "../components/section/section";
|
|
6
|
-
|
|
7
|
-
onCloseSidePanel: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare class PerfProfilePanel extends Component<Props, SpreadsheetChildEnv> {
|
|
6
|
+
export declare class PerfProfilePanel extends Component<SpreadsheetChildEnv> {
|
|
10
7
|
static template: string;
|
|
11
8
|
static components: {
|
|
12
9
|
Section: typeof Section;
|
|
13
10
|
};
|
|
14
|
-
|
|
15
|
-
onCloseSidePanel:
|
|
16
|
-
}
|
|
11
|
+
protected props: import("@odoo/owl").Props<{
|
|
12
|
+
onCloseSidePanel: () => void;
|
|
13
|
+
}>;
|
|
17
14
|
private state;
|
|
18
15
|
setup(): void;
|
|
19
16
|
get perfProfile(): PerfProfile | undefined;
|
|
@@ -27,4 +24,3 @@ export declare class PerfProfilePanel extends Component<Props, SpreadsheetChildE
|
|
|
27
24
|
formatPercent(time: number): string;
|
|
28
25
|
barWidth(entry: RangeTiming): number;
|
|
29
26
|
}
|
|
30
|
-
export {};
|
|
@@ -1,22 +1,16 @@
|
|
|
1
|
-
import { Component } from "
|
|
2
|
-
import { UID } from "../../../../types/misc";
|
|
1
|
+
import { Component } from "../../../../owl3_compatibility_layer";
|
|
3
2
|
import { PivotCoreDefinition, PivotCustomGroup, PivotCustomGroupedField } from "../../../../types/pivot";
|
|
4
3
|
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
5
4
|
import { TextInput } from "../../../text_input/text_input";
|
|
6
5
|
import { Checkbox } from "../../components/checkbox/checkbox";
|
|
7
6
|
import { SidePanelCollapsible } from "../../components/collapsible/side_panel_collapsible";
|
|
8
|
-
export
|
|
9
|
-
pivotId: UID;
|
|
10
|
-
customField: PivotCustomGroupedField;
|
|
11
|
-
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare class PivotCustomGroupsCollapsible extends Component<Props, SpreadsheetChildEnv> {
|
|
7
|
+
export declare class PivotCustomGroupsCollapsible extends Component<SpreadsheetChildEnv> {
|
|
14
8
|
static template: string;
|
|
15
|
-
|
|
16
|
-
pivotId:
|
|
17
|
-
customField:
|
|
18
|
-
onCustomFieldUpdated:
|
|
19
|
-
}
|
|
9
|
+
protected props: import("@odoo/owl").Props<{
|
|
10
|
+
pivotId: import("../../../..").UID;
|
|
11
|
+
customField: PivotCustomGroupedField;
|
|
12
|
+
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
13
|
+
}>;
|
|
20
14
|
static components: {
|
|
21
15
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
22
16
|
TextInput: typeof TextInput;
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../../owl3_compatibility_layer";
|
|
2
2
|
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
3
3
|
import { Checkbox } from "../../components/checkbox/checkbox";
|
|
4
4
|
import { Section } from "../../components/section/section";
|
|
5
|
-
|
|
6
|
-
deferUpdate: boolean;
|
|
7
|
-
isDirty: boolean;
|
|
8
|
-
toggleDeferUpdate: (value: boolean) => void;
|
|
9
|
-
discard: () => void;
|
|
10
|
-
apply: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare class PivotDeferUpdate extends Component<Props, SpreadsheetChildEnv> {
|
|
5
|
+
export declare class PivotDeferUpdate extends Component<SpreadsheetChildEnv> {
|
|
13
6
|
static template: string;
|
|
14
|
-
|
|
15
|
-
deferUpdate:
|
|
16
|
-
isDirty:
|
|
17
|
-
toggleDeferUpdate:
|
|
18
|
-
discard:
|
|
19
|
-
apply:
|
|
20
|
-
}
|
|
7
|
+
protected props: import("@odoo/owl").Props<{
|
|
8
|
+
deferUpdate: boolean;
|
|
9
|
+
isDirty: boolean;
|
|
10
|
+
toggleDeferUpdate: (value: boolean) => void;
|
|
11
|
+
discard: () => void;
|
|
12
|
+
apply: () => void;
|
|
13
|
+
}>;
|
|
21
14
|
static components: {
|
|
22
15
|
Section: typeof Section;
|
|
23
16
|
Checkbox: typeof Checkbox;
|
|
@@ -25,4 +18,3 @@ export declare class PivotDeferUpdate extends Component<Props, SpreadsheetChildE
|
|
|
25
18
|
get deferUpdatesLabel(): string;
|
|
26
19
|
get deferUpdatesTooltip(): string;
|
|
27
20
|
}
|
|
28
|
-
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CellPosition } from "../../../..";
|
|
2
|
+
import { SpreadsheetPivotRuntimeDefinition } from "../../../../helpers/pivot/spreadsheet_pivot/runtime_definition_spreadsheet_pivot";
|
|
3
|
+
import { Component } from "../../../../owl3_compatibility_layer";
|
|
4
|
+
import { Cell } from "../../../../types/cells";
|
|
5
|
+
import { PivotFilter, SpreadsheetPivotCoreDefinition } from "../../../../types/pivot";
|
|
6
|
+
import { SpreadsheetChildEnv } from "../../../../types/spreadsheet_env";
|
|
7
|
+
import { DataFilterValue } from "../../../../types/table";
|
|
8
|
+
import { PivotFilterMenu } from "../../../filters/pivot_filter_menu/pivot_filter_menu";
|
|
9
|
+
import { Popover } from "../../../popover/popover";
|
|
10
|
+
import { PivotDimension } from "../pivot_layout_configurator/pivot_dimension/pivot_dimension";
|
|
11
|
+
export declare class PivotFilterEditor extends Component<SpreadsheetChildEnv> {
|
|
12
|
+
static template: string;
|
|
13
|
+
static components: {
|
|
14
|
+
PivotDimension: typeof PivotDimension;
|
|
15
|
+
Popover: typeof Popover;
|
|
16
|
+
PivotFilterMenu: typeof PivotFilterMenu;
|
|
17
|
+
};
|
|
18
|
+
protected props: import("@odoo/owl").Props<{
|
|
19
|
+
pivotId: import("../../../..").UID;
|
|
20
|
+
definition: SpreadsheetPivotRuntimeDefinition;
|
|
21
|
+
filter: PivotFilter;
|
|
22
|
+
onFiltersUpdated: (definition: Partial<SpreadsheetPivotCoreDefinition>) => void;
|
|
23
|
+
}>;
|
|
24
|
+
private state;
|
|
25
|
+
private buttonFilter;
|
|
26
|
+
private popover;
|
|
27
|
+
setup(): void;
|
|
28
|
+
filterCaption(): string;
|
|
29
|
+
private getFilterHiddenValues;
|
|
30
|
+
get popoverProps(): {
|
|
31
|
+
anchorRect: {
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
};
|
|
37
|
+
positioning: string;
|
|
38
|
+
};
|
|
39
|
+
getCell(position: CellPosition): Cell | undefined;
|
|
40
|
+
removeFilter(filter: PivotFilter): void;
|
|
41
|
+
openMenuFilter(): void;
|
|
42
|
+
closeMenuFilter(): void;
|
|
43
|
+
isActive(): boolean;
|
|
44
|
+
updateFilterData(updatedCriterionValue: DataFilterValue): void;
|
|
45
|
+
}
|
|
@@ -1,31 +1,24 @@
|
|
|
1
|
-
import { Component } from "
|
|
1
|
+
import { Component } from "../../../../../owl3_compatibility_layer";
|
|
2
2
|
import { AutoCompleteProposal, AutoCompleteProvider } from "../../../../../registries/auto_completes/auto_complete_registry";
|
|
3
3
|
import { PivotField } from "../../../../../types/pivot";
|
|
4
4
|
import { SpreadsheetChildEnv } from "../../../../../types/spreadsheet_env";
|
|
5
5
|
import { TextValueProvider } from "../../../../composer/autocomplete_dropdown/autocomplete_dropdown";
|
|
6
6
|
import { Popover } from "../../../../popover/popover";
|
|
7
|
-
|
|
8
|
-
onFieldPicked: (field: string) => void;
|
|
9
|
-
fields: PivotField[];
|
|
10
|
-
}
|
|
11
|
-
export declare class AddDimensionButton extends Component<Props, SpreadsheetChildEnv> {
|
|
7
|
+
export declare class AddDimensionButton extends Component<SpreadsheetChildEnv> {
|
|
12
8
|
static template: string;
|
|
13
9
|
static components: {
|
|
14
10
|
Popover: typeof Popover;
|
|
15
11
|
TextValueProvider: typeof TextValueProvider;
|
|
16
12
|
};
|
|
17
|
-
|
|
18
|
-
onFieldPicked:
|
|
19
|
-
fields:
|
|
20
|
-
|
|
21
|
-
type: ObjectConstructor;
|
|
22
|
-
optional: boolean;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
13
|
+
protected props: import("@odoo/owl").Props<{
|
|
14
|
+
onFieldPicked: (field: string) => void;
|
|
15
|
+
fields: any[];
|
|
16
|
+
}>;
|
|
25
17
|
private buttonRef;
|
|
26
18
|
private popover;
|
|
27
19
|
private search;
|
|
28
20
|
private autoComplete;
|
|
21
|
+
private autofocusRef;
|
|
29
22
|
setup(): void;
|
|
30
23
|
getProvider(): AutoCompleteProvider;
|
|
31
24
|
get proposals(): AutoCompleteProposal[];
|
|
@@ -43,4 +36,3 @@ export declare class AddDimensionButton extends Component<Props, SpreadsheetChil
|
|
|
43
36
|
togglePopover(): void;
|
|
44
37
|
onKeyDown(ev: KeyboardEvent): void;
|
|
45
38
|
}
|
|
46
|
-
export {};
|
|
@@ -1,31 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PivotDimension as PivotDimensionType, PivotMeasure } from "../../../../../types/pivot";
|
|
1
|
+
import { PivotDimension as PivotDimensionType, PivotFilter, PivotMeasure } from "../../../../../types/pivot";
|
|
3
2
|
import { SpreadsheetChildEnv } from "../../../../../types/spreadsheet_env";
|
|
4
3
|
import { TextInput } from "../../../../text_input/text_input";
|
|
5
4
|
import { CogWheelMenu } from "../../../components/cog_wheel_menu/cog_wheel_menu";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
onRemoved: (dimension: PivotDimensionType | PivotMeasure) => void;
|
|
9
|
-
onNameUpdated?: (dimension: PivotDimensionType | PivotMeasure, name?: string) => void;
|
|
10
|
-
type: "row" | "col" | "measure";
|
|
11
|
-
}
|
|
12
|
-
export declare class PivotDimension extends Component<Props, SpreadsheetChildEnv> {
|
|
5
|
+
import { Component } from "../../../../../owl3_compatibility_layer";
|
|
6
|
+
export declare class PivotDimension extends Component<SpreadsheetChildEnv> {
|
|
13
7
|
static template: string;
|
|
14
|
-
|
|
15
|
-
dimension:
|
|
16
|
-
onRemoved:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
onNameUpdated: {
|
|
21
|
-
type: FunctionConstructor;
|
|
22
|
-
optional: boolean;
|
|
23
|
-
};
|
|
24
|
-
slots: {
|
|
25
|
-
type: ObjectConstructor;
|
|
26
|
-
optional: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
8
|
+
protected props: import("@odoo/owl").Props<{
|
|
9
|
+
dimension: PivotFilter | PivotMeasure | PivotDimensionType;
|
|
10
|
+
onRemoved?: ((dimension: PivotDimensionType | PivotMeasure | PivotFilter) => void) | undefined;
|
|
11
|
+
onNameUpdated?: ((dimension: PivotDimensionType | PivotMeasure | PivotFilter, name?: string) => void) | undefined;
|
|
12
|
+
type?: "filter" | "col" | "row" | "measure" | undefined;
|
|
13
|
+
}>;
|
|
29
14
|
static components: {
|
|
30
15
|
CogWheelMenu: typeof CogWheelMenu;
|
|
31
16
|
TextInput: typeof TextInput;
|
|
@@ -33,4 +18,3 @@ export declare class PivotDimension extends Component<Props, SpreadsheetChildEnv
|
|
|
33
18
|
updateName(name: string): void;
|
|
34
19
|
get dimensionDisplayName(): string;
|
|
35
20
|
}
|
|
36
|
-
export {};
|