@aplus-frontend/ui
Version:
13 lines (12 loc) • 754 B
TypeScript
import { VNode, RendererNode, RendererElement } from 'vue';
import { ConvertValueOptions } from './interface';
export declare const isNull: (value: any) => boolean;
export declare const createMemoizeKey: (value: any, options?: any) => string;
export declare const convertValue: (value: string | number | (() => VNode) | VNode | null | undefined, options?: ConvertValueOptions) => string | number | VNode< RendererNode, RendererElement, {
[key: string]: any;
}> | (() => VNode) | null | undefined;
export declare const isVNodeOrFunction: (value: any) => boolean;
export declare const renderValue: (value: any) => VNode< RendererNode, RendererElement, {
[key: string]: any;
}> | null;
export declare const isConstLabel: (label: string) => boolean;