@progress/kendo-angular-intl
Version:
Kendo UI Internationalization for Angular components
83 lines (82 loc) • 2.11 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Locale } from './locale-data.interface';
export { DateFieldNameOptions, DateFormatNameOptions, DateFormatOptions, NumberFormatOptions, DateFormatPart } from '@progress/kendo-intl';
/**
* Wraps Kendo Intl methods to provide enhanced error handling and documentation for the Kendo Angular Intl package.
*
* Includes utility functions for formatting, parsing, and retrieving locale data, as well as error message enhancements.
*
* @example
* ```ts
* import { formatDate, parseNumber, localeData } from '@progress/kendo-angular-intl';
* const formatted = formatDate(new Date(), { date: 'short' });
* ```
*/
/**
* @hidden
*/
export declare const dateFormatNames: Function;
/**
* @hidden
*/
export declare const dateFieldName: Function;
/**
* @hidden
*/
export declare const firstDay: Function;
/**
* @hidden
*/
export declare const format: Function;
/**
* @hidden
*/
export declare const formatDate: Function;
/**
* @hidden
*/
export declare const formatNumber: Function;
/**
* @hidden
*/
export declare const load: Function;
/**
* @hidden
*/
export declare const numberSymbols: Function;
/**
* @hidden
*/
export declare const parseDate: Function;
/**
* @hidden
*/
export declare const parseNumber: Function;
/**
* @hidden
*/
export declare const splitDateFormat: Function;
/**
* @hidden
*/
export declare const toString: Function;
/**
* @hidden
*/
export declare const weekendRange: Function;
/**
* Sets a pre-built locale.
*
* @param data - The pre-built locale data.
*/
export declare const setData: (data: any) => void;
/**
* Retrieves the locale data for the specified locale.
*
* @param locale - The locale ID.
* @returns The locale data.
*/
export declare const localeData: (locale: string) => Locale;