@radix-ng/primitives 0.50.0 → 0.51.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 (149) hide show
  1. package/collection/README.md +1 -0
  2. package/fesm2022/radix-ng-primitives-accordion.mjs +41 -40
  3. package/fesm2022/radix-ng-primitives-accordion.mjs.map +1 -1
  4. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
  5. package/fesm2022/radix-ng-primitives-alert-dialog.mjs.map +1 -1
  6. package/fesm2022/radix-ng-primitives-arrow.mjs +6 -6
  7. package/fesm2022/radix-ng-primitives-arrow.mjs.map +1 -1
  8. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +6 -6
  9. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs.map +1 -1
  10. package/fesm2022/radix-ng-primitives-avatar.mjs +22 -22
  11. package/fesm2022/radix-ng-primitives-avatar.mjs.map +1 -1
  12. package/fesm2022/radix-ng-primitives-calendar.mjs +104 -103
  13. package/fesm2022/radix-ng-primitives-calendar.mjs.map +1 -1
  14. package/fesm2022/radix-ng-primitives-checkbox.mjs +51 -41
  15. package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
  16. package/fesm2022/radix-ng-primitives-collapsible.mjs +28 -28
  17. package/fesm2022/radix-ng-primitives-collapsible.mjs.map +1 -1
  18. package/fesm2022/radix-ng-primitives-collection.mjs +89 -0
  19. package/fesm2022/radix-ng-primitives-collection.mjs.map +1 -0
  20. package/fesm2022/radix-ng-primitives-config.mjs +5 -5
  21. package/fesm2022/radix-ng-primitives-config.mjs.map +1 -1
  22. package/fesm2022/radix-ng-primitives-context-menu.mjs +36 -36
  23. package/fesm2022/radix-ng-primitives-context-menu.mjs.map +1 -1
  24. package/fesm2022/radix-ng-primitives-core.mjs +33 -24
  25. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  26. package/fesm2022/radix-ng-primitives-cropper.mjs +54 -53
  27. package/fesm2022/radix-ng-primitives-cropper.mjs.map +1 -1
  28. package/fesm2022/radix-ng-primitives-date-field.mjs +48 -47
  29. package/fesm2022/radix-ng-primitives-date-field.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-dialog.mjs +34 -34
  31. package/fesm2022/radix-ng-primitives-dialog.mjs.map +1 -1
  32. package/fesm2022/radix-ng-primitives-dismissable-layer.mjs +31 -33
  33. package/fesm2022/radix-ng-primitives-dismissable-layer.mjs.map +1 -1
  34. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +41 -43
  35. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs.map +1 -1
  36. package/fesm2022/radix-ng-primitives-editable.mjs +20 -20
  37. package/fesm2022/radix-ng-primitives-editable.mjs.map +1 -1
  38. package/fesm2022/radix-ng-primitives-focus-guards.mjs +3 -3
  39. package/fesm2022/radix-ng-primitives-focus-guards.mjs.map +1 -1
  40. package/fesm2022/radix-ng-primitives-focus-scope.mjs +7 -7
  41. package/fesm2022/radix-ng-primitives-focus-scope.mjs.map +1 -1
  42. package/fesm2022/radix-ng-primitives-hover-card.mjs +69 -77
  43. package/fesm2022/radix-ng-primitives-hover-card.mjs.map +1 -1
  44. package/fesm2022/radix-ng-primitives-label.mjs +7 -7
  45. package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
  46. package/fesm2022/radix-ng-primitives-menu.mjs +65 -70
  47. package/fesm2022/radix-ng-primitives-menu.mjs.map +1 -1
  48. package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
  49. package/fesm2022/radix-ng-primitives-menubar.mjs.map +1 -1
  50. package/fesm2022/radix-ng-primitives-navigation-menu.mjs +113 -105
  51. package/fesm2022/radix-ng-primitives-navigation-menu.mjs.map +1 -1
  52. package/fesm2022/radix-ng-primitives-number-field.mjs +48 -47
  53. package/fesm2022/radix-ng-primitives-number-field.mjs.map +1 -1
  54. package/fesm2022/radix-ng-primitives-pagination.mjs +51 -51
  55. package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
  56. package/fesm2022/radix-ng-primitives-popover.mjs +67 -71
  57. package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
  58. package/fesm2022/radix-ng-primitives-popper.mjs +61 -56
  59. package/fesm2022/radix-ng-primitives-popper.mjs.map +1 -1
  60. package/fesm2022/radix-ng-primitives-portal.mjs +7 -7
  61. package/fesm2022/radix-ng-primitives-portal.mjs.map +1 -1
  62. package/fesm2022/radix-ng-primitives-presence.mjs +4 -4
  63. package/fesm2022/radix-ng-primitives-presence.mjs.map +1 -1
  64. package/fesm2022/radix-ng-primitives-progress.mjs +16 -16
  65. package/fesm2022/radix-ng-primitives-progress.mjs.map +1 -1
  66. package/fesm2022/radix-ng-primitives-radio.mjs +38 -37
  67. package/fesm2022/radix-ng-primitives-radio.mjs.map +1 -1
  68. package/fesm2022/radix-ng-primitives-roving-focus.mjs +38 -34
  69. package/fesm2022/radix-ng-primitives-roving-focus.mjs.map +1 -1
  70. package/fesm2022/radix-ng-primitives-select.mjs +41 -43
  71. package/fesm2022/radix-ng-primitives-select.mjs.map +1 -1
  72. package/fesm2022/radix-ng-primitives-select2.mjs +897 -0
  73. package/fesm2022/radix-ng-primitives-select2.mjs.map +1 -0
  74. package/fesm2022/radix-ng-primitives-separator.mjs +11 -17
  75. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  76. package/fesm2022/radix-ng-primitives-slider.mjs +88 -84
  77. package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -1
  78. package/fesm2022/radix-ng-primitives-stepper.mjs +55 -53
  79. package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -1
  80. package/fesm2022/radix-ng-primitives-switch.mjs +22 -30
  81. package/fesm2022/radix-ng-primitives-switch.mjs.map +1 -1
  82. package/fesm2022/radix-ng-primitives-tabs.mjs +38 -38
  83. package/fesm2022/radix-ng-primitives-tabs.mjs.map +1 -1
  84. package/fesm2022/radix-ng-primitives-time-field.mjs +63 -78
  85. package/fesm2022/radix-ng-primitives-time-field.mjs.map +1 -1
  86. package/fesm2022/radix-ng-primitives-toggle-group.mjs +24 -24
  87. package/fesm2022/radix-ng-primitives-toggle-group.mjs.map +1 -1
  88. package/fesm2022/radix-ng-primitives-toggle.mjs +11 -11
  89. package/fesm2022/radix-ng-primitives-toggle.mjs.map +1 -1
  90. package/fesm2022/radix-ng-primitives-toolbar.mjs +31 -29
  91. package/fesm2022/radix-ng-primitives-toolbar.mjs.map +1 -1
  92. package/fesm2022/radix-ng-primitives-tooltip.mjs +69 -77
  93. package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
  94. package/fesm2022/radix-ng-primitives-tooltip2.mjs +57 -62
  95. package/fesm2022/radix-ng-primitives-tooltip2.mjs.map +1 -1
  96. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +31 -31
  97. package/fesm2022/radix-ng-primitives-visually-hidden.mjs.map +1 -1
  98. package/fesm2022/radix-ng-primitives.mjs.map +1 -1
  99. package/package.json +63 -54
  100. package/select2/README.md +3 -0
  101. package/{accordion/index.d.ts → types/radix-ng-primitives-accordion.d.ts} +61 -60
  102. package/{calendar/index.d.ts → types/radix-ng-primitives-calendar.d.ts} +1 -1
  103. package/{checkbox/index.d.ts → types/radix-ng-primitives-checkbox.d.ts} +31 -27
  104. package/{collapsible/index.d.ts → types/radix-ng-primitives-collapsible.d.ts} +20 -19
  105. package/types/radix-ng-primitives-collection.d.ts +40 -0
  106. package/{core/index.d.ts → types/radix-ng-primitives-core.d.ts} +6 -2
  107. package/{cropper/index.d.ts → types/radix-ng-primitives-cropper.d.ts} +4 -3
  108. package/{date-field/index.d.ts → types/radix-ng-primitives-date-field.d.ts} +4 -4
  109. package/{dialog/index.d.ts → types/radix-ng-primitives-dialog.d.ts} +2 -1
  110. package/{hover-card/index.d.ts → types/radix-ng-primitives-hover-card.d.ts} +3 -4
  111. package/{menu/index.d.ts → types/radix-ng-primitives-menu.d.ts} +1 -1
  112. package/{navigation-menu/index.d.ts → types/radix-ng-primitives-navigation-menu.d.ts} +47 -46
  113. package/{number-field/index.d.ts → types/radix-ng-primitives-number-field.d.ts} +13 -12
  114. package/{popover/index.d.ts → types/radix-ng-primitives-popover.d.ts} +3 -4
  115. package/{popper/index.d.ts → types/radix-ng-primitives-popper.d.ts} +1 -0
  116. package/{progress/index.d.ts → types/radix-ng-primitives-progress.d.ts} +2 -1
  117. package/{radio/index.d.ts → types/radix-ng-primitives-radio.d.ts} +1 -1
  118. package/{roving-focus/index.d.ts → types/radix-ng-primitives-roving-focus.d.ts} +8 -6
  119. package/types/radix-ng-primitives-select2.d.ts +511 -0
  120. package/{slider/index.d.ts → types/radix-ng-primitives-slider.d.ts} +4 -4
  121. package/{stepper/index.d.ts → types/radix-ng-primitives-stepper.d.ts} +17 -16
  122. package/{switch/index.d.ts → types/radix-ng-primitives-switch.d.ts} +3 -2
  123. package/{tabs/index.d.ts → types/radix-ng-primitives-tabs.d.ts} +7 -6
  124. package/{time-field/index.d.ts → types/radix-ng-primitives-time-field.d.ts} +4 -4
  125. package/{toggle-group/index.d.ts → types/radix-ng-primitives-toggle-group.d.ts} +12 -11
  126. package/{tooltip/index.d.ts → types/radix-ng-primitives-tooltip.d.ts} +3 -4
  127. package/{tooltip2/index.d.ts → types/radix-ng-primitives-tooltip2.d.ts} +4 -4
  128. /package/{alert-dialog/index.d.ts → types/radix-ng-primitives-alert-dialog.d.ts} +0 -0
  129. /package/{arrow/index.d.ts → types/radix-ng-primitives-arrow.d.ts} +0 -0
  130. /package/{aspect-ratio/index.d.ts → types/radix-ng-primitives-aspect-ratio.d.ts} +0 -0
  131. /package/{avatar/index.d.ts → types/radix-ng-primitives-avatar.d.ts} +0 -0
  132. /package/{config/index.d.ts → types/radix-ng-primitives-config.d.ts} +0 -0
  133. /package/{context-menu/index.d.ts → types/radix-ng-primitives-context-menu.d.ts} +0 -0
  134. /package/{dismissable-layer/index.d.ts → types/radix-ng-primitives-dismissable-layer.d.ts} +0 -0
  135. /package/{dropdown-menu/index.d.ts → types/radix-ng-primitives-dropdown-menu.d.ts} +0 -0
  136. /package/{editable/index.d.ts → types/radix-ng-primitives-editable.d.ts} +0 -0
  137. /package/{focus-guards/index.d.ts → types/radix-ng-primitives-focus-guards.d.ts} +0 -0
  138. /package/{focus-scope/index.d.ts → types/radix-ng-primitives-focus-scope.d.ts} +0 -0
  139. /package/{label/index.d.ts → types/radix-ng-primitives-label.d.ts} +0 -0
  140. /package/{menubar/index.d.ts → types/radix-ng-primitives-menubar.d.ts} +0 -0
  141. /package/{pagination/index.d.ts → types/radix-ng-primitives-pagination.d.ts} +0 -0
  142. /package/{portal/index.d.ts → types/radix-ng-primitives-portal.d.ts} +0 -0
  143. /package/{presence/index.d.ts → types/radix-ng-primitives-presence.d.ts} +0 -0
  144. /package/{select/index.d.ts → types/radix-ng-primitives-select.d.ts} +0 -0
  145. /package/{separator/index.d.ts → types/radix-ng-primitives-separator.d.ts} +0 -0
  146. /package/{toggle/index.d.ts → types/radix-ng-primitives-toggle.d.ts} +0 -0
  147. /package/{toolbar/index.d.ts → types/radix-ng-primitives-toolbar.d.ts} +0 -0
  148. /package/{visually-hidden/index.d.ts → types/radix-ng-primitives-visually-hidden.d.ts} +0 -0
  149. /package/{index.d.ts → types/radix-ng-primitives.d.ts} +0 -0
@@ -50,40 +50,36 @@ class RdxTooltipContentDirective {
50
50
  /** @ignore */
51
51
  this.connectedOverlay = inject(CdkConnectedOverlay);
52
52
  /** @ignore */
53
- this.name = computed(() => `rdx-tooltip-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
53
+ this.name = computed(() => `rdx-tooltip-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
54
54
  /**
55
55
  * @description The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.
56
56
  * @default top
57
57
  */
58
- this.side = input(RdxPositionSide.Top, ...(ngDevMode ? [{ debugName: "side" }] : []));
58
+ this.side = input(RdxPositionSide.Top, ...(ngDevMode ? [{ debugName: "side" }] : /* istanbul ignore next */ []));
59
59
  /**
60
60
  * @description The distance in pixels from the trigger.
61
61
  * @default undefined
62
62
  */
63
- this.sideOffset = input(NaN, ...(ngDevMode ? [{ debugName: "sideOffset", transform: numberAttribute }] : [{
64
- transform: numberAttribute
65
- }]));
63
+ this.sideOffset = input(NaN, { ...(ngDevMode ? { debugName: "sideOffset" } : /* istanbul ignore next */ {}), transform: numberAttribute });
66
64
  /**
67
65
  * @description The preferred alignment against the trigger. May change when collisions occur.
68
66
  * @default center
69
67
  */
70
- this.align = input(RdxPositionAlign.Center, ...(ngDevMode ? [{ debugName: "align" }] : []));
68
+ this.align = input(RdxPositionAlign.Center, ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
71
69
  /**
72
70
  * @description An offset in pixels from the "start" or "end" alignment options.
73
71
  * @default undefined
74
72
  */
75
- this.alignOffset = input(NaN, ...(ngDevMode ? [{ debugName: "alignOffset", transform: numberAttribute }] : [{
76
- transform: numberAttribute
77
- }]));
73
+ this.alignOffset = input(NaN, { ...(ngDevMode ? { debugName: "alignOffset" } : /* istanbul ignore next */ {}), transform: numberAttribute });
78
74
  /**
79
75
  * @description Whether to add some alternate positions of the content.
80
76
  * @default false
81
77
  */
82
- this.alternatePositionsDisabled = input(false, ...(ngDevMode ? [{ debugName: "alternatePositionsDisabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
78
+ this.alternatePositionsDisabled = input(false, { ...(ngDevMode ? { debugName: "alternatePositionsDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
83
79
  /** @description Whether to prevent `onOverlayEscapeKeyDown` handler from calling. */
84
- this.onOverlayEscapeKeyDownDisabled = input(false, ...(ngDevMode ? [{ debugName: "onOverlayEscapeKeyDownDisabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
80
+ this.onOverlayEscapeKeyDownDisabled = input(false, { ...(ngDevMode ? { debugName: "onOverlayEscapeKeyDownDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
85
81
  /** @description Whether to prevent `onOverlayOutsideClick` handler from calling. */
86
- this.onOverlayOutsideClickDisabled = input(false, ...(ngDevMode ? [{ debugName: "onOverlayOutsideClickDisabled", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
82
+ this.onOverlayOutsideClickDisabled = input(false, { ...(ngDevMode ? { debugName: "onOverlayOutsideClickDisabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
87
83
  /**
88
84
  * @description Event handler called when the escape key is down.
89
85
  * It can be prevented by setting `onOverlayEscapeKeyDownDisabled` input to `true`.
@@ -103,7 +99,7 @@ class RdxTooltipContentDirective {
103
99
  */
104
100
  this.onClosed = output();
105
101
  /** @ingore */
106
- this.positions = computed(() => this.computePositions(), ...(ngDevMode ? [{ debugName: "positions" }] : []));
102
+ this.positions = computed(() => this.computePositions(), ...(ngDevMode ? [{ debugName: "positions" }] : /* istanbul ignore next */ []));
107
103
  this.onOriginChangeEffect();
108
104
  this.onPositionChangeEffect();
109
105
  }
@@ -287,16 +283,16 @@ class RdxTooltipContentDirective {
287
283
  [input]: new SimpleChange(previousValue, currentValue, firstChange)
288
284
  });
289
285
  }
290
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
291
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.3", type: RdxTooltipContentDirective, isStandalone: true, selector: "[rdxTooltipContent]", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, sideOffset: { classPropertyName: "sideOffset", publicName: "sideOffset", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignOffset: { classPropertyName: "alignOffset", publicName: "alignOffset", isSignal: true, isRequired: false, transformFunction: null }, alternatePositionsDisabled: { classPropertyName: "alternatePositionsDisabled", publicName: "alternatePositionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayEscapeKeyDownDisabled: { classPropertyName: "onOverlayEscapeKeyDownDisabled", publicName: "onOverlayEscapeKeyDownDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayOutsideClickDisabled: { classPropertyName: "onOverlayOutsideClickDisabled", publicName: "onOverlayOutsideClickDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onOverlayEscapeKeyDown: "onOverlayEscapeKeyDown", onOverlayOutsideClick: "onOverlayOutsideClick", onOpen: "onOpen", onClosed: "onClosed" }, hostDirectives: [{ directive: i1.CdkConnectedOverlay }], ngImport: i0 }); }
286
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
287
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: RdxTooltipContentDirective, isStandalone: true, selector: "[rdxTooltipContent]", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, sideOffset: { classPropertyName: "sideOffset", publicName: "sideOffset", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignOffset: { classPropertyName: "alignOffset", publicName: "alignOffset", isSignal: true, isRequired: false, transformFunction: null }, alternatePositionsDisabled: { classPropertyName: "alternatePositionsDisabled", publicName: "alternatePositionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayEscapeKeyDownDisabled: { classPropertyName: "onOverlayEscapeKeyDownDisabled", publicName: "onOverlayEscapeKeyDownDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayOutsideClickDisabled: { classPropertyName: "onOverlayOutsideClickDisabled", publicName: "onOverlayOutsideClickDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onOverlayEscapeKeyDown: "onOverlayEscapeKeyDown", onOverlayOutsideClick: "onOverlayOutsideClick", onOpen: "onOpen", onClosed: "onClosed" }, hostDirectives: [{ directive: i1.CdkConnectedOverlay }], ngImport: i0 }); }
292
288
  }
293
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipContentDirective, decorators: [{
289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipContentDirective, decorators: [{
294
290
  type: Directive,
295
291
  args: [{
296
292
  selector: '[rdxTooltipContent]',
297
293
  hostDirectives: [CdkConnectedOverlay]
298
294
  }]
299
- }], ctorParameters: () => [] });
295
+ }], ctorParameters: () => [], propDecorators: { side: [{ type: i0.Input, args: [{ isSignal: true, alias: "side", required: false }] }], sideOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "sideOffset", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], alignOffset: [{ type: i0.Input, args: [{ isSignal: true, alias: "alignOffset", required: false }] }], alternatePositionsDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "alternatePositionsDisabled", required: false }] }], onOverlayEscapeKeyDownDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "onOverlayEscapeKeyDownDisabled", required: false }] }], onOverlayOutsideClickDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "onOverlayOutsideClickDisabled", required: false }] }], onOverlayEscapeKeyDown: [{ type: i0.Output, args: ["onOverlayEscapeKeyDown"] }], onOverlayOutsideClick: [{ type: i0.Output, args: ["onOverlayOutsideClick"] }], onOpen: [{ type: i0.Output, args: ["onOpen"] }], onClosed: [{ type: i0.Output, args: ["onClosed"] }] } });
300
296
 
301
297
  class RdxTooltipTriggerDirective {
302
298
  constructor() {
@@ -307,7 +303,7 @@ class RdxTooltipTriggerDirective {
307
303
  /** @ignore */
308
304
  this.overlayOrigin = inject(CdkOverlayOrigin);
309
305
  /** @ignore */
310
- this.name = computed(() => `rdx-tooltip-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
306
+ this.name = computed(() => `rdx-tooltip-trigger-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
311
307
  }
312
308
  /** @ignore */
313
309
  pointerenter() {
@@ -329,10 +325,10 @@ class RdxTooltipTriggerDirective {
329
325
  click() {
330
326
  this.rootDirective.handleClose();
331
327
  }
332
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
333
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: RdxTooltipTriggerDirective, isStandalone: true, selector: "[rdxTooltipTrigger]", host: { attributes: { "type": "button" }, listeners: { "pointerenter": "pointerenter()", "pointerleave": "pointerleave()", "focus": "focus()", "blur": "blur()", "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"", "attr.aria-expanded": "rootDirective.isOpen()", "attr.aria-controls": "rootDirective.contentDirective().name()", "attr.data-state": "rootDirective.state()" } }, hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
328
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
329
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxTooltipTriggerDirective, isStandalone: true, selector: "[rdxTooltipTrigger]", host: { attributes: { "type": "button" }, listeners: { "pointerenter": "pointerenter()", "pointerleave": "pointerleave()", "focus": "focus()", "blur": "blur()", "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"", "attr.aria-expanded": "rootDirective.isOpen()", "attr.aria-controls": "rootDirective.contentDirective().name()", "attr.data-state": "rootDirective.state()" } }, hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
334
330
  }
335
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipTriggerDirective, decorators: [{
331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipTriggerDirective, decorators: [{
336
332
  type: Directive,
337
333
  args: [{
338
334
  selector: '[rdxTooltipTrigger]',
@@ -471,10 +467,10 @@ class RdxCdkEventService {
471
467
  }
472
468
  this.onDestroyCallbacks.add(destroyClickDomRootEventListener);
473
469
  }
474
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxCdkEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
475
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxCdkEventService }); }
470
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxCdkEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
471
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxCdkEventService }); }
476
472
  }
477
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxCdkEventService, decorators: [{
473
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxCdkEventService, decorators: [{
478
474
  type: Injectable
479
475
  }], ctorParameters: () => [] });
480
476
  const RdxCdkEventServiceToken = new InjectionToken('RdxCdkEventServiceToken');
@@ -507,70 +503,66 @@ let nextId = 0;
507
503
  class RdxTooltipRootDirective {
508
504
  constructor() {
509
505
  /** @ignore */
510
- this.uniqueId = signal(++nextId, ...(ngDevMode ? [{ debugName: "uniqueId" }] : []));
506
+ this.uniqueId = signal(++nextId, ...(ngDevMode ? [{ debugName: "uniqueId" }] : /* istanbul ignore next */ []));
511
507
  /** @ignore */
512
- this.name = computed(() => `rdx-tooltip-root-${this.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
508
+ this.name = computed(() => `rdx-tooltip-root-${this.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
513
509
  /**
514
510
  * @description The anchor directive that comes form outside the tooltip rootDirective
515
511
  * @default undefined
516
512
  */
517
- this.anchor = input(void 0, ...(ngDevMode ? [{ debugName: "anchor" }] : []));
513
+ this.anchor = input(void 0, ...(ngDevMode ? [{ debugName: "anchor" }] : /* istanbul ignore next */ []));
518
514
  /**
519
515
  * @description The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state.
520
516
  * @default false
521
517
  */
522
- this.defaultOpen = input(false, ...(ngDevMode ? [{ debugName: "defaultOpen", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
518
+ this.defaultOpen = input(false, { ...(ngDevMode ? { debugName: "defaultOpen" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
523
519
  /**
524
520
  * @description The controlled state of the tooltip. `open` input take precedence of `defaultOpen` input.
525
521
  * @default undefined
526
522
  */
527
- this.open = input(void 0, ...(ngDevMode ? [{ debugName: "open", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
523
+ this.open = input(void 0, { ...(ngDevMode ? { debugName: "open" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
528
524
  /**
529
525
  * To customise the open delay for a specific tooltip.
530
526
  */
531
- this.openDelay = input(500, ...(ngDevMode ? [{ debugName: "openDelay", transform: numberAttribute }] : [{
532
- transform: numberAttribute
533
- }]));
527
+ this.openDelay = input(500, { ...(ngDevMode ? { debugName: "openDelay" } : /* istanbul ignore next */ {}), transform: numberAttribute });
534
528
  /**
535
529
  * To customise the close delay for a specific tooltip.
536
530
  */
537
- this.closeDelay = input(200, ...(ngDevMode ? [{ debugName: "closeDelay", transform: numberAttribute }] : [{
538
- transform: numberAttribute
539
- }]));
531
+ this.closeDelay = input(200, { ...(ngDevMode ? { debugName: "closeDelay" } : /* istanbul ignore next */ {}), transform: numberAttribute });
540
532
  /**
541
533
  * @description Whether to control the state of the tooltip from external. Use in conjunction with `open` input.
542
534
  * @default undefined
543
535
  */
544
- this.externalControl = input(void 0, ...(ngDevMode ? [{ debugName: "externalControl", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
536
+ this.externalControl = input(void 0, { ...(ngDevMode ? { debugName: "externalControl" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
545
537
  /**
546
538
  * @description Whether to take into account CSS opening/closing animations.
547
539
  * @default false
548
540
  */
549
- this.cssAnimation = input(false, ...(ngDevMode ? [{ debugName: "cssAnimation", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
541
+ this.cssAnimation = input(false, { ...(ngDevMode ? { debugName: "cssAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
550
542
  /**
551
543
  * @description Whether to take into account CSS opening animations. `cssAnimation` input must be set to 'true'
552
544
  * @default false
553
545
  */
554
- this.cssOpeningAnimation = input(false, ...(ngDevMode ? [{ debugName: "cssOpeningAnimation", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
546
+ this.cssOpeningAnimation = input(false, { ...(ngDevMode ? { debugName: "cssOpeningAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
555
547
  /**
556
548
  * @description Whether to take into account CSS closing animations. `cssAnimation` input must be set to 'true'
557
549
  * @default false
558
550
  */
559
- this.cssClosingAnimation = input(false, ...(ngDevMode ? [{ debugName: "cssClosingAnimation", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
551
+ this.cssClosingAnimation = input(false, { ...(ngDevMode ? { debugName: "cssClosingAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
560
552
  /** @ignore */
561
- this.cssAnimationStatus = signal(null, ...(ngDevMode ? [{ debugName: "cssAnimationStatus" }] : []));
553
+ this.cssAnimationStatus = signal(null, ...(ngDevMode ? [{ debugName: "cssAnimationStatus" }] : /* istanbul ignore next */ []));
562
554
  /** @ignore */
563
555
  this.contentDirective = contentChild.required(RdxTooltipContentDirective);
564
556
  /** @ignore */
565
557
  this.triggerDirective = contentChild.required(RdxTooltipTriggerDirective);
566
558
  /** @ignore */
567
- this.arrowDirective = contentChild(RdxTooltipArrowToken, ...(ngDevMode ? [{ debugName: "arrowDirective" }] : []));
559
+ this.arrowDirective = contentChild(RdxTooltipArrowToken, ...(ngDevMode ? [{ debugName: "arrowDirective" }] : /* istanbul ignore next */ []));
568
560
  /** @ignore */
569
- this.closeDirective = contentChild(RdxTooltipCloseToken, ...(ngDevMode ? [{ debugName: "closeDirective" }] : []));
561
+ this.closeDirective = contentChild(RdxTooltipCloseToken, ...(ngDevMode ? [{ debugName: "closeDirective" }] : /* istanbul ignore next */ []));
570
562
  /** @ignore */
571
- this.contentAttributesComponent = contentChild(RdxTooltipContentAttributesToken, ...(ngDevMode ? [{ debugName: "contentAttributesComponent" }] : []));
563
+ this.contentAttributesComponent = contentChild(RdxTooltipContentAttributesToken, ...(ngDevMode ? [{ debugName: "contentAttributesComponent" }] : /* istanbul ignore next */ []));
572
564
  /** @ignore */
573
- this.internalAnchorDirective = contentChild(RdxTooltipAnchorToken, ...(ngDevMode ? [{ debugName: "internalAnchorDirective" }] : []));
565
+ this.internalAnchorDirective = contentChild(RdxTooltipAnchorToken, ...(ngDevMode ? [{ debugName: "internalAnchorDirective" }] : /* istanbul ignore next */ []));
574
566
  /** @ignore */
575
567
  this.viewContainerRef = inject(ViewContainerRef);
576
568
  /** @ignore */
@@ -578,13 +570,13 @@ class RdxTooltipRootDirective {
578
570
  /** @ignore */
579
571
  this.destroyRef = inject(DestroyRef);
580
572
  /** @ignore */
581
- this.state = signal(RdxTooltipState.CLOSED, ...(ngDevMode ? [{ debugName: "state" }] : []));
573
+ this.state = signal(RdxTooltipState.CLOSED, ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
582
574
  /** @ignore */
583
- this.attachDetachEvent = signal(RdxTooltipAttachDetachEvent.DETACH, ...(ngDevMode ? [{ debugName: "attachDetachEvent" }] : []));
575
+ this.attachDetachEvent = signal(RdxTooltipAttachDetachEvent.DETACH, ...(ngDevMode ? [{ debugName: "attachDetachEvent" }] : /* istanbul ignore next */ []));
584
576
  /** @ignore */
585
- this.isFirstDefaultOpen = signal(false, ...(ngDevMode ? [{ debugName: "isFirstDefaultOpen" }] : []));
577
+ this.isFirstDefaultOpen = signal(false, ...(ngDevMode ? [{ debugName: "isFirstDefaultOpen" }] : /* istanbul ignore next */ []));
586
578
  /** @ignore */
587
- this.anchorDirective = computed(() => this.internalAnchorDirective() ?? this.anchor(), ...(ngDevMode ? [{ debugName: "anchorDirective" }] : []));
579
+ this.anchorDirective = computed(() => this.internalAnchorDirective() ?? this.anchor(), ...(ngDevMode ? [{ debugName: "anchorDirective" }] : /* istanbul ignore next */ []));
588
580
  /** @ignore */
589
581
  this.actionSubject$ = new Subject();
590
582
  /** @ignore */
@@ -814,7 +806,7 @@ class RdxTooltipRootDirective {
814
806
  }
815
807
  this.handleOpen();
816
808
  });
817
- }, ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
809
+ }, ...(ngDevMode ? [{ debugName: "effectRef" }] : /* istanbul ignore next */ []));
818
810
  }
819
811
  /** @ignore */
820
812
  actionSubscription() {
@@ -839,16 +831,16 @@ class RdxTooltipRootDirective {
839
831
  }), takeUntilDestroyed())
840
832
  .subscribe();
841
833
  }
842
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
843
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.3", type: RdxTooltipRootDirective, isStandalone: true, selector: "[rdxTooltipRoot]", inputs: { anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, openDelay: { classPropertyName: "openDelay", publicName: "openDelay", isSignal: true, isRequired: false, transformFunction: null }, closeDelay: { classPropertyName: "closeDelay", publicName: "closeDelay", isSignal: true, isRequired: false, transformFunction: null }, externalControl: { classPropertyName: "externalControl", publicName: "externalControl", isSignal: true, isRequired: false, transformFunction: null }, cssAnimation: { classPropertyName: "cssAnimation", publicName: "cssAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssOpeningAnimation: { classPropertyName: "cssOpeningAnimation", publicName: "cssOpeningAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssClosingAnimation: { classPropertyName: "cssClosingAnimation", publicName: "cssClosingAnimation", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "contentDirective", first: true, predicate: RdxTooltipContentDirective, descendants: true, isSignal: true }, { propertyName: "triggerDirective", first: true, predicate: RdxTooltipTriggerDirective, descendants: true, isSignal: true }, { propertyName: "arrowDirective", first: true, predicate: RdxTooltipArrowToken, descendants: true, isSignal: true }, { propertyName: "closeDirective", first: true, predicate: RdxTooltipCloseToken, descendants: true, isSignal: true }, { propertyName: "contentAttributesComponent", first: true, predicate: RdxTooltipContentAttributesToken, descendants: true, isSignal: true }, { propertyName: "internalAnchorDirective", first: true, predicate: RdxTooltipAnchorToken, descendants: true, isSignal: true }], exportAs: ["rdxTooltipRoot"], ngImport: i0 }); }
834
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
835
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.9", type: RdxTooltipRootDirective, isStandalone: true, selector: "[rdxTooltipRoot]", inputs: { anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, openDelay: { classPropertyName: "openDelay", publicName: "openDelay", isSignal: true, isRequired: false, transformFunction: null }, closeDelay: { classPropertyName: "closeDelay", publicName: "closeDelay", isSignal: true, isRequired: false, transformFunction: null }, externalControl: { classPropertyName: "externalControl", publicName: "externalControl", isSignal: true, isRequired: false, transformFunction: null }, cssAnimation: { classPropertyName: "cssAnimation", publicName: "cssAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssOpeningAnimation: { classPropertyName: "cssOpeningAnimation", publicName: "cssOpeningAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssClosingAnimation: { classPropertyName: "cssClosingAnimation", publicName: "cssClosingAnimation", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "contentDirective", first: true, predicate: RdxTooltipContentDirective, descendants: true, isSignal: true }, { propertyName: "triggerDirective", first: true, predicate: RdxTooltipTriggerDirective, descendants: true, isSignal: true }, { propertyName: "arrowDirective", first: true, predicate: RdxTooltipArrowToken, descendants: true, isSignal: true }, { propertyName: "closeDirective", first: true, predicate: RdxTooltipCloseToken, descendants: true, isSignal: true }, { propertyName: "contentAttributesComponent", first: true, predicate: RdxTooltipContentAttributesToken, descendants: true, isSignal: true }, { propertyName: "internalAnchorDirective", first: true, predicate: RdxTooltipAnchorToken, descendants: true, isSignal: true }], exportAs: ["rdxTooltipRoot"], ngImport: i0 }); }
844
836
  }
845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipRootDirective, decorators: [{
837
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipRootDirective, decorators: [{
846
838
  type: Directive,
847
839
  args: [{
848
840
  selector: '[rdxTooltipRoot]',
849
841
  exportAs: 'rdxTooltipRoot'
850
842
  }]
851
- }], ctorParameters: () => [] });
843
+ }], ctorParameters: () => [], propDecorators: { anchor: [{ type: i0.Input, args: [{ isSignal: true, alias: "anchor", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], openDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "openDelay", required: false }] }], closeDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeDelay", required: false }] }], externalControl: [{ type: i0.Input, args: [{ isSignal: true, alias: "externalControl", required: false }] }], cssAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssAnimation", required: false }] }], cssOpeningAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssOpeningAnimation", required: false }] }], cssClosingAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClosingAnimation", required: false }] }], contentDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxTooltipContentDirective), { isSignal: true }] }], triggerDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxTooltipTriggerDirective), { isSignal: true }] }], arrowDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxTooltipArrowToken), { isSignal: true }] }], closeDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxTooltipCloseToken), { isSignal: true }] }], contentAttributesComponent: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxTooltipContentAttributesToken), { isSignal: true }] }], internalAnchorDirective: [{ type: i0.ContentChild, args: [i0.forwardRef(() => RdxTooltipAnchorToken), { isSignal: true }] }] } });
852
844
 
853
845
  function injectTooltipRoot(optional = false) {
854
846
  isDevMode() && assertInInjectionContext(injectTooltipRoot);
@@ -870,7 +862,7 @@ class RdxTooltipAnchorDirective {
870
862
  /** @ignore */
871
863
  this.document = injectDocument();
872
864
  /** @ignore */
873
- this.name = computed(() => `rdx-tooltip-external-anchor-${this.rootDirective?.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
865
+ this.name = computed(() => `rdx-tooltip-external-anchor-${this.rootDirective?.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
874
866
  }
875
867
  /** @ignore */
876
868
  click() {
@@ -892,15 +884,15 @@ class RdxTooltipAnchorDirective {
892
884
  });
893
885
  this.rootDirective?.triggerDirective().elementRef.nativeElement.dispatchEvent(clickEvent);
894
886
  }
895
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
896
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: RdxTooltipAnchorDirective, isStandalone: true, selector: "[rdxTooltipAnchor]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"" } }, providers: [
887
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
888
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxTooltipAnchorDirective, isStandalone: true, selector: "[rdxTooltipAnchor]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"" } }, providers: [
897
889
  {
898
890
  provide: RdxTooltipAnchorToken,
899
891
  useExisting: forwardRef(() => RdxTooltipAnchorDirective)
900
892
  }
901
893
  ], exportAs: ["rdxTooltipAnchor"], hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
902
894
  }
903
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipAnchorDirective, decorators: [{
895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipAnchorDirective, decorators: [{
904
896
  type: Directive,
905
897
  args: [{
906
898
  selector: '[rdxTooltipAnchor]',
@@ -933,12 +925,12 @@ class RdxTooltipArrowDirective {
933
925
  * @description The width of the arrow in pixels.
934
926
  * @default 10
935
927
  */
936
- this.width = input(RDX_POSITIONING_DEFAULTS.arrow.width, ...(ngDevMode ? [{ debugName: "width", transform: numberAttribute }] : [{ transform: numberAttribute }]));
928
+ this.width = input(RDX_POSITIONING_DEFAULTS.arrow.width, { ...(ngDevMode ? { debugName: "width" } : /* istanbul ignore next */ {}), transform: numberAttribute });
937
929
  /**
938
930
  * @description The height of the arrow in pixels.
939
931
  * @default 5
940
932
  */
941
- this.height = input(RDX_POSITIONING_DEFAULTS.arrow.height, ...(ngDevMode ? [{ debugName: "height", transform: numberAttribute }] : [{ transform: numberAttribute }]));
933
+ this.height = input(RDX_POSITIONING_DEFAULTS.arrow.height, { ...(ngDevMode ? { debugName: "height" } : /* istanbul ignore next */ {}), transform: numberAttribute });
942
934
  /** @ignore */
943
935
  this.arrowSvgElement = computed(() => {
944
936
  const width = this.width();
@@ -952,9 +944,9 @@ class RdxTooltipArrowDirective {
952
944
  this.renderer.setAttribute(svgElement, 'preserveAspectRatio', 'none');
953
945
  this.renderer.appendChild(svgElement, polygonElement);
954
946
  return svgElement;
955
- }, ...(ngDevMode ? [{ debugName: "arrowSvgElement" }] : []));
947
+ }, ...(ngDevMode ? [{ debugName: "arrowSvgElement" }] : /* istanbul ignore next */ []));
956
948
  /** @ignore */
957
- this.currentArrowSvgElement = signal(void 0, ...(ngDevMode ? [{ debugName: "currentArrowSvgElement" }] : []));
949
+ this.currentArrowSvgElement = signal(void 0, ...(ngDevMode ? [{ debugName: "currentArrowSvgElement" }] : /* istanbul ignore next */ []));
958
950
  /** @ignore */
959
951
  this.position = toSignal(this.rootDirective.contentDirective().positionChange());
960
952
  afterNextRender({
@@ -1014,15 +1006,15 @@ class RdxTooltipArrowDirective {
1014
1006
  });
1015
1007
  });
1016
1008
  }
1017
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1018
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.3", type: RdxTooltipArrowDirective, isStandalone: true, selector: "[rdxTooltipArrow]", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
1009
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1010
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.9", type: RdxTooltipArrowDirective, isStandalone: true, selector: "[rdxTooltipArrow]", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
1019
1011
  {
1020
1012
  provide: RdxTooltipArrowToken,
1021
1013
  useExisting: forwardRef(() => RdxTooltipArrowDirective)
1022
1014
  }
1023
1015
  ], ngImport: i0 }); }
1024
1016
  }
1025
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipArrowDirective, decorators: [{
1017
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipArrowDirective, decorators: [{
1026
1018
  type: Directive,
1027
1019
  args: [{
1028
1020
  selector: '[rdxTooltipArrow]',
@@ -1033,7 +1025,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImpor
1033
1025
  }
1034
1026
  ]
1035
1027
  }]
1036
- }], ctorParameters: () => [] });
1028
+ }], ctorParameters: () => [], propDecorators: { width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }] } });
1037
1029
 
1038
1030
  /**
1039
1031
  * TODO: to be removed? But it seems to be useful when controlled from outside
@@ -1057,15 +1049,15 @@ class RdxTooltipCloseDirective {
1057
1049
  });
1058
1050
  });
1059
1051
  }
1060
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1061
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.3", type: RdxTooltipCloseDirective, isStandalone: true, selector: "[rdxTooltipClose]", host: { attributes: { "type": "button" }, listeners: { "click": "rootDirective.handleClose(true)" } }, providers: [
1052
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1053
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.9", type: RdxTooltipCloseDirective, isStandalone: true, selector: "[rdxTooltipClose]", host: { attributes: { "type": "button" }, listeners: { "click": "rootDirective.handleClose(true)" } }, providers: [
1062
1054
  {
1063
1055
  provide: RdxTooltipCloseToken,
1064
1056
  useExisting: forwardRef(() => RdxTooltipCloseDirective)
1065
1057
  }
1066
1058
  ], ngImport: i0 }); }
1067
1059
  }
1068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipCloseDirective, decorators: [{
1060
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipCloseDirective, decorators: [{
1069
1061
  type: Directive,
1070
1062
  args: [{
1071
1063
  selector: '[rdxTooltipClose]',
@@ -1087,9 +1079,9 @@ class RdxTooltipContentAttributesComponent {
1087
1079
  /** @ignore */
1088
1080
  this.rootDirective = injectTooltipRoot();
1089
1081
  /** @ignore */
1090
- this.name = computed(() => `rdx-tooltip-content-attributes-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : []));
1082
+ this.name = computed(() => `rdx-tooltip-content-attributes-${this.rootDirective.uniqueId()}`, ...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
1091
1083
  /** @ignore */
1092
- this.disableAnimation = computed(() => !this.canAnimate(), ...(ngDevMode ? [{ debugName: "disableAnimation" }] : []));
1084
+ this.disableAnimation = computed(() => !this.canAnimate(), ...(ngDevMode ? [{ debugName: "disableAnimation" }] : /* istanbul ignore next */ []));
1093
1085
  }
1094
1086
  /** @ignore */
1095
1087
  onAnimationStart(_) {
@@ -1125,8 +1117,8 @@ class RdxTooltipContentAttributesComponent {
1125
1117
  ((this.rootDirective.cssOpeningAnimation() && this.rootDirective.state() === RdxTooltipState.OPEN) ||
1126
1118
  (this.rootDirective.cssClosingAnimation() && this.rootDirective.state() === RdxTooltipState.CLOSED)));
1127
1119
  }
1128
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipContentAttributesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1129
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.3", type: RdxTooltipContentAttributesComponent, isStandalone: true, selector: "[rdxTooltipContentAttributes]", host: { listeners: { "animationstart": "onAnimationStart($event)", "animationend": "onAnimationEnd($event)", "pointerenter": "pointerenter()", "pointerleave": "pointerleave()", "focus": "focus()", "blur": "blur()" }, properties: { "attr.role": "\"dialog\"", "attr.id": "name()", "attr.data-state": "rootDirective.state()", "attr.data-side": "rootDirective.contentDirective().side()", "attr.data-align": "rootDirective.contentDirective().align()", "style": "disableAnimation() ? {animation: \"none !important\"} : null" } }, providers: [
1120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipContentAttributesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1121
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.9", type: RdxTooltipContentAttributesComponent, isStandalone: true, selector: "[rdxTooltipContentAttributes]", host: { listeners: { "animationstart": "onAnimationStart($event)", "animationend": "onAnimationEnd($event)", "pointerenter": "pointerenter()", "pointerleave": "pointerleave()", "focus": "focus()", "blur": "blur()" }, properties: { "attr.role": "\"dialog\"", "attr.id": "name()", "attr.data-state": "rootDirective.state()", "attr.data-side": "rootDirective.contentDirective().side()", "attr.data-align": "rootDirective.contentDirective().align()", "style": "disableAnimation() ? {animation: \"none !important\"} : null" } }, providers: [
1130
1122
  {
1131
1123
  provide: RdxTooltipContentAttributesToken,
1132
1124
  useExisting: forwardRef(() => RdxTooltipContentAttributesComponent)
@@ -1135,7 +1127,7 @@ class RdxTooltipContentAttributesComponent {
1135
1127
  <ng-content />
1136
1128
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1137
1129
  }
1138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipContentAttributesComponent, decorators: [{
1130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipContentAttributesComponent, decorators: [{
1139
1131
  type: Component,
1140
1132
  args: [{
1141
1133
  selector: '[rdxTooltipContentAttributes]',
@@ -1176,8 +1168,8 @@ const _imports = [
1176
1168
  RdxTooltipContentAttributesComponent
1177
1169
  ];
1178
1170
  class RdxTooltipModule {
1179
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1180
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipModule, imports: [RdxTooltipArrowDirective,
1171
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1172
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipModule, imports: [RdxTooltipArrowDirective,
1181
1173
  RdxTooltipCloseDirective,
1182
1174
  RdxTooltipContentDirective,
1183
1175
  RdxTooltipTriggerDirective,
@@ -1190,9 +1182,9 @@ class RdxTooltipModule {
1190
1182
  RdxTooltipRootDirective,
1191
1183
  RdxTooltipAnchorDirective,
1192
1184
  RdxTooltipContentAttributesComponent] }); }
1193
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipModule }); }
1185
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipModule }); }
1194
1186
  }
1195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.3", ngImport: i0, type: RdxTooltipModule, decorators: [{
1187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.9", ngImport: i0, type: RdxTooltipModule, decorators: [{
1196
1188
  type: NgModule,
1197
1189
  args: [{
1198
1190
  imports: [..._imports],