@taiga-ui/core 4.52.0-canary.eb5ffe3 → 4.52.0-canary.ec0802b

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 (139) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +1 -1
  3. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  4. package/components/data-list/data-list.component.d.ts +6 -8
  5. package/components/data-list/opt-group.directive.d.ts +2 -2
  6. package/components/data-list/option/option.directive.d.ts +5 -6
  7. package/components/dialog/dialog.component.d.ts +2 -3
  8. package/components/dialog/dialog.directive.d.ts +4 -3
  9. package/components/dialog/dialog.options.d.ts +2 -3
  10. package/components/dialog/dialog.providers.d.ts +1 -2
  11. package/components/dialog/dialog.service.d.ts +5 -2
  12. package/components/dialog/index.d.ts +0 -1
  13. package/components/index.d.ts +1 -2
  14. package/components/link/link.directive.d.ts +2 -2
  15. package/components/link/link.options.d.ts +1 -3
  16. package/components/loader/loader.component.d.ts +7 -7
  17. package/components/loader/loader.options.d.ts +1 -3
  18. package/components/modal/index.d.ts +2 -0
  19. package/components/modal/modal.component.d.ts +17 -0
  20. package/components/modal/modal.service.d.ts +13 -0
  21. package/components/notification/index.d.ts +3 -0
  22. package/components/notification/notification.component.d.ts +14 -0
  23. package/components/notification/notification.d.ts +3 -0
  24. package/components/notification/notification.directive.d.ts +7 -12
  25. package/components/notification/notification.options.d.ts +9 -7
  26. package/components/notification/notification.service.d.ts +17 -0
  27. package/components/root/root.component.d.ts +1 -1
  28. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  29. package/components/scrollbar/scrollbar.component.d.ts +2 -2
  30. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  31. package/components/spin-button/spin-button.component.d.ts +7 -8
  32. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -2
  33. package/components/textfield/textfield.component.d.ts +3 -4
  34. package/components/textfield/textfield.directive.d.ts +9 -12
  35. package/directives/{notification/notification.directive.d.ts → alert/alert.directive.d.ts} +3 -3
  36. package/directives/{notification/notification.service.d.ts → alert/alert.service.d.ts} +3 -3
  37. package/directives/alert/index.d.ts +2 -0
  38. package/directives/date-format/date-format.directive.d.ts +3 -7
  39. package/directives/dropdown/dropdown-hover.options.d.ts +1 -3
  40. package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
  41. package/directives/group/group.options.d.ts +1 -3
  42. package/directives/index.d.ts +1 -1
  43. package/directives/number-format/number-format.directive.d.ts +3 -7
  44. package/fesm2022/taiga-ui-core-classes.mjs +1 -1
  45. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-core-components-calendar.mjs +9 -15
  47. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-core-components-data-list.mjs +36 -70
  49. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-core-components-dialog.mjs +33 -90
  51. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-core-components-icon.mjs +1 -2
  53. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-core-components-link.mjs +10 -16
  55. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-core-components-loader.mjs +14 -32
  57. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-core-components-modal.mjs +89 -0
  59. package/fesm2022/taiga-ui-core-components-modal.mjs.map +1 -0
  60. package/fesm2022/taiga-ui-core-components-notification.mjs +98 -41
  61. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-components-root.mjs +5 -7
  63. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +35 -43
  65. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-spin-button.mjs +12 -24
  67. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-textfield.mjs +38 -75
  69. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components.mjs +1 -2
  71. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-directives-alert.mjs +73 -0
  73. package/fesm2022/taiga-ui-core-directives-alert.mjs.map +1 -0
  74. package/fesm2022/taiga-ui-core-directives-appearance.mjs +0 -1
  75. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-core-directives-date-format.mjs +24 -18
  77. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +18 -45
  79. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-directives-group.mjs +4 -8
  81. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-directives-hint.mjs +5 -8
  83. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-directives-icons.mjs +0 -1
  85. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +0 -3
  87. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-directives-number-format.mjs +30 -18
  89. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-directives-popup.mjs +2 -2
  91. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-directives.mjs +1 -1
  93. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -1
  94. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -1
  96. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -1
  98. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -1
  100. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -12
  102. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -1
  104. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -1
  106. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -1
  108. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-tokens.mjs +21 -15
  110. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -0
  112. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  113. package/package.json +13 -14
  114. package/pipes/format-number/format-number.pipe.d.ts +5 -3
  115. package/styles/components/link.less +1 -0
  116. package/styles/mixins/appearance.less +1 -1
  117. package/styles/mixins/mixins.less +0 -5
  118. package/styles/mixins/mixins.scss +0 -5
  119. package/styles/theme/variables.less +2 -4
  120. package/tokens/common-icons.d.ts +1 -3
  121. package/tokens/date-format.d.ts +2 -3
  122. package/tokens/number-format.d.ts +2 -3
  123. package/components/alert/alert.component.d.ts +0 -14
  124. package/components/alert/alert.directive.d.ts +0 -8
  125. package/components/alert/alert.interfaces.d.ts +0 -13
  126. package/components/alert/alert.service.d.ts +0 -11
  127. package/components/alert/alert.tokens.d.ts +0 -6
  128. package/components/alert/index.d.ts +0 -5
  129. package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
  130. package/components/dialog/dialogs.component.d.ts +0 -8
  131. package/components/header/header.directive.d.ts +0 -17
  132. package/components/header/index.d.ts +0 -1
  133. package/directives/notification/index.d.ts +0 -2
  134. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -110
  135. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  136. package/fesm2022/taiga-ui-core-components-header.mjs +0 -42
  137. package/fesm2022/taiga-ui-core-components-header.mjs.map +0 -1
  138. package/fesm2022/taiga-ui-core-directives-notification.mjs +0 -73
  139. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +0 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ consisting of multiple base libraries and several add-ons
14
14
 
15
15
  ## How to install
16
16
 
17
- ```
17
+ ```bash
18
18
  npm i @taiga-ui/{cdk,core}
19
19
  ```
20
20
 
@@ -10,7 +10,7 @@ export declare abstract class TuiRectAccessor extends TuiAccessor {
10
10
  abstract getClientRect(): DOMRect;
11
11
  }
12
12
  export declare function tuiProvideAccessor<T extends TuiAccessor>(provide: AbstractType<T>, type: string, fallback: Type<T>): FactoryProvider;
13
- export declare function tuiFallbackAccessor<T extends TuiAccessor>(type: string): (accessors: readonly T[] | null, fallback: T) => T;
13
+ export declare function tuiFallbackAccessor<T extends TuiAccessor>(type: string): (accessors: readonly T[] | null, fallback: Omit<T, 'type'>) => T;
14
14
  export declare function tuiPositionAccessorFor(type: string, fallback: Type<TuiPositionAccessor>): FactoryProvider;
15
15
  export declare function tuiRectAccessorFor(type: string, fallback: Type<TuiRectAccessor>): FactoryProvider;
16
16
  export declare function tuiAsPositionAccessor(accessor: Type<TuiPositionAccessor>): ExistingProvider;
@@ -1,7 +1,5 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  export interface TuiCalendarSheetOptions {
3
2
  readonly rangeMode: boolean;
4
3
  }
5
4
  export declare const TUI_CALENDAR_SHEET_DEFAULT_OPTIONS: TuiCalendarSheetOptions;
6
- export declare const TUI_CALENDAR_SHEET_OPTIONS: InjectionToken<TuiCalendarSheetOptions>;
7
- export declare function tuiCalendarSheetOptionsProvider(options: Partial<TuiCalendarSheetOptions>): Provider;
5
+ export declare const TUI_CALENDAR_SHEET_OPTIONS: import("@angular/core").InjectionToken<TuiCalendarSheetOptions>, tuiCalendarSheetOptionsProvider: (item: Partial<TuiCalendarSheetOptions> | (() => Partial<TuiCalendarSheetOptions>)) => import("@angular/core").FactoryProvider;
@@ -1,10 +1,10 @@
1
- import { type AfterContentChecked, type AfterContentInit } from '@angular/core';
1
+ import { type AfterContentChecked } from '@angular/core';
2
2
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
3
  import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
4
  import { type TuiDataListAccessor } from './data-list.tokens';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare function tuiInjectDataListSize(): TuiSizeL | TuiSizeS;
7
- export declare class TuiDataListComponent<T> implements TuiDataListAccessor<T>, AfterContentChecked, AfterContentInit {
7
+ export declare class TuiDataListComponent<T> implements TuiDataListAccessor<T>, AfterContentChecked {
8
8
  private readonly legacyOptionsQuery;
9
9
  private readonly optionsQuery;
10
10
  private origin?;
@@ -12,19 +12,17 @@ export declare class TuiDataListComponent<T> implements TuiDataListAccessor<T>,
12
12
  private readonly destroyRef;
13
13
  private readonly el;
14
14
  private readonly cdr;
15
- private readonly contentReady$;
16
15
  protected readonly fallback: import("@angular/core").Signal<string>;
17
16
  protected readonly empty: import("@angular/core").WritableSignal<boolean>;
18
- emptyContent: PolymorpheusContent;
19
- size: "m" | "l" | "s";
20
- readonly options: import("@angular/core").Signal<readonly T[]>;
17
+ readonly emptyContent: import("@angular/core").InputSignal<PolymorpheusContent>;
18
+ readonly size: import("@angular/core").InputSignal<"m" | "l" | "s">;
19
+ readonly options: import("@angular/core").Signal<T[]>;
21
20
  onKeyDownArrow(current: HTMLElement, step: number): void;
22
21
  handleFocusLossIfNecessary(element?: Element): void;
23
- ngAfterContentInit(): void;
24
22
  ngAfterContentChecked(): void;
25
23
  getOptions(includeDisabled?: boolean): readonly T[];
26
24
  protected onFocusIn(relatedTarget: HTMLElement, currentTarget: HTMLElement): void;
27
25
  private get elements();
28
26
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDataListComponent<any>, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiDataListComponent<any>, "tui-data-list", never, { "emptyContent": { "alias": "emptyContent"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, ["legacyOptionsQuery", "optionsQuery"], ["*"], true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDataListComponent<any>, "tui-data-list", never, { "emptyContent": { "alias": "emptyContent"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, ["legacyOptionsQuery", "optionsQuery"], ["*"], true, never>;
30
28
  }
@@ -1,6 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class TuiOptGroup {
3
- label?: string | null;
3
+ readonly label: import("@angular/core").InputSignal<string | null | undefined>;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptGroup, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptGroup, "tui-opt-group", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptGroup, "tui-opt-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6
6
  }
@@ -9,19 +9,18 @@ export declare class TuiOptionNew<T = unknown> implements OnDestroy {
9
9
  private readonly content;
10
10
  private readonly ref;
11
11
  protected readonly dropdown: import("@angular/core").WritableSignal<import("@angular/core").ComponentRef<unknown> | null> | undefined;
12
- disabled: boolean;
12
+ readonly disabled: import("@angular/core").InputSignal<boolean>;
13
13
  constructor();
14
14
  ngOnDestroy(): void;
15
15
  protected onMouseMove(): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionNew<any>, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionNew<any>, "button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]", never, { "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionNew<any>, "button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }]>;
18
18
  }
19
19
  export declare class TuiOptionWithValue<T = unknown> {
20
20
  private readonly host;
21
- disabled: boolean;
22
- readonly value: import("@angular/core").WritableSignal<T | undefined>;
23
- set valueSetter(x: T);
21
+ readonly disabled: import("@angular/core").InputSignal<boolean>;
22
+ readonly value: import("@angular/core").InputSignal<T | undefined>;
24
23
  protected onClick(value?: T | undefined): void;
25
24
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiOptionWithValue<any>, never>;
26
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionWithValue<any>, "button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]", never, { "disabled": { "alias": "disabled"; "required": false; }; "valueSetter": { "alias": "value"; "required": true; }; }, {}, never, never, true, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiOptionWithValue<any>, "button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
27
26
  }
@@ -1,13 +1,12 @@
1
- import { type TuiPopover } from '@taiga-ui/cdk/services';
2
1
  import { Subject } from 'rxjs';
3
- import { type TuiDialogOptions } from './dialog.options';
2
+ import { type TuiDialogContext } from './dialog.options';
4
3
  import * as i0 from "@angular/core";
5
4
  import * as i1 from "@taiga-ui/cdk/directives/animated";
6
5
  export declare class TuiDialogComponent<O, I> {
7
6
  protected readonly close$: Subject<void>;
8
7
  protected readonly close: import("@angular/core").Signal<string>;
9
8
  protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
10
- protected readonly context: TuiPopover<TuiDialogOptions<I>, O>;
9
+ protected readonly context: TuiDialogContext<I, O>;
11
10
  protected readonly primitive: boolean;
12
11
  protected readonly sub: import("rxjs").Subscription;
13
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogComponent<any, any>, never>;
@@ -1,7 +1,8 @@
1
- import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
2
1
  import { type TuiDialogOptions } from './dialog.options';
3
2
  import * as i0 from "@angular/core";
4
- export declare class TuiDialog<T> extends TuiPopoverDirective<TuiDialogOptions<T>> {
3
+ import * as i1 from "@taiga-ui/cdk/portals";
4
+ export declare class TuiDialog<T> {
5
+ readonly tuiDialogOptions: import("@angular/core").InputSignal<Partial<TuiDialogOptions<T>>>;
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialog<any>, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDialog<any>, "ng-template[tuiDialog]", never, { "options": { "alias": "tuiDialogOptions"; "required": false; }; "open": { "alias": "tuiDialog"; "required": false; }; }, { "openChange": "tuiDialogChange"; }, never, never, true, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDialog<any>, "ng-template[tuiDialog]", never, { "tuiDialogOptions": { "alias": "tuiDialogOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiDialogOptions"; "open": "tuiDialog"; }; outputs: { "openChange": "tuiDialogChange"; }; }]>;
7
8
  }
@@ -1,4 +1,4 @@
1
- import { type TuiPopoverContext } from '@taiga-ui/cdk/services';
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
2
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
3
  import { type Observable } from 'rxjs';
4
4
  /**
@@ -21,6 +21,5 @@ export interface TuiDialogOptions<I> {
21
21
  readonly required: boolean;
22
22
  readonly size: TuiSizeL | TuiSizeS;
23
23
  }
24
- export interface TuiDialogContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiDialogOptions<I> {
25
- }
24
+ export type TuiDialogContext<O = void, I = undefined> = TuiPortalContext<TuiDialogOptions<I>, O>;
26
25
  export declare const TUI_DIALOG_OPTIONS: import("@angular/core").InjectionToken<TuiDialogOptions<void>>, tuiDialogOptionsProvider: (item: Partial<TuiDialogOptions<void>> | (() => Partial<TuiDialogOptions<void>>)) => import("@angular/core").FactoryProvider;
@@ -1,7 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { BehaviorSubject, Observable } from 'rxjs';
2
+ import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
- export declare const TUI_DIALOGS: InjectionToken<BehaviorSubject<readonly any[]>>;
5
4
  export declare const TUI_DIALOGS_CLOSE: InjectionToken<Observable<unknown>>;
6
5
  export declare class TuiDialogCloseService extends Observable<unknown> {
7
6
  private readonly win;
@@ -1,7 +1,10 @@
1
- import { TuiPopoverService } from '@taiga-ui/cdk/services';
1
+ import { TuiModalService } from '@taiga-ui/core/components/modal';
2
+ import { TuiDialogComponent } from './dialog.component';
2
3
  import { type TuiDialogOptions } from './dialog.options';
3
4
  import * as i0 from "@angular/core";
4
- export declare class TuiDialogService extends TuiPopoverService<TuiDialogOptions<any>> {
5
+ export declare class TuiDialogService extends TuiModalService<TuiDialogOptions<any>> {
6
+ protected readonly options: TuiDialogOptions<void>;
7
+ protected readonly content: typeof TuiDialogComponent;
5
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogService, never>;
6
9
  static ɵprov: i0.ɵɵInjectableDeclaration<TuiDialogService>;
7
10
  }
@@ -4,4 +4,3 @@ export * from './dialog.factory';
4
4
  export * from './dialog.options';
5
5
  export * from './dialog.providers';
6
6
  export * from './dialog.service';
7
- export * from './dialogs.component';
@@ -1,4 +1,3 @@
1
- export * from '@taiga-ui/core/components/alert';
2
1
  export * from '@taiga-ui/core/components/button';
3
2
  export * from '@taiga-ui/core/components/calendar';
4
3
  export * from '@taiga-ui/core/components/cell';
@@ -6,11 +5,11 @@ export * from '@taiga-ui/core/components/data-list';
6
5
  export * from '@taiga-ui/core/components/dialog';
7
6
  export * from '@taiga-ui/core/components/error';
8
7
  export * from '@taiga-ui/core/components/expand';
9
- export * from '@taiga-ui/core/components/header';
10
8
  export * from '@taiga-ui/core/components/icon';
11
9
  export * from '@taiga-ui/core/components/label';
12
10
  export * from '@taiga-ui/core/components/link';
13
11
  export * from '@taiga-ui/core/components/loader';
12
+ export * from '@taiga-ui/core/components/modal';
14
13
  export * from '@taiga-ui/core/components/notification';
15
14
  export * from '@taiga-ui/core/components/root';
16
15
  export * from '@taiga-ui/core/components/scrollbar';
@@ -7,7 +7,7 @@ export declare class TuiLink {
7
7
  * @deprecated: use on host
8
8
  * [style.text-decoration-line]="'underline'"
9
9
  */
10
- pseudo: boolean;
10
+ readonly pseudo: import("@angular/core").InputSignal<boolean>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiLink, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLink, "a[tuiLink], button[tuiLink]", never, { "pseudo": { "alias": "pseudo"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }]>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLink, "a[tuiLink], button[tuiLink]", never, { "pseudo": { "alias": "pseudo"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }]>;
13
13
  }
@@ -1,4 +1,3 @@
1
- import { type FactoryProvider, InjectionToken } from '@angular/core';
2
1
  import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
3
2
  export interface TuiLinkOptions extends TuiAppearanceOptions {
4
3
  /**
@@ -8,5 +7,4 @@ export interface TuiLinkOptions extends TuiAppearanceOptions {
8
7
  readonly pseudo: boolean;
9
8
  }
10
9
  export declare const TUI_LINK_DEFAULT_OPTIONS: TuiLinkOptions;
11
- export declare const TUI_LINK_OPTIONS: InjectionToken<TuiLinkOptions>;
12
- export declare function tuiLinkOptionsProvider(options: Partial<TuiLinkOptions>): FactoryProvider;
10
+ export declare const TUI_LINK_OPTIONS: import("@angular/core").InjectionToken<TuiLinkOptions>, tuiLinkOptionsProvider: (item: Partial<TuiLinkOptions> | (() => Partial<TuiLinkOptions>)) => import("@angular/core").FactoryProvider;
@@ -4,12 +4,12 @@ export declare class TuiLoader {
4
4
  private readonly isIOS;
5
5
  private readonly options;
6
6
  protected readonly isApple: boolean;
7
- size: "m" | "s" | "xs" | "l" | "xl" | "xxl";
8
- inheritColor: boolean;
9
- overlay: boolean;
10
- textContent: PolymorpheusContent;
11
- loading: boolean;
12
- protected get isHorizontal(): boolean;
7
+ protected readonly isHorizontal: import("@angular/core").Signal<boolean>;
8
+ readonly size: import("@angular/core").InputSignal<"m" | "s" | "xs" | "l" | "xl" | "xxl">;
9
+ readonly inheritColor: import("@angular/core").InputSignal<boolean>;
10
+ readonly overlay: import("@angular/core").InputSignal<boolean>;
11
+ readonly textContent: import("@angular/core").InputSignal<PolymorpheusContent>;
12
+ readonly loading: import("@angular/core").InputSignal<boolean>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiLoader, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiLoader, "tui-loader", never, { "size": { "alias": "size"; "required": false; }; "inheritColor": { "alias": "inheritColor"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "textContent": { "alias": "textContent"; "required": false; }; "loading": { "alias": "showLoader"; "required": false; }; }, {}, never, ["*"], true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiLoader, "tui-loader", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "inheritColor": { "alias": "inheritColor"; "required": false; "isSignal": true; }; "overlay": { "alias": "overlay"; "required": false; "isSignal": true; }; "textContent": { "alias": "textContent"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
15
15
  }
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  import { type TuiSizeXS, type TuiSizeXXL } from '@taiga-ui/core/types';
3
2
  export interface TuiLoaderOptions {
4
3
  readonly inheritColor: boolean;
@@ -10,5 +9,4 @@ export declare const TUI_LOADER_DEFAULT_OPTIONS: TuiLoaderOptions;
10
9
  /**
11
10
  * Default parameters for loader component
12
11
  */
13
- export declare const TUI_LOADER_OPTIONS: InjectionToken<TuiLoaderOptions>;
14
- export declare function tuiLoaderOptionsProvider(options: Partial<TuiLoaderOptions>): Provider;
12
+ export declare const TUI_LOADER_OPTIONS: import("@angular/core").InjectionToken<TuiLoaderOptions>, tuiLoaderOptionsProvider: (item: Partial<TuiLoaderOptions> | (() => Partial<TuiLoaderOptions>)) => import("@angular/core").FactoryProvider;
@@ -0,0 +1,2 @@
1
+ export * from './modal.component';
2
+ export * from './modal.service';
@@ -0,0 +1,17 @@
1
+ import { type OnDestroy, type OnInit } from '@angular/core';
2
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
3
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@taiga-ui/cdk/directives/active-zone";
6
+ import * as i2 from "@taiga-ui/cdk/directives/focus-trap";
7
+ import * as i3 from "@taiga-ui/core/components/scrollbar";
8
+ export declare class TuiModalComponent<T> implements OnDestroy, OnInit {
9
+ private readonly current;
10
+ private readonly parent;
11
+ readonly context: TuiPortalContext<T>;
12
+ readonly component: import("@angular/core").WritableSignal<PolymorpheusContent<TuiPortalContext<T>>>;
13
+ ngOnInit(): void;
14
+ ngOnDestroy(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiModalComponent<any>, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiModalComponent<any>, "tui-modal", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiFocusTrap; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiScrollRef; inputs: {}; outputs: {}; }]>;
17
+ }
@@ -0,0 +1,13 @@
1
+ import { type Type } from '@angular/core';
2
+ import { TuiPortal } from '@taiga-ui/cdk/portals';
3
+ import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
4
+ import { TuiModalComponent } from './modal.component';
5
+ import * as i0 from "@angular/core";
6
+ export declare abstract class TuiModalService<T, K = void> extends TuiPortal<T, K> {
7
+ protected abstract readonly content: Type<unknown>;
8
+ protected readonly component: typeof TuiModalComponent;
9
+ constructor();
10
+ protected add(component: PolymorpheusComponent<TuiModalComponent<T>>): () => void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiModalService<any, any>, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiModalService<any, any>>;
13
+ }
@@ -1,2 +1,5 @@
1
+ export * from './notification';
2
+ export * from './notification.component';
1
3
  export * from './notification.directive';
2
4
  export * from './notification.options';
5
+ export * from './notification.service';
@@ -0,0 +1,14 @@
1
+ import { type TuiPortalContext } from '@taiga-ui/cdk/portals';
2
+ import { type TuiNotificationOptions } from './notification.options';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@taiga-ui/cdk/directives/animated";
5
+ import * as i2 from "@taiga-ui/core/directives/alert";
6
+ export declare class TuiNotificationComponent<O, I> {
7
+ private readonly el;
8
+ protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
9
+ protected readonly close: import("@angular/core").Signal<string>;
10
+ protected readonly item: TuiPortalContext<TuiNotificationOptions<I>, O>;
11
+ protected readonly sub: import("rxjs").Subscription;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationComponent<any, any>, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiNotificationComponent<any, any>, "tui-notification-alert", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAlertDirective; inputs: {}; outputs: {}; }]>;
14
+ }
@@ -0,0 +1,3 @@
1
+ import { TuiNotificationDirective } from './notification.directive';
2
+ import { TuiNotificationTemplate } from './notification.service';
3
+ export declare const TuiNotification: readonly [typeof TuiNotificationDirective, typeof TuiNotificationTemplate];
@@ -1,19 +1,14 @@
1
- import { type OnChanges, type OnInit } from '@angular/core';
2
1
  import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- import { TuiIcons } from '@taiga-ui/core/directives/icons';
4
2
  import * as i0 from "@angular/core";
5
3
  import * as i1 from "@taiga-ui/core/directives/icons";
6
4
  import * as i2 from "@taiga-ui/core/directives/appearance";
7
- export declare class TuiNotification implements OnChanges, OnInit {
5
+ export declare class TuiNotificationDirective {
8
6
  private readonly options;
9
7
  protected readonly nothing: undefined;
10
- protected readonly icons: TuiIcons;
11
- appearance: "" | ("info" | "positive" | "negative" | "warning" | "neutral" | "accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "outline-destructive" | "outline-grayscale" | "outline" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | (Record<never, never> & string));
12
- icon: TuiStringHandler<string> | string;
13
- size: "m" | "l" | "s";
14
- ngOnInit(): void;
15
- ngOnChanges(): void;
16
- private refresh;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotification, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotification, "tui-notification,a[tuiNotification],button[tuiNotification]", never, { "appearance": { "alias": "appearance"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
8
+ protected readonly icons: import("@angular/core").Signal<string>;
9
+ readonly appearance: import("@angular/core").InputSignal<"" | ("info" | "positive" | "negative" | "warning" | "neutral" | "accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "outline-destructive" | "outline-grayscale" | "outline" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | (Record<never, never> & string))>;
10
+ readonly size: import("@angular/core").InputSignal<"m" | "l" | "s">;
11
+ readonly icon: import("@angular/core").InputSignal<string | TuiStringHandler<string>>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotificationDirective, "tui-notification,[tuiNotification]:not(ng-template)", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
19
14
  }
@@ -1,13 +1,15 @@
1
- import { type TuiStringHandler } from '@taiga-ui/cdk/types';
1
+ import { type TuiNumberHandler, type TuiStringHandler } from '@taiga-ui/cdk/types';
2
+ import { type TuiPositionOptions } from '@taiga-ui/core/directives/alert';
2
3
  import { type TuiAppearanceOptions } from '@taiga-ui/core/directives/appearance';
3
4
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- export interface TuiNotificationOptions extends TuiAppearanceOptions {
5
+ export interface TuiNotificationOptions<I = undefined> extends TuiAppearanceOptions, TuiPositionOptions {
5
6
  readonly icon: TuiStringHandler<string> | string;
6
7
  readonly size: TuiSizeL | TuiSizeS;
8
+ readonly autoClose: TuiNumberHandler<string> | number;
9
+ readonly closable: boolean;
10
+ readonly label: string;
11
+ readonly data: I;
7
12
  }
8
- /** Default values for the notification options. */
9
13
  export declare const TUI_NOTIFICATION_DEFAULT_OPTIONS: TuiNotificationOptions;
10
- /**
11
- * Default parameters for notification alert component
12
- */
13
- export declare const TUI_NOTIFICATION_OPTIONS: import("@angular/core").InjectionToken<TuiNotificationOptions>, tuiNotificationOptionsProvider: (item: Partial<TuiNotificationOptions> | (() => Partial<TuiNotificationOptions>)) => import("@angular/core").FactoryProvider;
14
+ export declare const TUI_NOTIFICATION_OPTIONS: import("@angular/core").InjectionToken<TuiNotificationOptions<undefined>>, tuiNotificationOptionsProvider: (item: Partial<TuiNotificationOptions<undefined>> | (() => Partial<TuiNotificationOptions<undefined>>)) => import("@angular/core").FactoryProvider;
15
+ export declare const TUI_NOTIFICATION_CONCURRENCY: import("@angular/core").InjectionToken<number>;
@@ -0,0 +1,17 @@
1
+ import { TuiAlertService } from '@taiga-ui/core/directives/alert';
2
+ import { TuiNotificationComponent } from './notification.component';
3
+ import { type TuiNotificationOptions } from './notification.options';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@taiga-ui/cdk/portals";
6
+ export declare class TuiNotificationService extends TuiAlertService<TuiNotificationOptions<any>> {
7
+ protected readonly options: TuiNotificationOptions<undefined>;
8
+ protected readonly component: typeof TuiNotificationComponent;
9
+ constructor();
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiNotificationService>;
12
+ }
13
+ export declare class TuiNotificationTemplate<T> {
14
+ readonly tuiNotificationOptions: import("@angular/core").InputSignal<Partial<TuiNotificationOptions<T>>>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiNotificationTemplate<any>, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNotificationTemplate<any>, "ng-template[tuiNotification]", never, { "tuiNotificationOptions": { "alias": "tuiNotificationOptions"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiPortalDirective; inputs: { "options": "tuiNotificationOptions"; "open": "tuiNotification"; }; outputs: { "openChange": "tuiNotificationChange"; }; }]>;
17
+ }
@@ -9,7 +9,7 @@ export declare class TuiRoot {
9
9
  protected readonly reducedMotion: boolean;
10
10
  protected readonly duration: number;
11
11
  protected readonly top: import("@angular/core").WritableSignal<boolean>;
12
- protected readonly isMobileRes: import("@angular/core").Signal<boolean | undefined>;
12
+ protected readonly breakpoint: import("@angular/core").Signal<"desktopLarge" | "desktopSmall" | "mobile" | null | undefined>;
13
13
  protected readonly scrollbars: boolean;
14
14
  protected get parent(): boolean;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiRoot, never>;
@@ -5,7 +5,8 @@ import * as i0 from "@angular/core";
5
5
  export declare class TuiScrollIntoView {
6
6
  private readonly el;
7
7
  private readonly destroyRef;
8
- set tuiScrollIntoView(scroll: boolean);
8
+ readonly tuiScrollIntoView: import("@angular/core").InputSignal<boolean | undefined>;
9
+ protected readonly dispatchEvent: import("@angular/core").EffectRef;
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollIntoView, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollIntoView, "[tuiScrollIntoView]", never, { "tuiScrollIntoView": { "alias": "tuiScrollIntoView"; "required": false; }; }, {}, never, never, true, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollIntoView, "[tuiScrollIntoView]", never, { "tuiScrollIntoView": { "alias": "tuiScrollIntoView"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
11
12
  }
@@ -17,11 +17,11 @@ export declare class TuiScrollbar {
17
17
  /**
18
18
  * @deprecated: use tuiScrollbarOptionsProvider({ mode: 'hidden' })
19
19
  */
20
- hidden: boolean;
20
+ readonly hidden: import("@angular/core").InputSignal<boolean>;
21
21
  protected get delegated(): boolean;
22
22
  protected get scrollRef(): HTMLElement;
23
23
  protected set scrollRef(element: HTMLElement);
24
24
  protected scrollIntoView(detail: HTMLElement): void;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollbar, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiScrollbar, "tui-scrollbar", never, { "hidden": { "alias": "hidden"; "required": false; }; }, {}, never, ["*"], true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiScrollbar, "tui-scrollbar", never, { "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
27
27
  }
@@ -4,11 +4,11 @@ export declare class TuiScrollbarDirective {
4
4
  private readonly style;
5
5
  protected readonly scrollSub: import("rxjs").Subscription;
6
6
  protected readonly styleSub: import("rxjs").Subscription;
7
- tuiScrollbar: 'horizontal' | 'vertical';
7
+ readonly tuiScrollbar: import("@angular/core").InputSignal<"horizontal" | "vertical">;
8
8
  private getScrolled;
9
9
  private getCompensation;
10
10
  private getThumb;
11
11
  private getView;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollbarDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollbarDirective, "[tuiScrollbar]", never, { "tuiScrollbar": { "alias": "tuiScrollbar"; "required": false; }; }, {}, never, never, true, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiScrollbarDirective, "[tuiScrollbar]", never, { "tuiScrollbar": { "alias": "tuiScrollbar"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
14
14
  }
@@ -1,16 +1,15 @@
1
- import { EventEmitter } from '@angular/core';
2
1
  import * as i0 from "@angular/core";
3
2
  export declare class TuiSpinButton {
4
3
  protected readonly icons: import("@taiga-ui/core/tokens").TuiSpinIcons;
5
4
  protected readonly spinTexts: import("@angular/core").Signal<readonly [previous: string, next: string]>;
6
- focusable: boolean;
7
- disabled: boolean;
8
- leftDisabled: boolean;
9
- rightDisabled: boolean;
10
- readonly leftClick: EventEmitter<void>;
11
- readonly rightClick: EventEmitter<void>;
5
+ readonly focusable: import("@angular/core").InputSignal<boolean>;
6
+ readonly disabled: import("@angular/core").InputSignal<boolean>;
7
+ readonly leftDisabled: import("@angular/core").InputSignal<boolean>;
8
+ readonly rightDisabled: import("@angular/core").InputSignal<boolean>;
9
+ readonly leftClick: import("@angular/core").OutputEmitterRef<void>;
10
+ readonly rightClick: import("@angular/core").OutputEmitterRef<void>;
12
11
  onLeftClick(): void;
13
12
  onRightClick(): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSpinButton, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSpinButton, "tui-spin-button", never, { "focusable": { "alias": "focusable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "leftDisabled": { "alias": "leftDisabled"; "required": false; }; "rightDisabled": { "alias": "rightDisabled"; "required": false; }; }, { "leftClick": "leftClick"; "rightClick": "rightClick"; }, never, ["*"], true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiSpinButton, "tui-spin-button", never, { "focusable": { "alias": "focusable"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "leftDisabled": { "alias": "leftDisabled"; "required": false; "isSignal": true; }; "rightDisabled": { "alias": "rightDisabled"; "required": false; "isSignal": true; }; }, { "leftClick": "leftClick"; "rightClick": "rightClick"; }, never, ["*"], true, never>;
16
15
  }
@@ -14,12 +14,12 @@ export declare class TuiTextfieldMultiComponent<T> extends TuiTextfieldBaseCompo
14
14
  protected readonly component: PolymorpheusContent<TuiContext<TuiTextfieldItem<T>>>;
15
15
  protected readonly sub: import("rxjs").Subscription;
16
16
  readonly item?: TemplateRef<unknown>;
17
- rows: number;
17
+ readonly rows: import("@angular/core").InputSignal<number>;
18
18
  handleOption(option: T): void;
19
19
  protected get placeholder(): string;
20
20
  protected onItems({ target }: ResizeObserverEntry): void;
21
21
  protected onLeft(event: any): void;
22
22
  protected onClick(target: HTMLElement): void;
23
23
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldMultiComponent<any>, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldMultiComponent<any>, "tui-textfield[multi]", never, { "rows": { "alias": "rows"; "required": false; }; }, {}, ["item"], ["label", "input", "select", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldMultiComponent<any>, "tui-textfield[multi]", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, ["item"], ["label", "input", "select", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
25
25
  }
@@ -14,7 +14,6 @@ import * as i3 from "@taiga-ui/core/directives/icons";
14
14
  import * as i4 from "@taiga-ui/core/directives/items-handlers";
15
15
  import * as i5 from "@taiga-ui/core/components/data-list";
16
16
  export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>, AfterContentChecked {
17
- private readonly filler;
18
17
  private readonly autoId;
19
18
  private readonly focusedIn;
20
19
  private readonly contentReady$;
@@ -35,13 +34,13 @@ export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>,
35
34
  readonly control?: NgControl;
36
35
  readonly cva?: TuiControl<unknown>;
37
36
  readonly input?: ElementRef<HTMLInputElement>;
38
- content: PolymorpheusContent<TuiContext<T>>;
37
+ readonly content: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<T>>>;
39
38
  readonly focused: import("@angular/core").Signal<boolean>;
40
39
  readonly options: import("./textfield.options").TuiTextfieldOptions;
41
40
  readonly el: HTMLElement;
42
41
  readonly value: import("@angular/core").WritableSignal<string>;
43
42
  readonly auxiliaries: import("@angular/core").Signal<readonly object[]>;
44
- set fillerSetter(filler: string);
43
+ readonly filler: import("@angular/core").InputSignal<string>;
45
44
  get id(): string;
46
45
  get size(): TuiSizeL | TuiSizeS;
47
46
  ngAfterContentChecked(): void;
@@ -51,7 +50,7 @@ export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>,
51
50
  protected onIconClick(): void;
52
51
  protected onScroll(element: HTMLElement): void;
53
52
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldBaseComponent<any>, never>;
54
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBaseComponent<any>, never, never, { "content": { "alias": "content"; "required": false; }; "fillerSetter": { "alias": "filler"; "required": false; }; }, {}, ["label", "_input", "accessor", "control", "cva", "input", "auxiliaryQuery"], never, true, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBaseComponent<any>, never, never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "filler": { "alias": "filler"; "required": false; "isSignal": true; }; }, {}, ["label", "_input", "accessor", "control", "cva", "input", "auxiliaryQuery"], never, true, never>;
55
54
  }
56
55
  export declare class TuiTextfieldComponent<T> extends TuiTextfieldBaseComponent<T> {
57
56
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldComponent<any>, never>;
@@ -1,4 +1,3 @@
1
- import { type OnChanges } from '@angular/core';
2
1
  import { NgControl } from '@angular/forms';
3
2
  import { type TuiItemsHandlers } from '@taiga-ui/core/directives/items-handlers';
4
3
  import { type TuiInteractiveState } from '@taiga-ui/core/types';
@@ -7,26 +6,24 @@ import { type TuiTextfieldAccessor } from './textfield-accessor';
7
6
  import * as i0 from "@angular/core";
8
7
  import * as i1 from "@taiga-ui/cdk/directives/native-validator";
9
8
  import * as i2 from "@taiga-ui/core/directives/appearance";
10
- export declare class TuiTextfieldBase<T> implements OnChanges, TuiTextfieldAccessor<T> {
11
- private readonly focused;
9
+ export declare class TuiTextfieldBase<T> implements TuiTextfieldAccessor<T> {
12
10
  protected readonly control: NgControl | null;
13
11
  protected readonly a: import("@angular/core").Signal<string>;
14
- protected readonly s: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
15
- protected readonly m: import("@angular/core").WritableSignal<string | readonly string[] | null>;
12
+ protected readonly s: import("@angular/core").Signal<TuiInteractiveState | null>;
13
+ protected readonly m: import("@angular/core").Signal<string | readonly string[] | null>;
16
14
  protected readonly f: import("@angular/core").Signal<boolean | null>;
17
15
  protected readonly el: HTMLInputElement;
18
16
  protected readonly handlers: TuiItemsHandlers<T>;
19
17
  protected readonly textfield: TuiTextfieldComponent<T>;
20
- readOnly: boolean;
21
- invalid: boolean | null;
18
+ readonly readOnly: import("@angular/core").InputSignal<boolean>;
19
+ readonly invalid: import("@angular/core").InputSignal<boolean | null>;
22
20
  readonly value: import("@angular/core").WritableSignal<string>;
23
- set focusedSetter(focused: boolean | null);
24
- set stateSetter(state: TuiInteractiveState | null);
25
- get mode(): string | null;
26
- ngOnChanges(): void;
21
+ readonly focused: import("@angular/core").InputSignal<boolean | null>;
22
+ readonly state: import("@angular/core").InputSignal<TuiInteractiveState | null>;
23
+ readonly mode: import("@angular/core").Signal<string | null>;
27
24
  setValue(value: T | null): void;
28
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldBase<any>, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBase<any>, never, never, { "readOnly": { "alias": "readOnly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "focusedSetter": { "alias": "focused"; "required": false; }; "stateSetter": { "alias": "state"; "required": false; }; }, {}, never, never, true, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldBase<any>, never, never, { "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "focused": { "alias": "focused"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
27
  }
31
28
  export declare class TuiTextfieldDirective<T> extends TuiTextfieldBase<T> {
32
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldDirective<any>, never>;