@taiga-ui/kit
Version:
Taiga UI Angular main components kit
72 lines (63 loc) • 2.97 kB
JavaScript
import { InjectionToken } from '@angular/core';
import { extractI18n } from '@taiga-ui/i18n';
const TUI_CALENDAR_DATA_STREAM = new InjectionToken('Stream that emits calendar data change');
const TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
factory: () => false,
});
const TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
const TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
factory: () => "primary" /* Primary */,
});
const TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
factory: () => ({}),
});
const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {
factory: extractI18n('cancel'),
});
const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {
factory: extractI18n('done'),
});
const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {
factory: extractI18n('more'),
});
const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {
factory: extractI18n('otherDate'),
});
const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(`choose day or range i18n texts`, {
factory: extractI18n('mobileCalendarTexts'),
});
const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {
factory: extractI18n('range'),
});
const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {
factory: extractI18n('countTexts'),
});
const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {
factory: extractI18n('time'),
});
const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(`short bytes, kilobytes and megabytes i18n texts`, {
factory: extractI18n('digitalInformationUnits'),
});
const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {
factory: extractI18n('copyTexts'),
});
const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {
factory: extractI18n('passwordTexts'),
});
const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {
factory: extractI18n('shortCalendarMonths'),
});
const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {
factory: extractI18n('fileTexts'),
});
const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {
factory: extractI18n('paginationTexts'),
});
const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {
factory: extractI18n('inputFileTexts'),
});
/**
* Generated bundle index. Do not edit.
*/
export { TUI_CALENDAR_DATA_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_COPY_TEXTS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_INPUT_FILE_TEXTS, TUI_MOBILE_AWARE, TUI_MOBILE_CALENDAR, TUI_MORE_WORD, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_TAG_STATUS, TUI_TIME_TEXTS, TUI_VALIDATION_ERRORS };
//# sourceMappingURL=taiga-ui-kit-tokens.js.map