@taiga-ui/core 4.52.0-canary.6c67ccf → 4.52.0-canary.811ffeb

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 (226) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +1 -1
  3. package/components/button/button.directive.d.ts +2 -2
  4. package/components/button/button.options.d.ts +1 -1
  5. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  6. package/components/cell/cell.directive.d.ts +9 -0
  7. package/components/cell/cell.options.d.ts +6 -0
  8. package/components/cell/index.d.ts +2 -0
  9. package/components/data-list/data-list.component.d.ts +7 -9
  10. package/components/data-list/opt-group.directive.d.ts +2 -2
  11. package/components/data-list/option/option.directive.d.ts +5 -6
  12. package/components/dialog/dialog.component.d.ts +6 -12
  13. package/components/dialog/dialog.directive.d.ts +5 -4
  14. package/components/dialog/dialog.factory.d.ts +1 -1
  15. package/components/dialog/dialog.options.d.ts +25 -0
  16. package/components/dialog/{dialog-close.service.d.ts → dialog.providers.d.ts} +2 -0
  17. package/components/dialog/dialog.service.d.ts +6 -3
  18. package/components/dialog/index.d.ts +2 -4
  19. package/components/error/error.component.d.ts +6 -8
  20. package/components/error/error.d.ts +4 -0
  21. package/components/error/error.directive.d.ts +19 -0
  22. package/components/error/error.pipe.d.ts +10 -0
  23. package/components/error/index.d.ts +3 -0
  24. package/components/expand/expand.component.d.ts +9 -28
  25. package/components/expand/index.d.ts +0 -2
  26. package/components/icon/icon.component.d.ts +1 -1
  27. package/components/index.d.ts +2 -2
  28. package/components/link/link.directive.d.ts +2 -2
  29. package/components/link/link.options.d.ts +1 -3
  30. package/components/loader/loader.component.d.ts +7 -7
  31. package/components/loader/loader.options.d.ts +1 -3
  32. package/components/modal/index.d.ts +2 -0
  33. package/components/modal/modal.component.d.ts +17 -0
  34. package/components/modal/modal.service.d.ts +13 -0
  35. package/components/notification/index.d.ts +3 -0
  36. package/components/notification/notification.component.d.ts +14 -0
  37. package/components/notification/notification.d.ts +3 -0
  38. package/components/notification/notification.directive.d.ts +7 -12
  39. package/components/notification/notification.options.d.ts +10 -7
  40. package/components/notification/notification.service.d.ts +17 -0
  41. package/components/root/root.component.d.ts +4 -6
  42. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  43. package/components/scrollbar/scrollbar.component.d.ts +2 -2
  44. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  45. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  46. package/components/spin-button/spin-button.component.d.ts +8 -9
  47. package/components/textfield/index.d.ts +1 -3
  48. package/components/textfield/textfield-icon.d.ts +3 -3
  49. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  50. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +9 -14
  51. package/components/textfield/textfield.component.d.ts +20 -33
  52. package/components/textfield/textfield.d.ts +2 -3
  53. package/components/textfield/textfield.directive.d.ts +13 -20
  54. package/components/textfield/textfield.options.d.ts +8 -11
  55. package/directives/alert/alert.directive.d.ts +11 -0
  56. package/directives/alert/alert.service.d.ts +12 -0
  57. package/directives/alert/index.d.ts +2 -0
  58. package/directives/appearance/appearance.directive.d.ts +5 -13
  59. package/directives/appearance/appearance.options.d.ts +1 -1
  60. package/directives/date-format/date-format.directive.d.ts +3 -7
  61. package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
  62. package/directives/dropdown/dropdown-hover.options.d.ts +1 -3
  63. package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
  64. package/directives/dropdown/dropdown.d.ts +2 -2
  65. package/directives/dropdown/dropdown.directive.d.ts +1 -2
  66. package/directives/dropdown/index.d.ts +1 -3
  67. package/directives/group/group.options.d.ts +1 -3
  68. package/directives/hint/hint-describe.directive.d.ts +4 -6
  69. package/directives/hint/hint-host.directive.d.ts +2 -2
  70. package/directives/hint/hint-hover.directive.d.ts +3 -4
  71. package/directives/hint/hint-manual.directive.d.ts +2 -2
  72. package/directives/hint/hint-options.directive.d.ts +3 -3
  73. package/directives/hint/hint-overflow.directive.d.ts +2 -2
  74. package/directives/hint/hint-position.directive.d.ts +4 -5
  75. package/directives/hint/hint-unstyled.component.d.ts +2 -7
  76. package/directives/hint/hint.component.d.ts +10 -11
  77. package/directives/hint/hint.directive.d.ts +9 -11
  78. package/directives/hint/index.d.ts +0 -2
  79. package/directives/icons/icons.bindings.d.ts +5 -0
  80. package/directives/icons/icons.directive.d.ts +6 -14
  81. package/directives/icons/index.d.ts +1 -0
  82. package/directives/index.d.ts +1 -1
  83. package/directives/number-format/number-format.directive.d.ts +3 -7
  84. package/directives/popup/popup.directive.d.ts +6 -5
  85. package/directives/popup/popup.service.d.ts +1 -1
  86. package/directives/popup/popups.component.d.ts +2 -2
  87. package/directives/title/title.directive.d.ts +2 -3
  88. package/fesm2022/taiga-ui-core-classes.mjs +2 -2
  89. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-components-button.mjs +11 -18
  91. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-components-calendar.mjs +13 -20
  93. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  95. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  96. package/fesm2022/taiga-ui-core-components-data-list.mjs +45 -78
  97. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-components-dialog.mjs +66 -103
  99. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-components-error.mjs +109 -24
  101. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-core-components-expand.mjs +33 -131
  103. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-core-components-icon.mjs +3 -4
  105. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-core-components-label.mjs +6 -9
  107. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-core-components-link.mjs +14 -23
  109. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-core-components-loader.mjs +14 -32
  111. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-core-components-modal.mjs +89 -0
  113. package/fesm2022/taiga-ui-core-components-modal.mjs.map +1 -0
  114. package/fesm2022/taiga-ui-core-components-notification.mjs +107 -64
  115. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-core-components-root.mjs +18 -49
  117. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +36 -45
  119. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-core-components-spin-button.mjs +14 -27
  121. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-core-components-textfield.mjs +169 -384
  123. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-core-components.mjs +2 -2
  125. package/fesm2022/taiga-ui-core-directives-alert.mjs +73 -0
  126. package/fesm2022/taiga-ui-core-directives-alert.mjs.map +1 -0
  127. package/fesm2022/taiga-ui-core-directives-appearance.mjs +27 -64
  128. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-core-directives-date-format.mjs +24 -18
  130. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +50 -114
  132. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-core-directives-group.mjs +10 -17
  134. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-core-directives-hint.mjs +118 -218
  136. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-core-directives-icons.mjs +30 -40
  138. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +3 -6
  140. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-core-directives-number-format.mjs +30 -18
  142. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-core-directives-popup.mjs +13 -20
  144. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-core-directives-title.mjs +11 -17
  146. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-core-directives.mjs +1 -1
  148. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -1
  149. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -1
  151. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -1
  153. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -1
  155. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -12
  157. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -1
  159. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-core-pipes-month.mjs +2 -2
  161. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -1
  163. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  165. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-core-tokens.mjs +27 -21
  167. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -0
  169. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +50 -4
  171. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  172. package/package.json +23 -24
  173. package/pipes/format-number/format-number.pipe.d.ts +5 -3
  174. package/pipes/index.d.ts +0 -1
  175. package/styles/components/button.less +0 -2
  176. package/styles/components/icons.less +4 -4
  177. package/styles/components/link.less +1 -0
  178. package/styles/mixins/appearance.less +1 -1
  179. package/styles/mixins/mixins.less +0 -6
  180. package/styles/mixins/mixins.scss +0 -6
  181. package/styles/mixins/slider.less +21 -16
  182. package/styles/theme/variables.less +2 -4
  183. package/tokens/common-icons.d.ts +1 -3
  184. package/tokens/date-format.d.ts +2 -3
  185. package/tokens/i18n.d.ts +7 -7
  186. package/tokens/icon-resolver.d.ts +0 -4
  187. package/tokens/index.d.ts +1 -0
  188. package/tokens/number-format.d.ts +2 -3
  189. package/tokens/validation-errors.d.ts +4 -0
  190. package/types/index.d.ts +0 -1
  191. package/utils/miscellaneous/index.d.ts +1 -0
  192. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  193. package/components/alert/alert.component.d.ts +0 -15
  194. package/components/alert/alert.directive.d.ts +0 -7
  195. package/components/alert/alert.interfaces.d.ts +0 -12
  196. package/components/alert/alert.service.d.ts +0 -7
  197. package/components/alert/alert.tokens.d.ts +0 -12
  198. package/components/alert/alerts.component.d.ts +0 -12
  199. package/components/alert/index.d.ts +0 -6
  200. package/components/dialog/dialog.interfaces.d.ts +0 -34
  201. package/components/dialog/dialog.tokens.d.ts +0 -15
  202. package/components/dialog/dialogs.component.d.ts +0 -8
  203. package/components/expand/expand-content.directive.d.ts +0 -8
  204. package/components/expand/expand.d.ts +0 -6
  205. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  206. package/components/fullscreen/index.d.ts +0 -1
  207. package/components/textfield/select.directive.d.ts +0 -19
  208. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  209. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  210. package/directives/dropdown/dropdown.service.d.ts +0 -6
  211. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  212. package/directives/hint/hint.service.d.ts +0 -13
  213. package/directives/hint/hints.component.d.ts +0 -12
  214. package/directives/surface/index.d.ts +0 -1
  215. package/directives/surface/surface.directive.d.ts +0 -8
  216. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
  217. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  218. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -66
  219. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  220. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  221. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  222. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  223. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  224. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  225. package/pipes/fallback-src/index.d.ts +0 -1
  226. package/types/portal-item.d.ts +0 -9
@@ -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
+ }
@@ -5,15 +5,13 @@ import * as i3 from "@taiga-ui/cdk/directives/font-size";
5
5
  export declare class TuiRoot {
6
6
  private readonly doc;
7
7
  private readonly el;
8
+ private readonly child;
8
9
  protected readonly reducedMotion: boolean;
9
10
  protected readonly duration: number;
10
- protected readonly isChildRoot: boolean;
11
11
  protected readonly top: import("@angular/core").WritableSignal<boolean>;
12
- protected readonly isMobileRes: import("@angular/core").Signal<boolean>;
13
- protected readonly nativeScrollbar: boolean;
12
+ protected readonly breakpoint: import("@angular/core").Signal<"desktopLarge" | "desktopSmall" | "mobile" | null | undefined>;
14
13
  protected readonly scrollbars: boolean;
15
- constructor();
16
- protected get isTopLayer(): boolean;
14
+ protected get parent(): boolean;
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiRoot, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiRoot, "tui-root", never, {}, {}, never, ["*", "tuiOverContent", "tuiOverDialogs", "tuiOverAlerts", "tuiOverDropdowns", "tuiOverHints"], true, [{ directive: typeof i1.TuiPlatform; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiVisualViewport; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiFontSize; inputs: {}; outputs: {}; }]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiRoot, "tui-root", never, {}, {}, never, ["*", "tuiOverContent"], true, [{ directive: typeof i1.TuiPlatform; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiVisualViewport; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiFontSize; inputs: {}; outputs: {}; }]>;
19
17
  }
@@ -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
  }
@@ -2,4 +2,4 @@ export interface TuiScrollbarOptions {
2
2
  mode: 'always' | 'hidden' | 'hover' | 'native';
3
3
  }
4
4
  export declare const TUI_DEFAULT_SCROLLBAR_OPTIONS: TuiScrollbarOptions;
5
- export declare const TUI_SCROLLBAR_OPTIONS: import("@angular/core").InjectionToken<TuiScrollbarOptions>, tuiScrollbarOptionsProvider: (item: Partial<TuiScrollbarOptions> | import("@angular/core").ProviderToken<Partial<TuiScrollbarOptions>> | (() => Partial<TuiScrollbarOptions>)) => import("@angular/core").FactoryProvider;
5
+ export declare const TUI_SCROLLBAR_OPTIONS: import("@angular/core").InjectionToken<TuiScrollbarOptions>, tuiScrollbarOptionsProvider: (item: Partial<TuiScrollbarOptions> | (() => Partial<TuiScrollbarOptions>)) => import("@angular/core").FactoryProvider;
@@ -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
- protected readonly spinTexts$: import("rxjs").Observable<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>;
4
+ protected readonly spinTexts: import("@angular/core").Signal<readonly [previous: string, next: string]>;
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
  }
@@ -6,9 +6,7 @@ export * from './textfield.options';
6
6
  export * from './textfield-accessor';
7
7
  export * from './textfield-auxiliary';
8
8
  export * from './textfield-content.directive';
9
- export * from './textfield-dropdown.directive';
10
9
  export * from './textfield-icon';
11
- export * from './with-native-picker.directive';
12
- export * from './select.directive';
13
10
  export * from './textfield-multi/textfield-item.component';
14
11
  export * from './textfield-multi/textfield-multi.component';
12
+ export * from './with-native-picker.directive';
@@ -1,6 +1,6 @@
1
1
  import { type ProviderToken, type Signal } from '@angular/core';
2
- import { type TuiHandler } from '@taiga-ui/cdk/types';
2
+ import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
3
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- export declare function tuiTextfieldIconBinding(token: ProviderToken<{
5
- icon: TuiHandler<TuiSizeL | TuiSizeS, string>;
4
+ export declare function tuiTextfieldIcon(token: ProviderToken<{
5
+ icon: TuiStringHandler<TuiSizeL | TuiSizeS>;
6
6
  }>): Signal<string>;
@@ -10,8 +10,9 @@ export declare class TuiTextfieldItemComponent<T> {
10
10
  protected readonly el: HTMLElement;
11
11
  protected readonly handlers: import("@taiga-ui/core/directives/items-handlers").TuiItemsHandlers<unknown>;
12
12
  protected readonly context: TuiContext<TuiTextfieldItem<T>>;
13
- protected readonly textfield: TuiTextfieldMultiComponent<T>;
14
- protected get content(): PolymorpheusContent<TuiContext<TuiTextfieldItem<T>>>;
13
+ protected readonly textfield: TuiTextfieldMultiComponent<any>;
14
+ protected readonly content: import("@angular/core").Signal<string | import("@angular/core").TemplateRef<any>>;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldItemComponent<any>, never>;
16
16
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldItemComponent<any>, "tui-textfield-item", never, {}, {}, never, never, true, never>;
17
17
  }
18
+ export declare const TUI_TEXTFIELD_ITEM: PolymorpheusContent<TuiContext<TuiTextfieldItem<any>>>;
@@ -1,26 +1,21 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import { TuiTextfieldBaseComponent } from '../textfield.component';
5
- import { type TuiTextfieldItem } from './textfield-item.component';
2
+ import { TuiControl } from '@taiga-ui/cdk/classes';
3
+ import { TuiTextfieldComponent } from '../textfield.component';
6
4
  import * as i0 from "@angular/core";
7
- import * as i1 from "@taiga-ui/core/directives/dropdown";
8
- import * as i2 from "../textfield-dropdown.directive";
9
- import * as i3 from "@taiga-ui/core/directives/icons";
10
- import * as i4 from "@taiga-ui/core/directives";
11
- import * as i5 from "@taiga-ui/core/components/data-list";
12
- export declare class TuiTextfieldMultiComponent<T> extends TuiTextfieldBaseComponent<T> {
5
+ import * as i1 from "@taiga-ui/core/directives";
6
+ export declare class TuiTextfieldMultiComponent<T> extends TuiTextfieldComponent<T> {
13
7
  protected readonly height: import("@angular/core").WritableSignal<number | null>;
14
8
  protected readonly handlers: import("@taiga-ui/core/directives").TuiItemsHandlers<unknown>;
15
- protected readonly component: PolymorpheusContent<TuiContext<TuiTextfieldItem<T>>>;
9
+ protected readonly component: import("@taiga-ui/polymorpheus").PolymorpheusContent<import("@taiga-ui/cdk/types").TuiContext<import("./textfield-item.component").TuiTextfieldItem<any>>>;
16
10
  protected readonly sub: import("rxjs").Subscription;
17
- readonly item?: TemplateRef<unknown>;
18
- rows: number;
11
+ readonly cva: import("@angular/core").Signal<TuiControl<any> | undefined>;
12
+ readonly item: import("@angular/core").Signal<TemplateRef<any> | undefined>;
13
+ readonly rows: import("@angular/core").InputSignal<number>;
19
14
  handleOption(option: T): void;
20
15
  protected get placeholder(): string;
21
16
  protected onItems({ target }: ResizeObserverEntry): void;
22
17
  protected onLeft(event: any): void;
23
18
  protected onClick(target: HTMLElement): void;
24
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldMultiComponent<any>, never>;
25
- 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.TuiWithTextfieldDropdown; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i5.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldMultiComponent<any>, "tui-textfield[multi]", never, { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; }, {}, ["cva", "item"], ["label", "input", "select", "*", "tui-icon"], true, [{ directive: typeof i1.TuiWithAppearance; inputs: {}; outputs: {}; }]>;
26
21
  }
@@ -1,6 +1,5 @@
1
- import { type AfterContentChecked, ElementRef, type QueryList, ViewContainerRef } from '@angular/core';
1
+ import { ElementRef, type Signal, ViewContainerRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
- import { TuiControl } from '@taiga-ui/cdk/classes';
4
3
  import { type TuiContext } from '@taiga-ui/cdk/types';
5
4
  import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
6
5
  import { TuiDropdownDirective, TuiDropdownOpen } from '@taiga-ui/core/directives/dropdown';
@@ -9,52 +8,40 @@ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
9
8
  import { type TuiTextfieldAccessor } from './textfield-accessor';
10
9
  import * as i0 from "@angular/core";
11
10
  import * as i1 from "@taiga-ui/core/directives/dropdown";
12
- import * as i2 from "@taiga-ui/cdk/directives/transitioned";
13
- import * as i3 from "@taiga-ui/core/directives/icons";
14
- import * as i4 from "@taiga-ui/core/directives/items-handlers";
15
- import * as i5 from "@taiga-ui/core/components/data-list";
16
- import * as i6 from "./textfield-dropdown.directive";
17
- export declare class TuiTextfieldBaseComponent<T> implements TuiDataListHost<T>, AfterContentChecked {
18
- private readonly filler;
11
+ import * as i2 from "@taiga-ui/core/directives/icons";
12
+ import * as i3 from "@taiga-ui/core/directives/items-handlers";
13
+ import * as i4 from "@taiga-ui/core/components/data-list";
14
+ export declare class TuiTextfieldComponent<T> implements TuiDataListHost<T> {
19
15
  private readonly autoId;
20
16
  private readonly focusedIn;
21
- private readonly contentReady$;
22
- private readonly inputQuery;
23
- protected readonly ghost?: ElementRef<HTMLElement>;
24
- protected readonly label?: ElementRef<HTMLElement>;
25
- protected readonly auxiliaryQuery: QueryList<object>;
26
- protected readonly _input?: ElementRef<HTMLInputElement>;
17
+ protected readonly ghost: Signal<ElementRef<HTMLElement> | undefined>;
27
18
  protected readonly open: import("@angular/core").WritableSignal<boolean>;
28
19
  protected readonly dropdown: TuiDropdownDirective;
29
20
  protected readonly dropdownOpen: TuiDropdownOpen;
30
21
  protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
31
- protected readonly clear: import("@angular/core").Signal<string | undefined>;
32
- protected readonly computedFiller: import("@angular/core").Signal<string>;
33
- protected readonly showFiller: import("@angular/core").Signal<boolean>;
34
- readonly vcr?: ViewContainerRef;
35
- readonly accessor?: TuiTextfieldAccessor<T>;
36
- readonly control?: NgControl;
37
- readonly cva?: TuiControl<unknown>;
38
- readonly input?: ElementRef<HTMLInputElement>;
39
- content: PolymorpheusContent<TuiContext<T>>;
40
- readonly focused: import("@angular/core").Signal<boolean>;
22
+ protected readonly clear: Signal<string>;
23
+ protected readonly label: Signal<ElementRef<any> | undefined>;
24
+ protected readonly computedFiller: Signal<string>;
25
+ protected readonly showFiller: Signal<boolean>;
26
+ protected readonly accessor: Signal<TuiTextfieldAccessor<T> | undefined>;
27
+ readonly vcr: Signal<ViewContainerRef | undefined>;
28
+ readonly control: Signal<NgControl | undefined>;
29
+ readonly auxiliaries: Signal<readonly null[]>;
30
+ readonly focused: Signal<boolean>;
41
31
  readonly options: import("./textfield.options").TuiTextfieldOptions;
42
32
  readonly el: HTMLElement;
33
+ readonly input: Signal<ElementRef<HTMLInputElement> | undefined>;
34
+ readonly content: import("@angular/core").InputSignal<PolymorpheusContent<TuiContext<T>>>;
35
+ readonly filler: import("@angular/core").InputSignal<string>;
43
36
  readonly value: import("@angular/core").WritableSignal<string>;
44
- readonly auxiliaries: import("@angular/core").Signal<readonly object[]>;
45
- set fillerSetter(filler: string);
37
+ constructor();
46
38
  get id(): string;
47
39
  get size(): TuiSizeL | TuiSizeS;
48
- ngAfterContentChecked(): void;
49
40
  handleOption(option: T): void;
50
41
  protected get hasLabel(): boolean;
51
42
  protected onResize({ contentRect }: ResizeObserverEntry): void;
52
43
  protected onIconClick(): void;
53
44
  protected onScroll(element: HTMLElement): void;
54
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldBaseComponent<any>, never>;
55
- 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>;
56
- }
57
- export declare class TuiTextfieldComponent<T> extends TuiTextfieldBaseComponent<T> {
58
45
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldComponent<any>, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent<any>, "tui-textfield:not([multi])", never, {}, {}, never, ["input", "select", "textarea", "label", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiTransitioned; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiWithDropdownOpen; inputs: {}; outputs: {}; }, { directive: typeof i3.TuiWithIcons; inputs: {}; outputs: {}; }, { directive: typeof i4.TuiWithItemsHandlers; inputs: {}; outputs: {}; }, { directive: typeof i5.TuiWithOptionContent; inputs: {}; outputs: {}; }, { directive: typeof i6.TuiWithTextfieldDropdown; inputs: {}; outputs: {}; }]>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent<any>, "tui-textfield:not([multi])", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "filler": { "alias": "filler"; "required": false; "isSignal": true; }; }, {}, ["label", "accessor", "control", "auxiliaries", "input"], ["input", "select", "textarea", "label", "*", "tui-icon"], true, [{ directive: typeof i1.TuiDropdownDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.TuiDropdownFixed; 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: {}; }]>;
60
47
  }
@@ -1,9 +1,8 @@
1
1
  import { TuiItem } from '@taiga-ui/cdk/directives/item';
2
2
  import { TuiLabel } from '@taiga-ui/core/components/label';
3
- import { TuiSelect } from './select.directive';
3
+ import { TuiDropdownContent } from '@taiga-ui/core/directives/dropdown';
4
4
  import { TuiTextfieldComponent } from './textfield.component';
5
5
  import { TuiTextfieldDirective } from './textfield.directive';
6
6
  import { TuiTextfieldOptionsDirective } from './textfield.options';
7
- import { TuiTextfieldDropdownDirective } from './textfield-dropdown.directive';
8
7
  import { TuiTextfieldMultiComponent } from './textfield-multi/textfield-multi.component';
9
- export declare const TuiTextfield: readonly [typeof TuiItem, typeof TuiLabel, typeof TuiSelect, typeof TuiTextfieldComponent, typeof TuiTextfieldDirective, typeof TuiTextfieldOptionsDirective, typeof TuiTextfieldDropdownDirective, typeof TuiTextfieldMultiComponent];
8
+ export declare const TuiTextfield: readonly [typeof TuiItem, typeof TuiLabel, typeof TuiTextfieldComponent, typeof TuiTextfieldDirective, typeof TuiTextfieldOptionsDirective, typeof TuiTextfieldMultiComponent, typeof TuiDropdownContent];
@@ -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,30 +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;
12
- protected readonly control: NgControl | null;
13
- protected readonly a: import("@angular/core").WritableSignal<string>;
14
- protected readonly s: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
15
- protected readonly m: import("@angular/core").WritableSignal<string | readonly string[] | null>;
16
- protected readonly f: import("@angular/core").Signal<boolean | null>;
9
+ export declare class TuiTextfieldDirective<T> implements TuiTextfieldAccessor<T> {
17
10
  protected readonly el: HTMLInputElement;
11
+ protected readonly control: NgControl | null;
18
12
  protected readonly handlers: TuiItemsHandlers<T>;
19
- protected readonly textfield: TuiTextfieldComponent<T>;
20
- readOnly: boolean;
21
- invalid: boolean | null;
13
+ protected readonly textfield: TuiTextfieldComponent<any>;
14
+ protected readonly a: import("@angular/core").Signal<string>;
15
+ protected readonly s: import("@angular/core").Signal<TuiInteractiveState | null>;
16
+ protected readonly m: import("@angular/core").Signal<string | readonly string[] | null>;
17
+ protected readonly f: import("@angular/core").Signal<boolean | null>;
18
+ readonly readOnly: import("@angular/core").InputSignal<boolean>;
19
+ readonly invalid: import("@angular/core").InputSignal<boolean | null>;
20
+ readonly focused: import("@angular/core").InputSignal<boolean | null>;
21
+ readonly state: import("@angular/core").InputSignal<TuiInteractiveState | null>;
22
22
  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;
23
+ readonly mode: import("@angular/core").Signal<string | null>;
27
24
  setValue(value: T | null): void;
28
- 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>;
30
- }
31
- export declare class TuiTextfieldDirective<T> extends TuiTextfieldBase<T> {
32
25
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldDirective<any>, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldDirective<any>, "input[tuiTextfield]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiNativeValidator; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAppearance; inputs: {}; outputs: {}; }]>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldDirective<any>, "input[tuiTextfield]", 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, [{ directive: typeof i1.TuiNativeValidator; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAppearance; inputs: {}; outputs: {}; }]>;
34
27
  }
35
28
  export declare class TuiWithTextfield {
36
29
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithTextfield, never>;
@@ -1,21 +1,18 @@
1
- import { InjectionToken, type Provider, type WritableSignal } from '@angular/core';
1
+ import { InjectionToken, type Provider, type Signal } from '@angular/core';
2
2
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface TuiTextfieldOptions {
5
- readonly appearance: WritableSignal<string>;
6
- readonly size: WritableSignal<TuiSizeL | TuiSizeS>;
7
- readonly cleaner: WritableSignal<boolean>;
5
+ readonly appearance: Signal<string>;
6
+ readonly size: Signal<TuiSizeL | TuiSizeS>;
7
+ readonly cleaner: Signal<boolean>;
8
8
  }
9
9
  export declare const TUI_TEXTFIELD_OPTIONS: InjectionToken<TuiTextfieldOptions>;
10
10
  export declare function tuiTextfieldOptionsProvider(options: Partial<TuiTextfieldOptions>): Provider;
11
11
  export declare class TuiTextfieldOptionsDirective implements TuiTextfieldOptions {
12
12
  private readonly options;
13
- appearance: WritableSignal<string>;
14
- size: WritableSignal<"l" | "m" | "s">;
15
- cleaner: WritableSignal<boolean>;
16
- set tuiTextfieldAppearance(appearance: string);
17
- set tuiTextfieldSize(size: TuiSizeL | TuiSizeS);
18
- set tuiTextfieldCleaner(enabled: boolean);
13
+ readonly appearance: import("@angular/core").InputSignal<string>;
14
+ readonly size: import("@angular/core").InputSignalWithTransform<"l" | "m" | "s", "" | "l" | "m" | "s">;
15
+ readonly cleaner: import("@angular/core").InputSignal<boolean>;
19
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldOptionsDirective, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldOptionsDirective, "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", never, { "tuiTextfieldAppearance": { "alias": "tuiTextfieldAppearance"; "required": false; }; "tuiTextfieldSize": { "alias": "tuiTextfieldSize"; "required": false; }; "tuiTextfieldCleaner": { "alias": "tuiTextfieldCleaner"; "required": false; }; }, {}, never, never, true, never>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiTextfieldOptionsDirective, "[tuiTextfieldAppearance],[tuiTextfieldSize],[tuiTextfieldCleaner]", never, { "appearance": { "alias": "tuiTextfieldAppearance"; "required": false; "isSignal": true; }; "size": { "alias": "tuiTextfieldSize"; "required": false; "isSignal": true; }; "cleaner": { "alias": "tuiTextfieldCleaner"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
18
  }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface TuiPositionOptions {
3
+ readonly block: 'end' | 'start';
4
+ readonly inline: 'center' | 'end' | 'start';
5
+ }
6
+ export declare class TuiAlertDirective {
7
+ protected readonly nothing: undefined;
8
+ protected readonly context: TuiPositionOptions;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAlertDirective, never, never, {}, {}, never, never, true, never>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { TuiPortal } from '@taiga-ui/cdk/portals';
2
+ import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class TuiAlertService<T, K = void> extends TuiPortal<T, K> {
5
+ private readonly concurrency;
6
+ private readonly current;
7
+ private readonly queue;
8
+ constructor(concurrency: number);
9
+ protected add(component: PolymorpheusComponent<unknown>): () => void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiAlertService<any, any>, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiAlertService<any, any>>;
12
+ }
@@ -0,0 +1,2 @@
1
+ export * from './alert.directive';
2
+ export * from './alert.service';
@@ -1,21 +1,13 @@
1
1
  import { type TuiInteractiveState } from '@taiga-ui/core/types';
2
- import { type TuiAppearanceOptions } from './appearance.options';
3
2
  import * as i0 from "@angular/core";
4
3
  import * as i1 from "@taiga-ui/cdk/directives/transitioned";
5
4
  export declare class TuiAppearance {
6
- private readonly cdr;
7
- private readonly el;
8
5
  protected readonly nothing: undefined;
9
6
  protected readonly modes: import("@angular/core").Signal<string | null>;
10
- readonly appearance: import("@angular/core").WritableSignal<"accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string)>;
11
- readonly state: import("@angular/core").WritableSignal<TuiInteractiveState | null>;
12
- readonly focus: import("@angular/core").WritableSignal<boolean | null>;
13
- readonly mode: import("@angular/core").WritableSignal<string | readonly string[] | null>;
14
- readonly update: import("@angular/core").EffectRef;
15
- set tuiAppearance(appearance: TuiAppearanceOptions['appearance']);
16
- set tuiAppearanceState(state: TuiInteractiveState | null);
17
- set tuiAppearanceFocus(focus: boolean | null);
18
- set tuiAppearanceMode(mode: string | readonly string[] | null);
7
+ readonly tuiAppearance: import("@angular/core").InputSignal<"" | ("accent" | "action-destructive" | "action-grayscale" | "action" | "flat-destructive" | "flat-grayscale" | "flat" | "floating" | "glass" | "icon" | "info" | "negative" | "neutral" | "outline-destructive" | "outline-grayscale" | "outline" | "positive" | "primary-destructive" | "primary-grayscale" | "primary" | "secondary-destructive" | "secondary-grayscale" | "secondary" | "textfield" | "warning" | (Record<never, never> & string))>;
8
+ readonly tuiAppearanceState: import("@angular/core").InputSignal<TuiInteractiveState | null>;
9
+ readonly tuiAppearanceFocus: import("@angular/core").InputSignal<boolean | null>;
10
+ readonly tuiAppearanceMode: import("@angular/core").InputSignal<string | readonly string[] | null>;
19
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiAppearance, never>;
20
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppearance, "[tuiAppearance]", never, { "tuiAppearance": { "alias": "tuiAppearance"; "required": false; }; "tuiAppearanceState": { "alias": "tuiAppearanceState"; "required": false; }; "tuiAppearanceFocus": { "alias": "tuiAppearanceFocus"; "required": false; }; "tuiAppearanceMode": { "alias": "tuiAppearanceMode"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.TuiTransitioned; inputs: {}; outputs: {}; }]>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAppearance, "[tuiAppearance]", never, { "tuiAppearance": { "alias": "tuiAppearance"; "required": false; "isSignal": true; }; "tuiAppearanceState": { "alias": "tuiAppearanceState"; "required": false; "isSignal": true; }; "tuiAppearanceFocus": { "alias": "tuiAppearanceFocus"; "required": false; "isSignal": true; }; "tuiAppearanceMode": { "alias": "tuiAppearanceMode"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiTransitioned; inputs: {}; outputs: {}; }]>;
21
13
  }
@@ -5,7 +5,7 @@ import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
5
5
  */
6
6
  type Appearance = TuiLooseUnion<'accent' | 'action-destructive' | 'action-grayscale' | 'action' | 'flat-destructive' | 'flat-grayscale' | 'flat' | 'floating' | 'glass' | 'icon' | 'info' | 'negative' | 'neutral' | 'outline-destructive' | 'outline-grayscale' | 'outline' | 'positive' | 'primary-destructive' | 'primary-grayscale' | 'primary' | 'secondary-destructive' | 'secondary-grayscale' | 'secondary' | 'textfield' | 'warning'>;
7
7
  export interface TuiAppearanceOptions {
8
- readonly appearance: Appearance;
8
+ readonly appearance: Appearance | '';
9
9
  }
10
10
  export declare const TUI_APPEARANCE_DEFAULT_OPTIONS: TuiAppearanceOptions;
11
11
  export declare const TUI_APPEARANCE_OPTIONS: InjectionToken<TuiAppearanceOptions>;
@@ -1,11 +1,7 @@
1
1
  import { type TuiDateFormatSettings } from '@taiga-ui/core/tokens';
2
- import { Observable } from 'rxjs';
3
2
  import * as i0 from "@angular/core";
4
- export declare class TuiDateFormat extends Observable<TuiDateFormatSettings> {
5
- private readonly settings;
6
- private readonly parent;
7
- constructor();
8
- set tuiDateFormat(format: Partial<TuiDateFormatSettings>);
3
+ export declare class TuiDateFormat {
4
+ readonly tuiDateFormat: import("@angular/core").InputSignal<Partial<TuiDateFormatSettings>>;
9
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiDateFormat, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDateFormat, "[tuiDateFormat]", never, { "tuiDateFormat": { "alias": "tuiDateFormat"; "required": false; }; }, {}, never, never, true, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDateFormat, "[tuiDateFormat]", never, { "tuiDateFormat": { "alias": "tuiDateFormat"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
11
7
  }
@@ -0,0 +1,9 @@
1
+ import { type OnDestroy } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TuiDropdownContent implements OnDestroy {
4
+ private readonly directive;
5
+ constructor();
6
+ ngOnDestroy(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownContent, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDropdownContent, "ng-template[tuiDropdown]", never, {}, {}, never, never, true, never>;
9
+ }
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  export interface TuiDropdownHoverOptions {
3
2
  readonly hideDelay: number;
4
3
  readonly showDelay: number;
@@ -8,5 +7,4 @@ export declare const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS: TuiDropdownHoverOptions
8
7
  /**
9
8
  * Default parameters for dropdown hover directive
10
9
  */
11
- export declare const TUI_DROPDOWN_HOVER_OPTIONS: InjectionToken<TuiDropdownHoverOptions>;
12
- export declare function tuiDropdownHoverOptionsProvider(options: Partial<TuiDropdownHoverOptions>): Provider;
10
+ export declare const TUI_DROPDOWN_HOVER_OPTIONS: import("@angular/core").InjectionToken<TuiDropdownHoverOptions>, tuiDropdownHoverOptionsProvider: (item: Partial<TuiDropdownHoverOptions> | (() => Partial<TuiDropdownHoverOptions>)) => import("@angular/core").FactoryProvider;
@@ -10,7 +10,7 @@ export declare class TuiDropdownPosition extends TuiPositionAccessor {
10
10
  private previous?;
11
11
  readonly directionChange: EventEmitter<TuiVerticalDirection>;
12
12
  readonly type = "dropdown";
13
- readonly accessor: TuiRectAccessor | null;
13
+ readonly accessor: TuiRectAccessor;
14
14
  emitDirection(direction: TuiVerticalDirection): void;
15
15
  getPosition({ width, height }: DOMRect): TuiPoint;
16
16
  getAlign(align: TuiDropdownAlign): TuiDropdownAlign;
@@ -1,14 +1,14 @@
1
1
  import { TuiDropdownComponent } from './dropdown.component';
2
2
  import { TuiDropdownDirective } from './dropdown.directive';
3
3
  import { TuiDropdownDriverDirective } from './dropdown.driver';
4
+ import { TuiDropdownContent } from './dropdown-content.directive';
4
5
  import { TuiDropdownContext } from './dropdown-context.directive';
5
6
  import { TuiDropdownHover } from './dropdown-hover.directive';
6
7
  import { TuiDropdownManual } from './dropdown-manual.directive';
7
8
  import { TuiDropdownOpen } from './dropdown-open.directive';
8
9
  import { TuiDropdownOpenLegacy } from './dropdown-open-legacy.directive';
9
10
  import { TuiDropdownOptionsDirective } from './dropdown-options.directive';
10
- import { TuiDropdownPortal } from './dropdown-portal.directive';
11
11
  import { TuiDropdownPosition } from './dropdown-position.directive';
12
12
  import { TuiDropdownPositionSided } from './dropdown-position-sided.directive';
13
13
  import { TuiDropdownSelection } from './dropdown-selection.directive';
14
- export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownOpenLegacy, typeof TuiDropdownPortal, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
14
+ export declare const TuiDropdown: readonly [typeof TuiDropdownOptionsDirective, typeof TuiDropdownDriverDirective, typeof TuiDropdownDirective, typeof TuiDropdownComponent, typeof TuiDropdownOpen, typeof TuiDropdownOpenLegacy, typeof TuiDropdownManual, typeof TuiDropdownHover, typeof TuiDropdownContent, typeof TuiDropdownContext, typeof TuiDropdownPosition, typeof TuiDropdownPositionSided, typeof TuiDropdownSelection];
@@ -1,12 +1,11 @@
1
1
  import { type AfterViewChecked, type ComponentRef, type OnDestroy } from '@angular/core';
2
2
  import { type TuiContext } from '@taiga-ui/cdk/types';
3
3
  import { type TuiRectAccessor, type TuiVehicle } from '@taiga-ui/core/classes';
4
- import { type TuiPortalItem } from '@taiga-ui/core/types';
5
4
  import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
5
  import * as i0 from "@angular/core";
7
6
  import * as i1 from "./dropdown.driver";
8
7
  import * as i2 from "./dropdown-position.directive";
9
- export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy, TuiPortalItem, TuiRectAccessor, TuiVehicle {
8
+ export declare class TuiDropdownDirective implements AfterViewChecked, OnDestroy, TuiRectAccessor, TuiVehicle {
10
9
  private readonly refresh$;
11
10
  private readonly service;
12
11
  private readonly cdr;
@@ -4,7 +4,7 @@ export * from './dropdown.component';
4
4
  export * from './dropdown.directive';
5
5
  export * from './dropdown.driver';
6
6
  export * from './dropdown.providers';
7
- export * from './dropdown.service';
7
+ export * from './dropdown-content.directive';
8
8
  export * from './dropdown-context.directive';
9
9
  export * from './dropdown-hover.directive';
10
10
  export * from './dropdown-hover.options';
@@ -13,9 +13,7 @@ export * from './dropdown-manual.directive';
13
13
  export * from './dropdown-open.directive';
14
14
  export * from './dropdown-open-legacy.directive';
15
15
  export * from './dropdown-options.directive';
16
- export * from './dropdown-portal.directive';
17
16
  export * from './dropdown-position.directive';
18
17
  export * from './dropdown-position-sided.directive';
19
18
  export * from './dropdown-selection.directive';
20
- export * from './dropdowns.component';
21
19
  export * from './with-dropdown-open.directive';
@@ -1,4 +1,3 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
1
  import { type TuiOrientation, type TuiSizeL } from '@taiga-ui/core/types';
3
2
  export interface TuiGroupOptions {
4
3
  readonly size: TuiSizeL;
@@ -7,5 +6,4 @@ export interface TuiGroupOptions {
7
6
  readonly orientation: TuiOrientation;
8
7
  }
9
8
  export declare const TUI_GROUP_DEFAULT_OPTIONS: TuiGroupOptions;
10
- export declare const TUI_GROUP_OPTIONS: InjectionToken<TuiGroupOptions>;
11
- export declare function tuiGroupOptionsProvider(options: Partial<TuiGroupOptions>): Provider;
9
+ export declare const TUI_GROUP_OPTIONS: import("@angular/core").InjectionToken<TuiGroupOptions>, tuiGroupOptionsProvider: (item: Partial<TuiGroupOptions> | (() => Partial<TuiGroupOptions>)) => import("@angular/core").FactoryProvider;
@@ -3,14 +3,12 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiHintDescribe extends TuiDriver {
4
4
  private readonly doc;
5
5
  private readonly el;
6
- private readonly zone;
7
- private readonly id$;
8
- private readonly stream$;
6
+ protected readonly element: import("@angular/core").Signal<Element>;
7
+ readonly id: import("@angular/core").InputSignal<string | null | undefined>;
9
8
  readonly type = "hint";
9
+ protected readonly stream$: import("rxjs").Observable<boolean>;
10
10
  constructor();
11
- set tuiHintDescribe(id: string | null | undefined);
12
- private get element();
13
11
  private get focused();
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintDescribe, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDescribe, "[tuiHintDescribe]", never, { "tuiHintDescribe": { "alias": "tuiHintDescribe"; "required": false; }; }, {}, never, never, true, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintDescribe, "[tuiHintDescribe]", never, { "id": { "alias": "tuiHintDescribe"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
14
  }