import * as vue0 from "vue"; import { InjectionKey, MaybeRefOrGetter, PropType, SlotsType } from "vue"; import * as echarts_core0 from "echarts/core"; import { SetOptionOpts, init } from "echarts/core"; import { TooltipComponentFormatterCallbackParams } from "echarts"; //#region src/types.d.ts type Injection = MaybeRefOrGetter; type InitType = typeof init; type InitParameters = Parameters; type Theme = NonNullable; type ThemeInjection = Injection; type InitOptions = NonNullable; type InitOptionsInjection = Injection; type UpdateOptions = SetOptionOpts; type UpdateOptionsInjection = Injection; type EChartsType = ReturnType; type SetOptionType = EChartsType["setOption"]; type Option = Parameters[0]; type AutoResize = boolean | { throttle?: number; onResize?: () => void; }; type LoadingOptions = { text?: string; textColor?: string; fontSize?: number | string; fontWeight?: number | string; fontStyle?: string; fontFamily?: string; maskColor?: string; showSpinner?: boolean; color?: string; spinnerRadius?: number; lineWidth?: number; zlevel?: number; }; type LoadingOptionsInjection = Injection; //#endregion //#region src/composables/api.d.ts declare const METHOD_NAMES: readonly ["getWidth", "getHeight", "getDom", "getOption", "resize", "dispatchAction", "convertToPixel", "convertFromPixel", "containPixel", "getDataURL", "getConnectedDataURL", "appendData", "clear", "isDisposed", "dispose"]; type MethodName = (typeof METHOD_NAMES)[number]; type PublicMethods = Pick; //#endregion //#region src/composables/loading.d.ts declare const LOADING_OPTIONS_KEY: InjectionKey; //#endregion //#region src/composables/slot.d.ts type SlotsTypes = SlotsType & Record<"dataView" | `dataView-${string}`, Option>>; //#endregion //#region src/wc.d.ts interface EChartsElement extends HTMLElement { __dispose: (() => void) | null; } //#endregion //#region src/ECharts.d.ts declare const THEME_KEY: InjectionKey; declare const INIT_OPTIONS_KEY: InjectionKey; declare const UPDATE_OPTIONS_KEY: InjectionKey; declare const _default: vue0.DefineComponent; autoresize: PropType; option: PropType