@odoo/o-spreadsheet 19.5.0-alpha.18 → 19.5.0-alpha.19

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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 19.5.0-alpha.18
5
- @date 2026-09-07T12:43:30.682Z
6
- @hash 54a0597
4
+ @version 19.5.0-alpha.19
5
+ @date 2026-09-10T05:38:45.995Z
6
+ @hash 2b1e397
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -478,7 +478,6 @@
478
478
  </t>
479
479
 
480
480
  <t t-name="o-spreadsheet-StandaloneGridCanvas">
481
- <canvas t-ref="this.canvasRef"/>
482
481
  <t t-foreach="this.carouselDataViews" t-as="carouselDataView" t-key="carouselDataView_index">
483
482
  <CarouselDataViewPrint t-props="carouselDataView"/>
484
483
  </t>
@@ -487,7 +486,7 @@
487
486
  <t t-name="o-spreadsheet-SpreadsheetPrint">
488
487
  <div class="o-spreadsheet-print d-flex flex-column h-100 w-100">
489
488
  <t t-set="pages" t-value="this.printStore.printPages"/>
490
- <div class="o-print-header flex-shrink-0 d-flex align-items-center d-print-none">
489
+ <div class="o-print-header flex-shrink-0 d-flex align-items-center">
491
490
  <h3 class="m-0 p-3 ps-4 text-white">Print Preview</h3>
492
491
  <span class="text-white">
493
492
  <t t-out="pages.length"/>
@@ -499,30 +498,8 @@
499
498
  <button class="o-button primary flex-grow-0 me-4" t-on-click="this.onPrint">Next</button>
500
499
  </div>
501
500
  <div class="o-print-container d-flex flex-grow-1 overflow-hidden">
502
- <div class="o-print-preview w-100 overflow-auto d-flex flex-column">
503
- <div class="mx-auto">
504
- <div
505
- t-if="pages.length === 0"
506
- class="o-print-page o-empty-print-page m-4 shadow d-flex flex-column align-items-center justify-content-center flex-shrink-0"
507
- t-att-style="this.pageStyle">
508
- <h4 class="fst-italic text-muted">No content to print</h4>
509
- </div>
510
- <div
511
- t-else=""
512
- t-foreach="pages"
513
- t-as="page"
514
- t-key="page_index"
515
- class="o-print-page m-4 shadow d-flex justify-content-center flex-shrink-0"
516
- t-att-style="this.pageStyle">
517
- <StandaloneGridCanvas
518
- sheetId="page.sheetId"
519
- zone="page.zone"
520
- renderingCtx="page.renderingCtx"
521
- />
522
- </div>
523
- </div>
524
- </div>
525
- <div class="o-sidePanel flex-shrink-0 bg-white border-top border-start d-print-none">
501
+ <iframe class="o-print-preview" t-ref="this.iframeRef" title="Print preview"/>
502
+ <div class="o-sidePanel flex-shrink-0 bg-white border-top border-start">
526
503
  <div class="o-sidePanelBody pt-4">
527
504
  <Section t-if="!this.env.model.getters.isDashboard()">
528
505
  <div class="o-section-title">Print content</div>
@@ -576,6 +553,16 @@
576
553
  </div>
577
554
  </div>
578
555
  </div>
556
+
557
+ <t t-foreach="pages" t-as="page" t-key="page_index">
558
+ <StandaloneGridCanvas
559
+ t-if="this.printIframe.canvases()[page_index]"
560
+ canvas="this.printIframe.canvases()[page_index]"
561
+ sheetId="page.sheetId"
562
+ zone="page.zone"
563
+ renderingCtx="page.renderingCtx"
564
+ />
565
+ </t>
579
566
  </div>
580
567
  </t>
581
568
 
@@ -3719,7 +3706,7 @@
3719
3706
  updateChart="this.props.updateChart"
3720
3707
  canUpdateChart="this.props.canUpdateChart"
3721
3708
  onErrorMessagesChanged.bind="this.onErrorMessagesChanged"
3722
- getLabelRangeOptions.bind="this.getLabelRangeOptions"
3709
+ getLabelRangeOptions="() => []"
3723
3710
  dataSeriesTitle.translate="Hierarchy"
3724
3711
  labelRangeTitle.translate="Values"
3725
3712
  />
@@ -4591,7 +4578,7 @@
4591
4578
  updateChart="this.props.updateChart"
4592
4579
  canUpdateChart="this.props.canUpdateChart"
4593
4580
  onErrorMessagesChanged.bind="this.onErrorMessagesChanged"
4594
- getLabelRangeOptions.bind="this.getLabelRangeOptions"
4581
+ getLabelRangeOptions="() => []"
4595
4582
  labelRangeTitle.translate="Date range"
4596
4583
  />
4597
4584
 
@@ -4600,7 +4587,7 @@
4600
4587
  <span class="w-100">Horizontal axis</span>
4601
4588
  <Select
4602
4589
  selectedValue="this.getGroupByType('horizontal') || ''"
4603
- values="this.getGroupByOptions()"
4590
+ values="this.groupByChoices"
4604
4591
  class="'o-horizontal-group-by'"
4605
4592
  onChange="(value) => this.updateGroupBy('horizontal', value)"
4606
4593
  />
@@ -4609,7 +4596,7 @@
4609
4596
  <span class="w-100">Vertical axis</span>
4610
4597
  <Select
4611
4598
  selectedValue="this.getGroupByType('vertical') || ''"
4612
- values="this.getGroupByOptions()"
4599
+ values="this.groupByChoices"
4613
4600
  class="'o-vertical-group-by'"
4614
4601
  onChange="(value) => this.updateGroupBy('vertical', value)"
4615
4602
  />
@@ -7591,10 +7578,7 @@
7591
7578
  t-on-click="this.onClick"
7592
7579
  t-on-dblclick.self="this.onDoubleClick"
7593
7580
  t-on-contextmenu.stop.prevent="this.onContextMenu">
7594
- <GridAddRowsFooter
7595
- t-if="!this.env.model.getters.isReadonly() and this.props.hasFooter"
7596
- t-key="this.viewStore.displayedSheetId"
7597
- />
7581
+ <GridAddRowsFooter t-if="this.isFooterVisible" t-key="this.viewStore.displayedSheetId"/>
7598
7582
  <t t-call-slot="default"/>
7599
7583
  </div>
7600
7584
  </t>
@@ -71,6 +71,7 @@ export declare class Grid extends Component<SpreadsheetChildEnv> {
71
71
  private paintFormatStore;
72
72
  private clientFocusStore;
73
73
  private checkboxToggleStore;
74
+ private clipboardStore;
74
75
  dragNDropGrid: {
75
76
  start: (initialPointerCoordinates: {
76
77
  clientX: number;
@@ -37,4 +37,5 @@ export declare class GridOverlay extends Component<SpreadsheetChildEnv> {
37
37
  onContextMenu(ev: MouseEvent): void;
38
38
  private getCartesianCoordinates;
39
39
  private getInteractiveIconAtEvent;
40
+ get isFooterVisible(): boolean;
40
41
  }
@@ -1,9 +1,8 @@
1
- import type { Signal } from "@odoo/owl";
2
1
  import { RendererStore } from "../../stores/renderer_store";
3
2
  import { GridRenderingContext } from "../../types/rendering";
4
3
  import { Store } from "../../types/store_engine";
5
4
  interface GridDrawingArgs {
6
- canvasRef: Signal<HTMLElement | null>;
5
+ canvasRef: () => HTMLElement | null;
7
6
  renderingCtx: () => Omit<GridRenderingContext, "ctx" | "thinLineWidth">;
8
7
  rendererStore?: Store<RendererStore>;
9
8
  changeCanvasSizeOnZoom?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { CalendarChartDefinition, CalendarChartGranularity } from "../../../../types/chart/calendar_chart";
2
- import { ValueAndLabel } from "../../../../types/misc";
3
2
  import { Select } from "../../../select/select";
4
3
  import { GenericChartConfigPanel } from "../building_blocks/generic_side_panel/config_panel";
5
4
  import { ChartSidePanelProps } from "../common";
@@ -16,7 +15,6 @@ export declare class CalendarChartConfigPanel extends GenericChartConfigPanel<Ch
16
15
  value: "year" | "second_number" | "minute_number" | "hour_number" | "day_of_week" | "day_of_month" | "iso_week_number" | "month_number" | "quarter_number";
17
16
  label: string;
18
17
  }[];
19
- getGroupByOptions(): ValueAndLabel[];
20
18
  getGroupByType(currentAxis: "horizontal" | "vertical"): CalendarChartGranularity;
21
19
  updateGroupBy(currentAxis: "horizontal" | "vertical", value: CalendarChartGranularity): void;
22
20
  }
@@ -2,6 +2,7 @@ import { Model } from "../../model";
2
2
  import { Component } from "../../owl3_compatibility_layer";
3
3
  import { InformationNotification } from "../../types/env";
4
4
  import { HeaderGroup, Pixel } from "../../types/misc";
5
+ import { ColorThemeName } from "../../types/rendering";
5
6
  import { SpreadsheetChildEnv } from "../../types/spreadsheet_env";
6
7
  import { Store } from "../../types/store_engine";
7
8
  import { BottomBar } from "../bottom_bar/bottom_bar";
@@ -14,6 +15,10 @@ import { SidePanels } from "../side_panel/side_panels/side_panels";
14
15
  import { SmallBottomBar } from "../small_bottom_bar/small_bottom_bar";
15
16
  import { SpreadsheetPrint } from "../spreadsheet_print/spreadsheet_print";
16
17
  import { TopBar } from "../top_bar/top_bar";
18
+ interface State {
19
+ printModeEnabled: boolean;
20
+ colorThemeBeforePrint: ColorThemeName;
21
+ }
17
22
  export declare class Spreadsheet extends Component<SpreadsheetChildEnv> {
18
23
  static template: string;
19
24
  protected props: import("@odoo/owl").Props<{
@@ -36,9 +41,7 @@ export declare class Spreadsheet extends Component<SpreadsheetChildEnv> {
36
41
  sidePanel: Store<SidePanelStore>;
37
42
  spreadsheetRef: import("@odoo/owl").Signal<HTMLElement | null>;
38
43
  spreadsheetRect: import("../..").Rect;
39
- state: {
40
- printModeEnabled: boolean;
41
- };
44
+ state: State;
42
45
  private _focusGrid?;
43
46
  private isViewportTooSmall;
44
47
  private notificationStore;
@@ -61,5 +64,8 @@ export declare class Spreadsheet extends Component<SpreadsheetChildEnv> {
61
64
  height: number;
62
65
  };
63
66
  getSpreadSheetClasses(): string;
67
+ enterPrintMode(): void;
64
68
  exitPrintMode(): void;
69
+ get colorScheme(): ColorThemeName;
65
70
  }
71
+ export {};
@@ -0,0 +1,15 @@
1
+ import { Signal } from "@odoo/owl";
2
+ interface PrintIframeArgs {
3
+ iframeRef: () => HTMLIFrameElement | null;
4
+ pageCount: () => number;
5
+ /** Dimensions/padding of a page */
6
+ pageStyle: () => string;
7
+ /** `@page` css rules */
8
+ pageRule: () => string;
9
+ }
10
+ export interface PrintIframe {
11
+ canvases: Signal<HTMLCanvasElement[]>;
12
+ print: () => void;
13
+ }
14
+ export declare function usePrintIframe(args: PrintIframeArgs): PrintIframe;
15
+ export {};
@@ -6,6 +6,7 @@ import { BadgeSelection } from "../side_panel/components/badge_selection/badge_s
6
6
  import { Checkbox } from "../side_panel/components/checkbox/checkbox";
7
7
  import { Section } from "../side_panel/components/section/section";
8
8
  import { StandaloneGridCanvas } from "../standalone_grid_canvas/standalone_grid_canvas";
9
+ import { PrintIframe } from "./print_iframe";
9
10
  import { Orientation, PrintPageLayout, PrintScale, PrintSelection, SpreadsheetPrintStore } from "./spreadsheet_print_store";
10
11
  export declare class SpreadsheetPrint extends Component<SpreadsheetChildEnv> {
11
12
  static template: string;
@@ -20,7 +21,10 @@ export declare class SpreadsheetPrint extends Component<SpreadsheetChildEnv> {
20
21
  Checkbox: typeof Checkbox;
21
22
  };
22
23
  printStore: Store<SpreadsheetPrintStore>;
24
+ printIframe: PrintIframe;
25
+ private iframeRef;
23
26
  setup(): void;
27
+ get pageRule(): string;
24
28
  get pageStyle(): string;
25
29
  onLayoutChange(value: PrintPageLayout): void;
26
30
  onPrintSelectionChange(value: PrintSelection): void;
@@ -24,8 +24,396 @@ export declare class StandaloneGridCanvas extends Component<SpreadsheetChildEnv>
24
24
  activeRows: Set<number>;
25
25
  activePosition: import("../..").CellPosition | undefined;
26
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
+ };
27
416
  }>;
28
- private canvasRef;
29
417
  rendererStore: Store<RendererStore>;
30
418
  figureRendererStore: Store<FigureRendererStore>;
31
419
  setup(): void;