@taiga-ui/legacy 4.52.0-canary.e10b718 → 4.52.0-canary.eb5ffe3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/components/dialog/dialog.component.d.ts +20 -0
  2. package/components/dialog/dialog.directive.d.ts +7 -0
  3. package/components/dialog/dialog.factory.d.ts +16 -0
  4. package/components/dialog/dialog.interfaces.d.ts +31 -0
  5. package/components/dialog/dialog.service.d.ts +7 -0
  6. package/components/dialog/dialog.tokens.d.ts +8 -0
  7. package/components/dialog/index.d.ts +6 -0
  8. package/components/index.d.ts +2 -9
  9. package/components/input/input.module.d.ts +1 -1
  10. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  11. package/components/input-date-time/input-date-time.component.d.ts +4 -3
  12. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  13. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  14. package/components/input-range/input-range.component.d.ts +1 -1
  15. package/components/input-tag/input-tag.module.d.ts +1 -1
  16. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  17. package/components/multi-select/multi-select.module.d.ts +1 -1
  18. package/components/pdf-viewer/index.d.ts +4 -0
  19. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  20. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  21. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  22. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  23. package/components/select/select.module.d.ts +1 -1
  24. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +129 -0
  26. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  27. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +5 -5
  28. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +6 -6
  30. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +2 -2
  32. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +3 -3
  34. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +7 -7
  36. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +3 -3
  38. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +5 -5
  40. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-legacy-components-input.mjs +4 -5
  42. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +9 -9
  45. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +82 -0
  47. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  48. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +2 -2
  49. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-legacy-components-select.mjs +8 -9
  52. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
  55. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy-components.mjs +2 -9
  57. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +1 -2
  59. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  61. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  62. package/index.d.ts +0 -2
  63. package/package.json +8 -56
  64. package/utils/icons-path-factory.d.ts +1 -1
  65. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  66. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  67. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  68. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  69. package/components/color-selector/color-selector.component.d.ts +0 -47
  70. package/components/color-selector/color-selector.module.d.ts +0 -23
  71. package/components/color-selector/color-selector.options.d.ts +0 -25
  72. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  73. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  74. package/components/color-selector/index.d.ts +0 -16
  75. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  76. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  77. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  78. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  79. package/components/color-selector/palette/palette.component.d.ts +0 -10
  80. package/components/color-selector/palette/palette.module.d.ts +0 -13
  81. package/components/color-selector/services/picker.service.d.ts +0 -15
  82. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  83. package/components/combo-box/combo-box.component.d.ts +0 -52
  84. package/components/combo-box/combo-box.directive.d.ts +0 -13
  85. package/components/combo-box/combo-box.module.d.ts +0 -20
  86. package/components/combo-box/index.d.ts +0 -4
  87. package/components/input-color/index.d.ts +0 -2
  88. package/components/input-color/input-color.component.d.ts +0 -30
  89. package/components/input-color/input-color.module.d.ts +0 -17
  90. package/components/input-date/index.d.ts +0 -3
  91. package/components/input-date/input-date.component.d.ts +0 -62
  92. package/components/input-date/input-date.directive.d.ts +0 -19
  93. package/components/input-date/input-date.module.d.ts +0 -24
  94. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  95. package/components/input-phone/index.d.ts +0 -4
  96. package/components/input-phone/input-phone.component.d.ts +0 -52
  97. package/components/input-phone/input-phone.directive.d.ts +0 -16
  98. package/components/input-phone/input-phone.module.d.ts +0 -15
  99. package/components/input-phone/input-phone.options.d.ts +0 -22
  100. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  101. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  102. package/components/input-phone/utils/index.d.ts +0 -2
  103. package/components/input-phone-international/index.d.ts +0 -3
  104. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  105. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  106. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  107. package/components/input-time/index.d.ts +0 -4
  108. package/components/input-time/input-time.component.d.ts +0 -62
  109. package/components/input-time/input-time.directive.d.ts +0 -17
  110. package/components/input-time/input-time.module.d.ts +0 -23
  111. package/components/input-time/input-time.options.d.ts +0 -42
  112. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  113. package/components/input-year/index.d.ts +0 -3
  114. package/components/input-year/input-year.component.d.ts +0 -36
  115. package/components/input-year/input-year.directive.d.ts +0 -14
  116. package/components/input-year/input-year.module.d.ts +0 -18
  117. package/components/svg/content-processor.d.ts +0 -19
  118. package/components/svg/deprecated-icons.d.ts +0 -5
  119. package/components/svg/index.d.ts +0 -5
  120. package/components/svg/svg-options.d.ts +0 -50
  121. package/components/svg/svg.component.d.ts +0 -50
  122. package/components/svg/svg.service.d.ts +0 -21
  123. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  124. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  125. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -300
  126. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  127. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  128. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  129. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  130. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  131. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  132. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  133. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
  134. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  135. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  136. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  137. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  138. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  139. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  140. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  141. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  142. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  143. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  144. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  145. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  146. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  147. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  148. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  149. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  150. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  151. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  152. package/pipes/format-phone/index.d.ts +0 -1
  153. package/pipes/index.d.ts +0 -3
  154. package/pipes/iso-to-country-code/index.d.ts +0 -1
  155. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  156. package/pipes/to-country-code/index.d.ts +0 -1
  157. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  158. package/services/index.d.ts +0 -1
  159. package/services/static-request.service.d.ts +0 -11
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./linear-multi-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiLinearMultiPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearMultiPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearMultiPickerModule, [typeof i1.TuiLinearMultiPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearMultiPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearMultiPickerModule>;
12
- }
@@ -1,10 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiLinearPickerComponent {
4
- protected readonly $: import("rxjs").Subscription;
5
- value: number;
6
- readonly valueChange: EventEmitter<number>;
7
- get left(): number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLinearPickerComponent, "tui-linear-picker", never, { "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
10
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./linear-picker.component";
3
- import * as i2 from "@angular/common";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiLinearPickerModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLinearPickerModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiLinearPickerModule, [typeof i1.TuiLinearPickerComponent], [typeof i2.CommonModule], [typeof i1.TuiLinearPickerComponent]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiLinearPickerModule>;
12
- }
@@ -1,10 +0,0 @@
1
- import { type KeyValue } from '@angular/common';
2
- import { EventEmitter } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiPaletteComponent {
5
- colors: ReadonlyMap<string, string>;
6
- readonly selectedColor: EventEmitter<string>;
7
- originalOrder: (_a: KeyValue<string, string>, _b: KeyValue<string, string>) => number;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPaletteComponent, "tui-palette", never, { "colors": { "alias": "colors"; "required": false; }; }, { "selectedColor": "selectedColor"; }, never, never, false, never>;
10
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./palette.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/directives/hint";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiPaletteModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPaletteModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPaletteModule, [typeof i1.TuiPaletteComponent], [typeof i2.CommonModule, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer], [typeof i1.TuiPaletteComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiPaletteModule>;
13
- }
@@ -1,15 +0,0 @@
1
- import { type TuiPoint } from '@taiga-ui/core/types';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiPickerService extends Observable<TuiPoint> {
9
- private readonly el;
10
- private readonly doc;
11
- private readonly point$;
12
- constructor();
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPickerService, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPickerService>;
15
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * TODO(v5): delete it
4
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
5
- */
6
- export declare class TuiComboBoxStrictDirective<T> {
7
- private readonly comboBox;
8
- strict: boolean;
9
- protected onInput(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxStrictDirective<any>, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiComboBoxStrictDirective<any>, "tui-combo-box[strict]", never, { "strict": { "alias": "strict"; "required": false; }; }, {}, never, never, false, never>;
12
- }
@@ -1,52 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
3
- import { type TuiContext, type TuiStringMatcher } from '@taiga-ui/cdk/types';
4
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
5
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS, type TuiValueContentContext } from '@taiga-ui/core/types';
6
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
7
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@taiga-ui/core/directives/dropdown";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiComboBoxComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
17
- private readonly accessor?;
18
- private readonly dropdown?;
19
- private readonly textfield?;
20
- private readonly arrowMode;
21
- private readonly itemsHandlers;
22
- private readonly textfieldSize;
23
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
24
- stringify: TuiItemsHandlers<T>['stringify'];
25
- strictMatcher: TuiStringMatcher<T> | null;
26
- identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
27
- valueContent: PolymorpheusContent<TuiValueContentContext<T>>;
28
- strict: boolean;
29
- search: string | null;
30
- readonly searchChange: EventEmitter<string | null>;
31
- open: boolean;
32
- get size(): TuiSizeL | TuiSizeS;
33
- get nativeFocusableElement(): HTMLInputElement | null;
34
- get focused(): boolean;
35
- get nativeValue(): string;
36
- checkOption(option: T): void;
37
- handleOption(item: T): void;
38
- onValueChange(value: string): void;
39
- toggle(): void;
40
- protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
41
- protected get showValueTemplate(): boolean;
42
- protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>>;
43
- protected onActiveZone(active: boolean): void;
44
- protected onFieldKeyDownEnter(event: Event): void;
45
- private isStrictMatch;
46
- private close;
47
- private updateSearch;
48
- private setNativeValue;
49
- private focusInput;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxComponent<any>, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiComboBoxComponent<any>, "tui-combo-box", never, { "stringify": { "alias": "stringify"; "required": false; }; "strictMatcher": { "alias": "strictMatcher"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
52
- }
@@ -1,13 +0,0 @@
1
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
2
- import { type TuiComboBoxComponent } from './combo-box.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiComboBoxDirective extends AbstractTuiTextfieldHost<TuiComboBoxComponent<unknown>> {
9
- get value(): string;
10
- onValueChange(value: string): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiComboBoxDirective, "tui-combo-box", never, {}, {}, never, never, false, never>;
13
- }
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./combo-box.component";
3
- import * as i2 from "./combo-box-strict.directive";
4
- import * as i3 from "./combo-box.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@taiga-ui/polymorpheus";
7
- import * as i6 from "@taiga-ui/legacy/components/primitive-textfield";
8
- import * as i7 from "@taiga-ui/legacy/components/select-option";
9
- import * as i8 from "@taiga-ui/legacy/components/arrow";
10
- import * as i9 from "@taiga-ui/legacy/directives";
11
- import * as i10 from "@taiga-ui/core/directives/dropdown";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiComboBoxModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiComboBoxModule, [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective], [typeof i4.CommonModule, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiPrimitiveTextfieldModule, typeof i7.TuiSelectOptionModule, typeof i8.TuiArrowComponent, typeof i9.TuiWrapperModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection], [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective, typeof i6.TuiTextfieldComponent, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiComboBoxModule>;
20
- }
@@ -1,4 +0,0 @@
1
- export * from './combo-box.component';
2
- export * from './combo-box.directive';
3
- export * from './combo-box.module';
4
- export * from './combo-box-strict.directive';
@@ -1,2 +0,0 @@
1
- export * from './input-color.component';
2
- export * from './input-color.module';
@@ -1,30 +0,0 @@
1
- import { type SafeStyle } from '@angular/platform-browser';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
4
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
5
- import * as i0 from "@angular/core";
6
- type MaskMode = 'gradient' | 'hex' | 'rgb';
7
- /**
8
- * TODO(v5): delete it
9
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
10
- */
11
- export declare class TuiInputColorComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
12
- private readonly textfield?;
13
- private readonly domSanitizer;
14
- colors: ReadonlyMap<string, string>;
15
- open: boolean;
16
- get focused(): boolean;
17
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
18
- get background(): SafeStyle;
19
- get mode(): MaskMode;
20
- maskitoOptions(mode: MaskMode): MaskitoOptions | null;
21
- onClick(): void;
22
- /** deprecated use 'value' setter */
23
- onValueChange(textValue: string): void;
24
- onFocused(focused: boolean): void;
25
- protected getFallbackValue(): string;
26
- private sanitize;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputColorComponent, "tui-input-color", never, { "colors": { "alias": "colors"; "required": false; }; }, {}, never, ["*"], false, never>;
29
- }
30
- export {};
@@ -1,17 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-color.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/legacy/components/primitive-textfield";
5
- import * as i4 from "@taiga-ui/legacy/directives/textfield-controller";
6
- import * as i5 from "@taiga-ui/legacy/components/color-selector";
7
- import * as i6 from "@maskito/angular";
8
- import * as i7 from "@taiga-ui/core/directives/dropdown";
9
- /**
10
- * TODO(v5): delete it
11
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-color TuiInputColor} (from @taiga-ui/kit) instead
12
- */
13
- export declare class TuiInputColorModule {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputColorModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputColorModule, [typeof i1.TuiInputColorComponent], [typeof i2.CommonModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiColorSelectorModule, typeof i6.MaskitoDirective, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownOpenLegacy, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection], [typeof i1.TuiInputColorComponent, typeof i7.TuiDropdownOptionsDirective, typeof i7.TuiDropdownDriverDirective, typeof i7.TuiDropdownDirective, typeof i7.TuiDropdownComponent, typeof i7.TuiDropdownOpen, typeof i7.TuiDropdownOpenLegacy, typeof i7.TuiDropdownPortal, typeof i7.TuiDropdownManual, typeof i7.TuiDropdownHover, typeof i7.TuiDropdownContext, typeof i7.TuiDropdownPosition, typeof i7.TuiDropdownPositionSided, typeof i7.TuiDropdownSelection]>;
16
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputColorModule>;
17
- }
@@ -1,3 +0,0 @@
1
- export * from './input-date.component';
2
- export * from './input-date.directive';
3
- export * from './input-date.module';
@@ -1,62 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiDateMode, TuiDay, TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
4
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
5
- import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
8
- import { AbstractTuiNullableControl, type TuiNamedDay } from '@taiga-ui/legacy/classes';
9
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
10
- import { type Observable } from 'rxjs';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiInputDateComponent extends AbstractTuiNullableControl<TuiDay> implements TuiFocusableElementAccessor {
17
- private readonly textfield?;
18
- private readonly options;
19
- private readonly textfieldSize;
20
- private readonly mobileCalendar;
21
- private month;
22
- private readonly nativeValue;
23
- min: TuiDay | null;
24
- max: TuiDay | null;
25
- disabledItemHandler: TuiBooleanHandler<TuiDay>;
26
- markerHandler: TuiMarkerHandler | null;
27
- items: readonly TuiNamedDay[];
28
- defaultActiveYearMonth: TuiMonth;
29
- dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
30
- protected open: boolean;
31
- protected readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
32
- protected readonly valueTransformer: import("@taiga-ui/cdk/classes").TuiValueTransformer<TuiDay | null, unknown> | null;
33
- protected readonly isMobile: boolean;
34
- protected readonly type: TuiContext<TuiActiveZone>;
35
- protected readonly filler$: Observable<string>;
36
- protected readonly dateFormat$: import("rxjs").Subscription;
37
- get computedMin(): TuiDay;
38
- get computedMax(): TuiDay;
39
- get nativeFocusableElement(): HTMLInputElement | null;
40
- get focused(): boolean;
41
- get computedValue(): string;
42
- onValueChange(value: string): void;
43
- setDisabledState(): void;
44
- writeValue(value: TuiDay | null): void;
45
- protected get size(): TuiSizeL | TuiSizeS;
46
- protected get nativePicker(): boolean;
47
- protected get calendarIcon(): TuiInputDateOptions['icon'];
48
- protected get computedActiveYearMonth(): TuiMonth;
49
- protected get computedMask(): MaskitoOptions;
50
- protected get activeItem(): TuiNamedDay | null;
51
- protected onClick(): void;
52
- protected getComputedFiller(filler: string): string;
53
- protected onIconClick(): void;
54
- protected onDayClick(value: TuiDay): void;
55
- protected onMonthChange(month: TuiMonth): void;
56
- protected onOpenChange(open: boolean): void;
57
- protected onFocused(focused: boolean): void;
58
- protected valueIdenticalComparator(oldValue: TuiDay | null, newValue: TuiDay | null): boolean;
59
- private computeMaskOptions;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateComponent, "tui-input-date:not([multiple])", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
62
- }
@@ -1,19 +0,0 @@
1
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
- import { type TuiDateFormatSettings } from '@taiga-ui/core/tokens';
3
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
4
- import { type TuiInputDateComponent } from './input-date.component';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
9
- */
10
- export declare class TuiInputDateDirective extends AbstractTuiTextfieldHost<TuiInputDateComponent> {
11
- get value(): string;
12
- get max(): TuiDay;
13
- get min(): TuiDay;
14
- get format(): TuiDateFormatSettings;
15
- onValueChange(value: string): void;
16
- process(input: HTMLInputElement): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateDirective, "tui-input-date:not([multiple])", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-date.component";
3
- import * as i2 from "./input-date.directive";
4
- import * as i3 from "./native-date/native-date.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@maskito/angular";
7
- import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@taiga-ui/core/components/calendar";
9
- import * as i8 from "@taiga-ui/core/components/link";
10
- import * as i9 from "@taiga-ui/legacy/components/primitive-textfield";
11
- import * as i10 from "@taiga-ui/legacy/directives";
12
- import * as i11 from "@taiga-ui/cdk/directives/let";
13
- import * as i12 from "@taiga-ui/core/directives/appearance";
14
- import * as i13 from "@taiga-ui/core/components/icon";
15
- import * as i14 from "@taiga-ui/core/directives/dropdown";
16
- /**
17
- * TODO(v5): delete it
18
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
19
- */
20
- export declare class TuiInputDateModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateModule, [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i3.TuiNativeDateDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i11.TuiLet, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiAppearance, typeof i13.TuiIcon, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i9.TuiTextfieldComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateModule>;
24
- }
@@ -1,15 +0,0 @@
1
- import { TuiInputDateDirective } from '../input-date.directive';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * TODO(v5): delete it
5
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date#mobile TuiInputDate} (from @taiga-ui/kit) instead
6
- */
7
- export declare class TuiNativeDateDirective {
8
- protected readonly host: TuiInputDateDirective;
9
- protected get value(): string;
10
- protected get max(): string;
11
- protected get min(): string;
12
- protected onChange(value: string): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeDateDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNativeDateDirective, "input[tuiDate]", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,4 +0,0 @@
1
- export * from './input-phone.component';
2
- export * from './input-phone.directive';
3
- export * from './input-phone.module';
4
- export * from './input-phone.options';
@@ -1,52 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
4
- import { type TuiContext } from '@taiga-ui/cdk/types';
5
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "@taiga-ui/core/directives/dropdown";
11
- /**
12
- * @deprecated use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
13
- */
14
- export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
15
- private readonly dropdown?;
16
- private readonly textfield?;
17
- private readonly textfieldCleaner;
18
- private readonly options;
19
- private readonly textfieldSize;
20
- protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
21
- protected open: boolean;
22
- phoneMaskAfterCountryCode: string;
23
- allowText: boolean;
24
- search: string;
25
- readonly searchChange: EventEmitter<string>;
26
- countryCode: string;
27
- set countryCodeSetter(newCountryCode: string);
28
- get size(): TuiSizeL | TuiSizeS;
29
- get nativeFocusableElement(): HTMLInputElement | null;
30
- get focused(): boolean;
31
- get nativeValue(): string;
32
- set nativeValue(value: string);
33
- get inputMode(): string;
34
- onValueChange(value: string): void;
35
- handleOption(item: string): void;
36
- setDisabledState(): void;
37
- writeValue(value: string | null): void;
38
- protected get canOpen(): boolean;
39
- protected get canClean(): boolean;
40
- protected get maskOptions(): MaskitoOptions;
41
- protected onActiveZone(active: boolean): void;
42
- protected getFallbackValue(): string;
43
- private get nonRemovablePrefix();
44
- private get maxPhoneLength();
45
- private get isTextValue();
46
- private calculateMask;
47
- private focusInput;
48
- private updateSearch;
49
- private updateValueWithNewCountryCode;
50
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneComponent, "tui-input-phone", never, { "phoneMaskAfterCountryCode": { "alias": "phoneMaskAfterCountryCode"; "required": false; }; "allowText": { "alias": "allowText"; "required": false; }; "search": { "alias": "search"; "required": false; }; "countryCodeSetter": { "alias": "countryCode"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
52
- }
@@ -1,16 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputPhoneComponent } from './input-phone.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @deprecated use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
7
- */
8
- export declare class TuiInputPhoneDirective extends AbstractTuiTextfieldHost<TuiInputPhoneComponent> implements DoCheck {
9
- protected input?: HTMLInputElement;
10
- get value(): string;
11
- onValueChange(value: string): void;
12
- process(input: HTMLInputElement): void;
13
- ngDoCheck(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputPhoneDirective, "tui-input-phone", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-phone.component";
3
- import * as i2 from "./input-phone.directive";
4
- import * as i3 from "@maskito/angular";
5
- import * as i4 from "@taiga-ui/legacy/components/primitive-textfield";
6
- import * as i5 from "@taiga-ui/legacy/directives";
7
- import * as i6 from "@taiga-ui/core/directives/dropdown";
8
- /**
9
- * @deprecated use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
10
- */
11
- export declare class TuiInputPhoneModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneModule, [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective], [typeof i3.MaskitoDirective, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i5.TuiValueAccessorModule, typeof i5.TuiLegacyDropdownOpenMonitorDirective, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownPortal, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection], [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective, typeof i4.TuiTextfieldComponent, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownPortal, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPhoneModule>;
15
- }
@@ -1,22 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- /**
3
- * @deprecated use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
4
- */
5
- export interface TuiInputPhoneOptions {
6
- readonly allowText: boolean;
7
- readonly countryCode: string;
8
- readonly phoneMaskAfterCountryCode: string;
9
- }
10
- /**
11
- * @deprecated use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
12
- */
13
- export declare const TUI_INPUT_PHONE_DEFAULT_OPTIONS: TuiInputPhoneOptions;
14
- /**
15
- * Default parameters for input phone component
16
- * @deprecated drop in v5.0, use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
17
- */
18
- export declare const TUI_INPUT_PHONE_OPTIONS: InjectionToken<TuiInputPhoneOptions>;
19
- /**
20
- * @deprecated use {@link https://taiga-ui.dev/components/input-phone TuiInputPhone} with {@link https://taiga-ui.dev/components/textfield TuiTextfield}
21
- */
22
- export declare function tuiInputPhoneOptionsProvider(options: Partial<TuiInputPhoneOptions>): Provider;
@@ -1,9 +0,0 @@
1
- import { type MaskitoPreprocessor } from '@maskito/core';
2
- /**
3
- * `InputPhone` component sets country code as non-removable prefix.
4
- * This prefix appears on focus and cannot be erased.
5
- * But users sometimes can copy complete phone number (from any different source)
6
- * and try to insert the whole string inside our `InputPhone` textfield.
7
- * This preprocessor helps to avoid country prefix duplication on paste/drop/autofill events.
8
- */
9
- export declare function tuiCreateCompletePhoneInsertionPreprocessor(countryCode: string, phoneMaskAfterCountryCode: string): MaskitoPreprocessor;
@@ -1,7 +0,0 @@
1
- /**
2
- * Create {@link https://maskito.dev/core-concepts/mask-expression pattern mask expression} for phone number
3
- *
4
- * @example
5
- * tuiCreatePhoneMaskExpression('+1', '(###) ###-####');
6
- */
7
- export declare function tuiCreatePhoneMaskExpression(countryCode: string, phoneMaskAfterCountryCode: string): Array<RegExp | string>;
@@ -1,2 +0,0 @@
1
- export * from './complete-phone-insertion-preprocessor';
2
- export * from './create-phone-mask-expression';
@@ -1,3 +0,0 @@
1
- export * from './input-phone-international.component';
2
- export * from './input-phone-international.options';
3
- export * from './utils/extract-value-from-event';
@@ -1,43 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
5
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
6
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
7
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@taiga-ui/core/directives/dropdown";
10
- /**
11
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
12
- * https://taiga-ui.dev/components/input-phone-international
13
- */
14
- export declare class TuiInputPhoneInternationalComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
15
- private readonly inputPhoneComponent?;
16
- private readonly primitiveTextfield?;
17
- private readonly options;
18
- private readonly extractCountryCodePipe;
19
- private readonly textfieldSize;
20
- protected open: boolean;
21
- protected readonly countriesNames$: import("rxjs").Observable<Record<TuiCountryIsoCode, string>>;
22
- protected readonly countriesMasks: Record<TuiCountryIsoCode, string>;
23
- protected readonly arrow: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
24
- countries: readonly TuiCountryIsoCode[];
25
- readonly countryIsoCodeChange: EventEmitter<TuiCountryIsoCode>;
26
- countryIsoCode: TuiCountryIsoCode;
27
- set isoCode(code: TuiCountryIsoCode);
28
- get nativeFocusableElement(): HTMLElement | null;
29
- get focused(): boolean;
30
- get inputPhoneCountryCode(): string;
31
- get phoneMaskAfterCountryCode(): string;
32
- onPaste(event: ClipboardEvent | DragEvent): void;
33
- onItemClick(isoCode: TuiCountryIsoCode): void;
34
- setDisabledState(): void;
35
- protected get size(): TuiSizeL | TuiSizeS;
36
- protected onActiveZone(active: boolean): void;
37
- protected getFallbackValue(): string;
38
- private calculateMaskAfterCountryCode;
39
- private close;
40
- private updateCountryIsoCode;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneInternationalComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneInternationalComponent, "tui-input-phone-international", never, { "countries": { "alias": "countries"; "required": false; }; "isoCode": { "alias": "countryIsoCode"; "required": false; }; }, { "countryIsoCodeChange": "countryIsoCodeChange"; }, never, ["*"], true, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
43
- }
@@ -1,25 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
- /**
4
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
5
- * https://taiga-ui.dev/components/input-phone-international
6
- */
7
- export interface TuiInputPhoneInternationalOptions {
8
- readonly countries: readonly TuiCountryIsoCode[];
9
- readonly countryIsoCode: TuiCountryIsoCode;
10
- }
11
- /**
12
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
13
- * https://taiga-ui.dev/components/input-phone-international
14
- */
15
- export declare const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhoneInternationalOptions;
16
- /**
17
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
18
- * https://taiga-ui.dev/components/input-phone-international
19
- */
20
- export declare const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS: InjectionToken<TuiInputPhoneInternationalOptions>;
21
- /**
22
- * @deprecated: drop in v5.0 use {@link TuiInputPhoneInternational}
23
- * https://taiga-ui.dev/components/input-phone-international
24
- */
25
- export declare function tuiInputPhoneInternationalOptionsProvider(options: Partial<TuiInputPhoneInternationalOptions>): Provider;
@@ -1,4 +0,0 @@
1
- /**
2
- * @deprecated: drop in v5.0
3
- */
4
- export declare function tuiExtractValueFromEvent(event: ClipboardEvent | DragEvent): string;
@@ -1,4 +0,0 @@
1
- export * from './input-time.component';
2
- export * from './input-time.directive';
3
- export * from './input-time.module';
4
- export * from './input-time.options';