@odoo/o-spreadsheet 19.2.11 → 19.4.0-alpha.4
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.js → o_spreadsheet.cjs} +70185 -66238
- package/dist/o_spreadsheet.css +249 -47
- package/dist/o_spreadsheet.esm.js +74542 -70628
- package/dist/o_spreadsheet.iife.js +53825 -49878
- package/dist/o_spreadsheet.min.iife.js +965 -0
- package/dist/o_spreadsheet.xml +1466 -746
- 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 +65 -0
- package/dist/types/actions/insert_actions.d.ts +33 -0
- package/dist/types/actions/menu_items_actions.d.ts +58 -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 +18 -0
- package/dist/types/clipboard_handlers/carousel_clipboard.d.ts +22 -0
- package/dist/types/clipboard_handlers/cell_clipboard.d.ts +31 -0
- package/dist/types/clipboard_handlers/chart_clipboard.d.ts +18 -0
- package/dist/types/clipboard_handlers/clipboard_handler_registrations.d.ts +1 -0
- package/dist/types/clipboard_handlers/conditional_format_clipboard.d.ts +26 -0
- package/dist/types/clipboard_handlers/data_validation_clipboard.d.ts +26 -0
- package/dist/types/clipboard_handlers/image_clipboard.d.ts +19 -0
- package/dist/types/clipboard_handlers/merge_clipboard.d.ts +17 -0
- package/dist/types/clipboard_handlers/references_clipboard.d.ts +12 -0
- package/dist/types/clipboard_handlers/sheet_clipboard.d.ts +13 -0
- package/dist/types/clipboard_handlers/tables_clipboard.d.ts +36 -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 +106 -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 +33 -0
- package/dist/types/components/border_editor/border_editor.d.ts +69 -0
- package/dist/types/components/border_editor/border_editor_widget.d.ts +51 -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 +58 -0
- package/dist/types/components/color_picker/color_picker_widget.d.ts +54 -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 +148 -0
- package/dist/types/components/composer/composer/cell_composer_store.d.ts +25 -0
- package/dist/types/components/composer/composer/composer.d.ts +196 -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 +49 -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 +23 -0
- package/dist/types/components/dashboard/dashboard.d.ts +53 -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 +9 -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 +18 -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 +31 -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 +66 -0
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +62 -0
- package/dist/types/components/figures/figure_chart/figure_chart.d.ts +39 -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 +28 -0
- package/dist/types/components/filters/filter_menu/filter_menu.d.ts +42 -0
- package/dist/types/components/filters/filter_menu_criterion/filter_menu_criterion.d.ts +30 -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 +11 -0
- package/dist/types/components/grid/grid.d.ts +127 -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 +69 -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 +47 -0
- package/dist/types/components/header_group/header_group_container.d.ts +34 -0
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +178 -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 +11 -0
- package/dist/types/components/helpers/figure_snap_helper.d.ts +27 -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/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 +5 -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 +22 -0
- package/dist/types/components/highlight/border/border.d.ts +22 -0
- package/dist/types/components/highlight/corner/corner.d.ts +30 -0
- package/dist/types/components/highlight/highlight/highlight.d.ts +37 -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/link/link_display/link_display.d.ts +30 -0
- package/dist/types/components/link/link_editor/link_editor.d.ts +62 -0
- package/dist/types/components/menu/menu.d.ts +79 -0
- package/dist/types/components/menu_popover/menu_popover.d.ts +128 -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 +23 -0
- package/dist/types/components/pivot_html_renderer/pivot_html_renderer.d.ts +89 -0
- package/dist/types/components/popover/cell_popover_store.d.ts +17 -0
- package/dist/types/components/popover/popover.d.ts +84 -0
- package/dist/types/components/popover/popover_builders.d.ts +1 -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 +100 -0
- package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +61 -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 +15 -0
- package/dist/types/components/side_panel/chart/bubble_chart/bubble_chart_config_panel.d.ts +66 -0
- package/dist/types/components/side_panel/chart/bubble_chart/bubble_chart_design_panel.d.ts +61 -0
- package/dist/types/components/side_panel/chart/building_blocks/axis_design/axis_design_editor.d.ts +72 -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 +51 -0
- package/dist/types/components/side_panel/chart/building_blocks/data_series/data_series.d.ts +76 -0
- package/dist/types/components/side_panel/chart/building_blocks/data_source/data_source.d.ts +53 -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 +49 -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 +48 -0
- package/dist/types/components/side_panel/chart/building_blocks/legend/legend.d.ts +32 -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 +112 -0
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_design_editor.d.ts +58 -0
- package/dist/types/components/side_panel/chart/building_blocks/series_design/series_with_axis_design_editor.d.ts +59 -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 +88 -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_side_panel_registry.d.ts +15 -0
- package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +52 -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 +15 -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 +56 -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 +30 -0
- package/dist/types/components/side_panel/chart/geo_chart_panel/geo_chart_region_select_section.d.ts +29 -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/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 +34 -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 +43 -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 +29 -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 +25 -0
- package/dist/types/components/side_panel/chart/waterfall_chart/waterfall_chart_design_panel.d.ts +51 -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 +52 -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 +100 -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 +32 -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 +29 -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 +16 -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 +34 -0
- package/dist/types/components/side_panel/criterion_form/value_in_range_criterion/value_in_range_criterion.d.ts +23 -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 +53 -0
- package/dist/types/components/side_panel/data_validation/dv_preview/dv_preview.d.ts +21 -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 +74 -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/perf_profile/perf_profile_panel.d.ts +30 -0
- package/dist/types/components/side_panel/pivot/pivot_custom_groups_collapsible/pivot_custom_groups_collapsible.d.ts +31 -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 +45 -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 +73 -0
- package/dist/types/components/side_panel/pivot/pivot_measure_display_panel/pivot_measure_display_panel_store.d.ts +38 -0
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_design_panel/pivot_design_panel.d.ts +36 -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 +45 -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 +35 -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 +57 -0
- package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +52 -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 +37 -0
- package/dist/types/components/spreadsheet/spreadsheet.d.ts +77 -0
- package/dist/types/components/spreadsheet_print/spreadsheet_print.d.ts +35 -0
- package/dist/types/components/spreadsheet_print/spreadsheet_print_store.d.ts +79 -0
- package/dist/types/components/standalone_grid_canvas/figure_renderer_store.d.ts +17 -0
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +28 -0
- package/dist/types/components/tables/hovered_table_store.d.ts +14 -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 +28 -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 +87 -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 +172 -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 +42 -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 +113 -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 +59 -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 +18 -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 +142 -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/bubble_chart.d.ts +7 -0
- package/dist/types/helpers/figures/charts/calendar_chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/chart_common.d.ts +66 -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/helpers_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 +35 -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 +41 -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 +24 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_scales.d.ts +30 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_show_values.d.ts +13 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_title.d.ts +9 -0
- package/dist/types/helpers/figures/charts/runtime/chartjs_tooltip.d.ts +30 -0
- package/dist/types/helpers/figures/charts/runtime/helpers_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 +7 -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/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 +3 -0
- package/dist/types/helpers/pivot/pivot_menu_items.d.ts +17 -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 +3 -0
- package/dist/types/helpers/search.d.ts +19 -0
- package/dist/types/helpers/selection_statistic_functions.d.ts +16 -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 +14 -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 +9 -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 +459 -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 +30 -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/plugin_registries.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 +56 -0
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluator.d.ts +73 -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/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/fingerprint.d.ts +13 -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/color_theme.d.ts +15 -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/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 +46 -0
- package/dist/types/plugins/ui_stateful/carousel_ui.d.ts +20 -0
- package/dist/types/plugins/ui_stateful/clipboard.d.ts +64 -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 +60 -0
- package/dist/types/registries/auto_completes/autocompelete_registration.d.ts +5 -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/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 +14 -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 +65 -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 +14 -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 +18 -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/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 +18 -0
- package/dist/types/stores/grid_renderer_store.d.ts +44 -0
- package/dist/types/stores/highlight_store.d.ts +17 -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 +16 -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/bubble_chart.d.ts +24 -0
- package/dist/types/types/chart/calendar_chart.d.ts +17 -0
- package/dist/types/types/chart/chart.d.ts +227 -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 +22 -0
- package/dist/types/types/chart/funnel_chart.d.ts +24 -0
- package/dist/types/types/chart/gauge_chart.d.ts +86 -0
- package/dist/types/types/chart/geo_chart.d.ts +26 -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 +36 -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 +948 -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/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 +76 -0
- package/dist/types/types/generic_criterion.d.ts +16 -0
- package/dist/types/types/getters.d.ts +46 -0
- package/dist/types/types/history.d.ts +43 -0
- package/dist/types/types/image.d.ts +23 -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 +47 -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 +132 -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 +518 -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 +180 -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/named_ranges_conversion.d.ts +5 -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/misc_extractor.d.ts +19 -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 +11 -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 +15 -14
- package/dist/o_spreadsheet.iife.min.js +0 -955
package/dist/o_spreadsheet.xml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
This file is generated by o-spreadsheet build tools. Do not edit it.
|
|
3
3
|
@see https://github.com/odoo/o-spreadsheet
|
|
4
|
-
@version 19.
|
|
5
|
-
@date 2026-05-11T13:
|
|
6
|
-
@hash
|
|
4
|
+
@version 19.4.0-alpha.4
|
|
5
|
+
@date 2026-05-11T13:50:07.021Z
|
|
6
|
+
@hash 4f00b68
|
|
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>
|
|
@@ -69,9 +69,19 @@
|
|
|
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"
|
|
@@ -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"/>
|
|
@@ -241,9 +255,11 @@
|
|
|
241
255
|
t-att-id="props.id"
|
|
242
256
|
t-att-placeholder="props.placeholder"
|
|
243
257
|
t-on-change="save"
|
|
244
|
-
t-on-blur="
|
|
258
|
+
t-on-blur="onBlur"
|
|
245
259
|
t-on-pointerdown="onMouseDown"
|
|
246
260
|
t-on-pointerup="onMouseUp"
|
|
261
|
+
t-on-focus="onFocus"
|
|
262
|
+
t-on-input="onInput"
|
|
247
263
|
t-on-keydown="onKeyDown"
|
|
248
264
|
/>
|
|
249
265
|
<span
|
|
@@ -258,7 +274,7 @@
|
|
|
258
274
|
<t t-name="o-spreadsheet-TableStylesPopover">
|
|
259
275
|
<Popover t-if="props.popoverProps" t-props="props.popoverProps">
|
|
260
276
|
<div
|
|
261
|
-
class="o-table-style-popover d-flex flex-column py-3
|
|
277
|
+
class="o-table-style-popover d-flex flex-column py-3"
|
|
262
278
|
t-ref="tableStyleList"
|
|
263
279
|
t-on-contextmenu.prevent="">
|
|
264
280
|
<div class="d-flex o-notebook ps-4 mb-3">
|
|
@@ -270,7 +286,7 @@
|
|
|
270
286
|
t-att-class="{ 'selected': state.selectedCategory === category }"
|
|
271
287
|
t-on-click="() => state.selectedCategory = category"
|
|
272
288
|
t-att-data-id="category"
|
|
273
|
-
t-
|
|
289
|
+
t-out="categories[category_value]"
|
|
274
290
|
/>
|
|
275
291
|
</div>
|
|
276
292
|
<div
|
|
@@ -306,7 +322,7 @@
|
|
|
306
322
|
t-on-click="props.onClick"
|
|
307
323
|
t-on-contextmenu.prevent="(ev) => this.onContextMenu(ev)">
|
|
308
324
|
<div class="o-table-preview">
|
|
309
|
-
<canvas t-ref="canvas" class="w-100 h-100"/>
|
|
325
|
+
<canvas t-ref="canvas" class="w-100 h-100 os-theme-dependant"/>
|
|
310
326
|
</div>
|
|
311
327
|
<div
|
|
312
328
|
class="o-table-style-edit-button position-absolute d-none bg-white border"
|
|
@@ -384,13 +400,115 @@
|
|
|
384
400
|
/>
|
|
385
401
|
</t>
|
|
386
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
|
+
|
|
387
502
|
<t t-name="o-spreadsheet-Spreadsheet">
|
|
388
503
|
<div
|
|
389
504
|
class="o-spreadsheet h-100 w-100"
|
|
390
505
|
t-att-class="getSpreadSheetClasses()"
|
|
391
506
|
t-ref="spreadsheet"
|
|
392
507
|
t-att-style="getStyle()">
|
|
393
|
-
<t t-if="
|
|
508
|
+
<t t-if="state.printModeEnabled">
|
|
509
|
+
<SpreadsheetPrint onExitPrintMode.bind="exitPrintMode"/>
|
|
510
|
+
</t>
|
|
511
|
+
<t t-elif="env.isDashboard()">
|
|
394
512
|
<SpreadsheetDashboard getGridSize.bind="getGridSize"/>
|
|
395
513
|
<FullScreenFigure/>
|
|
396
514
|
</t>
|
|
@@ -454,7 +572,7 @@
|
|
|
454
572
|
t-as="symbol"
|
|
455
573
|
t-key="symbol_index"
|
|
456
574
|
class="o-spreadsheet-editor-symbol w-100 d-flex justify-content-center align-items-center mx-1"
|
|
457
|
-
t-
|
|
575
|
+
t-out="symbol"
|
|
458
576
|
tabindex="-1"
|
|
459
577
|
t-att-title="symbol"
|
|
460
578
|
t-on-click="() => this.insertSymbol(symbol)"
|
|
@@ -482,7 +600,7 @@
|
|
|
482
600
|
t-att-title="backTitle">
|
|
483
601
|
<i class="fa fa-angle-left"/>
|
|
484
602
|
</div>
|
|
485
|
-
<span class="d-flex align-items-center" t-
|
|
603
|
+
<span class="d-flex align-items-center" t-out="state.title"/>
|
|
486
604
|
</div>
|
|
487
605
|
<div
|
|
488
606
|
class="o-ribbon-menu-wrapper overflow-auto"
|
|
@@ -618,9 +736,10 @@
|
|
|
618
736
|
<Checkbox
|
|
619
737
|
label="getCheckboxLabel('automaticAutofill')"
|
|
620
738
|
name="'automaticAutofill'"
|
|
621
|
-
value="tableConfig.automaticAutofill"
|
|
739
|
+
value="tableConfig.automaticAutofill and props.table.type !== 'dynamic'"
|
|
622
740
|
onChange="(val) => this.updateTableConfig('automaticAutofill', val)"
|
|
623
741
|
className="'mb-1'"
|
|
742
|
+
disabled="props.table.type === 'dynamic'"
|
|
624
743
|
/>
|
|
625
744
|
<div class="d-flex flex-row align-items-center">
|
|
626
745
|
<Checkbox
|
|
@@ -718,7 +837,7 @@
|
|
|
718
837
|
t-on-click="props.onToggleCollapsePanel">
|
|
719
838
|
<i class="fa fa-angle-double-right"/>
|
|
720
839
|
</div>
|
|
721
|
-
<div class="o-sidePanelTitle o-fw-bold ms-2" t-
|
|
840
|
+
<div class="o-sidePanelTitle o-fw-bold ms-2" t-out="getTitle()"/>
|
|
722
841
|
<div
|
|
723
842
|
t-if="props.isPinned"
|
|
724
843
|
class="o-pin-panel o-sidePanelAction ms-auto rounded active"
|
|
@@ -774,7 +893,7 @@
|
|
|
774
893
|
✕
|
|
775
894
|
</div>
|
|
776
895
|
|
|
777
|
-
<div class="o-sidePanelTitle o-fw-bold" t-
|
|
896
|
+
<div class="o-sidePanelTitle o-fw-bold" t-out="getTitle()"/>
|
|
778
897
|
</div>
|
|
779
898
|
</div>
|
|
780
899
|
</t>
|
|
@@ -790,19 +909,19 @@
|
|
|
790
909
|
<div class="o-locale-preview mt-4 p-3 rounded border">
|
|
791
910
|
<div>
|
|
792
911
|
<span class="o-fw-bold me-1">Number:</span>
|
|
793
|
-
<span t-
|
|
912
|
+
<span t-out="numberFormatPreview"/>
|
|
794
913
|
</div>
|
|
795
914
|
<div>
|
|
796
915
|
<span class="o-fw-bold me-1">Date:</span>
|
|
797
|
-
<span t-
|
|
916
|
+
<span t-out="dateFormatPreview"/>
|
|
798
917
|
</div>
|
|
799
918
|
<div>
|
|
800
919
|
<span class="o-fw-bold me-1">Date time:</span>
|
|
801
|
-
<span t-
|
|
920
|
+
<span t-out="dateTimeFormatPreview"/>
|
|
802
921
|
</div>
|
|
803
922
|
<div>
|
|
804
923
|
<span class="o-fw-bold me-1">First day of week:</span>
|
|
805
|
-
<span t-
|
|
924
|
+
<span t-out="firstDayOfWeek"/>
|
|
806
925
|
</div>
|
|
807
926
|
</div>
|
|
808
927
|
</Section>
|
|
@@ -935,7 +1054,7 @@
|
|
|
935
1054
|
<span
|
|
936
1055
|
class="text-danger sp_range_error_message"
|
|
937
1056
|
t-if="shouldDisplayInvalidRangeError"
|
|
938
|
-
t-
|
|
1057
|
+
t-out="pivot.invalidRangeMessage"
|
|
939
1058
|
/>
|
|
940
1059
|
</Section>
|
|
941
1060
|
|
|
@@ -1022,6 +1141,16 @@
|
|
|
1022
1141
|
</div>
|
|
1023
1142
|
</div>
|
|
1024
1143
|
</div>
|
|
1144
|
+
<div class="row mb-2 align-items-center">
|
|
1145
|
+
<div class="col-6">Use tabular form:</div>
|
|
1146
|
+
<div class="col-6 d-flex align-items-center">
|
|
1147
|
+
<Checkbox
|
|
1148
|
+
name="'tabularForm'"
|
|
1149
|
+
value="pivotStyle.tabularForm ?? defaultStyle.tabularForm"
|
|
1150
|
+
onChange="(val) => this.updatePivotStyleProperty('tabularForm', val)"
|
|
1151
|
+
/>
|
|
1152
|
+
</div>
|
|
1153
|
+
</div>
|
|
1025
1154
|
</div>
|
|
1026
1155
|
</Section>
|
|
1027
1156
|
|
|
@@ -1078,7 +1207,7 @@
|
|
|
1078
1207
|
/>
|
|
1079
1208
|
<div
|
|
1080
1209
|
class="o-pivot-measure-display-description mt-3 ps-3 border-start"
|
|
1081
|
-
t-
|
|
1210
|
+
t-out="measureDisplayDescription[store.measureDisplay.type]"
|
|
1082
1211
|
/>
|
|
1083
1212
|
</Section>
|
|
1084
1213
|
|
|
@@ -1241,15 +1370,15 @@
|
|
|
1241
1370
|
<t t-name="o-spreadsheet-PivotSortSection">
|
|
1242
1371
|
<Section t-if="hasValidSort" class="'o-pivot-sort'">
|
|
1243
1372
|
<t t-set-slot="title">Sorting</t>
|
|
1244
|
-
<div t-
|
|
1373
|
+
<div t-out="sortDescription" class="pb-2"/>
|
|
1245
1374
|
<div class="d-flex flex-column gap-2">
|
|
1246
1375
|
<t t-foreach="sortValuesAndFields" t-as="valueAndField" t-key="valueAndField_index">
|
|
1247
1376
|
<div class="o-sort-card d-flex gap-1 px-2 border">
|
|
1248
1377
|
<t t-if="valueAndField.field">
|
|
1249
|
-
<span class="fw-bolder" t-
|
|
1378
|
+
<span class="fw-bolder" t-out="valueAndField.field"/>
|
|
1250
1379
|
=
|
|
1251
1380
|
</t>
|
|
1252
|
-
<span class="fw-bolder o-sort-value" t-
|
|
1381
|
+
<span class="fw-bolder o-sort-value" t-out="valueAndField.value"/>
|
|
1253
1382
|
</div>
|
|
1254
1383
|
</t>
|
|
1255
1384
|
</div>
|
|
@@ -1299,7 +1428,7 @@
|
|
|
1299
1428
|
</div>
|
|
1300
1429
|
<div class="d-flex flex-row">
|
|
1301
1430
|
<div class="d-flex py-1 px-2 w-100 small text-muted o-measure-description">
|
|
1302
|
-
<i t-
|
|
1431
|
+
<i t-out="getMeasureDescription(measure)"/>
|
|
1303
1432
|
</div>
|
|
1304
1433
|
</div>
|
|
1305
1434
|
</PivotDimension>
|
|
@@ -1352,7 +1481,7 @@
|
|
|
1352
1481
|
class="'o-fw-bold'"
|
|
1353
1482
|
selectContentOnFocus="true"
|
|
1354
1483
|
/>
|
|
1355
|
-
<span t-else="1" class="o-fw-bold text-truncate" t-
|
|
1484
|
+
<span t-else="1" class="o-fw-bold text-truncate" t-out="dimensionDisplayName"/>
|
|
1356
1485
|
</div>
|
|
1357
1486
|
<div class="d-flex flex-rows" t-on-pointerdown.stop="">
|
|
1358
1487
|
<t t-slot="upper-right-icons"/>
|
|
@@ -1369,9 +1498,8 @@
|
|
|
1369
1498
|
|
|
1370
1499
|
<t t-name="o-spreadsheet-AddDimensionButton">
|
|
1371
1500
|
<button class="add-dimension o-button" t-on-click="togglePopover" t-ref="button">Add</button>
|
|
1372
|
-
<Popover t-if="popover.isOpen" t-props="popoverProps">
|
|
1373
|
-
<div
|
|
1374
|
-
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">
|
|
1375
1503
|
<i class="pe-1 pivot-dimension-search-field-icon text-muted">
|
|
1376
1504
|
<t t-call="o-spreadsheet-Icon.SEARCH"/>
|
|
1377
1505
|
</i>
|
|
@@ -1454,6 +1582,132 @@
|
|
|
1454
1582
|
</SidePanelCollapsible>
|
|
1455
1583
|
</t>
|
|
1456
1584
|
|
|
1585
|
+
<t t-name="o-spreadsheet-PerfProfilePanel">
|
|
1586
|
+
<div class="o-perf-profile-panel">
|
|
1587
|
+
<t t-if="!this.perfProfile">
|
|
1588
|
+
<Section>
|
|
1589
|
+
<div class="d-flex justify-content-center mt-3">
|
|
1590
|
+
<button class="o-button primary" t-on-click="this.startProfiling">
|
|
1591
|
+
Analyze performance
|
|
1592
|
+
</button>
|
|
1593
|
+
</div>
|
|
1594
|
+
<small class="text-muted d-flex justify-content-center mt-2">
|
|
1595
|
+
This may take a while.
|
|
1596
|
+
</small>
|
|
1597
|
+
</Section>
|
|
1598
|
+
</t>
|
|
1599
|
+
<t t-else="">
|
|
1600
|
+
<Section>
|
|
1601
|
+
<div class="d-flex flex-column gap-1">
|
|
1602
|
+
<div class="d-flex justify-content-center mb-3">
|
|
1603
|
+
<button class="o-button" t-on-click="this.startProfiling">
|
|
1604
|
+
<i class="fa fa-refresh me-1"/>
|
|
1605
|
+
Re-analyze
|
|
1606
|
+
</button>
|
|
1607
|
+
</div>
|
|
1608
|
+
<div class="d-flex justify-content-between">
|
|
1609
|
+
<span class="text-muted">Total time</span>
|
|
1610
|
+
<span class="fw-bold" t-esc="this.formatTime(this.perfProfile.totalTime)"/>
|
|
1611
|
+
</div>
|
|
1612
|
+
<div class="d-flex justify-content-between">
|
|
1613
|
+
<span class="text-muted">Cells</span>
|
|
1614
|
+
<span
|
|
1615
|
+
t-esc="this.humanize(this.perfProfile.totalCells)"
|
|
1616
|
+
t-att-title="this.perfProfile.totalCells"
|
|
1617
|
+
/>
|
|
1618
|
+
</div>
|
|
1619
|
+
<div class="d-flex justify-content-between">
|
|
1620
|
+
<span class="text-muted">Function calls</span>
|
|
1621
|
+
<span
|
|
1622
|
+
t-esc="this.humanize(this.perfProfile.totalFunctionCalls)"
|
|
1623
|
+
t-att-title="this.perfProfile.totalFunctionCalls"
|
|
1624
|
+
/>
|
|
1625
|
+
</div>
|
|
1626
|
+
</div>
|
|
1627
|
+
</Section>
|
|
1628
|
+
<Section>
|
|
1629
|
+
<div class="d-flex flex-column gap-1">
|
|
1630
|
+
<t t-foreach="this.perfProfile.entries.slice(0, 500)" t-as="entry" t-key="entry_index">
|
|
1631
|
+
<t t-if="entry.time > 0">
|
|
1632
|
+
<div
|
|
1633
|
+
class="o-perf-range-entry position-relative overflow-hidden rounded"
|
|
1634
|
+
t-att-class="{ 'o-perf-entry-selected': this.isSelected(entry_index) }"
|
|
1635
|
+
t-on-click="() => this.selectEntry(entry_index)">
|
|
1636
|
+
<div
|
|
1637
|
+
class="o-perf-bar position-absolute top-0 start-0 bottom-0"
|
|
1638
|
+
t-attf-style="width: {{ this.barWidth(entry) }}%"
|
|
1639
|
+
/>
|
|
1640
|
+
<div
|
|
1641
|
+
class="position-relative d-flex justify-content-between py-1 px-2 text-nowrap">
|
|
1642
|
+
<span class="text-truncate me-2">
|
|
1643
|
+
<t t-esc="entry.functionName"/>
|
|
1644
|
+
<small class="text-muted ms-1" t-esc="this.stringifyRange(entry)"/>
|
|
1645
|
+
</span>
|
|
1646
|
+
<small class="flex-shrink-0 text-muted">
|
|
1647
|
+
<t t-esc="this.formatTime(entry.time)"/>
|
|
1648
|
+
(
|
|
1649
|
+
<t t-esc="this.formatPercent(entry.time)"/>
|
|
1650
|
+
)
|
|
1651
|
+
</small>
|
|
1652
|
+
</div>
|
|
1653
|
+
</div>
|
|
1654
|
+
</t>
|
|
1655
|
+
</t>
|
|
1656
|
+
</div>
|
|
1657
|
+
</Section>
|
|
1658
|
+
</t>
|
|
1659
|
+
</div>
|
|
1660
|
+
</t>
|
|
1661
|
+
|
|
1662
|
+
<t t-name="o-spreadsheet-NamedRangesPanel">
|
|
1663
|
+
<div class="o-named-ranges">
|
|
1664
|
+
<div class="o-named-range-list">
|
|
1665
|
+
<t t-foreach="namedRanges" t-as="namedRange" t-key="namedRange_index">
|
|
1666
|
+
<NamedRangePreview namedRange="namedRange"/>
|
|
1667
|
+
</t>
|
|
1668
|
+
</div>
|
|
1669
|
+
<div class="o-named-range-add o-button-link p-4 float-end" t-on-click="addNewNamedRange">
|
|
1670
|
+
+ Add a new named range
|
|
1671
|
+
</div>
|
|
1672
|
+
</div>
|
|
1673
|
+
</t>
|
|
1674
|
+
|
|
1675
|
+
<t t-name="o-spreadsheet-NamedRangePreview">
|
|
1676
|
+
<t>
|
|
1677
|
+
<div
|
|
1678
|
+
class="o-named-range-preview p-3 pb-1 border-bottom"
|
|
1679
|
+
t-att-class="{
|
|
1680
|
+
'o-focused': state.isSelectionInputFocused
|
|
1681
|
+
}"
|
|
1682
|
+
t-ref="namedRangePreview">
|
|
1683
|
+
<div class="d-flex justify-content-between">
|
|
1684
|
+
<div class="o-named-range-container w-100 d-flex flex-column">
|
|
1685
|
+
<TextInput
|
|
1686
|
+
class="'o-fw-bold'"
|
|
1687
|
+
value="props.namedRange.name"
|
|
1688
|
+
onChange.bind="updateNamedRangeName"
|
|
1689
|
+
selectContentOnFocus="true"
|
|
1690
|
+
/>
|
|
1691
|
+
<SelectionInput
|
|
1692
|
+
ranges="[rangeString]"
|
|
1693
|
+
hasSingleRange="true"
|
|
1694
|
+
required="true"
|
|
1695
|
+
onSelectionChanged.bind="onSelectionInputChanged"
|
|
1696
|
+
onSelectionConfirmed.bind="onSelectionInputConfirmed"
|
|
1697
|
+
onInputFocused.bind="onSelectionInputFocused"
|
|
1698
|
+
/>
|
|
1699
|
+
</div>
|
|
1700
|
+
<div
|
|
1701
|
+
class="o-named-range-edit d-none align-items-center o-button-icon px-3"
|
|
1702
|
+
title="Delete named range"
|
|
1703
|
+
t-on-click.stop="deleteNamedRange">
|
|
1704
|
+
<t t-call="o-spreadsheet-Icon.TRASH_FILLED"/>
|
|
1705
|
+
</div>
|
|
1706
|
+
</div>
|
|
1707
|
+
</div>
|
|
1708
|
+
</t>
|
|
1709
|
+
</t>
|
|
1710
|
+
|
|
1457
1711
|
<t t-name="o-spreadsheet-MoreFormatsPanel">
|
|
1458
1712
|
<div class="o-more-formats-panel">
|
|
1459
1713
|
<Section title.translate="Format type">
|
|
@@ -1493,8 +1747,8 @@
|
|
|
1493
1747
|
<table class="w-100">
|
|
1494
1748
|
<t t-foreach="examples" t-as="example" t-key="example_index">
|
|
1495
1749
|
<tr>
|
|
1496
|
-
<td class="w-25 pe-3 o-fw-bold" t-
|
|
1497
|
-
<td class="w-75 text-truncate" t-
|
|
1750
|
+
<td class="w-25 pe-3 o-fw-bold" t-out="example.label"/>
|
|
1751
|
+
<td class="w-75 text-truncate" t-out="example.value"/>
|
|
1498
1752
|
</tr>
|
|
1499
1753
|
</t>
|
|
1500
1754
|
</table>
|
|
@@ -1556,9 +1810,9 @@
|
|
|
1556
1810
|
placeholder="e.g. 'search me'"
|
|
1557
1811
|
/>
|
|
1558
1812
|
<div class="o-input-count" t-if="hasSearchResult">
|
|
1559
|
-
<t t-
|
|
1813
|
+
<t t-out="store.selectedMatchIndex+1"/>
|
|
1560
1814
|
/
|
|
1561
|
-
<t t-
|
|
1815
|
+
<t t-out="store.searchMatches.length"/>
|
|
1562
1816
|
</div>
|
|
1563
1817
|
<div t-elif="!this.pendingSearch and store.toSearch !== ''" class="o-input-count">
|
|
1564
1818
|
0 / 0
|
|
@@ -1668,8 +1922,8 @@
|
|
|
1668
1922
|
t-on-click="onPreviewClick"
|
|
1669
1923
|
t-ref="dvPreview">
|
|
1670
1924
|
<div>
|
|
1671
|
-
<div class="o-dv-preview-description o-fw-bold text-truncate" t-
|
|
1672
|
-
<div class="o-dv-preview-ranges text-truncate" t-
|
|
1925
|
+
<div class="o-dv-preview-description o-fw-bold text-truncate" t-out="descriptionString"/>
|
|
1926
|
+
<div class="o-dv-preview-ranges text-truncate" t-out="rangesString"/>
|
|
1673
1927
|
</div>
|
|
1674
1928
|
<div
|
|
1675
1929
|
class="o-dv-delete-button d-flex align-items-center o-button-icon px-3"
|
|
@@ -1930,7 +2184,7 @@
|
|
|
1930
2184
|
</div>
|
|
1931
2185
|
<t t-if="cf.rule.type==='IconSetRule'">
|
|
1932
2186
|
<div
|
|
1933
|
-
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3
|
|
2187
|
+
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 border os-theme-dependant">
|
|
1934
2188
|
<t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.upper].template}}"/>
|
|
1935
2189
|
<t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.middle].template}}"/>
|
|
1936
2190
|
<t t-call="o-spreadsheet-Icon.{{icons[cf.rule.icons.lower].template}}"/>
|
|
@@ -1939,17 +2193,17 @@
|
|
|
1939
2193
|
<t t-else="">
|
|
1940
2194
|
<div
|
|
1941
2195
|
t-att-style="previewImageStyle"
|
|
1942
|
-
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 flex-shrink-0 border">
|
|
2196
|
+
class="o-cf-preview-icon d-flex justify-content-around align-items-center me-3 flex-shrink-0 border os-theme-dependant">
|
|
1943
2197
|
123
|
|
1944
2198
|
</div>
|
|
1945
2199
|
</t>
|
|
1946
2200
|
<div class="o-cf-preview-description me-3 overflow-auto">
|
|
1947
2201
|
<div class="o-cf-preview-ruletype">
|
|
1948
2202
|
<div class="o-cf-preview-description-rule o-fw-bold text-truncate">
|
|
1949
|
-
<t t-
|
|
2203
|
+
<t t-out="description"/>
|
|
1950
2204
|
</div>
|
|
1951
2205
|
</div>
|
|
1952
|
-
<div class="o-cf-preview-range text-truncate" t-
|
|
2206
|
+
<div class="o-cf-preview-range text-truncate" t-out="cf.ranges.join()"/>
|
|
1953
2207
|
</div>
|
|
1954
2208
|
<div class="o-cf-delete ms-auto">
|
|
1955
2209
|
<div
|
|
@@ -1962,129 +2216,156 @@
|
|
|
1962
2216
|
</div>
|
|
1963
2217
|
</t>
|
|
1964
2218
|
|
|
1965
|
-
<t t-name="o-spreadsheet-
|
|
1966
|
-
<div class="
|
|
1967
|
-
<div class="
|
|
1968
|
-
|
|
1969
|
-
<div
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
<
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
<t t-call="o-spreadsheet-Icon.{{icons[iconSets[iconSet].neutral].template}}"/>
|
|
1980
|
-
</div>
|
|
1981
|
-
<div>
|
|
1982
|
-
<t t-call="o-spreadsheet-Icon.{{icons[iconSets[iconSet].bad].template}}"/>
|
|
2219
|
+
<t t-name="o-spreadsheet-IconSetRuleEditor">
|
|
2220
|
+
<div class="o-cf-iconset-rule">
|
|
2221
|
+
<div class="pb-2">
|
|
2222
|
+
<div class="o-section-subtitle">Icons</div>
|
|
2223
|
+
<div class="o-cf-iconsets d-flex flex-row">
|
|
2224
|
+
<div
|
|
2225
|
+
class="o-cf-iconset o-cf-clickable-icon d-flex flex-row justify-content-between border rounded os-theme-dependant"
|
|
2226
|
+
t-foreach="['arrows', 'smiley', 'dots']"
|
|
2227
|
+
t-as="iconSet"
|
|
2228
|
+
t-key="iconSet"
|
|
2229
|
+
t-on-click="() => this.props.store.setIconSet(iconSet)">
|
|
2230
|
+
<div t-foreach="['good', 'neutral', 'bad']" t-as="iconType" t-key="iconType">
|
|
2231
|
+
<t t-call="{{this.getIconTemplate(this.getIconName(iconSet, iconType))}}"/>
|
|
2232
|
+
</div>
|
|
1983
2233
|
</div>
|
|
1984
2234
|
</div>
|
|
1985
2235
|
</div>
|
|
1986
|
-
|
|
1987
|
-
|
|
2236
|
+
<div class="o-inflection mt-4">
|
|
2237
|
+
<table class="w-100">
|
|
2238
|
+
<tr>
|
|
2239
|
+
<th class="o-cf-iconset-icons"/>
|
|
2240
|
+
<th class="o-cf-iconset-text"/>
|
|
2241
|
+
<th class="o-cf-iconset-operator"/>
|
|
2242
|
+
<th/>
|
|
2243
|
+
<th class="o-cf-iconset-type"/>
|
|
2244
|
+
</tr>
|
|
1988
2245
|
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
<IconPicker
|
|
1998
|
-
t-if="store.state.openedMenu === 'iconSet-'+icon+'Icon'"
|
|
1999
|
-
onIconPicked="(i) => store.setIcon(icon, i)"
|
|
2000
|
-
/>
|
|
2001
|
-
</td>
|
|
2002
|
-
<td>When value is</td>
|
|
2003
|
-
<td>
|
|
2004
|
-
<Select
|
|
2005
|
-
selectedValue="inflectionPointValue.operator"
|
|
2006
|
-
name="'valueType'"
|
|
2007
|
-
values="getIconSetOperatorSelectOptions()"
|
|
2008
|
-
onChange.bind="(value) => store.setInflectionOperator(inflectionPoint, value)"
|
|
2009
|
-
/>
|
|
2010
|
-
</td>
|
|
2011
|
-
<td>
|
|
2012
|
-
<div class="ms-2 me-2">
|
|
2013
|
-
<input
|
|
2014
|
-
type="text"
|
|
2015
|
-
t-if="inflectionPointValue.type !== 'formula'"
|
|
2016
|
-
class="o-input"
|
|
2017
|
-
t-att-class="{ 'o-invalid': isInflectionPointInvalid(inflectionPoint) }"
|
|
2018
|
-
t-att-value="rule[inflectionPoint].value"
|
|
2019
|
-
t-on-change="(ev) => store.setInflectionValue(inflectionPoint, ev.target.value)"
|
|
2020
|
-
/>
|
|
2021
|
-
<StandaloneComposer t-else="" t-props="getColorIconSetComposerProps(inflectionPoint)"/>
|
|
2022
|
-
</div>
|
|
2023
|
-
</td>
|
|
2024
|
-
<td>
|
|
2025
|
-
<Select
|
|
2026
|
-
selectedValue="inflectionPointValue.type"
|
|
2027
|
-
popoverClass="'o-icon-set-type-select-dropdown'"
|
|
2028
|
-
name="'valueType'"
|
|
2029
|
-
values="getThresholdTypeSelectOptions('iconSet')"
|
|
2030
|
-
onChange.bind="(value) => store.setInflectionType(inflectionPoint, value)"
|
|
2031
|
-
/>
|
|
2032
|
-
</td>
|
|
2033
|
-
</tr>
|
|
2034
|
-
</t>
|
|
2035
|
-
|
|
2036
|
-
<t t-name="o-spreadsheet-IconSetInflexionPoints">
|
|
2037
|
-
<div class="o-inflection mt-4">
|
|
2038
|
-
<table class="w-100">
|
|
2039
|
-
<tr>
|
|
2040
|
-
<th class="o-cf-iconset-icons"/>
|
|
2041
|
-
<th class="o-cf-iconset-text"/>
|
|
2042
|
-
<th class="o-cf-iconset-operator"/>
|
|
2043
|
-
<th/>
|
|
2044
|
-
<th class="o-cf-iconset-type"/>
|
|
2045
|
-
</tr>
|
|
2046
|
-
<t t-call="o-spreadsheet-IconSetInflexionPointRow">
|
|
2047
|
-
<t t-set="iconValue" t-value="rule.icons.upper"/>
|
|
2048
|
-
<t t-set="icon" t-value="'upper'"/>
|
|
2049
|
-
<t t-set="inflectionPointValue" t-value="rule.upperInflectionPoint"/>
|
|
2050
|
-
<t t-set="inflectionPoint" t-value="'upperInflectionPoint'"/>
|
|
2051
|
-
</t>
|
|
2052
|
-
<t t-call="o-spreadsheet-IconSetInflexionPointRow">
|
|
2053
|
-
<t t-set="iconValue" t-value="rule.icons.middle"/>
|
|
2054
|
-
<t t-set="icon" t-value="'middle'"/>
|
|
2055
|
-
<t t-set="inflectionPointValue" t-value="rule.lowerInflectionPoint"/>
|
|
2056
|
-
<t t-set="inflectionPoint" t-value="'lowerInflectionPoint'"/>
|
|
2057
|
-
</t>
|
|
2058
|
-
<tr>
|
|
2059
|
-
<td>
|
|
2060
|
-
<div t-on-click.stop="() => store.toggleMenu('iconSet-lowerIcon')">
|
|
2061
|
-
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2062
|
-
<t t-call="o-spreadsheet-Icon.{{icons[rule.icons.lower].template}}"/>
|
|
2246
|
+
<!-- Upper -->
|
|
2247
|
+
<tr>
|
|
2248
|
+
<td>
|
|
2249
|
+
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-upperIcon')">
|
|
2250
|
+
<div
|
|
2251
|
+
class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded os-theme-dependant">
|
|
2252
|
+
<t t-call="{{this.getIconTemplate(this.rule.icons.upper)}}"/>
|
|
2253
|
+
</div>
|
|
2063
2254
|
</div>
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2255
|
+
<IconPicker
|
|
2256
|
+
t-if="this.props.store.state.openedMenu === 'iconSet-upperIcon'"
|
|
2257
|
+
onIconPicked="(i) => this.props.store.setIcon(('upper'), i)"
|
|
2258
|
+
/>
|
|
2259
|
+
</td>
|
|
2260
|
+
<td>When value is</td>
|
|
2261
|
+
<td>
|
|
2262
|
+
<Select
|
|
2263
|
+
selectedValue="this.rule.upperInflectionPoint.operator"
|
|
2264
|
+
name="'valueType'"
|
|
2265
|
+
values="this.getIconSetOperatorSelectOptions()"
|
|
2266
|
+
onChange.bind="(value) => this.props.store.setInflectionOperator('upperInflectionPoint', value)"
|
|
2267
|
+
/>
|
|
2268
|
+
</td>
|
|
2269
|
+
<td>
|
|
2270
|
+
<div class="ms-2 me-2">
|
|
2271
|
+
<input
|
|
2272
|
+
type="text"
|
|
2273
|
+
t-if="this.rule.upperInflectionPoint.type !== 'formula'"
|
|
2274
|
+
class="o-input"
|
|
2275
|
+
t-att-class="{ 'o-invalid': this.isInflectionPointInvalid('upperInflectionPoint') }"
|
|
2276
|
+
t-att-value="this.rule['upperInflectionPoint'].value"
|
|
2277
|
+
t-on-change="(ev) => this.props.store.setInflectionValue('upperInflectionPoint', ev.target.value)"
|
|
2278
|
+
/>
|
|
2279
|
+
<StandaloneComposer
|
|
2280
|
+
t-else=""
|
|
2281
|
+
t-props="this.getColorIconSetComposerProps('upperInflectionPoint')"
|
|
2282
|
+
/>
|
|
2283
|
+
</div>
|
|
2284
|
+
</td>
|
|
2285
|
+
<td>
|
|
2286
|
+
<Select
|
|
2287
|
+
selectedValue="this.rule.upperInflectionPoint.type"
|
|
2288
|
+
popoverClass="'o-icon-set-type-select-dropdown'"
|
|
2289
|
+
name="'valueType'"
|
|
2290
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2291
|
+
onChange.bind="(value) => this.props.store.setInflectionType('upperInflectionPoint', value)"
|
|
2292
|
+
/>
|
|
2293
|
+
</td>
|
|
2294
|
+
</tr>
|
|
2295
|
+
|
|
2296
|
+
<!-- Middle -->
|
|
2297
|
+
<tr>
|
|
2298
|
+
<td>
|
|
2299
|
+
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-middleIcon')">
|
|
2300
|
+
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2301
|
+
<t t-call="{{this.getIconTemplate(this.rule.icons.middle)}}"/>
|
|
2302
|
+
</div>
|
|
2303
|
+
</div>
|
|
2304
|
+
<IconPicker
|
|
2305
|
+
t-if="this.props.store.state.openedMenu === 'iconSet-middleIcon'"
|
|
2306
|
+
onIconPicked="(i) => this.props.store.setIcon('middle', i)"
|
|
2307
|
+
/>
|
|
2308
|
+
</td>
|
|
2309
|
+
<td>When value is</td>
|
|
2310
|
+
<td>
|
|
2311
|
+
<Select
|
|
2312
|
+
selectedValue="this.rule.lowerInflectionPoint.operator"
|
|
2313
|
+
name="'valueType'"
|
|
2314
|
+
values="this.getIconSetOperatorSelectOptions()"
|
|
2315
|
+
onChange.bind="(value) => this.props.store.setInflectionOperator('lowerInflectionPoint', value)"
|
|
2316
|
+
/>
|
|
2317
|
+
</td>
|
|
2318
|
+
<td>
|
|
2319
|
+
<div class="ms-2 me-2">
|
|
2320
|
+
<input
|
|
2321
|
+
type="text"
|
|
2322
|
+
t-if="this.rule.lowerInflectionPoint.type !== 'formula'"
|
|
2323
|
+
class="o-input"
|
|
2324
|
+
t-att-class="{ 'o-invalid': this.isInflectionPointInvalid('lowerInflectionPoint') }"
|
|
2325
|
+
t-att-value="this.rule['lowerInflectionPoint'].value"
|
|
2326
|
+
t-on-change="(ev) => this.props.store.setInflectionValue('lowerInflectionPoint', ev.target.value)"
|
|
2327
|
+
/>
|
|
2328
|
+
<StandaloneComposer
|
|
2329
|
+
t-else=""
|
|
2330
|
+
t-props="this.getColorIconSetComposerProps('lowerInflectionPoint')"
|
|
2331
|
+
/>
|
|
2332
|
+
</div>
|
|
2333
|
+
</td>
|
|
2334
|
+
<td>
|
|
2335
|
+
<Select
|
|
2336
|
+
selectedValue="this.rule.lowerInflectionPoint.type"
|
|
2337
|
+
popoverClass="'o-icon-set-type-select-dropdown'"
|
|
2338
|
+
name="'valueType'"
|
|
2339
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2340
|
+
onChange.bind="(value) => this.props.store.setInflectionType('lowerInflectionPoint', value)"
|
|
2341
|
+
/>
|
|
2342
|
+
</td>
|
|
2343
|
+
</tr>
|
|
2344
|
+
|
|
2345
|
+
<!-- Lower -->
|
|
2346
|
+
<tr>
|
|
2347
|
+
<td>
|
|
2348
|
+
<div t-on-click.stop="() => this.props.store.toggleMenu('iconSet-lowerIcon')">
|
|
2349
|
+
<div class="o-cf-icon-button o-cf-clickable-icon me-3 border rounded">
|
|
2350
|
+
<t t-call="{{this.getIconTemplate(this.rule.icons.lower)}}"/>
|
|
2351
|
+
</div>
|
|
2352
|
+
</div>
|
|
2353
|
+
<IconPicker
|
|
2354
|
+
t-if="this.props.store.state.openedMenu === 'iconSet-lowerIcon'"
|
|
2355
|
+
onIconPicked="(icon) => this.props.store.setIcon('lower', icon)"
|
|
2356
|
+
/>
|
|
2357
|
+
</td>
|
|
2358
|
+
<td>Else</td>
|
|
2359
|
+
<td/>
|
|
2360
|
+
<td/>
|
|
2361
|
+
<td/>
|
|
2362
|
+
</tr>
|
|
2363
|
+
</table>
|
|
2364
|
+
</div>
|
|
2084
2365
|
<div class="d-flex flex-row">
|
|
2085
2366
|
<div
|
|
2086
2367
|
class="o-button-link py-1 ps-0 o-cf-iconset-reverse d-flex align-items-center"
|
|
2087
|
-
t-on-click="() => store.reverseIcons()">
|
|
2368
|
+
t-on-click="() => this.props.store.reverseIcons()">
|
|
2088
2369
|
<t t-call="o-spreadsheet-Icon.REFRESH"/>
|
|
2089
2370
|
<div class="ms-1">Reverse icons</div>
|
|
2090
2371
|
</div>
|
|
@@ -2092,65 +2373,64 @@
|
|
|
2092
2373
|
</div>
|
|
2093
2374
|
</t>
|
|
2094
2375
|
|
|
2095
|
-
<t t-name="o-spreadsheet-
|
|
2376
|
+
<t t-name="o-spreadsheet-DataBarRuleEditor">
|
|
2096
2377
|
<div class="o-cf-data-bar-editor">
|
|
2097
2378
|
<div class="o-section-subtitle">Color</div>
|
|
2098
2379
|
<RoundColorPicker
|
|
2099
|
-
currentColor="colorNumberToHex(rule.color)"
|
|
2100
|
-
onColorPicked="(color) => store.updateDataBarColor(color)"
|
|
2380
|
+
currentColor="this.colorNumberToHex(this.rule.color)"
|
|
2381
|
+
onColorPicked="(color) => this.props.store.updateDataBarColor(color)"
|
|
2101
2382
|
disableNoColor="true"
|
|
2102
2383
|
/>
|
|
2103
2384
|
<div class="o-section-subtitle">Range of values</div>
|
|
2104
2385
|
<SelectionInput
|
|
2105
|
-
ranges="store.rangeValues"
|
|
2386
|
+
ranges="this.props.store.rangeValues"
|
|
2106
2387
|
class="'o-range'"
|
|
2107
2388
|
isInvalid="false"
|
|
2108
2389
|
hasSingleRange="true"
|
|
2109
|
-
onSelectionChanged="(ranges) => store.onDataBarRangeUpdate(ranges)"
|
|
2110
|
-
onSelectionConfirmed="() => store.onDataBarRangeChange()"
|
|
2390
|
+
onSelectionChanged="(ranges) => this.props.store.onDataBarRangeUpdate(ranges)"
|
|
2391
|
+
onSelectionConfirmed="() => this.props.store.onDataBarRangeChange()"
|
|
2111
2392
|
required="false"
|
|
2112
2393
|
/>
|
|
2113
2394
|
</div>
|
|
2114
2395
|
</t>
|
|
2115
2396
|
|
|
2116
2397
|
<t t-name="o-spreadsheet-ColorScaleRuleEditorThreshold">
|
|
2117
|
-
<t t-set="fill_color">Fill Color</t>
|
|
2118
2398
|
<div
|
|
2119
|
-
t-attf-class="o-threshold o-threshold-{{thresholdType}} d-flex align-items-center flex-row">
|
|
2120
|
-
<t t-if="thresholdType === 'midpoint'">
|
|
2399
|
+
t-attf-class="o-threshold o-threshold-{{this.props.thresholdType}} d-flex align-items-center flex-row">
|
|
2400
|
+
<t t-if="this.props.thresholdType === 'midpoint'">
|
|
2121
2401
|
<Select
|
|
2122
|
-
selectedValue="threshold?.type || 'none'"
|
|
2123
|
-
class="'me-2' + (threshold and threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2402
|
+
selectedValue="this.threshold?.type || 'none'"
|
|
2403
|
+
class="'me-2' + (this.threshold and this.threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2124
2404
|
name="'valueType'"
|
|
2125
|
-
values="getThresholdTypeSelectOptions(
|
|
2126
|
-
onChange.bind="(value) => store.onMidpointChange(value)"
|
|
2405
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2406
|
+
onChange.bind="(value) => this.props.store.onMidpointChange(value)"
|
|
2127
2407
|
/>
|
|
2128
2408
|
</t>
|
|
2129
2409
|
<t t-else="">
|
|
2130
2410
|
<Select
|
|
2131
|
-
selectedValue="threshold?.type || 'none'"
|
|
2132
|
-
class="'me-2' + (threshold and threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2411
|
+
selectedValue="this.threshold?.type || 'none'"
|
|
2412
|
+
class="'me-2' + (this.threshold and this.threshold.type !== 'value' ? ' o-select-with-input' : '')"
|
|
2133
2413
|
name="'valueType'"
|
|
2134
|
-
values="getThresholdTypeSelectOptions(
|
|
2135
|
-
onChange.bind="(value) => store.updateThresholdType(thresholdType, value)"
|
|
2414
|
+
values="this.getThresholdTypeSelectOptions()"
|
|
2415
|
+
onChange.bind="(value) => this.props.store.updateThresholdType(this.props.thresholdType, value)"
|
|
2136
2416
|
/>
|
|
2137
2417
|
</t>
|
|
2138
|
-
<div class="o-threshold-value me-2" t-if="threshold and threshold.type !== 'value'">
|
|
2418
|
+
<div class="o-threshold-value me-2" t-if="this.threshold and this.threshold.type !== 'value'">
|
|
2139
2419
|
<input
|
|
2140
|
-
t-if="threshold.type !== 'formula'"
|
|
2420
|
+
t-if="this.threshold.type !== 'formula'"
|
|
2141
2421
|
type="text"
|
|
2142
2422
|
class="o-input"
|
|
2143
|
-
t-att-value="threshold.value"
|
|
2144
|
-
t-on-change="(ev) => store.updateThresholdValue(thresholdType, ev.target.value)"
|
|
2145
|
-
t-att-class="{ 'o-invalid': isValueInvalid(
|
|
2423
|
+
t-att-value="this.threshold.value"
|
|
2424
|
+
t-on-change="(ev) => this.props.store.updateThresholdValue(this.props.thresholdType, ev.target.value)"
|
|
2425
|
+
t-att-class="{ 'o-invalid': this.isValueInvalid(), 'invisible': this.threshold === undefined }"
|
|
2146
2426
|
/>
|
|
2147
|
-
<StandaloneComposer t-else="" t-props="getColorScaleComposerProps(
|
|
2427
|
+
<StandaloneComposer t-else="" t-props="this.getColorScaleComposerProps()"/>
|
|
2148
2428
|
</div>
|
|
2149
|
-
<div t-attf-class="flex-shrink-0 ms-1 {{ threshold === undefined ? 'invisible' : ''}}">
|
|
2429
|
+
<div t-attf-class="flex-shrink-0 ms-1 {{ this.threshold === undefined ? 'invisible' : ''}}">
|
|
2150
2430
|
<RoundColorPicker
|
|
2151
|
-
currentColor="getThresholdColor(threshold)"
|
|
2152
|
-
onColorPicked="(color) => store.setColorScaleColor(thresholdType, color)"
|
|
2153
|
-
title="
|
|
2431
|
+
currentColor="this.getThresholdColor(this.threshold)"
|
|
2432
|
+
onColorPicked="(color) => this.props.store.setColorScaleColor(this.props.thresholdType, color)"
|
|
2433
|
+
title.translate="Fill Color"
|
|
2154
2434
|
disableNoColor="true"
|
|
2155
2435
|
/>
|
|
2156
2436
|
</div>
|
|
@@ -2160,38 +2440,30 @@
|
|
|
2160
2440
|
<t t-name="o-spreadsheet-ColorScaleRuleEditor">
|
|
2161
2441
|
<div class="o-cf-color-scale-editor">
|
|
2162
2442
|
<div class="o-section-subtitle">Preview</div>
|
|
2163
|
-
<div
|
|
2443
|
+
<div
|
|
2444
|
+
class="o-cf-preview-display mb-4 os-theme-dependant"
|
|
2445
|
+
t-attf-style="{{this.props.store.previewGradient}}">
|
|
2164
2446
|
Preview text
|
|
2165
2447
|
</div>
|
|
2166
2448
|
<div class="o-section-subtitle">Minpoint</div>
|
|
2167
|
-
<
|
|
2168
|
-
<t t-set="threshold" t-value="rule.minimum"/>
|
|
2169
|
-
<t t-set="thresholdType" t-value="'minimum'"/>
|
|
2170
|
-
</t>
|
|
2449
|
+
<ColorScaleRuleEditorThreshold store="this.props.store" thresholdType="'minimum'"/>
|
|
2171
2450
|
<div class="o-section-subtitle">MidPoint</div>
|
|
2172
|
-
<
|
|
2173
|
-
<t t-set="threshold" t-value="rule.midpoint"/>
|
|
2174
|
-
<t t-set="thresholdType" t-value="'midpoint'"/>
|
|
2175
|
-
</t>
|
|
2451
|
+
<ColorScaleRuleEditorThreshold store="this.props.store" thresholdType="'midpoint'"/>
|
|
2176
2452
|
<div class="o-section-subtitle">MaxPoint</div>
|
|
2177
|
-
<
|
|
2178
|
-
<t t-set="threshold" t-value="rule.maximum"/>
|
|
2179
|
-
<t t-set="thresholdType" t-value="'maximum'"/>
|
|
2180
|
-
</t>
|
|
2453
|
+
<ColorScaleRuleEditorThreshold store="this.props.store" thresholdType="'maximum'"/>
|
|
2181
2454
|
</div>
|
|
2182
2455
|
</t>
|
|
2183
2456
|
|
|
2184
2457
|
<t t-name="o-spreadsheet-ConditionalFormattingEditor">
|
|
2185
2458
|
<div class="o-cf-editor">
|
|
2186
|
-
<t t-set="state" t-value="store.state"/>
|
|
2187
2459
|
<Section class="'o-cf-range pb-0'" title.translate="Apply to range">
|
|
2188
2460
|
<div class="o-selection-cf">
|
|
2189
2461
|
<SelectionInput
|
|
2190
|
-
ranges="state.ranges"
|
|
2462
|
+
ranges="this.store.state.ranges"
|
|
2191
2463
|
class="'o-range'"
|
|
2192
|
-
isInvalid="store.isRangeValid"
|
|
2193
|
-
onSelectionChanged="(ranges) => store.onRangeUpdate(ranges)"
|
|
2194
|
-
onSelectionConfirmed="() => store.onRangeConfirmed()"
|
|
2464
|
+
isInvalid="this.store.isRangeValid"
|
|
2465
|
+
onSelectionChanged="(ranges) => this.store.onRangeUpdate(ranges)"
|
|
2466
|
+
onSelectionConfirmed="() => this.store.onRangeConfirmed()"
|
|
2195
2467
|
required="true"
|
|
2196
2468
|
/>
|
|
2197
2469
|
</div>
|
|
@@ -2199,130 +2471,123 @@
|
|
|
2199
2471
|
<Section class="'pb-0'" title.translate="Format rules">
|
|
2200
2472
|
<div class="o-cf-type-selector">
|
|
2201
2473
|
<BadgeSelection
|
|
2202
|
-
choices="cfTypesValues"
|
|
2203
|
-
onChange="(ruleType) => store.changeRuleType(ruleType)"
|
|
2204
|
-
selectedValue="state.currentCFType"
|
|
2474
|
+
choices="this.cfTypesValues"
|
|
2475
|
+
onChange="(ruleType) => this.store.changeRuleType(ruleType)"
|
|
2476
|
+
selectedValue="this.store.state.currentCFType"
|
|
2205
2477
|
/>
|
|
2206
2478
|
</div>
|
|
2207
2479
|
</Section>
|
|
2208
2480
|
<Section>
|
|
2209
|
-
<
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
t-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
<
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2481
|
+
<CellIsRuleEditor
|
|
2482
|
+
t-if="this.store.state.currentCFType === 'CellIsRule'"
|
|
2483
|
+
store="this.store"
|
|
2484
|
+
/>
|
|
2485
|
+
<ColorScaleRuleEditor
|
|
2486
|
+
t-if="this.store.state.currentCFType === 'ColorScaleRule'"
|
|
2487
|
+
store="this.store"
|
|
2488
|
+
/>
|
|
2489
|
+
<IconSetRuleEditor
|
|
2490
|
+
t-if="this.store.state.currentCFType === 'IconSetRule'"
|
|
2491
|
+
store="this.store"
|
|
2492
|
+
/>
|
|
2493
|
+
<DataBarRuleEditor
|
|
2494
|
+
t-if="this.store.state.currentCFType === 'DataBarRule'"
|
|
2495
|
+
store="this.store"
|
|
2496
|
+
/>
|
|
2223
2497
|
</Section>
|
|
2224
2498
|
<Section class="'pt-1'">
|
|
2225
2499
|
<div class="o-sidePanelButtons">
|
|
2226
|
-
<button t-on-click="onCancel" class="o-button o-cf-cancel">Discard</button>
|
|
2500
|
+
<button t-on-click="this.onCancel" class="o-button o-cf-cancel">Discard</button>
|
|
2227
2501
|
<button
|
|
2228
|
-
t-on-click="onSave"
|
|
2502
|
+
t-on-click="this.onSave"
|
|
2229
2503
|
class="o-button primary o-cf-save"
|
|
2230
|
-
t-att-disabled="state.errors.length !== 0">
|
|
2504
|
+
t-att-disabled="this.store.state.errors.length !== 0">
|
|
2231
2505
|
Save
|
|
2232
2506
|
</button>
|
|
2233
2507
|
</div>
|
|
2234
2508
|
</Section>
|
|
2235
2509
|
<Section>
|
|
2236
|
-
<ValidationMessages messages="store.errorMessages" msgType="'error'"/>
|
|
2510
|
+
<ValidationMessages messages="this.store.errorMessages" msgType="'error'"/>
|
|
2237
2511
|
</Section>
|
|
2238
2512
|
</div>
|
|
2239
2513
|
</t>
|
|
2240
2514
|
|
|
2241
|
-
<t t-name="o-spreadsheet-CellIsRuleEditorPreview">
|
|
2242
|
-
<div
|
|
2243
|
-
class="o-cf-preview-display border"
|
|
2244
|
-
t-attf-style="font-weight:{{currentStyle.bold ?'bold':'normal'}};
|
|
2245
|
-
text-decoration:{{getTextDecoration(currentStyle)}};
|
|
2246
|
-
font-style:{{currentStyle.italic?'italic':'normal'}};
|
|
2247
|
-
color:{{currentStyle.textColor || '#000'}};
|
|
2248
|
-
background-color:{{currentStyle.fillColor}};">
|
|
2249
|
-
<t t-if="previewText" t-esc="previewText"/>
|
|
2250
|
-
<t t-else="">Preview text</t>
|
|
2251
|
-
</div>
|
|
2252
|
-
</t>
|
|
2253
|
-
|
|
2254
2515
|
<t t-name="o-spreadsheet-CellIsRuleEditor">
|
|
2255
|
-
<t t-set="fill_color">Fill Color</t>
|
|
2256
|
-
<t t-set="text_color">Text Color</t>
|
|
2257
|
-
<t t-set="state" t-value="store.state"/>
|
|
2258
2516
|
<div class="o-cf-cell-is-rule">
|
|
2259
2517
|
<div class="o-section-subtitle">Format cells if...</div>
|
|
2260
2518
|
<Select
|
|
2261
2519
|
class="'o-cell-is-operator mb-2'"
|
|
2262
|
-
values="store.cfCriterions"
|
|
2263
|
-
selectedValue="
|
|
2264
|
-
onChange="(operator) => store.editOperator(operator)"
|
|
2520
|
+
values="this.props.store.cfCriterions"
|
|
2521
|
+
selectedValue="this.rule.operator"
|
|
2522
|
+
onChange="(operator) => this.props.store.editOperator(operator)"
|
|
2265
2523
|
/>
|
|
2266
2524
|
|
|
2267
2525
|
<t
|
|
2268
|
-
t-if="store.criterionComponent"
|
|
2269
|
-
t-component="store.criterionComponent"
|
|
2270
|
-
t-key="
|
|
2271
|
-
criterion="store.genericCriterion"
|
|
2272
|
-
onCriterionChanged="(rule) => store.onRuleValuesChanged(rule)"
|
|
2273
|
-
autofocus="store.state.hasEditedCf"
|
|
2526
|
+
t-if="this.props.store.criterionComponent"
|
|
2527
|
+
t-component="this.props.store.criterionComponent"
|
|
2528
|
+
t-key="this.rule.operator"
|
|
2529
|
+
criterion="this.props.store.genericCriterion"
|
|
2530
|
+
onCriterionChanged="(rule) => this.props.store.onRuleValuesChanged(rule)"
|
|
2531
|
+
autofocus="this.props.store.state.hasEditedCf"
|
|
2274
2532
|
/>
|
|
2275
2533
|
|
|
2276
2534
|
<div class="o-section-subtitle pt-3">Formatting style</div>
|
|
2277
2535
|
|
|
2278
|
-
<
|
|
2279
|
-
|
|
2280
|
-
|
|
2536
|
+
<div
|
|
2537
|
+
class="o-cf-preview-display border os-theme-dependant"
|
|
2538
|
+
t-attf-style="font-weight:{{this.rule.style.bold ?'bold':'normal'}};
|
|
2539
|
+
text-decoration:{{this.getTextDecoration(this.rule.style)}};
|
|
2540
|
+
font-style:{{this.rule.style.italic?'italic':'normal'}};
|
|
2541
|
+
color:{{this.rule.style.textColor || '#000'}};
|
|
2542
|
+
background-color:{{this.rule.style.fillColor}};">
|
|
2543
|
+
<t t-if="previewText" t-out="previewText"/>
|
|
2544
|
+
<t t-else="">Preview text</t>
|
|
2545
|
+
</div>
|
|
2281
2546
|
<div class="o-sidePanel-tools d-flex">
|
|
2282
2547
|
<div
|
|
2283
2548
|
class="o-hoverable-button o-menu-item-button"
|
|
2284
2549
|
title="Bold"
|
|
2285
|
-
t-att-class="{active:rule.style.bold}"
|
|
2286
|
-
t-on-click="() => store.toggleStyle('bold')">
|
|
2550
|
+
t-att-class="{active:this.rule.style.bold}"
|
|
2551
|
+
t-on-click="() => this.props.store.toggleStyle('bold')">
|
|
2287
2552
|
<t t-call="o-spreadsheet-Icon.BOLD"/>
|
|
2288
2553
|
</div>
|
|
2289
2554
|
<div
|
|
2290
2555
|
class="o-hoverable-button o-menu-item-button"
|
|
2291
2556
|
title="Italic"
|
|
2292
|
-
t-att-class="{active:rule.style.italic}"
|
|
2293
|
-
t-on-click="() => store.toggleStyle('italic')">
|
|
2557
|
+
t-att-class="{active:this.rule.style.italic}"
|
|
2558
|
+
t-on-click="() => this.props.store.toggleStyle('italic')">
|
|
2294
2559
|
<t t-call="o-spreadsheet-Icon.ITALIC"/>
|
|
2295
2560
|
</div>
|
|
2296
2561
|
<div
|
|
2297
2562
|
class="o-hoverable-button o-menu-item-button"
|
|
2298
2563
|
title="Underline"
|
|
2299
|
-
t-att-class="{active:rule.style.underline}"
|
|
2300
|
-
t-on-click="(ev) => store.toggleStyle('underline', ev)">
|
|
2564
|
+
t-att-class="{active:this.rule.style.underline}"
|
|
2565
|
+
t-on-click="(ev) => this.props.store.toggleStyle('underline', ev)">
|
|
2301
2566
|
<t t-call="o-spreadsheet-Icon.UNDERLINE"/>
|
|
2302
2567
|
</div>
|
|
2303
2568
|
<div
|
|
2304
2569
|
class="o-hoverable-button o-menu-item-button"
|
|
2305
2570
|
title="Strikethrough"
|
|
2306
|
-
t-att-class="{active:rule.style.strikethrough}"
|
|
2307
|
-
t-on-click="(ev) => store.toggleStyle('strikethrough', ev)">
|
|
2571
|
+
t-att-class="{active:this.rule.style.strikethrough}"
|
|
2572
|
+
t-on-click="(ev) => this.props.store.toggleStyle('strikethrough', ev)">
|
|
2308
2573
|
<t t-call="o-spreadsheet-Icon.STRIKE"/>
|
|
2309
2574
|
</div>
|
|
2310
2575
|
<ColorPickerWidget
|
|
2311
|
-
currentColor="rule.style.textColor || '#000000'"
|
|
2312
|
-
toggleColorPicker="() => store.toggleMenu('cellIsRule-textColor')"
|
|
2313
|
-
showColorPicker="state.openedMenu === 'cellIsRule-textColor'"
|
|
2314
|
-
onColorPicked="(color) => store.setColor('textColor', color)"
|
|
2315
|
-
title="
|
|
2576
|
+
currentColor="this.rule.style.textColor || '#000000'"
|
|
2577
|
+
toggleColorPicker="() => this.props.store.toggleMenu('cellIsRule-textColor')"
|
|
2578
|
+
showColorPicker="this.props.store.state.openedMenu === 'cellIsRule-textColor'"
|
|
2579
|
+
onColorPicked="(color) => this.props.store.setColor('textColor', color)"
|
|
2580
|
+
title.translate="Text Color"
|
|
2316
2581
|
icon="'o-spreadsheet-Icon.TEXT_COLOR'"
|
|
2317
2582
|
class="'o-hoverable-button o-menu-item-button'"
|
|
2318
2583
|
/>
|
|
2319
2584
|
<div class="o-divider border-end"/>
|
|
2320
2585
|
<ColorPickerWidget
|
|
2321
|
-
currentColor="rule.style.fillColor"
|
|
2322
|
-
toggleColorPicker="() => store.toggleMenu('cellIsRule-fillColor')"
|
|
2323
|
-
showColorPicker="state.openedMenu === 'cellIsRule-fillColor'"
|
|
2324
|
-
onColorPicked="(color) => store.setColor('fillColor', color)"
|
|
2325
|
-
title="
|
|
2586
|
+
currentColor="this.rule.style.fillColor"
|
|
2587
|
+
toggleColorPicker="() => this.props.store.toggleMenu('cellIsRule-fillColor')"
|
|
2588
|
+
showColorPicker="this.props.store.state.openedMenu === 'cellIsRule-fillColor'"
|
|
2589
|
+
onColorPicked="(color) => this.props.store.setColor('fillColor', color)"
|
|
2590
|
+
title.translate="Fill Color"
|
|
2326
2591
|
icon="'o-spreadsheet-Icon.FILL_COLOR'"
|
|
2327
2592
|
class="'o-hoverable-button o-menu-item-button'"
|
|
2328
2593
|
/>
|
|
@@ -2334,7 +2599,7 @@
|
|
|
2334
2599
|
<div class="o-section" t-att-class="props.class">
|
|
2335
2600
|
<t t-if="props.slots.title or props.title">
|
|
2336
2601
|
<div class="o-section-title">
|
|
2337
|
-
<t t-
|
|
2602
|
+
<t t-out="props.title"/>
|
|
2338
2603
|
<t t-slot="title"/>
|
|
2339
2604
|
</div>
|
|
2340
2605
|
</t>
|
|
@@ -2344,7 +2609,7 @@
|
|
|
2344
2609
|
|
|
2345
2610
|
<t t-name="o-spreadsheet.RoundColorPicker">
|
|
2346
2611
|
<div
|
|
2347
|
-
class="o-round-color-picker-button rounded-circle border"
|
|
2612
|
+
class="o-round-color-picker-button rounded-circle border os-theme-dependant"
|
|
2348
2613
|
t-ref="colorPickerButton"
|
|
2349
2614
|
t-on-click.stop="togglePicker"
|
|
2350
2615
|
t-att-title="props.title"
|
|
@@ -2378,7 +2643,7 @@
|
|
|
2378
2643
|
t-att-checked="choice.value === props.selectedValue"
|
|
2379
2644
|
t-on-change="() => props.onChange(choice.value)"
|
|
2380
2645
|
/>
|
|
2381
|
-
<t t-
|
|
2646
|
+
<t t-out="choice.label"/>
|
|
2382
2647
|
</label>
|
|
2383
2648
|
</t>
|
|
2384
2649
|
</div>
|
|
@@ -2395,7 +2660,7 @@
|
|
|
2395
2660
|
<span class="collapsor-arrow">
|
|
2396
2661
|
<t t-call="o-spreadsheet-Icon.ANGLE_DOWN"/>
|
|
2397
2662
|
</span>
|
|
2398
|
-
<div class="ps-2" t-
|
|
2663
|
+
<div class="ps-2" t-out="props.title"/>
|
|
2399
2664
|
</div>
|
|
2400
2665
|
</div>
|
|
2401
2666
|
<Collapse isCollapsed="state.isCollapsed">
|
|
@@ -2444,7 +2709,7 @@
|
|
|
2444
2709
|
t-on-change="onChange"
|
|
2445
2710
|
t-on-click.stop=""
|
|
2446
2711
|
/>
|
|
2447
|
-
<span class="text-truncate" t-if="props.label" t-
|
|
2712
|
+
<span class="text-truncate" t-if="props.label" t-out="props.label"/>
|
|
2448
2713
|
</label>
|
|
2449
2714
|
</t>
|
|
2450
2715
|
|
|
@@ -2453,11 +2718,105 @@
|
|
|
2453
2718
|
<t t-foreach="props.choices" t-as="choice" t-key="choice.value">
|
|
2454
2719
|
<button
|
|
2455
2720
|
class="flex-grow-1 o-button"
|
|
2456
|
-
t-esc="choice.label"
|
|
2457
2721
|
t-att-class="{ 'selected': props.selectedValue === choice.value }"
|
|
2458
2722
|
t-on-click="() => props.onChange(choice.value)"
|
|
2459
|
-
t-att-data-id="choice.value"
|
|
2460
|
-
|
|
2723
|
+
t-att-data-id="choice.value">
|
|
2724
|
+
<t t-if="choice.icon" t-call="{{choice.icon}}"/>
|
|
2725
|
+
<t t-out="choice.label"/>
|
|
2726
|
+
</button>
|
|
2727
|
+
</t>
|
|
2728
|
+
</div>
|
|
2729
|
+
</t>
|
|
2730
|
+
|
|
2731
|
+
<t t-name="o-spreadsheet-ColumnStatsPanel">
|
|
2732
|
+
<div class="o-column-stats-panel">
|
|
2733
|
+
<t t-if="store.hasSingleColumn">
|
|
2734
|
+
<Section>
|
|
2735
|
+
<div class="d-flex justify-content-between align-items-center o-panel-header mb-1">
|
|
2736
|
+
<span class="o-fw-bold w-100 o-column-stats-title" t-out="columnLabel"/>
|
|
2737
|
+
<span
|
|
2738
|
+
class="p-1 o-row-switcher"
|
|
2739
|
+
data-test-id="previous-column-button"
|
|
2740
|
+
title="Switch to previous column"
|
|
2741
|
+
t-on-click="store.selectPreviousColumn">
|
|
2742
|
+
<t t-call="o-spreadsheet-Icon.ANGLE_LEFT"/>
|
|
2743
|
+
</span>
|
|
2744
|
+
<span
|
|
2745
|
+
class="p-1 o-row-switcher"
|
|
2746
|
+
title="Switch to next column"
|
|
2747
|
+
data-test-id="next-column-button"
|
|
2748
|
+
t-on-click="store.selectNextColumn">
|
|
2749
|
+
<t t-call="o-spreadsheet-Icon.ANGLE_RIGHT"/>
|
|
2750
|
+
</span>
|
|
2751
|
+
</div>
|
|
2752
|
+
<div class="mt-3">
|
|
2753
|
+
<div class="o-sidePanel-label mb-1">Rows to ignore</div>
|
|
2754
|
+
<NumberInput
|
|
2755
|
+
value="store.ignoredRows"
|
|
2756
|
+
class="'o-ignored-rows-input'"
|
|
2757
|
+
min="0"
|
|
2758
|
+
onChange.bind="updateIgnoredRows"
|
|
2759
|
+
/>
|
|
2760
|
+
</div>
|
|
2761
|
+
</Section>
|
|
2762
|
+
<SidePanelCollapsible title.translate="Data visualization" isInitiallyCollapsed="false">
|
|
2763
|
+
<t t-set-slot="content">
|
|
2764
|
+
<Section class="'pt-0'">
|
|
2765
|
+
<BadgeSelection
|
|
2766
|
+
choices="charts"
|
|
2767
|
+
onChange.bind="switchChart"
|
|
2768
|
+
selectedValue="state.currentChart"
|
|
2769
|
+
/>
|
|
2770
|
+
<t t-if="shouldShowChart">
|
|
2771
|
+
<div class="o-column-stats-chart mx-2 mt-2">
|
|
2772
|
+
<canvas class="w-100 h-100" t-ref="columnStatsChart"/>
|
|
2773
|
+
</div>
|
|
2774
|
+
</t>
|
|
2775
|
+
<t t-else="">
|
|
2776
|
+
<div class="o-column-stats-no-data text-muted mt-4" t-out="chartErrorMessage"/>
|
|
2777
|
+
</t>
|
|
2778
|
+
</Section>
|
|
2779
|
+
</t>
|
|
2780
|
+
</SidePanelCollapsible>
|
|
2781
|
+
<SidePanelCollapsible title.translate="General statistics" isInitiallyCollapsed="false">
|
|
2782
|
+
<t t-set-slot="content">
|
|
2783
|
+
<Section class="'o-column-global-stats d-flex flex-column gap-2 pt-0'">
|
|
2784
|
+
<t t-foreach="store.statItems" t-as="stat" t-key="stat.name">
|
|
2785
|
+
<div class="o-column-stats-row d-flex justify-content-between">
|
|
2786
|
+
<span class="text-muted" t-out="stat.name"/>
|
|
2787
|
+
<span class="o-fw-bold" t-att-data-test-id="stat.name" t-out="stat.value"/>
|
|
2788
|
+
</div>
|
|
2789
|
+
</t>
|
|
2790
|
+
</Section>
|
|
2791
|
+
</t>
|
|
2792
|
+
</SidePanelCollapsible>
|
|
2793
|
+
<SidePanelCollapsible title.translate="Frequency" isInitiallyCollapsed="true">
|
|
2794
|
+
<t t-set-slot="content">
|
|
2795
|
+
<div class="mx-4 mb-2">
|
|
2796
|
+
<BadgeSelection
|
|
2797
|
+
choices="frequencyOrders"
|
|
2798
|
+
onChange.bind="switchFrequencyOrder"
|
|
2799
|
+
selectedValue="state.currentFrequencyOrder"
|
|
2800
|
+
/>
|
|
2801
|
+
</div>
|
|
2802
|
+
<div class="o-column-global-stats d-flex flex-column mx-4 mb-2">
|
|
2803
|
+
<t t-foreach="valueFrequencies" t-as="value" t-key="value.value">
|
|
2804
|
+
<div
|
|
2805
|
+
class="o-column-stats-row o-column-frequencies-row d-flex justify-content-between"
|
|
2806
|
+
t-on-mouseenter="() => this.highlightFrequencyPositions(value.positions)"
|
|
2807
|
+
t-on-mouseleave="() => this.clearHighlights()">
|
|
2808
|
+
<span class="frequency-label text-muted" t-out="value.value"/>
|
|
2809
|
+
<span class="frequency-value o-fw-bold" t-out="value.count"/>
|
|
2810
|
+
</div>
|
|
2811
|
+
</t>
|
|
2812
|
+
</div>
|
|
2813
|
+
</t>
|
|
2814
|
+
</SidePanelCollapsible>
|
|
2815
|
+
</t>
|
|
2816
|
+
<t t-else="">
|
|
2817
|
+
<div class="o-column-stats-empty text-muted p-4">
|
|
2818
|
+
Select a single column to view statistics.
|
|
2819
|
+
</div>
|
|
2461
2820
|
</t>
|
|
2462
2821
|
</div>
|
|
2463
2822
|
</t>
|
|
@@ -2702,8 +3061,8 @@
|
|
|
2702
3061
|
onColorPicked="(color) => this.onGroupColorChanged(group_index, color)"
|
|
2703
3062
|
/>
|
|
2704
3063
|
<span class="ps-2">
|
|
2705
|
-
<span t-
|
|
2706
|
-
<span class="text-muted" t-
|
|
3064
|
+
<span t-out="'(#' + (group_index +1 ) + ')'" class="o-text-bolder pe-1"/>
|
|
3065
|
+
<span class="text-muted" t-out="group.label"/>
|
|
2707
3066
|
</span>
|
|
2708
3067
|
</div>
|
|
2709
3068
|
</t>
|
|
@@ -2738,8 +3097,8 @@
|
|
|
2738
3097
|
onColorPicked="(color) => this.onGroupColorChanged(item_index, color)"
|
|
2739
3098
|
/>
|
|
2740
3099
|
<span class="ps-2">
|
|
2741
|
-
<span t-
|
|
2742
|
-
<span class="text-muted" t-
|
|
3100
|
+
<span t-out="'(#' + (item_index +1 ) + ')'" class="o-text-bolder pe-1"/>
|
|
3101
|
+
<span class="text-muted" t-out="item.label"/>
|
|
2743
3102
|
</span>
|
|
2744
3103
|
</div>
|
|
2745
3104
|
</t>
|
|
@@ -2856,22 +3215,13 @@
|
|
|
2856
3215
|
|
|
2857
3216
|
<t t-name="o-spreadsheet-ScatterConfigPanel">
|
|
2858
3217
|
<div>
|
|
2859
|
-
<
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
datasetOrientation="datasetOrientation"
|
|
2867
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
2868
|
-
/>
|
|
2869
|
-
<ChartLabelRange
|
|
2870
|
-
range="this.getLabelRange()"
|
|
2871
|
-
isInvalid="isLabelInvalid"
|
|
2872
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
2873
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
2874
|
-
options="this.getLabelRangeOptions()"
|
|
3218
|
+
<ChartDataSourceComponent
|
|
3219
|
+
chartId="props.chartId"
|
|
3220
|
+
definition="props.definition"
|
|
3221
|
+
updateChart="props.updateChart"
|
|
3222
|
+
canUpdateChart="props.canUpdateChart"
|
|
3223
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3224
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
2875
3225
|
/>
|
|
2876
3226
|
|
|
2877
3227
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -2897,7 +3247,7 @@
|
|
|
2897
3247
|
<t t-name="o-spreadsheet-PieChartDesignPanel">
|
|
2898
3248
|
<GeneralDesignEditor t-props="props">
|
|
2899
3249
|
<t t-set-slot="general-extension">
|
|
2900
|
-
<ChartLegend t-props="props"/>
|
|
3250
|
+
<ChartLegend t-props="props" isDisabled="isLegendDisabled"/>
|
|
2901
3251
|
<Section class="'pt-0'" title.translate="Values">
|
|
2902
3252
|
<ChartShowValues t-props="props"/>
|
|
2903
3253
|
</Section>
|
|
@@ -2911,6 +3261,25 @@
|
|
|
2911
3261
|
/>
|
|
2912
3262
|
</t>
|
|
2913
3263
|
</GeneralDesignEditor>
|
|
3264
|
+
|
|
3265
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Pie Slice">
|
|
3266
|
+
<t t-set-slot="content">
|
|
3267
|
+
<Section class="'py-0'">
|
|
3268
|
+
<Select
|
|
3269
|
+
class="'o-pie-slice-selector'"
|
|
3270
|
+
selectedValue="state.index.toString()"
|
|
3271
|
+
values="pieSliceOptions"
|
|
3272
|
+
onChange="(value) => this.updateEditedValues(value)"
|
|
3273
|
+
/>
|
|
3274
|
+
</Section>
|
|
3275
|
+
<Section class="'py-4'">
|
|
3276
|
+
<div class="d-flex align-items-center">
|
|
3277
|
+
<span class="o-section-title mb-0 pe-2">Series color</span>
|
|
3278
|
+
<RoundColorPicker currentColor="sliceColor" onColorPicked.bind="updateSliceColor"/>
|
|
3279
|
+
</div>
|
|
3280
|
+
</Section>
|
|
3281
|
+
</t>
|
|
3282
|
+
</SidePanelCollapsible>
|
|
2914
3283
|
</t>
|
|
2915
3284
|
|
|
2916
3285
|
<t t-name="o-spreadsheet-ChartPanel">
|
|
@@ -3015,22 +3384,13 @@
|
|
|
3015
3384
|
onChange.bind="onUpdateCumulative"
|
|
3016
3385
|
/>
|
|
3017
3386
|
</Section>
|
|
3018
|
-
<
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
datasetOrientation="datasetOrientation"
|
|
3026
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
3027
|
-
/>
|
|
3028
|
-
<ChartLabelRange
|
|
3029
|
-
range="this.getLabelRange()"
|
|
3030
|
-
isInvalid="isLabelInvalid"
|
|
3031
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
3032
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
3033
|
-
options="this.getLabelRangeOptions()"
|
|
3387
|
+
<ChartDataSourceComponent
|
|
3388
|
+
chartId="props.chartId"
|
|
3389
|
+
definition="props.definition"
|
|
3390
|
+
updateChart="props.updateChart"
|
|
3391
|
+
canUpdateChart="props.canUpdateChart"
|
|
3392
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3393
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
3034
3394
|
/>
|
|
3035
3395
|
|
|
3036
3396
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -3039,21 +3399,15 @@
|
|
|
3039
3399
|
|
|
3040
3400
|
<t t-name="o-spreadsheet-HierarchicalChartConfigPanel">
|
|
3041
3401
|
<div>
|
|
3042
|
-
<
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
range="this.getLabelRange()"
|
|
3052
|
-
isInvalid="isLabelInvalid"
|
|
3053
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
3054
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
3055
|
-
options="this.getLabelRangeOptions()"
|
|
3056
|
-
title.translate="Values"
|
|
3402
|
+
<ChartDataSourceComponent
|
|
3403
|
+
chartId="props.chartId"
|
|
3404
|
+
definition="props.definition"
|
|
3405
|
+
updateChart="props.updateChart"
|
|
3406
|
+
canUpdateChart="props.canUpdateChart"
|
|
3407
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3408
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
3409
|
+
dataSeriesTitle.translate="Hierarchy"
|
|
3410
|
+
labelRangeTitle.translate="Values"
|
|
3057
3411
|
/>
|
|
3058
3412
|
|
|
3059
3413
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -3112,24 +3466,14 @@
|
|
|
3112
3466
|
updateChart="props.updateChart"
|
|
3113
3467
|
/>
|
|
3114
3468
|
|
|
3115
|
-
<
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
datasetOrientation="datasetOrientation"
|
|
3124
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
3125
|
-
/>
|
|
3126
|
-
<ChartLabelRange
|
|
3127
|
-
range="this.getLabelRange()"
|
|
3128
|
-
isInvalid="isLabelInvalid"
|
|
3129
|
-
onSelectionChanged="(ranges) => this.onLabelRangeChanged(ranges)"
|
|
3130
|
-
onSelectionConfirmed="() => this.onLabelRangeConfirmed()"
|
|
3131
|
-
options="this.getLabelRangeOptions()"
|
|
3132
|
-
title.translate="Territories"
|
|
3469
|
+
<ChartDataSourceComponent
|
|
3470
|
+
chartId="props.chartId"
|
|
3471
|
+
definition="props.definition"
|
|
3472
|
+
updateChart="props.updateChart"
|
|
3473
|
+
canUpdateChart="props.canUpdateChart"
|
|
3474
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
3475
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
3476
|
+
labelRangeTitle.translate="Territories"
|
|
3133
3477
|
/>
|
|
3134
3478
|
|
|
3135
3479
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -3172,9 +3516,88 @@
|
|
|
3172
3516
|
</Section>
|
|
3173
3517
|
|
|
3174
3518
|
<Section title.translate="Thresholds">
|
|
3175
|
-
<
|
|
3176
|
-
<
|
|
3177
|
-
|
|
3519
|
+
<div class="o-gauge-color-set">
|
|
3520
|
+
<table>
|
|
3521
|
+
<tr>
|
|
3522
|
+
<th class="o-gauge-color-set-colorPicker"/>
|
|
3523
|
+
<th class="o-gauge-color-set-text"/>
|
|
3524
|
+
<th class="o-gauge-color-set-operator"/>
|
|
3525
|
+
<th class="o-gauge-color-set-value">Value</th>
|
|
3526
|
+
<th class="o-gauge-color-set-type">Type</th>
|
|
3527
|
+
</tr>
|
|
3528
|
+
|
|
3529
|
+
<tr>
|
|
3530
|
+
<td>
|
|
3531
|
+
<RoundColorPicker
|
|
3532
|
+
currentColor="state.sectionRule.colors.lowerColor"
|
|
3533
|
+
onColorPicked="(color) => this.updateSectionColor('lowerColor', color)"
|
|
3534
|
+
/>
|
|
3535
|
+
</td>
|
|
3536
|
+
<td>When value is</td>
|
|
3537
|
+
<td class="pe-2">
|
|
3538
|
+
<Select
|
|
3539
|
+
selectedValue="state.sectionRule['lowerInflectionPoint'].operator"
|
|
3540
|
+
name="'operatorType'"
|
|
3541
|
+
values="inflectionPointOperators"
|
|
3542
|
+
onChange.bind="(value) => this.updateSectionRuleOperator('lowerInflectionPoint', value)"
|
|
3543
|
+
/>
|
|
3544
|
+
</td>
|
|
3545
|
+
<td class="pe-2">
|
|
3546
|
+
<StandaloneComposer t-props="getGaugeInflectionComposerProps('lowerColor')"/>
|
|
3547
|
+
</td>
|
|
3548
|
+
<td>
|
|
3549
|
+
<Select
|
|
3550
|
+
selectedValue="state.sectionRule['lowerInflectionPoint'].type"
|
|
3551
|
+
name="'valueType'"
|
|
3552
|
+
values="inflectionPointTypes"
|
|
3553
|
+
onChange.bind="(value) => this.updateSectionRulePointType('lowerInflectionPoint', value)"
|
|
3554
|
+
/>
|
|
3555
|
+
</td>
|
|
3556
|
+
</tr>
|
|
3557
|
+
|
|
3558
|
+
<tr>
|
|
3559
|
+
<td>
|
|
3560
|
+
<RoundColorPicker
|
|
3561
|
+
currentColor="state.sectionRule.colors.middleColor"
|
|
3562
|
+
onColorPicked="(color) => this.updateSectionColor('middleColor', color)"
|
|
3563
|
+
/>
|
|
3564
|
+
</td>
|
|
3565
|
+
<td>When value is</td>
|
|
3566
|
+
<td class="pe-2">
|
|
3567
|
+
<Select
|
|
3568
|
+
selectedValue="state.sectionRule['upperInflectionPoint'].operator"
|
|
3569
|
+
name="'operatorType'"
|
|
3570
|
+
values="inflectionPointOperators"
|
|
3571
|
+
onChange.bind="(value) => this.updateSectionRuleOperator('upperInflectionPoint', value)"
|
|
3572
|
+
/>
|
|
3573
|
+
</td>
|
|
3574
|
+
<td class="pe-2">
|
|
3575
|
+
<StandaloneComposer t-props="getGaugeInflectionComposerProps('middleColor')"/>
|
|
3576
|
+
</td>
|
|
3577
|
+
<td>
|
|
3578
|
+
<Select
|
|
3579
|
+
selectedValue="state.sectionRule['upperInflectionPoint'].type"
|
|
3580
|
+
name="'valueType'"
|
|
3581
|
+
values="inflectionPointTypes"
|
|
3582
|
+
onChange.bind="(value) => this.updateSectionRulePointType('upperInflectionPoint', value)"
|
|
3583
|
+
/>
|
|
3584
|
+
</td>
|
|
3585
|
+
</tr>
|
|
3586
|
+
|
|
3587
|
+
<tr>
|
|
3588
|
+
<td>
|
|
3589
|
+
<RoundColorPicker
|
|
3590
|
+
currentColor="state.sectionRule.colors.upperColor"
|
|
3591
|
+
onColorPicked="(color) => this.updateSectionColor('upperColor', color)"
|
|
3592
|
+
/>
|
|
3593
|
+
</td>
|
|
3594
|
+
<td>Else</td>
|
|
3595
|
+
<td/>
|
|
3596
|
+
<td/>
|
|
3597
|
+
<td/>
|
|
3598
|
+
</tr>
|
|
3599
|
+
</table>
|
|
3600
|
+
</div>
|
|
3178
3601
|
</Section>
|
|
3179
3602
|
|
|
3180
3603
|
<ChartErrorSection t-if="designErrorMessages.length" messages="designErrorMessages"/>
|
|
@@ -3182,86 +3605,11 @@
|
|
|
3182
3605
|
</SidePanelCollapsible>
|
|
3183
3606
|
</t>
|
|
3184
3607
|
|
|
3185
|
-
<t t-name="o-spreadsheet-GaugeChartColorSectionTemplate">
|
|
3186
|
-
<div class="o-gauge-color-set">
|
|
3187
|
-
<table>
|
|
3188
|
-
<tr>
|
|
3189
|
-
<th class="o-gauge-color-set-colorPicker"/>
|
|
3190
|
-
<th class="o-gauge-color-set-text"/>
|
|
3191
|
-
<th class="o-gauge-color-set-operator"/>
|
|
3192
|
-
<th class="o-gauge-color-set-value">Value</th>
|
|
3193
|
-
<th class="o-gauge-color-set-type">Type</th>
|
|
3194
|
-
</tr>
|
|
3195
|
-
|
|
3196
|
-
<t t-call="o-spreadsheet-GaugeChartColorSectionTemplateRow">
|
|
3197
|
-
<t t-set="sectionColor" t-value="sectionRule.colors.lowerColor"/>
|
|
3198
|
-
<t t-set="sectionType" t-value="'lowerColor'"/>
|
|
3199
|
-
<t t-set="inflectionPoint" t-value="'lowerInflectionPoint'"/>
|
|
3200
|
-
<t t-set="isInvalid" t-value="isLowerInflectionPointInvalid"/>
|
|
3201
|
-
<t t-set="inflectionPointName" t-value="'lowerInflectionPoint'"/>
|
|
3202
|
-
</t>
|
|
3203
|
-
|
|
3204
|
-
<t t-call="o-spreadsheet-GaugeChartColorSectionTemplateRow">
|
|
3205
|
-
<t t-set="sectionColor" t-value="sectionRule.colors.middleColor"/>
|
|
3206
|
-
<t t-set="sectionType" t-value="'middleColor'"/>
|
|
3207
|
-
<t t-set="inflectionPoint" t-value="'upperInflectionPoint'"/>
|
|
3208
|
-
<t t-set="isInvalid" t-value="isUpperInflectionPointInvalid"/>
|
|
3209
|
-
<t t-set="inflectionPointName" t-value="'upperInflectionPoint'"/>
|
|
3210
|
-
</t>
|
|
3211
|
-
|
|
3212
|
-
<tr>
|
|
3213
|
-
<td>
|
|
3214
|
-
<RoundColorPicker
|
|
3215
|
-
currentColor="sectionRule.colors.upperColor"
|
|
3216
|
-
onColorPicked="(color) => this.updateSectionColor('upperColor', color)"
|
|
3217
|
-
/>
|
|
3218
|
-
</td>
|
|
3219
|
-
<td>Else</td>
|
|
3220
|
-
<td/>
|
|
3221
|
-
<td/>
|
|
3222
|
-
<td/>
|
|
3223
|
-
</tr>
|
|
3224
|
-
</table>
|
|
3225
|
-
</div>
|
|
3226
|
-
</t>
|
|
3227
|
-
|
|
3228
|
-
<t t-name="o-spreadsheet-GaugeChartColorSectionTemplateRow">
|
|
3229
|
-
<tr>
|
|
3230
|
-
<td>
|
|
3231
|
-
<RoundColorPicker
|
|
3232
|
-
currentColor="sectionColor"
|
|
3233
|
-
onColorPicked="(color) => this.updateSectionColor(sectionType, color)"
|
|
3234
|
-
/>
|
|
3235
|
-
</td>
|
|
3236
|
-
<td>When value is</td>
|
|
3237
|
-
<td class="pe-2">
|
|
3238
|
-
<t t-set="below">below</t>
|
|
3239
|
-
<t t-set="belowOrEqualTo">below or equal to</t>
|
|
3240
|
-
<Select
|
|
3241
|
-
selectedValue="sectionRule[inflectionPoint].operator"
|
|
3242
|
-
name="'operatorType'"
|
|
3243
|
-
values="inflectionPointOperators"
|
|
3244
|
-
onChange.bind="(value) => this.updateSectionRuleOperator(inflectionPoint, value)"
|
|
3245
|
-
/>
|
|
3246
|
-
</td>
|
|
3247
|
-
<td class="pe-2">
|
|
3248
|
-
<StandaloneComposer t-props="getGaugeInflectionComposerProps(sectionType)"/>
|
|
3249
|
-
</td>
|
|
3250
|
-
<td>
|
|
3251
|
-
<Select
|
|
3252
|
-
selectedValue="sectionRule[inflectionPoint].type"
|
|
3253
|
-
name="'valueType'"
|
|
3254
|
-
values="inflectionPointTypes"
|
|
3255
|
-
onChange.bind="(value) => this.updateSectionRulePointType(inflectionPoint, value)"
|
|
3256
|
-
/>
|
|
3257
|
-
</td>
|
|
3258
|
-
</tr>
|
|
3259
|
-
</t>
|
|
3260
|
-
|
|
3261
3608
|
<t t-name="o-spreadsheet-GaugeChartConfigPanel">
|
|
3262
3609
|
<div>
|
|
3263
3610
|
<ChartDataSeries
|
|
3264
3611
|
ranges="[this.getDataRange()]"
|
|
3612
|
+
dataSetStyles="{}"
|
|
3265
3613
|
onSelectionChanged="(ranges) => this.onDataRangeChanged(ranges)"
|
|
3266
3614
|
onSelectionConfirmed="() => this.updateDataRange()"
|
|
3267
3615
|
hasSingleRange="true"
|
|
@@ -3295,7 +3643,7 @@
|
|
|
3295
3643
|
currentColor="item.color"
|
|
3296
3644
|
onColorPicked="(color) => this.updateFunnelItemColor(item_index, color)"
|
|
3297
3645
|
/>
|
|
3298
|
-
<span class="ps-2" t-
|
|
3646
|
+
<span class="ps-2" t-out="item.label"/>
|
|
3299
3647
|
</div>
|
|
3300
3648
|
</t>
|
|
3301
3649
|
</Section>
|
|
@@ -3327,13 +3675,13 @@
|
|
|
3327
3675
|
</GeneralDesignEditor>
|
|
3328
3676
|
<SeriesWithAxisDesignEditor t-props="props">
|
|
3329
3677
|
<t t-set-slot="general-extension" t-slot-scope="scope">
|
|
3330
|
-
<t t-set="
|
|
3678
|
+
<t t-set="dataSetId" t-value="scope.dataSetId"/>
|
|
3331
3679
|
<Section class="'pt-0 o-series-type-selection'" title.translate="Serie type">
|
|
3332
3680
|
<RadioSelection
|
|
3333
3681
|
choices="seriesTypeChoices"
|
|
3334
|
-
selectedValue="getDataSeriesType(
|
|
3682
|
+
selectedValue="getDataSeriesType(dataSetId)"
|
|
3335
3683
|
name="'seriesType'"
|
|
3336
|
-
onChange="(type) => this.updateDataSeriesType(
|
|
3684
|
+
onChange="(type) => this.updateDataSeriesType(dataSetId, type)"
|
|
3337
3685
|
/>
|
|
3338
3686
|
</Section>
|
|
3339
3687
|
</t>
|
|
@@ -3379,15 +3727,12 @@
|
|
|
3379
3727
|
<t t-set="selectedChartProperties" t-value="getSelectedChartSubtypeProperties()"/>
|
|
3380
3728
|
<Section title.translate="Chart type">
|
|
3381
3729
|
<div class="position-relative">
|
|
3382
|
-
<
|
|
3383
|
-
class="o-input o-type-selector"
|
|
3730
|
+
<div
|
|
3731
|
+
class="o-select o-input o-type-selector"
|
|
3384
3732
|
t-ref="selectRef"
|
|
3385
3733
|
t-on-pointerdown.prevent="onPointerDown">
|
|
3386
|
-
<
|
|
3387
|
-
|
|
3388
|
-
t-att-value="selectedChartProperties.chartSubtype"
|
|
3389
|
-
/>
|
|
3390
|
-
</select>
|
|
3734
|
+
<t t-out="selectedChartProperties.displayName"/>
|
|
3735
|
+
</div>
|
|
3391
3736
|
<div class="o-type-selector-preview position-absolute">
|
|
3392
3737
|
<t t-call="{{selectedChartProperties.preview}}"/>
|
|
3393
3738
|
</div>
|
|
@@ -3396,11 +3741,11 @@
|
|
|
3396
3741
|
<Popover t-if="state.popoverProps" t-props="state.popoverProps">
|
|
3397
3742
|
<div
|
|
3398
3743
|
t-ref="popoverRef"
|
|
3399
|
-
class="o-chart-select-popover px-3 pb-4
|
|
3744
|
+
class="o-chart-select-popover px-3 pb-4"
|
|
3400
3745
|
t-att-style="state.popoverStyle">
|
|
3401
3746
|
<t t-foreach="categories" t-as="category" t-key="category">
|
|
3402
3747
|
<t t-if="chartTypeByCategories[category]">
|
|
3403
|
-
<h5 class="my-3" t-
|
|
3748
|
+
<h5 class="my-3" t-out="category_value"/>
|
|
3404
3749
|
<div class="d-flex flex-wrap">
|
|
3405
3750
|
<t
|
|
3406
3751
|
t-foreach="chartTypeByCategories[category]"
|
|
@@ -3612,6 +3957,47 @@
|
|
|
3612
3957
|
<path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
|
|
3613
3958
|
</svg>
|
|
3614
3959
|
</t>
|
|
3960
|
+
<t t-name="o-spreadsheet-ChartPreview.BUBBLE_CHART">
|
|
3961
|
+
<svg viewBox="0 0 48 48" class="o-chart-preview" xmlns="http://www.w3.org/2000/svg">
|
|
3962
|
+
<circle
|
|
3963
|
+
stroke="var(--os-chart-preview-blue-line)"
|
|
3964
|
+
fill="var(--os-chart-preview-blue-fill)"
|
|
3965
|
+
cx="12"
|
|
3966
|
+
cy="32"
|
|
3967
|
+
r="4"
|
|
3968
|
+
/>
|
|
3969
|
+
<circle
|
|
3970
|
+
stroke="var(--os-chart-preview-blue-line)"
|
|
3971
|
+
fill="var(--os-chart-preview-blue-fill)"
|
|
3972
|
+
cx="22"
|
|
3973
|
+
cy="16"
|
|
3974
|
+
r="3"
|
|
3975
|
+
/>
|
|
3976
|
+
<circle
|
|
3977
|
+
stroke="var(--os-chart-preview-orange-line)"
|
|
3978
|
+
fill="var(--os-chart-preview-orange-fill)"
|
|
3979
|
+
cx="30"
|
|
3980
|
+
cy="26"
|
|
3981
|
+
r="5"
|
|
3982
|
+
/>
|
|
3983
|
+
<circle
|
|
3984
|
+
stroke="var(--os-chart-preview-orange-line)"
|
|
3985
|
+
fill="var(--os-chart-preview-orange-fill)"
|
|
3986
|
+
cx="18"
|
|
3987
|
+
cy="24"
|
|
3988
|
+
r="2.5"
|
|
3989
|
+
/>
|
|
3990
|
+
<circle
|
|
3991
|
+
stroke="var(--os-chart-preview-green-line)"
|
|
3992
|
+
fill="var(--os-chart-preview-green-fill)"
|
|
3993
|
+
cx="36"
|
|
3994
|
+
cy="14"
|
|
3995
|
+
r="6"
|
|
3996
|
+
opacity="0.8"
|
|
3997
|
+
/>
|
|
3998
|
+
<path fill="var(--os-gray-600)" d="M2,2 v44 h1 v-44 M3,45 h42 v1 h-42"/>
|
|
3999
|
+
</svg>
|
|
4000
|
+
</t>
|
|
3615
4001
|
<t t-name="o-spreadsheet-ChartPreview.GAUGE_CHART">
|
|
3616
4002
|
<svg
|
|
3617
4003
|
viewBox="0 0 48 48"
|
|
@@ -3859,22 +4245,14 @@
|
|
|
3859
4245
|
|
|
3860
4246
|
<t t-name="o-spreadsheet-CalendarChartConfigPanel">
|
|
3861
4247
|
<div>
|
|
3862
|
-
<
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
/>
|
|
3871
|
-
<ChartLabelRange
|
|
3872
|
-
range="this.getLabelRange()"
|
|
3873
|
-
isInvalid="isLabelInvalid"
|
|
3874
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
3875
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
3876
|
-
options="this.getLabelRangeOptions()"
|
|
3877
|
-
title.translate="Date range"
|
|
4248
|
+
<ChartDataSourceComponent
|
|
4249
|
+
chartId="props.chartId"
|
|
4250
|
+
definition="props.definition"
|
|
4251
|
+
updateChart="props.updateChart"
|
|
4252
|
+
canUpdateChart="props.canUpdateChart"
|
|
4253
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4254
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
4255
|
+
labelRangeTitle.translate="Date range"
|
|
3878
4256
|
/>
|
|
3879
4257
|
|
|
3880
4258
|
<Section title.translate="Fields to group by">
|
|
@@ -4000,8 +4378,8 @@
|
|
|
4000
4378
|
<t t-name="o-spreadsheet-SeriesWithAxisDesignEditor">
|
|
4001
4379
|
<SeriesDesignEditor t-props="props">
|
|
4002
4380
|
<t t-set-slot="data-series-extension" t-slot-scope="scope">
|
|
4003
|
-
<t t-set="
|
|
4004
|
-
<t t-slot="general-extension"
|
|
4381
|
+
<t t-set="dataSetId" t-value="scope.dataSetId"/>
|
|
4382
|
+
<t t-slot="general-extension" dataSetId="dataSetId"/>
|
|
4005
4383
|
<Section class="'pt-0 pb-0'">
|
|
4006
4384
|
<Section
|
|
4007
4385
|
class="'pt-0 px-0 o-vertical-axis-selection'"
|
|
@@ -4009,9 +4387,9 @@
|
|
|
4009
4387
|
title.translate="Vertical axis">
|
|
4010
4388
|
<RadioSelection
|
|
4011
4389
|
choices="axisChoices"
|
|
4012
|
-
selectedValue="getDataSerieAxis(
|
|
4390
|
+
selectedValue="getDataSerieAxis(dataSetId)"
|
|
4013
4391
|
name="'axis'"
|
|
4014
|
-
onChange="(value) => this.updateDataSeriesAxis(
|
|
4392
|
+
onChange="(value) => this.updateDataSeriesAxis(dataSetId, value)"
|
|
4015
4393
|
/>
|
|
4016
4394
|
</Section>
|
|
4017
4395
|
<Section
|
|
@@ -4019,13 +4397,13 @@
|
|
|
4019
4397
|
t-if="!props.definition.horizontal"
|
|
4020
4398
|
title.translate="Trend line">
|
|
4021
4399
|
<t t-set="showTrendLineLabel">Show trend line</t>
|
|
4022
|
-
<t t-set="trend" t-value="getTrendLineConfiguration(
|
|
4400
|
+
<t t-set="trend" t-value="getTrendLineConfiguration(dataSetId)"/>
|
|
4023
4401
|
<t t-set="trendType" t-value="getTrendType(trend)"/>
|
|
4024
4402
|
<Checkbox
|
|
4025
4403
|
name="'showTrendLine'"
|
|
4026
4404
|
label="showTrendLineLabel"
|
|
4027
4405
|
value="trend !== undefined and trend.display"
|
|
4028
|
-
onChange="(display) => this.toggleDataTrend(
|
|
4406
|
+
onChange="(display) => this.toggleDataTrend(dataSetId, display)"
|
|
4029
4407
|
/>
|
|
4030
4408
|
<div t-if="trend !== undefined and trend.display">
|
|
4031
4409
|
<div class="d-flex py-2">
|
|
@@ -4035,7 +4413,7 @@
|
|
|
4035
4413
|
selectedValue="trendType"
|
|
4036
4414
|
values="trendOptions"
|
|
4037
4415
|
class="'trend-type-selector'"
|
|
4038
|
-
onChange="(value) => this.onChangeTrendType(
|
|
4416
|
+
onChange="(value) => this.onChangeTrendType(dataSetId, value)"
|
|
4039
4417
|
/>
|
|
4040
4418
|
</div>
|
|
4041
4419
|
<div class="w-50 ms-3" t-if="trendType === 'trailingMovingAverage'">
|
|
@@ -4044,24 +4422,24 @@
|
|
|
4044
4422
|
value="trend.window || this.defaultWindowSize"
|
|
4045
4423
|
class="'w-100 trend-window-input'"
|
|
4046
4424
|
min="2"
|
|
4047
|
-
onChange="(value) => this.onChangeMovingAverageWindow(
|
|
4425
|
+
onChange="(value) => this.onChangeMovingAverageWindow(dataSetId, value)"
|
|
4048
4426
|
/>
|
|
4049
4427
|
</div>
|
|
4050
4428
|
<div class="w-50 ms-3" t-if="trendType === 'polynomial'">
|
|
4051
4429
|
<span class="o-section-subtitle">Degree</span>
|
|
4052
4430
|
<Select
|
|
4053
4431
|
selectedValue="trend.order.toString()"
|
|
4054
|
-
values="getPolynomialDegrees(
|
|
4432
|
+
values="getPolynomialDegrees(dataSetId)"
|
|
4055
4433
|
class="'trend-order-input'"
|
|
4056
|
-
onChange="(value) => this.onChangePolynomialDegree(
|
|
4434
|
+
onChange="(value) => this.onChangePolynomialDegree(dataSetId, value)"
|
|
4057
4435
|
/>
|
|
4058
4436
|
</div>
|
|
4059
4437
|
</div>
|
|
4060
4438
|
<div class="d-flex align-items-center">
|
|
4061
4439
|
<span class="o-section-subtitle my-0 pe-2">Trend line color</span>
|
|
4062
4440
|
<RoundColorPicker
|
|
4063
|
-
currentColor="getTrendLineColor(
|
|
4064
|
-
onColorPicked="(ev) => this.updateTrendLineColor(
|
|
4441
|
+
currentColor="getTrendLineColor(dataSetId)"
|
|
4442
|
+
onColorPicked="(ev) => this.updateTrendLineColor(dataSetId, ev)"
|
|
4065
4443
|
/>
|
|
4066
4444
|
</div>
|
|
4067
4445
|
</div>
|
|
@@ -4076,7 +4454,7 @@
|
|
|
4076
4454
|
<t t-set-slot="content">
|
|
4077
4455
|
<Section class="'pt-0 pb-0'">
|
|
4078
4456
|
<Select
|
|
4079
|
-
selectedValue="state.
|
|
4457
|
+
selectedValue="state.dataSetId"
|
|
4080
4458
|
values="selectOptions"
|
|
4081
4459
|
class="'data-series-selector'"
|
|
4082
4460
|
onChange.bind="this.updateEditedSeries"
|
|
@@ -4099,11 +4477,35 @@
|
|
|
4099
4477
|
/>
|
|
4100
4478
|
</Section>
|
|
4101
4479
|
</Section>
|
|
4102
|
-
<t t-slot="data-series-extension"
|
|
4480
|
+
<t t-slot="data-series-extension" dataSetId="state.dataSetId"/>
|
|
4103
4481
|
</t>
|
|
4104
4482
|
</SidePanelCollapsible>
|
|
4105
4483
|
</t>
|
|
4106
4484
|
|
|
4485
|
+
<t t-name="o-spreadsheet-ChartRangeDataSource">
|
|
4486
|
+
<ChartDataSeries
|
|
4487
|
+
ranges="this.getDataSeriesRanges()"
|
|
4488
|
+
dataSetStyles="this.props.definition.dataSetStyles"
|
|
4489
|
+
onSelectionChanged.bind="onDataSeriesRangesChanged"
|
|
4490
|
+
onSelectionConfirmed.bind="onDataSeriesConfirmed"
|
|
4491
|
+
onSelectionReordered.bind="onDataSeriesReordered"
|
|
4492
|
+
onSelectionRemoved.bind="onDataSeriesRemoved"
|
|
4493
|
+
maxNumberOfUsedRanges="maxNumberOfUsedRanges"
|
|
4494
|
+
datasetOrientation="datasetOrientation"
|
|
4495
|
+
canChangeDatasetOrientation="canChangeDatasetOrientation"
|
|
4496
|
+
onFlipAxis.bind="setDatasetOrientation"
|
|
4497
|
+
title="props.dataSeriesTitle"
|
|
4498
|
+
/>
|
|
4499
|
+
<ChartLabelRange
|
|
4500
|
+
range="this.getLabelRange()"
|
|
4501
|
+
isInvalid="isLabelInvalid"
|
|
4502
|
+
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4503
|
+
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4504
|
+
options="this.getLabelRangeOptions()"
|
|
4505
|
+
title="props.labelRangeTitle"
|
|
4506
|
+
/>
|
|
4507
|
+
</t>
|
|
4508
|
+
|
|
4107
4509
|
<t t-name="o-spreadsheet.PieHoleSize">
|
|
4108
4510
|
<Section class="'pt-0'" title.translate="Center radius">
|
|
4109
4511
|
<div class="d-flex flex-row">
|
|
@@ -4121,17 +4523,22 @@
|
|
|
4121
4523
|
|
|
4122
4524
|
<t t-name="o-spreadsheet-ChartLegend">
|
|
4123
4525
|
<Section class="'pt-0'" title.translate="Legend position">
|
|
4124
|
-
<
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4526
|
+
<div t-if="!props.isDisabled" class="mb-2">
|
|
4527
|
+
<Select
|
|
4528
|
+
selectedValue="props.definition.legendPosition ?? 'top'"
|
|
4529
|
+
values="legendValues"
|
|
4530
|
+
class="'o-chart-legend-position'"
|
|
4531
|
+
onChange.bind="this.updateLegendPosition"
|
|
4532
|
+
/>
|
|
4533
|
+
</div>
|
|
4534
|
+
<div t-else="" title="No legend available">
|
|
4535
|
+
<span class="o-disabled">None</span>
|
|
4536
|
+
</div>
|
|
4130
4537
|
</Section>
|
|
4131
4538
|
</t>
|
|
4132
4539
|
|
|
4133
4540
|
<t t-name="o-spreadsheet.ChartLabelRange">
|
|
4134
|
-
<Section class="
|
|
4541
|
+
<Section class="sectionClass" title="props.title">
|
|
4135
4542
|
<SelectionInput
|
|
4136
4543
|
ranges="[props.range]"
|
|
4137
4544
|
isInvalid="props.isInvalid"
|
|
@@ -4164,23 +4571,13 @@
|
|
|
4164
4571
|
|
|
4165
4572
|
<t t-name="o-spreadsheet-GenericChartConfigPanel">
|
|
4166
4573
|
<div>
|
|
4167
|
-
<
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
datasetOrientation="datasetOrientation"
|
|
4175
|
-
canChangeDatasetOrientation="canChangeDatasetOrientation"
|
|
4176
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
4177
|
-
/>
|
|
4178
|
-
<ChartLabelRange
|
|
4179
|
-
range="this.getLabelRange()"
|
|
4180
|
-
isInvalid="isLabelInvalid"
|
|
4181
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4182
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4183
|
-
options="this.getLabelRangeOptions()"
|
|
4574
|
+
<ChartDataSourceComponent
|
|
4575
|
+
chartId="props.chartId"
|
|
4576
|
+
definition="props.definition"
|
|
4577
|
+
updateChart="props.updateChart"
|
|
4578
|
+
canUpdateChart="props.canUpdateChart"
|
|
4579
|
+
getLabelRangeOptions.bind="getLabelRangeOptions"
|
|
4580
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4184
4581
|
/>
|
|
4185
4582
|
|
|
4186
4583
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -4216,11 +4613,19 @@
|
|
|
4216
4613
|
</Section>
|
|
4217
4614
|
</t>
|
|
4218
4615
|
|
|
4616
|
+
<t t-name="o-spreadsheet-ChartDataSourceComponent">
|
|
4617
|
+
<t
|
|
4618
|
+
t-component="DataSourceComponent"
|
|
4619
|
+
t-props="this.props"
|
|
4620
|
+
dataSource="this.props.definition.dataSource"
|
|
4621
|
+
/>
|
|
4622
|
+
</t>
|
|
4623
|
+
|
|
4219
4624
|
<t t-name="o-spreadsheet.ChartDataSeries">
|
|
4220
4625
|
<Section class="'o-data-series'">
|
|
4221
4626
|
<t t-set-slot="title">
|
|
4222
4627
|
<div class="d-flex flex-row justify-content-between">
|
|
4223
|
-
<t t-
|
|
4628
|
+
<t t-out="title"/>
|
|
4224
4629
|
<div t-if="props.onFlipAxis and props.canChangeDatasetOrientation" class="d-flex">
|
|
4225
4630
|
<span
|
|
4226
4631
|
t-if="props.datasetOrientation !== 'rows'"
|
|
@@ -4261,10 +4666,10 @@
|
|
|
4261
4666
|
class="color-scale-container d-flex justify-content-end"
|
|
4262
4667
|
t-on-click.stop="onPointerDown">
|
|
4263
4668
|
<span class="color-scale-label">
|
|
4264
|
-
<t t-
|
|
4669
|
+
<t t-out="currentColorScaleLabel"/>
|
|
4265
4670
|
</span>
|
|
4266
4671
|
<div
|
|
4267
|
-
class="color-scale-preview w-100"
|
|
4672
|
+
class="color-scale-preview w-100 os-theme-dependant"
|
|
4268
4673
|
t-att-data-test-colorscale="selectedColorScale"
|
|
4269
4674
|
t-att-style="currentColorScaleStyle"
|
|
4270
4675
|
/>
|
|
@@ -4273,14 +4678,14 @@
|
|
|
4273
4678
|
</span>
|
|
4274
4679
|
</div>
|
|
4275
4680
|
<Popover t-if="state.popoverProps" t-props="state.popoverProps">
|
|
4276
|
-
<table t-ref="popoverRef"
|
|
4681
|
+
<table t-ref="popoverRef" t-att-style="state.popoverStyle">
|
|
4277
4682
|
<tr
|
|
4278
4683
|
class="color-scale-container custom-color-scale-container"
|
|
4279
4684
|
t-on-click="() => this.onColorScaleChange('custom')">
|
|
4280
4685
|
<td class="p-1 text-end">Custom</td>
|
|
4281
4686
|
<td class="w-100 p-1">
|
|
4282
4687
|
<div
|
|
4283
|
-
class="color-scale-preview o-checkers-background"
|
|
4688
|
+
class="color-scale-preview o-checkers-background os-theme-dependant"
|
|
4284
4689
|
data-test-id="custom-color-scale"
|
|
4285
4690
|
/>
|
|
4286
4691
|
</td>
|
|
@@ -4291,11 +4696,11 @@
|
|
|
4291
4696
|
t-on-click="() => this.onColorScaleChange(colorScale.value)"
|
|
4292
4697
|
t-att-title="colorScale.label">
|
|
4293
4698
|
<td class="p-1 text-end">
|
|
4294
|
-
<t t-
|
|
4699
|
+
<t t-out="colorScale.label"/>
|
|
4295
4700
|
</td>
|
|
4296
4701
|
<td class="w-100 p-1">
|
|
4297
4702
|
<div
|
|
4298
|
-
class="color-scale-preview"
|
|
4703
|
+
class="color-scale-preview os-theme-dependant"
|
|
4299
4704
|
t-att-data-test-id="colorScale.className"
|
|
4300
4705
|
t-att-style="colorScalePreviewStyle(colorScale.value)"
|
|
4301
4706
|
/>
|
|
@@ -4350,24 +4755,174 @@
|
|
|
4350
4755
|
</Section>
|
|
4351
4756
|
</t>
|
|
4352
4757
|
|
|
4353
|
-
<t t-name="o-spreadsheet-AxisDesignEditor">
|
|
4354
|
-
<t t-set="editor_label">Axis title</t>
|
|
4355
|
-
<Section class="'py-0'">
|
|
4356
|
-
<BadgeSelection
|
|
4357
|
-
choices="badgeAxes"
|
|
4358
|
-
onChange.bind="(value) => state.currentAxis = value"
|
|
4359
|
-
selectedValue="state.currentAxis"
|
|
4758
|
+
<t t-name="o-spreadsheet-AxisDesignEditor">
|
|
4759
|
+
<t t-set="editor_label">Axis title</t>
|
|
4760
|
+
<Section class="'py-0'">
|
|
4761
|
+
<BadgeSelection
|
|
4762
|
+
choices="badgeAxes"
|
|
4763
|
+
onChange.bind="(value) => state.currentAxis = value"
|
|
4764
|
+
selectedValue="state.currentAxis"
|
|
4765
|
+
/>
|
|
4766
|
+
</Section>
|
|
4767
|
+
<ChartTitle
|
|
4768
|
+
title="this.getAxisTitle()"
|
|
4769
|
+
updateTitle.bind="updateAxisTitle"
|
|
4770
|
+
updateStyle.bind="updateAxisTitleStyle"
|
|
4771
|
+
name="editor_label"
|
|
4772
|
+
style="axisTitleStyle"
|
|
4773
|
+
placeholder.translate="Add a Title"
|
|
4774
|
+
defaultStyle="{align: 'center', color: '', fontSize: defaultFontSize}"
|
|
4775
|
+
/>
|
|
4776
|
+
<Section
|
|
4777
|
+
t-if="!isCategoricalAxis"
|
|
4778
|
+
class="'pt-0 o-axis-bounds-section'"
|
|
4779
|
+
title.translate="Axis range">
|
|
4780
|
+
<div class="d-flex">
|
|
4781
|
+
<div class="w-50">
|
|
4782
|
+
<span class="o-section-subtitle my-0">Minimum</span>
|
|
4783
|
+
<DateInput
|
|
4784
|
+
t-if="isTimeAxis"
|
|
4785
|
+
class="'o-input w-100 time-axis-min-input'"
|
|
4786
|
+
value="axisMin"
|
|
4787
|
+
onChange.bind="updateTimeAxisMin"
|
|
4788
|
+
/>
|
|
4789
|
+
<NumberInput
|
|
4790
|
+
t-else=""
|
|
4791
|
+
class="'o-input w-100 axis-min-input'"
|
|
4792
|
+
value="axisMin"
|
|
4793
|
+
onChange.bind="updateAxisMin"
|
|
4794
|
+
placeholder.translate="Lower bound value"
|
|
4795
|
+
/>
|
|
4796
|
+
</div>
|
|
4797
|
+
<div class="w-50 ms-3">
|
|
4798
|
+
<span class="o-section-subtitle my-0">Maximum</span>
|
|
4799
|
+
<DateInput
|
|
4800
|
+
t-if="isTimeAxis"
|
|
4801
|
+
class="'o-input w-100 time-axis-max-input'"
|
|
4802
|
+
value="axisMax"
|
|
4803
|
+
onChange.bind="updateTimeAxisMax"
|
|
4804
|
+
/>
|
|
4805
|
+
<NumberInput
|
|
4806
|
+
t-else=""
|
|
4807
|
+
class="'o-input w-100 axis-max-input'"
|
|
4808
|
+
value="axisMax"
|
|
4809
|
+
onChange.bind="updateAxisMax"
|
|
4810
|
+
placeholder.translate="Upper bound value"
|
|
4811
|
+
/>
|
|
4812
|
+
</div>
|
|
4813
|
+
</div>
|
|
4814
|
+
</Section>
|
|
4815
|
+
<Section class="'pt-0'" t-if="!isCategoricalAxis" title.translate="Gridlines">
|
|
4816
|
+
<Checkbox
|
|
4817
|
+
className="'o-axis-grid-major'"
|
|
4818
|
+
label="majorGridLabel"
|
|
4819
|
+
value="isMajorGridEnabled"
|
|
4820
|
+
onChange.bind="toggleMajorGrid"
|
|
4821
|
+
/>
|
|
4822
|
+
<Checkbox
|
|
4823
|
+
className="'o-axis-grid-minor'"
|
|
4824
|
+
label="minorGridLabel"
|
|
4825
|
+
value="isMinorGridEnabled"
|
|
4826
|
+
onChange.bind="toggleMinorGrid"
|
|
4827
|
+
/>
|
|
4828
|
+
</Section>
|
|
4829
|
+
</t>
|
|
4830
|
+
|
|
4831
|
+
<t t-name="o-spreadsheet-BubbleChartDesignPanel">
|
|
4832
|
+
<GeneralDesignEditor t-props="props">
|
|
4833
|
+
<t t-set-slot="general-extension">
|
|
4834
|
+
<ChartLegend t-props="props" isDisabled="colorMode == 'single'"/>
|
|
4835
|
+
<Section class="'o-vertical-axis-selection pt-0'" title.translate="Vertical axis position">
|
|
4836
|
+
<RadioSelection
|
|
4837
|
+
choices="axisChoices"
|
|
4838
|
+
selectedValue="verticalAxisPosition"
|
|
4839
|
+
name="'axis'"
|
|
4840
|
+
onChange.bind="updateVerticalAxisPosition"
|
|
4841
|
+
/>
|
|
4842
|
+
</Section>
|
|
4843
|
+
<Section class="'pt-0'" title.translate="Values">
|
|
4844
|
+
<ChartShowValues t-props="props"/>
|
|
4845
|
+
</Section>
|
|
4846
|
+
</t>
|
|
4847
|
+
</GeneralDesignEditor>
|
|
4848
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Bubble chart design">
|
|
4849
|
+
<t t-set-slot="content">
|
|
4850
|
+
<Section class="'pt-0'" title.translate="Color mode">
|
|
4851
|
+
<RadioSelection
|
|
4852
|
+
choices="colorModeChoices"
|
|
4853
|
+
selectedValue="colorMode"
|
|
4854
|
+
name="'bubble-color-mode'"
|
|
4855
|
+
onChange.bind="onColorModeChange"
|
|
4856
|
+
/>
|
|
4857
|
+
<Checkbox
|
|
4858
|
+
name="'areBubblesTransparent'"
|
|
4859
|
+
value="areBubblesTransparent"
|
|
4860
|
+
onChange.bind="updateBubbleTransparency"
|
|
4861
|
+
className="'w-100 pt-2'"
|
|
4862
|
+
label.translate="Show semi-transparent bubbles"
|
|
4863
|
+
/>
|
|
4864
|
+
</Section>
|
|
4865
|
+
<Section t-if="colorMode == 'single'" class="'pt-0'" title.translate="Bubble color">
|
|
4866
|
+
<RoundColorPicker
|
|
4867
|
+
currentColor="currentBubbleColor"
|
|
4868
|
+
onColorPicked.bind="updateBubbleColor"
|
|
4869
|
+
/>
|
|
4870
|
+
</Section>
|
|
4871
|
+
</t>
|
|
4872
|
+
</SidePanelCollapsible>
|
|
4873
|
+
<SidePanelCollapsible isInitiallyCollapsed="true" title.translate="Axes">
|
|
4874
|
+
<t t-set-slot="content">
|
|
4875
|
+
<AxisDesignEditor
|
|
4876
|
+
axesList="axesList"
|
|
4877
|
+
chartId="props.chartId"
|
|
4878
|
+
definition="props.definition"
|
|
4879
|
+
updateChart="props.updateChart"
|
|
4880
|
+
/>
|
|
4881
|
+
</t>
|
|
4882
|
+
</SidePanelCollapsible>
|
|
4883
|
+
</t>
|
|
4884
|
+
|
|
4885
|
+
<t t-name="o-spreadsheet-BubbleChartConfigPanel">
|
|
4886
|
+
<div>
|
|
4887
|
+
<ChartDataSeries
|
|
4888
|
+
ranges="this.getDataSeriesRanges()"
|
|
4889
|
+
dataSetStyles="{}"
|
|
4890
|
+
onSelectionChanged.bind="onDataSeriesRangesChanged"
|
|
4891
|
+
onSelectionConfirmed.bind="onDataSeriesConfirmed"
|
|
4892
|
+
onSelectionReordered.bind="onDataSeriesReordered"
|
|
4893
|
+
onSelectionRemoved.bind="onDataSeriesRemoved"
|
|
4894
|
+
maxNumberOfUsedRanges="maxNumberOfUsedRanges"
|
|
4895
|
+
datasetOrientation="datasetOrientation"
|
|
4896
|
+
canChangeDatasetOrientation="false"
|
|
4360
4897
|
/>
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4898
|
+
<ChartLabelRange
|
|
4899
|
+
title.translate="Horizontal axis values"
|
|
4900
|
+
range="xRange || ''"
|
|
4901
|
+
isInvalid="isXDataInvalid"
|
|
4902
|
+
onSelectionChanged.bind="onXDataRangeChanged"
|
|
4903
|
+
onSelectionConfirmed.bind="onXDataRangeConfirmed"
|
|
4904
|
+
class="'pt-0'"
|
|
4905
|
+
/>
|
|
4906
|
+
<ChartLabelRange
|
|
4907
|
+
title.translate="Bubble labels"
|
|
4908
|
+
range="labelRange || ''"
|
|
4909
|
+
isInvalid="isLabelInvalid"
|
|
4910
|
+
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4911
|
+
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4912
|
+
class="'pt-0'"
|
|
4913
|
+
/>
|
|
4914
|
+
<ChartLabelRange
|
|
4915
|
+
title.translate="Bubble sizes"
|
|
4916
|
+
range="sizeRange || ''"
|
|
4917
|
+
isInvalid="isBubbleSizeRangeInvalid"
|
|
4918
|
+
onSelectionChanged.bind="onBubbleSizeRangeChanged"
|
|
4919
|
+
onSelectionConfirmed.bind="onBubbleSizeRangeConfirmed"
|
|
4920
|
+
class="'pt-0'"
|
|
4921
|
+
options="this.getLabelRangeOptions()"
|
|
4922
|
+
/>
|
|
4923
|
+
|
|
4924
|
+
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
4925
|
+
</div>
|
|
4371
4926
|
</t>
|
|
4372
4927
|
|
|
4373
4928
|
<t t-name="o-spreadsheet-BarChartDesignPanel">
|
|
@@ -4414,22 +4969,12 @@
|
|
|
4414
4969
|
onChange.bind="onUpdateStacked"
|
|
4415
4970
|
/>
|
|
4416
4971
|
</Section>
|
|
4417
|
-
<
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
canChangeDatasetOrientation="canChangeDatasetOrientation"
|
|
4424
|
-
datasetOrientation="datasetOrientation"
|
|
4425
|
-
onFlipAxis.bind="setDatasetOrientation"
|
|
4426
|
-
/>
|
|
4427
|
-
<ChartLabelRange
|
|
4428
|
-
range="this.getLabelRange()"
|
|
4429
|
-
isInvalid="isLabelInvalid"
|
|
4430
|
-
onSelectionChanged.bind="onLabelRangeChanged"
|
|
4431
|
-
onSelectionConfirmed.bind="onLabelRangeConfirmed"
|
|
4432
|
-
options="this.getLabelRangeOptions()"
|
|
4972
|
+
<ChartDataSourceComponent
|
|
4973
|
+
chartId="props.chartId"
|
|
4974
|
+
definition="props.definition"
|
|
4975
|
+
updateChart="props.updateChart"
|
|
4976
|
+
canUpdateChart="props.canUpdateChart"
|
|
4977
|
+
onErrorMessagesChanged.bind="onErrorMessagesChanged"
|
|
4433
4978
|
/>
|
|
4434
4979
|
|
|
4435
4980
|
<ChartErrorSection t-if="errorMessages.length" messages="errorMessages"/>
|
|
@@ -4589,14 +5134,15 @@
|
|
|
4589
5134
|
class="o-input o-select"
|
|
4590
5135
|
t-att-class="props.class"
|
|
4591
5136
|
t-att-name="props.name"
|
|
5137
|
+
t-att-title="props.title"
|
|
4592
5138
|
t-on-pointerdown="onMouseDown"
|
|
4593
5139
|
t-on-keydown="onKeyDown"
|
|
4594
|
-
t-
|
|
5140
|
+
t-out="selectedLabel"
|
|
4595
5141
|
/>
|
|
4596
5142
|
|
|
4597
5143
|
<Popover t-if="state.isPopoverOpen" t-props="popoverProps">
|
|
4598
5144
|
<div
|
|
4599
|
-
class="o-select-dropdown
|
|
5145
|
+
class="o-select-dropdown overflow-hidden py-2"
|
|
4600
5146
|
t-att-class="props.popoverClass"
|
|
4601
5147
|
t-ref="dropdownRef">
|
|
4602
5148
|
<t t-foreach="props.values" t-as="value" t-key="value_index">
|
|
@@ -4606,7 +5152,7 @@
|
|
|
4606
5152
|
'o-active': value.value === activeValue
|
|
4607
5153
|
}"
|
|
4608
5154
|
t-att-data-id="value.value"
|
|
4609
|
-
t-
|
|
5155
|
+
t-out="value.label"
|
|
4610
5156
|
t-att-title="value.label"
|
|
4611
5157
|
t-on-click="() => this.onOptionClick(value.value)"
|
|
4612
5158
|
t-on-mouseenter="() => this.onOptionHover(value.value)"
|
|
@@ -4661,7 +5207,7 @@
|
|
|
4661
5207
|
t-att-style="cell.style"
|
|
4662
5208
|
t-att-class="{ o_missing_value: cell.isMissing }"
|
|
4663
5209
|
t-on-click="() => props.onCellClicked(cell.formula)">
|
|
4664
|
-
<t t-
|
|
5210
|
+
<t t-out="cell.value"/>
|
|
4665
5211
|
</th>
|
|
4666
5212
|
</t>
|
|
4667
5213
|
</tr>
|
|
@@ -4671,13 +5217,13 @@
|
|
|
4671
5217
|
t-att-style="row.style"
|
|
4672
5218
|
t-att-class="{ o_missing_value: row.isMissing }"
|
|
4673
5219
|
t-on-click="() => props.onCellClicked(row.formula)">
|
|
4674
|
-
<t t-
|
|
5220
|
+
<t t-out="row.value"/>
|
|
4675
5221
|
</th>
|
|
4676
5222
|
<t t-foreach="tableData.values" t-as="col" t-key="col_index">
|
|
4677
5223
|
<td
|
|
4678
5224
|
t-att-class="{ o_missing_value: col[row_index].isMissing }"
|
|
4679
5225
|
t-on-click="() => props.onCellClicked(col[row_index].formula)">
|
|
4680
|
-
<t t-
|
|
5226
|
+
<t t-out="col[row_index].value"/>
|
|
4681
5227
|
</td>
|
|
4682
5228
|
</t>
|
|
4683
5229
|
</tr>
|
|
@@ -4737,17 +5283,17 @@
|
|
|
4737
5283
|
t-on-change="setValueFromInput"
|
|
4738
5284
|
t-ref="inputNumber"
|
|
4739
5285
|
/>
|
|
4740
|
-
<t t-
|
|
5286
|
+
<t t-out="props.valueIcon"/>
|
|
4741
5287
|
<span>
|
|
4742
5288
|
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
4743
5289
|
</span>
|
|
4744
5290
|
</div>
|
|
4745
5291
|
<Popover t-if="dropdown.isOpen" t-props="popoverProps">
|
|
4746
|
-
<div class="o-text-options
|
|
5292
|
+
<div class="o-text-options" t-on-click.stop="" t-ref="numberList">
|
|
4747
5293
|
<t t-foreach="props.valueList" t-as="value" t-key="value">
|
|
4748
5294
|
<div t-att-data-size="value" t-on-click="() => this.setValueFromList(value)">
|
|
4749
|
-
<t t-
|
|
4750
|
-
<t t-
|
|
5295
|
+
<t t-out="value"/>
|
|
5296
|
+
<t t-out="props.valueIcon"/>
|
|
4751
5297
|
</div>
|
|
4752
5298
|
</t>
|
|
4753
5299
|
</div>
|
|
@@ -4755,12 +5301,46 @@
|
|
|
4755
5301
|
</div>
|
|
4756
5302
|
</t>
|
|
4757
5303
|
|
|
5304
|
+
<t t-name="o-spreadsheet-NamedRangeSelector">
|
|
5305
|
+
<div
|
|
5306
|
+
class="o-named-range-selector d-flex align-items-center rounded p-1 my-1"
|
|
5307
|
+
t-ref="namedRangeSelectorRef"
|
|
5308
|
+
t-att-class="{
|
|
5309
|
+
'selected': topBarToolStore.isActive,
|
|
5310
|
+
}">
|
|
5311
|
+
<TextInput
|
|
5312
|
+
t-key="selectionKey"
|
|
5313
|
+
value="inputValue"
|
|
5314
|
+
onChange.bind="changeInputValue"
|
|
5315
|
+
onInput.bind="onInput"
|
|
5316
|
+
selectContentOnFocus="true"
|
|
5317
|
+
onFocused.bind="onInputFocused"
|
|
5318
|
+
onBlur.bind="onInputBlur"
|
|
5319
|
+
resetOnBlur="true"
|
|
5320
|
+
/>
|
|
5321
|
+
<div class="o-hoverable-button" t-on-click.stop="openDropdown">
|
|
5322
|
+
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
5323
|
+
</div>
|
|
5324
|
+
</div>
|
|
5325
|
+
|
|
5326
|
+
<MenuPopover
|
|
5327
|
+
t-if="topBarToolStore.isActive"
|
|
5328
|
+
disableKeyboardNavigation="true"
|
|
5329
|
+
anchorRect="menuState.anchorRect"
|
|
5330
|
+
menuItems="menuState.menuItems"
|
|
5331
|
+
onClose="() => {}"
|
|
5332
|
+
popoverPositioning="'bottom-left'"
|
|
5333
|
+
/>
|
|
5334
|
+
</t>
|
|
5335
|
+
|
|
4758
5336
|
<t t-name="o-spreadsheet-Menu-Popover">
|
|
4759
5337
|
<Popover t-if="menuItems.length" t-props="popoverProps">
|
|
4760
5338
|
<div
|
|
4761
5339
|
t-ref="menu"
|
|
4762
|
-
|
|
4763
|
-
|
|
5340
|
+
tabIndex="-1"
|
|
5341
|
+
class="o-menu-wrapper"
|
|
5342
|
+
t-on-mouseover="() => this.onMouseOverMainMenu()"
|
|
5343
|
+
t-on-keydown="this.onKeydown">
|
|
4764
5344
|
<Menu t-props="menuProps"/>
|
|
4765
5345
|
</div>
|
|
4766
5346
|
<MenuPopover
|
|
@@ -4775,6 +5355,8 @@
|
|
|
4775
5355
|
menuId="props.menuId"
|
|
4776
5356
|
onMouseOver.bind="onMouseOverChildMenu"
|
|
4777
5357
|
width="props.width"
|
|
5358
|
+
autoSelectFirstItem="subMenu.autoSelectFirstItem"
|
|
5359
|
+
onKeyboardNavigation.bind="this.onKeydown"
|
|
4778
5360
|
/>
|
|
4779
5361
|
</Popover>
|
|
4780
5362
|
</t>
|
|
@@ -4782,28 +5364,28 @@
|
|
|
4782
5364
|
<t t-name="o-spreadsheet-Menu">
|
|
4783
5365
|
<div
|
|
4784
5366
|
t-ref="menu"
|
|
4785
|
-
class="o-menu
|
|
5367
|
+
class="o-menu"
|
|
4786
5368
|
t-att-style="menuStyle"
|
|
4787
5369
|
t-on-scroll="props.onScroll"
|
|
4788
5370
|
t-on-wheel.stop=""
|
|
4789
5371
|
t-on-pointerdown.prevent=""
|
|
4790
|
-
t-on-click.stop=""
|
|
4791
|
-
t-on-contextmenu.prevent="">
|
|
5372
|
+
t-on-click.stop="">
|
|
4792
5373
|
<t t-foreach="props.menuItems" t-as="menuItem" t-key="menuItem_index">
|
|
4793
5374
|
<div t-if="menuItem === 'separator'" class="o-separator border-bottom"/>
|
|
4794
5375
|
<t t-else="">
|
|
4795
5376
|
<t t-set="isMenuRoot" t-value="isRoot(menuItem)"/>
|
|
4796
5377
|
<t t-set="isMenuEnabled" t-value="isEnabled(menuItem)"/>
|
|
4797
5378
|
<div
|
|
5379
|
+
tabIndex="-1"
|
|
4798
5380
|
t-att-title="getName(menuItem)"
|
|
4799
5381
|
t-att-data-name="menuItem.id"
|
|
4800
5382
|
t-on-click="(ev) => this.onClickMenu(menuItem, ev)"
|
|
4801
5383
|
t-on-auxclick="(ev) => this.onClickMenu(menuItem, ev)"
|
|
4802
|
-
t-on-
|
|
4803
|
-
t-on-
|
|
4804
|
-
t-on-
|
|
5384
|
+
t-on-mouseenter="(ev) => this.props.onMouseEnter?.(menuItem, ev)"
|
|
5385
|
+
t-on-mouseleave="(ev) => this.props.onMouseLeave?.(menuItem)"
|
|
5386
|
+
t-on-keydown="(ev) => props.onKeyDown?.(ev)"
|
|
4805
5387
|
class="o-menu-item d-flex justify-content-between align-items-center"
|
|
4806
|
-
t-att-class="{'disabled': !isMenuEnabled, 'o-menu-item-active': props.
|
|
5388
|
+
t-att-class="{'disabled': !isMenuEnabled, 'o-menu-item-active': menuItem.id === props.hoveredMenuId}"
|
|
4807
5389
|
t-att-style="getColor(menuItem)">
|
|
4808
5390
|
<div class="d-flex w-100">
|
|
4809
5391
|
<div
|
|
@@ -4812,24 +5394,20 @@
|
|
|
4812
5394
|
t-att-style="getIconColor(menuItem)">
|
|
4813
5395
|
<t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
|
|
4814
5396
|
</div>
|
|
4815
|
-
<div class="o-menu-item-name align-middle text-truncate" t-
|
|
5397
|
+
<div class="o-menu-item-name align-middle text-truncate" t-out="getName(menuItem)"/>
|
|
4816
5398
|
<t t-set="description" t-value="menuItem.description(env) or menuItem.shortcut"/>
|
|
4817
5399
|
<div
|
|
4818
5400
|
t-if="description"
|
|
4819
5401
|
class="o-menu-item-description ms-auto text-truncate"
|
|
4820
|
-
t-
|
|
5402
|
+
t-out="description"
|
|
4821
5403
|
/>
|
|
4822
5404
|
<t t-set="secondaryIcon" t-value="menuItem.secondaryIcon(env)"/>
|
|
4823
5405
|
<div
|
|
4824
|
-
t-if="isMenuRoot"
|
|
4825
|
-
class="o-menu-item-root ms-auto align-items-center d-flex"
|
|
4826
|
-
t-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
t-elif="secondaryIcon"
|
|
4830
|
-
class="o-menu-item-root ms-auto align-items-center d-flex"
|
|
4831
|
-
t-call="{{secondaryIcon}}"
|
|
4832
|
-
/>
|
|
5406
|
+
t-if="isMenuRoot || secondaryIcon"
|
|
5407
|
+
class="o-menu-item-root ms-auto align-items-center d-flex gap-1">
|
|
5408
|
+
<t t-if="secondaryIcon" t-call="{{secondaryIcon}}"/>
|
|
5409
|
+
<t t-if="isMenuRoot" t-call="o-spreadsheet-Icon.CARET_RIGHT"/>
|
|
5410
|
+
</div>
|
|
4833
5411
|
</div>
|
|
4834
5412
|
</div>
|
|
4835
5413
|
</t>
|
|
@@ -4839,10 +5417,11 @@
|
|
|
4839
5417
|
|
|
4840
5418
|
<t t-name="o-spreadsheet-LinkEditor">
|
|
4841
5419
|
<div
|
|
4842
|
-
class="o-link-editor
|
|
4843
|
-
t-on-
|
|
5420
|
+
class="o-link-editor rounded h-100"
|
|
5421
|
+
t-on-scroll.stop=""
|
|
5422
|
+
t-on-wheel.stop=""
|
|
4844
5423
|
t-on-keydown="onKeyDown">
|
|
4845
|
-
<div class="o-section">
|
|
5424
|
+
<div class="o-section mb-4 h-100">
|
|
4846
5425
|
<div class="o-section-title">Text</div>
|
|
4847
5426
|
<div class="d-flex">
|
|
4848
5427
|
<input
|
|
@@ -4850,20 +5429,25 @@
|
|
|
4850
5429
|
title="Link label"
|
|
4851
5430
|
placeholder="e.g. 'Link label'"
|
|
4852
5431
|
class="o-input"
|
|
4853
|
-
t-model="
|
|
5432
|
+
t-model="this.state.label"
|
|
4854
5433
|
/>
|
|
4855
5434
|
</div>
|
|
4856
5435
|
|
|
4857
5436
|
<div class="o-section-title mt-3">Link</div>
|
|
4858
|
-
<div
|
|
4859
|
-
|
|
5437
|
+
<div
|
|
5438
|
+
class="o-link-url"
|
|
5439
|
+
t-ref="urlInputContainer"
|
|
5440
|
+
tabindex="-1"
|
|
5441
|
+
t-on-keydown="this.onInputKeyDown">
|
|
5442
|
+
<t t-if="this.state.isUrlEditable">
|
|
4860
5443
|
<input
|
|
4861
5444
|
class="o-input"
|
|
4862
5445
|
type="text"
|
|
4863
5446
|
placeholder="e.g. 'http://www.odoo.com'"
|
|
4864
5447
|
title="Link URL"
|
|
4865
5448
|
t-ref="urlInput"
|
|
4866
|
-
t-model="
|
|
5449
|
+
t-model="this.state.url"
|
|
5450
|
+
t-on-input="this.computeLinks"
|
|
4867
5451
|
/>
|
|
4868
5452
|
</t>
|
|
4869
5453
|
<t t-else="">
|
|
@@ -4871,32 +5455,52 @@
|
|
|
4871
5455
|
type="text"
|
|
4872
5456
|
class="o-input"
|
|
4873
5457
|
title="Link URL"
|
|
4874
|
-
t-att-value="getUrlRepresentation(
|
|
5458
|
+
t-att-value="this.getUrlRepresentation(this.state)"
|
|
4875
5459
|
disabled="1"
|
|
4876
5460
|
/>
|
|
4877
5461
|
</t>
|
|
4878
|
-
<button t-if="link.url" t-on-click="removeLink" class="o-remove-url o-button-icon">
|
|
4879
|
-
✖
|
|
4880
|
-
</button>
|
|
4881
5462
|
<button
|
|
4882
|
-
t-if="
|
|
4883
|
-
t-on-click
|
|
4884
|
-
class="o-
|
|
4885
|
-
t-
|
|
4886
|
-
<
|
|
5463
|
+
t-if="this.state.url"
|
|
5464
|
+
t-on-click="this.removeLink"
|
|
5465
|
+
class="o-remove-url o-button-icon"
|
|
5466
|
+
t-translation="off">
|
|
5467
|
+
<i class="fa fa-times"/>
|
|
4887
5468
|
</button>
|
|
4888
5469
|
</div>
|
|
4889
5470
|
</div>
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
5471
|
+
|
|
5472
|
+
<div class="suggestions border rounded user-select-none" t-ref="suggestionList">
|
|
5473
|
+
<t t-foreach="this.state.linksByCategory" t-as="proposalCategory" t-key="proposalCategory">
|
|
5474
|
+
<t t-set="categoryTitle" t-value="proposalCategory"/>
|
|
5475
|
+
<t t-set="proposals" t-value="proposalCategory_value"/>
|
|
5476
|
+
<div class="o-section my-1">
|
|
5477
|
+
<div class="o-section-title ps-2" t-esc="categoryTitle"/>
|
|
5478
|
+
<div
|
|
5479
|
+
t-foreach="proposals"
|
|
5480
|
+
t-as="proposal"
|
|
5481
|
+
t-key="categoryTitle + proposal_index"
|
|
5482
|
+
t-att-data-index="proposal.index"
|
|
5483
|
+
class="suggestion-item ps-3 d-flex align-items-center justify-content-start"
|
|
5484
|
+
t-att-class="{ 'selected' : proposal.index === this.state.selectedIndex }"
|
|
5485
|
+
t-on-click="proposal.onSelect"
|
|
5486
|
+
t-on-dblclick="this.save">
|
|
5487
|
+
<span class="me-1" t-if="proposal.icon" t-call="{{proposal.icon}}"/>
|
|
5488
|
+
<span class="text-truncate" t-esc="proposal.text"/>
|
|
5489
|
+
</div>
|
|
5490
|
+
</div>
|
|
5491
|
+
</t>
|
|
5492
|
+
<div
|
|
5493
|
+
t-if="!this.state.linksList.length"
|
|
5494
|
+
class="o-filter-menu-no-values d-flex align-items-center justify-content-center w-100 h-100 text-muted fst-italic">
|
|
5495
|
+
No results
|
|
5496
|
+
</div>
|
|
5497
|
+
</div>
|
|
4897
5498
|
<div class="o-buttons">
|
|
4898
|
-
<button t-on-click="cancel" class="o-button o-cancel me-2">Discard</button>
|
|
4899
|
-
<button
|
|
5499
|
+
<button t-on-click="this.cancel" class="o-button o-cancel me-2">Discard</button>
|
|
5500
|
+
<button
|
|
5501
|
+
t-on-click="this.save"
|
|
5502
|
+
class="o-button primary o-save"
|
|
5503
|
+
t-att-disabled="!this.state.url">
|
|
4900
5504
|
Confirm
|
|
4901
5505
|
</button>
|
|
4902
5506
|
</div>
|
|
@@ -4904,7 +5508,7 @@
|
|
|
4904
5508
|
</t>
|
|
4905
5509
|
|
|
4906
5510
|
<t t-name="o-spreadsheet-LinkDisplay">
|
|
4907
|
-
<div class="o-link-tool d-flex align-items-center
|
|
5511
|
+
<div class="o-link-tool d-flex align-items-center rounded">
|
|
4908
5512
|
<!-- t-key to prevent owl from re-using the previous img element when the link changes.
|
|
4909
5513
|
The wrong/previous image would be displayed while the new one loads -->
|
|
4910
5514
|
<img
|
|
@@ -4919,7 +5523,7 @@
|
|
|
4919
5523
|
target="_blank"
|
|
4920
5524
|
t-on-click.prevent="openLink"
|
|
4921
5525
|
t-att-title="link.url">
|
|
4922
|
-
<t t-
|
|
5526
|
+
<t t-out="getUrlRepresentation(link)"/>
|
|
4923
5527
|
</a>
|
|
4924
5528
|
<a
|
|
4925
5529
|
t-else=""
|
|
@@ -4927,7 +5531,7 @@
|
|
|
4927
5531
|
t-on-click.prevent="openLink"
|
|
4928
5532
|
t-on-auxclick.prevent="openLink"
|
|
4929
5533
|
t-att-title="getUrlRepresentation(link)">
|
|
4930
|
-
<t t-
|
|
5534
|
+
<t t-out="getUrlRepresentation(link)"/>
|
|
4931
5535
|
</a>
|
|
4932
5536
|
<span
|
|
4933
5537
|
t-if="!env.model.getters.isReadonly()"
|
|
@@ -4947,7 +5551,7 @@
|
|
|
4947
5551
|
</t>
|
|
4948
5552
|
|
|
4949
5553
|
<t t-name="o-spreadsheet-Icon.CLEAR_AND_RELOAD">
|
|
4950
|
-
<svg class="o-icon">
|
|
5554
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4951
5555
|
<path
|
|
4952
5556
|
fill="currentColor"
|
|
4953
5557
|
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
|
|
@@ -4956,7 +5560,7 @@
|
|
|
4956
5560
|
</svg>
|
|
4957
5561
|
</t>
|
|
4958
5562
|
<t t-name="o-spreadsheet-Icon.EXPORT_XLSX">
|
|
4959
|
-
<svg class="o-icon">
|
|
5563
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4960
5564
|
<path
|
|
4961
5565
|
fill="currentColor"
|
|
4962
5566
|
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"
|
|
@@ -4964,7 +5568,7 @@
|
|
|
4964
5568
|
</svg>
|
|
4965
5569
|
</t>
|
|
4966
5570
|
<t t-name="o-spreadsheet-Icon.OPEN_READ_ONLY">
|
|
4967
|
-
<svg class="o-icon">
|
|
5571
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4968
5572
|
<path
|
|
4969
5573
|
fill="currentColor"
|
|
4970
5574
|
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"
|
|
@@ -4972,7 +5576,7 @@
|
|
|
4972
5576
|
</svg>
|
|
4973
5577
|
</t>
|
|
4974
5578
|
<t t-name="o-spreadsheet-Icon.OPEN_DASHBOARD">
|
|
4975
|
-
<svg class="o-icon">
|
|
5579
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4976
5580
|
<path
|
|
4977
5581
|
fill="currentColor"
|
|
4978
5582
|
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"
|
|
@@ -4980,7 +5584,7 @@
|
|
|
4980
5584
|
</svg>
|
|
4981
5585
|
</t>
|
|
4982
5586
|
<t t-name="o-spreadsheet-Icon.OPEN_READ_WRITE">
|
|
4983
|
-
<svg class="o-icon">
|
|
5587
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4984
5588
|
<path
|
|
4985
5589
|
fill="currentColor"
|
|
4986
5590
|
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"
|
|
@@ -4988,7 +5592,7 @@
|
|
|
4988
5592
|
</svg>
|
|
4989
5593
|
</t>
|
|
4990
5594
|
<t t-name="o-spreadsheet-Icon.IMPORT_XLSX">
|
|
4991
|
-
<svg class="o-icon">
|
|
5595
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
4992
5596
|
<path
|
|
4993
5597
|
fill="currentColor"
|
|
4994
5598
|
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"
|
|
@@ -4996,7 +5600,7 @@
|
|
|
4996
5600
|
</svg>
|
|
4997
5601
|
</t>
|
|
4998
5602
|
<t t-name="o-spreadsheet-Icon.UNDO">
|
|
4999
|
-
<svg class="o-icon">
|
|
5603
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5000
5604
|
<path
|
|
5001
5605
|
fill="currentColor"
|
|
5002
5606
|
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"
|
|
@@ -5004,7 +5608,7 @@
|
|
|
5004
5608
|
</svg>
|
|
5005
5609
|
</t>
|
|
5006
5610
|
<t t-name="o-spreadsheet-Icon.REDO">
|
|
5007
|
-
<svg class="o-icon">
|
|
5611
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5008
5612
|
<path
|
|
5009
5613
|
fill="currentColor"
|
|
5010
5614
|
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"
|
|
@@ -5022,7 +5626,7 @@
|
|
|
5022
5626
|
</div>
|
|
5023
5627
|
</t>
|
|
5024
5628
|
<t t-name="o-spreadsheet-Icon.CUT">
|
|
5025
|
-
<svg class="o-icon">
|
|
5629
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5026
5630
|
<path
|
|
5027
5631
|
fill="currentColor"
|
|
5028
5632
|
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"
|
|
@@ -5030,7 +5634,7 @@
|
|
|
5030
5634
|
</svg>
|
|
5031
5635
|
</t>
|
|
5032
5636
|
<t t-name="o-spreadsheet-Icon.COPY_AS_IMAGE">
|
|
5033
|
-
<svg class="o-icon">
|
|
5637
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5034
5638
|
<path
|
|
5035
5639
|
fill="currentColor"
|
|
5036
5640
|
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"
|
|
@@ -5043,7 +5647,7 @@
|
|
|
5043
5647
|
</svg>
|
|
5044
5648
|
</t>
|
|
5045
5649
|
<t t-name="o-spreadsheet-Icon.PASTE">
|
|
5046
|
-
<svg class="o-icon">
|
|
5650
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5047
5651
|
<path
|
|
5048
5652
|
fill="currentColor"
|
|
5049
5653
|
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"
|
|
@@ -5051,7 +5655,7 @@
|
|
|
5051
5655
|
</svg>
|
|
5052
5656
|
</t>
|
|
5053
5657
|
<t t-name="o-spreadsheet-Icon.CLEAR">
|
|
5054
|
-
<svg class="o-icon">
|
|
5658
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5055
5659
|
<path
|
|
5056
5660
|
fill="currentColor"
|
|
5057
5661
|
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"
|
|
@@ -5059,7 +5663,7 @@
|
|
|
5059
5663
|
</svg>
|
|
5060
5664
|
</t>
|
|
5061
5665
|
<t t-name="o-spreadsheet-Icon.FREEZE">
|
|
5062
|
-
<svg class="o-icon">
|
|
5666
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5063
5667
|
<path
|
|
5064
5668
|
fill="currentColor"
|
|
5065
5669
|
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"
|
|
@@ -5067,7 +5671,7 @@
|
|
|
5067
5671
|
</svg>
|
|
5068
5672
|
</t>
|
|
5069
5673
|
<t t-name="o-spreadsheet-Icon.UNFREEZE">
|
|
5070
|
-
<svg class="o-icon">
|
|
5674
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5071
5675
|
<path
|
|
5072
5676
|
fill="currentColor"
|
|
5073
5677
|
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"
|
|
@@ -5080,7 +5684,7 @@
|
|
|
5080
5684
|
</div>
|
|
5081
5685
|
</t>
|
|
5082
5686
|
<t t-name="o-spreadsheet-Icon.FORMULA">
|
|
5083
|
-
<svg class="o-icon">
|
|
5687
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5084
5688
|
<path
|
|
5085
5689
|
fill="currentColor"
|
|
5086
5690
|
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"
|
|
@@ -5088,7 +5692,7 @@
|
|
|
5088
5692
|
</svg>
|
|
5089
5693
|
</t>
|
|
5090
5694
|
<t t-name="o-spreadsheet-Icon.HIDE_ROW">
|
|
5091
|
-
<svg class="o-icon">
|
|
5695
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5092
5696
|
<path
|
|
5093
5697
|
fill="currentColor"
|
|
5094
5698
|
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"
|
|
@@ -5096,7 +5700,7 @@
|
|
|
5096
5700
|
</svg>
|
|
5097
5701
|
</t>
|
|
5098
5702
|
<t t-name="o-spreadsheet-Icon.UNHIDE_ROW">
|
|
5099
|
-
<svg class="o-icon">
|
|
5703
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5100
5704
|
<path
|
|
5101
5705
|
fill="currentColor"
|
|
5102
5706
|
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"
|
|
@@ -5104,7 +5708,7 @@
|
|
|
5104
5708
|
</svg>
|
|
5105
5709
|
</t>
|
|
5106
5710
|
<t t-name="o-spreadsheet-Icon.HIDE_COL">
|
|
5107
|
-
<svg class="o-icon">
|
|
5711
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5108
5712
|
<path
|
|
5109
5713
|
fill="currentColor"
|
|
5110
5714
|
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"
|
|
@@ -5112,7 +5716,7 @@
|
|
|
5112
5716
|
</svg>
|
|
5113
5717
|
</t>
|
|
5114
5718
|
<t t-name="o-spreadsheet-Icon.UNHIDE_COL">
|
|
5115
|
-
<svg class="o-icon">
|
|
5719
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5116
5720
|
<path
|
|
5117
5721
|
fill="currentColor"
|
|
5118
5722
|
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"
|
|
@@ -5120,7 +5724,7 @@
|
|
|
5120
5724
|
</svg>
|
|
5121
5725
|
</t>
|
|
5122
5726
|
<t t-name="o-spreadsheet-Icon.INSERT_ROW">
|
|
5123
|
-
<svg class="o-icon">
|
|
5727
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5124
5728
|
<path
|
|
5125
5729
|
fill="currentColor"
|
|
5126
5730
|
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"
|
|
@@ -5128,7 +5732,7 @@
|
|
|
5128
5732
|
</svg>
|
|
5129
5733
|
</t>
|
|
5130
5734
|
<t t-name="o-spreadsheet-Icon.INSERT_ROW_BEFORE">
|
|
5131
|
-
<svg class="o-icon">
|
|
5735
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5132
5736
|
<path
|
|
5133
5737
|
fill="currentColor"
|
|
5134
5738
|
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"
|
|
@@ -5136,7 +5740,7 @@
|
|
|
5136
5740
|
</svg>
|
|
5137
5741
|
</t>
|
|
5138
5742
|
<t t-name="o-spreadsheet-Icon.INSERT_ROW_AFTER">
|
|
5139
|
-
<svg class="o-icon">
|
|
5743
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5140
5744
|
<path
|
|
5141
5745
|
fill="currentColor"
|
|
5142
5746
|
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"
|
|
@@ -5144,7 +5748,7 @@
|
|
|
5144
5748
|
</svg>
|
|
5145
5749
|
</t>
|
|
5146
5750
|
<t t-name="o-spreadsheet-Icon.INSERT_COL">
|
|
5147
|
-
<svg class="o-icon">
|
|
5751
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5148
5752
|
<path
|
|
5149
5753
|
fill="currentColor"
|
|
5150
5754
|
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"
|
|
@@ -5152,7 +5756,7 @@
|
|
|
5152
5756
|
</svg>
|
|
5153
5757
|
</t>
|
|
5154
5758
|
<t t-name="o-spreadsheet-Icon.INSERT_COL_AFTER">
|
|
5155
|
-
<svg class="o-icon">
|
|
5759
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5156
5760
|
<path
|
|
5157
5761
|
fill="currentColor"
|
|
5158
5762
|
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"
|
|
@@ -5160,7 +5764,7 @@
|
|
|
5160
5764
|
</svg>
|
|
5161
5765
|
</t>
|
|
5162
5766
|
<t t-name="o-spreadsheet-Icon.INSERT_COL_BEFORE">
|
|
5163
|
-
<svg class="o-icon">
|
|
5767
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5164
5768
|
<path
|
|
5165
5769
|
fill="currentColor"
|
|
5166
5770
|
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"
|
|
@@ -5168,7 +5772,7 @@
|
|
|
5168
5772
|
</svg>
|
|
5169
5773
|
</t>
|
|
5170
5774
|
<t t-name="o-spreadsheet-Icon.INSERT_CELL">
|
|
5171
|
-
<svg class="o-icon">
|
|
5775
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5172
5776
|
<path
|
|
5173
5777
|
fill="currentColor"
|
|
5174
5778
|
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"
|
|
@@ -5176,7 +5780,7 @@
|
|
|
5176
5780
|
</svg>
|
|
5177
5781
|
</t>
|
|
5178
5782
|
<t t-name="o-spreadsheet-Icon.INSERT_CELL_SHIFT_DOWN">
|
|
5179
|
-
<svg class="o-icon">
|
|
5783
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5180
5784
|
<path
|
|
5181
5785
|
fill="currentColor"
|
|
5182
5786
|
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"
|
|
@@ -5184,7 +5788,7 @@
|
|
|
5184
5788
|
</svg>
|
|
5185
5789
|
</t>
|
|
5186
5790
|
<t t-name="o-spreadsheet-Icon.INSERT_CELL_SHIFT_RIGHT">
|
|
5187
|
-
<svg class="o-icon">
|
|
5791
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5188
5792
|
<path
|
|
5189
5793
|
fill="currentColor"
|
|
5190
5794
|
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"
|
|
@@ -5192,7 +5796,7 @@
|
|
|
5192
5796
|
</svg>
|
|
5193
5797
|
</t>
|
|
5194
5798
|
<t t-name="o-spreadsheet-Icon.DELETE_CELL_SHIFT_UP">
|
|
5195
|
-
<svg class="o-icon">
|
|
5799
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5196
5800
|
<path
|
|
5197
5801
|
fill="currentColor"
|
|
5198
5802
|
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"
|
|
@@ -5200,7 +5804,7 @@
|
|
|
5200
5804
|
</svg>
|
|
5201
5805
|
</t>
|
|
5202
5806
|
<t t-name="o-spreadsheet-Icon.DELETE_CELL_SHIFT_LEFT">
|
|
5203
|
-
<svg class="o-icon">
|
|
5807
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5204
5808
|
<path
|
|
5205
5809
|
fill="currentColor"
|
|
5206
5810
|
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"
|
|
@@ -5228,7 +5832,7 @@
|
|
|
5228
5832
|
</div>
|
|
5229
5833
|
</t>
|
|
5230
5834
|
<t t-name="o-spreadsheet-Icon.INSERT_DROPDOWN">
|
|
5231
|
-
<svg class="o-icon">
|
|
5835
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5232
5836
|
<path
|
|
5233
5837
|
fill="currentColor"
|
|
5234
5838
|
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"
|
|
@@ -5236,14 +5840,14 @@
|
|
|
5236
5840
|
</svg>
|
|
5237
5841
|
</t>
|
|
5238
5842
|
<t t-name="o-spreadsheet-Icon.INSERT_SHEET">
|
|
5239
|
-
<svg class="o-icon" fill="currentColor">
|
|
5843
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5240
5844
|
<path
|
|
5241
5845
|
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"
|
|
5242
5846
|
/>
|
|
5243
5847
|
</svg>
|
|
5244
5848
|
</t>
|
|
5245
5849
|
<t t-name="o-spreadsheet-Icon.PAINT_FORMAT">
|
|
5246
|
-
<svg class="o-icon">
|
|
5850
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5247
5851
|
<path
|
|
5248
5852
|
fill="currentColor"
|
|
5249
5853
|
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"
|
|
@@ -5252,7 +5856,7 @@
|
|
|
5252
5856
|
</svg>
|
|
5253
5857
|
</t>
|
|
5254
5858
|
<t t-name="o-spreadsheet-Icon.CONDITIONAL_FORMAT">
|
|
5255
|
-
<svg class="o-icon">
|
|
5859
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5256
5860
|
<path
|
|
5257
5861
|
fill="currentColor"
|
|
5258
5862
|
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"
|
|
@@ -5260,7 +5864,7 @@
|
|
|
5260
5864
|
</svg>
|
|
5261
5865
|
</t>
|
|
5262
5866
|
<t t-name="o-spreadsheet-Icon.CLEAR_FORMAT">
|
|
5263
|
-
<svg class="o-icon">
|
|
5867
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5264
5868
|
<path
|
|
5265
5869
|
fill="currentColor"
|
|
5266
5870
|
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"
|
|
@@ -5268,7 +5872,7 @@
|
|
|
5268
5872
|
</svg>
|
|
5269
5873
|
</t>
|
|
5270
5874
|
<t t-name="o-spreadsheet-Icon.BOLD">
|
|
5271
|
-
<svg class="o-icon">
|
|
5875
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5272
5876
|
<path
|
|
5273
5877
|
fill="currentColor"
|
|
5274
5878
|
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"
|
|
@@ -5276,12 +5880,12 @@
|
|
|
5276
5880
|
</svg>
|
|
5277
5881
|
</t>
|
|
5278
5882
|
<t t-name="o-spreadsheet-Icon.ITALIC">
|
|
5279
|
-
<svg class="o-icon">
|
|
5883
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5280
5884
|
<path fill="currentColor" d="M7 3v2h2.58l-3.66 8H3v2h8v-2H8.42l3.66-8H15V3"/>
|
|
5281
5885
|
</svg>
|
|
5282
5886
|
</t>
|
|
5283
5887
|
<t t-name="o-spreadsheet-Icon.UNDERLINE">
|
|
5284
|
-
<svg class="o-icon">
|
|
5888
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5285
5889
|
<path
|
|
5286
5890
|
fill="currentColor"
|
|
5287
5891
|
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"
|
|
@@ -5289,7 +5893,7 @@
|
|
|
5289
5893
|
</svg>
|
|
5290
5894
|
</t>
|
|
5291
5895
|
<t t-name="o-spreadsheet-Icon.STRIKE">
|
|
5292
|
-
<svg class="o-icon">
|
|
5896
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5293
5897
|
<path
|
|
5294
5898
|
fill="currentColor"
|
|
5295
5899
|
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"
|
|
@@ -5297,7 +5901,7 @@
|
|
|
5297
5901
|
</svg>
|
|
5298
5902
|
</t>
|
|
5299
5903
|
<t t-name="o-spreadsheet-Icon.TEXT_COLOR">
|
|
5300
|
-
<svg class="o-icon">
|
|
5904
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5301
5905
|
<path
|
|
5302
5906
|
fill="currentColor"
|
|
5303
5907
|
d="M10 1H8L3.5 13h2l1.12-3h4.75l1.12 3h2L10 1ZM7.38 8 9 3.67 10.62 8H7.38"
|
|
@@ -5305,7 +5909,7 @@
|
|
|
5305
5909
|
</svg>
|
|
5306
5910
|
</t>
|
|
5307
5911
|
<t t-name="o-spreadsheet-Icon.FILL_COLOR">
|
|
5308
|
-
<svg class="o-icon">
|
|
5912
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5309
5913
|
<path
|
|
5310
5914
|
fill="currentColor"
|
|
5311
5915
|
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"
|
|
@@ -5313,7 +5917,7 @@
|
|
|
5313
5917
|
</svg>
|
|
5314
5918
|
</t>
|
|
5315
5919
|
<t t-name="o-spreadsheet-Icon.MERGE_CELL">
|
|
5316
|
-
<svg class="o-icon">
|
|
5920
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5317
5921
|
<path
|
|
5318
5922
|
fill="currentColor"
|
|
5319
5923
|
d="M3 6H1V2h7v2H3v2m7-2V2h7v4h-2V4h-5m0 10h5v-2h2v4h-7v-2m-9-2h2v2h5v2H1v-4m0-4h4V6l3 3-3 3v-2H1V8m9 1 3-3v2h4v2h-4v2l-3-3"
|
|
@@ -5321,12 +5925,12 @@
|
|
|
5321
5925
|
</svg>
|
|
5322
5926
|
</t>
|
|
5323
5927
|
<t t-name="o-spreadsheet-Icon.ALIGN_LEFT">
|
|
5324
|
-
<svg class="o-icon align-left">
|
|
5928
|
+
<svg class="o-icon align-left" viewBox="0 0 18 18">
|
|
5325
5929
|
<path fill="currentColor" d="M2 16h10v-2H2v2M12 6H2v2h10V6M2 2v2h14V2H2m0 10h14v-2H2v2"/>
|
|
5326
5930
|
</svg>
|
|
5327
5931
|
</t>
|
|
5328
5932
|
<t t-name="o-spreadsheet-Icon.ALIGN_CENTER">
|
|
5329
|
-
<svg class="o-icon align-center">
|
|
5933
|
+
<svg class="o-icon align-center" viewBox="0 0 18 18">
|
|
5330
5934
|
<path fill="currentColor" d="M4 14v2h10v-2H4m0-8v2h10V6H4m-2 6h14v-2H2v2M2 2v2h14V2H2"/>
|
|
5331
5935
|
</svg>
|
|
5332
5936
|
</t>
|
|
@@ -5336,17 +5940,17 @@
|
|
|
5336
5940
|
</div>
|
|
5337
5941
|
</t>
|
|
5338
5942
|
<t t-name="o-spreadsheet-Icon.ALIGN_RIGHT">
|
|
5339
|
-
<svg class="o-icon align-right">
|
|
5943
|
+
<svg class="o-icon align-right" viewBox="0 0 18 18">
|
|
5340
5944
|
<path fill="currentColor" d="M6 16h10v-2H6v2m-4-4h14v-2H2v2M2 2v2h14V2H2m4 6h10V6H6v2"/>
|
|
5341
5945
|
</svg>
|
|
5342
5946
|
</t>
|
|
5343
5947
|
<t t-name="o-spreadsheet-Icon.ALIGN_TOP">
|
|
5344
|
-
<svg class="o-icon align-top">
|
|
5948
|
+
<svg class="o-icon align-top" viewBox="0 0 18 18">
|
|
5345
5949
|
<path d="M3 2h12v2H3m2.5 5H8v7h2V9h2.5L9 5.5" fill="currentColor"/>
|
|
5346
5950
|
</svg>
|
|
5347
5951
|
</t>
|
|
5348
5952
|
<t t-name="o-spreadsheet-Icon.ALIGN_MIDDLE">
|
|
5349
|
-
<svg class="o-icon align-middle">
|
|
5953
|
+
<svg class="o-icon align-middle" viewBox="0 0 18 18">
|
|
5350
5954
|
<path
|
|
5351
5955
|
d="M12.5 3H10V0H8v3H5.5L9 6.5M5.5 15H8v3h2v-3h2.5L9 11.5M3 8v2h12V8"
|
|
5352
5956
|
fill="currentColor"
|
|
@@ -5354,17 +5958,17 @@
|
|
|
5354
5958
|
</svg>
|
|
5355
5959
|
</t>
|
|
5356
5960
|
<t t-name="o-spreadsheet-Icon.ALIGN_BOTTOM">
|
|
5357
|
-
<svg class="o-icon align-bottom">
|
|
5961
|
+
<svg class="o-icon align-bottom" viewBox="0 0 18 18">
|
|
5358
5962
|
<path d="M5.5 9H8V2h2v7h2.5L9 12.5M3 14v2h12v-2" fill="currentColor"/>
|
|
5359
5963
|
</svg>
|
|
5360
5964
|
</t>
|
|
5361
5965
|
<t t-name="o-spreadsheet-Icon.WRAPPING_OVERFLOW">
|
|
5362
|
-
<svg class="o-icon wrapping-overflow">
|
|
5966
|
+
<svg class="o-icon wrapping-overflow" viewBox="0 0 18 18">
|
|
5363
5967
|
<path d="M13 8H6v2h7v2l3-3-3-3M2 2h2v14H2M9 2h2v4H9m0 6h2v4H9" fill="currentColor"/>
|
|
5364
5968
|
</svg>
|
|
5365
5969
|
</t>
|
|
5366
5970
|
<t t-name="o-spreadsheet-Icon.WRAPPING_WRAP">
|
|
5367
|
-
<svg class="o-icon wrapping-wrap">
|
|
5971
|
+
<svg class="o-icon wrapping-wrap" viewBox="0 0 18 18">
|
|
5368
5972
|
<path
|
|
5369
5973
|
fill="currentColor"
|
|
5370
5974
|
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"
|
|
@@ -5372,12 +5976,12 @@
|
|
|
5372
5976
|
</svg>
|
|
5373
5977
|
</t>
|
|
5374
5978
|
<t t-name="o-spreadsheet-Icon.WRAPPING_CLIP">
|
|
5375
|
-
<svg class="o-icon wrapping-clip">
|
|
5979
|
+
<svg class="o-icon wrapping-clip" viewBox="0 0 18 18">
|
|
5376
5980
|
<path fill="currentColor" d="M2 2h2v14H2M14 2h2v14h-2v-6H6V8h8"/>
|
|
5377
5981
|
</svg>
|
|
5378
5982
|
</t>
|
|
5379
5983
|
<t t-name="o-spreadsheet-Icon.BORDERS">
|
|
5380
|
-
<svg class="o-icon">
|
|
5984
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5381
5985
|
<path
|
|
5382
5986
|
fill="currentColor"
|
|
5383
5987
|
d="M2 2v14h14V2H2m6 12H4v-4h4v4m0-6H4V4h4v4m6 6h-4v-4h4v4m0-6h-4V4h4v4"
|
|
@@ -5385,7 +5989,7 @@
|
|
|
5385
5989
|
</svg>
|
|
5386
5990
|
</t>
|
|
5387
5991
|
<t t-name="o-spreadsheet-Icon.BORDER_HV">
|
|
5388
|
-
<svg class="o-icon" fill="currentColor">
|
|
5992
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5389
5993
|
<path
|
|
5390
5994
|
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"
|
|
5391
5995
|
opacity=".54"
|
|
@@ -5394,7 +5998,7 @@
|
|
|
5394
5998
|
</svg>
|
|
5395
5999
|
</t>
|
|
5396
6000
|
<t t-name="o-spreadsheet-Icon.BORDER_H">
|
|
5397
|
-
<svg class="o-icon" fill="currentColor">
|
|
6001
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5398
6002
|
<path
|
|
5399
6003
|
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"
|
|
5400
6004
|
opacity=".54"
|
|
@@ -5403,7 +6007,7 @@
|
|
|
5403
6007
|
</svg>
|
|
5404
6008
|
</t>
|
|
5405
6009
|
<t t-name="o-spreadsheet-Icon.BORDER_V">
|
|
5406
|
-
<svg class="o-icon" fill="currentColor">
|
|
6010
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5407
6011
|
<path
|
|
5408
6012
|
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"
|
|
5409
6013
|
opacity=".54"
|
|
@@ -5412,13 +6016,13 @@
|
|
|
5412
6016
|
</svg>
|
|
5413
6017
|
</t>
|
|
5414
6018
|
<t t-name="o-spreadsheet-Icon.BORDER_EXTERNAL">
|
|
5415
|
-
<svg class="o-icon" fill="currentColor">
|
|
6019
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5416
6020
|
<path d="M10 5H8v2h2V5m3 3h-2v2h2V8m-3 0H8v2h2V8m0 3H8v2h2v-2M7 8H5v2h2V8" opacity=".54"/>
|
|
5417
6021
|
<path d="M2 2h14v14H2V2m12 12V4H4v10h10"/>
|
|
5418
6022
|
</svg>
|
|
5419
6023
|
</t>
|
|
5420
6024
|
<t t-name="o-spreadsheet-Icon.BORDER_LEFT">
|
|
5421
|
-
<svg class="o-icon" fill="currentColor">
|
|
6025
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5422
6026
|
<path
|
|
5423
6027
|
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"
|
|
5424
6028
|
opacity=".54"
|
|
@@ -5427,7 +6031,7 @@
|
|
|
5427
6031
|
</svg>
|
|
5428
6032
|
</t>
|
|
5429
6033
|
<t t-name="o-spreadsheet-Icon.BORDER_TOP">
|
|
5430
|
-
<svg class="o-icon" fill="currentColor">
|
|
6034
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5431
6035
|
<path
|
|
5432
6036
|
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"
|
|
5433
6037
|
opacity=".54"
|
|
@@ -5436,7 +6040,7 @@
|
|
|
5436
6040
|
</svg>
|
|
5437
6041
|
</t>
|
|
5438
6042
|
<t t-name="o-spreadsheet-Icon.BORDER_RIGHT">
|
|
5439
|
-
<svg class="o-icon" fill="currentColor">
|
|
6043
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5440
6044
|
<path
|
|
5441
6045
|
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"
|
|
5442
6046
|
opacity=".54"
|
|
@@ -5445,7 +6049,7 @@
|
|
|
5445
6049
|
</svg>
|
|
5446
6050
|
</t>
|
|
5447
6051
|
<t t-name="o-spreadsheet-Icon.BORDER_BOTTOM">
|
|
5448
|
-
<svg class="o-icon" fill="currentColor">
|
|
6052
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5449
6053
|
<path
|
|
5450
6054
|
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"
|
|
5451
6055
|
opacity=".54"
|
|
@@ -5454,7 +6058,7 @@
|
|
|
5454
6058
|
</svg>
|
|
5455
6059
|
</t>
|
|
5456
6060
|
<t t-name="o-spreadsheet-Icon.BORDER_CLEAR">
|
|
5457
|
-
<svg class="o-icon">
|
|
6061
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5458
6062
|
<path
|
|
5459
6063
|
fill="currentColor"
|
|
5460
6064
|
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"
|
|
@@ -5463,7 +6067,7 @@
|
|
|
5463
6067
|
</svg>
|
|
5464
6068
|
</t>
|
|
5465
6069
|
<t t-name="o-spreadsheet-Icon.BORDER_TYPE">
|
|
5466
|
-
<svg class="o-icon">
|
|
6070
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5467
6071
|
<g fill="currentColor" transform="translate(2 2)">
|
|
5468
6072
|
<polygon points="0 0 0 2 14 2 14 0"/>
|
|
5469
6073
|
<polygon points="0 6 0 8 5 8 5 6"/>
|
|
@@ -5476,7 +6080,7 @@
|
|
|
5476
6080
|
</svg>
|
|
5477
6081
|
</t>
|
|
5478
6082
|
<t t-name="o-spreadsheet-Icon.BORDER_COLOR">
|
|
5479
|
-
<svg class="o-icon">
|
|
6083
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5480
6084
|
<g fill="currentColor" transform="translate(4 2)">
|
|
5481
6085
|
<polygon points="0 12 0 9 7 2 10 5 3 12"/>
|
|
5482
6086
|
<polygon points="8 1 9 0 12 3 11 4"/>
|
|
@@ -5484,7 +6088,7 @@
|
|
|
5484
6088
|
</svg>
|
|
5485
6089
|
</t>
|
|
5486
6090
|
<t t-name="o-spreadsheet-Icon.BORDER_NO_COLOR">
|
|
5487
|
-
<svg class="o-icon">
|
|
6091
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5488
6092
|
<g fill="currentColor">
|
|
5489
6093
|
<polygon points="4 12 4 9 11 2 14 5 7 12"/>
|
|
5490
6094
|
<polygon points="12 1 13 0 16 3 15 4"/>
|
|
@@ -5659,7 +6263,7 @@
|
|
|
5659
6263
|
</svg>
|
|
5660
6264
|
</t>
|
|
5661
6265
|
<t t-name="o-spreadsheet-Icon.SORT_RANGE">
|
|
5662
|
-
<svg class="o-icon">
|
|
6266
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5663
6267
|
<path
|
|
5664
6268
|
fill="currentColor"
|
|
5665
6269
|
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"
|
|
@@ -5722,14 +6326,14 @@
|
|
|
5722
6326
|
<span class="o-text-icon">.00</span>
|
|
5723
6327
|
</t>
|
|
5724
6328
|
<t t-name="o-spreadsheet-Icon.NUMBER_FORMATS">
|
|
5725
|
-
<svg class="o-icon" fill="currentColor">
|
|
6329
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5726
6330
|
<path
|
|
5727
6331
|
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"
|
|
5728
6332
|
/>
|
|
5729
6333
|
</svg>
|
|
5730
6334
|
</t>
|
|
5731
6335
|
<t t-name="o-spreadsheet-Icon.FONT_SIZE">
|
|
5732
|
-
<svg class="o-icon" fill="currentColor">
|
|
6336
|
+
<svg class="o-icon" fill="currentColor" viewBox="0 0 18 18">
|
|
5733
6337
|
<text x="2" y="15" class="small-text">A</text>
|
|
5734
6338
|
<text x="6" y="15" class="heavy-text">A</text>
|
|
5735
6339
|
</svg>
|
|
@@ -5740,7 +6344,7 @@
|
|
|
5740
6344
|
</div>
|
|
5741
6345
|
</t>
|
|
5742
6346
|
<t t-name="o-spreadsheet-Icon.SPLIT_TEXT">
|
|
5743
|
-
<svg class="o-icon">
|
|
6347
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5744
6348
|
<path
|
|
5745
6349
|
fill="currentColor"
|
|
5746
6350
|
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"
|
|
@@ -5753,7 +6357,7 @@
|
|
|
5753
6357
|
</div>
|
|
5754
6358
|
</t>
|
|
5755
6359
|
<t t-name="o-spreadsheet-Icon.DISPLAY_HEADER">
|
|
5756
|
-
<svg class="o-icon"
|
|
6360
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5757
6361
|
<path
|
|
5758
6362
|
fill="currentColor"
|
|
5759
6363
|
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"
|
|
@@ -5771,7 +6375,7 @@
|
|
|
5771
6375
|
</svg>
|
|
5772
6376
|
</t>
|
|
5773
6377
|
<t t-name="o-spreadsheet-Icon.PLUS_IN_BOX">
|
|
5774
|
-
<svg class="o-icon"
|
|
6378
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5775
6379
|
<path
|
|
5776
6380
|
fill="currentColor"
|
|
5777
6381
|
d="
|
|
@@ -5783,7 +6387,7 @@
|
|
|
5783
6387
|
</svg>
|
|
5784
6388
|
</t>
|
|
5785
6389
|
<t t-name="o-spreadsheet-Icon.MINUS_IN_BOX">
|
|
5786
|
-
<svg class="o-icon"
|
|
6390
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5787
6391
|
<path
|
|
5788
6392
|
fill="currentColor"
|
|
5789
6393
|
d="
|
|
@@ -5794,7 +6398,7 @@
|
|
|
5794
6398
|
</svg>
|
|
5795
6399
|
</t>
|
|
5796
6400
|
<t t-name="o-spreadsheet-Icon.GROUP_ROWS">
|
|
5797
|
-
<svg class="o-icon"
|
|
6401
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5798
6402
|
<path
|
|
5799
6403
|
fill="currentColor"
|
|
5800
6404
|
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"
|
|
@@ -5802,7 +6406,7 @@
|
|
|
5802
6406
|
</svg>
|
|
5803
6407
|
</t>
|
|
5804
6408
|
<t t-name="o-spreadsheet-Icon.UNGROUP_ROWS">
|
|
5805
|
-
<svg class="o-icon"
|
|
6409
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5806
6410
|
<path
|
|
5807
6411
|
fill="currentColor"
|
|
5808
6412
|
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"
|
|
@@ -5810,7 +6414,7 @@
|
|
|
5810
6414
|
</svg>
|
|
5811
6415
|
</t>
|
|
5812
6416
|
<t t-name="o-spreadsheet-Icon.GROUP_COLUMNS">
|
|
5813
|
-
<svg class="o-icon"
|
|
6417
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5814
6418
|
<path
|
|
5815
6419
|
fill="currentColor"
|
|
5816
6420
|
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"
|
|
@@ -5818,7 +6422,7 @@
|
|
|
5818
6422
|
</svg>
|
|
5819
6423
|
</t>
|
|
5820
6424
|
<t t-name="o-spreadsheet-Icon.UNGROUP_COLUMNS">
|
|
5821
|
-
<svg class="o-icon"
|
|
6425
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5822
6426
|
<path
|
|
5823
6427
|
fill="currentColor"
|
|
5824
6428
|
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"
|
|
@@ -5826,7 +6430,7 @@
|
|
|
5826
6430
|
</svg>
|
|
5827
6431
|
</t>
|
|
5828
6432
|
<t t-name="o-spreadsheet-Icon.DATA_VALIDATION">
|
|
5829
|
-
<svg class="o-icon">
|
|
6433
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5830
6434
|
<path
|
|
5831
6435
|
fill="currentColor"
|
|
5832
6436
|
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"
|
|
@@ -5854,7 +6458,7 @@
|
|
|
5854
6458
|
</svg>
|
|
5855
6459
|
</t>
|
|
5856
6460
|
<t t-name="o-spreadsheet-Icon.EDIT_TABLE">
|
|
5857
|
-
<svg class="o-icon"
|
|
6461
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5858
6462
|
<path
|
|
5859
6463
|
fill="currentColor"
|
|
5860
6464
|
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"
|
|
@@ -5862,7 +6466,7 @@
|
|
|
5862
6466
|
</svg>
|
|
5863
6467
|
</t>
|
|
5864
6468
|
<t t-name="o-spreadsheet-Icon.DELETE_TABLE">
|
|
5865
|
-
<svg class="o-icon"
|
|
6469
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5866
6470
|
<path
|
|
5867
6471
|
fill="currentColor"
|
|
5868
6472
|
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"
|
|
@@ -5870,7 +6474,7 @@
|
|
|
5870
6474
|
</svg>
|
|
5871
6475
|
</t>
|
|
5872
6476
|
<t t-name="o-spreadsheet-Icon.PAINT_TABLE">
|
|
5873
|
-
<svg class="o-icon"
|
|
6477
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5874
6478
|
<path
|
|
5875
6479
|
fill="currentColor"
|
|
5876
6480
|
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"
|
|
@@ -5886,7 +6490,7 @@
|
|
|
5886
6490
|
</svg>
|
|
5887
6491
|
</t>
|
|
5888
6492
|
<t t-name="o-spreadsheet-Icon.PIVOT">
|
|
5889
|
-
<svg class="o-icon">
|
|
6493
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5890
6494
|
<path
|
|
5891
6495
|
fill="currentColor"
|
|
5892
6496
|
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"
|
|
@@ -5909,8 +6513,28 @@
|
|
|
5909
6513
|
</svg>
|
|
5910
6514
|
</div>
|
|
5911
6515
|
</t>
|
|
6516
|
+
<t t-name="o-spreadsheet-Icon.ANGLE_RIGHT">
|
|
6517
|
+
<div class="o-icon">
|
|
6518
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 256">
|
|
6519
|
+
<path
|
|
6520
|
+
fill="currentColor"
|
|
6521
|
+
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"
|
|
6522
|
+
/>
|
|
6523
|
+
</svg>
|
|
6524
|
+
</div>
|
|
6525
|
+
</t>
|
|
6526
|
+
<t t-name="o-spreadsheet-Icon.ANGLE_LEFT">
|
|
6527
|
+
<div class="o-icon">
|
|
6528
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 256">
|
|
6529
|
+
<path
|
|
6530
|
+
fill="currentColor"
|
|
6531
|
+
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"
|
|
6532
|
+
/>
|
|
6533
|
+
</svg>
|
|
6534
|
+
</div>
|
|
6535
|
+
</t>
|
|
5912
6536
|
<t t-name="o-spreadsheet-Icon.INSERT_PIVOT">
|
|
5913
|
-
<svg class="o-icon">
|
|
6537
|
+
<svg class="o-icon" viewBox="0 0 18 18">
|
|
5914
6538
|
<defs>
|
|
5915
6539
|
<mask id="a">
|
|
5916
6540
|
<path fill="#fff" d="M0 0h18v18H0z"/>
|
|
@@ -5920,7 +6544,6 @@
|
|
|
5920
6544
|
<path
|
|
5921
6545
|
fill="currentColor"
|
|
5922
6546
|
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"
|
|
5923
|
-
mask="url(#a)"
|
|
5924
6547
|
/>
|
|
5925
6548
|
<path
|
|
5926
6549
|
fill="currentColor"
|
|
@@ -6067,11 +6690,72 @@
|
|
|
6067
6690
|
<i class="fa fa-unlock"/>
|
|
6068
6691
|
</div>
|
|
6069
6692
|
</t>
|
|
6693
|
+
<t t-name="o-spreadsheet-Icon.PRINT">
|
|
6694
|
+
<div class="o-icon">
|
|
6695
|
+
<i class="fa fa-print"/>
|
|
6696
|
+
</div>
|
|
6697
|
+
</t>
|
|
6698
|
+
<t t-name="o-spreadsheet-Icon.COLUMN_STATS">
|
|
6699
|
+
<svg width="18px" height="18px" viewBox="0 0 512 512">
|
|
6700
|
+
<path
|
|
6701
|
+
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"
|
|
6702
|
+
fill="currentColor"
|
|
6703
|
+
/>
|
|
6704
|
+
</svg>
|
|
6705
|
+
</t>
|
|
6706
|
+
<t t-name="o-spreadsheet-Icon.DESCENDING_SORT">
|
|
6707
|
+
<svg width="20px" height="16px" viewBox="0 0 20 16">
|
|
6708
|
+
<path
|
|
6709
|
+
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"
|
|
6710
|
+
fill="currentColor"
|
|
6711
|
+
/>
|
|
6712
|
+
</svg>
|
|
6713
|
+
</t>
|
|
6714
|
+
<t t-name="o-spreadsheet-Icon.ASCENDING_SORT">
|
|
6715
|
+
<svg width="20px" height="16px" viewBox="0 0 20 16">
|
|
6716
|
+
<path
|
|
6717
|
+
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"
|
|
6718
|
+
fill="currentColor"
|
|
6719
|
+
/>
|
|
6720
|
+
</svg>
|
|
6721
|
+
</t>
|
|
6722
|
+
<t t-name="o-spreadsheet-Icon.COUNT_CHART">
|
|
6723
|
+
<svg width="20px" height="16px" viewBox="0 0 20 16">
|
|
6724
|
+
<path
|
|
6725
|
+
fill="currentColor"
|
|
6726
|
+
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"
|
|
6727
|
+
/>
|
|
6728
|
+
</svg>
|
|
6729
|
+
</t>
|
|
6730
|
+
<t t-name="o-spreadsheet-Icon.NAMED_RANGE">
|
|
6731
|
+
<svg
|
|
6732
|
+
class="o-icon"
|
|
6733
|
+
fill="currentColor"
|
|
6734
|
+
viewBox="0 0 1024 1024"
|
|
6735
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
6736
|
+
<path
|
|
6737
|
+
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"
|
|
6738
|
+
/>
|
|
6739
|
+
</svg>
|
|
6740
|
+
</t>
|
|
6741
|
+
<t t-name="o-spreadsheet-Icon.AVG_TIME">
|
|
6742
|
+
<svg
|
|
6743
|
+
class="o-icon"
|
|
6744
|
+
fill="currentColor"
|
|
6745
|
+
viewBox="0 -960 960 960"
|
|
6746
|
+
xmlns="http://www.w3.org/2000/svg">
|
|
6747
|
+
<!-- Material icon avg_time.
|
|
6748
|
+
TODO remove when we use Material icons directly -->
|
|
6749
|
+
<path
|
|
6750
|
+
d="M203-480h117q11 0 21 5.5t15 16.5l44 88 124-248q11-23 36-23t36 23l69 138h92q-15-102-93-171t-184-69q-106 0-184 69t-93 171Zm461 251q78-69 93-171H640q-11 0-21-5.5T604-422l-44-88-124 248q-11 23-36 23t-36-23l-69-138h-92q15 102 93 171t184 69q106 0 184-69ZM340.5-108.5Q275-137 226-186t-77.5-114.5Q120-366 120-440h80q0 116 82 198t198 82q116 0 198-82t82-198h80q0 74-28.5 139.5T734-186q-49 49-114.5 77.5T480-80q-74 0-139.5-28.5ZM120-440q0-74 28.5-139.5T226-694q49-49 114.5-77.5T480-800q62 0 119 20t107 58l56-56 56 56-56 56q38 50 58 107t20 119h-80q0-116-82-198t-198-82q-116 0-198 82t-82 198h-80Zm240-400v-80h240v80H360Zm-78 598q-82-82-82-198t82-198q82-82 198-82t198 82q82 82 82 198t-82 198q-82 82-198 82t-198-82Zm198-198Z"
|
|
6751
|
+
/>
|
|
6752
|
+
</svg>
|
|
6753
|
+
</t>
|
|
6070
6754
|
|
|
6071
6755
|
<t t-name="o-spreadsheet-IconPicker">
|
|
6072
6756
|
<div class="o-icon-picker bg-white">
|
|
6073
6757
|
<t t-foreach="iconSets" t-as="iconSet" t-key="iconSet">
|
|
6074
|
-
<div class="o-cf-icon-line">
|
|
6758
|
+
<div class="o-cf-icon-line os-theme-dependant">
|
|
6075
6759
|
<div
|
|
6076
6760
|
class="o-icon-picker-item p-1"
|
|
6077
6761
|
t-on-click="() => this.onIconClick(iconSets[iconSet].good)">
|
|
@@ -6252,7 +6936,6 @@
|
|
|
6252
6936
|
class="o-handle"
|
|
6253
6937
|
t-on-pointerdown="onMouseDown"
|
|
6254
6938
|
t-on-dblclick="onDblClick"
|
|
6255
|
-
t-on-contextmenu.prevent=""
|
|
6256
6939
|
t-attf-style="top:{{state.draggerLinePosition - 2}}px;">
|
|
6257
6940
|
<div class="dragging-resizer" t-if="state.isResizing"/>
|
|
6258
6941
|
</div>
|
|
@@ -6295,7 +6978,6 @@
|
|
|
6295
6978
|
class="o-handle"
|
|
6296
6979
|
t-on-pointerdown="onMouseDown"
|
|
6297
6980
|
t-on-dblclick="onDblClick"
|
|
6298
|
-
t-on-contextmenu.prevent=""
|
|
6299
6981
|
t-attf-style="left:{{state.draggerLinePosition - 2}}px;">
|
|
6300
6982
|
<div class="dragging-resizer" t-if="state.isResizing"/>
|
|
6301
6983
|
</div>
|
|
@@ -6412,7 +7094,7 @@
|
|
|
6412
7094
|
t-if="cellPopover.isOpen"
|
|
6413
7095
|
positioning="cellPopover.cellCorner"
|
|
6414
7096
|
maxHeight="cellPopover.Component.size and cellPopover.Component.size.maxHeight"
|
|
6415
|
-
maxWidth="cellPopover.Component.size and cellPopover.Component.size.
|
|
7097
|
+
maxWidth="cellPopover.Component.size and cellPopover.Component.size.maxWidth"
|
|
6416
7098
|
anchorRect="cellPopover.anchorRect"
|
|
6417
7099
|
containerRect="env.getPopoverContainerRect()"
|
|
6418
7100
|
onMouseWheel="props.onMouseWheel"
|
|
@@ -6448,7 +7130,7 @@
|
|
|
6448
7130
|
|
|
6449
7131
|
<t t-name="o-spreadsheet-GridAddRowsFooter">
|
|
6450
7132
|
<div
|
|
6451
|
-
class="o-grid-add-rows mt-2 ms-2 w-100 d-flex position-relative align-items-center"
|
|
7133
|
+
class="o-grid-add-rows mt-2 ms-2 w-100 d-flex position-relative align-items-center os-theme-dependant"
|
|
6452
7134
|
t-att-style="addRowsPosition"
|
|
6453
7135
|
t-on-pointerdown.stop.prevent="">
|
|
6454
7136
|
<button
|
|
@@ -6496,7 +7178,7 @@
|
|
|
6496
7178
|
gridDims="env.model.getters.getSheetViewDimensionWithHeaders()"
|
|
6497
7179
|
onInputContextMenu.bind="onInputContextMenu"
|
|
6498
7180
|
/>
|
|
6499
|
-
<canvas t-ref="canvas"/>
|
|
7181
|
+
<canvas t-ref="canvas" class="os-theme-dependant pe-none"/>
|
|
6500
7182
|
<t t-set="focused" t-value="focusedClients"/>
|
|
6501
7183
|
<t
|
|
6502
7184
|
t-foreach="env.model.getters.getClientsToDisplay()"
|
|
@@ -6559,7 +7241,7 @@
|
|
|
6559
7241
|
</button>
|
|
6560
7242
|
<div class="flex-fill">
|
|
6561
7243
|
<div
|
|
6562
|
-
class="o-fullscreen-figure o-figure position-relative border rounded shadow"
|
|
7244
|
+
class="o-fullscreen-figure os-theme-dependant o-figure position-relative border rounded shadow"
|
|
6563
7245
|
tabindex="1"
|
|
6564
7246
|
t-ref="fullScreenFigure"
|
|
6565
7247
|
t-on-click.stop=""
|
|
@@ -6646,7 +7328,7 @@
|
|
|
6646
7328
|
t-att-class="{'selected': this.props.isSelected}">
|
|
6647
7329
|
<t t-set="value">
|
|
6648
7330
|
<t t-if="this.props.value === ''">(Blanks)</t>
|
|
6649
|
-
<t t-else="" t-
|
|
7331
|
+
<t t-else="" t-out="this.props.value"/>
|
|
6650
7332
|
</t>
|
|
6651
7333
|
<!-- toString because t-set with a body creates a LazyValue instead of a string -->
|
|
6652
7334
|
<Checkbox
|
|
@@ -6680,23 +7362,19 @@
|
|
|
6680
7362
|
</t>
|
|
6681
7363
|
|
|
6682
7364
|
<t t-name="o-spreadsheet-FilterMenu">
|
|
6683
|
-
<div class="o-filter-menu d-flex flex-column
|
|
6684
|
-
<
|
|
6685
|
-
<div
|
|
6686
|
-
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
|
|
6692
|
-
class="o-filter-menu-item o-sort-item py-2"
|
|
6693
|
-
t-on-click="() => this.sortFilterZone('desc')">
|
|
6694
|
-
Sort descending (Z ⟶ A)
|
|
6695
|
-
</div>
|
|
7365
|
+
<div class="o-filter-menu d-flex flex-column py-3" t-on-wheel.stop="">
|
|
7366
|
+
<div t-if="isSortable" class="o-filter-menu-content">
|
|
7367
|
+
<div
|
|
7368
|
+
class="o-filter-menu-item py-2 ps-4 mb-1"
|
|
7369
|
+
t-on-click="() => this.sortFilterZone('asc')">
|
|
7370
|
+
Sort ascending (A ⟶ Z)
|
|
7371
|
+
</div>
|
|
7372
|
+
<div class="o-filter-menu-item py-2 ps-4" t-on-click="() => this.sortFilterZone('desc')">
|
|
7373
|
+
Sort descending (Z ⟶ A)
|
|
6696
7374
|
</div>
|
|
6697
|
-
</t>
|
|
6698
|
-
<div class="o-filter-menu-content">
|
|
6699
7375
|
<div class="o-separator border-bottom"/>
|
|
7376
|
+
</div>
|
|
7377
|
+
<div class="o-filter-menu-content">
|
|
6700
7378
|
<SidePanelCollapsible
|
|
6701
7379
|
isInitiallyCollapsed="filterValueType !== 'criterion'"
|
|
6702
7380
|
title.translate="Filter by criterion">
|
|
@@ -6800,7 +7478,7 @@
|
|
|
6800
7478
|
t-att-style="headerStyle">
|
|
6801
7479
|
<div
|
|
6802
7480
|
class="o-carousel-title text-truncate flex-shrink-0 pe-2"
|
|
6803
|
-
t-
|
|
7481
|
+
t-out="title"
|
|
6804
7482
|
t-att-title="title"
|
|
6805
7483
|
t-att-style="titleStyle"
|
|
6806
7484
|
/>
|
|
@@ -6810,7 +7488,7 @@
|
|
|
6810
7488
|
class="o-carousel-tab text-truncate px-2 mt-1 flex-shrink-0"
|
|
6811
7489
|
t-att-class="{ 'selected': isItemSelected(item) }"
|
|
6812
7490
|
t-att-data-type="item.type"
|
|
6813
|
-
t-
|
|
7491
|
+
t-out="getItemTitle(item)"
|
|
6814
7492
|
t-on-click.stop="() => this.onCarouselTabClick(item)"
|
|
6815
7493
|
/>
|
|
6816
7494
|
</t>
|
|
@@ -6875,7 +7553,7 @@
|
|
|
6875
7553
|
|
|
6876
7554
|
<t t-name="o-spreadsheet-FigureComponent">
|
|
6877
7555
|
<div
|
|
6878
|
-
class="o-figure-wrapper"
|
|
7556
|
+
class="o-figure-wrapper os-theme-dependant"
|
|
6879
7557
|
t-att-class="{'o-figure-selected': isSelected}"
|
|
6880
7558
|
t-att-style="wrapperStyle"
|
|
6881
7559
|
t-ref="figureWrapper">
|
|
@@ -6997,6 +7675,15 @@
|
|
|
6997
7675
|
<t t-name="o-spreadsheet-ChartDashboardMenu">
|
|
6998
7676
|
<div class="o-dashboard-chart-select position-absolute top-0 end-0" t-on-click.stop="">
|
|
6999
7677
|
<div class="d-flex align-items-center gap-1 p-1 rounded" t-att-style="backgroundColor">
|
|
7678
|
+
<t t-if="regionOptions.length > 1">
|
|
7679
|
+
<Select
|
|
7680
|
+
class="'o-chart-dashboard-item w-auto py-0 px-1 text-muted text-nowrap rounded border-0'"
|
|
7681
|
+
popoverClass="'w-auto'"
|
|
7682
|
+
values="regionOptions"
|
|
7683
|
+
selectedValue="selectedRegion"
|
|
7684
|
+
onChange.bind="onRegionSelected"
|
|
7685
|
+
/>
|
|
7686
|
+
</t>
|
|
7000
7687
|
<t t-foreach="getMenuItems()" t-as="item" t-key="item.id">
|
|
7001
7688
|
<div
|
|
7002
7689
|
t-attf-class=" {{item.class}}"
|
|
@@ -7047,34 +7734,59 @@
|
|
|
7047
7734
|
</t>
|
|
7048
7735
|
|
|
7049
7736
|
<t t-name="o-spreadsheet-ErrorToolTip">
|
|
7050
|
-
<div class="o-error-tooltip
|
|
7737
|
+
<div class="o-error-tooltip">
|
|
7051
7738
|
<t t-if="evaluationError">
|
|
7052
7739
|
<div class="o-error-tooltip-title fw-bold text-danger">Error</div>
|
|
7053
7740
|
<div class="o-error-tooltip-message">
|
|
7054
|
-
<t t-
|
|
7741
|
+
<t t-out="evaluationError.message"/>
|
|
7055
7742
|
<div class="fst-italic" t-if="errorOriginPositionString">
|
|
7056
7743
|
Caused by
|
|
7057
7744
|
<span
|
|
7058
|
-
t-
|
|
7745
|
+
t-out="errorOriginPositionString"
|
|
7059
7746
|
class="o-button-link"
|
|
7060
7747
|
t-on-click="selectCell"
|
|
7061
7748
|
title="Click to select the cell"
|
|
7062
7749
|
/>
|
|
7063
7750
|
</div>
|
|
7751
|
+
<t t-set="missingHeadersForSpread" t-value="getMissingHeadersForSpread()"/>
|
|
7752
|
+
<div
|
|
7753
|
+
t-if="missingHeadersForSpread"
|
|
7754
|
+
id="missing-headers"
|
|
7755
|
+
class="o-button-link mt-4"
|
|
7756
|
+
t-on-click="() => this.addMissingHeaders(missingHeadersForSpread)"
|
|
7757
|
+
t-out="getAddMissingHeadersButtonText(missingHeadersForSpread)"
|
|
7758
|
+
/>
|
|
7064
7759
|
</div>
|
|
7065
7760
|
</t>
|
|
7066
7761
|
<t t-if="dataValidationErrorMessage">
|
|
7067
7762
|
<div class="o-error-tooltip-title fw-bold text-danger">Invalid</div>
|
|
7068
7763
|
<div class="o-error-tooltip-message">
|
|
7069
|
-
<t t-
|
|
7764
|
+
<t t-out="dataValidationErrorMessage"/>
|
|
7070
7765
|
</div>
|
|
7071
7766
|
</t>
|
|
7072
7767
|
</div>
|
|
7073
7768
|
</t>
|
|
7074
7769
|
|
|
7770
|
+
<t t-name="o-spreadsheet-DateInput">
|
|
7771
|
+
<input
|
|
7772
|
+
type="date"
|
|
7773
|
+
t-ref="{{refName}}"
|
|
7774
|
+
t-att-class="inputClass"
|
|
7775
|
+
t-att-id="props.id"
|
|
7776
|
+
t-att-placeholder="props.placeholder"
|
|
7777
|
+
t-on-change="save"
|
|
7778
|
+
t-on-blur="save"
|
|
7779
|
+
t-on-pointerdown="onMouseDown"
|
|
7780
|
+
t-on-pointerup="onMouseUp"
|
|
7781
|
+
t-on-keydown="onKeyDown"
|
|
7782
|
+
t-att-min="props.min"
|
|
7783
|
+
t-att-max="props.max"
|
|
7784
|
+
/>
|
|
7785
|
+
</t>
|
|
7786
|
+
|
|
7075
7787
|
<t t-name="o-spreadsheet-SpreadsheetDashboard">
|
|
7076
7788
|
<div
|
|
7077
|
-
class="o-grid o-two-columns o-zoomable"
|
|
7789
|
+
class="o-grid o-two-columns o-zoomable bg-white"
|
|
7078
7790
|
t-ref="dashboard"
|
|
7079
7791
|
tabindex="-1"
|
|
7080
7792
|
t-on-wheel="onMouseWheel"
|
|
@@ -7092,7 +7804,6 @@
|
|
|
7092
7804
|
t-att-title="clickableCell.title"
|
|
7093
7805
|
t-on-click="(ev) => this.selectClickableCell(ev, clickableCell)"
|
|
7094
7806
|
t-on-auxclick="(ev) => this.selectClickableCell(ev, clickableCell)"
|
|
7095
|
-
t-on-contextmenu.prevent=""
|
|
7096
7807
|
t-att-style="getCellClickableStyle(clickableCell.coordinates)">
|
|
7097
7808
|
<t
|
|
7098
7809
|
t-if="clickableCell.component"
|
|
@@ -7101,7 +7812,7 @@
|
|
|
7101
7812
|
/>
|
|
7102
7813
|
</div>
|
|
7103
7814
|
</GridOverlay>
|
|
7104
|
-
<canvas t-ref="canvas"/>
|
|
7815
|
+
<canvas t-ref="canvas" class="os-theme-dependant"/>
|
|
7105
7816
|
<GridPopover
|
|
7106
7817
|
gridRect="getGridRect()"
|
|
7107
7818
|
onMouseWheel.bind="onMouseWheel"
|
|
@@ -7169,7 +7880,7 @@
|
|
|
7169
7880
|
<t t-name="o-spreadsheet-SpeechBubble">
|
|
7170
7881
|
<t t-portal="'.o-spreadsheet'">
|
|
7171
7882
|
<div class="o-speech-bubble position-absolute px-3 border" t-ref="bubble">
|
|
7172
|
-
<div class="o-speech-content text-truncate pb-1" t-
|
|
7883
|
+
<div class="o-speech-content text-truncate pb-1" t-out="props.content"/>
|
|
7173
7884
|
</div>
|
|
7174
7885
|
</t>
|
|
7175
7886
|
</t>
|
|
@@ -7179,7 +7890,7 @@
|
|
|
7179
7890
|
class="o-cell-reference rounded"
|
|
7180
7891
|
t-if="shouldDisplayCellReference"
|
|
7181
7892
|
t-att-style="cellReferenceStyle"
|
|
7182
|
-
t-
|
|
7893
|
+
t-out="cellReference"
|
|
7183
7894
|
/>
|
|
7184
7895
|
<div class="o-grid-composer" t-att-style="containerStyle" t-ref="gridComposer">
|
|
7185
7896
|
<Composer t-props="composerProps"/>
|
|
@@ -7200,7 +7911,7 @@
|
|
|
7200
7911
|
<div>
|
|
7201
7912
|
<t t-foreach="formulaHeaderContent" t-as="part" t-key="part_index">
|
|
7202
7913
|
<span
|
|
7203
|
-
t-
|
|
7914
|
+
t-out="part.content"
|
|
7204
7915
|
t-att-class="part.focused ? 'o-formula-assistant-focus' : ''"
|
|
7205
7916
|
/>
|
|
7206
7917
|
</t>
|
|
@@ -7219,7 +7930,7 @@
|
|
|
7219
7930
|
<Collapse isCollapsed="state.isCollapsed">
|
|
7220
7931
|
<div class="o-formula-assistant-core pb-3 m-3 border-bottom">
|
|
7221
7932
|
<div class="o-formula-assistant-gray">ABOUT</div>
|
|
7222
|
-
<div t-
|
|
7933
|
+
<div t-out="context.functionDescription.description"/>
|
|
7223
7934
|
</div>
|
|
7224
7935
|
|
|
7225
7936
|
<t
|
|
@@ -7234,19 +7945,19 @@
|
|
|
7234
7945
|
<div
|
|
7235
7946
|
t-att-class="{'o-formula-assistant-focus': context.argsToFocus.includes(arg_index)}">
|
|
7236
7947
|
<span t-if="arg.repeating">
|
|
7237
|
-
<span t-
|
|
7948
|
+
<span t-out="arg.name + (context.repeatingArgGroupIndex + 1)"/>
|
|
7238
7949
|
</span>
|
|
7239
7950
|
<span t-else="">
|
|
7240
|
-
<span t-
|
|
7951
|
+
<span t-out="arg.name"/>
|
|
7241
7952
|
</span>
|
|
7242
7953
|
<span
|
|
7243
7954
|
t-if="arg.optional || arg.default || (arg.repeating and (firstRepeatableGroupOptional or context.repeatingArgGroupIndex > 0))"> - [optional] </span>
|
|
7244
7955
|
<span t-if="arg.default">
|
|
7245
7956
|
<span>default: </span>
|
|
7246
|
-
<t t-
|
|
7957
|
+
<t t-out="arg.defaultValue"/>
|
|
7247
7958
|
</span>
|
|
7248
7959
|
</div>
|
|
7249
|
-
<div class="o-formula-assistant-arg-description" t-
|
|
7960
|
+
<div class="o-formula-assistant-arg-description" t-out="arg.description"/>
|
|
7250
7961
|
</div>
|
|
7251
7962
|
</t>
|
|
7252
7963
|
</Collapse>
|
|
@@ -7350,27 +8061,30 @@
|
|
|
7350
8061
|
t-ref="autoCompleteList"
|
|
7351
8062
|
t-on-pointerdown.prevent=""
|
|
7352
8063
|
t-att-class="{
|
|
7353
|
-
'o-autocomplete-dropdown
|
|
8064
|
+
'o-autocomplete-dropdown': props.proposals.length}">
|
|
7354
8065
|
<t t-foreach="props.proposals" t-as="proposal" t-key="proposal.text + proposal_index">
|
|
7355
8066
|
<div
|
|
7356
|
-
class="d-flex flex-column text-start"
|
|
8067
|
+
class="o-autocomplete-content d-flex flex-column text-start"
|
|
7357
8068
|
t-att-class="{'o-autocomplete-value-focus': props.selectedIndex === proposal_index}"
|
|
7358
|
-
t-on-click="() => this.props.onValueSelected(proposal
|
|
8069
|
+
t-on-click="() => this.props.onValueSelected(proposal)"
|
|
7359
8070
|
t-on-pointermove="() => this.props.onValueHovered(proposal_index)">
|
|
7360
|
-
<div class="
|
|
7361
|
-
<
|
|
7362
|
-
<
|
|
7363
|
-
t-
|
|
7364
|
-
|
|
7365
|
-
|
|
7366
|
-
|
|
7367
|
-
|
|
7368
|
-
|
|
7369
|
-
|
|
8071
|
+
<div class="d-flex align-items-center gap-2">
|
|
8072
|
+
<div t-if="proposal.icon" t-call="{{proposal.icon}}"/>
|
|
8073
|
+
<div class="o-autocomplete-value text-truncate">
|
|
8074
|
+
<t t-set="htmlContent" t-value="proposal.htmlContent || [{ value: proposal.text}]"/>
|
|
8075
|
+
<span
|
|
8076
|
+
t-foreach="htmlContent"
|
|
8077
|
+
t-as="content"
|
|
8078
|
+
t-key="content_index"
|
|
8079
|
+
t-att-class="content.classes?.join(' ')"
|
|
8080
|
+
t-att-style="getCss(content)"
|
|
8081
|
+
t-out="content.value"
|
|
8082
|
+
/>
|
|
8083
|
+
</div>
|
|
7370
8084
|
</div>
|
|
7371
8085
|
<div
|
|
7372
8086
|
class="o-autocomplete-description text-truncate"
|
|
7373
|
-
t-
|
|
8087
|
+
t-out="proposal.description"
|
|
7374
8088
|
t-if="props.selectedIndex === proposal_index || proposal.alwaysExpanded"
|
|
7375
8089
|
/>
|
|
7376
8090
|
</div>
|
|
@@ -7387,9 +8101,13 @@
|
|
|
7387
8101
|
t-att-title="props.title"
|
|
7388
8102
|
t-att-class="props.class ? props.class : 'o-color-picker-button-style'"
|
|
7389
8103
|
t-att-disabled="props.disabled">
|
|
7390
|
-
<
|
|
8104
|
+
<div class="position-relative">
|
|
7391
8105
|
<t t-call="{{props.icon}}"/>
|
|
7392
|
-
|
|
8106
|
+
<div
|
|
8107
|
+
class="o-colored-border position-absolute bottom-0 w-100 os-theme-dependant"
|
|
8108
|
+
t-att-style="iconStyle"
|
|
8109
|
+
/>
|
|
8110
|
+
</div>
|
|
7393
8111
|
</span>
|
|
7394
8112
|
<ColorPicker
|
|
7395
8113
|
t-if="props.showColorPicker"
|
|
@@ -7403,14 +8121,14 @@
|
|
|
7403
8121
|
|
|
7404
8122
|
<t t-name="o-spreadsheet-ColorPicker">
|
|
7405
8123
|
<Popover t-props="popoverProps">
|
|
7406
|
-
<div class="o-color-picker
|
|
8124
|
+
<div class="o-color-picker" t-on-click.stop="" t-att-style="colorPickerStyle">
|
|
7407
8125
|
<div class="o-color-picker-section-name">Standard</div>
|
|
7408
8126
|
<div class="colors-grid">
|
|
7409
8127
|
<div
|
|
7410
8128
|
t-foreach="COLORS"
|
|
7411
8129
|
t-as="color"
|
|
7412
8130
|
t-key="color"
|
|
7413
|
-
class="o-color-picker-line-item"
|
|
8131
|
+
class="o-color-picker-line-item os-theme-dependant"
|
|
7414
8132
|
t-att-data-color="color"
|
|
7415
8133
|
t-on-click="() => this.onColorClick(color)"
|
|
7416
8134
|
t-attf-style="background-color:{{color}};">
|
|
@@ -7438,7 +8156,7 @@
|
|
|
7438
8156
|
t-foreach="env.model.getters.getCustomColors()"
|
|
7439
8157
|
t-as="color"
|
|
7440
8158
|
t-key="color"
|
|
7441
|
-
class="o-color-picker-line-item"
|
|
8159
|
+
class="o-color-picker-line-item os-theme-dependant"
|
|
7442
8160
|
t-att-data-color="color"
|
|
7443
8161
|
t-attf-style="background-color:{{color}};"
|
|
7444
8162
|
t-on-click="() => this.onColorClick(color)">
|
|
@@ -7452,7 +8170,7 @@
|
|
|
7452
8170
|
</div>
|
|
7453
8171
|
<div t-if="state.showGradient" class="o-custom-selector">
|
|
7454
8172
|
<div
|
|
7455
|
-
class="o-gradient"
|
|
8173
|
+
class="o-gradient os-theme-dependant"
|
|
7456
8174
|
t-on-click.stop=""
|
|
7457
8175
|
t-on-pointerdown="dragGradientPointer"
|
|
7458
8176
|
t-att-style="gradientHueStyle">
|
|
@@ -7462,7 +8180,7 @@
|
|
|
7462
8180
|
</div>
|
|
7463
8181
|
<div class="o-hue-container" t-on-pointerdown="dragHuePointer">
|
|
7464
8182
|
<div class="o-hue-picker border rounded" t-on-click.stop=""/>
|
|
7465
|
-
<div class="o-hue-slider pe-none" t-att-style="sliderStyle">
|
|
8183
|
+
<div class="o-hue-slider pe-none os-theme-dependant" t-att-style="sliderStyle">
|
|
7466
8184
|
<t t-call="o-spreadsheet-Icon.CARET_UP"/>
|
|
7467
8185
|
</div>
|
|
7468
8186
|
</div>
|
|
@@ -7475,7 +8193,10 @@
|
|
|
7475
8193
|
t-att-value="state.customHexColor"
|
|
7476
8194
|
t-on-input="setHexColor"
|
|
7477
8195
|
/>
|
|
7478
|
-
<div
|
|
8196
|
+
<div
|
|
8197
|
+
class="o-color-preview border rounded os-theme-dependant"
|
|
8198
|
+
t-att-style="colorPreviewStyle"
|
|
8199
|
+
/>
|
|
7479
8200
|
</div>
|
|
7480
8201
|
<div class="o-custom-input-buttons">
|
|
7481
8202
|
<button
|
|
@@ -7497,15 +8218,14 @@
|
|
|
7497
8218
|
</t>
|
|
7498
8219
|
|
|
7499
8220
|
<t t-name="o-spreadsheet-ClientTag">
|
|
7500
|
-
<div t-if="props.active" class="o-client-tag" t-att-style="tagStyle" t-
|
|
8221
|
+
<div t-if="props.active" class="o-client-tag" t-att-style="tagStyle" t-out="props.name"/>
|
|
7501
8222
|
</t>
|
|
7502
8223
|
|
|
7503
8224
|
<t t-name="o-spreadsheet-BottomBar">
|
|
7504
8225
|
<div
|
|
7505
8226
|
class="o-spreadsheet-bottom-bar o-two-columns d-flex flex-fill align-items-center overflow-hidden border-top"
|
|
7506
8227
|
t-on-click="props.onClick"
|
|
7507
|
-
t-ref="bottomBar"
|
|
7508
|
-
t-on-contextmenu.prevent="">
|
|
8228
|
+
t-ref="bottomBar">
|
|
7509
8229
|
<Ripple class="'add-sheet-container'">
|
|
7510
8230
|
<div
|
|
7511
8231
|
class="o-sheet-item o-add-sheet me-2 p-1"
|
|
@@ -7603,7 +8323,7 @@
|
|
|
7603
8323
|
<div
|
|
7604
8324
|
class="o-selection-statistic text-truncate user-select-none me-4 bg-white rounded shadow d-flex align-items-center"
|
|
7605
8325
|
t-on-click="listSelectionStatistics">
|
|
7606
|
-
<t t-
|
|
8326
|
+
<t t-out="selectedStatistic"/>
|
|
7607
8327
|
<span class="ms-2">
|
|
7608
8328
|
<t t-call="o-spreadsheet-Icon.CARET_DOWN"/>
|
|
7609
8329
|
</span>
|
|
@@ -7619,7 +8339,7 @@
|
|
|
7619
8339
|
composerFocusableElement="true"
|
|
7620
8340
|
t-on-pointerdown="(ev) => this.onMouseDown(ev)"
|
|
7621
8341
|
t-on-click="onClick"
|
|
7622
|
-
t-on-contextmenu
|
|
8342
|
+
t-on-contextmenu="(ev) => this.onContextMenu(ev)"
|
|
7623
8343
|
t-ref="sheetDiv"
|
|
7624
8344
|
t-key="sheetName"
|
|
7625
8345
|
t-att-style="props.style"
|
|
@@ -7633,7 +8353,7 @@
|
|
|
7633
8353
|
class="o-sheet-name"
|
|
7634
8354
|
t-att-class="{'o-sheet-name-editable': state.isEditing }"
|
|
7635
8355
|
t-ref="sheetNameSpan"
|
|
7636
|
-
t-
|
|
8356
|
+
t-out="sheetName"
|
|
7637
8357
|
t-on-pointerdown="(ev) => this.onMouseEventSheetName(ev)"
|
|
7638
8358
|
t-on-click="(ev) => this.onMouseEventSheetName(ev)"
|
|
7639
8359
|
t-on-dblclick="() => this.onDblClick()"
|
|
@@ -7695,7 +8415,7 @@
|
|
|
7695
8415
|
<t t-set="border_color">Border Color</t>
|
|
7696
8416
|
<Popover t-props="popoverProps">
|
|
7697
8417
|
<div
|
|
7698
|
-
class="d-flex o-border-selector
|
|
8418
|
+
class="d-flex o-border-selector"
|
|
7699
8419
|
t-on-click.stop=""
|
|
7700
8420
|
t-att-class="props.class ? props.class : ''">
|
|
7701
8421
|
<div class="o-border-selector-section">
|
|
@@ -7744,7 +8464,7 @@
|
|
|
7744
8464
|
<Popover
|
|
7745
8465
|
t-props="lineStylePickerPopoverProps"
|
|
7746
8466
|
t-if="state.activeTool === 'borderTypeTool'">
|
|
7747
|
-
<div class="o-border-style-dropdown
|
|
8467
|
+
<div class="o-border-style-dropdown">
|
|
7748
8468
|
<t t-foreach="borderStyles" t-as="borderStyle" t-key="borderStyle">
|
|
7749
8469
|
<div
|
|
7750
8470
|
t-att-title="borderStyle"
|