@taiga-ui/core 3.3.0 → 3.5.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 (76) hide show
  1. package/bundles/taiga-ui-core-components-dialog.umd.js +3 -2
  2. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-expand.umd.js +20 -5
  4. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-hints-host.umd.js +3 -2
  6. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +2 -2
  8. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-root.umd.js +4 -3
  10. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -8
  12. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-directives-hint.umd.js +152 -141
  14. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -0
  16. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
  17. package/components/expand/expand-content.directive.d.ts +5 -0
  18. package/components/expand/expand.module.d.ts +4 -3
  19. package/components/expand/index.d.ts +1 -0
  20. package/directives/hint/hint-hover.directive.d.ts +1 -1
  21. package/directives/hint/hint-options.directive.d.ts +14 -2
  22. package/directives/hint/hint-position.directive.d.ts +1 -1
  23. package/directives/hint/hint.directive.d.ts +4 -3
  24. package/directives/hint/index.d.ts +0 -1
  25. package/esm2015/components/dialog/dialog.component.js +4 -3
  26. package/esm2015/components/expand/expand-content.directive.js +13 -0
  27. package/esm2015/components/expand/expand.component.js +4 -3
  28. package/esm2015/components/expand/expand.module.js +5 -4
  29. package/esm2015/components/expand/index.js +2 -1
  30. package/esm2015/components/hints-host/hints-host.component.js +4 -3
  31. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
  32. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +1 -1
  33. package/esm2015/components/root/root.component.js +5 -4
  34. package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -9
  35. package/esm2015/directives/hint/hint-hover.directive.js +2 -2
  36. package/esm2015/directives/hint/hint-options.directive.js +22 -3
  37. package/esm2015/directives/hint/hint-position.directive.js +2 -2
  38. package/esm2015/directives/hint/hint.component.js +6 -5
  39. package/esm2015/directives/hint/hint.directive.js +11 -8
  40. package/esm2015/directives/hint/index.js +1 -2
  41. package/esm2015/utils/miscellaneous/index.js +2 -1
  42. package/esm2015/utils/miscellaneous/override-options.js +11 -0
  43. package/fesm2015/taiga-ui-core-components-dialog.js +3 -2
  44. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  45. package/fesm2015/taiga-ui-core-components-expand.js +18 -7
  46. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  47. package/fesm2015/taiga-ui-core-components-hints-host.js +3 -2
  48. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  49. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +2 -2
  50. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  51. package/fesm2015/taiga-ui-core-components-root.js +4 -3
  52. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  53. package/fesm2015/taiga-ui-core-directives-dropdown.js +2 -9
  54. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  55. package/fesm2015/taiga-ui-core-directives-hint.js +89 -81
  56. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  57. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +12 -1
  58. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  59. package/package.json +4 -4
  60. package/styles/mixins/textfield.less +0 -1
  61. package/styles/theme/dialog.less +1 -1
  62. package/styles/theme/wrapper/accent.less +1 -1
  63. package/styles/theme/wrapper/base.less +1 -1
  64. package/styles/theme/wrapper/icon.less +1 -1
  65. package/styles/theme/wrapper/mono.less +1 -1
  66. package/styles/theme/wrapper/outline.less +1 -1
  67. package/styles/theme/wrapper/primary.less +1 -1
  68. package/styles/theme/wrapper/secondary-destructive.less +1 -1
  69. package/styles/theme/wrapper/secondary.less +1 -1
  70. package/styles/theme/wrapper/table.less +1 -1
  71. package/styles/theme/wrapper/textfield.less +1 -1
  72. package/styles/theme/wrapper/whiteblock.less +1 -1
  73. package/utils/miscellaneous/index.d.ts +1 -0
  74. package/utils/miscellaneous/override-options.d.ts +1 -0
  75. package/directives/hint/hint-options.d.ts +0 -14
  76. 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: [{
@@ -502,19 +577,20 @@
502
577
  var _b = nativeElement.getBoundingClientRect(), height = _b.height, width = _b.width;
503
578
  var style = nativeElement.style;
504
579
  var rect = this.accessor.getClientRect();
580
+ var safeLeft = Math.max(left, 4);
505
581
  var beakTop = rect.top + rect.height / 2 - top;
506
- var beakLeft = rect.left + rect.width / 2 - left;
507
- style.top = i3$1.tuiPx(top);
508
- style.left = i3$1.tuiPx(left);
509
- style.setProperty("--top", i3$1.tuiPx(i3$1.tuiClamp(beakTop, 0, height - 1)));
510
- style.setProperty("--left", i3$1.tuiPx(i3$1.tuiClamp(beakLeft, 0, width - 1)));
582
+ var beakLeft = rect.left + rect.width / 2 - safeLeft;
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)));
511
587
  };
512
588
  return TuiHintComponent;
513
589
  }());
514
- 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 });
515
- 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 });
516
592
  __decorate([
517
- i3$1.tuiPure
593
+ i3.tuiPure
518
594
  ], TuiHintComponent.prototype, "update", null);
519
595
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintComponent, decorators: [{
520
596
  type: i0.Component,
@@ -523,22 +599,22 @@
523
599
  template: "\n <ng-container *polymorpheusOutlet=\"content as text; context: context\">\n {{ text }}\n </ng-container>\n ",
524
600
  styleUrls: ["./hint.style.less"],
525
601
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
526
- providers: [i3$1.TuiDestroyService, i2$1.TuiPositionService, i3$1.TuiHoveredService],
602
+ providers: [i3.TuiDestroyService, i2$1.TuiPositionService, i3.TuiHoveredService],
527
603
  animations: [animations.tuiFadeIn],
528
604
  }]
529
605
  }], ctorParameters: function () {
530
606
  return [{ type: i2__namespace.Observable, decorators: [{
531
607
  type: i0.Inject,
532
- args: [i3$1.TuiHoveredService]
608
+ args: [i3.TuiHoveredService]
533
609
  }] }, { type: i2__namespace.Observable, decorators: [{
534
610
  type: i0.Inject,
535
611
  args: [i2$1.TuiPositionService]
536
612
  }] }, { type: i2__namespace.Observable, decorators: [{
537
613
  type: i0.Inject,
538
- args: [i3$1.TuiDestroyService]
614
+ args: [i3.TuiDestroyService]
539
615
  }] }, { type: i3__namespace.TuiRectAccessor, decorators: [{
540
616
  type: i0.Inject,
541
- args: [i3.TuiRectAccessor]
617
+ args: [i3$1.TuiRectAccessor]
542
618
  }] }, { type: i0__namespace.ElementRef, decorators: [{
543
619
  type: i0.Inject,
544
620
  args: [i0.ElementRef]
@@ -588,8 +664,16 @@
588
664
  this.options = options;
589
665
  this.activeZone = activeZone;
590
666
  this.content = "";
591
- this.appearance = this.options.appearance;
667
+ this.tuiHintAppearance = null;
592
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
+ });
593
677
  TuiHintDirective.prototype.ngOnChanges = function () {
594
678
  if (!this.content) {
595
679
  this.toggle(false);
@@ -611,10 +695,10 @@
611
695
  };
612
696
  return TuiHintDirective;
613
697
  }());
614
- 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 });
615
- 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: [
616
- i3.tuiAsRectAccessor(TuiHintDirective),
617
- 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),
618
702
  {
619
703
  provide: i1.PolymorpheusComponent,
620
704
  deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
@@ -622,18 +706,18 @@
622
706
  },
623
707
  ], usesOnChanges: true, ngImport: i0__namespace });
624
708
  __decorate([
625
- i3$1.tuiDefaultProp()
709
+ i3.tuiDefaultProp()
626
710
  ], TuiHintDirective.prototype, "content", void 0);
627
711
  __decorate([
628
- i3$1.tuiDefaultProp()
629
- ], TuiHintDirective.prototype, "appearance", void 0);
712
+ i3.tuiDefaultProp()
713
+ ], TuiHintDirective.prototype, "tuiHintAppearance", void 0);
630
714
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDirective, decorators: [{
631
715
  type: i0.Directive,
632
716
  args: [{
633
717
  selector: "[tuiHint]:not(ng-container)",
634
718
  providers: [
635
- i3.tuiAsRectAccessor(TuiHintDirective),
636
- i3.tuiAsVehicle(TuiHintDirective),
719
+ i3$1.tuiAsRectAccessor(TuiHintDirective),
720
+ i3$1.tuiAsVehicle(TuiHintDirective),
637
721
  {
638
722
  provide: i1.PolymorpheusComponent,
639
723
  deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
@@ -658,7 +742,7 @@
658
742
  type: i0.Optional
659
743
  }, {
660
744
  type: i0.Inject,
661
- args: [i3$1.TuiActiveZoneDirective]
745
+ args: [i3.TuiActiveZoneDirective]
662
746
  }] }];
663
747
  }, propDecorators: { content: [{
664
748
  type: i0.Input,
@@ -666,9 +750,8 @@
666
750
  }], context: [{
667
751
  type: i0.Input,
668
752
  args: ["tuiHintContext"]
669
- }], appearance: [{
670
- type: i0.Input,
671
- args: ["tuiHintAppearance"]
753
+ }], tuiHintAppearance: [{
754
+ type: i0.Input
672
755
  }] } });
673
756
 
674
757
  var TuiHintDescribeDirective = /** @class */ (function (_super) {
@@ -679,18 +762,18 @@
679
762
  _this.hover$ = hover$;
680
763
  _this.documentRef = documentRef;
681
764
  _this.elementRef = elementRef;
682
- _this.focus$ = i3$1.tuiTypedFromEvent(_this.documentRef, "keydown", {
765
+ _this.focus$ = i3.tuiTypedFromEvent(_this.documentRef, "keydown", {
683
766
  capture: true,
684
767
  }).pipe(operators.switchMap(function () { return _this.focused
685
768
  ? i2.of(false)
686
- : 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));
687
770
  _this.stream$ = i2.merge(_this.hover$, _this.focus$);
688
771
  _this.tuiHintDescribe = "";
689
772
  return _this;
690
773
  }
691
774
  Object.defineProperty(TuiHintDescribeDirective.prototype, "focused", {
692
775
  get: function () {
693
- return i3$1.tuiIsNativeFocused(this.element);
776
+ return i3.tuiIsNativeFocused(this.element);
694
777
  },
695
778
  enumerable: false,
696
779
  configurable: true
@@ -704,17 +787,17 @@
704
787
  configurable: true
705
788
  });
706
789
  return TuiHintDescribeDirective;
707
- }(i3.TuiDriver));
790
+ }(i3$1.TuiDriver));
708
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 });
709
- 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 });
710
793
  __decorate([
711
- i3$1.tuiPure
794
+ i3.tuiPure
712
795
  ], TuiHintDescribeDirective.prototype, "element", null);
713
796
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDescribeDirective, decorators: [{
714
797
  type: i0.Directive,
715
798
  args: [{
716
799
  selector: "[tuiHintDescribe]",
717
- providers: [i3.tuiAsDriver(TuiHintDescribeDirective)],
800
+ providers: [i3$1.tuiAsDriver(TuiHintDescribeDirective)],
718
801
  }]
719
802
  }], ctorParameters: function () {
720
803
  return [{ type: i0__namespace.NgZone, decorators: [{
@@ -740,14 +823,14 @@
740
823
  return _super !== null && _super.apply(this, arguments) || this;
741
824
  }
742
825
  return TuiHintDriverDirective;
743
- }(i3.AbstractTuiDriverDirective));
826
+ }(i3$1.AbstractTuiDriverDirective));
744
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 });
745
- 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 });
746
829
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDriverDirective, decorators: [{
747
830
  type: i0.Directive,
748
831
  args: [{
749
832
  selector: "[tuiHint]",
750
- providers: [i3$1.TuiDestroyService],
833
+ providers: [i3.TuiDestroyService],
751
834
  }]
752
835
  }] });
753
836
 
@@ -758,17 +841,17 @@
758
841
  }
759
842
  TuiHintHostDirective.prototype.getClientRect = function () {
760
843
  var _a;
761
- 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;
762
845
  };
763
846
  return TuiHintHostDirective;
764
- }(i3.TuiRectAccessor));
847
+ }(i3$1.TuiRectAccessor));
765
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 });
766
- 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 });
767
850
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHostDirective, decorators: [{
768
851
  type: i0.Directive,
769
852
  args: [{
770
853
  selector: "[tuiHint][tuiHintHost]",
771
- providers: [i3.tuiAsRectAccessor(TuiHintHostDirective)],
854
+ providers: [i3$1.tuiAsRectAccessor(TuiHintHostDirective)],
772
855
  }]
773
856
  }], propDecorators: { tuiHintHost: [{
774
857
  type: i0.Input
@@ -786,91 +869,19 @@
786
869
  this.stream$.next(this.tuiHintManual);
787
870
  };
788
871
  return TuiHintManualDirective;
789
- }(i3.TuiDriver));
872
+ }(i3$1.TuiDriver));
790
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 });
791
- 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 });
792
875
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintManualDirective, decorators: [{
793
876
  type: i0.Directive,
794
877
  args: [{
795
878
  selector: "[tuiHint][tuiHintManual]",
796
- providers: [i3.tuiAsDriver(TuiHintManualDirective)],
879
+ providers: [i3$1.tuiAsDriver(TuiHintManualDirective)],
797
880
  }]
798
881
  }], ctorParameters: function () { return []; }, propDecorators: { tuiHintManual: [{
799
882
  type: i0.Input
800
883
  }] } });
801
884
 
802
- var TuiHintOptionsDirective = /** @class */ (function (_super) {
803
- __extends(TuiHintOptionsDirective, _super);
804
- function TuiHintOptionsDirective(options) {
805
- var _this = _super.call(this) || this;
806
- _this.options = options;
807
- _this.content = "";
808
- _this.direction = _this.options.direction;
809
- _this.appearance = _this.options.appearance;
810
- _this.showDelay = _this.options.showDelay;
811
- _this.hideDelay = _this.options.hideDelay;
812
- _this.icon = _this.options.icon;
813
- return _this;
814
- }
815
- return TuiHintOptionsDirective;
816
- }(i3$1.AbstractTuiController));
817
- 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 });
818
- 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: [
819
- {
820
- provide: TUI_HINT_OPTIONS,
821
- useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
822
- },
823
- ], usesInheritance: true, ngImport: i0__namespace });
824
- __decorate([
825
- i3$1.tuiDefaultProp()
826
- ], TuiHintOptionsDirective.prototype, "content", void 0);
827
- __decorate([
828
- i3$1.tuiDefaultProp()
829
- ], TuiHintOptionsDirective.prototype, "direction", void 0);
830
- __decorate([
831
- i3$1.tuiDefaultProp()
832
- ], TuiHintOptionsDirective.prototype, "appearance", void 0);
833
- __decorate([
834
- i3$1.tuiDefaultProp()
835
- ], TuiHintOptionsDirective.prototype, "showDelay", void 0);
836
- __decorate([
837
- i3$1.tuiDefaultProp()
838
- ], TuiHintOptionsDirective.prototype, "hideDelay", void 0);
839
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintOptionsDirective, decorators: [{
840
- type: i0.Directive,
841
- args: [{
842
- selector: "[tuiHintContent]",
843
- providers: [
844
- {
845
- provide: TUI_HINT_OPTIONS,
846
- useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
847
- },
848
- ],
849
- }]
850
- }], ctorParameters: function () {
851
- return [{ type: undefined, decorators: [{
852
- type: i0.SkipSelf
853
- }, {
854
- type: i0.Inject,
855
- args: [TUI_HINT_OPTIONS]
856
- }] }];
857
- }, propDecorators: { content: [{
858
- type: i0.Input,
859
- args: ["tuiHintContent"]
860
- }], direction: [{
861
- type: i0.Input,
862
- args: ["tuiHintDirection"]
863
- }], appearance: [{
864
- type: i0.Input,
865
- args: ["tuiHintAppearance"]
866
- }], showDelay: [{
867
- type: i0.Input,
868
- args: ["tuiHintShowDelay"]
869
- }], hideDelay: [{
870
- type: i0.Input,
871
- args: ["tuiHintHideDelay"]
872
- }] } });
873
-
874
885
  var OFFSET = 8;
875
886
  var ARROW_OFFSET = 22;
876
887
  var TOP = 0;
@@ -932,16 +943,16 @@
932
943
  };
933
944
  return TuiHintPositionDirective;
934
945
  }());
935
- 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 });
936
- 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 });
937
948
  __decorate([
938
- i3$1.tuiDefaultProp()
949
+ i3.tuiDefaultProp()
939
950
  ], TuiHintPositionDirective.prototype, "direction", void 0);
940
951
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPositionDirective, decorators: [{
941
952
  type: i0.Directive,
942
953
  args: [{
943
954
  selector: "[tuiHint]:not([tuiHintCustomPosition])",
944
- providers: [i3.tuiAsPositionAccessor(TuiHintPositionDirective)],
955
+ providers: [i3$1.tuiAsPositionAccessor(TuiHintPositionDirective)],
945
956
  }]
946
957
  }], ctorParameters: function () {
947
958
  return [{ type: undefined, decorators: [{
@@ -952,7 +963,7 @@
952
963
  args: [common$1.WINDOW]
953
964
  }] }, { type: i3__namespace.TuiRectAccessor, decorators: [{
954
965
  type: i0.Inject,
955
- args: [i3.TuiRectAccessor]
966
+ args: [i3$1.TuiRectAccessor]
956
967
  }] }];
957
968
  }, propDecorators: { direction: [{
958
969
  type: i0.Input,