@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
10 lines (9 loc) • 620 B
TypeScript
import type { Key } from '../../_util/type';
import type { SingleValueType, DefaultOptionType, InternalFieldNames, ShowCheckedStrategy } from '../Cascader';
import type { OptionsInfo } from '../hooks/useEntities';
export declare function formatStrategyValues(pathKeys: Key[], keyPathEntities: OptionsInfo['pathKeyEntities'], showCheckedStrategy: ShowCheckedStrategy): Key[];
export declare function toPathOptions(valueCells: SingleValueType, options: DefaultOptionType[], fieldNames: InternalFieldNames, stringMode?: boolean): {
value: SingleValueType[number];
index: number;
option: DefaultOptionType;
}[];