util.d.ts 1.1 KB

123456789101112131415161718
  1. import type { VueNode } from './type';
  2. export declare const isFunction: (val: any) => boolean;
  3. export declare const controlDefaultValue: any;
  4. export declare const isArray: (arg: any) => arg is any[];
  5. export declare const isString: (val: any) => boolean;
  6. export declare const isSymbol: (val: any) => boolean;
  7. export declare const isObject: (val: any) => boolean;
  8. declare const isOn: (key: any) => boolean;
  9. declare const cacheStringFunction: (fn: any) => (str: any) => any;
  10. declare const camelize: (str: any) => any;
  11. declare const hyphenate: (str: any) => any;
  12. declare const capitalize: (str: any) => any;
  13. declare function resolvePropValue(options: any, props: any, key: any, value: any): any;
  14. export declare function getDataAndAriaProps(props: any): {};
  15. export declare function toPx(val: any): any;
  16. export declare function renderHelper<T = Record<string, any>>(v: VueNode | ((arg0: T) => VueNode), props?: T, defaultV?: any): any;
  17. export declare function wrapPromiseFn(openFn: (resolve: VoidFunction) => VoidFunction): any;
  18. export { isOn, cacheStringFunction, camelize, hyphenate, capitalize, resolvePropValue };