UNPKG

tav-ui

Version:
123 lines (122 loc) 3.77 kB
import componentSetting from 'tav-ui/es/settings/src/componentSetting'; export declare const ComponentName = "TaTablePro"; export declare const ComponentEmptyName: string; export declare const ComponentOperationsName: string; export declare const ComponentFilterFormName: string; export declare const ComponentCustomActionName: string; export declare const ComponentActionName: string; export declare const ComponentTagsName: string; export declare const ComponentCellName: string; /** * 示例:TaTablePro => ta-table-pro * @param name * @returns */ export declare function CamelCaseToCls(name: string): string; export declare function buildTableId(): string; export declare function buildTableActionId(): string; export declare const ROW_KEY = "__id"; export declare const DEFAULT_LINE_HEIGTH = 42; export declare const PAGE_SIZE_OPTIONS: string[]; export declare const PAGE_SIZE: number; export declare const FETCH_SETTING: { pageField: string; sizeField: string; listField: string; totalField: string; }; export declare const DEFAULT_SIZE: string; export declare const DEFAULT_SORT_FN: (sortInfo: import("../..").SorterResult) => { sort: string; dir: string; }; export declare const DEFAULT_FILTER_FN: (data: Partial<Record<string, string[]>>) => Partial<Record<string, string[]>>; export declare const MAX_ACTION_NUMBER = 3; export declare const DEFAULT_ALIGN = "left"; export declare const MIN_WIDTH_SMALL = 45; export declare const MIN_WIDTH = 120; /** tooltip 位置 */ export declare const TOOLTIP_PLACEMENT = "top"; export declare const SELECT_COMPONENTS: string[]; export declare const ACTION_COLUMNS: string[]; export declare const COLUMN_SETTING_TREE_DATA_ITEM_DEFAULT: { visible: boolean; disabled: boolean; }; export declare type FetchSetting = typeof componentSetting.table.fetchSetting; export declare enum ETableProEmits { 'Update:data' = 0, 'KeydownStart' = 1, 'Keydown' = 2, 'KeydownEnd' = 3, 'Paste' = 4, 'Copy' = 5, 'Cut' = 6, 'CurrentChange' = 7, 'RadioChange' = 8, 'CheckboxChange' = 9, 'CheckboxAll' = 10, 'CheckboxRangeStart' = 11, 'CheckboxRangeChange' = 12, 'CheckboxRangeEnd' = 13, 'CellClick' = 14, 'CellDblclick' = 15, 'CellMenu' = 16, 'CellMouseenter' = 17, 'CellMouseleave' = 18, 'CellSelected' = 19, 'HeaderCellClick' = 20, 'HeaderCellDblclick' = 21, 'HeaderCellMenu' = 22, 'FooterCellClick' = 23, 'FooterCellDblclick' = 24, 'FooterCellMenu' = 25, 'ClearMerge' = 26, 'SortChange' = 27, 'ClearSort' = 28, 'FilterChange' = 29, 'FilterVisible' = 30, 'ClearFilter' = 31, 'ResizableChange' = 32, 'ToggleRowExpand' = 33, 'ToggleTreeExpand' = 34, 'MenuClick' = 35, 'EditClosed' = 36, 'EditActived' = 37, 'EditDisabled' = 38, 'ValidError' = 39, 'Scroll' = 40, 'Custom' = 41, 'ChangeFnr' = 42, 'OpenFnr' = 43, 'FnrChange' = 44, 'FnrFind' = 45, 'FnrFindAll' = 46, 'FnrReplace' = 47, 'FnrReplaceAll' = 48, 'CellAreaCopy' = 49, 'CellAreaCut' = 50, 'CellAreaPaste' = 51, 'CellAreaMerge' = 52, 'ClearCellAreaMerge' = 53, 'HeaderCellAreaSelection' = 54, 'CellAreaSelectionStart' = 55, 'CellAreaSelectionEnd' = 56, 'CellAreaExtensionStart' = 57, 'CellAreaExtensionEnd' = 58, 'CellAreaArrowsStart' = 59, 'CellAreaArrowsEnd' = 60, 'ActiveCellChangeStart' = 61, 'ActiveCellChangeEnd' = 62, 'PageChange' = 63, 'FormSubmit' = 64, 'FormSubmitInvalid' = 65, 'FormReset' = 66, 'FormCollapse' = 67, 'FormToggleCollapse' = 68, 'ToolbarButtonClick' = 69, 'ToolbarToolClick' = 70, 'Zoom' = 71, 'ApiSuccess' = 72, 'ApiError' = 73 }