@taiga-ui/kit
Version:
Taiga UI Angular main components kit
72 lines (63 loc) • 2.98 kB
JavaScript
import { InjectionToken } from '@angular/core';
import { extractI18n } from '@taiga-ui/i18n';
var TUI_CALENDAR_DATA_STREAM = new InjectionToken('Stream that emits calendar data change');
var TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
factory: function () { return false; },
});
var TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
var TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
factory: function () { return "primary" /* Primary */; },
});
var TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
factory: function () { return ({}); },
});
var TUI_CANCEL_WORD = new InjectionToken("i18n 'cancel' word", {
factory: extractI18n('cancel'),
});
var TUI_DONE_WORD = new InjectionToken("i18n 'done' word", {
factory: extractI18n('done'),
});
var TUI_MORE_WORD = new InjectionToken("i18n 'more' word", {
factory: extractI18n('more'),
});
var TUI_OTHER_DATE_TEXT = new InjectionToken("i18n 'Other date' text", {
factory: extractI18n('otherDate'),
});
var TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken("choose day or range i18n texts", {
factory: extractI18n('mobileCalendarTexts'),
});
var TUI_FROM_TO_TEXTS = new InjectionToken("from and to i18n texts", {
factory: extractI18n('range'),
});
var TUI_PLUS_MINUS_TEXTS = new InjectionToken("plus and minus i18n texts", {
factory: extractI18n('countTexts'),
});
var TUI_TIME_TEXTS = new InjectionToken("time i18n texts", {
factory: extractI18n('time'),
});
var TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken("short bytes, kilobytes and megabytes i18n texts", {
factory: extractI18n('digitalInformationUnits'),
});
var TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {
factory: extractI18n('copyTexts'),
});
var TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {
factory: extractI18n('passwordTexts'),
});
var TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {
factory: extractI18n('shortCalendarMonths'),
});
var TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {
factory: extractI18n('fileTexts'),
});
var TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {
factory: extractI18n('paginationTexts'),
});
var 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