@senx/discovery-plugin-marauder
Version:
Discovery plugin - Marauder's map
74 lines (73 loc) • 3.97 kB
TypeScript
/* eslint-disable */
/* tslint:disable */
/**
* This is an autogenerated file created by the Stencil compiler.
* It contains typing information for all components that exist in this project.
*/
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
import { ChartType, DataModel, Param } from "@senx/discovery-widgets";
export { ChartType, DataModel, Param } from "@senx/discovery-widgets";
export namespace Components {
interface DiscoveryPluginMarauder {
"debug": boolean;
"export": (type?: 'png' | 'svg') => Promise<any>;
"height": number;
"options": Param | string;
"resize": () => Promise<void>;
"result": DataModel | string;
"type": ChartType;
"width": number;
}
}
export interface DiscoveryPluginMarauderCustomEvent<T> extends CustomEvent<T> {
detail: T;
target: HTMLDiscoveryPluginMarauderElement;
}
declare global {
interface HTMLDiscoveryPluginMarauderElementEventMap {
"draw": void;
"dataPointOver": any;
"pausedEvent": boolean;
}
interface HTMLDiscoveryPluginMarauderElement extends Components.DiscoveryPluginMarauder, HTMLStencilElement {
addEventListener<K extends keyof HTMLDiscoveryPluginMarauderElementEventMap>(type: K, listener: (this: HTMLDiscoveryPluginMarauderElement, ev: DiscoveryPluginMarauderCustomEvent<HTMLDiscoveryPluginMarauderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof HTMLDiscoveryPluginMarauderElementEventMap>(type: K, listener: (this: HTMLDiscoveryPluginMarauderElement, ev: DiscoveryPluginMarauderCustomEvent<HTMLDiscoveryPluginMarauderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}
var HTMLDiscoveryPluginMarauderElement: {
prototype: HTMLDiscoveryPluginMarauderElement;
new (): HTMLDiscoveryPluginMarauderElement;
};
interface HTMLElementTagNameMap {
"discovery-plugin-marauder": HTMLDiscoveryPluginMarauderElement;
}
}
declare namespace LocalJSX {
interface DiscoveryPluginMarauder {
"debug"?: boolean;
"height"?: number;
"onDataPointOver"?: (event: DiscoveryPluginMarauderCustomEvent<any>) => void;
"onDraw"?: (event: DiscoveryPluginMarauderCustomEvent<void>) => void;
"onPausedEvent"?: (event: DiscoveryPluginMarauderCustomEvent<boolean>) => void;
"options"?: Param | string;
"result"?: DataModel | string;
"type"?: ChartType;
"width"?: number;
}
interface IntrinsicElements {
"discovery-plugin-marauder": DiscoveryPluginMarauder;
}
}
export { LocalJSX as JSX };
declare module "@stencil/core" {
export namespace JSX {
interface IntrinsicElements {
"discovery-plugin-marauder": LocalJSX.DiscoveryPluginMarauder & JSXBase.HTMLAttributes<HTMLDiscoveryPluginMarauderElement>;
}
}
}