strategyUtil.d.ts 513 B

1234567
  1. import type { DataEntity } from 'rc-tree/lib/interface';
  2. import type { SafeKey, FieldNames } from '../interface';
  3. export declare const SHOW_ALL = "SHOW_ALL";
  4. export declare const SHOW_PARENT = "SHOW_PARENT";
  5. export declare const SHOW_CHILD = "SHOW_CHILD";
  6. export type CheckedStrategy = typeof SHOW_ALL | typeof SHOW_PARENT | typeof SHOW_CHILD;
  7. export declare function formatStrategyValues(values: SafeKey[], strategy: CheckedStrategy, keyEntities: Record<SafeKey, DataEntity>, fieldNames: FieldNames): SafeKey[];