@taiga-ui/core 3.14.0 → 3.15.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 (218) hide show
  1. package/bundles/taiga-ui-core-components-alert.umd.js +11 -11
  2. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-button.umd.js +16 -16
  4. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-calendar.umd.js +23 -10
  6. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-data-list.umd.js +34 -37
  8. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-dialog.umd.js +16 -16
  10. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-error.umd.js +5 -5
  12. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-expand.umd.js +17 -18
  14. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-group.umd.js +17 -17
  16. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-hints-host.umd.js +4 -4
  18. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +13 -13
  20. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-label.umd.js +6 -6
  22. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-link.umd.js +14 -14
  24. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-loader.umd.js +5 -5
  26. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-notification.umd.js +10 -10
  28. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +5 -5
  30. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +5 -5
  32. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +5 -5
  34. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +58 -58
  36. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  37. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +4 -4
  38. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-components-root.umd.js +7 -7
  40. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  41. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +28 -28
  42. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-components-scrollbar.umd.js +10 -10
  44. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-components-svg.umd.js +18 -18
  46. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  47. package/bundles/taiga-ui-core-components-theme-night.umd.js +4 -4
  48. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  49. package/bundles/taiga-ui-core-components-tooltip.umd.js +9 -9
  50. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  51. package/bundles/taiga-ui-core-directives-dropdown.umd.js +94 -91
  52. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  53. package/bundles/taiga-ui-core-directives-hint.umd.js +61 -61
  54. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  55. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +1 -1
  56. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
  57. package/bundles/taiga-ui-core-directives-mode.umd.js +2 -2
  58. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +1 -1
  60. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  61. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +34 -34
  62. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  63. package/bundles/taiga-ui-core-directives-wrapper.umd.js +9 -9
  64. package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
  65. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +3 -3
  66. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  67. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +3 -3
  68. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
  69. package/components/calendar/calendar.component.d.ts +4 -2
  70. package/components/expand/expand.component.d.ts +1 -1
  71. package/directives/dropdown/dropdown-context.directive.d.ts +4 -4
  72. package/directives/dropdown/dropdown-options.directive.d.ts +3 -5
  73. package/directives/dropdown/dropdown-position-sided.directive.d.ts +2 -1
  74. package/directives/dropdown/dropdown.directive.d.ts +1 -1
  75. package/esm2015/components/alert/alert.component.js +12 -12
  76. package/esm2015/components/button/button.component.js +17 -17
  77. package/esm2015/components/calendar/calendar.component.js +21 -12
  78. package/esm2015/components/data-list/data-list.component.js +17 -17
  79. package/esm2015/components/data-list/data-list.directive.js +2 -2
  80. package/esm2015/components/data-list/opt-group.directive.js +5 -5
  81. package/esm2015/components/data-list/option/option.component.js +14 -17
  82. package/esm2015/components/dialog/dialog.component.js +14 -14
  83. package/esm2015/components/dialog/dialog.directive.js +4 -4
  84. package/esm2015/components/error/error.component.js +6 -6
  85. package/esm2015/components/expand/expand-content.directive.js +2 -2
  86. package/esm2015/components/expand/expand.component.js +17 -19
  87. package/esm2015/components/group/group-styles.component.js +4 -4
  88. package/esm2015/components/group/group.directive.js +15 -15
  89. package/esm2015/components/hints-host/hints-host.component.js +5 -5
  90. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +2 -2
  91. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +13 -13
  92. package/esm2015/components/label/label.component.js +7 -7
  93. package/esm2015/components/link/link.component.js +15 -15
  94. package/esm2015/components/loader/loader.component.js +6 -6
  95. package/esm2015/components/notification/notification.component.js +11 -11
  96. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +6 -6
  97. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +6 -6
  98. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +6 -6
  99. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +32 -32
  100. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +2 -2
  101. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +13 -13
  102. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +15 -15
  103. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +5 -5
  104. package/esm2015/components/root/root.component.js +8 -8
  105. package/esm2015/components/scroll-controls/scroll-controls.component.js +6 -6
  106. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +2 -2
  107. package/esm2015/components/scroll-controls/scrollbar.directive.js +23 -23
  108. package/esm2015/components/scrollbar/scroll-ref.directive.js +2 -2
  109. package/esm2015/components/scrollbar/scrollable.directive.js +2 -2
  110. package/esm2015/components/scrollbar/scrollbar.component.js +9 -9
  111. package/esm2015/components/svg/svg.component.js +19 -19
  112. package/esm2015/components/theme-night/theme-night.component.js +5 -5
  113. package/esm2015/components/tooltip/tooltip.component.js +10 -10
  114. package/esm2015/directives/dropdown/dropdown-context.directive.js +16 -16
  115. package/esm2015/directives/dropdown/dropdown-driver.directive.js +2 -2
  116. package/esm2015/directives/dropdown/dropdown-host.directive.js +2 -2
  117. package/esm2015/directives/dropdown/dropdown-hover.directive.js +4 -4
  118. package/esm2015/directives/dropdown/dropdown-manual.directive.js +2 -2
  119. package/esm2015/directives/dropdown/dropdown-options.directive.js +19 -15
  120. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +17 -14
  121. package/esm2015/directives/dropdown/dropdown-position.directive.js +12 -14
  122. package/esm2015/directives/dropdown/dropdown-selection.directive.js +11 -11
  123. package/esm2015/directives/dropdown/dropdown.component.js +18 -20
  124. package/esm2015/directives/dropdown/dropdown.directive.js +7 -7
  125. package/esm2015/directives/hint/hint-describe.directive.js +5 -5
  126. package/esm2015/directives/hint/hint-driver.directive.js +2 -2
  127. package/esm2015/directives/hint/hint-host.directive.js +2 -2
  128. package/esm2015/directives/hint/hint-hover.directive.js +5 -5
  129. package/esm2015/directives/hint/hint-manual.directive.js +2 -2
  130. package/esm2015/directives/hint/hint-options.directive.js +12 -12
  131. package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
  132. package/esm2015/directives/hint/hint-position.directive.js +25 -25
  133. package/esm2015/directives/hint/hint.component.js +10 -10
  134. package/esm2015/directives/hint/hint.directive.js +5 -5
  135. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +2 -2
  136. package/esm2015/directives/mode/mode.directive.js +3 -3
  137. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +2 -2
  138. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +4 -4
  139. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +5 -5
  140. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +5 -5
  141. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +5 -5
  142. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +5 -5
  143. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +4 -4
  144. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +5 -5
  145. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +5 -5
  146. package/esm2015/directives/textfield-controller/textfield-size.directive.js +5 -5
  147. package/esm2015/directives/wrapper/wrapper.directive.js +10 -10
  148. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +4 -4
  149. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +4 -4
  150. package/fesm2015/taiga-ui-core-components-alert.js +11 -11
  151. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
  152. package/fesm2015/taiga-ui-core-components-button.js +16 -16
  153. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  154. package/fesm2015/taiga-ui-core-components-calendar.js +20 -11
  155. package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
  156. package/fesm2015/taiga-ui-core-components-data-list.js +34 -37
  157. package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
  158. package/fesm2015/taiga-ui-core-components-dialog.js +16 -16
  159. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  160. package/fesm2015/taiga-ui-core-components-error.js +5 -5
  161. package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
  162. package/fesm2015/taiga-ui-core-components-expand.js +17 -19
  163. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  164. package/fesm2015/taiga-ui-core-components-group.js +17 -17
  165. package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
  166. package/fesm2015/taiga-ui-core-components-hints-host.js +4 -4
  167. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  168. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +13 -13
  169. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  170. package/fesm2015/taiga-ui-core-components-label.js +6 -6
  171. package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
  172. package/fesm2015/taiga-ui-core-components-link.js +14 -14
  173. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  174. package/fesm2015/taiga-ui-core-components-loader.js +5 -5
  175. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  176. package/fesm2015/taiga-ui-core-components-notification.js +10 -10
  177. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  178. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +5 -5
  179. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  180. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +5 -5
  181. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  182. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +5 -5
  183. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
  184. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +59 -59
  185. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  186. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +4 -4
  187. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  188. package/fesm2015/taiga-ui-core-components-root.js +7 -7
  189. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  190. package/fesm2015/taiga-ui-core-components-scroll-controls.js +28 -28
  191. package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
  192. package/fesm2015/taiga-ui-core-components-scrollbar.js +10 -10
  193. package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
  194. package/fesm2015/taiga-ui-core-components-svg.js +18 -18
  195. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  196. package/fesm2015/taiga-ui-core-components-theme-night.js +4 -4
  197. package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
  198. package/fesm2015/taiga-ui-core-components-tooltip.js +9 -9
  199. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  200. package/fesm2015/taiga-ui-core-directives-dropdown.js +96 -92
  201. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  202. package/fesm2015/taiga-ui-core-directives-hint.js +61 -61
  203. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  204. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +1 -1
  205. package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
  206. package/fesm2015/taiga-ui-core-directives-mode.js +2 -2
  207. package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
  208. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +1 -1
  209. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
  210. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +34 -34
  211. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  212. package/fesm2015/taiga-ui-core-directives-wrapper.js +9 -9
  213. package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
  214. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +3 -3
  215. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
  216. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +3 -3
  217. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
  218. package/package.json +6 -6
@@ -359,13 +359,13 @@
359
359
 
360
360
  /** Default values for hint options */
361
361
  var TUI_HINT_DEFAULT_OPTIONS = {
362
- direction: "bottom-left",
362
+ direction: 'bottom-left',
363
363
  showDelay: 500,
364
364
  hideDelay: 200,
365
- appearance: "",
366
- icon: "tuiIconTooltipLarge",
365
+ appearance: '',
366
+ icon: 'tuiIconTooltipLarge',
367
367
  };
368
- var TUI_HINT_OPTIONS = new i0.InjectionToken("[TUI_HINT_OPTIONS] Default parameters for hint directive", {
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
371
  var tuiHintOptionsProvider = function (override) { return ({
@@ -381,7 +381,7 @@
381
381
  function TuiHintOptionsDirective(options) {
382
382
  var _this = _super.call(this) || this;
383
383
  _this.options = options;
384
- _this.content = "";
384
+ _this.content = '';
385
385
  _this.direction = _this.options.direction;
386
386
  _this.appearance = _this.options.appearance;
387
387
  _this.showDelay = _this.options.showDelay;
@@ -416,7 +416,7 @@
416
416
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintOptionsDirective, decorators: [{
417
417
  type: i0.Directive,
418
418
  args: [{
419
- selector: "[tuiHintContent]",
419
+ selector: '[tuiHintContent]',
420
420
  providers: [
421
421
  {
422
422
  provide: TUI_HINT_OPTIONS,
@@ -433,19 +433,19 @@
433
433
  }] }];
434
434
  }, propDecorators: { content: [{
435
435
  type: i0.Input,
436
- args: ["tuiHintContent"]
436
+ args: ['tuiHintContent']
437
437
  }], direction: [{
438
438
  type: i0.Input,
439
- args: ["tuiHintDirection"]
439
+ args: ['tuiHintDirection']
440
440
  }], appearance: [{
441
441
  type: i0.Input,
442
- args: ["tuiHintAppearance"]
442
+ args: ['tuiHintAppearance']
443
443
  }], showDelay: [{
444
444
  type: i0.Input,
445
- args: ["tuiHintShowDelay"]
445
+ args: ['tuiHintShowDelay']
446
446
  }], hideDelay: [{
447
447
  type: i0.Input,
448
- args: ["tuiHintHideDelay"]
448
+ args: ['tuiHintHideDelay']
449
449
  }] } });
450
450
 
451
451
  var TuiHintHoverDirective = /** @class */ (function (_super) {
@@ -476,7 +476,7 @@
476
476
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHoverDirective, decorators: [{
477
477
  type: i0.Directive,
478
478
  args: [{
479
- selector: "[tuiHint]:not(ng-container)",
479
+ selector: '[tuiHint]:not(ng-container)',
480
480
  providers: [i3$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService],
481
481
  }]
482
482
  }], ctorParameters: function () {
@@ -489,13 +489,13 @@
489
489
  }] }];
490
490
  }, propDecorators: { showDelay: [{
491
491
  type: i0.Input,
492
- args: ["tuiHintShowDelay"]
492
+ args: ['tuiHintShowDelay']
493
493
  }], hideDelay: [{
494
494
  type: i0.Input,
495
- args: ["tuiHintHideDelay"]
495
+ args: ['tuiHintHideDelay']
496
496
  }], toggle: [{
497
497
  type: i0.HostListener,
498
- args: ["click", ["true"]]
498
+ args: ['click', ['true']]
499
499
  }] } });
500
500
 
501
501
  var TuiHintPointerDirective = /** @class */ (function (_super) {
@@ -522,7 +522,7 @@
522
522
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPointerDirective, decorators: [{
523
523
  type: i0.Directive,
524
524
  args: [{
525
- selector: "[tuiHint][tuiHintPointer]",
525
+ selector: '[tuiHint][tuiHintPointer]',
526
526
  providers: [
527
527
  i3$1.tuiAsRectAccessor(TuiHintPointerDirective),
528
528
  i3$1.tuiAsDriver(TuiHintPointerDirective),
@@ -530,7 +530,7 @@
530
530
  }]
531
531
  }], propDecorators: { onMove: [{
532
532
  type: i0.HostListener,
533
- args: ["mousemove.silent", ["$event"]]
533
+ args: ['mousemove.silent', ['$event']]
534
534
  }] } });
535
535
 
536
536
  var TuiHintComponent = /** @class */ (function () {
@@ -544,7 +544,7 @@
544
544
  this.hover = hover;
545
545
  this.pointer = pointer;
546
546
  this.mode = mode;
547
- this.animation = Object.assign({ value: "" }, this.options);
547
+ this.animation = Object.assign({ value: '' }, this.options);
548
548
  this.appearance = this.polymorpheus.$implicit.appearance || ((_a = this.mode) === null || _a === void 0 ? void 0 : _a.mode);
549
549
  this.untouchable = !!this.pointer;
550
550
  position$.pipe(operators.takeUntil(destroy$)).subscribe(function (_b) {
@@ -582,8 +582,8 @@
582
582
  var beakLeft = rect.left + rect.width / 2 - safeLeft;
583
583
  style.top = i3.tuiPx(top);
584
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)));
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)));
587
587
  };
588
588
  return TuiHintComponent;
589
589
  }());
@@ -595,9 +595,9 @@
595
595
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintComponent, decorators: [{
596
596
  type: i0.Component,
597
597
  args: [{
598
- selector: "tui-hint",
598
+ selector: 'tui-hint',
599
599
  template: "\n <ng-container *polymorpheusOutlet=\"content as text; context: context\">\n {{ text }}\n </ng-container>\n ",
600
- styleUrls: ["./hint.style.less"],
600
+ styleUrls: ['./hint.style.less'],
601
601
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
602
602
  providers: [i3.TuiDestroyService, i2$1.TuiPositionService, i3.TuiHoveredService],
603
603
  animations: [animations.tuiFadeIn],
@@ -642,16 +642,16 @@
642
642
  }] }];
643
643
  }, propDecorators: { animation: [{
644
644
  type: i0.HostBinding,
645
- args: ["@tuiFadeIn"]
645
+ args: ['@tuiFadeIn']
646
646
  }], appearance: [{
647
647
  type: i0.HostBinding,
648
- args: ["attr.data-appearance"]
648
+ args: ['attr.data-appearance']
649
649
  }], untouchable: [{
650
650
  type: i0.HostBinding,
651
- args: ["class._untouchable"]
651
+ args: ['class._untouchable']
652
652
  }], onClick: [{
653
653
  type: i0.HostListener,
654
- args: ["document:click", ["$event.target"]]
654
+ args: ['document:click', ['$event.target']]
655
655
  }], update: [] } });
656
656
 
657
657
  var TUI_HINT_COMPONENT = new i0.InjectionToken("[TUI_HINT_COMPONENT] A component to display a hint", {
@@ -665,7 +665,7 @@
665
665
  this.hintService = hintService;
666
666
  this.options = options;
667
667
  this.activeZone = activeZone;
668
- this.content = "";
668
+ this.content = '';
669
669
  this.tuiHintAppearance = null;
670
670
  }
671
671
  Object.defineProperty(TuiHintDirective.prototype, "appearance", {
@@ -716,7 +716,7 @@
716
716
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDirective, decorators: [{
717
717
  type: i0.Directive,
718
718
  args: [{
719
- selector: "[tuiHint]:not(ng-container)",
719
+ selector: '[tuiHint]:not(ng-container)',
720
720
  providers: [
721
721
  i3$1.tuiAsRectAccessor(TuiHintDirective),
722
722
  i3$1.tuiAsVehicle(TuiHintDirective),
@@ -748,10 +748,10 @@
748
748
  }] }];
749
749
  }, propDecorators: { content: [{
750
750
  type: i0.Input,
751
- args: ["tuiHint"]
751
+ args: ['tuiHint']
752
752
  }], context: [{
753
753
  type: i0.Input,
754
- args: ["tuiHintContext"]
754
+ args: ['tuiHintContext']
755
755
  }], tuiHintAppearance: [{
756
756
  type: i0.Input
757
757
  }] } });
@@ -764,13 +764,13 @@
764
764
  _this.hover$ = hover$;
765
765
  _this.documentRef = documentRef;
766
766
  _this.elementRef = elementRef;
767
- _this.focus$ = i3.tuiTypedFromEvent(_this.documentRef, "keydown", {
767
+ _this.focus$ = i3.tuiTypedFromEvent(_this.documentRef, 'keydown', {
768
768
  capture: true,
769
769
  }).pipe(operators.switchMap(function () { return _this.focused
770
770
  ? i2.of(false)
771
- : 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));
771
+ : 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));
772
772
  _this.stream$ = i2.merge(_this.hover$, _this.focus$);
773
- _this.tuiHintDescribe = "";
773
+ _this.tuiHintDescribe = '';
774
774
  return _this;
775
775
  }
776
776
  Object.defineProperty(TuiHintDescribeDirective.prototype, "focused", {
@@ -798,7 +798,7 @@
798
798
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDescribeDirective, decorators: [{
799
799
  type: i0.Directive,
800
800
  args: [{
801
- selector: "[tuiHintDescribe]",
801
+ selector: '[tuiHintDescribe]',
802
802
  providers: [i3$1.tuiAsDriver(TuiHintDescribeDirective)],
803
803
  }]
804
804
  }], ctorParameters: function () {
@@ -831,7 +831,7 @@
831
831
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintDriverDirective, decorators: [{
832
832
  type: i0.Directive,
833
833
  args: [{
834
- selector: "[tuiHint]",
834
+ selector: '[tuiHint]',
835
835
  providers: [i3.TuiDestroyService],
836
836
  }]
837
837
  }] });
@@ -852,7 +852,7 @@
852
852
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintHostDirective, decorators: [{
853
853
  type: i0.Directive,
854
854
  args: [{
855
- selector: "[tuiHint][tuiHintHost]",
855
+ selector: '[tuiHint][tuiHintHost]',
856
856
  providers: [i3$1.tuiAsRectAccessor(TuiHintHostDirective)],
857
857
  }]
858
858
  }], propDecorators: { tuiHintHost: [{
@@ -877,7 +877,7 @@
877
877
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintManualDirective, decorators: [{
878
878
  type: i0.Directive,
879
879
  args: [{
880
- selector: "[tuiHint][tuiHintManual]",
880
+ selector: '[tuiHint][tuiHintManual]',
881
881
  providers: [i3$1.tuiAsDriver(TuiHintManualDirective)],
882
882
  }]
883
883
  }], ctorParameters: function () { return []; }, propDecorators: { tuiHintManual: [{
@@ -906,30 +906,30 @@
906
906
  var hostRect = this.accessor.getClientRect();
907
907
  var leftCenter = hostRect.left + hostRect.width / 2;
908
908
  var topCenter = hostRect.top + hostRect.height / 2;
909
- this.points["top-left"][TOP] = hostRect.top - height - OFFSET;
910
- this.points["top-left"][LEFT] = leftCenter - width + ARROW_OFFSET;
911
- this.points.top[TOP] = this.points["top-left"][TOP];
909
+ this.points['top-left'][TOP] = hostRect.top - height - OFFSET;
910
+ this.points['top-left'][LEFT] = leftCenter - width + ARROW_OFFSET;
911
+ this.points.top[TOP] = this.points['top-left'][TOP];
912
912
  this.points.top[LEFT] = leftCenter - width / 2;
913
- this.points["top-right"][TOP] = this.points["top-left"][TOP];
914
- this.points["top-right"][LEFT] = leftCenter - ARROW_OFFSET;
915
- this.points["bottom-left"][TOP] = hostRect.bottom + OFFSET;
916
- this.points["bottom-left"][LEFT] = this.points["top-left"][LEFT];
917
- this.points.bottom[TOP] = this.points["bottom-left"][TOP];
913
+ this.points['top-right'][TOP] = this.points['top-left'][TOP];
914
+ this.points['top-right'][LEFT] = leftCenter - ARROW_OFFSET;
915
+ this.points['bottom-left'][TOP] = hostRect.bottom + OFFSET;
916
+ this.points['bottom-left'][LEFT] = this.points['top-left'][LEFT];
917
+ this.points.bottom[TOP] = this.points['bottom-left'][TOP];
918
918
  this.points.bottom[LEFT] = this.points.top[LEFT];
919
- this.points["bottom-right"][TOP] = this.points["bottom-left"][TOP];
920
- this.points["bottom-right"][LEFT] = this.points["top-right"][LEFT];
921
- this.points["left-top"][TOP] = topCenter - height + ARROW_OFFSET;
922
- this.points["left-top"][LEFT] = hostRect.left - width - OFFSET;
919
+ this.points['bottom-right'][TOP] = this.points['bottom-left'][TOP];
920
+ this.points['bottom-right'][LEFT] = this.points['top-right'][LEFT];
921
+ this.points['left-top'][TOP] = topCenter - height + ARROW_OFFSET;
922
+ this.points['left-top'][LEFT] = hostRect.left - width - OFFSET;
923
923
  this.points.left[TOP] = topCenter - height / 2;
924
- this.points.left[LEFT] = this.points["left-top"][LEFT];
925
- this.points["left-bottom"][TOP] = topCenter - ARROW_OFFSET;
926
- this.points["left-bottom"][LEFT] = this.points["left-top"][LEFT];
927
- this.points["right-top"][TOP] = this.points["left-top"][TOP];
928
- this.points["right-top"][LEFT] = hostRect.right + OFFSET;
924
+ this.points.left[LEFT] = this.points['left-top'][LEFT];
925
+ this.points['left-bottom'][TOP] = topCenter - ARROW_OFFSET;
926
+ this.points['left-bottom'][LEFT] = this.points['left-top'][LEFT];
927
+ this.points['right-top'][TOP] = this.points['left-top'][TOP];
928
+ this.points['right-top'][LEFT] = hostRect.right + OFFSET;
929
929
  this.points.right[TOP] = this.points.left[TOP];
930
- this.points.right[LEFT] = this.points["right-top"][LEFT];
931
- this.points["right-bottom"][TOP] = this.points["left-bottom"][TOP];
932
- this.points["right-bottom"][LEFT] = this.points["right-top"][LEFT];
930
+ this.points.right[LEFT] = this.points['right-top'][LEFT];
931
+ this.points['right-bottom'][TOP] = this.points['left-bottom'][TOP];
932
+ this.points['right-bottom'][LEFT] = this.points['right-top'][LEFT];
933
933
  if (this.checkPosition(this.points[this.direction], width, height)) {
934
934
  return this.points[this.direction];
935
935
  }
@@ -939,8 +939,8 @@
939
939
  Object.defineProperty(TuiHintPositionDirective.prototype, "fallback", {
940
940
  get: function () {
941
941
  return this.points.top[TOP] > this.windowRef.innerHeight - this.points.bottom[TOP]
942
- ? "top"
943
- : "bottom";
942
+ ? 'top'
943
+ : 'bottom';
944
944
  },
945
945
  enumerable: false,
946
946
  configurable: true
@@ -963,7 +963,7 @@
963
963
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiHintPositionDirective, decorators: [{
964
964
  type: i0.Directive,
965
965
  args: [{
966
- selector: "[tuiHint]:not([tuiHintCustomPosition])",
966
+ selector: '[tuiHint]:not([tuiHintCustomPosition])',
967
967
  providers: [i3$1.tuiAsPositionAccessor(TuiHintPositionDirective)],
968
968
  }]
969
969
  }], ctorParameters: function () {
@@ -979,7 +979,7 @@
979
979
  }] }];
980
980
  }, propDecorators: { direction: [{
981
981
  type: i0.Input,
982
- args: ["tuiHintDirection"]
982
+ args: ['tuiHintDirection']
983
983
  }] } });
984
984
 
985
985
  var TuiHintModule = /** @class */ (function () {