treeUtil.d.ts 620 B

123456789
  1. import type { Key } from '../../_util/type';
  2. import type { SingleValueType, DefaultOptionType, InternalFieldNames, ShowCheckedStrategy } from '../Cascader';
  3. import type { OptionsInfo } from '../hooks/useEntities';
  4. export declare function formatStrategyValues(pathKeys: Key[], keyPathEntities: OptionsInfo['pathKeyEntities'], showCheckedStrategy: ShowCheckedStrategy): Key[];
  5. export declare function toPathOptions(valueCells: SingleValueType, options: DefaultOptionType[], fieldNames: InternalFieldNames, stringMode?: boolean): {
  6. value: SingleValueType[number];
  7. index: number;
  8. option: DefaultOptionType;
  9. }[];