@progress/kendo-react-gauges
Version:
React Gauges provide a set of React components for building beautiful and customizable gauges. KendoReact Gauges package
99 lines (98 loc) • 2.28 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { default as PropTypes } from 'prop-types';
import { Surface } from '@progress/kendo-drawing';
import { BaseGaugePrivateProps } from './BaseGaugeProps';
import { GaugeContextType } from './GaugeContext.js';
import * as React from 'react';
/**
* @hidden
*/
export declare class BaseGauge extends React.Component<BaseGaugePrivateProps, {}> {
/**
* @hidden
*/
static propTypes: {
dir: PropTypes.Requireable<string>;
renderAs: PropTypes.Requireable<string>;
};
/**
* @hidden
*/
static defaultProps: {
renderAs: string;
};
/**
* @hidden
*/
gaugeInstance: any | null;
/**
* @hidden
*/
surface: Surface | null;
/**
* @hidden
*/
get element(): HTMLDivElement;
protected _element: HTMLDivElement | null;
protected themeStore: any;
protected themeUnsubscriber: Function;
protected contextValue: GaugeContextType;
protected observersStore: any;
private readonly showLicenseWatermark;
private readonly licenseMessage?;
constructor(props: BaseGaugePrivateProps);
/**
* @hidden
*/
componentDidMount(): void;
/**
* @hidden
*/
componentDidUpdate(prevProps: any): void;
/**
* @hidden
*/
componentWillUnmount(): void;
/**
* @hidden
*/
render(): any;
/**
* @hidden
*/
instantiateCoreGauge(): void;
/**
* @hidden
*/
refresh(): void;
/**
* @hidden
*/
refreshValue(value: number): void;
/**
* @hidden
*/
refreshAllValues(values: Array<number>): void;
/**
* @hidden
*/
getDirection(dir?: string): boolean;
/**
* @hidden
*/
getGaugeOptions(): any;
/**
* @hidden
*/
trigger(name: string, e: any): void;
/**
* @hidden
*/
onWindowResize: () => void;
}