strategyUtil.d.ts 573 B

12345678
  1. import type { DataEntity } from '../../vc-tree/interface';
  2. import type { InternalFieldName } from '../TreeSelect';
  3. import type { RawValueType, Key } from '../interface';
  4. export declare const SHOW_ALL = "SHOW_ALL";
  5. export declare const SHOW_PARENT = "SHOW_PARENT";
  6. export declare const SHOW_CHILD = "SHOW_CHILD";
  7. export type CheckedStrategy = typeof SHOW_ALL | typeof SHOW_PARENT | typeof SHOW_CHILD;
  8. export declare function formatStrategyValues(values: Key[], strategy: CheckedStrategy, keyEntities: Record<Key, DataEntity>, fieldNames: InternalFieldName): RawValueType[];