UNPKG

@dialpad/dialtone-vue

Version:

Vue component library for Dialpad's design system Dialtone

56 lines 2.5 kB
export function getUniqueString(prefix?: string): string; export function getRandomElement(array: any, seed: string): any; export function javaHashCode(str: string): number; export function getRandomInt(max: number): number; export function formatMessages(messages: any): any; export function filterFormattedMessages(formattedMessages: any): any; export function getValidationState(formattedMessages: any): string | null; export function hasFormattedMessageOfType(formattedMessages: any, messageType: any): any; export function findFirstFocusableNode(element: any): any; export function debounce(func: any, timeout?: number): void; export function isOutOfViewPort(element: HTMLElement): Object; export function getPhoneNumberRegex(minLength?: number, maxLength?: number): RegExp; export function isPhoneNumber(input: string | number): boolean; export function isURL(input: string): boolean; export function isEmailAddress(input: string): boolean; export function safeConcatStrings(elements: any[]): string; export function capitalizeFirstLetter(str: string, locale?: string): string; export function warnIfUnmounted(componentRef: HTMLElement, componentName: string): void; export function disableRootScrolling(rootElement?: HTMLElement): void; export function enableRootScrolling(rootElement?: HTMLElement): void; export function toFluentKeyString(text: any): string; export namespace htmlFragment { let name: string; let functional: boolean; let props: string[]; function render(h: any, ctx: any): any; } export function flushPromises(): Promise<any>; export function kebabCaseToPascalCase(string: any): string; export function pascalCaseToKebabCase(string: any): string; export const linkRegex: RegExp; declare namespace _default { export { getUniqueString }; export { getRandomElement }; export { getRandomInt }; export { formatMessages }; export { filterFormattedMessages }; export { hasFormattedMessageOfType }; export { getValidationState }; export { htmlFragment }; export { flushPromises }; export { kebabCaseToPascalCase }; export { debounce }; export { isOutOfViewPort }; export { getPhoneNumberRegex }; export { linkRegex }; export { isEmailAddress }; export { isPhoneNumber }; export { isURL }; export { safeConcatStrings }; export { capitalizeFirstLetter }; export { disableRootScrolling }; export { enableRootScrolling }; } export default _default; //# sourceMappingURL=index.d.ts.map