Module @code-art-eg/angular-globalite

angular-globalite

This library provides Angular pipes for formatting and parsing numbers, dates, and booleans using the @code-art-eg/globalite library. This is a rewrite of the @code-art-eg/angular-globalize library that used the Globalize library.

You can install this library via npm:

npm install @code-art-eg/angular-globalite

or via yarn:

yarn add @code-art-eg/angular-globalite

The library major version follows the major version of Angular it is compatible with. For example, version 19.x.x is compatible with Angular 19.x.x. Since the first version was created for Angular 19, the lowest major version is 19.

See documentation in docs for more details.

Classes

AngularLocaleProviderService
CookieLocaleProviderService
GlobalizeBooleanPipe
GlobalizeCountryPipe
GlobalizeDateOnlyDirective
GlobalizeDatePipe
GlobalizeDateTimeDirective
GlobalizeDayPipe
GlobalizeDirectionDirective
GlobalizeDurationPipe
GlobalizeIntegerDirective
GlobalizeLanguagePipe
GlobalizeMonthPipe
GlobalizeNullDirective
GlobalizeNumberDirective
GlobalizeNumberPipe
LocaleService
LocaleValidatorService
NavigatorLanguageLocaleProviderService
StorageLocaleProviderService

Interfaces

CookieLocaleConfig
DateOnly
LocaleProvider
StorageLocaleConfig

Type Aliases

CoercedValue
ControlValue
MonthDisplay
WeekdayDisplay

Variables

COOKIE_LOCALE_CONFIG_TOKEN
DEFAULT_APP_LOCALE_KEY
DEFAULT_COOKIE_EXPIRES_MINUTES
DEFAULT_COOKIE_NAME
DEFAULT_COOKIE_PATH
DEFAULT_LOCALE
STORAGE_LOCALE_CONFIG_TOKEN
SUPPORTED_LOCALES_TOKEN

Functions

getParentLocale
isDateOnly
isParentLocale
isWhitespaceOrEmpty
normalizeLocaleName
sameParentLocale