@radix-ng/primitives 0.25.0 → 0.26.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.
- package/compodoc/documentation.json +16241 -10958
- package/core/src/positioning/constants.d.ts +2 -1
- package/core/src/positioning/types.d.ts +16 -5
- package/fesm2022/radix-ng-primitives-core.mjs +22 -9
- package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-popover.mjs +22 -29
- package/fesm2022/radix-ng-primitives-popover.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-tooltip.mjs +966 -355
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -1
- package/package.json +1 -1
- package/popover/src/popover-arrow.directive.d.ts +3 -2
- package/popover/src/popover-content.directive.d.ts +6 -5
- package/popover/src/popover-root.directive.d.ts +8 -8
- package/tooltip/README.md +2 -0
- package/tooltip/index.d.ts +9 -6
- package/tooltip/src/tooltip-anchor.directive.d.ts +28 -0
- package/tooltip/src/tooltip-anchor.token.d.ts +3 -0
- package/tooltip/src/tooltip-arrow.directive.d.ts +18 -16
- package/tooltip/src/tooltip-close.directive.d.ts +18 -0
- package/tooltip/src/tooltip-close.token.d.ts +3 -0
- package/tooltip/src/tooltip-content-attributes.component.d.ts +17 -0
- package/tooltip/src/tooltip-content-attributes.token.d.ts +3 -0
- package/tooltip/src/tooltip-content.directive.d.ts +85 -16
- package/tooltip/src/tooltip-root.directive.d.ts +121 -59
- package/tooltip/src/tooltip-root.inject.d.ts +3 -0
- package/tooltip/src/tooltip-trigger.directive.d.ts +11 -11
- package/tooltip/src/tooltip.types.d.ts +18 -7
- package/tooltip/src/utils/cdk-event.service.d.ts +30 -0
- package/tooltip/src/utils/constants.d.ts +1 -0
- package/tooltip/src/utils/types.d.ts +7 -0
- package/popover/src/popover.constants.d.ts +0 -6
- package/tooltip/src/tooltip-content-attributes.directive.d.ts +0 -8
- package/tooltip/src/tooltip-content.token.d.ts +0 -3
- package/tooltip/src/tooltip.config.d.ts +0 -6
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"radix-ng-primitives-tooltip.mjs","sources":["../../../packages/primitives/tooltip/src/tooltip-arrow.token.ts","../../../packages/primitives/tooltip/src/tooltip-content.token.ts","../../../packages/primitives/tooltip/src/tooltip-trigger.directive.ts","../../../packages/primitives/tooltip/src/tooltip.config.ts","../../../packages/primitives/tooltip/src/tooltip-root.directive.ts","../../../packages/primitives/tooltip/src/tooltip-arrow.directive.ts","../../../packages/primitives/tooltip/src/tooltip-content-attributes.directive.ts","../../../packages/primitives/tooltip/src/tooltip-content.directive.ts","../../../packages/primitives/tooltip/index.ts","../../../packages/primitives/tooltip/radix-ng-primitives-tooltip.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { RdxTooltipArrowDirective } from './tooltip-arrow.directive';\n\nexport const RdxTooltipArrowToken = new InjectionToken<RdxTooltipArrowDirective>('RdxTooltipArrowToken');\n","import { InjectionToken } from '@angular/core';\nimport { RdxTooltipContentDirective } from './tooltip-content.directive';\n\nexport const RdxTooltipContentToken = new InjectionToken<RdxTooltipContentDirective>('RdxTooltipContentToken');\n","import { Directive, ElementRef, inject } from '@angular/core';\nimport { injectTooltipRoot } from './tooltip-root.directive';\n\n@Directive({\n selector: '[rdxTooltipTrigger]',\n standalone: true,\n host: {\n '[attr.data-state]': 'tooltipRoot.state()',\n '(pointermove)': 'onPointerMove($event)',\n '(pointerleave)': 'onPointerLeave()',\n '(pointerdown)': 'onPointerDown()',\n '(focus)': 'onFocus()',\n '(blur)': 'onBlur()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxTooltipTriggerDirective {\n /** @ignore */\n readonly tooltipRoot = injectTooltipRoot();\n /** @ignore */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef<HTMLElement>);\n\n /** @ignore */\n private isPointerDown = false;\n /** @ignore */\n private isPointerInside = false;\n\n /** @ignore */\n onPointerMove(event: PointerEvent): void {\n if (event.pointerType === 'touch') {\n return;\n }\n\n if (!this.isPointerInside) {\n this.tooltipRoot.onTriggerEnter();\n this.isPointerInside = true;\n }\n }\n\n /** @ignore */\n onPointerLeave(): void {\n this.isPointerInside = false;\n this.tooltipRoot.onTriggerLeave();\n }\n\n /** @ignore */\n onPointerDown(): void {\n this.isPointerDown = true;\n\n this.elementRef.nativeElement.addEventListener(\n 'pointerup',\n () => {\n this.isPointerDown = false;\n },\n { once: true }\n );\n }\n\n /** @ignore */\n onFocus(): void {\n if (!this.isPointerDown) {\n this.tooltipRoot.handleOpen();\n }\n }\n\n /** @ignore */\n onBlur(): void {\n this.tooltipRoot.handleClose();\n }\n\n /** @ignore */\n onClick(): void {\n this.tooltipRoot.handleClose();\n }\n}\n","import { inject, InjectionToken, Provider } from '@angular/core';\nimport { RdxTooltipConfig } from './tooltip.types';\n\nexport const defaultTooltipConfig: RdxTooltipConfig = {\n delayDuration: 700,\n skipDelayDuration: 300\n};\n\nexport const RdxTooltipConfigToken = new InjectionToken<RdxTooltipConfig>('RdxTooltipConfigToken');\n\nexport function provideRdxTooltipConfig(config: Partial<RdxTooltipConfig>): Provider[] {\n return [\n {\n provide: RdxTooltipConfigToken,\n useValue: { ...defaultTooltipConfig, ...config }\n }\n ];\n}\n\nexport function injectTooltipConfig(): RdxTooltipConfig {\n return inject(RdxTooltipConfigToken, { optional: true }) ?? defaultTooltipConfig;\n}\n","import { ConnectedPosition, Overlay, OverlayRef, PositionStrategy } from '@angular/cdk/overlay';\nimport { TemplatePortal } from '@angular/cdk/portal';\nimport { isPlatformBrowser } from '@angular/common';\nimport {\n computed,\n contentChild,\n DestroyRef,\n Directive,\n effect,\n forwardRef,\n inject,\n InjectionToken,\n input,\n OnInit,\n output,\n PLATFORM_ID,\n signal,\n untracked,\n ViewContainerRef,\n ViewRef\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { injectDocument, injectWindow } from '@radix-ng/primitives/core';\nimport { asyncScheduler, filter, take } from 'rxjs';\nimport { RdxTooltipContentToken } from './tooltip-content.token';\nimport { RdxTooltipTriggerDirective } from './tooltip-trigger.directive';\nimport { injectTooltipConfig } from './tooltip.config';\nimport { RdxTooltipState } from './tooltip.types';\n\nexport const RdxTooltipRootToken = new InjectionToken<RdxTooltipRootDirective>('RdxTooltipRootToken');\n\nexport function injectTooltipRoot(): RdxTooltipRootDirective {\n return inject(RdxTooltipRootToken);\n}\n\n@Directive({\n selector: '[rdxTooltipRoot]',\n standalone: true,\n providers: [\n {\n provide: RdxTooltipRootToken,\n useExisting: forwardRef(() => RdxTooltipRootDirective)\n }\n ],\n exportAs: 'rdxTooltipRoot'\n})\nexport class RdxTooltipRootDirective implements OnInit {\n /** @ignore */\n private readonly viewContainerRef = inject(ViewContainerRef);\n /** @ignore */\n private readonly destroyRef = inject(DestroyRef);\n /** @ignore */\n private readonly overlay = inject(Overlay);\n /** @ignore */\n private readonly platformId = inject(PLATFORM_ID);\n /** @ignore */\n private readonly document = injectDocument();\n /** @ignore */\n private readonly window = injectWindow();\n /** @ignore */\n readonly tooltipConfig = injectTooltipConfig();\n\n /**\n * The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state.\n */\n readonly defaultOpen = input<boolean>(false);\n\n /**\n * The controlled open state of the tooltip. Must be used in conjunction with onOpenChange.\n */\n readonly open = input<boolean | undefined>();\n\n /**\n * Override the duration given to the configuration to customise the open delay for a specific tooltip.\n */\n readonly delayDuration = input<number>(this.tooltipConfig.delayDuration);\n\n /** @ignore */\n readonly disableHoverableContent = input<boolean>(this.tooltipConfig.disableHoverableContent ?? false);\n\n /**\n * Event handler called when the open state of the tooltip changes.\n */\n readonly onOpenChange = output<boolean>();\n\n /** @ignore */\n readonly isOpen = signal<boolean>(this.defaultOpen());\n /** @ignore */\n readonly isOpenDelayed = signal<boolean>(true);\n /** @ignore */\n readonly wasOpenDelayed = signal<boolean>(false);\n /** @ignore */\n readonly state = computed<RdxTooltipState>(() => {\n const currentIsOpen = this.isOpen();\n const currentWasOpenDelayed = this.wasOpenDelayed();\n\n if (currentIsOpen) {\n return currentWasOpenDelayed ? 'delayed-open' : 'instant-open';\n }\n\n return 'closed';\n });\n /** @ignore */\n readonly tooltipContentDirective = contentChild.required(RdxTooltipContentToken);\n /** @ignore */\n readonly tooltipTriggerDirective = contentChild.required(RdxTooltipTriggerDirective);\n\n /** @ignore */\n private openTimer = 0;\n /** @ignore */\n private skipDelayTimer = 0;\n /** @ignore */\n private overlayRef?: OverlayRef;\n /** @ignore */\n private instance?: ViewRef;\n /** @ignore */\n private portal: TemplatePortal<unknown>;\n /** @ignore */\n private isControlledExternally = false;\n\n /** @ignore */\n ngOnInit(): void {\n if (this.defaultOpen()) {\n this.handleOpen();\n }\n\n this.isControlledExternally = this.open() !== undefined;\n }\n\n /** @ignore */\n onTriggerEnter(): void {\n if (this.isControlledExternally) {\n return;\n }\n\n if (this.isOpenDelayed()) {\n this.handleDelayedOpen();\n } else {\n this.handleOpen();\n }\n }\n\n /** @ignore */\n onTriggerLeave(): void {\n this.clearTimeout(this.openTimer);\n this.handleClose();\n }\n\n /** @ignore */\n onOpen(): void {\n this.clearTimeout(this.skipDelayTimer);\n this.isOpenDelayed.set(false);\n }\n\n /** @ignore */\n onClose(): void {\n this.clearTimeout(this.skipDelayTimer);\n\n if (isPlatformBrowser(this.platformId)) {\n this.skipDelayTimer = this.window.setTimeout(() => {\n this.isOpenDelayed.set(true);\n }, this.tooltipConfig.skipDelayDuration);\n }\n }\n\n /** @ignore */\n handleOpen(): void {\n if (this.isControlledExternally) {\n return;\n }\n\n this.wasOpenDelayed.set(false);\n this.setOpen(true);\n }\n\n /** @ignore */\n handleClose(): void {\n if (this.isControlledExternally) {\n return;\n }\n\n this.clearTimeout(this.openTimer);\n this.setOpen(false);\n }\n\n /** @ignore */\n private handleOverlayKeydown(): void {\n if (!this.overlayRef) {\n return;\n }\n\n this.overlayRef\n .keydownEvents()\n .pipe(\n filter((event) => event.key === 'Escape'),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe((event) => {\n this.tooltipContentDirective().onEscapeKeyDown.emit(event);\n\n if (!event.defaultPrevented) {\n this.handleClose();\n }\n });\n }\n\n /** @ignore */\n private handlePointerDownOutside(): void {\n if (!this.overlayRef) {\n return;\n }\n\n this.overlayRef\n .outsidePointerEvents()\n .pipe(takeUntilDestroyed(this.destroyRef))\n .subscribe((event) => this.tooltipContentDirective().onPointerDownOutside.emit(event));\n }\n\n /** @ignore */\n private handleDelayedOpen(): void {\n this.clearTimeout(this.openTimer);\n\n if (isPlatformBrowser(this.platformId)) {\n this.openTimer = this.window.setTimeout(() => {\n this.wasOpenDelayed.set(true);\n this.setOpen(true);\n }, this.delayDuration());\n }\n }\n\n /** @ignore */\n private setOpen(open = false): void {\n if (open) {\n this.onOpen();\n\n this.document.dispatchEvent(new CustomEvent('tooltip.open'));\n } else {\n this.onClose();\n }\n\n this.isOpen.set(open);\n this.onOpenChange.emit(open);\n }\n\n /** @ignore */\n private createOverlayRef(): OverlayRef {\n if (this.overlayRef) {\n return this.overlayRef;\n }\n\n this.overlayRef = this.overlay.create({\n direction: undefined,\n positionStrategy: this.getPositionStrategy(this.tooltipContentDirective().position()),\n scrollStrategy: this.overlay.scrollStrategies.close()\n });\n\n this.overlayRef\n .detachments()\n .pipe(take(1), takeUntilDestroyed(this.destroyRef))\n .subscribe(() => this.detach());\n\n this.handleOverlayKeydown();\n this.handlePointerDownOutside();\n\n return this.overlayRef;\n }\n\n /** @ignore */\n private show(): void {\n this.overlayRef = this.createOverlayRef();\n\n this.detach();\n\n this.portal =\n this.portal ||\n new TemplatePortal(this.tooltipContentDirective().templateRef, this.viewContainerRef, {\n state: this.state,\n side: this.tooltipContentDirective().side\n });\n\n this.instance = this.overlayRef.attach(this.portal);\n }\n\n /** @ignore */\n private detach(): void {\n if (this.overlayRef?.hasAttached()) {\n this.overlayRef.detach();\n }\n }\n\n /** @ignore */\n private hide(): void {\n if (this.isControlledExternally && this.open()) {\n return;\n }\n\n asyncScheduler.schedule(() => {\n this.instance?.destroy();\n }, this.tooltipConfig.hideDelayDuration ?? 0);\n }\n\n /** @ignore */\n private getPositionStrategy(connectedPosition: ConnectedPosition): PositionStrategy {\n return this.overlay\n .position()\n .flexibleConnectedTo(this.tooltipTriggerDirective().elementRef)\n .withFlexibleDimensions(false)\n .withPositions([\n connectedPosition\n ])\n .withLockedPosition();\n }\n\n /** @ignore */\n private clearTimeout(timeoutId: number): void {\n if (isPlatformBrowser(this.platformId)) {\n this.window.clearTimeout(timeoutId);\n }\n }\n\n /** @ignore */\n private readonly onIsOpenChangeEffect = effect(() => {\n const isOpen = this.isOpen();\n\n untracked(() => {\n if (isOpen) {\n this.show();\n } else {\n this.hide();\n }\n });\n });\n\n /** @ignore */\n private readonly onPositionChangeEffect = effect(() => {\n const position = this.tooltipContentDirective().position();\n\n if (this.overlayRef) {\n const positionStrategy = this.getPositionStrategy(position);\n\n this.overlayRef.updatePositionStrategy(positionStrategy);\n }\n });\n\n /** @ignore */\n private readonly onOpenChangeEffect = effect(() => {\n const currentOpen = this.open();\n this.isControlledExternally = currentOpen !== undefined;\n\n untracked(() => {\n if (this.isControlledExternally) {\n this.setOpen(currentOpen);\n }\n });\n });\n}\n","import { ConnectionPositionPair } from '@angular/cdk/overlay';\nimport {\n afterNextRender,\n computed,\n Directive,\n effect,\n ElementRef,\n forwardRef,\n inject,\n input,\n Renderer2,\n signal,\n untracked\n} from '@angular/core';\nimport { getArrowPositionParams, getSideAndAlignFromAllPossibleConnectedPositions } from '@radix-ng/primitives/core';\nimport { RdxTooltipArrowToken } from './tooltip-arrow.token';\nimport { RdxTooltipContentToken } from './tooltip-content.token';\nimport { injectTooltipRoot } from './tooltip-root.directive';\n\n@Directive({\n selector: '[rdxTooltipArrow]',\n standalone: true,\n providers: [\n {\n provide: RdxTooltipArrowToken,\n useExisting: forwardRef(() => RdxTooltipArrowDirective)\n }\n ]\n})\nexport class RdxTooltipArrowDirective {\n /** @ignore */\n readonly tooltipRoot = injectTooltipRoot();\n /** @ignore */\n private readonly renderer = inject(Renderer2);\n /** @ignore */\n private readonly contentDirective = inject(RdxTooltipContentToken);\n /** @ignore */\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /**\n * The width of the arrow in pixels.\n */\n readonly width = input<number>(10);\n\n /**\n * The height of the arrow in pixels.\n */\n readonly height = input<number>(5);\n\n /**\n * @ignore\n * */\n private triggerRect: DOMRect;\n\n /** @ignore */\n private readonly currentArrowSvgElement = signal<HTMLOrSVGElement | undefined>(void 0);\n\n /** @ignore */\n readonly arrowSvgElement = computed<HTMLElement>(() => {\n const width = this.width();\n const height = this.height();\n\n const svgElement = this.renderer.createElement('svg', 'svg');\n this.renderer.setAttribute(svgElement, 'viewBox', '0 0 30 10');\n this.renderer.setAttribute(svgElement, 'width', String(width));\n this.renderer.setAttribute(svgElement, 'height', String(height));\n const polygonElement = this.renderer.createElement('polygon', 'svg');\n this.renderer.setAttribute(polygonElement, 'points', '0,0 30,0 15,10');\n this.renderer.setAttribute(svgElement, 'preserveAspectRatio', 'none');\n this.renderer.appendChild(svgElement, polygonElement);\n\n return svgElement;\n });\n\n constructor() {\n afterNextRender({\n write: () => {\n if (this.elementRef.nativeElement.parentElement) {\n this.renderer.setStyle(this.elementRef.nativeElement.parentElement, 'position', 'relative');\n }\n this.renderer.setStyle(this.elementRef.nativeElement, 'position', 'absolute');\n this.renderer.setStyle(this.elementRef.nativeElement, 'boxSizing', '');\n this.renderer.setStyle(this.elementRef.nativeElement, 'fontSize', '0px');\n }\n });\n }\n\n /** @ignore */\n private setTriggerRect() {\n this.triggerRect = this.tooltipRoot.tooltipTriggerDirective().elementRef.nativeElement.getBoundingClientRect();\n }\n\n /** @ignore */\n private setPosition(position: ConnectionPositionPair, arrowDimensions: { width: number; height: number }) {\n this.setTriggerRect();\n const posParams = getArrowPositionParams(\n getSideAndAlignFromAllPossibleConnectedPositions(position),\n { width: arrowDimensions.width, height: arrowDimensions.height },\n { width: this.triggerRect.width, height: this.triggerRect.height }\n );\n\n this.renderer.setStyle(this.elementRef.nativeElement, 'top', posParams.top);\n this.renderer.setStyle(this.elementRef.nativeElement, 'bottom', '');\n this.renderer.setStyle(this.elementRef.nativeElement, 'left', posParams.left);\n this.renderer.setStyle(this.elementRef.nativeElement, 'right', '');\n this.renderer.setStyle(this.elementRef.nativeElement, 'transform', posParams.transform);\n }\n\n /** @ignore */\n private readonly onArrowSvgElementChangeEffect = effect(() => {\n const arrowElement = this.arrowSvgElement();\n untracked(() => {\n const currentArrowSvgElement = this.currentArrowSvgElement();\n if (currentArrowSvgElement) {\n this.renderer.removeChild(this.elementRef.nativeElement, currentArrowSvgElement);\n }\n this.currentArrowSvgElement.set(arrowElement);\n this.renderer.setStyle(this.elementRef.nativeElement, 'width', `${this.width()}px`);\n this.renderer.setStyle(this.elementRef.nativeElement, 'height', `${this.height()}px`);\n this.renderer.appendChild(this.elementRef.nativeElement, this.currentArrowSvgElement());\n });\n });\n\n /** @ignore */\n private readonly onContentPositionAndArrowDimensionsChangeEffect = effect(() => {\n const position = this.contentDirective.position();\n const arrowDimensions = { width: this.width(), height: this.height() };\n untracked(() => {\n if (!position) {\n return;\n }\n this.setPosition(position, arrowDimensions);\n });\n });\n}\n","import { Directive, inject } from '@angular/core';\nimport { RdxTooltipContentToken } from './tooltip-content.token';\nimport { RdxTooltipRootDirective } from './tooltip-root.directive';\n\n@Directive({\n selector: '[rdxTooltipContentAttributes]',\n standalone: true,\n host: {\n '[attr.data-state]': 'tooltipRoot.state()',\n '[attr.data-side]': 'tooltipContent.side()'\n }\n})\nexport class RdxTooltipContentAttributesDirective {\n readonly tooltipRoot = inject(RdxTooltipRootDirective);\n readonly tooltipContent = inject(RdxTooltipContentToken);\n}\n","import { computed, Directive, forwardRef, inject, input, output, TemplateRef } from '@angular/core';\nimport { getContentPosition, RdxPositionAlign, RdxPositionSide } from '@radix-ng/primitives/core';\nimport { RdxTooltipContentToken } from './tooltip-content.token';\n\n@Directive({\n selector: '[rdxTooltipContent]',\n standalone: true,\n providers: [{ provide: RdxTooltipContentToken, useExisting: forwardRef(() => RdxTooltipContentDirective) }]\n})\nexport class RdxTooltipContentDirective {\n /** @ignore */\n readonly templateRef = inject(TemplateRef);\n\n /**\n * The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.\n */\n readonly side = input<RdxPositionSide>(RdxPositionSide.Top);\n\n /**\n * The distance in pixels from the trigger.\n */\n readonly sideOffset = input<number>(0);\n\n /**\n * The preferred alignment against the trigger. May change when collisions occur.\n */\n readonly align = input<RdxPositionAlign>(RdxPositionAlign.Center);\n\n /**\n * An offset in pixels from the \"start\" or \"end\" alignment options.\n */\n readonly alignOffset = input<number>(0);\n\n /** @ingore */\n readonly position = computed(() =>\n getContentPosition({\n side: this.side(),\n align: this.align(),\n sideOffset: this.sideOffset(),\n alignOffset: this.alignOffset()\n })\n );\n\n /**\n * Event handler called when the escape key is down. It can be prevented by calling event.preventDefault.\n */\n readonly onEscapeKeyDown = output<KeyboardEvent>();\n\n /**\n * Event handler called when a pointer event occurs outside the bounds of the component. It can be prevented by calling event.preventDefault.\n */\n readonly onPointerDownOutside = output<MouseEvent>();\n}\n","import { NgModule } from '@angular/core';\nimport { RdxTooltipArrowDirective } from './src/tooltip-arrow.directive';\nimport { RdxTooltipContentAttributesDirective } from './src/tooltip-content-attributes.directive';\nimport { RdxTooltipContentDirective } from './src/tooltip-content.directive';\nimport { RdxTooltipRootDirective } from './src/tooltip-root.directive';\nimport { RdxTooltipTriggerDirective } from './src/tooltip-trigger.directive';\n\nexport * from './src/tooltip-arrow.directive';\nexport * from './src/tooltip-content-attributes.directive';\nexport * from './src/tooltip-content.directive';\nexport * from './src/tooltip-root.directive';\nexport * from './src/tooltip-trigger.directive';\nexport * from './src/tooltip.types';\n\nconst _imports = [\n RdxTooltipArrowDirective,\n RdxTooltipContentDirective,\n RdxTooltipTriggerDirective,\n RdxTooltipContentAttributesDirective,\n RdxTooltipRootDirective\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class RdxTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAGO,MAAM,oBAAoB,GAAG,IAAI,cAAc,CAA2B,sBAAsB,CAAC;;ACAjG,MAAM,sBAAsB,GAAG,IAAI,cAAc,CAA6B,wBAAwB,CAAC;;MCajG,0BAA0B,CAAA;AAbvC,IAAA,WAAA,GAAA;;QAea,IAAW,CAAA,WAAA,GAAG,iBAAiB,EAAE;;AAEjC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,EAA0B,UAAuB,EAAC;;QAGtE,IAAa,CAAA,aAAA,GAAG,KAAK;;QAErB,IAAe,CAAA,eAAA,GAAG,KAAK;AAiDlC;;AA9CG,IAAA,aAAa,CAAC,KAAmB,EAAA;AAC7B,QAAA,IAAI,KAAK,CAAC,WAAW,KAAK,OAAO,EAAE;YAC/B;;AAGJ,QAAA,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;AACvB,YAAA,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;AACjC,YAAA,IAAI,CAAC,eAAe,GAAG,IAAI;;;;IAKnC,cAAc,GAAA;AACV,QAAA,IAAI,CAAC,eAAe,GAAG,KAAK;AAC5B,QAAA,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE;;;IAIrC,aAAa,GAAA;AACT,QAAA,IAAI,CAAC,aAAa,GAAG,IAAI;QAEzB,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,gBAAgB,CAC1C,WAAW,EACX,MAAK;AACD,YAAA,IAAI,CAAC,aAAa,GAAG,KAAK;AAC9B,SAAC,EACD,EAAE,IAAI,EAAE,IAAI,EAAE,CACjB;;;IAIL,OAAO,GAAA;AACH,QAAA,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;AACrB,YAAA,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE;;;;IAKrC,MAAM,GAAA;AACF,QAAA,IAAI,CAAC,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AA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAXzB,wBAAwB;YACxB,0BAA0B;YAC1B,0BAA0B;YAC1B,oCAAoC;AACpC,YAAA,uBAAuB,aAJvB,wBAAwB;YACxB,0BAA0B;YAC1B,0BAA0B;YAC1B,oCAAoC;YACpC,uBAAuB,CAAA,EAAA,CAAA,CAAA;+GAOd,gBAAgB,EAAA,CAAA,CAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,QAAQ,CAAC;AACtB,oBAAA,OAAO,EAAE,CAAC,GAAG,QAAQ;AACxB,iBAAA;;;ACzBD;;AAEG;;;;"}
|
1
|
+
{"version":3,"file":"radix-ng-primitives-tooltip.mjs","sources":["../../../packages/primitives/tooltip/src/tooltip-anchor.token.ts","../../../packages/primitives/tooltip/src/tooltip-arrow.token.ts","../../../packages/primitives/tooltip/src/tooltip-close.token.ts","../../../packages/primitives/tooltip/src/tooltip-content-attributes.token.ts","../../../packages/primitives/tooltip/src/tooltip.types.ts","../../../packages/primitives/tooltip/src/tooltip-content.directive.ts","../../../packages/primitives/tooltip/src/tooltip-trigger.directive.ts","../../../packages/primitives/tooltip/src/utils/constants.ts","../../../packages/primitives/tooltip/src/utils/cdk-event.service.ts","../../../packages/primitives/tooltip/src/tooltip-root.directive.ts","../../../packages/primitives/tooltip/src/tooltip-root.inject.ts","../../../packages/primitives/tooltip/src/tooltip-anchor.directive.ts","../../../packages/primitives/tooltip/src/tooltip-arrow.directive.ts","../../../packages/primitives/tooltip/src/tooltip-close.directive.ts","../../../packages/primitives/tooltip/src/tooltip-content-attributes.component.ts","../../../packages/primitives/tooltip/index.ts","../../../packages/primitives/tooltip/radix-ng-primitives-tooltip.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { RdxTooltipAnchorDirective } from './tooltip-anchor.directive';\n\nexport const RdxTooltipAnchorToken = new InjectionToken<RdxTooltipAnchorDirective>('RdxTooltipAnchorToken');\n","import { InjectionToken } from '@angular/core';\nimport { RdxTooltipArrowDirective } from './tooltip-arrow.directive';\n\nexport const RdxTooltipArrowToken = new InjectionToken<RdxTooltipArrowDirective>('RdxTooltipArrowToken');\n","import { InjectionToken } from '@angular/core';\nimport { RdxTooltipCloseDirective } from './tooltip-close.directive';\n\nexport const RdxTooltipCloseToken = new InjectionToken<RdxTooltipCloseDirective>('RdxTooltipCloseToken');\n","import { InjectionToken } from '@angular/core';\nimport { RdxTooltipContentAttributesComponent } from './tooltip-content-attributes.component';\n\nexport const RdxTooltipContentAttributesToken = new InjectionToken<RdxTooltipContentAttributesComponent>(\n 'RdxTooltipContentAttributesToken'\n);\n","export enum RdxTooltipState {\n OPEN = 'open',\n CLOSED = 'closed'\n}\n\nexport enum RdxTooltipAction {\n OPEN = 'open',\n CLOSE = 'close'\n}\n\nexport enum RdxTooltipAttachDetachEvent {\n ATTACH = 'attach',\n DETACH = 'detach'\n}\n\nexport enum RdxTooltipAnimationStatus {\n OPEN_STARTED = 'open_started',\n OPEN_ENDED = 'open_ended',\n CLOSED_STARTED = 'closed_started',\n CLOSED_ENDED = 'closed_ended'\n}\n","import { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport { CdkConnectedOverlay, Overlay } from '@angular/cdk/overlay';\nimport {\n booleanAttribute,\n computed,\n DestroyRef,\n Directive,\n effect,\n inject,\n input,\n numberAttribute,\n OnInit,\n output,\n SimpleChange,\n TemplateRef,\n untracked\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport {\n getAllPossibleConnectedPositions,\n getContentPosition,\n RDX_POSITIONING_DEFAULTS,\n RdxPositionAlign,\n RdxPositionSide,\n RdxPositionSideAndAlignOffsets\n} from '@radix-ng/primitives/core';\nimport { filter, tap } from 'rxjs';\nimport { injectTooltipRoot } from './tooltip-root.inject';\nimport { RdxTooltipAttachDetachEvent } from './tooltip.types';\n\n@Directive({\n selector: '[rdxTooltipContent]',\n hostDirectives: [\n CdkConnectedOverlay\n ]\n})\nexport class RdxTooltipContentDirective implements OnInit {\n /** @ignore */\n private readonly rootDirective = injectTooltipRoot();\n /** @ignore */\n private readonly templateRef = inject(TemplateRef);\n /** @ignore */\n private readonly overlay = inject(Overlay);\n /** @ignore */\n private readonly destroyRef = inject(DestroyRef);\n /** @ignore */\n private readonly connectedOverlay = inject(CdkConnectedOverlay);\n\n /** @ignore */\n readonly name = computed(() => `rdx-tooltip-trigger-${this.rootDirective.uniqueId()}`);\n\n /**\n * @description The preferred side of the trigger to render against when open. Will be reversed when collisions occur and avoidCollisions is enabled.\n * @default top\n */\n readonly side = input<RdxPositionSide>(RdxPositionSide.Top);\n /**\n * @description The distance in pixels from the trigger.\n * @default undefined\n */\n readonly sideOffset = input<number, NumberInput>(NaN, {\n transform: numberAttribute\n });\n /**\n * @description The preferred alignment against the trigger. May change when collisions occur.\n * @default center\n */\n readonly align = input<RdxPositionAlign>(RdxPositionAlign.Center);\n /**\n * @description An offset in pixels from the \"start\" or \"end\" alignment options.\n * @default undefined\n */\n readonly alignOffset = input<number, NumberInput>(NaN, {\n transform: numberAttribute\n });\n\n /**\n * @description Whether to add some alternate positions of the content.\n * @default false\n */\n readonly alternatePositionsDisabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n /** @description Whether to prevent `onOverlayEscapeKeyDown` handler from calling. */\n readonly onOverlayEscapeKeyDownDisabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n /** @description Whether to prevent `onOverlayOutsideClick` handler from calling. */\n readonly onOverlayOutsideClickDisabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n /**\n * @description Event handler called when the escape key is down.\n * It can be prevented by setting `onOverlayEscapeKeyDownDisabled` input to `true`.\n */\n readonly onOverlayEscapeKeyDown = output<KeyboardEvent>();\n /**\n * @description Event handler called when a pointer event occurs outside the bounds of the component.\n * It can be prevented by setting `onOverlayOutsideClickDisabled` input to `true`.\n */\n readonly onOverlayOutsideClick = output<MouseEvent>();\n\n /**\n * @description Event handler called after the overlay is open\n */\n readonly onOpen = output<void>();\n /**\n * @description Event handler called after the overlay is closed\n */\n readonly onClosed = output<void>();\n\n /** @ingore */\n readonly positions = computed(() => this.computePositions());\n\n constructor() {\n this.onOriginChangeEffect();\n this.onPositionChangeEffect();\n }\n\n /** @ignore */\n ngOnInit() {\n this.setScrollStrategy();\n this.setHasBackdrop();\n this.setDisableClose();\n this.onAttach();\n this.onDetach();\n this.connectKeydownEscape();\n this.connectOutsideClick();\n }\n\n /** @ignore */\n open() {\n if (this.connectedOverlay.open) {\n return;\n }\n const prevOpen = this.connectedOverlay.open;\n this.connectedOverlay.open = true;\n this.fireOverlayNgOnChanges('open', this.connectedOverlay.open, prevOpen);\n }\n\n /** @ignore */\n close() {\n if (!this.connectedOverlay.open) {\n return;\n }\n const prevOpen = this.connectedOverlay.open;\n this.connectedOverlay.open = false;\n this.fireOverlayNgOnChanges('open', this.connectedOverlay.open, prevOpen);\n }\n\n /** @ignore */\n positionChange() {\n return this.connectedOverlay.positionChange.asObservable();\n }\n\n /** @ignore */\n private connectKeydownEscape() {\n this.connectedOverlay.overlayKeydown\n .asObservable()\n .pipe(\n filter(\n () =>\n !this.onOverlayEscapeKeyDownDisabled() &&\n !this.rootDirective.rdxCdkEventService?.primitivePreventedFromCdkEvent(\n this.rootDirective,\n 'cdkOverlayEscapeKeyDown'\n )\n ),\n filter((event) => event.key === 'Escape'),\n tap((event) => {\n this.onOverlayEscapeKeyDown.emit(event);\n }),\n filter(() => !this.rootDirective.firstDefaultOpen()),\n tap(() => {\n this.rootDirective.handleClose();\n }),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe();\n }\n\n /** @ignore */\n private connectOutsideClick() {\n this.connectedOverlay.overlayOutsideClick\n .asObservable()\n .pipe(\n filter(\n () =>\n !this.onOverlayOutsideClickDisabled() &&\n !this.rootDirective.rdxCdkEventService?.primitivePreventedFromCdkEvent(\n this.rootDirective,\n 'cdkOverlayOutsideClick'\n )\n ),\n /**\n * Handle the situation when an anchor is added and the anchor becomes the origin of the overlay\n * hence the trigger will be considered the outside element\n */\n filter((event) => {\n return (\n !this.rootDirective.anchorDirective() ||\n !this.rootDirective\n .triggerDirective()\n .elementRef.nativeElement.contains(event.target as Element)\n );\n }),\n tap((event) => {\n this.onOverlayOutsideClick.emit(event);\n }),\n filter(() => !this.rootDirective.firstDefaultOpen()),\n tap(() => {\n this.rootDirective.handleClose();\n }),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe();\n }\n\n /** @ignore */\n private onAttach() {\n this.connectedOverlay.attach\n .asObservable()\n .pipe(\n tap(() => {\n /**\n * `this.onOpen.emit();` is being delegated to the rootDirective directive due to the opening animation\n */\n this.rootDirective.attachDetachEvent.set(RdxTooltipAttachDetachEvent.ATTACH);\n }),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe();\n }\n\n /** @ignore */\n private onDetach() {\n this.connectedOverlay.detach\n .asObservable()\n .pipe(\n tap(() => {\n /**\n * `this.onClosed.emit();` is being delegated to the rootDirective directive due to the closing animation\n */\n this.rootDirective.attachDetachEvent.set(RdxTooltipAttachDetachEvent.DETACH);\n }),\n takeUntilDestroyed(this.destroyRef)\n )\n .subscribe();\n }\n\n /** @ignore */\n private setScrollStrategy() {\n const prevScrollStrategy = this.connectedOverlay.scrollStrategy;\n this.connectedOverlay.scrollStrategy = this.overlay.scrollStrategies.reposition();\n this.fireOverlayNgOnChanges('scrollStrategy', this.connectedOverlay.scrollStrategy, prevScrollStrategy);\n }\n\n /** @ignore */\n private setHasBackdrop() {\n const prevHasBackdrop = this.connectedOverlay.hasBackdrop;\n this.connectedOverlay.hasBackdrop = false;\n this.fireOverlayNgOnChanges('hasBackdrop', this.connectedOverlay.hasBackdrop, prevHasBackdrop);\n }\n\n /** @ignore */\n private setDisableClose() {\n const prevDisableClose = this.connectedOverlay.disableClose;\n this.connectedOverlay.disableClose = true;\n this.fireOverlayNgOnChanges('disableClose', this.connectedOverlay.disableClose, prevDisableClose);\n }\n\n /** @ignore */\n private setOrigin(origin: CdkConnectedOverlay['origin']) {\n const prevOrigin = this.connectedOverlay.origin;\n this.connectedOverlay.origin = origin;\n this.fireOverlayNgOnChanges('origin', this.connectedOverlay.origin, prevOrigin);\n }\n\n /** @ignore */\n private setPositions(positions: CdkConnectedOverlay['positions']) {\n const prevPositions = this.connectedOverlay.positions;\n this.connectedOverlay.positions = positions;\n this.fireOverlayNgOnChanges('positions', this.connectedOverlay.positions, prevPositions);\n this.connectedOverlay.overlayRef?.updatePosition();\n }\n\n /** @ignore */\n private computePositions() {\n const arrowHeight = this.rootDirective.arrowDirective()?.height() ?? 0;\n const offsets: RdxPositionSideAndAlignOffsets = {\n sideOffset: isNaN(this.sideOffset())\n ? arrowHeight || RDX_POSITIONING_DEFAULTS.offsets.side\n : this.sideOffset(),\n alignOffset: isNaN(this.alignOffset()) ? RDX_POSITIONING_DEFAULTS.offsets.align : this.alignOffset()\n };\n const basePosition = getContentPosition({\n side: this.side(),\n align: this.align(),\n sideOffset: offsets.sideOffset,\n alignOffset: offsets.alignOffset\n });\n const positions = [basePosition];\n if (!this.alternatePositionsDisabled()) {\n /**\n * Alternate positions for better user experience along the X/Y axis (e.g. vertical/horizontal scrolling)\n */\n const allPossibleConnectedPositions = getAllPossibleConnectedPositions();\n allPossibleConnectedPositions.forEach((_, key) => {\n const sideAndAlignArray = key.split('|');\n if (\n (sideAndAlignArray[0] as RdxPositionSide) !== this.side() ||\n (sideAndAlignArray[1] as RdxPositionAlign) !== this.align()\n ) {\n positions.push(\n getContentPosition({\n side: sideAndAlignArray[0] as RdxPositionSide,\n align: sideAndAlignArray[1] as RdxPositionAlign,\n sideOffset: offsets.sideOffset,\n alignOffset: offsets.alignOffset\n })\n );\n }\n });\n }\n return positions;\n }\n\n private onOriginChangeEffect() {\n effect(() => {\n const origin = (this.rootDirective.anchorDirective() ?? this.rootDirective.triggerDirective())\n .overlayOrigin;\n untracked(() => {\n this.setOrigin(origin);\n });\n });\n }\n\n /** @ignore */\n private onPositionChangeEffect() {\n effect(() => {\n const positions = this.positions();\n this.alternatePositionsDisabled();\n untracked(() => {\n this.setPositions(positions);\n });\n });\n }\n\n /** @ignore */\n private fireOverlayNgOnChanges<K extends keyof CdkConnectedOverlay, V extends CdkConnectedOverlay[K]>(\n input: K,\n currentValue: V,\n previousValue: V,\n firstChange = false\n ) {\n this.connectedOverlay.ngOnChanges({\n [input]: new SimpleChange(previousValue, currentValue, firstChange)\n });\n }\n}\n","import { CdkOverlayOrigin } from '@angular/cdk/overlay';\nimport { computed, Directive, ElementRef, inject } from '@angular/core';\nimport { injectTooltipRoot } from './tooltip-root.inject';\n\n@Directive({\n selector: '[rdxTooltipTrigger]',\n hostDirectives: [CdkOverlayOrigin],\n host: {\n type: 'button',\n '[attr.id]': 'name()',\n '[attr.aria-haspopup]': '\"dialog\"',\n '[attr.aria-expanded]': 'rootDirective.isOpen()',\n '[attr.aria-controls]': 'rootDirective.contentDirective().name()',\n '[attr.data-state]': 'rootDirective.state()',\n '(pointerenter)': 'pointerenter()',\n '(pointerleave)': 'pointerleave()',\n '(focus)': 'focus()',\n '(blur)': 'blur()',\n '(click)': 'click()'\n }\n})\nexport class RdxTooltipTriggerDirective {\n /** @ignore */\n protected readonly rootDirective = injectTooltipRoot();\n /** @ignore */\n readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n /** @ignore */\n readonly overlayOrigin = inject(CdkOverlayOrigin);\n\n /** @ignore */\n readonly name = computed(() => `rdx-tooltip-trigger-${this.rootDirective.uniqueId()}`);\n\n /** @ignore */\n pointerenter(): void {\n this.rootDirective.handleOpen();\n }\n\n /** @ignore */\n pointerleave(): void {\n this.rootDirective.handleClose();\n }\n\n /** @ignore */\n focus(): void {\n this.rootDirective.handleOpen();\n }\n\n /** @ignore */\n blur(): void {\n this.rootDirective.handleClose();\n }\n\n /** @ignore */\n click(): void {\n this.rootDirective.handleClose();\n }\n}\n","export const RdxCdkEventServiceWindowKey = Symbol('__RdxCdkEventService__');\n","import {\n DestroyRef,\n EnvironmentProviders,\n inject,\n Injectable,\n InjectionToken,\n isDevMode,\n makeEnvironmentProviders,\n NgZone,\n Provider,\n Renderer2,\n VERSION\n} from '@angular/core';\nimport { injectDocument, injectWindow } from '@radix-ng/primitives/core';\nimport { RdxCdkEventServiceWindowKey } from './constants';\nimport { EventType, EventTypeAsPrimitiveConfigKey, PrimitiveConfig, PrimitiveConfigs } from './types';\n\nfunction eventTypeAsPrimitiveConfigKey(eventType: EventType): EventTypeAsPrimitiveConfigKey {\n return `prevent${eventType[0].toUpperCase()}${eventType.slice(1)}` as EventTypeAsPrimitiveConfigKey;\n}\n\n@Injectable()\nclass RdxCdkEventService {\n document = injectDocument();\n destroyRef = inject(DestroyRef);\n ngZone = inject(NgZone);\n renderer2 = inject(Renderer2);\n window = injectWindow();\n\n primitiveConfigs?: PrimitiveConfigs;\n\n onDestroyCallbacks: Set<() => void> = new Set([() => deleteRdxCdkEventServiceWindowKey(this.window)]);\n\n #clickDomRootEventCallbacks: Set<(event: MouseEvent) => void> = new Set();\n\n constructor() {\n this.#listenToClickDomRootEvent();\n this.#registerOnDestroyCallbacks();\n }\n\n registerPrimitive<T extends object>(primitiveInstance: T) {\n if (!this.primitiveConfigs) {\n this.primitiveConfigs = new Map();\n }\n if (!this.primitiveConfigs.has(primitiveInstance)) {\n this.primitiveConfigs.set(primitiveInstance, {});\n }\n }\n\n deregisterPrimitive<T extends object>(primitiveInstance: T) {\n if (this.primitiveConfigs?.has(primitiveInstance)) {\n this.primitiveConfigs.delete(primitiveInstance);\n }\n }\n\n preventPrimitiveFromCdkEvent<T extends object>(primitiveInstance: T, eventType: EventType) {\n this.#setPreventPrimitiveFromCdkEvent(primitiveInstance, eventType, true);\n }\n\n allowPrimitiveForCdkEvent<T extends object>(primitiveInstance: T, eventType: EventType) {\n this.#setPreventPrimitiveFromCdkEvent(primitiveInstance, eventType, false);\n }\n\n preventPrimitiveFromCdkMultiEvents<T extends object>(primitiveInstance: T, eventTypes: EventType[]) {\n eventTypes.forEach((eventType) => {\n this.#setPreventPrimitiveFromCdkEvent(primitiveInstance, eventType, true);\n });\n }\n\n allowPrimitiveForCdkMultiEvents<T extends object>(primitiveInstance: T, eventTypes: EventType[]) {\n eventTypes.forEach((eventType) => {\n this.#setPreventPrimitiveFromCdkEvent(primitiveInstance, eventType, false);\n });\n }\n\n setPreventPrimitiveFromCdkMixEvents<T extends object>(primitiveInstance: T, eventTypes: PrimitiveConfig) {\n Object.keys(eventTypes).forEach((eventType) => {\n this.#setPreventPrimitiveFromCdkEvent(\n primitiveInstance,\n eventType as EventType,\n eventTypes[eventTypeAsPrimitiveConfigKey(eventType as EventType)]\n );\n });\n }\n\n primitivePreventedFromCdkEvent<T extends object>(primitiveInstance: T, eventType: EventType) {\n return this.primitiveConfigs?.get(primitiveInstance)?.[eventTypeAsPrimitiveConfigKey(eventType)];\n }\n\n addClickDomRootEventCallback(callback: (event: MouseEvent) => void) {\n this.#clickDomRootEventCallbacks.add(callback);\n }\n\n removeClickDomRootEventCallback(callback: (event: MouseEvent) => void) {\n return this.#clickDomRootEventCallbacks.delete(callback);\n }\n\n #setPreventPrimitiveFromCdkEvent<\n T extends object,\n R extends EventType,\n K extends PrimitiveConfig[EventTypeAsPrimitiveConfigKey<R>]\n >(primitiveInstance: T, eventType: R, value: K) {\n if (!this.primitiveConfigs?.has(primitiveInstance)) {\n isDevMode() &&\n console.error(\n '[RdxCdkEventService.preventPrimitiveFromCdkEvent] RDX Primitive instance has not been registered!',\n primitiveInstance\n );\n return;\n }\n switch (eventType) {\n case 'cdkOverlayOutsideClick':\n this.primitiveConfigs.get(primitiveInstance)!.preventCdkOverlayOutsideClick = value;\n break;\n case 'cdkOverlayEscapeKeyDown':\n this.primitiveConfigs.get(primitiveInstance)!.preventCdkOverlayEscapeKeyDown = value;\n break;\n }\n }\n\n #registerOnDestroyCallbacks() {\n this.destroyRef.onDestroy(() => {\n this.onDestroyCallbacks.forEach((onDestroyCallback) => onDestroyCallback());\n this.onDestroyCallbacks.clear();\n });\n }\n\n #listenToClickDomRootEvent() {\n const target = this.document;\n const eventName = 'click';\n const options: boolean | AddEventListenerOptions | undefined = { capture: true };\n const callback = (event: MouseEvent) => {\n this.#clickDomRootEventCallbacks.forEach((clickDomRootEventCallback) => clickDomRootEventCallback(event));\n };\n\n const major = parseInt(VERSION.major);\n const minor = parseInt(VERSION.minor);\n\n let destroyClickDomRootEventListener!: () => void;\n /**\n * @see src/cdk/platform/features/backwards-compatibility.ts in @angular/cdk\n */\n if (major > 19 || (major === 19 && minor > 0) || (major === 0 && minor === 0)) {\n destroyClickDomRootEventListener = this.ngZone.runOutsideAngular(() => {\n const destroyClickDomRootEventListenerInternal = this.renderer2.listen(\n target,\n eventName,\n callback,\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-expect-error\n options\n );\n return () => {\n destroyClickDomRootEventListenerInternal();\n this.#clickDomRootEventCallbacks.clear();\n };\n });\n } else {\n /**\n * This part can get removed when v19.1 or higher is on the board\n */\n destroyClickDomRootEventListener = this.ngZone.runOutsideAngular(() => {\n target.addEventListener(eventName, callback, options);\n return () => {\n this.ngZone.runOutsideAngular(() => target.removeEventListener(eventName, callback, options));\n this.#clickDomRootEventCallbacks.clear();\n };\n });\n }\n this.onDestroyCallbacks.add(destroyClickDomRootEventListener);\n }\n}\n\nconst RdxCdkEventServiceToken = new InjectionToken<RdxCdkEventService>('RdxCdkEventServiceToken');\n\nconst existsErrorMessage = 'RdxCdkEventService should be provided only once!';\n\nconst deleteRdxCdkEventServiceWindowKey = (window: Window & typeof globalThis) => {\n delete (window as any)[RdxCdkEventServiceWindowKey];\n};\n\nconst getProvider: (throwWhenExists?: boolean) => Provider = (throwWhenExists = true) => ({\n provide: RdxCdkEventServiceToken,\n useFactory: () => {\n isDevMode() && console.log('providing RdxCdkEventService...');\n const window = injectWindow();\n if ((window as any)[RdxCdkEventServiceWindowKey]) {\n if (throwWhenExists) {\n throw Error(existsErrorMessage);\n } else {\n isDevMode() && console.warn(existsErrorMessage);\n }\n }\n (window as any)[RdxCdkEventServiceWindowKey] ??= new RdxCdkEventService();\n return (window as any)[RdxCdkEventServiceWindowKey];\n }\n});\n\nexport const provideRdxCdkEventServiceInRoot: () => EnvironmentProviders = () =>\n makeEnvironmentProviders([getProvider()]);\nexport const provideRdxCdkEventService: () => Provider = () => getProvider(false);\n\nexport const injectRdxCdkEventService = () => inject(RdxCdkEventServiceToken, { optional: true });\n","import { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n contentChild,\n DestroyRef,\n Directive,\n effect,\n inject,\n input,\n numberAttribute,\n signal,\n untracked,\n ViewContainerRef\n} from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { debounce, map, Subject, tap, timer } from 'rxjs';\nimport { RdxTooltipAnchorDirective } from './tooltip-anchor.directive';\nimport { RdxTooltipAnchorToken } from './tooltip-anchor.token';\nimport { RdxTooltipArrowToken } from './tooltip-arrow.token';\nimport { RdxTooltipCloseToken } from './tooltip-close.token';\nimport { RdxTooltipContentAttributesToken } from './tooltip-content-attributes.token';\nimport { RdxTooltipContentDirective } from './tooltip-content.directive';\nimport { RdxTooltipTriggerDirective } from './tooltip-trigger.directive';\nimport {\n RdxTooltipAction,\n RdxTooltipAnimationStatus,\n RdxTooltipAttachDetachEvent,\n RdxTooltipState\n} from './tooltip.types';\nimport { injectRdxCdkEventService } from './utils/cdk-event.service';\n\nlet nextId = 0;\n\n@Directive({\n selector: '[rdxTooltipRoot]',\n exportAs: 'rdxTooltipRoot'\n})\nexport class RdxTooltipRootDirective {\n /** @ignore */\n readonly uniqueId = signal(++nextId);\n /** @ignore */\n readonly name = computed(() => `rdx-tooltip-root-${this.uniqueId()}`);\n\n /**\n * @description The anchor directive that comes form outside the tooltip rootDirective\n * @default undefined\n */\n readonly anchor = input<RdxTooltipAnchorDirective | undefined>(void 0);\n /**\n * @description The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state.\n * @default false\n */\n readonly defaultOpen = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n /**\n * @description The controlled state of the tooltip. `open` input take precedence of `defaultOpen` input.\n * @default undefined\n */\n readonly open = input<boolean | undefined, BooleanInput>(void 0, { transform: booleanAttribute });\n /**\n * To customise the open delay for a specific tooltip.\n */\n readonly openDelay = input<number, NumberInput>(500, {\n transform: numberAttribute\n });\n /**\n * To customise the close delay for a specific tooltip.\n */\n readonly closeDelay = input<number, NumberInput>(200, {\n transform: numberAttribute\n });\n /**\n * @description Whether to control the state of the tooltip from external. Use in conjunction with `open` input.\n * @default undefined\n */\n readonly externalControl = input<boolean | undefined, BooleanInput>(void 0, { transform: booleanAttribute });\n /**\n * @description Whether to take into account CSS opening/closing animations.\n * @default false\n */\n readonly cssAnimation = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n /**\n * @description Whether to take into account CSS opening animations. `cssAnimation` input must be set to 'true'\n * @default false\n */\n readonly cssOpeningAnimation = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n /**\n * @description Whether to take into account CSS closing animations. `cssAnimation` input must be set to 'true'\n * @default false\n */\n readonly cssClosingAnimation = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n /** @ignore */\n readonly cssAnimationStatus = signal<RdxTooltipAnimationStatus | null>(null);\n\n /** @ignore */\n readonly contentDirective = contentChild.required(RdxTooltipContentDirective);\n /** @ignore */\n readonly triggerDirective = contentChild.required(RdxTooltipTriggerDirective);\n /** @ignore */\n readonly arrowDirective = contentChild(RdxTooltipArrowToken);\n /** @ignore */\n readonly closeDirective = contentChild(RdxTooltipCloseToken);\n /** @ignore */\n readonly contentAttributesComponent = contentChild(RdxTooltipContentAttributesToken);\n /** @ignore */\n private readonly internalAnchorDirective = contentChild(RdxTooltipAnchorToken);\n\n /** @ignore */\n readonly viewContainerRef = inject(ViewContainerRef);\n /** @ignore */\n readonly rdxCdkEventService = injectRdxCdkEventService();\n /** @ignore */\n readonly destroyRef = inject(DestroyRef);\n\n /** @ignore */\n readonly state = signal(RdxTooltipState.CLOSED);\n\n /** @ignore */\n readonly attachDetachEvent = signal(RdxTooltipAttachDetachEvent.DETACH);\n\n /** @ignore */\n private readonly isFirstDefaultOpen = signal(false);\n\n /** @ignore */\n readonly anchorDirective = computed(() => this.internalAnchorDirective() ?? this.anchor());\n\n /** @ignore */\n readonly actionSubject$ = new Subject<RdxTooltipAction>();\n\n constructor() {\n this.rdxCdkEventService?.registerPrimitive(this);\n this.destroyRef.onDestroy(() => this.rdxCdkEventService?.deregisterPrimitive(this));\n this.actionSubscription();\n this.onStateChangeEffect();\n this.onCssAnimationStatusChangeChangeEffect();\n this.onOpenChangeEffect();\n this.onIsFirstDefaultOpenChangeEffect();\n this.onAnchorChangeEffect();\n this.emitOpenOrClosedEventEffect();\n afterNextRender({\n write: () => {\n if (this.defaultOpen() && !this.open()) {\n this.isFirstDefaultOpen.set(true);\n }\n }\n });\n }\n\n /** @ignore */\n getAnimationParamsSnapshot() {\n return {\n cssAnimation: this.cssAnimation(),\n cssOpeningAnimation: this.cssOpeningAnimation(),\n cssClosingAnimation: this.cssClosingAnimation(),\n cssAnimationStatus: this.cssAnimationStatus(),\n attachDetachEvent: this.attachDetachEvent(),\n state: this.state(),\n canEmitOnOpenOrOnClosed: this.canEmitOnOpenOrOnClosed()\n };\n }\n\n /** @ignore */\n controlledExternally() {\n return this.externalControl;\n }\n\n /** @ignore */\n firstDefaultOpen() {\n return this.isFirstDefaultOpen();\n }\n\n /** @ignore */\n handleOpen(): void {\n if (this.externalControl()) {\n return;\n }\n this.actionSubject$.next(RdxTooltipAction.OPEN);\n }\n\n /** @ignore */\n handleClose(closeButton?: boolean): void {\n if (this.isFirstDefaultOpen()) {\n this.isFirstDefaultOpen.set(false);\n }\n if (!closeButton && this.externalControl()) {\n return;\n }\n this.actionSubject$.next(RdxTooltipAction.CLOSE);\n }\n\n /** @ignore */\n handleToggle(): void {\n if (this.externalControl()) {\n return;\n }\n this.isOpen() ? this.handleClose() : this.handleOpen();\n }\n\n /** @ignore */\n isOpen(state?: RdxTooltipState) {\n return (state ?? this.state()) === RdxTooltipState.OPEN;\n }\n\n /** @ignore */\n private setState(state = RdxTooltipState.CLOSED): void {\n if (state === this.state()) {\n return;\n }\n this.state.set(state);\n }\n\n /** @ignore */\n private openContent(): void {\n this.contentDirective().open();\n if (!this.cssAnimation() || !this.cssOpeningAnimation()) {\n this.cssAnimationStatus.set(null);\n }\n }\n\n /** @ignore */\n private closeContent(): void {\n this.contentDirective().close();\n if (!this.cssAnimation() || !this.cssClosingAnimation()) {\n this.cssAnimationStatus.set(null);\n }\n }\n\n /** @ignore */\n private emitOnOpen(): void {\n this.contentDirective().onOpen.emit();\n }\n\n /** @ignore */\n private emitOnClosed(): void {\n this.contentDirective().onClosed.emit();\n }\n\n /** @ignore */\n private ifOpenOrCloseWithoutAnimations(state: RdxTooltipState) {\n return (\n !this.contentAttributesComponent() ||\n !this.cssAnimation() ||\n (this.cssAnimation() && !this.cssClosingAnimation() && state === RdxTooltipState.CLOSED) ||\n (this.cssAnimation() && !this.cssOpeningAnimation() && state === RdxTooltipState.OPEN) ||\n // !this.cssAnimationStatus() ||\n (this.cssOpeningAnimation() &&\n state === RdxTooltipState.OPEN &&\n [RdxTooltipAnimationStatus.OPEN_STARTED].includes(this.cssAnimationStatus()!)) ||\n (this.cssClosingAnimation() &&\n state === RdxTooltipState.CLOSED &&\n [RdxTooltipAnimationStatus.CLOSED_STARTED].includes(this.cssAnimationStatus()!))\n );\n }\n\n /** @ignore */\n private ifOpenOrCloseWithAnimations(cssAnimationStatus: RdxTooltipAnimationStatus | null) {\n return (\n this.contentAttributesComponent() &&\n this.cssAnimation() &&\n cssAnimationStatus &&\n ((this.cssOpeningAnimation() &&\n this.state() === RdxTooltipState.OPEN &&\n [RdxTooltipAnimationStatus.OPEN_ENDED].includes(cssAnimationStatus)) ||\n (this.cssClosingAnimation() &&\n this.state() === RdxTooltipState.CLOSED &&\n [RdxTooltipAnimationStatus.CLOSED_ENDED].includes(cssAnimationStatus)))\n );\n }\n\n /** @ignore */\n private openOrClose(state: RdxTooltipState) {\n const isOpen = this.isOpen(state);\n isOpen ? this.openContent() : this.closeContent();\n }\n\n /** @ignore */\n private emitOnOpenOrOnClosed(state: RdxTooltipState) {\n this.isOpen(state)\n ? this.attachDetachEvent() === RdxTooltipAttachDetachEvent.ATTACH && this.emitOnOpen()\n : this.attachDetachEvent() === RdxTooltipAttachDetachEvent.DETACH && this.emitOnClosed();\n }\n\n /** @ignore */\n private canEmitOnOpenOrOnClosed() {\n return (\n !this.cssAnimation() ||\n (!this.cssOpeningAnimation() && this.state() === RdxTooltipState.OPEN) ||\n (this.cssOpeningAnimation() &&\n this.state() === RdxTooltipState.OPEN &&\n this.cssAnimationStatus() === RdxTooltipAnimationStatus.OPEN_ENDED) ||\n (!this.cssClosingAnimation() && this.state() === RdxTooltipState.CLOSED) ||\n (this.cssClosingAnimation() &&\n this.state() === RdxTooltipState.CLOSED &&\n this.cssAnimationStatus() === RdxTooltipAnimationStatus.CLOSED_ENDED)\n );\n }\n\n /** @ignore */\n private onStateChangeEffect() {\n let isFirst = true;\n effect(() => {\n const state = this.state();\n untracked(() => {\n if (isFirst) {\n isFirst = false;\n return;\n }\n if (!this.ifOpenOrCloseWithoutAnimations(state)) {\n return;\n }\n this.openOrClose(state);\n });\n }, {});\n }\n\n /** @ignore */\n private onCssAnimationStatusChangeChangeEffect() {\n let isFirst = true;\n effect(() => {\n const cssAnimationStatus = this.cssAnimationStatus();\n untracked(() => {\n if (isFirst) {\n isFirst = false;\n return;\n }\n if (!this.ifOpenOrCloseWithAnimations(cssAnimationStatus)) {\n return;\n }\n this.openOrClose(this.state());\n });\n });\n }\n\n /** @ignore */\n private emitOpenOrClosedEventEffect() {\n let isFirst = true;\n effect(() => {\n this.attachDetachEvent();\n this.cssAnimationStatus();\n untracked(() => {\n if (isFirst) {\n isFirst = false;\n return;\n }\n const canEmitOpenClose = untracked(() => this.canEmitOnOpenOrOnClosed());\n if (!canEmitOpenClose) {\n return;\n }\n this.emitOnOpenOrOnClosed(this.state());\n });\n });\n }\n\n /** @ignore */\n private onOpenChangeEffect() {\n effect(() => {\n const open = this.open();\n untracked(() => {\n this.setState(open ? RdxTooltipState.OPEN : RdxTooltipState.CLOSED);\n });\n });\n }\n\n /** @ignore */\n private onIsFirstDefaultOpenChangeEffect() {\n const effectRef = effect(() => {\n const defaultOpen = this.defaultOpen();\n untracked(() => {\n if (!defaultOpen || this.open()) {\n effectRef.destroy();\n return;\n }\n this.handleOpen();\n });\n });\n }\n\n /** @ignore */\n private onAnchorChangeEffect = () => {\n effect(() => {\n const anchor = this.anchor();\n untracked(() => {\n if (anchor) {\n anchor.setRoot(this);\n }\n });\n });\n };\n\n /** @ignore */\n private actionSubscription() {\n this.actionSubject$\n .asObservable()\n .pipe(\n map((action) => {\n console.log(action);\n switch (action) {\n case RdxTooltipAction.OPEN:\n return { action, duration: this.openDelay() };\n case RdxTooltipAction.CLOSE:\n return { action, duration: this.closeDelay() };\n }\n }),\n debounce((config) => timer(config.duration)),\n tap((config) => {\n switch (config.action) {\n case RdxTooltipAction.OPEN:\n this.setState(RdxTooltipState.OPEN);\n break;\n case RdxTooltipAction.CLOSE:\n this.setState(RdxTooltipState.CLOSED);\n break;\n }\n }),\n takeUntilDestroyed()\n )\n .subscribe();\n }\n}\n","import { assertInInjectionContext, inject, isDevMode } from '@angular/core';\nimport { RdxTooltipRootDirective } from './tooltip-root.directive';\n\nexport function injectTooltipRoot(optional?: false): RdxTooltipRootDirective;\nexport function injectTooltipRoot(optional: true): RdxTooltipRootDirective | null;\nexport function injectTooltipRoot(optional = false): RdxTooltipRootDirective | null {\n isDevMode() && assertInInjectionContext(injectTooltipRoot);\n return inject(RdxTooltipRootDirective, { optional });\n}\n","import { CdkOverlayOrigin } from '@angular/cdk/overlay';\nimport { computed, Directive, ElementRef, forwardRef, inject } from '@angular/core';\nimport { injectDocument } from '@radix-ng/primitives/core';\nimport { RdxTooltipAnchorToken } from './tooltip-anchor.token';\nimport { RdxTooltipRootDirective } from './tooltip-root.directive';\nimport { injectTooltipRoot } from './tooltip-root.inject';\n\n@Directive({\n selector: '[rdxTooltipAnchor]',\n exportAs: 'rdxTooltipAnchor',\n hostDirectives: [CdkOverlayOrigin],\n host: {\n type: 'button',\n '[attr.id]': 'name()',\n '[attr.aria-haspopup]': '\"dialog\"',\n '(click)': 'click()'\n },\n providers: [\n {\n provide: RdxTooltipAnchorToken,\n useExisting: forwardRef(() => RdxTooltipAnchorDirective)\n }\n ]\n})\nexport class RdxTooltipAnchorDirective {\n /**\n * @ignore\n * If outside the rootDirective then null, otherwise the rootDirective directive - with optional `true` passed in as the first param.\n * If outside the rootDirective and non-null value that means the html structure is wrong - tooltip inside tooltip.\n * */\n protected rootDirective = injectTooltipRoot(true);\n /** @ignore */\n readonly elementRef = inject(ElementRef);\n /** @ignore */\n readonly overlayOrigin = inject(CdkOverlayOrigin);\n /** @ignore */\n readonly document = injectDocument();\n\n /** @ignore */\n readonly name = computed(() => `rdx-tooltip-external-anchor-${this.rootDirective?.uniqueId()}`);\n\n /** @ignore */\n click(): void {\n this.emitOutsideClick();\n }\n\n /** @ignore */\n setRoot(root: RdxTooltipRootDirective) {\n this.rootDirective = root;\n }\n\n private emitOutsideClick() {\n if (!this.rootDirective?.isOpen() || this.rootDirective?.contentDirective().onOverlayOutsideClickDisabled()) {\n return;\n }\n const clickEvent = new MouseEvent('click', {\n view: this.document.defaultView,\n bubbles: true,\n cancelable: true,\n relatedTarget: this.elementRef.nativeElement\n });\n this.rootDirective?.triggerDirective().elementRef.nativeElement.dispatchEvent(clickEvent);\n }\n}\n","import { NumberInput } from '@angular/cdk/coercion';\nimport { ConnectedOverlayPositionChange } from '@angular/cdk/overlay';\nimport {\n afterNextRender,\n computed,\n Directive,\n effect,\n ElementRef,\n forwardRef,\n inject,\n input,\n numberAttribute,\n Renderer2,\n signal,\n untracked\n} from '@angular/core';\nimport { toSignal } from '@angular/core/rxjs-interop';\nimport {\n getArrowPositionParams,\n getSideAndAlignFromAllPossibleConnectedPositions,\n RDX_POSITIONING_DEFAULTS\n} from '@radix-ng/primitives/core';\nimport { RdxTooltipArrowToken } from './tooltip-arrow.token';\nimport { injectTooltipRoot } from './tooltip-root.inject';\n\n@Directive({\n selector: '[rdxTooltipArrow]',\n providers: [\n {\n provide: RdxTooltipArrowToken,\n useExisting: forwardRef(() => RdxTooltipArrowDirective)\n }\n ]\n})\nexport class RdxTooltipArrowDirective {\n /** @ignore */\n private readonly renderer = inject(Renderer2);\n /** @ignore */\n private readonly rootDirective = injectTooltipRoot();\n /** @ignore */\n readonly elementRef = inject(ElementRef);\n\n /**\n * @description The width of the arrow in pixels.\n * @default 10\n */\n readonly width = input<number, NumberInput>(RDX_POSITIONING_DEFAULTS.arrow.width, { transform: numberAttribute });\n\n /**\n * @description The height of the arrow in pixels.\n * @default 5\n */\n readonly height = input<number, NumberInput>(RDX_POSITIONING_DEFAULTS.arrow.height, { transform: numberAttribute });\n\n /** @ignore */\n readonly arrowSvgElement = computed<HTMLElement>(() => {\n const width = this.width();\n const height = this.height();\n\n const svgElement = this.renderer.createElement('svg', 'svg');\n this.renderer.setAttribute(svgElement, 'viewBox', '0 0 30 10');\n this.renderer.setAttribute(svgElement, 'width', String(width));\n this.renderer.setAttribute(svgElement, 'height', String(height));\n const polygonElement = this.renderer.createElement('polygon', 'svg');\n this.renderer.setAttribute(polygonElement, 'points', '0,0 30,0 15,10');\n this.renderer.setAttribute(svgElement, 'preserveAspectRatio', 'none');\n this.renderer.appendChild(svgElement, polygonElement);\n\n return svgElement;\n });\n\n /** @ignore */\n private readonly currentArrowSvgElement = signal<HTMLOrSVGElement | undefined>(void 0);\n /** @ignore */\n private readonly position = toSignal(this.rootDirective.contentDirective().positionChange());\n\n /** @ignore */\n private anchorOrTriggerRect: DOMRect;\n\n constructor() {\n afterNextRender({\n write: () => {\n if (this.elementRef.nativeElement.parentElement) {\n this.renderer.setStyle(this.elementRef.nativeElement.parentElement, 'position', 'relative');\n }\n this.renderer.setStyle(this.elementRef.nativeElement, 'position', 'absolute');\n this.renderer.setStyle(this.elementRef.nativeElement, 'boxSizing', '');\n this.renderer.setStyle(this.elementRef.nativeElement, 'fontSize', '0px');\n }\n });\n this.onArrowSvgElementChangeEffect();\n this.onContentPositionAndArrowDimensionsChangeEffect();\n }\n\n /** @ignore */\n private setAnchorOrTriggerRect() {\n this.anchorOrTriggerRect = (\n this.rootDirective.anchorDirective() ?? this.rootDirective.triggerDirective()\n ).elementRef.nativeElement.getBoundingClientRect();\n }\n\n /** @ignore */\n private setPosition(position: ConnectedOverlayPositionChange, arrowDimensions: { width: number; height: number }) {\n this.setAnchorOrTriggerRect();\n const posParams = getArrowPositionParams(\n getSideAndAlignFromAllPossibleConnectedPositions(position.connectionPair),\n { width: arrowDimensions.width, height: arrowDimensions.height },\n { width: this.anchorOrTriggerRect.width, height: this.anchorOrTriggerRect.height }\n );\n\n this.renderer.setStyle(this.elementRef.nativeElement, 'top', posParams.top);\n this.renderer.setStyle(this.elementRef.nativeElement, 'bottom', '');\n this.renderer.setStyle(this.elementRef.nativeElement, 'left', posParams.left);\n this.renderer.setStyle(this.elementRef.nativeElement, 'right', '');\n this.renderer.setStyle(this.elementRef.nativeElement, 'transform', posParams.transform);\n this.renderer.setStyle(this.elementRef.nativeElement, 'transformOrigin', posParams.transformOrigin);\n }\n\n /** @ignore */\n private onArrowSvgElementChangeEffect() {\n effect(() => {\n const arrowElement = this.arrowSvgElement();\n untracked(() => {\n const currentArrowSvgElement = this.currentArrowSvgElement();\n if (currentArrowSvgElement) {\n this.renderer.removeChild(this.elementRef.nativeElement, currentArrowSvgElement);\n }\n this.currentArrowSvgElement.set(arrowElement);\n this.renderer.setStyle(this.elementRef.nativeElement, 'width', `${this.width()}px`);\n this.renderer.setStyle(this.elementRef.nativeElement, 'height', `${this.height()}px`);\n this.renderer.appendChild(this.elementRef.nativeElement, this.currentArrowSvgElement());\n });\n });\n }\n\n /** @ignore */\n private onContentPositionAndArrowDimensionsChangeEffect() {\n effect(() => {\n const position = this.position();\n const arrowDimensions = { width: this.width(), height: this.height() };\n untracked(() => {\n if (!position) {\n return;\n }\n this.setPosition(position, arrowDimensions);\n });\n });\n }\n}\n","import { Directive, effect, ElementRef, forwardRef, inject, Renderer2, untracked } from '@angular/core';\nimport { RdxTooltipCloseToken } from './tooltip-close.token';\nimport { injectTooltipRoot } from './tooltip-root.inject';\n\n/**\n * TODO: to be removed? But it seems to be useful when controlled from outside\n */\n@Directive({\n selector: '[rdxTooltipClose]',\n host: {\n type: 'button',\n '(click)': 'rootDirective.handleClose(true)'\n },\n providers: [\n {\n provide: RdxTooltipCloseToken,\n useExisting: forwardRef(() => RdxTooltipCloseDirective)\n }\n ]\n})\nexport class RdxTooltipCloseDirective {\n /** @ignore */\n protected readonly rootDirective = injectTooltipRoot();\n /** @ignore */\n readonly elementRef = inject(ElementRef);\n /** @ignore */\n private readonly renderer = inject(Renderer2);\n\n constructor() {\n this.onIsControlledExternallyEffect();\n }\n\n /** @ignore */\n private onIsControlledExternallyEffect() {\n effect(() => {\n const isControlledExternally = this.rootDirective.controlledExternally()();\n\n untracked(() => {\n this.renderer.setStyle(\n this.elementRef.nativeElement,\n 'display',\n isControlledExternally ? null : 'none'\n );\n });\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, computed, forwardRef } from '@angular/core';\nimport { RdxTooltipContentAttributesToken } from './tooltip-content-attributes.token';\nimport { injectTooltipRoot } from './tooltip-root.inject';\nimport { RdxTooltipAnimationStatus, RdxTooltipState } from './tooltip.types';\n\n@Component({\n selector: '[rdxTooltipContentAttributes]',\n template: `\n <ng-content />\n `,\n host: {\n '[attr.role]': '\"dialog\"',\n '[attr.id]': 'name()',\n '[attr.data-state]': 'rootDirective.state()',\n '[attr.data-side]': 'rootDirective.contentDirective().side()',\n '[attr.data-align]': 'rootDirective.contentDirective().align()',\n '[style]': 'disableAnimation() ? {animation: \"none !important\"} : null',\n '(animationstart)': 'onAnimationStart($event)',\n '(animationend)': 'onAnimationEnd($event)'\n },\n providers: [\n {\n provide: RdxTooltipContentAttributesToken,\n useExisting: forwardRef(() => RdxTooltipContentAttributesComponent)\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class RdxTooltipContentAttributesComponent {\n /** @ignore */\n protected readonly rootDirective = injectTooltipRoot();\n\n /** @ignore */\n readonly name = computed(() => `rdx-tooltip-content-attributes-${this.rootDirective.uniqueId()}`);\n\n /** @ignore */\n readonly disableAnimation = computed(() => !this.canAnimate());\n\n /** @ignore */\n protected onAnimationStart(_: AnimationEvent) {\n this.rootDirective.cssAnimationStatus.set(\n this.rootDirective.state() === RdxTooltipState.OPEN\n ? RdxTooltipAnimationStatus.OPEN_STARTED\n : RdxTooltipAnimationStatus.CLOSED_STARTED\n );\n }\n\n /** @ignore */\n protected onAnimationEnd(_: AnimationEvent) {\n this.rootDirective.cssAnimationStatus.set(\n this.rootDirective.state() === RdxTooltipState.OPEN\n ? RdxTooltipAnimationStatus.OPEN_ENDED\n : RdxTooltipAnimationStatus.CLOSED_ENDED\n );\n }\n\n /** @ignore */\n private canAnimate() {\n return (\n this.rootDirective.cssAnimation() &&\n ((this.rootDirective.cssOpeningAnimation() && this.rootDirective.state() === RdxTooltipState.OPEN) ||\n (this.rootDirective.cssClosingAnimation() && this.rootDirective.state() === RdxTooltipState.CLOSED))\n );\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RdxTooltipAnchorDirective } from './src/tooltip-anchor.directive';\nimport { RdxTooltipArrowDirective } from './src/tooltip-arrow.directive';\nimport { RdxTooltipCloseDirective } from './src/tooltip-close.directive';\nimport { RdxTooltipContentAttributesComponent } from './src/tooltip-content-attributes.component';\nimport { RdxTooltipContentDirective } from './src/tooltip-content.directive';\nimport { RdxTooltipRootDirective } from './src/tooltip-root.directive';\nimport { RdxTooltipTriggerDirective } from './src/tooltip-trigger.directive';\n\nexport * from './src/tooltip-anchor.directive';\nexport * from './src/tooltip-arrow.directive';\nexport * from './src/tooltip-close.directive';\nexport * from './src/tooltip-content-attributes.component';\nexport * from './src/tooltip-content.directive';\nexport * from './src/tooltip-root.directive';\nexport * from './src/tooltip-trigger.directive';\n\nconst _imports = [\n RdxTooltipArrowDirective,\n RdxTooltipCloseDirective,\n RdxTooltipContentDirective,\n RdxTooltipTriggerDirective,\n RdxTooltipRootDirective,\n RdxTooltipAnchorDirective,\n RdxTooltipContentAttributesComponent\n];\n\n@NgModule({\n imports: [..._imports],\n exports: [..._imports]\n})\nexport class RdxTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAGO,MAAM,qBAAqB,GAAG,IAAI,cAAc,CAA4B,uBAAuB,CAAC;;ACApG,MAAM,oBAAoB,GAAG,IAAI,cAAc,CAA2B,sBAAsB,CAAC;;ACAjG,MAAM,oBAAoB,GAAG,IAAI,cAAc,CAA2B,sBAAsB,CAAC;;ACAjG,MAAM,gCAAgC,GAAG,IAAI,cAAc,CAC9D,kCAAkC,CACrC;;ACLD,IAAY,eAGX;AAHD,CAAA,UAAY,eAAe,EAAA;AACvB,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACrB,CAAC,EAHW,eAAe,KAAf,eAAe,GAG1B,EAAA,CAAA,CAAA;AAED,IAAY,gBAGX;AAHD,CAAA,UAAY,gBAAgB,EAAA;AACxB,IAAA,gBAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,gBAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACnB,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,GAG3B,EAAA,CAAA,CAAA;AAED,IAAY,2BAGX;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AACxB,iBAAA;;;AC9BD;;AAEG;;;;"}
|
package/package.json
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { NumberInput } from '@angular/cdk/coercion';
|
1
2
|
import { ElementRef } from '@angular/core';
|
2
3
|
import * as i0 from "@angular/core";
|
3
4
|
export declare class RdxPopoverArrowDirective {
|
@@ -11,12 +12,12 @@ export declare class RdxPopoverArrowDirective {
|
|
11
12
|
* @description The width of the arrow in pixels.
|
12
13
|
* @default 10
|
13
14
|
*/
|
14
|
-
readonly width: import("@angular/core").
|
15
|
+
readonly width: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
15
16
|
/**
|
16
17
|
* @description The height of the arrow in pixels.
|
17
18
|
* @default 5
|
18
19
|
*/
|
19
|
-
readonly height: import("@angular/core").
|
20
|
+
readonly height: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
20
21
|
/** @ignore */
|
21
22
|
readonly arrowSvgElement: import("@angular/core").Signal<HTMLElement>;
|
22
23
|
/** @ignore */
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
1
2
|
import { OnInit } from '@angular/core';
|
2
3
|
import { RdxPositionAlign, RdxPositionSide } from '@radix-ng/primitives/core';
|
3
4
|
import * as i0 from "@angular/core";
|
@@ -24,7 +25,7 @@ export declare class RdxPopoverContentDirective implements OnInit {
|
|
24
25
|
* @description The distance in pixels from the trigger.
|
25
26
|
* @default undefined
|
26
27
|
*/
|
27
|
-
readonly sideOffset: import("@angular/core").
|
28
|
+
readonly sideOffset: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
28
29
|
/**
|
29
30
|
* @description The preferred alignment against the trigger. May change when collisions occur.
|
30
31
|
* @default center
|
@@ -34,16 +35,16 @@ export declare class RdxPopoverContentDirective implements OnInit {
|
|
34
35
|
* @description An offset in pixels from the "start" or "end" alignment options.
|
35
36
|
* @default undefined
|
36
37
|
*/
|
37
|
-
readonly alignOffset: import("@angular/core").
|
38
|
+
readonly alignOffset: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
38
39
|
/**
|
39
40
|
* @description Whether to add some alternate positions of the content.
|
40
41
|
* @default false
|
41
42
|
*/
|
42
|
-
readonly alternatePositionsDisabled: import("@angular/core").
|
43
|
+
readonly alternatePositionsDisabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
43
44
|
/** @description Whether to prevent `onOverlayEscapeKeyDown` handler from calling. */
|
44
|
-
readonly onOverlayEscapeKeyDownDisabled: import("@angular/core").
|
45
|
+
readonly onOverlayEscapeKeyDownDisabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
45
46
|
/** @description Whether to prevent `onOverlayOutsideClick` handler from calling. */
|
46
|
-
readonly onOverlayOutsideClickDisabled: import("@angular/core").
|
47
|
+
readonly onOverlayOutsideClickDisabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
47
48
|
/**
|
48
49
|
* @description Event handler called when the escape key is down.
|
49
50
|
* It can be prevented by setting `onOverlayEscapeKeyDownDisabled` input to `true`.
|
@@ -19,17 +19,17 @@ export declare class RdxPopoverRootDirective {
|
|
19
19
|
* @description The open state of the popover when it is initially rendered. Use when you do not need to control its open state.
|
20
20
|
* @default false
|
21
21
|
*/
|
22
|
-
readonly defaultOpen: import("@angular/core").
|
22
|
+
readonly defaultOpen: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
23
23
|
/**
|
24
24
|
* @description The controlled state of the popover. `open` input take precedence of `defaultOpen` input.
|
25
25
|
* @default undefined
|
26
26
|
*/
|
27
|
-
readonly open: import("@angular/core").
|
27
|
+
readonly open: import("@angular/core").InputSignalWithTransform<boolean | undefined, BooleanInput>;
|
28
28
|
/**
|
29
29
|
* @description Whether to control the state of the popover from external. Use in conjunction with `open` input.
|
30
30
|
* @default undefined
|
31
31
|
*/
|
32
|
-
readonly externalControl: import("@angular/core").
|
32
|
+
readonly externalControl: import("@angular/core").InputSignalWithTransform<boolean | undefined, BooleanInput>;
|
33
33
|
/**
|
34
34
|
* @description Whether to take into account CSS opening/closing animations.
|
35
35
|
* @default false
|
@@ -70,7 +70,7 @@ export declare class RdxPopoverRootDirective {
|
|
70
70
|
window: Window & typeof globalThis;
|
71
71
|
primitiveConfigs?: import("./utils/types").PrimitiveConfigs;
|
72
72
|
onDestroyCallbacks: Set<() => void>;
|
73
|
-
"__#
|
73
|
+
"__#6181@#clickDomRootEventCallbacks": Set<(event: MouseEvent) => void>;
|
74
74
|
registerPrimitive<T extends object>(primitiveInstance: T): void;
|
75
75
|
deregisterPrimitive<T extends object>(primitiveInstance: T): void;
|
76
76
|
preventPrimitiveFromCdkEvent<T extends object>(primitiveInstance: T, eventType: import("./utils/types").EventType): void;
|
@@ -81,9 +81,9 @@ export declare class RdxPopoverRootDirective {
|
|
81
81
|
primitivePreventedFromCdkEvent<T extends object>(primitiveInstance: T, eventType: import("./utils/types").EventType): boolean | undefined;
|
82
82
|
addClickDomRootEventCallback(callback: (event: MouseEvent) => void): void;
|
83
83
|
removeClickDomRootEventCallback(callback: (event: MouseEvent) => void): boolean;
|
84
|
-
"__#
|
85
|
-
"__#
|
86
|
-
"__#
|
84
|
+
"__#6181@#setPreventPrimitiveFromCdkEvent"<T extends object, R extends import("./utils/types").EventType, K extends import("./utils/types").PrimitiveConfig[`prevent${Capitalize<R>}`]>(primitiveInstance: T, eventType: R, value: K): void;
|
85
|
+
"__#6181@#registerOnDestroyCallbacks"(): void;
|
86
|
+
"__#6181@#listenToClickDomRootEvent"(): void;
|
87
87
|
} | null;
|
88
88
|
/** @ignore */
|
89
89
|
readonly destroyRef: DestroyRef;
|
@@ -107,7 +107,7 @@ export declare class RdxPopoverRootDirective {
|
|
107
107
|
canEmitOnOpenOrOnClosed: boolean;
|
108
108
|
};
|
109
109
|
/** @ignore */
|
110
|
-
controlledExternally(): import("@angular/core").
|
110
|
+
controlledExternally(): import("@angular/core").InputSignalWithTransform<boolean | undefined, BooleanInput>;
|
111
111
|
/** @ignore */
|
112
112
|
firstDefaultOpen(): boolean;
|
113
113
|
/** @ignore */
|
package/tooltip/README.md
CHANGED
package/tooltip/index.d.ts
CHANGED
@@ -1,17 +1,20 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./src/tooltip-arrow.directive";
|
3
|
-
import * as i2 from "./src/tooltip-
|
4
|
-
import * as i3 from "./src/tooltip-
|
5
|
-
import * as i4 from "./src/tooltip-
|
3
|
+
import * as i2 from "./src/tooltip-close.directive";
|
4
|
+
import * as i3 from "./src/tooltip-content.directive";
|
5
|
+
import * as i4 from "./src/tooltip-trigger.directive";
|
6
6
|
import * as i5 from "./src/tooltip-root.directive";
|
7
|
+
import * as i6 from "./src/tooltip-anchor.directive";
|
8
|
+
import * as i7 from "./src/tooltip-content-attributes.component";
|
9
|
+
export * from './src/tooltip-anchor.directive';
|
7
10
|
export * from './src/tooltip-arrow.directive';
|
8
|
-
export * from './src/tooltip-
|
11
|
+
export * from './src/tooltip-close.directive';
|
12
|
+
export * from './src/tooltip-content-attributes.component';
|
9
13
|
export * from './src/tooltip-content.directive';
|
10
14
|
export * from './src/tooltip-root.directive';
|
11
15
|
export * from './src/tooltip-trigger.directive';
|
12
|
-
export * from './src/tooltip.types';
|
13
16
|
export declare class RdxTooltipModule {
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipModule, never>;
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxTooltipModule, never, [typeof i1.RdxTooltipArrowDirective, typeof i2.
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxTooltipModule, never, [typeof i1.RdxTooltipArrowDirective, typeof i2.RdxTooltipCloseDirective, typeof i3.RdxTooltipContentDirective, typeof i4.RdxTooltipTriggerDirective, typeof i5.RdxTooltipRootDirective, typeof i6.RdxTooltipAnchorDirective, typeof i7.RdxTooltipContentAttributesComponent], [typeof i1.RdxTooltipArrowDirective, typeof i2.RdxTooltipCloseDirective, typeof i3.RdxTooltipContentDirective, typeof i4.RdxTooltipTriggerDirective, typeof i5.RdxTooltipRootDirective, typeof i6.RdxTooltipAnchorDirective, typeof i7.RdxTooltipContentAttributesComponent]>;
|
16
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<RdxTooltipModule>;
|
17
20
|
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { CdkOverlayOrigin } from '@angular/cdk/overlay';
|
2
|
+
import { ElementRef } from '@angular/core';
|
3
|
+
import { RdxTooltipRootDirective } from './tooltip-root.directive';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "@angular/cdk/overlay";
|
6
|
+
export declare class RdxTooltipAnchorDirective {
|
7
|
+
/**
|
8
|
+
* @ignore
|
9
|
+
* If outside the rootDirective then null, otherwise the rootDirective directive - with optional `true` passed in as the first param.
|
10
|
+
* If outside the rootDirective and non-null value that means the html structure is wrong - tooltip inside tooltip.
|
11
|
+
* */
|
12
|
+
protected rootDirective: RdxTooltipRootDirective | null;
|
13
|
+
/** @ignore */
|
14
|
+
readonly elementRef: ElementRef<any>;
|
15
|
+
/** @ignore */
|
16
|
+
readonly overlayOrigin: CdkOverlayOrigin;
|
17
|
+
/** @ignore */
|
18
|
+
readonly document: Document;
|
19
|
+
/** @ignore */
|
20
|
+
readonly name: import("@angular/core").Signal<string>;
|
21
|
+
/** @ignore */
|
22
|
+
click(): void;
|
23
|
+
/** @ignore */
|
24
|
+
setRoot(root: RdxTooltipRootDirective): void;
|
25
|
+
private emitOutsideClick;
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipAnchorDirective, never>;
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipAnchorDirective, "[rdxTooltipAnchor]", ["rdxTooltipAnchor"], {}, {}, never, never, true, [{ directive: typeof i1.CdkOverlayOrigin; inputs: {}; outputs: {}; }]>;
|
28
|
+
}
|
@@ -1,38 +1,40 @@
|
|
1
|
+
import { NumberInput } from '@angular/cdk/coercion';
|
2
|
+
import { ElementRef } from '@angular/core';
|
1
3
|
import * as i0 from "@angular/core";
|
2
4
|
export declare class RdxTooltipArrowDirective {
|
3
|
-
/** @ignore */
|
4
|
-
readonly tooltipRoot: import("./tooltip-root.directive").RdxTooltipRootDirective;
|
5
5
|
/** @ignore */
|
6
6
|
private readonly renderer;
|
7
7
|
/** @ignore */
|
8
|
-
private readonly
|
8
|
+
private readonly rootDirective;
|
9
9
|
/** @ignore */
|
10
|
-
|
10
|
+
readonly elementRef: ElementRef<any>;
|
11
11
|
/**
|
12
|
-
* The width of the arrow in pixels.
|
12
|
+
* @description The width of the arrow in pixels.
|
13
|
+
* @default 10
|
13
14
|
*/
|
14
|
-
readonly width: import("@angular/core").
|
15
|
+
readonly width: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
15
16
|
/**
|
16
|
-
* The height of the arrow in pixels.
|
17
|
+
* @description The height of the arrow in pixels.
|
18
|
+
* @default 5
|
17
19
|
*/
|
18
|
-
readonly height: import("@angular/core").
|
19
|
-
/**
|
20
|
-
|
21
|
-
* */
|
22
|
-
private triggerRect;
|
20
|
+
readonly height: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
21
|
+
/** @ignore */
|
22
|
+
readonly arrowSvgElement: import("@angular/core").Signal<HTMLElement>;
|
23
23
|
/** @ignore */
|
24
24
|
private readonly currentArrowSvgElement;
|
25
25
|
/** @ignore */
|
26
|
-
readonly
|
26
|
+
private readonly position;
|
27
|
+
/** @ignore */
|
28
|
+
private anchorOrTriggerRect;
|
27
29
|
constructor();
|
28
30
|
/** @ignore */
|
29
|
-
private
|
31
|
+
private setAnchorOrTriggerRect;
|
30
32
|
/** @ignore */
|
31
33
|
private setPosition;
|
32
34
|
/** @ignore */
|
33
|
-
private
|
35
|
+
private onArrowSvgElementChangeEffect;
|
34
36
|
/** @ignore */
|
35
|
-
private
|
37
|
+
private onContentPositionAndArrowDimensionsChangeEffect;
|
36
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipArrowDirective, never>;
|
37
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipArrowDirective, "[rdxTooltipArrow]", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
38
40
|
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
/**
|
4
|
+
* TODO: to be removed? But it seems to be useful when controlled from outside
|
5
|
+
*/
|
6
|
+
export declare class RdxTooltipCloseDirective {
|
7
|
+
/** @ignore */
|
8
|
+
protected readonly rootDirective: import("@radix-ng/primitives/tooltip").RdxTooltipRootDirective;
|
9
|
+
/** @ignore */
|
10
|
+
readonly elementRef: ElementRef<any>;
|
11
|
+
/** @ignore */
|
12
|
+
private readonly renderer;
|
13
|
+
constructor();
|
14
|
+
/** @ignore */
|
15
|
+
private onIsControlledExternallyEffect;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxTooltipCloseDirective, never>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxTooltipCloseDirective, "[rdxTooltipClose]", never, {}, {}, never, never, true, never>;
|
18
|
+
}
|