import { Options } from 'sortablejs'; import { DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, CSSProperties, ComputedRef, PropType } from 'vue'; import { ButtonsCallBackParams, PlusTableSelfProps as PlusTableProps, TableFormRefRow, FormChangeCallBackParams, FilterTableHeaderEventType, ActionBarProps, ColumnSetting } from './type'; import { PageInfo, PlusColumn, RecordType, TableValueType, FormItemValueType, OptionsRow } from 'yc-pro-components/es/types'; import { TableInstance, TableColumnCtx } from 'element-plus'; import { PlusRadioProps } from 'yc-pro-components/es/components/radio'; import { PlusPaginationProps } from 'yc-pro-components/es/components/pagination'; declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { defaultSize: string; pagination: boolean; actionBar: boolean; hasIndexColumn: boolean; titleBar: boolean; isSelection: boolean; isRadio: boolean; hasExpand: boolean; loadingStatus: boolean; tableData: () => never[]; data: () => never[]; columns: () => never[]; headerCellStyle: () => { 'background-color': string; }; rowKey: string; dragSortable: boolean; dragSortableTableColumnProps: () => {}; indexTableColumnProps: () => {}; indexContentStyle: () => {}; selectionTableColumnProps: () => { width: number; }; radioTableColumnProps: () => { width: number; }; defaultSelectedRadioRow: undefined; radioProps: undefined; expandTableColumnProps: () => {}; editable: boolean; adaptive: boolean; columnsEmptyText: string; }>, { formRefs: ShallowRef>; tableInstance: ShallowRef; startRowEdit: (rowIndex: number, prop?: string | undefined) => Promise; stopRowEdit: (rowIndex: number, prop?: string | undefined) => Promise; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { paginationChange: (pageInfo: PageInfo) => void; clickAction: (data: ButtonsCallBackParams) => void; clickActionConfirmCancel: (data: ButtonsCallBackParams) => void; dragSortEnd: (newIndex: number, oldIndex: number) => void; formChange: (data: FormChangeCallBackParams) => void; refresh: () => void; edited: () => void; "cell-click": (row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void; "cell-dblclick": (row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => void; filterTableHeader: (columns: PlusColumn[], eventType: FilterTableHeaderEventType) => void; radioChange: (row: RecordType, index: number, value: boolean) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { defaultSize: string; pagination: boolean; actionBar: boolean; hasIndexColumn: boolean; titleBar: boolean; isSelection: boolean; isRadio: boolean; hasExpand: boolean; loadingStatus: boolean; tableData: () => never[]; data: () => never[]; columns: () => never[]; headerCellStyle: () => { 'background-color': string; }; rowKey: string; dragSortable: boolean; dragSortableTableColumnProps: () => {}; indexTableColumnProps: () => {}; indexContentStyle: () => {}; selectionTableColumnProps: () => { width: number; }; radioTableColumnProps: () => { width: number; }; defaultSelectedRadioRow: undefined; radioProps: undefined; expandTableColumnProps: () => {}; editable: boolean; adaptive: boolean; columnsEmptyText: string; }>>> & { onClickAction?: ((data: ButtonsCallBackParams) => any) | undefined; onClickActionConfirmCancel?: ((data: ButtonsCallBackParams) => any) | undefined; onFormChange?: ((data: FormChangeCallBackParams) => any) | undefined; "onCell-click"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined; "onCell-dblclick"?: ((row: RecordType, column: PlusColumn, cell: HTMLTableCellElement, event: Event) => any) | undefined; onDragSortEnd?: ((newIndex: number, oldIndex: number) => any) | undefined; onRefresh?: (() => any) | undefined; onFilterTableHeader?: ((columns: PlusColumn[], eventType: FilterTableHeaderEventType) => any) | undefined; onPaginationChange?: ((pageInfo: PageInfo) => any) | undefined; onEdited?: (() => any) | undefined; onRadioChange?: ((row: RecordType, index: number, value: boolean) => any) | undefined; }, { data: RecordType[]; columns: PlusColumn[]; headerCellStyle: Partial< CSSProperties> | Partial<(data: { row: any[]; rowIndex: number; column: TableColumnCtx; columnIndex: number; }) => CSSProperties>; rowKey: string | ((row: any[]) => string); actionBar: false | Partial< ActionBarProps>; editable: boolean | "click" | "dblclick"; indexTableColumnProps: Partial< TableColumnCtx>; indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>); dragSortableTableColumnProps: Partial< TableColumnCtx>; titleBar: boolean | Partial>; defaultSize: "" | "default" | "small" | "large"; tableData: RecordType[]; pagination: false | Partial; hasIndexColumn: boolean; isSelection: boolean | "radio"; isRadio: boolean; hasExpand: boolean; loadingStatus: boolean; dragSortable: false | Partial< Options>; selectionTableColumnProps: Partial< TableColumnCtx>; radioTableColumnProps: Partial< TableColumnCtx>; radioProps: Partial; defaultSelectedRadioRow: RecordType | ComputedRef; expandTableColumnProps: Partial< TableColumnCtx>; adaptive: boolean | { offsetBottom?: number | undefined; timeout?: number | undefined; }; columnsEmptyText: string; }, {}>, Partial, (_: { column: any; prop: string; valueType: TableValueType | FormItemValueType; row: RecordType; index: number; rowIndex: number; fieldProps: RecordType; options: OptionsRow[]; value: any; }) => any>> & { title?(_: {}): any; toolbar?(_: {}): any; "drag-sort-icon"?(_: {}): any; "column-settings-icon"?(_: {}): any; "density-icon"?(_: {}): any; expand?(_: any): any; default?(_: {}): any; "action-bar-more-icon"?(_: {}): any; append?(_: {}): any; empty?(_: {}): any; "pagination-left"?(_: {}): any; "pagination-right"?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };