@mikezimm/npmfunctions
Version:
Functions used in my SPFx webparts
76 lines (73 loc) • 2.83 kB
TypeScript
/***
* .d88b. db db d888888b .o88b. db dD .o88b. .d88b. .88b d88. .88b d88. .d8b. d8b db d8888b. .d8888.
* .8P Y8. 88 88 `88' d8P Y8 88 ,8P' d8P Y8 .8P Y8. 88'YbdP`88 88'YbdP`88 d8' `8b 888o 88 88 `8D 88' YP
* 88 88 88 88 88 8P 88,8P 8P 88 88 88 88 88 88 88 88 88ooo88 88V8o 88 88 88 `8bo.
* 88 88 88 88 88 8b 88`8b 8b 88 88 88 88 88 88 88 88 88~~~88 88 V8o88 88 88 `Y8b.
* `8P d8' 88b d88 .88. Y8b d8 88 `88. Y8b d8 `8b d8' 88 88 88 88 88 88 88 88 88 V888 88 .8D db 8D
* `Y88'Y8 ~Y8888P' Y888888P `Y88P' YP YD `Y88P' `Y88P' YP YP YP YP YP YP YP YP VP V8P Y8888D' `8888Y'
*
*
import { QuickCommandsTMT, IQuickCommands, IQuickButton, }
from '@mikezimm/npmfunctions/dist/QuickCommands/IQuickCommands';
*/
import { IFieldDef } from '../Fields/Interfaces';
export declare const CommandItemNotUpdatedMessage: string;
export declare const CommandUpdateFailedMessage: string;
export declare const CommandEnterCommentString: string;
export declare const CommandCancelRequired: string;
export declare const CommandEmptyCommentMessage: string;
export declare const CommandCaptchaTestFailed: string;
export declare const CommandCaptchaRequiredFailed: string;
export interface IQuickCommands {
[key: string]: string | IQuickButton[][] | boolean | number | any | undefined;
buttons: IQuickButton[][];
fields: IQuickField[][];
onUpdateAlsoCallback?: boolean;
callBack?: any;
listWebUrl?: string;
listName?: string;
onUpdateReload?: boolean;
successBanner?: number;
refreshCallback?: any;
styleRow?: any;
showWhenEvalTrue?: string;
quickCommandsRequireUser?: boolean;
}
export interface IQuickButton {
[key: string]: string | boolean | string[] | any | undefined;
str0?: string;
strPrev?: string;
str1?: string;
strNext?: string;
str2?: string;
str3?: string;
label: string;
primary: boolean;
secondary?: string;
alert?: string;
confirm?: string;
disabled?: boolean;
console?: string;
icon?: string;
checked?: boolean;
panelMessage?: string;
updateItem: any;
groupID?: string;
styleButton?: string;
styleIcon?: string;
successReload?: boolean;
theseRefiners?: string[];
showWhenEvalTrue?: string;
}
export interface IQuickField extends Partial<IFieldDef> {
[key: string]: string | boolean | number | string[] | undefined;
required: boolean;
disabled?: boolean;
hidden?: boolean;
blinkOnProject?: boolean;
choices?: string[];
value?: any;
default?: any;
width?: number;
styles?: any;
}