commonUtil.d.ts 714 B

12345678910
  1. import type { DefaultOptionType, FieldNames, InternalFieldNames, SingleValueType } from '../Cascader';
  2. export declare const VALUE_SPLIT = "__RC_CASCADER_SPLIT__";
  3. export declare const SHOW_PARENT = "SHOW_PARENT";
  4. export declare const SHOW_CHILD = "SHOW_CHILD";
  5. export declare function toPathKey(value: SingleValueType): string;
  6. export declare function toPathKeys(value: SingleValueType[]): string[];
  7. export declare function toPathValueStr(pathKey: string): string[];
  8. export declare function fillFieldNames(fieldNames?: FieldNames): InternalFieldNames;
  9. export declare function isLeaf(option: DefaultOptionType, fieldNames: FieldNames): any;
  10. export declare function scrollIntoParentView(element: HTMLElement): void;