@taiga-ui/core 3.4.0 → 3.6.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 (74) hide show
  1. package/bundles/taiga-ui-core-components-alert.umd.js +0 -1
  2. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-data-list.umd.js +1 -1
  4. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-dialog.umd.js +3 -3
  6. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-expand.umd.js +20 -5
  8. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-group.umd.js +0 -1
  10. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-hints-host.umd.js +3 -2
  12. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-root.umd.js +5 -3
  14. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -8
  16. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-directives-hint.umd.js +150 -141
  18. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -0
  20. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
  21. package/components/expand/expand-content.directive.d.ts +5 -0
  22. package/components/expand/expand.module.d.ts +4 -3
  23. package/components/expand/index.d.ts +1 -0
  24. package/directives/hint/hint-hover.directive.d.ts +1 -1
  25. package/directives/hint/hint-options.directive.d.ts +14 -2
  26. package/directives/hint/hint-position.directive.d.ts +1 -1
  27. package/directives/hint/hint.directive.d.ts +4 -3
  28. package/directives/hint/index.d.ts +0 -1
  29. package/esm2015/components/alert/alert.module.js +1 -2
  30. package/esm2015/components/data-list/data-list.component.js +1 -1
  31. package/esm2015/components/dialog/dialog.component.js +4 -3
  32. package/esm2015/components/dialog/dialog.module.js +1 -2
  33. package/esm2015/components/expand/expand-content.directive.js +13 -0
  34. package/esm2015/components/expand/expand.component.js +4 -3
  35. package/esm2015/components/expand/expand.module.js +5 -4
  36. package/esm2015/components/expand/index.js +2 -1
  37. package/esm2015/components/group/group.module.js +1 -2
  38. package/esm2015/components/hints-host/hints-host.component.js +4 -3
  39. package/esm2015/components/root/root.component.js +7 -5
  40. package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -9
  41. package/esm2015/directives/hint/hint-hover.directive.js +2 -2
  42. package/esm2015/directives/hint/hint-options.directive.js +22 -3
  43. package/esm2015/directives/hint/hint-position.directive.js +2 -2
  44. package/esm2015/directives/hint/hint.component.js +1 -1
  45. package/esm2015/directives/hint/hint.directive.js +11 -8
  46. package/esm2015/directives/hint/hint.module.js +1 -2
  47. package/esm2015/directives/hint/index.js +1 -2
  48. package/esm2015/utils/miscellaneous/index.js +2 -1
  49. package/esm2015/utils/miscellaneous/override-options.js +11 -0
  50. package/fesm2015/taiga-ui-core-components-alert.js +0 -1
  51. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
  52. package/fesm2015/taiga-ui-core-components-data-list.js +1 -1
  53. package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
  54. package/fesm2015/taiga-ui-core-components-dialog.js +3 -3
  55. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  56. package/fesm2015/taiga-ui-core-components-expand.js +18 -7
  57. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  58. package/fesm2015/taiga-ui-core-components-group.js +0 -1
  59. package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
  60. package/fesm2015/taiga-ui-core-components-hints-host.js +3 -2
  61. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  62. package/fesm2015/taiga-ui-core-components-root.js +6 -4
  63. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  64. package/fesm2015/taiga-ui-core-directives-dropdown.js +2 -9
  65. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  66. package/fesm2015/taiga-ui-core-directives-hint.js +84 -78
  67. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  68. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +12 -1
  69. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  70. package/package.json +4 -4
  71. package/utils/miscellaneous/index.d.ts +1 -0
  72. package/utils/miscellaneous/override-options.d.ts +1 -0
  73. package/directives/hint/hint-options.d.ts +0 -14
  74. package/esm2015/directives/hint/hint-options.js +0 -17
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/animations'), require('@taiga-ui/core/directives/mode'), require('@taiga-ui/core/services'), require('@taiga-ui/core/tokens'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators'), require('rxjs'), require('@angular/common'), require('@ng-web-apis/common'), require('@taiga-ui/core/constants')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/hint', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/animations', '@taiga-ui/core/directives/mode', '@taiga-ui/core/services', '@taiga-ui/core/tokens', '@tinkoff/ng-polymorpheus', 'rxjs/operators', 'rxjs', '@angular/common', '@ng-web-apis/common', '@taiga-ui/core/constants'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.directives = global["taiga-ui"].core.directives || {}, global["taiga-ui"].core.directives.hint = {}), global.ng.core, global.i3$1, global["taiga-ui"].core.abstract, global["taiga-ui"].core.animations, global["taiga-ui"].core.directives.mode, global["taiga-ui"].core.services, global["taiga-ui"].core.tokens, global.i1, global.rxjs.operators, global.rxjs, global.ng.common, global.common$1, global["taiga-ui"].core.constants));
5
- })(this, (function (exports, i0, i3$1, i3, animations, i5, i2$1, tokens, i1, operators, i2, common, common$1, constants) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/animations'), require('@taiga-ui/core/directives/mode'), require('@taiga-ui/core/services'), require('@taiga-ui/core/tokens'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators'), require('rxjs'), require('@taiga-ui/core/utils'), require('@angular/common'), require('@ng-web-apis/common'), require('@taiga-ui/core/constants')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/hint', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/animations', '@taiga-ui/core/directives/mode', '@taiga-ui/core/services', '@taiga-ui/core/tokens', '@tinkoff/ng-polymorpheus', 'rxjs/operators', 'rxjs', '@taiga-ui/core/utils', '@angular/common', '@ng-web-apis/common', '@taiga-ui/core/constants'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.directives = global["taiga-ui"].core.directives || {}, global["taiga-ui"].core.directives.hint = {}), global.ng.core, global.i3, global["taiga-ui"].core.abstract, global["taiga-ui"].core.animations, global["taiga-ui"].core.directives.mode, global["taiga-ui"].core.services, global["taiga-ui"].core.tokens, global.i1, global.rxjs.operators, global.rxjs, global["taiga-ui"].core.utils, global.ng.common, global.common$1, global["taiga-ui"].core.constants));
5
+ })(this, (function (exports, i0, i3, i3$1, animations, i5, i2$1, tokens, i1, operators, i2, utils, common, common$1, constants) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -23,8 +23,8 @@
23
23
  }
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$1);
27
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
26
+ var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3);
27
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3$1);
28
28
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
29
29
  var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
30
30
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
@@ -368,10 +368,85 @@
368
368
  var TUI_HINT_OPTIONS = new i0.InjectionToken("[TUI_HINT_OPTIONS] Default parameters for hint directive", {
369
369
  factory: function () { return TUI_HINT_DEFAULT_OPTIONS; },
370
370
  });
371
- var tuiHintOptionsProvider = function (options) { return ({
371
+ var tuiHintOptionsProvider = function (override) { return ({
372
372
  provide: TUI_HINT_OPTIONS,
373
- useValue: Object.assign(Object.assign({}, TUI_HINT_DEFAULT_OPTIONS), options),
373
+ deps: [
374
+ [new i0.Optional(), TuiHintOptionsDirective],
375
+ [new i0.SkipSelf(), TUI_HINT_OPTIONS],
376
+ ],
377
+ useFactory: utils.tuiOverrideOptions(override),
374
378
  }); };
379
+ var TuiHintOptionsDirective = /** @class */ (function (_super) {
380
+ __extends(TuiHintOptionsDirective, _super);
381
+ function TuiHintOptionsDirective(options) {
382
+ var _this = _super.call(this) || this;
383
+ _this.options = options;
384
+ _this.content = "";
385
+ _this.direction = _this.options.direction;
386
+ _this.appearance = _this.options.appearance;
387
+ _this.showDelay = _this.options.showDelay;
388
+ _this.hideDelay = _this.options.hideDelay;
389
+ _this.icon = _this.options.icon;
390
+ return _this;
391
+ }
392
+ return TuiHintOptionsDirective;
393
+ }(i3.AbstractTuiController));
394
+ TuiHintOptionsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
395
+ TuiHintOptionsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
396
+ {
397
+ provide: TUI_HINT_OPTIONS,
398
+ useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
399
+ },
400
+ ], usesInheritance: true, ngImport: i0__namespace });
401
+ __decorate([
402
+ i3.tuiDefaultProp()
403
+ ], TuiHintOptionsDirective.prototype, "content", void 0);
404
+ __decorate([
405
+ i3.tuiDefaultProp()
406
+ ], TuiHintOptionsDirective.prototype, "direction", void 0);
407
+ __decorate([
408
+ i3.tuiDefaultProp()
409
+ ], TuiHintOptionsDirective.prototype, "appearance", void 0);
410
+ __decorate([
411
+ i3.tuiDefaultProp()
412
+ ], TuiHintOptionsDirective.prototype, "showDelay", void 0);
413
+ __decorate([
414
+ i3.tuiDefaultProp()
415
+ ], TuiHintOptionsDirective.prototype, "hideDelay", void 0);
416
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintOptionsDirective, decorators: [{
417
+ type: i0.Directive,
418
+ args: [{
419
+ selector: "[tuiHintContent]",
420
+ providers: [
421
+ {
422
+ provide: TUI_HINT_OPTIONS,
423
+ useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
424
+ },
425
+ ],
426
+ }]
427
+ }], ctorParameters: function () {
428
+ return [{ type: undefined, decorators: [{
429
+ type: i0.SkipSelf
430
+ }, {
431
+ type: i0.Inject,
432
+ args: [TUI_HINT_OPTIONS]
433
+ }] }];
434
+ }, propDecorators: { content: [{
435
+ type: i0.Input,
436
+ args: ["tuiHintContent"]
437
+ }], direction: [{
438
+ type: i0.Input,
439
+ args: ["tuiHintDirection"]
440
+ }], appearance: [{
441
+ type: i0.Input,
442
+ args: ["tuiHintAppearance"]
443
+ }], showDelay: [{
444
+ type: i0.Input,
445
+ args: ["tuiHintShowDelay"]
446
+ }], hideDelay: [{
447
+ type: i0.Input,
448
+ args: ["tuiHintHideDelay"]
449
+ }] } });
375
450
 
376
451
  var TuiHintHoverDirective = /** @class */ (function (_super) {
377
452
  __extends(TuiHintHoverDirective, _super);
@@ -389,25 +464,25 @@
389
464
  this.toggle$.next(visible);
390
465
  };
391
466
  return TuiHintHoverDirective;
392
- }(i3.TuiDriver));
393
- TuiHintHoverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHoverDirective, deps: [{ token: i3$1.TuiHoveredService }, { token: TUI_HINT_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Directive });
394
- TuiHintHoverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, host: { listeners: { "click": "toggle(true)" } }, providers: [i3.tuiAsDriver(TuiHintHoverDirective), i3$1.TuiHoveredService], usesInheritance: true, ngImport: i0__namespace });
467
+ }(i3$1.TuiDriver));
468
+ TuiHintHoverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHoverDirective, deps: [{ token: i3.TuiHoveredService }, { token: TUI_HINT_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Directive });
469
+ TuiHintHoverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, host: { listeners: { "click": "toggle(true)" } }, providers: [i3$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService], usesInheritance: true, ngImport: i0__namespace });
395
470
  __decorate([
396
- i3$1.tuiDefaultProp()
471
+ i3.tuiDefaultProp()
397
472
  ], TuiHintHoverDirective.prototype, "showDelay", void 0);
398
473
  __decorate([
399
- i3$1.tuiDefaultProp()
474
+ i3.tuiDefaultProp()
400
475
  ], TuiHintHoverDirective.prototype, "hideDelay", void 0);
401
476
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHoverDirective, decorators: [{
402
477
  type: i0.Directive,
403
478
  args: [{
404
479
  selector: "[tuiHint]:not(ng-container)",
405
- providers: [i3.tuiAsDriver(TuiHintHoverDirective), i3$1.TuiHoveredService],
480
+ providers: [i3$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService],
406
481
  }]
407
482
  }], ctorParameters: function () {
408
483
  return [{ type: i2__namespace.Observable, decorators: [{
409
484
  type: i0.Inject,
410
- args: [i3$1.TuiHoveredService]
485
+ args: [i3.TuiHoveredService]
411
486
  }] }, { type: undefined, decorators: [{
412
487
  type: i0.Inject,
413
488
  args: [TUI_HINT_OPTIONS]
@@ -427,12 +502,12 @@
427
502
  __extends(TuiHintPointerDirective, _super);
428
503
  function TuiHintPointerDirective() {
429
504
  var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
430
- _this.currentRect = i3$1.EMPTY_CLIENT_RECT;
505
+ _this.currentRect = i3.EMPTY_CLIENT_RECT;
431
506
  return _this;
432
507
  }
433
508
  TuiHintPointerDirective.prototype.onMove = function (_a) {
434
509
  var clientX = _a.clientX, clientY = _a.clientY;
435
- this.currentRect = i3$1.tuiPointToClientRect(clientX, clientY);
510
+ this.currentRect = i3.tuiPointToClientRect(clientX, clientY);
436
511
  };
437
512
  TuiHintPointerDirective.prototype.getClientRect = function () {
438
513
  return this.currentRect;
@@ -441,16 +516,16 @@
441
516
  }(TuiHintHoverDirective));
442
517
  TuiHintPointerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPointerDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
443
518
  TuiHintPointerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]", host: { listeners: { "mousemove.silent": "onMove($event)" } }, providers: [
444
- i3.tuiAsRectAccessor(TuiHintPointerDirective),
445
- i3.tuiAsDriver(TuiHintPointerDirective),
519
+ i3$1.tuiAsRectAccessor(TuiHintPointerDirective),
520
+ i3$1.tuiAsDriver(TuiHintPointerDirective),
446
521
  ], usesInheritance: true, ngImport: i0__namespace });
447
522
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPointerDirective, decorators: [{
448
523
  type: i0.Directive,
449
524
  args: [{
450
525
  selector: "[tuiHint][tuiHintPointer]",
451
526
  providers: [
452
- i3.tuiAsRectAccessor(TuiHintPointerDirective),
453
- i3.tuiAsDriver(TuiHintPointerDirective),
527
+ i3$1.tuiAsRectAccessor(TuiHintPointerDirective),
528
+ i3$1.tuiAsDriver(TuiHintPointerDirective),
454
529
  ],
455
530
  }]
456
531
  }], propDecorators: { onMove: [{
@@ -505,17 +580,17 @@
505
580
  var safeLeft = Math.max(left, 4);
506
581
  var beakTop = rect.top + rect.height / 2 - top;
507
582
  var beakLeft = rect.left + rect.width / 2 - safeLeft;
508
- style.top = i3$1.tuiPx(top);
509
- style.left = i3$1.tuiPx(safeLeft);
510
- style.setProperty("--top", i3$1.tuiPx(i3$1.tuiClamp(beakTop, 0.5, height - 1)));
511
- style.setProperty("--left", i3$1.tuiPx(i3$1.tuiClamp(beakLeft, 0.5, width - 1)));
583
+ style.top = i3.tuiPx(top);
584
+ style.left = i3.tuiPx(safeLeft);
585
+ style.setProperty("--top", i3.tuiPx(i3.tuiClamp(beakTop, 0.5, height - 1)));
586
+ style.setProperty("--left", i3.tuiPx(i3.tuiClamp(beakLeft, 0.5, width - 1)));
512
587
  };
513
588
  return TuiHintComponent;
514
589
  }());
515
- TuiHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintComponent, deps: [{ token: i3$1.TuiHoveredService }, { token: i2$1.TuiPositionService }, { token: i3$1.TuiDestroyService }, { token: i3.TuiRectAccessor }, { token: i0.ElementRef }, { token: tokens.TUI_ANIMATION_OPTIONS }, { token: i1.POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: TuiHintPointerDirective, optional: true }, { token: i5.TuiModeDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
516
- TuiHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "this.animation", "attr.data-appearance": "this.appearance", "class._untouchable": "this.untouchable" } }, providers: [i3$1.TuiDestroyService, i2$1.TuiPositionService, i3$1.TuiHoveredService], ngImport: i0__namespace, template: "\n <ng-container *polymorpheusOutlet=\"content as text; context: context\">\n {{ text }}\n </ng-container>\n ", isInline: true, styles: [":host{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}:host:before{content:\"\";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background-color:inherit;transform:translate(-50%,-50%) rotate(45deg)}:host[data-appearance=error]{background-color:var(--tui-error-fill)}:host[data-appearance=onDark]{box-shadow:0 .5rem 1rem rgba(0,0,0,.16);border:1px solid var(--tui-base-03);background-color:var(--tui-base-01);color:var(--tui-text-01)}:host[data-appearance=onDark]:before{box-shadow:inset 0 0 0 1px var(--tui-base-03)}:host[data-appearance=onDark]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 .5rem var(--tui-base-01)}:host._untouchable{pointer-events:none}\n"], directives: [{ type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [animations.tuiFadeIn], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
590
+ TuiHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintComponent, deps: [{ token: i3.TuiHoveredService }, { token: i2$1.TuiPositionService }, { token: i3.TuiDestroyService }, { token: i3$1.TuiRectAccessor }, { token: i0.ElementRef }, { token: tokens.TUI_ANIMATION_OPTIONS }, { token: i1.POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: TuiHintPointerDirective, optional: true }, { token: i5.TuiModeDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
591
+ TuiHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "this.animation", "attr.data-appearance": "this.appearance", "class._untouchable": "this.untouchable" } }, providers: [i3.TuiDestroyService, i2$1.TuiPositionService, i3.TuiHoveredService], ngImport: i0__namespace, template: "\n <ng-container *polymorpheusOutlet=\"content as text; context: context\">\n {{ text }}\n </ng-container>\n ", isInline: true, styles: [":host{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}:host:before{content:\"\";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background-color:inherit;transform:translate(-50%,-50%) rotate(45deg)}:host[data-appearance=error]{background-color:var(--tui-error-fill)}:host[data-appearance=onDark]{box-shadow:0 .5rem 1rem rgba(0,0,0,.16);border:1px solid var(--tui-base-03);background-color:var(--tui-base-01);color:var(--tui-text-01)}:host[data-appearance=onDark]:before{box-shadow:inset 0 0 0 1px var(--tui-base-03)}:host[data-appearance=onDark]:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 .5rem var(--tui-base-01)}:host._untouchable{pointer-events:none}\n"], directives: [{ type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [animations.tuiFadeIn], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
517
592
  __decorate([
518
- i3$1.tuiPure
593
+ i3.tuiPure
519
594
  ], TuiHintComponent.prototype, "update", null);
520
595
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintComponent, decorators: [{
521
596
  type: i0.Component,
@@ -524,22 +599,22 @@
524
599
  template: "\n <ng-container *polymorpheusOutlet=\"content as text; context: context\">\n {{ text }}\n </ng-container>\n ",
525
600
  styleUrls: ["./hint.style.less"],
526
601
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
527
- providers: [i3$1.TuiDestroyService, i2$1.TuiPositionService, i3$1.TuiHoveredService],
602
+ providers: [i3.TuiDestroyService, i2$1.TuiPositionService, i3.TuiHoveredService],
528
603
  animations: [animations.tuiFadeIn],
529
604
  }]
530
605
  }], ctorParameters: function () {
531
606
  return [{ type: i2__namespace.Observable, decorators: [{
532
607
  type: i0.Inject,
533
- args: [i3$1.TuiHoveredService]
608
+ args: [i3.TuiHoveredService]
534
609
  }] }, { type: i2__namespace.Observable, decorators: [{
535
610
  type: i0.Inject,
536
611
  args: [i2$1.TuiPositionService]
537
612
  }] }, { type: i2__namespace.Observable, decorators: [{
538
613
  type: i0.Inject,
539
- args: [i3$1.TuiDestroyService]
614
+ args: [i3.TuiDestroyService]
540
615
  }] }, { type: i3__namespace.TuiRectAccessor, decorators: [{
541
616
  type: i0.Inject,
542
- args: [i3.TuiRectAccessor]
617
+ args: [i3$1.TuiRectAccessor]
543
618
  }] }, { type: i0__namespace.ElementRef, decorators: [{
544
619
  type: i0.Inject,
545
620
  args: [i0.ElementRef]
@@ -589,8 +664,16 @@
589
664
  this.options = options;
590
665
  this.activeZone = activeZone;
591
666
  this.content = "";
592
- this.appearance = this.options.appearance;
667
+ this.tuiHintAppearance = null;
593
668
  }
669
+ Object.defineProperty(TuiHintDirective.prototype, "appearance", {
670
+ get: function () {
671
+ var _a;
672
+ return (_a = this.tuiHintAppearance) !== null && _a !== void 0 ? _a : this.options.appearance;
673
+ },
674
+ enumerable: false,
675
+ configurable: true
676
+ });
594
677
  TuiHintDirective.prototype.ngOnChanges = function () {
595
678
  if (!this.content) {
596
679
  this.toggle(false);
@@ -612,10 +695,10 @@
612
695
  };
613
696
  return TuiHintDirective;
614
697
  }());
615
- TuiHintDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDirective, deps: [{ token: i0.ElementRef }, { token: i1.PolymorpheusComponent }, { token: i2$1.TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: i3$1.TuiActiveZoneDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
616
- TuiHintDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], appearance: ["tuiHintAppearance", "appearance"] }, providers: [
617
- i3.tuiAsRectAccessor(TuiHintDirective),
618
- i3.tuiAsVehicle(TuiHintDirective),
698
+ TuiHintDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDirective, deps: [{ token: i0.ElementRef }, { token: i1.PolymorpheusComponent }, { token: i2$1.TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: i3.TuiActiveZoneDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
699
+ TuiHintDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], tuiHintAppearance: "tuiHintAppearance" }, providers: [
700
+ i3$1.tuiAsRectAccessor(TuiHintDirective),
701
+ i3$1.tuiAsVehicle(TuiHintDirective),
619
702
  {
620
703
  provide: i1.PolymorpheusComponent,
621
704
  deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
@@ -623,18 +706,18 @@
623
706
  },
624
707
  ], usesOnChanges: true, ngImport: i0__namespace });
625
708
  __decorate([
626
- i3$1.tuiDefaultProp()
709
+ i3.tuiDefaultProp()
627
710
  ], TuiHintDirective.prototype, "content", void 0);
628
711
  __decorate([
629
- i3$1.tuiDefaultProp()
630
- ], TuiHintDirective.prototype, "appearance", void 0);
712
+ i3.tuiDefaultProp()
713
+ ], TuiHintDirective.prototype, "tuiHintAppearance", void 0);
631
714
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDirective, decorators: [{
632
715
  type: i0.Directive,
633
716
  args: [{
634
717
  selector: "[tuiHint]:not(ng-container)",
635
718
  providers: [
636
- i3.tuiAsRectAccessor(TuiHintDirective),
637
- i3.tuiAsVehicle(TuiHintDirective),
719
+ i3$1.tuiAsRectAccessor(TuiHintDirective),
720
+ i3$1.tuiAsVehicle(TuiHintDirective),
638
721
  {
639
722
  provide: i1.PolymorpheusComponent,
640
723
  deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
@@ -659,7 +742,7 @@
659
742
  type: i0.Optional
660
743
  }, {
661
744
  type: i0.Inject,
662
- args: [i3$1.TuiActiveZoneDirective]
745
+ args: [i3.TuiActiveZoneDirective]
663
746
  }] }];
664
747
  }, propDecorators: { content: [{
665
748
  type: i0.Input,
@@ -667,9 +750,8 @@
667
750
  }], context: [{
668
751
  type: i0.Input,
669
752
  args: ["tuiHintContext"]
670
- }], appearance: [{
671
- type: i0.Input,
672
- args: ["tuiHintAppearance"]
753
+ }], tuiHintAppearance: [{
754
+ type: i0.Input
673
755
  }] } });
674
756
 
675
757
  var TuiHintDescribeDirective = /** @class */ (function (_super) {
@@ -680,18 +762,18 @@
680
762
  _this.hover$ = hover$;
681
763
  _this.documentRef = documentRef;
682
764
  _this.elementRef = elementRef;
683
- _this.focus$ = i3$1.tuiTypedFromEvent(_this.documentRef, "keydown", {
765
+ _this.focus$ = i3.tuiTypedFromEvent(_this.documentRef, "keydown", {
684
766
  capture: true,
685
767
  }).pipe(operators.switchMap(function () { return _this.focused
686
768
  ? i2.of(false)
687
- : i2.merge(i3$1.tuiTypedFromEvent(_this.documentRef, "keyup"), i3$1.tuiTypedFromEvent(_this.element, "blur")).pipe(operators.map(function () { return _this.focused; })); }), operators.debounce(function (visible) { return (visible ? i2.timer(1000) : i2.of(null)); }), operators.startWith(false), operators.distinctUntilChanged(), operators.skip(1), i3$1.tuiZoneOptimized(_this.ngZone));
769
+ : i2.merge(i3.tuiTypedFromEvent(_this.documentRef, "keyup"), i3.tuiTypedFromEvent(_this.element, "blur")).pipe(operators.map(function () { return _this.focused; })); }), operators.debounce(function (visible) { return (visible ? i2.timer(1000) : i2.of(null)); }), operators.startWith(false), operators.distinctUntilChanged(), operators.skip(1), i3.tuiZoneOptimized(_this.ngZone));
688
770
  _this.stream$ = i2.merge(_this.hover$, _this.focus$);
689
771
  _this.tuiHintDescribe = "";
690
772
  return _this;
691
773
  }
692
774
  Object.defineProperty(TuiHintDescribeDirective.prototype, "focused", {
693
775
  get: function () {
694
- return i3$1.tuiIsNativeFocused(this.element);
776
+ return i3.tuiIsNativeFocused(this.element);
695
777
  },
696
778
  enumerable: false,
697
779
  configurable: true
@@ -705,17 +787,17 @@
705
787
  configurable: true
706
788
  });
707
789
  return TuiHintDescribeDirective;
708
- }(i3.TuiDriver));
790
+ }(i3$1.TuiDriver));
709
791
  TuiHintDescribeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDescribeDirective, deps: [{ token: i0.NgZone }, { token: TuiHintHoverDirective }, { token: common.DOCUMENT }, { token: i0.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
710
- TuiHintDescribeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [i3.tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, ngImport: i0__namespace });
792
+ TuiHintDescribeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [i3$1.tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, ngImport: i0__namespace });
711
793
  __decorate([
712
- i3$1.tuiPure
794
+ i3.tuiPure
713
795
  ], TuiHintDescribeDirective.prototype, "element", null);
714
796
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDescribeDirective, decorators: [{
715
797
  type: i0.Directive,
716
798
  args: [{
717
799
  selector: "[tuiHintDescribe]",
718
- providers: [i3.tuiAsDriver(TuiHintDescribeDirective)],
800
+ providers: [i3$1.tuiAsDriver(TuiHintDescribeDirective)],
719
801
  }]
720
802
  }], ctorParameters: function () {
721
803
  return [{ type: i0__namespace.NgZone, decorators: [{
@@ -741,14 +823,14 @@
741
823
  return _super !== null && _super.apply(this, arguments) || this;
742
824
  }
743
825
  return TuiHintDriverDirective;
744
- }(i3.AbstractTuiDriverDirective));
826
+ }(i3$1.AbstractTuiDriverDirective));
745
827
  TuiHintDriverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDriverDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
746
- TuiHintDriverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDriverDirective, selector: "[tuiHint]", providers: [i3$1.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
828
+ TuiHintDriverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintDriverDirective, selector: "[tuiHint]", providers: [i3.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
747
829
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDriverDirective, decorators: [{
748
830
  type: i0.Directive,
749
831
  args: [{
750
832
  selector: "[tuiHint]",
751
- providers: [i3$1.TuiDestroyService],
833
+ providers: [i3.TuiDestroyService],
752
834
  }]
753
835
  }] });
754
836
 
@@ -759,17 +841,17 @@
759
841
  }
760
842
  TuiHintHostDirective.prototype.getClientRect = function () {
761
843
  var _a;
762
- return ((_a = this.tuiHintHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || i3$1.EMPTY_CLIENT_RECT;
844
+ return ((_a = this.tuiHintHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || i3.EMPTY_CLIENT_RECT;
763
845
  };
764
846
  return TuiHintHostDirective;
765
- }(i3.TuiRectAccessor));
847
+ }(i3$1.TuiRectAccessor));
766
848
  TuiHintHostDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHostDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
767
- TuiHintHostDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [i3.tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0__namespace });
849
+ TuiHintHostDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [i3$1.tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0__namespace });
768
850
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHostDirective, decorators: [{
769
851
  type: i0.Directive,
770
852
  args: [{
771
853
  selector: "[tuiHint][tuiHintHost]",
772
- providers: [i3.tuiAsRectAccessor(TuiHintHostDirective)],
854
+ providers: [i3$1.tuiAsRectAccessor(TuiHintHostDirective)],
773
855
  }]
774
856
  }], propDecorators: { tuiHintHost: [{
775
857
  type: i0.Input
@@ -787,91 +869,19 @@
787
869
  this.stream$.next(this.tuiHintManual);
788
870
  };
789
871
  return TuiHintManualDirective;
790
- }(i3.TuiDriver));
872
+ }(i3$1.TuiDriver));
791
873
  TuiHintManualDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintManualDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
792
- TuiHintManualDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [i3.tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
874
+ TuiHintManualDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [i3$1.tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
793
875
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintManualDirective, decorators: [{
794
876
  type: i0.Directive,
795
877
  args: [{
796
878
  selector: "[tuiHint][tuiHintManual]",
797
- providers: [i3.tuiAsDriver(TuiHintManualDirective)],
879
+ providers: [i3$1.tuiAsDriver(TuiHintManualDirective)],
798
880
  }]
799
881
  }], ctorParameters: function () { return []; }, propDecorators: { tuiHintManual: [{
800
882
  type: i0.Input
801
883
  }] } });
802
884
 
803
- var TuiHintOptionsDirective = /** @class */ (function (_super) {
804
- __extends(TuiHintOptionsDirective, _super);
805
- function TuiHintOptionsDirective(options) {
806
- var _this = _super.call(this) || this;
807
- _this.options = options;
808
- _this.content = "";
809
- _this.direction = _this.options.direction;
810
- _this.appearance = _this.options.appearance;
811
- _this.showDelay = _this.options.showDelay;
812
- _this.hideDelay = _this.options.hideDelay;
813
- _this.icon = _this.options.icon;
814
- return _this;
815
- }
816
- return TuiHintOptionsDirective;
817
- }(i3$1.AbstractTuiController));
818
- TuiHintOptionsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
819
- TuiHintOptionsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
820
- {
821
- provide: TUI_HINT_OPTIONS,
822
- useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
823
- },
824
- ], usesInheritance: true, ngImport: i0__namespace });
825
- __decorate([
826
- i3$1.tuiDefaultProp()
827
- ], TuiHintOptionsDirective.prototype, "content", void 0);
828
- __decorate([
829
- i3$1.tuiDefaultProp()
830
- ], TuiHintOptionsDirective.prototype, "direction", void 0);
831
- __decorate([
832
- i3$1.tuiDefaultProp()
833
- ], TuiHintOptionsDirective.prototype, "appearance", void 0);
834
- __decorate([
835
- i3$1.tuiDefaultProp()
836
- ], TuiHintOptionsDirective.prototype, "showDelay", void 0);
837
- __decorate([
838
- i3$1.tuiDefaultProp()
839
- ], TuiHintOptionsDirective.prototype, "hideDelay", void 0);
840
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintOptionsDirective, decorators: [{
841
- type: i0.Directive,
842
- args: [{
843
- selector: "[tuiHintContent]",
844
- providers: [
845
- {
846
- provide: TUI_HINT_OPTIONS,
847
- useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
848
- },
849
- ],
850
- }]
851
- }], ctorParameters: function () {
852
- return [{ type: undefined, decorators: [{
853
- type: i0.SkipSelf
854
- }, {
855
- type: i0.Inject,
856
- args: [TUI_HINT_OPTIONS]
857
- }] }];
858
- }, propDecorators: { content: [{
859
- type: i0.Input,
860
- args: ["tuiHintContent"]
861
- }], direction: [{
862
- type: i0.Input,
863
- args: ["tuiHintDirection"]
864
- }], appearance: [{
865
- type: i0.Input,
866
- args: ["tuiHintAppearance"]
867
- }], showDelay: [{
868
- type: i0.Input,
869
- args: ["tuiHintShowDelay"]
870
- }], hideDelay: [{
871
- type: i0.Input,
872
- args: ["tuiHintHideDelay"]
873
- }] } });
874
-
875
885
  var OFFSET = 8;
876
886
  var ARROW_OFFSET = 22;
877
887
  var TOP = 0;
@@ -933,16 +943,16 @@
933
943
  };
934
944
  return TuiHintPositionDirective;
935
945
  }());
936
- TuiHintPositionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: common$1.WINDOW }, { token: i3.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
937
- TuiHintPositionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition])", inputs: { direction: ["tuiHintDirection", "direction"] }, providers: [i3.tuiAsPositionAccessor(TuiHintPositionDirective)], ngImport: i0__namespace });
946
+ TuiHintPositionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: common$1.WINDOW }, { token: i3$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
947
+ TuiHintPositionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHintPositionDirective, selector: "[tuiHint]:not([tuiHintCustomPosition])", inputs: { direction: ["tuiHintDirection", "direction"] }, providers: [i3$1.tuiAsPositionAccessor(TuiHintPositionDirective)], ngImport: i0__namespace });
938
948
  __decorate([
939
- i3$1.tuiDefaultProp()
949
+ i3.tuiDefaultProp()
940
950
  ], TuiHintPositionDirective.prototype, "direction", void 0);
941
951
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPositionDirective, decorators: [{
942
952
  type: i0.Directive,
943
953
  args: [{
944
954
  selector: "[tuiHint]:not([tuiHintCustomPosition])",
945
- providers: [i3.tuiAsPositionAccessor(TuiHintPositionDirective)],
955
+ providers: [i3$1.tuiAsPositionAccessor(TuiHintPositionDirective)],
946
956
  }]
947
957
  }], ctorParameters: function () {
948
958
  return [{ type: undefined, decorators: [{
@@ -953,7 +963,7 @@
953
963
  args: [common$1.WINDOW]
954
964
  }] }, { type: i3__namespace.TuiRectAccessor, decorators: [{
955
965
  type: i0.Inject,
956
- args: [i3.TuiRectAccessor]
966
+ args: [i3$1.TuiRectAccessor]
957
967
  }] }];
958
968
  }, propDecorators: { direction: [{
959
969
  type: i0.Input,
@@ -1014,7 +1024,6 @@
1014
1024
  TuiHintPositionDirective,
1015
1025
  TuiHintOptionsDirective,
1016
1026
  ],
1017
- entryComponents: [TuiHintComponent],
1018
1027
  }]
1019
1028
  }] });
1020
1029