@odoo/o-spreadsheet 19.2.0-alpha.4 → 19.3.2
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 +84657 -0
- package/dist/o_spreadsheet.css +218 -57
- package/dist/o_spreadsheet.esm.js +82081 -97450
- package/dist/o_spreadsheet.iife.js +83694 -99059
- package/dist/o_spreadsheet.min.iife.js +656 -578
- package/dist/o_spreadsheet.xml +1421 -899
- package/dist/types/actions/action.d.ts +104 -0
- package/dist/types/actions/data_actions.d.ts +13 -0
- package/dist/types/actions/edit_actions.d.ts +23 -0
- package/dist/types/actions/figure_menu_actions.d.ts +6 -0
- package/dist/types/actions/format_actions.d.ts +64 -0
- package/dist/types/actions/insert_actions.d.ts +33 -0
- package/dist/types/actions/menu_items_actions.d.ts +57 -0
- package/dist/types/actions/sheet_actions.d.ts +15 -0
- package/dist/types/actions/view_actions.d.ts +29 -0
- package/dist/types/clipboard_handlers/abstract_cell_clipboard_handler.d.ts +8 -0
- package/dist/types/clipboard_handlers/abstract_clipboard_handler.d.ts +15 -0
- package/dist/types/clipboard_handlers/abstract_figure_clipboard_handler.d.ts +5 -0
- package/dist/types/clipboard_handlers/borders_clipboard.d.ts +17 -0
- package/dist/types/clipboard_handlers/carousel_clipboard.d.ts +19 -0
- package/dist/types/clipboard_handlers/cell_clipboard.d.ts +29 -0
- package/dist/types/clipboard_handlers/chart_clipboard.d.ts +15 -0
- package/dist/types/clipboard_handlers/conditional_format_clipboard.d.ts +25 -0
- package/dist/types/clipboard_handlers/data_validation_clipboard.d.ts +25 -0
- package/dist/types/clipboard_handlers/image_clipboard.d.ts +16 -0
- package/dist/types/clipboard_handlers/index.d.ts +1 -0
- package/dist/types/clipboard_handlers/merge_clipboard.d.ts +16 -0
- package/dist/types/clipboard_handlers/references_clipboard.d.ts +11 -0
- package/dist/types/clipboard_handlers/sheet_clipboard.d.ts +11 -0
- package/dist/types/clipboard_handlers/tables_clipboard.d.ts +33 -0
- package/dist/types/collaborative/command_squisher.d.ts +77 -0
- package/dist/types/collaborative/local_transport_service.d.ts +8 -0
- package/dist/types/collaborative/ot/ot.d.ts +23 -0
- package/dist/types/collaborative/ot/ot_helpers.d.ts +5 -0
- package/dist/types/collaborative/ot/ot_specific.d.ts +1 -0
- package/dist/types/collaborative/ot/srt_specific.d.ts +1 -0
- package/dist/types/collaborative/readonly_transport_filter.d.ts +9 -0
- package/dist/types/collaborative/revisions.d.ts +26 -0
- package/dist/types/collaborative/session.d.ts +107 -0
- package/dist/types/components/action_button/action_button.d.ts +42 -0
- package/dist/types/components/animation/ripple.d.ts +118 -0
- package/dist/types/components/autofill/autofill.d.ts +32 -0
- package/dist/types/components/border_editor/border_editor.d.ts +68 -0
- package/dist/types/components/border_editor/border_editor_widget.d.ts +50 -0
- package/dist/types/components/bottom_bar/bottom_bar.d.ts +60 -0
- package/dist/types/components/bottom_bar/bottom_bar_sheet/bottom_bar_sheet.d.ts +66 -0
- package/dist/types/components/bottom_bar/bottom_bar_statistic/aggregate_statistics_store.d.ts +13 -0
- package/dist/types/components/bottom_bar/bottom_bar_statistic/bottom_bar_statistic.d.ts +25 -0
- package/dist/types/components/collaborative_client_tag/collaborative_client_tag.d.ts +22 -0
- package/dist/types/components/color_picker/color_picker.d.ts +57 -0
- package/dist/types/components/color_picker/color_picker_widget.d.ts +53 -0
- package/dist/types/components/composer/autocomplete_dropdown/autocomplete_dropdown.d.ts +25 -0
- package/dist/types/components/composer/autocomplete_dropdown/autocomplete_dropdown_store.d.ts +12 -0
- package/dist/types/components/composer/composer/abstract_composer_store.d.ts +147 -0
- package/dist/types/components/composer/composer/cell_composer_store.d.ts +24 -0
- package/dist/types/components/composer/composer/composer.d.ts +194 -0
- package/dist/types/components/composer/composer_focus_store.d.ts +28 -0
- package/dist/types/components/composer/content_editable_helper.d.ts +41 -0
- package/dist/types/components/composer/formula_assistant/formula_assistant.d.ts +31 -0
- package/dist/types/components/composer/grid_composer/grid_composer.d.ts +48 -0
- package/dist/types/components/composer/speech_bubble/speech_bubble.d.ts +18 -0
- package/dist/types/components/composer/standalone_composer/standalone_composer.d.ts +83 -0
- package/dist/types/components/composer/standalone_composer/standalone_composer_store.d.ts +34 -0
- package/dist/types/components/composer/top_bar_composer/top_bar_composer.d.ts +20 -0
- package/dist/types/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.d.ts +20 -0
- package/dist/types/components/dashboard/clickable_cell_store.d.ts +21 -0
- package/dist/types/components/dashboard/dashboard.d.ts +52 -0
- package/dist/types/components/date_input/date_input.d.ts +4 -0
- package/dist/types/components/error_tooltip/error_tooltip.d.ts +40 -0
- package/dist/types/components/figures/chart/chartJs/chartjs.d.ts +39 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_animation_store.d.ts +8 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_background_plugin.d.ts +11 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_calendar_chart.d.ts +19 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_colorscale_plugin.d.ts +17 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_funnel_chart.d.ts +29 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_minor_grid_plugin.d.ts +5 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_show_values_plugin.d.ts +17 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_sunburst_hover_plugin.d.ts +14 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_sunburst_labels_plugin.d.ts +14 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_waterfall_plugin.d.ts +12 -0
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chart_store.d.ts +30 -0
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chartjs.d.ts +64 -0
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chartjs_plugins.d.ts +12 -0
- package/dist/types/components/figures/chart/chart_dashboard_menu/chart_dashboard_menu.d.ts +44 -0
- package/dist/types/components/figures/chart/gauge/gauge_chart_component.d.ts +41 -0
- package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +24 -0
- package/dist/types/components/figures/figure/figure.d.ts +64 -0
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +60 -0
- package/dist/types/components/figures/figure_chart/figure_chart.d.ts +36 -0
- package/dist/types/components/figures/figure_container/figure_container.d.ts +122 -0
- package/dist/types/components/figures/figure_image/figure_image.d.ts +26 -0
- package/dist/types/components/filters/filter_menu/filter_menu.d.ts +41 -0
- package/dist/types/components/filters/filter_menu_criterion/filter_menu_criterion.d.ts +28 -0
- package/dist/types/components/filters/filter_menu_item/filter_menu_value_item.d.ts +32 -0
- package/dist/types/components/filters/filter_menu_value_list/filter_menu_value_list.d.ts +41 -0
- package/dist/types/components/focus_store.d.ts +6 -0
- package/dist/types/components/font_size_editor/font_size_editor.d.ts +34 -0
- package/dist/types/components/full_screen_figure/full_screen_figure.d.ts +20 -0
- package/dist/types/components/full_screen_figure/full_screen_figure_store.d.ts +8 -0
- package/dist/types/components/generic_input/generic_input.d.ts +73 -0
- package/dist/types/components/grid/delayed_hovered_cell_store.d.ts +10 -0
- package/dist/types/components/grid/grid.d.ts +123 -0
- package/dist/types/components/grid_add_rows_footer/grid_add_rows_footer.d.ts +29 -0
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +68 -0
- package/dist/types/components/grid_overlay/hovered_icon_store.d.ts +12 -0
- package/dist/types/components/grid_popover/grid_popover.d.ts +27 -0
- package/dist/types/components/header_group/header_group.d.ts +46 -0
- package/dist/types/components/header_group/header_group_container.d.ts +34 -0
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +177 -0
- package/dist/types/components/headers_overlay/unhide_headers.d.ts +50 -0
- package/dist/types/components/helpers/autofocus_hook.d.ts +3 -0
- package/dist/types/components/helpers/convert_image_to_png.d.ts +1 -0
- package/dist/types/components/helpers/css.d.ts +31 -0
- package/dist/types/components/helpers/dom_helpers.d.ts +51 -0
- package/dist/types/components/helpers/drag_and_drop.d.ts +8 -0
- package/dist/types/components/helpers/drag_and_drop_dom_items_hook.d.ts +24 -0
- package/dist/types/components/helpers/drag_and_drop_grid_hook.d.ts +18 -0
- package/dist/types/components/helpers/draw_grid_hook.d.ts +11 -0
- package/dist/types/components/helpers/figure_drag_helper.d.ts +9 -0
- package/dist/types/components/helpers/figure_snap_helper.d.ts +25 -0
- package/dist/types/components/helpers/highlight_hook.d.ts +4 -0
- package/dist/types/components/helpers/html_content_helpers.d.ts +2 -0
- package/dist/types/components/helpers/index.d.ts +1 -0
- package/dist/types/components/helpers/listener_hook.d.ts +13 -0
- package/dist/types/components/helpers/position_hook.d.ts +14 -0
- package/dist/types/components/helpers/screen_width_hook.d.ts +3 -0
- package/dist/types/components/helpers/selection_helpers.d.ts +4 -0
- package/dist/types/components/helpers/time_hooks.d.ts +17 -0
- package/dist/types/components/helpers/top_bar_tool_hook.d.ts +6 -0
- package/dist/types/components/helpers/touch_handlers_hook.d.ts +11 -0
- package/dist/types/components/helpers/wheel_hook.d.ts +1 -0
- package/dist/types/components/helpers/zoom.d.ts +21 -0
- package/dist/types/components/highlight/border/border.d.ts +22 -0
- package/dist/types/components/highlight/corner/corner.d.ts +29 -0
- package/dist/types/components/highlight/highlight/highlight.d.ts +35 -0
- package/dist/types/components/icon_picker/icon_picker.d.ts +34 -0
- package/dist/types/components/icons/icons.d.ts +33 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/link/index.d.ts +2 -0
- package/dist/types/components/link/link_display/link_display.d.ts +29 -0
- package/dist/types/components/link/link_editor/link_editor.d.ts +62 -0
- package/dist/types/components/menu/menu.d.ts +78 -0
- package/dist/types/components/menu_popover/menu_popover.d.ts +127 -0
- package/dist/types/components/named_range_selector/named_range_selector.d.ts +36 -0
- package/dist/types/components/number_editor/number_editor.d.ts +80 -0
- package/dist/types/components/number_input/number_input.d.ts +67 -0
- package/dist/types/components/paint_format_button/paint_format_button.d.ts +20 -0
- package/dist/types/components/paint_format_button/paint_format_store.d.ts +22 -0
- package/dist/types/components/pivot_html_renderer/pivot_html_renderer.d.ts +88 -0
- package/dist/types/components/popover/cell_popover_store.d.ts +16 -0
- package/dist/types/components/popover/index.d.ts +3 -0
- package/dist/types/components/popover/popover.d.ts +83 -0
- package/dist/types/components/popover/popover_builders.d.ts +1 -0
- package/dist/types/components/scrollbar/index.d.ts +2 -0
- package/dist/types/components/scrollbar/scrollbar.d.ts +39 -0
- package/dist/types/components/scrollbar/scrollbar_horizontal.d.ts +32 -0
- package/dist/types/components/scrollbar/scrollbar_vertical.d.ts +32 -0
- package/dist/types/components/scrollbar.d.ts +9 -0
- package/dist/types/components/select/select.d.ts +59 -0
- package/dist/types/components/selection/selection.d.ts +11 -0
- package/dist/types/components/selection_input/selection_input.d.ts +120 -0
- package/dist/types/components/selection_input/selection_input_store.d.ts +99 -0
- package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +59 -0
- package/dist/types/components/side_panel/chart/bar_chart/bar_chart_config_panel.d.ts +12 -0
- package/dist/types/components/side_panel/chart/bar_chart/bar_chart_design_panel.d.ts +14 -0
- package/dist/types/components/side_panel/chart/building_blocks/axis_design/axis_design_editor.d.ts +71 -0
- package/dist/types/components/side_panel/chart/building_blocks/chart_title/chart_title.d.ts +49 -0
- package/dist/types/components/side_panel/chart/building_blocks/color_scale/color_scale_picker.d.ts +50 -0
- package/dist/types/components/side_panel/chart/building_blocks/data_series/data_series.d.ts +72 -0
- package/dist/types/components/side_panel/chart/building_blocks/data_source/data_source.d.ts +52 -0
- package/dist/types/components/side_panel/chart/building_blocks/error_section/error_section.d.ts +21 -0
- package/dist/types/components/side_panel/chart/building_blocks/general_design/general_design_editor.d.ts +48 -0
- package/dist/types/components/side_panel/chart/building_blocks/generic_side_panel/config_panel.d.ts +50 -0
- package/dist/types/components/side_panel/chart/building_blocks/humanize_numbers/humanize_numbers.d.ts +18 -0
- package/dist/types/components/side_panel/chart/building_blocks/label_range/label_range.d.ts +42 -0
- package/dist/types/components/side_panel/chart/building_blocks/legend/legend.d.ts +31 -0
- package/dist/types/components/side_panel/chart/building_blocks/pie_hole_size/pie_hole_size.d.ts +21 -0
- package/dist/types/components/side_panel/chart/building_blocks/range_data_source/range_data_source.d.ts +110 -0
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_design_editor.d.ts +57 -0
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_with_axis_design_editor.d.ts +58 -0
- package/dist/types/components/side_panel/chart/building_blocks/show_data_markers/show_data_markers.d.ts +17 -0
- package/dist/types/components/side_panel/chart/building_blocks/show_values/show_values.d.ts +25 -0
- package/dist/types/components/side_panel/chart/building_blocks/text_styler/text_styler.d.ts +87 -0
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_config_panel.d.ts +22 -0
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_design_panel.d.ts +39 -0
- package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +51 -0
- package/dist/types/components/side_panel/chart/chart_with_axis/design_panel.d.ts +32 -0
- package/dist/types/components/side_panel/chart/combo_chart/combo_chart_design_panel.d.ts +28 -0
- package/dist/types/components/side_panel/chart/common.d.ts +13 -0
- package/dist/types/components/side_panel/chart/funnel_chart_panel/funnel_chart_config_panel.d.ts +10 -0
- package/dist/types/components/side_panel/chart/funnel_chart_panel/funnel_chart_design_panel.d.ts +32 -0
- package/dist/types/components/side_panel/chart/gauge_chart_panel/gauge_chart_config_panel.d.ts +28 -0
- package/dist/types/components/side_panel/chart/gauge_chart_panel/gauge_chart_design_panel.d.ts +55 -0
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_config_panel.d.ts +13 -0
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_design_panel.d.ts +29 -0
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_region_select_section.d.ts +28 -0
- package/dist/types/components/side_panel/chart/hierarchical_chart/hierarchical_chart_config_panel.d.ts +10 -0
- package/dist/types/components/side_panel/chart/index.d.ts +15 -0
- package/dist/types/components/side_panel/chart/line_chart/line_chart_config_panel.d.ts +15 -0
- package/dist/types/components/side_panel/chart/line_chart/line_chart_design_panel.d.ts +19 -0
- package/dist/types/components/side_panel/chart/main_chart_panel/main_chart_panel.d.ts +33 -0
- package/dist/types/components/side_panel/chart/main_chart_panel/main_chart_panel_store.d.ts +23 -0
- package/dist/types/components/side_panel/chart/pie_chart/pie_chart_design_panel.d.ts +48 -0
- package/dist/types/components/side_panel/chart/radar_chart/radar_chart_design_panel.d.ts +31 -0
- package/dist/types/components/side_panel/chart/scatter_chart/scatter_chart_config_panel.d.ts +12 -0
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_config_panel.d.ts +38 -0
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_design_panel.d.ts +42 -0
- package/dist/types/components/side_panel/chart/sunburst_chart/sunburst_chart_design_panel.d.ts +48 -0
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_category_color/treemap_category_color.d.ts +28 -0
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_chart_design_panel.d.ts +57 -0
- package/dist/types/components/side_panel/chart/treemap_chart/treemap_color_scale/treemap_color_scale.d.ts +24 -0
- package/dist/types/components/side_panel/chart/waterfall_chart/waterfall_chart_design_panel.d.ts +50 -0
- package/dist/types/components/side_panel/chart/zoomable_chart/design_panel.d.ts +25 -0
- package/dist/types/components/side_panel/column_stats/column_stats_panel.d.ts +70 -0
- package/dist/types/components/side_panel/column_stats/column_stats_store.d.ts +50 -0
- package/dist/types/components/side_panel/components/badge_selection/badge_selection.d.ts +21 -0
- package/dist/types/components/side_panel/components/checkbox/checkbox.d.ts +46 -0
- package/dist/types/components/side_panel/components/cog_wheel_menu/cog_wheel_menu.d.ts +22 -0
- package/dist/types/components/side_panel/components/collapse/collapse.d.ts +17 -0
- package/dist/types/components/side_panel/components/collapsible/side_panel_collapsible.d.ts +25 -0
- package/dist/types/components/side_panel/components/radio_selection/radio_selection.d.ts +32 -0
- package/dist/types/components/side_panel/components/round_color_picker/round_color_picker.d.ts +44 -0
- package/dist/types/components/side_panel/components/section/section.d.ts +20 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cell_is_rule_editor.d.ts +23 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cf_editor.d.ts +45 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cf_editor_store.d.ts +97 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor.d.ts +18 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor_threshold.d.ts +31 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/data_bar_rule_editor.d.ts +23 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/icon_set_rule_editor.d.ts +30 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_preview/cf_preview.d.ts +28 -0
- package/dist/types/components/side_panel/conditional_formatting/cf_preview_list/cf_preview_list.d.ts +24 -0
- package/dist/types/components/side_panel/criterion_form/criterion_form.d.ts +26 -0
- package/dist/types/components/side_panel/criterion_form/criterion_input/criterion_input.d.ts +67 -0
- package/dist/types/components/side_panel/criterion_form/date_criterion/date_criterion.d.ts +15 -0
- package/dist/types/components/side_panel/criterion_form/double_input_criterion/double_input_criterion.d.ts +10 -0
- package/dist/types/components/side_panel/criterion_form/single_input_criterion/single_input_criterion.d.ts +9 -0
- package/dist/types/components/side_panel/criterion_form/top_10_criterion/top_10_criterion.d.ts +17 -0
- package/dist/types/components/side_panel/criterion_form/value_in_list_criterion/value_in_list_criterion.d.ts +33 -0
- package/dist/types/components/side_panel/criterion_form/value_in_range_criterion/value_in_range_criterion.d.ts +22 -0
- package/dist/types/components/side_panel/data_validation/data_validation_panel.d.ts +20 -0
- package/dist/types/components/side_panel/data_validation/dv_editor/dv_editor.d.ts +50 -0
- package/dist/types/components/side_panel/data_validation/dv_preview/dv_preview.d.ts +20 -0
- package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +52 -0
- package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +73 -0
- package/dist/types/components/side_panel/more_formats/more_formats.d.ts +40 -0
- package/dist/types/components/side_panel/more_formats/more_formats_store.d.ts +64 -0
- package/dist/types/components/side_panel/named_ranges_panel/named_range_preview/named_range_preview.d.ts +33 -0
- package/dist/types/components/side_panel/named_ranges_panel/named_ranges_panel.d.ts +22 -0
- package/dist/types/components/side_panel/pivot/pivot_custom_groups_collapsible/pivot_custom_groups_collapsible.d.ts +30 -0
- package/dist/types/components/side_panel/pivot/pivot_defer_update/pivot_defer_update.d.ts +28 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/add_dimension_button/add_dimension_button.d.ts +46 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension/pivot_dimension.d.ts +36 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_granularity/pivot_dimension_granularity.d.ts +40 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_dimension_order/pivot_dimension_order.d.ts +21 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +79 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_measure/pivot_measure.d.ts +44 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_sort_section/pivot_sort_section.d.ts +26 -0
- package/dist/types/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel.d.ts +72 -0
- package/dist/types/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel_store.d.ts +37 -0
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_design_panel/pivot_design_panel.d.ts +34 -0
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel.d.ts +39 -0
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.d.ts +44 -0
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_spreadsheet_side_panel/pivot_spreadsheet_side_panel.d.ts +50 -0
- package/dist/types/components/side_panel/pivot/pivot_title_section/pivot_title_section.d.ts +30 -0
- package/dist/types/components/side_panel/remove_duplicates/remove_duplicates.d.ts +39 -0
- package/dist/types/components/side_panel/settings/settings_panel.d.ts +34 -0
- package/dist/types/components/side_panel/side_panel/side_panel.d.ts +43 -0
- package/dist/types/components/side_panel/side_panel/side_panel_store.d.ts +56 -0
- package/dist/types/components/side_panel/side_panels/side_panels.d.ts +23 -0
- package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_panel.d.ts +41 -0
- package/dist/types/components/side_panel/table_panel/table_panel.d.ts +56 -0
- package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +51 -0
- package/dist/types/components/small_bottom_bar/ribbon_menu/ribbon_menu.d.ts +36 -0
- package/dist/types/components/small_bottom_bar/small_bottom_bar.d.ts +36 -0
- package/dist/types/components/spreadsheet/spreadsheet.d.ts +82 -0
- package/dist/types/components/spreadsheet_print/spreadsheet_print.d.ts +35 -0
- package/dist/types/components/spreadsheet_print/spreadsheet_print_store.d.ts +78 -0
- package/dist/types/components/standalone_grid_canvas/figure_renderer_store.d.ts +16 -0
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +27 -0
- package/dist/types/components/tables/hovered_table_store.d.ts +13 -0
- package/dist/types/components/tables/table_dropdown_button/table_dropdown_button.d.ts +40 -0
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +27 -0
- package/dist/types/components/tables/table_style_picker/table_style_picker.d.ts +34 -0
- package/dist/types/components/tables/table_style_preview/table_canvas_helpers.d.ts +8 -0
- package/dist/types/components/tables/table_style_preview/table_style_preview.d.ts +45 -0
- package/dist/types/components/tables/table_styles_popover/table_styles_popover.d.ts +59 -0
- package/dist/types/components/text_input/text_input.d.ts +60 -0
- package/dist/types/components/top_bar/color_editor/color_editor.d.ts +32 -0
- package/dist/types/components/top_bar/dropdown_action/dropdown_action.d.ts +34 -0
- package/dist/types/components/top_bar/font_size_editor/font_size_editor.d.ts +25 -0
- package/dist/types/components/top_bar/number_formats_tool/number_formats_tool.d.ts +34 -0
- package/dist/types/components/top_bar/top_bar.d.ts +85 -0
- package/dist/types/components/top_bar/top_bar_tool_store.d.ts +14 -0
- package/dist/types/components/top_bar/top_bar_tools_registry.d.ts +2 -0
- package/dist/types/components/top_bar/zoom_editor/zoom_editor.d.ts +24 -0
- package/dist/types/components/translations_terms.d.ts +165 -0
- package/dist/types/components/validation_messages/validation_messages.d.ts +21 -0
- package/dist/types/constants.d.ts +176 -0
- package/dist/types/dom_mock.d.ts +0 -0
- package/dist/types/formulas/code_builder.d.ts +24 -0
- package/dist/types/formulas/compiler.d.ts +108 -0
- package/dist/types/formulas/composer_tokenizer.d.ts +54 -0
- package/dist/types/formulas/formula_formatter.d.ts +18 -0
- package/dist/types/formulas/parser.d.ts +107 -0
- package/dist/types/formulas/range_tokenizer.d.ts +8 -0
- package/dist/types/formulas/tokenizer.d.ts +26 -0
- package/dist/types/functions/arguments.d.ts +90 -0
- package/dist/types/functions/autocomplete_arguments_provider.d.ts +13 -0
- package/dist/types/functions/create_compute_function.d.ts +5 -0
- package/dist/types/functions/function_registry.d.ts +11 -0
- package/dist/types/functions/function_registry_population.d.ts +10 -0
- package/dist/types/functions/helper_assert.d.ts +8 -0
- package/dist/types/functions/helper_financial.d.ts +59 -0
- package/dist/types/functions/helper_logical.d.ts +9 -0
- package/dist/types/functions/helper_lookup.d.ts +11 -0
- package/dist/types/functions/helper_math.d.ts +4 -0
- package/dist/types/functions/helper_matrices.d.ts +24 -0
- package/dist/types/functions/helper_parser.d.ts +99 -0
- package/dist/types/functions/helper_statistical.d.ts +21 -0
- package/dist/types/functions/helpers.d.ts +150 -0
- package/dist/types/functions/module_array.d.ts +144 -0
- package/dist/types/functions/module_database.d.ts +73 -0
- package/dist/types/functions/module_date.d.ts +198 -0
- package/dist/types/functions/module_engineering.d.ts +7 -0
- package/dist/types/functions/module_filter.d.ts +17 -0
- package/dist/types/functions/module_financial.d.ts +338 -0
- package/dist/types/functions/module_info.d.ts +68 -0
- package/dist/types/functions/module_logical.d.ts +39 -0
- package/dist/types/functions/module_lookup.d.ts +121 -0
- package/dist/types/functions/module_math.d.ts +383 -0
- package/dist/types/functions/module_operators.d.ts +96 -0
- package/dist/types/functions/module_parser.d.ts +7 -0
- package/dist/types/functions/module_statistical.d.ts +252 -0
- package/dist/types/functions/module_text.d.ts +176 -0
- package/dist/types/functions/module_web.d.ts +7 -0
- package/dist/types/helpers/carousel_helpers.d.ts +6 -0
- package/dist/types/helpers/cells/cell_evaluation.d.ts +32 -0
- package/dist/types/helpers/cells/position_map.d.ts +15 -0
- package/dist/types/helpers/chart_date.d.ts +16 -0
- package/dist/types/helpers/clipboard/clipboard_helpers.d.ts +44 -0
- package/dist/types/helpers/clipboard/navigator_clipboard_wrapper.d.ts +2 -0
- package/dist/types/helpers/color.d.ts +127 -0
- package/dist/types/helpers/concurrency.d.ts +12 -0
- package/dist/types/helpers/coordinates.d.ts +39 -0
- package/dist/types/helpers/criterion_helpers.d.ts +5 -0
- package/dist/types/helpers/data_normalization.d.ts +19 -0
- package/dist/types/helpers/dates.d.ts +94 -0
- package/dist/types/helpers/edge_scrolling.d.ts +9 -0
- package/dist/types/helpers/event_bus.d.ts +45 -0
- package/dist/types/helpers/expand_range.d.ts +8 -0
- package/dist/types/helpers/figures/chart.d.ts +30 -0
- package/dist/types/helpers/figures/charts/abstract_chart.d.ts +4 -0
- package/dist/types/helpers/figures/charts/bar_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/calendar_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/chart_common.d.ts +63 -0
- package/dist/types/helpers/figures/charts/chart_data_sources.d.ts +11 -0
- package/dist/types/helpers/figures/charts/chart_js_extension.d.ts +9 -0
- package/dist/types/helpers/figures/charts/chart_ui_common.d.ts +25 -0
- package/dist/types/helpers/figures/charts/combo_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/funnel_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/gauge_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/gauge_chart_rendering.d.ts +45 -0
- package/dist/types/helpers/figures/charts/geo_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/index.d.ts +9 -0
- package/dist/types/helpers/figures/charts/line_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/pie_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/pyramid_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/radar_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/runtime/chart_custom_tooltip.d.ts +1 -0
- package/dist/types/helpers/figures/charts/runtime/chart_data_extractor.d.ts +22 -0
- package/dist/types/helpers/figures/charts/runtime/chart_zoom.d.ts +2 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_dataset.d.ts +30 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_layout.d.ts +6 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_legend.d.ts +20 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_scales.d.ts +21 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_show_values.d.ts +9 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_title.d.ts +4 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_tooltip.d.ts +20 -0
- package/dist/types/helpers/figures/charts/runtime/index.d.ts +8 -0
- package/dist/types/helpers/figures/charts/scatter_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/scorecard_chart.d.ts +4 -0
- package/dist/types/helpers/figures/charts/scorecard_chart_config_builder.d.ts +45 -0
- package/dist/types/helpers/figures/charts/smart_chart_engine.d.ts +5 -0
- package/dist/types/helpers/figures/charts/sunburst_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/tree_map_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/waterfall_chart.d.ts +2 -0
- package/dist/types/helpers/figures/figure/figure.d.ts +4 -0
- package/dist/types/helpers/figures/images/image_provider.d.ts +11 -0
- package/dist/types/helpers/format/format.d.ts +53 -0
- package/dist/types/helpers/format/format_parser.d.ts +39 -0
- package/dist/types/helpers/format/format_tokenizer.d.ts +43 -0
- package/dist/types/helpers/formulas.d.ts +5 -0
- package/dist/types/helpers/index.d.ts +18 -0
- package/dist/types/helpers/internal_viewport.d.ts +86 -0
- package/dist/types/helpers/inverse_command.d.ts +2 -0
- package/dist/types/helpers/links.d.ts +31 -0
- package/dist/types/helpers/locale.d.ts +60 -0
- package/dist/types/helpers/matrix.d.ts +3 -0
- package/dist/types/helpers/misc.d.ts +230 -0
- package/dist/types/helpers/numbers.d.ts +25 -0
- package/dist/types/helpers/pivot/pivot_composer_helpers.d.ts +63 -0
- package/dist/types/helpers/pivot/pivot_domain_helpers.d.ts +70 -0
- package/dist/types/helpers/pivot/pivot_helpers.d.ts +83 -0
- package/dist/types/helpers/pivot/pivot_highlight.d.ts +2 -0
- package/dist/types/helpers/pivot/pivot_menu_items.d.ts +16 -0
- package/dist/types/helpers/pivot/pivot_positional_formula_registry.d.ts +7 -0
- package/dist/types/helpers/pivot/pivot_presence_tracker.d.ts +9 -0
- package/dist/types/helpers/pivot/pivot_presentation.d.ts +98 -0
- package/dist/types/helpers/pivot/pivot_registry.d.ts +32 -0
- package/dist/types/helpers/pivot/pivot_runtime_definition.d.ts +20 -0
- package/dist/types/helpers/pivot/pivot_side_panel_registry.d.ts +6 -0
- package/dist/types/helpers/pivot/pivot_time_adapter.d.ts +10 -0
- package/dist/types/helpers/pivot/spreadsheet_pivot/data_entry_spreadsheet_pivot.d.ts +20 -0
- package/dist/types/helpers/pivot/spreadsheet_pivot/date_spreadsheet_pivot.d.ts +8 -0
- package/dist/types/helpers/pivot/spreadsheet_pivot/runtime_definition_spreadsheet_pivot.d.ts +8 -0
- package/dist/types/helpers/pivot/spreadsheet_pivot/spreadsheet_pivot.d.ts +91 -0
- package/dist/types/helpers/pivot/table_spreadsheet_pivot.d.ts +111 -0
- package/dist/types/helpers/pivot_table_presets.d.ts +3 -0
- package/dist/types/helpers/range.d.ts +63 -0
- package/dist/types/helpers/range_adapter_functions.d.ts +2 -0
- package/dist/types/helpers/recompute_zones.d.ts +133 -0
- package/dist/types/helpers/rectangle.d.ts +8 -0
- package/dist/types/helpers/reference_type.d.ts +14 -0
- package/dist/types/helpers/references.d.ts +27 -0
- package/dist/types/helpers/rendering.d.ts +2 -0
- package/dist/types/helpers/search.d.ts +19 -0
- package/dist/types/helpers/selection_statistic_functions.d.ts +14 -0
- package/dist/types/helpers/sheet.d.ts +8 -0
- package/dist/types/helpers/sort.d.ts +16 -0
- package/dist/types/helpers/sort_interactive.d.ts +4 -0
- package/dist/types/helpers/state_manager_helpers.d.ts +6 -0
- package/dist/types/helpers/table_helpers.d.ts +9 -0
- package/dist/types/helpers/table_presets.d.ts +84 -0
- package/dist/types/helpers/text_helper.d.ts +52 -0
- package/dist/types/helpers/ui/cut_interactive.d.ts +2 -0
- package/dist/types/helpers/ui/freeze_interactive.d.ts +3 -0
- package/dist/types/helpers/ui/merge_interactive.d.ts +7 -0
- package/dist/types/helpers/ui/named_range_interactive.d.ts +4 -0
- package/dist/types/helpers/ui/paste_interactive.d.ts +12 -0
- package/dist/types/helpers/ui/sheet_interactive.d.ts +3 -0
- package/dist/types/helpers/ui/split_to_columns_interactive.d.ts +6 -0
- package/dist/types/helpers/ui/table_interactive.d.ts +8 -0
- package/dist/types/helpers/ui/toggle_group_interactive.d.ts +7 -0
- package/dist/types/helpers/uuid.d.ts +18 -0
- package/dist/types/helpers/viewport_collection.d.ts +196 -0
- package/dist/types/helpers/zones.d.ts +206 -0
- package/dist/types/history/branch.d.ts +63 -0
- package/dist/types/history/factory.d.ts +10 -0
- package/dist/types/history/operation.d.ts +18 -0
- package/dist/types/history/operation_sequence.d.ts +32 -0
- package/dist/types/history/repeat_commands/repeat_commands_generic.d.ts +8 -0
- package/dist/types/history/repeat_commands/repeat_commands_specific.d.ts +13 -0
- package/dist/types/history/repeat_commands/repeat_revision.d.ts +5 -0
- package/dist/types/history/selective_history.d.ts +81 -0
- package/dist/types/history/tree.d.ts +176 -0
- package/dist/types/index.d.ts +412 -0
- package/dist/types/migrations/data.d.ts +31 -0
- package/dist/types/migrations/legacy_tools.d.ts +15 -0
- package/dist/types/migrations/locale.d.ts +94 -0
- package/dist/types/migrations/migration_steps.d.ts +5 -0
- package/dist/types/model.d.ts +168 -0
- package/dist/types/plugins/base_plugin.d.ts +65 -0
- package/dist/types/plugins/core/borders.d.ts +129 -0
- package/dist/types/plugins/core/carousel.d.ts +20 -0
- package/dist/types/plugins/core/cell.d.ts +99 -0
- package/dist/types/plugins/core/chart.d.ts +45 -0
- package/dist/types/plugins/core/conditional_format.d.ts +59 -0
- package/dist/types/plugins/core/data_validation.d.ts +38 -0
- package/dist/types/plugins/core/figures.d.ts +40 -0
- package/dist/types/plugins/core/header_grouping.d.ts +84 -0
- package/dist/types/plugins/core/header_size.d.ts +24 -0
- package/dist/types/plugins/core/header_visibility.d.ts +21 -0
- package/dist/types/plugins/core/image.d.ts +30 -0
- package/dist/types/plugins/core/merge.d.ts +81 -0
- package/dist/types/plugins/core/named_range.d.ts +23 -0
- package/dist/types/plugins/core/pivot.d.ts +71 -0
- package/dist/types/plugins/core/range.d.ts +71 -0
- package/dist/types/plugins/core/settings.d.ts +14 -0
- package/dist/types/plugins/core/sheet.d.ts +154 -0
- package/dist/types/plugins/core/spreadsheet_pivot.d.ts +6 -0
- package/dist/types/plugins/core/squisher.d.ts +82 -0
- package/dist/types/plugins/core/table_style.d.ts +24 -0
- package/dist/types/plugins/core/tables.d.ts +61 -0
- package/dist/types/plugins/core/unsquisher.d.ts +60 -0
- package/dist/types/plugins/core_plugin.d.ts +47 -0
- package/dist/types/plugins/core_view_plugin.d.ts +29 -0
- package/dist/types/plugins/index.d.ts +8 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/binary_grid.d.ts +36 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/compilation_parameters.d.ts +17 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluation_plugin.d.ts +54 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluator.d.ts +63 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/formula_dependency_graph.d.ts +18 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/index.d.ts +1 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/interval_tree.d.ts +47 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/position_set.d.ts +28 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/r_tree.d.ts +108 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/range_set.d.ts +23 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/spreading_relation.d.ts +63 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/zone_set.d.ts +16 -0
- package/dist/types/plugins/ui_core_views/cell_icon_plugin.d.ts +15 -0
- package/dist/types/plugins/ui_core_views/custom_colors.d.ts +29 -0
- package/dist/types/plugins/ui_core_views/dynamic_tables.d.ts +38 -0
- package/dist/types/plugins/ui_core_views/evaluation_chart.d.ts +26 -0
- package/dist/types/plugins/ui_core_views/evaluation_conditional_format.d.ts +36 -0
- package/dist/types/plugins/ui_core_views/evaluation_data_validation.d.ts +54 -0
- package/dist/types/plugins/ui_core_views/formula_tracker.d.ts +8 -0
- package/dist/types/plugins/ui_core_views/header_sizes_ui.d.ts +36 -0
- package/dist/types/plugins/ui_core_views/pivot_ui.d.ts +62 -0
- package/dist/types/plugins/ui_feature/autofill.d.ts +63 -0
- package/dist/types/plugins/ui_feature/automatic_sum.d.ts +102 -0
- package/dist/types/plugins/ui_feature/cell_computed_style.d.ts +16 -0
- package/dist/types/plugins/ui_feature/checkbox_toggle.d.ts +9 -0
- package/dist/types/plugins/ui_feature/collaborative.d.ts +24 -0
- package/dist/types/plugins/ui_feature/data_cleanup.d.ts +16 -0
- package/dist/types/plugins/ui_feature/datavalidation_insertion.d.ts +5 -0
- package/dist/types/plugins/ui_feature/dynamic_translate.d.ts +13 -0
- package/dist/types/plugins/ui_feature/format.d.ts +25 -0
- package/dist/types/plugins/ui_feature/geo_features.d.ts +23 -0
- package/dist/types/plugins/ui_feature/header_visibility_ui.d.ts +22 -0
- package/dist/types/plugins/ui_feature/index.d.ts +1 -0
- package/dist/types/plugins/ui_feature/insert_pivot.d.ts +15 -0
- package/dist/types/plugins/ui_feature/local_history.d.ts +36 -0
- package/dist/types/plugins/ui_feature/lock_sheet.d.ts +7 -0
- package/dist/types/plugins/ui_feature/pivot_presence_plugin.d.ts +11 -0
- package/dist/types/plugins/ui_feature/sort.d.ts +30 -0
- package/dist/types/plugins/ui_feature/split_to_columns.d.ts +21 -0
- package/dist/types/plugins/ui_feature/subtotal_evaluation.d.ts +5 -0
- package/dist/types/plugins/ui_feature/table_autofill.d.ts +6 -0
- package/dist/types/plugins/ui_feature/table_computed_style.d.ts +28 -0
- package/dist/types/plugins/ui_feature/table_resize_ui.d.ts +6 -0
- package/dist/types/plugins/ui_feature/ui_options.d.ts +8 -0
- package/dist/types/plugins/ui_feature/ui_sheet.d.ts +55 -0
- package/dist/types/plugins/ui_plugin.d.ts +45 -0
- package/dist/types/plugins/ui_stateful/carousel_ui.d.ts +21 -0
- package/dist/types/plugins/ui_stateful/clipboard.d.ts +65 -0
- package/dist/types/plugins/ui_stateful/filter_evaluation.d.ts +29 -0
- package/dist/types/plugins/ui_stateful/header_positions.d.ts +28 -0
- package/dist/types/plugins/ui_stateful/selection.d.ts +99 -0
- package/dist/types/plugins/ui_stateful/sheetview.d.ts +123 -0
- package/dist/types/registries/auto_completes/auto_complete_registry.d.ts +59 -0
- package/dist/types/registries/auto_completes/data_validation_auto_complete.d.ts +1 -0
- package/dist/types/registries/auto_completes/function_auto_complete.d.ts +1 -0
- package/dist/types/registries/auto_completes/index.d.ts +5 -0
- package/dist/types/registries/auto_completes/pivot_auto_complete.d.ts +1 -0
- package/dist/types/registries/auto_completes/pivot_dimension_auto_complete.d.ts +4 -0
- package/dist/types/registries/auto_completes/sheet_name_auto_complete.d.ts +1 -0
- package/dist/types/registries/autofill_modifiers.d.ts +7 -0
- package/dist/types/registries/autofill_rules.d.ts +22 -0
- package/dist/types/registries/cell_animation_registry.d.ts +28 -0
- package/dist/types/registries/cell_clickable_registry.d.ts +13 -0
- package/dist/types/registries/cell_popovers_registry.d.ts +3 -0
- package/dist/types/registries/chart_component_registry.d.ts +3 -0
- package/dist/types/registries/chart_data_source_component_registry.d.ts +3 -0
- package/dist/types/registries/chart_data_source_registry.d.ts +28 -0
- package/dist/types/registries/chart_registry.d.ts +64 -0
- package/dist/types/registries/chart_subtype_registry.d.ts +3 -0
- package/dist/types/registries/chart_types.d.ts +1 -0
- package/dist/types/registries/clipboardHandlersRegistries.d.ts +7 -0
- package/dist/types/registries/criterion_component_registry.d.ts +13 -0
- package/dist/types/registries/criterion_registry.d.ts +44 -0
- package/dist/types/registries/currencies_registry.d.ts +7 -0
- package/dist/types/registries/evaluation_registry.d.ts +9 -0
- package/dist/types/registries/figures_registry.d.ts +19 -0
- package/dist/types/registries/icons_on_cell_registry.d.ts +23 -0
- package/dist/types/registries/interactive_icon_on_cell_registry.d.ts +1 -0
- package/dist/types/registries/inverse_command_registry.d.ts +5 -0
- package/dist/types/registries/menu_items_registry.d.ts +21 -0
- package/dist/types/registries/menus/cell_menu_registry.d.ts +2 -0
- package/dist/types/registries/menus/col_menu_registry.d.ts +2 -0
- package/dist/types/registries/menus/header_group_registry.d.ts +7 -0
- package/dist/types/registries/menus/index.d.ts +6 -0
- package/dist/types/registries/menus/number_format_menu_registry.d.ts +7 -0
- package/dist/types/registries/menus/row_menu_registry.d.ts +2 -0
- package/dist/types/registries/menus/sheet_menu_registry.d.ts +5 -0
- package/dist/types/registries/menus/table_style_menu_registry.d.ts +3 -0
- package/dist/types/registries/menus/topbar_menu_registry.d.ts +2 -0
- package/dist/types/registries/ot_registry.d.ts +21 -0
- package/dist/types/registries/registry.d.ts +52 -0
- package/dist/types/registries/repeat_commands_registry.d.ts +3 -0
- package/dist/types/registries/repeat_transform_registry.d.ts +18 -0
- package/dist/types/registries/side_panel_registry.d.ts +15 -0
- package/dist/types/registries/srt_registry.d.ts +11 -0
- package/dist/types/registries/toolbar_menu_registry.d.ts +19 -0
- package/dist/types/registries/topbar_component_registry.d.ts +20 -0
- package/dist/types/registry.d.ts +10 -0
- package/dist/types/selection_stream/event_stream.d.ts +65 -0
- package/dist/types/selection_stream/selection_stream_processor.d.ts +138 -0
- package/dist/types/state_observer.d.ts +18 -0
- package/dist/types/store_engine/dependency_container.d.ts +26 -0
- package/dist/types/store_engine/index.d.ts +4 -0
- package/dist/types/store_engine/store.d.ts +20 -0
- package/dist/types/store_engine/store_hooks.d.ts +18 -0
- package/dist/types/stores/DOM_focus_store.d.ts +6 -0
- package/dist/types/stores/array_formula_highlight.d.ts +9 -0
- package/dist/types/stores/client_focus_store.d.ts +15 -0
- package/dist/types/stores/formula_fingerprints_store.d.ts +20 -0
- package/dist/types/stores/grid_renderer_store.d.ts +41 -0
- package/dist/types/stores/highlight_store.d.ts +16 -0
- package/dist/types/stores/index.d.ts +2 -0
- package/dist/types/stores/model_store.d.ts +2 -0
- package/dist/types/stores/notification_store.d.ts +8 -0
- package/dist/types/stores/renderer_store.d.ts +23 -0
- package/dist/types/stores/screen_width_store.d.ts +6 -0
- package/dist/types/stores/spreadsheet_store.d.ts +14 -0
- package/dist/types/translation.d.ts +21 -0
- package/dist/types/types/autofill.d.ts +71 -0
- package/dist/types/types/canvas.d.ts +2 -0
- package/dist/types/types/cell_popovers.d.ts +51 -0
- package/dist/types/types/cells.d.ts +66 -0
- package/dist/types/types/chart/bar_chart.d.ts +17 -0
- package/dist/types/types/chart/calendar_chart.d.ts +16 -0
- package/dist/types/types/chart/chart.d.ts +222 -0
- package/dist/types/types/chart/chartjs.d.ts +2 -0
- package/dist/types/types/chart/chartjs_tree_map_type.d.ts +131 -0
- package/dist/types/types/chart/combo_chart.d.ts +22 -0
- package/dist/types/types/chart/common_chart.d.ts +16 -0
- package/dist/types/types/chart/funnel_chart.d.ts +24 -0
- package/dist/types/types/chart/gauge_chart.d.ts +89 -0
- package/dist/types/types/chart/geo_chart.d.ts +26 -0
- package/dist/types/types/chart/index.d.ts +13 -0
- package/dist/types/types/chart/line_chart.d.ts +21 -0
- package/dist/types/types/chart/pie_chart.d.ts +15 -0
- package/dist/types/types/chart/pyramid_chart.d.ts +13 -0
- package/dist/types/types/chart/radar_chart.d.ts +18 -0
- package/dist/types/types/chart/scatter_chart.d.ts +6 -0
- package/dist/types/types/chart/scorecard_chart.d.ts +39 -0
- package/dist/types/types/chart/sunburst_chart.d.ts +42 -0
- package/dist/types/types/chart/tree_map_chart.d.ts +52 -0
- package/dist/types/types/chart/waterfall_chart.d.ts +19 -0
- package/dist/types/types/chart_subtype_properties.d.ts +26 -0
- package/dist/types/types/clipboard/clipboard_interface.d.ts +12 -0
- package/dist/types/types/clipboard.d.ts +57 -0
- package/dist/types/types/collaborative/revisions.d.ts +8 -0
- package/dist/types/types/collaborative/session.d.ts +53 -0
- package/dist/types/types/collaborative/transport_service.d.ts +95 -0
- package/dist/types/types/commands.d.ts +940 -0
- package/dist/types/types/conditional_formatting.d.ts +114 -0
- package/dist/types/types/core_getters.d.ts +74 -0
- package/dist/types/types/currency.d.ts +7 -0
- package/dist/types/types/data_validation.d.ts +138 -0
- package/dist/types/types/env.d.ts +10 -0
- package/dist/types/types/errors.d.ts +45 -0
- package/dist/types/types/event_stream/index.d.ts +1 -0
- package/dist/types/types/event_stream/selection_events.d.ts +11 -0
- package/dist/types/types/figure.d.ts +39 -0
- package/dist/types/types/files.d.ts +28 -0
- package/dist/types/types/find_and_replace.d.ts +8 -0
- package/dist/types/types/format.d.ts +8 -0
- package/dist/types/types/functions.d.ts +58 -0
- package/dist/types/types/generic_criterion.d.ts +16 -0
- package/dist/types/types/getters.d.ts +44 -0
- package/dist/types/types/history.d.ts +43 -0
- package/dist/types/types/image.d.ts +23 -0
- package/dist/types/types/index.d.ts +36 -0
- package/dist/types/types/locale.d.ts +17 -0
- package/dist/types/types/misc.d.ts +344 -0
- package/dist/types/types/model.d.ts +46 -0
- package/dist/types/types/pivot.d.ts +187 -0
- package/dist/types/types/pivot_runtime.d.ts +32 -0
- package/dist/types/types/props_of.d.ts +5 -0
- package/dist/types/types/range.d.ts +29 -0
- package/dist/types/types/rendering.d.ts +119 -0
- package/dist/types/types/scroll_direction.d.ts +1 -0
- package/dist/types/types/selection_stream_processor.d.ts +35 -0
- package/dist/types/types/spreadsheet_env.d.ts +23 -0
- package/dist/types/types/store_engine.d.ts +52 -0
- package/dist/types/types/stores/notification_store_methods.d.ts +6 -0
- package/dist/types/types/table.d.ts +103 -0
- package/dist/types/types/validator.d.ts +16 -0
- package/dist/types/types/workbook_data.d.ts +147 -0
- package/dist/types/types/xlsx.d.ts +512 -0
- package/dist/types/xlsx/constants.d.ts +81 -0
- package/dist/types/xlsx/conversion/cf_conversion.d.ts +4 -0
- package/dist/types/xlsx/conversion/color_conversion.d.ts +31 -0
- package/dist/types/xlsx/conversion/conversion_maps.d.ts +179 -0
- package/dist/types/xlsx/conversion/data_validation_conversion.d.ts +4 -0
- package/dist/types/xlsx/conversion/figure_conversion.d.ts +3 -0
- package/dist/types/xlsx/conversion/format_conversion.d.ts +8 -0
- package/dist/types/xlsx/conversion/formula_conversion.d.ts +9 -0
- package/dist/types/xlsx/conversion/index.d.ts +7 -0
- package/dist/types/xlsx/conversion/sheet_conversion.d.ts +4 -0
- package/dist/types/xlsx/conversion/style_conversion.d.ts +19 -0
- package/dist/types/xlsx/conversion/table_conversion.d.ts +8 -0
- package/dist/types/xlsx/extraction/base_extractor.d.ts +141 -0
- package/dist/types/xlsx/extraction/cf_extractor.d.ts +15 -0
- package/dist/types/xlsx/extraction/chart_extractor.d.ts +15 -0
- package/dist/types/xlsx/extraction/data_validation_extractor.d.ts +9 -0
- package/dist/types/xlsx/extraction/external_book_extractor.d.ts +6 -0
- package/dist/types/xlsx/extraction/figure_extractor.d.ts +10 -0
- package/dist/types/xlsx/extraction/index.d.ts +3 -0
- package/dist/types/xlsx/extraction/misc_extractor.d.ts +18 -0
- package/dist/types/xlsx/extraction/pivot_extractor.d.ts +10 -0
- package/dist/types/xlsx/extraction/sheet_extractor.d.ts +27 -0
- package/dist/types/xlsx/extraction/style_extractor.d.ts +19 -0
- package/dist/types/xlsx/extraction/table_extractor.d.ts +10 -0
- package/dist/types/xlsx/functions/cells.d.ts +11 -0
- package/dist/types/xlsx/functions/charts.d.ts +3 -0
- package/dist/types/xlsx/functions/conditional_formatting.d.ts +3 -0
- package/dist/types/xlsx/functions/data_validation.d.ts +3 -0
- package/dist/types/xlsx/functions/drawings.d.ts +5 -0
- package/dist/types/xlsx/functions/sheet_protection.d.ts +2 -0
- package/dist/types/xlsx/functions/styles.d.ts +10 -0
- package/dist/types/xlsx/functions/table.d.ts +2 -0
- package/dist/types/xlsx/functions/worksheet.d.ts +10 -0
- package/dist/types/xlsx/helpers/colors.d.ts +8 -0
- package/dist/types/xlsx/helpers/content_helpers.d.ts +61 -0
- package/dist/types/xlsx/helpers/misc.d.ts +27 -0
- package/dist/types/xlsx/helpers/xlsx_helper.d.ts +9 -0
- package/dist/types/xlsx/helpers/xlsx_parser_error_manager.d.ts +38 -0
- package/dist/types/xlsx/helpers/xml_helpers.d.ts +35 -0
- package/dist/types/xlsx/xlsx_reader.d.ts +13 -0
- package/dist/types/xlsx/xlsx_writer.d.ts +19 -0
- package/package.json +48 -43
- package/dist/o-spreadsheet-engine.d.ts +0 -6788
- package/dist/o-spreadsheet-engine.esm.js +0 -52797
- package/dist/o-spreadsheet-engine.iife.js +0 -52913
- package/dist/o-spreadsheet-engine.min.iife.js +0 -836
- package/dist/o-spreadsheet.d.ts +0 -13821
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
3
3
|
@see https://github.com/odoo/o-spreadsheet
|
|
4
|
-
@version 19.2
|
|
5
|
-
@date 2026-
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.3.2
|
|
5
|
+
@date 2026-05-11T13:52:25.929Z
|
|
6
|
+
@hash 14395f7
|
|
7
7
|
-->
|
|
8
8
|
<odoo>
|
|
9
9
|
<t t-name="o-spreadsheet-ValidationMessages">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
t-key="msg_index"
|
|
20
20
|
class="ps-2"
|
|
21
21
|
t-att-class="{'text-truncate': props.singleBox }"
|
|
22
|
-
t-
|
|
22
|
+
t-out="msg"
|
|
23
23
|
/>
|
|
24
24
|
</div>
|
|
25
25
|
</div>
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
t-on-click="props.onClick">
|
|
34
34
|
<div t-if="!env.isSmall" class="o-topbar-top d-flex justify-content-between border-bottom">
|
|
35
35
|
<!-- Menus -->
|
|
36
|
-
<div class="o-topbar-topleft d-flex">
|
|
36
|
+
<div class="o-topbar-topleft d-flex" t-ref="topBarTop">
|
|
37
37
|
<t t-foreach="menus" t-as="menu" t-key="menu_index">
|
|
38
38
|
<div
|
|
39
39
|
t-if="menu.children.length !== 0"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
t-on-click="(ev) => this.toggleContextMenu(menu, ev)"
|
|
43
43
|
t-on-mouseover="(ev) => this.onMenuMouseOver(menu, ev)"
|
|
44
44
|
t-att-data-id="menu.id">
|
|
45
|
-
<t t-
|
|
45
|
+
<t t-out="getMenuName(menu)"/>
|
|
46
46
|
</div>
|
|
47
47
|
</t>
|
|
48
48
|
</div>
|
|
@@ -58,20 +58,30 @@
|
|
|
58
58
|
t-att-class="{'o-topbar-responsive': !env.model.getters.isReadonly()}"
|
|
59
59
|
t-ref="toolBarContainer">
|
|
60
60
|
<div
|
|
61
|
-
class="o-topbar-toolbar d-flex"
|
|
61
|
+
class="o-topbar-toolbar d-flex flex-grow-1"
|
|
62
62
|
t-att-class="{'flex-shrink-0': env.model.getters.isReadonly()}">
|
|
63
63
|
<!-- Toolbar -->
|
|
64
64
|
<div
|
|
65
65
|
t-if="env.model.getters.isReadonly()"
|
|
66
|
-
class="o-readonly-toolbar d-flex align-items-center text-muted">
|
|
66
|
+
class="o-readonly-toolbar d-flex flex-grow-1 align-items-center text-muted">
|
|
67
67
|
<span>
|
|
68
68
|
<i class="fa fa-eye"/>
|
|
69
69
|
Readonly Access
|
|
70
70
|
</span>
|
|
71
71
|
</div>
|
|
72
|
-
<div
|
|
72
|
+
<div
|
|
73
|
+
t-else=""
|
|
74
|
+
class="o-toolbar-tools d-flex flex-grow-1 align-items-center"
|
|
75
|
+
t-ref="toolBar">
|
|
76
|
+
<div
|
|
77
|
+
class="d-flex h-100 o-named-range-selector-container align-items-center ms-2 me-1"
|
|
78
|
+
t-ref="namedRanges"
|
|
79
|
+
t-on-click.stop="">
|
|
80
|
+
<NamedRangeSelector/>
|
|
81
|
+
<div class="o-topbar-divider border-end"/>
|
|
82
|
+
</div>
|
|
73
83
|
<div
|
|
74
|
-
class="d-flex tool-container"
|
|
84
|
+
class="d-flex tool-container h-100"
|
|
75
85
|
t-foreach="toolsCategories"
|
|
76
86
|
t-as="category"
|
|
77
87
|
t-key="category"
|
|
@@ -125,14 +135,18 @@
|
|
|
125
135
|
</div>
|
|
126
136
|
<MenuPopover
|
|
127
137
|
t-if="state.menuState.isOpen"
|
|
138
|
+
t-key="state.menuState.parentMenu.id"
|
|
128
139
|
anchorRect="state.menuState.anchorRect"
|
|
129
140
|
menuItems="state.menuState.menuItems"
|
|
130
141
|
onClose="() => this.closeMenus()"
|
|
131
142
|
onMenuClicked="() => this.props.onClick()"
|
|
132
143
|
popoverPositioning="'bottom-left'"
|
|
144
|
+
menuId="state.menuState.parentMenu.id"
|
|
145
|
+
autoSelectFirstItem="state.menuState.autoSelectFirstItem"
|
|
146
|
+
onKeyboardNavigation.bind="this.onKeyboardNavigation"
|
|
133
147
|
/>
|
|
134
148
|
<Popover t-if="state.toolsPopoverState.isOpen" t-props="toolsPopoverProps">
|
|
135
|
-
<div class="d-flex px-2 py-1 flex-wrap align-items-center
|
|
149
|
+
<div class="d-flex px-2 py-1 flex-wrap align-items-center">
|
|
136
150
|
<t
|
|
137
151
|
t-foreach="state.invisibleToolsCategories"
|
|
138
152
|
t-as="category"
|
|
@@ -188,7 +202,7 @@
|
|
|
188
202
|
<FontSizeEditor
|
|
189
203
|
currentFontSize="currentFontSize"
|
|
190
204
|
onFontSizeChanged.bind="this.setFontSize"
|
|
191
|
-
class="
|
|
205
|
+
class="class"
|
|
192
206
|
onToggle.bind="this.onToggle"
|
|
193
207
|
onFocusInput.bind="this.onFocusInput"
|
|
194
208
|
/>
|
|
@@ -206,7 +220,7 @@
|
|
|
206
220
|
class="props.class"
|
|
207
221
|
/>
|
|
208
222
|
<Popover t-if="isActive" t-props="popoverProps">
|
|
209
|
-
<div class="o-dropdown-content p-1
|
|
223
|
+
<div class="o-dropdown-content p-1" t-if="isActive" t-on-click.stop="">
|
|
210
224
|
<div class="o-dropdown-line">
|
|
211
225
|
<t t-foreach="props.childActions" t-as="action" t-key="action_index">
|
|
212
226
|
<ActionButton action="action" class="props.childClass"/>
|
|
@@ -217,7 +231,9 @@
|
|
|
217
231
|
</div>
|
|
218
232
|
|
|
219
233
|
<t t-name="o-spreadsheet-ColorEditor">
|
|
220
|
-
<div
|
|
234
|
+
<div
|
|
235
|
+
class="d-flex align-items-center"
|
|
236
|
+
t-att-class="{'o-disabled': env.model.getters.isCurrentSheetLocked() }">
|
|
221
237
|
<ColorPickerWidget
|
|
222
238
|
currentColor="currentColor"
|
|
223
239
|
toggleColorPicker.bind="onClick"
|
|
@@ -239,9 +255,11 @@
|
|
|
239
255
|
t-att-id="props.id"
|
|
240
256
|
t-att-placeholder="props.placeholder"
|
|
241
257
|
t-on-change="save"
|
|
242
|
-
t-on-blur="
|
|
258
|
+
t-on-blur="onBlur"
|
|
243
259
|
t-on-pointerdown="onMouseDown"
|
|
244
260
|
t-on-pointerup="onMouseUp"
|
|
261
|
+
t-on-focus="onFocus"
|
|
262
|
+
t-on-input="onInput"
|
|
245
263
|
t-on-keydown="onKeyDown"
|
|
246
264
|
/>
|
|
247
265
|
<span
|
|
@@ -256,7 +274,7 @@
|
|
|
256
274
|
<t t-name="o-spreadsheet-TableStylesPopover">
|
|
257
275
|
<Popover t-if="props.popoverProps" t-props="props.popoverProps">
|
|
258
276
|
<div
|
|
259
|
-
class="o-table-style-popover d-flex flex-column py-3
|
|
277
|
+
class="o-table-style-popover d-flex flex-column py-3"
|
|
260
278
|
t-ref="tableStyleList"
|
|
261
279
|
t-on-contextmenu.prevent="">
|
|
262
280
|
<div class="d-flex o-notebook ps-4 mb-3">
|
|
@@ -268,7 +286,7 @@
|
|
|
268
286
|
t-att-class="{ 'selected': state.selectedCategory === category }"
|
|
269
287
|
t-on-click="() => state.selectedCategory = category"
|
|
270
288
|
t-att-data-id="category"
|
|
271
|
-
t-
|
|
289
|
+
t-out="categories[category_value]"
|
|
272
290
|
/>
|
|
273
291
|
</div>
|
|
274
292
|
<div
|
|
@@ -364,12 +382,12 @@
|
|
|
364
382
|
</t>
|
|
365
383
|
|
|
366
384
|
<t t-name="o-spreadsheet-TableDropdownButton">
|
|
367
|
-
<div class="o-table-widget d-flex align-item-center" t-att-class="
|
|
385
|
+
<div class="o-table-widget d-flex align-item-center" t-att-class="class">
|
|
368
386
|
<ActionButton
|
|
369
387
|
action="action"
|
|
370
388
|
hasTriangleDownIcon="true"
|
|
371
389
|
t-on-click="onClick"
|
|
372
|
-
class="'
|
|
390
|
+
class="'opacity-100'"
|
|
373
391
|
/>
|
|
374
392
|
</div>
|
|
375
393
|
<TableStylesPopover
|
|
@@ -382,13 +400,115 @@
|
|
|
382
400
|
/>
|
|
383
401
|
</t>
|
|
384
402
|
|
|
403
|
+
<t t-name="o-spreadsheet-StandaloneGridCanvas">
|
|
404
|
+
<canvas t-ref="canvas"/>
|
|
405
|
+
</t>
|
|
406
|
+
|
|
407
|
+
<t t-name="o-spreadsheet-SpreadsheetPrint">
|
|
408
|
+
<div class="o-spreadsheet-print d-flex flex-column h-100 w-100">
|
|
409
|
+
<t t-set="pages" t-value="printStore.printPages"/>
|
|
410
|
+
<div class="o-print-header flex-shrink-0 d-flex align-items-center d-print-none">
|
|
411
|
+
<h3 class="m-0 p-3 ps-4 text-white">Print Preview</h3>
|
|
412
|
+
<span class="text-white">
|
|
413
|
+
<t t-esc="pages.length"/>
|
|
414
|
+
pages
|
|
415
|
+
</span>
|
|
416
|
+
<button class="o-button ms-auto me-2 flex-grow-0" t-on-click="props.onExitPrintMode">
|
|
417
|
+
Cancel
|
|
418
|
+
</button>
|
|
419
|
+
<button class="o-button primary flex-grow-0 me-4" t-on-click="onPrint">Next</button>
|
|
420
|
+
</div>
|
|
421
|
+
<div class="o-print-container d-flex flex-grow-1 overflow-hidden">
|
|
422
|
+
<div class="o-print-preview w-100 overflow-auto d-flex flex-column">
|
|
423
|
+
<div class="mx-auto">
|
|
424
|
+
<div
|
|
425
|
+
t-if="pages.length === 0"
|
|
426
|
+
class="o-print-page o-empty-print-page m-4 shadow d-flex flex-column align-items-center justify-content-center flex-shrink-0"
|
|
427
|
+
t-att-style="pageStyle">
|
|
428
|
+
<h4 class="fst-italic text-muted">No content to print</h4>
|
|
429
|
+
</div>
|
|
430
|
+
<div
|
|
431
|
+
t-else=""
|
|
432
|
+
t-foreach="pages"
|
|
433
|
+
t-as="page"
|
|
434
|
+
t-key="page_index"
|
|
435
|
+
class="o-print-page m-4 shadow d-flex justify-content-center flex-shrink-0"
|
|
436
|
+
t-att-style="pageStyle">
|
|
437
|
+
<StandaloneGridCanvas
|
|
438
|
+
sheetId="page.sheetId"
|
|
439
|
+
zone="page.zone"
|
|
440
|
+
renderingCtx="page.renderingCtx"
|
|
441
|
+
/>
|
|
442
|
+
</div>
|
|
443
|
+
</div>
|
|
444
|
+
</div>
|
|
445
|
+
<div class="o-sidePanel flex-shrink-0 bg-white border-top border-start d-print-none">
|
|
446
|
+
<div class="o-sidePanelBody pt-4">
|
|
447
|
+
<Section t-if="!this.env.isDashboard()">
|
|
448
|
+
<div class="o-section-title">Print content</div>
|
|
449
|
+
<Select
|
|
450
|
+
selectedValue="printStore.printSelection"
|
|
451
|
+
values="printStore.printSelectionOptions"
|
|
452
|
+
class="'o-print-selection'"
|
|
453
|
+
onChange.bind="this.onPrintSelectionChange"
|
|
454
|
+
/>
|
|
455
|
+
</Section>
|
|
456
|
+
|
|
457
|
+
<Section>
|
|
458
|
+
<div class="o-section-title">Scale</div>
|
|
459
|
+
<Select
|
|
460
|
+
selectedValue="printStore.printScale"
|
|
461
|
+
values="printStore.printScaleOptions"
|
|
462
|
+
class="'o-print-scale'"
|
|
463
|
+
onChange.bind="this.onPrintScaleChange"
|
|
464
|
+
/>
|
|
465
|
+
</Section>
|
|
466
|
+
|
|
467
|
+
<Section>
|
|
468
|
+
<div class="o-section-title">Paper</div>
|
|
469
|
+
<Select
|
|
470
|
+
selectedValue="printStore.pageLayout"
|
|
471
|
+
values="printStore.layoutOptions"
|
|
472
|
+
class="'o-print-layout'"
|
|
473
|
+
onChange.bind="this.onLayoutChange"
|
|
474
|
+
/>
|
|
475
|
+
</Section>
|
|
476
|
+
|
|
477
|
+
<Section>
|
|
478
|
+
<div class="o-section-title">Orientation</div>
|
|
479
|
+
<BadgeSelection
|
|
480
|
+
choices="printStore.orientationChoices"
|
|
481
|
+
onChange.bind="this.changeOrientation"
|
|
482
|
+
selectedValue="printStore.orientation"
|
|
483
|
+
/>
|
|
484
|
+
</Section>
|
|
485
|
+
|
|
486
|
+
<Section t-if="!this.env.isDashboard()">
|
|
487
|
+
<div class="o-section-title">Formatting</div>
|
|
488
|
+
<Checkbox
|
|
489
|
+
name="'showGridLines'"
|
|
490
|
+
value="!this.printStore.hideGridLines"
|
|
491
|
+
onChange.bind="this.setGridLinesVisibility"
|
|
492
|
+
className="'mt-2'"
|
|
493
|
+
label.translate="Show gridlines"
|
|
494
|
+
/>
|
|
495
|
+
</Section>
|
|
496
|
+
</div>
|
|
497
|
+
</div>
|
|
498
|
+
</div>
|
|
499
|
+
</div>
|
|
500
|
+
</t>
|
|
501
|
+
|
|
385
502
|
<t t-name="o-spreadsheet-Spreadsheet">
|
|
386
503
|
<div
|
|
387
504
|
class="o-spreadsheet h-100 w-100"
|
|
388
505
|
t-att-class="getSpreadSheetClasses()"
|
|
389
506
|
t-ref="spreadsheet"
|
|
390
507
|
t-att-style="getStyle()">
|
|
391
|
-
<t t-if="
|
|
508
|
+
<t t-if="state.printModeEnabled">
|
|
509
|
+
<SpreadsheetPrint onExitPrintMode.bind="exitPrintMode"/>
|
|
510
|
+
</t>
|
|
511
|
+
<t t-elif="env.isDashboard()">
|
|
392
512
|
<SpreadsheetDashboard getGridSize.bind="getGridSize"/>
|
|
393
513
|
<FullScreenFigure/>
|
|
394
514
|
</t>
|
|
@@ -452,7 +572,7 @@
|
|
|
452
572
|
t-as="symbol"
|
|
453
573
|
t-key="symbol_index"
|
|
454
574
|
class="o-spreadsheet-editor-symbol w-100 d-flex justify-content-center align-items-center mx-1"
|
|
455
|
-
t-
|
|
575
|
+
t-out="symbol"
|
|
456
576
|
tabindex="-1"
|
|
457
577
|
t-att-title="symbol"
|
|
458
578
|
t-on-click="() => this.insertSymbol(symbol)"
|
|
@@ -480,7 +600,7 @@
|
|
|
480
600
|
t-att-title="backTitle">
|
|
481
601
|
<i class="fa fa-angle-left"/>
|
|
482
602
|
</div>
|
|
483
|
-
<span class="d-flex align-items-center" t-
|
|
603
|
+
<span class="d-flex align-items-center" t-out="state.title"/>
|
|
484
604
|
</div>
|
|
485
605
|
<div
|
|
486
606
|
class="o-ribbon-menu-wrapper overflow-auto"
|
|
@@ -524,7 +644,7 @@
|
|
|
524
644
|
class="o-delete o-button-danger o-button">
|
|
525
645
|
Delete
|
|
526
646
|
</button>
|
|
527
|
-
<button t-on-click="onCancel" class="o-cancel o-button">
|
|
647
|
+
<button t-on-click="onCancel" class="o-cancel o-button">Discard</button>
|
|
528
648
|
<button t-on-click="onConfirm" class="o-confirm o-button primary">Confirm</button>
|
|
529
649
|
</div>
|
|
530
650
|
</Section>
|
|
@@ -616,9 +736,10 @@
|
|
|
616
736
|
<Checkbox
|
|
617
737
|
label="getCheckboxLabel('automaticAutofill')"
|
|
618
738
|
name="'automaticAutofill'"
|
|
619
|
-
value="tableConfig.automaticAutofill"
|
|
739
|
+
value="tableConfig.automaticAutofill and props.table.type !== 'dynamic'"
|
|
620
740
|
onChange="(val) => this.updateTableConfig('automaticAutofill', val)"
|
|
621
741
|
className="'mb-1'"
|
|
742
|
+
disabled="props.table.type === 'dynamic'"
|
|
622
743
|
/>
|
|
623
744
|
<div class="d-flex flex-row align-items-center">
|
|
624
745
|
<Checkbox
|
|
@@ -716,7 +837,7 @@
|
|
|
716
837
|
t-on-click="props.onToggleCollapsePanel">
|
|
717
838
|
<i class="fa fa-angle-double-right"/>
|
|
718
839
|
</div>
|
|
719
|
-
<div class="o-sidePanelTitle o-fw-bold ms-2" t-
|
|
840
|
+
<div class="o-sidePanelTitle o-fw-bold ms-2" t-out="getTitle()"/>
|
|
720
841
|
<div
|
|
721
842
|
t-if="props.isPinned"
|
|
722
843
|
class="o-pin-panel o-sidePanelAction ms-auto rounded active"
|
|
@@ -772,7 +893,7 @@
|
|
|
772
893
|
✕
|
|
773
894
|
</div>
|
|
774
895
|
|
|
775
|
-
<div class="o-sidePanelTitle o-fw-bold" t-
|
|
896
|
+
<div class="o-sidePanelTitle o-fw-bold" t-out="getTitle()"/>
|
|
776
897
|
</div>
|
|
777
898
|
</div>
|
|
778
899
|
</t>
|
|
@@ -788,19 +909,19 @@
|
|
|
788
909
|
<div class="o-locale-preview mt-4 p-3 rounded border">
|
|
789
910
|
<div>
|
|
790
911
|
<span class="o-fw-bold me-1">Number:</span>
|
|
791
|
-
<span t-
|
|
912
|
+
<span t-out="numberFormatPreview"/>
|
|
792
913
|
</div>
|
|
793
914
|
<div>
|
|
794
915
|
<span class="o-fw-bold me-1">Date:</span>
|
|
795
|
-
<span t-
|
|
916
|
+
<span t-out="dateFormatPreview"/>
|
|
796
917
|
</div>
|
|
797
918
|
<div>
|
|
798
919
|
<span class="o-fw-bold me-1">Date time:</span>
|
|
799
|
-
<span t-
|
|
920
|
+
<span t-out="dateTimeFormatPreview"/>
|
|
800
921
|
</div>
|
|
801
922
|
<div>
|
|
802
923
|
<span class="o-fw-bold me-1">First day of week:</span>
|
|
803
|
-
<span t-
|
|
924
|
+
<span t-out="firstDayOfWeek"/>
|
|
804
925
|
</div>
|
|
805
926
|
</div>
|
|
806
927
|
</Section>
|
|
@@ -898,15 +1019,15 @@
|
|
|
898
1019
|
</div>
|
|
899
1020
|
</div>
|
|
900
1021
|
|
|
901
|
-
<div class="o-panel-content overflow-
|
|
902
|
-
<div class="h-100" t-att-class="
|
|
1022
|
+
<div class="o-panel-content overflow-hidden h-100">
|
|
1023
|
+
<div class="h-100" t-att-class="state.panel !== 'configuration' ? 'd-none' : ''">
|
|
903
1024
|
<t
|
|
904
1025
|
t-component="sidePanelEditor"
|
|
905
1026
|
pivotId="props.pivotId"
|
|
906
1027
|
onCloseSidePanel="props.onCloseSidePanel"
|
|
907
1028
|
/>
|
|
908
1029
|
</div>
|
|
909
|
-
<div t-att-class="state.panel !== 'design' ? 'd-none' : ''">
|
|
1030
|
+
<div class="h-100" t-att-class="state.panel !== 'design' ? 'd-none' : ''">
|
|
910
1031
|
<PivotDesignPanel pivotId="props.pivotId"/>
|
|
911
1032
|
</div>
|
|
912
1033
|
</div>
|
|
@@ -933,7 +1054,7 @@
|
|
|
933
1054
|
<span
|
|
934
1055
|
class="text-danger sp_range_error_message"
|
|
935
1056
|
t-if="shouldDisplayInvalidRangeError"
|
|
936
|
-
t-
|
|
1057
|
+
t-out="pivot.invalidRangeMessage"
|
|
937
1058
|
/>
|
|
938
1059
|
</Section>
|
|
939
1060
|
|
|
@@ -963,105 +1084,117 @@
|
|
|
963
1084
|
</t>
|
|
964
1085
|
|
|
965
1086
|
<t t-name="o-spreadsheet-PivotDesignPanel">
|
|
966
|
-
<
|
|
967
|
-
<
|
|
968
|
-
<div
|
|
969
|
-
<div class="
|
|
970
|
-
<div class="
|
|
971
|
-
|
|
972
|
-
<
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
1087
|
+
<div class="h-100 overflow-y-auto">
|
|
1088
|
+
<Section class="'o-pivot-design'" title.translate="Display options">
|
|
1089
|
+
<div>
|
|
1090
|
+
<div class="container-fluid p-0 pt-2">
|
|
1091
|
+
<div class="row mb-2 align-items-center">
|
|
1092
|
+
<div class="col-6">Max rows:</div>
|
|
1093
|
+
<div class="col-6 d-flex align-items-center">
|
|
1094
|
+
<NumberInput
|
|
1095
|
+
value="pivotStyle.numberOfRows ?? ''"
|
|
1096
|
+
class="'o-pivot-n-of-rows'"
|
|
1097
|
+
placeholder.translate="e.g. 10"
|
|
1098
|
+
onChange="(value) => this.updatePivotStyleNumberProperty(value, 'numberOfRows')"
|
|
1099
|
+
/>
|
|
1100
|
+
</div>
|
|
978
1101
|
</div>
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
1102
|
+
<div class="row mb-2 align-items-center">
|
|
1103
|
+
<div class="col-6">Max columns:</div>
|
|
1104
|
+
<div class="col-6 d-flex align-items-center">
|
|
1105
|
+
<NumberInput
|
|
1106
|
+
value="pivotStyle.numberOfColumns ?? ''"
|
|
1107
|
+
class="'o-pivot-n-of-columns'"
|
|
1108
|
+
placeholder.translate="e.g. 5"
|
|
1109
|
+
onChange="(value) => this.updatePivotStyleNumberProperty(value, 'numberOfColumns')"
|
|
1110
|
+
/>
|
|
1111
|
+
</div>
|
|
989
1112
|
</div>
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
1113
|
+
<div class="row mb-2 align-items-center">
|
|
1114
|
+
<div class="col-6">Show totals:</div>
|
|
1115
|
+
<div class="col-6 d-flex align-items-center">
|
|
1116
|
+
<Checkbox
|
|
1117
|
+
name="'displayTotals'"
|
|
1118
|
+
value="pivotStyle.displayTotals ?? defaultStyle.displayTotals"
|
|
1119
|
+
onChange="(val) => this.updatePivotStyleProperty('displayTotals', val)"
|
|
1120
|
+
/>
|
|
1121
|
+
</div>
|
|
999
1122
|
</div>
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1123
|
+
<div class="row mb-2 align-items-center">
|
|
1124
|
+
<div class="col-6">Show column titles:</div>
|
|
1125
|
+
<div class="col-6 d-flex align-items-center">
|
|
1126
|
+
<Checkbox
|
|
1127
|
+
name="'displayColumnHeaders'"
|
|
1128
|
+
value="pivotStyle.displayColumnHeaders ?? defaultStyle.displayColumnHeaders"
|
|
1129
|
+
onChange="(val) => this.updatePivotStyleProperty('displayColumnHeaders', val)"
|
|
1130
|
+
/>
|
|
1131
|
+
</div>
|
|
1132
|
+
</div>
|
|
1133
|
+
<div class="row mb-2 align-items-center">
|
|
1134
|
+
<div class="col-6">Show measure titles:</div>
|
|
1135
|
+
<div class="col-6 d-flex align-items-center">
|
|
1136
|
+
<Checkbox
|
|
1137
|
+
name="'displayMeasuresRow'"
|
|
1138
|
+
value="pivotStyle.displayMeasuresRow ?? defaultStyle.displayMeasuresRow"
|
|
1139
|
+
onChange="(val) => this.updatePivotStyleProperty('displayMeasuresRow', val)"
|
|
1140
|
+
/>
|
|
1141
|
+
</div>
|
|
1009
1142
|
</div>
|
|
1010
1143
|
</div>
|
|
1011
1144
|
<div class="row mb-2 align-items-center">
|
|
1012
|
-
<div class="col-6">
|
|
1145
|
+
<div class="col-6">Use tabular form:</div>
|
|
1013
1146
|
<div class="col-6 d-flex align-items-center">
|
|
1014
1147
|
<Checkbox
|
|
1015
|
-
name="'
|
|
1016
|
-
value="pivotStyle.
|
|
1017
|
-
onChange="(val) => this.updatePivotStyleProperty('
|
|
1148
|
+
name="'tabularForm'"
|
|
1149
|
+
value="pivotStyle.tabularForm ?? defaultStyle.tabularForm"
|
|
1150
|
+
onChange="(val) => this.updatePivotStyleProperty('tabularForm', val)"
|
|
1018
1151
|
/>
|
|
1019
1152
|
</div>
|
|
1020
1153
|
</div>
|
|
1021
1154
|
</div>
|
|
1022
|
-
</
|
|
1023
|
-
</Section>
|
|
1155
|
+
</Section>
|
|
1024
1156
|
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1157
|
+
<Section class="'o-pivot-table-style'" title.translate="Pivot table style">
|
|
1158
|
+
<div class="row mb-2 align-items-center pt-2">
|
|
1159
|
+
<div class="col-6">Banded rows:</div>
|
|
1160
|
+
<div class="col-6 d-flex align-items-center">
|
|
1161
|
+
<Checkbox
|
|
1162
|
+
name="'bandedRows'"
|
|
1163
|
+
value="pivotStyle.bandedRows ?? defaultStyle.bandedRows"
|
|
1164
|
+
onChange="(val) => this.updatePivotStyleProperty('bandedRows', val)"
|
|
1165
|
+
/>
|
|
1166
|
+
</div>
|
|
1034
1167
|
</div>
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1168
|
+
<div class="row mb-2 align-items-center">
|
|
1169
|
+
<div class="col-6">Banded columns</div>
|
|
1170
|
+
<div class="col-6 d-flex align-items-center">
|
|
1171
|
+
<Checkbox
|
|
1172
|
+
name="'bandedColumns'"
|
|
1173
|
+
value="pivotStyle.bandedColumns ?? defaultStyle.bandedColumns"
|
|
1174
|
+
onChange="(val) => this.updatePivotStyleProperty('bandedColumns', val)"
|
|
1175
|
+
/>
|
|
1176
|
+
</div>
|
|
1044
1177
|
</div>
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1178
|
+
<div class="row mb-2 align-items-center">
|
|
1179
|
+
<div class="col-6">Filter button</div>
|
|
1180
|
+
<div class="col-6 d-flex align-items-center">
|
|
1181
|
+
<Checkbox
|
|
1182
|
+
name="'hasFilters'"
|
|
1183
|
+
value="pivotStyle.hasFilters ?? defaultStyle.hasFilters"
|
|
1184
|
+
onChange="(val) => this.updatePivotStyleProperty('hasFilters', val)"
|
|
1185
|
+
/>
|
|
1186
|
+
</div>
|
|
1187
|
+
</div>
|
|
1188
|
+
<div class="mt-4">
|
|
1189
|
+
<TableStylePicker
|
|
1190
|
+
tableConfig="tableConfig"
|
|
1191
|
+
onStylePicked.bind="onStylePicked"
|
|
1192
|
+
tableStyles="tableStyles"
|
|
1193
|
+
type="'pivot'"
|
|
1053
1194
|
/>
|
|
1054
1195
|
</div>
|
|
1055
|
-
</
|
|
1056
|
-
|
|
1057
|
-
<TableStylePicker
|
|
1058
|
-
tableConfig="tableConfig"
|
|
1059
|
-
onStylePicked.bind="onStylePicked"
|
|
1060
|
-
tableStyles="tableStyles"
|
|
1061
|
-
type="'pivot'"
|
|
1062
|
-
/>
|
|
1063
|
-
</div>
|
|
1064
|
-
</Section>
|
|
1196
|
+
</Section>
|
|
1197
|
+
</div>
|
|
1065
1198
|
</t>
|
|
1066
1199
|
|
|
1067
1200
|
<t t-name="o-spreadsheet-PivotMeasureDisplayPanel">
|
|
@@ -1074,7 +1207,7 @@
|
|
|
1074
1207
|
/>
|
|
1075
1208
|
<div
|
|
1076
1209
|
class="o-pivot-measure-display-description mt-3 ps-3 border-start"
|
|
1077
|
-
t-
|
|
1210
|
+
t-out="measureDisplayDescription[store.measureDisplay.type]"
|
|
1078
1211
|
/>
|
|
1079
1212
|
</Section>
|
|
1080
1213
|
|
|
@@ -1110,7 +1243,7 @@
|
|
|
1110
1243
|
|
|
1111
1244
|
<Section>
|
|
1112
1245
|
<div class="o-sidePanelButtons">
|
|
1113
|
-
<button t-on-click="onCancel" class="o-pivot-measure-cancel o-button">
|
|
1246
|
+
<button t-on-click="onCancel" class="o-pivot-measure-cancel o-button">Discard</button>
|
|
1114
1247
|
<button t-on-click="onSave" class="o-pivot-measure-save o-button primary">Save</button>
|
|
1115
1248
|
</div>
|
|
1116
1249
|
</Section>
|
|
@@ -1237,15 +1370,15 @@
|
|
|
1237
1370
|
<t t-name="o-spreadsheet-PivotSortSection">
|
|
1238
1371
|
<Section t-if="hasValidSort" class="'o-pivot-sort'">
|
|
1239
1372
|
<t t-set-slot="title">Sorting</t>
|
|
1240
|
-
<div t-
|
|
1373
|
+
<div t-out="sortDescription" class="pb-2"/>
|
|
1241
1374
|
<div class="d-flex flex-column gap-2">
|
|
1242
1375
|
<t t-foreach="sortValuesAndFields" t-as="valueAndField" t-key="valueAndField_index">
|
|
1243
1376
|
<div class="o-sort-card d-flex gap-1 px-2 border">
|
|
1244
1377
|
<t t-if="valueAndField.field">
|
|
1245
|
-
<span class="fw-bolder" t-
|
|
1378
|
+
<span class="fw-bolder" t-out="valueAndField.field"/>
|
|
1246
1379
|
=
|
|
1247
1380
|
</t>
|
|
1248
|
-
<span class="fw-bolder o-sort-value" t-
|
|
1381
|
+
<span class="fw-bolder o-sort-value" t-out="valueAndField.value"/>
|
|
1249
1382
|
</div>
|
|
1250
1383
|
</t>
|
|
1251
1384
|
</div>
|
|
@@ -1293,6 +1426,11 @@
|
|
|
1293
1426
|
/>
|
|
1294
1427
|
</div>
|
|
1295
1428
|
</div>
|
|
1429
|
+
<div class="d-flex flex-row">
|
|
1430
|
+
<div class="d-flex py-1 px-2 w-100 small text-muted o-measure-description">
|
|
1431
|
+
<i t-out="getMeasureDescription(measure)"/>
|
|
1432
|
+
</div>
|
|
1433
|
+
</div>
|
|
1296
1434
|
</PivotDimension>
|
|
1297
1435
|
</t>
|
|
1298
1436
|
|
|
@@ -1330,7 +1468,9 @@
|
|
|
1330
1468
|
class="py-1 px-2 d-flex flex-column shadow-sm pivot-dimension border rounded"
|
|
1331
1469
|
t-att-class="{'pivot-dimension-invalid': !props.dimension.isValid}">
|
|
1332
1470
|
<div class="d-flex flex-row justify-content-between align-items-center">
|
|
1333
|
-
<div
|
|
1471
|
+
<div
|
|
1472
|
+
class="d-flex align-items-center overflow-hidden text-nowrap"
|
|
1473
|
+
t-att-title="props.dimension.displayName">
|
|
1334
1474
|
<span class="text-danger me-1" t-if="!props.dimension.isValid">
|
|
1335
1475
|
<t t-call="o-spreadsheet-Icon.TRIANGLE_EXCLAMATION"/>
|
|
1336
1476
|
</span>
|
|
@@ -1341,7 +1481,7 @@
|
|
|
1341
1481
|
class="'o-fw-bold'"
|
|
1342
1482
|
selectContentOnFocus="true"
|
|
1343
1483
|
/>
|
|
1344
|
-
<span t-else="1" class="o-fw-bold" t-
|
|
1484
|
+
<span t-else="1" class="o-fw-bold text-truncate" t-out="dimensionDisplayName"/>
|
|
1345
1485
|
</div>
|
|
1346
1486
|
<div class="d-flex flex-rows" t-on-pointerdown.stop="">
|
|
1347
1487
|
<t t-slot="upper-right-icons"/>
|
|
@@ -1358,9 +1498,8 @@
|
|
|
1358
1498
|
|
|
1359
1499
|
<t t-name="o-spreadsheet-AddDimensionButton">
|
|
1360
1500
|
<button class="add-dimension o-button" t-on-click="togglePopover" t-ref="button">Add</button>
|
|
1361
|
-
<Popover t-if="popover.isOpen" t-props="popoverProps">
|
|
1362
|
-
<div
|
|
1363
|
-
class="p-2 bg-white border-bottom d-flex sticky-top align-items-baseline pivot-dimension-search bg-white">
|
|
1501
|
+
<Popover t-if="popover.isOpen" t-props="popoverProps" class="'o-pivot-add-dimension-popover'">
|
|
1502
|
+
<div class="p-2 border-bottom d-flex sticky-top align-items-baseline pivot-dimension-search">
|
|
1364
1503
|
<i class="pe-1 pivot-dimension-search-field-icon text-muted">
|
|
1365
1504
|
<t t-call="o-spreadsheet-Icon.SEARCH"/>
|
|
1366
1505
|
</i>
|
|
@@ -1443,6 +1582,55 @@
|
|
|
1443
1582
|
</SidePanelCollapsible>
|
|
1444
1583
|
</t>
|
|
1445
1584
|
|
|
1585
|
+
<t t-name="o-spreadsheet-NamedRangesPanel">
|
|
1586
|
+
<div class="o-named-ranges">
|
|
1587
|
+
<div class="o-named-range-list">
|
|
1588
|
+
<t t-foreach="namedRanges" t-as="namedRange" t-key="namedRange_index">
|
|
1589
|
+
<NamedRangePreview namedRange="namedRange"/>
|
|
1590
|
+
</t>
|
|
1591
|
+
</div>
|
|
1592
|
+
<div class="o-named-range-add o-button-link p-4 float-end" t-on-click="addNewNamedRange">
|
|
1593
|
+
+ Add a new named range
|
|
1594
|
+
</div>
|
|
1595
|
+
</div>
|
|
1596
|
+
</t>
|
|
1597
|
+
|
|
1598
|
+
<t t-name="o-spreadsheet-NamedRangePreview">
|
|
1599
|
+
<t>
|
|
1600
|
+
<div
|
|
1601
|
+
class="o-named-range-preview p-3 pb-1 border-bottom"
|
|
1602
|
+
t-att-class="{
|
|
1603
|
+
'o-focused': state.isSelectionInputFocused
|
|
1604
|
+
}"
|
|
1605
|
+
t-ref="namedRangePreview">
|
|
1606
|
+
<div class="d-flex justify-content-between">
|
|
1607
|
+
<div class="o-named-range-container w-100 d-flex flex-column">
|
|
1608
|
+
<TextInput
|
|
1609
|
+
class="'o-fw-bold'"
|
|
1610
|
+
value="props.namedRange.name"
|
|
1611
|
+
onChange.bind="updateNamedRangeName"
|
|
1612
|
+
selectContentOnFocus="true"
|
|
1613
|
+
/>
|
|
1614
|
+
<SelectionInput
|
|
1615
|
+
ranges="[rangeString]"
|
|
1616
|
+
hasSingleRange="true"
|
|
1617
|
+
required="true"
|
|
1618
|
+
onSelectionChanged.bind="onSelectionInputChanged"
|
|
1619
|
+
onSelectionConfirmed.bind="onSelectionInputConfirmed"
|
|
1620
|
+
onInputFocused.bind="onSelectionInputFocused"
|
|
1621
|
+
/>
|
|
1622
|
+
</div>
|
|
1623
|
+
<div
|
|
1624
|
+
class="o-named-range-edit d-none align-items-center o-button-icon px-3"
|
|
1625
|
+
title="Delete named range"
|
|
1626
|
+
t-on-click.stop="deleteNamedRange">
|
|
1627
|
+
<t t-call="o-spreadsheet-Icon.TRASH_FILLED"/>
|
|
1628
|
+
</div>
|
|
1629
|
+
</div>
|
|
1630
|
+
</div>
|
|
1631
|
+
</t>
|
|
1632
|
+
</t>
|
|
1633
|
+
|
|
1446
1634
|
<t t-name="o-spreadsheet-MoreFormatsPanel">
|
|
1447
1635
|
<div class="o-more-formats-panel">
|
|
1448
1636
|
<Section title.translate="Format type">
|
|
@@ -1482,8 +1670,8 @@
|
|
|
1482
1670
|
<table class="w-100">
|
|
1483
1671
|
<t t-foreach="examples" t-as="example" t-key="example_index">
|
|
1484
1672
|
<tr>
|
|
1485
|
-
<td class="w-25 pe-3 o-fw-bold" t-
|
|
1486
|
-
<td class="w-75 text-truncate" t-
|
|
1673
|
+
<td class="w-25 pe-3 o-fw-bold" t-out="example.label"/>
|
|
1674
|
+
<td class="w-75 text-truncate" t-out="example.value"/>
|
|
1487
1675
|
</tr>
|
|
1488
1676
|
</t>
|
|
1489
1677
|
</table>
|
|
@@ -1532,7 +1720,7 @@
|
|
|
1532
1720
|
</t>
|
|
1533
1721
|
|
|
1534
1722
|
<t t-name="o-spreadsheet-FindAndReplacePanel">
|
|
1535
|
-
<div class="o-find-and-replace">
|
|
1723
|
+
<div class="o-find-and-replace" t-on-keydown="onKeydownPanel">
|
|
1536
1724
|
<Section title.translate="Search">
|
|
1537
1725
|
<div class="o-input-search-container">
|
|
1538
1726
|
<input
|
|
@@ -1545,9 +1733,9 @@
|
|
|
1545
1733
|
placeholder="e.g. 'search me'"
|
|
1546
1734
|
/>
|
|
1547
1735
|
<div class="o-input-count" t-if="hasSearchResult">
|
|
1548
|
-
<t t-
|
|
1736
|
+
<t t-out="store.selectedMatchIndex+1"/>
|
|
1549
1737
|
/
|
|
1550
|
-
<t t-
|
|
1738
|
+
<t t-out="store.searchMatches.length"/>
|
|
1551
1739
|
</div>
|
|
1552
1740
|
<div t-elif="!this.pendingSearch and store.toSearch !== ''" class="o-input-count">
|
|
1553
1741
|
0 / 0
|
|
@@ -1608,33 +1796,35 @@
|
|
|
1608
1796
|
<ValidationMessages msgType="'info'" messages="searchInfo" singleBox="true"/>
|
|
1609
1797
|
</div>
|
|
1610
1798
|
</Section>
|
|
1611
|
-
<
|
|
1612
|
-
<
|
|
1613
|
-
<input
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
<
|
|
1624
|
-
<
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1799
|
+
<t t-if="!env.model.getters.isReadonly()">
|
|
1800
|
+
<Section class="'pt-0'" title.translate="Replace">
|
|
1801
|
+
<div class="o-input-search-container">
|
|
1802
|
+
<input
|
|
1803
|
+
type="text"
|
|
1804
|
+
class="o-input o-input-without-count o-replace"
|
|
1805
|
+
t-on-keydown="onKeydownReplace"
|
|
1806
|
+
t-model="store.toReplace"
|
|
1807
|
+
placeholder="e.g. 'replace me'"
|
|
1808
|
+
/>
|
|
1809
|
+
</div>
|
|
1810
|
+
</Section>
|
|
1811
|
+
<Section>
|
|
1812
|
+
<div class="o-sidePanelButtons">
|
|
1813
|
+
<button
|
|
1814
|
+
t-att-disabled="store.selectedMatchIndex === null"
|
|
1815
|
+
t-on-click="() => store.replace()"
|
|
1816
|
+
class="o-button o-replace">
|
|
1817
|
+
Replace
|
|
1818
|
+
</button>
|
|
1819
|
+
<button
|
|
1820
|
+
t-att-disabled="store.selectedMatchIndex === null"
|
|
1821
|
+
t-on-click="() => store.replaceAll()"
|
|
1822
|
+
class="o-button o-replace-all">
|
|
1823
|
+
Replace all
|
|
1824
|
+
</button>
|
|
1825
|
+
</div>
|
|
1826
|
+
</Section>
|
|
1827
|
+
</t>
|
|
1638
1828
|
</div>
|
|
1639
1829
|
</t>
|
|
1640
1830
|
|
|
@@ -1655,8 +1845,8 @@
|
|
|
1655
1845
|
t-on-click="onPreviewClick"
|
|
1656
1846
|
t-ref="dvPreview">
|
|
1657
1847
|
<div>
|
|
1658
|
-
<div class="o-dv-preview-description o-fw-bold text-truncate" t-
|
|
1659
|
-
<div class="o-dv-preview-ranges text-truncate" t-
|
|
1848
|
+
<div class="o-dv-preview-description o-fw-bold text-truncate" t-out="descriptionString"/>
|
|
1849
|
+
<div class="o-dv-preview-ranges text-truncate" t-out="rangesString"/>
|
|
1660
1850
|
</div>
|
|
1661
1851
|
<div
|
|
1662
1852
|
class="o-dv-delete-button d-flex align-items-center o-button-icon px-3"
|
|
@@ -1706,7 +1896,7 @@
|
|
|
1706
1896
|
|
|
1707
1897
|
<Section>
|
|
1708
1898
|
<div class="o-sidePanelButtons">
|
|
1709
|
-
<button t-on-click="onCancel" class="o-dv-cancel o-button">
|
|
1899
|
+
<button t-on-click="onCancel" class="o-dv-cancel o-button">Discard</button>
|
|
1710
1900
|
<button t-on-click="onSave" class="o-dv-save o-button primary">Save</button>
|
|
1711
1901
|
</div>
|
|
1712
1902
|
</Section>
|
|
@@ -1746,26 +1936,26 @@
|
|
|
1746
1936
|
</t>
|
|
1747
1937
|
|
|
1748
1938
|
<t t-name="o-spreadsheet-ListCriterionForm">
|
|
1749
|
-
<t t-foreach="
|
|
1939
|
+
<t t-foreach="this.state.items" t-as="item" t-key="item_index">
|
|
1750
1940
|
<div class="o-dv-list-values d-flex align-items-center">
|
|
1751
1941
|
<div class="me-1">
|
|
1752
1942
|
<RoundColorPicker
|
|
1753
|
-
currentColor="
|
|
1754
|
-
onColorPicked="(c) => this.onColorChanged(
|
|
1943
|
+
currentColor="item.color || '#E7E9ED'"
|
|
1944
|
+
onColorPicked="(c) => this.onColorChanged(item_index, c)"
|
|
1755
1945
|
/>
|
|
1756
1946
|
</div>
|
|
1757
1947
|
<CriterionInput
|
|
1758
|
-
value="
|
|
1759
|
-
onValueChanged="(v) => this.onValueChanged(
|
|
1948
|
+
value="item.value"
|
|
1949
|
+
onValueChanged="(v) => this.onValueChanged(item_index, v)"
|
|
1760
1950
|
criterionType="props.criterion.type"
|
|
1761
|
-
onKeyDown="(ev) => this.onKeyDown(ev,
|
|
1762
|
-
focused="
|
|
1951
|
+
onKeyDown="(ev) => this.onKeyDown(ev, item_index)"
|
|
1952
|
+
focused="item_index === this.state.focusedValueIndex"
|
|
1763
1953
|
onBlur.bind="onBlurInput"
|
|
1764
1954
|
disableFormulas="props.disableFormulas"
|
|
1765
1955
|
/>
|
|
1766
1956
|
<div
|
|
1767
1957
|
class="o-dv-list-item-delete ms-2 o-button-icon"
|
|
1768
|
-
t-on-click="() => this.removeItem(
|
|
1958
|
+
t-on-click="() => this.removeItem(item_index)">
|
|
1769
1959
|
<t t-call="o-spreadsheet-Icon.TRASH_FILLED"/>
|
|
1770
1960
|
</div>
|
|
1771
1961
|
</div>
|
|
@@ -1933,10 +2123,10 @@
|
|
|
1933
2123
|
<div class="o-cf-preview-description me-3 overflow-auto">
|
|
1934
2124
|
<div class="o-cf-preview-ruletype">
|
|
1935
2125
|
<div class="o-cf-preview-description-rule o-fw-bold text-truncate">
|
|
1936
|
-
<t t-
|
|
2126
|
+
<t t-out="description"/>
|
|
1937
2127
|
</div>
|
|
1938
2128
|
</div>
|
|
1939
|
-
<div class="o-cf-preview-range text-truncate" t-
|
|
2129
|
+
<div class="o-cf-preview-range text-truncate" t-out="cf.ranges.join()"/>
|
|
1940
2130
|
</div>
|
|
1941
2131
|
<div class="o-cf-delete ms-auto">
|
|
1942
2132
|
<div
|
|
@@ -1949,129 +2139,155 @@
|
|
|
1949
2139
|
</div>
|
|
1950
2140
|
</t>
|
|
1951
2141
|
|
|
1952
|
-
<t t-name="o-spreadsheet-
|
|
1953
|
-
<div class="
|
|
1954
|
-
<div class="
|
|
1955
|
-
|
|
1956
|
-
<div
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
<
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
<t t-call="o-spreadsheet-Icon.{{icons[iconSets[iconSet].neutral].template}}"/>
|
|
1967
|
-
</div>
|
|
1968
|
-
<div>
|
|
1969
|
-
<t t-call="o-spreadsheet-Icon.{{icons[iconSets[iconSet].bad].template}}"/>
|
|
2142
|
+
<t t-name="o-spreadsheet-IconSetRuleEditor">
|
|
2143
|
+
<div class="o-cf-iconset-rule">
|
|
2144
|
+
<div class="pb-2">
|
|
2145
|
+
<div class="o-section-subtitle">Icons</div>
|
|
2146
|
+
<div class="o-cf-iconsets d-flex flex-row">
|
|
2147
|
+
<div
|
|
2148
|
+
class="o-cf-iconset o-cf-clickable-icon d-flex flex-row justify-content-between border rounded"
|
|
2149
|
+
t-foreach="['arrows', 'smiley', 'dots']"
|
|
2150
|
+
t-as="iconSet"
|
|
2151
|
+
t-key="iconSet"
|
|
2152
|
+
t-on-click="() => this.props.store.setIconSet(iconSet)">
|
|
2153
|
+
<div t-foreach="['good', 'neutral', 'bad']" t-as="iconType" t-key="iconType">
|
|
2154
|
+
<t t-call="{{this.getIconTemplate(this.getIconName(iconSet, iconType))}}"/>
|
|
2155
|
+
</div>
|
|
1970
2156
|
</div>
|
|
1971
2157
|
</div>
|
|
1972
2158
|
</div>
|
|
1973
|
-
|
|
1974
|
-
|
|
2159
|
+
<div class="o-inflection mt-4">
|
|
2160
|
+
<table class="w-100">
|
|
2161
|
+
<tr>
|
|
2162
|
+
<th class="o-cf-iconset-icons"/>
|
|
2163
|
+
<th class="o-cf-iconset-text"/>
|
|
2164
|
+
<th class="o-cf-iconset-operator"/>
|
|
2165
|
+
<th/>
|
|
2166
|
+
<th class="o-cf-iconset-type"/>
|
|
2167
|
+
</tr>
|
|
1975
2168
|
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
</div>
|
|
1984
|
-
<IconPicker
|
|
1985
|
-
t-if="store.state.openedMenu === 'iconSet-'+icon+'Icon'"
|
|
1986
|
-
onIconPicked="(i) => store.setIcon(icon, i)"
|
|
1987
|
-
/>
|
|
1988
|
-
</td>
|
|
1989
|
-
<td>When value is</td>
|
|
1990
|
-
<td>
|
|
1991
|
-
<Select
|
|
1992
|
-
selectedValue="inflectionPointValue.operator"
|
|
1993
|
-
name="'valueType'"
|
|
1994
|
-
values="getIconSetOperatorSelectOptions()"
|
|
1995
|
-
onChange.bind="(value) => store.setInflectionOperator(inflectionPoint, value)"
|
|
1996
|
-
/>
|
|
1997
|
-
</td>
|
|
1998
|
-
<td>
|
|
1999
|
-
<div class="ms-2 me-2">
|
|
2000
|
-
<input
|
|
2001
|
-
type="text"
|
|
2002
|
-
t-if="inflectionPointValue.type !== 'formula'"
|
|
2003
|
-
class="o-input"
|
|
2004
|
-
t-att-class="{ 'o-invalid': isInflectionPointInvalid(inflectionPoint) }"
|
|
2005
|
-
t-att-value="rule[inflectionPoint].value"
|
|
2006
|
-
t-on-change="(ev) => store.setInflectionValue(inflectionPoint, ev.target.value)"
|
|
2007
|
-
/>
|
|
2008
|
-
<StandaloneComposer t-else="" t-props="getColorIconSetComposerProps(inflectionPoint)"/>
|
|
2009
|
-
</div>
|
|
2010
|
-
</td>
|
|
2011
|
-
<td>
|
|
2012
|
-
<Select
|
|
2013
|
-
selectedValue="inflectionPointValue.type"
|
|
2014
|
-
popoverClass="'o-icon-set-type-select-dropdown'"
|
|
2015
|
-
name="'valueType'"
|
|
2016
|
-
values="getThresholdTypeSelectOptions('iconSet')"
|
|
2017
|
-
onChange.bind="(value) => store.setInflectionType(inflectionPoint, value)"
|
|
2018
|
-
/>
|
|
2019
|
-
</td>
|
|
2020
|
-
</tr>
|
|
2021
|
-
</t>
|
|
2022
|
-
|
|
2023
|
-
<t t-name="o-spreadsheet-IconSetInflexionPoints">
|
|
2024
|
-
<div class="o-inflection mt-4">
|
|
2025
|
-
<table class="w-100">
|
|
2026
|
-
<tr>
|
|
2027
|
-
<th class="o-cf-iconset-icons"/>
|
|
2028
|
-
<th class="o-cf-iconset-text"/>
|
|
2029
|
-
<th class="o-cf-iconset-operator"/>
|
|
2030
|
-
<th/>
|
|
2031
|
-
<th class="o-cf-iconset-type"/>
|
|
2032
|
-
</tr>
|
|
2033
|
-
<t t-call="o-spreadsheet-IconSetInflexionPointRow">
|
|
2034
|
-
<t t-set="iconValue" t-value="rule.icons.upper"/>
|
|
2035
|
-
<t t-set="icon" t-value="'upper'"/>
|
|
2036
|
-
<t t-set="inflectionPointValue" t-value="rule.upperInflectionPoint"/>
|
|
2037
|
-
<t t-set="inflectionPoint" t-value="'upperInflectionPoint'"/>
|
|
2038
|
-
</t>
|
|
2039
|
-
<t t-call="o-spreadsheet-IconSetInflexionPointRow">
|
|
2040
|
-
<t t-set="iconValue" t-value="rule.icons.middle"/>
|
|
2041
|
-
<t t-set="icon" t-value="'middle'"/>
|
|
2042
|
-
<t t-set="inflectionPointValue" t-value="rule.lowerInflectionPoint"/>
|
|
2043
|
-
<t t-set="inflectionPoint" t-value="'lowerInflectionPoint'"/>
|
|
2044
|
-
</t>
|
|
2045
|
-
<tr>
|
|
2046
|
-
<td>
|
|
2047
|
-
<div t-on-click.stop="() => store.toggleMenu('iconSet-lowerIcon')">
|
|
2048
|
-
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2049
|
-
<t t-call="o-spreadsheet-Icon.{{icons[rule.icons.lower].template}}"/>
|
|
2169
|
+
<!-- Upper -->
|
|
2170
|
+
<tr>
|
|
2171
|
+
<td>
|
|
2172
|
+
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-upperIcon')">
|
|
2173
|
+
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2174
|
+
<t t-call="{{this.getIconTemplate(this.rule.icons.upper)}}"/>
|
|
2175
|
+
</div>
|
|
2050
2176
|
</div>
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2177
|
+
<IconPicker
|
|
2178
|
+
t-if="this.props.store.state.openedMenu === 'iconSet-upperIcon'"
|
|
2179
|
+
onIconPicked="(i) => this.props.store.setIcon(('upper'), i)"
|
|
2180
|
+
/>
|
|
2181
|
+
</td>
|
|
2182
|
+
<td>When value is</td>
|
|
2183
|
+
<td>
|
|
2184
|
+
<Select
|
|
2185
|
+
selectedValue="this.rule.upperInflectionPoint.operator"
|
|
2186
|
+
name="'valueType'"
|
|
2187
|
+
values="this.getIconSetOperatorSelectOptions()"
|
|
2188
|
+
onChange.bind="(value) => this.props.store.setInflectionOperator('upperInflectionPoint', value)"
|
|
2189
|
+
/>
|
|
2190
|
+
</td>
|
|
2191
|
+
<td>
|
|
2192
|
+
<div class="ms-2 me-2">
|
|
2193
|
+
<input
|
|
2194
|
+
type="text"
|
|
2195
|
+
t-if="this.rule.upperInflectionPoint.type !== 'formula'"
|
|
2196
|
+
class="o-input"
|
|
2197
|
+
t-att-class="{ 'o-invalid': this.isInflectionPointInvalid('upperInflectionPoint') }"
|
|
2198
|
+
t-att-value="this.rule['upperInflectionPoint'].value"
|
|
2199
|
+
t-on-change="(ev) => this.props.store.setInflectionValue('upperInflectionPoint', ev.target.value)"
|
|
2200
|
+
/>
|
|
2201
|
+
<StandaloneComposer
|
|
2202
|
+
t-else=""
|
|
2203
|
+
t-props="this.getColorIconSetComposerProps('upperInflectionPoint')"
|
|
2204
|
+
/>
|
|
2205
|
+
</div>
|
|
2206
|
+
</td>
|
|
2207
|
+
<td>
|
|
2208
|
+
<Select
|
|
2209
|
+
selectedValue="this.rule.upperInflectionPoint.type"
|
|
2210
|
+
popoverClass="'o-icon-set-type-select-dropdown'"
|
|
2211
|
+
name="'valueType'"
|
|
2212
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2213
|
+
onChange.bind="(value) => this.props.store.setInflectionType('upperInflectionPoint', value)"
|
|
2214
|
+
/>
|
|
2215
|
+
</td>
|
|
2216
|
+
</tr>
|
|
2217
|
+
|
|
2218
|
+
<!-- Middle -->
|
|
2219
|
+
<tr>
|
|
2220
|
+
<td>
|
|
2221
|
+
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-middleIcon')">
|
|
2222
|
+
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2223
|
+
<t t-call="{{this.getIconTemplate(this.rule.icons.middle)}}"/>
|
|
2224
|
+
</div>
|
|
2225
|
+
</div>
|
|
2226
|
+
<IconPicker
|
|
2227
|
+
t-if="this.props.store.state.openedMenu === 'iconSet-middleIcon'"
|
|
2228
|
+
onIconPicked="(i) => this.props.store.setIcon('middle', i)"
|
|
2229
|
+
/>
|
|
2230
|
+
</td>
|
|
2231
|
+
<td>When value is</td>
|
|
2232
|
+
<td>
|
|
2233
|
+
<Select
|
|
2234
|
+
selectedValue="this.rule.lowerInflectionPoint.operator"
|
|
2235
|
+
name="'valueType'"
|
|
2236
|
+
values="this.getIconSetOperatorSelectOptions()"
|
|
2237
|
+
onChange.bind="(value) => this.props.store.setInflectionOperator('lowerInflectionPoint', value)"
|
|
2238
|
+
/>
|
|
2239
|
+
</td>
|
|
2240
|
+
<td>
|
|
2241
|
+
<div class="ms-2 me-2">
|
|
2242
|
+
<input
|
|
2243
|
+
type="text"
|
|
2244
|
+
t-if="this.rule.lowerInflectionPoint.type !== 'formula'"
|
|
2245
|
+
class="o-input"
|
|
2246
|
+
t-att-class="{ 'o-invalid': this.isInflectionPointInvalid('lowerInflectionPoint') }"
|
|
2247
|
+
t-att-value="this.rule['lowerInflectionPoint'].value"
|
|
2248
|
+
t-on-change="(ev) => this.props.store.setInflectionValue('lowerInflectionPoint', ev.target.value)"
|
|
2249
|
+
/>
|
|
2250
|
+
<StandaloneComposer
|
|
2251
|
+
t-else=""
|
|
2252
|
+
t-props="this.getColorIconSetComposerProps('lowerInflectionPoint')"
|
|
2253
|
+
/>
|
|
2254
|
+
</div>
|
|
2255
|
+
</td>
|
|
2256
|
+
<td>
|
|
2257
|
+
<Select
|
|
2258
|
+
selectedValue="this.rule.lowerInflectionPoint.type"
|
|
2259
|
+
popoverClass="'o-icon-set-type-select-dropdown'"
|
|
2260
|
+
name="'valueType'"
|
|
2261
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2262
|
+
onChange.bind="(value) => this.props.store.setInflectionType('lowerInflectionPoint', value)"
|
|
2263
|
+
/>
|
|
2264
|
+
</td>
|
|
2265
|
+
</tr>
|
|
2266
|
+
|
|
2267
|
+
<!-- Lower -->
|
|
2268
|
+
<tr>
|
|
2269
|
+
<td>
|
|
2270
|
+
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-lowerIcon')">
|
|
2271
|
+
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2272
|
+
<t t-call="{{this.getIconTemplate(this.rule.icons.lower)}}"/>
|
|
2273
|
+
</div>
|
|
2274
|
+
</div>
|
|
2275
|
+
<IconPicker
|
|
2276
|
+
t-if="this.props.store.state.openedMenu === 'iconSet-lowerIcon'"
|
|
2277
|
+
onIconPicked="(icon) => this.props.store.setIcon('lower', icon)"
|
|
2278
|
+
/>
|
|
2279
|
+
</td>
|
|
2280
|
+
<td>Else</td>
|
|
2281
|
+
<td/>
|
|
2282
|
+
<td/>
|
|
2283
|
+
<td/>
|
|
2284
|
+
</tr>
|
|
2285
|
+
</table>
|
|
2286
|
+
</div>
|
|
2071
2287
|
<div class="d-flex flex-row">
|
|
2072
2288
|
<div
|
|
2073
2289
|
class="o-button-link py-1 ps-0 o-cf-iconset-reverse d-flex align-items-center"
|
|
2074
|
-
t-on-click="() => store.reverseIcons()">
|
|
2290
|
+
t-on-click="() => this.props.store.reverseIcons()">
|
|
2075
2291
|
<t t-call="o-spreadsheet-Icon.REFRESH"/>
|
|
2076
2292
|
<div class="ms-1">Reverse icons</div>
|
|
2077
2293
|
</div>
|
|
@@ -2079,65 +2295,64 @@
|
|
|
2079
2295
|
</div>
|
|
2080
2296
|
</t>
|
|
2081
2297
|
|
|
2082
|
-
<t t-name="o-spreadsheet-
|
|
2298
|
+
<t t-name="o-spreadsheet-DataBarRuleEditor">
|
|
2083
2299
|
<div class="o-cf-data-bar-editor">
|
|
2084
2300
|
<div class="o-section-subtitle">Color</div>
|
|
2085
2301
|
<RoundColorPicker
|
|
2086
|
-
currentColor="colorNumberToHex(rule.color)"
|
|
2087
|
-
onColorPicked="(color) => store.updateDataBarColor(color)"
|
|
2302
|
+
currentColor="this.colorNumberToHex(this.rule.color)"
|
|
2303
|
+
onColorPicked="(color) => this.props.store.updateDataBarColor(color)"
|
|
2088
2304
|
disableNoColor="true"
|
|
2089
2305
|
/>
|
|
2090
2306
|
<div class="o-section-subtitle">Range of values</div>
|
|
2091
2307
|
<SelectionInput
|
|
2092
|
-
ranges="store.rangeValues"
|
|
2308
|
+
ranges="this.props.store.rangeValues"
|
|
2093
2309
|
class="'o-range'"
|
|
2094
2310
|
isInvalid="false"
|
|
2095
2311
|
hasSingleRange="true"
|
|
2096
|
-
onSelectionChanged="(ranges) => store.onDataBarRangeUpdate(ranges)"
|
|
2097
|
-
onSelectionConfirmed="() => store.onDataBarRangeChange()"
|
|
2312
|
+
onSelectionChanged="(ranges) => this.props.store.onDataBarRangeUpdate(ranges)"
|
|
2313
|
+
onSelectionConfirmed="() => this.props.store.onDataBarRangeChange()"
|
|
2098
2314
|
required="false"
|
|
2099
2315
|
/>
|
|
2100
2316
|
</div>
|
|
2101
2317
|
</t>
|
|
2102
2318
|
|
|
2103
2319
|
<t t-name="o-spreadsheet-ColorScaleRuleEditorThreshold">
|
|
2104
|
-
<t t-set="fill_color">Fill Color</t>
|
|
2105
2320
|
<div
|
|
2106
|
-
t-attf-class="o-threshold o-threshold-{{thresholdType}} d-flex align-items-center flex-row">
|
|
2107
|
-
<t t-if="thresholdType === 'midpoint'">
|
|
2321
|
+
t-attf-class="o-threshold o-threshold-{{this.props.thresholdType}} d-flex align-items-center flex-row">
|
|
2322
|
+
<t t-if="this.props.thresholdType === 'midpoint'">
|
|
2108
2323
|
<Select
|
|
2109
|
-
selectedValue="threshold?.type || 'none'"
|
|
2110
|
-
class="'me-2' + (threshold and threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2324
|
+
selectedValue="this.threshold?.type || 'none'"
|
|
2325
|
+
class="'me-2' + (this.threshold and this.threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2111
2326
|
name="'valueType'"
|
|
2112
|
-
values="getThresholdTypeSelectOptions(
|
|
2113
|
-
onChange.bind="(value) => store.onMidpointChange(value)"
|
|
2327
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2328
|
+
onChange.bind="(value) => this.props.store.onMidpointChange(value)"
|
|
2114
2329
|
/>
|
|
2115
2330
|
</t>
|
|
2116
2331
|
<t t-else="">
|
|
2117
2332
|
<Select
|
|
2118
|
-
selectedValue="threshold?.type || 'none'"
|
|
2119
|
-
class="'me-2' + (threshold and threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2333
|
+
selectedValue="this.threshold?.type || 'none'"
|
|
2334
|
+
class="'me-2' + (this.threshold and this.threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2120
2335
|
name="'valueType'"
|
|
2121
|
-
values="getThresholdTypeSelectOptions(
|
|
2122
|
-
onChange.bind="(value) => store.updateThresholdType(thresholdType, value)"
|
|
2336
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2337
|
+
onChange.bind="(value) => this.props.store.updateThresholdType(this.props.thresholdType, value)"
|
|
2123
2338
|
/>
|
|
2124
2339
|
</t>
|
|
2125
|
-
<div class="o-threshold-value me-2" t-if="threshold and threshold.type !== 'value'">
|
|
2340
|
+
<div class="o-threshold-value me-2" t-if="this.threshold and this.threshold.type !== 'value'">
|
|
2126
2341
|
<input
|
|
2127
|
-
t-if="threshold.type !== 'formula'"
|
|
2342
|
+
t-if="this.threshold.type !== 'formula'"
|
|
2128
2343
|
type="text"
|
|
2129
2344
|
class="o-input"
|
|
2130
|
-
t-att-value="threshold.value"
|
|
2131
|
-
t-on-change="(ev) => store.updateThresholdValue(thresholdType, ev.target.value)"
|
|
2132
|
-
t-att-class="{ 'o-invalid': isValueInvalid(
|
|
2345
|
+
t-att-value="this.threshold.value"
|
|
2346
|
+
t-on-change="(ev) => this.props.store.updateThresholdValue(this.props.thresholdType, ev.target.value)"
|
|
2347
|
+
t-att-class="{ 'o-invalid': this.isValueInvalid(), 'invisible': this.threshold === undefined }"
|
|
2133
2348
|
/>
|
|
2134
|
-
<StandaloneComposer t-else="" t-props="getColorScaleComposerProps(
|
|
2349
|
+
<StandaloneComposer t-else="" t-props="this.getColorScaleComposerProps()"/>
|
|
2135
2350
|
</div>
|
|
2136
|
-
<div t-attf-class="flex-shrink-0 ms-1 {{ threshold === undefined ? 'invisible' : ''}}">
|
|
2351
|
+
<div t-attf-class="flex-shrink-0 ms-1 {{ this.threshold === undefined ? 'invisible' : ''}}">
|
|
2137
2352
|
<RoundColorPicker
|
|
2138
|
-
currentColor="getThresholdColor(threshold)"
|
|
2139
|
-
onColorPicked="(color) => store.setColorScaleColor(thresholdType, color)"
|
|
2140
|
-
title="
|
|
2353
|
+
currentColor="this.getThresholdColor(this.threshold)"
|
|
2354
|
+
onColorPicked="(color) => this.props.store.setColorScaleColor(this.props.thresholdType, color)"
|
|
2355
|
+
title.translate="Fill Color"
|
|
2141
2356
|
disableNoColor="true"
|
|
2142
2357
|
/>
|
|
2143
2358
|
</div>
|
|
@@ -2147,38 +2362,28 @@
|
|
|
2147
2362
|
<t t-name="o-spreadsheet-ColorScaleRuleEditor">
|
|
2148
2363
|
<div class="o-cf-color-scale-editor">
|
|
2149
2364
|
<div class="o-section-subtitle">Preview</div>
|
|
2150
|
-
<div class="o-cf-preview-display mb-4" t-attf-style="{{store.previewGradient}}">
|
|
2365
|
+
<div class="o-cf-preview-display mb-4" t-attf-style="{{this.props.store.previewGradient}}">
|
|
2151
2366
|
Preview text
|
|
2152
2367
|
</div>
|
|
2153
2368
|
<div class="o-section-subtitle">Minpoint</div>
|
|
2154
|
-
<
|
|
2155
|
-
<t t-set="threshold" t-value="rule.minimum"/>
|
|
2156
|
-
<t t-set="thresholdType" t-value="'minimum'"/>
|
|
2157
|
-
</t>
|
|
2369
|
+
<ColorScaleRuleEditorThreshold store="this.props.store" thresholdType="'minimum'"/>
|
|
2158
2370
|
<div class="o-section-subtitle">MidPoint</div>
|
|
2159
|
-
<
|
|
2160
|
-
<t t-set="threshold" t-value="rule.midpoint"/>
|
|
2161
|
-
<t t-set="thresholdType" t-value="'midpoint'"/>
|
|
2162
|
-
</t>
|
|
2371
|
+
<ColorScaleRuleEditorThreshold store="this.props.store" thresholdType="'midpoint'"/>
|
|
2163
2372
|
<div class="o-section-subtitle">MaxPoint</div>
|
|
2164
|
-
<
|
|
2165
|
-
<t t-set="threshold" t-value="rule.maximum"/>
|
|
2166
|
-
<t t-set="thresholdType" t-value="'maximum'"/>
|
|
2167
|
-
</t>
|
|
2373
|
+
<ColorScaleRuleEditorThreshold store="this.props.store" thresholdType="'maximum'"/>
|
|
2168
2374
|
</div>
|
|
2169
2375
|
</t>
|
|
2170
2376
|
|
|
2171
2377
|
<t t-name="o-spreadsheet-ConditionalFormattingEditor">
|
|
2172
2378
|
<div class="o-cf-editor">
|
|
2173
|
-
<t t-set="state" t-value="store.state"/>
|
|
2174
2379
|
<Section class="'o-cf-range pb-0'" title.translate="Apply to range">
|
|
2175
2380
|
<div class="o-selection-cf">
|
|
2176
2381
|
<SelectionInput
|
|
2177
|
-
ranges="state.ranges"
|
|
2382
|
+
ranges="this.store.state.ranges"
|
|
2178
2383
|
class="'o-range'"
|
|
2179
|
-
isInvalid="store.isRangeValid"
|
|
2180
|
-
onSelectionChanged="(ranges) => store.onRangeUpdate(ranges)"
|
|
2181
|
-
onSelectionConfirmed="() => store.onRangeConfirmed()"
|
|
2384
|
+
isInvalid="this.store.isRangeValid"
|
|
2385
|
+
onSelectionChanged="(ranges) => this.store.onRangeUpdate(ranges)"
|
|
2386
|
+
onSelectionConfirmed="() => this.store.onRangeConfirmed()"
|
|
2182
2387
|
required="true"
|
|
2183
2388
|
/>
|
|
2184
2389
|
</div>
|
|
@@ -2186,130 +2391,123 @@
|
|
|
2186
2391
|
<Section class="'pb-0'" title.translate="Format rules">
|
|
2187
2392
|
<div class="o-cf-type-selector">
|
|
2188
2393
|
<BadgeSelection
|
|
2189
|
-
choices="cfTypesValues"
|
|
2190
|
-
onChange="(ruleType) => store.changeRuleType(ruleType)"
|
|
2191
|
-
selectedValue="state.currentCFType"
|
|
2394
|
+
choices="this.cfTypesValues"
|
|
2395
|
+
onChange="(ruleType) => this.store.changeRuleType(ruleType)"
|
|
2396
|
+
selectedValue="this.store.state.currentCFType"
|
|
2192
2397
|
/>
|
|
2193
2398
|
</div>
|
|
2194
2399
|
</Section>
|
|
2195
2400
|
<Section>
|
|
2196
|
-
<
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
t-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
<
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2401
|
+
<CellIsRuleEditor
|
|
2402
|
+
t-if="this.store.state.currentCFType === 'CellIsRule'"
|
|
2403
|
+
store="this.store"
|
|
2404
|
+
/>
|
|
2405
|
+
<ColorScaleRuleEditor
|
|
2406
|
+
t-if="this.store.state.currentCFType === 'ColorScaleRule'"
|
|
2407
|
+
store="this.store"
|
|
2408
|
+
/>
|
|
2409
|
+
<IconSetRuleEditor
|
|
2410
|
+
t-if="this.store.state.currentCFType === 'IconSetRule'"
|
|
2411
|
+
store="this.store"
|
|
2412
|
+
/>
|
|
2413
|
+
<DataBarRuleEditor
|
|
2414
|
+
t-if="this.store.state.currentCFType === 'DataBarRule'"
|
|
2415
|
+
store="this.store"
|
|
2416
|
+
/>
|
|
2210
2417
|
</Section>
|
|
2211
2418
|
<Section class="'pt-1'">
|
|
2212
2419
|
<div class="o-sidePanelButtons">
|
|
2213
|
-
<button t-on-click="onCancel" class="o-button o-cf-cancel">
|
|
2420
|
+
<button t-on-click="this.onCancel" class="o-button o-cf-cancel">Discard</button>
|
|
2214
2421
|
<button
|
|
2215
|
-
t-on-click="onSave"
|
|
2422
|
+
t-on-click="this.onSave"
|
|
2216
2423
|
class="o-button primary o-cf-save"
|
|
2217
|
-
t-att-disabled="state.errors.length !== 0">
|
|
2424
|
+
t-att-disabled="this.store.state.errors.length !== 0">
|
|
2218
2425
|
Save
|
|
2219
2426
|
</button>
|
|
2220
2427
|
</div>
|
|
2221
2428
|
</Section>
|
|
2222
2429
|
<Section>
|
|
2223
|
-
<ValidationMessages messages="store.errorMessages" msgType="'error'"/>
|
|
2430
|
+
<ValidationMessages messages="this.store.errorMessages" msgType="'error'"/>
|
|
2224
2431
|
</Section>
|
|
2225
2432
|
</div>
|
|
2226
2433
|
</t>
|
|
2227
2434
|
|
|
2228
|
-
<t t-name="o-spreadsheet-CellIsRuleEditorPreview">
|
|
2229
|
-
<div
|
|
2230
|
-
class="o-cf-preview-display border"
|
|
2231
|
-
t-attf-style="font-weight:{{currentStyle.bold ?'bold':'normal'}};
|
|
2232
|
-
text-decoration:{{getTextDecoration(currentStyle)}};
|
|
2233
|
-
font-style:{{currentStyle.italic?'italic':'normal'}};
|
|
2234
|
-
color:{{currentStyle.textColor || '#000'}};
|
|
2235
|
-
background-color:{{currentStyle.fillColor}};">
|
|
2236
|
-
<t t-if="previewText" t-esc="previewText"/>
|
|
2237
|
-
<t t-else="">Preview text</t>
|
|
2238
|
-
</div>
|
|
2239
|
-
</t>
|
|
2240
|
-
|
|
2241
2435
|
<t t-name="o-spreadsheet-CellIsRuleEditor">
|
|
2242
|
-
<t t-set="fill_color">Fill Color</t>
|
|
2243
|
-
<t t-set="text_color">Text Color</t>
|
|
2244
|
-
<t t-set="state" t-value="store.state"/>
|
|
2245
2436
|
<div class="o-cf-cell-is-rule">
|
|
2246
2437
|
<div class="o-section-subtitle">Format cells if...</div>
|
|
2247
2438
|
<Select
|
|
2248
2439
|
class="'o-cell-is-operator mb-2'"
|
|
2249
|
-
values="store.cfCriterions"
|
|
2250
|
-
selectedValue="
|
|
2251
|
-
onChange="(operator) => store.editOperator(operator)"
|
|
2440
|
+
values="this.props.store.cfCriterions"
|
|
2441
|
+
selectedValue="this.rule.operator"
|
|
2442
|
+
onChange="(operator) => this.props.store.editOperator(operator)"
|
|
2252
2443
|
/>
|
|
2253
2444
|
|
|
2254
2445
|
<t
|
|
2255
|
-
t-if="store.criterionComponent"
|
|
2256
|
-
t-component="store.criterionComponent"
|
|
2257
|
-
t-key="
|
|
2258
|
-
criterion="store.genericCriterion"
|
|
2259
|
-
onCriterionChanged="(rule) => store.onRuleValuesChanged(rule)"
|
|
2260
|
-
autofocus="store.state.hasEditedCf"
|
|
2446
|
+
t-if="this.props.store.criterionComponent"
|
|
2447
|
+
t-component="this.props.store.criterionComponent"
|
|
2448
|
+
t-key="this.rule.operator"
|
|
2449
|
+
criterion="this.props.store.genericCriterion"
|
|
2450
|
+
onCriterionChanged="(rule) => this.props.store.onRuleValuesChanged(rule)"
|
|
2451
|
+
autofocus="this.props.store.state.hasEditedCf"
|
|
2261
2452
|
/>
|
|
2262
2453
|
|
|
2263
2454
|
<div class="o-section-subtitle pt-3">Formatting style</div>
|
|
2264
2455
|
|
|
2265
|
-
<
|
|
2266
|
-
|
|
2267
|
-
|
|
2456
|
+
<div
|
|
2457
|
+
class="o-cf-preview-display border"
|
|
2458
|
+
t-attf-style="font-weight:{{this.rule.style.bold ?'bold':'normal'}};
|
|
2459
|
+
text-decoration:{{this.getTextDecoration(this.rule.style)}};
|
|
2460
|
+
font-style:{{this.rule.style.italic?'italic':'normal'}};
|
|
2461
|
+
color:{{this.rule.style.textColor || '#000'}};
|
|
2462
|
+
background-color:{{this.rule.style.fillColor}};">
|
|
2463
|
+
<t t-if="previewText" t-out="previewText"/>
|
|
2464
|
+
<t t-else="">Preview text</t>
|
|
2465
|
+
</div>
|
|
2268
2466
|
<div class="o-sidePanel-tools d-flex">
|
|
2269
2467
|
<div
|
|
2270
2468
|
class="o-hoverable-button o-menu-item-button"
|
|
2271
2469
|
title="Bold"
|
|
2272
|
-
t-att-class="{active:rule.style.bold}"
|
|
2273
|
-
t-on-click="() => store.toggleStyle('bold')">
|
|
2470
|
+
t-att-class="{active:this.rule.style.bold}"
|
|
2471
|
+
t-on-click="() => this.props.store.toggleStyle('bold')">
|
|
2274
2472
|
<t t-call="o-spreadsheet-Icon.BOLD"/>
|
|
2275
2473
|
</div>
|
|
2276
2474
|
<div
|
|
2277
2475
|
class="o-hoverable-button o-menu-item-button"
|
|
2278
2476
|
title="Italic"
|
|
2279
|
-
t-att-class="{active:rule.style.italic}"
|
|
2280
|
-
t-on-click="() => store.toggleStyle('italic')">
|
|
2477
|
+
t-att-class="{active:this.rule.style.italic}"
|
|
2478
|
+
t-on-click="() => this.props.store.toggleStyle('italic')">
|
|
2281
2479
|
<t t-call="o-spreadsheet-Icon.ITALIC"/>
|
|
2282
2480
|
</div>
|
|
2283
2481
|
<div
|
|
2284
2482
|
class="o-hoverable-button o-menu-item-button"
|
|
2285
2483
|
title="Underline"
|
|
2286
|
-
t-att-class="{active:rule.style.underline}"
|
|
2287
|
-
t-on-click="(ev) => store.toggleStyle('underline', ev)">
|
|
2484
|
+
t-att-class="{active:this.rule.style.underline}"
|
|
2485
|
+
t-on-click="(ev) => this.props.store.toggleStyle('underline', ev)">
|
|
2288
2486
|
<t t-call="o-spreadsheet-Icon.UNDERLINE"/>
|
|
2289
2487
|
</div>
|
|
2290
2488
|
<div
|
|
2291
2489
|
class="o-hoverable-button o-menu-item-button"
|
|
2292
2490
|
title="Strikethrough"
|
|
2293
|
-
t-att-class="{active:rule.style.strikethrough}"
|
|
2294
|
-
t-on-click="(ev) => store.toggleStyle('strikethrough', ev)">
|
|
2491
|
+
t-att-class="{active:this.rule.style.strikethrough}"
|
|
2492
|
+
t-on-click="(ev) => this.props.store.toggleStyle('strikethrough', ev)">
|
|
2295
2493
|
<t t-call="o-spreadsheet-Icon.STRIKE"/>
|
|
2296
2494
|
</div>
|
|
2297
2495
|
<ColorPickerWidget
|
|
2298
|
-
currentColor="rule.style.textColor || '#000000'"
|
|
2299
|
-
toggleColorPicker="() => store.toggleMenu('cellIsRule-textColor')"
|
|
2300
|
-
showColorPicker="state.openedMenu === 'cellIsRule-textColor'"
|
|
2301
|
-
onColorPicked="(color) => store.setColor('textColor', color)"
|
|
2302
|
-
title="
|
|
2496
|
+
currentColor="this.rule.style.textColor || '#000000'"
|
|
2497
|
+
toggleColorPicker="() => this.props.store.toggleMenu('cellIsRule-textColor')"
|
|
2498
|
+
showColorPicker="this.props.store.state.openedMenu === 'cellIsRule-textColor'"
|
|
2499
|
+
onColorPicked="(color) => this.props.store.setColor('textColor', color)"
|
|
2500
|
+
title.translate="Text Color"
|
|
2303
2501
|
icon="'o-spreadsheet-Icon.TEXT_COLOR'"
|
|
2304
2502
|
class="'o-hoverable-button o-menu-item-button'"
|
|
2305
2503
|
/>
|
|
2306
2504
|
<div class="o-divider border-end"/>
|
|
2307
2505
|
<ColorPickerWidget
|
|
2308
|
-
currentColor="rule.style.fillColor"
|
|
2309
|
-
toggleColorPicker="() => store.toggleMenu('cellIsRule-fillColor')"
|
|
2310
|
-
showColorPicker="state.openedMenu === 'cellIsRule-fillColor'"
|
|
2311
|
-
onColorPicked="(color) => store.setColor('fillColor', color)"
|
|
2312
|
-
title="
|
|
2506
|
+
currentColor="this.rule.style.fillColor"
|
|
2507
|
+
toggleColorPicker="() => this.props.store.toggleMenu('cellIsRule-fillColor')"
|
|
2508
|
+
showColorPicker="this.props.store.state.openedMenu === 'cellIsRule-fillColor'"
|
|
2509
|
+
onColorPicked="(color) => this.props.store.setColor('fillColor', color)"
|
|
2510
|
+
title.translate="Fill Color"
|
|
2313
2511
|
icon="'o-spreadsheet-Icon.FILL_COLOR'"
|
|
2314
2512
|
class="'o-hoverable-button o-menu-item-button'"
|
|
2315
2513
|
/>
|
|
@@ -2321,7 +2519,7 @@
|
|
|
2321
2519
|
<div class="o-section" t-att-class="props.class">
|
|
2322
2520
|
<t t-if="props.slots.title or props.title">
|
|
2323
2521
|
<div class="o-section-title">
|
|
2324
|
-
<t t-
|
|
2522
|
+
<t t-out="props.title"/>
|
|
2325
2523
|
<t t-slot="title"/>
|
|
2326
2524
|
</div>
|
|
2327
2525
|
</t>
|
|
@@ -2365,7 +2563,7 @@
|
|
|
2365
2563
|
t-att-checked="choice.value === props.selectedValue"
|
|
2366
2564
|
t-on-change="() => props.onChange(choice.value)"
|
|
2367
2565
|
/>
|
|
2368
|
-
<t t-
|
|
2566
|
+
<t t-out="choice.label"/>
|
|
2369
2567
|
</label>
|
|
2370
2568
|
</t>
|
|
2371
2569
|
</div>
|
|
@@ -2382,7 +2580,7 @@
|
|
|
2382
2580
|
<span class="collapsor-arrow">
|
|
2383
2581
|
<t t-call="o-spreadsheet-Icon.ANGLE_DOWN"/>
|
|
2384
2582
|
</span>
|
|
2385
|
-
<div class="ps-2" t-
|
|
2583
|
+
<div class="ps-2" t-out="props.title"/>
|
|
2386
2584
|
</div>
|
|
2387
2585
|
</div>
|
|
2388
2586
|
<Collapse isCollapsed="state.isCollapsed">
|
|
@@ -2431,7 +2629,7 @@
|
|
|
2431
2629
|
t-on-change="onChange"
|
|
2432
2630
|
t-on-click.stop=""
|
|
2433
2631
|
/>
|
|
2434
|
-
<span class="text-truncate" t-if="props.label" t-
|
|
2632
|
+
<span class="text-truncate" t-if="props.label" t-out="props.label"/>
|
|
2435
2633
|
</label>
|
|
2436
2634
|
</t>
|
|
2437
2635
|
|
|
@@ -2440,11 +2638,105 @@
|
|
|
2440
2638
|
<t t-foreach="props.choices" t-as="choice" t-key="choice.value">
|
|
2441
2639
|
<button
|
|
2442
2640
|
class="flex-grow-1 o-button"
|
|
2443
|
-
t-esc="choice.label"
|
|
2444
2641
|
t-att-class="{ 'selected': props.selectedValue === choice.value }"
|
|
2445
2642
|
t-on-click="() => props.onChange(choice.value)"
|
|
2446
|
-
t-att-data-id="choice.value"
|
|
2447
|
-
|
|
2643
|
+
t-att-data-id="choice.value">
|
|
2644
|
+
<t t-if="choice.icon" t-call="{{choice.icon}}"/>
|
|
2645
|
+
<t t-out="choice.label"/>
|
|
2646
|
+
</button>
|
|
2647
|
+
</t>
|
|
2648
|
+
</div>
|
|
2649
|
+
</t>
|
|
2650
|
+
|
|
2651
|
+
<t t-name="o-spreadsheet-ColumnStatsPanel">
|
|
2652
|
+
<div class="o-column-stats-panel">
|
|
2653
|
+
<t t-if="store.hasSingleColumn">
|
|
2654
|
+
<Section>
|
|
2655
|
+
<div class="d-flex justify-content-between align-items-center o-panel-header mb-1">
|
|
2656
|
+
<span class="o-fw-bold w-100 o-column-stats-title" t-out="columnLabel"/>
|
|
2657
|
+
<span
|
|
2658
|
+
class="p-1 o-row-switcher"
|
|
2659
|
+
data-test-id="previous-column-button"
|
|
2660
|
+
title="Switch to previous column"
|
|
2661
|
+
t-on-click="store.selectPreviousColumn">
|
|
2662
|
+
<t t-call="o-spreadsheet-Icon.ANGLE_LEFT"/>
|
|
2663
|
+
</span>
|
|
2664
|
+
<span
|
|
2665
|
+
class="p-1 o-row-switcher"
|
|
2666
|
+
title="Switch to next column"
|
|
2667
|
+
data-test-id="next-column-button"
|
|
2668
|
+
t-on-click="store.selectNextColumn">
|
|
2669
|
+
<t t-call="o-spreadsheet-Icon.ANGLE_RIGHT"/>
|
|
2670
|
+
</span>
|
|
2671
|
+
</div>
|
|
2672
|
+
<div class="mt-3">
|
|
2673
|
+
<div class="o-sidePanel-label mb-1">Rows to ignore</div>
|
|
2674
|
+
<NumberInput
|
|
2675
|
+
value="store.ignoredRows"
|
|
2676
|
+
class="'o-ignored-rows-input'"
|
|
2677
|
+
min="0"
|
|
2678
|
+
onChange.bind="updateIgnoredRows"
|
|
2679
|
+
/>
|
|
2680
|
+
</div>
|
|
2681
|
+
</Section>
|
|
2682
|
+
<SidePanelCollapsible title.translate="Data visualization" isInitiallyCollapsed="false">
|
|
2683
|
+
<t t-set-slot="content">
|
|
2684
|
+
<Section class="'pt-0'">
|
|
2685
|
+
<BadgeSelection
|
|
2686
|
+
choices="charts"
|
|
2687
|
+
onChange.bind="switchChart"
|
|
2688
|
+
selectedValue="state.currentChart"
|
|
2689
|
+
/>
|
|
2690
|
+
<t t-if="shouldShowChart">
|
|
2691
|
+
<div class="o-column-stats-chart mx-2 mt-2">
|
|
2692
|
+
<canvas class="w-100 h-100" t-ref="columnStatsChart"/>
|
|
2693
|
+
</div>
|
|
2694
|
+
</t>
|
|
2695
|
+
<t t-else="">
|
|
2696
|
+
<div class="o-column-stats-no-data text-muted mt-4" t-out="chartErrorMessage"/>
|
|
2697
|
+
</t>
|
|
2698
|
+
</Section>
|
|
2699
|
+
</t>
|
|
2700
|
+
</SidePanelCollapsible>
|
|
2701
|
+
<SidePanelCollapsible title.translate="General statistics" isInitiallyCollapsed="false">
|
|
2702
|
+
<t t-set-slot="content">
|
|
2703
|
+
<Section class="'o-column-global-stats d-flex flex-column gap-2 pt-0'">
|
|
2704
|
+
<t t-foreach="store.statItems" t-as="stat" t-key="stat.name">
|
|
2705
|
+
<div class="o-column-stats-row d-flex justify-content-between">
|
|
2706
|
+
<span class="text-muted" t-out="stat.name"/>
|
|
2707
|
+
<span class="o-fw-bold" t-att-data-test-id="stat.name" t-out="stat.value"/>
|
|
2708
|
+
</div>
|
|
2709
|
+
</t>
|
|
2710
|
+
</Section>
|
|
2711
|
+
</t>
|
|
2712
|
+
</SidePanelCollapsible>
|
|
2713
|
+
<SidePanelCollapsible title.translate="Frequency" isInitiallyCollapsed="true">
|
|
2714
|
+
<t t-set-slot="content">
|
|
2715
|
+
<div class="mx-4 mb-2">
|
|
2716
|
+
<BadgeSelection
|
|
2717
|
+
choices="frequencyOrders"
|
|
2718
|
+
onChange.bind="switchFrequencyOrder"
|
|
2719
|
+
selectedValue="state.currentFrequencyOrder"
|
|
2720
|
+
/>
|
|
2721
|
+
</div>
|
|
2722
|
+
<div class="o-column-global-stats d-flex flex-column mx-4 mb-2">
|
|
2723
|
+
<t t-foreach="valueFrequencies" t-as="value" t-key="value.value">
|
|
2724
|
+
<div
|
|
2725
|
+
class="o-column-stats-row o-column-frequencies-row d-flex justify-content-between"
|
|
2726
|
+
t-on-mouseenter="() => this.highlightFrequencyPositions(value.positions)"
|
|
2727
|
+
t-on-mouseleave="() => this.clearHighlights()">
|
|
2728
|
+
<span class="frequency-label text-muted" t-out="value.value"/>
|
|
2729
|
+
<span class="frequency-value o-fw-bold" t-out="value.count"/>
|
|
2730
|
+
</div>
|
|
2731
|
+
</t>
|
|
2732
|
+
</div>
|
|
2733
|
+
</t>
|
|
2734
|
+
</SidePanelCollapsible>
|
|
2735
|
+
</t>
|
|
2736
|
+
<t t-else="">
|
|
2737
|
+
<div class="o-column-stats-empty text-muted p-4">
|
|
2738
|
+
Select a single column to view statistics.
|
|
2739
|
+
</div>
|
|
2448
2740
|
</t>
|
|
2449
2741
|
</div>
|
|
2450
2742
|
</t>
|
|
@@ -2689,8 +2981,8 @@
|
|
|
2689
2981
|
onColorPicked="(color) => this.onGroupColorChanged(group_index, color)"
|
|
2690
2982
|
/>
|
|
2691
2983
|
<span class="ps-2">
|
|
2692
|
-
<span t-
|
|
2693
|
-
<span class="text-muted" t-
|
|
2984
|
+
<span t-out="'(#' + (group_index +1 ) + ')'" class="o-text-bolder pe-1"/>
|
|
2985
|
+
<span class="text-muted" t-out="group.label"/>
|
|
2694
2986
|
</span>
|
|
2695
2987
|
</div>
|
|
2696
2988
|
</t>
|
|
@@ -2725,8 +3017,8 @@
|
|
|
2725
3017
|
onColorPicked="(color) => this.onGroupColorChanged(item_index, color)"
|
|
2726
3018
|
/>
|
|
2727
3019
|
<span class="ps-2">
|
|
2728
|
-
<span t-
|
|
2729
|
-
<span class="text-muted" t-
|
|
3020
|
+
<span t-out="'(#' + (item_index +1 ) + ')'" class="o-text-bolder pe-1"/>
|
|
3021
|
+
<span class="text-muted" t-out="item.label"/>
|
|
2730
3022
|
</span>
|
|
2731
3023
|
</div>
|
|
2732
3024
|
</t>
|
|
@@ -2843,22 +3135,13 @@
|
|
|
2843
3135
|
|
|
2844
3136
|
<t t-name="o-spreadsheet-ScatterConfigPanel">
|
|
2845
3137
|
<div>
|
|
2846
|
-
<
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
datasetOrientation="datasetOrientation"
|
|
2854
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
2855
|
-
/>
|
|
2856
|
-
<ChartLabelRange
|
|
2857
|
-
range="this.getLabelRange()"
|
|
2858
|
-
isInvalid="isLabelInvalid"
|
|
2859
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
2860
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
2861
|
-
options="this.getLabelRangeOptions()"
|
|
3138
|
+
<ChartDataSourceComponent
|
|
3139
|
+
chartId="props.chartId"
|
|
3140
|
+
definition="props.definition"
|
|
3141
|
+
updateChart="props.updateChart"
|
|
3142
|
+
canUpdateChart="props.canUpdateChart"
|
|
3143
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3144
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
2862
3145
|
/>
|
|
2863
3146
|
|
|
2864
3147
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -2884,7 +3167,7 @@
|
|
|
2884
3167
|
<t t-name="o-spreadsheet-PieChartDesignPanel">
|
|
2885
3168
|
<GeneralDesignEditor t-props="props">
|
|
2886
3169
|
<t t-set-slot="general-extension">
|
|
2887
|
-
<ChartLegend t-props="props"/>
|
|
3170
|
+
<ChartLegend t-props="props" isDisabled="isLegendDisabled"/>
|
|
2888
3171
|
<Section class="'pt-0'" title.translate="Values">
|
|
2889
3172
|
<ChartShowValues t-props="props"/>
|
|
2890
3173
|
</Section>
|
|
@@ -2898,6 +3181,25 @@
|
|
|
2898
3181
|
/>
|
|
2899
3182
|
</t>
|
|
2900
3183
|
</GeneralDesignEditor>
|
|
3184
|
+
|
|
3185
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Pie Slice">
|
|
3186
|
+
<t t-set-slot="content">
|
|
3187
|
+
<Section class="'py-0'">
|
|
3188
|
+
<Select
|
|
3189
|
+
class="'o-pie-slice-selector'"
|
|
3190
|
+
selectedValue="state.index.toString()"
|
|
3191
|
+
values="pieSliceOptions"
|
|
3192
|
+
onChange="(value) => this.updateEditedValues(value)"
|
|
3193
|
+
/>
|
|
3194
|
+
</Section>
|
|
3195
|
+
<Section class="'py-4'">
|
|
3196
|
+
<div class="d-flex align-items-center">
|
|
3197
|
+
<span class="o-section-title mb-0 pe-2">Series color</span>
|
|
3198
|
+
<RoundColorPicker currentColor="sliceColor" onColorPicked.bind="updateSliceColor"/>
|
|
3199
|
+
</div>
|
|
3200
|
+
</Section>
|
|
3201
|
+
</t>
|
|
3202
|
+
</SidePanelCollapsible>
|
|
2901
3203
|
</t>
|
|
2902
3204
|
|
|
2903
3205
|
<t t-name="o-spreadsheet-ChartPanel">
|
|
@@ -2920,27 +3222,31 @@
|
|
|
2920
3222
|
</div>
|
|
2921
3223
|
|
|
2922
3224
|
<t t-set="definition" t-value="getChartDefinition(this.chartId)"/>
|
|
2923
|
-
<div class="o-panel-content
|
|
2924
|
-
<div t-att-class="store.panel !== 'configuration' ? 'd-none' : ''">
|
|
2925
|
-
<
|
|
2926
|
-
|
|
2927
|
-
t
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
3225
|
+
<div class="o-panel-content h-100 overflow-y-hidden">
|
|
3226
|
+
<div class="h-100" t-att-class="store.panel !== 'configuration' ? 'd-none' : ''">
|
|
3227
|
+
<div class="h-100 overflow-y-auto">
|
|
3228
|
+
<ChartTypePicker chartId="chartId" chartPanelStore="store"/>
|
|
3229
|
+
<t
|
|
3230
|
+
t-component="chartPanel.configuration"
|
|
3231
|
+
definition="definition"
|
|
3232
|
+
chartId="chartId"
|
|
3233
|
+
updateChart.bind="updateChart"
|
|
3234
|
+
canUpdateChart.bind="canUpdateChart"
|
|
3235
|
+
t-key="chartId + definition.type"
|
|
3236
|
+
/>
|
|
3237
|
+
</div>
|
|
2934
3238
|
</div>
|
|
2935
|
-
<div t-att-class="store.panel !== 'design' ? 'd-none' : ''">
|
|
2936
|
-
<
|
|
2937
|
-
t
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
3239
|
+
<div class="h-100" t-att-class="store.panel !== 'design' ? 'd-none' : ''">
|
|
3240
|
+
<div class="h-100 overflow-y-auto">
|
|
3241
|
+
<t
|
|
3242
|
+
t-component="chartPanel.design"
|
|
3243
|
+
definition="definition"
|
|
3244
|
+
chartId="chartId"
|
|
3245
|
+
updateChart.bind="updateChart"
|
|
3246
|
+
canUpdateChart.bind="canUpdateChart"
|
|
3247
|
+
t-key="chartId + definition.type"
|
|
3248
|
+
/>
|
|
3249
|
+
</div>
|
|
2944
3250
|
</div>
|
|
2945
3251
|
</div>
|
|
2946
3252
|
</div>
|
|
@@ -2998,22 +3304,13 @@
|
|
|
2998
3304
|
onChange.bind="onUpdateCumulative"
|
|
2999
3305
|
/>
|
|
3000
3306
|
</Section>
|
|
3001
|
-
<
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
datasetOrientation="datasetOrientation"
|
|
3009
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
3010
|
-
/>
|
|
3011
|
-
<ChartLabelRange
|
|
3012
|
-
range="this.getLabelRange()"
|
|
3013
|
-
isInvalid="isLabelInvalid"
|
|
3014
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
3015
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
3016
|
-
options="this.getLabelRangeOptions()"
|
|
3307
|
+
<ChartDataSourceComponent
|
|
3308
|
+
chartId="props.chartId"
|
|
3309
|
+
definition="props.definition"
|
|
3310
|
+
updateChart="props.updateChart"
|
|
3311
|
+
canUpdateChart="props.canUpdateChart"
|
|
3312
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3313
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
3017
3314
|
/>
|
|
3018
3315
|
|
|
3019
3316
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -3022,21 +3319,15 @@
|
|
|
3022
3319
|
|
|
3023
3320
|
<t t-name="o-spreadsheet-HierarchicalChartConfigPanel">
|
|
3024
3321
|
<div>
|
|
3025
|
-
<
|
|
3026
|
-
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
range="this.getLabelRange()"
|
|
3035
|
-
isInvalid="isLabelInvalid"
|
|
3036
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
3037
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
3038
|
-
options="this.getLabelRangeOptions()"
|
|
3039
|
-
title.translate="Values"
|
|
3322
|
+
<ChartDataSourceComponent
|
|
3323
|
+
chartId="props.chartId"
|
|
3324
|
+
definition="props.definition"
|
|
3325
|
+
updateChart="props.updateChart"
|
|
3326
|
+
canUpdateChart="props.canUpdateChart"
|
|
3327
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3328
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
3329
|
+
dataSeriesTitle.translate="Hierarchy"
|
|
3330
|
+
labelRangeTitle.translate="Values"
|
|
3040
3331
|
/>
|
|
3041
3332
|
|
|
3042
3333
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -3095,24 +3386,14 @@
|
|
|
3095
3386
|
updateChart="props.updateChart"
|
|
3096
3387
|
/>
|
|
3097
3388
|
|
|
3098
|
-
<
|
|
3099
|
-
|
|
3100
|
-
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
datasetOrientation="datasetOrientation"
|
|
3107
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
3108
|
-
/>
|
|
3109
|
-
<ChartLabelRange
|
|
3110
|
-
range="this.getLabelRange()"
|
|
3111
|
-
isInvalid="isLabelInvalid"
|
|
3112
|
-
onSelectionChanged="(ranges) => this.onLabelRangeChanged(ranges)"
|
|
3113
|
-
onSelectionConfirmed="() => this.onLabelRangeConfirmed()"
|
|
3114
|
-
options="this.getLabelRangeOptions()"
|
|
3115
|
-
title.translate="Territories"
|
|
3389
|
+
<ChartDataSourceComponent
|
|
3390
|
+
chartId="props.chartId"
|
|
3391
|
+
definition="props.definition"
|
|
3392
|
+
updateChart="props.updateChart"
|
|
3393
|
+
canUpdateChart="props.canUpdateChart"
|
|
3394
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3395
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
3396
|
+
labelRangeTitle.translate="Territories"
|
|
3116
3397
|
/>
|
|
3117
3398
|
|
|
3118
3399
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -3155,96 +3436,100 @@
|
|
|
3155
3436
|
</Section>
|
|
3156
3437
|
|
|
3157
3438
|
<Section title.translate="Thresholds">
|
|
3158
|
-
<
|
|
3159
|
-
<
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
<t t-name="o-spreadsheet-GaugeChartColorSectionTemplate">
|
|
3169
|
-
<div class="o-gauge-color-set">
|
|
3170
|
-
<table>
|
|
3171
|
-
<tr>
|
|
3172
|
-
<th class="o-gauge-color-set-colorPicker"/>
|
|
3173
|
-
<th class="o-gauge-color-set-text"/>
|
|
3174
|
-
<th class="o-gauge-color-set-operator"/>
|
|
3175
|
-
<th class="o-gauge-color-set-value">Value</th>
|
|
3176
|
-
<th class="o-gauge-color-set-type">Type</th>
|
|
3177
|
-
</tr>
|
|
3178
|
-
|
|
3179
|
-
<t t-call="o-spreadsheet-GaugeChartColorSectionTemplateRow">
|
|
3180
|
-
<t t-set="sectionColor" t-value="sectionRule.colors.lowerColor"/>
|
|
3181
|
-
<t t-set="sectionType" t-value="'lowerColor'"/>
|
|
3182
|
-
<t t-set="inflectionPoint" t-value="'lowerInflectionPoint'"/>
|
|
3183
|
-
<t t-set="isInvalid" t-value="isLowerInflectionPointInvalid"/>
|
|
3184
|
-
<t t-set="inflectionPointName" t-value="'lowerInflectionPoint'"/>
|
|
3185
|
-
</t>
|
|
3439
|
+
<div class="o-gauge-color-set">
|
|
3440
|
+
<table>
|
|
3441
|
+
<tr>
|
|
3442
|
+
<th class="o-gauge-color-set-colorPicker"/>
|
|
3443
|
+
<th class="o-gauge-color-set-text"/>
|
|
3444
|
+
<th class="o-gauge-color-set-operator"/>
|
|
3445
|
+
<th class="o-gauge-color-set-value">Value</th>
|
|
3446
|
+
<th class="o-gauge-color-set-type">Type</th>
|
|
3447
|
+
</tr>
|
|
3186
3448
|
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3449
|
+
<tr>
|
|
3450
|
+
<td>
|
|
3451
|
+
<RoundColorPicker
|
|
3452
|
+
currentColor="state.sectionRule.colors.lowerColor"
|
|
3453
|
+
onColorPicked="(color) => this.updateSectionColor('lowerColor', color)"
|
|
3454
|
+
/>
|
|
3455
|
+
</td>
|
|
3456
|
+
<td>When value is</td>
|
|
3457
|
+
<td class="pe-2">
|
|
3458
|
+
<Select
|
|
3459
|
+
selectedValue="state.sectionRule['lowerInflectionPoint'].operator"
|
|
3460
|
+
name="'operatorType'"
|
|
3461
|
+
values="inflectionPointOperators"
|
|
3462
|
+
onChange.bind="(value) => this.updateSectionRuleOperator('lowerInflectionPoint', value)"
|
|
3463
|
+
/>
|
|
3464
|
+
</td>
|
|
3465
|
+
<td class="pe-2">
|
|
3466
|
+
<StandaloneComposer t-props="getGaugeInflectionComposerProps('lowerColor')"/>
|
|
3467
|
+
</td>
|
|
3468
|
+
<td>
|
|
3469
|
+
<Select
|
|
3470
|
+
selectedValue="state.sectionRule['lowerInflectionPoint'].type"
|
|
3471
|
+
name="'valueType'"
|
|
3472
|
+
values="inflectionPointTypes"
|
|
3473
|
+
onChange.bind="(value) => this.updateSectionRulePointType('lowerInflectionPoint', value)"
|
|
3474
|
+
/>
|
|
3475
|
+
</td>
|
|
3476
|
+
</tr>
|
|
3194
3477
|
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3478
|
+
<tr>
|
|
3479
|
+
<td>
|
|
3480
|
+
<RoundColorPicker
|
|
3481
|
+
currentColor="state.sectionRule.colors.middleColor"
|
|
3482
|
+
onColorPicked="(color) => this.updateSectionColor('middleColor', color)"
|
|
3483
|
+
/>
|
|
3484
|
+
</td>
|
|
3485
|
+
<td>When value is</td>
|
|
3486
|
+
<td class="pe-2">
|
|
3487
|
+
<Select
|
|
3488
|
+
selectedValue="state.sectionRule['upperInflectionPoint'].operator"
|
|
3489
|
+
name="'operatorType'"
|
|
3490
|
+
values="inflectionPointOperators"
|
|
3491
|
+
onChange.bind="(value) => this.updateSectionRuleOperator('upperInflectionPoint', value)"
|
|
3492
|
+
/>
|
|
3493
|
+
</td>
|
|
3494
|
+
<td class="pe-2">
|
|
3495
|
+
<StandaloneComposer t-props="getGaugeInflectionComposerProps('middleColor')"/>
|
|
3496
|
+
</td>
|
|
3497
|
+
<td>
|
|
3498
|
+
<Select
|
|
3499
|
+
selectedValue="state.sectionRule['upperInflectionPoint'].type"
|
|
3500
|
+
name="'valueType'"
|
|
3501
|
+
values="inflectionPointTypes"
|
|
3502
|
+
onChange.bind="(value) => this.updateSectionRulePointType('upperInflectionPoint', value)"
|
|
3503
|
+
/>
|
|
3504
|
+
</td>
|
|
3505
|
+
</tr>
|
|
3210
3506
|
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
<td class="pe-2">
|
|
3231
|
-
<StandaloneComposer t-props="getGaugeInflectionComposerProps(sectionType)"/>
|
|
3232
|
-
</td>
|
|
3233
|
-
<td>
|
|
3234
|
-
<Select
|
|
3235
|
-
selectedValue="sectionRule[inflectionPoint].type"
|
|
3236
|
-
name="'valueType'"
|
|
3237
|
-
values="inflectionPointTypes"
|
|
3238
|
-
onChange.bind="(value) => this.updateSectionRulePointType(inflectionPoint, value)"
|
|
3239
|
-
/>
|
|
3240
|
-
</td>
|
|
3241
|
-
</tr>
|
|
3507
|
+
<tr>
|
|
3508
|
+
<td>
|
|
3509
|
+
<RoundColorPicker
|
|
3510
|
+
currentColor="state.sectionRule.colors.upperColor"
|
|
3511
|
+
onColorPicked="(color) => this.updateSectionColor('upperColor', color)"
|
|
3512
|
+
/>
|
|
3513
|
+
</td>
|
|
3514
|
+
<td>Else</td>
|
|
3515
|
+
<td/>
|
|
3516
|
+
<td/>
|
|
3517
|
+
<td/>
|
|
3518
|
+
</tr>
|
|
3519
|
+
</table>
|
|
3520
|
+
</div>
|
|
3521
|
+
</Section>
|
|
3522
|
+
|
|
3523
|
+
<ChartErrorSection t-if="designErrorMessages.length" messages="designErrorMessages"/>
|
|
3524
|
+
</t>
|
|
3525
|
+
</SidePanelCollapsible>
|
|
3242
3526
|
</t>
|
|
3243
3527
|
|
|
3244
3528
|
<t t-name="o-spreadsheet-GaugeChartConfigPanel">
|
|
3245
3529
|
<div>
|
|
3246
3530
|
<ChartDataSeries
|
|
3247
3531
|
ranges="[this.getDataRange()]"
|
|
3532
|
+
dataSetStyles="{}"
|
|
3248
3533
|
onSelectionChanged="(ranges) => this.onDataRangeChanged(ranges)"
|
|
3249
3534
|
onSelectionConfirmed="() => this.updateDataRange()"
|
|
3250
3535
|
hasSingleRange="true"
|
|
@@ -3278,7 +3563,7 @@
|
|
|
3278
3563
|
currentColor="item.color"
|
|
3279
3564
|
onColorPicked="(color) => this.updateFunnelItemColor(item_index, color)"
|
|
3280
3565
|
/>
|
|
3281
|
-
<span class="ps-2" t-
|
|
3566
|
+
<span class="ps-2" t-out="item.label"/>
|
|
3282
3567
|
</div>
|
|
3283
3568
|
</t>
|
|
3284
3569
|
</Section>
|
|
@@ -3310,13 +3595,13 @@
|
|
|
3310
3595
|
</GeneralDesignEditor>
|
|
3311
3596
|
<SeriesWithAxisDesignEditor t-props="props">
|
|
3312
3597
|
<t t-set-slot="general-extension" t-slot-scope="scope">
|
|
3313
|
-
<t t-set="
|
|
3598
|
+
<t t-set="dataSetId" t-value="scope.dataSetId"/>
|
|
3314
3599
|
<Section class="'pt-0 o-series-type-selection'" title.translate="Serie type">
|
|
3315
3600
|
<RadioSelection
|
|
3316
3601
|
choices="seriesTypeChoices"
|
|
3317
|
-
selectedValue="getDataSeriesType(
|
|
3602
|
+
selectedValue="getDataSeriesType(dataSetId)"
|
|
3318
3603
|
name="'seriesType'"
|
|
3319
|
-
onChange="(type) => this.updateDataSeriesType(
|
|
3604
|
+
onChange="(type) => this.updateDataSeriesType(dataSetId, type)"
|
|
3320
3605
|
/>
|
|
3321
3606
|
</Section>
|
|
3322
3607
|
</t>
|
|
@@ -3362,15 +3647,12 @@
|
|
|
3362
3647
|
<t t-set="selectedChartProperties" t-value="getSelectedChartSubtypeProperties()"/>
|
|
3363
3648
|
<Section title.translate="Chart type">
|
|
3364
3649
|
<div class="position-relative">
|
|
3365
|
-
<
|
|
3366
|
-
class="o-input o-type-selector"
|
|
3650
|
+
<div
|
|
3651
|
+
class="o-select o-input o-type-selector"
|
|
3367
3652
|
t-ref="selectRef"
|
|
3368
3653
|
t-on-pointerdown.prevent="onPointerDown">
|
|
3369
|
-
<
|
|
3370
|
-
|
|
3371
|
-
t-att-value="selectedChartProperties.chartSubtype"
|
|
3372
|
-
/>
|
|
3373
|
-
</select>
|
|
3654
|
+
<t t-out="selectedChartProperties.displayName"/>
|
|
3655
|
+
</div>
|
|
3374
3656
|
<div class="o-type-selector-preview position-absolute">
|
|
3375
3657
|
<t t-call="{{selectedChartProperties.preview}}"/>
|
|
3376
3658
|
</div>
|
|
@@ -3379,11 +3661,11 @@
|
|
|
3379
3661
|
<Popover t-if="state.popoverProps" t-props="state.popoverProps">
|
|
3380
3662
|
<div
|
|
3381
3663
|
t-ref="popoverRef"
|
|
3382
|
-
class="o-chart-select-popover px-3 pb-4
|
|
3664
|
+
class="o-chart-select-popover px-3 pb-4"
|
|
3383
3665
|
t-att-style="state.popoverStyle">
|
|
3384
3666
|
<t t-foreach="categories" t-as="category" t-key="category">
|
|
3385
3667
|
<t t-if="chartTypeByCategories[category]">
|
|
3386
|
-
<h5 class="my-3" t-
|
|
3668
|
+
<h5 class="my-3" t-out="category_value"/>
|
|
3387
3669
|
<div class="d-flex flex-wrap">
|
|
3388
3670
|
<t
|
|
3389
3671
|
t-foreach="chartTypeByCategories[category]"
|
|
@@ -3842,22 +4124,14 @@
|
|
|
3842
4124
|
|
|
3843
4125
|
<t t-name="o-spreadsheet-CalendarChartConfigPanel">
|
|
3844
4126
|
<div>
|
|
3845
|
-
<
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
/>
|
|
3854
|
-
<ChartLabelRange
|
|
3855
|
-
range="this.getLabelRange()"
|
|
3856
|
-
isInvalid="isLabelInvalid"
|
|
3857
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
3858
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
3859
|
-
options="this.getLabelRangeOptions()"
|
|
3860
|
-
title.translate="Date range"
|
|
4127
|
+
<ChartDataSourceComponent
|
|
4128
|
+
chartId="props.chartId"
|
|
4129
|
+
definition="props.definition"
|
|
4130
|
+
updateChart="props.updateChart"
|
|
4131
|
+
canUpdateChart="props.canUpdateChart"
|
|
4132
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4133
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
4134
|
+
labelRangeTitle.translate="Date range"
|
|
3861
4135
|
/>
|
|
3862
4136
|
|
|
3863
4137
|
<Section title.translate="Fields to group by">
|
|
@@ -3983,8 +4257,8 @@
|
|
|
3983
4257
|
<t t-name="o-spreadsheet-SeriesWithAxisDesignEditor">
|
|
3984
4258
|
<SeriesDesignEditor t-props="props">
|
|
3985
4259
|
<t t-set-slot="data-series-extension" t-slot-scope="scope">
|
|
3986
|
-
<t t-set="
|
|
3987
|
-
<t t-slot="general-extension"
|
|
4260
|
+
<t t-set="dataSetId" t-value="scope.dataSetId"/>
|
|
4261
|
+
<t t-slot="general-extension" dataSetId="dataSetId"/>
|
|
3988
4262
|
<Section class="'pt-0 pb-0'">
|
|
3989
4263
|
<Section
|
|
3990
4264
|
class="'pt-0 px-0 o-vertical-axis-selection'"
|
|
@@ -3992,9 +4266,9 @@
|
|
|
3992
4266
|
title.translate="Vertical axis">
|
|
3993
4267
|
<RadioSelection
|
|
3994
4268
|
choices="axisChoices"
|
|
3995
|
-
selectedValue="getDataSerieAxis(
|
|
4269
|
+
selectedValue="getDataSerieAxis(dataSetId)"
|
|
3996
4270
|
name="'axis'"
|
|
3997
|
-
onChange="(value) => this.updateDataSeriesAxis(
|
|
4271
|
+
onChange="(value) => this.updateDataSeriesAxis(dataSetId, value)"
|
|
3998
4272
|
/>
|
|
3999
4273
|
</Section>
|
|
4000
4274
|
<Section
|
|
@@ -4002,13 +4276,13 @@
|
|
|
4002
4276
|
t-if="!props.definition.horizontal"
|
|
4003
4277
|
title.translate="Trend line">
|
|
4004
4278
|
<t t-set="showTrendLineLabel">Show trend line</t>
|
|
4005
|
-
<t t-set="trend" t-value="getTrendLineConfiguration(
|
|
4279
|
+
<t t-set="trend" t-value="getTrendLineConfiguration(dataSetId)"/>
|
|
4006
4280
|
<t t-set="trendType" t-value="getTrendType(trend)"/>
|
|
4007
4281
|
<Checkbox
|
|
4008
4282
|
name="'showTrendLine'"
|
|
4009
4283
|
label="showTrendLineLabel"
|
|
4010
4284
|
value="trend !== undefined and trend.display"
|
|
4011
|
-
onChange="(display) => this.toggleDataTrend(
|
|
4285
|
+
onChange="(display) => this.toggleDataTrend(dataSetId, display)"
|
|
4012
4286
|
/>
|
|
4013
4287
|
<div t-if="trend !== undefined and trend.display">
|
|
4014
4288
|
<div class="d-flex py-2">
|
|
@@ -4018,7 +4292,7 @@
|
|
|
4018
4292
|
selectedValue="trendType"
|
|
4019
4293
|
values="trendOptions"
|
|
4020
4294
|
class="'trend-type-selector'"
|
|
4021
|
-
onChange="(value) => this.onChangeTrendType(
|
|
4295
|
+
onChange="(value) => this.onChangeTrendType(dataSetId, value)"
|
|
4022
4296
|
/>
|
|
4023
4297
|
</div>
|
|
4024
4298
|
<div class="w-50 ms-3" t-if="trendType === 'trailingMovingAverage'">
|
|
@@ -4027,24 +4301,24 @@
|
|
|
4027
4301
|
value="trend.window || this.defaultWindowSize"
|
|
4028
4302
|
class="'w-100 trend-window-input'"
|
|
4029
4303
|
min="2"
|
|
4030
|
-
onChange="(value) => this.onChangeMovingAverageWindow(
|
|
4304
|
+
onChange="(value) => this.onChangeMovingAverageWindow(dataSetId, value)"
|
|
4031
4305
|
/>
|
|
4032
4306
|
</div>
|
|
4033
4307
|
<div class="w-50 ms-3" t-if="trendType === 'polynomial'">
|
|
4034
4308
|
<span class="o-section-subtitle">Degree</span>
|
|
4035
4309
|
<Select
|
|
4036
4310
|
selectedValue="trend.order.toString()"
|
|
4037
|
-
values="getPolynomialDegrees(
|
|
4311
|
+
values="getPolynomialDegrees(dataSetId)"
|
|
4038
4312
|
class="'trend-order-input'"
|
|
4039
|
-
onChange="(value) => this.onChangePolynomialDegree(
|
|
4313
|
+
onChange="(value) => this.onChangePolynomialDegree(dataSetId, value)"
|
|
4040
4314
|
/>
|
|
4041
4315
|
</div>
|
|
4042
4316
|
</div>
|
|
4043
4317
|
<div class="d-flex align-items-center">
|
|
4044
4318
|
<span class="o-section-subtitle my-0 pe-2">Trend line color</span>
|
|
4045
4319
|
<RoundColorPicker
|
|
4046
|
-
currentColor="getTrendLineColor(
|
|
4047
|
-
onColorPicked="(ev) => this.updateTrendLineColor(
|
|
4320
|
+
currentColor="getTrendLineColor(dataSetId)"
|
|
4321
|
+
onColorPicked="(ev) => this.updateTrendLineColor(dataSetId, ev)"
|
|
4048
4322
|
/>
|
|
4049
4323
|
</div>
|
|
4050
4324
|
</div>
|
|
@@ -4059,7 +4333,7 @@
|
|
|
4059
4333
|
<t t-set-slot="content">
|
|
4060
4334
|
<Section class="'pt-0 pb-0'">
|
|
4061
4335
|
<Select
|
|
4062
|
-
selectedValue="state.
|
|
4336
|
+
selectedValue="state.dataSetId"
|
|
4063
4337
|
values="selectOptions"
|
|
4064
4338
|
class="'data-series-selector'"
|
|
4065
4339
|
onChange.bind="this.updateEditedSeries"
|
|
@@ -4082,11 +4356,35 @@
|
|
|
4082
4356
|
/>
|
|
4083
4357
|
</Section>
|
|
4084
4358
|
</Section>
|
|
4085
|
-
<t t-slot="data-series-extension"
|
|
4359
|
+
<t t-slot="data-series-extension" dataSetId="state.dataSetId"/>
|
|
4086
4360
|
</t>
|
|
4087
4361
|
</SidePanelCollapsible>
|
|
4088
4362
|
</t>
|
|
4089
4363
|
|
|
4364
|
+
<t t-name="o-spreadsheet-ChartRangeDataSource">
|
|
4365
|
+
<ChartDataSeries
|
|
4366
|
+
ranges="this.getDataSeriesRanges()"
|
|
4367
|
+
dataSetStyles="this.props.definition.dataSetStyles"
|
|
4368
|
+
onSelectionChanged.bind="onDataSeriesRangesChanged"
|
|
4369
|
+
onSelectionConfirmed.bind="onDataSeriesConfirmed"
|
|
4370
|
+
onSelectionReordered.bind="onDataSeriesReordered"
|
|
4371
|
+
onSelectionRemoved.bind="onDataSeriesRemoved"
|
|
4372
|
+
maxNumberOfUsedRanges="maxNumberOfUsedRanges"
|
|
4373
|
+
datasetOrientation="datasetOrientation"
|
|
4374
|
+
canChangeDatasetOrientation="canChangeDatasetOrientation"
|
|
4375
|
+
onFlipAxis.bind="setDatasetOrientation"
|
|
4376
|
+
title="props.dataSeriesTitle"
|
|
4377
|
+
/>
|
|
4378
|
+
<ChartLabelRange
|
|
4379
|
+
range="this.getLabelRange()"
|
|
4380
|
+
isInvalid="isLabelInvalid"
|
|
4381
|
+
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4382
|
+
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4383
|
+
options="this.getLabelRangeOptions()"
|
|
4384
|
+
title="props.labelRangeTitle"
|
|
4385
|
+
/>
|
|
4386
|
+
</t>
|
|
4387
|
+
|
|
4090
4388
|
<t t-name="o-spreadsheet.PieHoleSize">
|
|
4091
4389
|
<Section class="'pt-0'" title.translate="Center radius">
|
|
4092
4390
|
<div class="d-flex flex-row">
|
|
@@ -4104,12 +4402,15 @@
|
|
|
4104
4402
|
|
|
4105
4403
|
<t t-name="o-spreadsheet-ChartLegend">
|
|
4106
4404
|
<Section class="'pt-0'" title.translate="Legend position">
|
|
4107
|
-
<
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4405
|
+
<div t-if="!props.isDisabled" class="mb-2">
|
|
4406
|
+
<Select
|
|
4407
|
+
selectedValue="props.definition.legendPosition ?? 'top'"
|
|
4408
|
+
values="legendValues"
|
|
4409
|
+
class="'o-chart-legend-position'"
|
|
4410
|
+
onChange.bind="this.updateLegendPosition"
|
|
4411
|
+
/>
|
|
4412
|
+
</div>
|
|
4413
|
+
<div t-else="" title="No legend available">None</div>
|
|
4113
4414
|
</Section>
|
|
4114
4415
|
</t>
|
|
4115
4416
|
|
|
@@ -4147,23 +4448,13 @@
|
|
|
4147
4448
|
|
|
4148
4449
|
<t t-name="o-spreadsheet-GenericChartConfigPanel">
|
|
4149
4450
|
<div>
|
|
4150
|
-
<
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
datasetOrientation="datasetOrientation"
|
|
4158
|
-
canChangeDatasetOrientation="canChangeDatasetOrientation"
|
|
4159
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
4160
|
-
/>
|
|
4161
|
-
<ChartLabelRange
|
|
4162
|
-
range="this.getLabelRange()"
|
|
4163
|
-
isInvalid="isLabelInvalid"
|
|
4164
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4165
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4166
|
-
options="this.getLabelRangeOptions()"
|
|
4451
|
+
<ChartDataSourceComponent
|
|
4452
|
+
chartId="props.chartId"
|
|
4453
|
+
definition="props.definition"
|
|
4454
|
+
updateChart="props.updateChart"
|
|
4455
|
+
canUpdateChart="props.canUpdateChart"
|
|
4456
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
4457
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4167
4458
|
/>
|
|
4168
4459
|
|
|
4169
4460
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -4199,11 +4490,19 @@
|
|
|
4199
4490
|
</Section>
|
|
4200
4491
|
</t>
|
|
4201
4492
|
|
|
4493
|
+
<t t-name="o-spreadsheet-ChartDataSourceComponent">
|
|
4494
|
+
<t
|
|
4495
|
+
t-component="DataSourceComponent"
|
|
4496
|
+
t-props="this.props"
|
|
4497
|
+
dataSource="this.props.definition.dataSource"
|
|
4498
|
+
/>
|
|
4499
|
+
</t>
|
|
4500
|
+
|
|
4202
4501
|
<t t-name="o-spreadsheet.ChartDataSeries">
|
|
4203
4502
|
<Section class="'o-data-series'">
|
|
4204
4503
|
<t t-set-slot="title">
|
|
4205
4504
|
<div class="d-flex flex-row justify-content-between">
|
|
4206
|
-
<t t-
|
|
4505
|
+
<t t-out="title"/>
|
|
4207
4506
|
<div t-if="props.onFlipAxis and props.canChangeDatasetOrientation" class="d-flex">
|
|
4208
4507
|
<span
|
|
4209
4508
|
t-if="props.datasetOrientation !== 'rows'"
|
|
@@ -4244,7 +4543,7 @@
|
|
|
4244
4543
|
class="color-scale-container d-flex justify-content-end"
|
|
4245
4544
|
t-on-click.stop="onPointerDown">
|
|
4246
4545
|
<span class="color-scale-label">
|
|
4247
|
-
<t t-
|
|
4546
|
+
<t t-out="currentColorScaleLabel"/>
|
|
4248
4547
|
</span>
|
|
4249
4548
|
<div
|
|
4250
4549
|
class="color-scale-preview w-100"
|
|
@@ -4256,7 +4555,7 @@
|
|
|
4256
4555
|
</span>
|
|
4257
4556
|
</div>
|
|
4258
4557
|
<Popover t-if="state.popoverProps" t-props="state.popoverProps">
|
|
4259
|
-
<table t-ref="popoverRef"
|
|
4558
|
+
<table t-ref="popoverRef" t-att-style="state.popoverStyle">
|
|
4260
4559
|
<tr
|
|
4261
4560
|
class="color-scale-container custom-color-scale-container"
|
|
4262
4561
|
t-on-click="() => this.onColorScaleChange('custom')">
|
|
@@ -4274,7 +4573,7 @@
|
|
|
4274
4573
|
t-on-click="() => this.onColorScaleChange(colorScale.value)"
|
|
4275
4574
|
t-att-title="colorScale.label">
|
|
4276
4575
|
<td class="p-1 text-end">
|
|
4277
|
-
<t t-
|
|
4576
|
+
<t t-out="colorScale.label"/>
|
|
4278
4577
|
</td>
|
|
4279
4578
|
<td class="w-100 p-1">
|
|
4280
4579
|
<div
|
|
@@ -4351,6 +4650,59 @@
|
|
|
4351
4650
|
placeholder.translate="Add a Title"
|
|
4352
4651
|
defaultStyle="{align: 'center', color: '', fontSize: defaultFontSize}"
|
|
4353
4652
|
/>
|
|
4653
|
+
<Section
|
|
4654
|
+
t-if="!isCategoricalAxis"
|
|
4655
|
+
class="'pt-0 o-axis-bounds-section'"
|
|
4656
|
+
title.translate="Axis range">
|
|
4657
|
+
<div class="d-flex">
|
|
4658
|
+
<div class="w-50">
|
|
4659
|
+
<span class="o-section-subtitle my-0">Minimum</span>
|
|
4660
|
+
<DateInput
|
|
4661
|
+
t-if="isTimeAxis"
|
|
4662
|
+
class="'o-input w-100 time-axis-min-input'"
|
|
4663
|
+
value="axisMin"
|
|
4664
|
+
onChange.bind="updateTimeAxisMin"
|
|
4665
|
+
/>
|
|
4666
|
+
<NumberInput
|
|
4667
|
+
t-else=""
|
|
4668
|
+
class="'o-input w-100 axis-min-input'"
|
|
4669
|
+
value="axisMin"
|
|
4670
|
+
onChange.bind="updateAxisMin"
|
|
4671
|
+
placeholder.translate="Lower bound value"
|
|
4672
|
+
/>
|
|
4673
|
+
</div>
|
|
4674
|
+
<div class="w-50 ms-3">
|
|
4675
|
+
<span class="o-section-subtitle my-0">Maximum</span>
|
|
4676
|
+
<DateInput
|
|
4677
|
+
t-if="isTimeAxis"
|
|
4678
|
+
class="'o-input w-100 time-axis-max-input'"
|
|
4679
|
+
value="axisMax"
|
|
4680
|
+
onChange.bind="updateTimeAxisMax"
|
|
4681
|
+
/>
|
|
4682
|
+
<NumberInput
|
|
4683
|
+
t-else=""
|
|
4684
|
+
class="'o-input w-100 axis-max-input'"
|
|
4685
|
+
value="axisMax"
|
|
4686
|
+
onChange.bind="updateAxisMax"
|
|
4687
|
+
placeholder.translate="Upper bound value"
|
|
4688
|
+
/>
|
|
4689
|
+
</div>
|
|
4690
|
+
</div>
|
|
4691
|
+
</Section>
|
|
4692
|
+
<Section class="'pt-0'" t-if="!isCategoricalAxis" title.translate="Gridlines">
|
|
4693
|
+
<Checkbox
|
|
4694
|
+
className="'o-axis-grid-major'"
|
|
4695
|
+
label="majorGridLabel"
|
|
4696
|
+
value="isMajorGridEnabled"
|
|
4697
|
+
onChange.bind="toggleMajorGrid"
|
|
4698
|
+
/>
|
|
4699
|
+
<Checkbox
|
|
4700
|
+
className="'o-axis-grid-minor'"
|
|
4701
|
+
label="minorGridLabel"
|
|
4702
|
+
value="isMinorGridEnabled"
|
|
4703
|
+
onChange.bind="toggleMinorGrid"
|
|
4704
|
+
/>
|
|
4705
|
+
</Section>
|
|
4354
4706
|
</t>
|
|
4355
4707
|
|
|
4356
4708
|
<t t-name="o-spreadsheet-BarChartDesignPanel">
|
|
@@ -4397,22 +4749,12 @@
|
|
|
4397
4749
|
onChange.bind="onUpdateStacked"
|
|
4398
4750
|
/>
|
|
4399
4751
|
</Section>
|
|
4400
|
-
<
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
canChangeDatasetOrientation="canChangeDatasetOrientation"
|
|
4407
|
-
datasetOrientation="datasetOrientation"
|
|
4408
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
4409
|
-
/>
|
|
4410
|
-
<ChartLabelRange
|
|
4411
|
-
range="this.getLabelRange()"
|
|
4412
|
-
isInvalid="isLabelInvalid"
|
|
4413
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4414
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4415
|
-
options="this.getLabelRangeOptions()"
|
|
4752
|
+
<ChartDataSourceComponent
|
|
4753
|
+
chartId="props.chartId"
|
|
4754
|
+
definition="props.definition"
|
|
4755
|
+
updateChart="props.updateChart"
|
|
4756
|
+
canUpdateChart="props.canUpdateChart"
|
|
4757
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4416
4758
|
/>
|
|
4417
4759
|
|
|
4418
4760
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -4509,7 +4851,7 @@
|
|
|
4509
4851
|
spellcheck="false"
|
|
4510
4852
|
placeholder="e.g. A1:A2"
|
|
4511
4853
|
t-on-input="(ev) => this.onInputChanged(range.id, ev)"
|
|
4512
|
-
t-on-
|
|
4854
|
+
t-on-click="() => this.focus(range.id)"
|
|
4513
4855
|
t-on-keydown="onKeydown"
|
|
4514
4856
|
t-att-value="range.xc"
|
|
4515
4857
|
t-att-style="getColor(range)"
|
|
@@ -4518,7 +4860,7 @@
|
|
|
4518
4860
|
'o-disabled-ranges' : range.disabled and !range.isFocused,
|
|
4519
4861
|
'o-focused' : range.isFocused,
|
|
4520
4862
|
'o-invalid border-danger position-relative': isInvalid || !range.isValidRange,
|
|
4521
|
-
'text-decoration-underline': range.xc and range.isFocused and
|
|
4863
|
+
'text-decoration-underline': range.xc and range.isFocused and store.mode === 'select-range'
|
|
4522
4864
|
}"
|
|
4523
4865
|
t-ref="{{range.isFocused ? 'focusedInput' : 'unfocusedInput' + range_index}}"
|
|
4524
4866
|
/>
|
|
@@ -4546,13 +4888,12 @@
|
|
|
4546
4888
|
<button class="o-button o-add-selection" t-if="canAddRange" t-on-click="addEmptyInput">
|
|
4547
4889
|
Add range
|
|
4548
4890
|
</button>
|
|
4549
|
-
<div class="ms-auto" t-if="store.hasFocus">
|
|
4891
|
+
<div class="ms-auto" t-if="store.hasFocus or isResettable">
|
|
4550
4892
|
<button class="o-button o-selection-ko" t-if="isResettable" t-on-click="reset">
|
|
4551
4893
|
Reset
|
|
4552
4894
|
</button>
|
|
4553
4895
|
<button
|
|
4554
4896
|
class="o-button primary ms-2 o-selection-ok"
|
|
4555
|
-
t-if="store.hasFocus"
|
|
4556
4897
|
t-att-disabled="!isConfirmable"
|
|
4557
4898
|
t-on-click="confirm">
|
|
4558
4899
|
Confirm
|
|
@@ -4573,14 +4914,15 @@
|
|
|
4573
4914
|
class="o-input o-select"
|
|
4574
4915
|
t-att-class="props.class"
|
|
4575
4916
|
t-att-name="props.name"
|
|
4917
|
+
t-att-title="props.title"
|
|
4576
4918
|
t-on-pointerdown="onMouseDown"
|
|
4577
4919
|
t-on-keydown="onKeyDown"
|
|
4578
|
-
t-
|
|
4920
|
+
t-out="selectedLabel"
|
|
4579
4921
|
/>
|
|
4580
4922
|
|
|
4581
4923
|
<Popover t-if="state.isPopoverOpen" t-props="popoverProps">
|
|
4582
4924
|
<div
|
|
4583
|
-
class="o-select-dropdown
|
|
4925
|
+
class="o-select-dropdown overflow-hidden py-2"
|
|
4584
4926
|
t-att-class="props.popoverClass"
|
|
4585
4927
|
t-ref="dropdownRef">
|
|
4586
4928
|
<t t-foreach="props.values" t-as="value" t-key="value_index">
|
|
@@ -4590,7 +4932,7 @@
|
|
|
4590
4932
|
'o-active': value.value === activeValue
|
|
4591
4933
|
}"
|
|
4592
4934
|
t-att-data-id="value.value"
|
|
4593
|
-
t-
|
|
4935
|
+
t-out="value.label"
|
|
4594
4936
|
t-att-title="value.label"
|
|
4595
4937
|
t-on-click="() => this.onOptionClick(value.value)"
|
|
4596
4938
|
t-on-mouseenter="() => this.onOptionHover(value.value)"
|
|
@@ -4645,7 +4987,7 @@
|
|
|
4645
4987
|
t-att-style="cell.style"
|
|
4646
4988
|
t-att-class="{ o_missing_value: cell.isMissing }"
|
|
4647
4989
|
t-on-click="() => props.onCellClicked(cell.formula)">
|
|
4648
|
-
<t t-
|
|
4990
|
+
<t t-out="cell.value"/>
|
|
4649
4991
|
</th>
|
|
4650
4992
|
</t>
|
|
4651
4993
|
</tr>
|
|
@@ -4655,13 +4997,13 @@
|
|
|
4655
4997
|
t-att-style="row.style"
|
|
4656
4998
|
t-att-class="{ o_missing_value: row.isMissing }"
|
|
4657
4999
|
t-on-click="() => props.onCellClicked(row.formula)">
|
|
4658
|
-
<t t-
|
|
5000
|
+
<t t-out="row.value"/>
|
|
4659
5001
|
</th>
|
|
4660
5002
|
<t t-foreach="tableData.values" t-as="col" t-key="col_index">
|
|
4661
5003
|
<td
|
|
4662
5004
|
t-att-class="{ o_missing_value: col[row_index].isMissing }"
|
|
4663
5005
|
t-on-click="() => props.onCellClicked(col[row_index].formula)">
|
|
4664
|
-
<t t-
|
|
5006
|
+
<t t-out="col[row_index].value"/>
|
|
4665
5007
|
</td>
|
|
4666
5008
|
</t>
|
|
4667
5009
|
</tr>
|
|
@@ -4675,7 +5017,7 @@
|
|
|
4675
5017
|
<span
|
|
4676
5018
|
class="o-menu-item-button"
|
|
4677
5019
|
title="Paint Format"
|
|
4678
|
-
t-att-class="{active: isActive}"
|
|
5020
|
+
t-att-class="{'active': isActive, 'o-disabled': env.model.getters.isCurrentSheetLocked()}"
|
|
4679
5021
|
t-attf-class="{{props.class}}"
|
|
4680
5022
|
t-on-click="togglePaintFormat"
|
|
4681
5023
|
t-on-dblclick="onDblClick">
|
|
@@ -4721,17 +5063,17 @@
|
|
|
4721
5063
|
t-on-change="setValueFromInput"
|
|
4722
5064
|
t-ref="inputNumber"
|
|
4723
5065
|
/>
|
|
4724
|
-
<t t-
|
|
5066
|
+
<t t-out="props.valueIcon"/>
|
|
4725
5067
|
<span>
|
|
4726
5068
|
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
4727
5069
|
</span>
|
|
4728
5070
|
</div>
|
|
4729
5071
|
<Popover t-if="dropdown.isOpen" t-props="popoverProps">
|
|
4730
|
-
<div class="o-text-options
|
|
5072
|
+
<div class="o-text-options" t-on-click.stop="" t-ref="numberList">
|
|
4731
5073
|
<t t-foreach="props.valueList" t-as="value" t-key="value">
|
|
4732
5074
|
<div t-att-data-size="value" t-on-click="() => this.setValueFromList(value)">
|
|
4733
|
-
<t t-
|
|
4734
|
-
<t t-
|
|
5075
|
+
<t t-out="value"/>
|
|
5076
|
+
<t t-out="props.valueIcon"/>
|
|
4735
5077
|
</div>
|
|
4736
5078
|
</t>
|
|
4737
5079
|
</div>
|
|
@@ -4739,12 +5081,46 @@
|
|
|
4739
5081
|
</div>
|
|
4740
5082
|
</t>
|
|
4741
5083
|
|
|
5084
|
+
<t t-name="o-spreadsheet-NamedRangeSelector">
|
|
5085
|
+
<div
|
|
5086
|
+
class="o-named-range-selector d-flex align-items-center rounded p-1 my-1"
|
|
5087
|
+
t-ref="namedRangeSelectorRef"
|
|
5088
|
+
t-att-class="{
|
|
5089
|
+
'selected': topBarToolStore.isActive,
|
|
5090
|
+
}">
|
|
5091
|
+
<TextInput
|
|
5092
|
+
t-key="selectionKey"
|
|
5093
|
+
value="inputValue"
|
|
5094
|
+
onChange.bind="changeInputValue"
|
|
5095
|
+
onInput.bind="onInput"
|
|
5096
|
+
selectContentOnFocus="true"
|
|
5097
|
+
onFocused.bind="onInputFocused"
|
|
5098
|
+
onBlur.bind="onInputBlur"
|
|
5099
|
+
resetOnBlur="true"
|
|
5100
|
+
/>
|
|
5101
|
+
<div class="o-hoverable-button" t-on-click.stop="openDropdown">
|
|
5102
|
+
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
5103
|
+
</div>
|
|
5104
|
+
</div>
|
|
5105
|
+
|
|
5106
|
+
<MenuPopover
|
|
5107
|
+
t-if="topBarToolStore.isActive"
|
|
5108
|
+
disableKeyboardNavigation="true"
|
|
5109
|
+
anchorRect="menuState.anchorRect"
|
|
5110
|
+
menuItems="menuState.menuItems"
|
|
5111
|
+
onClose="() => {}"
|
|
5112
|
+
popoverPositioning="'bottom-left'"
|
|
5113
|
+
/>
|
|
5114
|
+
</t>
|
|
5115
|
+
|
|
4742
5116
|
<t t-name="o-spreadsheet-Menu-Popover">
|
|
4743
|
-
<Popover t-if="
|
|
5117
|
+
<Popover t-if="menuItems.length" t-props="popoverProps">
|
|
4744
5118
|
<div
|
|
4745
5119
|
t-ref="menu"
|
|
4746
|
-
|
|
4747
|
-
|
|
5120
|
+
tabIndex="-1"
|
|
5121
|
+
class="o-menu-wrapper"
|
|
5122
|
+
t-on-mouseover="() => this.onMouseOverMainMenu()"
|
|
5123
|
+
t-on-keydown="this.onKeydown">
|
|
4748
5124
|
<Menu t-props="menuProps"/>
|
|
4749
5125
|
</div>
|
|
4750
5126
|
<MenuPopover
|
|
@@ -4759,6 +5135,8 @@
|
|
|
4759
5135
|
menuId="props.menuId"
|
|
4760
5136
|
onMouseOver.bind="onMouseOverChildMenu"
|
|
4761
5137
|
width="props.width"
|
|
5138
|
+
autoSelectFirstItem="subMenu.autoSelectFirstItem"
|
|
5139
|
+
onKeyboardNavigation.bind="this.onKeydown"
|
|
4762
5140
|
/>
|
|
4763
5141
|
</Popover>
|
|
4764
5142
|
</t>
|
|
@@ -4766,28 +5144,28 @@
|
|
|
4766
5144
|
<t t-name="o-spreadsheet-Menu">
|
|
4767
5145
|
<div
|
|
4768
5146
|
t-ref="menu"
|
|
4769
|
-
class="o-menu
|
|
5147
|
+
class="o-menu"
|
|
4770
5148
|
t-att-style="menuStyle"
|
|
4771
5149
|
t-on-scroll="props.onScroll"
|
|
4772
5150
|
t-on-wheel.stop=""
|
|
4773
5151
|
t-on-pointerdown.prevent=""
|
|
4774
|
-
t-on-click.stop=""
|
|
4775
|
-
t-
|
|
4776
|
-
<t t-foreach="menuItemsAndSeparators" t-as="menuItem" t-key="menuItem_index">
|
|
5152
|
+
t-on-click.stop="">
|
|
5153
|
+
<t t-foreach="props.menuItems" t-as="menuItem" t-key="menuItem_index">
|
|
4777
5154
|
<div t-if="menuItem === 'separator'" class="o-separator border-bottom"/>
|
|
4778
5155
|
<t t-else="">
|
|
4779
5156
|
<t t-set="isMenuRoot" t-value="isRoot(menuItem)"/>
|
|
4780
5157
|
<t t-set="isMenuEnabled" t-value="isEnabled(menuItem)"/>
|
|
4781
5158
|
<div
|
|
5159
|
+
tabIndex="-1"
|
|
4782
5160
|
t-att-title="getName(menuItem)"
|
|
4783
5161
|
t-att-data-name="menuItem.id"
|
|
4784
5162
|
t-on-click="(ev) => this.onClickMenu(menuItem, ev)"
|
|
4785
5163
|
t-on-auxclick="(ev) => this.onClickMenu(menuItem, ev)"
|
|
4786
|
-
t-on-
|
|
4787
|
-
t-on-
|
|
4788
|
-
t-on-
|
|
5164
|
+
t-on-mouseenter="(ev) => this.props.onMouseEnter?.(menuItem, ev)"
|
|
5165
|
+
t-on-mouseleave="(ev) => this.props.onMouseLeave?.(menuItem)"
|
|
5166
|
+
t-on-keydown="(ev) => props.onKeyDown?.(ev)"
|
|
4789
5167
|
class="o-menu-item d-flex justify-content-between align-items-center"
|
|
4790
|
-
t-att-class="{'disabled': !isMenuEnabled, 'o-menu-item-active': props.
|
|
5168
|
+
t-att-class="{'disabled': !isMenuEnabled, 'o-menu-item-active': menuItem.id === props.hoveredMenuId}"
|
|
4791
5169
|
t-att-style="getColor(menuItem)">
|
|
4792
5170
|
<div class="d-flex w-100">
|
|
4793
5171
|
<div
|
|
@@ -4796,24 +5174,20 @@
|
|
|
4796
5174
|
t-att-style="getIconColor(menuItem)">
|
|
4797
5175
|
<t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
|
|
4798
5176
|
</div>
|
|
4799
|
-
<div class="o-menu-item-name align-middle text-truncate" t-
|
|
4800
|
-
<t t-set="description" t-value="menuItem.description(env)"/>
|
|
5177
|
+
<div class="o-menu-item-name align-middle text-truncate" t-out="getName(menuItem)"/>
|
|
5178
|
+
<t t-set="description" t-value="menuItem.description(env) or menuItem.shortcut"/>
|
|
4801
5179
|
<div
|
|
4802
5180
|
t-if="description"
|
|
4803
5181
|
class="o-menu-item-description ms-auto text-truncate"
|
|
4804
|
-
t-
|
|
5182
|
+
t-out="description"
|
|
4805
5183
|
/>
|
|
4806
5184
|
<t t-set="secondaryIcon" t-value="menuItem.secondaryIcon(env)"/>
|
|
4807
5185
|
<div
|
|
4808
|
-
t-if="isMenuRoot"
|
|
4809
|
-
class="o-menu-item-root ms-auto align-items-center d-flex"
|
|
4810
|
-
t-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
t-elif="secondaryIcon"
|
|
4814
|
-
class="o-menu-item-root ms-auto align-items-center d-flex"
|
|
4815
|
-
t-call="{{secondaryIcon}}"
|
|
4816
|
-
/>
|
|
5186
|
+
t-if="isMenuRoot || secondaryIcon"
|
|
5187
|
+
class="o-menu-item-root ms-auto align-items-center d-flex gap-1">
|
|
5188
|
+
<t t-if="secondaryIcon" t-call="{{secondaryIcon}}"/>
|
|
5189
|
+
<t t-if="isMenuRoot" t-call="o-spreadsheet-Icon.CARET_RIGHT"/>
|
|
5190
|
+
</div>
|
|
4817
5191
|
</div>
|
|
4818
5192
|
</div>
|
|
4819
5193
|
</t>
|
|
@@ -4823,10 +5197,11 @@
|
|
|
4823
5197
|
|
|
4824
5198
|
<t t-name="o-spreadsheet-LinkEditor">
|
|
4825
5199
|
<div
|
|
4826
|
-
class="o-link-editor
|
|
4827
|
-
t-on-
|
|
5200
|
+
class="o-link-editor rounded h-100"
|
|
5201
|
+
t-on-scroll.stop=""
|
|
5202
|
+
t-on-wheel.stop=""
|
|
4828
5203
|
t-on-keydown="onKeyDown">
|
|
4829
|
-
<div class="o-section">
|
|
5204
|
+
<div class="o-section mb-4 h-100">
|
|
4830
5205
|
<div class="o-section-title">Text</div>
|
|
4831
5206
|
<div class="d-flex">
|
|
4832
5207
|
<input
|
|
@@ -4834,20 +5209,25 @@
|
|
|
4834
5209
|
title="Link label"
|
|
4835
5210
|
placeholder="e.g. 'Link label'"
|
|
4836
5211
|
class="o-input"
|
|
4837
|
-
t-model="
|
|
5212
|
+
t-model="this.state.label"
|
|
4838
5213
|
/>
|
|
4839
5214
|
</div>
|
|
4840
5215
|
|
|
4841
5216
|
<div class="o-section-title mt-3">Link</div>
|
|
4842
|
-
<div
|
|
4843
|
-
|
|
5217
|
+
<div
|
|
5218
|
+
class="o-link-url"
|
|
5219
|
+
t-ref="urlInputContainer"
|
|
5220
|
+
tabindex="-1"
|
|
5221
|
+
t-on-keydown="this.onInputKeyDown">
|
|
5222
|
+
<t t-if="this.state.isUrlEditable">
|
|
4844
5223
|
<input
|
|
4845
5224
|
class="o-input"
|
|
4846
5225
|
type="text"
|
|
4847
5226
|
placeholder="e.g. 'http://www.odoo.com'"
|
|
4848
5227
|
title="Link URL"
|
|
4849
5228
|
t-ref="urlInput"
|
|
4850
|
-
t-model="
|
|
5229
|
+
t-model="this.state.url"
|
|
5230
|
+
t-on-input="this.computeLinks"
|
|
4851
5231
|
/>
|
|
4852
5232
|
</t>
|
|
4853
5233
|
<t t-else="">
|
|
@@ -4855,32 +5235,52 @@
|
|
|
4855
5235
|
type="text"
|
|
4856
5236
|
class="o-input"
|
|
4857
5237
|
title="Link URL"
|
|
4858
|
-
t-att-value="getUrlRepresentation(
|
|
5238
|
+
t-att-value="this.getUrlRepresentation(this.state)"
|
|
4859
5239
|
disabled="1"
|
|
4860
5240
|
/>
|
|
4861
5241
|
</t>
|
|
4862
|
-
<button t-if="link.url" t-on-click="removeLink" class="o-remove-url o-button-icon">
|
|
4863
|
-
✖
|
|
4864
|
-
</button>
|
|
4865
5242
|
<button
|
|
4866
|
-
t-if="
|
|
4867
|
-
t-on-click
|
|
4868
|
-
class="o-
|
|
4869
|
-
t-
|
|
4870
|
-
<
|
|
5243
|
+
t-if="this.state.url"
|
|
5244
|
+
t-on-click="this.removeLink"
|
|
5245
|
+
class="o-remove-url o-button-icon"
|
|
5246
|
+
t-translation="off">
|
|
5247
|
+
<i class="fa fa-times"/>
|
|
4871
5248
|
</button>
|
|
4872
5249
|
</div>
|
|
4873
5250
|
</div>
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
5251
|
+
|
|
5252
|
+
<div class="suggestions border rounded user-select-none" t-ref="suggestionList">
|
|
5253
|
+
<t t-foreach="this.state.linksByCategory" t-as="proposalCategory" t-key="proposalCategory">
|
|
5254
|
+
<t t-set="categoryTitle" t-value="proposalCategory"/>
|
|
5255
|
+
<t t-set="proposals" t-value="proposalCategory_value"/>
|
|
5256
|
+
<div class="o-section my-1">
|
|
5257
|
+
<div class="o-section-title ps-2" t-esc="categoryTitle"/>
|
|
5258
|
+
<div
|
|
5259
|
+
t-foreach="proposals"
|
|
5260
|
+
t-as="proposal"
|
|
5261
|
+
t-key="categoryTitle + proposal_index"
|
|
5262
|
+
t-att-data-index="proposal.index"
|
|
5263
|
+
class="suggestion-item ps-3 d-flex align-items-center justify-content-start"
|
|
5264
|
+
t-att-class="{ 'selected' : proposal.index === this.state.selectedIndex }"
|
|
5265
|
+
t-on-click="proposal.onSelect"
|
|
5266
|
+
t-on-dblclick="this.save">
|
|
5267
|
+
<span class="me-1" t-if="proposal.icon" t-call="{{proposal.icon}}"/>
|
|
5268
|
+
<span class="text-truncate" t-esc="proposal.text"/>
|
|
5269
|
+
</div>
|
|
5270
|
+
</div>
|
|
5271
|
+
</t>
|
|
5272
|
+
<div
|
|
5273
|
+
t-if="!this.state.linksList.length"
|
|
5274
|
+
class="o-filter-menu-no-values d-flex align-items-center justify-content-center w-100 h-100 text-muted fst-italic">
|
|
5275
|
+
No results
|
|
5276
|
+
</div>
|
|
5277
|
+
</div>
|
|
4881
5278
|
<div class="o-buttons">
|
|
4882
|
-
<button t-on-click="cancel" class="o-button o-cancel me-2">
|
|
4883
|
-
<button
|
|
5279
|
+
<button t-on-click="this.cancel" class="o-button o-cancel me-2">Discard</button>
|
|
5280
|
+
<button
|
|
5281
|
+
t-on-click="this.save"
|
|
5282
|
+
class="o-button primary o-save"
|
|
5283
|
+
t-att-disabled="!this.state.url">
|
|
4884
5284
|
Confirm
|
|
4885
5285
|
</button>
|
|
4886
5286
|
</div>
|
|
@@ -4888,7 +5288,7 @@
|
|
|
4888
5288
|
</t>
|
|
4889
5289
|
|
|
4890
5290
|
<t t-name="o-spreadsheet-LinkDisplay">
|
|
4891
|
-
<div class="o-link-tool d-flex align-items-center
|
|
5291
|
+
<div class="o-link-tool d-flex align-items-center rounded">
|
|
4892
5292
|
<!-- t-key to prevent owl from re-using the previous img element when the link changes.
|
|
4893
5293
|
The wrong/previous image would be displayed while the new one loads -->
|
|
4894
5294
|
<img
|
|
@@ -4903,7 +5303,7 @@
|
|
|
4903
5303
|
target="_blank"
|
|
4904
5304
|
t-on-click.prevent="openLink"
|
|
4905
5305
|
t-att-title="link.url">
|
|
4906
|
-
<t t-
|
|
5306
|
+
<t t-out="getUrlRepresentation(link)"/>
|
|
4907
5307
|
</a>
|
|
4908
5308
|
<a
|
|
4909
5309
|
t-else=""
|
|
@@ -4911,7 +5311,7 @@
|
|
|
4911
5311
|
t-on-click.prevent="openLink"
|
|
4912
5312
|
t-on-auxclick.prevent="openLink"
|
|
4913
5313
|
t-att-title="getUrlRepresentation(link)">
|
|
4914
|
-
<t t-
|
|
5314
|
+
<t t-out="getUrlRepresentation(link)"/>
|
|
4915
5315
|
</a>
|
|
4916
5316
|
<span
|
|
4917
5317
|
t-if="!env.model.getters.isReadonly()"
|
|
@@ -4931,7 +5331,7 @@
|
|
|
4931
5331
|
</t>
|
|
4932
5332
|
|
|
4933
5333
|
<t t-name="o-spreadsheet-Icon.CLEAR_AND_RELOAD">
|
|
4934
|
-
<svg class="o-icon">
|
|
5334
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4935
5335
|
<path
|
|
4936
5336
|
fill="currentColor"
|
|
4937
5337
|
d="M14 15H4V3h6v3h4M4 1.5A1.5 1.5 0 0 0 2.5 3v12a1.5 1.5 0 0 0 1.4 1.5h10a1.5 1.5 0 0 0 1.5-1.5V5l-3.5-3.5
|
|
@@ -4940,7 +5340,7 @@
|
|
|
4940
5340
|
</svg>
|
|
4941
5341
|
</t>
|
|
4942
5342
|
<t t-name="o-spreadsheet-Icon.EXPORT_XLSX">
|
|
4943
|
-
<svg class="o-icon">
|
|
5343
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4944
5344
|
<path
|
|
4945
5345
|
fill="currentColor"
|
|
4946
5346
|
d="M0 1a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1m4-4V1H1v3m7 0V1H5v3M4 8V5H1v3m7 0V5H5v3m-3.5 2h2v4h3v-1.5l3 2.5-3 2.5V16h-5m9.5-6h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1m1.7 7 1.3-2 1.3 2h2l-2-3 2-3h-2L14 13l-1.3-2h-2l2 3-2 3"
|
|
@@ -4948,7 +5348,7 @@
|
|
|
4948
5348
|
</svg>
|
|
4949
5349
|
</t>
|
|
4950
5350
|
<t t-name="o-spreadsheet-Icon.OPEN_READ_ONLY">
|
|
4951
|
-
<svg class="o-icon">
|
|
5351
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4952
5352
|
<path
|
|
4953
5353
|
fill="currentColor"
|
|
4954
5354
|
d="M13 7V5c0-2.5-2-4-4-4S5 2.5 5 5v2h-.5C3.5 7 3 7.5 3 8.5v7c0 1 .5 1.5 1.5 1.5h9c1 0 1.5-.5 1.5-1.5v-7c0-1-.5-1.5-1.5-1.5m-7-2c0-1.5 1-2.5 2.5-2.5s2.5 1 2.5 2.5v2h-5V5m1 7a1.5 1.5 0 0 1 3 0 1.5 1.5 0 0 1-3 0"
|
|
@@ -4956,7 +5356,7 @@
|
|
|
4956
5356
|
</svg>
|
|
4957
5357
|
</t>
|
|
4958
5358
|
<t t-name="o-spreadsheet-Icon.OPEN_DASHBOARD">
|
|
4959
|
-
<svg class="o-icon">
|
|
5359
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4960
5360
|
<path
|
|
4961
5361
|
fill="currentColor"
|
|
4962
5362
|
d="M13 2.07A8 8 0 1 0 15.93 5L14.2 6A6 6 0 1 1 12 3.8m-2 3.47a2 2 0 1 0 .73.73l5.5-5.5-.6-.6M9.3 3.8a.6.6 0 1 1-.01-.01m1.81.51a.6.6 0 1 1-.01-.01M7.5 4.3a.6.6 0 1 1-.01-.01M5.9 5.4a.6.6 0 1 1-.01-.01M4.8 6.9a.6.6 0 1 1-.01-.01m8.71.61a.6.6 0 1 0-.01 0"
|
|
@@ -4964,7 +5364,7 @@
|
|
|
4964
5364
|
</svg>
|
|
4965
5365
|
</t>
|
|
4966
5366
|
<t t-name="o-spreadsheet-Icon.OPEN_READ_WRITE">
|
|
4967
|
-
<svg class="o-icon">
|
|
5367
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4968
5368
|
<path
|
|
4969
5369
|
fill="currentColor"
|
|
4970
5370
|
d="M13 7V5a4 4 0 0 0-8 0v2h-.5C3.5 7 3 7.5 3 8.5v7c0 1 .5 1.5 1.5 1.5h9c1 0 1.5-.5 1.5-1.5v-7c0-1-.5-1.5-1.5-1.5m-7-2a2 2 0 0 1 5 0v2h-5m1 5a1.5 1.5 0 0 1 3 0 1.5 1.5 0 0 1-3 0m6 3.5h-9v-7h9"
|
|
@@ -4972,7 +5372,7 @@
|
|
|
4972
5372
|
</svg>
|
|
4973
5373
|
</t>
|
|
4974
5374
|
<t t-name="o-spreadsheet-Icon.IMPORT_XLSX">
|
|
4975
|
-
<svg class="o-icon">
|
|
5375
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4976
5376
|
<path
|
|
4977
5377
|
fill="currentColor"
|
|
4978
5378
|
d="M9 10a1 1 0 0 1 1-1h7a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1m4-4v-3h-3v3m7 0v-3h-3v3m-1 4v-3h-3v3m7 0v-3h-3v3M.5 9h2v4h3v-1.5l3 2.5-3 2.5V15h-5M1 0h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1m1.7 7L4 5l1.3 2h2l-2-3 2-3h-2L4 3 2.7 1h-2l2 3-2 3"
|
|
@@ -4980,7 +5380,7 @@
|
|
|
4980
5380
|
</svg>
|
|
4981
5381
|
</t>
|
|
4982
5382
|
<t t-name="o-spreadsheet-Icon.UNDO">
|
|
4983
|
-
<svg class="o-icon">
|
|
5383
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4984
5384
|
<path
|
|
4985
5385
|
fill="currentColor"
|
|
4986
5386
|
d="M5.43 9.43 8 12H1V5l2.96 2.958A8.29 8.29 0 0 1 9.32 6c3.46 0 6.42 2.11 7.68 5l-2 1c-.94-2.39-3.13-3.92-5.68-4a6.57 6.57 0 0 0-3.89 1.43"
|
|
@@ -4988,7 +5388,7 @@
|
|
|
4988
5388
|
</svg>
|
|
4989
5389
|
</t>
|
|
4990
5390
|
<t t-name="o-spreadsheet-Icon.REDO">
|
|
4991
|
-
<svg class="o-icon">
|
|
5391
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4992
5392
|
<path
|
|
4993
5393
|
fill="currentColor"
|
|
4994
5394
|
d="M12.57 9.43 10 12h7V5l-2.96 2.96A8.29 8.29 0 0 0 8.68 6C5.22 6 2.26 8.11 1 11l2 1c.94-2.39 3.13-3.92 5.68-4a6.58 6.58 0 0 1 3.89 1.43"
|
|
@@ -5006,7 +5406,7 @@
|
|
|
5006
5406
|
</div>
|
|
5007
5407
|
</t>
|
|
5008
5408
|
<t t-name="o-spreadsheet-Icon.CUT">
|
|
5009
|
-
<svg class="o-icon">
|
|
5409
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5010
5410
|
<path
|
|
5011
5411
|
fill="currentColor"
|
|
5012
5412
|
d="M3 2v2l4.5 5-1.2 1.3c-.4-.2-.8-.3-1.3-.3-1.7 0-3 1.3-3 3s1.3 3 3 3 3-1.3 3-3c0-.5-.1-.9-.3-1.3L9 10.4l1.3 1.3c-.2.4-.3.8-.3 1.3 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-3-3-3c-.5 0-.9.1-1.3.3L10.4 9 15 4.4V2h-.4L9 7.6 3.4 2H3Zm2 12.5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5Zm9.5-1.5c0 .8-.7 1.5-1.5 1.5s-1.5-.7-1.5-1.5.7-1.5 1.5-1.5 1.5.7 1.5 1.5ZM9 8.5c.3 0 .5.2.5.5s-.2.5-.5.5-.5-.2-.5-.5.2-.5.5-.5"
|
|
@@ -5014,7 +5414,7 @@
|
|
|
5014
5414
|
</svg>
|
|
5015
5415
|
</t>
|
|
5016
5416
|
<t t-name="o-spreadsheet-Icon.COPY_AS_IMAGE">
|
|
5017
|
-
<svg class="o-icon">
|
|
5417
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5018
5418
|
<path
|
|
5019
5419
|
fill="currentColor"
|
|
5020
5420
|
d="m 14,15 v 1.5 H 2.5147386 c -0.5522847,0 -1,-0.447715 -1,-1 V 3 H 3 V 14 c 0,0.552285 0.4477153,1 1,1 h 10"
|
|
@@ -5027,7 +5427,7 @@
|
|
|
5027
5427
|
</svg>
|
|
5028
5428
|
</t>
|
|
5029
5429
|
<t t-name="o-spreadsheet-Icon.PASTE">
|
|
5030
|
-
<svg class="o-icon">
|
|
5430
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5031
5431
|
<path
|
|
5032
5432
|
fill="currentColor"
|
|
5033
5433
|
d="M14.5 2.5H11C10.7 1.6 10 1 9 1s-1.5.5-2 1.5H3.5C2.5 2.5 2 3 2 4v11c0 1 .5 1.5 1.5 1.5h11c1 0 1.5-.5 1.5-1.5V4c0-1-.5-1.5-1.5-1.5Zm-4.75.75c0 .5-.34.75-.75.75s-.75-.34-.75-.75.34-.75.75-.75.75.34.75.75ZM14.5 15h-11V4H5v2.5h8V4h1.5v11"
|
|
@@ -5035,7 +5435,7 @@
|
|
|
5035
5435
|
</svg>
|
|
5036
5436
|
</t>
|
|
5037
5437
|
<t t-name="o-spreadsheet-Icon.CLEAR">
|
|
5038
|
-
<svg class="o-icon">
|
|
5438
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5039
5439
|
<path
|
|
5040
5440
|
fill="currentColor"
|
|
5041
5441
|
d="M1.5 15a.75.75 0 0 0 0 1.5h15a.75.75 0 0 0 0-1.5M5.3 12.75c.1.1.3.2.5.2h4c.2 0 .4-.1.5-.2l5.5-5.5c.2-.3.2-.6 0-.8l-4.4-4.4c-.3-.2-.6-.2-.8 0l-4.8 4.8c-2.7 2.9-3.1 2.8-2.4 4M7 7.25l3.6 3.6-1 1-3.6.1-1.8-1.9"
|
|
@@ -5043,7 +5443,7 @@
|
|
|
5043
5443
|
</svg>
|
|
5044
5444
|
</t>
|
|
5045
5445
|
<t t-name="o-spreadsheet-Icon.FREEZE">
|
|
5046
|
-
<svg class="o-icon">
|
|
5446
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5047
5447
|
<path
|
|
5048
5448
|
fill="currentColor"
|
|
5049
5449
|
d="M.5 17.5h16a1 1 0 0 0 1-1v-15a1 1 0 0 0-1-1h-15a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1m9-10.5v4.5H6V7m0 9v-3.5h4.5V16M5 16H3.5L5 14.5M5 13l-3 3v-1.5l3-3M2 13v-2l3-3v2m-3-.5v-2l3-3v2M2 6V4l2-2h1v1m11 13h-4.5v-3.5H16m0-1h-4.5V7H16m0-5v4h-4.5V2m-1 4H6V2h4.5"
|
|
@@ -5051,7 +5451,7 @@
|
|
|
5051
5451
|
</svg>
|
|
5052
5452
|
</t>
|
|
5053
5453
|
<t t-name="o-spreadsheet-Icon.UNFREEZE">
|
|
5054
|
-
<svg class="o-icon">
|
|
5454
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5055
5455
|
<path
|
|
5056
5456
|
fill="currentColor"
|
|
5057
5457
|
d="M.5 17.5h16a1 1 0 0 0 1-1v-15a1 1 0 0 0-1-1h-15a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1M5 6H2V2h3m0 9.5H2V7h3m0 9H2v-3.5h3M10.5 7v4.5H6V7m0 9v-3.5h4.5V16m5.5 0h-4.5v-3.5H16m0-1h-4.5V7H16m0-5v4h-4.5V2m-1 4H6V2h4.5"
|
|
@@ -5064,7 +5464,7 @@
|
|
|
5064
5464
|
</div>
|
|
5065
5465
|
</t>
|
|
5066
5466
|
<t t-name="o-spreadsheet-Icon.FORMULA">
|
|
5067
|
-
<svg class="o-icon">
|
|
5467
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5068
5468
|
<path
|
|
5069
5469
|
fill="currentColor"
|
|
5070
5470
|
d="M7 14.25q-.25.75-.75 1.25T5 16q-.75 0-1.5-.5Q3 15 3 14.25q0-.5.25-.75t.75-.25q.25 0 .25.75v.5H5q.5 0 .5-.5l1.25-6.5H5V6h2l.5-2.25q.25-.75.75-1.25T9.5 2q1 0 1.5.5t.5 1q0 .5-.25.75t-.5.25q-.5 0-.75-.25t-.25-.5V3H9.5q-.25 0-.5.5L8.5 6H10v1.5H8.25m1.25 1H15v1h-4l2 2-2 2h4v1H9V14l2.5-2.5L9 9"
|
|
@@ -5072,7 +5472,7 @@
|
|
|
5072
5472
|
</svg>
|
|
5073
5473
|
</t>
|
|
5074
5474
|
<t t-name="o-spreadsheet-Icon.HIDE_ROW">
|
|
5075
|
-
<svg class="o-icon">
|
|
5475
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5076
5476
|
<path
|
|
5077
5477
|
fill="currentColor"
|
|
5078
5478
|
d="M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2H2v3.5h14V2H2v9h14V7H2v9h14v-3.5H2M1 12l4-5h2l-4 5m2 0 4-5h2l-4 5m2 0 4-5h2l-4 5m2 0 4-5v4"
|
|
@@ -5080,7 +5480,7 @@
|
|
|
5080
5480
|
</svg>
|
|
5081
5481
|
</t>
|
|
5082
5482
|
<t t-name="o-spreadsheet-Icon.UNHIDE_ROW">
|
|
5083
|
-
<svg class="o-icon">
|
|
5483
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5084
5484
|
<path
|
|
5085
5485
|
fill="currentColor"
|
|
5086
5486
|
d="M17.5 16a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2zH16v-3.5H2V16h14V2H2v3.5h14"
|
|
@@ -5088,7 +5488,7 @@
|
|
|
5088
5488
|
</svg>
|
|
5089
5489
|
</t>
|
|
5090
5490
|
<t t-name="o-spreadsheet-Icon.HIDE_COL">
|
|
5091
|
-
<svg class="o-icon">
|
|
5491
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5092
5492
|
<path
|
|
5093
5493
|
fill="currentColor"
|
|
5094
5494
|
d="M16 .5A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2A1.5 1.5 0 0 1 2 .5h14V2h-3.5v14H16V2H7v14h4V2H2v14h3.5V2M6 1l5 4v2L6 3m0 2 5 4v2L6 7m0 2 5 4v2l-5-4"
|
|
@@ -5096,7 +5496,7 @@
|
|
|
5096
5496
|
</svg>
|
|
5097
5497
|
</t>
|
|
5098
5498
|
<t t-name="o-spreadsheet-Icon.UNHIDE_COL">
|
|
5099
|
-
<svg class="o-icon">
|
|
5499
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5100
5500
|
<path
|
|
5101
5501
|
fill="currentColor"
|
|
5102
5502
|
d="M16 .5A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2A1.5 1.5 0 0 1 2 .5h14V2h-3.5v14H16V2H2V16h3.5V2"
|
|
@@ -5104,7 +5504,7 @@
|
|
|
5104
5504
|
</svg>
|
|
5105
5505
|
</t>
|
|
5106
5506
|
<t t-name="o-spreadsheet-Icon.INSERT_ROW">
|
|
5107
|
-
<svg class="o-icon">
|
|
5507
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5108
5508
|
<path
|
|
5109
5509
|
fill="currentColor"
|
|
5110
5510
|
d="M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2H2v3.5h14V2H2v9h14V7H2v9h14v-3.5H2"
|
|
@@ -5112,7 +5512,7 @@
|
|
|
5112
5512
|
</svg>
|
|
5113
5513
|
</t>
|
|
5114
5514
|
<t t-name="o-spreadsheet-Icon.INSERT_ROW_BEFORE">
|
|
5115
|
-
<svg class="o-icon">
|
|
5515
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5116
5516
|
<path
|
|
5117
5517
|
fill="currentColor"
|
|
5118
5518
|
d="M3.5 14.5A1.5 1.5 0 0 0 5 16h10a1.5 1.5 0 0 0 1.5-1.5v-7h-3V5h3V1.5A1.5 1.5 0 0 0 15 0H5a1.5 1.5 0 0 0-1.5 1.5v2h-3V9h3M15 12.5v2H5v-2M15 9v2H5V9m10-7.5v2H5v-2M12 5v2.5H2V5"
|
|
@@ -5120,7 +5520,7 @@
|
|
|
5120
5520
|
</svg>
|
|
5121
5521
|
</t>
|
|
5122
5522
|
<t t-name="o-spreadsheet-Icon.INSERT_ROW_AFTER">
|
|
5123
|
-
<svg class="o-icon">
|
|
5523
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5124
5524
|
<path
|
|
5125
5525
|
fill="currentColor"
|
|
5126
5526
|
d="M3.5 1.5A1.5 1.5 0 0 1 5 0h10a1.5 1.5 0 0 1 1.5 1.5v7h-3V11h3v3.5A1.5 1.5 0 0 1 15 16H5a1.5 1.5 0 0 1-1.5-1.5v-2h-3V7h3M15 3.5v-2H5v2M15 7V5H5v2m10 7.5v-2H5v2m7-3.5V8.5H2V11"
|
|
@@ -5128,7 +5528,7 @@
|
|
|
5128
5528
|
</svg>
|
|
5129
5529
|
</t>
|
|
5130
5530
|
<t t-name="o-spreadsheet-Icon.INSERT_COL">
|
|
5131
|
-
<svg class="o-icon">
|
|
5531
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5132
5532
|
<path
|
|
5133
5533
|
fill="currentColor"
|
|
5134
5534
|
d="M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2H2v14h3.5V2H2h5v14h4V2H2h10.5v14H16V2H2"
|
|
@@ -5136,7 +5536,7 @@
|
|
|
5136
5536
|
</svg>
|
|
5137
5537
|
</t>
|
|
5138
5538
|
<t t-name="o-spreadsheet-Icon.INSERT_COL_AFTER">
|
|
5139
|
-
<svg class="o-icon">
|
|
5539
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5140
5540
|
<path
|
|
5141
5541
|
fill="currentColor"
|
|
5142
5542
|
d="M2.5 3A1.5 1.5 0 0 0 1 4.5v10A1.5 1.5 0 0 0 2.5 16h7v-3H12v3h3.5a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 15.5 3h-2V0H8v3M4.5 14.5h-2v-10h2m3.5 10H6v-10h2m7.5 10h-2v-10h2m-3.5 7H9.5v-10H12"
|
|
@@ -5144,7 +5544,7 @@
|
|
|
5144
5544
|
</svg>
|
|
5145
5545
|
</t>
|
|
5146
5546
|
<t t-name="o-spreadsheet-Icon.INSERT_COL_BEFORE">
|
|
5147
|
-
<svg class="o-icon">
|
|
5547
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5148
5548
|
<path
|
|
5149
5549
|
fill="currentColor"
|
|
5150
5550
|
d="M15.5 3A1.5 1.5 0 0 1 17 4.5v10a1.5 1.5 0 0 1-1.5 1.5h-7v-3H6v3H2.5A1.5 1.5 0 0 1 1 14.5v-10A1.5 1.5 0 0 1 2.5 3h2V0H10v3m3.5 11.5h2v-10h-2m-3.5 10h2v-10h-2m-7.5 10h2v-10h-2m3.5 7h2.5v-10H6"
|
|
@@ -5152,7 +5552,7 @@
|
|
|
5152
5552
|
</svg>
|
|
5153
5553
|
</t>
|
|
5154
5554
|
<t t-name="o-spreadsheet-Icon.INSERT_CELL">
|
|
5155
|
-
<svg class="o-icon">
|
|
5555
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5156
5556
|
<path
|
|
5157
5557
|
fill="currentColor"
|
|
5158
5558
|
d="M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v14a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2H2v14h14V2H2"
|
|
@@ -5160,7 +5560,7 @@
|
|
|
5160
5560
|
</svg>
|
|
5161
5561
|
</t>
|
|
5162
5562
|
<t t-name="o-spreadsheet-Icon.INSERT_CELL_SHIFT_DOWN">
|
|
5163
|
-
<svg class="o-icon">
|
|
5563
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5164
5564
|
<path
|
|
5165
5565
|
fill="currentColor"
|
|
5166
5566
|
d="M5 2.5A1.5 1.5 0 0 1 6.5 1h10A1.5 1.5 0 0 1 18 2.5v13a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 5 15.5v-5h5.25v-3H5m11.5-2v-3h-4.75v3m-1.5 0v-3H6.5v3m10 5v-3h-4.75v3m-1.5 5v-3H6.5v3m10 0v-3h-4.75v3M0 12.5l2.5 4 2.5-4H3.25v-6h-1.5v6"
|
|
@@ -5168,7 +5568,7 @@
|
|
|
5168
5568
|
</svg>
|
|
5169
5569
|
</t>
|
|
5170
5570
|
<t t-name="o-spreadsheet-Icon.INSERT_CELL_SHIFT_RIGHT">
|
|
5171
|
-
<svg class="o-icon">
|
|
5571
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5172
5572
|
<path
|
|
5173
5573
|
fill="currentColor"
|
|
5174
5574
|
d="M2.5 5A1.5 1.5 0 0 0 1 6.5v10A1.5 1.5 0 0 0 2.5 18h13a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 15.5 5h-5v5.25h-3V5m-2 11.5h-3v-4.75h3m0-1.5h-3V6.5h3m5 10h-3v-4.75h3m5-1.5h-3V6.5h3m0 10h-3v-4.75h3M12.5 0l4 2.5-4 2.5V3.25h-6v-1.5h6"
|
|
@@ -5176,7 +5576,7 @@
|
|
|
5176
5576
|
</svg>
|
|
5177
5577
|
</t>
|
|
5178
5578
|
<t t-name="o-spreadsheet-Icon.DELETE_CELL_SHIFT_UP">
|
|
5179
|
-
<svg class="o-icon">
|
|
5579
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5180
5580
|
<path
|
|
5181
5581
|
fill="currentColor"
|
|
5182
5582
|
d="M5 2.5A1.5 1.5 0 0 1 6.5 1h10A1.5 1.5 0 0 1 18 2.5v13a1.5 1.5 0 0 1-1.5 1.5h-10A1.5 1.5 0 0 1 5 15.5v-5h5.25v-3H5m11.5-2v-3h-4.75v3m-1.5 0v-3H6.5v3m10 5v-3h-4.75v3m-1.5 5v-3H6.5v3m10 0v-3h-4.75v3M0 10l2.5-4L5 10H3.25v6h-1.5v-6"
|
|
@@ -5184,7 +5584,7 @@
|
|
|
5184
5584
|
</svg>
|
|
5185
5585
|
</t>
|
|
5186
5586
|
<t t-name="o-spreadsheet-Icon.DELETE_CELL_SHIFT_LEFT">
|
|
5187
|
-
<svg class="o-icon">
|
|
5587
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5188
5588
|
<path
|
|
5189
5589
|
fill="currentColor"
|
|
5190
5590
|
d="M2.5 5A1.5 1.5 0 0 0 1 6.5v10A1.5 1.5 0 0 0 2.5 18h13a1.5 1.5 0 0 0 1.5-1.5v-10A1.5 1.5 0 0 0 15.5 5h-5v5.25h-3V5m-2 11.5h-3v-4.75h3m0-1.5h-3V6.5h3m5 10h-3v-4.75h3m5-1.5h-3V6.5h3m0 10h-3v-4.75h3M10 0 6 2.5 10 5V3.25h6v-1.5h-6"
|
|
@@ -5212,7 +5612,7 @@
|
|
|
5212
5612
|
</div>
|
|
5213
5613
|
</t>
|
|
5214
5614
|
<t t-name="o-spreadsheet-Icon.INSERT_DROPDOWN">
|
|
5215
|
-
<svg class="o-icon">
|
|
5615
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5216
5616
|
<path
|
|
5217
5617
|
fill="currentColor"
|
|
5218
5618
|
d="M6 3.5a5 5.5 0 0 0 0 11h6a5 5.5 0 0 0 0-11H6V5h6a3.5 4 0 0 1 0 8H6a3.5 4 0 0 1 0-8m5 6 3-3H8"
|
|
@@ -5220,14 +5620,14 @@
|
|
|
5220
5620
|
</svg>
|
|
5221
5621
|
</t>
|
|
5222
5622
|
<t t-name="o-spreadsheet-Icon.INSERT_SHEET">
|
|
5223
|
-
<svg class="o-icon" fill="currentColor">
|
|
5623
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5224
5624
|
<path
|
|
5225
5625
|
d="M17.5 5.5V16a1.5 1.5 0 0 1-1.5 1.5H2A1.5 1.5 0 0 1 .5 16V2A1.5 1.5 0 0 1 2 .5h10.5M2 5.5h3.5V2H2m5.25 3.5h3.5V2h-3.5M2 10.75h3.5v-3.5H2m5.25 3.5h3.5v-3.5h-3.5m5.25 3.5H16v-3.5h-3.5M2 16h3.5v-3.5H2M7.25 16h3.5v-3.5h-3.5M12.5 16H16v-3.5h-3.5"
|
|
5226
5626
|
/>
|
|
5227
5627
|
</svg>
|
|
5228
5628
|
</t>
|
|
5229
5629
|
<t t-name="o-spreadsheet-Icon.PAINT_FORMAT">
|
|
5230
|
-
<svg class="o-icon">
|
|
5630
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5231
5631
|
<path
|
|
5232
5632
|
fill="currentColor"
|
|
5233
5633
|
d="M9,0 L1,0 C0.45,0 0,0.45 0,1 L0,4 C0,4.55 0.45,5 1,5 L9,5 C9.55,5 10,4.55 10,4 L10,3 L11,3 L11,6 L4,6 L4,14 L6,14 L6,8 L13,8 L13,2 L10,2 L10,1 C10,0.45 9.55,0 9,0 Z"
|
|
@@ -5236,7 +5636,7 @@
|
|
|
5236
5636
|
</svg>
|
|
5237
5637
|
</t>
|
|
5238
5638
|
<t t-name="o-spreadsheet-Icon.CONDITIONAL_FORMAT">
|
|
5239
|
-
<svg class="o-icon">
|
|
5639
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5240
5640
|
<path
|
|
5241
5641
|
fill="currentColor"
|
|
5242
5642
|
d="M12.25.5c2 0 3.5 1.5 3.5 3.5v6.5c0 .5 0 2-2 2h-2.5v4c0 .5-.5 1-1 1h-2.5c-.5 0-1-.5-1-1v-4h-2.5c-1 0-2-1-2-2V.5m12 3a1.5 1.5 0 0 0-1.5-1.5h-3v2h-1.5V2h-1v4h-2V2h-1.5v8.5h10.5m-12-3h12.5V9H2.25"
|
|
@@ -5244,7 +5644,7 @@
|
|
|
5244
5644
|
</svg>
|
|
5245
5645
|
</t>
|
|
5246
5646
|
<t t-name="o-spreadsheet-Icon.CLEAR_FORMAT">
|
|
5247
|
-
<svg class="o-icon">
|
|
5647
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5248
5648
|
<path
|
|
5249
5649
|
fill="currentColor"
|
|
5250
5650
|
d="M2.12 4.05 7.28 9.2l-2.43 5.3h2.5l1.64-3.58 4.59 4.58 1.27-1.27L3.4 2.77 2.12 4.05ZM5.67 2.5l2 2h1.76l-.55 1.21 1.71 1.71 1.34-2.92h3.92v-2H5.67"
|
|
@@ -5252,7 +5652,7 @@
|
|
|
5252
5652
|
</svg>
|
|
5253
5653
|
</t>
|
|
5254
5654
|
<t t-name="o-spreadsheet-Icon.BOLD">
|
|
5255
|
-
<svg class="o-icon">
|
|
5655
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5256
5656
|
<path
|
|
5257
5657
|
fill="currentColor"
|
|
5258
5658
|
d="M13.5 6.5C13.5 4.57 11.93 3 10 3H4.5v12h6.25c1.79 0 3.25-1.46 3.25-3.25 0-1.3-.77-2.41-1.87-2.93.83-.58 1.37-1.44 1.37-2.32M9.5 5c.83 0 1.5.67 1.5 1.5S10.33 8 9.5 8h-2V5h2m-2 8v-3H10c.83 0 1.5.67 1.5 1.5S10.83 13 10 13H7.5"
|
|
@@ -5260,12 +5660,12 @@
|
|
|
5260
5660
|
</svg>
|
|
5261
5661
|
</t>
|
|
5262
5662
|
<t t-name="o-spreadsheet-Icon.ITALIC">
|
|
5263
|
-
<svg class="o-icon">
|
|
5663
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5264
5664
|
<path fill="currentColor" d="M7 3v2h2.58l-3.66 8H3v2h8v-2H8.42l3.66-8H15V3"/>
|
|
5265
5665
|
</svg>
|
|
5266
5666
|
</t>
|
|
5267
5667
|
<t t-name="o-spreadsheet-Icon.UNDERLINE">
|
|
5268
|
-
<svg class="o-icon">
|
|
5668
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5269
5669
|
<path
|
|
5270
5670
|
fill="currentColor"
|
|
5271
5671
|
d="M9 15c2.76 0 5-2.24 5-5V3h-2v7c0 1.75-1.5 3-3 3s-3-1.242-3-3V3H4v7c0 2.76 2.24 5 5 5Zm-6 1v2h12v-2H3"
|
|
@@ -5273,7 +5673,7 @@
|
|
|
5273
5673
|
</svg>
|
|
5274
5674
|
</t>
|
|
5275
5675
|
<t t-name="o-spreadsheet-Icon.STRIKE">
|
|
5276
|
-
<svg class="o-icon">
|
|
5676
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5277
5677
|
<path
|
|
5278
5678
|
fill="currentColor"
|
|
5279
5679
|
d="M4.89 6.06c0-.46.1-.87.3-1.25.2-.38.46-.7.84-.97s.78-.47 1.28-.62A5.71 5.71 0 0 1 8.93 3c.61 0 1.16.08 1.65.25.5.17.92.4 1.27.7.35.3.62.66.81 1.07.19.41.28.87.28 1.36h-2.26a1.85 1.85 0 0 0-.11-.64 1.26 1.26 0 0 0-.33-.51 1.53 1.53 0 0 0-.56-.33A2.42 2.42 0 0 0 8.89 4.8c-.3 0-.55.03-.77.1a1.52 1.52 0 0 0-.54.27 1.14 1.14 0 0 0-.43.9c0 .36.18.66.55.91l.06.04C8.02 7.19 8.5 7.5 9 8H6s-.79-.62-.82-.69c-.19-.36-.29-.77-.29-1.25M16 9H2v2h7.22c.14.05.3.1.41.15.28.12.5.26.65.38.16.13.26.27.32.42.06.15.08.33.08.51 0 .18-.03.34-.1.49a1.02 1.02 0 0 1-.31.39 1.6 1.6 0 0 1-.53.26 2.71 2.71 0 0 1-.76.09c-.33 0-.62-.03-.89-.1a1.8 1.8 0 0 1-.68-.31 1.45 1.45 0 0 1-.44-.56c-.11-.23-.19-.57-.19-.74H4.55c0 .25.06.69.18 1.02a3.15 3.15 0 0 0 1.22 1.6c.28.2.58.36.92.49.33.13.67.23 1.04.29.36.06.72.09 1.08.09.6 0 1.15-.07 1.64-.21a3.88 3.88 0 0 0 1.25-.59 2.69 2.69 0 0 0 .8-.95c.19-.38.28-.81.28-1.29 0-.45-.08-.86-.23-1.211a2.26 2.26 0 0 0-.13-.25L16 11V9"
|
|
@@ -5281,7 +5681,7 @@
|
|
|
5281
5681
|
</svg>
|
|
5282
5682
|
</t>
|
|
5283
5683
|
<t t-name="o-spreadsheet-Icon.TEXT_COLOR">
|
|
5284
|
-
<svg class="o-icon">
|
|
5684
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5285
5685
|
<path
|
|
5286
5686
|
fill="currentColor"
|
|
5287
5687
|
d="M10 1H8L3.5 13h2l1.12-3h4.75l1.12 3h2L10 1ZM7.38 8 9 3.67 10.62 8H7.38"
|
|
@@ -5289,7 +5689,7 @@
|
|
|
5289
5689
|
</svg>
|
|
5290
5690
|
</t>
|
|
5291
5691
|
<t t-name="o-spreadsheet-Icon.FILL_COLOR">
|
|
5292
|
-
<svg class="o-icon">
|
|
5692
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5293
5693
|
<path
|
|
5294
5694
|
fill="currentColor"
|
|
5295
5695
|
d="M14.5 8.87S13 10.49 13 11.49c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.99-1.5-2.62-1.5-2.62m-1.79-2.08L5.91 0 4.85 1.06l1.59 1.59-4.15 4.14a.996.996 0 0 0 0 1.41l4.5 4.5c.2.2.45.3.71.3.26 0 .51-.1.71-.29l4.5-4.5c.39-.39.39-1.03 0-1.42M4.21 7 7.5 3.71 10.79 7H4.21"
|
|
@@ -5297,7 +5697,7 @@
|
|
|
5297
5697
|
</svg>
|
|
5298
5698
|
</t>
|
|
5299
5699
|
<t t-name="o-spreadsheet-Icon.MERGE_CELL">
|
|
5300
|
-
<svg class="o-icon">
|
|
5700
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5301
5701
|
<path
|
|
5302
5702
|
fill="currentColor"
|
|
5303
5703
|
d="M3 6H1V2h7v2H3v2m7-2V2h7v4h-2V4h-5m0 10h5v-2h2v4h-7v-2m-9-2h2v2h5v2H1v-4m0-4h4V6l3 3-3 3v-2H1V8m9 1 3-3v2h4v2h-4v2l-3-3"
|
|
@@ -5305,12 +5705,12 @@
|
|
|
5305
5705
|
</svg>
|
|
5306
5706
|
</t>
|
|
5307
5707
|
<t t-name="o-spreadsheet-Icon.ALIGN_LEFT">
|
|
5308
|
-
<svg class="o-icon align-left">
|
|
5708
|
+
<svg class="o-icon align-left" viewBox="0 0 18 18">
|
|
5309
5709
|
<path fill="currentColor" d="M2 16h10v-2H2v2M12 6H2v2h10V6M2 2v2h14V2H2m0 10h14v-2H2v2"/>
|
|
5310
5710
|
</svg>
|
|
5311
5711
|
</t>
|
|
5312
5712
|
<t t-name="o-spreadsheet-Icon.ALIGN_CENTER">
|
|
5313
|
-
<svg class="o-icon align-center">
|
|
5713
|
+
<svg class="o-icon align-center" viewBox="0 0 18 18">
|
|
5314
5714
|
<path fill="currentColor" d="M4 14v2h10v-2H4m0-8v2h10V6H4m-2 6h14v-2H2v2M2 2v2h14V2H2"/>
|
|
5315
5715
|
</svg>
|
|
5316
5716
|
</t>
|
|
@@ -5320,17 +5720,17 @@
|
|
|
5320
5720
|
</div>
|
|
5321
5721
|
</t>
|
|
5322
5722
|
<t t-name="o-spreadsheet-Icon.ALIGN_RIGHT">
|
|
5323
|
-
<svg class="o-icon align-right">
|
|
5723
|
+
<svg class="o-icon align-right" viewBox="0 0 18 18">
|
|
5324
5724
|
<path fill="currentColor" d="M6 16h10v-2H6v2m-4-4h14v-2H2v2M2 2v2h14V2H2m4 6h10V6H6v2"/>
|
|
5325
5725
|
</svg>
|
|
5326
5726
|
</t>
|
|
5327
5727
|
<t t-name="o-spreadsheet-Icon.ALIGN_TOP">
|
|
5328
|
-
<svg class="o-icon align-top">
|
|
5728
|
+
<svg class="o-icon align-top" viewBox="0 0 18 18">
|
|
5329
5729
|
<path d="M3 2h12v2H3m2.5 5H8v7h2V9h2.5L9 5.5" fill="currentColor"/>
|
|
5330
5730
|
</svg>
|
|
5331
5731
|
</t>
|
|
5332
5732
|
<t t-name="o-spreadsheet-Icon.ALIGN_MIDDLE">
|
|
5333
|
-
<svg class="o-icon align-middle">
|
|
5733
|
+
<svg class="o-icon align-middle" viewBox="0 0 18 18">
|
|
5334
5734
|
<path
|
|
5335
5735
|
d="M12.5 3H10V0H8v3H5.5L9 6.5M5.5 15H8v3h2v-3h2.5L9 11.5M3 8v2h12V8"
|
|
5336
5736
|
fill="currentColor"
|
|
@@ -5338,17 +5738,17 @@
|
|
|
5338
5738
|
</svg>
|
|
5339
5739
|
</t>
|
|
5340
5740
|
<t t-name="o-spreadsheet-Icon.ALIGN_BOTTOM">
|
|
5341
|
-
<svg class="o-icon align-bottom">
|
|
5741
|
+
<svg class="o-icon align-bottom" viewBox="0 0 18 18">
|
|
5342
5742
|
<path d="M5.5 9H8V2h2v7h2.5L9 12.5M3 14v2h12v-2" fill="currentColor"/>
|
|
5343
5743
|
</svg>
|
|
5344
5744
|
</t>
|
|
5345
5745
|
<t t-name="o-spreadsheet-Icon.WRAPPING_OVERFLOW">
|
|
5346
|
-
<svg class="o-icon wrapping-overflow">
|
|
5746
|
+
<svg class="o-icon wrapping-overflow" viewBox="0 0 18 18">
|
|
5347
5747
|
<path d="M13 8H6v2h7v2l3-3-3-3M2 2h2v14H2M9 2h2v4H9m0 6h2v4H9" fill="currentColor"/>
|
|
5348
5748
|
</svg>
|
|
5349
5749
|
</t>
|
|
5350
5750
|
<t t-name="o-spreadsheet-Icon.WRAPPING_WRAP">
|
|
5351
|
-
<svg class="o-icon wrapping-wrap">
|
|
5751
|
+
<svg class="o-icon wrapping-wrap" viewBox="0 0 18 18">
|
|
5352
5752
|
<path
|
|
5353
5753
|
fill="currentColor"
|
|
5354
5754
|
d="M6 5v2h3.75c.75 0 1.5.67 1.5 1.5 0 .75-.75 1.5-1.5 1.5H8V8l-3 3 3 3v-2h1.5c2 0 3.5-1.5 3.5-3.5S11.5 5 9.5 5M2 2h2v14H2M14 2M14,2,h2v14h-2"
|
|
@@ -5356,12 +5756,12 @@
|
|
|
5356
5756
|
</svg>
|
|
5357
5757
|
</t>
|
|
5358
5758
|
<t t-name="o-spreadsheet-Icon.WRAPPING_CLIP">
|
|
5359
|
-
<svg class="o-icon wrapping-clip">
|
|
5759
|
+
<svg class="o-icon wrapping-clip" viewBox="0 0 18 18">
|
|
5360
5760
|
<path fill="currentColor" d="M2 2h2v14H2M14 2h2v14h-2v-6H6V8h8"/>
|
|
5361
5761
|
</svg>
|
|
5362
5762
|
</t>
|
|
5363
5763
|
<t t-name="o-spreadsheet-Icon.BORDERS">
|
|
5364
|
-
<svg class="o-icon">
|
|
5764
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5365
5765
|
<path
|
|
5366
5766
|
fill="currentColor"
|
|
5367
5767
|
d="M2 2v14h14V2H2m6 12H4v-4h4v4m0-6H4V4h4v4m6 6h-4v-4h4v4m0-6h-4V4h4v4"
|
|
@@ -5369,7 +5769,7 @@
|
|
|
5369
5769
|
</svg>
|
|
5370
5770
|
</t>
|
|
5371
5771
|
<t t-name="o-spreadsheet-Icon.BORDER_HV">
|
|
5372
|
-
<svg class="o-icon" fill="currentColor">
|
|
5772
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5373
5773
|
<path
|
|
5374
5774
|
d="M2 16h2v-2H2v2M4 5H2v2h2V5m1 11h2v-2H5v2m8-14h-2v2h2V2M4 2H2v2h2V2m3 0H5v2h2V2M2 13h2v-2H2v2m9 3h2v-2h-2v2m3-14v2h2V2h-2m0 5h2V5h-2v2m0 9h2v-2h-2v2m0-3h2v-2h-2v2"
|
|
5375
5775
|
opacity=".54"
|
|
@@ -5378,7 +5778,7 @@
|
|
|
5378
5778
|
</svg>
|
|
5379
5779
|
</t>
|
|
5380
5780
|
<t t-name="o-spreadsheet-Icon.BORDER_H">
|
|
5381
|
-
<svg class="o-icon" fill="currentColor">
|
|
5781
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5382
5782
|
<path
|
|
5383
5783
|
d="M8 16h2v-2H8v2M5 4h2V2H5v2m3 9h2v-2H8v2m-3 3h2v-2H5v2M2 7h2V5H2v2m0 9h2v-2H2v2M2 4h2V2H2v2m0 9h2v-2H2v2m12 0h2v-2h-2v2m0 3h2v-2h-2v2m0-9h2V5h-2v2m0-5v2h2V2h-2M8 4h2V2H8v2m3 0h2V2h-2v2M8 7h2V5H8v2m3 9h2v-2h-2v2"
|
|
5384
5784
|
opacity=".54"
|
|
@@ -5387,7 +5787,7 @@
|
|
|
5387
5787
|
</svg>
|
|
5388
5788
|
</t>
|
|
5389
5789
|
<t t-name="o-spreadsheet-Icon.BORDER_V">
|
|
5390
|
-
<svg class="o-icon" fill="currentColor">
|
|
5790
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5391
5791
|
<path
|
|
5392
5792
|
d="M5 16h2v-2H5v2M2 7h2V5H2v2m0-3h2V2H2v2m3 6h2V8H5v2m0-6h2V2H5v2M2 16h2v-2H2v2m0-6h2V8H2v2m0 3h2v-2H2v2M14 2v2h2V2h-2m0 8h2V8h-2v2m0 6h2v-2h-2v2m0-9h2V5h-2v2m0 6h2v-2h-2v2m-3 3h2v-2h-2v2m0-6h2V8h-2v2m0-6h2V2h-2v2"
|
|
5393
5793
|
opacity=".54"
|
|
@@ -5396,13 +5796,13 @@
|
|
|
5396
5796
|
</svg>
|
|
5397
5797
|
</t>
|
|
5398
5798
|
<t t-name="o-spreadsheet-Icon.BORDER_EXTERNAL">
|
|
5399
|
-
<svg class="o-icon" fill="currentColor">
|
|
5799
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5400
5800
|
<path d="M10 5H8v2h2V5m3 3h-2v2h2V8m-3 0H8v2h2V8m0 3H8v2h2v-2M7 8H5v2h2V8" opacity=".54"/>
|
|
5401
5801
|
<path d="M2 2h14v14H2V2m12 12V4H4v10h10"/>
|
|
5402
5802
|
</svg>
|
|
5403
5803
|
</t>
|
|
5404
5804
|
<t t-name="o-spreadsheet-Icon.BORDER_LEFT">
|
|
5405
|
-
<svg class="o-icon" fill="currentColor">
|
|
5805
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5406
5806
|
<path
|
|
5407
5807
|
d="M8 10h2V8H8v2m0-3h2V5H8v2m0 6h2v-2H8v2m0 3h2v-2H8v2m-3 0h2v-2H5v2M5 4h2V2H5v2m0 6h2V8H5v2m9 6h2v-2h-2v2m0-6h2V8h-2v2m0 3h2v-2h-2v2m0-6h2V5h-2v2M8 4h2V2H8v2m6-2v2h2V2h-2m-3 14h2v-2h-2v2m0-6h2V8h-2v2m0-6h2V2h-2v2"
|
|
5408
5808
|
opacity=".54"
|
|
@@ -5411,7 +5811,7 @@
|
|
|
5411
5811
|
</svg>
|
|
5412
5812
|
</t>
|
|
5413
5813
|
<t t-name="o-spreadsheet-Icon.BORDER_TOP">
|
|
5414
|
-
<svg class="o-icon" fill="currentColor">
|
|
5814
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5415
5815
|
<path
|
|
5416
5816
|
d="M5 10h2V8H5v2m-3 6h2v-2H2v2m6 0h2v-2H8v2m0-3h2v-2H8v2m-3 3h2v-2H5v2m-3-3h2v-2H2v2m6-3h2V8H8v2M2 7h2V5H2v2m0 3h2V8H2v2m12 0h2V8h-2v2m0 3h2v-2h-2v2m0-6h2V5h-2v2M8 7h2V5H8v2m3 9h2v-2h-2v2m0-6h2V8h-2v2m3 6h2v-2h-2v2"
|
|
5417
5817
|
opacity=".54"
|
|
@@ -5420,7 +5820,7 @@
|
|
|
5420
5820
|
</svg>
|
|
5421
5821
|
</t>
|
|
5422
5822
|
<t t-name="o-spreadsheet-Icon.BORDER_RIGHT">
|
|
5423
|
-
<svg class="o-icon" fill="currentColor">
|
|
5823
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5424
5824
|
<path
|
|
5425
5825
|
d="M2 4h2V2H2v2m3 0h2V2H5v2m0 6h2V8H5v2m0 6h2v-2H5v2M2 7h2V5H2v2m0 3h2V8H2v2m0 6h2v-2H2v2m0-3h2v-2H2v2m9-3h2V8h-2v2m-3 6h2v-2H8v2m3 0h2v-2h-2v2M8 4h2V2H8v2m3 0h2V2h-2v2m-3 9h2v-2H8v2m0-6h2V5H8v2m0 3h2V8H8v2"
|
|
5426
5826
|
opacity=".54"
|
|
@@ -5429,7 +5829,7 @@
|
|
|
5429
5829
|
</svg>
|
|
5430
5830
|
</t>
|
|
5431
5831
|
<t t-name="o-spreadsheet-Icon.BORDER_BOTTOM">
|
|
5432
|
-
<svg class="o-icon" fill="currentColor">
|
|
5832
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5433
5833
|
<path
|
|
5434
5834
|
d="M7 2H5v2h2V2m3 6H8v2h2V8m0 3H8v2h2v-2m3-3h-2v2h2V8M7 8H5v2h2V8m6-6h-2v2h2V2m-3 3H8v2h2V5m0-3H8v2h2V2m-6 9H2v2h2v-2m10 2h2v-2h-2v2m0-6h2V5h-2v2m0 3h2V8h-2v2m0-8v2h2V2h-2M4 2H2v2h2V2m0 3H2v2h2V5m0 3H2v2h2V8"
|
|
5435
5835
|
opacity=".54"
|
|
@@ -5438,7 +5838,7 @@
|
|
|
5438
5838
|
</svg>
|
|
5439
5839
|
</t>
|
|
5440
5840
|
<t t-name="o-spreadsheet-Icon.BORDER_CLEAR">
|
|
5441
|
-
<svg class="o-icon">
|
|
5841
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5442
5842
|
<path
|
|
5443
5843
|
fill="currentColor"
|
|
5444
5844
|
d="M8 16h2v-2H8v2m-3-6h2V8H5v2m0-6h2V2H5v2m3 9h2v-2H8v2m-3 3h2v-2H5v2M2 7h2V5H2v2m0 9h2v-2H2v2M2 4h2V2H2v2m0 6h2V8H2v2m6 0h2V8H8v2m-6 3h2v-2H2v2m12 0h2v-2h-2v2m0 3h2v-2h-2v2m0-6h2V8h-2v2m0-3h2V5h-2v2m0-5v2h2V2h-2M8 4h2V2H8v2m3 0h2V2h-2v2M8 7h2V5H8v2m3 9h2v-2h-2v2m0-6h2V8h-2v2"
|
|
@@ -5447,7 +5847,7 @@
|
|
|
5447
5847
|
</svg>
|
|
5448
5848
|
</t>
|
|
5449
5849
|
<t t-name="o-spreadsheet-Icon.BORDER_TYPE">
|
|
5450
|
-
<svg class="o-icon">
|
|
5850
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5451
5851
|
<g fill="currentColor" transform="translate(2 2)">
|
|
5452
5852
|
<polygon points="0 0 0 2 14 2 14 0"/>
|
|
5453
5853
|
<polygon points="0 6 0 8 5 8 5 6"/>
|
|
@@ -5460,7 +5860,7 @@
|
|
|
5460
5860
|
</svg>
|
|
5461
5861
|
</t>
|
|
5462
5862
|
<t t-name="o-spreadsheet-Icon.BORDER_COLOR">
|
|
5463
|
-
<svg class="o-icon">
|
|
5863
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5464
5864
|
<g fill="currentColor" transform="translate(4 2)">
|
|
5465
5865
|
<polygon points="0 12 0 9 7 2 10 5 3 12"/>
|
|
5466
5866
|
<polygon points="8 1 9 0 12 3 11 4"/>
|
|
@@ -5468,7 +5868,7 @@
|
|
|
5468
5868
|
</svg>
|
|
5469
5869
|
</t>
|
|
5470
5870
|
<t t-name="o-spreadsheet-Icon.BORDER_NO_COLOR">
|
|
5471
|
-
<svg class="o-icon">
|
|
5871
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5472
5872
|
<g fill="currentColor">
|
|
5473
5873
|
<polygon points="4 12 4 9 11 2 14 5 7 12"/>
|
|
5474
5874
|
<polygon points="12 1 13 0 16 3 15 4"/>
|
|
@@ -5637,8 +6037,13 @@
|
|
|
5637
6037
|
<circle fill="currentColor" cx="14" cy="9" r="4"/>
|
|
5638
6038
|
</svg>
|
|
5639
6039
|
</t>
|
|
6040
|
+
<t t-name="o-spreadsheet-Icon.CARET_SORT">
|
|
6041
|
+
<svg class="o-icon" viewBox="0 0 512 512">
|
|
6042
|
+
<path fill="currentColor" d="M40 240 h320 l-160 -160 M40 280 h320 l-160 160"/>
|
|
6043
|
+
</svg>
|
|
6044
|
+
</t>
|
|
5640
6045
|
<t t-name="o-spreadsheet-Icon.SORT_RANGE">
|
|
5641
|
-
<svg class="o-icon">
|
|
6046
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5642
6047
|
<path
|
|
5643
6048
|
fill="currentColor"
|
|
5644
6049
|
d="M9 3.5h8v2H9M9 8h6v2H9m0 2.5h3v2H9M6 6l1-1-3-3-3 3 1 1 1-1v8l-1-1-1 1 3 3 3-3-1-1-1 1V5"
|
|
@@ -5701,14 +6106,14 @@
|
|
|
5701
6106
|
<span class="o-text-icon">.00</span>
|
|
5702
6107
|
</t>
|
|
5703
6108
|
<t t-name="o-spreadsheet-Icon.NUMBER_FORMATS">
|
|
5704
|
-
<svg class="o-icon" fill="currentColor">
|
|
6109
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5705
6110
|
<path
|
|
5706
6111
|
d="M0 6h2v8h2V4H0m9 0H5v2h4v2H6.5A1.5 1.5 0 0 0 5 9.5V14h6v-2H7v-2h2.5A1.5 1.5 0 0 0 11 8.5v-3A1.5 1.5 0 0 0 9.5 4M12 4v2h4v2h-2v2h2v2h-4v2h4.5a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 16.5 9 1.5 1.5 0 0 0 18 7.5v-2A1.5 1.5 0 0 0 16.5 4"
|
|
5707
6112
|
/>
|
|
5708
6113
|
</svg>
|
|
5709
6114
|
</t>
|
|
5710
6115
|
<t t-name="o-spreadsheet-Icon.FONT_SIZE">
|
|
5711
|
-
<svg class="o-icon" fill="currentColor">
|
|
6116
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5712
6117
|
<text x="2" y="15" class="small-text">A</text>
|
|
5713
6118
|
<text x="6" y="15" class="heavy-text">A</text>
|
|
5714
6119
|
</svg>
|
|
@@ -5719,7 +6124,7 @@
|
|
|
5719
6124
|
</div>
|
|
5720
6125
|
</t>
|
|
5721
6126
|
<t t-name="o-spreadsheet-Icon.SPLIT_TEXT">
|
|
5722
|
-
<svg class="o-icon">
|
|
6127
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5723
6128
|
<path
|
|
5724
6129
|
fill="currentColor"
|
|
5725
6130
|
d="M14 6v2h-4v2h4v2l3-3m-9 1V8H4V6L1 9l3 3v-2m3.5-6.5h3V7H12V3.5h3V2H3v1.5h3V7h1.5m3 7.5h-3V11H6v3.5H3V16h12v-1.5h-3V11h-1.5"
|
|
@@ -5732,7 +6137,7 @@
|
|
|
5732
6137
|
</div>
|
|
5733
6138
|
</t>
|
|
5734
6139
|
<t t-name="o-spreadsheet-Icon.DISPLAY_HEADER">
|
|
5735
|
-
<svg class="o-icon"
|
|
6140
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5736
6141
|
<path
|
|
5737
6142
|
fill="currentColor"
|
|
5738
6143
|
d="M.75.5h16.5v17H.75m1.5-12H.75V7h1.5v1.5H.75V10h1.5v1.5H.75V13h1.5v1.5H.75V16h1.5v1.5h1.5V16h1.5v1.5h1.5V16h1.5v1.5h1.5V16h1.5v1.5h1.5V16h1.5v1.5h1.5V16h1.5v-1.5h-1.5V13h1.5v-1.5h-1.5V10h1.5V8.5h-1.5V7h1.5V5.5M2.75 2.25v1.5h2v-1.5m2.5 0v1.5h7v-1.5"
|
|
@@ -5750,7 +6155,7 @@
|
|
|
5750
6155
|
</svg>
|
|
5751
6156
|
</t>
|
|
5752
6157
|
<t t-name="o-spreadsheet-Icon.PLUS_IN_BOX">
|
|
5753
|
-
<svg class="o-icon"
|
|
6158
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5754
6159
|
<path
|
|
5755
6160
|
fill="currentColor"
|
|
5756
6161
|
d="
|
|
@@ -5762,7 +6167,7 @@
|
|
|
5762
6167
|
</svg>
|
|
5763
6168
|
</t>
|
|
5764
6169
|
<t t-name="o-spreadsheet-Icon.MINUS_IN_BOX">
|
|
5765
|
-
<svg class="o-icon"
|
|
6170
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5766
6171
|
<path
|
|
5767
6172
|
fill="currentColor"
|
|
5768
6173
|
d="
|
|
@@ -5773,7 +6178,7 @@
|
|
|
5773
6178
|
</svg>
|
|
5774
6179
|
</t>
|
|
5775
6180
|
<t t-name="o-spreadsheet-Icon.GROUP_ROWS">
|
|
5776
|
-
<svg class="o-icon"
|
|
6181
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5777
6182
|
<path
|
|
5778
6183
|
fill="currentColor"
|
|
5779
6184
|
d="M6 2.5A1.5 1.5 0 0 1 7.5 1H16a1.5 1.5 0 0 1 1.5 1.5V15a1.5 1.5 0 0 1-1.5 1.5H7.5A1.5 1.5 0 0 1 6 15M7.5 2.5v2H16v-2M7.5 6v2H16V6M7.5 9.5v2H16v-2M7.5 13v2H16v-2M2 5.75V13h3v-1.5H3.5V5.75h1.25V3l-1 1v.75H3M.25 1.25v4.5h4.5v-4.5m-3.5 1h2.5v2.5h-2.5"
|
|
@@ -5781,7 +6186,7 @@
|
|
|
5781
6186
|
</svg>
|
|
5782
6187
|
</t>
|
|
5783
6188
|
<t t-name="o-spreadsheet-Icon.UNGROUP_ROWS">
|
|
5784
|
-
<svg class="o-icon"
|
|
6189
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5785
6190
|
<path
|
|
5786
6191
|
fill="currentColor"
|
|
5787
6192
|
d="M6 2.5A1.5 1.5 0 0 1 7.5 1H16a1.5 1.5 0 0 1 1.5 1.5V15a1.5 1.5 0 0 1-1.5 1.5H7.5A1.5 1.5 0 0 1 6 15M7.5 2.5v2H16v-2M7.5 6v2H16V6M7.5 9.5v2H16v-2M7.5 13v2H16v-2M2 5.75V13h3v-1.5H3.5V5.75M0 5.25.75 6l2-2 2 2 .75-.75-2-2 2-2L4.75.5l-2 2-2-2-.75.75 2 2"
|
|
@@ -5789,7 +6194,7 @@
|
|
|
5789
6194
|
</svg>
|
|
5790
6195
|
</t>
|
|
5791
6196
|
<t t-name="o-spreadsheet-Icon.GROUP_COLUMNS">
|
|
5792
|
-
<svg class="o-icon"
|
|
6197
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5793
6198
|
<path
|
|
5794
6199
|
fill="currentColor"
|
|
5795
6200
|
d="M2.75 6a1.5 1.5 0 0 0-1.5 1.5V16a1.5 1.5 0 0 0 1.5 1.5h12.5a1.5 1.5 0 0 0 1.5-1.5V7.5a1.5 1.5 0 0 0-1.5-1.5M2.75 7.5h2V16h-2m3.5-8.5h2V16h-2m3.5-8.5h2V16h-2m3.5-8.5h2V16h-2M6 2h7.25v3h-1.5V3.5H6v1.25H3.25l1-1H5V3M1.5.25H6v4.5H1.5m1-3.5v2.5H5v-2.5"
|
|
@@ -5797,7 +6202,7 @@
|
|
|
5797
6202
|
</svg>
|
|
5798
6203
|
</t>
|
|
5799
6204
|
<t t-name="o-spreadsheet-Icon.UNGROUP_COLUMNS">
|
|
5800
|
-
<svg class="o-icon"
|
|
6205
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5801
6206
|
<path
|
|
5802
6207
|
fill="currentColor"
|
|
5803
6208
|
d="M2.75 6a1.5 1.5 0 0 0-1.5 1.5V16a1.5 1.5 0 0 0 1.5 1.5h12.5a1.5 1.5 0 0 0 1.5-1.5V7.5a1.5 1.5 0 0 0-1.5-1.5M2.75 7.5h2V16h-2m3.5-8.5h2V16h-2m3.5-8.5h2V16h-2m3.5-8.5h2V16h-2M6 2h7.25v3h-1.5V3.5H6M5.5 0l.75.75-2 2 2 2-.75.75-2-2-2 2-.75-.75 2-2-2-2L1.5 0l2 2"
|
|
@@ -5805,7 +6210,7 @@
|
|
|
5805
6210
|
</svg>
|
|
5806
6211
|
</t>
|
|
5807
6212
|
<t t-name="o-spreadsheet-Icon.DATA_VALIDATION">
|
|
5808
|
-
<svg class="o-icon">
|
|
6213
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5809
6214
|
<path
|
|
5810
6215
|
fill="currentColor"
|
|
5811
6216
|
d="M.5 2A1.5 1.5 0 0 1 2 .5h14A1.5 1.5 0 0 1 17.5 2v7H11V7H7v4s-.5 0-1.5 1h-1v5h-3a1.5 1.5 0 0 1-1-1M6 6V2H2v4m9 0V2H7v4m9 0V2h-4v4m-6 5V7H2v4m14-2V7h-4v2m-7.5 6.5V12H2v3.5"
|
|
@@ -5833,7 +6238,7 @@
|
|
|
5833
6238
|
</svg>
|
|
5834
6239
|
</t>
|
|
5835
6240
|
<t t-name="o-spreadsheet-Icon.EDIT_TABLE">
|
|
5836
|
-
<svg class="o-icon"
|
|
6241
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5837
6242
|
<path
|
|
5838
6243
|
fill="currentColor"
|
|
5839
6244
|
d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15H7l1.5-1.5H7v-2.75h3.5v.75l2.25-2.25H12v-2.5h3.5v.75c.1-.2.45-.05.5.02l1 1V2.5A1.5 1.5 0 0 0 15.5 1m-13 1.5h13v2.75h-13m0 1.5h3v2.5h-3M7 6.75h3.5v2.5H7m-4.5 1.5h3v2.75h-3 M8.2 15.7v1.8h1.8l5.4-5.4-1.8-1.8-5.4 5.4Zm8.8-5.2a.5.5 0 0 0 0-.7l-1.1-1.1a.5.5 0 0 0-.7 0l-.9.9 1.8 1.8.9-.9Z"
|
|
@@ -5841,7 +6246,7 @@
|
|
|
5841
6246
|
</svg>
|
|
5842
6247
|
</t>
|
|
5843
6248
|
<t t-name="o-spreadsheet-Icon.DELETE_TABLE">
|
|
5844
|
-
<svg class="o-icon"
|
|
6249
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5845
6250
|
<path
|
|
5846
6251
|
fill="currentColor"
|
|
5847
6252
|
d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15H7l1.5-1.5H7V6.75h3.5v.75L12 9V6.75h3.5l1.5 1.5V2.5A1.5 1.5 0 0 0 15.5 1m-13 1.5h13v2.75h-13m0 1.5h3v2.5h-3m0 1.5h3v2.75h-3m10-2.25 3-3 1.5 1.5-3 3 3 3-1.5 1.5-3-3-3 3-1.5-1.5 3-3-3-3 1.5-1.5"
|
|
@@ -5849,7 +6254,7 @@
|
|
|
5849
6254
|
</svg>
|
|
5850
6255
|
</t>
|
|
5851
6256
|
<t t-name="o-spreadsheet-Icon.PAINT_TABLE">
|
|
5852
|
-
<svg class="o-icon"
|
|
6257
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5853
6258
|
<path
|
|
5854
6259
|
fill="currentColor"
|
|
5855
6260
|
d="M2.5 1A1.5 1.5 0 0 0 1 2.5v11A1.5 1.5 0 0 0 2.5 15h5c0-.5 0-1 .5-1.5H7v-2.75h3.5v.75l2.25-2.25H12v-2.5h3.5v.75c1-.7 1.5-.4 1.5-.4V2.5A1.5 1.5 0 0 0 15.5 1m-13 1.5h13v2.75h-13m0 1.5h3v2.5h-3M7 6.75h3.5v2.5H7m-4.5 1.5h3v2.75h-3m7.5-.3c.7-.3 1.5-.1 2.1.6.6.7.8 1.4.5 1.9-.6 1.4-3.7 1.6-4 1.7l-.6.1.3-.5s.5-.8.5-2.1c0-.7.5-1.4 1.1-1.7Zm6.7-5.1a.9.9 0 0 1 1 1c-.1 1.3-2.5 3.7-4.3 5.3a3.9 3.9 0 0 0-.6-1.1c-.4-.4-.8-.7-1.3-.8 1.5-1.7 4-4.3 5.4-4.4"
|
|
@@ -5865,10 +6270,10 @@
|
|
|
5865
6270
|
</svg>
|
|
5866
6271
|
</t>
|
|
5867
6272
|
<t t-name="o-spreadsheet-Icon.PIVOT">
|
|
5868
|
-
<svg class="o-icon" viewBox="0 0 18 18"
|
|
6273
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5869
6274
|
<path
|
|
5870
6275
|
fill="currentColor"
|
|
5871
|
-
d="
|
|
6276
|
+
d="M15.5 2A1.5 1.5 0 0 1 17 3.5V14a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 1 14V7.5A1.5 1.5 0 0 1 2.5 6H5V3.5A1.5 1.5 0 0 1 6.5 2H17m-1.5 1.5h-9V6h9m-13 1.5V10H5V7.5m-2.5 4V14H5v-2.5m1.5-4V10h9V7.5m-9 4V14h9v-2.5"
|
|
5872
6277
|
/>
|
|
5873
6278
|
</svg>
|
|
5874
6279
|
</t>
|
|
@@ -5888,8 +6293,28 @@
|
|
|
5888
6293
|
</svg>
|
|
5889
6294
|
</div>
|
|
5890
6295
|
</t>
|
|
6296
|
+
<t t-name="o-spreadsheet-Icon.ANGLE_RIGHT">
|
|
6297
|
+
<div class="o-icon">
|
|
6298
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 256">
|
|
6299
|
+
<path
|
|
6300
|
+
fill="currentColor"
|
|
6301
|
+
d="M161 139c6-6 6-16 0-23L81 36c-6-6-16-6-23 0s-6 16 0 23l69 69-69 69c-6 6-6 16 0 23s16 6 23 0l80-80z"
|
|
6302
|
+
/>
|
|
6303
|
+
</svg>
|
|
6304
|
+
</div>
|
|
6305
|
+
</t>
|
|
6306
|
+
<t t-name="o-spreadsheet-Icon.ANGLE_LEFT">
|
|
6307
|
+
<div class="o-icon">
|
|
6308
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 256">
|
|
6309
|
+
<path
|
|
6310
|
+
fill="currentColor"
|
|
6311
|
+
d="M59 116c-6 6-6 16 0 23l80 80c6 6 16 6 23 0s6-16 0-23L93 127l69-69c6-6 6-16 0-23s-16-6-23 0l-80 80z"
|
|
6312
|
+
/>
|
|
6313
|
+
</svg>
|
|
6314
|
+
</div>
|
|
6315
|
+
</t>
|
|
5891
6316
|
<t t-name="o-spreadsheet-Icon.INSERT_PIVOT">
|
|
5892
|
-
<svg class="o-icon">
|
|
6317
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5893
6318
|
<defs>
|
|
5894
6319
|
<mask id="a">
|
|
5895
6320
|
<path fill="#fff" d="M0 0h18v18H0z"/>
|
|
@@ -5898,8 +6323,7 @@
|
|
|
5898
6323
|
</defs>
|
|
5899
6324
|
<path
|
|
5900
6325
|
fill="currentColor"
|
|
5901
|
-
d="
|
|
5902
|
-
mask="url(#a)"
|
|
6326
|
+
d="M15.5 2A1.5 1.5 0 0 1 17 3.5V14a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 1 14V7.5A1.5 1.5 0 0 1 2.5 6H5V3.5A1.5 1.5 0 0 1 6.5 2H17m-1.5 1.5h-9V6h9m-13 1.5V10H5V7.5m-2.5 4V14H5v-2.5m1.5-4V10h9V7.5m-9 4V14h9v-2.5"
|
|
5903
6327
|
/>
|
|
5904
6328
|
<path
|
|
5905
6329
|
fill="currentColor"
|
|
@@ -5949,7 +6373,7 @@
|
|
|
5949
6373
|
<svg class="o-icon" viewBox="0 0 122.88 99.75">
|
|
5950
6374
|
<path
|
|
5951
6375
|
fill="currentColor"
|
|
5952
|
-
d="M29.09
|
|
6376
|
+
d="M29.09 0h65.7A5.2 5.2 0 0 1 99 5.2v89.4a5.2 5.2 0 0 1-5.2 5.2H29.1a5.2 5.2 0 0 1-5.2-5.2V5.2A5.2 5.2 0 0 1 29.1 0m89 9a4.7 4.7 0 0 1 4.7 4.7v71a4.7 4.7 0 0 1-4.7 4.7L106.8 91a1.4 1.35 0 0 1-1.3-1.3V81a1.3 1.3 0 0 1 1.4-1.2l6.9.7V17.2l-7 1a1.3 1.3 0 0 1-1.3-1.3V9a1.3 1.3 0 0 1 1.2-1.3ZM5 9l11.3-1a1.3 1.3 0 0 1 1.1 1.3v7.4a1.3 1.3 0 0 1-1.3 1.3l-7-1v64l6.9-1a1.3 1.3 0 0 1 1.4 1.2v9.5a1.4 1.4 0 0 1-2.3.3L4.7 89.2a4.7 4.7 0 0 1-4.7-5V13.7A4.7 4.7 0 0 1 4.7 9zm83 1H35v78h53Z"
|
|
5953
6377
|
/>
|
|
5954
6378
|
</svg>
|
|
5955
6379
|
</t>
|
|
@@ -5991,47 +6415,42 @@
|
|
|
5991
6415
|
</div>
|
|
5992
6416
|
</t>
|
|
5993
6417
|
<t t-name="o-spreadsheet-Icon.ROTATION-0">
|
|
5994
|
-
<svg
|
|
5995
|
-
width="18"
|
|
5996
|
-
height="18"
|
|
5997
|
-
viewBox="0 0 18 18"
|
|
5998
|
-
transform="rotate(270)"
|
|
5999
|
-
xmlns="http://www.w3.org/2000/svg">
|
|
6418
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
6000
6419
|
<path
|
|
6001
|
-
d="
|
|
6420
|
+
d="M1.5 14v-2h11v-2l4 3-4 3v-2m-4-8V4h4V2l4 3-4 3V6m-11 3 2.8-7h1.2l2.8 7-1.12.43-.7-1.9H3.3l-.7 1.9L1.48 9m2.25-2.7h2.3l-1.1-2.8z"
|
|
6002
6421
|
fill="currentColor"
|
|
6003
6422
|
/>
|
|
6004
6423
|
</svg>
|
|
6005
6424
|
</t>
|
|
6006
6425
|
<t t-name="o-spreadsheet-Icon.ROTATION-45">
|
|
6007
|
-
<svg
|
|
6426
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
6008
6427
|
<path
|
|
6009
|
-
d="
|
|
6428
|
+
d="m.743 7.086 1.414-1.414 7.778 7.778 1.414-1.414.707 4.95-4.95-.708 1.415-1.414m2.121-7.778 1.414-1.414L14.885 8.5l1.414-1.414.707 4.95-4.95-.708 1.415-1.414m-9.9-5.657 6.93-2.97.848.849-2.97 6.93-1.096-.488.849-1.839-2.249-2.248-1.838.848-.488-1.096m3.5-.318 1.626 1.626 1.203-2.757z"
|
|
6010
6429
|
fill="currentColor"
|
|
6011
6430
|
/>
|
|
6012
6431
|
</svg>
|
|
6013
6432
|
</t>
|
|
6014
6433
|
<t t-name="o-spreadsheet-Icon.ROTATION-90">
|
|
6015
|
-
<svg
|
|
6434
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
6016
6435
|
<path
|
|
6017
|
-
d="
|
|
6436
|
+
d="M4 1.5h2v11h2l-3 4-3-4h2m8-4h2v4h2l-3 4-3-4h2m-3-11 7 2.8v1.2L9 8.3l-.43-1.12 1.9-.7V3.3l-1.9-.7L9 1.48m2.7 2.25v2.3l2.8-1.1z"
|
|
6018
6437
|
fill="currentColor"
|
|
6019
6438
|
/>
|
|
6020
6439
|
</svg>
|
|
6021
6440
|
</t>
|
|
6022
6441
|
|
|
6023
6442
|
<t t-name="o-spreadsheet-Icon.ROTATION-270">
|
|
6024
|
-
<svg
|
|
6443
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
6025
6444
|
<path
|
|
6026
|
-
d="
|
|
6445
|
+
d="M14 16.5h-2v-11h-2l3-4 3 4h-2m-8 4H4v-4H2l3-4 3 4H6m3 11-7-2.8v-1.2l7-2.8.43 1.12-1.9.7v3.18l1.9.7L9 16.52m-2.7-2.25v-2.3l-2.8 1.1z"
|
|
6027
6446
|
fill="currentColor"
|
|
6028
6447
|
/>
|
|
6029
6448
|
</svg>
|
|
6030
6449
|
</t>
|
|
6031
6450
|
<t t-name="o-spreadsheet-Icon.ROTATION-315">
|
|
6032
|
-
<svg
|
|
6451
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
6033
6452
|
<path
|
|
6034
|
-
d="m6.
|
|
6453
|
+
d="m6.836 17.257-1.414-1.414L13.2 8.065l-1.414-1.414 4.95-.707-.708 4.95-1.414-1.415M6.836 7.358 5.422 5.944 8.25 3.115 6.836 1.701l4.95-.707-.708 4.95-1.414-1.415m-5.657 9.9-2.97-6.93.849-.848 6.93 2.97-.488 1.096-1.839-.849-2.248 2.249.848 1.838-1.096.488m-.318-3.5 1.626-1.626-2.757-1.203z"
|
|
6035
6454
|
fill="currentColor"
|
|
6036
6455
|
/>
|
|
6037
6456
|
</svg>
|
|
@@ -6041,6 +6460,64 @@
|
|
|
6041
6460
|
<i class="fa fa-thumb-tack"/>
|
|
6042
6461
|
</div>
|
|
6043
6462
|
</t>
|
|
6463
|
+
<t t-name="o-spreadsheet-Icon.LOCK">
|
|
6464
|
+
<div class="o-icon">
|
|
6465
|
+
<i class="fa fa-lock"/>
|
|
6466
|
+
</div>
|
|
6467
|
+
</t>
|
|
6468
|
+
<t t-name="o-spreadsheet-Icon.UNLOCK">
|
|
6469
|
+
<div class="o-icon">
|
|
6470
|
+
<i class="fa fa-unlock"/>
|
|
6471
|
+
</div>
|
|
6472
|
+
</t>
|
|
6473
|
+
<t t-name="o-spreadsheet-Icon.PRINT">
|
|
6474
|
+
<div class="o-icon">
|
|
6475
|
+
<i class="fa fa-print"/>
|
|
6476
|
+
</div>
|
|
6477
|
+
</t>
|
|
6478
|
+
<t t-name="o-spreadsheet-Icon.COLUMN_STATS">
|
|
6479
|
+
<svg width="18px" height="18px" viewBox="0 0 512 512">
|
|
6480
|
+
<path
|
|
6481
|
+
d="M319 174c71 0 129 58 129 129 0 27-8 52-23 73l66 66-33 33-66-66c-21 14-46 23-73 23-71 0-129-58-129-129s57-129 129-129m0 47c-45 0-82 37-82 82s36 82 82 82 82-37 82-82-37-82-82-82m-152 70a155 155 0 0 0 0 12c0 12 1 24 4 35H25v-47zM119 33v235H49V33zm94 94v66c-21 20-36 46-43 75h-28V127zm94-47v71a152 152 0 0 0-70 24V80zm94 23v71a152 152 0 0 0-70-24v-47z"
|
|
6482
|
+
fill="currentColor"
|
|
6483
|
+
/>
|
|
6484
|
+
</svg>
|
|
6485
|
+
</t>
|
|
6486
|
+
<t t-name="o-spreadsheet-Icon.DESCENDING_SORT">
|
|
6487
|
+
<svg width="20px" height="16px" viewBox="0 0 20 16">
|
|
6488
|
+
<path
|
|
6489
|
+
d="M9.9 11.4h3.9a.9.9 0 0 0 .9-.9V6.24a.9.9 0 0 0-1.8 0V8.4L8.1 3.6s-.6-.6-1.2 0L5.1 5.4 1.5 1.8A.9.9 0 0 0 .3 3l4.2 4.2s.6.6 1.2 0l1.8-1.8 4.2 4.2H9.6a.9.9 0 0 0 0 1.8z"
|
|
6490
|
+
fill="currentColor"
|
|
6491
|
+
/>
|
|
6492
|
+
</svg>
|
|
6493
|
+
</t>
|
|
6494
|
+
<t t-name="o-spreadsheet-Icon.ASCENDING_SORT">
|
|
6495
|
+
<svg width="20px" height="16px" viewBox="0 0 20 16">
|
|
6496
|
+
<path
|
|
6497
|
+
d="M9.9 3h3.9a.9.9 0 0 1 .9.9v4.26a.9.9 0 0 1-1.8 0V6l-4.8 4.8s-.6.6-1.2 0L5.1 9l-3.6 3.6a.9.9 0 0 1-1.2-1.2l4.2-4.2s.6-.6 1.2 0L7.5 9l4.2-4.2H9.6a.9.9 0 0 1 0-1.8z"
|
|
6498
|
+
fill="currentColor"
|
|
6499
|
+
/>
|
|
6500
|
+
</svg>
|
|
6501
|
+
</t>
|
|
6502
|
+
<t t-name="o-spreadsheet-Icon.COUNT_CHART">
|
|
6503
|
+
<svg width="20px" height="16px" viewBox="0 0 20 16">
|
|
6504
|
+
<path
|
|
6505
|
+
fill="currentColor"
|
|
6506
|
+
d="M.747 1.05h2.24v9.707H.747zM4.48 5.53h2.24v5.227H4.48zm7.467-1.493h2.24v6.72h-2.24zM8.213 2.543h2.24v8.214h-2.24zM0 11.503h14.933v1.494H0z"
|
|
6507
|
+
/>
|
|
6508
|
+
</svg>
|
|
6509
|
+
</t>
|
|
6510
|
+
<t t-name="o-spreadsheet-Icon.NAMED_RANGE">
|
|
6511
|
+
<svg
|
|
6512
|
+
class="o-icon"
|
|
6513
|
+
fill="currentColor"
|
|
6514
|
+
viewBox="0 0 1024 1024"
|
|
6515
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
6516
|
+
<path
|
|
6517
|
+
d="M1023.98 416.272l-.001-338.367c0-42.944-34.944-77.904-77.872-77.904H600.73c-21.68 0-54.496 0-75.92 21.44L18.875 527.393c-12.16 12.16-18.88 28.304-18.88 45.487 0 17.216 6.689 33.376 18.849 45.537l386.8 386.72C417.756 1017.312 433.916 1024 451.1 1024s33.36-6.689 45.487-18.849l505.952-505.968c21.696-21.648 21.569-52.816 21.441-82.912zm-66.685 37.666L450.878 959.874 64.126 572.658 569.518 67.154c5.088-3.152 23.408-3.152 30.992-3.152l14.4.048 331.2-.048c7.665 0 13.873 6.24 13.873 13.904V416.53c.064 12.176.129 32.544-2.688 37.408zM768.014 128.001c-70.689 0-128 57.311-128 128s57.312 128 128 128 128-57.312 128-128-57.312-128-128-128zm0 192c-35.344 0-64-28.656-64-64s28.656-64 64-64 64 28.656 64 64-28.656 64-64 64z M400,760 l300,-300 l30,30 l-300,300 M250,600 l300,-300 l30,30 l-300,300"
|
|
6518
|
+
/>
|
|
6519
|
+
</svg>
|
|
6520
|
+
</t>
|
|
6044
6521
|
|
|
6045
6522
|
<t t-name="o-spreadsheet-IconPicker">
|
|
6046
6523
|
<div class="o-icon-picker bg-white">
|
|
@@ -6095,7 +6572,7 @@
|
|
|
6095
6572
|
<t t-name="o-spreadsheet-Corner">
|
|
6096
6573
|
<div
|
|
6097
6574
|
class="o-corner d-flex justify-content-center align-items-center"
|
|
6098
|
-
t-on-pointerdown.prevent="onMouseDown"
|
|
6575
|
+
t-on-pointerdown.prevent.stop="onMouseDown"
|
|
6099
6576
|
t-on-touchstart.prevent.stop=""
|
|
6100
6577
|
t-att-style="handlerStyle">
|
|
6101
6578
|
<div
|
|
@@ -6226,7 +6703,6 @@
|
|
|
6226
6703
|
class="o-handle"
|
|
6227
6704
|
t-on-pointerdown="onMouseDown"
|
|
6228
6705
|
t-on-dblclick="onDblClick"
|
|
6229
|
-
t-on-contextmenu.prevent=""
|
|
6230
6706
|
t-attf-style="top:{{state.draggerLinePosition - 2}}px;">
|
|
6231
6707
|
<div class="dragging-resizer" t-if="state.isResizing"/>
|
|
6232
6708
|
</div>
|
|
@@ -6269,7 +6745,6 @@
|
|
|
6269
6745
|
class="o-handle"
|
|
6270
6746
|
t-on-pointerdown="onMouseDown"
|
|
6271
6747
|
t-on-dblclick="onDblClick"
|
|
6272
|
-
t-on-contextmenu.prevent=""
|
|
6273
6748
|
t-attf-style="left:{{state.draggerLinePosition - 2}}px;">
|
|
6274
6749
|
<div class="dragging-resizer" t-if="state.isResizing"/>
|
|
6275
6750
|
</div>
|
|
@@ -6386,7 +6861,7 @@
|
|
|
6386
6861
|
t-if="cellPopover.isOpen"
|
|
6387
6862
|
positioning="cellPopover.cellCorner"
|
|
6388
6863
|
maxHeight="cellPopover.Component.size and cellPopover.Component.size.maxHeight"
|
|
6389
|
-
maxWidth="cellPopover.Component.size and cellPopover.Component.size.
|
|
6864
|
+
maxWidth="cellPopover.Component.size and cellPopover.Component.size.maxWidth"
|
|
6390
6865
|
anchorRect="cellPopover.anchorRect"
|
|
6391
6866
|
containerRect="env.getPopoverContainerRect()"
|
|
6392
6867
|
onMouseWheel="props.onMouseWheel"
|
|
@@ -6506,7 +6981,11 @@
|
|
|
6506
6981
|
anchorRect="menuState.anchorRect"
|
|
6507
6982
|
onClose="() => this.closeMenu()"
|
|
6508
6983
|
/>
|
|
6509
|
-
<t
|
|
6984
|
+
<t
|
|
6985
|
+
t-if="!env.model.getters.isReadonly()"
|
|
6986
|
+
t-foreach="staticTables"
|
|
6987
|
+
t-as="table"
|
|
6988
|
+
t-key="table.id">
|
|
6510
6989
|
<TableResizer table="table"/>
|
|
6511
6990
|
</t>
|
|
6512
6991
|
<VerticalScrollBar topOffset="HEADER_HEIGHT"/>
|
|
@@ -6563,8 +7042,8 @@
|
|
|
6563
7042
|
|
|
6564
7043
|
<t t-name="o-spreadsheet-FilterMenuValueList">
|
|
6565
7044
|
<div class="o-filter-menu-actions d-flex">
|
|
6566
|
-
<div class="o-button-link me-4" t-on-click="selectAll">Select all</div>
|
|
6567
|
-
<div class="o-button-link me-4" t-on-click="clearAll">Clear</div>
|
|
7045
|
+
<div class="o-button-link me-4" t-on-click="this.selectAll">Select all</div>
|
|
7046
|
+
<div class="o-button-link me-4" t-on-click="this.clearAll">Clear</div>
|
|
6568
7047
|
</div>
|
|
6569
7048
|
<div class="position-relative">
|
|
6570
7049
|
<input
|
|
@@ -6616,7 +7095,7 @@
|
|
|
6616
7095
|
t-att-class="{'selected': this.props.isSelected}">
|
|
6617
7096
|
<t t-set="value">
|
|
6618
7097
|
<t t-if="this.props.value === ''">(Blanks)</t>
|
|
6619
|
-
<t t-else="" t-
|
|
7098
|
+
<t t-else="" t-out="this.props.value"/>
|
|
6620
7099
|
</t>
|
|
6621
7100
|
<!-- toString because t-set with a body creates a LazyValue instead of a string -->
|
|
6622
7101
|
<Checkbox
|
|
@@ -6650,23 +7129,19 @@
|
|
|
6650
7129
|
</t>
|
|
6651
7130
|
|
|
6652
7131
|
<t t-name="o-spreadsheet-FilterMenu">
|
|
6653
|
-
<div class="o-filter-menu d-flex flex-column
|
|
6654
|
-
<
|
|
6655
|
-
<div
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
class="o-filter-menu-item o-sort-item py-2"
|
|
6663
|
-
t-on-click="() => this.sortFilterZone('desc')">
|
|
6664
|
-
Sort descending (Z ⟶ A)
|
|
6665
|
-
</div>
|
|
7132
|
+
<div class="o-filter-menu d-flex flex-column py-3" t-on-wheel.stop="">
|
|
7133
|
+
<div t-if="isSortable" class="o-filter-menu-content">
|
|
7134
|
+
<div
|
|
7135
|
+
class="o-filter-menu-item py-2 ps-4 mb-1"
|
|
7136
|
+
t-on-click="() => this.sortFilterZone('asc')">
|
|
7137
|
+
Sort ascending (A ⟶ Z)
|
|
7138
|
+
</div>
|
|
7139
|
+
<div class="o-filter-menu-item py-2 ps-4" t-on-click="() => this.sortFilterZone('desc')">
|
|
7140
|
+
Sort descending (Z ⟶ A)
|
|
6666
7141
|
</div>
|
|
6667
|
-
</t>
|
|
6668
|
-
<div class="o-filter-menu-content">
|
|
6669
7142
|
<div class="o-separator border-bottom"/>
|
|
7143
|
+
</div>
|
|
7144
|
+
<div class="o-filter-menu-content">
|
|
6670
7145
|
<SidePanelCollapsible
|
|
6671
7146
|
isInitiallyCollapsed="filterValueType !== 'criterion'"
|
|
6672
7147
|
title.translate="Filter by criterion">
|
|
@@ -6692,7 +7167,7 @@
|
|
|
6692
7167
|
</SidePanelCollapsible>
|
|
6693
7168
|
|
|
6694
7169
|
<div class="o-filter-menu-buttons d-flex justify-content-end">
|
|
6695
|
-
<button class="o-button o-filter-menu-cancel me-2" t-on-click="cancel">
|
|
7170
|
+
<button class="o-button o-filter-menu-cancel me-2" t-on-click="cancel">Discard</button>
|
|
6696
7171
|
<button class="o-button primary o-filter-menu-confirm" t-on-click="confirm">
|
|
6697
7172
|
Confirm
|
|
6698
7173
|
</button>
|
|
@@ -6770,7 +7245,7 @@
|
|
|
6770
7245
|
t-att-style="headerStyle">
|
|
6771
7246
|
<div
|
|
6772
7247
|
class="o-carousel-title text-truncate flex-shrink-0 pe-2"
|
|
6773
|
-
t-
|
|
7248
|
+
t-out="title"
|
|
6774
7249
|
t-att-title="title"
|
|
6775
7250
|
t-att-style="titleStyle"
|
|
6776
7251
|
/>
|
|
@@ -6780,7 +7255,7 @@
|
|
|
6780
7255
|
class="o-carousel-tab text-truncate px-2 mt-1 flex-shrink-0"
|
|
6781
7256
|
t-att-class="{ 'selected': isItemSelected(item) }"
|
|
6782
7257
|
t-att-data-type="item.type"
|
|
6783
|
-
t-
|
|
7258
|
+
t-out="getItemTitle(item)"
|
|
6784
7259
|
t-on-click.stop="() => this.onCarouselTabClick(item)"
|
|
6785
7260
|
/>
|
|
6786
7261
|
</t>
|
|
@@ -6859,7 +7334,7 @@
|
|
|
6859
7334
|
t-att-style="props.style"
|
|
6860
7335
|
t-att-data-id="props.figureUI.id"
|
|
6861
7336
|
tabindex="0"
|
|
6862
|
-
t-on-keydown="(ev) => this.onKeyDown(ev)"
|
|
7337
|
+
t-on-keydown.stop="(ev) => this.onKeyDown(ev)"
|
|
6863
7338
|
t-on-keyup.stop="">
|
|
6864
7339
|
<t
|
|
6865
7340
|
t-component="figureRegistry.get(props.figureUI.tag).Component"
|
|
@@ -6907,7 +7382,7 @@
|
|
|
6907
7382
|
/>
|
|
6908
7383
|
</div>
|
|
6909
7384
|
</div>
|
|
6910
|
-
<t t-if="
|
|
7385
|
+
<t t-if="isFigureResizable">
|
|
6911
7386
|
<div
|
|
6912
7387
|
class="o-fig-anchor o-top pe-auto"
|
|
6913
7388
|
t-att-style="this.getResizerPosition('top')"
|
|
@@ -6967,6 +7442,15 @@
|
|
|
6967
7442
|
<t t-name="o-spreadsheet-ChartDashboardMenu">
|
|
6968
7443
|
<div class="o-dashboard-chart-select position-absolute top-0 end-0" t-on-click.stop="">
|
|
6969
7444
|
<div class="d-flex align-items-center gap-1 p-1 rounded" t-att-style="backgroundColor">
|
|
7445
|
+
<t t-if="regionOptions.length > 1">
|
|
7446
|
+
<Select
|
|
7447
|
+
class="'o-chart-dashboard-item w-auto py-0 px-1 text-muted text-nowrap rounded border-0'"
|
|
7448
|
+
popoverClass="'w-auto'"
|
|
7449
|
+
values="regionOptions"
|
|
7450
|
+
selectedValue="selectedRegion"
|
|
7451
|
+
onChange.bind="onRegionSelected"
|
|
7452
|
+
/>
|
|
7453
|
+
</t>
|
|
6970
7454
|
<t t-foreach="getMenuItems()" t-as="item" t-key="item.id">
|
|
6971
7455
|
<div
|
|
6972
7456
|
t-attf-class=" {{item.class}}"
|
|
@@ -6992,7 +7476,7 @@
|
|
|
6992
7476
|
</t>
|
|
6993
7477
|
|
|
6994
7478
|
<t t-name="o-spreadsheet-ChartJsComponent">
|
|
6995
|
-
<canvas class="o-figure-canvas w-100 h-100" t-
|
|
7479
|
+
<canvas class="o-figure-canvas w-100 h-100" t-ref="graphContainer"/>
|
|
6996
7480
|
</t>
|
|
6997
7481
|
|
|
6998
7482
|
<t t-name="o-spreadsheet-ZoomableChartJsComponent">
|
|
@@ -7009,7 +7493,7 @@
|
|
|
7009
7493
|
t-ref="masterChartCanvas"
|
|
7010
7494
|
t-on-dblclick="onMasterChartDoubleClick"
|
|
7011
7495
|
t-on-pointerdown="onMasterChartPointerDown"
|
|
7012
|
-
t-on-pointermove="
|
|
7496
|
+
t-on-pointermove="updateMasterChartCursor"
|
|
7013
7497
|
t-on-mouseleave="onMasterChartMouseLeave"
|
|
7014
7498
|
/>
|
|
7015
7499
|
</div>
|
|
@@ -7017,33 +7501,63 @@
|
|
|
7017
7501
|
</t>
|
|
7018
7502
|
|
|
7019
7503
|
<t t-name="o-spreadsheet-ErrorToolTip">
|
|
7020
|
-
<div class="o-error-tooltip
|
|
7504
|
+
<div class="o-error-tooltip">
|
|
7021
7505
|
<t t-if="evaluationError">
|
|
7022
7506
|
<div class="o-error-tooltip-title fw-bold text-danger">Error</div>
|
|
7023
7507
|
<div class="o-error-tooltip-message">
|
|
7024
|
-
<t t-
|
|
7508
|
+
<t t-out="evaluationError.message"/>
|
|
7025
7509
|
<div class="fst-italic" t-if="errorOriginPositionString">
|
|
7026
7510
|
Caused by
|
|
7027
7511
|
<span
|
|
7028
|
-
t-
|
|
7512
|
+
t-out="errorOriginPositionString"
|
|
7029
7513
|
class="o-button-link"
|
|
7030
7514
|
t-on-click="selectCell"
|
|
7031
7515
|
title="Click to select the cell"
|
|
7032
7516
|
/>
|
|
7033
7517
|
</div>
|
|
7518
|
+
<t t-set="missingHeadersForSpread" t-value="getMissingHeadersForSpread()"/>
|
|
7519
|
+
<div
|
|
7520
|
+
t-if="missingHeadersForSpread"
|
|
7521
|
+
id="missing-headers"
|
|
7522
|
+
class="o-button-link mt-4"
|
|
7523
|
+
t-on-click="() => this.addMissingHeaders(missingHeadersForSpread)"
|
|
7524
|
+
t-out="getAddMissingHeadersButtonText(missingHeadersForSpread)"
|
|
7525
|
+
/>
|
|
7034
7526
|
</div>
|
|
7035
7527
|
</t>
|
|
7036
7528
|
<t t-if="dataValidationErrorMessage">
|
|
7037
7529
|
<div class="o-error-tooltip-title fw-bold text-danger">Invalid</div>
|
|
7038
7530
|
<div class="o-error-tooltip-message">
|
|
7039
|
-
<t t-
|
|
7531
|
+
<t t-out="dataValidationErrorMessage"/>
|
|
7040
7532
|
</div>
|
|
7041
7533
|
</t>
|
|
7042
7534
|
</div>
|
|
7043
7535
|
</t>
|
|
7044
7536
|
|
|
7537
|
+
<t t-name="o-spreadsheet-DateInput">
|
|
7538
|
+
<input
|
|
7539
|
+
type="date"
|
|
7540
|
+
t-ref="{{refName}}"
|
|
7541
|
+
t-att-class="inputClass"
|
|
7542
|
+
t-att-id="props.id"
|
|
7543
|
+
t-att-placeholder="props.placeholder"
|
|
7544
|
+
t-on-change="save"
|
|
7545
|
+
t-on-blur="save"
|
|
7546
|
+
t-on-pointerdown="onMouseDown"
|
|
7547
|
+
t-on-pointerup="onMouseUp"
|
|
7548
|
+
t-on-keydown="onKeyDown"
|
|
7549
|
+
t-att-min="props.min"
|
|
7550
|
+
t-att-max="props.max"
|
|
7551
|
+
/>
|
|
7552
|
+
</t>
|
|
7553
|
+
|
|
7045
7554
|
<t t-name="o-spreadsheet-SpreadsheetDashboard">
|
|
7046
|
-
<div
|
|
7555
|
+
<div
|
|
7556
|
+
class="o-grid o-two-columns o-zoomable"
|
|
7557
|
+
t-ref="dashboard"
|
|
7558
|
+
tabindex="-1"
|
|
7559
|
+
t-on-wheel="onMouseWheel"
|
|
7560
|
+
t-att-style="dashboardStyle">
|
|
7047
7561
|
<div class="mx-auto h-100 position-relative" t-ref="grid" t-att-style="gridContainer">
|
|
7048
7562
|
<GridOverlay
|
|
7049
7563
|
onGridResized.bind="onGridResized"
|
|
@@ -7057,7 +7571,6 @@
|
|
|
7057
7571
|
t-att-title="clickableCell.title"
|
|
7058
7572
|
t-on-click="(ev) => this.selectClickableCell(ev, clickableCell)"
|
|
7059
7573
|
t-on-auxclick="(ev) => this.selectClickableCell(ev, clickableCell)"
|
|
7060
|
-
t-on-contextmenu.prevent=""
|
|
7061
7574
|
t-att-style="getCellClickableStyle(clickableCell.coordinates)">
|
|
7062
7575
|
<t
|
|
7063
7576
|
t-if="clickableCell.component"
|
|
@@ -7083,9 +7596,9 @@
|
|
|
7083
7596
|
<div class="w-100 h-100 d-flex flex-column align-items-end" t-att-class="verticalJustifyClass">
|
|
7084
7597
|
<span
|
|
7085
7598
|
t-if="props.sortDirection === 'none'"
|
|
7086
|
-
class="o-icon sorting-icon
|
|
7599
|
+
class="o-icon sorting-icon mb-1"
|
|
7087
7600
|
t-att-style="style">
|
|
7088
|
-
<
|
|
7601
|
+
<t t-call="o-spreadsheet-Icon.CARET_SORT"/>
|
|
7089
7602
|
</span>
|
|
7090
7603
|
</div>
|
|
7091
7604
|
</t>
|
|
@@ -7134,7 +7647,7 @@
|
|
|
7134
7647
|
<t t-name="o-spreadsheet-SpeechBubble">
|
|
7135
7648
|
<t t-portal="'.o-spreadsheet'">
|
|
7136
7649
|
<div class="o-speech-bubble position-absolute px-3 border" t-ref="bubble">
|
|
7137
|
-
<div class="o-speech-content text-truncate pb-1" t-
|
|
7650
|
+
<div class="o-speech-content text-truncate pb-1" t-out="props.content"/>
|
|
7138
7651
|
</div>
|
|
7139
7652
|
</t>
|
|
7140
7653
|
</t>
|
|
@@ -7144,7 +7657,7 @@
|
|
|
7144
7657
|
class="o-cell-reference rounded"
|
|
7145
7658
|
t-if="shouldDisplayCellReference"
|
|
7146
7659
|
t-att-style="cellReferenceStyle"
|
|
7147
|
-
t-
|
|
7660
|
+
t-out="cellReference"
|
|
7148
7661
|
/>
|
|
7149
7662
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
7150
7663
|
<Composer t-props="composerProps"/>
|
|
@@ -7165,7 +7678,7 @@
|
|
|
7165
7678
|
<div>
|
|
7166
7679
|
<t t-foreach="formulaHeaderContent" t-as="part" t-key="part_index">
|
|
7167
7680
|
<span
|
|
7168
|
-
t-
|
|
7681
|
+
t-out="part.content"
|
|
7169
7682
|
t-att-class="part.focused ? 'o-formula-assistant-focus' : ''"
|
|
7170
7683
|
/>
|
|
7171
7684
|
</t>
|
|
@@ -7184,7 +7697,7 @@
|
|
|
7184
7697
|
<Collapse isCollapsed="state.isCollapsed">
|
|
7185
7698
|
<div class="o-formula-assistant-core pb-3 m-3 border-bottom">
|
|
7186
7699
|
<div class="o-formula-assistant-gray">ABOUT</div>
|
|
7187
|
-
<div t-
|
|
7700
|
+
<div t-out="context.functionDescription.description"/>
|
|
7188
7701
|
</div>
|
|
7189
7702
|
|
|
7190
7703
|
<t
|
|
@@ -7199,19 +7712,19 @@
|
|
|
7199
7712
|
<div
|
|
7200
7713
|
t-att-class="{'o-formula-assistant-focus': context.argsToFocus.includes(arg_index)}">
|
|
7201
7714
|
<span t-if="arg.repeating">
|
|
7202
|
-
<span t-
|
|
7715
|
+
<span t-out="arg.name + (context.repeatingArgGroupIndex + 1)"/>
|
|
7203
7716
|
</span>
|
|
7204
7717
|
<span t-else="">
|
|
7205
|
-
<span t-
|
|
7718
|
+
<span t-out="arg.name"/>
|
|
7206
7719
|
</span>
|
|
7207
7720
|
<span
|
|
7208
7721
|
t-if="arg.optional || arg.default || (arg.repeating and (firstRepeatableGroupOptional or context.repeatingArgGroupIndex > 0))"> - [optional] </span>
|
|
7209
7722
|
<span t-if="arg.default">
|
|
7210
7723
|
<span>default: </span>
|
|
7211
|
-
<t t-
|
|
7724
|
+
<t t-out="arg.defaultValue"/>
|
|
7212
7725
|
</span>
|
|
7213
7726
|
</div>
|
|
7214
|
-
<div class="o-formula-assistant-arg-description" t-
|
|
7727
|
+
<div class="o-formula-assistant-arg-description" t-out="arg.description"/>
|
|
7215
7728
|
</div>
|
|
7216
7729
|
</t>
|
|
7217
7730
|
</Collapse>
|
|
@@ -7315,27 +7828,30 @@
|
|
|
7315
7828
|
t-ref="autoCompleteList"
|
|
7316
7829
|
t-on-pointerdown.prevent=""
|
|
7317
7830
|
t-att-class="{
|
|
7318
|
-
'o-autocomplete-dropdown
|
|
7831
|
+
'o-autocomplete-dropdown': props.proposals.length}">
|
|
7319
7832
|
<t t-foreach="props.proposals" t-as="proposal" t-key="proposal.text + proposal_index">
|
|
7320
7833
|
<div
|
|
7321
|
-
class="d-flex flex-column text-start"
|
|
7834
|
+
class="o-autocomplete-content d-flex flex-column text-start"
|
|
7322
7835
|
t-att-class="{'o-autocomplete-value-focus': props.selectedIndex === proposal_index}"
|
|
7323
|
-
t-on-click="() => this.props.onValueSelected(proposal
|
|
7836
|
+
t-on-click="() => this.props.onValueSelected(proposal)"
|
|
7324
7837
|
t-on-pointermove="() => this.props.onValueHovered(proposal_index)">
|
|
7325
|
-
<div class="
|
|
7326
|
-
<
|
|
7327
|
-
<
|
|
7328
|
-
t-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7838
|
+
<div class="d-flex align-items-center gap-2">
|
|
7839
|
+
<div t-if="proposal.icon" t-call="{{proposal.icon}}"/>
|
|
7840
|
+
<div class="o-autocomplete-value text-truncate">
|
|
7841
|
+
<t t-set="htmlContent" t-value="proposal.htmlContent || [{ value: proposal.text}]"/>
|
|
7842
|
+
<span
|
|
7843
|
+
t-foreach="htmlContent"
|
|
7844
|
+
t-as="content"
|
|
7845
|
+
t-key="content_index"
|
|
7846
|
+
t-att-class="content.classes?.join(' ')"
|
|
7847
|
+
t-att-style="getCss(content)"
|
|
7848
|
+
t-out="content.value"
|
|
7849
|
+
/>
|
|
7850
|
+
</div>
|
|
7335
7851
|
</div>
|
|
7336
7852
|
<div
|
|
7337
7853
|
class="o-autocomplete-description text-truncate"
|
|
7338
|
-
t-
|
|
7854
|
+
t-out="proposal.description"
|
|
7339
7855
|
t-if="props.selectedIndex === proposal_index || proposal.alwaysExpanded"
|
|
7340
7856
|
/>
|
|
7341
7857
|
</div>
|
|
@@ -7368,7 +7884,7 @@
|
|
|
7368
7884
|
|
|
7369
7885
|
<t t-name="o-spreadsheet-ColorPicker">
|
|
7370
7886
|
<Popover t-props="popoverProps">
|
|
7371
|
-
<div class="o-color-picker
|
|
7887
|
+
<div class="o-color-picker" t-on-click.stop="" t-att-style="colorPickerStyle">
|
|
7372
7888
|
<div class="o-color-picker-section-name">Standard</div>
|
|
7373
7889
|
<div class="colors-grid">
|
|
7374
7890
|
<div
|
|
@@ -7462,15 +7978,14 @@
|
|
|
7462
7978
|
</t>
|
|
7463
7979
|
|
|
7464
7980
|
<t t-name="o-spreadsheet-ClientTag">
|
|
7465
|
-
<div t-if="props.active" class="o-client-tag" t-att-style="tagStyle" t-
|
|
7981
|
+
<div t-if="props.active" class="o-client-tag" t-att-style="tagStyle" t-out="props.name"/>
|
|
7466
7982
|
</t>
|
|
7467
7983
|
|
|
7468
7984
|
<t t-name="o-spreadsheet-BottomBar">
|
|
7469
7985
|
<div
|
|
7470
7986
|
class="o-spreadsheet-bottom-bar o-two-columns d-flex flex-fill align-items-center overflow-hidden border-top"
|
|
7471
7987
|
t-on-click="props.onClick"
|
|
7472
|
-
t-ref="bottomBar"
|
|
7473
|
-
t-on-contextmenu.prevent="">
|
|
7988
|
+
t-ref="bottomBar">
|
|
7474
7989
|
<Ripple class="'add-sheet-container'">
|
|
7475
7990
|
<div
|
|
7476
7991
|
class="o-sheet-item o-add-sheet me-2 p-1"
|
|
@@ -7568,7 +8083,7 @@
|
|
|
7568
8083
|
<div
|
|
7569
8084
|
class="o-selection-statistic text-truncate user-select-none me-4 bg-white rounded shadow d-flex align-items-center"
|
|
7570
8085
|
t-on-click="listSelectionStatistics">
|
|
7571
|
-
<t t-
|
|
8086
|
+
<t t-out="selectedStatistic"/>
|
|
7572
8087
|
<span class="ms-2">
|
|
7573
8088
|
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
7574
8089
|
</span>
|
|
@@ -7584,18 +8099,21 @@
|
|
|
7584
8099
|
composerFocusableElement="true"
|
|
7585
8100
|
t-on-pointerdown="(ev) => this.onMouseDown(ev)"
|
|
7586
8101
|
t-on-click="onClick"
|
|
7587
|
-
t-on-contextmenu
|
|
8102
|
+
t-on-contextmenu="(ev) => this.onContextMenu(ev)"
|
|
7588
8103
|
t-ref="sheetDiv"
|
|
7589
8104
|
t-key="sheetName"
|
|
7590
8105
|
t-att-style="props.style"
|
|
7591
8106
|
t-att-title="sheetName"
|
|
7592
8107
|
t-att-data-id="props.sheetId"
|
|
7593
8108
|
t-att-class="{active: isSheetActive}">
|
|
8109
|
+
<span t-if="isSheetLocked" class="me-1">
|
|
8110
|
+
<t t-call="o-spreadsheet-Icon.LOCK"/>
|
|
8111
|
+
</span>
|
|
7594
8112
|
<span
|
|
7595
8113
|
class="o-sheet-name"
|
|
7596
8114
|
t-att-class="{'o-sheet-name-editable': state.isEditing }"
|
|
7597
8115
|
t-ref="sheetNameSpan"
|
|
7598
|
-
t-
|
|
8116
|
+
t-out="sheetName"
|
|
7599
8117
|
t-on-pointerdown="(ev) => this.onMouseEventSheetName(ev)"
|
|
7600
8118
|
t-on-click="(ev) => this.onMouseEventSheetName(ev)"
|
|
7601
8119
|
t-on-dblclick="() => this.onDblClick()"
|
|
@@ -7604,8 +8122,9 @@
|
|
|
7604
8122
|
t-att-contenteditable="state.isEditing ? 'plaintext-only': 'false'"
|
|
7605
8123
|
/>
|
|
7606
8124
|
<span
|
|
7607
|
-
class="o-sheet-icon ms-1"
|
|
8125
|
+
class="o-sheet-icon ms-1 rounded"
|
|
7608
8126
|
tabindex="-1"
|
|
8127
|
+
t-ref="icon"
|
|
7609
8128
|
t-on-click.stop="(ev) => this.onIconClick(ev)">
|
|
7610
8129
|
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
7611
8130
|
</span>
|
|
@@ -7625,7 +8144,10 @@
|
|
|
7625
8144
|
</t>
|
|
7626
8145
|
|
|
7627
8146
|
<t t-name="o-spreadsheet-BorderEditorWidget">
|
|
7628
|
-
<div
|
|
8147
|
+
<div
|
|
8148
|
+
class="d-flex position-relative"
|
|
8149
|
+
t-att-class="{'o-disabled': env.model.getters.isCurrentSheetLocked()}"
|
|
8150
|
+
title="Borders">
|
|
7629
8151
|
<span
|
|
7630
8152
|
t-ref="borderEditorButton"
|
|
7631
8153
|
t-on-click.stop="toggleBorderEditor"
|
|
@@ -7653,7 +8175,7 @@
|
|
|
7653
8175
|
<t t-set="border_color">Border Color</t>
|
|
7654
8176
|
<Popover t-props="popoverProps">
|
|
7655
8177
|
<div
|
|
7656
|
-
class="d-flex o-border-selector
|
|
8178
|
+
class="d-flex o-border-selector"
|
|
7657
8179
|
t-on-click.stop=""
|
|
7658
8180
|
t-att-class="props.class ? props.class : ''">
|
|
7659
8181
|
<div class="o-border-selector-section">
|
|
@@ -7702,7 +8224,7 @@
|
|
|
7702
8224
|
<Popover
|
|
7703
8225
|
t-props="lineStylePickerPopoverProps"
|
|
7704
8226
|
t-if="state.activeTool === 'borderTypeTool'">
|
|
7705
|
-
<div class="o-border-style-dropdown
|
|
8227
|
+
<div class="o-border-style-dropdown">
|
|
7706
8228
|
<t t-foreach="borderStyles" t-as="borderStyle" t-key="borderStyle">
|
|
7707
8229
|
<div
|
|
7708
8230
|
t-att-title="borderStyle"
|