@genesislcap/g2plot-chart 14.214.2 → 14.214.3

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 (64) hide show
  1. package/dist/custom-elements.json +23 -9
  2. package/dist/dts/chart-components.d.ts +4 -0
  3. package/dist/dts/chart-components.d.ts.map +1 -1
  4. package/dist/dts/chart-datasource/chart-datasource.d.ts +14 -0
  5. package/dist/dts/chart-datasource/chart-datasource.d.ts.map +1 -1
  6. package/dist/dts/chart.d.ts +11 -0
  7. package/dist/dts/chart.d.ts.map +1 -1
  8. package/dist/dts/chart.types.d.ts +8 -0
  9. package/dist/dts/chart.types.d.ts.map +1 -1
  10. package/dist/dts/settings/colors.d.ts +4 -0
  11. package/dist/dts/settings/colors.d.ts.map +1 -1
  12. package/dist/dts/settings/shapes.d.ts +4 -0
  13. package/dist/dts/settings/shapes.d.ts.map +1 -1
  14. package/dist/dts/tsdoc-metadata.json +11 -0
  15. package/dist/esm/chart-components.js +4 -0
  16. package/dist/esm/chart-datasource/chart-datasource.js +14 -0
  17. package/dist/esm/chart.js +11 -1
  18. package/dist/esm/settings/colors.js +4 -0
  19. package/dist/esm/settings/shapes.js +4 -0
  20. package/dist/g2plot-chart.api.json +1600 -0
  21. package/dist/g2plot-chart.d.ts +964 -0
  22. package/docs/.gitattributes +2 -0
  23. package/docs/api/g2plot-chart.chartdatasource.disconnectedcallback.md +15 -0
  24. package/docs/api/g2plot-chart.chartdatasource.fetchgenesisdata.md +22 -0
  25. package/docs/api/g2plot-chart.chartdatasource.md +22 -0
  26. package/docs/api/g2plot-chart.chartdatasourceerrorevent.md +15 -0
  27. package/docs/api/g2plot-chart.chartdatasourceerroreventdetail.md +15 -0
  28. package/docs/api/g2plot-chart.chartdatasourceeventnames.md +15 -0
  29. package/docs/api/g2plot-chart.charterrorevent.md +15 -0
  30. package/docs/api/g2plot-chart.charterroritem.detail.md +11 -0
  31. package/docs/api/g2plot-chart.charterroritem.md +21 -0
  32. package/docs/api/g2plot-chart.charterroritem.type.md +11 -0
  33. package/docs/api/g2plot-chart.charterrornames.md +16 -0
  34. package/docs/api/g2plot-chart.charterrortypes.md +15 -0
  35. package/docs/api/g2plot-chart.chartmodels.md +13 -0
  36. package/docs/api/g2plot-chart.chartsgradients.md +24 -0
  37. package/docs/api/g2plot-chart.charttypes.md +13 -0
  38. package/docs/api/g2plot-chart.defaultchartconfig.md +13 -0
  39. package/docs/api/g2plot-chart.defaultchartfields.md +18 -0
  40. package/docs/api/g2plot-chart.defaultserieschartfield.md +18 -0
  41. package/docs/api/g2plot-chart.foundationchartshadowoptions.md +13 -0
  42. package/docs/api/g2plot-chart.g2plotchart._constructor_.md +13 -0
  43. package/docs/api/g2plot-chart.g2plotchart.chart.md +11 -0
  44. package/docs/api/g2plot-chart.g2plotchart.chartcontainer.md +11 -0
  45. package/docs/api/g2plot-chart.g2plotchart.config.md +11 -0
  46. package/docs/api/g2plot-chart.g2plotchart.configchanged.md +15 -0
  47. package/docs/api/g2plot-chart.g2plotchart.connectedcallback.md +15 -0
  48. package/docs/api/g2plot-chart.g2plotchart.data.md +11 -0
  49. package/docs/api/g2plot-chart.g2plotchart.datachanged.md +23 -0
  50. package/docs/api/g2plot-chart.g2plotchart.deepclone.md +15 -0
  51. package/docs/api/g2plot-chart.g2plotchart.disconnectedcallback.md +15 -0
  52. package/docs/api/g2plot-chart.g2plotchart.erroritems.md +11 -0
  53. package/docs/api/g2plot-chart.g2plotchart.eventhandler.md +11 -0
  54. package/docs/api/g2plot-chart.g2plotchart.md +28 -0
  55. package/docs/api/g2plot-chart.g2plotchart.renderchart.md +15 -0
  56. package/docs/api/g2plot-chart.g2plotchart.type.md +11 -0
  57. package/docs/api/g2plot-chart.g2plotchartscomponents.md +26 -0
  58. package/docs/api/g2plot-chart.g2plotcharttemplate.md +13 -0
  59. package/docs/api/g2plot-chart.md +46 -0
  60. package/docs/api/g2plot-chart.registerrapidshape.md +13 -0
  61. package/docs/api/index.md +12 -0
  62. package/docs/api-report.md +190 -0
  63. package/package.json +14 -14
  64. package/tsdoc.json +4 -0
@@ -0,0 +1,964 @@
1
+ import { Area } from '@antv/g2plot';
2
+ import { Bar } from '@antv/g2plot';
3
+ import { BaseDatasource } from '@genesislcap/foundation-ui';
4
+ import type { BaseDatasourceErrorHandlingOptions } from '@genesislcap/foundation-ui';
5
+ import { Column } from '@antv/g2plot';
6
+ import type { Container } from '@microsoft/fast-foundation';
7
+ import { Controller } from '@microsoft/fast-element';
8
+ import { DOMContainer } from '@genesislcap/foundation-utils';
9
+ import { DualAxes } from '@antv/g2plot';
10
+ import { ElementStyles } from '@microsoft/fast-element';
11
+ import { FoundationElement } from '@microsoft/fast-foundation';
12
+ import { FoundationElementRegistry } from '@microsoft/fast-foundation';
13
+ import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
14
+ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
15
+ import { Line } from '@antv/g2plot';
16
+ import { Mix } from '@antv/g2plot';
17
+ import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
18
+ import { Pie } from '@antv/g2plot';
19
+ import { Rose } from '@antv/g2plot';
20
+ import { Scatter } from '@antv/g2plot';
21
+ import { Stock } from '@antv/g2plot';
22
+ import { ViewTemplate } from '@microsoft/fast-element';
23
+
24
+ /**
25
+ * The Genesis Datasource for the `g2plot-chart` component.
26
+ * @public
27
+ */
28
+ export declare class ChartDatasource extends ChartDatasource_base {
29
+ disconnectedCallback(): void;
30
+ fetchGenesisData(withFullInit?: boolean): Promise<void>;
31
+ }
32
+
33
+ declare const ChartDatasource_base: (new (...args: any[]) => {
34
+ "__#1@#_container": FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
35
+ "__#1@#_latestTokenCode": string;
36
+ "__#1@#_hasFirstLoaded": boolean;
37
+ "__#1@#_cleanupTimeout": NodeJS.Timeout;
38
+ "__#1@#_shouldForceLifecycle": boolean;
39
+ cloneNode(deep?: boolean): Node;
40
+ deepClone(): Node;
41
+ readonly shouldRunDisconnect: boolean;
42
+ readonly shouldRunConnect: boolean;
43
+ "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
44
+ "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
45
+ connectedCallback(): void;
46
+ readonly $fastController: Controller;
47
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
48
+ disconnectedCallback(): void;
49
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
50
+ accessKey: string;
51
+ readonly accessKeyLabel: string;
52
+ autocapitalize: string;
53
+ dir: string;
54
+ draggable: boolean;
55
+ hidden: boolean;
56
+ inert: boolean;
57
+ innerText: string;
58
+ lang: string;
59
+ readonly offsetHeight: number;
60
+ readonly offsetLeft: number;
61
+ readonly offsetParent: Element;
62
+ readonly offsetTop: number;
63
+ readonly offsetWidth: number;
64
+ outerText: string;
65
+ spellcheck: boolean;
66
+ title: string;
67
+ translate: boolean;
68
+ attachInternals(): ElementInternals;
69
+ click(): void;
70
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
71
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
72
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
73
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
74
+ readonly attributes: NamedNodeMap;
75
+ readonly classList: DOMTokenList;
76
+ className: string;
77
+ readonly clientHeight: number;
78
+ readonly clientLeft: number;
79
+ readonly clientTop: number;
80
+ readonly clientWidth: number;
81
+ id: string;
82
+ readonly localName: string;
83
+ readonly namespaceURI: string;
84
+ onfullscreenchange: (this: Element, ev: Event) => any;
85
+ onfullscreenerror: (this: Element, ev: Event) => any;
86
+ outerHTML: string;
87
+ readonly ownerDocument: Document;
88
+ readonly part: DOMTokenList;
89
+ readonly prefix: string;
90
+ readonly scrollHeight: number;
91
+ scrollLeft: number;
92
+ scrollTop: number;
93
+ readonly scrollWidth: number;
94
+ readonly shadowRoot: ShadowRoot;
95
+ slot: string;
96
+ readonly tagName: string;
97
+ attachShadow(init: ShadowRootInit): ShadowRoot;
98
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
99
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
100
+ closest<E extends Element = Element>(selectors: string): E;
101
+ getAttribute(qualifiedName: string): string;
102
+ getAttributeNS(namespace: string, localName: string): string;
103
+ getAttributeNames(): string[];
104
+ getAttributeNode(qualifiedName: string): Attr;
105
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
106
+ getBoundingClientRect(): DOMRect;
107
+ getClientRects(): DOMRectList;
108
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
109
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
110
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
111
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
112
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
113
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
114
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
115
+ hasAttribute(qualifiedName: string): boolean;
116
+ hasAttributeNS(namespace: string, localName: string): boolean;
117
+ hasAttributes(): boolean;
118
+ hasPointerCapture(pointerId: number): boolean;
119
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
120
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
121
+ insertAdjacentText(where: InsertPosition, data: string): void;
122
+ matches(selectors: string): boolean;
123
+ releasePointerCapture(pointerId: number): void;
124
+ removeAttribute(qualifiedName: string): void;
125
+ removeAttributeNS(namespace: string, localName: string): void;
126
+ removeAttributeNode(attr: Attr): Attr;
127
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
128
+ requestPointerLock(): void;
129
+ scroll(options?: ScrollToOptions): void;
130
+ scroll(x: number, y: number): void;
131
+ scrollBy(options?: ScrollToOptions): void;
132
+ scrollBy(x: number, y: number): void;
133
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
134
+ scrollTo(options?: ScrollToOptions): void;
135
+ scrollTo(x: number, y: number): void;
136
+ setAttribute(qualifiedName: string, value: string): void;
137
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
138
+ setAttributeNode(attr: Attr): Attr;
139
+ setAttributeNodeNS(attr: Attr): Attr;
140
+ setPointerCapture(pointerId: number): void;
141
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
142
+ webkitMatchesSelector(selectors: string): boolean;
143
+ readonly baseURI: string;
144
+ readonly childNodes: NodeListOf<ChildNode>;
145
+ readonly firstChild: ChildNode;
146
+ readonly isConnected: boolean;
147
+ readonly lastChild: ChildNode;
148
+ readonly nextSibling: ChildNode;
149
+ readonly nodeName: string;
150
+ readonly nodeType: number;
151
+ nodeValue: string;
152
+ readonly parentElement: HTMLElement;
153
+ readonly parentNode: ParentNode;
154
+ readonly previousSibling: ChildNode;
155
+ textContent: string;
156
+ appendChild<T_1 extends Node>(node: T_1): T_1;
157
+ compareDocumentPosition(other: Node): number;
158
+ contains(other: Node): boolean;
159
+ getRootNode(options?: GetRootNodeOptions): Node;
160
+ hasChildNodes(): boolean;
161
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
162
+ isDefaultNamespace(namespace: string): boolean;
163
+ isEqualNode(otherNode: Node): boolean;
164
+ isSameNode(otherNode: Node): boolean;
165
+ lookupNamespaceURI(prefix: string): string;
166
+ lookupPrefix(namespace: string): string;
167
+ normalize(): void;
168
+ removeChild<T_3 extends Node>(child: T_3): T_3;
169
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
170
+ readonly ATTRIBUTE_NODE: number;
171
+ readonly CDATA_SECTION_NODE: number;
172
+ readonly COMMENT_NODE: number;
173
+ readonly DOCUMENT_FRAGMENT_NODE: number;
174
+ readonly DOCUMENT_NODE: number;
175
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
176
+ readonly DOCUMENT_POSITION_CONTAINS: number;
177
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
178
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
179
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
180
+ readonly DOCUMENT_POSITION_PRECEDING: number;
181
+ readonly DOCUMENT_TYPE_NODE: number;
182
+ readonly ELEMENT_NODE: number;
183
+ readonly ENTITY_NODE: number;
184
+ readonly ENTITY_REFERENCE_NODE: number;
185
+ readonly NOTATION_NODE: number;
186
+ readonly PROCESSING_INSTRUCTION_NODE: number;
187
+ readonly TEXT_NODE: number;
188
+ dispatchEvent(event: Event): boolean;
189
+ ariaAtomic: string;
190
+ ariaAutoComplete: string;
191
+ ariaBusy: string;
192
+ ariaChecked: string;
193
+ ariaColCount: string;
194
+ ariaColIndex: string;
195
+ ariaColIndexText: string;
196
+ ariaColSpan: string;
197
+ ariaCurrent: string;
198
+ ariaDisabled: string;
199
+ ariaExpanded: string;
200
+ ariaHasPopup: string;
201
+ ariaHidden: string;
202
+ ariaInvalid: string;
203
+ ariaKeyShortcuts: string;
204
+ ariaLabel: string;
205
+ ariaLevel: string;
206
+ ariaLive: string;
207
+ ariaModal: string;
208
+ ariaMultiLine: string;
209
+ ariaMultiSelectable: string;
210
+ ariaOrientation: string;
211
+ ariaPlaceholder: string;
212
+ ariaPosInSet: string;
213
+ ariaPressed: string;
214
+ ariaReadOnly: string;
215
+ ariaRequired: string;
216
+ ariaRoleDescription: string;
217
+ ariaRowCount: string;
218
+ ariaRowIndex: string;
219
+ ariaRowIndexText: string;
220
+ ariaRowSpan: string;
221
+ ariaSelected: string;
222
+ ariaSetSize: string;
223
+ ariaSort: string;
224
+ ariaValueMax: string;
225
+ ariaValueMin: string;
226
+ ariaValueNow: string;
227
+ ariaValueText: string;
228
+ role: string;
229
+ animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
230
+ getAnimations(options?: GetAnimationsOptions): Animation[];
231
+ after(...nodes: (string | Node)[]): void;
232
+ before(...nodes: (string | Node)[]): void;
233
+ remove(): void;
234
+ replaceWith(...nodes: (string | Node)[]): void;
235
+ innerHTML: string;
236
+ readonly nextElementSibling: Element;
237
+ readonly previousElementSibling: Element;
238
+ readonly childElementCount: number;
239
+ readonly children: HTMLCollection;
240
+ readonly firstElementChild: Element;
241
+ readonly lastElementChild: Element;
242
+ append(...nodes: (string | Node)[]): void;
243
+ prepend(...nodes: (string | Node)[]): void;
244
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
245
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
246
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
247
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
248
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
249
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
250
+ replaceChildren(...nodes: (string | Node)[]): void;
251
+ readonly assignedSlot: HTMLSlotElement;
252
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
253
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
254
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
255
+ readonly style: CSSStyleDeclaration;
256
+ contentEditable: string;
257
+ enterKeyHint: string;
258
+ inputMode: string;
259
+ readonly isContentEditable: boolean;
260
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
261
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
262
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
263
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
264
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
265
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
266
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
267
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
268
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
269
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
270
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
271
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
272
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
273
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
274
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
275
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
276
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
277
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
278
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
279
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
280
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
281
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
282
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
283
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
284
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
285
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
286
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
287
+ onerror: OnErrorEventHandlerNonNull;
288
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
289
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
290
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
291
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
292
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
293
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
294
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
295
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
296
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
297
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
298
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
299
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
300
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
301
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
302
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
303
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
304
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
305
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
306
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
307
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
308
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
309
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
310
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
311
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
312
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
313
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
314
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
315
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
316
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
317
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
318
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
319
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
320
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
321
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
322
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
323
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
324
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
325
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
326
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
327
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
328
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
329
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
330
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
331
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
332
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
333
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
334
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
335
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
336
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
337
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
338
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
339
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
340
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
341
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
342
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
343
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
344
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
345
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
346
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
347
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
348
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
349
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
350
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
351
+ autofocus: boolean;
352
+ readonly dataset: DOMStringMap;
353
+ nonce?: string;
354
+ tabIndex: number;
355
+ blur(): void;
356
+ focus(options?: FocusOptions): void;
357
+ }) & typeof ConcreteDatasource;
358
+
359
+ /**
360
+ * The error event Chart Datasource.
361
+ * @public
362
+ */
363
+ export declare type ChartDatasourceErrorEvent = CustomEvent<ChartDatasourceErrorEventDetail>;
364
+
365
+ /**
366
+ * The event detail for the Chart Datasource `error` event.
367
+ * @public
368
+ */
369
+ export declare type ChartDatasourceErrorEventDetail = {
370
+ message: string;
371
+ };
372
+
373
+ /**
374
+ * The Chart Datasource event names.
375
+ * @public
376
+ */
377
+ export declare const chartDatasourceEventNames: {
378
+ error: string;
379
+ };
380
+
381
+ /**
382
+ * Chart possible error events
383
+ * @public
384
+ */
385
+ export declare type ChartErrorEvent = ChartDatasourceErrorEvent | CustomEvent<ChartErrorItem<any>>;
386
+
387
+ /**
388
+ * Chart Error Item
389
+ * @public
390
+ */
391
+ export declare interface ChartErrorItem<ChartErrorItemDetailType> {
392
+ detail: ChartErrorItemDetailType;
393
+ type: ChartErrorTypes;
394
+ }
395
+
396
+ /**
397
+ * The error names for the Chart component.
398
+ * @public
399
+ */
400
+ export declare const chartErrorNames: {
401
+ readonly datasource: "datasource";
402
+ readonly unknown: "unknown";
403
+ };
404
+
405
+ /**
406
+ * Chart Error Types
407
+ * @public
408
+ */
409
+ export declare type ChartErrorTypes = keyof typeof chartErrorNames;
410
+
411
+ /**
412
+ * The Chart Datasource events names.
413
+ * @internal
414
+ */
415
+ export declare const chartEventNames: {
416
+ datasourceErrorClose: string;
417
+ };
418
+
419
+ /**
420
+ * Chart Event Listeners
421
+ * @internal
422
+ */
423
+ export declare type ChartEventsListeners = {
424
+ key: string;
425
+ action: (event: Event) => void;
426
+ }[];
427
+
428
+ /**
429
+ * G2Plot Chart Models
430
+ * @public
431
+ */
432
+ export declare type ChartModels = Line | Area | Bar | Column | Pie | DualAxes | Rose | Scatter | Stock | Mix;
433
+
434
+ /**
435
+ * G2Plot Chart gradient colors
436
+ * @public
437
+ */
438
+ export declare const chartsGradients: {
439
+ rapidBlue: string;
440
+ rapidGreen: string;
441
+ rapidRed: string;
442
+ rapidPortage: string;
443
+ rapidAlabaster: string;
444
+ rapidSalomie: string;
445
+ rapidMelon: string;
446
+ rapidDodgerBlue: string;
447
+ rapidIce: string;
448
+ rapidViolet: string;
449
+ };
450
+
451
+ /**
452
+ * G2Plot Chart Types
453
+ * @public
454
+ */
455
+ export declare type ChartTypes = 'line' | 'area' | 'column' | 'bar' | 'pie' | 'donut' | 'dualaxes' | 'rose' | 'scatter' | 'stock' | 'mix';
456
+
457
+ declare class ConcreteDatasource extends BaseDatasource {
458
+ private chart;
459
+ /**
460
+ * Default value is 'groupBy value'. Can be customized but order matters.
461
+ *
462
+ * [Mandatory] First is always the xField/colorField
463
+ * [Mandatory] Second is always the yField/angleField
464
+ * [Optional] Third is always the seriesField
465
+ *
466
+ * @public
467
+ */
468
+ chartFields: string;
469
+ private extractedServerFields;
470
+ private validServerFieldsMetadata;
471
+ private seriesChartField;
472
+ /**
473
+ * Can be customized but order matters.
474
+ *
475
+ * [Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)
476
+ * [Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)
477
+ * [Optional] Third will be associated to the third value in 'chartFields' (seriesField)
478
+ *
479
+ * @public
480
+ */
481
+ serverFields: string;
482
+ private extractedChartsFields;
483
+ isStack: boolean;
484
+ isGroup: boolean;
485
+ /**
486
+ * Enabled by default, will not work if a custom charts-fields is used (requires [type, value]).
487
+ * @public
488
+ */
489
+ reduced: boolean;
490
+ /**
491
+ * Only works if [withTimestampFormatting] is true.
492
+ *
493
+ * Disabled by default, will ignore the TIME portion in the Chart labels.
494
+ * Only affects [DATETIME] fields.
495
+ * @public
496
+ */
497
+ showFormattedTime: boolean;
498
+ connectedCallback(): Promise<void>;
499
+ handleError(params: BaseDatasourceErrorHandlingOptions): void;
500
+ clearData(): void;
501
+ syncComponentData(snapshotData?: any[]): void;
502
+ handleStreamInserts(insertedRows: any[]): void;
503
+ handleStreamDeletes(deletedRows: any[]): void;
504
+ handleStreamUpdates(updatedRows: any[]): void;
505
+ private prepareSeriesField;
506
+ private prepareValidServerFieldsMetadata;
507
+ get groupByServerFieldName(): string;
508
+ get hasValidServerFields(): boolean;
509
+ get hasValidChartFields(): boolean;
510
+ private hasValidFieldsStructure;
511
+ }
512
+
513
+ /**
514
+ * The default `g2plot-chart` configuration.
515
+ * @public
516
+ */
517
+ export declare const defaultChartConfig: {};
518
+
519
+ /**
520
+ * The first and second default chart fields when it's a dual axes chart.
521
+ * @remarks This field is always used. Default value is 'groupBy value'.
522
+ * @public
523
+ */
524
+ export declare const defaultChartFields = "groupBy value";
525
+
526
+ /**
527
+ * The third default chart field when it's a triple axes chart.
528
+ * @remarks This field is optional. Default value is 'series'.
529
+ * @public
530
+ */
531
+ export declare const defaultSeriesChartField = "series";
532
+
533
+ /**
534
+ * The `g2plot-chart` component shadow options.
535
+ * @public
536
+ * @privateRemarks explicitly declaring for extensibility
537
+ */
538
+ export declare const foundationChartShadowOptions: ShadowRootInit;
539
+
540
+ /**
541
+ * The G2Plot Chart component
542
+ * @tagname %%prefix%%-g2plot-chart
543
+ * @public
544
+ */
545
+ export declare class G2PlotChart extends G2PlotChart_base {
546
+ chart: ChartModels;
547
+ chartContainer: HTMLElement;
548
+ type: ChartTypes;
549
+ config: any;
550
+ configChanged(): void;
551
+ data: any[];
552
+ errorItems: ChartErrorItem<ChartErrorEvent['detail']>[];
553
+ private legendSelected;
554
+ private legendParser?;
555
+ private rootEventsListeners;
556
+ dataChanged(oldValue: any[], newValue: any[]): void;
557
+ constructor();
558
+ private hideDatasourceError;
559
+ private addErrorItem;
560
+ deepClone(): Node;
561
+ renderChart(): void;
562
+ connectedCallback(): void;
563
+ disconnectedCallback(): void;
564
+ eventHandler: (e: any) => void;
565
+ private initalizeChart;
566
+ private getLegendNameFromData;
567
+ /**
568
+ * Get which legend items are selected (shown/hidden) so they can be re-applied during a subsequent connectedCallback
569
+ *
570
+ * @remarks
571
+ * When moving a chart around with `appendChild()` the state of hidden/shown fields is reset. This callback function
572
+ * will cache the state of the legend items so they can be re-applied when the chart is re-rendered. The cache
573
+ * is applied in `this.initalizeConfiguration()`.
574
+ *
575
+ * To get the state of the legend items, the chart's `filteredData` is used. This is the data that is currently
576
+ * shown on the chart. If we diff this with all of the data from `this.data` we can work out which fields are hidden or shown.
577
+ *
578
+ * To get the legend name from the data to pass to the options we use a legend parser which is a function that takes a single
579
+ * data item and extracts the legend name from it. There are defaults for certain chart types in `this.getLegendNameFromData`
580
+ * but this can be overridden by passing a `legendParser` function to the chart.
581
+ */
582
+ private cacheHiddenLegendItemsCallback;
583
+ private initalizeConfiguration;
584
+ }
585
+
586
+ /**
587
+ * The G2plot Chart
588
+ *
589
+ * @public
590
+ * @remarks
591
+ * HTML Element: \<design-system-g2plot-chart\>
592
+ */
593
+ export declare const g2plotChart: (overrideDefinition?: OverrideFoundationElementDefinition< {
594
+ baseName: string;
595
+ styles: ElementStyles;
596
+ template: ViewTemplate<any, any>;
597
+ shadowOptions: ShadowRootInit;
598
+ }>) => FoundationElementRegistry< {
599
+ baseName: string;
600
+ styles: ElementStyles;
601
+ template: ViewTemplate<any, any>;
602
+ shadowOptions: ShadowRootInit;
603
+ }, typeof G2PlotChart>;
604
+
605
+ declare const G2PlotChart_base: (new (...args: any[]) => {
606
+ "__#1@#_container": FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
607
+ "__#1@#_latestTokenCode": string;
608
+ "__#1@#_hasFirstLoaded": boolean;
609
+ "__#1@#_cleanupTimeout": NodeJS.Timeout;
610
+ "__#1@#_shouldForceLifecycle": boolean;
611
+ cloneNode(deep?: boolean): Node;
612
+ deepClone(): Node;
613
+ readonly shouldRunDisconnect: boolean;
614
+ readonly shouldRunConnect: boolean;
615
+ "__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
616
+ "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
617
+ connectedCallback(): void;
618
+ readonly $fastController: Controller;
619
+ $emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
620
+ disconnectedCallback(): void;
621
+ attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
622
+ accessKey: string;
623
+ readonly accessKeyLabel: string;
624
+ autocapitalize: string;
625
+ dir: string;
626
+ draggable: boolean;
627
+ hidden: boolean;
628
+ inert: boolean;
629
+ innerText: string;
630
+ lang: string;
631
+ readonly offsetHeight: number;
632
+ readonly offsetLeft: number;
633
+ readonly offsetParent: Element;
634
+ readonly offsetTop: number;
635
+ readonly offsetWidth: number;
636
+ outerText: string;
637
+ spellcheck: boolean;
638
+ title: string;
639
+ translate: boolean;
640
+ attachInternals(): ElementInternals;
641
+ click(): void;
642
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
643
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
644
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
645
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
646
+ readonly attributes: NamedNodeMap;
647
+ readonly classList: DOMTokenList;
648
+ className: string;
649
+ readonly clientHeight: number;
650
+ readonly clientLeft: number;
651
+ readonly clientTop: number;
652
+ readonly clientWidth: number;
653
+ id: string;
654
+ readonly localName: string;
655
+ readonly namespaceURI: string;
656
+ onfullscreenchange: (this: Element, ev: Event) => any;
657
+ onfullscreenerror: (this: Element, ev: Event) => any;
658
+ outerHTML: string;
659
+ readonly ownerDocument: Document;
660
+ readonly part: DOMTokenList;
661
+ readonly prefix: string;
662
+ readonly scrollHeight: number;
663
+ scrollLeft: number;
664
+ scrollTop: number;
665
+ readonly scrollWidth: number;
666
+ readonly shadowRoot: ShadowRoot;
667
+ slot: string;
668
+ readonly tagName: string;
669
+ attachShadow(init: ShadowRootInit): ShadowRoot;
670
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
671
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
672
+ closest<E extends Element = Element>(selectors: string): E;
673
+ getAttribute(qualifiedName: string): string;
674
+ getAttributeNS(namespace: string, localName: string): string;
675
+ getAttributeNames(): string[];
676
+ getAttributeNode(qualifiedName: string): Attr;
677
+ getAttributeNodeNS(namespace: string, localName: string): Attr;
678
+ getBoundingClientRect(): DOMRect;
679
+ getClientRects(): DOMRectList;
680
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
681
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
682
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
683
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
684
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
685
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
686
+ getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
687
+ hasAttribute(qualifiedName: string): boolean;
688
+ hasAttributeNS(namespace: string, localName: string): boolean;
689
+ hasAttributes(): boolean;
690
+ hasPointerCapture(pointerId: number): boolean;
691
+ insertAdjacentElement(where: InsertPosition, element: Element): Element;
692
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
693
+ insertAdjacentText(where: InsertPosition, data: string): void;
694
+ matches(selectors: string): boolean;
695
+ releasePointerCapture(pointerId: number): void;
696
+ removeAttribute(qualifiedName: string): void;
697
+ removeAttributeNS(namespace: string, localName: string): void;
698
+ removeAttributeNode(attr: Attr): Attr;
699
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
700
+ requestPointerLock(): void;
701
+ scroll(options?: ScrollToOptions): void;
702
+ scroll(x: number, y: number): void;
703
+ scrollBy(options?: ScrollToOptions): void;
704
+ scrollBy(x: number, y: number): void;
705
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
706
+ scrollTo(options?: ScrollToOptions): void;
707
+ scrollTo(x: number, y: number): void;
708
+ setAttribute(qualifiedName: string, value: string): void;
709
+ setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
710
+ setAttributeNode(attr: Attr): Attr;
711
+ setAttributeNodeNS(attr: Attr): Attr;
712
+ setPointerCapture(pointerId: number): void;
713
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
714
+ webkitMatchesSelector(selectors: string): boolean;
715
+ readonly baseURI: string;
716
+ readonly childNodes: NodeListOf<ChildNode>;
717
+ readonly firstChild: ChildNode;
718
+ readonly isConnected: boolean;
719
+ readonly lastChild: ChildNode;
720
+ readonly nextSibling: ChildNode;
721
+ readonly nodeName: string;
722
+ readonly nodeType: number;
723
+ nodeValue: string;
724
+ readonly parentElement: HTMLElement;
725
+ readonly parentNode: ParentNode;
726
+ readonly previousSibling: ChildNode;
727
+ textContent: string;
728
+ appendChild<T_1 extends Node>(node: T_1): T_1;
729
+ compareDocumentPosition(other: Node): number;
730
+ contains(other: Node): boolean;
731
+ getRootNode(options?: GetRootNodeOptions): Node;
732
+ hasChildNodes(): boolean;
733
+ insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
734
+ isDefaultNamespace(namespace: string): boolean;
735
+ isEqualNode(otherNode: Node): boolean;
736
+ isSameNode(otherNode: Node): boolean;
737
+ lookupNamespaceURI(prefix: string): string;
738
+ lookupPrefix(namespace: string): string;
739
+ normalize(): void;
740
+ removeChild<T_3 extends Node>(child: T_3): T_3;
741
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
742
+ readonly ATTRIBUTE_NODE: number;
743
+ readonly CDATA_SECTION_NODE: number;
744
+ readonly COMMENT_NODE: number;
745
+ readonly DOCUMENT_FRAGMENT_NODE: number;
746
+ readonly DOCUMENT_NODE: number;
747
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
748
+ readonly DOCUMENT_POSITION_CONTAINS: number;
749
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
750
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
751
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
752
+ readonly DOCUMENT_POSITION_PRECEDING: number;
753
+ readonly DOCUMENT_TYPE_NODE: number;
754
+ readonly ELEMENT_NODE: number;
755
+ readonly ENTITY_NODE: number;
756
+ readonly ENTITY_REFERENCE_NODE: number;
757
+ readonly NOTATION_NODE: number;
758
+ readonly PROCESSING_INSTRUCTION_NODE: number;
759
+ readonly TEXT_NODE: number;
760
+ dispatchEvent(event: Event): boolean;
761
+ ariaAtomic: string;
762
+ ariaAutoComplete: string;
763
+ ariaBusy: string;
764
+ ariaChecked: string;
765
+ ariaColCount: string;
766
+ ariaColIndex: string;
767
+ ariaColIndexText: string;
768
+ ariaColSpan: string;
769
+ ariaCurrent: string;
770
+ ariaDisabled: string;
771
+ ariaExpanded: string;
772
+ ariaHasPopup: string;
773
+ ariaHidden: string;
774
+ ariaInvalid: string;
775
+ ariaKeyShortcuts: string;
776
+ ariaLabel: string;
777
+ ariaLevel: string;
778
+ ariaLive: string;
779
+ ariaModal: string;
780
+ ariaMultiLine: string;
781
+ ariaMultiSelectable: string;
782
+ ariaOrientation: string;
783
+ ariaPlaceholder: string;
784
+ ariaPosInSet: string;
785
+ ariaPressed: string;
786
+ ariaReadOnly: string;
787
+ ariaRequired: string;
788
+ ariaRoleDescription: string;
789
+ ariaRowCount: string;
790
+ ariaRowIndex: string;
791
+ ariaRowIndexText: string;
792
+ ariaRowSpan: string;
793
+ ariaSelected: string;
794
+ ariaSetSize: string;
795
+ ariaSort: string;
796
+ ariaValueMax: string;
797
+ ariaValueMin: string;
798
+ ariaValueNow: string;
799
+ ariaValueText: string;
800
+ role: string;
801
+ animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
802
+ getAnimations(options?: GetAnimationsOptions): Animation[];
803
+ after(...nodes: (string | Node)[]): void;
804
+ before(...nodes: (string | Node)[]): void;
805
+ remove(): void;
806
+ replaceWith(...nodes: (string | Node)[]): void;
807
+ innerHTML: string;
808
+ readonly nextElementSibling: Element;
809
+ readonly previousElementSibling: Element;
810
+ readonly childElementCount: number;
811
+ readonly children: HTMLCollection;
812
+ readonly firstElementChild: Element;
813
+ readonly lastElementChild: Element;
814
+ append(...nodes: (string | Node)[]): void;
815
+ prepend(...nodes: (string | Node)[]): void;
816
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
817
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
818
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1;
819
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
820
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
821
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
822
+ replaceChildren(...nodes: (string | Node)[]): void;
823
+ readonly assignedSlot: HTMLSlotElement;
824
+ oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
825
+ oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
826
+ onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
827
+ readonly style: CSSStyleDeclaration;
828
+ contentEditable: string;
829
+ enterKeyHint: string;
830
+ inputMode: string;
831
+ readonly isContentEditable: boolean;
832
+ onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
833
+ onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
834
+ onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
835
+ onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
836
+ onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
837
+ onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
838
+ onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
839
+ onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
840
+ oncancel: (this: GlobalEventHandlers, ev: Event) => any;
841
+ oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
842
+ oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
843
+ onchange: (this: GlobalEventHandlers, ev: Event) => any;
844
+ onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
845
+ onclose: (this: GlobalEventHandlers, ev: Event) => any;
846
+ oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
847
+ oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
848
+ ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
849
+ ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
850
+ ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
851
+ ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
852
+ ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
853
+ ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
854
+ ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
855
+ ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
856
+ ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
857
+ onemptied: (this: GlobalEventHandlers, ev: Event) => any;
858
+ onended: (this: GlobalEventHandlers, ev: Event) => any;
859
+ onerror: OnErrorEventHandlerNonNull;
860
+ onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
861
+ onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
862
+ ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
863
+ oninput: (this: GlobalEventHandlers, ev: Event) => any;
864
+ oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
865
+ onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
866
+ onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
867
+ onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
868
+ onload: (this: GlobalEventHandlers, ev: Event) => any;
869
+ onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
870
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
871
+ onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
872
+ onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
873
+ onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
874
+ onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
875
+ onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
876
+ onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
877
+ onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
878
+ onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
879
+ onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
880
+ onpause: (this: GlobalEventHandlers, ev: Event) => any;
881
+ onplay: (this: GlobalEventHandlers, ev: Event) => any;
882
+ onplaying: (this: GlobalEventHandlers, ev: Event) => any;
883
+ onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
884
+ onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
885
+ onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
886
+ onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
887
+ onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
888
+ onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
889
+ onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
890
+ onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
891
+ onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
892
+ onratechange: (this: GlobalEventHandlers, ev: Event) => any;
893
+ onreset: (this: GlobalEventHandlers, ev: Event) => any;
894
+ onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
895
+ onscroll: (this: GlobalEventHandlers, ev: Event) => any;
896
+ onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
897
+ onseeked: (this: GlobalEventHandlers, ev: Event) => any;
898
+ onseeking: (this: GlobalEventHandlers, ev: Event) => any;
899
+ onselect: (this: GlobalEventHandlers, ev: Event) => any;
900
+ onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
901
+ onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
902
+ onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
903
+ onstalled: (this: GlobalEventHandlers, ev: Event) => any;
904
+ onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
905
+ onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
906
+ ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
907
+ ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
908
+ ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
909
+ ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
910
+ ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
911
+ ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
912
+ ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
913
+ ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
914
+ ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
915
+ ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
916
+ onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
917
+ onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
918
+ onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
919
+ onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
920
+ onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
921
+ onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
922
+ onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
923
+ autofocus: boolean;
924
+ readonly dataset: DOMStringMap;
925
+ nonce?: string;
926
+ tabIndex: number;
927
+ blur(): void;
928
+ focus(options?: FocusOptions): void;
929
+ }) & typeof FoundationElement;
930
+
931
+ /**
932
+ * All the `g2plot-chart` components
933
+ * @public
934
+ */
935
+ export declare const g2plotChartsComponents: {
936
+ g2plotChart: (overrideDefinition?: OverrideFoundationElementDefinition< {
937
+ baseName: string;
938
+ styles: ElementStyles;
939
+ template: ViewTemplate<any, any>;
940
+ shadowOptions: ShadowRootInit;
941
+ }>) => FoundationElementRegistry< {
942
+ baseName: string;
943
+ styles: ElementStyles;
944
+ template: ViewTemplate<any, any>;
945
+ shadowOptions: ShadowRootInit;
946
+ }, G2PlotChart>;
947
+ register(container?: Container, ...rest: any[]): void;
948
+ };
949
+
950
+ /**
951
+ * The g2lot chart template.
952
+ * @param prefix - The design system prefix to use. Defaults to 'foundation'.
953
+ * @returns A g2plot chart template prefixed with the correct design system.
954
+ * @public
955
+ */
956
+ export declare const g2plotChartTemplate: ViewTemplate;
957
+
958
+ /**
959
+ * Register the Rapid Design System G2Plot shape
960
+ * @public
961
+ */
962
+ export declare const registerRapidShape: () => void;
963
+
964
+ export { }