diff --git a/projects/addon-commerce/tokens/i18n.ts b/projects/addon-commerce/tokens/i18n.ts index 4d8a9385b141..0d641c5af557 100644 --- a/projects/addon-commerce/tokens/i18n.ts +++ b/projects/addon-commerce/tokens/i18n.ts @@ -2,7 +2,7 @@ import { tuiCreateToken, tuiCreateTokenFromFactory, } from '@taiga-ui/cdk/utils/miscellaneous'; -import {tuiExtractI18n} from '@taiga-ui/i18n/tools'; +import {tuiExtractI18n} from '@taiga-ui/i18n/utils'; import type {Observable} from 'rxjs'; import {of} from 'rxjs'; diff --git a/projects/addon-doc/components/example/example.style.less b/projects/addon-doc/components/example/example.style.less index baaa14df4add..e4f56581a2b0 100644 --- a/projects/addon-doc/components/example/example.style.less +++ b/projects/addon-doc/components/example/example.style.less @@ -64,6 +64,7 @@ .t-tabs { flex-grow: 1; + box-shadow: none; } .t-code-editor { diff --git a/projects/addon-doc/components/language-switcher/index.ts b/projects/addon-doc/components/language-switcher/index.ts index a11563f1144b..8b1f5c0bb84b 100644 --- a/projects/addon-doc/components/language-switcher/index.ts +++ b/projects/addon-doc/components/language-switcher/index.ts @@ -3,9 +3,8 @@ import {ChangeDetectionStrategy, Component, inject} from '@angular/core'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; import {TuiDataList} from '@taiga-ui/core/components/data-list'; import {TuiFlagPipe} from '@taiga-ui/core/pipes/flag'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; -import type {TuiLanguageName} from '@taiga-ui/i18n/interfaces'; -import {TuiLanguageSwitcherService} from '@taiga-ui/i18n/switch'; +import type {TuiCountryIsoCode, TuiLanguageName} from '@taiga-ui/i18n/types'; +import {TuiLanguageSwitcherService} from '@taiga-ui/i18n/utils'; import {TuiSelectModule} from '@taiga-ui/legacy/components/select'; @Component({ diff --git a/projects/addon-doc/components/page/page.style.less b/projects/addon-doc/components/page/page.style.less index 17c4a1081ab4..ce19d8c4d02b 100644 --- a/projects/addon-doc/components/page/page.style.less +++ b/projects/addon-doc/components/page/page.style.less @@ -52,6 +52,7 @@ .t-tabs { flex: 1; margin: 1.125rem 0.3125rem 0 0; + box-shadow: none; :host-context(tui-root._mobile) & { margin-top: 0.25rem; diff --git a/projects/addon-table/tokens/i18n.ts b/projects/addon-table/tokens/i18n.ts index 2eae7863d5a7..db30dc655a49 100644 --- a/projects/addon-table/tokens/i18n.ts +++ b/projects/addon-table/tokens/i18n.ts @@ -1,5 +1,5 @@ import {tuiCreateTokenFromFactory} from '@taiga-ui/cdk/utils/miscellaneous'; -import {tuiExtractI18n} from '@taiga-ui/i18n/tools'; +import {tuiExtractI18n} from '@taiga-ui/i18n/utils'; /** * tui-reorder i18n button diff --git a/projects/core/pipes/flag/flag.pipe.ts b/projects/core/pipes/flag/flag.pipe.ts index 57d5141e01f7..646b48400bae 100644 --- a/projects/core/pipes/flag/flag.pipe.ts +++ b/projects/core/pipes/flag/flag.pipe.ts @@ -1,7 +1,7 @@ import type {PipeTransform} from '@angular/core'; import {inject, Pipe} from '@angular/core'; import {TUI_ASSETS_PATH} from '@taiga-ui/core/tokens'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; @Pipe({ standalone: true, diff --git a/projects/core/tokens/i18n.ts b/projects/core/tokens/i18n.ts index dbc1a7d67acd..df553ddf237f 100644 --- a/projects/core/tokens/i18n.ts +++ b/projects/core/tokens/i18n.ts @@ -1,5 +1,5 @@ import {tuiCreateTokenFromFactory} from '@taiga-ui/cdk/utils/miscellaneous'; -import {tuiExtractI18n} from '@taiga-ui/i18n/tools'; +import {tuiExtractI18n} from '@taiga-ui/i18n/utils'; /** * Localized months names diff --git a/projects/demo/src/modules/components/input-date/examples/7/index.ts b/projects/demo/src/modules/components/input-date/examples/7/index.ts index 0b354f4c9d93..4a0f10ac62a1 100644 --- a/projects/demo/src/modules/components/input-date/examples/7/index.ts +++ b/projects/demo/src/modules/components/input-date/examples/7/index.ts @@ -1,14 +1,12 @@ -import {Component} from '@angular/core'; +import {Component, inject} from '@angular/core'; import {FormControl, FormGroup, ReactiveFormsModule} from '@angular/forms'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {TuiDay} from '@taiga-ui/cdk'; import {TUI_DATE_FORMAT, TUI_DEFAULT_DATE_FORMAT} from '@taiga-ui/core'; -import type {TuiLanguage} from '@taiga-ui/i18n'; import {TUI_LANGUAGE} from '@taiga-ui/i18n'; import {TuiInputDateModule} from '@taiga-ui/legacy'; -import type {BehaviorSubject, Observable} from 'rxjs'; -import {map, switchMap} from 'rxjs'; +import {map} from 'rxjs'; @Component({ standalone: true, @@ -19,10 +17,8 @@ import {map, switchMap} from 'rxjs'; providers: [ { provide: TUI_DATE_FORMAT, - deps: [TUI_LANGUAGE], - useFactory: (lang: BehaviorSubject>) => - lang.pipe( - switchMap(lang => lang), + useFactory: () => + inject(TUI_LANGUAGE).pipe( map(({name}) => ({ ...TUI_DEFAULT_DATE_FORMAT, mode: name === 'english' ? 'MDY' : 'DMY', diff --git a/projects/demo/src/modules/components/input-number/examples/7/index.ts b/projects/demo/src/modules/components/input-number/examples/7/index.ts index 95ad8a455d08..dbe14c1bfb95 100644 --- a/projects/demo/src/modules/components/input-number/examples/7/index.ts +++ b/projects/demo/src/modules/components/input-number/examples/7/index.ts @@ -1,13 +1,11 @@ -import {Component} from '@angular/core'; +import {Component, inject} from '@angular/core'; import {FormsModule} from '@angular/forms'; import {changeDetection} from '@demo/emulate/change-detection'; import {encapsulation} from '@demo/emulate/encapsulation'; import {TUI_DEFAULT_NUMBER_FORMAT, TUI_NUMBER_FORMAT} from '@taiga-ui/core'; -import type {TuiLanguage} from '@taiga-ui/i18n'; import {TUI_LANGUAGE} from '@taiga-ui/i18n'; import {TuiInputNumberModule, TuiTextfieldControllerModule} from '@taiga-ui/legacy'; -import type {BehaviorSubject, Observable} from 'rxjs'; -import {map, switchMap} from 'rxjs'; +import {map} from 'rxjs'; @Component({ standalone: true, @@ -18,10 +16,8 @@ import {map, switchMap} from 'rxjs'; providers: [ { provide: TUI_NUMBER_FORMAT, - deps: [TUI_LANGUAGE], - useFactory: (lang: BehaviorSubject>) => - lang.pipe( - switchMap(lang => lang), + useFactory: () => + inject(TUI_LANGUAGE).pipe( map(({name}) => ({ ...TUI_DEFAULT_NUMBER_FORMAT, thousandSeparator: name === 'english' ? ',' : ' ', diff --git a/projects/demo/src/modules/customization/i18n/app.esbuild.module.md b/projects/demo/src/modules/customization/i18n/app.esbuild.module.md index 9e04510b1637..6637d7c22b76 100644 --- a/projects/demo/src/modules/customization/i18n/app.esbuild.module.md +++ b/projects/demo/src/modules/customization/i18n/app.esbuild.module.md @@ -1,6 +1,6 @@ ```ts -import {TuiLanguageName} from '@taiga-ui/i18n/interfaces'; -import {tuiDocLanguageSwitcher} from '@taiga-ui/i18n/switch'; +import {TuiLanguageName} from '@taiga-ui/i18n/types'; +import {tuiDocLanguageSwitcher} from '@taiga-ui/i18n/utils'; @Component({ standalone: true, diff --git a/projects/demo/src/modules/customization/i18n/app.module.md b/projects/demo/src/modules/customization/i18n/app.module.md index c722947d0216..ee742127012f 100644 --- a/projects/demo/src/modules/customization/i18n/app.module.md +++ b/projects/demo/src/modules/customization/i18n/app.module.md @@ -1,5 +1,5 @@ ```ts -import {TuiLanguageName} from '@taiga-ui/i18n/interfaces'; +import {TuiLanguageName} from '@taiga-ui/i18n/types'; import {tuiDocLanguageSwitcher} from '@taiga-ui/i18n/switch'; @Component({ diff --git a/projects/i18n/enums/index.ts b/projects/i18n/enums/index.ts deleted file mode 100644 index 068ddc63c09b..000000000000 --- a/projects/i18n/enums/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './country-iso-code'; diff --git a/projects/i18n/index.ts b/projects/i18n/index.ts index e58621922a54..3d5a4eb65238 100644 --- a/projects/i18n/index.ts +++ b/projects/i18n/index.ts @@ -1,6 +1,4 @@ -export * from '@taiga-ui/i18n/enums'; -export * from '@taiga-ui/i18n/interfaces'; export * from '@taiga-ui/i18n/languages'; -export * from '@taiga-ui/i18n/switch'; export * from '@taiga-ui/i18n/tokens'; -export * from '@taiga-ui/i18n/tools'; +export * from '@taiga-ui/i18n/types'; +export * from '@taiga-ui/i18n/utils'; diff --git a/projects/i18n/languages/belarusian/addon-commerce.ts b/projects/i18n/languages/belarusian/addon-commerce.ts index 905cb4c5ea66..73ee28f781cb 100644 --- a/projects/i18n/languages/belarusian/addon-commerce.ts +++ b/projects/i18n/languages/belarusian/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_BELARUSIAN_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Нумар', 'Нумар карты'], diff --git a/projects/i18n/languages/belarusian/addon-editor.ts b/projects/i18n/languages/belarusian/addon-editor.ts index 9b6b0c6180aa..08beef04b621 100644 --- a/projects/i18n/languages/belarusian/addon-editor.ts +++ b/projects/i18n/languages/belarusian/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_BELARUSIAN_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Колер', 'Градыент'], diff --git a/projects/i18n/languages/belarusian/addon-table.ts b/projects/i18n/languages/belarusian/addon-table.ts index 35278696f295..e8cab360b387 100644 --- a/projects/i18n/languages/belarusian/addon-table.ts +++ b/projects/i18n/languages/belarusian/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_BELARUSIAN_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Паказаць/Схаваць', diff --git a/projects/i18n/languages/belarusian/belarusian.ts b/projects/i18n/languages/belarusian/belarusian.ts index 7f9ec7f6e490..0472b71a80fa 100644 --- a/projects/i18n/languages/belarusian/belarusian.ts +++ b/projects/i18n/languages/belarusian/belarusian.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_BELARUSIAN_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_BELARUSIAN_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/belarusian/core.ts b/projects/i18n/languages/belarusian/core.ts index 80086baeb8e9..3c8583b5983f 100644 --- a/projects/i18n/languages/belarusian/core.ts +++ b/projects/i18n/languages/belarusian/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_BELARUSIAN_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/belarusian/countries.ts b/projects/i18n/languages/belarusian/countries.ts index d793fa9b47ca..ebe5ef023afe 100644 --- a/projects/i18n/languages/belarusian/countries.ts +++ b/projects/i18n/languages/belarusian/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_BELARUSIAN_LANGUAGE_COUNTRIES: Record = { AD: 'Андора', diff --git a/projects/i18n/languages/belarusian/kit.ts b/projects/i18n/languages/belarusian/kit.ts index b4f9ff47bb90..2f230ecd0295 100644 --- a/projects/i18n/languages/belarusian/kit.ts +++ b/projects/i18n/languages/belarusian/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_BELARUSIAN_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Скасаваць', diff --git a/projects/i18n/languages/chinese/addon-commerce.ts b/projects/i18n/languages/chinese/addon-commerce.ts index c17e7950ee05..44daea2c0b41 100644 --- a/projects/i18n/languages/chinese/addon-commerce.ts +++ b/projects/i18n/languages/chinese/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_CHINESE_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['号码', '信用卡号码'], diff --git a/projects/i18n/languages/chinese/addon-editor.ts b/projects/i18n/languages/chinese/addon-editor.ts index ac918965ab45..68c798b9a533 100644 --- a/projects/i18n/languages/chinese/addon-editor.ts +++ b/projects/i18n/languages/chinese/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_CHINESE_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['纯色', '渐变色'], diff --git a/projects/i18n/languages/chinese/addon-table.ts b/projects/i18n/languages/chinese/addon-table.ts index 27566026e449..f3b77b2371f7 100644 --- a/projects/i18n/languages/chinese/addon-table.ts +++ b/projects/i18n/languages/chinese/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_CHINESE_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: '显示/隐藏', diff --git a/projects/i18n/languages/chinese/chinese.ts b/projects/i18n/languages/chinese/chinese.ts index b3b517ec6978..0c0965ef74fa 100644 --- a/projects/i18n/languages/chinese/chinese.ts +++ b/projects/i18n/languages/chinese/chinese.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_CHINESE_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_CHINESE_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/chinese/core.ts b/projects/i18n/languages/chinese/core.ts index 4657acc2cb13..e16c7edbb070 100644 --- a/projects/i18n/languages/chinese/core.ts +++ b/projects/i18n/languages/chinese/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_CHINESE_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/chinese/countries.ts b/projects/i18n/languages/chinese/countries.ts index 876afc22f9b0..6e36c936e147 100644 --- a/projects/i18n/languages/chinese/countries.ts +++ b/projects/i18n/languages/chinese/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_CHINESE_LANGUAGE_COUNTRIES: Record = { AD: '安道尔', diff --git a/projects/i18n/languages/chinese/kit.ts b/projects/i18n/languages/chinese/kit.ts index 7c1ec4392499..d804024abf6c 100644 --- a/projects/i18n/languages/chinese/kit.ts +++ b/projects/i18n/languages/chinese/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_CHINESE_LANGUAGE_KIT: TuiLanguageKit = { cancel: '撤消', diff --git a/projects/i18n/languages/dutch/addon-commerce.ts b/projects/i18n/languages/dutch/addon-commerce.ts index a2c1a1b5207d..175c9a8963e6 100644 --- a/projects/i18n/languages/dutch/addon-commerce.ts +++ b/projects/i18n/languages/dutch/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_DUTCH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Nummer', 'Kaartnummer'], diff --git a/projects/i18n/languages/dutch/addon-editor.ts b/projects/i18n/languages/dutch/addon-editor.ts index 17e894756da1..cd85eb6fa78a 100644 --- a/projects/i18n/languages/dutch/addon-editor.ts +++ b/projects/i18n/languages/dutch/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_DUTCH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Effen kleur', 'Kleurverloop'], diff --git a/projects/i18n/languages/dutch/addon-table.ts b/projects/i18n/languages/dutch/addon-table.ts index 2abf9061af79..fbe6afe04bc9 100644 --- a/projects/i18n/languages/dutch/addon-table.ts +++ b/projects/i18n/languages/dutch/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_DUTCH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Toon/Verberg', diff --git a/projects/i18n/languages/dutch/core.ts b/projects/i18n/languages/dutch/core.ts index 26e5c486aa84..ca9bce5e18db 100644 --- a/projects/i18n/languages/dutch/core.ts +++ b/projects/i18n/languages/dutch/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_DUTCH_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/dutch/countries.ts b/projects/i18n/languages/dutch/countries.ts index c48acf214330..911e5d45a44c 100644 --- a/projects/i18n/languages/dutch/countries.ts +++ b/projects/i18n/languages/dutch/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_DUTCH_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/dutch/dutch.ts b/projects/i18n/languages/dutch/dutch.ts index c6ff0e123dd9..953248bfb92d 100644 --- a/projects/i18n/languages/dutch/dutch.ts +++ b/projects/i18n/languages/dutch/dutch.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_DUTCH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_DUTCH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/dutch/kit.ts b/projects/i18n/languages/dutch/kit.ts index 57a6ec1f709c..650cfc8eddb8 100644 --- a/projects/i18n/languages/dutch/kit.ts +++ b/projects/i18n/languages/dutch/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_DUTCH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Annuleren', diff --git a/projects/i18n/languages/english/addon-commerce.ts b/projects/i18n/languages/english/addon-commerce.ts index f24dbeef72b3..f78b1a0f73d0 100644 --- a/projects/i18n/languages/english/addon-commerce.ts +++ b/projects/i18n/languages/english/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_ENGLISH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Number', 'Card number'], diff --git a/projects/i18n/languages/english/addon-editor.ts b/projects/i18n/languages/english/addon-editor.ts index 10bc3ab18d70..7b0979074ba1 100644 --- a/projects/i18n/languages/english/addon-editor.ts +++ b/projects/i18n/languages/english/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_ENGLISH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Solid color', 'Gradient'], diff --git a/projects/i18n/languages/english/addon-table.ts b/projects/i18n/languages/english/addon-table.ts index 136a352df93f..033f41f8c73b 100644 --- a/projects/i18n/languages/english/addon-table.ts +++ b/projects/i18n/languages/english/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_ENGLISH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Show/Hide', diff --git a/projects/i18n/languages/english/core.ts b/projects/i18n/languages/english/core.ts index 906c40d58783..c4b2bbfa81c5 100644 --- a/projects/i18n/languages/english/core.ts +++ b/projects/i18n/languages/english/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_ENGLISH_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/english/countries.ts b/projects/i18n/languages/english/countries.ts index 3f6150470aa6..10044c54c52e 100644 --- a/projects/i18n/languages/english/countries.ts +++ b/projects/i18n/languages/english/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_ENGLISH_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/english/english.ts b/projects/i18n/languages/english/english.ts index 80439b6ca926..f4cdcce09a42 100644 --- a/projects/i18n/languages/english/english.ts +++ b/projects/i18n/languages/english/english.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_ENGLISH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_ENGLISH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/english/kit.ts b/projects/i18n/languages/english/kit.ts index d89543e0abd1..9964871ca319 100644 --- a/projects/i18n/languages/english/kit.ts +++ b/projects/i18n/languages/english/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_ENGLISH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Cancel', diff --git a/projects/i18n/languages/french/addon-commerce.ts b/projects/i18n/languages/french/addon-commerce.ts index 617730161cd6..ef353c1ac93f 100644 --- a/projects/i18n/languages/french/addon-commerce.ts +++ b/projects/i18n/languages/french/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_FRENCH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Number', 'Numéro de carte'], diff --git a/projects/i18n/languages/french/addon-editor.ts b/projects/i18n/languages/french/addon-editor.ts index e5e2a3bd09d6..c780e84e991f 100644 --- a/projects/i18n/languages/french/addon-editor.ts +++ b/projects/i18n/languages/french/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_FRENCH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Couleur unie', 'Dégradé de couleur'], diff --git a/projects/i18n/languages/french/addon-table.ts b/projects/i18n/languages/french/addon-table.ts index 603b64789a46..15c1927aa809 100644 --- a/projects/i18n/languages/french/addon-table.ts +++ b/projects/i18n/languages/french/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_FRENCH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Afficher/Cacher', diff --git a/projects/i18n/languages/french/core.ts b/projects/i18n/languages/french/core.ts index 667e36a8c4be..f925240b01aa 100644 --- a/projects/i18n/languages/french/core.ts +++ b/projects/i18n/languages/french/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_FRENCH_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/french/countries.ts b/projects/i18n/languages/french/countries.ts index 1cda1255d8d6..090045940a27 100644 --- a/projects/i18n/languages/french/countries.ts +++ b/projects/i18n/languages/french/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_FRENCH_LANGUAGE_COUNTRIES: Record = { AD: 'Andorre', diff --git a/projects/i18n/languages/french/french.ts b/projects/i18n/languages/french/french.ts index ac3575b1bbed..9aaa23b207e2 100644 --- a/projects/i18n/languages/french/french.ts +++ b/projects/i18n/languages/french/french.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_FRENCH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_FRENCH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/french/kit.ts b/projects/i18n/languages/french/kit.ts index 5c916fad5803..8cd7a94e7da3 100644 --- a/projects/i18n/languages/french/kit.ts +++ b/projects/i18n/languages/french/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_FRENCH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Annuler', diff --git a/projects/i18n/languages/german/addon-commerce.ts b/projects/i18n/languages/german/addon-commerce.ts index aec7576110d3..795897196dc8 100644 --- a/projects/i18n/languages/german/addon-commerce.ts +++ b/projects/i18n/languages/german/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_GERMAN_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Nummer', 'Kartennummer'], diff --git a/projects/i18n/languages/german/addon-editor.ts b/projects/i18n/languages/german/addon-editor.ts index 67c2b6872ea3..0bf592095fdb 100644 --- a/projects/i18n/languages/german/addon-editor.ts +++ b/projects/i18n/languages/german/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_GERMAN_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Farbe', 'Verlauf'], diff --git a/projects/i18n/languages/german/addon-table.ts b/projects/i18n/languages/german/addon-table.ts index d51903a087bb..fe746cb6da04 100644 --- a/projects/i18n/languages/german/addon-table.ts +++ b/projects/i18n/languages/german/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_GERMAN_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Anzeigen/Ausblenden', diff --git a/projects/i18n/languages/german/core.ts b/projects/i18n/languages/german/core.ts index ac923f3e0a2d..617d191edbdf 100644 --- a/projects/i18n/languages/german/core.ts +++ b/projects/i18n/languages/german/core.ts @@ -1,5 +1,5 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; import {TUI_ENGLISH_LANGUAGE_COUNTRIES} from '@taiga-ui/i18n/languages/english'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; export const TUI_GERMAN_LANGUAGE_CORE: TuiLanguageCore = { months: [ diff --git a/projects/i18n/languages/german/german.ts b/projects/i18n/languages/german/german.ts index 3ea5587c06f2..709795e3b5fd 100644 --- a/projects/i18n/languages/german/german.ts +++ b/projects/i18n/languages/german/german.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_GERMAN_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_GERMAN_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/german/kit.ts b/projects/i18n/languages/german/kit.ts index f9b9a81a18ba..f6703726c201 100644 --- a/projects/i18n/languages/german/kit.ts +++ b/projects/i18n/languages/german/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_GERMAN_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Abbrechen', diff --git a/projects/i18n/languages/italian/addon-commerce.ts b/projects/i18n/languages/italian/addon-commerce.ts index 1aa82e576858..ff4affc6d168 100644 --- a/projects/i18n/languages/italian/addon-commerce.ts +++ b/projects/i18n/languages/italian/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_ITALIAN_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Numero', 'Numero carta'], diff --git a/projects/i18n/languages/italian/addon-editor.ts b/projects/i18n/languages/italian/addon-editor.ts index f00d5a7bc6fa..42fa8abb7056 100644 --- a/projects/i18n/languages/italian/addon-editor.ts +++ b/projects/i18n/languages/italian/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_ITALIAN_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Tinta unita', 'Gradiente'], diff --git a/projects/i18n/languages/italian/addon-table.ts b/projects/i18n/languages/italian/addon-table.ts index 4ce805c1641c..dfbe568a03ea 100644 --- a/projects/i18n/languages/italian/addon-table.ts +++ b/projects/i18n/languages/italian/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_ITALIAN_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Mostra/Nascondi', diff --git a/projects/i18n/languages/italian/core.ts b/projects/i18n/languages/italian/core.ts index f333b0b5e505..c55b4f605400 100644 --- a/projects/i18n/languages/italian/core.ts +++ b/projects/i18n/languages/italian/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_ITALIAN_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/italian/countries.ts b/projects/i18n/languages/italian/countries.ts index c9d68eedf34b..bbd817cea336 100644 --- a/projects/i18n/languages/italian/countries.ts +++ b/projects/i18n/languages/italian/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_ITALIAN_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/italian/italian.ts b/projects/i18n/languages/italian/italian.ts index 4789e90dce73..86a40ede5c24 100644 --- a/projects/i18n/languages/italian/italian.ts +++ b/projects/i18n/languages/italian/italian.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_ITALIAN_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_ITALIAN_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/italian/kit.ts b/projects/i18n/languages/italian/kit.ts index 354d2b89b39b..ab6d62eb5356 100644 --- a/projects/i18n/languages/italian/kit.ts +++ b/projects/i18n/languages/italian/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_ITALIAN_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Annulla', diff --git a/projects/i18n/languages/kazakh/addon-commerce.ts b/projects/i18n/languages/kazakh/addon-commerce.ts index c7ce99013372..5a1b41a55d51 100644 --- a/projects/i18n/languages/kazakh/addon-commerce.ts +++ b/projects/i18n/languages/kazakh/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_KAZAKH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Сан', 'Карточка нөмірі'], diff --git a/projects/i18n/languages/kazakh/addon-editor.ts b/projects/i18n/languages/kazakh/addon-editor.ts index 09380d4f7342..1d15f41fd784 100644 --- a/projects/i18n/languages/kazakh/addon-editor.ts +++ b/projects/i18n/languages/kazakh/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_KAZAKH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Бірыңғай түс', 'Градиент'], diff --git a/projects/i18n/languages/kazakh/addon-table.ts b/projects/i18n/languages/kazakh/addon-table.ts index 2e9f843a6bbe..e89fc84c117c 100644 --- a/projects/i18n/languages/kazakh/addon-table.ts +++ b/projects/i18n/languages/kazakh/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_KAZAKH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Көрсету/Жасыру', diff --git a/projects/i18n/languages/kazakh/core.ts b/projects/i18n/languages/kazakh/core.ts index 8da20ddb1e87..922b060c2b7e 100644 --- a/projects/i18n/languages/kazakh/core.ts +++ b/projects/i18n/languages/kazakh/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_KAZAKH_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/kazakh/countries.ts b/projects/i18n/languages/kazakh/countries.ts index 6ecc2422fb76..d0d27bf634e4 100644 --- a/projects/i18n/languages/kazakh/countries.ts +++ b/projects/i18n/languages/kazakh/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_KAZAKH_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/kazakh/kazakh.ts b/projects/i18n/languages/kazakh/kazakh.ts index 09dc2a6d0732..b6de9df4fffd 100644 --- a/projects/i18n/languages/kazakh/kazakh.ts +++ b/projects/i18n/languages/kazakh/kazakh.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_KAZAKH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_KAZAKH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/kazakh/kit.ts b/projects/i18n/languages/kazakh/kit.ts index df62c4a69958..6a75a403f0e1 100644 --- a/projects/i18n/languages/kazakh/kit.ts +++ b/projects/i18n/languages/kazakh/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_KAZAKH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Болдырмау', diff --git a/projects/i18n/languages/malay/addon-commerce.ts b/projects/i18n/languages/malay/addon-commerce.ts index d4129498c4c3..e3a4b03e3ad6 100644 --- a/projects/i18n/languages/malay/addon-commerce.ts +++ b/projects/i18n/languages/malay/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_MALAY_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Nombor', 'Nombor kad'], diff --git a/projects/i18n/languages/malay/addon-editor.ts b/projects/i18n/languages/malay/addon-editor.ts index 1af5d4aba8a7..eb3e0f07c5f4 100644 --- a/projects/i18n/languages/malay/addon-editor.ts +++ b/projects/i18n/languages/malay/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_MALAY_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Warna padu', 'Kecerunan'], diff --git a/projects/i18n/languages/malay/addon-table.ts b/projects/i18n/languages/malay/addon-table.ts index ba9f124e6343..8f68869767f3 100644 --- a/projects/i18n/languages/malay/addon-table.ts +++ b/projects/i18n/languages/malay/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_MALAY_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Tunjuk/Sembunyi', diff --git a/projects/i18n/languages/malay/core.ts b/projects/i18n/languages/malay/core.ts index 7405f08e651a..d2ee596286ac 100644 --- a/projects/i18n/languages/malay/core.ts +++ b/projects/i18n/languages/malay/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_MALAY_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/malay/countries.ts b/projects/i18n/languages/malay/countries.ts index ef9991501cdc..2bd9b1fa38ae 100644 --- a/projects/i18n/languages/malay/countries.ts +++ b/projects/i18n/languages/malay/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_MALAY_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/malay/kit.ts b/projects/i18n/languages/malay/kit.ts index 49a11dd8eb6b..d4dfba033e6d 100644 --- a/projects/i18n/languages/malay/kit.ts +++ b/projects/i18n/languages/malay/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_MALAY_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Batal', diff --git a/projects/i18n/languages/malay/malay.ts b/projects/i18n/languages/malay/malay.ts index 432050540a7f..6a9366ec4331 100644 --- a/projects/i18n/languages/malay/malay.ts +++ b/projects/i18n/languages/malay/malay.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_MALAY_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_MALAY_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/polish/addon-commerce.ts b/projects/i18n/languages/polish/addon-commerce.ts index 66d4238b2434..e2b4f6b8203a 100644 --- a/projects/i18n/languages/polish/addon-commerce.ts +++ b/projects/i18n/languages/polish/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_POLISH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Numer', 'Numer karty'], diff --git a/projects/i18n/languages/polish/addon-editor.ts b/projects/i18n/languages/polish/addon-editor.ts index beaa3ee46ed0..01c96c8cbada 100644 --- a/projects/i18n/languages/polish/addon-editor.ts +++ b/projects/i18n/languages/polish/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_POLISH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Kolor', 'Gradient'], diff --git a/projects/i18n/languages/polish/addon-table.ts b/projects/i18n/languages/polish/addon-table.ts index b529eb832c7e..e1f19822faa9 100644 --- a/projects/i18n/languages/polish/addon-table.ts +++ b/projects/i18n/languages/polish/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_POLISH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Pokaż/Ukryj', diff --git a/projects/i18n/languages/polish/core.ts b/projects/i18n/languages/polish/core.ts index f8282d2059bb..31e7acb3b8ee 100644 --- a/projects/i18n/languages/polish/core.ts +++ b/projects/i18n/languages/polish/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_POLISH_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/polish/countries.ts b/projects/i18n/languages/polish/countries.ts index 12b12cfc0f19..0b322c320faa 100644 --- a/projects/i18n/languages/polish/countries.ts +++ b/projects/i18n/languages/polish/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_POLISH_LANGUAGE_COUNTRIES: Record = { AD: 'Andora', diff --git a/projects/i18n/languages/polish/kit.ts b/projects/i18n/languages/polish/kit.ts index 1e1f92a2a048..996cfc0fab78 100644 --- a/projects/i18n/languages/polish/kit.ts +++ b/projects/i18n/languages/polish/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_POLISH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Anuluj', diff --git a/projects/i18n/languages/polish/polish.ts b/projects/i18n/languages/polish/polish.ts index 331d216436c4..99ff7f863719 100644 --- a/projects/i18n/languages/polish/polish.ts +++ b/projects/i18n/languages/polish/polish.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_POLISH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_POLISH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/portuguese/addon-commerce.ts b/projects/i18n/languages/portuguese/addon-commerce.ts index 95c71df79e36..33fe8b0788cc 100644 --- a/projects/i18n/languages/portuguese/addon-commerce.ts +++ b/projects/i18n/languages/portuguese/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_PORTUGUESE_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Número', 'Número do Cartão'], diff --git a/projects/i18n/languages/portuguese/addon-editor.ts b/projects/i18n/languages/portuguese/addon-editor.ts index 9986c588a930..9cb315745675 100644 --- a/projects/i18n/languages/portuguese/addon-editor.ts +++ b/projects/i18n/languages/portuguese/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_PORTUGUESE_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Cor sólida', 'Gradiente'], diff --git a/projects/i18n/languages/portuguese/addon-table.ts b/projects/i18n/languages/portuguese/addon-table.ts index 7092df958692..f640dce75173 100644 --- a/projects/i18n/languages/portuguese/addon-table.ts +++ b/projects/i18n/languages/portuguese/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_PORTUGUESE_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Mostrar/Esconder', diff --git a/projects/i18n/languages/portuguese/core.ts b/projects/i18n/languages/portuguese/core.ts index d0ad704aa2d0..b6c09af7978b 100644 --- a/projects/i18n/languages/portuguese/core.ts +++ b/projects/i18n/languages/portuguese/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_PORTUGUESE_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/portuguese/countries.ts b/projects/i18n/languages/portuguese/countries.ts index b407bfb90a3d..eed42e345458 100644 --- a/projects/i18n/languages/portuguese/countries.ts +++ b/projects/i18n/languages/portuguese/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_PORTUGUESE_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/portuguese/kit.ts b/projects/i18n/languages/portuguese/kit.ts index 910aea96db47..b56a229aa06f 100644 --- a/projects/i18n/languages/portuguese/kit.ts +++ b/projects/i18n/languages/portuguese/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_PORTUGUESE_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Cancelar', diff --git a/projects/i18n/languages/portuguese/portuguese.ts b/projects/i18n/languages/portuguese/portuguese.ts index 2d0bfd1820a8..946a9bfd110a 100644 --- a/projects/i18n/languages/portuguese/portuguese.ts +++ b/projects/i18n/languages/portuguese/portuguese.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_PORTUGUESE_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_PORTUGUESE_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/russian/addon-commerce.ts b/projects/i18n/languages/russian/addon-commerce.ts index 3589082fbca6..1c812e31f2fb 100644 --- a/projects/i18n/languages/russian/addon-commerce.ts +++ b/projects/i18n/languages/russian/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_RUSSIAN_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Номер', 'Номер карты'], diff --git a/projects/i18n/languages/russian/addon-editor.ts b/projects/i18n/languages/russian/addon-editor.ts index 2064a5577de1..be1c060cb82f 100644 --- a/projects/i18n/languages/russian/addon-editor.ts +++ b/projects/i18n/languages/russian/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_RUSSIAN_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Сплошной цвет', 'Градиент'], diff --git a/projects/i18n/languages/russian/addon-table.ts b/projects/i18n/languages/russian/addon-table.ts index 40db79d38ad3..49f190a3a8bf 100644 --- a/projects/i18n/languages/russian/addon-table.ts +++ b/projects/i18n/languages/russian/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_RUSSIAN_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Показать/Скрыть', diff --git a/projects/i18n/languages/russian/core.ts b/projects/i18n/languages/russian/core.ts index 3fe4686d9441..58497dc0349f 100644 --- a/projects/i18n/languages/russian/core.ts +++ b/projects/i18n/languages/russian/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_RUSSIAN_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/russian/countries.ts b/projects/i18n/languages/russian/countries.ts index 045230062b05..cce990f83bce 100644 --- a/projects/i18n/languages/russian/countries.ts +++ b/projects/i18n/languages/russian/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_RUSSIAN_LANGUAGE_COUNTRIES: Record = { AD: 'Андорра', diff --git a/projects/i18n/languages/russian/kit.ts b/projects/i18n/languages/russian/kit.ts index fb3b6f3c41cc..c524453214b4 100644 --- a/projects/i18n/languages/russian/kit.ts +++ b/projects/i18n/languages/russian/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_RUSSIAN_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Отменить', diff --git a/projects/i18n/languages/russian/russian.ts b/projects/i18n/languages/russian/russian.ts index 263199b42473..5971351c6873 100644 --- a/projects/i18n/languages/russian/russian.ts +++ b/projects/i18n/languages/russian/russian.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_RUSSIAN_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_RUSSIAN_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/spanish/addon-commerce.ts b/projects/i18n/languages/spanish/addon-commerce.ts index 4f5eafb8dd46..c417d1fa706d 100644 --- a/projects/i18n/languages/spanish/addon-commerce.ts +++ b/projects/i18n/languages/spanish/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_SPANISH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Número', 'Número de la tarjeta'], diff --git a/projects/i18n/languages/spanish/addon-editor.ts b/projects/i18n/languages/spanish/addon-editor.ts index 9d90747a90c7..30b343f71119 100644 --- a/projects/i18n/languages/spanish/addon-editor.ts +++ b/projects/i18n/languages/spanish/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_SPANISH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Color sólido', 'Gradiente'], diff --git a/projects/i18n/languages/spanish/addon-table.ts b/projects/i18n/languages/spanish/addon-table.ts index 7424ac40954d..41befc5a9685 100644 --- a/projects/i18n/languages/spanish/addon-table.ts +++ b/projects/i18n/languages/spanish/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_SPANISH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Mostrar/Ocultar', diff --git a/projects/i18n/languages/spanish/core.ts b/projects/i18n/languages/spanish/core.ts index 6d2e3c754846..573f9f7c3dd7 100644 --- a/projects/i18n/languages/spanish/core.ts +++ b/projects/i18n/languages/spanish/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_SPANISH_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/spanish/countries.ts b/projects/i18n/languages/spanish/countries.ts index cf94e10b2704..b8a17ad89ae9 100644 --- a/projects/i18n/languages/spanish/countries.ts +++ b/projects/i18n/languages/spanish/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_SPANISH_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/spanish/kit.ts b/projects/i18n/languages/spanish/kit.ts index 9807a45f0ea6..fc8be4745ccd 100644 --- a/projects/i18n/languages/spanish/kit.ts +++ b/projects/i18n/languages/spanish/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_SPANISH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Cancelar', diff --git a/projects/i18n/languages/spanish/spanish.ts b/projects/i18n/languages/spanish/spanish.ts index 907642b0024d..f95079d9ba0d 100644 --- a/projects/i18n/languages/spanish/spanish.ts +++ b/projects/i18n/languages/spanish/spanish.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_SPANISH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_SPANISH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/turkish/addon-commerce.ts b/projects/i18n/languages/turkish/addon-commerce.ts index 56a61ba1243e..9b3fa5ce20e5 100644 --- a/projects/i18n/languages/turkish/addon-commerce.ts +++ b/projects/i18n/languages/turkish/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_TURKISH_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Kart No', 'Kart Numarası'], diff --git a/projects/i18n/languages/turkish/addon-editor.ts b/projects/i18n/languages/turkish/addon-editor.ts index 5ed587b863e5..0e842dd1f825 100644 --- a/projects/i18n/languages/turkish/addon-editor.ts +++ b/projects/i18n/languages/turkish/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_TURKISH_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Solid color', 'Gradient'], diff --git a/projects/i18n/languages/turkish/addon-table.ts b/projects/i18n/languages/turkish/addon-table.ts index 8319f8804d01..4e3d7c44f44b 100644 --- a/projects/i18n/languages/turkish/addon-table.ts +++ b/projects/i18n/languages/turkish/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_TURKISH_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Göster/Hizle', diff --git a/projects/i18n/languages/turkish/core.ts b/projects/i18n/languages/turkish/core.ts index fbff66a6d8d3..11e548cde275 100644 --- a/projects/i18n/languages/turkish/core.ts +++ b/projects/i18n/languages/turkish/core.ts @@ -1,5 +1,5 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; import {TUI_ENGLISH_LANGUAGE_COUNTRIES} from '@taiga-ui/i18n/languages/english'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; export const TUI_TURKISH_LANGUAGE_CORE: TuiLanguageCore = { months: [ diff --git a/projects/i18n/languages/turkish/kit.ts b/projects/i18n/languages/turkish/kit.ts index bdd70f7b43fa..0819782317dd 100644 --- a/projects/i18n/languages/turkish/kit.ts +++ b/projects/i18n/languages/turkish/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_TURKISH_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'İptal Et', diff --git a/projects/i18n/languages/turkish/turkish.ts b/projects/i18n/languages/turkish/turkish.ts index f3c8d968763d..2f9b8167e074 100644 --- a/projects/i18n/languages/turkish/turkish.ts +++ b/projects/i18n/languages/turkish/turkish.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_TURKISH_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_TURKISH_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/ukrainian/addon-commerce.ts b/projects/i18n/languages/ukrainian/addon-commerce.ts index ec07bdd2fbd4..eaf61b6640b6 100644 --- a/projects/i18n/languages/ukrainian/addon-commerce.ts +++ b/projects/i18n/languages/ukrainian/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_UKRAINIAN_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Номер', 'Номер карти'], diff --git a/projects/i18n/languages/ukrainian/addon-editor.ts b/projects/i18n/languages/ukrainian/addon-editor.ts index e7548a8b0fcc..ab6a0ef622c7 100644 --- a/projects/i18n/languages/ukrainian/addon-editor.ts +++ b/projects/i18n/languages/ukrainian/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_UKRAINIAN_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Суцільний колір', 'Градієнт'], diff --git a/projects/i18n/languages/ukrainian/addon-table.ts b/projects/i18n/languages/ukrainian/addon-table.ts index 2e408ffc9291..73b0a0a5ab28 100644 --- a/projects/i18n/languages/ukrainian/addon-table.ts +++ b/projects/i18n/languages/ukrainian/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_UKRAINIAN_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Показати/Приховати', diff --git a/projects/i18n/languages/ukrainian/core.ts b/projects/i18n/languages/ukrainian/core.ts index 5cd6d29939fe..de2ad93408f3 100644 --- a/projects/i18n/languages/ukrainian/core.ts +++ b/projects/i18n/languages/ukrainian/core.ts @@ -1,5 +1,5 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; import {TUI_ENGLISH_LANGUAGE_COUNTRIES} from '@taiga-ui/i18n/languages/english'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; export const TUI_UKRAINIAN_LANGUAGE_CORE: TuiLanguageCore = { months: [ diff --git a/projects/i18n/languages/ukrainian/kit.ts b/projects/i18n/languages/ukrainian/kit.ts index 7ce34baa9318..c98b1e138c2f 100644 --- a/projects/i18n/languages/ukrainian/kit.ts +++ b/projects/i18n/languages/ukrainian/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_UKRAINIAN_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Скасувати', diff --git a/projects/i18n/languages/ukrainian/ukrainian.ts b/projects/i18n/languages/ukrainian/ukrainian.ts index e2f76b755031..b929c26558e5 100644 --- a/projects/i18n/languages/ukrainian/ukrainian.ts +++ b/projects/i18n/languages/ukrainian/ukrainian.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_UKRAINIAN_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_UKRAINIAN_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/languages/vietnamese/addon-commerce.ts b/projects/i18n/languages/vietnamese/addon-commerce.ts index 599888d057d3..995ad4d05431 100644 --- a/projects/i18n/languages/vietnamese/addon-commerce.ts +++ b/projects/i18n/languages/vietnamese/addon-commerce.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCommerce} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCommerce} from '@taiga-ui/i18n/types'; export const TUI_VIETNAMESE_LANGUAGE_ADDON_COMMERCE: TuiLanguageCommerce = { cardNumber: ['Số thẻ', 'Số thẻ'], diff --git a/projects/i18n/languages/vietnamese/addon-editor.ts b/projects/i18n/languages/vietnamese/addon-editor.ts index 757a4e6f36f6..fb4d60601a4c 100644 --- a/projects/i18n/languages/vietnamese/addon-editor.ts +++ b/projects/i18n/languages/vietnamese/addon-editor.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageEditor} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageEditor} from '@taiga-ui/i18n/types'; export const TUI_VIETNAMESE_LANGUAGE_ADDON_EDITOR: TuiLanguageEditor = { colorSelectorModeNames: ['Màu thuần', 'Màu chuyển sắc'], diff --git a/projects/i18n/languages/vietnamese/addon-table.ts b/projects/i18n/languages/vietnamese/addon-table.ts index 95169dba1f2f..c2a8dad84062 100644 --- a/projects/i18n/languages/vietnamese/addon-table.ts +++ b/projects/i18n/languages/vietnamese/addon-table.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageTable} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageTable} from '@taiga-ui/i18n/types'; export const TUI_VIETNAMESE_LANGUAGE_ADDON_TABLE: TuiLanguageTable = { showHideText: 'Hiện/Ẩn', diff --git a/projects/i18n/languages/vietnamese/core.ts b/projects/i18n/languages/vietnamese/core.ts index ba917622c024..cb5080ec6f82 100644 --- a/projects/i18n/languages/vietnamese/core.ts +++ b/projects/i18n/languages/vietnamese/core.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageCore} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageCore} from '@taiga-ui/i18n/types'; import {TUI_VIETNAMESE_LANGUAGE_COUNTRIES} from './countries'; diff --git a/projects/i18n/languages/vietnamese/countries.ts b/projects/i18n/languages/vietnamese/countries.ts index 6e9bc3b5ffc7..3e498c00be24 100644 --- a/projects/i18n/languages/vietnamese/countries.ts +++ b/projects/i18n/languages/vietnamese/countries.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; export const TUI_VIETNAMESE_LANGUAGE_COUNTRIES: Record = { AD: 'Andorra', diff --git a/projects/i18n/languages/vietnamese/kit.ts b/projects/i18n/languages/vietnamese/kit.ts index ec54a6e5532f..7a984df78621 100644 --- a/projects/i18n/languages/vietnamese/kit.ts +++ b/projects/i18n/languages/vietnamese/kit.ts @@ -1,4 +1,4 @@ -import type {TuiLanguageKit} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageKit} from '@taiga-ui/i18n/types'; export const TUI_VIETNAMESE_LANGUAGE_KIT: TuiLanguageKit = { cancel: 'Hủy bỏ', diff --git a/projects/i18n/languages/vietnamese/vietnamese.ts b/projects/i18n/languages/vietnamese/vietnamese.ts index 060af8ac20eb..7c2b3b784f3f 100644 --- a/projects/i18n/languages/vietnamese/vietnamese.ts +++ b/projects/i18n/languages/vietnamese/vietnamese.ts @@ -1,4 +1,4 @@ -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_VIETNAMESE_LANGUAGE_ADDON_COMMERCE} from './addon-commerce'; import {TUI_VIETNAMESE_LANGUAGE_ADDON_EDITOR} from './addon-editor'; diff --git a/projects/i18n/switch/index.ts b/projects/i18n/switch/index.ts deleted file mode 100644 index 1e111d3f3e42..000000000000 --- a/projects/i18n/switch/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from './language-switcher.providers'; -export * from './language-switcher.service'; -export * from './utils'; diff --git a/projects/i18n/switch/language-switcher.providers.ts b/projects/i18n/switch/language-switcher.providers.ts deleted file mode 100644 index 686ca12af388..000000000000 --- a/projects/i18n/switch/language-switcher.providers.ts +++ /dev/null @@ -1,18 +0,0 @@ -import type {Provider} from '@angular/core'; -import type {TuiLanguageLoader} from '@taiga-ui/i18n/interfaces'; -import {TUI_LANGUAGE, TUI_LANGUAGE_LOADER} from '@taiga-ui/i18n/tokens'; - -import {TuiLanguageSwitcherService} from './language-switcher.service'; - -export function tuiLanguageSwitcher(loader: TuiLanguageLoader): Provider[] { - return [ - { - provide: TUI_LANGUAGE_LOADER, - useFactory: () => loader, - }, - { - provide: TUI_LANGUAGE, - useExisting: TuiLanguageSwitcherService, - }, - ]; -} diff --git a/projects/i18n/switch/ng-package.json b/projects/i18n/switch/ng-package.json deleted file mode 100644 index bebf62dcb5e5..000000000000 --- a/projects/i18n/switch/ng-package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "lib": { - "entryFile": "index.ts" - } -} diff --git a/projects/i18n/tokens/language-loader.ts b/projects/i18n/tokens/language-loader.ts index 3b94cdf872b8..735cc0346931 100644 --- a/projects/i18n/tokens/language-loader.ts +++ b/projects/i18n/tokens/language-loader.ts @@ -1,5 +1,5 @@ import {InjectionToken} from '@angular/core'; -import type {TuiLanguageLoader} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguageLoader} from '@taiga-ui/i18n/types'; /** * Webpack chunk loader for Taiga UI libraries i18n diff --git a/projects/i18n/tokens/language.ts b/projects/i18n/tokens/language.ts index 9cb9c4e0aa11..cdd5de24cbca 100644 --- a/projects/i18n/tokens/language.ts +++ b/projects/i18n/tokens/language.ts @@ -1,6 +1,6 @@ import {inject, InjectionToken} from '@angular/core'; -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; import {TUI_ENGLISH_LANGUAGE} from '@taiga-ui/i18n/languages/english'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import type {Observable} from 'rxjs'; import {of} from 'rxjs'; diff --git a/projects/i18n/tools/extract-i18n.ts b/projects/i18n/tools/extract-i18n.ts deleted file mode 100644 index 32e39e8c10b3..000000000000 --- a/projects/i18n/tools/extract-i18n.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {inject} from '@angular/core'; -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; -import {TUI_LANGUAGE} from '@taiga-ui/i18n/tokens'; -import type {Observable} from 'rxjs'; -import {isObservable, map, of, switchMap} from 'rxjs'; - -export function tuiExtractI18n( - key: K, -): () => Observable { - return () => - inject(TUI_LANGUAGE).pipe( - switchMap((streamOrValue: Observable | TuiLanguage) => - isObservable(streamOrValue) ? streamOrValue : of(streamOrValue), - ), - map((lang: TuiLanguage) => lang[key]), - ); -} diff --git a/projects/i18n/tools/index.ts b/projects/i18n/tools/index.ts deleted file mode 100644 index 964a23349cb4..000000000000 --- a/projects/i18n/tools/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './extract-i18n'; diff --git a/projects/i18n/tools/ng-package.json b/projects/i18n/tools/ng-package.json deleted file mode 100644 index bebf62dcb5e5..000000000000 --- a/projects/i18n/tools/ng-package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "lib": { - "entryFile": "index.ts" - } -} diff --git a/projects/i18n/enums/country-iso-code.ts b/projects/i18n/types/country-iso-code.ts similarity index 100% rename from projects/i18n/enums/country-iso-code.ts rename to projects/i18n/types/country-iso-code.ts diff --git a/projects/i18n/interfaces/index.ts b/projects/i18n/types/index.ts similarity index 78% rename from projects/i18n/interfaces/index.ts rename to projects/i18n/types/index.ts index 098905ac6055..c3f5474913c5 100644 --- a/projects/i18n/interfaces/index.ts +++ b/projects/i18n/types/index.ts @@ -1,3 +1,4 @@ +export * from './country-iso-code'; export * from './language'; export * from './language-loader'; export * from './language-names'; diff --git a/projects/i18n/interfaces/language-loader.ts b/projects/i18n/types/language-loader.ts similarity index 100% rename from projects/i18n/interfaces/language-loader.ts rename to projects/i18n/types/language-loader.ts diff --git a/projects/i18n/interfaces/language-names.ts b/projects/i18n/types/language-names.ts similarity index 100% rename from projects/i18n/interfaces/language-names.ts rename to projects/i18n/types/language-names.ts diff --git a/projects/i18n/interfaces/language-storage.ts b/projects/i18n/types/language-storage.ts similarity index 100% rename from projects/i18n/interfaces/language-storage.ts rename to projects/i18n/types/language-storage.ts diff --git a/projects/i18n/interfaces/language.ts b/projects/i18n/types/language.ts similarity index 98% rename from projects/i18n/interfaces/language.ts rename to projects/i18n/types/language.ts index 1a36465cdbfc..42e458761e93 100644 --- a/projects/i18n/interfaces/language.ts +++ b/projects/i18n/types/language.ts @@ -1,5 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; - +import type {TuiCountryIsoCode} from './country-iso-code'; import type {TuiLanguageName} from './language-names'; // prettier-ignore diff --git a/projects/i18n/enums/ng-package.json b/projects/i18n/types/ng-package.json similarity index 100% rename from projects/i18n/enums/ng-package.json rename to projects/i18n/types/ng-package.json diff --git a/projects/i18n/utils/extract-i18n.ts b/projects/i18n/utils/extract-i18n.ts new file mode 100644 index 000000000000..50ec77e67d8a --- /dev/null +++ b/projects/i18n/utils/extract-i18n.ts @@ -0,0 +1,11 @@ +import {inject} from '@angular/core'; +import {TUI_LANGUAGE} from '@taiga-ui/i18n/tokens'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; +import type {Observable} from 'rxjs'; +import {map} from 'rxjs'; + +export function tuiExtractI18n( + key: K, +): () => Observable { + return () => inject(TUI_LANGUAGE).pipe(map((lang: TuiLanguage) => lang[key])); +} diff --git a/projects/i18n/utils/index.ts b/projects/i18n/utils/index.ts new file mode 100644 index 000000000000..303e20fe375f --- /dev/null +++ b/projects/i18n/utils/index.ts @@ -0,0 +1,3 @@ +export * from './extract-i18n'; +export * from './language-switcher'; +export * from './load-language'; diff --git a/projects/i18n/switch/language-switcher.service.ts b/projects/i18n/utils/language-switcher.ts similarity index 69% rename from projects/i18n/switch/language-switcher.service.ts rename to projects/i18n/utils/language-switcher.ts index 5f7285d27a79..fd4260e108c9 100644 --- a/projects/i18n/switch/language-switcher.service.ts +++ b/projects/i18n/utils/language-switcher.ts @@ -1,15 +1,30 @@ +import type {Provider} from '@angular/core'; import {inject, Injectable} from '@angular/core'; import {LOCAL_STORAGE} from '@ng-web-apis/common'; -import type {TuiLanguage, TuiLanguageName} from '@taiga-ui/i18n/interfaces'; import { TUI_DEFAULT_LANGUAGE, + TUI_LANGUAGE, TUI_LANGUAGE_LOADER, TUI_LANGUAGE_STORAGE_KEY, } from '@taiga-ui/i18n/tokens'; +import type {TuiLanguage, TuiLanguageLoader, TuiLanguageName} from '@taiga-ui/i18n/types'; import type {Observable} from 'rxjs'; -import {BehaviorSubject, of} from 'rxjs'; - -import {tuiAsyncLoadLanguage} from './utils'; +import {BehaviorSubject, of, switchAll} from 'rxjs'; + +import {tuiAsyncLoadLanguage} from './load-language'; + +export function tuiLanguageSwitcher(loader: TuiLanguageLoader): Provider[] { + return [ + { + provide: TUI_LANGUAGE_LOADER, + useFactory: () => loader, + }, + { + provide: TUI_LANGUAGE, + useFactory: () => inject(TuiLanguageSwitcherService).pipe(switchAll()), + }, + ]; +} @Injectable({ providedIn: 'root', diff --git a/projects/i18n/switch/utils.ts b/projects/i18n/utils/load-language.ts similarity index 88% rename from projects/i18n/switch/utils.ts rename to projects/i18n/utils/load-language.ts index 0c099908e80d..2221a3f09f08 100644 --- a/projects/i18n/switch/utils.ts +++ b/projects/i18n/utils/load-language.ts @@ -1,8 +1,4 @@ -import type { - TuiLanguage, - TuiLanguageLoader, - TuiLanguageName, -} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage, TuiLanguageLoader, TuiLanguageName} from '@taiga-ui/i18n/types'; import type {Observable} from 'rxjs'; import {from, map, of} from 'rxjs'; diff --git a/projects/i18n/interfaces/ng-package.json b/projects/i18n/utils/ng-package.json similarity index 100% rename from projects/i18n/interfaces/ng-package.json rename to projects/i18n/utils/ng-package.json diff --git a/projects/kit/components/files/file/file.component.ts b/projects/kit/components/files/file/file.component.ts index bca8c6469ae3..5b4902b5cadb 100644 --- a/projects/kit/components/files/file/file.component.ts +++ b/projects/kit/components/files/file/file.component.ts @@ -22,7 +22,7 @@ import { } from '@taiga-ui/core/directives/appearance'; import {TUI_COMMON_ICONS} from '@taiga-ui/core/tokens'; import type {TuiSizeL} from '@taiga-ui/core/types'; -import type {TuiLanguage} from '@taiga-ui/i18n/interfaces'; +import type {TuiLanguage} from '@taiga-ui/i18n/types'; import {TUI_DIGITAL_INFORMATION_UNITS, TUI_FILE_TEXTS} from '@taiga-ui/kit/tokens'; import type {PolymorpheusContent} from '@taiga-ui/polymorpheus'; import {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus'; diff --git a/projects/kit/components/input-phone-international/get-country-calling-code.pipe.ts b/projects/kit/components/input-phone-international/get-country-calling-code.pipe.ts index 68f72eef58fb..b2dc67923f48 100644 --- a/projects/kit/components/input-phone-international/get-country-calling-code.pipe.ts +++ b/projects/kit/components/input-phone-international/get-country-calling-code.pipe.ts @@ -1,7 +1,7 @@ import type {PipeTransform} from '@angular/core'; import {Pipe} from '@angular/core'; import {CHAR_PLUS} from '@taiga-ui/cdk/constants'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import type {MetadataJson} from 'libphonenumber-js/core'; import {getCountryCallingCode} from 'libphonenumber-js/core'; diff --git a/projects/kit/components/input-phone-international/input-phone-international.component.ts b/projects/kit/components/input-phone-international/input-phone-international.component.ts index 1bdabe32241c..4dcc89f67a98 100644 --- a/projects/kit/components/input-phone-international/input-phone-international.component.ts +++ b/projects/kit/components/input-phone-international/input-phone-international.component.ts @@ -32,7 +32,7 @@ import { tuiDropdownOptionsProvider, } from '@taiga-ui/core/directives/dropdown'; import {TuiFlagPipe} from '@taiga-ui/core/pipes/flag'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import {TuiChevron} from '@taiga-ui/kit/directives'; import {TUI_COUNTRIES} from '@taiga-ui/kit/tokens'; import {validatePhoneNumberLength} from 'libphonenumber-js'; diff --git a/projects/kit/components/input-phone-international/input-phone-international.options.ts b/projects/kit/components/input-phone-international/input-phone-international.options.ts index e636e69b6723..da187311fb92 100644 --- a/projects/kit/components/input-phone-international/input-phone-international.options.ts +++ b/projects/kit/components/input-phone-international/input-phone-international.options.ts @@ -1,6 +1,6 @@ import type {Provider} from '@angular/core'; import {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import type {MetadataJson} from 'libphonenumber-js/core'; import type {Observable} from 'rxjs'; import {defer} from 'rxjs'; diff --git a/projects/kit/components/tabs/tabs-with-more.style.less b/projects/kit/components/tabs/tabs-with-more.style.less index 0fa8408b5f91..5d906503d1c2 100644 --- a/projects/kit/components/tabs/tabs-with-more.style.less +++ b/projects/kit/components/tabs/tabs-with-more.style.less @@ -11,6 +11,7 @@ } .t-tabs { + height: inherit; font: inherit; overflow: visible; box-shadow: none; diff --git a/projects/kit/pipes/sort-countries/sort-countries.pipe.ts b/projects/kit/pipes/sort-countries/sort-countries.pipe.ts index 300ee99fed74..bc4df86866c0 100644 --- a/projects/kit/pipes/sort-countries/sort-countries.pipe.ts +++ b/projects/kit/pipes/sort-countries/sort-countries.pipe.ts @@ -1,6 +1,6 @@ import type {PipeTransform} from '@angular/core'; import {inject, Pipe} from '@angular/core'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import {TUI_COUNTRIES} from '@taiga-ui/kit/tokens'; import type {Observable} from 'rxjs'; import {map} from 'rxjs'; diff --git a/projects/kit/tokens/i18n.ts b/projects/kit/tokens/i18n.ts index c820238ca65e..e80276bf5a98 100644 --- a/projects/kit/tokens/i18n.ts +++ b/projects/kit/tokens/i18n.ts @@ -1,7 +1,7 @@ import type {TuiDateMode} from '@taiga-ui/cdk/date-time'; import {tuiCreateTokenFromFactory} from '@taiga-ui/cdk/utils/miscellaneous'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; -import {tuiExtractI18n} from '@taiga-ui/i18n/tools'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; +import {tuiExtractI18n} from '@taiga-ui/i18n/utils'; import type {Observable} from 'rxjs'; export const TUI_CONFIRM_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n('confirm')); diff --git a/projects/legacy/components/input-phone-international/input-phone-international.component.ts b/projects/legacy/components/input-phone-international/input-phone-international.component.ts index d910c0d9cd7f..2481c1aa0d68 100644 --- a/projects/legacy/components/input-phone-international/input-phone-international.component.ts +++ b/projects/legacy/components/input-phone-international/input-phone-international.component.ts @@ -21,7 +21,7 @@ import {TuiDropdown} from '@taiga-ui/core/directives/dropdown'; import {TuiHint} from '@taiga-ui/core/directives/hint'; import {TuiFlagPipe} from '@taiga-ui/core/pipes/flag'; import type {TuiSizeL, TuiSizeM, TuiSizeS} from '@taiga-ui/core/types'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import {TUI_COUNTRIES} from '@taiga-ui/kit/tokens'; import {AbstractTuiControl, tuiAsControl} from '@taiga-ui/legacy/classes'; import {TUI_ARROW, TuiArrowComponent} from '@taiga-ui/legacy/components/arrow'; diff --git a/projects/legacy/components/input-phone-international/input-phone-international.options.ts b/projects/legacy/components/input-phone-international/input-phone-international.options.ts index 7e5177eba246..d1d3920d3228 100644 --- a/projects/legacy/components/input-phone-international/input-phone-international.options.ts +++ b/projects/legacy/components/input-phone-international/input-phone-international.options.ts @@ -1,6 +1,6 @@ import type {Provider} from '@angular/core'; import {tuiCreateToken, tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; /** * @deprecated: drop in v5.0 diff --git a/projects/legacy/pipes/iso-to-country-code/iso-to-country-code.pipe.ts b/projects/legacy/pipes/iso-to-country-code/iso-to-country-code.pipe.ts index 636490488f61..8480b5f9ec04 100644 --- a/projects/legacy/pipes/iso-to-country-code/iso-to-country-code.pipe.ts +++ b/projects/legacy/pipes/iso-to-country-code/iso-to-country-code.pipe.ts @@ -1,6 +1,6 @@ import type {PipeTransform} from '@angular/core'; import {inject, Pipe} from '@angular/core'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import {TUI_COUNTRIES_MASKS} from '@taiga-ui/legacy/tokens'; import {tuiIsoToCountryCode} from '@taiga-ui/legacy/utils'; diff --git a/projects/legacy/pipes/to-country-code/to-country-code.pipe.ts b/projects/legacy/pipes/to-country-code/to-country-code.pipe.ts index 2c52917ff040..23c81c77976b 100644 --- a/projects/legacy/pipes/to-country-code/to-country-code.pipe.ts +++ b/projects/legacy/pipes/to-country-code/to-country-code.pipe.ts @@ -1,7 +1,7 @@ import type {PipeTransform} from '@angular/core'; import {inject, Pipe} from '@angular/core'; import {CHAR_PLUS} from '@taiga-ui/cdk/constants'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; import {TUI_COUNTRIES_MASKS} from '@taiga-ui/legacy/tokens'; import { tuiGetMaxAllowedPhoneLength, diff --git a/projects/legacy/tokens/countries-masks.ts b/projects/legacy/tokens/countries-masks.ts index f0fa242ce042..9f11ed51bb0c 100644 --- a/projects/legacy/tokens/countries-masks.ts +++ b/projects/legacy/tokens/countries-masks.ts @@ -1,5 +1,5 @@ import {tuiCreateToken} from '@taiga-ui/cdk/utils/miscellaneous'; -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; /** * @deprecated: drop in v5.0 diff --git a/projects/legacy/utils/get-max-allowed-phone-length.ts b/projects/legacy/utils/get-max-allowed-phone-length.ts index 66393cdfd995..17b15a503abe 100644 --- a/projects/legacy/utils/get-max-allowed-phone-length.ts +++ b/projects/legacy/utils/get-max-allowed-phone-length.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; /** * @deprecated: drop in v5.0 diff --git a/projects/legacy/utils/iso-to-country-code.ts b/projects/legacy/utils/iso-to-country-code.ts index b03878d626c8..17aa4298cafc 100644 --- a/projects/legacy/utils/iso-to-country-code.ts +++ b/projects/legacy/utils/iso-to-country-code.ts @@ -1,4 +1,4 @@ -import type {TuiCountryIsoCode} from '@taiga-ui/i18n/enums'; +import type {TuiCountryIsoCode} from '@taiga-ui/i18n/types'; const MASK_AFTER_CODE_REGEXP = /\([#]+\)|[#\- ]/g;