treeUtil.d.ts 614 B

123456789
  1. /// <reference types="react" />
  2. import type { SingleValueType, DefaultOptionType, InternalFieldNames, ShowCheckedStrategy } from '../Cascader';
  3. import type { GetEntities } from '../hooks/useEntities';
  4. export declare function formatStrategyValues(pathKeys: React.Key[], getKeyPathEntities: GetEntities, showCheckedStrategy?: ShowCheckedStrategy): import("react").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. }[];