HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/oura.mlazu.com/node_modules/recharts/types/state/graphicalItemsSlice.d.ts
import { ChartData } from './chartDataSlice';
import { AxisId } from './cartesianAxisSlice';
import { DataKey } from '../util/types';
import { LineSettings } from './types/LineSettings';
import { ScatterSettings } from './types/ScatterSettings';
import { AreaSettings } from './types/AreaSettings';
import { BarSettings } from './types/BarSettings';
import { RadialBarSettings } from './types/RadialBarSettings';
import { PieSettings } from './types/PieSettings';
import { RadarSettings } from './types/RadarSettings';
/**
 * Unique ID of the graphical item.
 * This is used to identify the graphical item in the state and in the React tree.
 * This is required for every graphical item - it's either provided by the user or generated automatically.
 */
export type GraphicalItemId = string;
export interface GraphicalItemSettings {
    /**
     * Unique ID of the graphical item.
     * This is used to identify the graphical item in the state and in the React tree.
     * This is required for every graphical item - it's either provided by the user or generated automatically.
     */
    id: GraphicalItemId;
    /**
     * If the given graphical item has its own data array, it will appear here.
     * If this is undefined, the data will be taken from the chart root prop.
     */
    data: ChartData | undefined;
    dataKey: DataKey<any> | undefined;
    /**
     * Why not just stop pushing the graphical items to state when they are hidden?
     * Well some components decide to continue showing them anyway.
     * Legend for example will keep showing a record for hidden graphical items.
     * Stacks for example will ignore them.
     */
    hide: boolean;
}
export interface BaseCartesianGraphicalItemSettings extends GraphicalItemSettings {
    /**
     * Each of the graphical items explicitly says which axis it uses;
     * this property is optional for users but every graphical item must have a default,
     * and it is required here.
     */
    xAxisId: AxisId;
    yAxisId: AxisId;
    zAxisId: AxisId;
    /**
     * Graphical items that are inside Brush panorama should not interact with the main area graphical items
     * and vice versa.
     */
    isPanorama: boolean;
}
export type CartesianGraphicalItemSettings = AreaSettings | BarSettings | LineSettings | ScatterSettings;
export interface BasePolarGraphicalItemSettings extends GraphicalItemSettings {
    angleAxisId: AxisId;
    radiusAxisId: AxisId;
}
export type PolarGraphicalItemSettings = PieSettings | RadarSettings | RadialBarSettings;
export type GraphicalItemsState = {
    /**
     * This is an array of all cartesian graphical items and their settings.
     * Graphical item is a visual representation of data on the chart.
     * Some examples are: Line, Bar.
     *
     * The order is arbitrary; do not expect that indexes here will be the same as indexes elsewhere.
     */
    cartesianItems: ReadonlyArray<CartesianGraphicalItemSettings>;
    /**
     * This is an array of all polar graphical items and their settings.
     * Graphical item is a visual representation of data on the chart.
     * Some examples are: Pie, Radar, RadialBar
     *
     * The order is arbitrary; do not expect that indexes here will be the same as indexes elsewhere.
     */
    polarItems: ReadonlyArray<PolarGraphicalItemSettings>;
};
type ReplacePayload<T> = {
    prev: T;
    next: T;
};
export declare const addCartesianGraphicalItem: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: CartesianGraphicalItemSettings], CartesianGraphicalItemSettings, "graphicalItems/addCartesianGraphicalItem", never, unknown>, replaceCartesianGraphicalItem: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: ReplacePayload<CartesianGraphicalItemSettings>], ReplacePayload<CartesianGraphicalItemSettings>, "graphicalItems/replaceCartesianGraphicalItem", never, unknown>, removeCartesianGraphicalItem: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: CartesianGraphicalItemSettings], CartesianGraphicalItemSettings, "graphicalItems/removeCartesianGraphicalItem", never, unknown>, addPolarGraphicalItem: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: PolarGraphicalItemSettings], PolarGraphicalItemSettings, "graphicalItems/addPolarGraphicalItem", never, unknown>, removePolarGraphicalItem: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: PolarGraphicalItemSettings], PolarGraphicalItemSettings, "graphicalItems/removePolarGraphicalItem", never, unknown>, replacePolarGraphicalItem: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[payload: ReplacePayload<PolarGraphicalItemSettings>], ReplacePayload<PolarGraphicalItemSettings>, "graphicalItems/replacePolarGraphicalItem", never, unknown>;
export declare const graphicalItemsReducer: import("redux").Reducer<GraphicalItemsState>;
export {};