@wetspace/pro-components
Version:
::: tip 基本介绍
74 lines (72 loc) • 2.16 kB
TypeScript
import { PropType } from 'vue';
import { WetEditTableColumns } from './types';
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
controlCellMethod: FunctionConstructor;
row: {
type: PropType<Record<string, any>>;
required: true;
};
prop: {
type: PropType<string | string[]>;
required: true;
};
index: NumberConstructor;
itemConfig: {
type: PropType<WetEditTableColumns>;
default(): {
dataIndex: string;
};
};
changeValue: {
type: PropType<(v: any, i: number) => void>;
required: true;
};
emitControlChangeValue: {
type: PropType<(v: any, i: number) => void>;
};
readonly: BooleanConstructor;
controlled: BooleanConstructor;
saveFlag: BooleanConstructor;
columns: PropType<(string | string[])[]>;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
controlCellMethod: FunctionConstructor;
row: {
type: PropType<Record<string, any>>;
required: true;
};
prop: {
type: PropType<string | string[]>;
required: true;
};
index: NumberConstructor;
itemConfig: {
type: PropType<WetEditTableColumns>;
default(): {
dataIndex: string;
};
};
changeValue: {
type: PropType<(v: any, i: number) => void>;
required: true;
};
emitControlChangeValue: {
type: PropType<(v: any, i: number) => void>;
};
readonly: BooleanConstructor;
controlled: BooleanConstructor;
saveFlag: BooleanConstructor;
columns: PropType<(string | string[])[]>;
}>> & Readonly<{}>, {
readonly: boolean;
controlled: boolean;
itemConfig: WetEditTableColumns;
saveFlag: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};