@taiga-ui/legacy 4.52.0-canary.91aeb4a → 4.52.0-canary.974ca4b

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 (89) hide show
  1. package/README.md +1 -1
  2. package/classes/abstract-textfield-host.d.ts +1 -1
  3. package/components/arrow/arrow.options.d.ts +1 -3
  4. package/components/arrow/arrow.providers.d.ts +1 -6
  5. package/components/dialog/dialog.component.d.ts +3 -4
  6. package/components/dialog/dialog.directive.d.ts +4 -3
  7. package/components/dialog/dialog.interfaces.d.ts +3 -4
  8. package/components/dialog/dialog.service.d.ts +5 -2
  9. package/components/dialog/dialog.tokens.d.ts +1 -3
  10. package/components/index.d.ts +1 -5
  11. package/components/input-date-range/input-date-range.component.d.ts +1 -2
  12. package/components/input-date-time/input-date-time.component.d.ts +1 -2
  13. package/components/input-number/input-number.component.d.ts +1 -2
  14. package/components/input-number/input-number.options.d.ts +1 -7
  15. package/components/mobile-dialog/index.d.ts +3 -0
  16. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  17. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  18. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  19. package/components/pdf-viewer/pdf-viewer.component.d.ts +2 -2
  20. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -3
  21. package/components/pdf-viewer/pdf-viewer.options.d.ts +1 -3
  22. package/components/pdf-viewer/pdf-viewer.service.d.ts +7 -3
  23. package/components/primitive-textfield/primitive-textfield-options.d.ts +2 -2
  24. package/components/select/select.options.d.ts +1 -7
  25. package/directives/textfield-controller/textfield.options.d.ts +1 -3
  26. package/fesm2022/taiga-ui-legacy-classes.mjs +1 -3
  27. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +4 -17
  29. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +28 -21
  31. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +8 -14
  33. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +8 -14
  35. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +14 -29
  37. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  39. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  40. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +27 -21
  41. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-legacy-components-select.mjs +4 -12
  43. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-legacy-components.mjs +1 -5
  45. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -1
  47. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +3 -7
  49. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -1
  51. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  52. package/package.json +11 -24
  53. package/utils/icons-path-factory.d.ts +1 -1
  54. package/components/input-tag/index.d.ts +0 -3
  55. package/components/input-tag/input-tag.component.d.ts +0 -103
  56. package/components/input-tag/input-tag.module.d.ts +0 -22
  57. package/components/input-tag/input-tag.options.d.ts +0 -27
  58. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  59. package/components/multi-select/index.d.ts +0 -10
  60. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  61. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  62. package/components/multi-select/multi-select.component.d.ts +0 -71
  63. package/components/multi-select/multi-select.directive.d.ts +0 -14
  64. package/components/multi-select/multi-select.module.d.ts +0 -30
  65. package/components/multi-select/multi-select.options.d.ts +0 -14
  66. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  67. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  68. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  69. package/components/multi-select-option/index.d.ts +0 -2
  70. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  71. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  72. package/components/tag/index.d.ts +0 -3
  73. package/components/tag/tag.component.d.ts +0 -44
  74. package/components/tag/tag.module.d.ts +0 -16
  75. package/components/tag/tag.options.d.ts +0 -27
  76. package/components/textarea/index.d.ts +0 -3
  77. package/components/textarea/textarea.component.d.ts +0 -54
  78. package/components/textarea/textarea.directive.d.ts +0 -12
  79. package/components/textarea/textarea.module.d.ts +0 -21
  80. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  81. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  82. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  83. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  84. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -686
  85. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  86. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  87. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  88. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  89. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
@@ -1,524 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, EventEmitter, signal, ElementRef, TemplateRef, Input, Output, ViewChild, ContentChild, ViewChildren, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { EMPTY_QUERY, TUI_TRUE_HANDLER, TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
5
- import { tuiInjectElement, tuiRetargetedBoundaryCrossing, tuiGetActualTarget, tuiIsElement, tuiGetClipboardDataText } from '@taiga-ui/cdk/utils/dom';
6
- import { tuiIsFocusedIn } from '@taiga-ui/cdk/utils/focus';
7
- import { tuiProvideOptions, tuiIsString, tuiArrayRemove } from '@taiga-ui/cdk/utils/miscellaneous';
8
- import { TuiDataListDirective, tuiAsDataListHost } from '@taiga-ui/core/components/data-list';
9
- import * as i7 from '@taiga-ui/core/components/scrollbar';
10
- import { TuiScrollbar } from '@taiga-ui/core/components/scrollbar';
11
- import { TUI_TEXTFIELD_OPTIONS } from '@taiga-ui/core/components/textfield';
12
- import * as i1 from '@taiga-ui/core/directives/dropdown';
13
- import { TuiDropdownOpen, TuiDropdownFixed, TuiDropdown } from '@taiga-ui/core/directives/dropdown';
14
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
15
- import { TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
16
- import { AbstractTuiMultipleControl, tuiAsControl } from '@taiga-ui/legacy/classes';
17
- import * as i6 from '@taiga-ui/legacy/directives';
18
- import { TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER, TuiLegacyDropdownOpenMonitorDirective, TuiWrapperModule } from '@taiga-ui/legacy/directives';
19
- import { tuiAsFocusableItemAccessor } from '@taiga-ui/legacy/tokens';
20
- import * as i3 from '@taiga-ui/polymorpheus';
21
- import { PolymorpheusOutlet, PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
22
- import { timer } from 'rxjs';
23
- import * as i2 from '@angular/forms';
24
- import { FormsModule } from '@angular/forms';
25
- import * as i4 from '@taiga-ui/core/directives/appearance';
26
- import { TuiAppearance } from '@taiga-ui/core/directives/appearance';
27
- import * as i5 from '@taiga-ui/core/components/icon';
28
- import { TuiIcon } from '@taiga-ui/core/components/icon';
29
- import * as i8 from '@taiga-ui/legacy/components/tag';
30
- import { TuiTagModule } from '@taiga-ui/legacy/components/tag';
31
- import * as i9 from '@taiga-ui/legacy/components/tooltip';
32
- import { TuiTooltipModule } from '@taiga-ui/legacy/components/tooltip';
33
- import * as i10 from '@angular/common';
34
- import { CommonModule } from '@angular/common';
35
- import { TuiHovered } from '@taiga-ui/cdk/directives/hovered';
36
- import { TuiScrollService } from '@taiga-ui/cdk/services';
37
-
38
- /**
39
- * TODO(v5): delete it
40
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
41
- */
42
- const TUI_INPUT_TAG_DEFAULT_OPTIONS = {
43
- autoColor: false,
44
- separator: ',',
45
- tagStatus: 'default',
46
- uniqueTags: true,
47
- };
48
- /**
49
- * @deprecated: drop in v5.0
50
- * Default parameters for InputTag component
51
- */
52
- const TUI_INPUT_TAG_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_INPUT_TAG_OPTIONS' : '', {
53
- factory: () => TUI_INPUT_TAG_DEFAULT_OPTIONS,
54
- });
55
- /**
56
- * TODO(v5): delete it
57
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
58
- */
59
- function tuiInputTagOptionsProvider(options) {
60
- return tuiProvideOptions(TUI_INPUT_TAG_OPTIONS, options, TUI_INPUT_TAG_DEFAULT_OPTIONS);
61
- }
62
-
63
- const TAG_SIZE_REM = {
64
- s: 1.25,
65
- m: 1.5,
66
- l: 2,
67
- };
68
- const LINE_HEIGHT_REM = {
69
- s: 1,
70
- m: 1.25,
71
- l: 1.25,
72
- };
73
- const TAG_VERTICAL_SPACE_REM = 0.125;
74
- /**
75
- * TODO(v5): delete it
76
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
77
- */
78
- class TuiInputTagComponent extends AbstractTuiMultipleControl {
79
- constructor() {
80
- super(...arguments);
81
- this.tags = EMPTY_QUERY;
82
- this.el = tuiInjectElement();
83
- this.options = inject(TUI_INPUT_TAG_OPTIONS);
84
- this.textfieldOptions = inject(TUI_TEXTFIELD_OPTIONS);
85
- this.hintOptions = inject(TuiHintOptionsDirective, { optional: true });
86
- this.controller = inject(TUI_TEXTFIELD_WATCHED_CONTROLLER);
87
- this.icons = inject(TUI_COMMON_ICONS);
88
- this.status = this.options.tagStatus;
89
- this.open = false;
90
- this.separator = this.options.separator;
91
- this.search = '';
92
- this.editable = true;
93
- this.tagValidator = TUI_TRUE_HANDLER;
94
- this.rows = Infinity;
95
- this.inputHidden = false;
96
- this.uniqueTags = this.options.uniqueTags;
97
- this.autoColor = this.options.autoColor;
98
- this.maxLength = null;
99
- this.placeholder = '';
100
- this.removable = true;
101
- this.disabledItemHandler = TUI_FALSE_HANDLER;
102
- this.searchChange = new EventEmitter();
103
- this.pseudoOpen = signal(false);
104
- }
105
- set pseudoFocusedSetter(value) {
106
- if (!value && !this.focused) {
107
- this.scrollTo(0);
108
- }
109
- this.pseudoFocus = value;
110
- }
111
- /**
112
- * @deprecated hack
113
- */
114
- set setPseudoOpen(value) {
115
- this.pseudoOpen.set(value);
116
- }
117
- get labelOutside() {
118
- const { size, labelOutside } = this.controller;
119
- return this.appearance === 'table' || size === 's' || labelOutside;
120
- }
121
- get size() {
122
- return this.controller.size;
123
- }
124
- get nativeFocusableElement() {
125
- return !this.focusableElement || this.computedDisabled
126
- ? null
127
- : this.focusableElement.nativeElement;
128
- }
129
- get hasValue() {
130
- return !!this.value.length || this.hasNativeValue;
131
- }
132
- get hasExampleText() {
133
- return (!!this.nativeFocusableElement?.placeholder &&
134
- this.computedFocused &&
135
- !this.hasValue &&
136
- !this.readOnly);
137
- }
138
- get hasPlaceholder() {
139
- return (!this.labelOutside ||
140
- (!this.hasValue && (!this.hasExampleText || this.inputHidden)));
141
- }
142
- get focused() {
143
- return tuiIsFocusedIn(this.el) || !!this.dropdown?.tuiDropdownOpen;
144
- }
145
- get tagsEmpty() {
146
- return (((!this.focused || this.inputHidden) &&
147
- !this.value.length &&
148
- !this.search?.trim()?.length &&
149
- !this.placeholder) ||
150
- !!this.valueContent);
151
- }
152
- onTagEdited(value, index) {
153
- this.focusInput(value === '');
154
- this.value = this.filterValue(this.value
155
- .map((tag, tagIndex) => tagIndex !== index
156
- ? tag
157
- : value
158
- .split(this.separator)
159
- .map((tag) => tag.trim())
160
- .filter(Boolean))
161
- .reduce((result, item) => result.concat(item), []));
162
- }
163
- handleOption(item) {
164
- this.focusInput();
165
- this.updateSearch('');
166
- this.value = this.filterValue(this.value.concat(item));
167
- this.open = false;
168
- this.scrollTo();
169
- }
170
- setDisabledState() {
171
- super.setDisabledState();
172
- this.open = false;
173
- }
174
- get iconStart() {
175
- return this.controller.iconStart;
176
- }
177
- get appearance() {
178
- return this.textfieldOptions.appearance() === 'table'
179
- ? 'table'
180
- : this.controller.appearance;
181
- }
182
- get expandable() {
183
- return this.rows > 1;
184
- }
185
- get icon() {
186
- return this.controller.icon;
187
- }
188
- get iconCleaner() {
189
- return this.controller.options.iconCleaner;
190
- }
191
- get hasCleaner() {
192
- return this.controller.cleaner && this.hasValue && this.interactive;
193
- }
194
- get hasNativeValue() {
195
- return !!this.search;
196
- }
197
- get placeholderRaised() {
198
- return (!this.labelOutside &&
199
- ((this.computedFocused && !this.readOnly) || this.hasValue));
200
- }
201
- get hasRightIcons() {
202
- return (this.hasCleaner ||
203
- !!this.icon ||
204
- (!!this.hintOptions?.content && !this.computedDisabled));
205
- }
206
- get showHint() {
207
- return (!!this.hintOptions?.content &&
208
- (this.controller.options.hintOnDisabled || !this.computedDisabled));
209
- }
210
- get canOpen() {
211
- return this.interactive && !!this.datalist;
212
- }
213
- get computeMaxHeight() {
214
- return this.expandable ? this.rows * this.lineHeight : null;
215
- }
216
- onFocusInOut() {
217
- this.cdr.detectChanges();
218
- }
219
- detectRetargetFromLabel(event) {
220
- if (tuiRetargetedBoundaryCrossing(event)) {
221
- event.stopImmediatePropagation();
222
- }
223
- }
224
- getLeftContent(tag) {
225
- return !this.tagValidator(tag) && this.errorIconTemplate
226
- ? this.errorIconTemplate
227
- : '';
228
- }
229
- onCleanerClick() {
230
- this.updateSearch('');
231
- this.clear();
232
- this.focusInput();
233
- }
234
- onActiveZone(active) {
235
- this.open = false;
236
- this.addTag();
237
- this.updateFocused(active);
238
- if (!active && !this.computedFocused) {
239
- this.scrollTo(0);
240
- }
241
- }
242
- onMouseDown(event) {
243
- const actualTarget = tuiGetActualTarget(event);
244
- if (!this.focusableElement ||
245
- actualTarget === this.focusableElement.nativeElement ||
246
- !tuiIsElement(event.target) ||
247
- this.cleanerSvg?.nativeElement.contains(event.target) ||
248
- (this.tagsContainer &&
249
- actualTarget !== this.tagsContainer.nativeElement &&
250
- this.tagsContainer.nativeElement.contains(actualTarget))) {
251
- return;
252
- }
253
- event.preventDefault();
254
- this.focusInput();
255
- }
256
- onFieldKeyDownBackspace(event) {
257
- if (!this.labelOutside && !this.hasNativeValue && this.value.length) {
258
- this.deleteLastEnabledItem();
259
- }
260
- else {
261
- this.onFieldKeyDownArrowLeft(event);
262
- }
263
- }
264
- onFieldKeyDownArrowLeft(event) {
265
- if (!this.labelOutside || this.hasNativeValue || !this.value.length) {
266
- return;
267
- }
268
- event.preventDefault();
269
- this.tags.last.nativeElement.focus();
270
- }
271
- onFieldKeyDownEnter() {
272
- this.addTag();
273
- this.scrollTo();
274
- }
275
- onTagKeyDownArrowLeft(currentIndex) {
276
- if (currentIndex > 0) {
277
- this.onScrollKeyDown(currentIndex, -1);
278
- }
279
- }
280
- onTagKeyDownArrowRight(currentIndex) {
281
- if (currentIndex === this.value.length - 1) {
282
- this.focusInput();
283
- }
284
- else {
285
- this.onScrollKeyDown(currentIndex, 1);
286
- }
287
- }
288
- onInput(value) {
289
- const array = value.split(this.separator);
290
- const tags = array
291
- .map((item) => this.clippedValue(item.trim()))
292
- .filter((item) => item.length > 0);
293
- const validated = tags.filter((tag) => !this.disabledItemHandler(tag));
294
- const invalid = tags.filter((tag) => this.disabledItemHandler(tag));
295
- if (array.length > 1) {
296
- const search = invalid.length
297
- ? invalid.join(tuiIsString(this.separator) ? this.separator : ',')
298
- : '';
299
- this.updateSearch(this.clippedValue(search));
300
- this.value = this.filterValue([...this.value, ...validated]);
301
- }
302
- else {
303
- this.updateSearch(this.clippedValue(value));
304
- }
305
- this.open = this.hasNativeValue;
306
- }
307
- onPaste(event) {
308
- const pasted = tuiGetClipboardDataText(event);
309
- this.onInput(pasted || '');
310
- }
311
- onDrop({ dataTransfer }) {
312
- if (dataTransfer) {
313
- this.onInput(dataTransfer.getData('text') || '');
314
- }
315
- }
316
- trackByFn(_, tag) {
317
- // Actually tag has TuiStringifiableItem type not string
318
- return tag;
319
- }
320
- get lineHeight() {
321
- return this.labelOutside
322
- ? TAG_SIZE_REM[this.controller.size] + 2 * TAG_VERTICAL_SPACE_REM
323
- : LINE_HEIGHT_REM[this.controller.size];
324
- }
325
- scrollTo(scrollLeft = this.scrollBar?.nativeElement.scrollWidth) {
326
- // Allow change detection to run and add new tag to DOM
327
- timer(0)
328
- .pipe(takeUntilDestroyed(this.destroyRef))
329
- .subscribe(() => {
330
- if (this.scrollBar) {
331
- this.scrollBar.nativeElement.scrollLeft = scrollLeft || 0;
332
- }
333
- });
334
- }
335
- filterValue(value) {
336
- const seen = new Set();
337
- return value
338
- .reverse()
339
- .filter((item) => !this.uniqueTags || (item && !seen.has(item) && seen.add(item)))
340
- .reverse();
341
- }
342
- onScrollKeyDown(currentIndex, flag) {
343
- const tag = this.tags.find((_item, index) => index === currentIndex + flag);
344
- if (!tag || !this.scrollBar) {
345
- return;
346
- }
347
- tag.nativeElement.focus();
348
- if (flag * this.scrollBar.nativeElement.clientWidth -
349
- flag * tag.nativeElement.offsetLeft -
350
- tag.nativeElement.clientWidth <
351
- 0) {
352
- this.scrollBar.nativeElement.scrollLeft +=
353
- flag * tag.nativeElement.clientWidth;
354
- }
355
- }
356
- updateSearch(value) {
357
- if (this.focusableElement) {
358
- this.focusableElement.nativeElement.value = value;
359
- }
360
- this.search = value;
361
- this.searchChange.emit(value);
362
- }
363
- addTag() {
364
- const inputValue = this.search?.trim() ?? '';
365
- if (!inputValue || this.disabledItemHandler(inputValue)) {
366
- return;
367
- }
368
- this.updateSearch('');
369
- this.value = this.filterValue(this.value.concat(inputValue));
370
- }
371
- deleteLastEnabledItem() {
372
- for (let index = this.value.length - 1; index >= 0; index--) {
373
- if (!this.disabledItemHandler(this.value[index] ?? '')) {
374
- this.value = tuiArrayRemove(this.value, index);
375
- break;
376
- }
377
- }
378
- }
379
- focusInput(preventScroll = false) {
380
- this.nativeFocusableElement?.focus({ preventScroll });
381
- }
382
- clippedValue(value) {
383
- return value.slice(0, this.maxLength || value.length);
384
- }
385
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTagComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
386
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiInputTagComponent, isStandalone: false, selector: "tui-input-tag", inputs: { separator: "separator", search: "search", editable: "editable", tagValidator: "tagValidator", rows: "rows", inputHidden: "inputHidden", uniqueTags: "uniqueTags", autoColor: "autoColor", maxLength: "maxLength", placeholder: "placeholder", removable: "removable", disabledItemHandler: "disabledItemHandler", pseudoFocusedSetter: ["pseudoFocused", "pseudoFocusedSetter"], setPseudoOpen: ["pseudoOpen", "setPseudoOpen"] }, outputs: { searchChange: "searchChange" }, host: { listeners: { "focusin.capture.zoneless": "onFocusInOut()", "focusout.capture.zoneless": "onFocusInOut()" }, properties: { "attr.data-size": "size", "class._icon-start": "iconStart", "class._expandable": "expandable", "class._label-outside": "labelOutside" } }, providers: [
387
- tuiAsFocusableItemAccessor(TuiInputTagComponent),
388
- tuiAsControl(TuiInputTagComponent),
389
- tuiAsDataListHost(TuiInputTagComponent),
390
- TEXTFIELD_CONTROLLER_PROVIDER,
391
- ], queries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }, { propertyName: "valueContent", first: true, predicate: PolymorpheusOutlet, descendants: true }], viewQueries: [{ propertyName: "dropdown", first: true, predicate: TuiDropdownOpen, descendants: true }, { propertyName: "focusableElement", first: true, predicate: ["focusableElement"], descendants: true }, { propertyName: "tagsContainer", first: true, predicate: ["tagsContainer"], descendants: true }, { propertyName: "cleanerSvg", first: true, predicate: ["cleaner"], descendants: true, read: ElementRef }, { propertyName: "scrollBar", first: true, predicate: TuiScrollbar, descendants: true, read: ElementRef }, { propertyName: "errorIconTemplate", first: true, predicate: ["errorIcon"], descendants: true }, { propertyName: "tags", predicate: ["tag"], descendants: true, read: ElementRef }], usesInheritance: true, hostDirectives: [{ directive: i1.TuiDropdownFixed }], ngImport: i0, template: "@if (hintOptions?.change$ | async) {}\n<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <div\n tuiWrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n (click.prevent.zoneless)=\"detectRetargetFromLabel($event)\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n @if (iconStart) {\n <div class=\"t-icon t-icon_left t-textfield-icon t-icon-wrapper\">\n <tui-icon\n *polymorpheusOutlet=\"iconStart as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n }\n <div class=\"t-wrapper\">\n <div class=\"t-absolute-wrapper\">\n @if (hasPlaceholder) {\n <div\n automation-id=\"tui-input-tag__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content />\n </div>\n }\n </div>\n <tui-scrollbar\n class=\"t-scrollbar\"\n [hidden]=\"!expandable\"\n [style.maxHeight.rem]=\"computeMaxHeight\"\n >\n <div\n class=\"t-tags\"\n [class.t-tags_empty]=\"tagsEmpty\"\n >\n @if (labelOutside) {\n @for (item of value; track trackByFn($index, item)) {\n <tui-tag\n #tag\n automation-id=\"tui-input-tag__tag\"\n tabIndex=\"-1\"\n class=\"t-tag\"\n [autoColor]=\"autoColor\"\n [disabled]=\"computedDisabled || disabledItemHandler(item)\"\n [editable]=\"editable && !readOnly\"\n [hoverable]=\"!readOnly\"\n [leftContent]=\"getLeftContent(item)\"\n [maxLength]=\"maxLength\"\n [removable]=\"!readOnly && removable\"\n [separator]=\"separator\"\n [size]=\"controller.size\"\n [status]=\"status\"\n [value]=\"item.toString()\"\n (edited)=\"onTagEdited($event, $index)\"\n (keydown.arrowLeft.prevent)=\"onTagKeyDownArrowLeft($index)\"\n (keydown.arrowRight.prevent)=\"onTagKeyDownArrowRight($index)\"\n />\n }\n } @else {\n @for (item of value; track item) {\n <span\n class=\"t-text\"\n [class.t-text_comma]=\"computedFocused && !inputHidden\"\n [class.t-text_disabled]=\"disabledItemHandler(item)\"\n [class.t-text_error]=\"!tagValidator(item)\"\n [textContent]=\"item\"\n ></span>\n }\n }\n <div\n class=\"t-input-wrapper\"\n [class.t-input-wrapper_collapsed]=\"computedDisabled || readOnly || inputHidden\"\n >\n <div class=\"t-ghost\">{{ search }}</div>\n <input\n #focusableElement\n automation-id=\"tui-input-tag__native\"\n type=\"text\"\n class=\"t-native\"\n [attr.maxLength]=\"maxLength\"\n [class.t-native_hidden]=\"inputHidden\"\n [disabled]=\"computedDisabled\"\n [id]=\"id\"\n [ngModel]=\"search\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [readOnly]=\"readOnly || inputHidden\"\n [tabIndex]=\"computedFocusable ? 0 : -1\"\n (drop.prevent)=\"onDrop($any($event))\"\n (keydown.arrowLeft)=\"onFieldKeyDownArrowLeft($event)\"\n (keydown.backspace)=\"onFieldKeyDownBackspace($event)\"\n (keydown.enter.prevent)=\"onFieldKeyDownEnter()\"\n (ngModelChange)=\"onInput($event)\"\n (paste.prevent)=\"onPaste($event)\"\n />\n </div>\n </div>\n <div class=\"t-value-content\">\n <ng-content select=\"tuiContent\" />\n </div>\n </tui-scrollbar>\n </div>\n <ng-content select=\"select\" />\n @if (hasRightIcons) {\n <div class=\"t-icons t-icon-wrapper\">\n @if (hasCleaner) {\n <tui-icon\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n #cleaner\n automation-id=\"tui-input-tag__cleaner\"\n tuiAppearance=\"icon\"\n class=\"t-cleaner\"\n [icon]=\"src.toString()\"\n (click.stop)=\"onCleanerClick()\"\n />\n }\n @if (showHint) {\n <tui-tooltip\n automation-id=\"tui-input-tag__tooltip\"\n class=\"t-tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"id\"\n />\n }\n @if (icon) {\n <div class=\"t-icon t-textfield-icon\">\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n }\n </div>\n }\n </div>\n <ng-template #errorIcon>\n <tui-icon\n class=\"t-error-icon\"\n [icon]=\"icons.error\"\n />\n </ng-template>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;text-align:start;border-radius:var(--tui-radius-m);block-size:var(--tui-height);min-block-size:var(--tui-height);max-block-size:var(--tui-height)}:host[data-size=s]{--tui-height: var(--tui-height-s);font:var(--tui-font-text-s)}:host[data-size=m]{--tui-height: var(--tui-height-m);font:var(--tui-font-text-s)}:host[data-size=l]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}:host :host-context(*:disabled){pointer-events:none}.t-input{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--t-border-start, 0);border-inline-end-width:var(--t-border-end, 0);text-indent:var(--t-text-indent);color:var(--tui-text-primary);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-service-autofill-background);box-shadow:0 0 0 100rem var(--tui-service-autofill-background) inset!important}.t-input[inputMode=none]{caret-color:transparent}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-tertiary);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-textarea._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-block-start:1.25rem}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-block-start:1rem}:host[data-size=l]:not(._label-outside) .t-input{padding-block-start:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em}.t-content{display:flex;block-size:100%;inline-size:100%;box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=m] .t-content{padding:0 var(--tui-padding-m)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-wrapper{flex:1;min-inline-size:0;padding-inline-end:.25rem}.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;inline-size:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.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-text-negative)}: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-tertiary)}: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-primary)}.t-cleaner{position:relative;display:flex;inline-size:1.5rem;block-size: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-cleaner:before{font-size:1rem}.t-icon{position:relative;display:flex;inline-size:1.5rem;block-size:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}:host[data-size=s] .t-icon_left{margin:0 .125rem 0 -.375rem}:host[data-size=m] .t-icon_left{margin-inline-start:-.125rem;margin-inline-end:.375rem}:host[data-size=l] .t-icon_left{margin-inline-end:.75rem}.t-icons{display:flex;align-items:center}:host[data-size=m] .t-icons{margin-inline-end:-.125rem}:host[data-size=s] .t-icons{margin-inline-end:-.375rem}:host:not([data-size=s]) .t-icons>:not(:first-child){margin-inline-start:.25rem}:host{cursor:text}:host._expandable{block-size:auto;max-block-size:none}:host._disabled,:host :host-context(*:disabled){pointer-events:none}:host._readonly{cursor:default}:host[data-size=m]{line-height:1rem}.t-hosted{display:block;border-radius:inherit}.t-scrollbar{scroll-behavior:var(--tui-scroll-behavior);margin-inline-start:-.25rem;min-inline-size:100%}:host:not(._label-outside) .t-scrollbar,:host._label-outside._icon-start .t-scrollbar{margin:0}:host[data-size=s]._icon-start .t-scrollbar{margin-inline-start:.25rem}:host[data-size=m]:not(._label-outside) .t-scrollbar{border-block-start:1rem solid transparent}:host[data-size=l]:not(._label-outside) .t-scrollbar{border-block-start:1.25rem solid transparent}.t-tags{display:flex;padding-inline-start:.25rem}.t-tags_expandable{overflow:hidden}.t-tags_empty{block-size:0}:host._expandable .t-tags{flex-wrap:wrap;white-space:normal;overflow:hidden}:host._readonly .t-tags{pointer-events:none}:host[data-size=m]:not(._label-outside) .t-tags,:host[data-size=l]:not(._label-outside) .t-tags{padding:0}.t-tags tui-tag:last-of-type{max-inline-size:80%}.t-content{align-items:flex-start}:host[data-size=s] .t-content{min-block-size:var(--tui-height-s)}:host[data-size=m] .t-content{min-block-size:var(--tui-height-m)}:host[data-size=l] .t-content{min-block-size:var(--tui-height-l)}:host[data-size=s] .t-icon-wrapper{block-size:var(--tui-height-s)}:host[data-size=m] .t-icon-wrapper{block-size:var(--tui-height-m)}:host[data-size=l] .t-icon-wrapper{block-size:var(--tui-height-l)}.t-absolute-wrapper{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;display:flex;flex-direction:column;justify-content:center}:host[data-size=m] .t-absolute-wrapper{block-size:var(--tui-height-m)}:host[data-size=l] .t-absolute-wrapper{block-size:var(--tui-height-l)}.t-wrapper{position:relative;display:flex;align-items:center;padding:0;box-sizing:border-box}:host[data-size=s] .t-wrapper{min-block-size:var(--tui-height-s);padding:calc((var(--tui-height-s) - 1.5rem) / 2) 0}:host[data-size=m] .t-wrapper{min-block-size:var(--tui-height-m);padding:calc((var(--tui-height-m) - var(--tui-height-xs) - .25rem) / 2) 0}:host[data-size=l] .t-wrapper{padding:calc((var(--tui-height-l) - var(--tui-height-s) - .25rem) / 2) 0}:host[data-size=m]:not(._label-outside) .t-wrapper{padding:calc((var(--tui-height-m) - 2rem) / 2) 0}:host[data-size=l]:not(._label-outside) .t-wrapper{padding:calc((var(--tui-height-l) - 2.5rem) / 2) 0}.t-tag{margin:.125rem .5rem .125rem -.25rem;margin-inline-start:-.25rem;margin-inline-end:.5rem;max-inline-size:100%;flex-shrink:0}:host[data-size=m] .t-tag{margin-inline-start:-.125rem;margin-inline-end:.375rem}.t-text:after{content:\",\\a0\"}.t-text_disabled{color:var(--tui-text-tertiary)}.t-text_error{color:var(--tui-text-negative)}.t-text:not(.t-text_comma):last-of-type:after{content:\"\"}:host:not(._expandable) .t-text{white-space:nowrap}.t-input-wrapper,.t-value-content{position:relative;display:flex;flex:1;max-inline-size:100%}:host[data-size=s] .t-input-wrapper,:host[data-size=s] .t-value-content{min-block-size:1.5rem}:host[data-size=m] .t-input-wrapper,:host[data-size=m] .t-value-content{min-block-size:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size=l] .t-input-wrapper,:host[data-size=l] .t-value-content{min-block-size:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper,:host:not(._label-outside) .t-value-content{min-block-size:1rem}.t-input-wrapper_collapsed{flex:0;margin-inline-start:-.5rem}.t-value-content:empty{display:none}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip;min-inline-size:.125rem}:host:not(._expandable) .t-ghost{min-inline-size:2rem}.t-native{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;padding:0;cursor:inherit}.t-native:-webkit-autofill,.t-native:-webkit-autofill:hover,.t-native:-webkit-autofill:focus{-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-service-autofill-background);box-shadow:0 0 0 100rem var(--tui-service-autofill-background) inset!important}.t-native[inputMode=none]{caret-color:transparent}.t-native_hidden{opacity:0;text-indent:-10em}.t-native::placeholder{color:var(--tui-text-tertiary);opacity:0}:host-context([tuiTheme=\"dark\"]) .t-native::placeholder{color:var(--tui-text-tertiary)}:host._focused .t-native:not(:read-only)::placeholder{opacity:1}.t-error-icon{display:block;color:var(--tui-status-negative);font-size:1rem}:host._readonly .t-textfield-icon ::ng-deep [tuiAppearance][data-appearance=icon]{pointer-events:none}@media (hover: hover) and (pointer: fine){:host:not(._readonly):not(._disabled):hover .t-textfield-icon ::ng-deep [tuiAppearance][data-appearance=icon]:before{color:var(--tui-text-secondary)}}\n"], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { 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.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i4.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "component", type: i5.TuiIcon, selector: "tui-icon:not([tuiBadge])", inputs: ["background"] }, { kind: "directive", type: i6.TuiLegacyDropdownOpenMonitorDirective, selector: "[tuiDropdownOpenMonitor]" }, { kind: "component", type: i7.TuiScrollbar, selector: "tui-scrollbar", inputs: ["hidden"] }, { kind: "component", type: i8.TuiTagComponent, selector: "tui-tag, a[tuiTag], button[tuiTag]", inputs: ["value", "editable", "separator", "maxLength", "size", "showLoader", "status", "hoverable", "removable", "disabled", "autoColor", "leftContent"], outputs: ["edited"] }, { kind: "component", type: i9.TuiTooltipComponent, selector: "tui-tooltip", inputs: ["content", "direction", "appearance", "showDelay", "hideDelay", "describeId", "context"] }, { kind: "directive", type: i6.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "pipe", type: i10.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
392
- }
393
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTagComponent, decorators: [{
394
- type: Component,
395
- args: [{ standalone: false, selector: 'tui-input-tag', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
396
- tuiAsFocusableItemAccessor(TuiInputTagComponent),
397
- tuiAsControl(TuiInputTagComponent),
398
- tuiAsDataListHost(TuiInputTagComponent),
399
- TEXTFIELD_CONTROLLER_PROVIDER,
400
- ], hostDirectives: [TuiDropdownFixed], host: {
401
- '[attr.data-size]': 'size',
402
- '[class._icon-start]': 'iconStart',
403
- '[class._expandable]': 'expandable',
404
- '[class._label-outside]': 'labelOutside',
405
- '(focusin.capture.zoneless)': 'onFocusInOut()',
406
- '(focusout.capture.zoneless)': 'onFocusInOut()',
407
- }, template: "@if (hintOptions?.change$ | async) {}\n<div\n tuiDropdownOpenMonitor\n class=\"t-hosted\"\n [tuiDropdown]=\"datalist || ''\"\n [tuiDropdownEnabled]=\"canOpen\"\n [(tuiDropdownOpen)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <div\n tuiWrapper\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n (click.prevent.zoneless)=\"detectRetargetFromLabel($event)\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n @if (iconStart) {\n <div class=\"t-icon t-icon_left t-textfield-icon t-icon-wrapper\">\n <tui-icon\n *polymorpheusOutlet=\"iconStart as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n }\n <div class=\"t-wrapper\">\n <div class=\"t-absolute-wrapper\">\n @if (hasPlaceholder) {\n <div\n automation-id=\"tui-input-tag__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content />\n </div>\n }\n </div>\n <tui-scrollbar\n class=\"t-scrollbar\"\n [hidden]=\"!expandable\"\n [style.maxHeight.rem]=\"computeMaxHeight\"\n >\n <div\n class=\"t-tags\"\n [class.t-tags_empty]=\"tagsEmpty\"\n >\n @if (labelOutside) {\n @for (item of value; track trackByFn($index, item)) {\n <tui-tag\n #tag\n automation-id=\"tui-input-tag__tag\"\n tabIndex=\"-1\"\n class=\"t-tag\"\n [autoColor]=\"autoColor\"\n [disabled]=\"computedDisabled || disabledItemHandler(item)\"\n [editable]=\"editable && !readOnly\"\n [hoverable]=\"!readOnly\"\n [leftContent]=\"getLeftContent(item)\"\n [maxLength]=\"maxLength\"\n [removable]=\"!readOnly && removable\"\n [separator]=\"separator\"\n [size]=\"controller.size\"\n [status]=\"status\"\n [value]=\"item.toString()\"\n (edited)=\"onTagEdited($event, $index)\"\n (keydown.arrowLeft.prevent)=\"onTagKeyDownArrowLeft($index)\"\n (keydown.arrowRight.prevent)=\"onTagKeyDownArrowRight($index)\"\n />\n }\n } @else {\n @for (item of value; track item) {\n <span\n class=\"t-text\"\n [class.t-text_comma]=\"computedFocused && !inputHidden\"\n [class.t-text_disabled]=\"disabledItemHandler(item)\"\n [class.t-text_error]=\"!tagValidator(item)\"\n [textContent]=\"item\"\n ></span>\n }\n }\n <div\n class=\"t-input-wrapper\"\n [class.t-input-wrapper_collapsed]=\"computedDisabled || readOnly || inputHidden\"\n >\n <div class=\"t-ghost\">{{ search }}</div>\n <input\n #focusableElement\n automation-id=\"tui-input-tag__native\"\n type=\"text\"\n class=\"t-native\"\n [attr.maxLength]=\"maxLength\"\n [class.t-native_hidden]=\"inputHidden\"\n [disabled]=\"computedDisabled\"\n [id]=\"id\"\n [ngModel]=\"search\"\n [ngModelOptions]=\"{standalone: true}\"\n [placeholder]=\"placeholder\"\n [readOnly]=\"readOnly || inputHidden\"\n [tabIndex]=\"computedFocusable ? 0 : -1\"\n (drop.prevent)=\"onDrop($any($event))\"\n (keydown.arrowLeft)=\"onFieldKeyDownArrowLeft($event)\"\n (keydown.backspace)=\"onFieldKeyDownBackspace($event)\"\n (keydown.enter.prevent)=\"onFieldKeyDownEnter()\"\n (ngModelChange)=\"onInput($event)\"\n (paste.prevent)=\"onPaste($event)\"\n />\n </div>\n </div>\n <div class=\"t-value-content\">\n <ng-content select=\"tuiContent\" />\n </div>\n </tui-scrollbar>\n </div>\n <ng-content select=\"select\" />\n @if (hasRightIcons) {\n <div class=\"t-icons t-icon-wrapper\">\n @if (hasCleaner) {\n <tui-icon\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n #cleaner\n automation-id=\"tui-input-tag__cleaner\"\n tuiAppearance=\"icon\"\n class=\"t-cleaner\"\n [icon]=\"src.toString()\"\n (click.stop)=\"onCleanerClick()\"\n />\n }\n @if (showHint) {\n <tui-tooltip\n automation-id=\"tui-input-tag__tooltip\"\n class=\"t-tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"id\"\n />\n }\n @if (icon) {\n <div class=\"t-icon t-textfield-icon\">\n <tui-icon\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n tuiAppearance=\"icon\"\n [icon]=\"src.toString()\"\n />\n </div>\n }\n </div>\n }\n </div>\n <ng-template #errorIcon>\n <tui-icon\n class=\"t-error-icon\"\n [icon]=\"icons.error\"\n />\n </ng-template>\n </div>\n</div>\n", styles: [":host{position:relative;display:block;text-align:start;border-radius:var(--tui-radius-m);block-size:var(--tui-height);min-block-size:var(--tui-height);max-block-size:var(--tui-height)}:host[data-size=s]{--tui-height: var(--tui-height-s);font:var(--tui-font-text-s)}:host[data-size=m]{--tui-height: var(--tui-height-m);font:var(--tui-font-text-s)}:host[data-size=l]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}:host :host-context(*:disabled){pointer-events:none}.t-input{padding:0;margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--t-border-start, 0);border-inline-end-width:var(--t-border-end, 0);text-indent:var(--t-text-indent);color:var(--tui-text-primary);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-service-autofill-background);box-shadow:0 0 0 100rem var(--tui-service-autofill-background) inset!important}.t-input[inputMode=none]{caret-color:transparent}.t-input:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-tertiary);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}:host[data-size=s] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"s\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}:host[data-size=l] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"l\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"l\"]):not(tui-text-area){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-textarea._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-block-start:1.25rem}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-block-start:1rem}:host[data-size=l]:not(._label-outside) .t-input{padding-block-start:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){opacity:0;text-indent:-10em}.t-content{display:flex;block-size:100%;inline-size:100%;box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=m] .t-content{padding:0 var(--tui-padding-m)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-wrapper{flex:1;min-inline-size:0;padding-inline-end:.25rem}.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;inline-size:100%;-webkit-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-secondary);pointer-events:none;will-change:transform;transform:translateY(0)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.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-text-negative)}: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-tertiary)}: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-primary)}.t-cleaner{position:relative;display:flex;inline-size:1.5rem;block-size: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-cleaner:before{font-size:1rem}.t-icon{position:relative;display:flex;inline-size:1.5rem;block-size:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none}:host[data-size=s] .t-icon_left{margin:0 .125rem 0 -.375rem}:host[data-size=m] .t-icon_left{margin-inline-start:-.125rem;margin-inline-end:.375rem}:host[data-size=l] .t-icon_left{margin-inline-end:.75rem}.t-icons{display:flex;align-items:center}:host[data-size=m] .t-icons{margin-inline-end:-.125rem}:host[data-size=s] .t-icons{margin-inline-end:-.375rem}:host:not([data-size=s]) .t-icons>:not(:first-child){margin-inline-start:.25rem}:host{cursor:text}:host._expandable{block-size:auto;max-block-size:none}:host._disabled,:host :host-context(*:disabled){pointer-events:none}:host._readonly{cursor:default}:host[data-size=m]{line-height:1rem}.t-hosted{display:block;border-radius:inherit}.t-scrollbar{scroll-behavior:var(--tui-scroll-behavior);margin-inline-start:-.25rem;min-inline-size:100%}:host:not(._label-outside) .t-scrollbar,:host._label-outside._icon-start .t-scrollbar{margin:0}:host[data-size=s]._icon-start .t-scrollbar{margin-inline-start:.25rem}:host[data-size=m]:not(._label-outside) .t-scrollbar{border-block-start:1rem solid transparent}:host[data-size=l]:not(._label-outside) .t-scrollbar{border-block-start:1.25rem solid transparent}.t-tags{display:flex;padding-inline-start:.25rem}.t-tags_expandable{overflow:hidden}.t-tags_empty{block-size:0}:host._expandable .t-tags{flex-wrap:wrap;white-space:normal;overflow:hidden}:host._readonly .t-tags{pointer-events:none}:host[data-size=m]:not(._label-outside) .t-tags,:host[data-size=l]:not(._label-outside) .t-tags{padding:0}.t-tags tui-tag:last-of-type{max-inline-size:80%}.t-content{align-items:flex-start}:host[data-size=s] .t-content{min-block-size:var(--tui-height-s)}:host[data-size=m] .t-content{min-block-size:var(--tui-height-m)}:host[data-size=l] .t-content{min-block-size:var(--tui-height-l)}:host[data-size=s] .t-icon-wrapper{block-size:var(--tui-height-s)}:host[data-size=m] .t-icon-wrapper{block-size:var(--tui-height-m)}:host[data-size=l] .t-icon-wrapper{block-size:var(--tui-height-l)}.t-absolute-wrapper{position:absolute;top:0;left:0;inline-size:100%;block-size:100%;display:flex;flex-direction:column;justify-content:center}:host[data-size=m] .t-absolute-wrapper{block-size:var(--tui-height-m)}:host[data-size=l] .t-absolute-wrapper{block-size:var(--tui-height-l)}.t-wrapper{position:relative;display:flex;align-items:center;padding:0;box-sizing:border-box}:host[data-size=s] .t-wrapper{min-block-size:var(--tui-height-s);padding:calc((var(--tui-height-s) - 1.5rem) / 2) 0}:host[data-size=m] .t-wrapper{min-block-size:var(--tui-height-m);padding:calc((var(--tui-height-m) - var(--tui-height-xs) - .25rem) / 2) 0}:host[data-size=l] .t-wrapper{padding:calc((var(--tui-height-l) - var(--tui-height-s) - .25rem) / 2) 0}:host[data-size=m]:not(._label-outside) .t-wrapper{padding:calc((var(--tui-height-m) - 2rem) / 2) 0}:host[data-size=l]:not(._label-outside) .t-wrapper{padding:calc((var(--tui-height-l) - 2.5rem) / 2) 0}.t-tag{margin:.125rem .5rem .125rem -.25rem;margin-inline-start:-.25rem;margin-inline-end:.5rem;max-inline-size:100%;flex-shrink:0}:host[data-size=m] .t-tag{margin-inline-start:-.125rem;margin-inline-end:.375rem}.t-text:after{content:\",\\a0\"}.t-text_disabled{color:var(--tui-text-tertiary)}.t-text_error{color:var(--tui-text-negative)}.t-text:not(.t-text_comma):last-of-type:after{content:\"\"}:host:not(._expandable) .t-text{white-space:nowrap}.t-input-wrapper,.t-value-content{position:relative;display:flex;flex:1;max-inline-size:100%}:host[data-size=s] .t-input-wrapper,:host[data-size=s] .t-value-content{min-block-size:1.5rem}:host[data-size=m] .t-input-wrapper,:host[data-size=m] .t-value-content{min-block-size:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size=l] .t-input-wrapper,:host[data-size=l] .t-value-content{min-block-size:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper,:host:not(._label-outside) .t-value-content{min-block-size:1rem}.t-input-wrapper_collapsed{flex:0;margin-inline-start:-.5rem}.t-value-content:empty{display:none}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip;min-inline-size:.125rem}:host:not(._expandable) .t-ghost{min-inline-size:2rem}.t-native{margin:0;border-width:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-webkit-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;inline-size:100%;block-size:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box;padding:0;cursor:inherit}.t-native:-webkit-autofill,.t-native:-webkit-autofill:hover,.t-native:-webkit-autofill:focus{-webkit-text-fill-color:var(--tui-text-primary)!important;border-color:var(--tui-service-autofill-background);box-shadow:0 0 0 100rem var(--tui-service-autofill-background) inset!important}.t-native[inputMode=none]{caret-color:transparent}.t-native_hidden{opacity:0;text-indent:-10em}.t-native::placeholder{color:var(--tui-text-tertiary);opacity:0}:host-context([tuiTheme=\"dark\"]) .t-native::placeholder{color:var(--tui-text-tertiary)}:host._focused .t-native:not(:read-only)::placeholder{opacity:1}.t-error-icon{display:block;color:var(--tui-status-negative);font-size:1rem}:host._readonly .t-textfield-icon ::ng-deep [tuiAppearance][data-appearance=icon]{pointer-events:none}@media (hover: hover) and (pointer: fine){:host:not(._readonly):not(._disabled):hover .t-textfield-icon ::ng-deep [tuiAppearance][data-appearance=icon]:before{color:var(--tui-text-secondary)}}\n"] }]
408
- }], propDecorators: { dropdown: [{
409
- type: ViewChild,
410
- args: [TuiDropdownOpen]
411
- }], focusableElement: [{
412
- type: ViewChild,
413
- args: ['focusableElement']
414
- }], tagsContainer: [{
415
- type: ViewChild,
416
- args: ['tagsContainer']
417
- }], tags: [{
418
- type: ViewChildren,
419
- args: ['tag', { read: ElementRef }]
420
- }], cleanerSvg: [{
421
- type: ViewChild,
422
- args: ['cleaner', { read: ElementRef }]
423
- }], scrollBar: [{
424
- type: ViewChild,
425
- args: [TuiScrollbar, { read: ElementRef }]
426
- }], datalist: [{
427
- type: ContentChild,
428
- args: [TuiDataListDirective, { read: TemplateRef }]
429
- }], valueContent: [{
430
- type: ContentChild,
431
- args: [PolymorpheusOutlet]
432
- }], errorIconTemplate: [{
433
- type: ViewChild,
434
- args: ['errorIcon']
435
- }], separator: [{
436
- type: Input
437
- }], search: [{
438
- type: Input
439
- }], editable: [{
440
- type: Input
441
- }], tagValidator: [{
442
- type: Input
443
- }], rows: [{
444
- type: Input
445
- }], inputHidden: [{
446
- type: Input
447
- }], uniqueTags: [{
448
- type: Input
449
- }], autoColor: [{
450
- type: Input
451
- }], maxLength: [{
452
- type: Input
453
- }], placeholder: [{
454
- type: Input
455
- }], removable: [{
456
- type: Input
457
- }], disabledItemHandler: [{
458
- type: Input
459
- }], searchChange: [{
460
- type: Output
461
- }], pseudoFocusedSetter: [{
462
- type: Input,
463
- args: ['pseudoFocused']
464
- }], setPseudoOpen: [{
465
- type: Input,
466
- args: ['pseudoOpen']
467
- }] } });
468
-
469
- /**
470
- * TODO(v5): delete it
471
- * @deprecated use {@link https://taiga-ui.dev/components/input-chip TuiInputChip} instead
472
- */
473
- class TuiInputTagModule {
474
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
475
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTagModule, declarations: [TuiInputTagComponent], imports: [CommonModule,
476
- FormsModule,
477
- PolymorpheusOutlet,
478
- PolymorpheusTemplate,
479
- TuiAppearance,
480
- TuiHovered,
481
- TuiIcon,
482
- TuiLegacyDropdownOpenMonitorDirective,
483
- TuiScrollbar,
484
- TuiTagModule,
485
- TuiTooltipModule,
486
- TuiWrapperModule, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection], exports: [TuiInputTagComponent, i1.TuiDropdownOptionsDirective, i1.TuiDropdownDriverDirective, i1.TuiDropdownDirective, i1.TuiDropdownComponent, i1.TuiDropdownOpen, i1.TuiDropdownOpenLegacy, i1.TuiDropdownManual, i1.TuiDropdownHover, i1.TuiDropdownContent, i1.TuiDropdownContext, i1.TuiDropdownPosition, i1.TuiDropdownPositionSided, i1.TuiDropdownSelection] }); }
487
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTagModule, providers: [TuiScrollService], imports: [CommonModule,
488
- FormsModule,
489
- TuiIcon,
490
- TuiScrollbar,
491
- TuiTagModule,
492
- TuiTooltipModule,
493
- TuiWrapperModule, i1.TuiDropdownComponent] }); }
494
- }
495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInputTagModule, decorators: [{
496
- type: NgModule,
497
- args: [{
498
- imports: [
499
- CommonModule,
500
- FormsModule,
501
- PolymorpheusOutlet,
502
- PolymorpheusTemplate,
503
- TuiAppearance,
504
- TuiHovered,
505
- TuiIcon,
506
- TuiLegacyDropdownOpenMonitorDirective,
507
- TuiScrollbar,
508
- TuiTagModule,
509
- TuiTooltipModule,
510
- TuiWrapperModule,
511
- ...TuiDropdown,
512
- ],
513
- declarations: [TuiInputTagComponent],
514
- providers: [TuiScrollService],
515
- exports: [TuiInputTagComponent, ...TuiDropdown],
516
- }]
517
- }] });
518
-
519
- /**
520
- * Generated bundle index. Do not edit.
521
- */
522
-
523
- export { TUI_INPUT_TAG_DEFAULT_OPTIONS, TUI_INPUT_TAG_OPTIONS, TuiInputTagComponent, TuiInputTagModule, tuiInputTagOptionsProvider };
524
- //# sourceMappingURL=taiga-ui-legacy-components-input-tag.mjs.map