@odoo/o-spreadsheet 19.5.0-alpha.2 → 19.5.0-alpha.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/dist/material_symbols_outlined.css +9 -0
  2. package/dist/o_spreadsheet.cjs +53040 -49146
  3. package/dist/o_spreadsheet.css +330 -157
  4. package/dist/o_spreadsheet.esm.js +52813 -48924
  5. package/dist/o_spreadsheet.iife.js +49777 -45883
  6. package/dist/o_spreadsheet.min.iife.js +413 -359
  7. package/dist/o_spreadsheet.xml +505 -332
  8. package/dist/types/actions/action.d.ts +1 -7
  9. package/dist/types/actions/data_actions.d.ts +2 -0
  10. package/dist/types/actions/menu_items_actions.d.ts +5 -2
  11. package/dist/types/clipboard_handlers/default_clipboard.d.ts +1 -1
  12. package/dist/types/collaborative/command_squisher.d.ts +1 -1
  13. package/dist/types/collaborative/ot/ot_helpers.d.ts +3 -1
  14. package/dist/types/collaborative/session.d.ts +3 -1
  15. package/dist/types/components/autofill/autofill.d.ts +3 -0
  16. package/dist/types/{plugins/ui_feature/autofill.d.ts → components/autofill/autofill_store.d.ts} +7 -12
  17. package/dist/types/components/autofill/table_autofill_store.d.ts +6 -0
  18. package/dist/types/components/border_editor/border_editor_widget.d.ts +1 -0
  19. package/dist/types/components/bottom_bar/bottom_bar_statistic/bottom_bar_statistic.d.ts +3 -0
  20. package/dist/types/components/clickable_cells_overlay/clickable_cells_overlay.d.ts +20 -0
  21. package/dist/types/components/collaborative_client_tag/collaborative_client_tag.d.ts +2 -0
  22. package/dist/types/components/composer/composer/abstract_composer_store.d.ts +3 -2
  23. package/dist/types/components/composer/composer/composer.d.ts +2 -1
  24. package/dist/types/components/composer/grid_composer/grid_composer.d.ts +1 -0
  25. package/dist/types/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.d.ts +1 -1
  26. package/dist/types/components/dashboard/clickable_cell_store.d.ts +1 -0
  27. package/dist/types/components/dashboard/dashboard.d.ts +7 -12
  28. package/dist/types/components/error_tooltip/error_tooltip.d.ts +2 -0
  29. package/dist/types/components/figures/chart/chartJs/chartjs_geo_projection_plugin.d.ts +12 -0
  30. package/dist/types/components/figures/chart/chartJs/zoomable_chart/zoomable_chartjs.d.ts +1 -0
  31. package/dist/types/components/figures/chart/gauge/gauge_chart_component.d.ts +1 -0
  32. package/dist/types/components/figures/chart/scorecard/chart_scorecard.d.ts +1 -0
  33. package/dist/types/components/figures/figure/figure.d.ts +10 -9
  34. package/dist/types/components/figures/figure_carousel/figure_carousel.d.ts +16 -1
  35. package/dist/types/components/figures/figure_chart/figure_chart.d.ts +1 -2
  36. package/dist/types/components/figures/figure_container/figure_container.d.ts +9 -4
  37. package/dist/types/components/figures/figure_image/figure_image.d.ts +1 -2
  38. package/dist/types/components/filters/filter_menu/filter_menu.d.ts +1 -0
  39. package/dist/types/components/full_screen_figure/full_screen_figure.d.ts +12 -1
  40. package/dist/types/components/grid/grid.d.ts +10 -0
  41. package/dist/types/components/grid_add_rows_footer/grid_add_rows_footer.d.ts +1 -0
  42. package/dist/types/components/grid_overlay/grid_overlay.d.ts +8 -4
  43. package/dist/types/components/grid_popover/grid_popover.d.ts +1 -0
  44. package/dist/types/components/header_group/header_group_container.d.ts +2 -0
  45. package/dist/types/components/headers_overlay/headers_overlay.d.ts +5 -0
  46. package/dist/types/components/headers_overlay/unhide_headers.d.ts +4 -0
  47. package/dist/types/components/helpers/chart_drag_and_drop.d.ts +15 -0
  48. package/dist/types/components/helpers/dom_helpers.d.ts +5 -2
  49. package/dist/types/components/helpers/draw_grid_hook.d.ts +1 -2
  50. package/dist/types/components/helpers/figure_drag_helper.d.ts +3 -3
  51. package/dist/types/components/helpers/figure_snap_helper.d.ts +9 -4
  52. package/dist/types/components/helpers/wheel_hook.d.ts +1 -1
  53. package/dist/types/components/helpers/zoom.d.ts +0 -14
  54. package/dist/types/components/highlight/border/border.d.ts +2 -0
  55. package/dist/types/components/highlight/corner/corner.d.ts +1 -0
  56. package/dist/types/components/highlight/highlight/highlight.d.ts +3 -0
  57. package/dist/types/components/link/link_display/link_display.d.ts +1 -0
  58. package/dist/types/components/link/link_editor/link_editor.d.ts +3 -1
  59. package/dist/types/components/paint_format_button/paint_format_store.d.ts +1 -1
  60. package/dist/types/components/popover/cell_popover_store.d.ts +2 -1
  61. package/dist/types/components/popover/popover.d.ts +0 -1
  62. package/dist/types/components/popover/popover_container_owl_plugin.d.ts +5 -0
  63. package/dist/types/components/props_validation.d.ts +7 -7
  64. package/dist/types/components/scrollbar/scrollbar_horizontal.d.ts +3 -0
  65. package/dist/types/components/scrollbar/scrollbar_vertical.d.ts +5 -1
  66. package/dist/types/components/selection_input/selection_input_store.d.ts +1 -1
  67. package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +20 -2
  68. package/dist/types/components/side_panel/chart/building_blocks/chart_title/chart_title.d.ts +1 -0
  69. package/dist/types/components/side_panel/chart/building_blocks/color_scale/color_scale_picker.d.ts +1 -1
  70. package/dist/types/components/side_panel/chart/calendar_chart/calendar_chart_config_panel.d.ts +0 -2
  71. package/dist/types/components/side_panel/chart/chart_type_picker/chart_type_picker.d.ts +5 -18
  72. package/dist/types/components/side_panel/chart/chart_type_picker_popover/chart_type_picker_popover.d.ts +63 -0
  73. package/dist/types/components/side_panel/chart/common.d.ts +1 -1
  74. package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_config_panel.d.ts +6 -10
  75. package/dist/types/components/side_panel/components/radio_selection/radio_selection.d.ts +1 -1
  76. package/dist/types/components/side_panel/conditional_formatting/cf_editor/cell_is_rule_editor.d.ts +1 -1
  77. package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor.d.ts +1 -1
  78. package/dist/types/components/side_panel/conditional_formatting/cf_editor/color_scale_rule_editor_threshold.d.ts +1 -1
  79. package/dist/types/components/side_panel/conditional_formatting/cf_editor/data_bar_rule_editor.d.ts +1 -1
  80. package/dist/types/components/side_panel/conditional_formatting/cf_editor/icon_set_rule_editor.d.ts +1 -1
  81. package/dist/types/components/side_panel/data_analysis/chart_suggestion_preview.d.ts +19 -0
  82. package/dist/types/components/side_panel/data_analysis/data_analysis_panel.d.ts +17 -0
  83. package/dist/types/components/side_panel/data_analysis/data_analysis_store.d.ts +15 -0
  84. package/dist/types/components/side_panel/data_sources_cleanup/data_sources_cleanup.d.ts +28 -0
  85. package/dist/types/components/side_panel/data_sources_cleanup/data_sources_cleanup_store.d.ts +13 -0
  86. package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +1 -0
  87. package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +3 -1
  88. package/dist/types/components/side_panel/pivot/pivot_layout_configurator/pivot_layout_configurator.d.ts +1 -8
  89. package/dist/types/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.d.ts +1 -0
  90. package/dist/types/components/side_panel/remove_duplicates/remove_duplicates.d.ts +3 -10
  91. package/dist/types/components/side_panel/side_panel/side_panel_store.d.ts +3 -2
  92. package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_panel.d.ts +4 -11
  93. package/dist/types/components/side_panel/split_to_columns_panel/split_to_columns_store.d.ts +33 -0
  94. package/dist/types/components/side_panel/table_panel/table_panel.d.ts +6 -0
  95. package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +2 -0
  96. package/dist/types/components/small_bottom_bar/small_bottom_bar.d.ts +1 -0
  97. package/dist/types/components/spreadsheet/spreadsheet.d.ts +12 -5
  98. package/dist/types/components/spreadsheet_print/print_iframe.d.ts +15 -0
  99. package/dist/types/components/spreadsheet_print/spreadsheet_print.d.ts +4 -0
  100. package/dist/types/components/standalone_grid_canvas/carousel_data_view_print.d.ts +32 -0
  101. package/dist/types/components/standalone_grid_canvas/standalone_grid_canvas.d.ts +397 -2
  102. package/dist/types/components/standalone_viewport/standalone_viewport.d.ts +59 -0
  103. package/dist/types/components/standalone_viewport/standalone_viewport_store.d.ts +29 -0
  104. package/dist/types/components/tables/hovered_table_store.d.ts +7 -11
  105. package/dist/types/components/tables/table_resizer/table_resizer.d.ts +2 -0
  106. package/dist/types/components/tables/table_styles_popover/table_styles_popover.d.ts +0 -1
  107. package/dist/types/components/top_bar/color_editor/color_editor.d.ts +1 -1
  108. package/dist/types/components/top_bar/zoom_editor/zoom_editor.d.ts +2 -1
  109. package/dist/types/constants.d.ts +17 -2
  110. package/dist/types/formulas/code_builder.d.ts +2 -1
  111. package/dist/types/formulas/compiler.d.ts +8 -1
  112. package/dist/types/functions/create_compute_function.d.ts +4 -3
  113. package/dist/types/functions/function_registry.d.ts +4 -5
  114. package/dist/types/functions/helper_lookup.d.ts +1 -1
  115. package/dist/types/functions/helper_matrices.d.ts +1 -0
  116. package/dist/types/functions/helper_statistical.d.ts +6 -0
  117. package/dist/types/functions/helpers.d.ts +4 -0
  118. package/dist/types/functions/module_array.d.ts +41 -23
  119. package/dist/types/functions/module_database.d.ts +18 -6
  120. package/dist/types/functions/module_date.d.ts +70 -22
  121. package/dist/types/functions/module_engineering.d.ts +3 -1
  122. package/dist/types/functions/module_filter.d.ts +2 -2
  123. package/dist/types/functions/module_financial.d.ts +105 -35
  124. package/dist/types/functions/module_info.d.ts +33 -11
  125. package/dist/types/functions/module_logical.d.ts +16 -8
  126. package/dist/types/functions/module_lookup.d.ts +23 -15
  127. package/dist/types/functions/module_math.d.ts +125 -43
  128. package/dist/types/functions/module_operators.d.ts +7 -3
  129. package/dist/types/functions/module_statistical.d.ts +78 -22
  130. package/dist/types/functions/module_text.d.ts +75 -26
  131. package/dist/types/functions/module_web.d.ts +3 -1
  132. package/dist/types/helpers/carousel_helpers.d.ts +15 -3
  133. package/dist/types/helpers/cells/cell_evaluation.d.ts +1 -1
  134. package/dist/types/helpers/color.d.ts +1 -1
  135. package/dist/types/helpers/color_themes.d.ts +2 -0
  136. package/dist/types/helpers/data_analysis.d.ts +17 -0
  137. package/dist/types/helpers/figures/chart.d.ts +9 -6
  138. package/dist/types/helpers/figures/charts/chart_common.d.ts +3 -5
  139. package/dist/types/helpers/figures/charts/chart_data_source_helpers.d.ts +10 -0
  140. package/dist/types/helpers/figures/charts/chart_data_sources.d.ts +3 -3
  141. package/dist/types/helpers/figures/charts/chart_suggestion_engine.d.ts +8 -0
  142. package/dist/types/helpers/figures/charts/chart_ui_common.d.ts +11 -4
  143. package/dist/types/helpers/figures/charts/charts_suggestions_constants.d.ts +37 -0
  144. package/dist/types/helpers/figures/charts/gauge_chart_rendering.d.ts +6 -2
  145. package/dist/types/helpers/figures/charts/runtime/chart_data_extractor.d.ts +13 -12
  146. package/dist/types/helpers/figures/charts/runtime/chartjs_title.d.ts +2 -2
  147. package/dist/types/helpers/figures/figure/figure.d.ts +3 -2
  148. package/dist/types/helpers/filter_helpers.d.ts +2 -2
  149. package/dist/types/helpers/internal_viewport.d.ts +19 -10
  150. package/dist/types/helpers/links.d.ts +1 -1
  151. package/dist/types/helpers/misc.d.ts +2 -0
  152. package/dist/types/helpers/owl3_helpers.d.ts +4 -0
  153. package/dist/types/helpers/pivot/pivot_composer_helpers.d.ts +1 -1
  154. package/dist/types/helpers/pivot/pivot_highlight.d.ts +2 -2
  155. package/dist/types/helpers/pivot/pivot_presentation.d.ts +2 -2
  156. package/dist/types/helpers/pivot/pivot_registry.d.ts +4 -5
  157. package/dist/types/helpers/pivot/spreadsheet_pivot/runtime_definition_spreadsheet_pivot.d.ts +2 -2
  158. package/dist/types/helpers/range.d.ts +1 -1
  159. package/dist/types/helpers/rectangle.d.ts +4 -0
  160. package/dist/types/helpers/text_helper.d.ts +1 -1
  161. package/dist/types/helpers/ui/split_to_columns_interactive.d.ts +1 -1
  162. package/dist/types/helpers/viewport_collection.d.ts +50 -21
  163. package/dist/types/helpers/zones.d.ts +1 -0
  164. package/dist/types/index.d.ts +39 -9
  165. package/dist/types/model.d.ts +18 -10
  166. package/dist/types/owl3_compatibility_layer.d.ts +1 -14
  167. package/dist/types/plugins/core/carousel.d.ts +8 -4
  168. package/dist/types/plugins/core/cell.d.ts +1 -0
  169. package/dist/types/plugins/core/chart.d.ts +2 -0
  170. package/dist/types/plugins/core/conditional_format.d.ts +2 -0
  171. package/dist/types/plugins/core/data_validation.d.ts +2 -0
  172. package/dist/types/plugins/core/formulas_provider.d.ts +8 -0
  173. package/dist/types/plugins/core/image.d.ts +2 -1
  174. package/dist/types/plugins/core/pivot.d.ts +1 -0
  175. package/dist/types/plugins/core/range.d.ts +4 -2
  176. package/dist/types/plugins/core/squisher.d.ts +7 -2
  177. package/dist/types/plugins/core/tables.d.ts +2 -1
  178. package/dist/types/plugins/core/unsquisher.d.ts +1 -1
  179. package/dist/types/plugins/core_plugin.d.ts +8 -4
  180. package/dist/types/plugins/{ui_feature → evaluation}/cell_computed_style.d.ts +4 -4
  181. package/dist/types/plugins/{ui_core_views/cell_evaluation/evaluation_plugin.d.ts → evaluation/cell_evaluation/cell_evaluation_plugin.d.ts} +14 -7
  182. package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/compilation_parameters.d.ts +2 -2
  183. package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/evaluator.d.ts +2 -2
  184. package/dist/types/plugins/{ui_core_views → evaluation}/custom_colors.d.ts +5 -5
  185. package/dist/types/plugins/{ui_core_views → evaluation}/dynamic_tables.d.ts +4 -4
  186. package/dist/types/plugins/{ui_feature → evaluation}/dynamic_translate.d.ts +2 -2
  187. package/dist/types/plugins/evaluation/evaluation_chart.d.ts +27 -0
  188. package/dist/types/plugins/{ui_core_views → evaluation}/evaluation_conditional_format.d.ts +4 -4
  189. package/dist/types/plugins/{ui_core_views → evaluation}/evaluation_data_validation.d.ts +4 -4
  190. package/dist/types/plugins/{ui_stateful → evaluation}/filter_evaluation.d.ts +7 -8
  191. package/dist/types/plugins/{ui_core_views → evaluation}/fingerprint.d.ts +2 -2
  192. package/dist/types/plugins/evaluation/formula_tracker.d.ts +8 -0
  193. package/dist/types/plugins/evaluation/geo_loader.d.ts +13 -0
  194. package/dist/types/plugins/{ui_core_views → evaluation}/header_sizes_ui.d.ts +5 -5
  195. package/dist/types/plugins/{ui_feature/header_visibility_ui.d.ts → evaluation/header_visibility_evaluation.d.ts} +2 -2
  196. package/dist/types/plugins/evaluation/pivot_presence_plugin.d.ts +12 -0
  197. package/dist/types/plugins/{ui_core_views → evaluation}/pivot_ui.d.ts +9 -6
  198. package/dist/types/plugins/evaluation/subtotal_evaluation.d.ts +5 -0
  199. package/dist/types/plugins/{ui_feature → evaluation}/table_computed_style.d.ts +7 -7
  200. package/dist/types/plugins/evaluation_plugin.d.ts +31 -0
  201. package/dist/types/plugins/plugin_registries.d.ts +11 -5
  202. package/dist/types/plugins/ui_feature/chart_ui.d.ts +6 -0
  203. package/dist/types/plugins/ui_feature/collaborative.d.ts +2 -1
  204. package/dist/types/plugins/ui_feature/color_theme.d.ts +0 -3
  205. package/dist/types/plugins/ui_feature/geo_features.d.ts +1 -6
  206. package/dist/types/plugins/ui_feature/ui_options.d.ts +1 -7
  207. package/dist/types/plugins/ui_feature/ui_sheet.d.ts +2 -1
  208. package/dist/types/plugins/ui_plugin.d.ts +1 -4
  209. package/dist/types/plugins/ui_stateful/carousel_ui.d.ts +2 -2
  210. package/dist/types/plugins/{ui_core_views → ui_stateful}/cell_icon_plugin.d.ts +2 -2
  211. package/dist/types/plugins/{ui_feature → ui_stateful}/figure.d.ts +4 -0
  212. package/dist/types/plugins/ui_stateful/header_positions.d.ts +2 -1
  213. package/dist/types/registries/chart_data_source_registry.d.ts +4 -5
  214. package/dist/types/registries/chart_registry.d.ts +7 -4
  215. package/dist/types/registries/criterion_registry.d.ts +4 -4
  216. package/dist/types/registries/data_source_registry.d.ts +15 -0
  217. package/dist/types/registries/evaluation_registry.d.ts +2 -2
  218. package/dist/types/registries/figures_registry.d.ts +6 -2
  219. package/dist/types/store_engine/dependency_container.d.ts +5 -0
  220. package/dist/types/store_engine/store_hooks.d.ts +6 -0
  221. package/dist/types/store_engine/store_registries.d.ts +4 -0
  222. package/dist/types/stores/array_formula_highlight.d.ts +1 -1
  223. package/dist/types/{plugins/ui_feature/automatic_sum.d.ts → stores/automatic_sum_store.d.ts} +5 -4
  224. package/dist/types/stores/cell_hover_overlay_store.d.ts +15 -0
  225. package/dist/types/stores/chart_drag_store.d.ts +10 -0
  226. package/dist/types/stores/checkbox_toggle.d.ts +9 -0
  227. package/dist/types/stores/client_focus_store.d.ts +1 -0
  228. package/dist/types/{plugins/ui_stateful/clipboard.d.ts → stores/clipboard_store.d.ts} +11 -11
  229. package/dist/types/stores/data_cleanup_store.d.ts +31 -0
  230. package/dist/types/stores/grid_renderer_store.d.ts +3 -2
  231. package/dist/types/stores/main_viewport_store.d.ts +14 -0
  232. package/dist/types/stores/spreadsheet_store.d.ts +1 -1
  233. package/dist/types/stores/table_resize_store.d.ts +6 -0
  234. package/dist/types/stores/trim_whitespace_store.d.ts +9 -0
  235. package/dist/types/stores/viewports_store.d.ts +85 -0
  236. package/dist/types/stores/zoom_store.d.ts +27 -0
  237. package/dist/types/types/chart/chart.d.ts +3 -1
  238. package/dist/types/types/chart/chart_suggestion.d.ts +137 -0
  239. package/dist/types/types/chart/radar_chart.d.ts +1 -1
  240. package/dist/types/types/chart/scorecard_chart.d.ts +3 -4
  241. package/dist/types/types/collaborative/transport_service.d.ts +1 -0
  242. package/dist/types/types/commands.d.ts +55 -68
  243. package/dist/types/types/figure.d.ts +26 -3
  244. package/dist/types/types/functions.d.ts +16 -6
  245. package/dist/types/types/getters.d.ts +126 -28
  246. package/dist/types/types/misc.d.ts +19 -1
  247. package/dist/types/types/model.d.ts +2 -4
  248. package/dist/types/types/range.d.ts +1 -0
  249. package/dist/types/types/rendering.d.ts +21 -1
  250. package/dist/types/types/store_engine.d.ts +10 -3
  251. package/package.json +6 -5
  252. package/dist/types/plugins/core_view_plugin.d.ts +0 -29
  253. package/dist/types/plugins/ui_core_views/evaluation_chart.d.ts +0 -26
  254. package/dist/types/plugins/ui_core_views/formula_tracker.d.ts +0 -8
  255. package/dist/types/plugins/ui_feature/checkbox_toggle.d.ts +0 -9
  256. package/dist/types/plugins/ui_feature/data_cleanup.d.ts +0 -16
  257. package/dist/types/plugins/ui_feature/pivot_presence_plugin.d.ts +0 -11
  258. package/dist/types/plugins/ui_feature/split_to_columns.d.ts +0 -21
  259. package/dist/types/plugins/ui_feature/subtotal_evaluation.d.ts +0 -5
  260. package/dist/types/plugins/ui_feature/table_autofill.d.ts +0 -6
  261. package/dist/types/plugins/ui_feature/table_resize_ui.d.ts +0 -6
  262. package/dist/types/plugins/ui_stateful/sheetview.d.ts +0 -123
  263. package/dist/types/types/core_getters.d.ts +0 -75
  264. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/binary_grid.d.ts +0 -0
  265. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/formula_dependency_graph.d.ts +0 -0
  266. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/interval_tree.d.ts +0 -0
  267. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/position_set.d.ts +0 -0
  268. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/r_tree.d.ts +0 -0
  269. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/range_set.d.ts +0 -0
  270. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/spreading_relation.d.ts +0 -0
  271. /package/dist/types/plugins/{ui_core_views → evaluation}/cell_evaluation/zone_set.d.ts +0 -0
@@ -0,0 +1,32 @@
1
+ import { Component } from "../../owl3_compatibility_layer";
2
+ import { GridRenderer } from "../../stores/grid_renderer_store";
3
+ import { ViewportsStore } from "../../stores/viewports_store";
4
+ import { GridRenderingContext } from "../../types/rendering";
5
+ import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
6
+ import { Store } from "../../types/store_engine";
7
+ export declare class CarouselDataViewPrint extends Component<SpreadsheetChildEnv> {
8
+ static template: string;
9
+ props: import("@odoo/owl").Props<{
10
+ range: import("../..").Range;
11
+ rect: {
12
+ x: import("../..").Pixel;
13
+ y: import("../..").Pixel;
14
+ width: import("../..").Pixel;
15
+ height: import("../..").Pixel;
16
+ };
17
+ rendererStore: {
18
+ readonly register: (renderer: import("../../stores/renderer_store").Renderer) => void;
19
+ readonly unRegister: (renderer: import("../../stores/renderer_store").Renderer) => void;
20
+ readonly draw: (context?: GridRenderingContext | undefined, timestamp?: number | undefined) => void;
21
+ readonly startAnimation: (animationId: string) => void;
22
+ readonly stopAnimation: (animationId: string) => void;
23
+ readonly mutators: readonly ["register", "unRegister", "draw", "startAnimation", "stopAnimation"];
24
+ };
25
+ columnWeights?: number[] | undefined;
26
+ }>;
27
+ viewportsStore: Store<ViewportsStore>;
28
+ gridRender: Store<GridRenderer>;
29
+ setup(): void;
30
+ get renderingLayers(): readonly ["Chart"];
31
+ drawLayer(renderingContext: GridRenderingContext): void;
32
+ }
@@ -1,27 +1,422 @@
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;
11
16
  renderingCtx: {
12
17
  sheetId: import("../..").UID;
13
18
  hideGridLines?: boolean | undefined;
14
- selectedZones: import("../..").Zone[];
15
19
  viewports: import("../../helpers/viewport_collection").ViewportCollection;
20
+ selectedZones: import("../..").Zone[];
16
21
  dpr: number;
22
+ hideFrozenPaneBorder?: boolean | undefined;
17
23
  activeCols: Set<number>;
18
24
  activeRows: Set<number>;
19
25
  activePosition: import("../..").CellPosition | undefined;
20
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
+ };
21
416
  }>;
22
- private canvasRef;
23
417
  rendererStore: Store<RendererStore>;
24
418
  figureRendererStore: Store<FigureRendererStore>;
25
419
  setup(): void;
26
420
  private loadImages;
421
+ get carouselDataViews(): PropsOf<CarouselDataViewPrint>[];
27
422
  }
@@ -0,0 +1,59 @@
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
+ size: {
33
+ width: import("../..").Pixel;
34
+ height: import("../..").Pixel;
35
+ };
36
+ onResizeColumns?: ((columnWeights: number[] | undefined) => void) | undefined;
37
+ columnWeights?: number[] | undefined;
38
+ }, "canResizeColumns">;
39
+ private canvasRef;
40
+ private containerRef;
41
+ private store;
42
+ dndState: DnDResizeState;
43
+ onMouseWheel: (ev: WheelEvent) => void;
44
+ rendererStore: Store<RendererStore>;
45
+ viewStore: Store<ViewportsStore>;
46
+ zoomStore: Store<ZoomStore>;
47
+ cellPopoverStore: Store<CellPopoverStore>;
48
+ setup(): void;
49
+ get contentWidth(): number;
50
+ get hasVerticalScrollBar(): boolean;
51
+ get scrollBarContainerStyle(): string;
52
+ onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex, ev: MouseEvent): void;
53
+ get gridOverlayDimensions(): string;
54
+ get colResizers(): ColResizer[];
55
+ onResizerPointerDown(ev: MouseEvent, resizer: ColResizer): void;
56
+ onResizerDoubleClick(): void;
57
+ getGridRect(): Rect;
58
+ }
59
+ export {};
@@ -0,0 +1,29 @@
1
+ import { SpreadsheetStore } from "../../stores/spreadsheet_store";
2
+ import { Command } from "../../types/commands";
3
+ import { CellPosition, 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
+ getHighlightedPositions(position: CellPosition): CellPosition[];
29
+ }
@@ -1,14 +1,10 @@
1
- import { PositionMap } from "../../helpers/cells/position_map";
2
1
  import { SpreadsheetStore } from "../../stores/spreadsheet_store";
3
- import { Command } from "../../types/commands";
4
- import { Color, Position } from "../../types/misc";
2
+ import { CellPosition } from "../../types/misc";
3
+ import { Get } from "../../types/store_engine";
5
4
  export declare class HoveredTableStore extends SpreadsheetStore {
6
- mutators: readonly ["clear", "hover"];
7
- col: number | undefined;
8
- row: number | undefined;
9
- overlayColors: PositionMap<Color>;
10
- handle(cmd: Command): void;
11
- hover(position: Partial<Position>): "noStateChange" | undefined;
12
- clear(): void;
13
- private computeOverlay;
5
+ mutators: readonly ["hover"];
6
+ storeGetters: readonly ["getCellHoverOverlayColor"];
7
+ position: CellPosition | undefined;
8
+ constructor(get: Get);
9
+ getHighlightedPositions(hoveredPosition: CellPosition): CellPosition[];
14
10
  }
@@ -16,6 +16,8 @@ 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;
20
+ private zoomStore;
19
21
  setup(): void;
20
22
  get containerStyle(): string;
21
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: "textColor" | "fillColor";
12
+ style: "fillColor" | "textColor";
13
13
  icon: string;
14
14
  title: string;
15
15
  }>;
@@ -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;