@taiga-ui/legacy 4.4.1 → 4.5.0

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 (177) hide show
  1. package/classes/abstract-native-select.d.ts +1 -1
  2. package/components/color-selector/color-edit/color-edit.component.d.ts +1 -1
  3. package/components/input-date-range/input-date-range.component.d.ts +1 -4
  4. package/components/input-password/input-password.component.d.ts +4 -1
  5. package/components/input-password/input-password.directive.d.ts +3 -0
  6. package/components/input-password/input-password.module.d.ts +3 -0
  7. package/components/input-password/input-password.options.d.ts +12 -0
  8. package/components/input-tag/input-tag.component.d.ts +2 -1
  9. package/components/input-tag/input-tag.options.d.ts +1 -0
  10. package/components/input-time/native-time/native-time.component.d.ts +1 -1
  11. package/components/multi-select/multi-select.component.d.ts +2 -1
  12. package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -0
  13. package/components/primitive-textfield/textfield/textfield.component.d.ts +1 -1
  14. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +1 -1
  15. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -6
  16. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -6
  17. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -3
  18. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -6
  19. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -6
  20. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -6
  21. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -6
  22. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -6
  23. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -6
  24. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -6
  25. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -6
  26. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -6
  27. package/directives/textfield-controller/textfield.options.d.ts +0 -6
  28. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -3
  29. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -3
  30. package/directives/value-accessor/value-accessor.directive.d.ts +0 -3
  31. package/directives/value-accessor/value-accessor.module.d.ts +0 -3
  32. package/directives/value-accessor/value-accessor.provider.d.ts +0 -3
  33. package/esm2022/classes/abstract-native-select.mjs +4 -4
  34. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +2 -2
  35. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +2 -2
  36. package/esm2022/components/color-selector/color-selector.component.mjs +6 -6
  37. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +2 -2
  38. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +2 -2
  39. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +2 -2
  40. package/esm2022/components/color-selector/palette/palette.component.mjs +2 -2
  41. package/esm2022/components/combo-box/combo-box.component.mjs +4 -4
  42. package/esm2022/components/input/input.component.mjs +3 -3
  43. package/esm2022/components/input-color/input-color.component.mjs +3 -3
  44. package/esm2022/components/input-copy/input-copy.component.mjs +2 -2
  45. package/esm2022/components/input-date/input-date.component.mjs +3 -3
  46. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +2 -2
  47. package/esm2022/components/input-date-range/input-date-range.component.mjs +5 -19
  48. package/esm2022/components/input-date-time/input-date-time.component.mjs +4 -4
  49. package/esm2022/components/input-month/input-month.component.mjs +4 -4
  50. package/esm2022/components/input-month-range/input-month-range.component.mjs +2 -2
  51. package/esm2022/components/input-number/input-number.component.mjs +2 -2
  52. package/esm2022/components/input-password/input-password.component.mjs +6 -3
  53. package/esm2022/components/input-password/input-password.directive.mjs +4 -1
  54. package/esm2022/components/input-password/input-password.module.mjs +4 -1
  55. package/esm2022/components/input-password/input-password.options.mjs +10 -1
  56. package/esm2022/components/input-phone/input-phone.component.mjs +3 -3
  57. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +3 -3
  58. package/esm2022/components/input-range/input-range.component.mjs +2 -2
  59. package/esm2022/components/input-slider/input-slider.component.mjs +2 -2
  60. package/esm2022/components/input-tag/input-tag.component.mjs +9 -6
  61. package/esm2022/components/input-tag/input-tag.options.mjs +3 -2
  62. package/esm2022/components/input-time/input-time.component.mjs +3 -3
  63. package/esm2022/components/input-time/native-time/native-time.component.mjs +9 -9
  64. package/esm2022/components/input-year/input-year.component.mjs +2 -2
  65. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +1 -1
  66. package/esm2022/components/multi-select/multi-select.component.mjs +8 -5
  67. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +2 -2
  68. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +2 -2
  69. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +11 -4
  70. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +6 -6
  71. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +2 -2
  72. package/esm2022/components/select/native-select/native-select-group.component.mjs +2 -2
  73. package/esm2022/components/select/native-select/native-select.component.mjs +2 -2
  74. package/esm2022/components/select/select.component.mjs +3 -3
  75. package/esm2022/components/select-option/select-option.component.mjs +2 -2
  76. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +5 -4
  77. package/esm2022/components/sheet/components/sheet/sheet.providers.mjs +3 -3
  78. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +2 -2
  79. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +6 -6
  80. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +3 -3
  81. package/esm2022/components/svg/svg.component.mjs +3 -3
  82. package/esm2022/components/svg/svg.service.mjs +2 -2
  83. package/esm2022/components/table-bar/table-bar.component.mjs +3 -3
  84. package/esm2022/components/tag/tag.component.mjs +2 -2
  85. package/esm2022/components/textarea/textarea.component.mjs +2 -2
  86. package/esm2022/components/tooltip/tooltip.component.mjs +2 -2
  87. package/esm2022/directives/textfield-controller/textfield-appearance.directive.mjs +1 -7
  88. package/esm2022/directives/textfield-controller/textfield-cleaner.directive.mjs +1 -7
  89. package/esm2022/directives/textfield-controller/textfield-controller.module.mjs +1 -4
  90. package/esm2022/directives/textfield-controller/textfield-controller.provider.mjs +1 -7
  91. package/esm2022/directives/textfield-controller/textfield-custom-content.directive.mjs +1 -7
  92. package/esm2022/directives/textfield-controller/textfield-filler.directive.mjs +1 -7
  93. package/esm2022/directives/textfield-controller/textfield-icon-left.directive.mjs +1 -7
  94. package/esm2022/directives/textfield-controller/textfield-icon.directive.mjs +1 -7
  95. package/esm2022/directives/textfield-controller/textfield-label-outside.directive.mjs +1 -7
  96. package/esm2022/directives/textfield-controller/textfield-postfix.directive.mjs +1 -7
  97. package/esm2022/directives/textfield-controller/textfield-prefix.directive.mjs +1 -7
  98. package/esm2022/directives/textfield-controller/textfield-size.directive.mjs +1 -7
  99. package/esm2022/directives/textfield-controller/textfield.options.mjs +1 -4
  100. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +1 -4
  101. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +1 -4
  102. package/esm2022/directives/value-accessor/value-accessor.directive.mjs +1 -4
  103. package/esm2022/directives/value-accessor/value-accessor.module.mjs +1 -4
  104. package/esm2022/directives/value-accessor/value-accessor.provider.mjs +1 -4
  105. package/fesm2022/taiga-ui-legacy-classes.mjs +3 -3
  106. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +17 -17
  108. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +3 -3
  110. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +2 -2
  112. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +2 -2
  114. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +2 -2
  116. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +3 -17
  118. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +3 -3
  120. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +2 -2
  122. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +2 -2
  124. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +3 -3
  126. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +2 -2
  128. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +20 -2
  130. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +2 -2
  132. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +2 -2
  134. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +2 -2
  136. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +2 -2
  138. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +10 -6
  140. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +10 -10
  142. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
  143. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +2 -2
  144. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -1
  145. package/fesm2022/taiga-ui-legacy-components-input.mjs +2 -2
  146. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  147. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +11 -8
  148. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +17 -10
  150. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +2 -2
  152. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-legacy-components-select.mjs +6 -6
  154. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +15 -14
  156. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-legacy-components-svg.mjs +3 -3
  158. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +2 -2
  160. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-legacy-components-tag.mjs +2 -2
  162. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -2
  164. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +2 -2
  166. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -72
  168. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -6
  170. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -9
  172. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  173. package/package.json +1 -1
  174. package/styles/mixins/mixins.less +6 -6
  175. package/styles/mixins/textfield.less +10 -10
  176. package/styles/mixins/textfield.scss +1 -1
  177. package/utils/icons-path-factory.d.ts +1 -1
@@ -7,8 +7,8 @@ import * as i0 from "@angular/core";
7
7
  * @deprecated: drop in v5.0
8
8
  */
9
9
  export declare abstract class AbstractTuiNativeSelect<H = TuiTextfieldHost, T = string> {
10
- private readonly idService;
11
10
  protected readonly datalist: TemplateRef<any> | null;
11
+ protected readonly autoId: string;
12
12
  protected readonly el: HTMLSelectElement;
13
13
  protected readonly host: H;
14
14
  protected readonly control: AbstractTuiControl<any>;
@@ -6,7 +6,7 @@ export declare class TuiColorEditComponent {
6
6
  readonly colorChange: EventEmitter<[number, number, number, number]>;
7
7
  readonly hexMask: MaskitoOptions;
8
8
  readonly modes: string[];
9
- mode: string;
9
+ mode: string | undefined;
10
10
  get isHex(): boolean;
11
11
  get hex(): string;
12
12
  get opacity(): number;
@@ -1,4 +1,3 @@
1
- import type { AfterViewChecked } from '@angular/core';
2
1
  import type { MaskitoOptions } from '@maskito/core';
3
2
  import type { TuiDateMode, TuiDay, TuiDayLike } from '@taiga-ui/cdk/date-time';
4
3
  import { TuiDayRange, TuiMonth } from '@taiga-ui/cdk/date-time';
@@ -11,9 +10,8 @@ import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
11
10
  import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
12
11
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
13
12
  import * as i0 from "@angular/core";
14
- export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiFocusableElementAccessor, AfterViewChecked {
13
+ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiFocusableElementAccessor {
15
14
  private readonly textfield?;
16
- private readonly calendarRange?;
17
15
  private readonly isMobile;
18
16
  private readonly mobileCalendar;
19
17
  private readonly options;
@@ -38,7 +36,6 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
38
36
  get computedExampleText(): string;
39
37
  get computedValue(): string;
40
38
  onClick(): void;
41
- ngAfterViewChecked(): void;
42
39
  onValueChange(value: string): void;
43
40
  onRangeChange(range: TuiDayRange | null): void;
44
41
  writeValue(value: TuiDayRange | null): void;
@@ -6,6 +6,9 @@ import type { TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@ta
6
6
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
7
7
  import type { Observable } from 'rxjs';
8
8
  import * as i0 from "@angular/core";
9
+ /**
10
+ * @deprecated use {@link TuiInputPassword} instead
11
+ */
9
12
  export declare class TuiInputPasswordComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
10
13
  private readonly textfield?;
11
14
  private readonly textfieldSize;
@@ -13,7 +16,7 @@ export declare class TuiInputPasswordComponent extends AbstractTuiControl<string
13
16
  protected readonly directive$: Observable<any>;
14
17
  protected isPasswordHidden: boolean;
15
18
  protected readonly computedAppearance$: Observable<string>;
16
- protected readonly passwordTexts$: Observable<[show_password: string, hide_password: string]>;
19
+ protected readonly passwordTexts$: Observable<readonly [show_password: string, hide_password: string]>;
17
20
  protected readonly options: import("./input-password.options").TuiInputPasswordOptions;
18
21
  protected readonly type: TuiContext<TuiSizeL | TuiSizeS>;
19
22
  get nativeFocusableElement(): TuiNativeFocusableElement | null;
@@ -2,6 +2,9 @@ import type { DoCheck } from '@angular/core';
2
2
  import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
3
  import type { TuiInputPasswordComponent } from './input-password.component';
4
4
  import * as i0 from "@angular/core";
5
+ /**
6
+ * @deprecated use {@link TuiInputPassword} instead
7
+ */
5
8
  export declare class TuiInputPasswordDirective extends AbstractTuiTextfieldHost<TuiInputPasswordComponent> implements DoCheck {
6
9
  protected input?: HTMLInputElement;
7
10
  onValueChange(value: string): void;
@@ -9,6 +9,9 @@ import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
9
  import * as i8 from "@taiga-ui/legacy/directives";
10
10
  import * as i9 from "@taiga-ui/core/directives/appearance";
11
11
  import * as i10 from "@taiga-ui/core/components/icon";
12
+ /**
13
+ * @deprecated use {@link TuiInputPassword} instead
14
+ */
12
15
  export declare class TuiInputPasswordModule {
13
16
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordModule, never>;
14
17
  static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPasswordModule, [typeof i1.TuiInputPasswordComponent, typeof i2.TuiInputPasswordDirective], [typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer, typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiAppearance, typeof i10.TuiIcon], [typeof i1.TuiInputPasswordComponent, typeof i2.TuiInputPasswordDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
@@ -2,12 +2,24 @@ import type { Provider } from '@angular/core';
2
2
  import type { TuiContext } from '@taiga-ui/cdk/types';
3
3
  import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
4
4
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
+ /**
6
+ * @deprecated use {@link TuiInputPassword} instead
7
+ */
5
8
  export interface TuiInputPasswordOptions {
6
9
  readonly icons: Readonly<{
7
10
  hide: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
8
11
  show: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
9
12
  }>;
10
13
  }
14
+ /**
15
+ * @deprecated use {@link TuiInputPassword} instead
16
+ */
11
17
  export declare const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions;
18
+ /**
19
+ * @deprecated use {@link TuiInputPassword} instead
20
+ */
12
21
  export declare const TUI_INPUT_PASSWORD_OPTIONS: import("@angular/core").InjectionToken<TuiInputPasswordOptions>;
22
+ /**
23
+ * @deprecated use {@link TuiInputPassword} instead
24
+ */
13
25
  export declare function tuiInputPasswordOptionsProvider(options: Partial<TuiInputPasswordOptions>): Provider;
@@ -33,6 +33,7 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
33
33
  rows: number;
34
34
  inputHidden: boolean;
35
35
  uniqueTags: boolean;
36
+ autoColor: boolean;
36
37
  maxLength: number | null;
37
38
  placeholder: string;
38
39
  removable: boolean;
@@ -90,5 +91,5 @@ export declare class TuiInputTagComponent extends AbstractTuiMultipleControl<str
90
91
  private focusInput;
91
92
  private clippedValue;
92
93
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTagComponent, never>;
93
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": { "alias": "separator"; "required": false; }; "search": { "alias": "search"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "uniqueTags": { "alias": "uniqueTags"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "pseudoOpen": { "alias": "pseudoOpen"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "pseudoFocusedSetter": { "alias": "pseudoFocused"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist"], ["*", "tuiContent", "select"], false, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputTagComponent, "tui-input-tag", never, { "separator": { "alias": "separator"; "required": false; }; "search": { "alias": "search"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "uniqueTags": { "alias": "uniqueTags"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "pseudoOpen": { "alias": "pseudoOpen"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "pseudoFocusedSetter": { "alias": "pseudoFocused"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist"], ["*", "tuiContent", "select"], false, never>;
94
95
  }
@@ -1,6 +1,7 @@
1
1
  import type { Provider } from '@angular/core';
2
2
  import type { TuiStatus } from '@taiga-ui/legacy/utils';
3
3
  export interface TuiInputTagOptions {
4
+ readonly autoColor: boolean;
4
5
  readonly separator: RegExp | string;
5
6
  readonly tagStatus: TuiStatus;
6
7
  readonly uniqueTags: boolean;
@@ -2,7 +2,7 @@ import type { TuiInputTimeDirective } from '../input-time.directive';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiNativeTimeComponent {
4
4
  protected readonly host: TuiInputTimeDirective;
5
- protected readonly autoIdString: string;
5
+ protected readonly autoId: string;
6
6
  protected get items(): string[];
7
7
  protected get value(): string;
8
8
  protected get step(): number;
@@ -31,6 +31,7 @@ export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleContr
31
31
  valueContent: TuiMultiSelectOptions<T>['valueContent'];
32
32
  tagValidator: TuiBooleanHandler<T>;
33
33
  rows: TuiMultiSelectOptions<T>['rows'];
34
+ autoColor: boolean;
34
35
  readonly searchChange: EventEmitter<string | null>;
35
36
  get size(): TuiSizeL | TuiSizeS;
36
37
  get nativeFocusableElement(): HTMLInputElement | null;
@@ -61,5 +62,5 @@ export declare class TuiMultiSelectComponent<T> extends AbstractTuiMultipleContr
61
62
  protected onActiveZone(active: boolean): void;
62
63
  private updateSearch;
63
64
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectComponent<any>, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "nativeSelect", "datalist"], ["*", "select"], false, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectComponent<any>, "tui-multi-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; }, { "searchChange": "searchChange"; }, ["accessor", "nativeSelect", "datalist"], ["*", "select"], false, never>;
65
66
  }
@@ -61,6 +61,7 @@ export declare class TuiPrimitiveTextfieldComponent extends AbstractTuiInteracti
61
61
  protected onFocused(focused: boolean): void;
62
62
  protected clear(): void;
63
63
  protected onMouseDown(event: MouseEvent): void;
64
+ protected transitionStartHandler({ propertyName, target }: TransitionEvent): void;
64
65
  protected onAutofilled(autofilled: boolean): void;
65
66
  protected detectRetargetFromLabel(event: Event): void;
66
67
  private get iconPaddingLeft();
@@ -1,8 +1,8 @@
1
1
  import type { TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiTextfieldComponent {
4
+ private readonly autoId;
4
5
  private readonly el;
5
- private readonly idService;
6
6
  protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
7
7
  protected readonly host: TuiTextfieldHost;
8
8
  constructor();
@@ -6,7 +6,7 @@ export declare class TuiSheetHeadingComponent implements AfterViewInit {
6
6
  private readonly el;
7
7
  protected readonly closeWord$: import("rxjs").Observable<string>;
8
8
  protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
9
- protected readonly id: string;
9
+ protected readonly autoId: string;
10
10
  ngAfterViewInit(): void;
11
11
  protected onClick(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSheetHeadingComponent, never>;
@@ -1,12 +1,6 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare const TUI_TEXTFIELD_APPEARANCE_DIRECTIVE: import("@angular/core").InjectionToken<TuiTextfieldAppearanceDirective>;
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
4
  export declare class TuiTextfieldAppearanceDirective extends AbstractTuiController {
11
5
  appearance: string;
12
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldAppearanceDirective, never>;
@@ -1,12 +1,6 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare const TUI_TEXTFIELD_CLEANER: import("@angular/core").InjectionToken<TuiTextfieldCleanerDirective>;
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
4
  export declare class TuiTextfieldCleanerDirective extends AbstractTuiController {
11
5
  cleaner: boolean;
12
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldCleanerDirective, never>;
@@ -10,9 +10,6 @@ import * as i8 from "./textfield-prefix.directive";
10
10
  import * as i9 from "./textfield-postfix.directive";
11
11
  import * as i10 from "./textfield-filler.directive";
12
12
  import * as i11 from "@taiga-ui/polymorpheus";
13
- /**
14
- * @deprecated: drop in v5.0
15
- */
16
13
  export declare class TuiTextfieldControllerModule {
17
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldControllerModule, never>;
18
15
  static ɵmod: i0.ɵɵNgModuleDeclaration<TuiTextfieldControllerModule, [typeof i1.TuiTextfieldAppearanceDirective, typeof i2.TuiTextfieldCleanerDirective, typeof i3.TuiTextfieldCustomContentDirective, typeof i4.TuiTextfieldLabelOutsideDirective, typeof i5.TuiTextfieldSizeDirective, typeof i6.TuiTextfieldIconDirective, typeof i7.TuiTextfieldIconLeftDirective, typeof i8.TuiTextfieldPrefixDirective, typeof i9.TuiTextfieldPostfixDirective, typeof i10.TuiTextfieldFillerDirective], [typeof i11.PolymorpheusOutlet, typeof i11.PolymorpheusTemplate], [typeof i1.TuiTextfieldAppearanceDirective, typeof i2.TuiTextfieldCleanerDirective, typeof i3.TuiTextfieldCustomContentDirective, typeof i4.TuiTextfieldLabelOutsideDirective, typeof i5.TuiTextfieldSizeDirective, typeof i6.TuiTextfieldIconDirective, typeof i7.TuiTextfieldIconLeftDirective, typeof i8.TuiTextfieldPrefixDirective, typeof i9.TuiTextfieldPostfixDirective, typeof i10.TuiTextfieldFillerDirective, typeof i11.PolymorpheusOutlet, typeof i11.PolymorpheusTemplate]>;
@@ -1,11 +1,5 @@
1
1
  import type { Provider } from '@angular/core';
2
2
  import { InjectionToken } from '@angular/core';
3
3
  import { TuiTextfieldController } from './textfield.controller';
4
- /**
5
- * @deprecated: drop in v5.0
6
- */
7
4
  export declare const TUI_TEXTFIELD_WATCHED_CONTROLLER: InjectionToken<TuiTextfieldController>;
8
- /**
9
- * @deprecated: drop in v5.0
10
- */
11
5
  export declare const TEXTFIELD_CONTROLLER_PROVIDER: Provider;
@@ -1,13 +1,7 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
3
  import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: drop in v5.0
6
- */
7
4
  export declare const TUI_TEXTFIELD_CUSTOM_CONTENT: import("@angular/core").InjectionToken<TuiTextfieldCustomContentDirective>;
8
- /**
9
- * @deprecated: drop in v5.0
10
- */
11
5
  export declare class TuiTextfieldCustomContentDirective extends AbstractTuiController {
12
6
  customContent: PolymorpheusContent;
13
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldCustomContentDirective, never>;
@@ -1,12 +1,6 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare const TUI_TEXTFIELD_FILLER: import("@angular/core").InjectionToken<TuiTextfieldFillerDirective>;
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
4
  export declare class TuiTextfieldFillerDirective extends AbstractTuiController {
11
5
  filler: string;
12
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldFillerDirective, never>;
@@ -3,13 +3,7 @@ import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
3
3
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
4
4
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
5
  import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
6
  export declare const TUI_TEXTFIELD_ICON_LEFT: import("@angular/core").InjectionToken<TuiTextfieldIconLeftDirective>;
10
- /**
11
- * @deprecated: drop in v5.0
12
- */
13
7
  export declare class TuiTextfieldIconLeftDirective extends AbstractTuiController {
14
8
  iconStart: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
15
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldIconLeftDirective, never>;
@@ -3,13 +3,7 @@ import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
3
3
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
4
4
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
5
  import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
6
  export declare const TUI_TEXTFIELD_ICON: import("@angular/core").InjectionToken<TuiTextfieldIconDirective>;
10
- /**
11
- * @deprecated: drop in v5.0
12
- */
13
7
  export declare class TuiTextfieldIconDirective extends AbstractTuiController {
14
8
  icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
15
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldIconDirective, never>;
@@ -1,12 +1,6 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare const TUI_TEXTFIELD_LABEL_OUTSIDE: import("@angular/core").InjectionToken<TuiTextfieldLabelOutsideDirective>;
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
4
  export declare class TuiTextfieldLabelOutsideDirective extends AbstractTuiController {
11
5
  labelOutside: boolean;
12
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldLabelOutsideDirective, never>;
@@ -1,12 +1,6 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare const TUI_TEXTFIELD_POSTFIX: import("@angular/core").InjectionToken<TuiTextfieldPostfixDirective>;
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
4
  export declare class TuiTextfieldPostfixDirective extends AbstractTuiController {
11
5
  postfix: string;
12
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldPostfixDirective, never>;
@@ -1,12 +1,6 @@
1
1
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare const TUI_TEXTFIELD_PREFIX: import("@angular/core").InjectionToken<TuiTextfieldPrefixDirective>;
7
- /**
8
- * @deprecated: drop in v5.0
9
- */
10
4
  export declare class TuiTextfieldPrefixDirective extends AbstractTuiController {
11
5
  prefix: string;
12
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldPrefixDirective, never>;
@@ -1,13 +1,7 @@
1
1
  import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
2
2
  import { AbstractTuiController } from '@taiga-ui/legacy/classes';
3
3
  import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: drop in v5.0
6
- */
7
4
  export declare const TUI_TEXTFIELD_SIZE: import("@angular/core").InjectionToken<TuiTextfieldSizeDirective>;
8
- /**
9
- * @deprecated: drop in v5.0
10
- */
11
5
  export declare class TuiTextfieldSizeDirective extends AbstractTuiController {
12
6
  size: TuiSizeL | TuiSizeS;
13
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldSizeDirective, never>;
@@ -2,9 +2,6 @@ import type { Provider } from '@angular/core';
2
2
  import type { TuiContext } from '@taiga-ui/cdk/types';
3
3
  import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
4
4
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
- /**
6
- * @deprecated: drop in v5.0
7
- */
8
5
  export interface TuiTextfieldOptions {
9
6
  readonly hintOnDisabled: boolean;
10
7
  readonly iconCleaner: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
@@ -19,7 +16,4 @@ export declare const TUI_TEXTFIELD_DEFAULT_OPTIONS: TuiTextfieldOptions;
19
16
  * Default parameters for textfield
20
17
  */
21
18
  export declare const TUI_TEXTFIELD_OPTIONS: import("@angular/core").InjectionToken<TuiTextfieldOptions>;
22
- /**
23
- * @deprecated: drop in v5.0
24
- */
25
19
  export declare function tuiTextfieldOptionsProvider(options: Partial<TuiTextfieldOptions>): Provider;
@@ -1,8 +1,5 @@
1
1
  import type { Validator } from '@angular/forms';
2
2
  import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare class TuiUnfinishedValidator implements Validator {
7
4
  private readonly injector;
8
5
  readonly validate: import("@angular/forms").ValidatorFn;
@@ -1,7 +1,4 @@
1
1
  import type { ValidatorFn } from '@angular/forms';
2
2
  import type { TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
3
3
  import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- /**
5
- * @deprecated: drop in v5.0
6
- */
7
4
  export declare function tuiCreateUnfinishedValidator(nativeInputGetter: () => TuiFocusableElementAccessor, message: PolymorpheusContent): ValidatorFn;
@@ -1,7 +1,4 @@
1
1
  import * as i0 from "@angular/core";
2
- /**
3
- * @deprecated: drop in v5.0
4
- */
5
2
  export declare class TuiValueAccessorDirective {
6
3
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiValueAccessorDirective, never>;
7
4
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiValueAccessorDirective, "[tuiValueAccessor]", never, {}, {}, never, never, false, never>;
@@ -1,8 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./value-accessor.directive";
3
- /**
4
- * @deprecated: drop in v5.0
5
- */
6
3
  export declare class TuiValueAccessorModule {
7
4
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiValueAccessorModule, never>;
8
5
  static ɵmod: i0.ɵɵNgModuleDeclaration<TuiValueAccessorModule, [typeof i1.TuiValueAccessorDirective], never, [typeof i1.TuiValueAccessorDirective]>;
@@ -1,5 +1,2 @@
1
1
  import type { FactoryProvider } from '@angular/core';
2
- /**
3
- * @deprecated: drop in v5.0
4
- */
5
2
  export declare const TUI_VALUE_ACCESSOR_PROVIDER: FactoryProvider;
@@ -1,5 +1,5 @@
1
1
  import { Directive, inject, Input, TemplateRef, ViewChild } from '@angular/core';
2
- import { TuiIdService } from '@taiga-ui/cdk/services';
2
+ import { tuiInjectId } from '@taiga-ui/cdk/services';
3
3
  import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
4
4
  import { TuiDataListDirective } from '@taiga-ui/core/components/data-list';
5
5
  import { TUI_ITEMS_HANDLERS } from '@taiga-ui/kit/tokens';
@@ -11,8 +11,8 @@ import * as i0 from "@angular/core";
11
11
  */
12
12
  class AbstractTuiNativeSelect {
13
13
  constructor() {
14
- this.idService = inject(TuiIdService);
15
14
  this.datalist = null;
15
+ this.autoId = tuiInjectId();
16
16
  this.el = tuiInjectElement();
17
17
  this.host = inject(TUI_TEXTFIELD_HOST);
18
18
  this.control = inject(AbstractTuiControl);
@@ -21,7 +21,7 @@ class AbstractTuiNativeSelect {
21
21
  this.placeholder = '';
22
22
  }
23
23
  get id() {
24
- return this.el.id || this.idService.generate();
24
+ return this.el.id || this.autoId;
25
25
  }
26
26
  get emptyOption() {
27
27
  return !!this.placeholder && !this.control.value;
@@ -45,4 +45,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
45
45
  }], placeholder: [{
46
46
  type: Input
47
47
  }] } });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2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ljIHBsYWNlaG9sZGVyID0gJyc7XG5cbiAgICBwcm90ZWN0ZWQgZ2V0IGlkKCk6IHN0cmluZyB7XG4gICAgICAgIHJldHVybiB0aGlzLmVsLmlkIHx8IHRoaXMuYXV0b0lkO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBnZXQgZW1wdHlPcHRpb24oKTogYm9vbGVhbiB7XG4gICAgICAgIHJldHVybiAhIXRoaXMucGxhY2Vob2xkZXIgJiYgIXRoaXMuY29udHJvbC52YWx1ZTtcbiAgICB9XG59XG4iXX0=
@@ -45,12 +45,12 @@ class TuiColorEditComponent {
45
45
  this.colorChange.emit(color);
46
46
  }
47
47
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiColorEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
48
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiColorEditComponent, selector: "tui-color-edit", inputs: { color: "color" }, outputs: { colorChange: "colorChange" }, ngImport: i0, template: "<tui-select\n tuiDropdownAlign=\"left\"\n tuiDropdownLimitWidth=\"min\"\n tuiTextfieldSize=\"m\"\n class=\"t-select\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n [(ngModel)]=\"mode\"\n>\n <tui-data-list\n *tuiDataList\n size=\"s\"\n >\n <button\n *ngFor=\"let item of modes\"\n tuiOption\n [value]=\"item\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</tui-select>\n<tui-primitive-textfield\n *ngIf=\"isHex; else rgb\"\n tuiTextfieldSize=\"m\"\n [maskito]=\"hexMask\"\n [tuiTextfieldLabelOutside]=\"true\"\n [value]=\"hex\"\n (valueChange)=\"onHexChange($event)\"\n/>\n<ng-template #rgb>\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[0]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange($event, color[1], color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[1]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], $event, color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[2]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], $event, color[3])\"\n />\n</ng-template>\n<tui-input-number\n tuiTextfieldPostfix=\"%\"\n tuiTextfieldSize=\"m\"\n class=\"t-opacity\"\n [max]=\"100\"\n [min]=\"0\"\n [ngModel]=\"opacity\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], color[2], $event / 100)\"\n/>\n", styles: [":host{display:flex}.t-select{width:5.875rem}.t-opacity{width:4.275rem}.t-rgb,.t-opacity{text-align:center}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "component", type: i4.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i4.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i5.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { kind: "directive", type: i5.TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: ["tuiTextfieldSize"] }, { kind: "directive", type: i5.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }, { kind: "component", type: i6.TuiInputNumberComponent, selector: "tui-input-number", inputs: ["min", "max", "step"] }, { kind: "directive", type: i6.TuiInputNumberDirective, selector: "tui-input-number" }, { kind: "component", type: i7.TuiSelectComponent, selector: "tui-select", inputs: ["stringify", "identityMatcher", "valueContent"] }, { kind: "directive", type: i7.TuiSelectDirective, selector: "tui-select" }, { kind: "directive", type: i8.TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: ["tuiDropdownAlign", "tuiDropdownAppearance", "tuiDropdownDirection", "tuiDropdownLimitWidth", "tuiDropdownMinHeight", "tuiDropdownMaxHeight", "tuiDropdownOffset"] }, { kind: "component", type: i9.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "directive", type: i9.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { kind: "component", type: i9.TuiOption, selector: "button[tuiOption], a[tuiOption], label[tuiOption]", inputs: ["disabled", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiColorEditComponent, selector: "tui-color-edit", inputs: { color: "color" }, outputs: { colorChange: "colorChange" }, ngImport: i0, template: "<tui-select\n tuiDropdownAlign=\"left\"\n tuiDropdownLimitWidth=\"min\"\n tuiTextfieldSize=\"m\"\n class=\"t-select\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n [(ngModel)]=\"mode\"\n>\n <tui-data-list\n *tuiDataList\n size=\"s\"\n >\n <button\n *ngFor=\"let item of modes\"\n tuiOption\n [value]=\"item\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</tui-select>\n<tui-primitive-textfield\n *ngIf=\"isHex; else rgb\"\n tuiTextfieldSize=\"m\"\n [maskito]=\"hexMask\"\n [tuiTextfieldLabelOutside]=\"true\"\n [value]=\"hex\"\n (valueChange)=\"onHexChange($event)\"\n/>\n<ng-template #rgb>\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[0]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange($event, color[1], color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[1]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], $event, color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[2]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], $event, color[3])\"\n />\n</ng-template>\n<tui-input-number\n tuiTextfieldPostfix=\"%\"\n tuiTextfieldSize=\"m\"\n class=\"t-opacity\"\n [max]=\"100\"\n [min]=\"0\"\n [ngModel]=\"opacity\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], color[2], $event / 100)\"\n/>\n", styles: [":host{display:flex}.t-select{inline-size:5.875rem}.t-opacity{inline-size:4.275rem}.t-rgb,.t-opacity{text-align:center}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "component", type: i4.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "iconCleaner", "readOnly", "invalid", "disabled", "value"], outputs: ["valueChange"] }, { kind: "directive", type: i4.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { kind: "directive", type: i5.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { kind: "directive", type: i5.TuiTextfieldSizeDirective, selector: "[tuiTextfieldSize]", inputs: ["tuiTextfieldSize"] }, { kind: "directive", type: i5.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }, { kind: "component", type: i6.TuiInputNumberComponent, selector: "tui-input-number", inputs: ["min", "max", "step"] }, { kind: "directive", type: i6.TuiInputNumberDirective, selector: "tui-input-number" }, { kind: "component", type: i7.TuiSelectComponent, selector: "tui-select", inputs: ["stringify", "identityMatcher", "valueContent"] }, { kind: "directive", type: i7.TuiSelectDirective, selector: "tui-select" }, { kind: "directive", type: i8.TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: ["tuiDropdownAlign", "tuiDropdownAppearance", "tuiDropdownDirection", "tuiDropdownLimitWidth", "tuiDropdownMinHeight", "tuiDropdownMaxHeight", "tuiDropdownOffset"] }, { kind: "component", type: i9.TuiDataListComponent, selector: "tui-data-list", inputs: ["emptyContent", "size"] }, { kind: "directive", type: i9.TuiDataListDirective, selector: "ng-template[tuiDataList]" }, { kind: "component", type: i9.TuiOption, selector: "button[tuiOption], a[tuiOption], label[tuiOption]", inputs: ["disabled", "value"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
49
  }
50
50
  export { TuiColorEditComponent };
51
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiColorEditComponent, decorators: [{
52
52
  type: Component,
53
- args: [{ selector: 'tui-color-edit', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-select\n tuiDropdownAlign=\"left\"\n tuiDropdownLimitWidth=\"min\"\n tuiTextfieldSize=\"m\"\n class=\"t-select\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n [(ngModel)]=\"mode\"\n>\n <tui-data-list\n *tuiDataList\n size=\"s\"\n >\n <button\n *ngFor=\"let item of modes\"\n tuiOption\n [value]=\"item\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</tui-select>\n<tui-primitive-textfield\n *ngIf=\"isHex; else rgb\"\n tuiTextfieldSize=\"m\"\n [maskito]=\"hexMask\"\n [tuiTextfieldLabelOutside]=\"true\"\n [value]=\"hex\"\n (valueChange)=\"onHexChange($event)\"\n/>\n<ng-template #rgb>\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[0]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange($event, color[1], color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[1]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], $event, color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[2]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], $event, color[3])\"\n />\n</ng-template>\n<tui-input-number\n tuiTextfieldPostfix=\"%\"\n tuiTextfieldSize=\"m\"\n class=\"t-opacity\"\n [max]=\"100\"\n [min]=\"0\"\n [ngModel]=\"opacity\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], color[2], $event / 100)\"\n/>\n", styles: [":host{display:flex}.t-select{width:5.875rem}.t-opacity{width:4.275rem}.t-rgb,.t-opacity{text-align:center}\n"] }]
53
+ args: [{ selector: 'tui-color-edit', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-select\n tuiDropdownAlign=\"left\"\n tuiDropdownLimitWidth=\"min\"\n tuiTextfieldSize=\"m\"\n class=\"t-select\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n [(ngModel)]=\"mode\"\n>\n <tui-data-list\n *tuiDataList\n size=\"s\"\n >\n <button\n *ngFor=\"let item of modes\"\n tuiOption\n [value]=\"item\"\n >\n {{ item }}\n </button>\n </tui-data-list>\n</tui-select>\n<tui-primitive-textfield\n *ngIf=\"isHex; else rgb\"\n tuiTextfieldSize=\"m\"\n [maskito]=\"hexMask\"\n [tuiTextfieldLabelOutside]=\"true\"\n [value]=\"hex\"\n (valueChange)=\"onHexChange($event)\"\n/>\n<ng-template #rgb>\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[0]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange($event, color[1], color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[1]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], $event, color[2], color[3])\"\n />\n <tui-input-number\n tuiTextfieldSize=\"m\"\n class=\"t-rgb\"\n [max]=\"255\"\n [min]=\"0\"\n [ngModel]=\"color[2]\"\n [ngModelOptions]=\"{standalone: true}\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], $event, color[3])\"\n />\n</ng-template>\n<tui-input-number\n tuiTextfieldPostfix=\"%\"\n tuiTextfieldSize=\"m\"\n class=\"t-opacity\"\n [max]=\"100\"\n [min]=\"0\"\n [ngModel]=\"opacity\"\n [ngModelOptions]=\"{standalone: true}\"\n [style.flex]=\"'0 0 auto'\"\n [tuiTextfieldLabelOutside]=\"true\"\n (ngModelChange)=\"onRgbChange(color[0], color[1], color[2], $event / 100)\"\n/>\n", styles: [":host{display:flex}.t-select{inline-size:5.875rem}.t-opacity{inline-size:4.275rem}.t-rgb,.t-opacity{text-align:center}\n"] }]
54
54
  }], propDecorators: { color: [{
55
55
  type: Input
56
56
  }], colorChange: [{
@@ -53,7 +53,7 @@ class TuiColorPickerComponent {
53
53
  this.colorChange.emit([...this.currentColor, this.opacity]);
54
54
  }
55
55
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
56
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiColorPickerComponent, selector: "tui-color-picker", inputs: { color: "color" }, outputs: { colorChange: "colorChange" }, ngImport: i0, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{height:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-bottom:.25rem;overflow:hidden}.t-wrapper{position:relative;margin:1rem 1.25rem;border-radius:.5rem}.t-wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:inset 0 0 0 1px #00000014;pointer-events:none;border-radius:inherit}.t-wrapper_hue{background:red}.t-wrapper_opacity:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";z-index:-1;background-image:linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03)),linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03));background-size:.375rem .375rem;background-position:0 0,.1875rem .1875rem;border-radius:inherit}.t-hue{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:inherit;margin:0 .5rem}.t-opacity{border-radius:inherit;margin:0 .5rem}\n"], dependencies: [{ kind: "component", type: i1.TuiFlatPickerComponent, selector: "tui-flat-picker", inputs: ["value"], outputs: ["valueChange"] }, { kind: "component", type: i2.TuiLinearPickerComponent, selector: "tui-linear-picker", inputs: ["value"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
56
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiColorPickerComponent, selector: "tui-color-picker", inputs: { color: "color" }, outputs: { colorChange: "colorChange" }, ngImport: i0, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{block-size:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-bottom:.25rem;overflow:hidden}.t-wrapper{position:relative;margin:1rem 1.25rem;border-radius:.5rem}.t-wrapper:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";box-shadow:inset 0 0 0 1px #00000014;pointer-events:none;border-radius:inherit}.t-wrapper_hue{background:red}.t-wrapper_opacity:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";z-index:-1;background-image:linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03)),linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03));background-size:.375rem .375rem;background-position:0 0,.1875rem .1875rem;border-radius:inherit}.t-hue{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:inherit;margin:0 .5rem}.t-opacity{border-radius:inherit;margin:0 .5rem}\n"], dependencies: [{ kind: "component", type: i1.TuiFlatPickerComponent, selector: "tui-flat-picker", inputs: ["value"], outputs: ["valueChange"] }, { kind: "component", type: i2.TuiLinearPickerComponent, selector: "tui-linear-picker", inputs: ["value"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
57
57
  }
58
58
  __decorate([
59
59
  tuiPure
@@ -61,7 +61,7 @@ __decorate([
61
61
  export { TuiColorPickerComponent };
62
62
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiColorPickerComponent, decorators: [{
63
63
  type: Component,
64
- args: [{ selector: 'tui-color-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{height:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-bottom:.25rem;overflow:hidden}.t-wrapper{position:relative;margin:1rem 1.25rem;border-radius:.5rem}.t-wrapper:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:inset 0 0 0 1px #00000014;pointer-events:none;border-radius:inherit}.t-wrapper_hue{background:red}.t-wrapper_opacity:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";z-index:-1;background-image:linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03)),linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03));background-size:.375rem .375rem;background-position:0 0,.1875rem .1875rem;border-radius:inherit}.t-hue{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:inherit;margin:0 .5rem}.t-opacity{border-radius:inherit;margin:0 .5rem}\n"] }]
64
+ args: [{ selector: 'tui-color-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: "<tui-flat-picker\n class=\"t-flat\"\n [style.backgroundColor]=\"base\"\n [value]=\"point\"\n (valueChange)=\"onPointChange($event)\"\n/>\n<div class=\"t-wrapper t-wrapper_hue\">\n <tui-linear-picker\n class=\"t-hue\"\n [value]=\"hue\"\n (valueChange)=\"onHueChange($event)\"\n />\n</div>\n<div\n class=\"t-wrapper t-wrapper_opacity\"\n [style.background]=\"gradient\"\n>\n <tui-linear-picker\n class=\"t-opacity\"\n [value]=\"opacity\"\n (valueChange)=\"onOpacityChange($event)\"\n />\n</div>\n", styles: [":host{position:relative;display:block;isolation:isolate}.t-flat{block-size:14rem;background:linear-gradient(#0000,#000),linear-gradient(to right,#fff,#fff0);margin-bottom:.25rem;overflow:hidden}.t-wrapper{position:relative;margin:1rem 1.25rem;border-radius:.5rem}.t-wrapper:after{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";box-shadow:inset 0 0 0 1px #00000014;pointer-events:none;border-radius:inherit}.t-wrapper_hue{background:red}.t-wrapper_opacity:before{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;content:\"\";z-index:-1;background-image:linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03)),linear-gradient(45deg,var(--tui-base-03) 25%,transparent 25%,transparent 75%,var(--tui-base-03) 75%,var(--tui-base-03));background-size:.375rem .375rem;background-position:0 0,.1875rem .1875rem;border-radius:inherit}.t-hue{background:linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red);border-radius:inherit;margin:0 .5rem}.t-opacity{border-radius:inherit;margin:0 .5rem}\n"] }]
65
65
  }], propDecorators: { colorChange: [{
66
66
  type: Output
67
67
  }], color: [{