@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
25 lines • 1.94 kB
TypeScript
import { DisplayMode } from "../../../../types/@msft/1.15.2/displayMode";
import { IReactCSSProperties } from "../../../../types/react/IReactCSSTypes";
import { ILoadPerformance, IPerformanceOp } from "../../../molecules/Performance/IPerformance";
import { IPalettePalReactState } from "../interfaces/IPalettePalReactProps";
import { IFpsSpHttpServiceMIN } from "../../../molecules/SpHttp/Sp/IFpsSpHttpServiceMIN";
export interface IReloadThemesResponse {
forceAnalytics: boolean;
_performance: ILoadPerformanceFetch1;
}
export declare function _reloadThemes(fpsSpService: IFpsSpHttpServiceMIN, _performance: ILoadPerformanceFetch1, displayMode: DisplayMode, serverRelativeUrl: string, setState: (props: IPalettePalReactState) => void, forceAnalytics?: boolean): Promise<IReloadThemesResponse>;
export declare const PalPalconsolePrefix: string;
export declare const PalPaldefaultPivot: string;
export declare const PalPalLinkStyles: IReactCSSProperties;
export interface ILoadPerformanceFetch1 extends ILoadPerformance {
ops: {
fetch: IPerformanceOp;
fetch1: IPerformanceOp;
};
}
export declare function _selectPalette(itemKey: string, reactState: IPalettePalReactState, setState: (props: IPalettePalReactState) => void): void;
export declare function _updatePaletteJSON(text: string, reactState: IPalettePalReactState, setState: (props: IPalettePalReactState) => void): void;
export declare function _updateThemeName(text: string, reactState: IPalettePalReactState, setState: (props: IPalettePalReactState) => void): void;
export type IPaletteReactCmd = 'Delete' | 'Create' | 'Update' | 'Apply';
export declare function _executeCommandErrMess(cmd: IPaletteReactCmd, _formDigest: string, userTitle: string, serverRelativeUrl: string, reactState: IPalettePalReactState, setState: (props: IPalettePalReactState) => void): Promise<string>;
//# sourceMappingURL=ReactComponent.d.ts.map