@taiga-ui/legacy 4.52.0-canary.38dfc57 → 4.52.0-canary.46625cf

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 (152) hide show
  1. package/components/combo-box/combo-box.module.d.ts +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +7 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +31 -0
  6. package/components/dialog/dialog.service.d.ts +7 -0
  7. package/components/dialog/dialog.tokens.d.ts +8 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +2 -8
  10. package/components/input/input.module.d.ts +1 -1
  11. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  12. package/components/input-date-time/input-date-time.component.d.ts +4 -3
  13. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  14. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  15. package/components/input-range/input-range.component.d.ts +1 -1
  16. package/components/input-tag/input-tag.module.d.ts +1 -1
  17. package/components/multi-select/multi-select.module.d.ts +1 -1
  18. package/components/pdf-viewer/index.d.ts +4 -0
  19. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  20. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  21. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  22. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  23. package/components/select/select.module.d.ts +1 -1
  24. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +4 -5
  26. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
  28. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  29. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +3 -3
  30. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +3 -3
  32. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +2 -2
  34. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +3 -3
  36. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +7 -7
  38. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +3 -3
  40. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +5 -5
  42. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-legacy-components-input.mjs +4 -5
  44. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +6 -6
  47. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +83 -0
  49. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  50. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +2 -2
  51. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-legacy-components-select.mjs +8 -9
  54. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
  57. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-legacy-components.mjs +2 -8
  59. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  61. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  62. package/index.d.ts +0 -2
  63. package/package.json +32 -76
  64. package/utils/icons-path-factory.d.ts +1 -1
  65. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  66. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  67. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  68. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  69. package/components/color-selector/color-selector.component.d.ts +0 -47
  70. package/components/color-selector/color-selector.module.d.ts +0 -23
  71. package/components/color-selector/color-selector.options.d.ts +0 -25
  72. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  73. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  74. package/components/color-selector/index.d.ts +0 -16
  75. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  76. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  77. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  78. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  79. package/components/color-selector/palette/palette.component.d.ts +0 -10
  80. package/components/color-selector/palette/palette.module.d.ts +0 -13
  81. package/components/color-selector/services/picker.service.d.ts +0 -15
  82. package/components/input-color/index.d.ts +0 -2
  83. package/components/input-color/input-color.component.d.ts +0 -30
  84. package/components/input-color/input-color.module.d.ts +0 -17
  85. package/components/input-date/index.d.ts +0 -3
  86. package/components/input-date/input-date.component.d.ts +0 -62
  87. package/components/input-date/input-date.directive.d.ts +0 -19
  88. package/components/input-date/input-date.module.d.ts +0 -24
  89. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  90. package/components/input-phone/index.d.ts +0 -4
  91. package/components/input-phone/input-phone.component.d.ts +0 -52
  92. package/components/input-phone/input-phone.directive.d.ts +0 -16
  93. package/components/input-phone/input-phone.module.d.ts +0 -15
  94. package/components/input-phone/input-phone.options.d.ts +0 -22
  95. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  96. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  97. package/components/input-phone/utils/index.d.ts +0 -2
  98. package/components/input-phone-international/index.d.ts +0 -3
  99. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  100. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  101. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  102. package/components/input-time/index.d.ts +0 -4
  103. package/components/input-time/input-time.component.d.ts +0 -62
  104. package/components/input-time/input-time.directive.d.ts +0 -17
  105. package/components/input-time/input-time.module.d.ts +0 -23
  106. package/components/input-time/input-time.options.d.ts +0 -42
  107. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  108. package/components/input-year/index.d.ts +0 -3
  109. package/components/input-year/input-year.component.d.ts +0 -36
  110. package/components/input-year/input-year.directive.d.ts +0 -14
  111. package/components/input-year/input-year.module.d.ts +0 -18
  112. package/components/svg/content-processor.d.ts +0 -19
  113. package/components/svg/deprecated-icons.d.ts +0 -5
  114. package/components/svg/index.d.ts +0 -5
  115. package/components/svg/svg-options.d.ts +0 -50
  116. package/components/svg/svg.component.d.ts +0 -50
  117. package/components/svg/svg.service.d.ts +0 -21
  118. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -726
  119. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  120. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  121. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  122. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  123. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  124. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  125. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  126. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -373
  127. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  128. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -430
  129. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  130. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  131. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  132. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  133. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  134. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  135. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  136. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  137. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  138. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  139. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  140. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  141. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  142. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  143. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  144. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  145. package/pipes/format-phone/index.d.ts +0 -1
  146. package/pipes/index.d.ts +0 -3
  147. package/pipes/iso-to-country-code/index.d.ts +0 -1
  148. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  149. package/pipes/to-country-code/index.d.ts +0 -1
  150. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  151. package/services/index.d.ts +0 -1
  152. package/services/static-request.service.d.ts +0 -11
@@ -15,6 +15,6 @@ import * as i10 from "@taiga-ui/core/directives/dropdown";
15
15
  */
16
16
  export declare class TuiComboBoxModule {
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiComboBoxModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiComboBoxModule, [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective], [typeof i4.CommonModule, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiPrimitiveTextfieldModule, typeof i7.TuiSelectOptionModule, typeof i8.TuiArrowComponent, typeof i9.TuiWrapperModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection], [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective, typeof i6.TuiTextfieldComponent, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownPortal, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiComboBoxModule, [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective], [typeof i4.CommonModule, typeof i5.PolymorpheusOutlet, typeof i5.PolymorpheusTemplate, typeof i6.TuiPrimitiveTextfieldModule, typeof i7.TuiSelectOptionModule, typeof i8.TuiArrowComponent, typeof i9.TuiWrapperModule, typeof i9.TuiTextfieldControllerModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContent, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection], [typeof i1.TuiComboBoxComponent, typeof i2.TuiComboBoxStrictDirective, typeof i3.TuiComboBoxDirective, typeof i6.TuiTextfieldComponent, typeof i10.TuiDropdownOptionsDirective, typeof i10.TuiDropdownDriverDirective, typeof i10.TuiDropdownDirective, typeof i10.TuiDropdownComponent, typeof i10.TuiDropdownOpen, typeof i10.TuiDropdownOpenLegacy, typeof i10.TuiDropdownManual, typeof i10.TuiDropdownHover, typeof i10.TuiDropdownContent, typeof i10.TuiDropdownContext, typeof i10.TuiDropdownPosition, typeof i10.TuiDropdownPositionSided, typeof i10.TuiDropdownSelection]>;
19
19
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiComboBoxModule>;
20
20
  }
@@ -0,0 +1,20 @@
1
+ import { type TuiPopover } from '@taiga-ui/cdk/services';
2
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
+ import { type Observable, Subject } from 'rxjs';
4
+ import { type TuiDialogOptions, type TuiDialogSize } from './dialog.interfaces';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@taiga-ui/cdk/directives/animated";
7
+ export declare class TuiDialogComponent<O, I> {
8
+ protected readonly close$: Subject<void>;
9
+ protected readonly context: TuiPopover<TuiDialogOptions<I>, O>;
10
+ protected readonly closeWord$: Observable<string>;
11
+ protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
12
+ protected readonly from: import("@angular/core").Signal<"translateY(100vh)" | "translateY(2.5rem)">;
13
+ protected readonly isMobile: import("@angular/core").Signal<boolean | undefined>;
14
+ constructor();
15
+ protected get size(): TuiDialogSize;
16
+ protected get header(): PolymorpheusContent<TuiPopover<TuiDialogOptions<I>, O>>;
17
+ private close;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogComponent<any, any>, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiDialogComponent<any, any>, "tui-dialog-legacy", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
20
+ }
@@ -0,0 +1,7 @@
1
+ import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
2
+ import { type TuiDialogOptions } from './dialog.interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TuiDialog<T> extends TuiPopoverDirective<TuiDialogOptions<T>> {
5
+ 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
+ }
@@ -0,0 +1,16 @@
1
+ import { type Injector } from '@angular/core';
2
+ import { type Observable } from 'rxjs';
3
+ import { type TuiDialogContext, type TuiDialogOptions } from './dialog.interfaces';
4
+ type SingleUnionOrNever<T, U = T> = [T] extends [never] ? never : T extends U ? [U] extends [T] ? T : never : never;
5
+ type ReplaceAny<T> = 0 extends T & 1 ? void : T;
6
+ type ContextKeys<T> = {
7
+ [K in keyof T]: ReplaceAny<T[K]> extends TuiDialogContext<any, any> | null ? K : never;
8
+ }[keyof T];
9
+ type AssertNotMultipleContexts<T, K extends keyof T> = [K] extends [never] ? new (...args: any[]) => T : [SingleUnionOrNever<K>] extends [never] ? 'Component has multiple context. Cannot determine the type...' : new (...args: any[]) => T;
10
+ type ExtractDialogData<T, K extends keyof T = ContextKeys<T>> = [K] extends [never] ? void : [SingleUnionOrNever<K>] extends [never] ? never : T[K] extends TuiDialogContext<any, infer D> | null ? D : void;
11
+ type ExtractDialogResult<T, K extends keyof T = ContextKeys<T>> = [K] extends [never] ? void : [SingleUnionOrNever<K>] extends [never] ? never : T[K] extends TuiDialogContext<infer R, any> | null ? R : void;
12
+ type Options<T> = Omit<TuiDialogOptions<T>, 'data'> & {
13
+ injector: Injector;
14
+ };
15
+ export declare function tuiDialog<T, K extends ContextKeys<T>, D extends ExtractDialogData<T, K>, R extends ExtractDialogResult<T, K>>(component: AssertNotMultipleContexts<T, K>, { injector, ...options }?: Partial<Options<D>>): (data: D) => Observable<R>;
16
+ export {};
@@ -0,0 +1,31 @@
1
+ import { type TuiPopover, type TuiPopoverContext } from '@taiga-ui/cdk/services';
2
+ import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
3
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
+ import { type Observable } from 'rxjs';
5
+ export type TuiDialogSize = TuiSizeL | TuiSizeS | 'auto' | 'fullscreen' | 'page';
6
+ /**
7
+ * Options for a dialog
8
+ *
9
+ * appearance - data-appearance attribute of the dialog ('' by default)
10
+ * size - size of the dialog ('m' by default)
11
+ * required - closing dialog throws (false by default)
12
+ * closable - show close button (true by default)
13
+ * dismissible - close dialog by Esc button or click on overlay (true by default)
14
+ * label - string title for the dialog ('' by default)
15
+ * header - content above title ('' by default)
16
+ * data - arbitrary data for dialog
17
+ */
18
+ export interface TuiDialogOptions<I> {
19
+ readonly appearance: string;
20
+ readonly closable: Observable<boolean> | boolean;
21
+ readonly data: I extends void ? undefined : I & {
22
+ button?: string;
23
+ };
24
+ readonly dismissible: Observable<boolean> | boolean;
25
+ readonly header: PolymorpheusContent<TuiPopover<TuiDialogOptions<I>, any>>;
26
+ readonly label: string;
27
+ readonly required: boolean;
28
+ readonly size: TuiDialogSize;
29
+ }
30
+ export interface TuiDialogContext<O = void, I = undefined> extends TuiPopoverContext<O>, TuiDialogOptions<I> {
31
+ }
@@ -0,0 +1,7 @@
1
+ import { TuiPopoverService } from '@taiga-ui/cdk/services';
2
+ import { type TuiDialogOptions } from './dialog.interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TuiDialogService extends TuiPopoverService<TuiDialogOptions<any>> {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiDialogService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiDialogService>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { InjectionToken, type Provider } from '@angular/core';
2
+ import { type TuiDialogOptions } from './dialog.interfaces';
3
+ export declare const TUI_DIALOG_DEFAULT_OPTIONS: TuiDialogOptions<void>;
4
+ /**
5
+ * Default parameters for dialog component
6
+ */
7
+ export declare const TUI_DIALOG_OPTIONS: InjectionToken<TuiDialogOptions<void>>;
8
+ export declare function tuiDialogOptionsProvider(options: Partial<TuiDialogOptions<unknown>>): Provider;
@@ -0,0 +1,6 @@
1
+ export * from './dialog.component';
2
+ export * from './dialog.directive';
3
+ export * from './dialog.factory';
4
+ export type * from './dialog.interfaces';
5
+ export * from './dialog.service';
6
+ export * from './dialog.tokens';
@@ -1,26 +1,20 @@
1
1
  export * from '@taiga-ui/legacy/components/arrow';
2
- export * from '@taiga-ui/legacy/components/color-selector';
3
2
  export * from '@taiga-ui/legacy/components/combo-box';
3
+ export * from '@taiga-ui/legacy/components/dialog';
4
4
  export * from '@taiga-ui/legacy/components/input';
5
- export * from '@taiga-ui/legacy/components/input-color';
6
- export * from '@taiga-ui/legacy/components/input-date';
7
5
  export * from '@taiga-ui/legacy/components/input-date-range';
8
6
  export * from '@taiga-ui/legacy/components/input-date-time';
9
7
  export * from '@taiga-ui/legacy/components/input-month-range';
10
8
  export * from '@taiga-ui/legacy/components/input-number';
11
- export * from '@taiga-ui/legacy/components/input-phone';
12
- export * from '@taiga-ui/legacy/components/input-phone-international';
13
9
  export * from '@taiga-ui/legacy/components/input-range';
14
10
  export * from '@taiga-ui/legacy/components/input-slider';
15
11
  export * from '@taiga-ui/legacy/components/input-tag';
16
- export * from '@taiga-ui/legacy/components/input-time';
17
- export * from '@taiga-ui/legacy/components/input-year';
18
12
  export * from '@taiga-ui/legacy/components/multi-select';
19
13
  export * from '@taiga-ui/legacy/components/multi-select-option';
14
+ export * from '@taiga-ui/legacy/components/pdf-viewer';
20
15
  export * from '@taiga-ui/legacy/components/primitive-textfield';
21
16
  export * from '@taiga-ui/legacy/components/select';
22
17
  export * from '@taiga-ui/legacy/components/select-option';
23
- export * from '@taiga-ui/legacy/components/svg';
24
18
  export * from '@taiga-ui/legacy/components/tag';
25
19
  export * from '@taiga-ui/legacy/components/textarea';
26
20
  export * from '@taiga-ui/legacy/components/tooltip';
@@ -11,6 +11,6 @@ import * as i6 from "@taiga-ui/legacy/directives";
11
11
  */
12
12
  export declare class TuiInputModule {
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputModule, never>;
14
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownPortal, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection, typeof i6.TuiLegacyDropdownOpenMonitorDirective], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i4.TuiTextfieldComponent, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownPortal, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputModule, [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective], [typeof i3.CommonModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContent, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection, typeof i6.TuiLegacyDropdownOpenMonitorDirective], [typeof i1.TuiInputComponent, typeof i2.TuiInputDirective, typeof i4.TuiTextfieldComponent, typeof i5.TuiDropdownOptionsDirective, typeof i5.TuiDropdownDriverDirective, typeof i5.TuiDropdownDirective, typeof i5.TuiDropdownComponent, typeof i5.TuiDropdownOpen, typeof i5.TuiDropdownOpenLegacy, typeof i5.TuiDropdownManual, typeof i5.TuiDropdownHover, typeof i5.TuiDropdownContent, typeof i5.TuiDropdownContext, typeof i5.TuiDropdownPosition, typeof i5.TuiDropdownPositionSided, typeof i5.TuiDropdownSelection]>;
15
15
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputModule>;
16
16
  }
@@ -17,6 +17,6 @@ import * as i12 from "@taiga-ui/core/directives/dropdown";
17
17
  */
18
18
  export declare class TuiInputDateRangeModule {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.TuiLet, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiCalendarRange, typeof i8.TuiValueAccessorModule, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i7.TuiTextfieldComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.MaskitoDirective, typeof i5.TuiLet, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiCalendarRange, typeof i8.TuiValueAccessorModule, typeof i8.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiIcon, typeof i11.TuiAppearance, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i7.TuiTextfieldComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
21
21
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateRangeModule>;
22
22
  }
@@ -1,6 +1,7 @@
1
1
  import { type MaskitoOptions } from '@maskito/core';
2
+ import { type MaskitoTimeMode } from '@maskito/kit';
2
3
  import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { type TuiDateMode, TuiDay, TuiMonth, TuiTime, type TuiTimeMode } from '@taiga-ui/cdk/date-time';
4
+ import { type TuiDateMode, TuiDay, TuiMonth, TuiTime } from '@taiga-ui/cdk/date-time';
4
5
  import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
5
6
  import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
6
7
  import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
@@ -49,8 +50,8 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
49
50
  disabledItemHandler: TuiBooleanHandler<TuiDay>;
50
51
  defaultActiveYearMonth: TuiMonth;
51
52
  open: boolean;
52
- set timeMode(value: TuiTimeMode);
53
- get timeMode(): TuiTimeMode;
53
+ set timeMode(value: MaskitoTimeMode);
54
+ get timeMode(): MaskitoTimeMode;
54
55
  get nativeFocusableElement(): HTMLInputElement | null;
55
56
  get focused(): boolean;
56
57
  get computedValue(): string;
@@ -18,6 +18,6 @@ import * as i13 from "@taiga-ui/core/directives/dropdown";
18
18
  */
19
19
  export declare class TuiInputDateTimeModule {
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i3.TuiNativeDateTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiIcon, typeof i12.TuiAppearance, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownPortal, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i9.TuiTextfieldComponent, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownPortal, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection]>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i3.TuiNativeDateTimeDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i11.TuiIcon, typeof i12.TuiAppearance, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i9.TuiTextfieldComponent, typeof i13.TuiDropdownOptionsDirective, typeof i13.TuiDropdownDriverDirective, typeof i13.TuiDropdownDirective, typeof i13.TuiDropdownComponent, typeof i13.TuiDropdownOpen, typeof i13.TuiDropdownOpenLegacy, typeof i13.TuiDropdownManual, typeof i13.TuiDropdownHover, typeof i13.TuiDropdownContent, typeof i13.TuiDropdownContext, typeof i13.TuiDropdownPosition, typeof i13.TuiDropdownPositionSided, typeof i13.TuiDropdownSelection]>;
22
22
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateTimeModule>;
23
23
  }
@@ -13,6 +13,6 @@ import * as i8 from "@taiga-ui/core/directives/dropdown";
13
13
  */
14
14
  export declare class TuiInputMonthRangeModule {
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthRangeModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownPortal, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i5.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownPortal, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection]>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthRangeModule, [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection], [typeof i1.TuiInputMonthRangeComponent, typeof i2.TuiInputMonthRangeDirective, typeof i5.TuiTextfieldComponent, typeof i8.TuiDropdownOptionsDirective, typeof i8.TuiDropdownDriverDirective, typeof i8.TuiDropdownDirective, typeof i8.TuiDropdownComponent, typeof i8.TuiDropdownOpen, typeof i8.TuiDropdownOpenLegacy, typeof i8.TuiDropdownManual, typeof i8.TuiDropdownHover, typeof i8.TuiDropdownContent, typeof i8.TuiDropdownContext, typeof i8.TuiDropdownPosition, typeof i8.TuiDropdownPositionSided, typeof i8.TuiDropdownSelection]>;
17
17
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthRangeModule>;
18
18
  }
@@ -45,7 +45,7 @@ export declare class TuiInputRangeComponent extends AbstractTuiControl<[number,
45
45
  protected onInputRight(value: number | null): void;
46
46
  protected onExternalValueUpdate(value: [number, number]): void;
47
47
  protected focusToTextInput(): void;
48
- protected onActiveThumbChange(activeThumb: 'left' | 'right'): void;
48
+ protected onActiveThumbChange(activeThumb: 'end' | 'start'): void;
49
49
  protected getFallbackValue(): [number, number];
50
50
  private safelyUpdateValue;
51
51
  private valueGuard;
@@ -17,6 +17,6 @@ import * as i12 from "@taiga-ui/core/directives/dropdown";
17
17
  */
18
18
  export declare class TuiInputTagModule {
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputTagComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
20
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTagModule, [typeof i1.TuiInputTagComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiHovered, typeof i6.TuiScrollbar, typeof i7.TuiTooltipModule, typeof i8.TuiTagModule, typeof i9.TuiWrapperModule, typeof i9.TuiLegacyDropdownOpenMonitorDirective, typeof i10.TuiAppearance, typeof i11.TuiIcon, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection], [typeof i1.TuiInputTagComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection]>;
21
21
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTagModule>;
22
22
  }
@@ -26,6 +26,6 @@ import * as i21 from "@taiga-ui/kit/components/data-list-wrapper";
26
26
  */
27
27
  export declare class TuiMultiSelectModule {
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectModule, never>;
29
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectModule, [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i7.TuiMultiSelectDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.PolymorpheusOutlet, typeof i10.PolymorpheusTemplate, typeof i11.TuiWrapperModule, typeof i12.TuiArrowComponent, typeof i13.TuiLet, typeof i14.TuiInputTagModule, typeof i15.TuiMultiSelectOptionModule, typeof i16.TuiMapperPipe, typeof i17.TuiLink, typeof i11.TuiTextfieldControllerModule, typeof i18.TuiStringifyContentPipe, typeof i11.TuiLegacyDropdownOpenMonitorDirective, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownPortal, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective], [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i7.TuiMultiSelectDirective, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownPortal, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective]>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectModule, [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i7.TuiMultiSelectDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.PolymorpheusOutlet, typeof i10.PolymorpheusTemplate, typeof i11.TuiWrapperModule, typeof i12.TuiArrowComponent, typeof i13.TuiLet, typeof i14.TuiInputTagModule, typeof i15.TuiMultiSelectOptionModule, typeof i16.TuiMapperPipe, typeof i17.TuiLink, typeof i11.TuiTextfieldControllerModule, typeof i18.TuiStringifyContentPipe, typeof i11.TuiLegacyDropdownOpenMonitorDirective, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContent, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective], [typeof i1.TuiMultiSelectComponent, typeof i2.TuiMultiSelectGroupComponent, typeof i3.TuiMultiSelectGroupDirective, typeof i4.TuiHideSelectedPipe, typeof i7.TuiMultiSelectDirective, typeof i5.TuiNativeMultiSelectComponent, typeof i6.TuiNativeMultiSelectGroupComponent, typeof i19.TuiDropdownOptionsDirective, typeof i19.TuiDropdownDriverDirective, typeof i19.TuiDropdownDirective, typeof i19.TuiDropdownComponent, typeof i19.TuiDropdownOpen, typeof i19.TuiDropdownOpenLegacy, typeof i19.TuiDropdownManual, typeof i19.TuiDropdownHover, typeof i19.TuiDropdownContent, typeof i19.TuiDropdownContext, typeof i19.TuiDropdownPosition, typeof i19.TuiDropdownPositionSided, typeof i19.TuiDropdownSelection, typeof i20.TuiDataListComponent, typeof i20.TuiDataListDirective, typeof i20.TuiOption, typeof i20.TuiOptionNew, typeof i20.TuiOptionWithValue, typeof i20.TuiOptGroup, typeof i21.TuiDataListWrapperComponent, typeof i21.TuiDataListGroupWrapperComponent, typeof i20.TuiDataListDirective]>;
30
30
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectModule>;
31
31
  }
@@ -0,0 +1,4 @@
1
+ export * from './pdf-viewer.component';
2
+ export * from './pdf-viewer.directive';
3
+ export * from './pdf-viewer.options';
4
+ export * from './pdf-viewer.service';
@@ -0,0 +1,12 @@
1
+ import { type TuiPopover } from '@taiga-ui/cdk/services';
2
+ import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@taiga-ui/cdk/directives/animated";
5
+ export declare class TuiPdfViewerComponent<I, O> {
6
+ protected readonly closeWord$: import("rxjs").Observable<string>;
7
+ protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
8
+ protected readonly context: TuiPopover<TuiPdfViewerOptions<I>, O>;
9
+ protected onKeyDownEsc(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerComponent<any, any>, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiPdfViewerComponent<any, any>, "tui-pdf-viewer", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }]>;
12
+ }
@@ -0,0 +1,7 @@
1
+ import { TuiPopoverDirective } from '@taiga-ui/cdk/directives/popover';
2
+ import { type TuiPdfViewerOptions } from './pdf-viewer.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TuiPdfViewerDirective<T> extends TuiPopoverDirective<TuiPdfViewerOptions<T>> {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerDirective<any>, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPdfViewerDirective<any>, "ng-template[tuiPdfViewer]", never, { "options": { "alias": "tuiPdfViewerOptions"; "required": false; }; "open": { "alias": "tuiPdfViewer"; "required": false; }; }, { "openChange": "tuiPdfViewerChange"; }, never, never, true, never>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { InjectionToken, type Provider } from '@angular/core';
2
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
+ export declare const TUI_PDF_VIEWER_DEFAULT_OPTIONS: TuiPdfViewerOptions;
4
+ /**
5
+ * Default parameters for PdfViewer component
6
+ */
7
+ export declare const TUI_PDF_VIEWER_OPTIONS: InjectionToken<TuiPdfViewerOptions<undefined>>;
8
+ export declare function tuiPdfViewerOptionsProvider(options: Partial<TuiPdfViewerOptions>): Provider;
9
+ export interface TuiPdfViewerOptions<I = undefined> {
10
+ readonly actions: PolymorpheusContent<TuiPdfViewerOptions<I>>;
11
+ readonly data: I;
12
+ readonly label: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ import { type SafeResourceUrl } from '@angular/platform-browser';
2
+ import { type TuiPopoverContext, TuiPopoverService } from '@taiga-ui/cdk/services';
3
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
+ import { type Observable } from 'rxjs';
5
+ import { type TuiPdfViewerOptions } from './pdf-viewer.options';
6
+ import * as i0 from "@angular/core";
7
+ type Content<G> = PolymorpheusContent<TuiPdfViewerOptions<unknown> & TuiPopoverContext<G>>;
8
+ export declare class TuiPdfViewerService extends TuiPopoverService<TuiPdfViewerOptions<unknown>> {
9
+ open<G>(content: Content<G> | SafeResourceUrl, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiPdfViewerService>;
12
+ }
13
+ export {};
@@ -19,6 +19,6 @@ import * as i14 from "@taiga-ui/kit/components/data-list-wrapper";
19
19
  */
20
20
  export declare class TuiSelectModule {
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiSelectOptionModule, typeof i9.TuiArrowComponent, typeof i10.TuiWrapperModule, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiStringifyContentPipe, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiSelectOptionModule, typeof i9.TuiArrowComponent, typeof i10.TuiWrapperModule, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiStringifyContentPipe, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContent, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective]>;
23
23
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectModule>;
24
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-arrow.mjs","sources":["../../../projects/legacy/components/arrow/arrow.options.ts","../../../projects/legacy/components/arrow/arrow.component.ts","../../../projects/legacy/components/arrow/arrow.template.html","../../../projects/legacy/components/arrow/arrow.providers.ts","../../../projects/legacy/components/arrow/taiga-ui-legacy-components-arrow.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport interface TuiArrowOptions {\n readonly iconLarge: PolymorpheusContent;\n readonly iconSmall: PolymorpheusContent;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions = {\n iconSmall: '@tui.chevron-down',\n iconLarge: '@tui.chevron-down',\n};\n\n/**\n * @deprecated: drop in v5.0\n * Default parameters for arrow component\n */\nexport const TUI_ARROW_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_ARROW_OPTIONS' : '',\n {\n factory: () => TUI_ARROW_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiArrowOptionsProvider(options: Partial<TuiArrowOptions>): Provider {\n return tuiProvideOptions(TUI_ARROW_OPTIONS, options, TUI_ARROW_DEFAULT_OPTIONS);\n}\n","import {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {tuiSizeBigger} from '@taiga-ui/core/utils/miscellaneous';\nimport {AbstractTuiControl} from '@taiga-ui/legacy/classes';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n PolymorpheusComponent,\n type PolymorpheusContent,\n PolymorpheusOutlet,\n} from '@taiga-ui/polymorpheus';\nimport {of} from 'rxjs';\n\nimport {TUI_ARROW_OPTIONS} from './arrow.options';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\n@Component({\n selector: 'tui-arrow',\n imports: [PolymorpheusOutlet, TuiIcon],\n templateUrl: './arrow.template.html',\n styleUrls: ['./arrow.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class._rotated]': 'rotated()',\n '[class._small]': 'small',\n },\n})\nexport class TuiArrowComponent {\n private readonly control: any = inject(AbstractTuiControl, {optional: true});\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n private readonly options = inject(TUI_ARROW_OPTIONS);\n protected readonly dropdownOpen = toSignal(\n inject(TuiDropdownOpen, {optional: true})?.tuiDropdownOpenChange || of(false),\n );\n\n protected readonly rotated = computed(\n () => this.dropdownOpen() || this.control.pseudoOpen?.(),\n );\n\n protected get small(): boolean {\n return !tuiSizeBigger(this.textfieldSize.size);\n }\n\n protected get arrowIcon(): PolymorpheusContent {\n return !this.small ? this.options.iconLarge : this.options.iconSmall;\n }\n}\n\nexport const TUI_ARROW = new PolymorpheusComponent(TuiArrowComponent);\n","<tui-icon\n *polymorpheusOutlet=\"arrowIcon as src\"\n [icon]=\"src\"\n/>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeM, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nimport {TUI_ARROW} from './arrow.component';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport interface TuiArrowMode {\n readonly disabled: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;\n readonly interactive: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport const TUI_ARROW_DEFAULT_MODE: TuiArrowMode = {\n interactive: TUI_ARROW,\n disabled: TUI_ARROW,\n};\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport const TUI_ARROW_MODE = new InjectionToken(ngDevMode ? 'TUI_ARROW_MODE' : '', {\n factory: () => TUI_ARROW_DEFAULT_MODE,\n});\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport function tuiArrowModeProvider(options: Partial<TuiArrowMode>): Provider {\n return tuiProvideOptions(TUI_ARROW_MODE, options, TUI_ARROW_DEFAULT_MODE);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAYA;;AAEG;AACU,MAAA,yBAAyB,GAAoB;AACtD,IAAA,SAAS,EAAE,mBAAmB;AAC9B,IAAA,SAAS,EAAE,mBAAmB;;AAGlC;;;AAGG;AACU,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,MAAM,yBAAyB;AAC3C,CAAA;AAGC,SAAU,uBAAuB,CAAC,OA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","../../../projects/legacy/components/arrow/arrow.component.ts","../../../projects/legacy/components/arrow/arrow.template.html","../../../projects/legacy/components/arrow/arrow.providers.ts","../../../projects/legacy/components/arrow/taiga-ui-legacy-components-arrow.ts"],"sourcesContent":["import {InjectionToken, type Provider} from '@angular/core';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport interface TuiArrowOptions {\n readonly iconLarge: PolymorpheusContent;\n readonly iconSmall: PolymorpheusContent;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport const TUI_ARROW_DEFAULT_OPTIONS: TuiArrowOptions = {\n iconSmall: '@tui.chevron-down',\n iconLarge: '@tui.chevron-down',\n};\n\n/**\n * @deprecated: drop in v5.0\n * Default parameters for arrow component\n */\nexport const TUI_ARROW_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_ARROW_OPTIONS' : '',\n {\n factory: () => TUI_ARROW_DEFAULT_OPTIONS,\n },\n);\n\nexport function tuiArrowOptionsProvider(options: Partial<TuiArrowOptions>): Provider {\n return tuiProvideOptions(TUI_ARROW_OPTIONS, options, TUI_ARROW_DEFAULT_OPTIONS);\n}\n","import {ChangeDetectionStrategy, Component, computed, inject} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {tuiSizeBigger} from '@taiga-ui/core/utils/miscellaneous';\nimport {AbstractTuiControl} from '@taiga-ui/legacy/classes';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n PolymorpheusComponent,\n type PolymorpheusContent,\n PolymorpheusOutlet,\n} from '@taiga-ui/polymorpheus';\nimport {of} from 'rxjs';\n\nimport {TUI_ARROW_OPTIONS} from './arrow.options';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\n@Component({\n selector: 'tui-arrow',\n imports: [PolymorpheusOutlet, TuiIcon],\n templateUrl: './arrow.template.html',\n styleUrl: './arrow.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class._rotated]': 'rotated()',\n '[class._small]': 'small',\n },\n})\nexport class TuiArrowComponent {\n private readonly control: any = inject(AbstractTuiControl, {optional: true});\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n private readonly options = inject(TUI_ARROW_OPTIONS);\n protected readonly dropdownOpen = toSignal(\n inject(TuiDropdownOpen, {optional: true})?.tuiDropdownOpenChange || of(false),\n );\n\n protected readonly rotated = computed(\n () => this.dropdownOpen() || this.control.pseudoOpen?.(),\n );\n\n protected get small(): boolean {\n return !tuiSizeBigger(this.textfieldSize.size);\n }\n\n protected get arrowIcon(): PolymorpheusContent {\n return !this.small ? this.options.iconLarge : this.options.iconSmall;\n }\n}\n\nexport const TUI_ARROW = new PolymorpheusComponent(TuiArrowComponent);\n","<tui-icon\n *polymorpheusOutlet=\"arrowIcon as src\"\n [icon]=\"src\"\n/>\n","import {InjectionToken, type Provider} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvideOptions} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeM, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nimport {TUI_ARROW} from './arrow.component';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport interface TuiArrowMode {\n readonly disabled: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;\n readonly interactive: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;\n}\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport const TUI_ARROW_DEFAULT_MODE: TuiArrowMode = {\n interactive: TUI_ARROW,\n disabled: TUI_ARROW,\n};\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport const TUI_ARROW_MODE = new InjectionToken(ngDevMode ? 'TUI_ARROW_MODE' : '', {\n factory: () => TUI_ARROW_DEFAULT_MODE,\n});\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiChevron}\n */\nexport function tuiArrowModeProvider(options: Partial<TuiArrowMode>): Provider {\n return tuiProvideOptions(TUI_ARROW_MODE, options, TUI_ARROW_DEFAULT_MODE);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAYA;;AAEG;AACU,MAAA,yBAAyB,GAAoB;AACtD,IAAA,SAAS,EAAE,mBAAmB;AAC9B,IAAA,SAAS,EAAE,mBAAmB;;AAGlC;;;AAGG;AACU,MAAA,iBAAiB,GAAG,IAAI,cAAc,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,MAAM,yBAAyB;AAC3C,CAAA;AAGC,SAAU,uBAAuB,CAAC,OAAiC,EAAA;IACrE,OAAO,iBAAiB,CAAC,iBAAiB,EAAE,OAAO,EAAE,yBAAyB,CAAC;AACnF;;ACjBA;;AAEG;MAYU,iBAAiB,CAAA;AAX9B,IAAA,WAAA,GAAA;QAYqB,IAAO,CAAA,OAAA,GAAQ,MAAM,CAAC,kBAAkB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC1C,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,iBAAiB,CAAC;QACjC,IAAY,CAAA,YAAA,GAAG,QAAQ,CACtC,MAAM,CAAC,eAAe,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,qBAAqB,IAAI,EAAE,CAAC,KAAK,CAAC,CAChF;AAEkB,QAAA,IAAA,CAAA,OAAO,GAA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ACF,wBAAA,kBAAkB,EAAE,WAAW;AAC/B,wBAAA,gBAAgB,EAAE,OAAO;AAC5B,qBAAA,EAAA,QAAA,EAAA,mFAAA,EAAA,MAAA,EAAA,CAAA,oPAAA,CAAA,EAAA;;MAuBQ,SAAS,GAAG,IAAI,qBAAqB,CAAC,iBAAiB;;AEnCpE;;AAEG;AACU,MAAA,sBAAsB,GAAiB;AAChD,IAAA,WAAW,EAAE,SAAS;AACtB,IAAA,QAAQ,EAAE,SAAS;;AAGvB;;AAEG;AACU,MAAA,cAAc,GAAG,IAAI,cAAc,CAAC,SAAS,GAAG,gBAAgB,GAAG,EAAE,EAAE;AAChF,IAAA,OAAO,EAAE,MAAM,sBAAsB;AACxC,CAAA;AAED;;AAEG;AACG,SAAU,oBAAoB,CAAC,OAA8B,EAAA;IAC/D,OAAO,iBAAiB,CAAC,cAAc,EAAE,OAAO,EAAE,sBAAsB,CAAC;AAC7E;;ACpCA;;AAEG;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, EventEmitter, TemplateRef, Output, Input, ContentChild, ViewChild, ChangeDetectionStrategy, Component, Directive, NgModule } from '@angular/core';
3
3
  import { TUI_STRICT_MATCHER } from '@taiga-ui/cdk/constants';
4
- import { tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
4
+ import { tuiIsFocused } from '@taiga-ui/cdk/utils/focus';
5
5
  import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
6
6
  import { TUI_DATA_LIST_ACCESSOR, TuiDataListDirective, tuiAsDataListHost, tuiAsOptionContent } from '@taiga-ui/core/components/data-list';
7
7
  import * as i1 from '@taiga-ui/core/directives/dropdown';
@@ -44,8 +44,7 @@ class TuiComboBoxComponent extends AbstractTuiNullableControl {
44
44
  return this.textfield?.nativeFocusableElement ?? null;
45
45
  }
46
46
  get focused() {
47
- return (tuiIsNativeFocused(this.nativeFocusableElement) ||
48
- !!this.dropdown?.tuiDropdownOpen);
47
+ return (tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen);
49
48
  }
50
49
  get nativeValue() {
51
50
  return this.value === null ? this.search || '' : this.stringify(this.value);
@@ -251,10 +250,10 @@ class TuiComboBoxModule {
251
250
  TuiArrowComponent,
252
251
  TuiWrapperModule,
253
252
  TuiTextfieldControllerModule,
254
- TuiLegacyDropdownOpenMonitorDirective, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiComboBoxComponent,
253
+ TuiLegacyDropdownOpenMonitorDirective, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiComboBoxComponent,
255
254
  TuiComboBoxStrictDirective,
256
255
  TuiComboBoxDirective,
257
- TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownPortal, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
256
+ TuiTextfieldComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
258
257
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiComboBoxModule, imports: [CommonModule,
259
258
  TuiPrimitiveTextfieldModule,
260
259
  TuiSelectOptionModule,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-combo-box.mjs","sources":["../../../projects/legacy/components/combo-box/combo-box.component.ts","../../../projects/legacy/components/combo-box/combo-box.template.html","../../../projects/legacy/components/combo-box/combo-box.directive.ts","../../../projects/legacy/components/combo-box/combo-box-strict.directive.ts","../../../projects/legacy/components/combo-box/combo-box.module.ts","../../../projects/legacy/components/combo-box/taiga-ui-legacy-components-combo-box.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n EventEmitter,\n inject,\n Input,\n Output,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {TUI_STRICT_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {type TuiContext, type TuiStringMatcher} from '@taiga-ui/cdk/types';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_DATA_LIST_ACCESSOR,\n tuiAsDataListHost,\n tuiAsOptionContent,\n type TuiDataListAccessor,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {\n type TuiSizeL,\n type TuiSizeM,\n type TuiSizeS,\n type TuiValueContentContext,\n} from '@taiga-ui/core/types';\nimport {TUI_ITEMS_HANDLERS, type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TUI_ARROW_MODE} from '@taiga-ui/legacy/components/arrow';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/legacy/components/select-option';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-combo-box',\n templateUrl: './combo-box.template.html',\n styleUrls: ['./combo-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiComboBoxComponent),\n tuiAsDataListHost(TuiComboBoxComponent),\n tuiAsControl(TuiComboBoxComponent),\n tuiAsOptionContent(TUI_SELECT_OPTION),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiComboBoxComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ContentChild(TUI_DATA_LIST_ACCESSOR as any)\n private readonly accessor?: TuiDataListAccessor<T>;\n\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly arrowMode = inject(TUI_ARROW_MODE);\n private readonly itemsHandlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n @Input()\n public stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n public strictMatcher: TuiStringMatcher<T> | null = TUI_STRICT_MATCHER;\n\n @Input()\n public identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n public valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n\n @Input()\n public strict = true;\n\n @Input()\n public search: string | null = null;\n\n @Output()\n public readonly searchChange = new EventEmitter<string | null>();\n\n public open = false;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return (\n tuiIsNativeFocused(this.nativeFocusableElement) ||\n !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public get nativeValue(): string {\n return this.value === null ? this.search || '' : this.stringify(this.value);\n }\n\n public checkOption(option: T): void {\n if (!this.isStrictMatch(option)) {\n return;\n }\n\n this.value = option;\n this.updateSearch(null);\n }\n\n public handleOption(item: T): void {\n this.focusInput();\n this.close();\n this.updateSearch(null);\n this.value = item;\n\n if (this.value) {\n this.setNativeValue(this.stringify(item));\n }\n }\n\n public onValueChange(value: string): void {\n this.updateSearch(value);\n\n const match = this.accessor\n ?.getOptions()\n .find((item) => this.isStrictMatch(item));\n\n if (match !== undefined) {\n this.value = match;\n this.updateSearch(null);\n\n return;\n }\n\n if (this.strict || this.search === '') {\n this.value = null;\n }\n\n // Clearing sets the empty value, the dropdown should not be opened on clear.\n if (this.search !== '') {\n this.open = true;\n }\n }\n\n public toggle(): void {\n if (this.interactive) {\n this.open = !this.open;\n }\n }\n\n protected get arrow(): PolymorpheusContent<\n TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n protected get showValueTemplate(): boolean {\n return tuiIsPresent(this.value) && !this.focused;\n }\n\n protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.nativeValue;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected onFieldKeyDownEnter(event: Event): void {\n if (this.open) {\n event.preventDefault();\n }\n\n const options = this.accessor?.getOptions() || [];\n\n if (options.length !== 1) {\n return;\n }\n\n this.value = options[0] ?? null;\n this.updateSearch(null);\n this.close();\n }\n\n private isStrictMatch(item: T): boolean {\n return !!this.search && !!this.strictMatcher?.(item, this.search, this.stringify);\n }\n\n private close(): void {\n this.open = false;\n }\n\n private updateSearch(search: string | null): void {\n if (this.search === search) {\n return;\n }\n\n this.search = search;\n this.searchChange.emit(search);\n }\n\n private setNativeValue(value: string): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = value;\n }\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (showValueTemplate) {\n <div\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiComboBoxComponent} from './combo-box.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-combo-box',\n providers: [tuiAsTextfieldHost(TuiComboBoxDirective)],\n})\nexport class TuiComboBoxDirective extends AbstractTuiTextfieldHost<\n TuiComboBoxComponent<unknown>\n> {\n public override get value(): string {\n return this.host.nativeValue;\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {Directive, inject, Input} from '@angular/core';\n\nimport {TuiComboBoxComponent} from './combo-box.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-combo-box[strict]',\n host: {\n '(input)': 'onInput()',\n },\n})\nexport class TuiComboBoxStrictDirective<T> {\n private readonly comboBox = inject(TuiComboBoxComponent<T | string>);\n\n @Input()\n public strict = true;\n\n protected onInput(): void {\n if (!this.strict && this.comboBox.search) {\n this.comboBox.value = this.comboBox.search;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiArrowComponent} from '@taiga-ui/legacy/components/arrow';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiSelectOptionModule} from '@taiga-ui/legacy/components/select-option';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiWrapperModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiComboBoxComponent} from './combo-box.component';\nimport {TuiComboBoxDirective} from './combo-box.directive';\nimport {TuiComboBoxStrictDirective} from './combo-box-strict.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiSelectOptionModule,\n TuiArrowComponent,\n TuiWrapperModule,\n TuiTextfieldControllerModule,\n TuiLegacyDropdownOpenMonitorDirective,\n ...TuiDropdown,\n ],\n declarations: [\n TuiComboBoxComponent,\n TuiComboBoxStrictDirective,\n TuiComboBoxDirective,\n ],\n exports: [\n TuiComboBoxComponent,\n TuiComboBoxStrictDirective,\n TuiComboBoxDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiComboBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA2CA;;;AAGG;AAkBG,MAAO,oBACT,SAAQ,0BAA6B,CAAA;AAlBzC,IAAA,WAAA,GAAA;;AA8BqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AAClC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAsB,kBAAkB,CAAC;AAC/D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAMpD,QAAA,IAAA,CAAA,SAAS,GAAqC,IA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iBAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,EAAA,CAAA,mBAAA,EAAA,EAAA,CAAA,wBAAA,EAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;AAIhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAxBtB,YAAY;YAGZ,2BAA2B;YAC3B,qBAAqB;YACrB,iBAAiB;YACjB,gBAAgB;YAChB,4BAA4B,EAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,CAAA,CAAA;;4FAiBvB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBA1B7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,oBAAoB;wBACpB,2BAA2B;wBAC3B,qBAAqB;wBACrB,iBAAiB;wBACjB,gBAAgB;wBAChB,4BAA4B;wBAC5B,qCAAqC;AACrC,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,oBAAoB;wBACpB,0BAA0B;wBAC1B,oBAAoB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,oBAAoB;wBACpB,0BAA0B;wBAC1B,oBAAoB;wBACpB,qBAAqB;AACrB,wBAAA,GAAG,WAAW;AACjB,qBAAA;AACJ,iBAAA;;;ACjDD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-components-combo-box.mjs","sources":["../../../projects/legacy/components/combo-box/combo-box.component.ts","../../../projects/legacy/components/combo-box/combo-box.template.html","../../../projects/legacy/components/combo-box/combo-box.directive.ts","../../../projects/legacy/components/combo-box/combo-box-strict.directive.ts","../../../projects/legacy/components/combo-box/combo-box.module.ts","../../../projects/legacy/components/combo-box/taiga-ui-legacy-components-combo-box.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ContentChild,\n EventEmitter,\n inject,\n Input,\n Output,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {TUI_STRICT_MATCHER} from '@taiga-ui/cdk/constants';\nimport {type TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {type TuiContext, type TuiStringMatcher} from '@taiga-ui/cdk/types';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_DATA_LIST_ACCESSOR,\n tuiAsDataListHost,\n tuiAsOptionContent,\n type TuiDataListAccessor,\n TuiDataListDirective,\n type TuiDataListHost,\n} from '@taiga-ui/core/components/data-list';\nimport {TuiDropdownFixed, TuiDropdownOpen} from '@taiga-ui/core/directives/dropdown';\nimport {\n type TuiSizeL,\n type TuiSizeM,\n type TuiSizeS,\n type TuiValueContentContext,\n} from '@taiga-ui/core/types';\nimport {TUI_ITEMS_HANDLERS, type TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {AbstractTuiNullableControl, tuiAsControl} from '@taiga-ui/legacy/classes';\nimport {TUI_ARROW_MODE} from '@taiga-ui/legacy/components/arrow';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TUI_SELECT_OPTION} from '@taiga-ui/legacy/components/select-option';\nimport {TUI_TEXTFIELD_SIZE} from '@taiga-ui/legacy/directives';\nimport {\n tuiAsFocusableItemAccessor,\n type TuiFocusableElementAccessor,\n} from '@taiga-ui/legacy/tokens';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Component({\n standalone: false,\n selector: 'tui-combo-box',\n templateUrl: './combo-box.template.html',\n styleUrl: './combo-box.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiComboBoxComponent),\n tuiAsDataListHost(TuiComboBoxComponent),\n tuiAsControl(TuiComboBoxComponent),\n tuiAsOptionContent(TUI_SELECT_OPTION),\n ],\n hostDirectives: [TuiDropdownFixed],\n host: {\n '[attr.data-size]': 'size',\n },\n})\nexport class TuiComboBoxComponent<T>\n extends AbstractTuiNullableControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ContentChild(TUI_DATA_LIST_ACCESSOR as any)\n private readonly accessor?: TuiDataListAccessor<T>;\n\n @ViewChild(TuiDropdownOpen)\n private readonly dropdown?: TuiDropdownOpen;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly arrowMode = inject(TUI_ARROW_MODE);\n private readonly itemsHandlers = inject<TuiItemsHandlers<T>>(TUI_ITEMS_HANDLERS);\n private readonly textfieldSize = inject(TUI_TEXTFIELD_SIZE);\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;\n\n @Input()\n public stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n public strictMatcher: TuiStringMatcher<T> | null = TUI_STRICT_MATCHER;\n\n @Input()\n public identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n public valueContent: PolymorpheusContent<TuiValueContentContext<T>>;\n\n @Input()\n public strict = true;\n\n @Input()\n public search: string | null = null;\n\n @Output()\n public readonly searchChange = new EventEmitter<string | null>();\n\n public open = false;\n\n public get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n public get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield?.nativeFocusableElement ?? null;\n }\n\n public get focused(): boolean {\n return (\n tuiIsFocused(this.nativeFocusableElement) || !!this.dropdown?.tuiDropdownOpen\n );\n }\n\n public get nativeValue(): string {\n return this.value === null ? this.search || '' : this.stringify(this.value);\n }\n\n public checkOption(option: T): void {\n if (!this.isStrictMatch(option)) {\n return;\n }\n\n this.value = option;\n this.updateSearch(null);\n }\n\n public handleOption(item: T): void {\n this.focusInput();\n this.close();\n this.updateSearch(null);\n this.value = item;\n\n if (this.value) {\n this.setNativeValue(this.stringify(item));\n }\n }\n\n public onValueChange(value: string): void {\n this.updateSearch(value);\n\n const match = this.accessor\n ?.getOptions()\n .find((item) => this.isStrictMatch(item));\n\n if (match !== undefined) {\n this.value = match;\n this.updateSearch(null);\n\n return;\n }\n\n if (this.strict || this.search === '') {\n this.value = null;\n }\n\n // Clearing sets the empty value, the dropdown should not be opened on clear.\n if (this.search !== '') {\n this.open = true;\n }\n }\n\n public toggle(): void {\n if (this.interactive) {\n this.open = !this.open;\n }\n }\n\n protected get arrow(): PolymorpheusContent<\n TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n protected get showValueTemplate(): boolean {\n return tuiIsPresent(this.value) && !this.focused;\n }\n\n protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>> {\n return this.valueContent || this.nativeValue;\n }\n\n protected onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected onFieldKeyDownEnter(event: Event): void {\n if (this.open) {\n event.preventDefault();\n }\n\n const options = this.accessor?.getOptions() || [];\n\n if (options.length !== 1) {\n return;\n }\n\n this.value = options[0] ?? null;\n this.updateSearch(null);\n this.close();\n }\n\n private isStrictMatch(item: T): boolean {\n return !!this.search && !!this.strictMatcher?.(item, this.search, this.stringify);\n }\n\n private close(): void {\n this.open = false;\n }\n\n private updateSearch(search: string | null): void {\n if (this.search === search) {\n return;\n }\n\n this.search = search;\n this.searchChange.emit(search);\n }\n\n private setNativeValue(value: string): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.value = value;\n }\n }\n\n private focusInput(preventScroll = false): void {\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus({preventScroll});\n }\n }\n}\n","<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"interactive && !!datalist\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-combo-box__textfield\"\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"arrow ? icon : ''\"\n [value]=\"nativeValue\"\n (click)=\"toggle()\"\n (keydown.enter)=\"onFieldKeyDownEnter($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content />\n <ng-content\n ngProjectAs=\"input\"\n select=\"input\"\n />\n @if (showValueTemplate) {\n <div\n automation-id=\"tui-combo-box__template\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value\"\n >\n <ng-container\n *polymorpheusOutlet=\"computedContent as text; context: {$implicit: value!, active: computedFocused}\"\n >\n {{ text }}\n </ng-container>\n </div>\n }\n </tui-primitive-textfield>\n\n <ng-template #icon>\n <div\n appearance=\"icon\"\n tuiWrapper\n class=\"t-icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\" />\n </div>\n </ng-template>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost} from '@taiga-ui/legacy/classes';\nimport {tuiAsTextfieldHost} from '@taiga-ui/legacy/tokens';\n\nimport {type TuiComboBoxComponent} from './combo-box.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-combo-box',\n providers: [tuiAsTextfieldHost(TuiComboBoxDirective)],\n})\nexport class TuiComboBoxDirective extends AbstractTuiTextfieldHost<\n TuiComboBoxComponent<unknown>\n> {\n public override get value(): string {\n return this.host.nativeValue;\n }\n\n public onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {Directive, inject, Input} from '@angular/core';\n\nimport {TuiComboBoxComponent} from './combo-box.component';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@Directive({\n standalone: false,\n selector: 'tui-combo-box[strict]',\n host: {\n '(input)': 'onInput()',\n },\n})\nexport class TuiComboBoxStrictDirective<T> {\n private readonly comboBox = inject(TuiComboBoxComponent<T | string>);\n\n @Input()\n public strict = true;\n\n protected onInput(): void {\n if (!this.strict && this.comboBox.search) {\n this.comboBox.value = this.comboBox.search;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiDropdown} from '@taiga-ui/core/directives/dropdown';\nimport {TuiArrowComponent} from '@taiga-ui/legacy/components/arrow';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/legacy/components/primitive-textfield';\nimport {TuiSelectOptionModule} from '@taiga-ui/legacy/components/select-option';\nimport {\n TuiLegacyDropdownOpenMonitorDirective,\n TuiTextfieldControllerModule,\n TuiWrapperModule,\n} from '@taiga-ui/legacy/directives';\nimport {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiComboBoxComponent} from './combo-box.component';\nimport {TuiComboBoxDirective} from './combo-box.directive';\nimport {TuiComboBoxStrictDirective} from './combo-box-strict.directive';\n\n/**\n * TODO(v5): delete it\n * @deprecated use new version of {@link https://taiga-ui.dev/components/combo-box TuiComboBox} (from @taiga-ui/kit) instead\n */\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusOutlet,\n PolymorpheusTemplate,\n TuiPrimitiveTextfieldModule,\n TuiSelectOptionModule,\n TuiArrowComponent,\n TuiWrapperModule,\n TuiTextfieldControllerModule,\n TuiLegacyDropdownOpenMonitorDirective,\n ...TuiDropdown,\n ],\n declarations: [\n TuiComboBoxComponent,\n TuiComboBoxStrictDirective,\n TuiComboBoxDirective,\n ],\n exports: [\n TuiComboBoxComponent,\n TuiComboBoxStrictDirective,\n TuiComboBoxDirective,\n TuiTextfieldComponent,\n ...TuiDropdown,\n ],\n})\nexport class TuiComboBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AA2CA;;;AAGG;AAkBG,MAAO,oBACT,SAAQ,0BAA6B,CAAA;AAlBzC,IAAA,WAAA,GAAA;;AA8BqB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC;AAClC,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAsB,kBAAkB,CAAC;AAC/D,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAMpD,QAAA,IAAA,CAAA,SAAS,GAAqC,IAAI,CAAC,aAAa,CAAC,SAAS;QAG1E,IAAa,CAAA,aAAA,GAA+B,kBAAkB;AAG9D,QAAA,IAAA,CAAA,eAAe,GAClB,IAAI,CAAC,aAAa,CAAC,eAAe;QAM/B,IAAM,CAAA,MAAA,GAAG,IAAI;QAGb,IAAM,CAAA,MAAA,GAAkB,IAAI;AAGnB,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAiB;QAEzD,IAAI,CAAA,IAAA,GAAG,KAAK;AAoItB;AAlIG,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI;;AAGlC,IAAA,IAAW,sBAAsB,GAAA;AAC7B,QAAA,OAAO,IAAI,CAAC,SAAS,EAAE,sBAAsB,IAAI,IAA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