UNPKG

@zhsz/cool-design-crud

Version:

188 lines (187 loc) 4.19 kB
declare const GlobalConfig: { size: null; zIndex: number; version: number; emptyCell: string; table: { fit: boolean; showHeader: boolean; animat: boolean; delayHover: number; autoResize: boolean; minHeight: number; resizeConfig: { refreshDelay: number; }; radioConfig: { strict: boolean; }; checkboxConfig: { strict: boolean; }; tooltipConfig: { enterable: boolean; }; validConfig: { showMessage: boolean; autoClear: boolean; message: string; msgMode: string; }; columnConfig: { maxFixedSize: number; }; sortConfig: { showIcon: boolean; }; filterConfig: { showIcon: boolean; }; treeConfig: { rowField: string; parentField: string; childrenField: string; hasChildField: string; mapChildrenField: string; indent: number; showIcon: boolean; }; expandConfig: { showIcon: boolean; }; editConfig: { showIcon: boolean; showAsterisk: boolean; }; importConfig: { modes: string[]; }; exportConfig: { modes: string[]; }; printConfig: { modes: string[]; }; mouseConfig: { extension: boolean; }; keyboardConfig: { isEsc: boolean; }; areaConfig: { selectCellByHeader: boolean; }; clipConfig: { isCopy: boolean; isCut: boolean; isPaste: boolean; }; fnrConfig: { isFind: boolean; isReplace: boolean; }; scrollX: { gt: number; }; scrollY: { gt: number; }; }; export: { types: {}; }; grid: { formConfig: { enabled: boolean; }; pagerConfig: { enabled: boolean; }; toolbarConfig: { enabled: boolean; }; proxyConfig: { enabled: boolean; autoLoad: boolean; message: boolean; props: { list: null; result: string; total: string; message: string; }; }; }; tooltip: { trigger: string; theme: string; enterDelay: number; leaveDelay: number; }; pager: {}; form: { validConfig: { showMessage: boolean; autoPos: boolean; }; tooltipConfig: { enterable: boolean; }; titleAsterisk: boolean; }; input: { startDate: Date; endDate: Date; startDay: number; selectDay: number; digits: number; controls: boolean; }; textarea: {}; select: { multiCharOverflow: number; }; toolbar: { custom: { allowFixed: boolean; showFooter: boolean; }; }; button: {}; radio: { strict: boolean; }; radioButton: { strict: boolean; }; radioGroup: { strict: boolean; }; checkbox: {}; switch: {}; modal: { top: number; showHeader: boolean; minWidth: number; minHeight: number; lockView: boolean; mask: boolean; duration: number; marginSize: number; dblclickZoom: boolean; showTitleOverflow: boolean; animat: boolean; showClose: boolean; draggable: boolean; storageKey: string; }; list: { scrollY: { enabled: boolean; gt: number; }; }; }; export default GlobalConfig; export declare function isEmptyValue(cellValue: any): boolean; export declare function formatText(value: any, placeholder?: any): string;