@taiga-ui/kit 3.0.0-rc.4 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +1 -1
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +41 -46
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  6. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-combo-box.umd.js +1 -1
  8. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-files.umd.js +1 -1
  10. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
  12. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-input-count.umd.js +12 -6
  14. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -10
  16. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
  18. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
  20. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  22. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  24. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-input-number.umd.js +5 -8
  26. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-input-password.umd.js +19 -15
  28. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +4 -4
  30. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
  32. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-tag.umd.js +68 -59
  34. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-time.umd.js +1 -1
  36. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
  38. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +1 -1
  40. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-multi-select.umd.js +8 -2
  42. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-push.umd.js +670 -0
  44. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -0
  45. package/bundles/taiga-ui-kit-components-select.umd.js +1 -1
  46. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-text-area.umd.js +25 -19
  48. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components.umd.js +10 -4
  50. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-validators.umd.js +2 -2
  52. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  53. package/components/action/action.component.d.ts +2 -4
  54. package/components/action/action.module.d.ts +2 -3
  55. package/components/combo-box/combo-box.directive.d.ts +2 -2
  56. package/components/index.d.ts +1 -0
  57. package/components/input/input.directive.d.ts +2 -2
  58. package/components/input-copy/input-copy.directive.d.ts +2 -2
  59. package/components/input-count/input-count.directive.d.ts +4 -3
  60. package/components/input-date/input-date.directive.d.ts +2 -2
  61. package/components/input-date-range/input-date-range.component.d.ts +3 -4
  62. package/components/input-date-range/input-date-range.directive.d.ts +3 -2
  63. package/components/input-date-time/input-date-time.directive.d.ts +2 -2
  64. package/components/input-month/input-month.directive.d.ts +2 -2
  65. package/components/input-month-range/input-month-range.directive.d.ts +2 -2
  66. package/components/input-number/input-number.directive.d.ts +2 -3
  67. package/components/input-password/input-password.component.d.ts +5 -4
  68. package/components/input-password/input-password.directive.d.ts +2 -2
  69. package/components/input-phone/input-phone.directive.d.ts +2 -2
  70. package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
  71. package/components/input-tag/input-tag.component.d.ts +7 -6
  72. package/components/multi-select/multi-select.component.d.ts +2 -1
  73. package/components/push/index.d.ts +7 -0
  74. package/components/push/package.json +10 -0
  75. package/components/push/push-alert.component.d.ts +19 -0
  76. package/components/push/push-alert.directive.d.ts +12 -0
  77. package/components/push/push.component.d.ts +14 -0
  78. package/components/push/push.directive.d.ts +13 -0
  79. package/components/push/push.module.d.ts +13 -0
  80. package/components/push/push.options.d.ts +10 -0
  81. package/components/push/push.service.d.ts +13 -0
  82. package/components/push/taiga-ui-kit-components-push.d.ts +5 -0
  83. package/components/select/select.directive.d.ts +2 -2
  84. package/components/text-area/text-area.component.d.ts +6 -5
  85. package/components/text-area/text-area.directive.d.ts +2 -2
  86. package/components/text-area/text-area.module.d.ts +1 -1
  87. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +2 -2
  88. package/esm2015/components/action/action.component.js +18 -24
  89. package/esm2015/components/action/action.module.js +1 -5
  90. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  91. package/esm2015/components/combo-box/combo-box.directive.js +3 -3
  92. package/esm2015/components/files/file/file.component.js +3 -3
  93. package/esm2015/components/index.js +2 -1
  94. package/esm2015/components/input/input.directive.js +3 -3
  95. package/esm2015/components/input-copy/input-copy.component.js +2 -2
  96. package/esm2015/components/input-copy/input-copy.directive.js +3 -3
  97. package/esm2015/components/input-count/input-count.component.js +2 -3
  98. package/esm2015/components/input-count/input-count.directive.js +13 -6
  99. package/esm2015/components/input-date/input-date.component.js +2 -2
  100. package/esm2015/components/input-date/input-date.directive.js +3 -3
  101. package/esm2015/components/input-date-range/input-date-range.component.js +9 -10
  102. package/esm2015/components/input-date-range/input-date-range.directive.js +8 -3
  103. package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
  104. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  105. package/esm2015/components/input-month/input-month.directive.js +3 -3
  106. package/esm2015/components/input-month-range/input-month-range.directive.js +3 -3
  107. package/esm2015/components/input-number/input-number.component.js +2 -2
  108. package/esm2015/components/input-number/input-number.directive.js +6 -9
  109. package/esm2015/components/input-password/input-password.component.js +14 -12
  110. package/esm2015/components/input-password/input-password.directive.js +7 -5
  111. package/esm2015/components/input-phone/input-phone.component.js +2 -2
  112. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  113. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
  114. package/esm2015/components/input-phone-international/input-phone-international.module.js +5 -5
  115. package/esm2015/components/input-tag/input-tag.component.js +32 -19
  116. package/esm2015/components/input-time/input-time.component.js +2 -2
  117. package/esm2015/components/line-clamp/line-clamp.component.js +2 -2
  118. package/esm2015/components/multi-select/multi-select.component.js +9 -3
  119. package/esm2015/components/push/index.js +8 -0
  120. package/esm2015/components/push/push-alert.component.js +49 -0
  121. package/esm2015/components/push/push-alert.directive.js +45 -0
  122. package/esm2015/components/push/push.component.js +52 -0
  123. package/esm2015/components/push/push.directive.js +54 -0
  124. package/esm2015/components/push/push.module.js +73 -0
  125. package/esm2015/components/push/push.options.js +10 -0
  126. package/esm2015/components/push/push.service.js +23 -0
  127. package/esm2015/components/push/taiga-ui-kit-components-push.js +5 -0
  128. package/esm2015/components/select/select.directive.js +3 -3
  129. package/esm2015/components/text-area/text-area.component.js +26 -17
  130. package/esm2015/components/text-area/text-area.directive.js +3 -3
  131. package/esm2015/components/text-area/text-area.module.js +2 -5
  132. package/esm2015/validators/unfinished.validator.js +4 -4
  133. package/fesm2015/taiga-ui-kit-components-accordion.js +1 -1
  134. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  135. package/fesm2015/taiga-ui-kit-components-action.js +17 -27
  136. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  137. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  138. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  139. package/fesm2015/taiga-ui-kit-components-combo-box.js +2 -2
  140. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  141. package/fesm2015/taiga-ui-kit-components-files.js +2 -2
  142. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  143. package/fesm2015/taiga-ui-kit-components-input-copy.js +3 -3
  144. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  145. package/fesm2015/taiga-ui-kit-components-input-count.js +13 -7
  146. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  147. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -10
  148. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  149. package/fesm2015/taiga-ui-kit-components-input-date-time.js +3 -3
  150. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  151. package/fesm2015/taiga-ui-kit-components-input-date.js +3 -3
  152. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  153. package/fesm2015/taiga-ui-kit-components-input-month-range.js +2 -2
  154. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  155. package/fesm2015/taiga-ui-kit-components-input-month.js +2 -2
  156. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  157. package/fesm2015/taiga-ui-kit-components-input-number.js +6 -9
  158. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  159. package/fesm2015/taiga-ui-kit-components-input-password.js +18 -15
  160. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  161. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +5 -5
  162. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  163. package/fesm2015/taiga-ui-kit-components-input-phone.js +3 -3
  164. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  165. package/fesm2015/taiga-ui-kit-components-input-tag.js +31 -18
  166. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  167. package/fesm2015/taiga-ui-kit-components-input-time.js +1 -1
  168. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  169. package/fesm2015/taiga-ui-kit-components-input.js +2 -2
  170. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  171. package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -1
  172. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  173. package/fesm2015/taiga-ui-kit-components-multi-select.js +8 -2
  174. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  175. package/fesm2015/taiga-ui-kit-components-push.js +277 -0
  176. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -0
  177. package/fesm2015/taiga-ui-kit-components-select.js +2 -2
  178. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  179. package/fesm2015/taiga-ui-kit-components-text-area.js +26 -20
  180. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  181. package/fesm2015/taiga-ui-kit-components.js +1 -0
  182. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  183. package/fesm2015/taiga-ui-kit-validators.js +3 -3
  184. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  185. package/package.json +4 -4
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
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'), require('rxjs/operators'), require('@taiga-ui/kit/components/tag'), require('@angular/common'), require('@tinkoff/ng-polymorpheus')) :
3
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', 'rxjs/operators', '@taiga-ui/kit/components/tag', '@angular/common', '@tinkoff/ng-polymorpheus'], 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.i3, global.i1, global["taiga-ui"].kit.providers, global.rxjs, global.rxjs.operators, global["taiga-ui"].kit.components.tag, global.ng.common, global.i5));
5
- })(this, (function (exports, i0, i6, i3, i1, providers, i7, operators, i2, i4, i5) { 'use strict';
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, global.rxjs.operators, global["taiga-ui"].kit.components.tag, global.ng.common, global.i5));
5
+ })(this, (function (exports, i0, i6, i4, i1, providers, i7, operators, i2, i3, i5) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -24,11 +24,11 @@
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
27
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
27
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
28
28
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
29
  var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
30
30
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
31
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
32
32
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
33
33
 
34
34
  /******************************************************************************
@@ -376,28 +376,30 @@
376
376
  var EVENT_Y_TO_X_COEFFICIENT = 3;
377
377
  var TuiInputTagComponent = /** @class */ (function (_super) {
378
378
  __extends(TuiInputTagComponent, _super);
379
- function TuiInputTagComponent(control, changeDetectorRef, tuiScrollService, elementRef, appearance, modeDirective, mode$, hintController, controller, options, parentHostedDropdown) {
379
+ function TuiInputTagComponent(control, changeDetectorRef, tuiScrollService, elementRef, appearance, modeDirective, mode$, hintOptions, controller, options, parentHostedDropdown) {
380
380
  var _this = _super.call(this, control, changeDetectorRef) || this;
381
381
  _this.tuiScrollService = tuiScrollService;
382
382
  _this.elementRef = elementRef;
383
383
  _this.appearance = appearance;
384
384
  _this.modeDirective = modeDirective;
385
385
  _this.mode$ = mode$;
386
- _this.hintController = hintController;
386
+ _this.hintOptions = hintOptions;
387
387
  _this.controller = controller;
388
388
  _this.options = options;
389
389
  _this.parentHostedDropdown = parentHostedDropdown;
390
- _this.tags = i3.EMPTY_QUERY;
390
+ _this.tags = i4.EMPTY_QUERY;
391
391
  _this.scrollToStart$ = new i7.Subject();
392
392
  _this.scrollToEnd$ = new i7.Subject();
393
393
  _this.separator = _this.options.separator;
394
394
  _this.search = "";
395
395
  _this.editable = true;
396
- _this.tagValidator = i3.ALWAYS_TRUE_HANDLER;
396
+ _this.tagValidator = i4.ALWAYS_TRUE_HANDLER;
397
397
  _this.expandable = true;
398
398
  _this.inputHidden = false;
399
399
  _this.uniqueTags = _this.options.uniqueTags;
400
- _this.disabledItemHandler = i3.ALWAYS_FALSE_HANDLER;
400
+ _this.maxLength = null;
401
+ _this.placeholder = "";
402
+ _this.disabledItemHandler = i4.ALWAYS_FALSE_HANDLER;
401
403
  _this.searchChange = new i0.EventEmitter();
402
404
  _this.status$ = _this.mode$.pipe(operators.map(function () { return _this.status; }));
403
405
  _this.open = false;
@@ -432,7 +434,7 @@
432
434
  Object.defineProperty(TuiInputTagComponent.prototype, "focused", {
433
435
  get: function () {
434
436
  var _a;
435
- return (i3.tuiIsNativeFocusedIn(this.elementRef.nativeElement) ||
437
+ return (i4.tuiIsNativeFocusedIn(this.elementRef.nativeElement) ||
436
438
  !!((_a = this.hostedDropdown) === null || _a === void 0 ? void 0 : _a.focused));
437
439
  },
438
440
  enumerable: false,
@@ -506,7 +508,8 @@
506
508
  });
507
509
  Object.defineProperty(TuiInputTagComponent.prototype, "hasExampleText", {
508
510
  get: function () {
509
- return (!!this.controller.exampleText &&
511
+ var _a;
512
+ return (!!((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.placeholder) &&
510
513
  this.computedFocused &&
511
514
  !this.hasValue &&
512
515
  !this.readOnly);
@@ -514,16 +517,12 @@
514
517
  enumerable: false,
515
518
  configurable: true
516
519
  });
517
- Object.defineProperty(TuiInputTagComponent.prototype, "hasTooltip", {
518
- get: function () {
519
- return !!this.hintController.content && !this.disabled;
520
- },
521
- enumerable: false,
522
- configurable: true
523
- });
524
520
  Object.defineProperty(TuiInputTagComponent.prototype, "hasRightIcons", {
525
521
  get: function () {
526
- return this.hasCleaner || this.hasTooltip || !!this.icon;
522
+ var _a;
523
+ return (this.hasCleaner ||
524
+ !!this.icon ||
525
+ (!!((_a = this.hintOptions) === null || _a === void 0 ? void 0 : _a.content) && !this.computedDisabled));
527
526
  },
528
527
  enumerable: false,
529
528
  configurable: true
@@ -565,10 +564,10 @@
565
564
  };
566
565
  TuiInputTagComponent.prototype.onMouseDown = function (event) {
567
566
  var _a;
568
- var actualTarget = i3.tuiGetActualTarget(event);
567
+ var actualTarget = i4.tuiGetActualTarget(event);
569
568
  if (!this.focusableElement ||
570
569
  actualTarget === this.focusableElement.nativeElement ||
571
- !i3.tuiIsElement(event.target) ||
570
+ !i4.tuiIsElement(event.target) ||
572
571
  ((_a = this.cleanerSvg) === null || _a === void 0 ? void 0 : _a.nativeElement.contains(event.target)) ||
573
572
  (this.tagsContainer &&
574
573
  actualTarget !== this.tagsContainer.nativeElement &&
@@ -684,7 +683,7 @@
684
683
  return;
685
684
  }
686
685
  var nativeElement = scroller.browserScrollRef.nativeElement;
687
- var wheel$ = i3.tuiTypedFromEvent(nativeElement, "wheel", { passive: false }).pipe(operators.filter(function (event) { return event.deltaX === 0 && _this.shouldScroll(nativeElement); }), i3.tuiPreventDefault(), operators.map(function (_b) {
686
+ var wheel$ = i4.tuiTypedFromEvent(nativeElement, "wheel", { passive: false }).pipe(operators.filter(function (event) { return event.deltaX === 0 && _this.shouldScroll(nativeElement); }), i4.tuiPreventDefault(), operators.map(function (_b) {
688
687
  var deltaY = _b.deltaY;
689
688
  return Math.max(nativeElement.scrollLeft + deltaY * EVENT_Y_TO_X_COEFFICIENT, 0);
690
689
  }));
@@ -716,7 +715,7 @@
716
715
  TuiInputTagComponent.prototype.deleteLastEnabledItem = function () {
717
716
  for (var index = this.value.length - 1; index >= 0; index--) {
718
717
  if (!this.disabledItemHandler(this.value[index])) {
719
- this.updateValue(i3.tuiArrayRemove(this.value, index));
718
+ this.updateValue(i4.tuiArrayRemove(this.value, index));
720
719
  break;
721
720
  }
722
721
  }
@@ -728,39 +727,44 @@
728
727
  }
729
728
  };
730
729
  return TuiInputTagComponent;
731
- }(i3.AbstractTuiMultipleControl));
732
- TuiInputTagComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i3.TuiScrollService }, { token: i0.ElementRef }, { token: i1.TUI_TEXTFIELD_APPEARANCE }, { token: i1.TuiModeDirective, optional: true }, { token: i1.TUI_MODE }, { token: i1.TUI_HINT_WATCHED_CONTROLLER }, { token: i1.TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: TUI_INPUT_TAG_OPTIONS }, { token: i1.TuiHostedDropdownComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
733
- TuiInputTagComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputTagComponent, selector: "tui-input-tag", inputs: { separator: "separator", search: "search", editable: "editable", tagValidator: "tagValidator", expandable: "expandable", inputHidden: "inputHidden", uniqueTags: "uniqueTags", disabledItemHandler: "disabledItemHandler", pseudoFocusedSetter: ["pseudoFocused", "pseudoFocusedSetter"] }, outputs: { searchChange: "searchChange" }, host: { properties: { "class._expandable": "this.expandable", "attr.data-size": "this.size", "class._label-outside": "this.labelOutside" } }, providers: [
734
- i3.tuiAsFocusableItemAccessor(TuiInputTagComponent),
735
- i3.tuiAsControl(TuiInputTagComponent),
730
+ }(i4.AbstractTuiMultipleControl));
731
+ TuiInputTagComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i4.TuiScrollService }, { token: i0.ElementRef }, { token: i1.TUI_TEXTFIELD_APPEARANCE }, { 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.TuiHostedDropdownComponent, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
732
+ TuiInputTagComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputTagComponent, selector: "tui-input-tag", inputs: { separator: "separator", search: "search", editable: "editable", tagValidator: "tagValidator", expandable: "expandable", inputHidden: "inputHidden", uniqueTags: "uniqueTags", maxLength: "maxLength", placeholder: "placeholder", disabledItemHandler: "disabledItemHandler", pseudoFocusedSetter: ["pseudoFocused", "pseudoFocusedSetter"] }, outputs: { searchChange: "searchChange" }, host: { properties: { "class._expandable": "this.expandable", "attr.data-size": "this.size", "class._label-outside": "this.labelOutside" } }, providers: [
733
+ i4.tuiAsFocusableItemAccessor(TuiInputTagComponent),
734
+ i4.tuiAsControl(TuiInputTagComponent),
736
735
  i1.tuiAsDataListHost(TuiInputTagComponent),
737
736
  i1.TEXTFIELD_CONTROLLER_PROVIDER,
738
- i1.HINT_CONTROLLER_PROVIDER,
739
737
  i1.MODE_PROVIDER,
740
- ], 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: "scrollerSetter", first: true, predicate: i1.TuiScrollbarComponent, descendants: true }, { propertyName: "tags", predicate: ["tag"], descendants: true, read: i0.ElementRef }], usesInheritance: true, ngImport: i0__namespace, template: "<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 [readOnly]=\"readOnly\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeft\"\n class=\"t-icons t-icons_left\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeft as src; context: {$implicit: size}\"\n class=\"t-icon\"\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 *ngIf=\"!expandable; else items\"\n class=\"t-scrollbar\"\n [hidden]=\"true\"\n >\n <ng-container [ngTemplateOutlet]=\"items\"></ng-container>\n </tui-scrollbar>\n <ng-template #items>\n <div\n #tagsContainer\n class=\"t-tags\"\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 [status]=\"(status$ | async)!\"\n [leftContent]=\"getLeftContent(item)\"\n [tuiFocusable]=\"false\"\n [disabled]=\"computedDisabled || disabledItemHandler(item)\"\n [editable]=\"editable && !readOnly\"\n [hoverable]=\"!readOnly\"\n [removable]=\"!readOnly\"\n [separator]=\"separator\"\n [maxLength]=\"controller.maxLength\"\n [size]=\"controller.size\"\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_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 type=\"text\"\n automation-id=\"tui-input-tag__native\"\n class=\"t-native\"\n [placeholder]=\"controller.exampleText\"\n [class.t-native_hidden]=\"inputHidden\"\n [attr.maxLength]=\"controller.maxLength\"\n [id]=\"id\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly || inputHidden\"\n [tuiFocusable]=\"computedFocusable\"\n [ngModel]=\"search\"\n (ngModelChange)=\"onInput($event)\"\n (keydown.arrowLeft)=\"onFieldKeyDownArrowLeft($event)\"\n (keydown.backspace)=\"onFieldKeyDownBackspace($event)\"\n (keydown.enter.prevent)=\"onFieldKeyDownEnter()\"\n />\n </div>\n </div>\n </ng-template>\n </div>\n <div\n *ngIf=\"hasRightIcons\"\n class=\"t-icons t-icons_right\"\n >\n <tui-svg\n *ngIf=\"hasCleaner\"\n #cleaner\n automation-id=\"tui-input-tag__cleaner\"\n src=\"tuiIconCloseLarge\"\n class=\"t-cleaner\"\n (click.stop)=\"onCleanerClick()\"\n ></tui-svg>\n <tui-tooltip\n *ngIf=\"hasTooltip\"\n automation-id=\"tui-input-tag__tooltip\"\n describeId=\"placeholer_until_accesibility_is_added\"\n class=\"t-tooltip\"\n [direction]=\"hintController.direction\"\n [appearance]=\"hintController.appearance\"\n [content]=\"hintController.content || ''\"\n [showDelay]=\"hintController.showDelay\"\n [hideDelay]=\"hintController.hideDelay\"\n ></tui-tooltip>\n <div *ngIf=\"icon\">\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n </div>\n <ng-template #errorIcon>\n <tui-svg\n src=\"tuiIconAttention\"\n class=\"t-error-icon\"\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;border-radius:var(--tui-radius-m);text-align:left}:host[data-size=s]{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size=m]{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size=l]{height:var(--tui-height-l);min-height:var(--tui-height-l);max-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: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%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 0 0 0;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:0;border-inline-start-width:var(--border-start, 0);border-inline-end-width: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}:host[data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[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}: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-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}: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-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-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:1.125rem}: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%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:\"\";margin-right:-.25rem}:host[data-size=m] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;padding-right:.25rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);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[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .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-size:.9375rem}: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)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size=l][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size=m][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size=l][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-property:all;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-cleaner:hover{color:var(--tui-text-02)}:host._readonly .t-cleaner,:host._disabled .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03)}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size=s] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host{cursor:text}:host._expandable{height:auto;max-height:none}:host._disabled{pointer-events:none}:host._readonly{cursor:default}.t-hosted{display:block;border-radius:inherit}.t-scrollbar{margin:0 -.25rem;padding:0 .25rem}.t-tags{display:flex;align-items:center;box-sizing:border-box}:host._expandable .t-tags{flex-wrap:wrap;white-space:normal}:host._readonly .t-tags{pointer-events:none}:host[data-size=s] .t-tags{min-height:var(--tui-height-s);padding:.25rem .25rem .25rem 0}:host[data-size=m] .t-tags{min-height:var(--tui-height-m);padding:.5rem .25rem .5rem 0}:host[data-size=l] .t-tags{min-height:var(--tui-height-l);padding:.625rem .25rem .625rem 0}:host[data-size=m]:not(._label-outside) .t-tags{padding:1.1875rem 1rem 0 0}:host[data-size=l]:not(._label-outside) .t-tags{padding:1.6875rem 1rem .5625rem 0}.t-tags :host[data-size]{-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}:host[data-size]:not(._label-outside) .t-tags{-webkit-padding-end:1rem;padding-inline-end:1rem}.t-content{align-items:flex-start}.t-icons{display:flex;align-items:center;padding:0 0 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:0;padding-inline-end:0}.t-icons_left{padding:0;margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host._expandable .t-icons_right{margin:0 0 0 -.625rem;-webkit-margin-start:-.625rem;margin-inline-start:-.625rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size=s] .t-icons{height:var(--tui-height-s)}:host[data-size=m] .t-icons{height:var(--tui-height-m)}:host[data-size=l] .t-icons{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;padding: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}.t-text:after{content:\",\\a0\"}.t-text_disabled{color:var(--tui-text-03)}.t-text_error{color:var(--tui-negative)}:host:not(._expandable) .t-text{white-space:nowrap}:host:not(._focused) .t-text:last-of-type:after{content:\"\"}.t-input-wrapper{position:relative;flex:1;max-width:100%}.t-input-wrapper_collapsed{flex:0;margin:0 0 0 -.5rem;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size=s] .t-input-wrapper{min-height:1.5rem}:host[data-size=m] .t-input-wrapper{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size=l] .t-input-wrapper{min-height:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper{min-height:1.25rem}.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: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::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}.t-native::placeholder{color:var(--tui-text-03);opacity:0}:host[data-mode=onDark] .t-native::-ms-input-placeholder{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-native::placeholder{color:var(--tui-text-03-night)}:host._focused .t-native:not(:read-only)::-ms-input-placeholder{opacity:1}: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", "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]", 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"] }], directives: [{ type: i3__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: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i4__namespace.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3__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": i4__namespace.AsyncPipe }, viewProviders: [providers.FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
738
+ ], 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: "scrollerSetter", first: true, predicate: i1.TuiScrollbarComponent, 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 [readOnly]=\"readOnly\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n (mousedown)=\"onMouseDown($event)\"\n >\n <div class=\"t-content\">\n <div\n *ngIf=\"iconLeft\"\n class=\"t-icons t-icons_left\"\n >\n <tui-svg\n *polymorpheusOutlet=\"iconLeft as src; context: {$implicit: size}\"\n class=\"t-icon\"\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 *ngIf=\"!expandable; else items\"\n class=\"t-scrollbar\"\n [hidden]=\"true\"\n >\n <ng-container [ngTemplateOutlet]=\"items\"></ng-container>\n </tui-scrollbar>\n <ng-template #items>\n <div\n #tagsContainer\n class=\"t-tags\"\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 [status]=\"(status$ | async)!\"\n [leftContent]=\"getLeftContent(item)\"\n [tuiFocusable]=\"false\"\n [disabled]=\"computedDisabled || disabledItemHandler(item)\"\n [editable]=\"editable && !readOnly\"\n [hoverable]=\"!readOnly\"\n [removable]=\"!readOnly\"\n [separator]=\"separator\"\n [maxLength]=\"maxLength\"\n [size]=\"controller.size\"\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_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 type=\"text\"\n automation-id=\"tui-input-tag__native\"\n class=\"t-native\"\n [placeholder]=\"placeholder\"\n [class.t-native_hidden]=\"inputHidden\"\n [attr.maxLength]=\"maxLength\"\n [id]=\"id\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly || inputHidden\"\n [tuiFocusable]=\"computedFocusable\"\n [ngModel]=\"search\"\n (ngModelChange)=\"onInput($event)\"\n (keydown.arrowLeft)=\"onFieldKeyDownArrowLeft($event)\"\n (keydown.backspace)=\"onFieldKeyDownBackspace($event)\"\n (keydown.enter.prevent)=\"onFieldKeyDownEnter()\"\n />\n </div>\n </div>\n </ng-template>\n </div>\n <div\n *ngIf=\"hasRightIcons\"\n class=\"t-icons t-icons_right\"\n >\n <tui-svg\n *ngIf=\"hasCleaner\"\n #cleaner\n automation-id=\"tui-input-tag__cleaner\"\n src=\"tuiIconCloseLarge\"\n class=\"t-cleaner\"\n (click.stop)=\"onCleanerClick()\"\n ></tui-svg>\n <tui-tooltip\n *ngIf=\"hintOptions && hintOptions.content && !computedDisabled\"\n automation-id=\"tui-input-tag__tooltip\"\n describeId=\"placeholer_until_accesibility_is_added\"\n class=\"t-tooltip\"\n [direction]=\"hintOptions.direction\"\n [appearance]=\"hintOptions.appearance\"\n [content]=\"hintOptions.content\"\n [showDelay]=\"hintOptions.showDelay\"\n [hideDelay]=\"hintOptions.hideDelay\"\n ></tui-tooltip>\n <div *ngIf=\"icon\">\n <tui-svg\n *polymorpheusOutlet=\"icon as src; context: {$implicit: size}\"\n class=\"t-icon\"\n [src]=\"src\"\n ></tui-svg>\n </div>\n </div>\n </div>\n <ng-template #errorIcon>\n <tui-svg\n src=\"tuiIconAttention\"\n class=\"t-error-icon\"\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;border-radius:var(--tui-radius-m);text-align:left}:host[data-size=s]{height:var(--tui-height-s);min-height:var(--tui-height-s);max-height:var(--tui-height-s)}:host[data-size=m]{height:var(--tui-height-m);min-height:var(--tui-height-m);max-height:var(--tui-height-m)}:host[data-size=l]{height:var(--tui-height-l);min-height:var(--tui-height-l);max-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: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%;padding:0 var(--tui-padding-m);border:solid transparent;border-width:0 0 0 0;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:0;border-inline-start-width:var(--border-start, 0);border-inline-end-width: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}:host[data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[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}: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-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}: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-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-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:1.125rem}: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%;padding:0 var(--tui-padding-m);box-sizing:border-box;align-items:center;overflow:hidden}:host[data-size=s] .t-content{padding:0 var(--tui-padding-s)}:host[data-size=l] .t-content{padding:0 var(--tui-padding-l)}.t-content:after{content:\"\";margin-right:-.25rem}:host[data-size=m] .t-content:after{display:none}.t-wrapper{flex:1;min-width:0;padding-right:.25rem;-webkit-padding-end:.25rem;padding-inline-end:.25rem;-webkit-padding-start:0;padding-inline-start:0}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0)}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);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[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .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-size:.9375rem}: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)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size=l][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size=m][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size=l][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-cleaner{transition-property:all;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-cleaner:hover{color:var(--tui-text-02)}:host._readonly .t-cleaner,:host._disabled .t-cleaner{pointer-events:none}:host[data-mode=onDark] .t-cleaner{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-cleaner:hover{color:var(--tui-text-01-night)}.t-icon{display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03)}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}.t-icon_left{margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host[data-size=s] .t-icon_left{margin-right:.25rem;-webkit-margin-end:.25rem;margin-inline-end:.25rem}:host{cursor:text}:host._expandable{height:auto;max-height:none}:host._disabled{pointer-events:none}:host._readonly{cursor:default}.t-hosted{display:block;border-radius:inherit}.t-scrollbar{margin:0 -.25rem;padding:0 .25rem}.t-tags{display:flex;align-items:center;box-sizing:border-box}:host._expandable .t-tags{flex-wrap:wrap;white-space:normal}:host._readonly .t-tags{pointer-events:none}:host[data-size=s] .t-tags{min-height:var(--tui-height-s);padding:.25rem .25rem .25rem 0}:host[data-size=m] .t-tags{min-height:var(--tui-height-m);padding:.5rem .25rem .5rem 0}:host[data-size=l] .t-tags{min-height:var(--tui-height-l);padding:.625rem .25rem .625rem 0}:host[data-size=m]:not(._label-outside) .t-tags{padding:1.1875rem 1rem 0 0}:host[data-size=l]:not(._label-outside) .t-tags{padding:1.6875rem 1rem .5625rem 0}.t-tags :host[data-size]{-webkit-padding-start:0;padding-inline-start:0;-webkit-padding-end:.25rem;padding-inline-end:.25rem}:host[data-size]:not(._label-outside) .t-tags{-webkit-padding-end:1rem;padding-inline-end:1rem}.t-content{align-items:flex-start}.t-icons{display:flex;align-items:center;padding:0 0 0 .75rem;-webkit-padding-start:.75rem;padding-inline-start:.75rem;-webkit-padding-end:0;padding-inline-end:0}.t-icons_left{padding:0;margin:0 .5rem 0 -.25rem;-webkit-margin-start:-.25rem;margin-inline-start:-.25rem;-webkit-margin-end:.5rem;margin-inline-end:.5rem}:host._expandable .t-icons_right{margin:0 0 0 -.625rem;-webkit-margin-start:-.625rem;margin-inline-start:-.625rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size=s] .t-icons{height:var(--tui-height-s)}:host[data-size=m] .t-icons{height:var(--tui-height-m)}:host[data-size=l] .t-icons{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;padding: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}.t-text:after{content:\",\\a0\"}.t-text_disabled{color:var(--tui-text-03)}.t-text_error{color:var(--tui-negative)}:host:not(._expandable) .t-text{white-space:nowrap}:host:not(._focused) .t-text:last-of-type:after{content:\"\"}.t-input-wrapper{position:relative;flex:1;max-width:100%}.t-input-wrapper_collapsed{flex:0;margin:0 0 0 -.5rem;-webkit-margin-start:-.5rem;margin-inline-start:-.5rem;-webkit-margin-end:0;margin-inline-end:0}:host[data-size=s] .t-input-wrapper{min-height:1.5rem}:host[data-size=m] .t-input-wrapper{min-height:calc(var(--tui-height-xs) + 2 * .125rem)}:host[data-size=l] .t-input-wrapper{min-height:calc(var(--tui-height-s) + 2 * .125rem)}:host:not(._label-outside) .t-input-wrapper{min-height:1.25rem}.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: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::-ms-input-placeholder{color:var(--tui-text-03);opacity:0}.t-native::placeholder{color:var(--tui-text-03);opacity:0}:host[data-mode=onDark] .t-native::-ms-input-placeholder{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-native::placeholder{color:var(--tui-text-03-night)}:host._focused .t-native:not(:read-only)::-ms-input-placeholder{opacity:1}: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", "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]", 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"] }], 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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { 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 });
741
739
  __decorate([
742
- i3.tuiDefaultProp()
740
+ i4.tuiDefaultProp()
743
741
  ], TuiInputTagComponent.prototype, "separator", void 0);
744
742
  __decorate([
745
- i3.tuiDefaultProp()
743
+ i4.tuiDefaultProp()
746
744
  ], TuiInputTagComponent.prototype, "search", void 0);
747
745
  __decorate([
748
- i3.tuiDefaultProp()
746
+ i4.tuiDefaultProp()
749
747
  ], TuiInputTagComponent.prototype, "editable", void 0);
750
748
  __decorate([
751
- i3.tuiDefaultProp()
749
+ i4.tuiDefaultProp()
752
750
  ], TuiInputTagComponent.prototype, "tagValidator", void 0);
753
751
  __decorate([
754
- i3.tuiDefaultProp()
752
+ i4.tuiDefaultProp()
755
753
  ], TuiInputTagComponent.prototype, "expandable", void 0);
756
754
  __decorate([
757
- i3.tuiDefaultProp()
755
+ i4.tuiDefaultProp()
758
756
  ], TuiInputTagComponent.prototype, "inputHidden", void 0);
759
757
  __decorate([
760
- i3.tuiDefaultProp()
758
+ i4.tuiDefaultProp()
761
759
  ], TuiInputTagComponent.prototype, "uniqueTags", void 0);
762
760
  __decorate([
763
- i3.tuiDefaultProp()
761
+ i4.tuiDefaultProp()
762
+ ], TuiInputTagComponent.prototype, "maxLength", void 0);
763
+ __decorate([
764
+ i4.tuiDefaultProp()
765
+ ], TuiInputTagComponent.prototype, "placeholder", void 0);
766
+ __decorate([
767
+ i4.tuiDefaultProp()
764
768
  ], TuiInputTagComponent.prototype, "disabledItemHandler", void 0);
765
769
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagComponent, decorators: [{
766
770
  type: i0.Component,
@@ -770,11 +774,10 @@
770
774
  templateUrl: "./input-tag.template.html",
771
775
  styleUrls: ["./input-tag.style.less"],
772
776
  providers: [
773
- i3.tuiAsFocusableItemAccessor(TuiInputTagComponent),
774
- i3.tuiAsControl(TuiInputTagComponent),
777
+ i4.tuiAsFocusableItemAccessor(TuiInputTagComponent),
778
+ i4.tuiAsControl(TuiInputTagComponent),
775
779
  i1.tuiAsDataListHost(TuiInputTagComponent),
776
780
  i1.TEXTFIELD_CONTROLLER_PROVIDER,
777
- i1.HINT_CONTROLLER_PROVIDER,
778
781
  i1.MODE_PROVIDER,
779
782
  ],
780
783
  viewProviders: [providers.FIXED_DROPDOWN_CONTROLLER_PROVIDER],
@@ -790,9 +793,9 @@
790
793
  }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
791
794
  type: i0.Inject,
792
795
  args: [i0.ChangeDetectorRef]
793
- }] }, { type: i3__namespace.TuiScrollService, decorators: [{
796
+ }] }, { type: i4__namespace.TuiScrollService, decorators: [{
794
797
  type: i0.Inject,
795
- args: [i3.TuiScrollService]
798
+ args: [i4.TuiScrollService]
796
799
  }] }, { type: i0__namespace.ElementRef, decorators: [{
797
800
  type: i0.Inject,
798
801
  args: [i0.ElementRef]
@@ -807,9 +810,11 @@
807
810
  }] }, { type: i7__namespace.Observable, decorators: [{
808
811
  type: i0.Inject,
809
812
  args: [i1.TUI_MODE]
810
- }] }, { type: i1__namespace.TuiHintControllerDirective, decorators: [{
813
+ }] }, { type: i1__namespace.TuiHintOptionsDirective, decorators: [{
814
+ type: i0.Optional
815
+ }, {
811
816
  type: i0.Inject,
812
- args: [i1.TUI_HINT_WATCHED_CONTROLLER]
817
+ args: [i1.TuiHintOptionsDirective]
813
818
  }] }, { type: i1__namespace.TuiTextfieldController, decorators: [{
814
819
  type: i0.Inject,
815
820
  args: [i1.TUI_TEXTFIELD_WATCHED_CONTROLLER]
@@ -857,6 +862,10 @@
857
862
  type: i0.Input
858
863
  }], uniqueTags: [{
859
864
  type: i0.Input
865
+ }], maxLength: [{
866
+ type: i0.Input
867
+ }], placeholder: [{
868
+ type: i0.Input
860
869
  }], disabledItemHandler: [{
861
870
  type: i0.Input
862
871
  }], pseudoFocusedSetter: [{
@@ -887,25 +896,25 @@
887
896
  return TuiInputTagModule;
888
897
  }());
889
898
  TuiInputTagModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
890
- TuiInputTagModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagModule, declarations: [TuiInputTagComponent], imports: [i4.CommonModule,
899
+ TuiInputTagModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagModule, declarations: [TuiInputTagComponent], imports: [i3.CommonModule,
891
900
  i6.FormsModule,
892
901
  i5.PolymorpheusModule,
893
- i3.TuiFocusableModule,
894
- i3.TuiHoveredModule,
895
- i3.TuiActiveZoneModule,
902
+ i4.TuiFocusableModule,
903
+ i4.TuiHoveredModule,
904
+ i4.TuiActiveZoneModule,
896
905
  i1.TuiSvgModule,
897
906
  i1.TuiScrollbarModule,
898
907
  i1.TuiTooltipModule,
899
908
  i1.TuiHostedDropdownModule,
900
909
  i2.TuiTagModule,
901
910
  i1.TuiWrapperModule], exports: [TuiInputTagComponent] });
902
- TuiInputTagModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagModule, providers: [i3.TuiScrollService], imports: [[
903
- i4.CommonModule,
911
+ TuiInputTagModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiInputTagModule, providers: [i4.TuiScrollService], imports: [[
912
+ i3.CommonModule,
904
913
  i6.FormsModule,
905
914
  i5.PolymorpheusModule,
906
- i3.TuiFocusableModule,
907
- i3.TuiHoveredModule,
908
- i3.TuiActiveZoneModule,
915
+ i4.TuiFocusableModule,
916
+ i4.TuiHoveredModule,
917
+ i4.TuiActiveZoneModule,
909
918
  i1.TuiSvgModule,
910
919
  i1.TuiScrollbarModule,
911
920
  i1.TuiTooltipModule,
@@ -917,12 +926,12 @@
917
926
  type: i0.NgModule,
918
927
  args: [{
919
928
  imports: [
920
- i4.CommonModule,
929
+ i3.CommonModule,
921
930
  i6.FormsModule,
922
931
  i5.PolymorpheusModule,
923
- i3.TuiFocusableModule,
924
- i3.TuiHoveredModule,
925
- i3.TuiActiveZoneModule,
932
+ i4.TuiFocusableModule,
933
+ i4.TuiHoveredModule,
934
+ i4.TuiActiveZoneModule,
926
935
  i1.TuiSvgModule,
927
936
  i1.TuiScrollbarModule,
928
937
  i1.TuiTooltipModule,
@@ -930,7 +939,7 @@
930
939
  i2.TuiTagModule,
931
940
  i1.TuiWrapperModule,
932
941
  ],
933
- providers: [i3.TuiScrollService],
942
+ providers: [i4.TuiScrollService],
934
943
  declarations: [TuiInputTagComponent],
935
944
  exports: [TuiInputTagComponent],
936
945
  }]