/* 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 { DataModel, Param } from "@senx/discovery-widgets"; export { DataModel, Param } from "@senx/discovery-widgets"; export namespace Components { interface DiscoveryChip { "color": string; /** * @default false */ "isHidden": boolean; "name": string; } interface DiscoveryGtsSelectModal { "close": () => Promise; /** * @default false */ "debug": boolean; "filter": (regexp: string) => Promise; "isOpened": () => Promise; /** * @default 5 */ "maxToShow": number; /** * @default '' */ "modalTitle": string; /** * @default new Param() */ "options": Param; "result": string; "setVisibility": (regexp: string, status: boolean) => Promise; "showPopup": () => Promise; } interface DiscoveryGtsTree { /** * @default false */ "debug": boolean; "filter": (regexp: string) => Promise; "filterByIds": (ids: number[]) => Promise; /** * @default '' */ "gtsFilter": string; /** * @default [] */ "hiddenData": number[]; "hideAll": () => Promise; /** * @default false */ "inPlot": boolean; "options": Param | string; "result": DataModel | string; "setVisibility": (regexp: string, status: boolean) => Promise; "showAll": () => Promise; "toggle": (regexp: string) => Promise; "toggleById": (id: number) => Promise; } interface DiscoveryPlotModal { "close": () => Promise; "isOpened": () => Promise; /** * @default '' */ "modalTitle": string; "open": () => Promise; } interface DiscoveryPluginPlot { /** * @default false */ "debug": boolean; "options": Param | string; "resize": () => Promise; "result": DataModel | string; /** * @default '' */ "unit": string; } interface DiscoverySwitch { /** * @default false */ "checked": boolean; /** * @default '' */ "text1": string; /** * @default '' */ "text2": string; } } export interface DiscoveryGtsSelectModalCustomEvent extends CustomEvent { detail: T; target: HTMLDiscoveryGtsSelectModalElement; } export interface DiscoveryGtsTreeCustomEvent extends CustomEvent { detail: T; target: HTMLDiscoveryGtsTreeElement; } export interface DiscoveryPlotModalCustomEvent extends CustomEvent { detail: T; target: HTMLDiscoveryPlotModalElement; } export interface DiscoveryPluginPlotCustomEvent extends CustomEvent { detail: T; target: HTMLDiscoveryPluginPlotElement; } export interface DiscoverySwitchCustomEvent extends CustomEvent { detail: T; target: HTMLDiscoverySwitchElement; } declare global { interface HTMLDiscoveryChipElement extends Components.DiscoveryChip, HTMLStencilElement { } var HTMLDiscoveryChipElement: { prototype: HTMLDiscoveryChipElement; new (): HTMLDiscoveryChipElement; }; interface HTMLDiscoveryGtsSelectModalElementEventMap { "discoveryModalOpen": any; "discoveryModalClose": any; "discoverySelectedGTS": any; } interface HTMLDiscoveryGtsSelectModalElement extends Components.DiscoveryGtsSelectModal, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDiscoveryGtsSelectModalElement, ev: DiscoveryGtsSelectModalCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDiscoveryGtsSelectModalElement, ev: DiscoveryGtsSelectModalCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDiscoveryGtsSelectModalElement: { prototype: HTMLDiscoveryGtsSelectModalElement; new (): HTMLDiscoveryGtsSelectModalElement; }; interface HTMLDiscoveryGtsTreeElementEventMap { "selectedGTS": any; "selectedGTSRex": any; "gtsTreeExpand": any; } interface HTMLDiscoveryGtsTreeElement extends Components.DiscoveryGtsTree, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDiscoveryGtsTreeElement, ev: DiscoveryGtsTreeCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDiscoveryGtsTreeElement, ev: DiscoveryGtsTreeCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDiscoveryGtsTreeElement: { prototype: HTMLDiscoveryGtsTreeElement; new (): HTMLDiscoveryGtsTreeElement; }; interface HTMLDiscoveryPlotModalElementEventMap { "discoveryModalOpen": any; "discoveryModalClose": any; } interface HTMLDiscoveryPlotModalElement extends Components.DiscoveryPlotModal, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDiscoveryPlotModalElement, ev: DiscoveryPlotModalCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDiscoveryPlotModalElement, ev: DiscoveryPlotModalCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDiscoveryPlotModalElement: { prototype: HTMLDiscoveryPlotModalElement; new (): HTMLDiscoveryPlotModalElement; }; interface HTMLDiscoveryPluginPlotElementEventMap { "resized": any; "draw": void; } interface HTMLDiscoveryPluginPlotElement extends Components.DiscoveryPluginPlot, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDiscoveryPluginPlotElement, ev: DiscoveryPluginPlotCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDiscoveryPluginPlotElement, ev: DiscoveryPluginPlotCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDiscoveryPluginPlotElement: { prototype: HTMLDiscoveryPluginPlotElement; new (): HTMLDiscoveryPluginPlotElement; }; interface HTMLDiscoverySwitchElementEventMap { "toggled": { checked: boolean, id: string }; } interface HTMLDiscoverySwitchElement extends Components.DiscoverySwitch, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLDiscoverySwitchElement, ev: DiscoverySwitchCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLDiscoverySwitchElement, ev: DiscoverySwitchCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLDiscoverySwitchElement: { prototype: HTMLDiscoverySwitchElement; new (): HTMLDiscoverySwitchElement; }; interface HTMLElementTagNameMap { "discovery-chip": HTMLDiscoveryChipElement; "discovery-gts-select-modal": HTMLDiscoveryGtsSelectModalElement; "discovery-gts-tree": HTMLDiscoveryGtsTreeElement; "discovery-plot-modal": HTMLDiscoveryPlotModalElement; "discovery-plugin-plot": HTMLDiscoveryPluginPlotElement; "discovery-switch": HTMLDiscoverySwitchElement; } } declare namespace LocalJSX { interface DiscoveryChip { "color"?: string; /** * @default false */ "isHidden"?: boolean; "name"?: string; } interface DiscoveryGtsSelectModal { /** * @default false */ "debug"?: boolean; /** * @default 5 */ "maxToShow"?: number; /** * @default '' */ "modalTitle"?: string; "onDiscoveryModalClose"?: (event: DiscoveryGtsSelectModalCustomEvent) => void; "onDiscoveryModalOpen"?: (event: DiscoveryGtsSelectModalCustomEvent) => void; "onDiscoverySelectedGTS"?: (event: DiscoveryGtsSelectModalCustomEvent) => void; /** * @default new Param() */ "options"?: Param; "result"?: string; } interface DiscoveryGtsTree { /** * @default false */ "debug"?: boolean; /** * @default '' */ "gtsFilter"?: string; /** * @default [] */ "hiddenData"?: number[]; /** * @default false */ "inPlot"?: boolean; "onGtsTreeExpand"?: (event: DiscoveryGtsTreeCustomEvent) => void; "onSelectedGTS"?: (event: DiscoveryGtsTreeCustomEvent) => void; "onSelectedGTSRex"?: (event: DiscoveryGtsTreeCustomEvent) => void; "options"?: Param | string; "result"?: DataModel | string; } interface DiscoveryPlotModal { /** * @default '' */ "modalTitle"?: string; "onDiscoveryModalClose"?: (event: DiscoveryPlotModalCustomEvent) => void; "onDiscoveryModalOpen"?: (event: DiscoveryPlotModalCustomEvent) => void; } interface DiscoveryPluginPlot { /** * @default false */ "debug"?: boolean; "onDraw"?: (event: DiscoveryPluginPlotCustomEvent) => void; "onResized"?: (event: DiscoveryPluginPlotCustomEvent) => void; "options"?: Param | string; "result"?: DataModel | string; /** * @default '' */ "unit"?: string; } interface DiscoverySwitch { /** * @default false */ "checked"?: boolean; "onToggled"?: (event: DiscoverySwitchCustomEvent<{ checked: boolean, id: string }>) => void; /** * @default '' */ "text1"?: string; /** * @default '' */ "text2"?: string; } interface DiscoveryChipAttributes { "isHidden": boolean; "color": string; "name": string; } interface DiscoveryGtsSelectModalAttributes { "modalTitle": string; "result": string; "maxToShow": number; "debug": boolean; } interface DiscoveryGtsTreeAttributes { "gtsFilter": string; "options": Param | string; "debug": boolean; "result": DataModel | string; "inPlot": boolean; } interface DiscoveryPlotModalAttributes { "modalTitle": string; } interface DiscoveryPluginPlotAttributes { "options": Param | string; "result": DataModel | string; "debug": boolean; "unit": string; } interface DiscoverySwitchAttributes { "text1": string; "text2": string; "checked": boolean; } interface IntrinsicElements { "discovery-chip": Omit & { [K in keyof DiscoveryChip & keyof DiscoveryChipAttributes]?: DiscoveryChip[K] } & { [K in keyof DiscoveryChip & keyof DiscoveryChipAttributes as `attr:${K}`]?: DiscoveryChipAttributes[K] } & { [K in keyof DiscoveryChip & keyof DiscoveryChipAttributes as `prop:${K}`]?: DiscoveryChip[K] }; "discovery-gts-select-modal": Omit & { [K in keyof DiscoveryGtsSelectModal & keyof DiscoveryGtsSelectModalAttributes]?: DiscoveryGtsSelectModal[K] } & { [K in keyof DiscoveryGtsSelectModal & keyof DiscoveryGtsSelectModalAttributes as `attr:${K}`]?: DiscoveryGtsSelectModalAttributes[K] } & { [K in keyof DiscoveryGtsSelectModal & keyof DiscoveryGtsSelectModalAttributes as `prop:${K}`]?: DiscoveryGtsSelectModal[K] }; "discovery-gts-tree": Omit & { [K in keyof DiscoveryGtsTree & keyof DiscoveryGtsTreeAttributes]?: DiscoveryGtsTree[K] } & { [K in keyof DiscoveryGtsTree & keyof DiscoveryGtsTreeAttributes as `attr:${K}`]?: DiscoveryGtsTreeAttributes[K] } & { [K in keyof DiscoveryGtsTree & keyof DiscoveryGtsTreeAttributes as `prop:${K}`]?: DiscoveryGtsTree[K] }; "discovery-plot-modal": Omit & { [K in keyof DiscoveryPlotModal & keyof DiscoveryPlotModalAttributes]?: DiscoveryPlotModal[K] } & { [K in keyof DiscoveryPlotModal & keyof DiscoveryPlotModalAttributes as `attr:${K}`]?: DiscoveryPlotModalAttributes[K] } & { [K in keyof DiscoveryPlotModal & keyof DiscoveryPlotModalAttributes as `prop:${K}`]?: DiscoveryPlotModal[K] }; "discovery-plugin-plot": Omit & { [K in keyof DiscoveryPluginPlot & keyof DiscoveryPluginPlotAttributes]?: DiscoveryPluginPlot[K] } & { [K in keyof DiscoveryPluginPlot & keyof DiscoveryPluginPlotAttributes as `attr:${K}`]?: DiscoveryPluginPlotAttributes[K] } & { [K in keyof DiscoveryPluginPlot & keyof DiscoveryPluginPlotAttributes as `prop:${K}`]?: DiscoveryPluginPlot[K] }; "discovery-switch": Omit & { [K in keyof DiscoverySwitch & keyof DiscoverySwitchAttributes]?: DiscoverySwitch[K] } & { [K in keyof DiscoverySwitch & keyof DiscoverySwitchAttributes as `attr:${K}`]?: DiscoverySwitchAttributes[K] } & { [K in keyof DiscoverySwitch & keyof DiscoverySwitchAttributes as `prop:${K}`]?: DiscoverySwitch[K] }; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "discovery-chip": LocalJSX.IntrinsicElements["discovery-chip"] & JSXBase.HTMLAttributes; "discovery-gts-select-modal": LocalJSX.IntrinsicElements["discovery-gts-select-modal"] & JSXBase.HTMLAttributes; "discovery-gts-tree": LocalJSX.IntrinsicElements["discovery-gts-tree"] & JSXBase.HTMLAttributes; "discovery-plot-modal": LocalJSX.IntrinsicElements["discovery-plot-modal"] & JSXBase.HTMLAttributes; "discovery-plugin-plot": LocalJSX.IntrinsicElements["discovery-plugin-plot"] & JSXBase.HTMLAttributes; "discovery-switch": LocalJSX.IntrinsicElements["discovery-switch"] & JSXBase.HTMLAttributes; } } }