@odoo/o-spreadsheet 19.5.0-alpha.9 → 20.1.0-alpha.0
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 +34889 -32633
- package/dist/o_spreadsheet.css +271 -127
- package/dist/o_spreadsheet.esm.js +29707 -27456
- package/dist/o_spreadsheet.iife.js +30429 -28173
- package/dist/o_spreadsheet.min.iife.js +408 -354
- package/dist/o_spreadsheet.xml +303 -239
- package/dist/types/actions/data_actions.d.ts +1 -0
- package/dist/types/actions/menu_items_actions.d.ts +3 -2
- package/dist/types/collaborative/command_squisher.d.ts +1 -1
- package/dist/types/collaborative/session.d.ts +3 -1
- package/dist/types/components/autofill/autofill.d.ts +1 -1
- package/dist/types/components/autofill/autofill_store.d.ts +1 -1
- package/dist/types/components/bottom_bar/bottom_bar_statistic/bottom_bar_statistic.d.ts +3 -0
- package/dist/types/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard.d.ts +1 -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 -1
- package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +1 -1
- package/dist/types/components/figures/figure/figure.d.ts +7 -3
- package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +10 -2
- package/dist/types/components/figures/figure_container/figure_container.d.ts +8 -4
- package/dist/types/components/full_screen_figure/full_screen_figure.d.ts +12 -1
- package/dist/types/components/grid/grid.d.ts +3 -0
- package/dist/types/components/grid_overlay/grid_overlay.d.ts +2 -0
- package/dist/types/components/grid_popover/grid_popover.d.ts +1 -1
- package/dist/types/components/headers_overlay/headers_overlay.d.ts +2 -0
- package/dist/types/components/helpers/chart_drag_and_drop.d.ts +15 -0
- package/dist/types/components/helpers/dom_helpers.d.ts +3 -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 +8 -3
- package/dist/types/components/helpers/zoom.d.ts +0 -14
- package/dist/types/components/highlight/highlight/highlight.d.ts +1 -0
- package/dist/types/components/link/link_editor/link_editor.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/scrollbar/scrollbar_horizontal.d.ts +1 -0
- package/dist/types/components/scrollbar/scrollbar_vertical.d.ts +1 -0
- package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +1 -1
- 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_popover/chart_type_picker_popover.d.ts +0 -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/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/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 +2 -1
- package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +1 -6
- package/dist/types/components/side_panel/side_panel/side_panel_store.d.ts +2 -1
- 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/spreadsheet/spreadsheet.d.ts +11 -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 +395 -1
- package/dist/types/components/standalone_viewport/standalone_viewport.d.ts +8 -4
- package/dist/types/components/standalone_viewport/standalone_viewport_store.d.ts +2 -1
- package/dist/types/components/tables/hovered_table_store.d.ts +6 -7
- package/dist/types/components/tables/table_resizer/table_resizer.d.ts +1 -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 +1 -1
- package/dist/types/constants.d.ts +17 -2
- package/dist/types/formulas/compiler.d.ts +1 -1
- package/dist/types/functions/function_registry.d.ts +3 -0
- package/dist/types/functions/helper_lookup.d.ts +1 -1
- package/dist/types/functions/helpers.d.ts +4 -0
- package/dist/types/functions/module_operators.d.ts +1 -1
- package/dist/types/functions/module_text.d.ts +16 -13
- package/dist/types/functions/module_web.d.ts +1 -1
- package/dist/types/helpers/carousel_helpers.d.ts +8 -1
- 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 +7 -6
- package/dist/types/helpers/figures/charts/chart_common.d.ts +3 -3
- 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/filter_helpers.d.ts +2 -2
- package/dist/types/helpers/links.d.ts +1 -1
- 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_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/viewport_collection.d.ts +2 -6
- package/dist/types/index.d.ts +22 -10
- package/dist/types/model.d.ts +17 -10
- package/dist/types/owl3_compatibility_layer.d.ts +1 -14
- package/dist/types/plugins/core/carousel.d.ts +1 -1
- package/dist/types/plugins/core/image.d.ts +2 -1
- package/dist/types/plugins/core/range.d.ts +4 -2
- package/dist/types/plugins/core/squisher.d.ts +6 -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 +1 -1
- package/dist/types/plugins/{ui_stateful → 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} +7 -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 +5 -5
- 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_stateful/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 +6 -6
- package/dist/types/plugins/evaluation/subtotal_evaluation.d.ts +5 -0
- package/dist/types/plugins/{ui_stateful → 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/color_theme.d.ts +0 -3
- package/dist/types/plugins/ui_feature/geo_features.d.ts +1 -6
- package/dist/types/plugins/ui_plugin.d.ts +1 -4
- package/dist/types/plugins/{ui_core_views → ui_stateful}/cell_icon_plugin.d.ts +2 -2
- package/dist/types/registries/chart_data_source_registry.d.ts +4 -5
- package/dist/types/registries/chart_registry.d.ts +5 -5
- package/dist/types/registries/criterion_registry.d.ts +4 -4
- package/dist/types/registries/evaluation_registry.d.ts +2 -2
- package/dist/types/registries/figures_registry.d.ts +6 -2
- 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/{plugins/ui_stateful/clipboard.d.ts → stores/clipboard_store.d.ts} +11 -11
- package/dist/types/stores/grid_renderer_store.d.ts +3 -2
- package/dist/types/stores/main_viewport_store.d.ts +3 -0
- package/dist/types/stores/viewports_store.d.ts +3 -6
- 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/scorecard_chart.d.ts +3 -4
- package/dist/types/types/collaborative/transport_service.d.ts +4 -1
- package/dist/types/types/commands.d.ts +39 -19
- package/dist/types/types/functions.d.ts +2 -2
- package/dist/types/types/getters.d.ts +102 -21
- package/dist/types/types/model.d.ts +2 -4
- package/dist/types/types/rendering.d.ts +20 -1
- 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/pivot_presence_plugin.d.ts +0 -11
- package/dist/types/plugins/ui_feature/subtotal_evaluation.d.ts +0 -5
- package/dist/types/types/core_getters.d.ts +0 -77
- /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
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { Component } from "../../owl3_compatibility_layer";
|
|
2
2
|
import { RendererStore } from "../../stores/renderer_store";
|
|
3
|
+
import { PropsOf } from "../../types/props_of";
|
|
3
4
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
4
5
|
import { Store } from "../../types/store_engine";
|
|
6
|
+
import { CarouselDataViewPrint } from "./carousel_data_view_print";
|
|
5
7
|
import { FigureRendererStore } from "./figure_renderer_store";
|
|
6
8
|
export declare class StandaloneGridCanvas extends Component<SpreadsheetChildEnv> {
|
|
7
9
|
static template: string;
|
|
10
|
+
static components: {
|
|
11
|
+
CarouselDataViewPrint: typeof CarouselDataViewPrint;
|
|
12
|
+
};
|
|
8
13
|
protected props: import("@odoo/owl").Props<{
|
|
9
14
|
sheetId: import("../..").UID;
|
|
10
15
|
zone: import("../..").Zone;
|
|
@@ -19,10 +24,399 @@ export declare class StandaloneGridCanvas extends Component<SpreadsheetChildEnv>
|
|
|
19
24
|
activeRows: Set<number>;
|
|
20
25
|
activePosition: import("../..").CellPosition | undefined;
|
|
21
26
|
};
|
|
27
|
+
canvas: {
|
|
28
|
+
height: number;
|
|
29
|
+
width: number;
|
|
30
|
+
captureStream: (frameRequestRate?: number) => MediaStream;
|
|
31
|
+
getContext: {
|
|
32
|
+
(contextId: "2d", options?: CanvasRenderingContext2DSettings): CanvasRenderingContext2D | null;
|
|
33
|
+
(contextId: "bitmaprenderer", options?: ImageBitmapRenderingContextSettings): ImageBitmapRenderingContext | null;
|
|
34
|
+
(contextId: "webgl", options?: WebGLContextAttributes): WebGLRenderingContext | null;
|
|
35
|
+
(contextId: "webgl2", options?: WebGLContextAttributes): WebGL2RenderingContext | null;
|
|
36
|
+
(contextId: string, options?: any): RenderingContext | null;
|
|
37
|
+
};
|
|
38
|
+
toBlob: (callback: BlobCallback, type?: string, quality?: number) => void;
|
|
39
|
+
toDataURL: (type?: string, quality?: number) => string;
|
|
40
|
+
transferControlToOffscreen: () => OffscreenCanvas;
|
|
41
|
+
addEventListener: {
|
|
42
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
43
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
44
|
+
};
|
|
45
|
+
removeEventListener: {
|
|
46
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLCanvasElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
47
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
48
|
+
};
|
|
49
|
+
accessKey: string;
|
|
50
|
+
readonly accessKeyLabel: string;
|
|
51
|
+
autocapitalize: string;
|
|
52
|
+
autocorrect: boolean;
|
|
53
|
+
dir: string;
|
|
54
|
+
draggable: boolean;
|
|
55
|
+
hidden: boolean | "until-found";
|
|
56
|
+
inert: boolean;
|
|
57
|
+
innerText: string;
|
|
58
|
+
lang: string;
|
|
59
|
+
readonly offsetHeight: number;
|
|
60
|
+
readonly offsetLeft: number;
|
|
61
|
+
readonly offsetParent: Element | null;
|
|
62
|
+
readonly offsetTop: number;
|
|
63
|
+
readonly offsetWidth: number;
|
|
64
|
+
outerText: string;
|
|
65
|
+
popover: string | null;
|
|
66
|
+
spellcheck: boolean;
|
|
67
|
+
title: string;
|
|
68
|
+
translate: boolean;
|
|
69
|
+
writingSuggestions: string;
|
|
70
|
+
attachInternals: () => ElementInternals;
|
|
71
|
+
click: () => void;
|
|
72
|
+
hidePopover: () => void;
|
|
73
|
+
showPopover: (options?: ShowPopoverOptions) => void;
|
|
74
|
+
togglePopover: (options?: TogglePopoverOptions | boolean) => boolean;
|
|
75
|
+
readonly attributes: NamedNodeMap;
|
|
76
|
+
classList: DOMTokenList;
|
|
77
|
+
className: string;
|
|
78
|
+
readonly clientHeight: number;
|
|
79
|
+
readonly clientLeft: number;
|
|
80
|
+
readonly clientTop: number;
|
|
81
|
+
readonly clientWidth: number;
|
|
82
|
+
readonly currentCSSZoom: number;
|
|
83
|
+
readonly customElementRegistry: CustomElementRegistry | null;
|
|
84
|
+
id: string;
|
|
85
|
+
innerHTML: string;
|
|
86
|
+
readonly localName: string;
|
|
87
|
+
readonly namespaceURI: string | null;
|
|
88
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
89
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
90
|
+
outerHTML: string;
|
|
91
|
+
readonly ownerDocument: Document;
|
|
92
|
+
part: DOMTokenList;
|
|
93
|
+
readonly prefix: string | null;
|
|
94
|
+
readonly scrollHeight: number;
|
|
95
|
+
scrollLeft: number;
|
|
96
|
+
scrollTop: number;
|
|
97
|
+
readonly scrollWidth: number;
|
|
98
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
99
|
+
slot: string;
|
|
100
|
+
readonly tagName: string;
|
|
101
|
+
attachShadow: (init: ShadowRootInit) => ShadowRoot;
|
|
102
|
+
checkVisibility: (options?: CheckVisibilityOptions) => boolean;
|
|
103
|
+
closest: {
|
|
104
|
+
<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
105
|
+
<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
106
|
+
<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
107
|
+
<E extends Element = Element>(selectors: string): E | null;
|
|
108
|
+
};
|
|
109
|
+
computedStyleMap: () => StylePropertyMapReadOnly;
|
|
110
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
111
|
+
getAttributeNS: (namespace: string | null, localName: string) => string | null;
|
|
112
|
+
getAttributeNames: () => string[];
|
|
113
|
+
getAttributeNode: (qualifiedName: string) => Attr | null;
|
|
114
|
+
getAttributeNodeNS: (namespace: string | null, localName: string) => Attr | null;
|
|
115
|
+
getBoundingClientRect: () => DOMRect;
|
|
116
|
+
getClientRects: () => DOMRectList;
|
|
117
|
+
getElementsByClassName: (classNames: string) => HTMLCollectionOf<Element>;
|
|
118
|
+
getElementsByTagName: {
|
|
119
|
+
<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
120
|
+
<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
121
|
+
<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
122
|
+
<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
123
|
+
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
124
|
+
};
|
|
125
|
+
getElementsByTagNameNS: {
|
|
126
|
+
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
127
|
+
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
128
|
+
(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
129
|
+
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
130
|
+
};
|
|
131
|
+
getHTML: (options?: GetHTMLOptions) => string;
|
|
132
|
+
hasAttribute: (qualifiedName: string) => boolean;
|
|
133
|
+
hasAttributeNS: (namespace: string | null, localName: string) => boolean;
|
|
134
|
+
hasAttributes: () => boolean;
|
|
135
|
+
hasPointerCapture: (pointerId: number) => boolean;
|
|
136
|
+
insertAdjacentElement: (where: InsertPosition, element: Element) => Element | null;
|
|
137
|
+
insertAdjacentHTML: (position: InsertPosition, string: string) => void;
|
|
138
|
+
insertAdjacentText: (where: InsertPosition, data: string) => void;
|
|
139
|
+
matches: {
|
|
140
|
+
<K extends keyof HTMLElementTagNameMap>(selectors: K): this is HTMLElementTagNameMap[K];
|
|
141
|
+
<K extends keyof SVGElementTagNameMap>(selectors: K): this is SVGElementTagNameMap[K];
|
|
142
|
+
<K extends keyof MathMLElementTagNameMap>(selectors: K): this is MathMLElementTagNameMap[K];
|
|
143
|
+
(selectors: string): boolean;
|
|
144
|
+
};
|
|
145
|
+
releasePointerCapture: (pointerId: number) => void;
|
|
146
|
+
removeAttribute: (qualifiedName: string) => void;
|
|
147
|
+
removeAttributeNS: (namespace: string | null, localName: string) => void;
|
|
148
|
+
removeAttributeNode: (attr: Attr) => Attr;
|
|
149
|
+
requestFullscreen: (options?: FullscreenOptions) => Promise<void>;
|
|
150
|
+
requestPointerLock: (options?: PointerLockOptions) => Promise<void>;
|
|
151
|
+
scroll: {
|
|
152
|
+
(options?: ScrollToOptions): void;
|
|
153
|
+
(x: number, y: number): void;
|
|
154
|
+
};
|
|
155
|
+
scrollBy: {
|
|
156
|
+
(options?: ScrollToOptions): void;
|
|
157
|
+
(x: number, y: number): void;
|
|
158
|
+
};
|
|
159
|
+
scrollIntoView: (arg?: boolean | ScrollIntoViewOptions) => void;
|
|
160
|
+
scrollTo: {
|
|
161
|
+
(options?: ScrollToOptions): void;
|
|
162
|
+
(x: number, y: number): void;
|
|
163
|
+
};
|
|
164
|
+
setAttribute: (qualifiedName: string, value: string) => void;
|
|
165
|
+
setAttributeNS: (namespace: string | null, qualifiedName: string, value: string) => void;
|
|
166
|
+
setAttributeNode: (attr: Attr) => Attr | null;
|
|
167
|
+
setAttributeNodeNS: (attr: Attr) => Attr | null;
|
|
168
|
+
setHTMLUnsafe: (html: string) => void;
|
|
169
|
+
setPointerCapture: (pointerId: number) => void;
|
|
170
|
+
toggleAttribute: (qualifiedName: string, force?: boolean) => boolean;
|
|
171
|
+
webkitMatchesSelector: (selectors: string) => boolean;
|
|
172
|
+
textContent: string;
|
|
173
|
+
readonly baseURI: string;
|
|
174
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
175
|
+
readonly firstChild: ChildNode | null;
|
|
176
|
+
readonly isConnected: boolean;
|
|
177
|
+
readonly lastChild: ChildNode | null;
|
|
178
|
+
readonly nextSibling: ChildNode | null;
|
|
179
|
+
readonly nodeName: string;
|
|
180
|
+
readonly nodeType: number;
|
|
181
|
+
nodeValue: string | null;
|
|
182
|
+
readonly parentElement: HTMLElement | null;
|
|
183
|
+
readonly parentNode: ParentNode | null;
|
|
184
|
+
readonly previousSibling: ChildNode | null;
|
|
185
|
+
appendChild: <T extends Node>(node: T) => T;
|
|
186
|
+
cloneNode: (subtree?: boolean) => Node;
|
|
187
|
+
compareDocumentPosition: (other: Node) => number;
|
|
188
|
+
contains: (other: Node | null) => boolean;
|
|
189
|
+
getRootNode: (options?: GetRootNodeOptions) => Node;
|
|
190
|
+
hasChildNodes: () => boolean;
|
|
191
|
+
insertBefore: <T extends Node>(node: T, child: Node | null) => T;
|
|
192
|
+
isDefaultNamespace: (namespace: string | null) => boolean;
|
|
193
|
+
isEqualNode: (otherNode: Node | null) => boolean;
|
|
194
|
+
isSameNode: (otherNode: Node | null) => boolean;
|
|
195
|
+
lookupNamespaceURI: (prefix: string | null) => string | null;
|
|
196
|
+
lookupPrefix: (namespace: string | null) => string | null;
|
|
197
|
+
normalize: () => void;
|
|
198
|
+
removeChild: <T extends Node>(child: T) => T;
|
|
199
|
+
replaceChild: <T extends Node>(node: Node, child: T) => T;
|
|
200
|
+
readonly ELEMENT_NODE: 1;
|
|
201
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
202
|
+
readonly TEXT_NODE: 3;
|
|
203
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
204
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
205
|
+
readonly ENTITY_NODE: 6;
|
|
206
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
207
|
+
readonly COMMENT_NODE: 8;
|
|
208
|
+
readonly DOCUMENT_NODE: 9;
|
|
209
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
210
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
211
|
+
readonly NOTATION_NODE: 12;
|
|
212
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
213
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
214
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
215
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
216
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
217
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
218
|
+
dispatchEvent: (event: Event) => boolean;
|
|
219
|
+
ariaActiveDescendantElement: Element | null;
|
|
220
|
+
ariaAtomic: string | null;
|
|
221
|
+
ariaAutoComplete: string | null;
|
|
222
|
+
ariaBrailleLabel: string | null;
|
|
223
|
+
ariaBrailleRoleDescription: string | null;
|
|
224
|
+
ariaBusy: string | null;
|
|
225
|
+
ariaChecked: string | null;
|
|
226
|
+
ariaColCount: string | null;
|
|
227
|
+
ariaColIndex: string | null;
|
|
228
|
+
ariaColIndexText: string | null;
|
|
229
|
+
ariaColSpan: string | null;
|
|
230
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
231
|
+
ariaCurrent: string | null;
|
|
232
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
233
|
+
ariaDescription: string | null;
|
|
234
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
235
|
+
ariaDisabled: string | null;
|
|
236
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
237
|
+
ariaExpanded: string | null;
|
|
238
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
239
|
+
ariaHasPopup: string | null;
|
|
240
|
+
ariaHidden: string | null;
|
|
241
|
+
ariaInvalid: string | null;
|
|
242
|
+
ariaKeyShortcuts: string | null;
|
|
243
|
+
ariaLabel: string | null;
|
|
244
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
245
|
+
ariaLevel: string | null;
|
|
246
|
+
ariaLive: string | null;
|
|
247
|
+
ariaModal: string | null;
|
|
248
|
+
ariaMultiLine: string | null;
|
|
249
|
+
ariaMultiSelectable: string | null;
|
|
250
|
+
ariaOrientation: string | null;
|
|
251
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
252
|
+
ariaPlaceholder: string | null;
|
|
253
|
+
ariaPosInSet: string | null;
|
|
254
|
+
ariaPressed: string | null;
|
|
255
|
+
ariaReadOnly: string | null;
|
|
256
|
+
ariaRelevant: string | null;
|
|
257
|
+
ariaRequired: string | null;
|
|
258
|
+
ariaRoleDescription: string | null;
|
|
259
|
+
ariaRowCount: string | null;
|
|
260
|
+
ariaRowIndex: string | null;
|
|
261
|
+
ariaRowIndexText: string | null;
|
|
262
|
+
ariaRowSpan: string | null;
|
|
263
|
+
ariaSelected: string | null;
|
|
264
|
+
ariaSetSize: string | null;
|
|
265
|
+
ariaSort: string | null;
|
|
266
|
+
ariaValueMax: string | null;
|
|
267
|
+
ariaValueMin: string | null;
|
|
268
|
+
ariaValueNow: string | null;
|
|
269
|
+
ariaValueText: string | null;
|
|
270
|
+
role: string | null;
|
|
271
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions) => Animation;
|
|
272
|
+
getAnimations: (options?: GetAnimationsOptions) => Animation[];
|
|
273
|
+
after: (...nodes: (Node | string)[]) => void;
|
|
274
|
+
before: (...nodes: (Node | string)[]) => void;
|
|
275
|
+
remove: () => void;
|
|
276
|
+
replaceWith: (...nodes: (Node | string)[]) => void;
|
|
277
|
+
readonly nextElementSibling: Element | null;
|
|
278
|
+
readonly previousElementSibling: Element | null;
|
|
279
|
+
readonly childElementCount: number;
|
|
280
|
+
readonly children: HTMLCollection;
|
|
281
|
+
readonly firstElementChild: Element | null;
|
|
282
|
+
readonly lastElementChild: Element | null;
|
|
283
|
+
append: (...nodes: (Node | string)[]) => void;
|
|
284
|
+
moveBefore: (node: Node, child: Node | null) => void;
|
|
285
|
+
prepend: (...nodes: (Node | string)[]) => void;
|
|
286
|
+
querySelector: {
|
|
287
|
+
<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
288
|
+
<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
289
|
+
<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
290
|
+
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
291
|
+
<E extends Element = Element>(selectors: string): E | null;
|
|
292
|
+
};
|
|
293
|
+
querySelectorAll: {
|
|
294
|
+
<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
295
|
+
<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
296
|
+
<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
297
|
+
<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
298
|
+
<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
299
|
+
};
|
|
300
|
+
replaceChildren: (...nodes: (Node | string)[]) => void;
|
|
301
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
302
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
303
|
+
style: CSSStyleDeclaration;
|
|
304
|
+
contentEditable: string;
|
|
305
|
+
enterKeyHint: string;
|
|
306
|
+
inputMode: string;
|
|
307
|
+
readonly isContentEditable: boolean;
|
|
308
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
309
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
310
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
311
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
312
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
313
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
314
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
315
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
317
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
318
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
319
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
320
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
321
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
322
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
324
|
+
oncommand: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
326
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
327
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
329
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
330
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
331
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
332
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
333
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
334
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
335
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
336
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
337
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
338
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
339
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
341
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
342
|
+
onerror: OnErrorEventHandler;
|
|
343
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
344
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
345
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
346
|
+
oninput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
347
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
348
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
349
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
350
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
351
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
352
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
353
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
354
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
356
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
357
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
358
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
359
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
360
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
361
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
362
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
363
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
364
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
365
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
366
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
367
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
368
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
369
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
370
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
371
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
372
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
373
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
374
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
375
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
376
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
377
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
378
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
379
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
380
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
381
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
382
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
383
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
384
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
385
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
386
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
387
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
388
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
389
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
390
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
391
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
392
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
393
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
394
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
395
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
396
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
397
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined | undefined;
|
|
398
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
399
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
400
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
401
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
402
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
403
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
404
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
405
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
406
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
407
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
408
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
409
|
+
autofocus: boolean;
|
|
410
|
+
readonly dataset: DOMStringMap;
|
|
411
|
+
nonce: string;
|
|
412
|
+
tabIndex: number;
|
|
413
|
+
blur: () => void;
|
|
414
|
+
focus: (options?: FocusOptions) => void;
|
|
415
|
+
};
|
|
22
416
|
}>;
|
|
23
|
-
private canvasRef;
|
|
24
417
|
rendererStore: Store<RendererStore>;
|
|
25
418
|
figureRendererStore: Store<FigureRendererStore>;
|
|
26
419
|
setup(): void;
|
|
27
420
|
private loadImages;
|
|
421
|
+
get carouselDataViews(): PropsOf<CarouselDataViewPrint>[];
|
|
28
422
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component } from "../../owl3_compatibility_layer";
|
|
2
2
|
import { RendererStore } from "../../stores/renderer_store";
|
|
3
3
|
import { ViewportsStore } from "../../stores/viewports_store";
|
|
4
|
+
import { ZoomStore } from "../../stores/zoom_store";
|
|
4
5
|
import { HeaderIndex } from "../../types/misc";
|
|
5
6
|
import { Rect } from "../../types/rendering";
|
|
6
7
|
import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
|
|
@@ -28,7 +29,10 @@ export declare class StandaloneViewport extends Component<SpreadsheetChildEnv> {
|
|
|
28
29
|
protected props: import("@odoo/owl").PropsWithDefaults<{
|
|
29
30
|
range: import("../..").Range;
|
|
30
31
|
canResizeColumns: boolean;
|
|
31
|
-
|
|
32
|
+
size: {
|
|
33
|
+
width: import("../..").Pixel;
|
|
34
|
+
height: import("../..").Pixel;
|
|
35
|
+
};
|
|
32
36
|
onResizeColumns?: ((columnWeights: number[] | undefined) => void) | undefined;
|
|
33
37
|
columnWeights?: number[] | undefined;
|
|
34
38
|
}, "canResizeColumns">;
|
|
@@ -39,11 +43,11 @@ export declare class StandaloneViewport extends Component<SpreadsheetChildEnv> {
|
|
|
39
43
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
40
44
|
rendererStore: Store<RendererStore>;
|
|
41
45
|
viewStore: Store<ViewportsStore>;
|
|
46
|
+
zoomStore: Store<ZoomStore>;
|
|
42
47
|
cellPopoverStore: Store<CellPopoverStore>;
|
|
43
48
|
setup(): void;
|
|
44
|
-
get
|
|
45
|
-
get
|
|
46
|
-
get hasVerticalScrollBar(): boolean | 0;
|
|
49
|
+
get contentWidth(): number;
|
|
50
|
+
get hasVerticalScrollBar(): boolean;
|
|
47
51
|
get scrollBarContainerStyle(): string;
|
|
48
52
|
onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex, ev: MouseEvent): void;
|
|
49
53
|
get gridOverlayDimensions(): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpreadsheetStore } from "../../stores/spreadsheet_store";
|
|
2
2
|
import { Command } from "../../types/commands";
|
|
3
|
-
import { HeaderDimensions, HeaderIndex, UID } from "../../types/misc";
|
|
3
|
+
import { CellPosition, HeaderDimensions, HeaderIndex, UID } from "../../types/misc";
|
|
4
4
|
import { Range } from "../../types/range";
|
|
5
5
|
import { GridRenderingContext } from "../../types/rendering";
|
|
6
6
|
import { Get } from "../../types/store_engine";
|
|
@@ -25,4 +25,5 @@ export declare class StandaloneViewportStore extends SpreadsheetStore {
|
|
|
25
25
|
get columnWeights(): number[];
|
|
26
26
|
private computeColDimensions;
|
|
27
27
|
private normalizeWeights;
|
|
28
|
+
getHighlightedPositions(position: CellPosition): CellPosition[];
|
|
28
29
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { PositionMap } from "../../helpers/cells/position_map";
|
|
2
1
|
import { SpreadsheetStore } from "../../stores/spreadsheet_store";
|
|
3
|
-
import { CellPosition
|
|
2
|
+
import { CellPosition } from "../../types/misc";
|
|
3
|
+
import { Get } from "../../types/store_engine";
|
|
4
4
|
export declare class HoveredTableStore extends SpreadsheetStore {
|
|
5
|
-
mutators: readonly ["
|
|
5
|
+
mutators: readonly ["hover"];
|
|
6
|
+
storeGetters: readonly ["getCellHoverOverlayColor"];
|
|
6
7
|
position: CellPosition | undefined;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
clear(): void;
|
|
10
|
-
private computeOverlay;
|
|
8
|
+
constructor(get: Get);
|
|
9
|
+
getHighlightedPositions(hoveredPosition: CellPosition): CellPosition[];
|
|
11
10
|
}
|
|
@@ -17,6 +17,7 @@ export declare class TableResizer extends Component<SpreadsheetChildEnv> {
|
|
|
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
19
|
private viewStore;
|
|
20
|
+
private zoomStore;
|
|
20
21
|
setup(): void;
|
|
21
22
|
get containerStyle(): string;
|
|
22
23
|
onMouseDown(ev: PointerEvent): void;
|
|
@@ -36,7 +36,6 @@ export declare class TableStylesPopover extends Component<SpreadsheetChildEnv> {
|
|
|
36
36
|
zIndex?: number | undefined;
|
|
37
37
|
class?: string | undefined;
|
|
38
38
|
anchorRect: import("../../..").Rect;
|
|
39
|
-
containerRect?: {} | undefined;
|
|
40
39
|
positioning?: "top-right" | "bottom-left" | undefined;
|
|
41
40
|
verticalOffset?: number | undefined;
|
|
42
41
|
onMouseWheel?: (() => void) | undefined;
|
|
@@ -9,7 +9,7 @@ export declare class TopBarColorEditor extends Component<SpreadsheetChildEnv> {
|
|
|
9
9
|
static template: string;
|
|
10
10
|
protected props: import("@odoo/owl").Props<{
|
|
11
11
|
class: string;
|
|
12
|
-
style: "
|
|
12
|
+
style: "fillColor" | "textColor";
|
|
13
13
|
icon: string;
|
|
14
14
|
title: string;
|
|
15
15
|
}>;
|
|
@@ -11,7 +11,7 @@ export declare class ToolBarZoom extends Component<SpreadsheetChildEnv> {
|
|
|
11
11
|
class: string;
|
|
12
12
|
}>;
|
|
13
13
|
topBarToolStore: ToolBarDropdownStore;
|
|
14
|
-
private
|
|
14
|
+
private zoomStore;
|
|
15
15
|
valueList: number[];
|
|
16
16
|
setup(): void;
|
|
17
17
|
get currentFontSize(): number;
|
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CoreGetters } from "../types/core_getters";
|
|
2
1
|
import { ComputeFunction } from "../types/functions";
|
|
2
|
+
import { CoreGetters } from "../types/getters";
|
|
3
3
|
import { ApplyRangeChange, ApplyRenameNamedRange, FormulaToExecute, LiteralValues, NamedRange, UID } from "../types/misc";
|
|
4
4
|
import { Range, RangeStringOptions } from "../types/range";
|
|
5
5
|
import { AST } from "./parser";
|
|
@@ -5,3 +5,6 @@ export declare class FunctionRegistry extends Registry<FunctionDescription> {
|
|
|
5
5
|
replace(name: string, addDescr: AddFunctionDescription): this;
|
|
6
6
|
}
|
|
7
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
|
/**
|
|
@@ -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
|
|
@@ -8,7 +8,7 @@ export declare const ADD: {
|
|
|
8
8
|
export declare const CONCAT: {
|
|
9
9
|
description: string;
|
|
10
10
|
args: import("..").ArgDefinition[];
|
|
11
|
-
compute: (value1: Maybe<FunctionResultObject>, value2: Maybe<FunctionResultObject>) => {
|
|
11
|
+
compute: (this: import("..").EvalContext, value1: Maybe<FunctionResultObject>, value2: Maybe<FunctionResultObject>) => {
|
|
12
12
|
value: string;
|
|
13
13
|
};
|
|
14
14
|
isExported: true;
|