@taiga-ui/kit 3.59.0 → 3.60.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-accordion.umd.js +774 -628
- package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-action.umd.js +598 -452
- package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-avatar.umd.js +640 -494
- package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +563 -417
- package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js +747 -601
- package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js +718 -572
- package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-carousel.umd.js +821 -675
- package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +645 -499
- package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +585 -439
- package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-checkbox.umd.js +608 -462
- package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-combo-box.umd.js +834 -688
- package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +656 -510
- package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js +587 -441
- package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-files.umd.js +808 -662
- package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-filter.umd.js +607 -461
- package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-copy.umd.js +700 -554
- package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-count.umd.js +809 -663
- package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-multi.umd.js +849 -703
- package/bundles/taiga-ui-kit-components-input-date-multi.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date-range.umd.js +973 -827
- 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 +1026 -880
- package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-date.umd.js +976 -830
- package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-files.umd.js +975 -829
- package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-inline.umd.js +612 -466
- package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js +755 -609
- package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-month.umd.js +788 -642
- package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-number.umd.js +941 -795
- package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-password.umd.js +720 -574
- package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +811 -665
- package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-phone.umd.js +913 -767
- package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-range.umd.js +796 -650
- package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-slider.umd.js +737 -591
- package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-tag.umd.js +1102 -956
- package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-time.umd.js +1021 -875
- package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input-year.umd.js +706 -560
- package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-input.umd.js +661 -515
- package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js +689 -543
- package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js +742 -596
- package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +544 -398
- package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-multi-select.umd.js +1337 -1191
- package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pagination.umd.js +810 -664
- package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +152 -6
- package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-progress.umd.js +152 -6
- package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-push.umd.js +152 -6
- package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-block.umd.js +645 -499
- package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +616 -470
- package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio-list.umd.js +628 -482
- package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-radio.umd.js +689 -543
- package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-range.umd.js +811 -665
- package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-rating.umd.js +646 -500
- package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +580 -434
- package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-select.umd.js +933 -787
- package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-slider.umd.js +943 -797
- package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-stepper.umd.js +769 -623
- package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tabs.umd.js +152 -6
- package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-textarea.umd.js +966 -820
- package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-tiles.umd.js +839 -693
- package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-components-toggle.umd.js +711 -565
- package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-constants.umd.js +152 -6
- package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +637 -491
- package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +605 -459
- package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js +540 -394
- package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js +693 -547
- package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +616 -470
- package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +524 -378
- package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-mask.umd.js +152 -6
- package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-math.umd.js +152 -6
- package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +152 -6
- package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
- package/package.json +6 -6
|
@@ -1,974 +1,1120 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit/providers'), require('rxjs/operators'), require('@taiga-ui/kit/components/tag'), require('@angular/common'), require('@tinkoff/ng-polymorpheus'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-tag', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit/providers', 'rxjs/operators', '@taiga-ui/kit/components/tag', '@angular/common', '@tinkoff/ng-polymorpheus', 'rxjs'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-tag"] = {}), global.ng.core, global.ng.forms, global.i4, global.i1, global["taiga-ui"].kit.providers, global.rxjs.operators, global["taiga-ui"].kit.components.tag, global.ng.common, global.i5, global.rxjs));
|
|
5
5
|
})(this, (function (exports, i0, i6, i4, i1, providers, operators, i2, i3, i5, i7) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
});
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
20
18
|
}
|
|
21
|
-
|
|
22
|
-
return Object.freeze(n);
|
|
19
|
+
});
|
|
23
20
|
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
27
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
30
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
31
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
32
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
/******************************************************************************
|
|
35
|
+
Copyright (c) Microsoft Corporation.
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
38
|
+
purpose with or without fee is hereby granted.
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
40
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
41
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
42
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
43
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
44
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
45
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
46
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
47
|
+
***************************************************************************** */
|
|
48
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
49
|
+
var extendStatics = function (d, b) {
|
|
50
|
+
extendStatics = Object.setPrototypeOf ||
|
|
51
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
52
|
+
function (d, b) { for (var p in b)
|
|
53
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
54
|
+
d[p] = b[p]; };
|
|
55
|
+
return extendStatics(d, b);
|
|
56
|
+
};
|
|
57
|
+
function __extends(d, b) {
|
|
58
|
+
if (typeof b !== "function" && b !== null)
|
|
59
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
60
|
+
extendStatics(d, b);
|
|
61
|
+
function __() { this.constructor = d; }
|
|
62
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
63
|
+
}
|
|
64
|
+
var __assign = function () {
|
|
65
|
+
__assign = Object.assign || function __assign(t) {
|
|
66
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
67
|
+
s = arguments[i];
|
|
68
|
+
for (var p in s)
|
|
69
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
70
|
+
t[p] = s[p];
|
|
71
|
+
}
|
|
72
|
+
return t;
|
|
73
|
+
};
|
|
74
|
+
return __assign.apply(this, arguments);
|
|
75
|
+
};
|
|
76
|
+
function __rest(s, e) {
|
|
77
|
+
var t = {};
|
|
78
|
+
for (var p in s)
|
|
79
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
80
|
+
t[p] = s[p];
|
|
81
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
82
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
83
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
84
|
+
t[p[i]] = s[p[i]];
|
|
85
|
+
}
|
|
86
|
+
return t;
|
|
87
|
+
}
|
|
88
|
+
function __decorate(decorators, target, key, desc) {
|
|
89
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
90
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
91
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
92
|
+
else
|
|
93
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
94
|
+
if (d = decorators[i])
|
|
95
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
96
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
97
|
+
}
|
|
98
|
+
function __param(paramIndex, decorator) {
|
|
99
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
100
|
+
}
|
|
101
|
+
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
102
|
+
function accept(f) { if (f !== void 0 && typeof f !== "function")
|
|
103
|
+
throw new TypeError("Function expected"); return f; }
|
|
104
|
+
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
105
|
+
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
106
|
+
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
107
|
+
var _, done = false;
|
|
108
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
109
|
+
var context = {};
|
|
110
|
+
for (var p in contextIn)
|
|
111
|
+
context[p] = p === "access" ? {} : contextIn[p];
|
|
112
|
+
for (var p in contextIn.access)
|
|
113
|
+
context.access[p] = contextIn.access[p];
|
|
114
|
+
context.addInitializer = function (f) { if (done)
|
|
115
|
+
throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
|
|
116
|
+
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
117
|
+
if (kind === "accessor") {
|
|
118
|
+
if (result === void 0)
|
|
119
|
+
continue;
|
|
120
|
+
if (result === null || typeof result !== "object")
|
|
121
|
+
throw new TypeError("Object expected");
|
|
122
|
+
if (_ = accept(result.get))
|
|
123
|
+
descriptor.get = _;
|
|
124
|
+
if (_ = accept(result.set))
|
|
125
|
+
descriptor.set = _;
|
|
126
|
+
if (_ = accept(result.init))
|
|
127
|
+
initializers.unshift(_);
|
|
128
|
+
}
|
|
129
|
+
else if (_ = accept(result)) {
|
|
130
|
+
if (kind === "field")
|
|
131
|
+
initializers.unshift(_);
|
|
132
|
+
else
|
|
133
|
+
descriptor[key] = _;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
if (target)
|
|
137
|
+
Object.defineProperty(target, contextIn.name, descriptor);
|
|
138
|
+
done = true;
|
|
139
|
+
}
|
|
140
|
+
;
|
|
141
|
+
function __runInitializers(thisArg, initializers, value) {
|
|
142
|
+
var useValue = arguments.length > 2;
|
|
143
|
+
for (var i = 0; i < initializers.length; i++) {
|
|
144
|
+
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
145
|
+
}
|
|
146
|
+
return useValue ? value : void 0;
|
|
147
|
+
}
|
|
148
|
+
;
|
|
149
|
+
function __propKey(x) {
|
|
150
|
+
return typeof x === "symbol" ? x : "".concat(x);
|
|
151
|
+
}
|
|
152
|
+
;
|
|
153
|
+
function __setFunctionName(f, name, prefix) {
|
|
154
|
+
if (typeof name === "symbol")
|
|
155
|
+
name = name.description ? "[".concat(name.description, "]") : "";
|
|
156
|
+
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
157
|
+
}
|
|
158
|
+
;
|
|
159
|
+
function __metadata(metadataKey, metadataValue) {
|
|
160
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
161
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
162
|
+
}
|
|
163
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
164
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
165
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
166
|
+
function fulfilled(value) { try {
|
|
167
|
+
step(generator.next(value));
|
|
168
|
+
}
|
|
169
|
+
catch (e) {
|
|
170
|
+
reject(e);
|
|
171
|
+
} }
|
|
172
|
+
function rejected(value) { try {
|
|
173
|
+
step(generator["throw"](value));
|
|
174
|
+
}
|
|
175
|
+
catch (e) {
|
|
176
|
+
reject(e);
|
|
177
|
+
} }
|
|
178
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
179
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
function __generator(thisArg, body) {
|
|
183
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
184
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
185
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
186
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
187
|
+
function step(op) {
|
|
188
|
+
if (f)
|
|
189
|
+
throw new TypeError("Generator is already executing.");
|
|
190
|
+
while (g && (g = 0, op[0] && (_ = 0)), _)
|
|
191
|
+
try {
|
|
192
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
193
|
+
return t;
|
|
194
|
+
if (y = 0, t)
|
|
195
|
+
op = [op[0] & 2, t.value];
|
|
196
|
+
switch (op[0]) {
|
|
197
|
+
case 0:
|
|
198
|
+
case 1:
|
|
199
|
+
t = op;
|
|
200
|
+
break;
|
|
201
|
+
case 4:
|
|
202
|
+
_.label++;
|
|
203
|
+
return { value: op[1], done: false };
|
|
204
|
+
case 5:
|
|
205
|
+
_.label++;
|
|
206
|
+
y = op[1];
|
|
207
|
+
op = [0];
|
|
208
|
+
continue;
|
|
209
|
+
case 7:
|
|
210
|
+
op = _.ops.pop();
|
|
211
|
+
_.trys.pop();
|
|
212
|
+
continue;
|
|
213
|
+
default:
|
|
214
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
215
|
+
_ = 0;
|
|
216
|
+
continue;
|
|
217
|
+
}
|
|
218
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
219
|
+
_.label = op[1];
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
223
|
+
_.label = t[1];
|
|
224
|
+
t = op;
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
if (t && _.label < t[2]) {
|
|
228
|
+
_.label = t[2];
|
|
229
|
+
_.ops.push(op);
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
if (t[2])
|
|
233
|
+
_.ops.pop();
|
|
234
|
+
_.trys.pop();
|
|
235
|
+
continue;
|
|
236
|
+
}
|
|
237
|
+
op = body.call(thisArg, _);
|
|
238
|
+
}
|
|
239
|
+
catch (e) {
|
|
240
|
+
op = [6, e];
|
|
241
|
+
y = 0;
|
|
242
|
+
}
|
|
243
|
+
finally {
|
|
244
|
+
f = t = 0;
|
|
245
|
+
}
|
|
246
|
+
if (op[0] & 5)
|
|
247
|
+
throw op[1];
|
|
248
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
252
|
+
if (k2 === undefined)
|
|
253
|
+
k2 = k;
|
|
254
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
255
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
256
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
257
|
+
}
|
|
258
|
+
Object.defineProperty(o, k2, desc);
|
|
259
|
+
}) : (function (o, m, k, k2) {
|
|
260
|
+
if (k2 === undefined)
|
|
261
|
+
k2 = k;
|
|
262
|
+
o[k2] = m[k];
|
|
263
|
+
});
|
|
264
|
+
function __exportStar(m, o) {
|
|
265
|
+
for (var p in m)
|
|
266
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
267
|
+
__createBinding(o, m, p);
|
|
268
|
+
}
|
|
269
|
+
function __values(o) {
|
|
270
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
271
|
+
if (m)
|
|
272
|
+
return m.call(o);
|
|
273
|
+
if (o && typeof o.length === "number")
|
|
274
|
+
return {
|
|
275
|
+
next: function () {
|
|
276
|
+
if (o && i >= o.length)
|
|
277
|
+
o = void 0;
|
|
278
|
+
return { value: o && o[i++], done: !o };
|
|
279
|
+
}
|
|
280
|
+
};
|
|
281
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
282
|
+
}
|
|
283
|
+
function __read(o, n) {
|
|
284
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
285
|
+
if (!m)
|
|
286
|
+
return o;
|
|
287
|
+
var i = m.call(o), r, ar = [], e;
|
|
288
|
+
try {
|
|
289
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
290
|
+
ar.push(r.value);
|
|
291
|
+
}
|
|
292
|
+
catch (error) {
|
|
293
|
+
e = { error: error };
|
|
294
|
+
}
|
|
295
|
+
finally {
|
|
296
|
+
try {
|
|
297
|
+
if (r && !r.done && (m = i["return"]))
|
|
298
|
+
m.call(i);
|
|
299
|
+
}
|
|
300
|
+
finally {
|
|
301
|
+
if (e)
|
|
302
|
+
throw e.error;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
return ar;
|
|
306
|
+
}
|
|
307
|
+
/** @deprecated */
|
|
308
|
+
function __spread() {
|
|
309
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
310
|
+
ar = ar.concat(__read(arguments[i]));
|
|
311
|
+
return ar;
|
|
312
|
+
}
|
|
313
|
+
/** @deprecated */
|
|
314
|
+
function __spreadArrays() {
|
|
315
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
316
|
+
s += arguments[i].length;
|
|
317
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
318
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
319
|
+
r[k] = a[j];
|
|
320
|
+
return r;
|
|
321
|
+
}
|
|
322
|
+
function __spreadArray(to, from, pack) {
|
|
323
|
+
if (pack || arguments.length === 2)
|
|
324
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
325
|
+
if (ar || !(i in from)) {
|
|
326
|
+
if (!ar)
|
|
327
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
328
|
+
ar[i] = from[i];
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
332
|
+
}
|
|
333
|
+
function __await(v) {
|
|
334
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
335
|
+
}
|
|
336
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
337
|
+
if (!Symbol.asyncIterator)
|
|
338
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
339
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
340
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
341
|
+
function verb(n) { if (g[n])
|
|
342
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
343
|
+
function resume(n, v) { try {
|
|
344
|
+
step(g[n](v));
|
|
345
|
+
}
|
|
346
|
+
catch (e) {
|
|
347
|
+
settle(q[0][3], e);
|
|
348
|
+
} }
|
|
349
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
350
|
+
function fulfill(value) { resume("next", value); }
|
|
351
|
+
function reject(value) { resume("throw", value); }
|
|
352
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
353
|
+
resume(q[0][0], q[0][1]); }
|
|
354
|
+
}
|
|
355
|
+
function __asyncDelegator(o) {
|
|
356
|
+
var i, p;
|
|
357
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
358
|
+
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
|
|
359
|
+
}
|
|
360
|
+
function __asyncValues(o) {
|
|
361
|
+
if (!Symbol.asyncIterator)
|
|
362
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
363
|
+
var m = o[Symbol.asyncIterator], i;
|
|
364
|
+
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
365
|
+
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
366
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
367
|
+
}
|
|
368
|
+
function __makeTemplateObject(cooked, raw) {
|
|
369
|
+
if (Object.defineProperty) {
|
|
370
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
371
|
+
}
|
|
372
|
+
else {
|
|
373
|
+
cooked.raw = raw;
|
|
374
|
+
}
|
|
375
|
+
return cooked;
|
|
376
|
+
}
|
|
377
|
+
;
|
|
378
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
379
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
380
|
+
}) : function (o, v) {
|
|
381
|
+
o["default"] = v;
|
|
382
|
+
};
|
|
383
|
+
function __importStar(mod) {
|
|
384
|
+
if (mod && mod.__esModule)
|
|
385
|
+
return mod;
|
|
386
|
+
var result = {};
|
|
387
|
+
if (mod != null)
|
|
388
|
+
for (var k in mod)
|
|
389
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
390
|
+
__createBinding(result, mod, k);
|
|
391
|
+
__setModuleDefault(result, mod);
|
|
392
|
+
return result;
|
|
393
|
+
}
|
|
394
|
+
function __importDefault(mod) {
|
|
395
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
396
|
+
}
|
|
397
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
398
|
+
if (kind === "a" && !f)
|
|
399
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
400
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
401
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
402
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
403
|
+
}
|
|
404
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
405
|
+
if (kind === "m")
|
|
406
|
+
throw new TypeError("Private method is not writable");
|
|
407
|
+
if (kind === "a" && !f)
|
|
408
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
409
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
410
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
411
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
412
|
+
}
|
|
413
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
414
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
415
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
416
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
417
|
+
}
|
|
418
|
+
function __addDisposableResource(env, value, async) {
|
|
419
|
+
if (value !== null && value !== void 0) {
|
|
420
|
+
if (typeof value !== "object" && typeof value !== "function")
|
|
421
|
+
throw new TypeError("Object expected.");
|
|
422
|
+
var dispose;
|
|
423
|
+
if (async) {
|
|
424
|
+
if (!Symbol.asyncDispose)
|
|
425
|
+
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
426
|
+
dispose = value[Symbol.asyncDispose];
|
|
427
|
+
}
|
|
428
|
+
if (dispose === void 0) {
|
|
429
|
+
if (!Symbol.dispose)
|
|
430
|
+
throw new TypeError("Symbol.dispose is not defined.");
|
|
431
|
+
dispose = value[Symbol.dispose];
|
|
432
|
+
}
|
|
433
|
+
if (typeof dispose !== "function")
|
|
434
|
+
throw new TypeError("Object not disposable.");
|
|
435
|
+
env.stack.push({ value: value, dispose: dispose, async: async });
|
|
436
|
+
}
|
|
437
|
+
else if (async) {
|
|
438
|
+
env.stack.push({ async: true });
|
|
439
|
+
}
|
|
440
|
+
return value;
|
|
441
|
+
}
|
|
442
|
+
var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
443
|
+
var e = new Error(message);
|
|
444
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
445
|
+
};
|
|
446
|
+
function __disposeResources(env) {
|
|
447
|
+
function fail(e) {
|
|
448
|
+
env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
|
|
449
|
+
env.hasError = true;
|
|
450
|
+
}
|
|
451
|
+
function next() {
|
|
452
|
+
while (env.stack.length) {
|
|
453
|
+
var rec = env.stack.pop();
|
|
454
|
+
try {
|
|
455
|
+
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
456
|
+
if (rec.async)
|
|
457
|
+
return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
|
|
458
|
+
}
|
|
459
|
+
catch (e) {
|
|
460
|
+
fail(e);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
if (env.hasError)
|
|
464
|
+
throw env.error;
|
|
465
|
+
}
|
|
466
|
+
return next();
|
|
467
|
+
}
|
|
468
|
+
var tslib_es6 = {
|
|
469
|
+
__extends: __extends,
|
|
470
|
+
__assign: __assign,
|
|
471
|
+
__rest: __rest,
|
|
472
|
+
__decorate: __decorate,
|
|
473
|
+
__param: __param,
|
|
474
|
+
__metadata: __metadata,
|
|
475
|
+
__awaiter: __awaiter,
|
|
476
|
+
__generator: __generator,
|
|
477
|
+
__createBinding: __createBinding,
|
|
478
|
+
__exportStar: __exportStar,
|
|
479
|
+
__values: __values,
|
|
480
|
+
__read: __read,
|
|
481
|
+
__spread: __spread,
|
|
482
|
+
__spreadArrays: __spreadArrays,
|
|
483
|
+
__spreadArray: __spreadArray,
|
|
484
|
+
__await: __await,
|
|
485
|
+
__asyncGenerator: __asyncGenerator,
|
|
486
|
+
__asyncDelegator: __asyncDelegator,
|
|
487
|
+
__asyncValues: __asyncValues,
|
|
488
|
+
__makeTemplateObject: __makeTemplateObject,
|
|
489
|
+
__importStar: __importStar,
|
|
490
|
+
__importDefault: __importDefault,
|
|
491
|
+
__classPrivateFieldGet: __classPrivateFieldGet,
|
|
492
|
+
__classPrivateFieldSet: __classPrivateFieldSet,
|
|
493
|
+
__classPrivateFieldIn: __classPrivateFieldIn,
|
|
494
|
+
__addDisposableResource: __addDisposableResource,
|
|
495
|
+
__disposeResources: __disposeResources,
|
|
496
|
+
};
|
|
351
497
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
498
|
+
var TUI_INPUT_TAG_DEFAULT_OPTIONS = {
|
|
499
|
+
separator: ",",
|
|
500
|
+
uniqueTags: true,
|
|
501
|
+
tagStatus: "primary",
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* Default parameters for InputTag component
|
|
505
|
+
*/
|
|
506
|
+
var TUI_INPUT_TAG_OPTIONS = i4.tuiCreateToken(TUI_INPUT_TAG_DEFAULT_OPTIONS);
|
|
507
|
+
function tuiInputTagOptionsProvider(options) {
|
|
508
|
+
return i4.tuiProvideOptions(TUI_INPUT_TAG_OPTIONS, options, TUI_INPUT_TAG_DEFAULT_OPTIONS);
|
|
509
|
+
}
|
|
364
510
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
], queries: [{ propertyName: "datalist", first: true, predicate: i1.TuiDataListDirective, descendants: true, read: i0.TemplateRef }], viewQueries: [{ propertyName: "hostedDropdown", first: true, predicate: i1.TuiHostedDropdownComponent, 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: i0.ElementRef }, { propertyName: "scrollBar", first: true, predicate: i1.TuiScrollbarComponent, descendants: true, read: i0.ElementRef }, { propertyName: "errorIconTemplate", first: true, predicate: ["errorIcon"], descendants: true }, { propertyName: "tags", predicate: ["tag"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"hintOptions?.change$ | async\"></ng-container>\n<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [content]=\"datalist || ''\"\n [(open)]=\"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.silent)=\"detectRetargetFromLabel($event)\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeft\"\n class=\"t-icon t-icon_left t-textfield-icon t-icon-wrapper\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeft as src; context: {$implicit: size}\"\n appearance=\"icon\"\n tuiWrapper\n [src]=\"src\"\n ></tui-svg>\n </div>\n <div class=\"t-wrapper\">\n <div class=\"t-absolute-wrapper\">\n <div\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-input-tag__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content></ng-content>\n </div>\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]=\"(!focused || inputHidden) && !value?.length && !search?.trim()?.length\"\n >\n <ng-container *ngIf=\"labelOutside; else text\">\n <tui-tag\n *ngFor=\"let item of value; index as index; trackBy: trackByFn\"\n #tag\n automation-id=\"tui-input-tag__tag\"\n class=\"t-tag\"\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$ | async)!\"\n [tuiFocusable]=\"false\"\n [value]=\"item.toString()\"\n (edited)=\"onTagEdited($event, index)\"\n (keydown.arrowLeft.prevent)=\"onTagKeyDownArrowLeft(index)\"\n (keydown.arrowRight.prevent)=\"onTagKeyDownArrowRight(index)\"\n ></tui-tag>\n </ng-container>\n <ng-template #text>\n <span\n *ngFor=\"let item of value\"\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 </ng-template>\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 [placeholder]=\"placeholder\"\n [readOnly]=\"readOnly || inputHidden\"\n [tuiFocusable]=\"computedFocusable\"\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\"></ng-content>\n </div>\n </tui-scrollbar>\n </div>\n <ng-content select=\"select\"></ng-content>\n <div\n *ngIf=\"hasRightIcons\"\n class=\"t-icons t-icon-wrapper\"\n >\n <ng-container *ngIf=\"hasCleaner\">\n <tui-svg\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n #cleaner\n appearance=\"icon\"\n automation-id=\"tui-input-tag__cleaner\"\n tuiWrapper\n class=\"t-cleaner\"\n [src]=\"src\"\n (click.stop)=\"onCleanerClick()\"\n ></tui-svg>\n </ng-container>\n <tui-tooltip\n *ngIf=\"showHint\"\n automation-id=\"tui-input-tag__tooltip\"\n class=\"t-tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"id\"\n ></tui-tooltip>\n <div\n *ngIf=\"icon\"\n class=\"t-icon t-textfield-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n appearance=\"icon\"\n tuiWrapper\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n </div>\n <ng-template #errorIcon>\n <tui-svg\n class=\"t-error-icon\"\n [src]=\"icons.error\"\n ></tui-svg>\n </ng-template>\n </div>\n</tui-hosted-dropdown>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}:host[data-size=s]{--tui-height: var(--tui-height-s)}:host[data-size=m]{--tui-height: var(--tui-height-m)}:host[data-size=l]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);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;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);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{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:-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-03);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}[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-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-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] .t-input::placeholder,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}: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-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}: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-top:1rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-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;-webkit-user-select:none}.t-content{display:flex;height:100%;width: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-width:0;-webkit-padding-end:.25rem;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;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)}@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-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)}.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-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}:host[data-size=s] .t-icon_left{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}:host[data-size=m] .t-icon_left{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}:host[data-size=l] .t-icon_left{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons{display:flex;align-items:center}:host[data-size=m] .t-icons{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}:host[data-size=s] .t-icons{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}:host:not([data-size=\"s\"]) .t-icons>:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}:host{cursor:text}:host._expandable{height:auto;max-height:none}:host._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:smooth;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;min-width:100%}:host-context(tui-root._reduced-motion) .t-scrollbar{scroll-behavior:auto}:host:not(._label-outside) .t-scrollbar,:host._label-outside._icon-left .t-scrollbar{margin:0}:host[data-size=s]._icon-left .t-scrollbar{-webkit-margin-start:.25rem;margin-inline-start:.25rem}:host[data-size=m]:not(._label-outside) .t-scrollbar{border-top:1rem solid transparent}:host[data-size=l]:not(._label-outside) .t-scrollbar{border-top:1.25rem solid transparent}.t-tags{display:flex;-webkit-padding-start:.25rem;padding-inline-start:.25rem}.t-tags_expandable{overflow:hidden}.t-tags_empty{height: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-content{align-items:flex-start}:host[data-size=s] .t-content{min-height:var(--tui-height-s)}:host[data-size=m] .t-content{min-height:var(--tui-height-m)}:host[data-size=l] .t-content{min-height:var(--tui-height-l)}:host[data-size=s] .t-icon-wrapper{height:var(--tui-height-s)}:host[data-size=m] .t-icon-wrapper{height:var(--tui-height-m)}:host[data-size=l] .t-icon-wrapper{height:var(--tui-height-l)}.t-absolute-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center}:host[data-size=m] .t-absolute-wrapper{height:var(--tui-height-m)}:host[data-size=l] .t-absolute-wrapper{height: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-height:var(--tui-height-s);padding:calc((var(--tui-height-s) - 1.5rem) / 2) 0}:host[data-size=m] .t-wrapper{min-height: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;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem;max-width:100%;flex-shrink:0}:host[data-size=m] .t-tag{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}.t-text:after{content:\",\\a0\"}.t-text_disabled{color:var(--tui-text-03)}.t-text_error{color:var(--tui-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-width:100%}:host[data-size=s] .t-input-wrapper,:host[data-size=s] .t-value-content{min-height:1.5rem}:host[data-size=m] .t-input-wrapper,:host[data-size=m] .t-value-content{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size=l] .t-input-wrapper,:host[data-size=l] .t-value-content{min-height:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper,:host:not(._label-outside) .t-value-content{min-height:1rem}.t-input-wrapper_collapsed{flex:0;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem}.t-value-content:empty{display:none}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip;min-width:.125rem}:host:not(._expandable) .t-ghost{min-width: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;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height: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{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-native_hidden{opacity:0;text-indent:-10em}.t-native::placeholder{color:var(--tui-text-03);opacity:0}[tuiWrapper][data-mode=onDark] .t-native::placeholder{color:var(--tui-text-03-night)}:host._focused .t-native:not(:-moz-read-only)::placeholder{opacity:1}:host._focused .t-native:not(:read-only)::placeholder{opacity:1}.t-error-icon{display:block;color:var(--tui-error-fill);width:1rem;height:1rem}\n"], components: [{ type: i1__namespace.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i2__namespace.TuiTagComponent, selector: "tui-tag, a[tuiTag], button[tuiTag]", inputs: ["value", "editable", "separator", "maxLength", "size", "showLoader", "status", "hoverable", "removable", "disabled", "autoColor", "leftContent"], outputs: ["edited"] }, { type: i1__namespace.TuiTooltipComponent, selector: "tui-tooltip", inputs: ["content", "direction", "appearance", "showDelay", "hideDelay", "describeId", "context"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i6__namespace.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: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i3__namespace.AsyncPipe }, viewProviders: [providers.FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
511
|
+
var TAG_SIZE_REM = {
|
|
512
|
+
s: 1.25,
|
|
513
|
+
m: 1.5,
|
|
514
|
+
l: 2,
|
|
515
|
+
};
|
|
516
|
+
var LINE_HEIGHT_REM = {
|
|
517
|
+
s: 1,
|
|
518
|
+
m: 1.25,
|
|
519
|
+
l: 1.25,
|
|
520
|
+
};
|
|
521
|
+
var TAG_VERTICAL_SPACE_REM = 0.125;
|
|
522
|
+
var TuiInputTagComponent = /** @class */ (function (_super) {
|
|
523
|
+
__extends(TuiInputTagComponent, _super);
|
|
524
|
+
function TuiInputTagComponent(control, cdr, el, modeDirective, mode$, hintOptions, controller, options, icons) {
|
|
525
|
+
var _this = _super.call(this, control, cdr) || this;
|
|
526
|
+
_this.el = el;
|
|
527
|
+
_this.modeDirective = modeDirective;
|
|
528
|
+
_this.mode$ = mode$;
|
|
529
|
+
_this.hintOptions = hintOptions;
|
|
530
|
+
_this.controller = controller;
|
|
531
|
+
_this.options = options;
|
|
532
|
+
_this.icons = icons;
|
|
533
|
+
_this.tags = i4.EMPTY_QUERY;
|
|
534
|
+
_this.separator = _this.options.separator;
|
|
535
|
+
_this.search = '';
|
|
536
|
+
_this.editable = true;
|
|
537
|
+
_this.tagValidator = i4.ALWAYS_TRUE_HANDLER;
|
|
538
|
+
// TODO: 4.0 Consider removing and use rows = 1 instead
|
|
539
|
+
_this.expandable = true;
|
|
540
|
+
_this.rows = Infinity;
|
|
541
|
+
_this.inputHidden = false;
|
|
542
|
+
_this.uniqueTags = _this.options.uniqueTags;
|
|
543
|
+
_this.maxLength = null;
|
|
544
|
+
_this.placeholder = '';
|
|
545
|
+
_this.removable = true;
|
|
546
|
+
_this.disabledItemHandler = i4.ALWAYS_FALSE_HANDLER;
|
|
547
|
+
_this.searchChange = new i0.EventEmitter();
|
|
548
|
+
_this.status$ = _this.mode$.pipe(operators.map(function () { return _this.status; }));
|
|
549
|
+
_this.open = false;
|
|
550
|
+
return _this;
|
|
551
|
+
}
|
|
552
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "pseudoFocusedSetter", {
|
|
553
|
+
set: function (value) {
|
|
554
|
+
if (!value && !this.focused) {
|
|
555
|
+
this.scrollTo(0);
|
|
556
|
+
}
|
|
557
|
+
this.pseudoFocus = value;
|
|
558
|
+
},
|
|
559
|
+
enumerable: false,
|
|
560
|
+
configurable: true
|
|
561
|
+
});
|
|
562
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "nativeFocusableElement", {
|
|
563
|
+
get: function () {
|
|
564
|
+
return !this.focusableElement || this.computedDisabled
|
|
565
|
+
? null
|
|
566
|
+
: this.focusableElement.nativeElement;
|
|
567
|
+
},
|
|
568
|
+
enumerable: false,
|
|
569
|
+
configurable: true
|
|
570
|
+
});
|
|
571
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "focused", {
|
|
572
|
+
get: function () {
|
|
573
|
+
var _a;
|
|
574
|
+
return (i4.tuiIsNativeFocusedIn(this.el.nativeElement) || !!((_a = this.hostedDropdown) === null || _a === void 0 ? void 0 : _a.focused));
|
|
575
|
+
},
|
|
576
|
+
enumerable: false,
|
|
577
|
+
configurable: true
|
|
578
|
+
});
|
|
579
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "appearance", {
|
|
580
|
+
get: function () {
|
|
581
|
+
return this.controller.appearance;
|
|
582
|
+
},
|
|
583
|
+
enumerable: false,
|
|
584
|
+
configurable: true
|
|
585
|
+
});
|
|
586
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "size", {
|
|
587
|
+
get: function () {
|
|
588
|
+
return this.controller.size;
|
|
589
|
+
},
|
|
590
|
+
enumerable: false,
|
|
591
|
+
configurable: true
|
|
592
|
+
});
|
|
593
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "labelOutside", {
|
|
594
|
+
get: function () {
|
|
595
|
+
var _c = this.controller, size = _c.size, labelOutside = _c.labelOutside;
|
|
596
|
+
return size === 's' || labelOutside;
|
|
597
|
+
},
|
|
598
|
+
enumerable: false,
|
|
599
|
+
configurable: true
|
|
600
|
+
});
|
|
601
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "iconLeft", {
|
|
602
|
+
get: function () {
|
|
603
|
+
return this.controller.iconLeft;
|
|
604
|
+
},
|
|
605
|
+
enumerable: false,
|
|
606
|
+
configurable: true
|
|
607
|
+
});
|
|
608
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "icon", {
|
|
609
|
+
get: function () {
|
|
610
|
+
return this.controller.icon;
|
|
611
|
+
},
|
|
612
|
+
enumerable: false,
|
|
613
|
+
configurable: true
|
|
614
|
+
});
|
|
615
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "iconCleaner", {
|
|
616
|
+
get: function () {
|
|
617
|
+
return this.controller.options.iconCleaner;
|
|
618
|
+
},
|
|
619
|
+
enumerable: false,
|
|
620
|
+
configurable: true
|
|
621
|
+
});
|
|
622
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "hasCleaner", {
|
|
623
|
+
get: function () {
|
|
624
|
+
return this.controller.cleaner && this.hasValue && this.interactive;
|
|
625
|
+
},
|
|
626
|
+
enumerable: false,
|
|
627
|
+
configurable: true
|
|
628
|
+
});
|
|
629
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "hasNativeValue", {
|
|
630
|
+
get: function () {
|
|
631
|
+
return !!this.search;
|
|
632
|
+
},
|
|
633
|
+
enumerable: false,
|
|
634
|
+
configurable: true
|
|
635
|
+
});
|
|
636
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "hasValue", {
|
|
637
|
+
get: function () {
|
|
638
|
+
return !!this.value.length || this.hasNativeValue;
|
|
639
|
+
},
|
|
640
|
+
enumerable: false,
|
|
641
|
+
configurable: true
|
|
642
|
+
});
|
|
643
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "hasPlaceholder", {
|
|
644
|
+
get: function () {
|
|
645
|
+
return (!this.labelOutside ||
|
|
646
|
+
(!this.hasValue && (!this.hasExampleText || this.inputHidden)));
|
|
647
|
+
},
|
|
648
|
+
enumerable: false,
|
|
649
|
+
configurable: true
|
|
650
|
+
});
|
|
651
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "placeholderRaised", {
|
|
652
|
+
get: function () {
|
|
653
|
+
return (!this.labelOutside &&
|
|
654
|
+
((this.computedFocused && !this.readOnly) || this.hasValue));
|
|
655
|
+
},
|
|
656
|
+
enumerable: false,
|
|
657
|
+
configurable: true
|
|
658
|
+
});
|
|
659
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "hasExampleText", {
|
|
660
|
+
get: function () {
|
|
661
|
+
var _a;
|
|
662
|
+
return (!!((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.placeholder) &&
|
|
663
|
+
this.computedFocused &&
|
|
664
|
+
!this.hasValue &&
|
|
665
|
+
!this.readOnly);
|
|
666
|
+
},
|
|
667
|
+
enumerable: false,
|
|
668
|
+
configurable: true
|
|
669
|
+
});
|
|
670
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "hasRightIcons", {
|
|
671
|
+
get: function () {
|
|
672
|
+
var _a;
|
|
673
|
+
return (this.hasCleaner ||
|
|
674
|
+
!!this.icon ||
|
|
675
|
+
(!!((_a = this.hintOptions) === null || _a === void 0 ? void 0 : _a.content) && !this.computedDisabled));
|
|
676
|
+
},
|
|
677
|
+
enumerable: false,
|
|
678
|
+
configurable: true
|
|
679
|
+
});
|
|
680
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "showHint", {
|
|
681
|
+
get: function () {
|
|
682
|
+
var _a;
|
|
683
|
+
return (!!((_a = this.hintOptions) === null || _a === void 0 ? void 0 : _a.content) &&
|
|
684
|
+
(this.controller.options.hintOnDisabled || !this.computedDisabled));
|
|
685
|
+
},
|
|
686
|
+
enumerable: false,
|
|
687
|
+
configurable: true
|
|
688
|
+
});
|
|
689
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "status", {
|
|
690
|
+
get: function () {
|
|
691
|
+
var _a;
|
|
692
|
+
return ((_a = this.modeDirective) === null || _a === void 0 ? void 0 : _a.mode) ? 'default' : this.options.tagStatus;
|
|
693
|
+
},
|
|
694
|
+
enumerable: false,
|
|
695
|
+
configurable: true
|
|
696
|
+
});
|
|
697
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "canOpen", {
|
|
698
|
+
get: function () {
|
|
699
|
+
return this.interactive && !!this.datalist;
|
|
700
|
+
},
|
|
701
|
+
enumerable: false,
|
|
702
|
+
configurable: true
|
|
703
|
+
});
|
|
704
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "computeMaxHeight", {
|
|
705
|
+
get: function () {
|
|
706
|
+
return this.expandable ? this.rows * this.lineHeight : null;
|
|
707
|
+
},
|
|
708
|
+
enumerable: false,
|
|
709
|
+
configurable: true
|
|
710
|
+
});
|
|
711
|
+
TuiInputTagComponent.prototype.onFocusInOut = function () {
|
|
712
|
+
this.cdr.detectChanges();
|
|
713
|
+
};
|
|
714
|
+
TuiInputTagComponent.prototype.detectRetargetFromLabel = function (event) {
|
|
715
|
+
if (i4.tuiRetargetedBoundaryCrossing(event)) {
|
|
716
|
+
event.stopImmediatePropagation();
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
TuiInputTagComponent.prototype.getLeftContent = function (tag) {
|
|
720
|
+
return !this.tagValidator(tag) && this.errorIconTemplate
|
|
721
|
+
? this.errorIconTemplate
|
|
722
|
+
: '';
|
|
723
|
+
};
|
|
724
|
+
TuiInputTagComponent.prototype.onCleanerClick = function () {
|
|
725
|
+
this.updateSearch('');
|
|
726
|
+
this.clear();
|
|
727
|
+
this.focusInput();
|
|
728
|
+
};
|
|
729
|
+
TuiInputTagComponent.prototype.onActiveZone = function (active) {
|
|
730
|
+
this.open = false;
|
|
731
|
+
this.addTag();
|
|
732
|
+
this.updateFocused(active);
|
|
733
|
+
if (!active && !this.computedFocused) {
|
|
734
|
+
this.scrollTo(0);
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
TuiInputTagComponent.prototype.onMouseDown = function (event) {
|
|
738
|
+
var _a;
|
|
739
|
+
var actualTarget = i4.tuiGetActualTarget(event);
|
|
740
|
+
if (!this.focusableElement ||
|
|
741
|
+
actualTarget === this.focusableElement.nativeElement ||
|
|
742
|
+
!i4.tuiIsElement(event.target) ||
|
|
743
|
+
((_a = this.cleanerSvg) === null || _a === void 0 ? void 0 : _a.nativeElement.contains(event.target)) ||
|
|
744
|
+
(this.tagsContainer &&
|
|
745
|
+
actualTarget !== this.tagsContainer.nativeElement &&
|
|
746
|
+
this.tagsContainer.nativeElement.contains(actualTarget))) {
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
event.preventDefault();
|
|
750
|
+
this.focusInput();
|
|
751
|
+
};
|
|
752
|
+
TuiInputTagComponent.prototype.onFieldKeyDownBackspace = function (event) {
|
|
753
|
+
if (!this.labelOutside && !this.hasNativeValue && this.value.length) {
|
|
754
|
+
this.deleteLastEnabledItem();
|
|
755
|
+
}
|
|
756
|
+
else {
|
|
757
|
+
this.onFieldKeyDownArrowLeft(event);
|
|
758
|
+
}
|
|
759
|
+
};
|
|
760
|
+
TuiInputTagComponent.prototype.onFieldKeyDownArrowLeft = function (event) {
|
|
761
|
+
if (!this.labelOutside || this.hasNativeValue || !this.value.length) {
|
|
762
|
+
return;
|
|
763
|
+
}
|
|
764
|
+
event.preventDefault();
|
|
765
|
+
this.tags.last.nativeElement.focus();
|
|
766
|
+
};
|
|
767
|
+
TuiInputTagComponent.prototype.onFieldKeyDownEnter = function () {
|
|
768
|
+
this.addTag();
|
|
769
|
+
this.scrollTo();
|
|
770
|
+
};
|
|
771
|
+
TuiInputTagComponent.prototype.onTagKeyDownArrowLeft = function (currentIndex) {
|
|
772
|
+
if (currentIndex > 0) {
|
|
773
|
+
this.onScrollKeyDown(currentIndex, -1);
|
|
774
|
+
}
|
|
775
|
+
};
|
|
776
|
+
TuiInputTagComponent.prototype.onTagKeyDownArrowRight = function (currentIndex) {
|
|
777
|
+
if (currentIndex === this.value.length - 1) {
|
|
778
|
+
this.focusInput();
|
|
779
|
+
}
|
|
780
|
+
else {
|
|
781
|
+
this.onScrollKeyDown(currentIndex, 1);
|
|
782
|
+
}
|
|
783
|
+
};
|
|
784
|
+
TuiInputTagComponent.prototype.onTagEdited = function (value, index) {
|
|
785
|
+
var _this = this;
|
|
786
|
+
this.focusInput(value === '');
|
|
787
|
+
this.value = this.filterValue(this.value
|
|
788
|
+
.map(function (tag, tagIndex) { return tagIndex !== index
|
|
789
|
+
? tag
|
|
790
|
+
: value
|
|
791
|
+
.split(_this.separator)
|
|
792
|
+
.map(function (tag) { return tag.trim(); })
|
|
793
|
+
.filter(Boolean); })
|
|
794
|
+
.reduce(function (result, item) { return result.concat(item); }, []));
|
|
795
|
+
};
|
|
796
|
+
TuiInputTagComponent.prototype.handleOption = function (item) {
|
|
797
|
+
this.focusInput();
|
|
798
|
+
this.updateSearch('');
|
|
799
|
+
this.value = this.filterValue(this.value.concat(item));
|
|
800
|
+
this.open = false;
|
|
801
|
+
this.scrollTo();
|
|
802
|
+
};
|
|
803
|
+
TuiInputTagComponent.prototype.onInput = function (value) {
|
|
804
|
+
var _this = this;
|
|
805
|
+
var array = value.split(this.separator);
|
|
806
|
+
var tags = array
|
|
807
|
+
.map(function (item) { return _this.clippedValue(item.trim()); })
|
|
808
|
+
.filter(function (item, index, _c) {
|
|
809
|
+
var length = _c.length;
|
|
810
|
+
return item.length > 0 && index !== length - 1;
|
|
811
|
+
});
|
|
812
|
+
var validated = tags.filter(function (tag) { return !_this.disabledItemHandler(tag); });
|
|
813
|
+
if (array.length > 1) {
|
|
814
|
+
this.updateSearch(this.clippedValue(array[array.length - 1].trim()));
|
|
815
|
+
this.value = this.filterValue(__spreadArray(__spreadArray([], __read(this.value)), __read(validated)));
|
|
816
|
+
}
|
|
817
|
+
else {
|
|
818
|
+
this.updateSearch(this.clippedValue(value));
|
|
819
|
+
}
|
|
820
|
+
this.open = this.hasNativeValue;
|
|
821
|
+
};
|
|
822
|
+
TuiInputTagComponent.prototype.onPaste = function (event) {
|
|
823
|
+
var pasted = i4.tuiGetClipboardDataText(event);
|
|
824
|
+
this.onInput(pasted || '');
|
|
825
|
+
};
|
|
826
|
+
TuiInputTagComponent.prototype.onDrop = function (_c) {
|
|
827
|
+
var dataTransfer = _c.dataTransfer;
|
|
828
|
+
if (dataTransfer) {
|
|
829
|
+
this.onInput(dataTransfer.getData('text') || '');
|
|
830
|
+
}
|
|
831
|
+
};
|
|
832
|
+
TuiInputTagComponent.prototype.setDisabledState = function () {
|
|
833
|
+
_super.prototype.setDisabledState.call(this);
|
|
834
|
+
this.open = false;
|
|
835
|
+
};
|
|
836
|
+
TuiInputTagComponent.prototype.trackByFn = function (_, tag) {
|
|
837
|
+
// Actually tag has TuiStringifiableItem type not string
|
|
838
|
+
return tag.toString();
|
|
839
|
+
};
|
|
840
|
+
TuiInputTagComponent.prototype.scrollTo = function (scrollLeft) {
|
|
841
|
+
var _this = this;
|
|
842
|
+
var _a;
|
|
843
|
+
if (scrollLeft === void 0) {
|
|
844
|
+
scrollLeft = (_a = this.scrollBar) === null || _a === void 0 ? void 0 : _a.nativeElement.scrollWidth;
|
|
845
|
+
}
|
|
846
|
+
// Allow change detection to run and add new tag to DOM
|
|
847
|
+
setTimeout(function () {
|
|
848
|
+
if (_this.scrollBar) {
|
|
849
|
+
_this.scrollBar.nativeElement.scrollLeft = scrollLeft || 0;
|
|
850
|
+
}
|
|
851
|
+
});
|
|
852
|
+
};
|
|
853
|
+
TuiInputTagComponent.prototype.filterValue = function (value) {
|
|
854
|
+
var _this = this;
|
|
855
|
+
var seen = new Set();
|
|
856
|
+
return value
|
|
857
|
+
.reverse()
|
|
858
|
+
.filter(function (item) { return !_this.uniqueTags || (item && !seen.has(item) && seen.add(item)); })
|
|
859
|
+
.reverse();
|
|
860
|
+
};
|
|
861
|
+
TuiInputTagComponent.prototype.onScrollKeyDown = function (currentIndex, flag) {
|
|
862
|
+
var tag = this.tags.find(function (_item, index) { return index === currentIndex + flag; });
|
|
863
|
+
if (!tag || !this.scrollBar) {
|
|
864
|
+
return;
|
|
865
|
+
}
|
|
866
|
+
tag.nativeElement.focus();
|
|
867
|
+
if (flag * this.scrollBar.nativeElement.clientWidth -
|
|
868
|
+
flag * tag.nativeElement.offsetLeft -
|
|
869
|
+
tag.nativeElement.clientWidth <
|
|
870
|
+
0) {
|
|
871
|
+
this.scrollBar.nativeElement.scrollLeft +=
|
|
872
|
+
flag * tag.nativeElement.clientWidth;
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
TuiInputTagComponent.prototype.updateSearch = function (value) {
|
|
876
|
+
if (this.focusableElement) {
|
|
877
|
+
this.focusableElement.nativeElement.value = value;
|
|
878
|
+
}
|
|
879
|
+
this.search = value;
|
|
880
|
+
this.searchChange.emit(value);
|
|
881
|
+
};
|
|
882
|
+
TuiInputTagComponent.prototype.addTag = function () {
|
|
883
|
+
var _a, _b;
|
|
884
|
+
var inputValue = (_b = (_a = this.search) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : '';
|
|
885
|
+
if (!inputValue || this.disabledItemHandler(inputValue)) {
|
|
886
|
+
return;
|
|
887
|
+
}
|
|
888
|
+
this.updateSearch('');
|
|
889
|
+
this.value = this.filterValue(this.value.concat(inputValue));
|
|
890
|
+
};
|
|
891
|
+
TuiInputTagComponent.prototype.deleteLastEnabledItem = function () {
|
|
892
|
+
for (var index = this.value.length - 1; index >= 0; index--) {
|
|
893
|
+
if (!this.disabledItemHandler(this.value[index])) {
|
|
894
|
+
this.value = i4.tuiArrayRemove(this.value, index);
|
|
895
|
+
break;
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
};
|
|
899
|
+
TuiInputTagComponent.prototype.focusInput = function (preventScroll) {
|
|
900
|
+
if (preventScroll === void 0) { preventScroll = false; }
|
|
901
|
+
var _a;
|
|
902
|
+
(_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: preventScroll });
|
|
903
|
+
};
|
|
904
|
+
TuiInputTagComponent.prototype.clippedValue = function (value) {
|
|
905
|
+
return value.slice(0, this.maxLength || value.length);
|
|
906
|
+
};
|
|
907
|
+
Object.defineProperty(TuiInputTagComponent.prototype, "lineHeight", {
|
|
908
|
+
get: function () {
|
|
909
|
+
return this.labelOutside
|
|
910
|
+
? TAG_SIZE_REM[this.controller.size] + 2 * TAG_VERTICAL_SPACE_REM
|
|
911
|
+
: LINE_HEIGHT_REM[this.controller.size];
|
|
912
|
+
},
|
|
913
|
+
enumerable: false,
|
|
914
|
+
configurable: true
|
|
915
|
+
});
|
|
916
|
+
return TuiInputTagComponent;
|
|
917
|
+
}(i4.AbstractTuiMultipleControl));
|
|
918
|
+
TuiInputTagComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputTagComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.TuiModeDirective, optional: true }, { token: i1.TUI_MODE }, { token: i1.TuiHintOptionsDirective, optional: true }, { token: i1.TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: TUI_INPUT_TAG_OPTIONS }, { token: i1.TUI_COMMON_ICONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
919
|
+
TuiInputTagComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputTagComponent, selector: "tui-input-tag", inputs: { separator: "separator", search: "search", editable: "editable", tagValidator: "tagValidator", expandable: "expandable", rows: "rows", inputHidden: "inputHidden", uniqueTags: "uniqueTags", maxLength: "maxLength", placeholder: "placeholder", removable: "removable", disabledItemHandler: "disabledItemHandler", pseudoFocusedSetter: ["pseudoFocused", "pseudoFocusedSetter"] }, outputs: { searchChange: "searchChange" }, host: { listeners: { "focusin.capture.silent": "onFocusInOut()", "focusout.capture.silent": "onFocusInOut()" }, properties: { "class._expandable": "this.expandable", "attr.data-size": "this.size", "class._label-outside": "this.labelOutside", "class._icon-left": "this.iconLeft" } }, providers: [
|
|
920
|
+
i4.tuiAsFocusableItemAccessor(TuiInputTagComponent),
|
|
921
|
+
i4.tuiAsControl(TuiInputTagComponent),
|
|
922
|
+
i1.tuiAsDataListHost(TuiInputTagComponent),
|
|
923
|
+
i1.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
924
|
+
i1.MODE_PROVIDER,
|
|
925
|
+
], queries: [{ propertyName: "datalist", first: true, predicate: i1.TuiDataListDirective, descendants: true, read: i0.TemplateRef }], viewQueries: [{ propertyName: "hostedDropdown", first: true, predicate: i1.TuiHostedDropdownComponent, 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: i0.ElementRef }, { propertyName: "scrollBar", first: true, predicate: i1.TuiScrollbarComponent, descendants: true, read: i0.ElementRef }, { propertyName: "errorIconTemplate", first: true, predicate: ["errorIcon"], descendants: true }, { propertyName: "tags", predicate: ["tag"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<ng-container *ngIf=\"hintOptions?.change$ | async\"></ng-container>\n<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [content]=\"datalist || ''\"\n [(open)]=\"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.silent)=\"detectRetargetFromLabel($event)\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeft\"\n class=\"t-icon t-icon_left t-textfield-icon t-icon-wrapper\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeft as src; context: {$implicit: size}\"\n appearance=\"icon\"\n tuiWrapper\n [src]=\"src\"\n ></tui-svg>\n </div>\n <div class=\"t-wrapper\">\n <div class=\"t-absolute-wrapper\">\n <div\n *ngIf=\"hasPlaceholder\"\n automation-id=\"tui-input-tag__placeholder\"\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n <ng-content></ng-content>\n </div>\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]=\"(!focused || inputHidden) && !value?.length && !search?.trim()?.length\"\n >\n <ng-container *ngIf=\"labelOutside; else text\">\n <tui-tag\n *ngFor=\"let item of value; index as index; trackBy: trackByFn\"\n #tag\n automation-id=\"tui-input-tag__tag\"\n class=\"t-tag\"\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$ | async)!\"\n [tuiFocusable]=\"false\"\n [value]=\"item.toString()\"\n (edited)=\"onTagEdited($event, index)\"\n (keydown.arrowLeft.prevent)=\"onTagKeyDownArrowLeft(index)\"\n (keydown.arrowRight.prevent)=\"onTagKeyDownArrowRight(index)\"\n ></tui-tag>\n </ng-container>\n <ng-template #text>\n <span\n *ngFor=\"let item of value\"\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 </ng-template>\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 [placeholder]=\"placeholder\"\n [readOnly]=\"readOnly || inputHidden\"\n [tuiFocusable]=\"computedFocusable\"\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\"></ng-content>\n </div>\n </tui-scrollbar>\n </div>\n <ng-content select=\"select\"></ng-content>\n <div\n *ngIf=\"hasRightIcons\"\n class=\"t-icons t-icon-wrapper\"\n >\n <ng-container *ngIf=\"hasCleaner\">\n <tui-svg\n *polymorpheusOutlet=\"iconCleaner as src; context: {$implicit: size}\"\n #cleaner\n appearance=\"icon\"\n automation-id=\"tui-input-tag__cleaner\"\n tuiWrapper\n class=\"t-cleaner\"\n [src]=\"src\"\n (click.stop)=\"onCleanerClick()\"\n ></tui-svg>\n </ng-container>\n <tui-tooltip\n *ngIf=\"showHint\"\n automation-id=\"tui-input-tag__tooltip\"\n class=\"t-tooltip\"\n [content]=\"hintOptions?.content\"\n [describeId]=\"id\"\n ></tui-tooltip>\n <div\n *ngIf=\"icon\"\n class=\"t-icon t-textfield-icon\"\n >\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n appearance=\"icon\"\n tuiWrapper\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n </div>\n <ng-template #errorIcon>\n <tui-svg\n class=\"t-error-icon\"\n [src]=\"icons.error\"\n ></tui-svg>\n </ng-template>\n </div>\n</tui-hosted-dropdown>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);position:relative;display:block;text-align:left;border-radius:var(--tui-radius-m);height:var(--tui-height);min-height:var(--tui-height);max-height:var(--tui-height)}:host[data-size=s]{--tui-height: var(--tui-height-s)}:host[data-size=m]{--tui-height: var(--tui-height-m)}:host[data-size=l]{--tui-height: var(--tui-height-l);font:var(--tui-font-text-m);line-height:1.25rem}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);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;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;border-style:solid;border-color:transparent;border-inline-start-width:var(--border-start, 0);border-inline-end-width:var(--border-end, 0);text-indent:var(--text-indent);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{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:-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-03);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}[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-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-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}[tuiWrapper][data-mode=onDark] .t-input::placeholder,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}: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-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-placeholder{font-size:.8156rem;transform:translateY(-.625rem)}: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-top:1rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-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;-webkit-user-select:none}.t-content{display:flex;height:100%;width: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-width:0;-webkit-padding-end:.25rem;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;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)}@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-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)}.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-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}:host[data-size=s] .t-icon_left{-webkit-margin-start:-.375rem;margin-inline-start:-.375rem}:host[data-size=m] .t-icon_left{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}:host[data-size=l] .t-icon_left{-webkit-margin-end:.75rem;margin-inline-end:.75rem}.t-icons{display:flex;align-items:center}:host[data-size=m] .t-icons{-webkit-margin-end:-.125rem;margin-inline-end:-.125rem}:host[data-size=s] .t-icons{-webkit-margin-end:-.375rem;margin-inline-end:-.375rem}:host:not([data-size=\"s\"]) .t-icons>:not(:first-child){-webkit-margin-start:.25rem;margin-inline-start:.25rem}:host{cursor:text}:host._expandable{height:auto;max-height:none}:host._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:smooth;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;min-width:100%}:host-context(tui-root._reduced-motion) .t-scrollbar{scroll-behavior:auto}:host:not(._label-outside) .t-scrollbar,:host._label-outside._icon-left .t-scrollbar{margin:0}:host[data-size=s]._icon-left .t-scrollbar{-webkit-margin-start:.25rem;margin-inline-start:.25rem}:host[data-size=m]:not(._label-outside) .t-scrollbar{border-top:1rem solid transparent}:host[data-size=l]:not(._label-outside) .t-scrollbar{border-top:1.25rem solid transparent}.t-tags{display:flex;-webkit-padding-start:.25rem;padding-inline-start:.25rem}.t-tags_expandable{overflow:hidden}.t-tags_empty{height: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-content{align-items:flex-start}:host[data-size=s] .t-content{min-height:var(--tui-height-s)}:host[data-size=m] .t-content{min-height:var(--tui-height-m)}:host[data-size=l] .t-content{min-height:var(--tui-height-l)}:host[data-size=s] .t-icon-wrapper{height:var(--tui-height-s)}:host[data-size=m] .t-icon-wrapper{height:var(--tui-height-m)}:host[data-size=l] .t-icon-wrapper{height:var(--tui-height-l)}.t-absolute-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center}:host[data-size=m] .t-absolute-wrapper{height:var(--tui-height-m)}:host[data-size=l] .t-absolute-wrapper{height: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-height:var(--tui-height-s);padding:calc((var(--tui-height-s) - 1.5rem) / 2) 0}:host[data-size=m] .t-wrapper{min-height: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;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem;max-width:100%;flex-shrink:0}:host[data-size=m] .t-tag{-webkit-margin-start:-.125rem;margin-inline-start:-.125rem;-webkit-margin-end:.375rem;margin-inline-end:.375rem}.t-text:after{content:\",\\a0\"}.t-text_disabled{color:var(--tui-text-03)}.t-text_error{color:var(--tui-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-width:100%}:host[data-size=s] .t-input-wrapper,:host[data-size=s] .t-value-content{min-height:1.5rem}:host[data-size=m] .t-input-wrapper,:host[data-size=m] .t-value-content{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size=l] .t-input-wrapper,:host[data-size=l] .t-value-content{min-height:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper,:host:not(._label-outside) .t-value-content{min-height:1rem}.t-input-wrapper_collapsed{flex:0;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem}.t-value-content:empty{display:none}.t-ghost{visibility:hidden;white-space:pre;text-overflow:clip;min-width:.125rem}:host:not(._expandable) .t-ghost{min-width: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;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height: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{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-native_hidden{opacity:0;text-indent:-10em}.t-native::placeholder{color:var(--tui-text-03);opacity:0}[tuiWrapper][data-mode=onDark] .t-native::placeholder{color:var(--tui-text-03-night)}:host._focused .t-native:not(:-moz-read-only)::placeholder{opacity:1}:host._focused .t-native:not(:read-only)::placeholder{opacity:1}.t-error-icon{display:block;color:var(--tui-error-fill);width:1rem;height:1rem}\n"], components: [{ type: i1__namespace.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { type: i2__namespace.TuiTagComponent, selector: "tui-tag, a[tuiTag], button[tuiTag]", inputs: ["value", "editable", "separator", "maxLength", "size", "showLoader", "status", "hoverable", "removable", "disabled", "autoColor", "leftContent"], outputs: ["edited"] }, { type: i1__namespace.TuiTooltipComponent, selector: "tui-tooltip", inputs: ["content", "direction", "appearance", "showDelay", "hideDelay", "describeId", "context"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i3__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i6__namespace.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: i6__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i6__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], pipes: { "async": i3__namespace.AsyncPipe }, viewProviders: [providers.FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
926
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputTagComponent, decorators: [{
|
|
927
|
+
type: i0.Component,
|
|
928
|
+
args: [{
|
|
929
|
+
selector: 'tui-input-tag',
|
|
930
|
+
templateUrl: './input-tag.template.html',
|
|
931
|
+
styleUrls: ['./input-tag.style.less'],
|
|
932
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
933
|
+
providers: [
|
|
934
|
+
i4.tuiAsFocusableItemAccessor(TuiInputTagComponent),
|
|
935
|
+
i4.tuiAsControl(TuiInputTagComponent),
|
|
936
|
+
i1.tuiAsDataListHost(TuiInputTagComponent),
|
|
937
|
+
i1.TEXTFIELD_CONTROLLER_PROVIDER,
|
|
938
|
+
i1.MODE_PROVIDER,
|
|
939
|
+
],
|
|
940
|
+
viewProviders: [providers.FIXED_DROPDOWN_CONTROLLER_PROVIDER],
|
|
941
|
+
}]
|
|
942
|
+
}], ctorParameters: function () {
|
|
943
|
+
return [{ type: i6__namespace.NgControl, decorators: [{
|
|
944
|
+
type: i0.Optional
|
|
945
|
+
}, {
|
|
946
|
+
type: i0.Self
|
|
947
|
+
}, {
|
|
948
|
+
type: i0.Inject,
|
|
949
|
+
args: [i6.NgControl]
|
|
950
|
+
}] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
|
|
951
|
+
type: i0.Inject,
|
|
952
|
+
args: [i0.ChangeDetectorRef]
|
|
953
|
+
}] }, { type: i0__namespace.ElementRef, decorators: [{
|
|
954
|
+
type: i0.Inject,
|
|
955
|
+
args: [i0.ElementRef]
|
|
956
|
+
}] }, { type: i1__namespace.TuiModeDirective, decorators: [{
|
|
957
|
+
type: i0.Optional
|
|
958
|
+
}, {
|
|
959
|
+
type: i0.Inject,
|
|
960
|
+
args: [i1.TuiModeDirective]
|
|
961
|
+
}] }, { type: i7__namespace.Observable, decorators: [{
|
|
962
|
+
type: i0.Inject,
|
|
963
|
+
args: [i1.TUI_MODE]
|
|
964
|
+
}] }, { type: i1__namespace.TuiHintOptionsDirective, decorators: [{
|
|
965
|
+
type: i0.Optional
|
|
966
|
+
}, {
|
|
967
|
+
type: i0.Inject,
|
|
968
|
+
args: [i1.TuiHintOptionsDirective]
|
|
969
|
+
}] }, { type: i1__namespace.TuiTextfieldController, decorators: [{
|
|
970
|
+
type: i0.Inject,
|
|
971
|
+
args: [i1.TUI_TEXTFIELD_WATCHED_CONTROLLER]
|
|
972
|
+
}] }, { type: undefined, decorators: [{
|
|
973
|
+
type: i0.Inject,
|
|
974
|
+
args: [TUI_INPUT_TAG_OPTIONS]
|
|
975
|
+
}] }, { type: undefined, decorators: [{
|
|
976
|
+
type: i0.Inject,
|
|
977
|
+
args: [i1.TUI_COMMON_ICONS]
|
|
978
|
+
}] }];
|
|
979
|
+
}, propDecorators: { hostedDropdown: [{
|
|
980
|
+
type: i0.ViewChild,
|
|
981
|
+
args: [i1.TuiHostedDropdownComponent]
|
|
982
|
+
}], focusableElement: [{
|
|
983
|
+
type: i0.ViewChild,
|
|
984
|
+
args: ['focusableElement']
|
|
985
|
+
}], tagsContainer: [{
|
|
986
|
+
type: i0.ViewChild,
|
|
987
|
+
args: ['tagsContainer']
|
|
988
|
+
}], tags: [{
|
|
989
|
+
type: i0.ViewChildren,
|
|
990
|
+
args: ['tag', { read: i0.ElementRef }]
|
|
991
|
+
}], cleanerSvg: [{
|
|
992
|
+
type: i0.ViewChild,
|
|
993
|
+
args: ['cleaner', { read: i0.ElementRef }]
|
|
994
|
+
}], scrollBar: [{
|
|
995
|
+
type: i0.ViewChild,
|
|
996
|
+
args: [i1.TuiScrollbarComponent, { read: i0.ElementRef }]
|
|
997
|
+
}], separator: [{
|
|
998
|
+
type: i0.Input
|
|
999
|
+
}], search: [{
|
|
1000
|
+
type: i0.Input
|
|
1001
|
+
}], editable: [{
|
|
1002
|
+
type: i0.Input
|
|
1003
|
+
}], tagValidator: [{
|
|
1004
|
+
type: i0.Input
|
|
1005
|
+
}], expandable: [{
|
|
1006
|
+
type: i0.Input
|
|
1007
|
+
}, {
|
|
1008
|
+
type: i0.HostBinding,
|
|
1009
|
+
args: ['class._expandable']
|
|
1010
|
+
}], rows: [{
|
|
1011
|
+
type: i0.Input
|
|
1012
|
+
}], inputHidden: [{
|
|
1013
|
+
type: i0.Input
|
|
1014
|
+
}], uniqueTags: [{
|
|
1015
|
+
type: i0.Input
|
|
1016
|
+
}], maxLength: [{
|
|
1017
|
+
type: i0.Input
|
|
1018
|
+
}], placeholder: [{
|
|
1019
|
+
type: i0.Input
|
|
1020
|
+
}], removable: [{
|
|
1021
|
+
type: i0.Input
|
|
1022
|
+
}], disabledItemHandler: [{
|
|
1023
|
+
type: i0.Input
|
|
1024
|
+
}], pseudoFocusedSetter: [{
|
|
1025
|
+
type: i0.Input,
|
|
1026
|
+
args: ['pseudoFocused']
|
|
1027
|
+
}], searchChange: [{
|
|
1028
|
+
type: i0.Output
|
|
1029
|
+
}], datalist: [{
|
|
1030
|
+
type: i0.ContentChild,
|
|
1031
|
+
args: [i1.TuiDataListDirective, { read: i0.TemplateRef }]
|
|
1032
|
+
}], errorIconTemplate: [{
|
|
1033
|
+
type: i0.ViewChild,
|
|
1034
|
+
args: ['errorIcon']
|
|
1035
|
+
}], size: [{
|
|
1036
|
+
type: i0.HostBinding,
|
|
1037
|
+
args: ['attr.data-size']
|
|
1038
|
+
}], labelOutside: [{
|
|
1039
|
+
type: i0.HostBinding,
|
|
1040
|
+
args: ['class._label-outside']
|
|
1041
|
+
}], iconLeft: [{
|
|
1042
|
+
type: i0.HostBinding,
|
|
1043
|
+
args: ['class._icon-left']
|
|
1044
|
+
}], onFocusInOut: [{
|
|
1045
|
+
type: i0.HostListener,
|
|
1046
|
+
args: ['focusin.capture.silent']
|
|
1047
|
+
}, {
|
|
1048
|
+
type: i0.HostListener,
|
|
1049
|
+
args: ['focusout.capture.silent']
|
|
1050
|
+
}] } });
|
|
905
1051
|
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1052
|
+
var TuiInputTagModule = /** @class */ (function () {
|
|
1053
|
+
function TuiInputTagModule() {
|
|
1054
|
+
}
|
|
1055
|
+
return TuiInputTagModule;
|
|
1056
|
+
}());
|
|
1057
|
+
TuiInputTagModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputTagModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
1058
|
+
TuiInputTagModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputTagModule, declarations: [TuiInputTagComponent], imports: [i3.CommonModule,
|
|
1059
|
+
i6.FormsModule,
|
|
1060
|
+
i5.PolymorpheusModule,
|
|
1061
|
+
i4.TuiFocusableModule,
|
|
1062
|
+
i4.TuiHoveredModule,
|
|
1063
|
+
i4.TuiActiveZoneModule,
|
|
1064
|
+
i1.TuiSvgModule,
|
|
1065
|
+
i1.TuiScrollbarModule,
|
|
1066
|
+
i1.TuiTooltipModule,
|
|
1067
|
+
i1.TuiHostedDropdownModule,
|
|
1068
|
+
i2.TuiTagModule,
|
|
1069
|
+
i1.TuiWrapperModule], exports: [TuiInputTagComponent] });
|
|
1070
|
+
TuiInputTagModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputTagModule, providers: [i4.TuiScrollService], imports: [[
|
|
1071
|
+
i3.CommonModule,
|
|
1072
|
+
i6.FormsModule,
|
|
1073
|
+
i5.PolymorpheusModule,
|
|
1074
|
+
i4.TuiFocusableModule,
|
|
1075
|
+
i4.TuiHoveredModule,
|
|
1076
|
+
i4.TuiActiveZoneModule,
|
|
1077
|
+
i1.TuiSvgModule,
|
|
1078
|
+
i1.TuiScrollbarModule,
|
|
1079
|
+
i1.TuiTooltipModule,
|
|
1080
|
+
i1.TuiHostedDropdownModule,
|
|
1081
|
+
i2.TuiTagModule,
|
|
1082
|
+
i1.TuiWrapperModule,
|
|
1083
|
+
]] });
|
|
1084
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputTagModule, decorators: [{
|
|
1085
|
+
type: i0.NgModule,
|
|
1086
|
+
args: [{
|
|
1087
|
+
imports: [
|
|
1088
|
+
i3.CommonModule,
|
|
1089
|
+
i6.FormsModule,
|
|
1090
|
+
i5.PolymorpheusModule,
|
|
1091
|
+
i4.TuiFocusableModule,
|
|
1092
|
+
i4.TuiHoveredModule,
|
|
1093
|
+
i4.TuiActiveZoneModule,
|
|
1094
|
+
i1.TuiSvgModule,
|
|
1095
|
+
i1.TuiScrollbarModule,
|
|
1096
|
+
i1.TuiTooltipModule,
|
|
1097
|
+
i1.TuiHostedDropdownModule,
|
|
1098
|
+
i2.TuiTagModule,
|
|
1099
|
+
i1.TuiWrapperModule,
|
|
1100
|
+
],
|
|
1101
|
+
declarations: [TuiInputTagComponent],
|
|
1102
|
+
providers: [i4.TuiScrollService],
|
|
1103
|
+
exports: [TuiInputTagComponent],
|
|
1104
|
+
}]
|
|
1105
|
+
}] });
|
|
960
1106
|
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
1107
|
+
/**
|
|
1108
|
+
* Generated bundle index. Do not edit.
|
|
1109
|
+
*/
|
|
964
1110
|
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
1111
|
+
exports.TUI_INPUT_TAG_DEFAULT_OPTIONS = TUI_INPUT_TAG_DEFAULT_OPTIONS;
|
|
1112
|
+
exports.TUI_INPUT_TAG_OPTIONS = TUI_INPUT_TAG_OPTIONS;
|
|
1113
|
+
exports.TuiInputTagComponent = TuiInputTagComponent;
|
|
1114
|
+
exports.TuiInputTagModule = TuiInputTagModule;
|
|
1115
|
+
exports.tuiInputTagOptionsProvider = tuiInputTagOptionsProvider;
|
|
970
1116
|
|
|
971
|
-
|
|
1117
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
972
1118
|
|
|
973
1119
|
}));
|
|
974
1120
|
//# sourceMappingURL=taiga-ui-kit-components-input-tag.umd.js.map
|