@odoo/o-spreadsheet 19.5.0-alpha.2 → 19.5.0-alpha.20
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/material_symbols_outlined.css +9 -0
- package/dist/o_spreadsheet.cjs +53040 -49146
- package/dist/o_spreadsheet.css +330 -157
- package/dist/o_spreadsheet.esm.js +52813 -48924
- package/dist/o_spreadsheet.iife.js +49777 -45883
- package/dist/o_spreadsheet.min.iife.js +413 -359
- package/dist/o_spreadsheet.xml +505 -332
- package/dist/types/actions/action.d.ts +1 -7
- package/dist/types/actions/data_actions.d.ts +2 -0
- package/dist/types/actions/menu_items_actions.d.ts +5 -2
- package/dist/types/clipboard_handlers/default_clipboard.d.ts +1 -1
- package/dist/types/collaborative/command_squisher.d.ts +1 -1
- package/dist/types/collaborative/ot/ot_helpers.d.ts +3 -1
- package/dist/types/collaborative/session.d.ts +3 -1
- package/dist/types/components/autofill/autofill.d.ts +3 -0
- package/dist/types/{plugins/ui_feature/autofill.d.ts → components/autofill/autofill_store.d.ts} +7 -12
- package/dist/types/components/autofill/table_autofill_store.d.ts +6 -0
- package/dist/types/components/border_editor/border_editor_widget.d.ts +1 -0
- package/dist/types/components/bottom_bar/bottom_bar_statistic/bottom_bar_statistic.d.ts +3 -0
- package/dist/types/components/clickable_cells_overlay/clickable_cells_overlay.d.ts +20 -0
- package/dist/types/components/collaborative_client_tag/collaborative_client_tag.d.ts +2 -0
- package/dist/types/components/composer/composer/abstract_composer_store.d.ts +3 -2
- package/dist/types/components/composer/composer/composer.d.ts +2 -1
- package/dist/types/components/composer/grid_composer/grid_composer.d.ts +1 -0
- package/dist/types/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.d.ts +1 -1
- package/dist/types/components/dashboard/clickable_cell_store.d.ts +1 -0
- package/dist/types/components/dashboard/dashboard.d.ts +7 -12
- package/dist/types/components/error_tooltip/error_tooltip.d.ts +2 -0
- package/dist/types/components/figures/chart/chartJs/chartjs_geo_projection_plugin.d.ts +12 -0
- package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chartjs.d.ts +1 -0
- package/dist/types/components/figures/chart/gauge/gauge_chart_component.d.ts +1 -0
- package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +1 -0
- package/dist/types/components/figures/figure/figure.d.ts +10 -9
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +16 -1
- package/dist/types/components/figures/figure_chart/figure_chart.d.ts +1 -2
- package/dist/types/components/figures/figure_container/figure_container.d.ts +9 -4
- package/dist/types/components/figures/figure_image/figure_image.d.ts +1 -2
- package/dist/types/components/filters/filter_menu/filter_menu.d.ts +1 -0
- package/dist/types/components/full_screen_figure/full_screen_figure.d.ts +12 -1
- package/dist/types/components/grid/grid.d.ts +10 -0
- package/dist/types/components/grid_add_rows_footer/grid_add_rows_footer.d.ts +1 -0
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +8 -4
- package/dist/types/components/grid_popover/grid_popover.d.ts +1 -0
- package/dist/types/components/header_group/header_group_container.d.ts +2 -0
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +5 -0
- package/dist/types/components/headers_overlay/unhide_headers.d.ts +4 -0
- package/dist/types/components/helpers/chart_drag_and_drop.d.ts +15 -0
- package/dist/types/components/helpers/dom_helpers.d.ts +5 -2
- package/dist/types/components/helpers/draw_grid_hook.d.ts +1 -2
- package/dist/types/components/helpers/figure_drag_helper.d.ts +3 -3
- package/dist/types/components/helpers/figure_snap_helper.d.ts +9 -4
- package/dist/types/components/helpers/wheel_hook.d.ts +1 -1
- package/dist/types/components/helpers/zoom.d.ts +0 -14
- package/dist/types/components/highlight/border/border.d.ts +2 -0
- package/dist/types/components/highlight/corner/corner.d.ts +1 -0
- package/dist/types/components/highlight/highlight/highlight.d.ts +3 -0
- package/dist/types/components/link/link_display/link_display.d.ts +1 -0
- package/dist/types/components/link/link_editor/link_editor.d.ts +3 -1
- package/dist/types/components/paint_format_button/paint_format_store.d.ts +1 -1
- package/dist/types/components/popover/cell_popover_store.d.ts +2 -1
- package/dist/types/components/popover/popover.d.ts +0 -1
- package/dist/types/components/popover/popover_container_owl_plugin.d.ts +5 -0
- package/dist/types/components/props_validation.d.ts +7 -7
- package/dist/types/components/scrollbar/scrollbar_horizontal.d.ts +3 -0
- package/dist/types/components/scrollbar/scrollbar_vertical.d.ts +5 -1
- package/dist/types/components/selection_input/selection_input_store.d.ts +1 -1
- package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +20 -2
- package/dist/types/components/side_panel/chart/building_blocks/chart_title/chart_title.d.ts +1 -0
- package/dist/types/components/side_panel/chart/building_blocks/color_scale/color_scale_picker.d.ts +1 -1
- package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_config_panel.d.ts +0 -2
- package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +5 -18
- package/dist/types/components/side_panel/chart/chart_type_picker_popover/chart_type_picker_popover.d.ts +63 -0
- package/dist/types/components/side_panel/chart/common.d.ts +1 -1
- package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_config_panel.d.ts +6 -10
- package/dist/types/components/side_panel/components/radio_selection/radio_selection.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/cell_is_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor_threshold.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/data_bar_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/conditional_formatting/cf_editor/icon_set_rule_editor.d.ts +1 -1
- package/dist/types/components/side_panel/data_analysis/chart_suggestion_preview.d.ts +19 -0
- package/dist/types/components/side_panel/data_analysis/data_analysis_panel.d.ts +17 -0
- package/dist/types/components/side_panel/data_analysis/data_analysis_store.d.ts +15 -0
- package/dist/types/components/side_panel/data_sources_cleanup/data_sources_cleanup.d.ts +28 -0
- package/dist/types/components/side_panel/data_sources_cleanup/data_sources_cleanup_store.d.ts +13 -0
- package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +1 -0
- package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +3 -1
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +1 -8
- package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.d.ts +1 -0
- package/dist/types/components/side_panel/remove_duplicates/remove_duplicates.d.ts +3 -10
- package/dist/types/components/side_panel/side_panel/side_panel_store.d.ts +3 -2
- package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_panel.d.ts +4 -11
- package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_store.d.ts +33 -0
- package/dist/types/components/side_panel/table_panel/table_panel.d.ts +6 -0
- package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +2 -0
- package/dist/types/components/small_bottom_bar/small_bottom_bar.d.ts +1 -0
- package/dist/types/components/spreadsheet/spreadsheet.d.ts +12 -5
- package/dist/types/components/spreadsheet_print/print_iframe.d.ts +15 -0
- package/dist/types/components/spreadsheet_print/spreadsheet_print.d.ts +4 -0
- package/dist/types/components/standalone_grid_canvas/carousel_data_view_print.d.ts +32 -0
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +397 -2
- package/dist/types/components/standalone_viewport/standalone_viewport.d.ts +59 -0
- package/dist/types/components/standalone_viewport/standalone_viewport_store.d.ts +29 -0
- package/dist/types/components/tables/hovered_table_store.d.ts +7 -11
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +2 -0
- package/dist/types/components/tables/table_styles_popover/table_styles_popover.d.ts +0 -1
- package/dist/types/components/top_bar/color_editor/color_editor.d.ts +1 -1
- package/dist/types/components/top_bar/zoom_editor/zoom_editor.d.ts +2 -1
- package/dist/types/constants.d.ts +17 -2
- package/dist/types/formulas/code_builder.d.ts +2 -1
- package/dist/types/formulas/compiler.d.ts +8 -1
- package/dist/types/functions/create_compute_function.d.ts +4 -3
- package/dist/types/functions/function_registry.d.ts +4 -5
- package/dist/types/functions/helper_lookup.d.ts +1 -1
- package/dist/types/functions/helper_matrices.d.ts +1 -0
- package/dist/types/functions/helper_statistical.d.ts +6 -0
- package/dist/types/functions/helpers.d.ts +4 -0
- package/dist/types/functions/module_array.d.ts +41 -23
- package/dist/types/functions/module_database.d.ts +18 -6
- package/dist/types/functions/module_date.d.ts +70 -22
- package/dist/types/functions/module_engineering.d.ts +3 -1
- package/dist/types/functions/module_filter.d.ts +2 -2
- package/dist/types/functions/module_financial.d.ts +105 -35
- package/dist/types/functions/module_info.d.ts +33 -11
- package/dist/types/functions/module_logical.d.ts +16 -8
- package/dist/types/functions/module_lookup.d.ts +23 -15
- package/dist/types/functions/module_math.d.ts +125 -43
- package/dist/types/functions/module_operators.d.ts +7 -3
- package/dist/types/functions/module_statistical.d.ts +78 -22
- package/dist/types/functions/module_text.d.ts +75 -26
- package/dist/types/functions/module_web.d.ts +3 -1
- package/dist/types/helpers/carousel_helpers.d.ts +15 -3
- package/dist/types/helpers/cells/cell_evaluation.d.ts +1 -1
- package/dist/types/helpers/color.d.ts +1 -1
- package/dist/types/helpers/color_themes.d.ts +2 -0
- package/dist/types/helpers/data_analysis.d.ts +17 -0
- package/dist/types/helpers/figures/chart.d.ts +9 -6
- package/dist/types/helpers/figures/charts/chart_common.d.ts +3 -5
- package/dist/types/helpers/figures/charts/chart_data_source_helpers.d.ts +10 -0
- package/dist/types/helpers/figures/charts/chart_data_sources.d.ts +3 -3
- package/dist/types/helpers/figures/charts/chart_suggestion_engine.d.ts +8 -0
- package/dist/types/helpers/figures/charts/chart_ui_common.d.ts +11 -4
- package/dist/types/helpers/figures/charts/charts_suggestions_constants.d.ts +37 -0
- package/dist/types/helpers/figures/charts/gauge_chart_rendering.d.ts +6 -2
- package/dist/types/helpers/figures/charts/runtime/chart_data_extractor.d.ts +13 -12
- package/dist/types/helpers/figures/charts/runtime/chartjs_title.d.ts +2 -2
- package/dist/types/helpers/figures/figure/figure.d.ts +3 -2
- package/dist/types/helpers/filter_helpers.d.ts +2 -2
- package/dist/types/helpers/internal_viewport.d.ts +19 -10
- package/dist/types/helpers/links.d.ts +1 -1
- package/dist/types/helpers/misc.d.ts +2 -0
- package/dist/types/helpers/owl3_helpers.d.ts +4 -0
- package/dist/types/helpers/pivot/pivot_composer_helpers.d.ts +1 -1
- package/dist/types/helpers/pivot/pivot_highlight.d.ts +2 -2
- package/dist/types/helpers/pivot/pivot_presentation.d.ts +2 -2
- package/dist/types/helpers/pivot/pivot_registry.d.ts +4 -5
- package/dist/types/helpers/pivot/spreadsheet_pivot/runtime_definition_spreadsheet_pivot.d.ts +2 -2
- package/dist/types/helpers/range.d.ts +1 -1
- package/dist/types/helpers/rectangle.d.ts +4 -0
- package/dist/types/helpers/text_helper.d.ts +1 -1
- package/dist/types/helpers/ui/split_to_columns_interactive.d.ts +1 -1
- package/dist/types/helpers/viewport_collection.d.ts +50 -21
- package/dist/types/helpers/zones.d.ts +1 -0
- package/dist/types/index.d.ts +39 -9
- package/dist/types/model.d.ts +18 -10
- package/dist/types/owl3_compatibility_layer.d.ts +1 -14
- package/dist/types/plugins/core/carousel.d.ts +8 -4
- package/dist/types/plugins/core/cell.d.ts +1 -0
- package/dist/types/plugins/core/chart.d.ts +2 -0
- package/dist/types/plugins/core/conditional_format.d.ts +2 -0
- package/dist/types/plugins/core/data_validation.d.ts +2 -0
- package/dist/types/plugins/core/formulas_provider.d.ts +8 -0
- package/dist/types/plugins/core/image.d.ts +2 -1
- package/dist/types/plugins/core/pivot.d.ts +1 -0
- package/dist/types/plugins/core/range.d.ts +4 -2
- package/dist/types/plugins/core/squisher.d.ts +7 -2
- package/dist/types/plugins/core/tables.d.ts +2 -1
- package/dist/types/plugins/core/unsquisher.d.ts +1 -1
- package/dist/types/plugins/core_plugin.d.ts +8 -4
- package/dist/types/plugins/{ui_feature → evaluation}/cell_computed_style.d.ts +4 -4
- package/dist/types/plugins/{ui_core_views/cell_evaluation/evaluation_plugin.d.ts → evaluation/cell_evaluation/cell_evaluation_plugin.d.ts} +14 -7
- package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/compilation_parameters.d.ts +2 -2
- package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/evaluator.d.ts +2 -2
- package/dist/types/plugins/{ui_core_views → evaluation}/custom_colors.d.ts +5 -5
- package/dist/types/plugins/{ui_core_views → evaluation}/dynamic_tables.d.ts +4 -4
- package/dist/types/plugins/{ui_feature → evaluation}/dynamic_translate.d.ts +2 -2
- package/dist/types/plugins/evaluation/evaluation_chart.d.ts +27 -0
- package/dist/types/plugins/{ui_core_views → evaluation}/evaluation_conditional_format.d.ts +4 -4
- package/dist/types/plugins/{ui_core_views → evaluation}/evaluation_data_validation.d.ts +4 -4
- package/dist/types/plugins/{ui_stateful → evaluation}/filter_evaluation.d.ts +7 -8
- package/dist/types/plugins/{ui_core_views → evaluation}/fingerprint.d.ts +2 -2
- package/dist/types/plugins/evaluation/formula_tracker.d.ts +8 -0
- package/dist/types/plugins/evaluation/geo_loader.d.ts +13 -0
- package/dist/types/plugins/{ui_core_views → evaluation}/header_sizes_ui.d.ts +5 -5
- package/dist/types/plugins/{ui_feature/header_visibility_ui.d.ts → evaluation/header_visibility_evaluation.d.ts} +2 -2
- package/dist/types/plugins/evaluation/pivot_presence_plugin.d.ts +12 -0
- package/dist/types/plugins/{ui_core_views → evaluation}/pivot_ui.d.ts +9 -6
- package/dist/types/plugins/evaluation/subtotal_evaluation.d.ts +5 -0
- package/dist/types/plugins/{ui_feature → evaluation}/table_computed_style.d.ts +7 -7
- package/dist/types/plugins/evaluation_plugin.d.ts +31 -0
- package/dist/types/plugins/plugin_registries.d.ts +11 -5
- package/dist/types/plugins/ui_feature/chart_ui.d.ts +6 -0
- package/dist/types/plugins/ui_feature/collaborative.d.ts +2 -1
- package/dist/types/plugins/ui_feature/color_theme.d.ts +0 -3
- package/dist/types/plugins/ui_feature/geo_features.d.ts +1 -6
- package/dist/types/plugins/ui_feature/ui_options.d.ts +1 -7
- package/dist/types/plugins/ui_feature/ui_sheet.d.ts +2 -1
- package/dist/types/plugins/ui_plugin.d.ts +1 -4
- package/dist/types/plugins/ui_stateful/carousel_ui.d.ts +2 -2
- package/dist/types/plugins/{ui_core_views → ui_stateful}/cell_icon_plugin.d.ts +2 -2
- package/dist/types/plugins/{ui_feature → ui_stateful}/figure.d.ts +4 -0
- package/dist/types/plugins/ui_stateful/header_positions.d.ts +2 -1
- package/dist/types/registries/chart_data_source_registry.d.ts +4 -5
- package/dist/types/registries/chart_registry.d.ts +7 -4
- package/dist/types/registries/criterion_registry.d.ts +4 -4
- package/dist/types/registries/data_source_registry.d.ts +15 -0
- package/dist/types/registries/evaluation_registry.d.ts +2 -2
- package/dist/types/registries/figures_registry.d.ts +6 -2
- package/dist/types/store_engine/dependency_container.d.ts +5 -0
- package/dist/types/store_engine/store_hooks.d.ts +6 -0
- package/dist/types/store_engine/store_registries.d.ts +4 -0
- package/dist/types/stores/array_formula_highlight.d.ts +1 -1
- package/dist/types/{plugins/ui_feature/automatic_sum.d.ts → stores/automatic_sum_store.d.ts} +5 -4
- package/dist/types/stores/cell_hover_overlay_store.d.ts +15 -0
- package/dist/types/stores/chart_drag_store.d.ts +10 -0
- package/dist/types/stores/checkbox_toggle.d.ts +9 -0
- package/dist/types/stores/client_focus_store.d.ts +1 -0
- package/dist/types/{plugins/ui_stateful/clipboard.d.ts → stores/clipboard_store.d.ts} +11 -11
- package/dist/types/stores/data_cleanup_store.d.ts +31 -0
- package/dist/types/stores/grid_renderer_store.d.ts +3 -2
- package/dist/types/stores/main_viewport_store.d.ts +14 -0
- package/dist/types/stores/spreadsheet_store.d.ts +1 -1
- package/dist/types/stores/table_resize_store.d.ts +6 -0
- package/dist/types/stores/trim_whitespace_store.d.ts +9 -0
- package/dist/types/stores/viewports_store.d.ts +85 -0
- package/dist/types/stores/zoom_store.d.ts +27 -0
- package/dist/types/types/chart/chart.d.ts +3 -1
- package/dist/types/types/chart/chart_suggestion.d.ts +137 -0
- package/dist/types/types/chart/radar_chart.d.ts +1 -1
- package/dist/types/types/chart/scorecard_chart.d.ts +3 -4
- package/dist/types/types/collaborative/transport_service.d.ts +1 -0
- package/dist/types/types/commands.d.ts +55 -68
- package/dist/types/types/figure.d.ts +26 -3
- package/dist/types/types/functions.d.ts +16 -6
- package/dist/types/types/getters.d.ts +126 -28
- package/dist/types/types/misc.d.ts +19 -1
- package/dist/types/types/model.d.ts +2 -4
- package/dist/types/types/range.d.ts +1 -0
- package/dist/types/types/rendering.d.ts +21 -1
- package/dist/types/types/store_engine.d.ts +10 -3
- package/package.json +6 -5
- package/dist/types/plugins/core_view_plugin.d.ts +0 -29
- package/dist/types/plugins/ui_core_views/evaluation_chart.d.ts +0 -26
- package/dist/types/plugins/ui_core_views/formula_tracker.d.ts +0 -8
- package/dist/types/plugins/ui_feature/checkbox_toggle.d.ts +0 -9
- package/dist/types/plugins/ui_feature/data_cleanup.d.ts +0 -16
- package/dist/types/plugins/ui_feature/pivot_presence_plugin.d.ts +0 -11
- package/dist/types/plugins/ui_feature/split_to_columns.d.ts +0 -21
- package/dist/types/plugins/ui_feature/subtotal_evaluation.d.ts +0 -5
- package/dist/types/plugins/ui_feature/table_autofill.d.ts +0 -6
- package/dist/types/plugins/ui_feature/table_resize_ui.d.ts +0 -6
- package/dist/types/plugins/ui_stateful/sheetview.d.ts +0 -123
- package/dist/types/types/core_getters.d.ts +0 -75
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/binary_grid.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/formula_dependency_graph.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/interval_tree.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/position_set.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/r_tree.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/range_set.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/spreading_relation.d.ts +0 -0
- /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/zone_set.d.ts +0 -0
|
@@ -4,7 +4,9 @@ import { Arg, FunctionResultNumber, FunctionResultObject, Matrix, Maybe } from "
|
|
|
4
4
|
export declare const AVEDEV: {
|
|
5
5
|
description: string;
|
|
6
6
|
args: import("..").ArgDefinition[];
|
|
7
|
-
compute: (this: import("..").EvalContext, ...values: Arg[]) =>
|
|
7
|
+
compute: (this: import("..").EvalContext, ...values: Arg[]) => DivisionByZeroError | {
|
|
8
|
+
value: number;
|
|
9
|
+
};
|
|
8
10
|
isExported: true;
|
|
9
11
|
};
|
|
10
12
|
export declare const AVERAGE: {
|
|
@@ -33,48 +35,70 @@ export declare const AVERAGEA: {
|
|
|
33
35
|
export declare const AVERAGEIF: {
|
|
34
36
|
description: string;
|
|
35
37
|
args: import("..").ArgDefinition[];
|
|
36
|
-
compute: (this: import("..").EvalContext, criteriaRange: Arg, criterion: Maybe<FunctionResultObject>, averageRange: Arg) =>
|
|
38
|
+
compute: (this: import("..").EvalContext, criteriaRange: Arg, criterion: Maybe<FunctionResultObject>, averageRange: Arg) => DivisionByZeroError | {
|
|
39
|
+
value: number;
|
|
40
|
+
};
|
|
37
41
|
isExported: true;
|
|
38
42
|
};
|
|
39
43
|
export declare const AVERAGEIFS: {
|
|
40
44
|
description: string;
|
|
41
45
|
args: import("..").ArgDefinition[];
|
|
42
|
-
compute: (this: import("..").EvalContext, averageRange: Matrix<FunctionResultObject>, ...args: Arg[]) =>
|
|
46
|
+
compute: (this: import("..").EvalContext, averageRange: Matrix<FunctionResultObject>, ...args: Arg[]) => DivisionByZeroError | {
|
|
47
|
+
value: number;
|
|
48
|
+
};
|
|
43
49
|
isExported: true;
|
|
44
50
|
};
|
|
45
51
|
export declare const COUNT: {
|
|
46
52
|
description: string;
|
|
47
53
|
args: import("..").ArgDefinition[];
|
|
48
|
-
compute: (this: import("..").EvalContext, ...values: Arg[]) =>
|
|
54
|
+
compute: (this: import("..").EvalContext, ...values: Arg[]) => {
|
|
55
|
+
value: number;
|
|
56
|
+
};
|
|
49
57
|
isExported: true;
|
|
50
58
|
};
|
|
51
59
|
export declare const COUNTA: {
|
|
52
60
|
description: string;
|
|
53
61
|
args: import("..").ArgDefinition[];
|
|
54
|
-
compute: (...values: Arg[]) =>
|
|
62
|
+
compute: (...values: Arg[]) => {
|
|
63
|
+
value: number;
|
|
64
|
+
};
|
|
55
65
|
isExported: true;
|
|
56
66
|
};
|
|
57
67
|
export declare const COVAR: {
|
|
58
68
|
description: string;
|
|
59
69
|
args: import("..").ArgDefinition[];
|
|
60
|
-
compute: (dataY: Arg, dataX: Arg) =>
|
|
70
|
+
compute: (dataY: Arg, dataX: Arg) => {
|
|
71
|
+
value: number;
|
|
72
|
+
};
|
|
61
73
|
isExported: true;
|
|
62
74
|
};
|
|
63
75
|
export declare const COVARIANCE_P: {
|
|
64
76
|
description: string;
|
|
65
77
|
args: import("..").ArgDefinition[];
|
|
66
|
-
compute: (dataY: Arg, dataX: Arg) =>
|
|
78
|
+
compute: (dataY: Arg, dataX: Arg) => {
|
|
79
|
+
value: number;
|
|
80
|
+
};
|
|
67
81
|
isExported: true;
|
|
68
82
|
};
|
|
69
83
|
export declare const COVARIANCE_S: {
|
|
70
84
|
description: string;
|
|
71
85
|
args: import("..").ArgDefinition[];
|
|
72
|
-
compute: (dataY: Arg, dataX: Arg) =>
|
|
86
|
+
compute: (dataY: Arg, dataX: Arg) => {
|
|
87
|
+
value: number;
|
|
88
|
+
};
|
|
73
89
|
isExported: true;
|
|
74
90
|
};
|
|
91
|
+
export declare const CHISQ_DIST_RT: AddFunctionDescription;
|
|
92
|
+
export declare const CHISQ_TEST: AddFunctionDescription;
|
|
93
|
+
export declare const CONFIDENCE_NORM: AddFunctionDescription;
|
|
94
|
+
export declare const CONFIDENCE_T: AddFunctionDescription;
|
|
95
|
+
export declare const F_TEST: AddFunctionDescription;
|
|
75
96
|
export declare const FORECAST: AddFunctionDescription;
|
|
97
|
+
export declare const GEOMEAN: AddFunctionDescription;
|
|
76
98
|
export declare const GROWTH: AddFunctionDescription;
|
|
99
|
+
export declare const HARMEAN: AddFunctionDescription;
|
|
77
100
|
export declare const INTERCEPT: AddFunctionDescription;
|
|
101
|
+
export declare const KURT: AddFunctionDescription;
|
|
78
102
|
export declare const LARGE: {
|
|
79
103
|
description: string;
|
|
80
104
|
args: import("..").ArgDefinition[];
|
|
@@ -99,7 +123,9 @@ export declare const MAXA: {
|
|
|
99
123
|
export declare const MAXIFS: {
|
|
100
124
|
description: string;
|
|
101
125
|
args: import("..").ArgDefinition[];
|
|
102
|
-
compute: (this: import("..").EvalContext, range: Matrix<FunctionResultObject>, ...args: Arg[]) =>
|
|
126
|
+
compute: (this: import("..").EvalContext, range: Matrix<FunctionResultObject>, ...args: Arg[]) => {
|
|
127
|
+
value: number;
|
|
128
|
+
};
|
|
103
129
|
isExported: true;
|
|
104
130
|
};
|
|
105
131
|
export declare const MEDIAN: {
|
|
@@ -123,7 +149,9 @@ export declare const MINA: {
|
|
|
123
149
|
export declare const MINIFS: {
|
|
124
150
|
description: string;
|
|
125
151
|
args: import("..").ArgDefinition[];
|
|
126
|
-
compute: (this: import("..").EvalContext, range: Matrix<FunctionResultObject>, ...args: Arg[]) =>
|
|
152
|
+
compute: (this: import("..").EvalContext, range: Matrix<FunctionResultObject>, ...args: Arg[]) => {
|
|
153
|
+
value: number;
|
|
154
|
+
};
|
|
127
155
|
isExported: true;
|
|
128
156
|
};
|
|
129
157
|
export declare const PEARSON: AddFunctionDescription;
|
|
@@ -169,6 +197,8 @@ export declare const QUARTILE_INC: {
|
|
|
169
197
|
export declare const RANK: AddFunctionDescription;
|
|
170
198
|
export declare const RSQ: AddFunctionDescription;
|
|
171
199
|
export declare const SLOPE: AddFunctionDescription;
|
|
200
|
+
export declare const SKEW: AddFunctionDescription;
|
|
201
|
+
export declare const SKEW_P: AddFunctionDescription;
|
|
172
202
|
export declare const SMALL: {
|
|
173
203
|
description: string;
|
|
174
204
|
args: import("..").ArgDefinition[];
|
|
@@ -179,74 +209,100 @@ export declare const SPEARMAN: AddFunctionDescription;
|
|
|
179
209
|
export declare const STDEV: {
|
|
180
210
|
description: string;
|
|
181
211
|
args: import("..").ArgDefinition[];
|
|
182
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
212
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
213
|
+
value: number;
|
|
214
|
+
};
|
|
183
215
|
isExported: true;
|
|
184
216
|
};
|
|
185
217
|
export declare const STDEV_P: {
|
|
186
218
|
description: string;
|
|
187
219
|
args: import("..").ArgDefinition[];
|
|
188
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
220
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
221
|
+
value: number;
|
|
222
|
+
};
|
|
189
223
|
isExported: true;
|
|
190
224
|
};
|
|
191
225
|
export declare const STDEV_S: {
|
|
192
226
|
description: string;
|
|
193
227
|
args: import("..").ArgDefinition[];
|
|
194
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
228
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
229
|
+
value: number;
|
|
230
|
+
};
|
|
195
231
|
isExported: true;
|
|
196
232
|
};
|
|
197
233
|
export declare const STDEVA: {
|
|
198
234
|
description: string;
|
|
199
235
|
args: import("..").ArgDefinition[];
|
|
200
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
236
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
237
|
+
value: number;
|
|
238
|
+
};
|
|
201
239
|
isExported: true;
|
|
202
240
|
};
|
|
203
241
|
export declare const STDEVP: {
|
|
204
242
|
description: string;
|
|
205
243
|
args: import("..").ArgDefinition[];
|
|
206
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
244
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
245
|
+
value: number;
|
|
246
|
+
};
|
|
207
247
|
isExported: true;
|
|
208
248
|
};
|
|
209
249
|
export declare const STDEVPA: {
|
|
210
250
|
description: string;
|
|
211
251
|
args: import("..").ArgDefinition[];
|
|
212
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
252
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
253
|
+
value: number;
|
|
254
|
+
};
|
|
213
255
|
isExported: true;
|
|
214
256
|
};
|
|
257
|
+
export declare const T_TEST: AddFunctionDescription;
|
|
215
258
|
export declare const STEYX: AddFunctionDescription;
|
|
216
259
|
export declare const TREND: AddFunctionDescription;
|
|
260
|
+
export declare const TRIMMEAN: AddFunctionDescription;
|
|
217
261
|
export declare const VAR: {
|
|
218
262
|
description: string;
|
|
219
263
|
args: import("..").ArgDefinition[];
|
|
220
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
264
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
265
|
+
value: number;
|
|
266
|
+
};
|
|
221
267
|
isExported: true;
|
|
222
268
|
};
|
|
223
269
|
export declare const VAR_P: {
|
|
224
270
|
description: string;
|
|
225
271
|
args: import("..").ArgDefinition[];
|
|
226
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
272
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
273
|
+
value: number;
|
|
274
|
+
};
|
|
227
275
|
isExported: true;
|
|
228
276
|
};
|
|
229
277
|
export declare const VAR_S: {
|
|
230
278
|
description: string;
|
|
231
279
|
args: import("..").ArgDefinition[];
|
|
232
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
280
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
281
|
+
value: number;
|
|
282
|
+
};
|
|
233
283
|
isExported: true;
|
|
234
284
|
};
|
|
235
285
|
export declare const VARA: {
|
|
236
286
|
description: string;
|
|
237
287
|
args: import("..").ArgDefinition[];
|
|
238
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
288
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
289
|
+
value: number;
|
|
290
|
+
};
|
|
239
291
|
isExported: true;
|
|
240
292
|
};
|
|
241
293
|
export declare const VARP: {
|
|
242
294
|
description: string;
|
|
243
295
|
args: import("..").ArgDefinition[];
|
|
244
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
296
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
297
|
+
value: number;
|
|
298
|
+
};
|
|
245
299
|
isExported: true;
|
|
246
300
|
};
|
|
247
301
|
export declare const VARPA: {
|
|
248
302
|
description: string;
|
|
249
303
|
args: import("..").ArgDefinition[];
|
|
250
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
304
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => {
|
|
305
|
+
value: number;
|
|
306
|
+
};
|
|
251
307
|
isExported: true;
|
|
252
308
|
};
|
|
@@ -1,85 +1,114 @@
|
|
|
1
1
|
import { EvaluationError } from "../types/errors";
|
|
2
|
-
import { Arg,
|
|
2
|
+
import { Arg, FunctionResultObject, Maybe } from "../types/misc";
|
|
3
3
|
export declare const CHAR: {
|
|
4
4
|
description: string;
|
|
5
5
|
args: import("..").ArgDefinition[];
|
|
6
|
-
compute: (this: import("..").EvalContext, tableNumber: Maybe<FunctionResultObject>) =>
|
|
6
|
+
compute: (this: import("..").EvalContext, tableNumber: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
7
|
+
value: string;
|
|
8
|
+
};
|
|
7
9
|
isExported: true;
|
|
8
10
|
};
|
|
9
11
|
export declare const CLEAN: {
|
|
10
12
|
description: string;
|
|
11
13
|
args: import("..").ArgDefinition[];
|
|
12
|
-
compute: (text: Maybe<FunctionResultObject>) =>
|
|
14
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => {
|
|
15
|
+
value: string;
|
|
16
|
+
};
|
|
13
17
|
isExported: true;
|
|
14
18
|
};
|
|
15
19
|
export declare const CONCATENATE: {
|
|
16
20
|
description: string;
|
|
17
21
|
args: import("..").ArgDefinition[];
|
|
18
|
-
compute: (...datas: Arg[]) =>
|
|
22
|
+
compute: (this: import("..").EvalContext, ...datas: Arg[]) => {
|
|
23
|
+
value: string;
|
|
24
|
+
};
|
|
19
25
|
isExported: true;
|
|
20
26
|
};
|
|
21
27
|
export declare const EXACT: {
|
|
22
28
|
description: string;
|
|
23
29
|
args: import("..").ArgDefinition[];
|
|
24
|
-
compute: (string1: Maybe<FunctionResultObject>, string2: Maybe<FunctionResultObject>) =>
|
|
30
|
+
compute: (this: import("..").EvalContext, string1: Maybe<FunctionResultObject>, string2: Maybe<FunctionResultObject>) => {
|
|
31
|
+
value: boolean;
|
|
32
|
+
};
|
|
25
33
|
isExported: true;
|
|
26
34
|
};
|
|
27
35
|
export declare const FIND: {
|
|
28
36
|
description: string;
|
|
29
37
|
args: import("..").ArgDefinition[];
|
|
30
|
-
compute: (this: import("..").EvalContext, searchFor: Maybe<FunctionResultObject>, textToSearch: Maybe<FunctionResultObject>, startingAt?: Maybe<FunctionResultObject>) =>
|
|
38
|
+
compute: (this: import("..").EvalContext, searchFor: Maybe<FunctionResultObject>, textToSearch: Maybe<FunctionResultObject>, startingAt?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
39
|
+
value: number;
|
|
40
|
+
};
|
|
31
41
|
isExported: true;
|
|
32
42
|
};
|
|
33
43
|
export declare const FORMAT_LARGE_NUMBER: {
|
|
34
44
|
description: string;
|
|
35
45
|
args: import("..").ArgDefinition[];
|
|
36
|
-
compute: (this: import("..").EvalContext, value: Maybe<FunctionResultObject>, unite: Maybe<FunctionResultObject>) =>
|
|
46
|
+
compute: (this: import("..").EvalContext, value: Maybe<FunctionResultObject>, unite: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
47
|
+
value: number;
|
|
48
|
+
format: string;
|
|
49
|
+
};
|
|
37
50
|
};
|
|
38
51
|
export declare const JOIN: {
|
|
39
52
|
description: string;
|
|
40
53
|
args: import("..").ArgDefinition[];
|
|
41
|
-
compute: (delimiter: Maybe<FunctionResultObject>, ...valuesOrArrays: Arg[]) =>
|
|
54
|
+
compute: (this: import("..").EvalContext, delimiter: Maybe<FunctionResultObject>, ...valuesOrArrays: Arg[]) => {
|
|
55
|
+
value: string;
|
|
56
|
+
};
|
|
42
57
|
};
|
|
43
58
|
export declare const LEFT: {
|
|
44
59
|
description: string;
|
|
45
60
|
args: import("..").ArgDefinition[];
|
|
46
|
-
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, ...args: Maybe<FunctionResultObject>[]) =>
|
|
61
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, ...args: Maybe<FunctionResultObject>[]) => EvaluationError | {
|
|
62
|
+
value: string;
|
|
63
|
+
};
|
|
47
64
|
isExported: true;
|
|
48
65
|
};
|
|
49
66
|
export declare const LEN: {
|
|
50
67
|
description: string;
|
|
51
68
|
args: import("..").ArgDefinition[];
|
|
52
|
-
compute: (text: Maybe<FunctionResultObject>) =>
|
|
69
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => {
|
|
70
|
+
value: number;
|
|
71
|
+
};
|
|
53
72
|
isExported: true;
|
|
54
73
|
};
|
|
55
74
|
export declare const LOWER: {
|
|
56
75
|
description: string;
|
|
57
76
|
args: import("..").ArgDefinition[];
|
|
58
|
-
compute: (text: Maybe<FunctionResultObject>) =>
|
|
77
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => {
|
|
78
|
+
value: string;
|
|
79
|
+
};
|
|
59
80
|
isExported: true;
|
|
60
81
|
};
|
|
61
82
|
export declare const MID: {
|
|
62
83
|
description: string;
|
|
63
84
|
args: import("..").ArgDefinition[];
|
|
64
|
-
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, starting_at: Maybe<FunctionResultObject>, extract_length: Maybe<FunctionResultObject>) =>
|
|
85
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, starting_at: Maybe<FunctionResultObject>, extract_length: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
86
|
+
value: string;
|
|
87
|
+
};
|
|
65
88
|
isExported: true;
|
|
66
89
|
};
|
|
67
90
|
export declare const PROPER: {
|
|
68
91
|
description: string;
|
|
69
92
|
args: import("..").ArgDefinition[];
|
|
70
|
-
compute: (text: Maybe<FunctionResultObject>) =>
|
|
93
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => {
|
|
94
|
+
value: string;
|
|
95
|
+
};
|
|
71
96
|
isExported: true;
|
|
72
97
|
};
|
|
73
98
|
export declare const REGEXTEST: {
|
|
74
99
|
description: string;
|
|
75
100
|
args: import("..").ArgDefinition[];
|
|
76
|
-
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, pattern: Maybe<FunctionResultObject>, newText?: Maybe<FunctionResultObject>) =>
|
|
101
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, pattern: Maybe<FunctionResultObject>, newText?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
102
|
+
value: boolean;
|
|
103
|
+
};
|
|
77
104
|
isExported: true;
|
|
78
105
|
};
|
|
79
106
|
export declare const REGEXEXTRACT: {
|
|
80
107
|
description: string;
|
|
81
108
|
args: import("..").ArgDefinition[];
|
|
82
|
-
|
|
109
|
+
computeArray: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, pattern: Maybe<FunctionResultObject>, return_mode?: Maybe<FunctionResultObject>, newText?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
110
|
+
value: string;
|
|
111
|
+
}[][] | {
|
|
83
112
|
value: string;
|
|
84
113
|
};
|
|
85
114
|
isExported: true;
|
|
@@ -87,19 +116,25 @@ export declare const REGEXEXTRACT: {
|
|
|
87
116
|
export declare const REGEXREPLACE: {
|
|
88
117
|
description: string;
|
|
89
118
|
args: import("..").ArgDefinition[];
|
|
90
|
-
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, pattern: Maybe<FunctionResultObject>, replacement: Maybe<FunctionResultObject>, occurence?: Maybe<FunctionResultObject>, newText?: Maybe<FunctionResultObject>) =>
|
|
119
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, pattern: Maybe<FunctionResultObject>, replacement: Maybe<FunctionResultObject>, occurence?: Maybe<FunctionResultObject>, newText?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
120
|
+
value: string;
|
|
121
|
+
};
|
|
91
122
|
isExported: true;
|
|
92
123
|
};
|
|
93
124
|
export declare const REPLACE: {
|
|
94
125
|
description: string;
|
|
95
126
|
args: import("..").ArgDefinition[];
|
|
96
|
-
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, position: Maybe<FunctionResultObject>, length: Maybe<FunctionResultObject>, newText: Maybe<FunctionResultObject>) =>
|
|
127
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, position: Maybe<FunctionResultObject>, length: Maybe<FunctionResultObject>, newText: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
128
|
+
value: string;
|
|
129
|
+
};
|
|
97
130
|
isExported: true;
|
|
98
131
|
};
|
|
99
132
|
export declare const RIGHT: {
|
|
100
133
|
description: string;
|
|
101
134
|
args: import("..").ArgDefinition[];
|
|
102
|
-
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, ...args: Maybe<FunctionResultObject>[]) =>
|
|
135
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, ...args: Maybe<FunctionResultObject>[]) => EvaluationError | {
|
|
136
|
+
value: string;
|
|
137
|
+
};
|
|
103
138
|
isExported: true;
|
|
104
139
|
};
|
|
105
140
|
export declare const SEARCH: {
|
|
@@ -117,49 +152,63 @@ export declare const SEARCH: {
|
|
|
117
152
|
export declare const SPLIT: {
|
|
118
153
|
description: string;
|
|
119
154
|
args: import("..").ArgDefinition[];
|
|
120
|
-
|
|
155
|
+
computeArray: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>, delimiter: Maybe<FunctionResultObject>, splitByEach?: Maybe<FunctionResultObject>, removeEmptyText?: Maybe<FunctionResultObject>) => EvaluationError | import("..").Matrix<{
|
|
156
|
+
value: string;
|
|
157
|
+
}>;
|
|
121
158
|
isExported: false;
|
|
122
159
|
};
|
|
123
160
|
export declare const SUBSTITUTE: {
|
|
124
161
|
description: string;
|
|
125
162
|
args: import("..").ArgDefinition[];
|
|
126
|
-
compute: (this: import("..").EvalContext, textToSearch: Maybe<FunctionResultObject>, searchFor: Maybe<FunctionResultObject>, replaceWith: Maybe<FunctionResultObject>, occurrenceNumber: Maybe<FunctionResultObject>) =>
|
|
163
|
+
compute: (this: import("..").EvalContext, textToSearch: Maybe<FunctionResultObject>, searchFor: Maybe<FunctionResultObject>, replaceWith: Maybe<FunctionResultObject>, occurrenceNumber: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
164
|
+
value: string;
|
|
165
|
+
};
|
|
127
166
|
isExported: true;
|
|
128
167
|
};
|
|
129
168
|
export declare const TEXTJOIN: {
|
|
130
169
|
description: string;
|
|
131
170
|
args: import("..").ArgDefinition[];
|
|
132
|
-
compute: (delimiter: Maybe<FunctionResultObject>, ignoreEmpty?: Maybe<FunctionResultObject>, ...textsOrArrays: Arg[]) =>
|
|
171
|
+
compute: (this: import("..").EvalContext, delimiter: Maybe<FunctionResultObject>, ignoreEmpty?: Maybe<FunctionResultObject>, ...textsOrArrays: Arg[]) => {
|
|
172
|
+
value: string;
|
|
173
|
+
};
|
|
133
174
|
isExported: true;
|
|
134
175
|
};
|
|
135
176
|
export declare const TEXTSPLIT: {
|
|
136
177
|
description: string;
|
|
137
178
|
args: import("..").ArgDefinition[];
|
|
138
|
-
|
|
179
|
+
computeArray: (this: import("..").EvalContext, text: FunctionResultObject, colDelimiter: Arg, rowDelimiter: Arg, ignoreEmpty?: Maybe<FunctionResultObject>, matchMode?: Maybe<FunctionResultObject>, padWith?: Maybe<FunctionResultObject>) => EvaluationError | import("..").Matrix<FunctionResultObject>;
|
|
139
180
|
isExported: true;
|
|
140
181
|
};
|
|
141
182
|
export declare const TRIM: {
|
|
142
183
|
description: string;
|
|
143
184
|
args: import("..").ArgDefinition[];
|
|
144
|
-
compute: (text: Maybe<FunctionResultObject>) =>
|
|
185
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => {
|
|
186
|
+
value: string;
|
|
187
|
+
};
|
|
145
188
|
isExported: true;
|
|
146
189
|
};
|
|
147
190
|
export declare const UPPER: {
|
|
148
191
|
description: string;
|
|
149
192
|
args: import("..").ArgDefinition[];
|
|
150
|
-
compute: (text: Maybe<FunctionResultObject>) =>
|
|
193
|
+
compute: (this: import("..").EvalContext, text: Maybe<FunctionResultObject>) => {
|
|
194
|
+
value: string;
|
|
195
|
+
};
|
|
151
196
|
isExported: true;
|
|
152
197
|
};
|
|
153
198
|
export declare const TEXT: {
|
|
154
199
|
description: string;
|
|
155
200
|
args: import("..").ArgDefinition[];
|
|
156
|
-
compute: (this: import("..").EvalContext, number: Maybe<FunctionResultObject>, format: Maybe<FunctionResultObject>) =>
|
|
201
|
+
compute: (this: import("..").EvalContext, number: Maybe<FunctionResultObject>, format: Maybe<FunctionResultObject>) => {
|
|
202
|
+
value: import("..").FormattedValue;
|
|
203
|
+
};
|
|
157
204
|
isExported: true;
|
|
158
205
|
};
|
|
159
206
|
export declare const VALUE: {
|
|
160
207
|
description: string;
|
|
161
208
|
args: import("..").ArgDefinition[];
|
|
162
|
-
compute: (this: import("..").EvalContext, value: Maybe<FunctionResultObject>) =>
|
|
209
|
+
compute: (this: import("..").EvalContext, value: Maybe<FunctionResultObject>) => {
|
|
210
|
+
value: number;
|
|
211
|
+
};
|
|
163
212
|
isExported: true;
|
|
164
213
|
};
|
|
165
214
|
export declare const TEXTAFTER: {
|
|
@@ -2,6 +2,8 @@ import { FunctionResultObject, Maybe } from "../types/misc";
|
|
|
2
2
|
export declare const HYPERLINK: {
|
|
3
3
|
description: string;
|
|
4
4
|
args: import("..").ArgDefinition[];
|
|
5
|
-
compute: (url: Maybe<FunctionResultObject>, linkLabel: Maybe<FunctionResultObject>) =>
|
|
5
|
+
compute: (this: import("..").EvalContext, url: Maybe<FunctionResultObject>, linkLabel: Maybe<FunctionResultObject>) => {
|
|
6
|
+
value: string;
|
|
7
|
+
};
|
|
6
8
|
isExported: true;
|
|
7
9
|
};
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CarouselItem } from "../types/figure";
|
|
1
|
+
import { AnchorOffset, Carousel, CarouselItem } from "../types/figure";
|
|
3
2
|
import { Getters } from "../types/getters";
|
|
4
|
-
|
|
3
|
+
import { UID } from "../types/misc";
|
|
4
|
+
import { Rect } from "../types/rendering";
|
|
5
|
+
import { SpreadsheetChildEnv } from "../types/spreadsheet_env";
|
|
6
|
+
/**
|
|
7
|
+
* Compute the anchor of a chart popped out of a carousel: slightly offset from the
|
|
8
|
+
* carousel figure so the new chart does not perfectly overlap it.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getPoppedOutChartAnchor(env: SpreadsheetChildEnv, sheetId: UID, carouselId: UID): AnchorOffset;
|
|
5
11
|
export declare function getCarouselItemPreview(getters: Getters, item: CarouselItem): string;
|
|
6
12
|
export declare function getCarouselItemTitle(getters: Getters, item: CarouselItem): string;
|
|
13
|
+
export declare function getCarouselLayout(figureRect: Rect, carousel: Carousel, selectedItem: CarouselItem | undefined): {
|
|
14
|
+
headerRect: Rect;
|
|
15
|
+
separatorRect: Rect | undefined;
|
|
16
|
+
contentRect: Rect;
|
|
17
|
+
headerLineHeight: 1.5;
|
|
18
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CompiledFormula } from "../../formulas/compiler";
|
|
2
2
|
import { Cell, CellValue, EvaluatedCell, FormulaCell, LiteralCell } from "../../types/cells";
|
|
3
|
-
import { CoreGetters } from "../../types/core_getters";
|
|
4
3
|
import { Format, LocaleFormat } from "../../types/format";
|
|
4
|
+
import { CoreGetters } from "../../types/getters";
|
|
5
5
|
import { Locale } from "../../types/locale";
|
|
6
6
|
import { CellPosition, FunctionResultObject, Style, UID } from "../../types/misc";
|
|
7
7
|
export declare function evaluateLiteral(literalCell: LiteralCell, localeFormat: LocaleFormat, position?: CellPosition): EvaluatedCell;
|
|
@@ -94,7 +94,7 @@ export declare const DARK_MODE_FILTER_STRING: string;
|
|
|
94
94
|
* stored in the theme so that, after the dark-mode CSS filter is applied, the
|
|
95
95
|
* desired color is actually shown.
|
|
96
96
|
*
|
|
97
|
-
* This function computes
|
|
97
|
+
* This function computes an approximate inverse of the DARK_MODE_FILTER chain.
|
|
98
98
|
*/
|
|
99
99
|
export declare function adaptForDarkMode(displayedColor: Color): Color;
|
|
100
100
|
export declare function darkenColor(color: Color, percentage: number): Color;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EvaluatedCell } from "../types/cells";
|
|
2
|
+
import { Getters } from "../types/getters";
|
|
3
|
+
import { CellPosition, UID, Zone } from "../types/misc";
|
|
4
|
+
export type ExtendedColumnType = "error" | "number" | "percentage" | "date" | "categorical" | "label" | "boolean" | "empty";
|
|
5
|
+
export interface ColumnAnalysis {
|
|
6
|
+
zone: Zone;
|
|
7
|
+
type: ExtendedColumnType;
|
|
8
|
+
title?: string;
|
|
9
|
+
headerInZone: boolean;
|
|
10
|
+
rowCount: number;
|
|
11
|
+
uniqueCount: number;
|
|
12
|
+
uniqueRatio: number;
|
|
13
|
+
maxValue?: number;
|
|
14
|
+
nonEmpty: EvaluatedCell[];
|
|
15
|
+
}
|
|
16
|
+
export declare function analyzeColumns(zones: Zone[], getters: Getters): ColumnAnalysis[];
|
|
17
|
+
export declare function getColumnTableHeaderPosition(sheetId: UID, zone: Zone, getters: Getters): CellPosition | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { CompiledFormula } from "../../formulas/compiler";
|
|
1
2
|
import { ChartCreationContext, ChartData, ChartDefinition } from "../../types/chart/chart";
|
|
2
|
-
import { CoreGetters } from "../../types/
|
|
3
|
-
import { Getters } from "../../types/getters";
|
|
3
|
+
import { CoreGetters, EvaluationGetters } from "../../types/getters";
|
|
4
4
|
import { RangeAdapterFunctions, UID } from "../../types/misc";
|
|
5
5
|
import { Range } from "../../types/range";
|
|
6
|
+
import { ColorThemeName } from "../../types/rendering";
|
|
6
7
|
import { Validator } from "../../types/validator";
|
|
7
8
|
export declare class SpreadsheetChart {
|
|
8
9
|
private readonly getters;
|
|
@@ -15,15 +16,17 @@ export declare class SpreadsheetChart {
|
|
|
15
16
|
static fromStrDefinition(getters: CoreGetters, sheetId: UID, definition: ChartDefinition<string>): SpreadsheetChart;
|
|
16
17
|
static fromDefinition(getters: CoreGetters, sheetId: UID, definition: ChartDefinition<Range>): SpreadsheetChart;
|
|
17
18
|
static validate(validator: Validator, definition: ChartDefinition<string>): import("../..").CommandResult | import("../..").CommandResult[];
|
|
18
|
-
static transformDefinition(chartSheetId: UID, definition: ChartDefinition<string>, rangeAdapters: RangeAdapterFunctions): import("../../types/chart/line_chart").LineChartDefinition<string> | import("../../types/chart/pie_chart").PieChartDefinition<string> | import("../../types/chart/bar_chart").BarChartDefinition<string> | import("../../types/chart/scatter_chart").ScatterChartDefinition<string> | import("../../types/chart/combo_chart").ComboChartDefinition<string> | import("../../types/chart/waterfall_chart").WaterfallChartDefinition<string> | import("../../types/chart/pyramid_chart").PyramidChartDefinition<string> | import("../../types/chart/radar_chart").RadarChartDefinition<string> | import("../../types/chart/geo_chart").GeoChartDefinition<string> | import("../../types/chart/funnel_chart").FunnelChartDefinition<string> | import("../../types/chart/sunburst_chart").SunburstChartDefinition<string> | import("../../types/chart/tree_map_chart").TreeMapChartDefinition<string> | import("../../types/chart/calendar_chart").CalendarChartDefinition<string> | import("../../types/chart/
|
|
19
|
+
static transformDefinition(chartSheetId: UID, definition: ChartDefinition<string>, rangeAdapters: RangeAdapterFunctions): import("../../types/chart/scorecard_chart").ScorecardChartDefinition | import("../../types/chart/line_chart").LineChartDefinition<string> | import("../../types/chart/pie_chart").PieChartDefinition<string> | import("../../types/chart/bar_chart").BarChartDefinition<string> | import("../../types/chart/scatter_chart").ScatterChartDefinition<string> | import("../../types/chart/combo_chart").ComboChartDefinition<string> | import("../../types/chart/waterfall_chart").WaterfallChartDefinition<string> | import("../../types/chart/pyramid_chart").PyramidChartDefinition<string> | import("../../types/chart/radar_chart").RadarChartDefinition<string> | import("../../types/chart/geo_chart").GeoChartDefinition<string> | import("../../types/chart/funnel_chart").FunnelChartDefinition<string> | import("../../types/chart/sunburst_chart").SunburstChartDefinition<string> | import("../../types/chart/tree_map_chart").TreeMapChartDefinition<string> | import("../../types/chart/calendar_chart").CalendarChartDefinition<string> | import("../../types/chart/gauge_chart").GaugeChartDefinition<string> | import("../../types/chart/bubble_chart").BubbleChartDefinition<string>;
|
|
19
20
|
getRangeDefinition(): ChartDefinition<Range>;
|
|
20
21
|
getDefinition(): ChartDefinition<string>;
|
|
21
22
|
updateRanges(rangeAdapters: RangeAdapterFunctions): ChartDefinition<Range>;
|
|
22
23
|
duplicateInDuplicatedSheet(sheetIdFrom: UID, sheetIdTo: UID): ChartDefinition<string>;
|
|
23
24
|
copyInSheetId(sheetIdTo: UID): ChartDefinition<Range>;
|
|
24
25
|
getContextCreation(): ChartCreationContext;
|
|
25
|
-
getDefinitionForExcel(getters:
|
|
26
|
-
getData(getters:
|
|
27
|
-
|
|
26
|
+
getDefinitionForExcel(getters: EvaluationGetters): import("../..").ExcelChartDefinition | undefined;
|
|
27
|
+
getData(getters: EvaluationGetters, chartId: UID): ChartData;
|
|
28
|
+
getFormulas(getters: CoreGetters): CompiledFormula[];
|
|
29
|
+
getRuntime(getters: EvaluationGetters, chartId: UID, colorThemeName: ColorThemeName): import("../..").ChartRuntime;
|
|
28
30
|
static deleteInvalidKeys(definition: ChartDefinition<any>): ChartDefinition<any>;
|
|
31
|
+
loadDataForExport(getters: EvaluationGetters): Promise<void | undefined>;
|
|
29
32
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ChartAxisFormats, ChartDefinition, ChartRangeDataSource, DataSet, DataSetStyle, DatasetValues, ExcelChartDataset } from "../../../types/chart/chart";
|
|
2
2
|
import { CommandResult } from "../../../types/commands";
|
|
3
|
-
import { CoreGetters } from "../../../types/core_getters";
|
|
4
3
|
import { LocaleFormat } from "../../../types/format";
|
|
5
|
-
import {
|
|
4
|
+
import { CoreGetters } from "../../../types/getters";
|
|
6
5
|
import { Locale } from "../../../types/locale";
|
|
7
6
|
import { Color, RangeAdapterFunctions, UID } from "../../../types/misc";
|
|
8
7
|
import { Range } from "../../../types/range";
|
|
9
|
-
import {
|
|
8
|
+
import { ColorThemeName } from "../../../types/rendering";
|
|
10
9
|
import { ColorGenerator } from "../../color";
|
|
11
10
|
export declare const TREND_LINE_XAXIS_ID = "x1";
|
|
12
11
|
export declare const MOVING_AVERAGE_TREND_LINE_XAXIS_ID = "xMovingAverage";
|
|
@@ -47,7 +46,6 @@ export declare function chartMutedFontColor(backgroundColor: Color | undefined):
|
|
|
47
46
|
export declare function checkDataset(dataSource: ChartRangeDataSource<string>): CommandResult;
|
|
48
47
|
export declare function checkLabelRange(dataSource: ChartRangeDataSource<string>): CommandResult;
|
|
49
48
|
export declare function shouldRemoveFirstLabel(numberOfLabels: number, numberOfDataPoints: number | undefined, dataSetsHaveTitle: boolean): boolean;
|
|
50
|
-
export declare function getChartPositionAtCenterOfViewport(getters: Getters, chartSize: DOMDimension): DOMCoordinates;
|
|
51
49
|
export declare function getDefinedAxis(definition: Partial<ChartDefinition<string | Range>>): {
|
|
52
50
|
useLeftAxis: boolean;
|
|
53
51
|
useRightAxis: boolean;
|
|
@@ -63,4 +61,4 @@ export declare function truncateLabel(label: string | undefined, maxLen?: number
|
|
|
63
61
|
export declare function isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
|
|
64
62
|
export declare function getChartBackgroundColor({ background }: {
|
|
65
63
|
background?: Color;
|
|
66
|
-
},
|
|
64
|
+
}, colorThemeName: ColorThemeName): Color;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChartRangeDataSource } from "../../../types/chart/chart";
|
|
2
|
+
import { Getters } from "../../../types/getters";
|
|
3
|
+
import { Zone } from "../../../types/misc";
|
|
4
|
+
export declare function getUnboundRange(getters: Getters, zone: Zone): string;
|
|
5
|
+
export declare function isDatasetTitled(getters: Getters, zone: Zone): boolean;
|
|
6
|
+
export declare function dataset(zone: Zone, getters: Getters, id?: string): {
|
|
7
|
+
dataRange: string;
|
|
8
|
+
dataSetId: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function rangeSource(dataSets: ReturnType<typeof dataset>[], dataSetsHaveTitle: boolean, labelRange?: string): ChartRangeDataSource<string>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChartDataSourceBuilder } from "../../../registries/chart_data_source_registry";
|
|
2
2
|
import { ChartData, ChartRangeDataSource, DataSet } from "../../../types/chart/chart";
|
|
3
|
-
import {
|
|
3
|
+
import { EvaluationGetters } from "../../../types/getters";
|
|
4
4
|
import { FunctionResultObject } from "../../../types/misc";
|
|
5
5
|
import { Range } from "../../../types/range";
|
|
6
6
|
export declare const ChartRangeDataSourceHandler: ChartDataSourceBuilder<ChartRangeDataSource<string>, ChartRangeDataSource<Range>>;
|
|
7
|
-
export declare function getChartData(getters:
|
|
7
|
+
export declare function getChartData(getters: EvaluationGetters, dataSource: ChartRangeDataSource): ChartData;
|
|
8
8
|
/**
|
|
9
9
|
* Get the data from a dataSet
|
|
10
10
|
*/
|
|
11
|
-
export declare function getData(getters:
|
|
11
|
+
export declare function getData(getters: EvaluationGetters, ds: DataSet): FunctionResultObject[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ChartDefinition } from "../../../types/chart/chart";
|
|
2
|
+
import { Getters } from "../../../types/getters";
|
|
3
|
+
import { Zone } from "../../../types/misc";
|
|
4
|
+
export interface ChartSuggestion {
|
|
5
|
+
description: string;
|
|
6
|
+
definition: ChartDefinition;
|
|
7
|
+
}
|
|
8
|
+
export declare function getChartSuggestions(zones: Zone[], getters: Getters): ChartSuggestion[];
|