@taiga-ui/kit 3.38.0 → 3.39.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.
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +23 -7
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +17 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +22 -4
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +20 -4
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js +42 -8
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +22 -6
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +33 -3
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +24 -8
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +20 -4
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +17 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/{taiga-ui-kit-components-text-area.umd.js → taiga-ui-kit-components-textarea.umd.js} +82 -65
- package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -0
- package/bundles/taiga-ui-kit-components.umd.js +6 -6
- package/bundles/taiga-ui-kit-utils-files.umd.js +6 -6
- package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +2 -2
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/components/calendar-month/calendar-month.component.d.ts +4 -2
- package/components/calendar-range/calendar-range.component.d.ts +4 -2
- package/components/index.d.ts +1 -1
- package/components/input-count/input-count.component.d.ts +4 -2
- package/components/input-date/input-date.component.d.ts +4 -2
- package/components/input-date-range/input-date-range.component.d.ts +4 -2
- package/components/input-date-time/input-date-time.component.d.ts +6 -3
- package/components/input-month/input-month.component.d.ts +6 -2
- package/components/input-number/input-number.component.d.ts +4 -2
- package/components/input-range/input-range.component.d.ts +4 -2
- package/components/input-year/input-year.component.d.ts +4 -2
- package/components/textarea/deprecated.d.ts +15 -0
- package/components/textarea/index.d.ts +4 -0
- package/components/textarea/package.json +10 -0
- package/components/{text-area/taiga-ui-kit-components-text-area.d.ts → textarea/taiga-ui-kit-components-textarea.d.ts} +1 -1
- package/components/{text-area/text-area.component.d.ts → textarea/textarea.component.d.ts} +3 -3
- package/components/textarea/textarea.directive.d.ts +8 -0
- package/components/{text-area/text-area.module.d.ts → textarea/textarea.module.d.ts} +6 -6
- package/esm2015/components/calendar-month/calendar-month.component.js +13 -5
- package/esm2015/components/calendar-range/calendar-range.component.js +10 -2
- package/esm2015/components/index.js +2 -2
- package/esm2015/components/input-count/input-count.component.js +15 -5
- package/esm2015/components/input-date/input-date.component.js +12 -4
- package/esm2015/components/input-date/input-date.directive.js +3 -3
- package/esm2015/components/input-date-range/input-date-range.component.js +14 -6
- package/esm2015/components/input-date-time/input-date-time.component.js +35 -9
- package/esm2015/components/input-files/input-files.options.js +2 -2
- package/esm2015/components/input-month/input-month.component.js +18 -4
- package/esm2015/components/input-number/input-number.component.js +17 -9
- package/esm2015/components/input-range/input-range.component.js +13 -5
- package/esm2015/components/input-tag/input-tag.component.js +2 -2
- package/esm2015/components/input-year/input-year.component.js +10 -2
- package/esm2015/components/textarea/deprecated.js +16 -0
- package/esm2015/components/textarea/index.js +5 -0
- package/esm2015/components/textarea/taiga-ui-kit-components-textarea.js +5 -0
- package/esm2015/components/textarea/textarea.component.js +217 -0
- package/esm2015/components/textarea/textarea.directive.js +19 -0
- package/esm2015/components/textarea/textarea.module.js +51 -0
- package/esm2015/utils/files/format-size.js +7 -7
- package/esm2015/utils/math/key-steps.js +3 -3
- package/fesm2015/taiga-ui-kit-components-calendar-month.js +12 -4
- package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js +9 -1
- package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-count.js +14 -4
- package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-range.js +13 -5
- package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date-time.js +34 -8
- package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-date.js +13 -5
- package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-month.js +17 -3
- package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-number.js +16 -8
- package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-range.js +12 -4
- package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js +1 -1
- package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js +9 -1
- package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
- package/fesm2015/taiga-ui-kit-components-textarea.js +297 -0
- package/fesm2015/taiga-ui-kit-components-textarea.js.map +1 -0
- package/fesm2015/taiga-ui-kit-components.js +1 -1
- package/fesm2015/taiga-ui-kit-utils-files.js +6 -6
- package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
- package/fesm2015/taiga-ui-kit-utils-math.js +2 -2
- package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
- package/package.json +4 -4
- package/bundles/taiga-ui-kit-components-text-area.umd.js.map +0 -1
- package/components/text-area/index.d.ts +0 -3
- package/components/text-area/package.json +0 -10
- package/components/text-area/text-area.directive.d.ts +0 -8
- package/esm2015/components/text-area/index.js +0 -4
- package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
- package/esm2015/components/text-area/text-area.component.js +0 -217
- package/esm2015/components/text-area/text-area.directive.js +0 -18
- package/esm2015/components/text-area/text-area.module.js +0 -51
- package/fesm2015/taiga-ui-kit-components-text-area.js +0 -283
- package/fesm2015/taiga-ui-kit-components-text-area.js.map +0 -1
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChild, ContentChild, Input, HostBinding, HostListener, Directive, NgModule } from '@angular/core';
|
|
3
|
-
import * as i3 from '@angular/forms';
|
|
4
|
-
import { NgControl, FormsModule } from '@angular/forms';
|
|
5
|
-
import * as i4 from '@taiga-ui/cdk';
|
|
6
|
-
import { AbstractTuiControl, tuiIsNativeFocused, TUI_IS_IOS, tuiAsFocusableItemAccessor, tuiAsControl, TuiFocusableModule } from '@taiga-ui/cdk';
|
|
7
|
-
import * as i1 from '@taiga-ui/core';
|
|
8
|
-
import { TUI_ICON_PADDINGS, tuiGetBorder, TUI_MODE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TuiHintOptionsDirective, TEXTFIELD_CONTROLLER_PROVIDER, MODE_PROVIDER, TuiTextfieldComponent, AbstractTuiTextfieldHost, tuiAsTextfieldHost, TuiScrollbarModule, TuiTooltipModule, TuiWrapperModule, TuiSvgModule, TuiPrimitiveTextfieldModule } from '@taiga-ui/core';
|
|
9
|
-
import * as i2 from '@angular/common';
|
|
10
|
-
import { CommonModule } from '@angular/common';
|
|
11
|
-
import * as i5 from '@tinkoff/ng-polymorpheus';
|
|
12
|
-
import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
|
|
13
|
-
import * as i6 from 'rxjs';
|
|
14
|
-
|
|
15
|
-
const DEFAULT_ROWS = 20;
|
|
16
|
-
const LINE_HEIGHT_M = 20;
|
|
17
|
-
const LINE_HEIGHT_L = 24;
|
|
18
|
-
class TuiTextAreaComponent extends AbstractTuiControl {
|
|
19
|
-
constructor(control, cdr, isIOS, mode$, controller, hintOptions) {
|
|
20
|
-
super(control, cdr);
|
|
21
|
-
this.isIOS = isIOS;
|
|
22
|
-
this.mode$ = mode$;
|
|
23
|
-
this.controller = controller;
|
|
24
|
-
this.hintOptions = hintOptions;
|
|
25
|
-
this.rows = DEFAULT_ROWS;
|
|
26
|
-
this.maxLength = null;
|
|
27
|
-
this.expandable = false;
|
|
28
|
-
}
|
|
29
|
-
get labelOutside() {
|
|
30
|
-
return this.controller.labelOutside;
|
|
31
|
-
}
|
|
32
|
-
get nativeFocusableElement() {
|
|
33
|
-
var _a, _b;
|
|
34
|
-
if (this.computedDisabled) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return (((_a = this.textfield) === null || _a === void 0 ? void 0 : _a.nativeElement) || ((_b = this.focusableElement) === null || _b === void 0 ? void 0 : _b.nativeElement) || null);
|
|
38
|
-
}
|
|
39
|
-
get focused() {
|
|
40
|
-
return tuiIsNativeFocused(this.nativeFocusableElement);
|
|
41
|
-
}
|
|
42
|
-
get appearance() {
|
|
43
|
-
return this.controller.appearance;
|
|
44
|
-
}
|
|
45
|
-
get size() {
|
|
46
|
-
return this.controller.size;
|
|
47
|
-
}
|
|
48
|
-
get borderStart() {
|
|
49
|
-
return this.iconLeftContent ? TUI_ICON_PADDINGS[this.size] : 0;
|
|
50
|
-
}
|
|
51
|
-
get borderEnd() {
|
|
52
|
-
return tuiGetBorder(!!this.iconContent, this.hasCleaner, this.hasTooltip, this.hasCustomContent, this.size);
|
|
53
|
-
}
|
|
54
|
-
get hasCleaner() {
|
|
55
|
-
return this.controller.cleaner && this.hasValue && this.interactive;
|
|
56
|
-
}
|
|
57
|
-
get hasTooltip() {
|
|
58
|
-
var _a;
|
|
59
|
-
return (!!((_a = this.hintOptions) === null || _a === void 0 ? void 0 : _a.content) &&
|
|
60
|
-
(this.controller.options.hintOnDisabled || !this.computedDisabled));
|
|
61
|
-
}
|
|
62
|
-
get hasValue() {
|
|
63
|
-
return this.value !== '';
|
|
64
|
-
}
|
|
65
|
-
get hasCounter() {
|
|
66
|
-
return !!this.maxLength && this.interactive;
|
|
67
|
-
}
|
|
68
|
-
get hasPlaceholder() {
|
|
69
|
-
return this.placeholderRaisable || (!this.hasValue && !this.hasExampleText);
|
|
70
|
-
}
|
|
71
|
-
get hasCustomContent() {
|
|
72
|
-
return !!this.controller.customContent;
|
|
73
|
-
}
|
|
74
|
-
get iconLeftContent() {
|
|
75
|
-
return this.controller.iconLeft;
|
|
76
|
-
}
|
|
77
|
-
get iconContent() {
|
|
78
|
-
return this.controller.icon;
|
|
79
|
-
}
|
|
80
|
-
get iconCleaner() {
|
|
81
|
-
return this.controller.options.iconCleaner;
|
|
82
|
-
}
|
|
83
|
-
get hasExampleText() {
|
|
84
|
-
var _a;
|
|
85
|
-
return (!!((_a = this.textfield) === null || _a === void 0 ? void 0 : _a.nativeElement.placeholder) &&
|
|
86
|
-
this.focused &&
|
|
87
|
-
!this.hasValue &&
|
|
88
|
-
!this.readOnly);
|
|
89
|
-
}
|
|
90
|
-
get computeMaxHeight() {
|
|
91
|
-
return this.expandable ? this.rows * this.lineHeight : null;
|
|
92
|
-
}
|
|
93
|
-
get placeholderRaised() {
|
|
94
|
-
return (this.placeholderRaisable &&
|
|
95
|
-
((this.computedFocused && !this.readOnly) || this.hasValue));
|
|
96
|
-
}
|
|
97
|
-
get fittedContent() {
|
|
98
|
-
return this.value.slice(0, this.maxLength || Infinity);
|
|
99
|
-
}
|
|
100
|
-
get extraContent() {
|
|
101
|
-
return this.value.slice(this.maxLength || Infinity);
|
|
102
|
-
}
|
|
103
|
-
onFocused(focused) {
|
|
104
|
-
this.updateFocused(focused);
|
|
105
|
-
}
|
|
106
|
-
onValueChange(value) {
|
|
107
|
-
this.value = value;
|
|
108
|
-
}
|
|
109
|
-
onMouseDown(event) {
|
|
110
|
-
if (event.target === this.nativeFocusableElement) {
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
|
-
event.preventDefault();
|
|
114
|
-
if (this.nativeFocusableElement) {
|
|
115
|
-
this.nativeFocusableElement.focus();
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
getFallbackValue() {
|
|
119
|
-
return '';
|
|
120
|
-
}
|
|
121
|
-
get lineHeight() {
|
|
122
|
-
return this.controller.size === 'm' ? LINE_HEIGHT_M : LINE_HEIGHT_L;
|
|
123
|
-
}
|
|
124
|
-
get placeholderRaisable() {
|
|
125
|
-
return this.size !== 's' && !this.controller.labelOutside;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
TuiTextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_IS_IOS }, { token: TUI_MODE }, { token: TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: TuiHintOptionsDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
129
|
-
TuiTextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextAreaComponent, selector: "tui-text-area", inputs: { rows: "rows", maxLength: "maxLength", expandable: "expandable" }, host: { listeners: { "$.data-mode.attr": "mode$", "focusin": "onFocused(true)", "focusout": "onFocused(false)" }, properties: { "class._ios": "isIOS", "class._expandable": "this.expandable", "class._label-outside": "this.labelOutside", "attr.data-size": "this.size", "style.--border-start.rem": "this.borderStart", "style.--border-end.rem": "this.borderEnd", "class._has-tooltip": "this.hasTooltip", "class._has-value": "this.hasValue", "class._has-counter": "this.hasCounter" } }, providers: [
|
|
130
|
-
tuiAsFocusableItemAccessor(TuiTextAreaComponent),
|
|
131
|
-
tuiAsControl(TuiTextAreaComponent),
|
|
132
|
-
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
133
|
-
MODE_PROVIDER,
|
|
134
|
-
], queries: [{ propertyName: "textfield", first: true, predicate: TuiTextfieldComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"hintOptions?.change$ | async\"></ng-container>\n<div\n tuiWrapper\n automation-id=\"tui-text-area__wrapper\"\n class=\"t-outline\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [invalid]=\"computedInvalid\"\n>\n <div\n *ngIf=\"hasCounter\"\n automation-id=\"tui-text-area__counter\"\n class=\"t-counter\"\n >\n {{ value.length }}/{{ maxLength }}\n </div>\n\n <label\n class=\"t-content\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-wrapper\">\n <div\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-text-area__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content></ng-content>\n </div>\n <tui-scrollbar\n automation-id=\"tui-text-area__scrollbar\"\n class=\"t-box\"\n [style.maxHeight.px]=\"computeMaxHeight\"\n >\n <div class=\"t-input-wrapper\">\n <div class=\"t-relative\">\n <div\n aria-hidden=\"true\"\n class=\"t-pseudo-content\"\n >\n <span [textContent]=\"fittedContent || nativeFocusableElement?.placeholder\"></span>\n <span\n class=\"t-pseudo-content__extra\"\n [textContent]=\"extraContent\"\n ></span>\n \n </div>\n <textarea\n #focusableElement\n automation-id=\"tui-text-area__native\"\n class=\"t-input\"\n [id]=\"id\"\n [tuiFocusable]=\"computedFocusable\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [(ngModel)]=\"value\"\n ></textarea>\n <ng-content select=\"textarea\"></ng-content>\n </div>\n </div>\n </tui-scrollbar>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"iconLeftContent\"\n class=\"t-icon t-icon_left t-textfield-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeftContent as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n <ng-container *ngIf=\"hasCustomContent\">\n <tui-svg\n *polymorpheusOutlet=\"controller.customContent as src\"\n [src]=\"src\"\n ></tui-svg>\n </ng-container>\n <ng-container *ngIf=\"hasCleaner\">\n <tui-svg\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n class=\"t-cleaner\"\n [src]=\"src\"\n (click.stop)=\"onValueChange('')\"\n ></tui-svg>\n </ng-container>\n <tui-tooltip\n *ngIf=\"hasTooltip\"\n automation-id=\"tui-text-area__tooltip\"\n [describeId]=\"id\"\n [content]=\"hintOptions?.content\"\n ></tui-tooltip>\n <div\n *ngIf=\"iconContent\"\n class=\"t-icon t-textfield-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconContent as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n </label>\n</div>\n", styles: [":host{position:relative;z-index:0;display:flex;flex-direction:column;min-height:var(--tui-textarea-height);border-radius:var(--tui-radius-m);color:var(--tui-text-01)}:host[data-mode=onDark]{color:var(--tui-text-01-night)}:host[data-size=s]{--tui-height: var(--tui-height-s);--tui-textarea-height: 4.5625rem;font:var(--tui-font-text-s)}:host[data-size=m]{--tui-height: var(--tui-height-m);--tui-textarea-height: 5.5rem;font:var(--tui-font-text-s)}:host[data-size=l]{--tui-height: var(--tui-height-l);--tui-textarea-height: 6.75rem;font:var(--tui-font-text-m)}:host[data-size=m]._has-counter{--tui-textarea-height: 6.625rem}:host[data-size=l]._has-counter{--tui-textarea-height: 7.875rem}.t-outline{min-height:inherit}.t-content{display:block;margin-top:0;margin-bottom:0;min-height:inherit;box-sizing:border-box;overflow:hidden;cursor:text}:host._disabled .t-content{cursor:auto;opacity:var(--tui-disabled-opacity)}:host:not(._expandable) .t-content{position:absolute;top:0;left:0;bottom:1px;right:0;min-height:auto}:host._has-counter:not(._expandable) .t-content{bottom:1.6875rem}.t-wrapper{position:relative;width:100%;height:100%;min-height:inherit;box-sizing:border-box;padding:calc((var(--tui-height) - 1.25rem) / 2) 0}:host[data-size=l]._label-outside .t-wrapper{padding:calc((var(--tui-height) - 1.5rem) / 2) 0}:host[data-size=m]:not(._label-outside) .t-wrapper{padding:calc((var(--tui-height) - 2.25rem) / 2) 0}:host[data-size=l]:not(._label-outside) .t-wrapper{padding:calc((var(--tui-height) - 2.625rem) / 2) 0}:host-context(table)[data-size=m]._label-outside .t-wrapper{padding-bottom:.75rem}:host-context(table)[data-size=l]._label-outside .t-wrapper{padding-bottom:1rem}.t-input-wrapper{min-height:inherit;width:100%;flex:1}.t-relative{position:relative;min-height:inherit}.t-box{display:flex;min-height:calc(100% - 1rem);width:100%}:host:not(._expandable) .t-box{height:calc(100% - 1rem)}:host._has-counter._expandable .t-box{margin-bottom:1.25rem}:host[data-size=m]:not(._label-outside) .t-box{border-top:1rem solid transparent}:host[data-size=l]:not(._label-outside) .t-box{border-top:1.25rem solid transparent}.t-pseudo-content{white-space:pre-wrap;word-wrap:break-word;pointer-events:none;color:transparent;overflow:hidden;border:solid transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0)}:host[data-size=s] .t-pseudo-content,:host[data-size=m] .t-pseudo-content{padding:0 .75rem}:host[data-size=l] .t-pseudo-content{padding:0 1rem}.t-pseudo-content__extra{background-color:var(--tui-error-bg-night)}.t-input{padding:0;margin:0;border:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;box-sizing:border-box;resize:none;overflow:hidden;outline:none;border:solid transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0)}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{caret-color:var(--tui-base-09);border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input:not(:last-of-type){display:none}.t-input::placeholder{color:var(--tui-text-03);opacity:0}:host[data-mode=onDark] .t-input::placeholder{color:var(--tui-text-03-night)}:host._focused .t-input:not(:-moz-read-only)::placeholder{opacity:1}:host._focused .t-input:not(:read-only)::placeholder{opacity:1}:host[data-size=s] .t-input,:host[data-size=m] .t-input{padding:0 .75rem}:host[data-size=l] .t-input{padding:0 1rem}:host[data-mode=onDark]._disabled .t-input{color:var(--tui-text-03-night)}@supports (-webkit-marquee-repetition: infinite) and (object-fit: fill){:host._ios .t-input{padding-left:.8125rem}}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0);position:absolute;top:calc(var(--tui-height) / 2 - .625rem);left:0;max-width:100%;border:solid transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);box-sizing:border-box}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host._invalid:not(._focused) [tuiWrapper][data-mode=onDark] .t-placeholder_raised,:host._invalid:not(._focused):hover [tuiWrapper][data-mode=onDark] .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size=m]._focused._label-outside .t-placeholder,:host[data-size=l]._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size=l] .t-placeholder{font:var(--tui-font-text-m);line-height:1.25rem}:host[data-size=l] .t-placeholder_raised{font-size:.8156rem}:host[data-size=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}[tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-01-night)}:host._focused [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=m]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}:host[data-size=s] .t-placeholder{padding:0 .75rem}:host[data-size=m] .t-placeholder{padding:0 .75rem}:host[data-size=l] .t-placeholder{padding:0 1rem}:host._label-outside .t-placeholder{overflow:initial;height:auto;white-space:initial}.t-icons{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;justify-content:flex-end;pointer-events:none;padding:calc((var(--tui-height) - 1.5rem) / 2) 1rem}:host[data-size=m] .t-icons{padding:calc((var(--tui-height) - 1.5rem) / 2) .625rem}.t-icons>:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}.t-icon{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}.t-icon_left{-webkit-margin-end:auto;margin-inline-end:auto}.t-cleaner{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}:host._readonly .t-cleaner,:host._disabled .t-cleaner{pointer-events:none}.t-counter{position:absolute;right:.75rem;bottom:.5rem;font:var(--tui-font-text-s);pointer-events:none;margin-top:auto;text-align:right;color:var(--tui-text-03)}:host[data-mode=onDark] .t-counter{color:var(--tui-text-03-night)}\n"], components: [{ type: i1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1.TuiTooltipComponent, selector: "tui-tooltip", inputs: ["content", "direction", "appearance", "showDelay", "hideDelay", "describeId"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i5.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
135
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaComponent, decorators: [{
|
|
136
|
-
type: Component,
|
|
137
|
-
args: [{
|
|
138
|
-
selector: 'tui-text-area',
|
|
139
|
-
templateUrl: './text-area.template.html',
|
|
140
|
-
styleUrls: ['./text-area.style.less'],
|
|
141
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
142
|
-
providers: [
|
|
143
|
-
tuiAsFocusableItemAccessor(TuiTextAreaComponent),
|
|
144
|
-
tuiAsControl(TuiTextAreaComponent),
|
|
145
|
-
TEXTFIELD_CONTROLLER_PROVIDER,
|
|
146
|
-
MODE_PROVIDER,
|
|
147
|
-
],
|
|
148
|
-
host: {
|
|
149
|
-
'($.data-mode.attr)': 'mode$',
|
|
150
|
-
'[class._ios]': 'isIOS',
|
|
151
|
-
},
|
|
152
|
-
}]
|
|
153
|
-
}], ctorParameters: function () { return [{ type: i3.NgControl, decorators: [{
|
|
154
|
-
type: Optional
|
|
155
|
-
}, {
|
|
156
|
-
type: Self
|
|
157
|
-
}, {
|
|
158
|
-
type: Inject,
|
|
159
|
-
args: [NgControl]
|
|
160
|
-
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
161
|
-
type: Inject,
|
|
162
|
-
args: [ChangeDetectorRef]
|
|
163
|
-
}] }, { type: undefined, decorators: [{
|
|
164
|
-
type: Inject,
|
|
165
|
-
args: [TUI_IS_IOS]
|
|
166
|
-
}] }, { type: i6.Observable, decorators: [{
|
|
167
|
-
type: Inject,
|
|
168
|
-
args: [TUI_MODE]
|
|
169
|
-
}] }, { type: i1.TuiTextfieldController, decorators: [{
|
|
170
|
-
type: Inject,
|
|
171
|
-
args: [TUI_TEXTFIELD_WATCHED_CONTROLLER]
|
|
172
|
-
}] }, { type: i1.TuiHintOptionsDirective, decorators: [{
|
|
173
|
-
type: Optional
|
|
174
|
-
}, {
|
|
175
|
-
type: Inject,
|
|
176
|
-
args: [TuiHintOptionsDirective]
|
|
177
|
-
}] }]; }, propDecorators: { focusableElement: [{
|
|
178
|
-
type: ViewChild,
|
|
179
|
-
args: ['focusableElement']
|
|
180
|
-
}], textfield: [{
|
|
181
|
-
type: ContentChild,
|
|
182
|
-
args: [TuiTextfieldComponent, { read: ElementRef }]
|
|
183
|
-
}], rows: [{
|
|
184
|
-
type: Input
|
|
185
|
-
}], maxLength: [{
|
|
186
|
-
type: Input
|
|
187
|
-
}], expandable: [{
|
|
188
|
-
type: Input
|
|
189
|
-
}, {
|
|
190
|
-
type: HostBinding,
|
|
191
|
-
args: ['class._expandable']
|
|
192
|
-
}], labelOutside: [{
|
|
193
|
-
type: HostBinding,
|
|
194
|
-
args: ['class._label-outside']
|
|
195
|
-
}], size: [{
|
|
196
|
-
type: HostBinding,
|
|
197
|
-
args: ['attr.data-size']
|
|
198
|
-
}], borderStart: [{
|
|
199
|
-
type: HostBinding,
|
|
200
|
-
args: ['style.--border-start.rem']
|
|
201
|
-
}], borderEnd: [{
|
|
202
|
-
type: HostBinding,
|
|
203
|
-
args: ['style.--border-end.rem']
|
|
204
|
-
}], hasTooltip: [{
|
|
205
|
-
type: HostBinding,
|
|
206
|
-
args: ['class._has-tooltip']
|
|
207
|
-
}], hasValue: [{
|
|
208
|
-
type: HostBinding,
|
|
209
|
-
args: ['class._has-value']
|
|
210
|
-
}], hasCounter: [{
|
|
211
|
-
type: HostBinding,
|
|
212
|
-
args: ['class._has-counter']
|
|
213
|
-
}], onFocused: [{
|
|
214
|
-
type: HostListener,
|
|
215
|
-
args: ['focusin', ['true']]
|
|
216
|
-
}, {
|
|
217
|
-
type: HostListener,
|
|
218
|
-
args: ['focusout', ['false']]
|
|
219
|
-
}] } });
|
|
220
|
-
|
|
221
|
-
class TuiTextAreaDirective extends AbstractTuiTextfieldHost {
|
|
222
|
-
onValueChange(value) {
|
|
223
|
-
this.host.onValueChange(value);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
TuiTextAreaDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
227
|
-
TuiTextAreaDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiTextAreaDirective, selector: "tui-text-area", providers: [tuiAsTextfieldHost(TuiTextAreaDirective)], usesInheritance: true, ngImport: i0 });
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaDirective, decorators: [{
|
|
229
|
-
type: Directive,
|
|
230
|
-
args: [{
|
|
231
|
-
selector: 'tui-text-area',
|
|
232
|
-
providers: [tuiAsTextfieldHost(TuiTextAreaDirective)],
|
|
233
|
-
}]
|
|
234
|
-
}] });
|
|
235
|
-
|
|
236
|
-
class TuiTextAreaModule {
|
|
237
|
-
}
|
|
238
|
-
TuiTextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
239
|
-
TuiTextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaModule, declarations: [TuiTextAreaComponent, TuiTextAreaDirective], imports: [CommonModule,
|
|
240
|
-
FormsModule,
|
|
241
|
-
TuiFocusableModule,
|
|
242
|
-
TuiScrollbarModule,
|
|
243
|
-
TuiTooltipModule,
|
|
244
|
-
TuiWrapperModule,
|
|
245
|
-
TuiSvgModule,
|
|
246
|
-
TuiPrimitiveTextfieldModule,
|
|
247
|
-
PolymorpheusModule], exports: [TuiTextAreaComponent, TuiTextAreaDirective, TuiTextfieldComponent] });
|
|
248
|
-
TuiTextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaModule, imports: [[
|
|
249
|
-
CommonModule,
|
|
250
|
-
FormsModule,
|
|
251
|
-
TuiFocusableModule,
|
|
252
|
-
TuiScrollbarModule,
|
|
253
|
-
TuiTooltipModule,
|
|
254
|
-
TuiWrapperModule,
|
|
255
|
-
TuiSvgModule,
|
|
256
|
-
TuiPrimitiveTextfieldModule,
|
|
257
|
-
PolymorpheusModule,
|
|
258
|
-
]] });
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiTextAreaModule, decorators: [{
|
|
260
|
-
type: NgModule,
|
|
261
|
-
args: [{
|
|
262
|
-
imports: [
|
|
263
|
-
CommonModule,
|
|
264
|
-
FormsModule,
|
|
265
|
-
TuiFocusableModule,
|
|
266
|
-
TuiScrollbarModule,
|
|
267
|
-
TuiTooltipModule,
|
|
268
|
-
TuiWrapperModule,
|
|
269
|
-
TuiSvgModule,
|
|
270
|
-
TuiPrimitiveTextfieldModule,
|
|
271
|
-
PolymorpheusModule,
|
|
272
|
-
],
|
|
273
|
-
declarations: [TuiTextAreaComponent, TuiTextAreaDirective],
|
|
274
|
-
exports: [TuiTextAreaComponent, TuiTextAreaDirective, TuiTextfieldComponent],
|
|
275
|
-
}]
|
|
276
|
-
}] });
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Generated bundle index. Do not edit.
|
|
280
|
-
*/
|
|
281
|
-
|
|
282
|
-
export { DEFAULT_ROWS, LINE_HEIGHT_L, LINE_HEIGHT_M, TuiTextAreaComponent, TuiTextAreaDirective, TuiTextAreaModule };
|
|
283
|
-
//# sourceMappingURL=taiga-ui-kit-components-text-area.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-text-area.js","sources":["../../../projects/kit/components/text-area/text-area.component.ts","../../../projects/kit/components/text-area/text-area.template.html","../../../projects/kit/components/text-area/text-area.directive.ts","../../../projects/kit/components/text-area/text-area.module.ts","../../../projects/kit/components/text-area/taiga-ui-kit-components-text-area.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n TUI_IS_IOS,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n TuiContextWithImplicit,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_ICON_PADDINGS,\n TUI_MODE,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiBrightness,\n tuiGetBorder,\n TuiHintOptionsDirective,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldComponent,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nexport const DEFAULT_ROWS = 20;\nexport const LINE_HEIGHT_M = 20;\nexport const LINE_HEIGHT_L = 24;\n\n@Component({\n selector: 'tui-text-area',\n templateUrl: './text-area.template.html',\n styleUrls: ['./text-area.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiTextAreaComponent),\n tuiAsControl(TuiTextAreaComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n ],\n host: {\n '($.data-mode.attr)': 'mode$',\n '[class._ios]': 'isIOS',\n },\n})\nexport class TuiTextAreaComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild('focusableElement')\n private readonly focusableElement?: ElementRef<HTMLTextAreaElement>;\n\n @ContentChild(TuiTextfieldComponent, {read: ElementRef})\n private readonly textfield?: ElementRef<HTMLTextAreaElement>;\n\n @Input()\n rows = DEFAULT_ROWS;\n\n @Input()\n maxLength: number | null = null;\n\n @Input()\n @HostBinding('class._expandable')\n expandable = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) cdr: ChangeDetectorRef,\n @Inject(TUI_IS_IOS) readonly isIOS: boolean,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Optional()\n @Inject(TuiHintOptionsDirective)\n readonly hintOptions: TuiHintOptionsDirective | null,\n ) {\n super(control, cdr);\n }\n\n @HostBinding('class._label-outside')\n get labelOutside(): boolean {\n return this.controller.labelOutside;\n }\n\n get nativeFocusableElement(): HTMLTextAreaElement | null {\n if (this.computedDisabled) {\n return null;\n }\n\n return (\n this.textfield?.nativeElement || this.focusableElement?.nativeElement || null\n );\n }\n\n get focused(): boolean {\n return tuiIsNativeFocused(this.nativeFocusableElement);\n }\n\n get appearance(): string {\n return this.controller.appearance;\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.controller.size;\n }\n\n @HostBinding('style.--border-start.rem')\n get borderStart(): number {\n return this.iconLeftContent ? TUI_ICON_PADDINGS[this.size] : 0;\n }\n\n @HostBinding('style.--border-end.rem')\n get borderEnd(): number {\n return tuiGetBorder(\n !!this.iconContent,\n this.hasCleaner,\n this.hasTooltip,\n this.hasCustomContent,\n this.size,\n );\n }\n\n get hasCleaner(): boolean {\n return this.controller.cleaner && this.hasValue && this.interactive;\n }\n\n @HostBinding('class._has-tooltip')\n get hasTooltip(): boolean {\n return (\n !!this.hintOptions?.content &&\n (this.controller.options.hintOnDisabled || !this.computedDisabled)\n );\n }\n\n @HostBinding('class._has-value')\n get hasValue(): boolean {\n return this.value !== '';\n }\n\n @HostBinding('class._has-counter')\n get hasCounter(): boolean {\n return !!this.maxLength && this.interactive;\n }\n\n get hasPlaceholder(): boolean {\n return this.placeholderRaisable || (!this.hasValue && !this.hasExampleText);\n }\n\n get hasCustomContent(): boolean {\n return !!this.controller.customContent;\n }\n\n get iconLeftContent(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeL | TuiSizeS>\n > {\n return this.controller.iconLeft;\n }\n\n get iconContent(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.controller.icon;\n }\n\n get iconCleaner(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.controller.options.iconCleaner;\n }\n\n get hasExampleText(): boolean {\n return (\n !!this.textfield?.nativeElement.placeholder &&\n this.focused &&\n !this.hasValue &&\n !this.readOnly\n );\n }\n\n get computeMaxHeight(): number | null {\n return this.expandable ? this.rows * this.lineHeight : null;\n }\n\n get placeholderRaised(): boolean {\n return (\n this.placeholderRaisable &&\n ((this.computedFocused && !this.readOnly) || this.hasValue)\n );\n }\n\n get fittedContent(): string {\n return this.value.slice(0, this.maxLength || Infinity);\n }\n\n get extraContent(): string {\n return this.value.slice(this.maxLength || Infinity);\n }\n\n @HostListener('focusin', ['true'])\n @HostListener('focusout', ['false'])\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onValueChange(value: string): void {\n this.value = value;\n }\n\n onMouseDown(event: MouseEvent): void {\n if (event.target === this.nativeFocusableElement) {\n return;\n }\n\n event.preventDefault();\n\n if (this.nativeFocusableElement) {\n this.nativeFocusableElement.focus();\n }\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n private get lineHeight(): number {\n return this.controller.size === 'm' ? LINE_HEIGHT_M : LINE_HEIGHT_L;\n }\n\n private get placeholderRaisable(): boolean {\n return this.size !== 's' && !this.controller.labelOutside;\n }\n}\n","<ng-container *ngIf=\"hintOptions?.change$ | async\"></ng-container>\n<div\n tuiWrapper\n automation-id=\"tui-text-area__wrapper\"\n class=\"t-outline\"\n [appearance]=\"appearance\"\n [disabled]=\"disabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [invalid]=\"computedInvalid\"\n>\n <div\n *ngIf=\"hasCounter\"\n automation-id=\"tui-text-area__counter\"\n class=\"t-counter\"\n >\n {{ value.length }}/{{ maxLength }}\n </div>\n\n <label\n class=\"t-content\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-wrapper\">\n <div\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-text-area__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content></ng-content>\n </div>\n <tui-scrollbar\n automation-id=\"tui-text-area__scrollbar\"\n class=\"t-box\"\n [style.maxHeight.px]=\"computeMaxHeight\"\n >\n <div class=\"t-input-wrapper\">\n <div class=\"t-relative\">\n <div\n aria-hidden=\"true\"\n class=\"t-pseudo-content\"\n >\n <span [textContent]=\"fittedContent || nativeFocusableElement?.placeholder\"></span>\n <span\n class=\"t-pseudo-content__extra\"\n [textContent]=\"extraContent\"\n ></span>\n \n </div>\n <textarea\n #focusableElement\n automation-id=\"tui-text-area__native\"\n class=\"t-input\"\n [id]=\"id\"\n [tuiFocusable]=\"computedFocusable\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [(ngModel)]=\"value\"\n ></textarea>\n <ng-content select=\"textarea\"></ng-content>\n </div>\n </div>\n </tui-scrollbar>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"iconLeftContent\"\n class=\"t-icon t-icon_left t-textfield-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeftContent as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n <ng-container *ngIf=\"hasCustomContent\">\n <tui-svg\n *polymorpheusOutlet=\"controller.customContent as src\"\n [src]=\"src\"\n ></tui-svg>\n </ng-container>\n <ng-container *ngIf=\"hasCleaner\">\n <tui-svg\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n class=\"t-cleaner\"\n [src]=\"src\"\n (click.stop)=\"onValueChange('')\"\n ></tui-svg>\n </ng-container>\n <tui-tooltip\n *ngIf=\"hasTooltip\"\n automation-id=\"tui-text-area__tooltip\"\n [describeId]=\"id\"\n [content]=\"hintOptions?.content\"\n ></tui-tooltip>\n <div\n *ngIf=\"iconContent\"\n class=\"t-icon t-textfield-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconContent as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n </label>\n</div>\n","import {Directive} from '@angular/core';\nimport {AbstractTuiTextfieldHost, tuiAsTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiTextAreaComponent} from './text-area.component';\n\n@Directive({\n selector: 'tui-text-area',\n providers: [tuiAsTextfieldHost(TuiTextAreaDirective)],\n})\nexport class TuiTextAreaDirective extends AbstractTuiTextfieldHost<TuiTextAreaComponent> {\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiFocusableModule} from '@taiga-ui/cdk';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiScrollbarModule,\n TuiSvgModule,\n TuiTextfieldComponent,\n TuiTooltipModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTextAreaComponent} from './text-area.component';\nimport {TuiTextAreaDirective} from './text-area.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiFocusableModule,\n TuiScrollbarModule,\n TuiTooltipModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiPrimitiveTextfieldModule,\n PolymorpheusModule,\n ],\n declarations: [TuiTextAreaComponent, TuiTextAreaDirective],\n exports: [TuiTextAreaComponent, TuiTextAreaDirective, TuiTextfieldComponent],\n})\nexport class TuiTextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAyCO,MAAM,YAAY,GAAG,GAAG;AACxB,MAAM,aAAa,GAAG,GAAG;AACzB,MAAM,aAAa,GAAG,GAAG;AAkB1B,MAAO,oBACT,SAAQ,kBAA0B,CAAA;IAmBlC,WAII,CAAA,OAAyB,EACE,GAAsB,EACpB,KAAc,EAChB,KAAuC,EAEzD,UAAkC,EAGlC,WAA2C,EAAA;AAEpD,QAAA,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QARS,IAAK,CAAA,KAAA,GAAL,KAAK,CAAS;QAChB,IAAK,CAAA,KAAA,GAAL,KAAK,CAAkC;QAEzD,IAAU,CAAA,UAAA,GAAV,UAAU,CAAwB;QAGlC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAgC;QArBxD,IAAI,CAAA,IAAA,GAAG,YAAY,CAAC;QAGpB,IAAS,CAAA,SAAA,GAAkB,IAAI,CAAC;QAIhC,IAAU,CAAA,UAAA,GAAG,KAAK,CAAC;KAiBlB;AAED,IAAA,IACI,YAAY,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC;KACvC;AAED,IAAA,IAAI,sBAAsB,GAAA;;QACtB,IAAI,IAAI,CAAC,gBAAgB,EAAE;AACvB,YAAA,OAAO,IAAI,CAAC;AACf,SAAA;AAED,QAAA,QACI,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,SAAS,0CAAE,aAAa,MAAI,MAAA,IAAI,CAAC,gBAAgB,MAAE,IA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