1
This commit is contained in:
42
admin/node_modules/element-plus/lib/components/table-v2/src/common.d.ts
generated
vendored
Normal file
42
admin/node_modules/element-plus/lib/components/table-v2/src/common.d.ts
generated
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
import type { CSSProperties } from 'vue';
|
||||
import type { Column, KeyType } from './types';
|
||||
export type AnyColumn = Column<any>;
|
||||
/**
|
||||
* @Note even though we can use `string[] | string` as the type but for
|
||||
* convenience here we only use `string` as the acceptable value here.
|
||||
*/
|
||||
export declare const classType: StringConstructor;
|
||||
export declare const columns: {
|
||||
readonly type: import("vue").PropType<AnyColumn[]>;
|
||||
readonly required: true;
|
||||
};
|
||||
export declare const column: {
|
||||
readonly type: import("vue").PropType<AnyColumn>;
|
||||
};
|
||||
export declare const fixedDataType: {
|
||||
readonly type: import("vue").PropType<any[]>;
|
||||
};
|
||||
export declare const dataType: {
|
||||
readonly required: true;
|
||||
readonly type: import("vue").PropType<any[]>;
|
||||
};
|
||||
export declare const expandColumnKey: StringConstructor;
|
||||
export declare const expandKeys: {
|
||||
readonly type: import("vue").PropType<KeyType[]>;
|
||||
readonly default: () => never[];
|
||||
};
|
||||
export declare const requiredNumber: {
|
||||
readonly type: NumberConstructor;
|
||||
readonly required: true;
|
||||
};
|
||||
export declare const rowKey: {
|
||||
readonly type: import("vue").PropType<KeyType>;
|
||||
readonly default: "id";
|
||||
};
|
||||
/**
|
||||
* @note even though we can use `StyleValue` but that would be difficult for us to mapping them,
|
||||
* so we only use `CSSProperties` as the acceptable value here.
|
||||
*/
|
||||
export declare const styleType: {
|
||||
type: import("vue").PropType<CSSProperties>;
|
||||
};
|
||||
Reference in New Issue
Block a user