@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,62 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
4
- import { type TuiBooleanHandler, type TuiIdentityMatcher } 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 { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import { type Observable } from 'rxjs';
10
- import { type TuiInputTimeOptions } from './input-time.options';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "@taiga-ui/core/directives/dropdown";
13
- /**
14
- * TODO(v5): delete it
15
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
16
- */
17
- export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<TuiTime> implements TuiFocusableElementAccessor, TuiDataListHost<TuiTime> {
18
- private readonly textfield?;
19
- private readonly timeTexts$;
20
- private readonly options;
21
- private readonly isMobile;
22
- private readonly isIOS;
23
- private readonly textfieldSize;
24
- protected readonly valueTransformer: TuiValueTransformer<TuiTime | null> | null;
25
- protected open: boolean;
26
- disabledItemHandler: TuiBooleanHandler<TuiTime>;
27
- items: readonly TuiTime[];
28
- itemsHidden: boolean;
29
- itemSize: TuiInputTimeOptions['itemSize'];
30
- strict: boolean;
31
- mode: TuiInputTimeOptions['mode'];
32
- get size(): TuiSizeL | TuiSizeS;
33
- get inputMode(): string;
34
- get nativeFocusableElement(): HTMLInputElement | null;
35
- get focused(): boolean;
36
- get computedValue(): string;
37
- get nativeValue(): string;
38
- set nativeValue(value: string);
39
- readonly identityMatcher: TuiIdentityMatcher<TuiTime>;
40
- checkOption(option: TuiTime): void;
41
- handleOption(item: TuiTime): void;
42
- writeValue(value: TuiTime | null): void;
43
- onValueChange(value: string): void;
44
- protected get canOpen(): boolean;
45
- protected get filtered(): readonly TuiTime[];
46
- protected get showNativePicker(): boolean;
47
- protected get nativeDatalist(): boolean;
48
- protected get maskOptions(): MaskitoOptions;
49
- protected get computedSearch(): string;
50
- protected get innerPseudoFocused(): boolean | null;
51
- protected get icon(): TuiInputTimeOptions['icon'];
52
- protected getFiller$(mode: TuiTimeMode): Observable<string>;
53
- protected onFocused(focused: boolean): void;
54
- protected onOpen(open: boolean): void;
55
- private get nativePicker();
56
- private calculateMask;
57
- private filter;
58
- private findNearestTimeFromItems;
59
- private focusInput;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTimeComponent, "tui-input-time", never, { "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "itemsHidden": { "alias": "itemsHidden"; "required": false; }; "itemSize": { "alias": "itemSize"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
62
- }
@@ -1,17 +0,0 @@
1
- import { type TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputTimeComponent } from './input-time.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiInputTimeDirective extends AbstractTuiTextfieldHost<TuiInputTimeComponent> {
10
- get value(): string;
11
- get mode(): TuiTimeMode;
12
- get items(): readonly TuiTime[];
13
- onValueChange(value: string): void;
14
- process(input: HTMLInputElement): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputTimeDirective, "tui-input-time", never, {}, {}, never, never, false, never>;
17
- }
@@ -1,23 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-time.component";
3
- import * as i2 from "./native-time/native-time.component";
4
- import * as i3 from "./input-time.directive";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@maskito/angular";
7
- import * as i6 from "@taiga-ui/legacy/components/select-option";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/polymorpheus";
11
- import * as i10 from "@taiga-ui/core/components/icon";
12
- import * as i11 from "@taiga-ui/core/directives/appearance";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- import * as i13 from "@taiga-ui/core/components/data-list";
15
- /**
16
- * TODO(v5): delete it
17
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time TuiInputTime} (from @taiga-ui/kit) instead
18
- */
19
- export declare class TuiInputTimeModule {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTimeModule, [typeof i1.TuiInputTimeComponent, typeof i2.TuiNativeTimeComponent, typeof i3.TuiInputTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.TuiSelectOptionModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiValueAccessorModule, typeof i8.TuiTextfieldControllerModule, typeof i9.PolymorpheusOutlet, typeof i9.PolymorpheusTemplate, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup], [typeof i1.TuiInputTimeComponent, typeof i3.TuiInputTimeDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup]>;
22
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTimeModule>;
23
- }
@@ -1,42 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiTimeMode } from '@taiga-ui/cdk/date-time';
3
- import { type TuiContext } from '@taiga-ui/cdk/types';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
9
- */
10
- export interface TuiInputTimeOptions {
11
- readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
12
- readonly itemSize: TuiSizeL | TuiSizeS;
13
- readonly maxValues: Record<TuiTimeFormatParts, number>;
14
- readonly mode: TuiTimeMode;
15
- readonly nativePicker?: boolean;
16
- }
17
- /**
18
- * TODO(v5): delete it
19
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
20
- */
21
- export type TuiTimeFormatParts = 'HH' | 'MM' | 'MS' | 'SS';
22
- /**
23
- * TODO(v5): delete it
24
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
25
- */
26
- export declare const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number>;
27
- /**
28
- * TODO(v5): delete it
29
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
30
- */
31
- export declare const TUI_INPUT_TIME_DEFAULT_OPTIONS: TuiInputTimeOptions;
32
- /**
33
- * TODO(v5): delete it
34
- * Default parameters for InputTime component
35
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
36
- */
37
- export declare const TUI_INPUT_TIME_OPTIONS: InjectionToken<TuiInputTimeOptions>;
38
- /**
39
- * TODO(v5): delete it
40
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-time#options TuiInputTime} (from @taiga-ui/kit) instead
41
- */
42
- export declare function tuiInputTimeOptionsProvider(options: Partial<TuiInputTimeOptions>): Provider;
@@ -1,12 +0,0 @@
1
- import { TuiInputTimeDirective } from '../input-time.directive';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiNativeTimeComponent {
4
- protected readonly host: TuiInputTimeDirective;
5
- protected readonly autoId: string;
6
- protected get items(): string[];
7
- protected get value(): string;
8
- protected get step(): number;
9
- protected onChange(value: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeTimeComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeTimeComponent, "input[tuiTime]", never, {}, {}, never, never, false, never>;
12
- }
@@ -1,3 +0,0 @@
1
- export * from './input-year.component';
2
- export * from './input-year.directive';
3
- export * from './input-year.module';
@@ -1,36 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
5
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
6
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * TODO(v5): delete it
10
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-year TuiInputYear} (from @taiga-ui/kit) instead
11
- */
12
- export declare class TuiInputYearComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
13
- private readonly textfield?;
14
- private readonly options;
15
- private readonly textfieldSize;
16
- protected open: boolean;
17
- protected readonly initialItem: number;
18
- min: number | null;
19
- max: number | null;
20
- disabledItemHandler: TuiBooleanHandler<number>;
21
- nativeValue: string;
22
- get nativeFocusableElement(): HTMLInputElement | null;
23
- get focused(): boolean;
24
- onValueChange(value: string): void;
25
- writeValue(value: number | null): void;
26
- protected get size(): TuiSizeL | TuiSizeS;
27
- protected get calendarIcon(): TuiInputDateOptions['icon'];
28
- protected getMaskOptions(min: number | null, max: number | null): MaskitoOptions;
29
- protected onYearClick(year: number): void;
30
- protected onFocused(focused: boolean): void;
31
- protected onOpenChange(open: boolean): void;
32
- protected toggle(): void;
33
- private updateNativeValue;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputYearComponent, "tui-input-year", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
36
- }
@@ -1,14 +0,0 @@
1
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
2
- import { type TuiInputYearComponent } from './input-year.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/input-year TuiInputYear} (from @taiga-ui/kit) instead
7
- */
8
- export declare class TuiInputYearDirective extends AbstractTuiTextfieldHost<TuiInputYearComponent> {
9
- get value(): string;
10
- onValueChange(value: string): void;
11
- process(input: HTMLInputElement): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputYearDirective, "tui-input-year", never, {}, {}, never, never, false, never>;
14
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-year.component";
3
- import * as i2 from "./input-year.directive";
4
- import * as i3 from "@maskito/angular";
5
- import * as i4 from "@taiga-ui/core/directives/dropdown";
6
- import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
7
- import * as i6 from "@taiga-ui/core/components/scrollbar";
8
- import * as i7 from "@taiga-ui/core/components/calendar";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- /**
11
- * TODO(v5): delete it
12
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-year TuiInputYear} (from @taiga-ui/kit) instead
13
- */
14
- export declare class TuiInputYearModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputYearModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputYearModule, [typeof i1.TuiInputYearComponent, typeof i2.TuiInputYearDirective], [typeof i3.MaskitoDirective, typeof i4.TuiDropdownOpen, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiScrollbar, typeof i7.TuiCalendarYear, typeof i8.TuiTextfieldControllerModule, typeof i4.TuiDropdownOptionsDirective, typeof i4.TuiDropdownDriverDirective, typeof i4.TuiDropdownDirective, typeof i4.TuiDropdownComponent, typeof i4.TuiDropdownOpen, typeof i4.TuiDropdownOpenLegacy, typeof i4.TuiDropdownPortal, typeof i4.TuiDropdownManual, typeof i4.TuiDropdownHover, typeof i4.TuiDropdownContext, typeof i4.TuiDropdownPosition, typeof i4.TuiDropdownPositionSided, typeof i4.TuiDropdownSelection], [typeof i1.TuiInputYearComponent, typeof i2.TuiInputYearDirective, typeof i5.TuiTextfieldComponent, typeof i4.TuiDropdownOptionsDirective, typeof i4.TuiDropdownDriverDirective, typeof i4.TuiDropdownDirective, typeof i4.TuiDropdownComponent, typeof i4.TuiDropdownOpen, typeof i4.TuiDropdownOpenLegacy, typeof i4.TuiDropdownPortal, typeof i4.TuiDropdownManual, typeof i4.TuiDropdownHover, typeof i4.TuiDropdownContext, typeof i4.TuiDropdownPosition, typeof i4.TuiDropdownPositionSided, typeof i4.TuiDropdownSelection]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputYearModule>;
18
- }
@@ -1,19 +0,0 @@
1
- import { type TuiSafeHtml } from '@taiga-ui/cdk/types';
2
- /**
3
- * @deprecated: drop in v5.0 use {@link TuiIcon}
4
- * https://taiga-ui.dev/components/icon
5
- *
6
- * @description:
7
- * Any ‘linearGradient’ attributes which are defined on the referenced
8
- * element which are not defined on this element are inherited by this element.
9
- * If this element has no defined gradient stops, and the referenced element does
10
- * (possibly due to its own ‘xlink:href’ attribute), then this element inherits
11
- * the gradient stop from the referenced element. Inheritance can be indirect
12
- * to an arbitrary level; thus, if the referenced element inherits attribute
13
- * or gradient stops due to its own ‘xlink:href’ attribute, then the current
14
- * element can inherit those attributes or gradient stops.
15
- *
16
- * Documentation: https://www.w3.org/TR/SVG11/pservers.html
17
- *
18
- */
19
- export declare function tuiSvgLinearGradientProcessor(svg: TuiSafeHtml, salt?: number | string): TuiSafeHtml;
@@ -1,5 +0,0 @@
1
- /**
2
- * @deprecated: drop in v5.0 use {@link TuiIcon}
3
- * https://taiga-ui.dev/components/icon
4
- */
5
- export declare const TUI_DEPRECATED_ICONS: Record<string, string>;
@@ -1,5 +0,0 @@
1
- export * from './content-processor';
2
- export * from './deprecated-icons';
3
- export * from './svg.component';
4
- export * from './svg.service';
5
- export * from './svg-options';
@@ -1,50 +0,0 @@
1
- import { type FactoryProvider, InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiHandler, type TuiSafeHtml, type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- /**
4
- * @deprecated: drop in v5.0 use {@link TuiIcon}
5
- * https://taiga-ui.dev/components/icon
6
- */
7
- export declare const TUI_DEFAULT_ICONS_PLACE = "assets/taiga-ui/icons";
8
- /**
9
- * @deprecated: drop in v5.0 use {@link TuiIcon}
10
- * https://taiga-ui.dev/components/icon
11
- */
12
- export interface TuiSvgOptions {
13
- readonly contentProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;
14
- readonly deprecated: TuiStringHandler<string>;
15
- readonly iconsPlace: string;
16
- readonly path: (name: string, baseHref?: string) => string;
17
- readonly srcProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;
18
- }
19
- /**
20
- * @deprecated: drop in v5.0 use {@link TuiIcon}
21
- * https://taiga-ui.dev/components/icon
22
- */
23
- export type TuiSvgInterceptorHandler = ((src: TuiSafeHtml, options: TuiSvgOptions) => TuiSafeHtml) | ((src: TuiSafeHtml) => TuiSafeHtml);
24
- /**
25
- * @deprecated: drop in v5.0 use {@link TuiIcon}
26
- * https://taiga-ui.dev/components/icon
27
- */
28
- export declare const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions;
29
- /**
30
- * @deprecated: drop in v5.0 use {@link TuiIcon}
31
- * https://taiga-ui.dev/components/icon
32
- */
33
- export declare const TUI_SVG_OPTIONS: InjectionToken<TuiSvgOptions>;
34
- /**
35
- * @deprecated: drop in v5.0 use {@link TuiIcon}
36
- * https://taiga-ui.dev/components/icon
37
- */
38
- export declare const TUI_SVG_SRC_INTERCEPTORS: InjectionToken<TuiSvgInterceptorHandler>;
39
- /**
40
- * @deprecated: drop in v5.0 use {@link TuiIcon}
41
- * https://taiga-ui.dev/components/icon
42
- */
43
- export declare function tuiSvgSrcInterceptors(interceptor: TuiSvgInterceptorHandler): Provider;
44
- /**
45
- * @deprecated: drop in v5.0 use {@link TuiIcon}
46
- * https://taiga-ui.dev/components/icon
47
- */
48
- export declare const tuiSvgOptionsProvider: (options: Partial<Omit<TuiSvgOptions, 'path'>> & {
49
- path?: TuiSvgOptions['path'] | string;
50
- }) => FactoryProvider;
@@ -1,50 +0,0 @@
1
- import { type SafeHtml } from '@angular/platform-browser';
2
- import { type TuiSafeHtml } from '@taiga-ui/cdk/types';
3
- import { type Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @deprecated: drop in v5.0 use {@link TuiIcon}
7
- * https://taiga-ui.dev/components/icon
8
- */
9
- export interface TuiIconError {
10
- readonly icon: string;
11
- readonly message: string;
12
- }
13
- /**
14
- * @deprecated: drop in v5.0 use {@link TuiIcon}
15
- * https://taiga-ui.dev/components/icon
16
- */
17
- export declare class TuiSvgComponent {
18
- private icon;
19
- private readonly doc;
20
- private readonly win;
21
- private readonly options;
22
- private readonly tuiSanitizer;
23
- private readonly svgService;
24
- private readonly staticRequestService;
25
- private readonly sanitizer;
26
- private readonly el;
27
- private readonly baseHref;
28
- private readonly src$;
29
- private readonly srcInterceptors;
30
- protected readonly innerHTML$: Observable<SafeHtml>;
31
- set src(src: TuiSafeHtml | null | undefined);
32
- get src(): TuiSafeHtml;
33
- get use(): string;
34
- get isInnerHTML(): boolean;
35
- protected onError(message?: string): void;
36
- private get isShadowDOM();
37
- private get isUse();
38
- private get isExternal();
39
- private get isUrl();
40
- private get isSrc();
41
- private get isName();
42
- private get isCrossDomain();
43
- private resolveName;
44
- private getSafeHtml;
45
- private process;
46
- private sanitize;
47
- private getExternalIcon;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSvgComponent, "tui-svg", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
50
- }
@@ -1,21 +0,0 @@
1
- import { type SafeHtml } from '@angular/platform-browser';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: drop in v5.0 use {@link TuiIcon}
6
- * Service for reusing SVGs without inlining each instance
7
- */
8
- export declare class TuiSvgService {
9
- private readonly tuiSanitizer;
10
- private readonly sanitizer;
11
- private originals;
12
- readonly items$: BehaviorSubject<Map<string, SafeHtml>>;
13
- constructor();
14
- define(icons: Record<string, string>): void;
15
- getOriginal(name: string): string | null;
16
- private defineIcon;
17
- private parseSrc;
18
- private sanitize;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiSvgService>;
21
- }