@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
38 lines • 1.46 kB
TypeScript
import { DisplayMode } from '../../../../types/@msft/1.15.2/displayMode';
import { IReactCSSProperties } from '../../../../types/react/IReactCSSTypes';
import { IFpsSpHttpServiceMIN } from '../../SpHttp/Sp/IFpsSpHttpServiceMIN';
import { IMinField } from './IFieldPanelHookProps';
export interface IMinListProps {
fpsSpService: IFpsSpHttpServiceMIN;
webUrl: string;
listTitle: string;
}
export declare const changesFieldPanel: string[];
/**
* IFieldPanelDesignMode:
* Disabled means only show main column pain for finding column names
* Drilldown enables Design mode specific for Drilldown webpart including Views and Commands
* ListAPalooza enables for future web part in planning stage
*/
export type IFieldPanelDesignMode = 'Disabled' | 'Drilldown' | 'ListAPalooza' | 'Other';
export interface IMinCallBackIcon {
title: string;
onClick?(selected: IMinField[]): void;
iconName: string;
iconStyles: IReactCSSProperties;
}
export interface IMinWPFieldPanelProps {
fpsSpService: IFpsSpHttpServiceMIN;
displayMode: DisplayMode;
lists: IMinListProps[];
designMode: IFieldPanelDesignMode;
bannerPillShape: boolean;
componentStyles?: IReactCSSProperties;
tryCommands?: any;
saveCommands?: any;
tryViews?: any;
saveViews?: any;
selectedHeaderIcons?: IMinCallBackIcon[];
expanded: boolean;
}
//# sourceMappingURL=IMinWPFieldPanelProps.d.ts.map