@radix-ng/primitives 0.16.0 → 0.18.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/checkbox/src/checkbox-input.directive.d.ts +2 -1
- package/compodoc/documentation.json +7419 -2200
- package/esm2022/accordion/index.mjs +4 -4
- package/esm2022/accordion/src/accordion-content.directive.mjs +3 -3
- package/esm2022/accordion/src/accordion-header.directive.mjs +3 -3
- package/esm2022/accordion/src/accordion-item.directive.mjs +3 -3
- package/esm2022/accordion/src/accordion-root.directive.mjs +3 -3
- package/esm2022/accordion/src/accordion-trigger.directive.mjs +3 -3
- package/esm2022/alert-dialog/index.mjs +4 -4
- package/esm2022/alert-dialog/src/alert-dialog-cancel.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-content.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-root.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-title.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog-trigger.directive.mjs +3 -3
- package/esm2022/alert-dialog/src/alert-dialog.service.mjs +3 -3
- package/esm2022/aspect-ratio/src/aspect-ratio.directive.mjs +3 -3
- package/esm2022/avatar/src/avatar-fallback.directive.mjs +3 -3
- package/esm2022/avatar/src/avatar-image.directive.mjs +3 -3
- package/esm2022/avatar/src/avatar-root.directive.mjs +3 -3
- package/esm2022/checkbox/src/checkbox-button.directive.mjs +3 -3
- package/esm2022/checkbox/src/checkbox-indicator.directive.mjs +3 -3
- package/esm2022/checkbox/src/checkbox-input.directive.mjs +7 -4
- package/esm2022/checkbox/src/checkbox.directive.mjs +3 -3
- package/esm2022/collapsible/src/collapsible-content.directive.mjs +3 -3
- package/esm2022/collapsible/src/collapsible-root.directive.mjs +3 -3
- package/esm2022/collapsible/src/collapsible-trigger.directive.mjs +3 -3
- package/esm2022/context-menu/index.mjs +4 -4
- package/esm2022/context-menu/src/context-menu-content.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-item-checkbox.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-item-indicator.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-item-radio-group.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-item-radio.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-item-selectable.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-item.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-label.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-separator.directive.mjs +3 -3
- package/esm2022/context-menu/src/context-menu-trigger.directive.mjs +3 -3
- package/esm2022/core/src/auto-focus.directive.mjs +3 -3
- package/esm2022/dialog/index.mjs +4 -4
- package/esm2022/dialog/src/dialog-close.directive.mjs +3 -3
- package/esm2022/dialog/src/dialog-content.directive.mjs +3 -3
- package/esm2022/dialog/src/dialog-description.directive.mjs +3 -3
- package/esm2022/dialog/src/dialog-dismiss.directive.mjs +3 -3
- package/esm2022/dialog/src/dialog-title.directive.mjs +3 -3
- package/esm2022/dialog/src/dialog-trigger.directive.mjs +3 -3
- package/esm2022/dialog/src/dialog.service.mjs +3 -3
- package/esm2022/dropdown-menu/index.mjs +4 -4
- package/esm2022/dropdown-menu/src/dropdown-menu-content.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-item-checkbox.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-item-indicator.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-item-radio-group.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-item-radio.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-item-selectable.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-item.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-label.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-separator.directive.mjs +3 -3
- package/esm2022/dropdown-menu/src/dropdown-menu-trigger.directive.mjs +3 -3
- package/esm2022/label/src/label.directive.mjs +3 -3
- package/esm2022/menu/index.mjs +4 -4
- package/esm2022/menu/src/menu-content.directive.mjs +3 -3
- package/esm2022/menu/src/menu-directive.mjs +3 -3
- package/esm2022/menu/src/menu-group.directive.mjs +3 -3
- package/esm2022/menu/src/menu-item.directive.mjs +3 -3
- package/esm2022/menu/src/menu-label.directive.mjs +3 -3
- package/esm2022/menu/src/menu-separator.directive.mjs +3 -3
- package/esm2022/menubar/index.mjs +4 -4
- package/esm2022/menubar/src/menubar-content.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-item-checkbox.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-item-indicator.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-item-radio.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-item.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-radio-group.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-root.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-separator.directive.mjs +3 -3
- package/esm2022/menubar/src/menubar-trigger.directive.mjs +3 -3
- package/esm2022/progress/index.mjs +4 -4
- package/esm2022/progress/src/progress-indicator.directive.mjs +3 -3
- package/esm2022/progress/src/progress-root.directive.mjs +3 -3
- package/esm2022/radio/src/radio-indicator.directive.mjs +3 -3
- package/esm2022/radio/src/radio-item.directive.mjs +3 -3
- package/esm2022/radio/src/radio-root.directive.mjs +3 -3
- package/esm2022/select/index.mjs +65 -0
- package/esm2022/select/radix-ng-primitives-select.mjs +5 -0
- package/esm2022/select/src/select-content.directive.mjs +53 -0
- package/esm2022/select/src/select-group.directive.mjs +18 -0
- package/esm2022/select/src/select-icon.directive.mjs +18 -0
- package/esm2022/select/src/select-item-indicator.directive.mjs +23 -0
- package/esm2022/select/src/select-item.directive.mjs +116 -0
- package/esm2022/select/src/select-label.directive.mjs +15 -0
- package/esm2022/select/src/select-separator.directive.mjs +18 -0
- package/esm2022/select/src/select-trigger.directive.mjs +38 -0
- package/esm2022/select/src/select-value.directive.mjs +21 -0
- package/esm2022/select/src/select.component.mjs +234 -0
- package/esm2022/separator/src/separator.directive.mjs +3 -3
- package/esm2022/slider/index.mjs +28 -0
- package/esm2022/slider/radix-ng-primitives-slider.mjs +5 -0
- package/esm2022/slider/src/slider-horizontal.component.mjs +117 -0
- package/esm2022/slider/src/slider-impl.directive.mjs +89 -0
- package/esm2022/slider/src/slider-orientation-context.service.mjs +28 -0
- package/esm2022/slider/src/slider-range.component.mjs +41 -0
- package/esm2022/slider/src/slider-root.component.mjs +207 -0
- package/esm2022/slider/src/slider-thumb-impl.directive.mjs +102 -0
- package/esm2022/slider/src/slider-thumb.component.mjs +22 -0
- package/esm2022/slider/src/slider-track.component.mjs +27 -0
- package/esm2022/slider/src/slider-vertical.component.mjs +117 -0
- package/esm2022/slider/src/utils.mjs +94 -0
- package/esm2022/switch/index.mjs +4 -4
- package/esm2022/switch/src/switch-input.directive.mjs +3 -3
- package/esm2022/switch/src/switch-root.directive.mjs +3 -3
- package/esm2022/switch/src/switch-thumb.directive.mjs +3 -3
- package/esm2022/tabs/index.mjs +4 -4
- package/esm2022/tabs/src/tabs-content.directive.mjs +3 -3
- package/esm2022/tabs/src/tabs-context.service.mjs +3 -3
- package/esm2022/tabs/src/tabs-list.directive.mjs +3 -3
- package/esm2022/tabs/src/tabs-root.directive.mjs +3 -3
- package/esm2022/tabs/src/tabs-trigger.directive.mjs +3 -3
- package/esm2022/toggle/src/toggle-input.directive.mjs +3 -3
- package/esm2022/toggle/src/toggle.directive.mjs +3 -3
- package/esm2022/toggle-group/src/toggle-group-item.directive.mjs +3 -3
- package/esm2022/toggle-group/src/toggle-group-multiple.directive.mjs +3 -3
- package/esm2022/toggle-group/src/toggle-group.directive.mjs +3 -3
- package/esm2022/tooltip/index.mjs +41 -0
- package/esm2022/tooltip/radix-ng-primitives-tooltip.mjs +5 -0
- package/esm2022/tooltip/src/get-content-position.mjs +31 -0
- package/esm2022/tooltip/src/tooltip-arrow.directive.mjs +92 -0
- package/esm2022/tooltip/src/tooltip-arrow.token.mjs +3 -0
- package/esm2022/tooltip/src/tooltip-content-attributes.directive.mjs +24 -0
- package/esm2022/tooltip/src/tooltip-content.directive.mjs +48 -0
- package/esm2022/tooltip/src/tooltip-content.token.mjs +3 -0
- package/esm2022/tooltip/src/tooltip-root.directive.mjs +288 -0
- package/esm2022/tooltip/src/tooltip-trigger.directive.mjs +70 -0
- package/esm2022/tooltip/src/tooltip.config.mjs +18 -0
- package/esm2022/tooltip/src/tooltip.constants.mjs +84 -0
- package/esm2022/tooltip/src/tooltip.types.mjs +14 -0
- package/esm2022/visually-hidden/src/visually-hidden-input-bubble.directive.mjs +3 -3
- package/esm2022/visually-hidden/src/visually-hidden-input.directive.mjs +3 -3
- package/esm2022/visually-hidden/src/visually-hidden.directive.mjs +3 -3
- package/fesm2022/radix-ng-primitives-accordion.mjs +19 -19
- package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
- package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +3 -3
- package/fesm2022/radix-ng-primitives-avatar.mjs +9 -9
- package/fesm2022/radix-ng-primitives-checkbox.mjs +15 -12
- package/fesm2022/radix-ng-primitives-checkbox.mjs.map +1 -1
- package/fesm2022/radix-ng-primitives-collapsible.mjs +9 -9
- package/fesm2022/radix-ng-primitives-context-menu.mjs +34 -34
- package/fesm2022/radix-ng-primitives-core.mjs +3 -3
- package/fesm2022/radix-ng-primitives-dialog.mjs +25 -25
- package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +34 -34
- package/fesm2022/radix-ng-primitives-label.mjs +3 -3
- package/fesm2022/radix-ng-primitives-menu.mjs +22 -22
- package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
- package/fesm2022/radix-ng-primitives-progress.mjs +10 -10
- package/fesm2022/radix-ng-primitives-radio.mjs +9 -9
- package/fesm2022/radix-ng-primitives-select.mjs +572 -0
- package/fesm2022/radix-ng-primitives-select.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-separator.mjs +3 -3
- package/fesm2022/radix-ng-primitives-slider.mjs +830 -0
- package/fesm2022/radix-ng-primitives-slider.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-switch.mjs +13 -13
- package/fesm2022/radix-ng-primitives-tabs.mjs +19 -19
- package/fesm2022/radix-ng-primitives-toggle-group.mjs +9 -9
- package/fesm2022/radix-ng-primitives-toggle.mjs +6 -6
- package/fesm2022/radix-ng-primitives-tooltip.mjs +684 -0
- package/fesm2022/radix-ng-primitives-tooltip.mjs.map +1 -0
- package/fesm2022/radix-ng-primitives-visually-hidden.mjs +9 -9
- package/package.json +19 -1
- package/select/README.md +1 -0
- package/select/index.d.ts +26 -0
- package/select/src/select-content.directive.d.ts +20 -0
- package/select/src/select-group.directive.d.ts +5 -0
- package/select/src/select-icon.directive.d.ts +5 -0
- package/select/src/select-item-indicator.directive.d.ts +7 -0
- package/select/src/select-item.directive.d.ts +47 -0
- package/select/src/select-label.directive.d.ts +5 -0
- package/select/src/select-separator.directive.d.ts +5 -0
- package/select/src/select-trigger.directive.d.ts +11 -0
- package/select/src/select-value.directive.d.ts +8 -0
- package/select/src/select.component.d.ts +81 -0
- package/slider/README.md +1 -0
- package/slider/index.d.ts +18 -0
- package/slider/src/slider-horizontal.component.d.ts +29 -0
- package/slider/src/slider-impl.directive.d.ts +18 -0
- package/slider/src/slider-orientation-context.service.d.ts +14 -0
- package/slider/src/slider-range.component.d.ts +13 -0
- package/slider/src/slider-root.component.d.ts +47 -0
- package/slider/src/slider-thumb-impl.directive.d.ts +26 -0
- package/slider/src/slider-thumb.component.d.ts +6 -0
- package/slider/src/slider-track.component.d.ts +7 -0
- package/slider/src/slider-vertical.component.d.ts +29 -0
- package/slider/src/utils.d.ts +52 -0
- package/tooltip/README.md +1 -0
- package/tooltip/index.d.ts +17 -0
- package/tooltip/src/get-content-position.d.ts +3 -0
- package/tooltip/src/tooltip-arrow.directive.d.ts +25 -0
- package/tooltip/src/tooltip-arrow.token.d.ts +3 -0
- package/tooltip/src/tooltip-content-attributes.directive.d.ts +8 -0
- package/tooltip/src/tooltip-content.directive.d.ts +36 -0
- package/tooltip/src/tooltip-content.token.d.ts +3 -0
- package/tooltip/src/tooltip-root.directive.d.ts +103 -0
- package/tooltip/src/tooltip-trigger.directive.d.ts +26 -0
- package/tooltip/src/tooltip.config.d.ts +6 -0
- package/tooltip/src/tooltip.constants.d.ts +9 -0
- package/tooltip/src/tooltip.types.d.ts +18 -0
@@ -0,0 +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.types.ts","../../../packages/primitives/tooltip/src/tooltip-arrow.directive.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-content-attributes.directive.ts","../../../packages/primitives/tooltip/src/tooltip.constants.ts","../../../packages/primitives/tooltip/src/get-content-position.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","export enum RdxTooltipSide {\n Top = 'top',\n Right = 'right',\n Bottom = 'bottom',\n Left = 'left'\n}\n\nexport enum RdxTooltipAlign {\n Start = 'start',\n Center = 'center',\n End = 'end'\n}\n\nexport type RdxTooltipConfig = {\n delayDuration: number;\n skipDelayDuration: number;\n disableHoverableContent?: boolean;\n hideDelayDuration?: number;\n};\n\nexport type RdxTooltipState = 'delayed-open' | 'instant-open' | 'closed';\n","import { computed, Directive, effect, ElementRef, forwardRef, inject, input, Renderer2 } from '@angular/core';\nimport { RdxTooltipArrowToken } from './tooltip-arrow.token';\nimport { RdxTooltipContentToken } from './tooltip-content.token';\nimport { RdxTooltipSide } from './tooltip.types';\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 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 /** @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 onArrowSvgElementChangeEffect = effect(() => {\n const arrowElement = this.arrowSvgElement();\n\n this.renderer.appendChild(this.elementRef.nativeElement, arrowElement);\n });\n\n /** @ignore */\n private readonly onSideChangeEffect = effect(() => {\n const side = this.contentDirective.side();\n\n this.elementRef.nativeElement.parentElement?.setAttribute('style', `position: relative;`);\n this.elementRef.nativeElement.style.position = 'absolute';\n this.elementRef.nativeElement.style.boxSizing = '';\n this.elementRef.nativeElement.style.width = `${this.width()}px`;\n this.elementRef.nativeElement.style.height = `${this.height()}px`;\n this.elementRef.nativeElement.style.fontSize = '0px';\n\n if ([RdxTooltipSide.Top, RdxTooltipSide.Bottom].includes(side)) {\n this.elementRef.nativeElement.style.left = `calc(50% - ${this.width() / 2}px)`;\n this.elementRef.nativeElement.style.top = '100%';\n\n if (side === RdxTooltipSide.Bottom) {\n this.elementRef.nativeElement.style.transform = 'rotate(180deg)';\n this.elementRef.nativeElement.style.top = `-${this.height()}px`;\n }\n }\n\n if ([RdxTooltipSide.Left, RdxTooltipSide.Right].includes(side)) {\n this.elementRef.nativeElement.style.top = `calc(50% - ${this.height() / 2}px)`;\n\n if (side === RdxTooltipSide.Left) {\n this.elementRef.nativeElement.style.left = `100%`;\n this.elementRef.nativeElement.style.transform = 'rotate(-90deg) translate(0, -50%)';\n }\n\n if (side === RdxTooltipSide.Right) {\n this.elementRef.nativeElement.style.right = `100%`;\n this.elementRef.nativeElement.style.transform = 'rotate(90deg) translate(0, -50%)';\n }\n }\n });\n}\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 { DOCUMENT, isPlatformBrowser } from '@angular/common';\nimport {\n computed,\n contentChild,\n DestroyRef,\n Directive,\n effect,\n ElementRef,\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 { 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 = inject(DOCUMENT);\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 tooltipTriggerElementRef = contentChild.required(RdxTooltipTriggerDirective, { read: ElementRef });\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 = 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 = 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.tooltipTriggerElementRef())\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 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 { 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 { ConnectionPositionPair } from '@angular/cdk/overlay';\nimport { RdxTooltipAlign, RdxTooltipSide } from './tooltip.types';\n\ntype TooltipPositions = {\n [key in RdxTooltipSide]: {\n [key in RdxTooltipAlign]: ConnectionPositionPair;\n };\n};\n\nexport const TOOLTIP_POSITIONS: TooltipPositions = {\n [RdxTooltipSide.Top]: {\n [RdxTooltipAlign.Center]: {\n originX: 'center',\n originY: 'top',\n overlayX: 'center',\n overlayY: 'bottom'\n },\n [RdxTooltipAlign.Start]: {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'bottom'\n },\n [RdxTooltipAlign.End]: {\n originX: 'end',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'bottom'\n }\n },\n [RdxTooltipSide.Right]: {\n [RdxTooltipAlign.Center]: {\n originX: 'end',\n originY: 'center',\n overlayX: 'start',\n overlayY: 'center'\n },\n [RdxTooltipAlign.Start]: {\n originX: 'end',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'top'\n },\n [RdxTooltipAlign.End]: {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'bottom'\n }\n },\n [RdxTooltipSide.Bottom]: {\n [RdxTooltipAlign.Center]: {\n originX: 'center',\n originY: 'bottom',\n overlayX: 'center',\n overlayY: 'top'\n },\n [RdxTooltipAlign.Start]: {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'top'\n },\n [RdxTooltipAlign.End]: {\n originX: 'end',\n originY: 'bottom',\n overlayX: 'end',\n overlayY: 'top'\n }\n },\n [RdxTooltipSide.Left]: {\n [RdxTooltipAlign.Center]: {\n originX: 'start',\n originY: 'center',\n overlayX: 'end',\n overlayY: 'center'\n },\n [RdxTooltipAlign.Start]: {\n originX: 'start',\n originY: 'top',\n overlayX: 'end',\n overlayY: 'top'\n },\n [RdxTooltipAlign.End]: {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'end',\n overlayY: 'bottom'\n }\n }\n};\n","import { ConnectedPosition } from '@angular/cdk/overlay';\nimport { TOOLTIP_POSITIONS } from './tooltip.constants';\nimport { RdxTooltipAlign, RdxTooltipSide } from './tooltip.types';\n\nexport function getContentPosition(\n side: RdxTooltipSide,\n align: RdxTooltipAlign,\n sideOffset: number,\n alignOffset: number\n): ConnectedPosition {\n const position = TOOLTIP_POSITIONS[side][align] ?? TOOLTIP_POSITIONS[RdxTooltipSide.Top][RdxTooltipAlign.Center];\n\n if (sideOffset > 0) {\n let xFactor = 0;\n let yFactor = 0;\n\n switch (side) {\n case RdxTooltipSide.Top:\n yFactor = -1;\n break;\n case RdxTooltipSide.Bottom:\n yFactor = 1;\n break;\n case RdxTooltipSide.Left:\n xFactor = -1;\n break;\n case RdxTooltipSide.Right:\n xFactor = 1;\n break;\n }\n\n position.offsetX = xFactor * sideOffset;\n position.offsetY = yFactor * sideOffset;\n }\n\n if ([RdxTooltipAlign.Start, RdxTooltipAlign.End].includes(align) && alignOffset) {\n const alignOffsetFactor = align === RdxTooltipAlign.End ? -1 : 1;\n\n position.offsetX = alignOffsetFactor * alignOffset;\n }\n\n return position;\n}\n","import { ConnectedPosition } from '@angular/cdk/overlay';\nimport { computed, Directive, forwardRef, inject, input, output, TemplateRef } from '@angular/core';\nimport { getContentPosition } from './get-content-position';\nimport { RdxTooltipContentToken } from './tooltip-content.token';\nimport { RdxTooltipAlign, RdxTooltipSide } from './tooltip.types';\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<RdxTooltipSide>(RdxTooltipSide.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<RdxTooltipAlign>(RdxTooltipAlign.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<ConnectedPosition>(() =>\n getContentPosition(this.side(), this.align(), this.sideOffset(), this.alignOffset())\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;;ICHlG;AAAZ,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AACX,IAAA,cAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,cAAA,CAAA,QAAA,CAAA,GAAA,QAAiB;AACjB,IAAA,cAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACjB,CAAC,EALW,cAAc,KAAd,cAAc,GAKzB,EAAA,CAAA,CAAA;IAEW;AAAZ,CAAA,UAAY,e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AAA,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;gHAOd,gBAAgB,EAAA,CAAA,CAAA;;4FAAhB,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;;;;"}
|
@@ -14,10 +14,10 @@ class RdxVisuallyHiddenDirective {
|
|
14
14
|
constructor() {
|
15
15
|
this.feature = input('focusable');
|
16
16
|
}
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxVisuallyHiddenDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.11", type: RdxVisuallyHiddenDirective, isStandalone: true, selector: "[rdxVisuallyHidden]", inputs: { feature: { classPropertyName: "feature", publicName: "feature", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-hidden": "feature() === \"focusable\" ? \"true\" : null", "hidden": "feature() === \"fully-hidden\" ? true : null", "attr.tabindex": "feature() === \"fully-hidden\" ? \"-1\" : null", "style.position": "\"absolute\"", "style.border": "\"0\"", "style.width": "\"1px\"", "style.display": "feature() === \"focusable\" ? \"inline-block\" : \"none\"", "style.height": "\"1px\"", "style.padding": "\"0\"", "style.margin": "\"-1px\"", "style.overflow": "\"hidden\"", "style.clip": "\"rect(0, 0, 0, 0)\"", "style.white-space": "\"nowrap\"", "style.word-wrap": "\"normal\"" } }, ngImport: i0 }); }
|
19
19
|
}
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxVisuallyHiddenDirective, decorators: [{
|
21
21
|
type: Directive,
|
22
22
|
args: [{
|
23
23
|
selector: '[rdxVisuallyHidden]',
|
@@ -91,10 +91,10 @@ class RdxVisuallyHiddenInputBubbleDirective {
|
|
91
91
|
this.inputElement.dispatchEvent(inputEvent);
|
92
92
|
this.inputElement.dispatchEvent(changeEvent);
|
93
93
|
}
|
94
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
95
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.
|
94
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxVisuallyHiddenInputBubbleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
95
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.11", type: RdxVisuallyHiddenInputBubbleDirective, isStandalone: true, selector: "[rdxVisuallyHiddenInputBubble]", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, feature: { classPropertyName: "feature", publicName: "feature", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "change": "onChange()" }, properties: { "attr.name": "name()", "attr.required": "required()", "attr.disabled": "disabled()", "attr.checked": "checked()", "value": "value()" } }, hostDirectives: [{ directive: RdxVisuallyHiddenDirective, inputs: ["feature", "feature"] }], ngImport: i0 }); }
|
96
96
|
}
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
97
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxVisuallyHiddenInputBubbleDirective, decorators: [{
|
98
98
|
type: Directive,
|
99
99
|
args: [{
|
100
100
|
selector: '[rdxVisuallyHiddenInputBubble]',
|
@@ -157,10 +157,10 @@ class RdxVisuallyHiddenInputDirective {
|
|
157
157
|
inputElement.setAttribute('value', parsed.value);
|
158
158
|
});
|
159
159
|
}
|
160
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
161
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.
|
160
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxVisuallyHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
161
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.11", type: RdxVisuallyHiddenInputDirective, isStandalone: true, selector: "[rdxVisuallyHiddenInput]", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, feature: { classPropertyName: "feature", publicName: "feature", isSignal: true, isRequired: false, transformFunction: null } }, hostDirectives: [{ directive: RdxVisuallyHiddenInputBubbleDirective, inputs: ["feature", "feature", "name", "name", "value", "value", "checked", "checked", "disabled", "disabled", "required", "required"] }], ngImport: i0 }); }
|
162
162
|
}
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.11", ngImport: i0, type: RdxVisuallyHiddenInputDirective, decorators: [{
|
164
164
|
type: Directive,
|
165
165
|
args: [{
|
166
166
|
selector: '[rdxVisuallyHiddenInput]',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@radix-ng/primitives",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.18.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -127,12 +127,24 @@
|
|
127
127
|
"esm": "./esm2022/radio/radix-ng-primitives-radio.mjs",
|
128
128
|
"default": "./fesm2022/radix-ng-primitives-radio.mjs"
|
129
129
|
},
|
130
|
+
"./select": {
|
131
|
+
"types": "./select/index.d.ts",
|
132
|
+
"esm2022": "./esm2022/select/radix-ng-primitives-select.mjs",
|
133
|
+
"esm": "./esm2022/select/radix-ng-primitives-select.mjs",
|
134
|
+
"default": "./fesm2022/radix-ng-primitives-select.mjs"
|
135
|
+
},
|
130
136
|
"./separator": {
|
131
137
|
"types": "./separator/index.d.ts",
|
132
138
|
"esm2022": "./esm2022/separator/radix-ng-primitives-separator.mjs",
|
133
139
|
"esm": "./esm2022/separator/radix-ng-primitives-separator.mjs",
|
134
140
|
"default": "./fesm2022/radix-ng-primitives-separator.mjs"
|
135
141
|
},
|
142
|
+
"./slider": {
|
143
|
+
"types": "./slider/index.d.ts",
|
144
|
+
"esm2022": "./esm2022/slider/radix-ng-primitives-slider.mjs",
|
145
|
+
"esm": "./esm2022/slider/radix-ng-primitives-slider.mjs",
|
146
|
+
"default": "./fesm2022/radix-ng-primitives-slider.mjs"
|
147
|
+
},
|
136
148
|
"./switch": {
|
137
149
|
"types": "./switch/index.d.ts",
|
138
150
|
"esm2022": "./esm2022/switch/radix-ng-primitives-switch.mjs",
|
@@ -157,6 +169,12 @@
|
|
157
169
|
"esm": "./esm2022/toggle-group/radix-ng-primitives-toggle-group.mjs",
|
158
170
|
"default": "./fesm2022/radix-ng-primitives-toggle-group.mjs"
|
159
171
|
},
|
172
|
+
"./tooltip": {
|
173
|
+
"types": "./tooltip/index.d.ts",
|
174
|
+
"esm2022": "./esm2022/tooltip/radix-ng-primitives-tooltip.mjs",
|
175
|
+
"esm": "./esm2022/tooltip/radix-ng-primitives-tooltip.mjs",
|
176
|
+
"default": "./fesm2022/radix-ng-primitives-tooltip.mjs"
|
177
|
+
},
|
160
178
|
"./visually-hidden": {
|
161
179
|
"types": "./visually-hidden/index.d.ts",
|
162
180
|
"esm2022": "./esm2022/visually-hidden/radix-ng-primitives-visually-hidden.mjs",
|
package/select/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# @radix-ng/primitives/select
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./src/select-content.directive";
|
3
|
+
import * as i2 from "./src/select-group.directive";
|
4
|
+
import * as i3 from "./src/select-item.directive";
|
5
|
+
import * as i4 from "./src/select-item-indicator.directive";
|
6
|
+
import * as i5 from "./src/select-label.directive";
|
7
|
+
import * as i6 from "./src/select.component";
|
8
|
+
import * as i7 from "./src/select-separator.directive";
|
9
|
+
import * as i8 from "./src/select-trigger.directive";
|
10
|
+
import * as i9 from "./src/select-value.directive";
|
11
|
+
import * as i10 from "./src/select-icon.directive";
|
12
|
+
export * from './src/select-content.directive';
|
13
|
+
export * from './src/select-group.directive';
|
14
|
+
export * from './src/select-icon.directive';
|
15
|
+
export * from './src/select-item-indicator.directive';
|
16
|
+
export * from './src/select-item.directive';
|
17
|
+
export * from './src/select-label.directive';
|
18
|
+
export * from './src/select-separator.directive';
|
19
|
+
export * from './src/select-trigger.directive';
|
20
|
+
export * from './src/select-value.directive';
|
21
|
+
export * from './src/select.component';
|
22
|
+
export declare class RdxSelectModule {
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectModule, never>;
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxSelectModule, never, [typeof i1.RdxSelectContentDirective, typeof i2.RdxSelectGroupDirective, typeof i3.RdxSelectItemDirective, typeof i4.RdxSelectItemIndicatorDirective, typeof i5.RdxSelectLabelDirective, typeof i6.RdxSelectComponent, typeof i7.RdxSelectSeparatorDirective, typeof i8.RdxSelectTriggerDirective, typeof i9.RdxSelectValueDirective, typeof i10.RdxSelectIconDirective], [typeof i1.RdxSelectContentDirective, typeof i2.RdxSelectGroupDirective, typeof i3.RdxSelectItemDirective, typeof i4.RdxSelectItemIndicatorDirective, typeof i5.RdxSelectLabelDirective, typeof i6.RdxSelectComponent, typeof i7.RdxSelectSeparatorDirective, typeof i8.RdxSelectTriggerDirective, typeof i9.RdxSelectValueDirective, typeof i10.RdxSelectIconDirective]>;
|
25
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdxSelectModule>;
|
26
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
2
|
+
import { Directionality } from '@angular/cdk/bidi';
|
3
|
+
import { AfterContentInit, DestroyRef, QueryList } from '@angular/core';
|
4
|
+
import { Subject } from 'rxjs';
|
5
|
+
import { RdxSelectItemDirective } from './select-item.directive';
|
6
|
+
import { RdxSelectComponent } from './select.component';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class RdxSelectContentDirective implements AfterContentInit {
|
9
|
+
protected readonly destroyRef: DestroyRef;
|
10
|
+
protected readonly dir: Directionality | null;
|
11
|
+
protected select: RdxSelectComponent;
|
12
|
+
readonly highlighted: Subject<RdxSelectItemDirective>;
|
13
|
+
keyManager: ActiveDescendantKeyManager<RdxSelectItemDirective>;
|
14
|
+
options: QueryList<RdxSelectItemDirective>;
|
15
|
+
constructor();
|
16
|
+
initKeyManager(): ActiveDescendantKeyManager<RdxSelectItemDirective>;
|
17
|
+
ngAfterContentInit(): void;
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectContentDirective, never>;
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectContentDirective, "[rdxSelectContent]", ["rdxSelectContent"], {}, {}, ["options"], never, true, never>;
|
20
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class RdxSelectGroupDirective {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectGroupDirective, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectGroupDirective, "[rdxSelectGroup]", ["rdxSelectGroup"], {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class RdxSelectIconDirective {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectIconDirective, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectIconDirective, "[rdxSelectIcon]", ["rdxSelectIcon"], {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { RdxSelectItemDirective } from './select-item.directive';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class RdxSelectItemIndicatorDirective {
|
4
|
+
protected item: RdxSelectItemDirective;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectItemIndicatorDirective, never>;
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectItemIndicatorDirective, "[rdxSelectItemIndicator]", ["rdxSelectItemIndicator"], {}, {}, never, never, true, never>;
|
7
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { Highlightable } from '@angular/cdk/a11y';
|
2
|
+
import { EventEmitter } from '@angular/core';
|
3
|
+
import { RdxSelectContentDirective } from './select-content.directive';
|
4
|
+
import { RdxSelectComponent } from './select.component';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export declare class RdxSelectItemChange<T = RdxSelectItemDirective> {
|
7
|
+
source: T;
|
8
|
+
constructor(source: T);
|
9
|
+
}
|
10
|
+
export declare class RdxSelectItemDirective implements Highlightable {
|
11
|
+
protected readonly select: RdxSelectComponent;
|
12
|
+
protected readonly content: RdxSelectContentDirective;
|
13
|
+
readonly onSelectionChange: EventEmitter<RdxSelectItemChange<RdxSelectItemDirective>>;
|
14
|
+
protected readonly nativeElement: any;
|
15
|
+
highlighted: boolean;
|
16
|
+
selected: boolean;
|
17
|
+
get dataState(): string;
|
18
|
+
/**
|
19
|
+
* The unique SelectItem id.
|
20
|
+
* @ignore
|
21
|
+
*/
|
22
|
+
readonly id: string;
|
23
|
+
set value(value: string);
|
24
|
+
get value(): string;
|
25
|
+
private _value?;
|
26
|
+
textValue: string | null;
|
27
|
+
/** Whether the SelectItem is disabled. */
|
28
|
+
set disabled(value: boolean);
|
29
|
+
get disabled(): boolean;
|
30
|
+
private _disabled;
|
31
|
+
get viewValue(): string;
|
32
|
+
constructor();
|
33
|
+
/** Gets the label to be used when determining whether the option should be focused. */
|
34
|
+
getLabel(): string;
|
35
|
+
/**
|
36
|
+
* `Selects the option while indicating the selection came from the user. Used to
|
37
|
+
* determine if the select's view -> model callback should be invoked.`
|
38
|
+
*/
|
39
|
+
selectViaInteraction(): void;
|
40
|
+
handleKeydown(event: KeyboardEvent): void;
|
41
|
+
setActiveStyles(): void;
|
42
|
+
setInactiveStyles(): void;
|
43
|
+
protected onPointerMove(): void;
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectItemDirective, never>;
|
45
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectItemDirective, "[rdxSelectItem]", ["rdxSelectItem"], { "value": { "alias": "value"; "required": false; }; "textValue": { "alias": "textValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
46
|
+
static ngAcceptInputType_disabled: unknown;
|
47
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class RdxSelectLabelDirective {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectLabelDirective, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectLabelDirective, "[rdxSelectLabel]", ["rdxSelectLabel"], {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export declare class RdxSelectSeparatorDirective {
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectSeparatorDirective, never>;
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectSeparatorDirective, "[rdxSelectSeparator]", ["rdxSelectSeparator"], {}, {}, never, never, true, never>;
|
5
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { RdxSelectValueDirective } from './select-value.directive';
|
2
|
+
import { RdxSelectComponent } from './select.component';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class RdxSelectTriggerDirective {
|
5
|
+
protected nativeElement: any;
|
6
|
+
protected select: RdxSelectComponent;
|
7
|
+
protected value: RdxSelectValueDirective;
|
8
|
+
focus(): void;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectTriggerDirective, never>;
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSelectTriggerDirective, "[rdxSelectTrigger]", never, {}, {}, ["value"], never, true, never>;
|
11
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { RdxSelectComponent } from './select.component';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class RdxSelectValueDirective {
|
4
|
+
select: RdxSelectComponent;
|
5
|
+
placeholder: string;
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectValueDirective, never>;
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSelectValueDirective, "[rdxSelectValue]", ["rdxSelectValue"], { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
8
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import { ActiveDescendantKeyManager } from '@angular/cdk/a11y';
|
2
|
+
import { Directionality } from '@angular/cdk/bidi';
|
3
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
4
|
+
import { CdkConnectedOverlay, ConnectedPosition, Overlay } from '@angular/cdk/overlay';
|
5
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
6
|
+
import { Observable } from 'rxjs';
|
7
|
+
import { RdxSelectContentDirective } from './select-content.directive';
|
8
|
+
import { RdxSelectItemChange, RdxSelectItemDirective } from './select-item.directive';
|
9
|
+
import { RdxSelectTriggerDirective } from './select-trigger.directive';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
export declare class RdxSelectComponent implements OnInit, AfterContentInit {
|
12
|
+
protected overlay: Overlay;
|
13
|
+
protected elementRef: ElementRef<any>;
|
14
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
15
|
+
private readonly destroyRef;
|
16
|
+
private readonly ngZone;
|
17
|
+
protected trigger: RdxSelectTriggerDirective;
|
18
|
+
protected content: RdxSelectContentDirective;
|
19
|
+
items: QueryList<RdxSelectItemDirective>;
|
20
|
+
overlayDir: CdkConnectedOverlay;
|
21
|
+
/** Deals with the selection logic. */
|
22
|
+
selectionModel: SelectionModel<RdxSelectItemDirective>;
|
23
|
+
/**
|
24
|
+
* This position config ensures that the top "start" corner of the overlay
|
25
|
+
* is aligned with the top "start" of the origin by default (overlapping
|
26
|
+
* the trigger completely). If the panel cannot fit below the trigger, it
|
27
|
+
* will fall back to a position above the trigger.
|
28
|
+
*/
|
29
|
+
positions: ConnectedPosition[];
|
30
|
+
private closeSubscription;
|
31
|
+
/**
|
32
|
+
* @ignore
|
33
|
+
*/
|
34
|
+
readonly dir: Directionality | null;
|
35
|
+
/**
|
36
|
+
* @ignore
|
37
|
+
*/
|
38
|
+
protected keyManager: ActiveDescendantKeyManager<RdxSelectItemDirective>;
|
39
|
+
/**
|
40
|
+
* @ignore
|
41
|
+
*/
|
42
|
+
readonly id: string;
|
43
|
+
defaultValue: string;
|
44
|
+
name: string;
|
45
|
+
defaultOpen: boolean;
|
46
|
+
open: boolean;
|
47
|
+
/** Whether the Select is disabled. */
|
48
|
+
disabled: boolean;
|
49
|
+
required: boolean;
|
50
|
+
/**
|
51
|
+
* The controlled value of the item to expand
|
52
|
+
*/
|
53
|
+
set value(value: string);
|
54
|
+
get value(): string | null;
|
55
|
+
private _value?;
|
56
|
+
readonly onValueChange: EventEmitter<string>;
|
57
|
+
readonly onOpenChange: EventEmitter<boolean>;
|
58
|
+
readonly optionSelectionChanges: Observable<RdxSelectItemChange>;
|
59
|
+
get selected(): string | null;
|
60
|
+
ngOnInit(): void;
|
61
|
+
ngAfterContentInit(): void;
|
62
|
+
/**
|
63
|
+
* Callback that is invoked when the overlay panel has been attached.
|
64
|
+
*/
|
65
|
+
onAttached(): void;
|
66
|
+
onDetach(): void;
|
67
|
+
/** Toggles the overlay panel open or closed. */
|
68
|
+
toggle(): void;
|
69
|
+
openPanel(): void;
|
70
|
+
close(): void;
|
71
|
+
updateActiveItem(item: RdxSelectItemDirective): void;
|
72
|
+
private selectDefaultValue;
|
73
|
+
private selectValue;
|
74
|
+
private closingActions;
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSelectComponent, never>;
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSelectComponent, "[rdxSelect]", never, { "defaultValue": { "alias": "defaultValue"; "required": false; }; "name": { "alias": "name"; "required": false; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onValueChange": "onValueChange"; "onOpenChange": "onOpenChange"; }, ["trigger", "content", "items"], ["[rdxSelectTrigger]", "[rdxSelectContent]"], true, never>;
|
77
|
+
static ngAcceptInputType_defaultOpen: unknown;
|
78
|
+
static ngAcceptInputType_open: unknown;
|
79
|
+
static ngAcceptInputType_disabled: unknown;
|
80
|
+
static ngAcceptInputType_required: unknown;
|
81
|
+
}
|
package/slider/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# @radix-ng/primitives/slider
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./src/slider-root.component";
|
3
|
+
import * as i2 from "./src/slider-track.component";
|
4
|
+
import * as i3 from "./src/slider-range.component";
|
5
|
+
import * as i4 from "./src/slider-thumb.component";
|
6
|
+
export * from './src/slider-horizontal.component';
|
7
|
+
export * from './src/slider-impl.directive';
|
8
|
+
export * from './src/slider-range.component';
|
9
|
+
export * from './src/slider-root.component';
|
10
|
+
export * from './src/slider-thumb-impl.directive';
|
11
|
+
export * from './src/slider-thumb.component';
|
12
|
+
export * from './src/slider-track.component';
|
13
|
+
export * from './src/slider-vertical.component';
|
14
|
+
export declare class RdxSliderModule {
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderModule, never>;
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RdxSliderModule, never, [typeof i1.RdxSliderRootComponent, typeof i2.RdxSliderTrackComponent, typeof i3.RdxSliderRangeComponent, typeof i4.RdxSliderThumbComponent], [typeof i1.RdxSliderRootComponent, typeof i2.RdxSliderTrackComponent, typeof i3.RdxSliderRangeComponent, typeof i4.RdxSliderThumbComponent]>;
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RdxSliderModule>;
|
18
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
2
|
+
import { EventEmitter } from '@angular/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class RdxSliderHorizontalComponent {
|
5
|
+
private readonly rootContext;
|
6
|
+
dir: 'ltr' | 'rtl';
|
7
|
+
readonly inverted: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
8
|
+
min: number;
|
9
|
+
max: number;
|
10
|
+
className: string;
|
11
|
+
slideStart: EventEmitter<number>;
|
12
|
+
slideMove: EventEmitter<number>;
|
13
|
+
slideEnd: EventEmitter<void>;
|
14
|
+
stepKeyDown: EventEmitter<{
|
15
|
+
event: KeyboardEvent;
|
16
|
+
direction: number;
|
17
|
+
}>;
|
18
|
+
endKeyDown: EventEmitter<KeyboardEvent>;
|
19
|
+
homeKeyDown: EventEmitter<KeyboardEvent>;
|
20
|
+
private readonly sliderElement;
|
21
|
+
private readonly rect;
|
22
|
+
onSlideStart(event: PointerEvent): void;
|
23
|
+
onSlideMove(event: PointerEvent): void;
|
24
|
+
onSlideEnd(): void;
|
25
|
+
onStepKeyDown(event: KeyboardEvent): void;
|
26
|
+
private getValueFromPointer;
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderHorizontalComponent, never>;
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSliderHorizontalComponent, "rdx-slider-horizontal", never, { "dir": { "alias": "dir"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, { "slideStart": "slideStart"; "slideMove": "slideMove"; "slideEnd": "slideEnd"; "stepKeyDown": "stepKeyDown"; "endKeyDown": "endKeyDown"; "homeKeyDown": "homeKeyDown"; }, never, ["*"], true, never>;
|
29
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
2
|
+
import { RdxSliderRootComponent } from './slider-root.component';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export declare class RdxSliderImplDirective {
|
5
|
+
protected readonly rootContext: RdxSliderRootComponent;
|
6
|
+
slideStart: EventEmitter<PointerEvent>;
|
7
|
+
slideMove: EventEmitter<PointerEvent>;
|
8
|
+
slideEnd: EventEmitter<PointerEvent>;
|
9
|
+
homeKeyDown: EventEmitter<KeyboardEvent>;
|
10
|
+
endKeyDown: EventEmitter<KeyboardEvent>;
|
11
|
+
stepKeyDown: EventEmitter<KeyboardEvent>;
|
12
|
+
onKeyDown(event: KeyboardEvent): void;
|
13
|
+
onPointerDown(event: PointerEvent): void;
|
14
|
+
onPointerMove(event: PointerEvent): void;
|
15
|
+
onPointerUp(event: PointerEvent): void;
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderImplDirective, never>;
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RdxSliderImplDirective, "[rdxSliderImpl]", never, {}, { "slideStart": "slideStart"; "slideMove": "slideMove"; "slideEnd": "slideEnd"; "homeKeyDown": "homeKeyDown"; "endKeyDown": "endKeyDown"; "stepKeyDown": "stepKeyDown"; }, never, never, true, never>;
|
18
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
export interface OrientationContext {
|
3
|
+
startEdge: string;
|
4
|
+
endEdge: string;
|
5
|
+
direction: number;
|
6
|
+
size: string;
|
7
|
+
}
|
8
|
+
export declare class RdxSliderOrientationContextService {
|
9
|
+
private contextSignal;
|
10
|
+
get context(): OrientationContext;
|
11
|
+
updateContext(context: Partial<OrientationContext>): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderOrientationContextService, never>;
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RdxSliderOrientationContextService>;
|
14
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { RdxSliderRootComponent } from './slider-root.component';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class RdxSliderRangeComponent {
|
4
|
+
protected readonly rootContext: RdxSliderRootComponent;
|
5
|
+
percentages: import("@angular/core").Signal<number[]>;
|
6
|
+
offsetStart: import("@angular/core").Signal<number>;
|
7
|
+
offsetEnd: import("@angular/core").Signal<number>;
|
8
|
+
rangeStyles: import("@angular/core").Signal<{
|
9
|
+
[x: string]: string;
|
10
|
+
}>;
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderRangeComponent, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSliderRangeComponent, "rdx-slider-range", never, {}, {}, never, ["*"], true, never>;
|
13
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
2
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
3
|
+
import { RdxSliderOrientationContextService } from './slider-orientation-context.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class RdxSliderRootComponent implements OnInit {
|
6
|
+
/** @ignore */
|
7
|
+
readonly orientationContext: RdxSliderOrientationContextService;
|
8
|
+
readonly min: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
9
|
+
readonly max: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
10
|
+
readonly step: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
11
|
+
readonly minStepsBetweenThumbs: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
|
12
|
+
readonly orientation: import("@angular/core").InputSignal<"horizontal" | "vertical">;
|
13
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
14
|
+
readonly inverted: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
|
15
|
+
readonly dir: import("@angular/core").InputSignal<"ltr" | "rtl">;
|
16
|
+
className: string;
|
17
|
+
valueChange: EventEmitter<number[]>;
|
18
|
+
valueCommit: EventEmitter<number[]>;
|
19
|
+
readonly modelValue: import("@angular/core").ModelSignal<number[]>;
|
20
|
+
/** @ignore */
|
21
|
+
readonly valueIndexToChange: import("@angular/core").ModelSignal<number>;
|
22
|
+
/** @ignore */
|
23
|
+
readonly valuesBeforeSlideStart: import("@angular/core").ModelSignal<number[]>;
|
24
|
+
readonly isSlidingFromLeft: import("@angular/core").Signal<boolean>;
|
25
|
+
readonly isSlidingFromBottom: import("@angular/core").Signal<boolean>;
|
26
|
+
/** @ignore */
|
27
|
+
thumbElements: HTMLElement[];
|
28
|
+
/** @ignore */
|
29
|
+
ngOnInit(): void;
|
30
|
+
/** @ignore */
|
31
|
+
onPointerDown(): void;
|
32
|
+
/** @ignore */
|
33
|
+
handleSlideStart(value: number): void;
|
34
|
+
/** @ignore */
|
35
|
+
handleSlideMove(value: number): void;
|
36
|
+
/** @ignore */
|
37
|
+
handleSlideEnd(): void;
|
38
|
+
/** @ignore */
|
39
|
+
handleStepKeyDown(event: {
|
40
|
+
event: KeyboardEvent;
|
41
|
+
direction: number;
|
42
|
+
}): void;
|
43
|
+
/** @ignore */
|
44
|
+
updateValues(value: number, atIndex: number, commit?: boolean): void;
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RdxSliderRootComponent, never>;
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RdxSliderRootComponent, "rdx-slider", never, { "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "minStepsBetweenThumbs": { "alias": "minStepsBetweenThumbs"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "dir": { "alias": "dir"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; }; "modelValue": { "alias": "modelValue"; "required": false; "isSignal": true; }; "valueIndexToChange": { "alias": "valueIndexToChange"; "required": false; "isSignal": true; }; "valuesBeforeSlideStart": { "alias": "valuesBeforeSlideStart"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "valueCommit": "valueCommit"; "modelValue": "modelValueChange"; "valueIndexToChange": "valueIndexToChangeChange"; "valuesBeforeSlideStart": "valuesBeforeSlideStartChange"; }, never, ["*"], true, never>;
|
47
|
+
}
|