UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

28 lines (27 loc) 1.44 kB
import * as React from 'react'; import { Layout, LayoutArray } from '../../AdaptableState/LayoutState'; import * as LayoutRedux from '../../Redux/ActionsReducers/LayoutRedux'; import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps'; export declare const COMPONENT_LAYOUT_POPUP_NAME = "LayoutEditorStandalonePopup"; export interface LayoutViewPanelComponentProps extends ViewPanelProps { onSelectLayout: (layoutName: string) => LayoutRedux.LayoutSelectAction; onSaveLayout: (layout: Layout) => void; showMissingLayoutsError: () => void; Layouts: LayoutArray; CurrentLayout: Layout; CurrentLayoutName: string; } export declare const LayoutViewPanelControl: import("react-redux").ConnectedComponent<React.FC<LayoutViewPanelComponentProps>, { onSelectLayout: (layoutName: string) => LayoutRedux.LayoutSelectAction; onSaveLayout: (layout: Layout) => void; showMissingLayoutsError: () => void; Layouts: [Layout, ...Layout[]]; CurrentLayout: Layout; CurrentLayoutName: string; viewType: "ToolPanel" | "Toolbar"; api: import("../../types").AdaptableApi; accessLevel: import("../../types").AccessLevel; moduleInfo: import("../../Strategy/Interface/IModule").ModuleInfo; context?: React.Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction>>; store?: import("redux").Store<any, import("redux").UnknownAction, unknown>; }>;