@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
|
@@ -12,6 +12,7 @@ export declare const FROZEN_PANE_BORDER_COLOR = "#DADFE8";
|
|
|
12
12
|
export declare const COMPOSER_ASSISTANT_COLOR = "light-dark(#9B359B, #B972A6)";
|
|
13
13
|
export declare const COLOR_TRANSPARENT = "#00000000";
|
|
14
14
|
export declare const TABLE_HOVER_BACKGROUND_COLOR = "#017E8414";
|
|
15
|
+
export declare const DEFAULT_CHART_BACKGROUND_COLOR = "#FFFFFF";
|
|
15
16
|
export declare const CHART_WATERFALL_POSITIVE_COLOR = "#4EA7F2";
|
|
16
17
|
export declare const CHART_WATERFALL_NEGATIVE_COLOR = "#EA6175";
|
|
17
18
|
export declare const CHART_WATERFALL_SUBTOTAL_COLOR = "#AAAAAA";
|
|
@@ -64,6 +65,9 @@ export declare const MENU_SEPARATOR_BORDER_WIDTH = 1;
|
|
|
64
65
|
export declare const MENU_SEPARATOR_PADDING = 5;
|
|
65
66
|
export declare const MENU_SEPARATOR_HEIGHT: number;
|
|
66
67
|
export declare const ZOOM_VALUES: number[];
|
|
68
|
+
export declare const MIN_ZOOM = 0.5;
|
|
69
|
+
export declare const MAX_ZOOM = 2;
|
|
70
|
+
export declare const DEFAULT_ZOOM = 1;
|
|
67
71
|
export declare const DEFAULT_STYLE: {
|
|
68
72
|
align: "default";
|
|
69
73
|
verticalAlign: "bottom";
|
|
@@ -96,7 +100,7 @@ export declare const DEFAULT_NUMBER_STYLE: {
|
|
|
96
100
|
export declare const DEFAULT_VERTICAL_ALIGN: "bottom";
|
|
97
101
|
export declare const DEFAULT_WRAPPING_MODE: "overflow";
|
|
98
102
|
export declare const DEFAULT_TEXT_HIGHLIGHT_PERCENT = 0.25;
|
|
99
|
-
export declare const DEFAULT_FONT_WEIGHT =
|
|
103
|
+
export declare const DEFAULT_FONT_WEIGHT = 400;
|
|
100
104
|
export declare const DEFAULT_FONT_SIZE: number;
|
|
101
105
|
export declare const HEADER_FONT_SIZE = 11;
|
|
102
106
|
export declare const DEFAULT_FONT = "'Roboto', arial, 'Liberation Sans'";
|
|
@@ -106,9 +110,10 @@ export declare const MAX_HISTORY_STEPS = 99;
|
|
|
106
110
|
export declare const DEFAULT_REVISION_ID = "START_REVISION";
|
|
107
111
|
export declare const DEFAULT_FIGURE_HEIGHT = 335;
|
|
108
112
|
export declare const DEFAULT_FIGURE_WIDTH = 536;
|
|
113
|
+
export declare const DEFAULT_SCORECARD_HEIGHT = 101;
|
|
114
|
+
export declare const DEFAULT_SCORECARD_WIDTH = 213;
|
|
109
115
|
export declare const FIGURE_BORDER_WIDTH = 1;
|
|
110
116
|
export declare const ACTIVE_BORDER_WIDTH = 2;
|
|
111
|
-
export declare const MIN_FIG_SIZE = 80;
|
|
112
117
|
export declare const MAX_CHAR_LABEL = 20;
|
|
113
118
|
export declare const FIGURE_ID_SPLITTER = "??";
|
|
114
119
|
export declare const DEFAULT_GAUGE_LOWER_COLOR = "#EA6175";
|
|
@@ -122,6 +127,7 @@ export declare const DEFAULT_SCORECARD_BASELINE_FONT_SIZE = 16;
|
|
|
122
127
|
export declare const LINE_FILL_TRANSPARENCY = 0.4;
|
|
123
128
|
export declare const LINE_DATA_POINT_RADIUS = 3;
|
|
124
129
|
export declare const DEFAULT_WINDOW_SIZE = 2;
|
|
130
|
+
export declare const MAX_CHART_PREVIEW_DATA_POINTS = 20;
|
|
125
131
|
export declare const MESSAGE_VERSION = 1;
|
|
126
132
|
export declare const FORBIDDEN_SHEETNAME_CHARS: readonly ["'", "*", "?", "/", "\\", "[", "]"];
|
|
127
133
|
export declare const FORBIDDEN_SHEETNAME_CHARS_IN_EXCEL_REGEX: RegExp;
|
|
@@ -158,6 +164,14 @@ export declare const DEFAULT_CAROUSEL_TITLE_STYLE: {
|
|
|
158
164
|
fontSize: number;
|
|
159
165
|
color: string;
|
|
160
166
|
};
|
|
167
|
+
export declare const CAROUSEL_LAYOUT: {
|
|
168
|
+
readonly paddingX: 24;
|
|
169
|
+
readonly paddingY: 8;
|
|
170
|
+
readonly headerPaddingTop: 4;
|
|
171
|
+
readonly separatorWidth: 1;
|
|
172
|
+
readonly headerLineHeight: 1.5;
|
|
173
|
+
readonly minHeaderHeight: 25;
|
|
174
|
+
};
|
|
161
175
|
export declare const DEFAULT_TOKEN_COLOR: Color;
|
|
162
176
|
export declare const tokenColors: {
|
|
163
177
|
readonly OPERATOR: "#3da4ab";
|
|
@@ -171,3 +185,4 @@ export declare const tokenColors: {
|
|
|
171
185
|
readonly ORPHAN_RIGHT_PAREN: "#ff0000";
|
|
172
186
|
};
|
|
173
187
|
export declare const DRAG_THRESHOLD = 5;
|
|
188
|
+
export declare const PRINT_DPR = 3;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface FunctionCode {
|
|
5
5
|
readonly returnExpression: JsString;
|
|
6
|
+
readonly returnsMatrix: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* Return the same function code but with the return expression assigned to a variable.
|
|
8
9
|
*/
|
|
@@ -26,7 +27,7 @@ export declare class FunctionCodeBuilder {
|
|
|
26
27
|
private code;
|
|
27
28
|
constructor(scope?: Scope);
|
|
28
29
|
append(...lines: (JsString | FunctionCode)[]): void;
|
|
29
|
-
return(expression: JsString): FunctionCode;
|
|
30
|
+
return(expression: JsString, returnsMatrix?: boolean): FunctionCode;
|
|
30
31
|
toString(): string;
|
|
31
32
|
}
|
|
32
33
|
export declare class Scope {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComputeFunction } from "../types/functions";
|
|
2
|
+
import { CoreGetters } from "../types/getters";
|
|
2
3
|
import { ApplyRangeChange, ApplyRenameNamedRange, FormulaToExecute, LiteralValues, NamedRange, UID } from "../types/misc";
|
|
3
4
|
import { Range, RangeStringOptions } from "../types/range";
|
|
4
5
|
import { AST } from "./parser";
|
|
@@ -25,6 +26,7 @@ export declare const UNARY_OPERATOR_MAP: {
|
|
|
25
26
|
};
|
|
26
27
|
interface ICompiledFormula {
|
|
27
28
|
execute: FormulaToExecute;
|
|
29
|
+
computeFunctions: ComputeFunction[];
|
|
28
30
|
tokens: Token[];
|
|
29
31
|
dependencies: string[];
|
|
30
32
|
isBadExpression: boolean;
|
|
@@ -35,6 +37,9 @@ interface ICompiledFormula {
|
|
|
35
37
|
export declare const functionCache: {
|
|
36
38
|
[key: string]: FormulaToExecute;
|
|
37
39
|
};
|
|
40
|
+
export declare const computeFunctionsCache: {
|
|
41
|
+
[key: string]: ComputeFunction[];
|
|
42
|
+
};
|
|
38
43
|
/**
|
|
39
44
|
* A compiled formula is the result of the compilation of a formula string.
|
|
40
45
|
* It contains all the information needed to execute the formula, as well as some metadata
|
|
@@ -49,6 +54,7 @@ export declare class CompiledFormula implements Omit<ICompiledFormula, "tokens"
|
|
|
49
54
|
readonly isBadExpression: boolean;
|
|
50
55
|
readonly normalizedFormula: string;
|
|
51
56
|
readonly execute: FormulaToExecute;
|
|
57
|
+
readonly computeFunctions: ComputeFunction[];
|
|
52
58
|
readonly rangeDependencies: Range[];
|
|
53
59
|
hasDependencies: boolean;
|
|
54
60
|
private constructor();
|
|
@@ -92,6 +98,7 @@ export declare class CompiledFormula implements Omit<ICompiledFormula, "tokens"
|
|
|
92
98
|
* Make a new instance of CompiledFormula by compiling the formula string as input by the user.
|
|
93
99
|
* */
|
|
94
100
|
static Compile(formula: string, sheetId: UID, getters: CoreGetters): CompiledFormula;
|
|
101
|
+
areRangeShapesInLineWithNormalizedFormula(): boolean;
|
|
95
102
|
}
|
|
96
103
|
/**
|
|
97
104
|
* A compiled formula serialized
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputeFunction, EvalContext, FunctionDescription } from "../types/functions";
|
|
1
|
+
import { ArgDefinition, ComputeFunction, EvalContext, FunctionDescription } from "../types/functions";
|
|
2
2
|
import { Arg, FunctionResultObject, Matrix } from "../types/misc";
|
|
3
3
|
/**
|
|
4
4
|
* Enables a formula function to accept matrix or vector inputs instead of simple value, computing results across multiple dimensions.
|
|
@@ -36,7 +36,8 @@ import { Arg, FunctionResultObject, Matrix } from "../types/misc";
|
|
|
36
36
|
* - For special behaviors (e.g. the `IF` function), you may declare all arguments
|
|
37
37
|
* as ranges and invoke this helper directly within your `compute` implementation.
|
|
38
38
|
*/
|
|
39
|
-
export declare function applyVectorization(context: EvalContext, descr: FunctionDescription, args: Arg[],
|
|
40
|
-
export declare function
|
|
39
|
+
export declare function applyVectorization(context: EvalContext, descr: FunctionDescription, args: Arg[], argDefinitions: ArgDefinition[], vectorizedArgsIndices: number[]): FunctionResultObject | Matrix<FunctionResultObject>;
|
|
40
|
+
export declare function getFunctionArgDefinitions(descr: FunctionDescription, argCount: number): ArgDefinition[];
|
|
41
|
+
export declare function createComputeFunction(descr: FunctionDescription, argCount: number, vectorizedArgsIndices?: number[]): ComputeFunction;
|
|
41
42
|
export declare function handleError(e: unknown, functionName: string): FunctionResultObject;
|
|
42
43
|
export declare const implementationErrorMessage: string;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Registry } from "../registries/registry";
|
|
2
|
-
import { AddFunctionDescription,
|
|
3
|
-
import { FunctionResultObject, Matrix } from "../types/misc";
|
|
2
|
+
import { AddFunctionDescription, FunctionDescription } from "../types/functions";
|
|
4
3
|
export declare class FunctionRegistry extends Registry<FunctionDescription> {
|
|
5
|
-
mapping: {
|
|
6
|
-
[key: string]: ComputeFunction<Matrix<FunctionResultObject> | FunctionResultObject>;
|
|
7
|
-
};
|
|
8
4
|
add(name: string, addDescr: AddFunctionDescription): this;
|
|
9
5
|
replace(name: string, addDescr: AddFunctionDescription): this;
|
|
10
6
|
}
|
|
11
7
|
export declare const functionRegistry: FunctionRegistry;
|
|
8
|
+
/** Formulas using one of these functions are never squished: they are always exported
|
|
9
|
+
* as a full formula string, and they don't become the base formula of the next cells. */
|
|
10
|
+
export declare const NonSquishableFunctionRegistry: Registry<string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CoreGetters } from "../types/core_getters";
|
|
2
1
|
import { EvalContext } from "../types/functions";
|
|
2
|
+
import { CoreGetters } from "../types/getters";
|
|
3
3
|
import { FunctionResultObject, Maybe, UID } from "../types/misc";
|
|
4
4
|
import { PivotCoreMeasure } from "../types/pivot";
|
|
5
5
|
/**
|
|
@@ -22,3 +22,4 @@ export declare function multiplyMatrices(matrix1: Matrix<number>, matrix2: Matri
|
|
|
22
22
|
*/
|
|
23
23
|
export declare function toScalar<T>(arg: Matrix<T> | T): T;
|
|
24
24
|
export declare function isMultipleElementMatrix(arg: any): boolean;
|
|
25
|
+
export declare function getMatrixArgIndices(args: unknown[]): number[];
|
|
@@ -19,3 +19,9 @@ export declare function expM(M: Matrix<number>): Matrix<number>;
|
|
|
19
19
|
export declare function logM(M: Matrix<number>): Matrix<number>;
|
|
20
20
|
export declare function predictLinearValues(Y: Matrix<number>, X: Matrix<number>, newX: Matrix<number>, computeIntercept: boolean): Matrix<number>;
|
|
21
21
|
export declare function getMovingAverageValues(dataset: number[], labels: number[], windowSize?: number): Point[];
|
|
22
|
+
export declare function lnGamma(z: number): number;
|
|
23
|
+
export declare function regularizedGammaUpper(a: number, x: number): number;
|
|
24
|
+
export declare function regularizedBeta(x: number, a: number, b: number): number;
|
|
25
|
+
export declare function normInv(p: number): number;
|
|
26
|
+
export declare function tDistTwoTail(t: number, df: number): number;
|
|
27
|
+
export declare function tInv2T(alpha: number, df: number): number;
|
|
@@ -17,6 +17,10 @@ export declare function strictToNumber(data: FunctionResultObject | CellValue |
|
|
|
17
17
|
export declare function toInteger(value: FunctionResultObject | CellValue | undefined, locale: Locale): number;
|
|
18
18
|
export declare function strictToInteger(value: FunctionResultObject | CellValue | undefined, locale: Locale): number;
|
|
19
19
|
export declare function toString(data: FunctionResultObject | CellValue | undefined): string;
|
|
20
|
+
/**
|
|
21
|
+
* Only converts the decimal separator, ignore number format such as % or dates
|
|
22
|
+
*/
|
|
23
|
+
export declare function toLocaleString(data: FunctionResultObject | CellValue | undefined, locale: Locale): string;
|
|
20
24
|
/**
|
|
21
25
|
* Normalize range by setting all the string in the range to lowercase and replacing
|
|
22
26
|
* accent letters with plain letters
|
|
@@ -3,135 +3,151 @@ import { Arg, FunctionResultObject, Matrix, Maybe } from "../types/misc";
|
|
|
3
3
|
export declare const ARRAY_CONSTRAIN: {
|
|
4
4
|
description: string;
|
|
5
5
|
args: import("..").ArgDefinition[];
|
|
6
|
-
|
|
6
|
+
computeArray: (this: import("..").EvalContext, array: Arg, rows: Maybe<FunctionResultObject>, columns: Maybe<FunctionResultObject>) => EvaluationError | Matrix<FunctionResultObject>;
|
|
7
7
|
isExported: false;
|
|
8
8
|
};
|
|
9
9
|
export declare const ARRAY_LITERAL: {
|
|
10
10
|
description: string;
|
|
11
11
|
args: import("..").ArgDefinition[];
|
|
12
|
-
|
|
12
|
+
computeArray: (...ranges: Arg[]) => EvaluationError | Matrix<FunctionResultObject>;
|
|
13
13
|
isExported: false;
|
|
14
14
|
hidden: true;
|
|
15
15
|
};
|
|
16
16
|
export declare const ARRAY_ROW: {
|
|
17
17
|
description: string;
|
|
18
18
|
args: import("..").ArgDefinition[];
|
|
19
|
-
|
|
19
|
+
computeArray: (...ranges: Arg[]) => EvaluationError | Matrix<FunctionResultObject>;
|
|
20
20
|
isExported: false;
|
|
21
21
|
hidden: true;
|
|
22
22
|
};
|
|
23
23
|
export declare const CHOOSECOLS: {
|
|
24
24
|
description: string;
|
|
25
25
|
args: import("..").ArgDefinition[];
|
|
26
|
-
|
|
26
|
+
computeArray: (this: import("..").EvalContext, array: Arg, ...columns: Arg[]) => EvaluationError | Matrix<FunctionResultObject>;
|
|
27
27
|
isExported: true;
|
|
28
28
|
};
|
|
29
29
|
export declare const CHOOSEROWS: {
|
|
30
30
|
description: string;
|
|
31
31
|
args: import("..").ArgDefinition[];
|
|
32
|
-
|
|
32
|
+
computeArray: (this: import("..").EvalContext, array: Arg, ...rows: Arg[]) => EvaluationError | Matrix<FunctionResultObject>;
|
|
33
33
|
isExported: true;
|
|
34
34
|
};
|
|
35
35
|
export declare const EXPAND: {
|
|
36
36
|
description: string;
|
|
37
37
|
args: import("..").ArgDefinition[];
|
|
38
|
-
|
|
38
|
+
computeArray: (this: import("..").EvalContext, arg: Arg, rows: Maybe<FunctionResultObject>, columns?: Maybe<FunctionResultObject>, padWith?: Maybe<FunctionResultObject>) => EvaluationError | Matrix<FunctionResultObject>;
|
|
39
39
|
isExported: true;
|
|
40
40
|
};
|
|
41
41
|
export declare const FLATTEN: {
|
|
42
42
|
description: string;
|
|
43
43
|
args: import("..").ArgDefinition[];
|
|
44
|
-
|
|
44
|
+
computeArray: (...ranges: Arg[]) => Matrix<FunctionResultObject>;
|
|
45
45
|
isExported: false;
|
|
46
46
|
};
|
|
47
47
|
export declare const FREQUENCY: {
|
|
48
48
|
description: string;
|
|
49
49
|
args: import("..").ArgDefinition[];
|
|
50
|
-
|
|
50
|
+
computeArray: (data: Matrix<FunctionResultObject>, classes: Matrix<FunctionResultObject>) => {
|
|
51
|
+
value: number;
|
|
52
|
+
}[][];
|
|
51
53
|
isExported: true;
|
|
52
54
|
};
|
|
53
55
|
export declare const HSTACK: {
|
|
54
56
|
description: string;
|
|
55
57
|
args: import("..").ArgDefinition[];
|
|
56
|
-
|
|
58
|
+
computeArray: (...ranges: Arg[]) => EvaluationError | Matrix<FunctionResultObject>;
|
|
57
59
|
isExported: true;
|
|
58
60
|
};
|
|
59
61
|
export declare const MDETERM: {
|
|
60
62
|
description: string;
|
|
61
63
|
args: import("..").ArgDefinition[];
|
|
62
|
-
compute: (matrix: Arg) =>
|
|
64
|
+
compute: (matrix: Arg) => EvaluationError | {
|
|
65
|
+
value: number;
|
|
66
|
+
};
|
|
63
67
|
isExported: true;
|
|
64
68
|
};
|
|
65
69
|
export declare const MINVERSE: {
|
|
66
70
|
description: string;
|
|
67
71
|
args: import("..").ArgDefinition[];
|
|
68
|
-
|
|
72
|
+
computeArray: (matrix: Arg) => EvaluationError | Matrix<{
|
|
73
|
+
value: number;
|
|
74
|
+
}>;
|
|
69
75
|
isExported: true;
|
|
70
76
|
};
|
|
71
77
|
export declare const MMULT: {
|
|
72
78
|
description: string;
|
|
73
79
|
args: import("..").ArgDefinition[];
|
|
74
|
-
|
|
80
|
+
computeArray: (matrix1: Arg, matrix2: Arg) => EvaluationError | Matrix<{
|
|
81
|
+
value: number;
|
|
82
|
+
}>;
|
|
75
83
|
isExported: true;
|
|
76
84
|
};
|
|
77
85
|
export declare const SUMPRODUCT: {
|
|
78
86
|
description: string;
|
|
79
87
|
args: import("..").ArgDefinition[];
|
|
80
|
-
compute: (this: import("..").EvalContext, ...args: Arg[]) =>
|
|
88
|
+
compute: (this: import("..").EvalContext, ...args: Arg[]) => EvaluationError | {
|
|
89
|
+
value: number;
|
|
90
|
+
};
|
|
81
91
|
isExported: true;
|
|
82
92
|
};
|
|
83
93
|
export declare const SUMX2MY2: {
|
|
84
94
|
description: string;
|
|
85
95
|
args: import("..").ArgDefinition[];
|
|
86
|
-
compute: (arrayX: Arg, arrayY: Arg) =>
|
|
96
|
+
compute: (arrayX: Arg, arrayY: Arg) => EvaluationError | {
|
|
97
|
+
value: number;
|
|
98
|
+
};
|
|
87
99
|
isExported: true;
|
|
88
100
|
};
|
|
89
101
|
export declare const SUMX2PY2: {
|
|
90
102
|
description: string;
|
|
91
103
|
args: import("..").ArgDefinition[];
|
|
92
|
-
compute: (arrayX: Arg, arrayY: Arg) =>
|
|
104
|
+
compute: (arrayX: Arg, arrayY: Arg) => EvaluationError | {
|
|
105
|
+
value: number;
|
|
106
|
+
};
|
|
93
107
|
isExported: true;
|
|
94
108
|
};
|
|
95
109
|
export declare const SUMXMY2: {
|
|
96
110
|
description: string;
|
|
97
111
|
args: import("..").ArgDefinition[];
|
|
98
|
-
compute: (arrayX: Arg, arrayY: Arg) =>
|
|
112
|
+
compute: (arrayX: Arg, arrayY: Arg) => EvaluationError | {
|
|
113
|
+
value: number;
|
|
114
|
+
};
|
|
99
115
|
isExported: true;
|
|
100
116
|
};
|
|
101
117
|
export declare const TOCOL: {
|
|
102
118
|
description: string;
|
|
103
119
|
args: import("..").ArgDefinition[];
|
|
104
|
-
|
|
120
|
+
computeArray: (this: import("..").EvalContext, array: Arg, ignore?: Maybe<FunctionResultObject>, scanByColumn?: Maybe<FunctionResultObject>) => NotAvailableError | FunctionResultObject[][];
|
|
105
121
|
isExported: true;
|
|
106
122
|
};
|
|
107
123
|
export declare const TOROW: {
|
|
108
124
|
description: string;
|
|
109
125
|
args: import("..").ArgDefinition[];
|
|
110
|
-
|
|
126
|
+
computeArray: (this: import("..").EvalContext, array: Arg, ignore?: Maybe<FunctionResultObject>, scanByColumn?: Maybe<FunctionResultObject>) => NotAvailableError | FunctionResultObject[][];
|
|
111
127
|
isExported: true;
|
|
112
128
|
};
|
|
113
129
|
export declare const TRANSPOSE: {
|
|
114
130
|
description: string;
|
|
115
131
|
args: import("..").ArgDefinition[];
|
|
116
|
-
|
|
132
|
+
computeArray: (arg: Arg) => Matrix<FunctionResultObject>;
|
|
117
133
|
isExported: true;
|
|
118
134
|
};
|
|
119
135
|
export declare const VSTACK: {
|
|
120
136
|
description: string;
|
|
121
137
|
args: import("..").ArgDefinition[];
|
|
122
|
-
|
|
138
|
+
computeArray: (...ranges: Arg[]) => EvaluationError | Matrix<FunctionResultObject>;
|
|
123
139
|
isExported: true;
|
|
124
140
|
};
|
|
125
141
|
export declare const WRAPCOLS: {
|
|
126
142
|
description: string;
|
|
127
143
|
args: import("..").ArgDefinition[];
|
|
128
|
-
|
|
144
|
+
computeArray: (this: import("..").EvalContext, range: Arg, wrapCount: Maybe<FunctionResultObject>, padWith?: Maybe<FunctionResultObject>) => EvaluationError | Matrix<FunctionResultObject>;
|
|
129
145
|
isExported: true;
|
|
130
146
|
};
|
|
131
147
|
export declare const WRAPROWS: {
|
|
132
148
|
description: string;
|
|
133
149
|
args: import("..").ArgDefinition[];
|
|
134
|
-
|
|
150
|
+
computeArray: (this: import("..").EvalContext, range: Arg, wrapCount: Maybe<FunctionResultObject>, padWith?: Maybe<FunctionResultObject>) => EvaluationError | Matrix<FunctionResultObject>;
|
|
135
151
|
isExported: true;
|
|
136
152
|
};
|
|
137
153
|
export declare const ARRAYTOTEXT: {
|
|
@@ -139,6 +155,8 @@ export declare const ARRAYTOTEXT: {
|
|
|
139
155
|
args: import("..").ArgDefinition[];
|
|
140
156
|
compute: (this: import("..").EvalContext, array: Matrix<{
|
|
141
157
|
value: string;
|
|
142
|
-
}>, format?: Maybe<FunctionResultObject>) =>
|
|
158
|
+
}>, format?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
159
|
+
value: string;
|
|
160
|
+
};
|
|
143
161
|
isExported: true;
|
|
144
162
|
};
|
|
@@ -8,13 +8,17 @@ export declare const DAVERAGE: {
|
|
|
8
8
|
export declare const DCOUNT: {
|
|
9
9
|
description: string;
|
|
10
10
|
args: import("..").ArgDefinition[];
|
|
11
|
-
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) =>
|
|
11
|
+
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) => {
|
|
12
|
+
value: number;
|
|
13
|
+
};
|
|
12
14
|
isExported: true;
|
|
13
15
|
};
|
|
14
16
|
export declare const DCOUNTA: {
|
|
15
17
|
description: string;
|
|
16
18
|
args: import("..").ArgDefinition[];
|
|
17
|
-
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) =>
|
|
19
|
+
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) => {
|
|
20
|
+
value: number;
|
|
21
|
+
};
|
|
18
22
|
isExported: true;
|
|
19
23
|
};
|
|
20
24
|
export declare const DGET: {
|
|
@@ -44,13 +48,17 @@ export declare const DPRODUCT: {
|
|
|
44
48
|
export declare const DSTDEV: {
|
|
45
49
|
description: string;
|
|
46
50
|
args: import("..").ArgDefinition[];
|
|
47
|
-
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) =>
|
|
51
|
+
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) => {
|
|
52
|
+
value: number;
|
|
53
|
+
};
|
|
48
54
|
isExported: true;
|
|
49
55
|
};
|
|
50
56
|
export declare const DSTDEVP: {
|
|
51
57
|
description: string;
|
|
52
58
|
args: import("..").ArgDefinition[];
|
|
53
|
-
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) =>
|
|
59
|
+
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) => {
|
|
60
|
+
value: number;
|
|
61
|
+
};
|
|
54
62
|
isExported: true;
|
|
55
63
|
};
|
|
56
64
|
export declare const DSUM: {
|
|
@@ -62,12 +70,16 @@ export declare const DSUM: {
|
|
|
62
70
|
export declare const DVAR: {
|
|
63
71
|
description: string;
|
|
64
72
|
args: import("..").ArgDefinition[];
|
|
65
|
-
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) =>
|
|
73
|
+
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) => {
|
|
74
|
+
value: number;
|
|
75
|
+
};
|
|
66
76
|
isExported: true;
|
|
67
77
|
};
|
|
68
78
|
export declare const DVARP: {
|
|
69
79
|
description: string;
|
|
70
80
|
args: import("..").ArgDefinition[];
|
|
71
|
-
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) =>
|
|
81
|
+
compute: (this: import("..").EvalContext, database: Matrix<FunctionResultObject>, field: Maybe<FunctionResultObject>, criteria: Matrix<FunctionResultObject>) => {
|
|
82
|
+
value: number;
|
|
83
|
+
};
|
|
72
84
|
isExported: true;
|
|
73
85
|
};
|
|
@@ -12,79 +12,107 @@ export declare const DATE: {
|
|
|
12
12
|
export declare const DATEDIF: {
|
|
13
13
|
description: string;
|
|
14
14
|
args: import("..").ArgDefinition[];
|
|
15
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, unit: Maybe<FunctionResultObject>) =>
|
|
15
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, unit: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
16
|
+
value: number;
|
|
17
|
+
};
|
|
16
18
|
isExported: true;
|
|
17
19
|
};
|
|
18
20
|
export declare const DATEVALUE: {
|
|
19
21
|
description: string;
|
|
20
22
|
args: import("..").ArgDefinition[];
|
|
21
|
-
compute: (this: import("..").EvalContext, dateString: Maybe<FunctionResultObject>) =>
|
|
23
|
+
compute: (this: import("..").EvalContext, dateString: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
24
|
+
value: number;
|
|
25
|
+
};
|
|
22
26
|
isExported: true;
|
|
23
27
|
};
|
|
24
28
|
export declare const DAY: {
|
|
25
29
|
description: string;
|
|
26
30
|
args: import("..").ArgDefinition[];
|
|
27
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
31
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
32
|
+
value: number;
|
|
33
|
+
};
|
|
28
34
|
isExported: true;
|
|
29
35
|
};
|
|
30
36
|
export declare const DAYS: {
|
|
31
37
|
description: string;
|
|
32
38
|
args: import("..").ArgDefinition[];
|
|
33
|
-
compute: (this: import("..").EvalContext, endDate: Maybe<FunctionResultObject>, startDate: Maybe<FunctionResultObject>) =>
|
|
39
|
+
compute: (this: import("..").EvalContext, endDate: Maybe<FunctionResultObject>, startDate: Maybe<FunctionResultObject>) => {
|
|
40
|
+
value: number;
|
|
41
|
+
};
|
|
34
42
|
isExported: true;
|
|
35
43
|
};
|
|
36
44
|
export declare const DAYS360: {
|
|
37
45
|
description: string;
|
|
38
46
|
args: import("..").ArgDefinition[];
|
|
39
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, method?: Maybe<FunctionResultObject>) =>
|
|
47
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, method?: Maybe<FunctionResultObject>) => {
|
|
48
|
+
value: number;
|
|
49
|
+
};
|
|
40
50
|
isExported: true;
|
|
41
51
|
};
|
|
42
52
|
export declare const EDATE: {
|
|
43
53
|
description: string;
|
|
44
54
|
args: import("..").ArgDefinition[];
|
|
45
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, months: Maybe<FunctionResultObject>) =>
|
|
55
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, months: Maybe<FunctionResultObject>) => {
|
|
56
|
+
value: number;
|
|
57
|
+
format: string;
|
|
58
|
+
};
|
|
46
59
|
isExported: true;
|
|
47
60
|
};
|
|
48
61
|
export declare const EOMONTH: {
|
|
49
62
|
description: string;
|
|
50
63
|
args: import("..").ArgDefinition[];
|
|
51
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, months: Maybe<FunctionResultObject>) =>
|
|
64
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, months: Maybe<FunctionResultObject>) => {
|
|
65
|
+
value: number;
|
|
66
|
+
format: string;
|
|
67
|
+
};
|
|
52
68
|
isExported: true;
|
|
53
69
|
};
|
|
54
70
|
export declare const HOUR: {
|
|
55
71
|
description: string;
|
|
56
72
|
args: import("..").ArgDefinition[];
|
|
57
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
73
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
74
|
+
value: number;
|
|
75
|
+
};
|
|
58
76
|
isExported: true;
|
|
59
77
|
};
|
|
60
78
|
export declare const ISOWEEKNUM: {
|
|
61
79
|
description: string;
|
|
62
80
|
args: import("..").ArgDefinition[];
|
|
63
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
81
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
82
|
+
value: number;
|
|
83
|
+
};
|
|
64
84
|
isExported: true;
|
|
65
85
|
};
|
|
66
86
|
export declare const MINUTE: {
|
|
67
87
|
description: string;
|
|
68
88
|
args: import("..").ArgDefinition[];
|
|
69
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
89
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
90
|
+
value: number;
|
|
91
|
+
};
|
|
70
92
|
isExported: true;
|
|
71
93
|
};
|
|
72
94
|
export declare const MONTH: {
|
|
73
95
|
description: string;
|
|
74
96
|
args: import("..").ArgDefinition[];
|
|
75
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
97
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
98
|
+
value: number;
|
|
99
|
+
};
|
|
76
100
|
isExported: true;
|
|
77
101
|
};
|
|
78
102
|
export declare const NETWORKDAYS: {
|
|
79
103
|
description: string;
|
|
80
104
|
args: import("..").ArgDefinition[];
|
|
81
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, holidays: Arg) =>
|
|
105
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, holidays: Arg) => {
|
|
106
|
+
value: number;
|
|
107
|
+
};
|
|
82
108
|
isExported: true;
|
|
83
109
|
};
|
|
84
110
|
export declare const NETWORKDAYS_INTL: {
|
|
85
111
|
description: string;
|
|
86
112
|
args: import("..").ArgDefinition[];
|
|
87
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, weekend: Maybe<FunctionResultObject>, holidays: Arg) =>
|
|
113
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, weekend: Maybe<FunctionResultObject>, holidays: Arg) => {
|
|
114
|
+
value: number;
|
|
115
|
+
};
|
|
88
116
|
isExported: true;
|
|
89
117
|
};
|
|
90
118
|
export declare const NOW: {
|
|
@@ -96,7 +124,9 @@ export declare const NOW: {
|
|
|
96
124
|
export declare const SECOND: {
|
|
97
125
|
description: string;
|
|
98
126
|
args: import("..").ArgDefinition[];
|
|
99
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
127
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
128
|
+
value: number;
|
|
129
|
+
};
|
|
100
130
|
isExported: true;
|
|
101
131
|
};
|
|
102
132
|
export declare const TIME: {
|
|
@@ -111,7 +141,9 @@ export declare const TIME: {
|
|
|
111
141
|
export declare const TIMEVALUE: {
|
|
112
142
|
description: string;
|
|
113
143
|
args: import("..").ArgDefinition[];
|
|
114
|
-
compute: (this: import("..").EvalContext, timeString: Maybe<FunctionResultObject>) =>
|
|
144
|
+
compute: (this: import("..").EvalContext, timeString: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
145
|
+
value: number;
|
|
146
|
+
};
|
|
115
147
|
isExported: true;
|
|
116
148
|
};
|
|
117
149
|
export declare const TODAY: {
|
|
@@ -123,13 +155,17 @@ export declare const TODAY: {
|
|
|
123
155
|
export declare const WEEKDAY: {
|
|
124
156
|
description: string;
|
|
125
157
|
args: import("..").ArgDefinition[];
|
|
126
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>, type?: Maybe<FunctionResultObject>) =>
|
|
158
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>, type?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
159
|
+
value: number;
|
|
160
|
+
};
|
|
127
161
|
isExported: true;
|
|
128
162
|
};
|
|
129
163
|
export declare const WEEKNUM: {
|
|
130
164
|
description: string;
|
|
131
165
|
args: import("..").ArgDefinition[];
|
|
132
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>, type?: Maybe<FunctionResultObject>) =>
|
|
166
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>, type?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
167
|
+
value: number;
|
|
168
|
+
};
|
|
133
169
|
isExported: true;
|
|
134
170
|
};
|
|
135
171
|
export declare const WORKDAY: {
|
|
@@ -153,13 +189,17 @@ export declare const WORKDAY_INTL: {
|
|
|
153
189
|
export declare const YEAR: {
|
|
154
190
|
description: string;
|
|
155
191
|
args: import("..").ArgDefinition[];
|
|
156
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
192
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
193
|
+
value: number;
|
|
194
|
+
};
|
|
157
195
|
isExported: true;
|
|
158
196
|
};
|
|
159
197
|
export declare const YEARFRAC: {
|
|
160
198
|
description: string;
|
|
161
199
|
args: import("..").ArgDefinition[];
|
|
162
|
-
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, dayCountConvention?: Maybe<FunctionResultObject>) =>
|
|
200
|
+
compute: (this: import("..").EvalContext, startDate: Maybe<FunctionResultObject>, endDate: Maybe<FunctionResultObject>, dayCountConvention?: Maybe<FunctionResultObject>) => EvaluationError | {
|
|
201
|
+
value: number;
|
|
202
|
+
};
|
|
163
203
|
};
|
|
164
204
|
export declare const MONTH_START: {
|
|
165
205
|
description: string;
|
|
@@ -169,17 +209,25 @@ export declare const MONTH_START: {
|
|
|
169
209
|
export declare const MONTH_END: {
|
|
170
210
|
description: string;
|
|
171
211
|
args: import("..").ArgDefinition[];
|
|
172
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
212
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
213
|
+
value: number;
|
|
214
|
+
format: string;
|
|
215
|
+
};
|
|
173
216
|
};
|
|
174
217
|
export declare const QUARTER: {
|
|
175
218
|
description: string;
|
|
176
219
|
args: import("..").ArgDefinition[];
|
|
177
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
220
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
221
|
+
value: number;
|
|
222
|
+
};
|
|
178
223
|
};
|
|
179
224
|
export declare const QUARTER_START: {
|
|
180
225
|
description: string;
|
|
181
226
|
args: import("..").ArgDefinition[];
|
|
182
|
-
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) =>
|
|
227
|
+
compute: (this: import("..").EvalContext, date: Maybe<FunctionResultObject>) => {
|
|
228
|
+
value: number;
|
|
229
|
+
format: string;
|
|
230
|
+
};
|
|
183
231
|
};
|
|
184
232
|
export declare const QUARTER_END: {
|
|
185
233
|
description: string;
|