Files
pig-farm-controller-fe/node_modules/element-plus/es/components/table-v2/src/common.d.ts
2025-09-19 14:25:20 +08:00

43 lines
1.4 KiB
TypeScript

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>;
};