@odoo/o-spreadsheet 19.5.0-alpha.0 → 19.5.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o_spreadsheet.cjs +54635 -52850
- package/dist/o_spreadsheet.css +95 -44
- package/dist/o_spreadsheet.esm.js +54380 -52595
- package/dist/o_spreadsheet.iife.js +54407 -52622
- package/dist/o_spreadsheet.min.iife.js +403 -403
- package/dist/o_spreadsheet.xml +290 -167
- package/dist/types/actions/action.d.ts +1 -7
- package/dist/types/actions/data_actions.d.ts +1 -0
- package/dist/types/actions/menu_items_actions.d.ts +2 -0
- package/dist/types/clipboard_handlers/default_clipboard.d.ts +1 -1
- package/dist/types/collaborative/ot/ot_helpers.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/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_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/gauge/gauge_chart_component.d.ts +1 -0
- package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +3 -0
- package/dist/types/components/figures/figure/figure.d.ts +8 -9
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +7 -2
- package/dist/types/components/figures/figure_chart/figure_chart.d.ts +1 -2
- package/dist/types/components/figures/figure_container/figure_container.d.ts +4 -2
- 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/grid/grid.d.ts +8 -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 +6 -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 +3 -0
- package/dist/types/components/headers_overlay/unhide_headers.d.ts +4 -0
- package/dist/types/components/helpers/dom_helpers.d.ts +2 -0
- package/dist/types/components/helpers/figure_snap_helper.d.ts +3 -3
- package/dist/types/components/helpers/wheel_hook.d.ts +1 -1
- package/dist/types/components/helpers/zoom.d.ts +1 -5
- 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 +1 -0
- 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/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/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 +64 -0
- package/dist/types/components/side_panel/chart/common.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/criterion_form/calendar_button/calendar_button.d.ts +13 -0
- package/dist/types/components/side_panel/criterion_form/date_criterion/date_criterion.d.ts +2 -0
- package/dist/types/components/side_panel/criterion_form/double_input_criterion/double_input_criterion.d.ts +3 -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_store.d.ts +1 -0
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +0 -2
- 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 +1 -1
- 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/small_bottom_bar/small_bottom_bar.d.ts +1 -0
- package/dist/types/components/spreadsheet/spreadsheet.d.ts +2 -0
- package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +2 -1
- package/dist/types/components/standalone_viewport/standalone_viewport.d.ts +56 -0
- package/dist/types/components/standalone_viewport/standalone_viewport_store.d.ts +28 -0
- package/dist/types/components/tables/hovered_table_store.d.ts +3 -6
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +1 -0
- package/dist/types/components/top_bar/zoom_editor/zoom_editor.d.ts +2 -1
- package/dist/types/constants.d.ts +4 -0
- package/dist/types/formulas/code_builder.d.ts +2 -1
- package/dist/types/formulas/compiler.d.ts +7 -0
- package/dist/types/functions/create_compute_function.d.ts +4 -3
- package/dist/types/functions/function_registry.d.ts +1 -5
- package/dist/types/functions/helper_matrices.d.ts +1 -0
- package/dist/types/functions/helper_statistical.d.ts +6 -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 +70 -24
- package/dist/types/functions/module_web.d.ts +3 -1
- package/dist/types/helpers/carousel_helpers.d.ts +8 -3
- package/dist/types/helpers/figures/chart.d.ts +2 -0
- package/dist/types/helpers/figures/charts/chart_common.d.ts +0 -2
- package/dist/types/helpers/figures/charts/scorecard_chart_config_builder.d.ts +2 -0
- package/dist/types/helpers/figures/figure/figure.d.ts +3 -2
- package/dist/types/helpers/internal_viewport.d.ts +20 -10
- package/dist/types/helpers/misc.d.ts +2 -0
- package/dist/types/helpers/pivot/pivot_helpers.d.ts +2 -2
- package/dist/types/helpers/pivot/pivot_highlight.d.ts +2 -2
- package/dist/types/helpers/rectangle.d.ts +4 -0
- package/dist/types/helpers/text_helper.d.ts +6 -1
- package/dist/types/helpers/ui/split_to_columns_interactive.d.ts +1 -1
- package/dist/types/helpers/viewport_collection.d.ts +51 -21
- package/dist/types/helpers/zones.d.ts +1 -0
- package/dist/types/index.d.ts +29 -3
- package/dist/types/model.d.ts +1 -0
- 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/pivot.d.ts +1 -0
- package/dist/types/plugins/core/squisher.d.ts +1 -0
- package/dist/types/plugins/core_plugin.d.ts +7 -3
- package/dist/types/plugins/ui_core_views/cell_evaluation/evaluation_plugin.d.ts +10 -3
- package/dist/types/plugins/ui_core_views/pivot_ui.d.ts +3 -0
- package/dist/types/plugins/ui_feature/collaborative.d.ts +2 -1
- 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_stateful/carousel_ui.d.ts +2 -2
- package/dist/types/plugins/{ui_feature → ui_stateful}/figure.d.ts +4 -0
- package/dist/types/plugins/ui_stateful/filter_evaluation.d.ts +2 -3
- package/dist/types/plugins/ui_stateful/header_positions.d.ts +2 -1
- package/dist/types/registries/chart_registry.d.ts +3 -0
- package/dist/types/registries/data_source_registry.d.ts +15 -0
- package/dist/types/registries/figures_registry.d.ts +4 -1
- 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/checkbox_toggle.d.ts +9 -0
- package/dist/types/stores/client_focus_store.d.ts +1 -0
- package/dist/types/stores/data_cleanup_store.d.ts +31 -0
- package/dist/types/stores/main_viewport_store.d.ts +11 -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 +87 -0
- package/dist/types/stores/zoom_store.d.ts +14 -0
- package/dist/types/types/chart/radar_chart.d.ts +1 -1
- package/dist/types/types/chart/scorecard_chart.d.ts +2 -0
- package/dist/types/types/commands.d.ts +25 -58
- package/dist/types/types/core_getters.d.ts +3 -1
- package/dist/types/types/figure.d.ts +26 -3
- package/dist/types/types/functions.d.ts +14 -4
- package/dist/types/types/getters.d.ts +28 -11
- package/dist/types/types/misc.d.ts +19 -1
- package/dist/types/types/range.d.ts +1 -0
- package/dist/types/types/rendering.d.ts +1 -0
- package/dist/types/types/store_engine.d.ts +10 -3
- package/package.json +2 -2
- 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/split_to_columns.d.ts +0 -21
- 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/plugins/{ui_feature → ui_stateful}/cell_computed_style.d.ts +0 -0
- /package/dist/types/plugins/{ui_feature → ui_stateful}/header_visibility_ui.d.ts +0 -0
- /package/dist/types/plugins/{ui_feature → ui_stateful}/table_computed_style.d.ts +0 -0
|
@@ -30,7 +30,7 @@ export declare class SidePanelStore extends SpreadsheetStore {
|
|
|
30
30
|
}) | undefined;
|
|
31
31
|
secondaryPanel: PanelInfo | undefined;
|
|
32
32
|
availableWidth: number;
|
|
33
|
-
screenWidthStore: import("../../../types/store_engine").
|
|
33
|
+
screenWidthStore: import("../../../types/store_engine").Store<ScreenWidthStore>;
|
|
34
34
|
get isMainPanelOpen(): boolean;
|
|
35
35
|
get isSecondaryPanelOpen(): boolean;
|
|
36
36
|
get mainPanelProps(): SidePanelComponentProps | undefined;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import { NEWLINE } from "../../../constants";
|
|
2
1
|
import { Component } from "../../../owl3_compatibility_layer";
|
|
3
2
|
import { ValueAndLabel } from "../../../types/misc";
|
|
4
3
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
4
|
+
import { Store } from "../../../types/store_engine";
|
|
5
5
|
import { Select } from "../../select/select";
|
|
6
6
|
import { ValidationMessages } from "../../validation_messages/validation_messages";
|
|
7
7
|
import { Checkbox } from "../components/checkbox/checkbox";
|
|
8
8
|
import { Section } from "../components/section/section";
|
|
9
|
-
|
|
10
|
-
interface State {
|
|
11
|
-
separatorValue: SeparatorValue;
|
|
12
|
-
customSeparator: string;
|
|
13
|
-
addNewColumns: boolean;
|
|
14
|
-
}
|
|
9
|
+
import { SplitToColumnsSeparatorValue, SplitToColumnsStore } from "./split_to_columns_store";
|
|
15
10
|
export declare class SplitIntoColumnsPanel extends Component<SpreadsheetChildEnv> {
|
|
16
11
|
static template: string;
|
|
17
12
|
static components: {
|
|
@@ -23,16 +18,14 @@ export declare class SplitIntoColumnsPanel extends Component<SpreadsheetChildEnv
|
|
|
23
18
|
protected props: import("@odoo/owl").Props<{
|
|
24
19
|
onCloseSidePanel: () => void;
|
|
25
20
|
}>;
|
|
26
|
-
|
|
21
|
+
store: Store<SplitToColumnsStore>;
|
|
27
22
|
setup(): void;
|
|
28
|
-
onSeparatorChange(value:
|
|
23
|
+
onSeparatorChange(value: SplitToColumnsSeparatorValue): void;
|
|
29
24
|
updateCustomSeparator(ev: InputEvent): void;
|
|
30
25
|
updateAddNewColumnsCheckbox(addNewColumns: boolean): void;
|
|
31
26
|
confirm(): void;
|
|
32
27
|
get errorMessages(): string[];
|
|
33
28
|
get warningMessages(): string[];
|
|
34
|
-
get separatorValue(): string;
|
|
35
29
|
get separators(): ValueAndLabel[];
|
|
36
30
|
get isConfirmDisabled(): boolean;
|
|
37
31
|
}
|
|
38
|
-
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { NEWLINE } from "../../../constants";
|
|
2
|
+
import { SpreadsheetStore } from "../../../stores/spreadsheet_store";
|
|
3
|
+
import { Command, DispatchResult } from "../../../types/commands";
|
|
4
|
+
export type SplitToColumnsSeparatorValue = "auto" | "custom" | " " | "," | ";" | typeof NEWLINE;
|
|
5
|
+
export declare class SplitToColumnsStore extends SpreadsheetStore {
|
|
6
|
+
mutators: readonly ["setSeparatorValue", "setCustomSeparator", "setShouldAddNewColumns"];
|
|
7
|
+
storeGetters: readonly ["canSplitIntoColumns"];
|
|
8
|
+
separatorValue: SplitToColumnsSeparatorValue;
|
|
9
|
+
customSeparator: string;
|
|
10
|
+
addNewColumns: boolean;
|
|
11
|
+
setSeparatorValue(separatorValue: SplitToColumnsSeparatorValue): void;
|
|
12
|
+
setCustomSeparator(customSeparator: string): void;
|
|
13
|
+
setShouldAddNewColumns(addNewColumns: boolean): void;
|
|
14
|
+
canSplitIntoColumns(args: {
|
|
15
|
+
force: boolean;
|
|
16
|
+
}): DispatchResult;
|
|
17
|
+
handle(cmd: Command): void;
|
|
18
|
+
get automaticSeparatorOfSelection(): string;
|
|
19
|
+
private getAutoSeparatorForString;
|
|
20
|
+
private splitIntoColumns;
|
|
21
|
+
private getSplittedCols;
|
|
22
|
+
private splitAndRemoveTrailingEmpty;
|
|
23
|
+
private willSplittedColsOverwriteContent;
|
|
24
|
+
private removeMergesInSplitZone;
|
|
25
|
+
private addColsToAvoidCollisions;
|
|
26
|
+
private getColsToAddToAvoidCollision;
|
|
27
|
+
private addColumnsToNotOverflowSheet;
|
|
28
|
+
private checkSingleColSelected;
|
|
29
|
+
private checkNonEmptySelector;
|
|
30
|
+
private checkNotOverwritingContent;
|
|
31
|
+
private checkSeparatorInSelection;
|
|
32
|
+
get separatorString(): string;
|
|
33
|
+
}
|
|
@@ -43,6 +43,8 @@ export declare class Spreadsheet extends Component<SpreadsheetChildEnv> {
|
|
|
43
43
|
private isViewportTooSmall;
|
|
44
44
|
private notificationStore;
|
|
45
45
|
private composerFocusStore;
|
|
46
|
+
private viewStore;
|
|
47
|
+
private zoomStore;
|
|
46
48
|
get model(): Model;
|
|
47
49
|
getStyle(): string;
|
|
48
50
|
setup(): void;
|
|
@@ -11,9 +11,10 @@ export declare class StandaloneGridCanvas extends Component<SpreadsheetChildEnv>
|
|
|
11
11
|
renderingCtx: {
|
|
12
12
|
sheetId: import("../..").UID;
|
|
13
13
|
hideGridLines?: boolean | undefined;
|
|
14
|
-
selectedZones: import("../..").Zone[];
|
|
15
14
|
viewports: import("../../helpers/viewport_collection").ViewportCollection;
|
|
15
|
+
selectedZones: import("../..").Zone[];
|
|
16
16
|
dpr: number;
|
|
17
|
+
hideFrozenPaneBorder?: boolean | undefined;
|
|
17
18
|
activeCols: Set<number>;
|
|
18
19
|
activeRows: Set<number>;
|
|
19
20
|
activePosition: import("../..").CellPosition | undefined;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Component } from "../../owl3_compatibility_layer";
|
|
2
|
+
import { RendererStore } from "../../stores/renderer_store";
|
|
3
|
+
import { ViewportsStore } from "../../stores/viewports_store";
|
|
4
|
+
import { ZoomStore } from "../../stores/zoom_store";
|
|
5
|
+
import { HeaderIndex } from "../../types/misc";
|
|
6
|
+
import { Rect } from "../../types/rendering";
|
|
7
|
+
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
8
|
+
import { Store } from "../../types/store_engine";
|
|
9
|
+
import { ClickableCellsOverlay } from "../clickable_cells_overlay/clickable_cells_overlay";
|
|
10
|
+
import { GridOverlay } from "../grid_overlay/grid_overlay";
|
|
11
|
+
import { GridPopover } from "../grid_popover/grid_popover";
|
|
12
|
+
import { CellPopoverStore } from "../popover/cell_popover_store";
|
|
13
|
+
import { VerticalScrollBar } from "../scrollbar/scrollbar_vertical";
|
|
14
|
+
interface ColResizer {
|
|
15
|
+
col: HeaderIndex;
|
|
16
|
+
style: string;
|
|
17
|
+
}
|
|
18
|
+
interface DnDResizeState {
|
|
19
|
+
col: HeaderIndex | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare class StandaloneViewport extends Component<SpreadsheetChildEnv> {
|
|
22
|
+
static template: string;
|
|
23
|
+
static components: {
|
|
24
|
+
VerticalScrollBar: typeof VerticalScrollBar;
|
|
25
|
+
GridOverlay: typeof GridOverlay;
|
|
26
|
+
ClickableCellsOverlay: typeof ClickableCellsOverlay;
|
|
27
|
+
GridPopover: typeof GridPopover;
|
|
28
|
+
};
|
|
29
|
+
protected props: import("@odoo/owl").PropsWithDefaults<{
|
|
30
|
+
range: import("../..").Range;
|
|
31
|
+
canResizeColumns: boolean;
|
|
32
|
+
onResizeColumns?: ((columnWeights: number[] | undefined) => void) | undefined;
|
|
33
|
+
columnWeights?: number[] | undefined;
|
|
34
|
+
}, "canResizeColumns">;
|
|
35
|
+
private canvasRef;
|
|
36
|
+
private containerRef;
|
|
37
|
+
private store;
|
|
38
|
+
dndState: DnDResizeState;
|
|
39
|
+
onMouseWheel: (ev: WheelEvent) => void;
|
|
40
|
+
rendererStore: Store<RendererStore>;
|
|
41
|
+
viewStore: Store<ViewportsStore>;
|
|
42
|
+
zoomStore: Store<ZoomStore>;
|
|
43
|
+
cellPopoverStore: Store<CellPopoverStore>;
|
|
44
|
+
setup(): void;
|
|
45
|
+
get containerWidth(): number;
|
|
46
|
+
get containerHeight(): number;
|
|
47
|
+
get hasVerticalScrollBar(): boolean | 0;
|
|
48
|
+
get scrollBarContainerStyle(): string;
|
|
49
|
+
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex, ev: MouseEvent): void;
|
|
50
|
+
get gridOverlayDimensions(): string;
|
|
51
|
+
get colResizers(): ColResizer[];
|
|
52
|
+
onResizerPointerDown(ev: MouseEvent, resizer: ColResizer): void;
|
|
53
|
+
onResizerDoubleClick(): void;
|
|
54
|
+
getGridRect(): Rect;
|
|
55
|
+
}
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SpreadsheetStore } from "../../stores/spreadsheet_store";
|
|
2
|
+
import { Command } from "../../types/commands";
|
|
3
|
+
import { HeaderDimensions, HeaderIndex, UID } from "../../types/misc";
|
|
4
|
+
import { Range } from "../../types/range";
|
|
5
|
+
import { GridRenderingContext } from "../../types/rendering";
|
|
6
|
+
import { Get } from "../../types/store_engine";
|
|
7
|
+
export declare class StandaloneViewportStore extends SpreadsheetStore {
|
|
8
|
+
mutators: readonly ["setContainerSize", "setRange", "resizeColumn", "setCustomColWeights"];
|
|
9
|
+
cachedColDimensions: Record<HeaderIndex, HeaderDimensions> | undefined;
|
|
10
|
+
private containerWidth;
|
|
11
|
+
private containerHeight;
|
|
12
|
+
private range;
|
|
13
|
+
private customColWeights;
|
|
14
|
+
private viewStore;
|
|
15
|
+
constructor(get: Get, range: Range, customColWeights?: number[]);
|
|
16
|
+
handle(cmd: Command): void;
|
|
17
|
+
setContainerSize(width: number, height: number): "noStateChange" | undefined;
|
|
18
|
+
setRange(range: Range): "noStateChange" | undefined;
|
|
19
|
+
setCustomColWeights(weights: number[] | undefined): "noStateChange" | undefined;
|
|
20
|
+
resizeColumn(resizedCol: HeaderIndex, weightDelta: number, weightsAtStartOfDrag: number[]): void;
|
|
21
|
+
private changeColumnWeights;
|
|
22
|
+
get renderingContext(): Omit<GridRenderingContext, "ctx" | "thinLineWidth">;
|
|
23
|
+
get headerDimensionsCallback(): (sheetId: UID, dimension: "COL" | "ROW", index: number) => HeaderDimensions;
|
|
24
|
+
getHeaderDimensions(sheetId: UID, dimension: "COL" | "ROW", index: number): HeaderDimensions;
|
|
25
|
+
get columnWeights(): number[];
|
|
26
|
+
private computeColDimensions;
|
|
27
|
+
private normalizeWeights;
|
|
28
|
+
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { PositionMap } from "../../helpers/cells/position_map";
|
|
2
2
|
import { SpreadsheetStore } from "../../stores/spreadsheet_store";
|
|
3
|
-
import {
|
|
4
|
-
import { Color, Position } from "../../types/misc";
|
|
3
|
+
import { CellPosition, Color } from "../../types/misc";
|
|
5
4
|
export declare class HoveredTableStore extends SpreadsheetStore {
|
|
6
5
|
mutators: readonly ["clear", "hover"];
|
|
7
|
-
|
|
8
|
-
row: number | undefined;
|
|
6
|
+
position: CellPosition | undefined;
|
|
9
7
|
overlayColors: PositionMap<Color>;
|
|
10
|
-
|
|
11
|
-
hover(position: Partial<Position>): "noStateChange" | undefined;
|
|
8
|
+
hover(position: CellPosition | undefined): "noStateChange" | undefined;
|
|
12
9
|
clear(): void;
|
|
13
10
|
private computeOverlay;
|
|
14
11
|
}
|
|
@@ -16,6 +16,7 @@ export declare class TableResizer extends Component<SpreadsheetChildEnv> {
|
|
|
16
16
|
clientY: number;
|
|
17
17
|
}, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void, startScrollDirection?: import("../../helpers/drag_and_drop_grid_hook").DnDDirection) => void;
|
|
18
18
|
};
|
|
19
|
+
private viewStore;
|
|
19
20
|
setup(): void;
|
|
20
21
|
get containerStyle(): string;
|
|
21
22
|
onMouseDown(ev: PointerEvent): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Component } from "../../../owl3_compatibility_layer";
|
|
1
2
|
import { SpreadsheetChildEnv } from "../../../types/spreadsheet_env";
|
|
2
3
|
import { ToolBarDropdownStore } from "../../helpers/top_bar_tool_hook";
|
|
3
4
|
import { NumberEditor } from "../../number_editor/number_editor";
|
|
4
|
-
import { Component } from "../../../owl3_compatibility_layer";
|
|
5
5
|
export declare class ToolBarZoom extends Component<SpreadsheetChildEnv> {
|
|
6
6
|
static template: string;
|
|
7
7
|
static components: {
|
|
@@ -11,6 +11,7 @@ export declare class ToolBarZoom extends Component<SpreadsheetChildEnv> {
|
|
|
11
11
|
class: string;
|
|
12
12
|
}>;
|
|
13
13
|
topBarToolStore: ToolBarDropdownStore;
|
|
14
|
+
private zoomStore;
|
|
14
15
|
valueList: number[];
|
|
15
16
|
setup(): void;
|
|
16
17
|
get currentFontSize(): number;
|
|
@@ -64,6 +64,9 @@ export declare const MENU_SEPARATOR_BORDER_WIDTH = 1;
|
|
|
64
64
|
export declare const MENU_SEPARATOR_PADDING = 5;
|
|
65
65
|
export declare const MENU_SEPARATOR_HEIGHT: number;
|
|
66
66
|
export declare const ZOOM_VALUES: number[];
|
|
67
|
+
export declare const MIN_ZOOM = 0.5;
|
|
68
|
+
export declare const MAX_ZOOM = 2;
|
|
69
|
+
export declare const DEFAULT_ZOOM = 1;
|
|
67
70
|
export declare const DEFAULT_STYLE: {
|
|
68
71
|
align: "default";
|
|
69
72
|
verticalAlign: "bottom";
|
|
@@ -95,6 +98,7 @@ export declare const DEFAULT_NUMBER_STYLE: {
|
|
|
95
98
|
};
|
|
96
99
|
export declare const DEFAULT_VERTICAL_ALIGN: "bottom";
|
|
97
100
|
export declare const DEFAULT_WRAPPING_MODE: "overflow";
|
|
101
|
+
export declare const DEFAULT_TEXT_HIGHLIGHT_PERCENT = 0.25;
|
|
98
102
|
export declare const DEFAULT_FONT_WEIGHT = "400";
|
|
99
103
|
export declare const DEFAULT_FONT_SIZE: number;
|
|
100
104
|
export declare const HEADER_FONT_SIZE = 11;
|
|
@@ -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
1
|
import { CoreGetters } from "../types/core_getters";
|
|
2
|
+
import { ComputeFunction } from "../types/functions";
|
|
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,10 +1,6 @@
|
|
|
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
|
}
|
|
@@ -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;
|
|
@@ -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
|
};
|