@radix-ng/primitives 0.31.0 → 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/LICENSE +21 -0
  2. package/core/index.d.ts +3 -2
  3. package/core/src/kbd-constants.d.ts +40 -0
  4. package/fesm2022/radix-ng-primitives-accordion.mjs +19 -19
  5. package/fesm2022/radix-ng-primitives-alert-dialog.mjs +22 -22
  6. package/fesm2022/radix-ng-primitives-aspect-ratio.mjs +3 -3
  7. package/fesm2022/radix-ng-primitives-avatar.mjs +16 -16
  8. package/fesm2022/radix-ng-primitives-checkbox.mjs +16 -16
  9. package/fesm2022/radix-ng-primitives-collapsible.mjs +9 -9
  10. package/fesm2022/radix-ng-primitives-config.mjs +3 -3
  11. package/fesm2022/radix-ng-primitives-context-menu.mjs +34 -34
  12. package/fesm2022/radix-ng-primitives-core.mjs +50 -9
  13. package/fesm2022/radix-ng-primitives-core.mjs.map +1 -1
  14. package/fesm2022/radix-ng-primitives-dialog.mjs +25 -25
  15. package/fesm2022/radix-ng-primitives-dropdown-menu.mjs +34 -34
  16. package/fesm2022/radix-ng-primitives-hover-card.mjs +28 -28
  17. package/fesm2022/radix-ng-primitives-label.mjs +7 -10
  18. package/fesm2022/radix-ng-primitives-label.mjs.map +1 -1
  19. package/fesm2022/radix-ng-primitives-menu.mjs +37 -37
  20. package/fesm2022/radix-ng-primitives-menubar.mjs +31 -31
  21. package/fesm2022/radix-ng-primitives-pagination.mjs +30 -29
  22. package/fesm2022/radix-ng-primitives-pagination.mjs.map +1 -1
  23. package/fesm2022/radix-ng-primitives-popover.mjs +28 -28
  24. package/fesm2022/radix-ng-primitives-progress.mjs +10 -10
  25. package/fesm2022/radix-ng-primitives-radio.mjs +12 -12
  26. package/fesm2022/radix-ng-primitives-roving-focus.mjs +6 -6
  27. package/fesm2022/radix-ng-primitives-select.mjs +34 -34
  28. package/fesm2022/radix-ng-primitives-separator.mjs +21 -9
  29. package/fesm2022/radix-ng-primitives-separator.mjs.map +1 -1
  30. package/fesm2022/radix-ng-primitives-slider.mjs +31 -31
  31. package/fesm2022/radix-ng-primitives-stepper.mjs +473 -0
  32. package/fesm2022/radix-ng-primitives-stepper.mjs.map +1 -0
  33. package/fesm2022/radix-ng-primitives-switch.mjs +13 -13
  34. package/fesm2022/radix-ng-primitives-tabs.mjs +16 -16
  35. package/fesm2022/radix-ng-primitives-toggle-group.mjs +9 -9
  36. package/fesm2022/radix-ng-primitives-toggle.mjs +6 -6
  37. package/fesm2022/radix-ng-primitives-toolbar.mjs +22 -22
  38. package/fesm2022/radix-ng-primitives-tooltip.mjs +28 -28
  39. package/fesm2022/radix-ng-primitives-visually-hidden.mjs +9 -9
  40. package/hover-card/src/hover-card-root.directive.d.ts +4 -4
  41. package/label/src/label.directive.d.ts +4 -7
  42. package/package.json +7 -139
  43. package/pagination/src/pagination-root.directive.d.ts +1 -1
  44. package/popover/src/popover-root.directive.d.ts +4 -4
  45. package/separator/src/separator.directive.d.ts +4 -1
  46. package/stepper/README.md +1 -0
  47. package/stepper/index.d.ts +22 -0
  48. package/stepper/src/stepper-description.directive.d.ts +6 -0
  49. package/stepper/src/stepper-indicator.directive.d.ts +6 -0
  50. package/stepper/src/stepper-item-context.token.d.ts +13 -0
  51. package/stepper/src/stepper-item.directive.d.ts +21 -0
  52. package/stepper/src/stepper-root-context.token.d.ts +12 -0
  53. package/stepper/src/stepper-root.directive.d.ts +32 -0
  54. package/stepper/src/stepper-separator.directive.d.ts +10 -0
  55. package/stepper/src/stepper-title.directive.d.ts +6 -0
  56. package/stepper/src/stepper-trigger.directive.d.ts +14 -0
  57. package/stepper/src/types.d.ts +1 -0
  58. package/stepper/src/utils/getActiveElement.d.ts +1 -0
  59. package/stepper/src/utils/useArrowNavigation.d.ts +65 -0
  60. package/tooltip/src/tooltip-root.directive.d.ts +4 -4
  61. /package/core/src/{nullish.d.ts → is-nullish.d.ts} +0 -0
  62. /package/core/src/{isNumber.d.ts → is-number.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"radix-ng-primitives-pagination.mjs","sources":["../../../packages/primitives/pagination/src/pagination-ellipsis.directive.ts","../../../packages/primitives/pagination/src/pagination-context.token.ts","../../../packages/primitives/pagination/src/pagination-first.directive.ts","../../../packages/primitives/pagination/src/pagination-last.directive.ts","../../../packages/primitives/pagination/src/pagination-list-item.directive.ts","../../../packages/primitives/pagination/src/utils.ts","../../../packages/primitives/pagination/src/pagination-list.directive.ts","../../../packages/primitives/pagination/src/pagination-next.directive.ts","../../../packages/primitives/pagination/src/pagination-prev.directive.ts","../../../packages/primitives/pagination/src/pagination-root.directive.ts","../../../packages/primitives/pagination/index.ts","../../../packages/primitives/pagination/radix-ng-primitives-pagination.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[rdxPaginationEllipsis]',\n host: {\n '[attr.data-type]': '\"ellipsis\"'\n }\n})\nexport class RdxPaginationEllipsisDirective {}\n","import { computed, inject, InjectionToken, model } from '@angular/core';\n\nexport interface PaginationRootContext {\n page: ReturnType<typeof model<number>>;\n onPageChange: (value: number) => void;\n pageCount: ReturnType<typeof computed<number>>;\n siblingCount: ReturnType<typeof computed<number>>;\n disabled: ReturnType<typeof computed<boolean>>;\n showEdges: ReturnType<typeof computed<boolean>>;\n}\n\nexport const PAGINATION_ROOT_CONTEXT = new InjectionToken<PaginationRootContext>('PaginationRootContext');\n\nexport function injectPaginationRootContext(): PaginationRootContext {\n return inject(PAGINATION_ROOT_CONTEXT);\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationFirst]',\n host: {\n '[attr.aria-label]': '\"First Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationFirstDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(() => this.rootContext.page() === 1 || this.rootContext.disabled());\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(1);\n }\n }\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationLast]',\n host: {\n '[attr.aria-label]': '\"Last Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationLastDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(\n () => this.rootContext.page() === this.rootContext.pageCount() || this.rootContext.disabled()\n );\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(this.rootContext.pageCount());\n }\n }\n}\n","import { computed, Directive, input } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationListItem]',\n host: {\n '[data-type]': '\"page\"',\n\n '[attr.aria-label]': '\"Page \" + value()',\n '[attr.aria-current]': 'isSelected() ? \"page\" : undefined',\n '[attr.data-selected]': 'isSelected() ? true : undefined',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationListItemDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly value = input<number>();\n\n readonly disabled = computed(() => this.rootContext.disabled());\n\n readonly isSelected = computed(() => this.rootContext.page() === this.value());\n\n onClick() {\n const pageValue = this.value();\n if (!this.disabled() && typeof pageValue === 'number') {\n this.rootContext.onPageChange(pageValue);\n }\n }\n}\n","// reference https://github.com/chakra-ui/zag/blob/main/packages/machines/pagination/src/pagination.utils.ts\n\ntype Pages = Array<{ type: 'ellipsis' } | { type: 'page'; value: number }>;\n\nfunction range(start: number, end: number) {\n const length = end - start + 1;\n return Array.from({ length }, (_, idx) => idx + start);\n}\n\nexport function transform(items: (string | number)[]): Pages {\n return items.map((value) => {\n if (typeof value === 'number') return { type: 'page', value };\n return { type: 'ellipsis' };\n });\n}\n\nconst ELLIPSIS = 'ellipsis';\n\nexport function getRange(currentPage: number, pageCount: number, siblingCount: number, showEdges: boolean) {\n const firstPageIndex = 1;\n const lastPageIndex = pageCount;\n\n const leftSiblingIndex = Math.max(currentPage - siblingCount, firstPageIndex);\n const rightSiblingIndex = Math.min(currentPage + siblingCount, lastPageIndex);\n\n if (showEdges) {\n /**\n * `2 * siblingCount + 5` explanation:\n * 2 * siblingCount for left/right siblings\n * 5 for 2x left/right ellipsis, 2x first/last page + 1x current page\n *\n * For some page counts (e.g. totalPages: 8, siblingCount: 2),\n * calculated max page is higher than total pages,\n * so we need to take the minimum of both.\n */\n const totalPageNumbers = Math.min(2 * siblingCount + 5, pageCount);\n\n const itemCount = totalPageNumbers - 2; // 2 stands for one ellipsis and either first or last page\n\n const showLeftEllipsis =\n // default condition\n leftSiblingIndex > firstPageIndex + 2 &&\n // if the current page is towards the end of the list\n Math.abs(lastPageIndex - itemCount - firstPageIndex + 1) > 2 &&\n // if the current page is towards the middle of the list\n Math.abs(leftSiblingIndex - firstPageIndex) > 2;\n\n const showRightEllipsis =\n // default condition\n rightSiblingIndex < lastPageIndex - 2 &&\n // if the current page is towards the start of the list\n Math.abs(lastPageIndex - itemCount) > 2 &&\n // if the current page is towards the middle of the list\n Math.abs(lastPageIndex - rightSiblingIndex) > 2;\n\n if (!showLeftEllipsis && showRightEllipsis) {\n const leftRange = range(1, itemCount);\n\n return [...leftRange, ELLIPSIS, lastPageIndex];\n }\n\n if (showLeftEllipsis && !showRightEllipsis) {\n const rightRange = range(lastPageIndex - itemCount + 1, lastPageIndex);\n\n return [firstPageIndex, ELLIPSIS, ...rightRange];\n }\n\n if (showLeftEllipsis && showRightEllipsis) {\n const middleRange = range(leftSiblingIndex, rightSiblingIndex);\n\n return [firstPageIndex, ELLIPSIS, ...middleRange, ELLIPSIS, lastPageIndex];\n }\n\n const fullRange = range(firstPageIndex, lastPageIndex);\n return fullRange;\n } else {\n const itemCount = siblingCount * 2 + 1;\n\n if (pageCount < itemCount) return range(1, lastPageIndex);\n else if (currentPage <= siblingCount + 1) return range(firstPageIndex, itemCount);\n else if (pageCount - currentPage <= siblingCount) return range(pageCount - itemCount + 1, lastPageIndex);\n else return range(leftSiblingIndex, rightSiblingIndex);\n }\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\nimport { getRange, transform } from './utils';\n\n@Directive({\n selector: '[rdxPaginationList]',\n exportAs: 'rdxPaginationList'\n})\nexport class RdxPaginationListDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly transformedRange = computed(() => {\n return transform(\n getRange(\n this.rootContext.page(),\n this.rootContext.pageCount(),\n this.rootContext.siblingCount(),\n this.rootContext.showEdges()\n )\n );\n });\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationNext]',\n host: {\n '[attr.aria-label]': '\"Next Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationNextDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(\n () => this.rootContext.page() === this.rootContext.pageCount() || this.rootContext.disabled()\n );\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(this.rootContext.page() + 1);\n }\n }\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationPrev]',\n host: {\n '[attr.aria-label]': '\"Previous Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationPrevDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed((): boolean => this.rootContext.page() === 1 || this.rootContext.disabled());\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(this.rootContext.page() - 1);\n }\n }\n}\n","import { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n booleanAttribute,\n computed,\n Directive,\n forwardRef,\n input,\n model,\n numberAttribute,\n output\n} from '@angular/core';\nimport { PAGINATION_ROOT_CONTEXT } from './pagination-context.token';\n\n@Directive({\n selector: '[rdxPaginationRoot]',\n providers: [\n { provide: PAGINATION_ROOT_CONTEXT, useExisting: forwardRef(() => RdxPaginationRootDirective) }]\n})\nexport class RdxPaginationRootDirective {\n readonly defaultPage = input<number, NumberInput>(1, { transform: numberAttribute });\n\n readonly page = model<number>(this.defaultPage());\n\n readonly itemsPerPage = input<number, NumberInput>(undefined, { transform: numberAttribute });\n\n readonly total = input<number, NumberInput>(0, { transform: numberAttribute });\n\n readonly siblingCount = input<number, NumberInput>(2, { transform: numberAttribute });\n\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n readonly showEdges = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n readonly updatePage = output<number>();\n\n /** @ignore */\n readonly pageCount = computed(() => Math.max(1, Math.ceil(this.total() / (this.itemsPerPage() || 1))));\n\n /** @ignore */\n onPageChange(value: number) {\n if (!this.disabled()) {\n this.page.set(value);\n this.updatePage.emit(value);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RdxPaginationEllipsisDirective } from './src/pagination-ellipsis.directive';\nimport { RdxPaginationFirstDirective } from './src/pagination-first.directive';\nimport { RdxPaginationLastDirective } from './src/pagination-last.directive';\nimport { RdxPaginationListItemDirective } from './src/pagination-list-item.directive';\nimport { RdxPaginationListDirective } from './src/pagination-list.directive';\nimport { RdxPaginationNextDirective } from './src/pagination-next.directive';\nimport { RdxPaginationPrevDirective } from './src/pagination-prev.directive';\nimport { RdxPaginationRootDirective } from './src/pagination-root.directive';\n\nexport * from './src/pagination-context.token';\nexport * from './src/pagination-ellipsis.directive';\nexport * from './src/pagination-first.directive';\nexport * from './src/pagination-last.directive';\nexport * from './src/pagination-list-item.directive';\nexport * from './src/pagination-list.directive';\nexport * from './src/pagination-next.directive';\nexport * from './src/pagination-prev.directive';\nexport * from './src/pagination-root.directive';\n\nconst paginationImports = [\n RdxPaginationRootDirective,\n RdxPaginationListDirective,\n RdxPaginationFirstDirective,\n RdxPaginationPrevDirective,\n RdxPaginationLastDirective,\n RdxPaginationNextDirective,\n RdxPaginationListItemDirective,\n RdxPaginationEllipsisDirective\n];\n\n@NgModule({\n imports: [...paginationImports],\n exports: [...paginationImports]\n})\nexport class RdxPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,8BAA8B,CAAA;8GAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAN1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACF,wBAAA,kBAAkB,EAAE;AACvB;AACJ,iBAAA;;;MCIY,uBAAuB,GAAG,IAAI,cAAc,CAAwB,uBAAuB;SAExF,2BAA2B,GAAA;AACvC,IAAA,OAAO,MAAM,CAAC,uBAAuB,CAAC;AAC1C;;ACZA;MAUa,2BAA2B,CAAA;AATxC,IAAA,WAAA,GAAA;QAUqB,IAAW,CAAA,WAAA,GAAG,2BAA2B,EAAE;QAEnD,IAAQ,CAAA,QAAA,GAAG,QAAQ,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;AAOnG;IALG,OAAO,GAAA;AACH,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE;AAClB,YAAA,IAAI,CAAC,W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B;YAC1B,2BAA2B;YAC3B,0BAA0B;YAC1B,0BAA0B;YAC1B,0BAA0B;YAC1B,8BAA8B;AAC9B,YAAA,8BAA8B,aAP9B,0BAA0B;YAC1B,0BAA0B;YAC1B,2BAA2B;YAC3B,0BAA0B;YAC1B,0BAA0B;YAC1B,0BAA0B;YAC1B,8BAA8B;YAC9B,8BAA8B,CAAA,EAAA,CAAA,CAAA;+GAOrB,mBAAmB,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AAC/B,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB;AACjC,iBAAA;;;AClCD;;AAEG;;;;"}
1
+ {"version":3,"file":"radix-ng-primitives-pagination.mjs","sources":["../../../packages/primitives/pagination/src/pagination-ellipsis.directive.ts","../../../packages/primitives/pagination/src/pagination-context.token.ts","../../../packages/primitives/pagination/src/pagination-first.directive.ts","../../../packages/primitives/pagination/src/pagination-last.directive.ts","../../../packages/primitives/pagination/src/pagination-list-item.directive.ts","../../../packages/primitives/pagination/src/utils.ts","../../../packages/primitives/pagination/src/pagination-list.directive.ts","../../../packages/primitives/pagination/src/pagination-next.directive.ts","../../../packages/primitives/pagination/src/pagination-prev.directive.ts","../../../packages/primitives/pagination/src/pagination-root.directive.ts","../../../packages/primitives/pagination/index.ts","../../../packages/primitives/pagination/radix-ng-primitives-pagination.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n selector: '[rdxPaginationEllipsis]',\n host: {\n '[attr.data-type]': '\"ellipsis\"'\n }\n})\nexport class RdxPaginationEllipsisDirective {}\n","import { computed, inject, InjectionToken, model } from '@angular/core';\n\nexport interface PaginationRootContext {\n page: ReturnType<typeof model<number>>;\n onPageChange: (value: number) => void;\n pageCount: ReturnType<typeof computed<number>>;\n siblingCount: ReturnType<typeof computed<number>>;\n disabled: ReturnType<typeof computed<boolean>>;\n showEdges: ReturnType<typeof computed<boolean>>;\n}\n\nexport const PAGINATION_ROOT_CONTEXT = new InjectionToken<PaginationRootContext>('PaginationRootContext');\n\nexport function injectPaginationRootContext(): PaginationRootContext {\n return inject(PAGINATION_ROOT_CONTEXT);\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationFirst]',\n host: {\n '[attr.aria-label]': '\"First Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationFirstDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(() => this.rootContext.page() === 1 || this.rootContext.disabled());\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(1);\n }\n }\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationLast]',\n host: {\n '[attr.aria-label]': '\"Last Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationLastDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(\n () => this.rootContext.page() === this.rootContext.pageCount() || this.rootContext.disabled()\n );\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(this.rootContext.pageCount());\n }\n }\n}\n","import { computed, Directive, input } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationListItem]',\n host: {\n '[data-type]': '\"page\"',\n\n '[attr.aria-label]': '\"Page \" + value()',\n '[attr.aria-current]': 'isSelected() ? \"page\" : undefined',\n '[attr.data-selected]': 'isSelected() ? true : undefined',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationListItemDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly value = input<number>();\n\n readonly disabled = computed(() => this.rootContext.disabled());\n\n readonly isSelected = computed(() => this.rootContext.page() === this.value());\n\n onClick() {\n const pageValue = this.value();\n if (!this.disabled() && typeof pageValue === 'number') {\n this.rootContext.onPageChange(pageValue);\n }\n }\n}\n","// reference https://github.com/chakra-ui/zag/blob/main/packages/machines/pagination/src/pagination.utils.ts\n\ntype Pages = Array<{ type: 'ellipsis' } | { type: 'page'; value: number }>;\n\nfunction range(start: number, end: number) {\n const length = end - start + 1;\n return Array.from({ length }, (_, idx) => idx + start);\n}\n\nexport function transform(items: (string | number)[]): Pages {\n return items.map((value) => {\n if (typeof value === 'number') return { type: 'page', value };\n return { type: 'ellipsis' };\n });\n}\n\nconst ELLIPSIS = 'ellipsis';\n\nexport function getRange(currentPage: number, pageCount: number, siblingCount: number, showEdges: boolean) {\n const firstPageIndex = 1;\n const lastPageIndex = pageCount;\n\n const leftSiblingIndex = Math.max(currentPage - siblingCount, firstPageIndex);\n const rightSiblingIndex = Math.min(currentPage + siblingCount, lastPageIndex);\n\n if (showEdges) {\n /**\n * `2 * siblingCount + 5` explanation:\n * 2 * siblingCount for left/right siblings\n * 5 for 2x left/right ellipsis, 2x first/last page + 1x current page\n *\n * For some page counts (e.g. totalPages: 8, siblingCount: 2),\n * calculated max page is higher than total pages,\n * so we need to take the minimum of both.\n */\n const totalPageNumbers = Math.min(2 * siblingCount + 5, pageCount);\n\n const itemCount = totalPageNumbers - 2; // 2 stands for one ellipsis and either first or last page\n\n const showLeftEllipsis =\n // default condition\n leftSiblingIndex > firstPageIndex + 2 &&\n // if the current page is towards the end of the list\n Math.abs(lastPageIndex - itemCount - firstPageIndex + 1) > 2 &&\n // if the current page is towards the middle of the list\n Math.abs(leftSiblingIndex - firstPageIndex) > 2;\n\n const showRightEllipsis =\n // default condition\n rightSiblingIndex < lastPageIndex - 2 &&\n // if the current page is towards the start of the list\n Math.abs(lastPageIndex - itemCount) > 2 &&\n // if the current page is towards the middle of the list\n Math.abs(lastPageIndex - rightSiblingIndex) > 2;\n\n if (!showLeftEllipsis && showRightEllipsis) {\n const leftRange = range(1, itemCount);\n\n return [...leftRange, ELLIPSIS, lastPageIndex];\n }\n\n if (showLeftEllipsis && !showRightEllipsis) {\n const rightRange = range(lastPageIndex - itemCount + 1, lastPageIndex);\n\n return [firstPageIndex, ELLIPSIS, ...rightRange];\n }\n\n if (showLeftEllipsis && showRightEllipsis) {\n const middleRange = range(leftSiblingIndex, rightSiblingIndex);\n\n return [firstPageIndex, ELLIPSIS, ...middleRange, ELLIPSIS, lastPageIndex];\n }\n\n const fullRange = range(firstPageIndex, lastPageIndex);\n return fullRange;\n } else {\n const itemCount = siblingCount * 2 + 1;\n\n if (pageCount < itemCount) return range(1, lastPageIndex);\n else if (currentPage <= siblingCount + 1) return range(firstPageIndex, itemCount);\n else if (pageCount - currentPage <= siblingCount) return range(pageCount - itemCount + 1, lastPageIndex);\n else return range(leftSiblingIndex, rightSiblingIndex);\n }\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\nimport { getRange, transform } from './utils';\n\n@Directive({\n selector: '[rdxPaginationList]',\n exportAs: 'rdxPaginationList'\n})\nexport class RdxPaginationListDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly transformedRange = computed(() => {\n return transform(\n getRange(\n this.rootContext.page(),\n this.rootContext.pageCount(),\n this.rootContext.siblingCount(),\n this.rootContext.showEdges()\n )\n );\n });\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationNext]',\n host: {\n '[attr.aria-label]': '\"Next Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationNextDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(\n () => this.rootContext.page() === this.rootContext.pageCount() || this.rootContext.disabled()\n );\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(this.rootContext.page() + 1);\n }\n }\n}\n","import { computed, Directive } from '@angular/core';\nimport { injectPaginationRootContext } from './pagination-context.token';\n\n// as Button\n@Directive({\n selector: '[rdxPaginationPrev]',\n host: {\n '[attr.aria-label]': '\"Previous Page\"',\n\n '[disabled]': 'disabled()',\n '(click)': 'onClick()'\n }\n})\nexport class RdxPaginationPrevDirective {\n private readonly rootContext = injectPaginationRootContext();\n\n readonly disabled = computed(() => this.rootContext.page() === 1 || this.rootContext.disabled());\n\n onClick() {\n if (!this.disabled()) {\n this.rootContext.onPageChange(this.rootContext.page() - 1);\n }\n }\n}\n","import { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n booleanAttribute,\n computed,\n Directive,\n forwardRef,\n input,\n model,\n numberAttribute,\n output\n} from '@angular/core';\nimport { PAGINATION_ROOT_CONTEXT } from './pagination-context.token';\n\n@Directive({\n selector: '[rdxPaginationRoot]',\n exportAs: 'rdxPaginationRoot',\n providers: [\n { provide: PAGINATION_ROOT_CONTEXT, useExisting: forwardRef(() => RdxPaginationRootDirective) }]\n})\nexport class RdxPaginationRootDirective {\n readonly defaultPage = input<number, NumberInput>(1, { transform: numberAttribute });\n\n readonly page = model<number>(this.defaultPage());\n\n readonly itemsPerPage = input<number, NumberInput>(undefined, { transform: numberAttribute });\n\n readonly total = input<number, NumberInput>(0, { transform: numberAttribute });\n\n readonly siblingCount = input<number, NumberInput>(2, { transform: numberAttribute });\n\n readonly disabled = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n readonly showEdges = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\n readonly updatePage = output<number>();\n\n /** @ignore */\n readonly pageCount = computed(() => Math.max(1, Math.ceil(this.total() / (this.itemsPerPage() || 1))));\n\n /** @ignore */\n onPageChange(value: number) {\n if (!this.disabled()) {\n this.page.set(value);\n this.updatePage.emit(value);\n }\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RdxPaginationEllipsisDirective } from './src/pagination-ellipsis.directive';\nimport { RdxPaginationFirstDirective } from './src/pagination-first.directive';\nimport { RdxPaginationLastDirective } from './src/pagination-last.directive';\nimport { RdxPaginationListItemDirective } from './src/pagination-list-item.directive';\nimport { RdxPaginationListDirective } from './src/pagination-list.directive';\nimport { RdxPaginationNextDirective } from './src/pagination-next.directive';\nimport { RdxPaginationPrevDirective } from './src/pagination-prev.directive';\nimport { RdxPaginationRootDirective } from './src/pagination-root.directive';\n\nexport * from './src/pagination-context.token';\nexport * from './src/pagination-ellipsis.directive';\nexport * from './src/pagination-first.directive';\nexport * from './src/pagination-last.directive';\nexport * from './src/pagination-list-item.directive';\nexport * from './src/pagination-list.directive';\nexport * from './src/pagination-next.directive';\nexport * from './src/pagination-prev.directive';\nexport * from './src/pagination-root.directive';\n\nconst paginationImports = [\n RdxPaginationRootDirective,\n RdxPaginationListDirective,\n RdxPaginationFirstDirective,\n RdxPaginationPrevDirective,\n RdxPaginationLastDirective,\n RdxPaginationNextDirective,\n RdxPaginationListItemDirective,\n RdxPaginationEllipsisDirective\n];\n\n@NgModule({\n imports: [...paginationImports],\n exports: [...paginationImports]\n})\nexport class RdxPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAQa,8BAA8B,CAAA;8GAA9B,8BAA8B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAA9B,8BAA8B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAN1C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACF,wBAAA,kBAAkB,EAA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AAE,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,UAAU,CAAC,MAAgC,0BAAA,CAAC;AAAG;AACvG,iBAAA;;;ACED,MAAM,iBAAiB,GAAG;IACtB,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;IAC3B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,8BAA8B;IAC9B;CACH;MAMY,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAd5B,0BAA0B;YAC1B,0BAA0B;YAC1B,2BAA2B;YAC3B,0BAA0B;YAC1B,0BAA0B;YAC1B,0BAA0B;YAC1B,8BAA8B;AAC9B,YAAA,8BAA8B,aAP9B,0BAA0B;YAC1B,0BAA0B;YAC1B,2BAA2B;YAC3B,0BAA0B;YAC1B,0BAA0B;YAC1B,0BAA0B;YAC1B,8BAA8B;YAC9B,8BAA8B,CAAA,EAAA,CAAA,CAAA;+GAOrB,mBAAmB,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AAC/B,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB;AACjC,iBAAA;;;AClCD;;AAEG;;;;"}
@@ -282,10 +282,10 @@ class RdxPopoverContentDirective {
282
282
  [input]: new SimpleChange(previousValue, currentValue, firstChange)
283
283
  });
284
284
  }
285
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
286
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: RdxPopoverContentDirective, isStandalone: true, selector: "[rdxPopoverContent]", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, sideOffset: { classPropertyName: "sideOffset", publicName: "sideOffset", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignOffset: { classPropertyName: "alignOffset", publicName: "alignOffset", isSignal: true, isRequired: false, transformFunction: null }, alternatePositionsDisabled: { classPropertyName: "alternatePositionsDisabled", publicName: "alternatePositionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayEscapeKeyDownDisabled: { classPropertyName: "onOverlayEscapeKeyDownDisabled", publicName: "onOverlayEscapeKeyDownDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayOutsideClickDisabled: { classPropertyName: "onOverlayOutsideClickDisabled", publicName: "onOverlayOutsideClickDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onOverlayEscapeKeyDown: "onOverlayEscapeKeyDown", onOverlayOutsideClick: "onOverlayOutsideClick", onOpen: "onOpen", onClosed: "onClosed" }, hostDirectives: [{ directive: i1.CdkConnectedOverlay }], ngImport: i0 }); }
285
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
286
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: RdxPopoverContentDirective, isStandalone: true, selector: "[rdxPopoverContent]", inputs: { side: { classPropertyName: "side", publicName: "side", isSignal: true, isRequired: false, transformFunction: null }, sideOffset: { classPropertyName: "sideOffset", publicName: "sideOffset", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, alignOffset: { classPropertyName: "alignOffset", publicName: "alignOffset", isSignal: true, isRequired: false, transformFunction: null }, alternatePositionsDisabled: { classPropertyName: "alternatePositionsDisabled", publicName: "alternatePositionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayEscapeKeyDownDisabled: { classPropertyName: "onOverlayEscapeKeyDownDisabled", publicName: "onOverlayEscapeKeyDownDisabled", isSignal: true, isRequired: false, transformFunction: null }, onOverlayOutsideClickDisabled: { classPropertyName: "onOverlayOutsideClickDisabled", publicName: "onOverlayOutsideClickDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onOverlayEscapeKeyDown: "onOverlayEscapeKeyDown", onOverlayOutsideClick: "onOverlayOutsideClick", onOpen: "onOpen", onClosed: "onClosed" }, hostDirectives: [{ directive: i1.CdkConnectedOverlay }], ngImport: i0 }); }
287
287
  }
288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverContentDirective, decorators: [{
288
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverContentDirective, decorators: [{
289
289
  type: Directive,
290
290
  args: [{
291
291
  selector: '[rdxPopoverContent]',
@@ -310,10 +310,10 @@ class RdxPopoverTriggerDirective {
310
310
  click() {
311
311
  this.popoverRoot.handleToggle();
312
312
  }
313
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
314
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RdxPopoverTriggerDirective, isStandalone: true, selector: "[rdxPopoverTrigger]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"", "attr.aria-expanded": "popoverRoot.isOpen()", "attr.aria-controls": "popoverRoot.popoverContentDirective().name()", "attr.data-state": "popoverRoot.state()" } }, hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
313
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
314
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: RdxPopoverTriggerDirective, isStandalone: true, selector: "[rdxPopoverTrigger]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"", "attr.aria-expanded": "popoverRoot.isOpen()", "attr.aria-controls": "popoverRoot.popoverContentDirective().name()", "attr.data-state": "popoverRoot.state()" } }, hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
315
315
  }
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverTriggerDirective, decorators: [{
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverTriggerDirective, decorators: [{
317
317
  type: Directive,
318
318
  args: [{
319
319
  selector: '[rdxPopoverTrigger]',
@@ -448,10 +448,10 @@ class RdxCdkEventService {
448
448
  }
449
449
  this.onDestroyCallbacks.add(destroyClickDomRootEventListener);
450
450
  }
451
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxCdkEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
452
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxCdkEventService }); }
451
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxCdkEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
452
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxCdkEventService }); }
453
453
  }
454
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxCdkEventService, decorators: [{
454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxCdkEventService, decorators: [{
455
455
  type: Injectable
456
456
  }], ctorParameters: () => [] });
457
457
  const RdxCdkEventServiceToken = new InjectionToken('RdxCdkEventServiceToken');
@@ -778,10 +778,10 @@ class RdxPopoverRootDirective {
778
778
  });
779
779
  });
780
780
  }
781
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
782
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.1.4", type: RdxPopoverRootDirective, isStandalone: true, selector: "[rdxPopoverRoot]", inputs: { anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, externalControl: { classPropertyName: "externalControl", publicName: "externalControl", isSignal: true, isRequired: false, transformFunction: null }, cssAnimation: { classPropertyName: "cssAnimation", publicName: "cssAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssOpeningAnimation: { classPropertyName: "cssOpeningAnimation", publicName: "cssOpeningAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssClosingAnimation: { classPropertyName: "cssClosingAnimation", publicName: "cssClosingAnimation", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "popoverContentDirective", first: true, predicate: RdxPopoverContentDirective, descendants: true, isSignal: true }, { propertyName: "popoverTriggerDirective", first: true, predicate: RdxPopoverTriggerDirective, descendants: true, isSignal: true }, { propertyName: "popoverArrowDirective", first: true, predicate: RdxPopoverArrowToken, descendants: true, isSignal: true }, { propertyName: "popoverCloseDirective", first: true, predicate: RdxPopoverCloseToken, descendants: true, isSignal: true }, { propertyName: "popoverContentAttributesComponent", first: true, predicate: RdxPopoverContentAttributesToken, descendants: true, isSignal: true }, { propertyName: "internalPopoverAnchorDirective", first: true, predicate: RdxPopoverAnchorToken, descendants: true, isSignal: true }], exportAs: ["rdxPopoverRoot"], ngImport: i0 }); }
781
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
782
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "19.1.6", type: RdxPopoverRootDirective, isStandalone: true, selector: "[rdxPopoverRoot]", inputs: { anchor: { classPropertyName: "anchor", publicName: "anchor", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, externalControl: { classPropertyName: "externalControl", publicName: "externalControl", isSignal: true, isRequired: false, transformFunction: null }, cssAnimation: { classPropertyName: "cssAnimation", publicName: "cssAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssOpeningAnimation: { classPropertyName: "cssOpeningAnimation", publicName: "cssOpeningAnimation", isSignal: true, isRequired: false, transformFunction: null }, cssClosingAnimation: { classPropertyName: "cssClosingAnimation", publicName: "cssClosingAnimation", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "popoverContentDirective", first: true, predicate: RdxPopoverContentDirective, descendants: true, isSignal: true }, { propertyName: "popoverTriggerDirective", first: true, predicate: RdxPopoverTriggerDirective, descendants: true, isSignal: true }, { propertyName: "popoverArrowDirective", first: true, predicate: RdxPopoverArrowToken, descendants: true, isSignal: true }, { propertyName: "popoverCloseDirective", first: true, predicate: RdxPopoverCloseToken, descendants: true, isSignal: true }, { propertyName: "popoverContentAttributesComponent", first: true, predicate: RdxPopoverContentAttributesToken, descendants: true, isSignal: true }, { propertyName: "internalPopoverAnchorDirective", first: true, predicate: RdxPopoverAnchorToken, descendants: true, isSignal: true }], exportAs: ["rdxPopoverRoot"], ngImport: i0 }); }
783
783
  }
784
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverRootDirective, decorators: [{
784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverRootDirective, decorators: [{
785
785
  type: Directive,
786
786
  args: [{
787
787
  selector: '[rdxPopoverRoot]',
@@ -832,15 +832,15 @@ class RdxPopoverAnchorDirective {
832
832
  });
833
833
  this.popoverRoot?.popoverTriggerDirective().elementRef.nativeElement.dispatchEvent(clickEvent);
834
834
  }
835
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
836
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RdxPopoverAnchorDirective, isStandalone: true, selector: "[rdxPopoverAnchor]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"" } }, providers: [
835
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
836
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: RdxPopoverAnchorDirective, isStandalone: true, selector: "[rdxPopoverAnchor]", host: { attributes: { "type": "button" }, listeners: { "click": "click()" }, properties: { "attr.id": "name()", "attr.aria-haspopup": "\"dialog\"" } }, providers: [
837
837
  {
838
838
  provide: RdxPopoverAnchorToken,
839
839
  useExisting: forwardRef(() => RdxPopoverAnchorDirective)
840
840
  }
841
841
  ], exportAs: ["rdxPopoverAnchor"], hostDirectives: [{ directive: i1.CdkOverlayOrigin }], ngImport: i0 }); }
842
842
  }
843
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverAnchorDirective, decorators: [{
843
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverAnchorDirective, decorators: [{
844
844
  type: Directive,
845
845
  args: [{
846
846
  selector: '[rdxPopoverAnchor]',
@@ -954,15 +954,15 @@ class RdxPopoverArrowDirective {
954
954
  });
955
955
  });
956
956
  }
957
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
958
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: RdxPopoverArrowDirective, isStandalone: true, selector: "[rdxPopoverArrow]", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
957
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
958
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: RdxPopoverArrowDirective, isStandalone: true, selector: "[rdxPopoverArrow]", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
959
959
  {
960
960
  provide: RdxPopoverArrowToken,
961
961
  useExisting: forwardRef(() => RdxPopoverArrowDirective)
962
962
  }
963
963
  ], ngImport: i0 }); }
964
964
  }
965
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverArrowDirective, decorators: [{
965
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverArrowDirective, decorators: [{
966
966
  type: Directive,
967
967
  args: [{
968
968
  selector: '[rdxPopoverArrow]',
@@ -994,15 +994,15 @@ class RdxPopoverCloseDirective {
994
994
  });
995
995
  });
996
996
  }
997
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
998
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RdxPopoverCloseDirective, isStandalone: true, selector: "[rdxPopoverClose]", host: { attributes: { "type": "button" }, listeners: { "click": "popoverRoot.handleClose()" } }, providers: [
997
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
998
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: RdxPopoverCloseDirective, isStandalone: true, selector: "[rdxPopoverClose]", host: { attributes: { "type": "button" }, listeners: { "click": "popoverRoot.handleClose()" } }, providers: [
999
999
  {
1000
1000
  provide: RdxPopoverCloseToken,
1001
1001
  useExisting: forwardRef(() => RdxPopoverCloseDirective)
1002
1002
  }
1003
1003
  ], ngImport: i0 }); }
1004
1004
  }
1005
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverCloseDirective, decorators: [{
1005
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverCloseDirective, decorators: [{
1006
1006
  type: Directive,
1007
1007
  args: [{
1008
1008
  selector: '[rdxPopoverClose]',
@@ -1046,8 +1046,8 @@ class RdxPopoverContentAttributesComponent {
1046
1046
  ((this.popoverRoot.cssOpeningAnimation() && this.popoverRoot.state() === RdxPopoverState.OPEN) ||
1047
1047
  (this.popoverRoot.cssClosingAnimation() && this.popoverRoot.state() === RdxPopoverState.CLOSED)));
1048
1048
  }
1049
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverContentAttributesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1050
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.4", type: RdxPopoverContentAttributesComponent, isStandalone: true, selector: "[rdxPopoverContentAttributes]", host: { listeners: { "animationstart": "onAnimationStart($event)", "animationend": "onAnimationEnd($event)" }, properties: { "attr.role": "\"dialog\"", "attr.id": "name()", "attr.data-state": "popoverRoot.state()", "attr.data-side": "popoverRoot.popoverContentDirective().side()", "attr.data-align": "popoverRoot.popoverContentDirective().align()", "style": "disableAnimation() ? {animation: \"none !important\"} : null" } }, providers: [
1049
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverContentAttributesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1050
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.6", type: RdxPopoverContentAttributesComponent, isStandalone: true, selector: "[rdxPopoverContentAttributes]", host: { listeners: { "animationstart": "onAnimationStart($event)", "animationend": "onAnimationEnd($event)" }, properties: { "attr.role": "\"dialog\"", "attr.id": "name()", "attr.data-state": "popoverRoot.state()", "attr.data-side": "popoverRoot.popoverContentDirective().side()", "attr.data-align": "popoverRoot.popoverContentDirective().align()", "style": "disableAnimation() ? {animation: \"none !important\"} : null" } }, providers: [
1051
1051
  {
1052
1052
  provide: RdxPopoverContentAttributesToken,
1053
1053
  useExisting: forwardRef(() => RdxPopoverContentAttributesComponent)
@@ -1056,7 +1056,7 @@ class RdxPopoverContentAttributesComponent {
1056
1056
  <ng-content />
1057
1057
  `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1058
1058
  }
1059
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverContentAttributesComponent, decorators: [{
1059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverContentAttributesComponent, decorators: [{
1060
1060
  type: Component,
1061
1061
  args: [{
1062
1062
  selector: '[rdxPopoverContentAttributes]',
@@ -1093,8 +1093,8 @@ const _imports = [
1093
1093
  RdxPopoverContentAttributesComponent
1094
1094
  ];
1095
1095
  class RdxPopoverModule {
1096
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1097
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverModule, imports: [RdxPopoverArrowDirective,
1096
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1097
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverModule, imports: [RdxPopoverArrowDirective,
1098
1098
  RdxPopoverCloseDirective,
1099
1099
  RdxPopoverContentDirective,
1100
1100
  RdxPopoverTriggerDirective,
@@ -1107,9 +1107,9 @@ class RdxPopoverModule {
1107
1107
  RdxPopoverRootDirective,
1108
1108
  RdxPopoverAnchorDirective,
1109
1109
  RdxPopoverContentAttributesComponent] }); }
1110
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverModule }); }
1110
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverModule }); }
1111
1111
  }
1112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxPopoverModule, decorators: [{
1112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxPopoverModule, decorators: [{
1113
1113
  type: NgModule,
1114
1114
  args: [{
1115
1115
  imports: [..._imports],
@@ -84,10 +84,10 @@ Defaulting to \`null\`.`);
84
84
  defaultGetValueLabel(value, max) {
85
85
  return `${Math.round((value / max) * 100)}%`;
86
86
  }
87
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
88
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: RdxProgressRootDirective, isStandalone: true, selector: "[rdxProgressRoot]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, valueLabel: { classPropertyName: "valueLabel", publicName: "valueLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", max: "maxChange" }, host: { attributes: { "role": "progressbar", "tabindex": "-1" }, properties: { "attr.aria-valuemax": "max()", "attr.aria-valuemin": "0", "attr.aria-valuenow": "value()", "attr.aria-valuetext": "label()", "attr.aria-label": "label()", "attr.data-state": "progressState()", "attr.data-value": "value() ?? undefined", "attr.data-max": "max()" } }, providers: [{ provide: RdxProgressToken, useExisting: RdxProgressRootDirective }], exportAs: ["rdxProgressRoot"], ngImport: i0 }); }
87
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
88
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: RdxProgressRootDirective, isStandalone: true, selector: "[rdxProgressRoot]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, valueLabel: { classPropertyName: "valueLabel", publicName: "valueLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", max: "maxChange" }, host: { attributes: { "role": "progressbar", "tabindex": "-1" }, properties: { "attr.aria-valuemax": "max()", "attr.aria-valuemin": "0", "attr.aria-valuenow": "value()", "attr.aria-valuetext": "label()", "attr.aria-label": "label()", "attr.data-state": "progressState()", "attr.data-value": "value() ?? undefined", "attr.data-max": "max()" } }, providers: [{ provide: RdxProgressToken, useExisting: RdxProgressRootDirective }], exportAs: ["rdxProgressRoot"], ngImport: i0 }); }
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressRootDirective, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressRootDirective, decorators: [{
91
91
  type: Directive,
92
92
  args: [{
93
93
  selector: '[rdxProgressRoot]',
@@ -123,10 +123,10 @@ class RdxProgressIndicatorDirective {
123
123
  */
124
124
  this.progress = injectProgress();
125
125
  }
126
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
127
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RdxProgressIndicatorDirective, isStandalone: true, selector: "[rdxProgressIndicator]", host: { properties: { "attr.data-state": "progress.progressState()", "attr.data-value": "progress.value()", "attr.data-max": "progress.max()" } }, exportAs: ["rdxProgressIndicator"], ngImport: i0 }); }
126
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
127
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: RdxProgressIndicatorDirective, isStandalone: true, selector: "[rdxProgressIndicator]", host: { properties: { "attr.data-state": "progress.progressState()", "attr.data-value": "progress.value()", "attr.data-max": "progress.max()" } }, exportAs: ["rdxProgressIndicator"], ngImport: i0 }); }
128
128
  }
129
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressIndicatorDirective, decorators: [{
129
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressIndicatorDirective, decorators: [{
130
130
  type: Directive,
131
131
  args: [{
132
132
  selector: '[rdxProgressIndicator]',
@@ -144,13 +144,13 @@ const _imports = [
144
144
  RdxProgressIndicatorDirective
145
145
  ];
146
146
  class RdxProgressModule {
147
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
148
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressModule, imports: [RdxProgressRootDirective,
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
148
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressModule, imports: [RdxProgressRootDirective,
149
149
  RdxProgressIndicatorDirective], exports: [RdxProgressRootDirective,
150
150
  RdxProgressIndicatorDirective] }); }
151
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressModule }); }
151
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressModule }); }
152
152
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxProgressModule, decorators: [{
153
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxProgressModule, decorators: [{
154
154
  type: NgModule,
155
155
  args: [{
156
156
  imports: [..._imports],
@@ -77,13 +77,13 @@ class RdxRadioGroupDirective {
77
77
  if (this.disableState())
78
78
  return;
79
79
  }
80
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
81
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: RdxRadioGroupDirective, isStandalone: true, selector: "[rdxRadioRoot]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", onValueChange: "onValueChange" }, host: { attributes: { "role": "radiogroup" }, listeners: { "keydown": "onKeydown()" }, properties: { "attr.aria-orientation": "orientation()", "attr.aria-required": "required()", "attr.data-disabled": "disableState() ? \"\" : null" } }, providers: [
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
81
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: RdxRadioGroupDirective, isStandalone: true, selector: "[rdxRadioRoot]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: false, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange", onValueChange: "onValueChange" }, host: { attributes: { "role": "radiogroup" }, listeners: { "keydown": "onKeydown()" }, properties: { "attr.aria-orientation": "orientation()", "attr.aria-required": "required()", "attr.data-disabled": "disableState() ? \"\" : null" } }, providers: [
82
82
  { provide: RDX_RADIO_GROUP, useExisting: RdxRadioGroupDirective },
83
83
  { provide: NG_VALUE_ACCESSOR, useExisting: RdxRadioGroupDirective, multi: true }
84
84
  ], exportAs: ["rdxRadioRoot"], hostDirectives: [{ directive: i1.RdxRovingFocusGroupDirective, inputs: ["dir", "dir", "orientation", "orientation", "loop", "loop"] }], ngImport: i0 }); }
85
85
  }
86
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioGroupDirective, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioGroupDirective, decorators: [{
87
87
  type: Directive,
88
88
  args: [{
89
89
  selector: '[rdxRadioRoot]',
@@ -159,10 +159,10 @@ class RdxRadioItemDirective {
159
159
  }
160
160
  }, 0);
161
161
  }
162
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
163
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: RdxRadioItemDirective, isStandalone: true, selector: "[rdxRadioItem]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", 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 } }, host: { attributes: { "type": "button", "role": "radio" }, listeners: { "click": "onClick()", "keydown": "onKeyDown($event)", "keyup": "onKeyUp()", "focus": "onFocus()" }, properties: { "attr.aria-checked": "checkedState()", "attr.data-disabled": "disabledState() ? \"\" : null", "attr.data-state": "checkedState() ? \"checked\" : \"unchecked\"", "disabled": "disabledState()" } }, providers: [{ provide: RdxRadioItemToken, useExisting: RdxRadioItemDirective }], exportAs: ["rdxRadioItem"], hostDirectives: [{ directive: i1.RdxRovingFocusItemDirective, inputs: ["tabStopId", "id", "focusable", "focusable", "active", "active", "allowShiftKey", "allowShiftKey"] }], ngImport: i0 }); }
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
163
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: RdxRadioItemDirective, isStandalone: true, selector: "[rdxRadioItem]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", 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 } }, host: { attributes: { "type": "button", "role": "radio" }, listeners: { "click": "onClick()", "keydown": "onKeyDown($event)", "keyup": "onKeyUp()", "focus": "onFocus()" }, properties: { "attr.aria-checked": "checkedState()", "attr.data-disabled": "disabledState() ? \"\" : null", "attr.data-state": "checkedState() ? \"checked\" : \"unchecked\"", "disabled": "disabledState()" } }, providers: [{ provide: RdxRadioItemToken, useExisting: RdxRadioItemDirective }], exportAs: ["rdxRadioItem"], hostDirectives: [{ directive: i1.RdxRovingFocusItemDirective, inputs: ["tabStopId", "id", "focusable", "focusable", "active", "active", "allowShiftKey", "allowShiftKey"] }], ngImport: i0 }); }
164
164
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioItemDirective, decorators: [{
165
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioItemDirective, decorators: [{
166
166
  type: Directive,
167
167
  args: [{
168
168
  selector: '[rdxRadioItem]',
@@ -192,10 +192,10 @@ class RdxRadioIndicatorDirective {
192
192
  this.radioGroup = inject(RDX_RADIO_GROUP);
193
193
  this.radioItem = inject(RdxRadioItemDirective);
194
194
  }
195
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
196
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.4", type: RdxRadioIndicatorDirective, isStandalone: true, selector: "[rdxRadioIndicator]", host: { properties: { "attr.data-state": "radioItem.checkedState() ? \"checked\" : \"unchecked\"", "attr.data-disabled": "radioItem.disabled ? \"\" : null" } }, exportAs: ["rdxRadioIndicator"], ngImport: i0 }); }
195
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
196
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.1.6", type: RdxRadioIndicatorDirective, isStandalone: true, selector: "[rdxRadioIndicator]", host: { properties: { "attr.data-state": "radioItem.checkedState() ? \"checked\" : \"unchecked\"", "attr.data-disabled": "radioItem.disabled ? \"\" : null" } }, exportAs: ["rdxRadioIndicator"], ngImport: i0 }); }
197
197
  }
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioIndicatorDirective, decorators: [{
198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioIndicatorDirective, decorators: [{
199
199
  type: Directive,
200
200
  args: [{
201
201
  selector: '[rdxRadioIndicator]',
@@ -217,10 +217,10 @@ class RdxRadioItemInputDirective {
217
217
  this.required = input(this.radioItem.required());
218
218
  this.disabled = input(this.radioItem.disabled());
219
219
  }
220
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioItemInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
221
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.4", type: RdxRadioItemInputDirective, isStandalone: true, selector: "[rdxRadioItemInput]", inputs: { name: { classPropertyName: "name", publicName: "name", 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 } }, host: { attributes: { "type": "radio" }, properties: { "attr.name": "name()", "attr.required": "required()", "attr.disabled": "disabled() ? disabled() : undefined", "attr.checked": "checked()", "value": "value()" } }, exportAs: ["rdxRadioItemInput"], hostDirectives: [{ directive: i1$1.RdxVisuallyHiddenDirective, inputs: ["feature", "feature"] }], ngImport: i0 }); }
220
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioItemInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
221
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.1.6", type: RdxRadioItemInputDirective, isStandalone: true, selector: "[rdxRadioItemInput]", inputs: { name: { classPropertyName: "name", publicName: "name", 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 } }, host: { attributes: { "type": "radio" }, properties: { "attr.name": "name()", "attr.required": "required()", "attr.disabled": "disabled() ? disabled() : undefined", "attr.checked": "checked()", "value": "value()" } }, exportAs: ["rdxRadioItemInput"], hostDirectives: [{ directive: i1$1.RdxVisuallyHiddenDirective, inputs: ["feature", "feature"] }], ngImport: i0 }); }
222
222
  }
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRadioItemInputDirective, decorators: [{
223
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRadioItemInputDirective, decorators: [{
224
224
  type: Directive,
225
225
  args: [{
226
226
  selector: '[rdxRadioItemInput]',
@@ -148,10 +148,10 @@ class RdxRovingFocusGroupDirective {
148
148
  getFocusableItemsCount() {
149
149
  return this.focusableItemsCount();
150
150
  }
151
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRovingFocusGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
152
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: RdxRovingFocusGroupDirective, isStandalone: true, selector: "[rdxRovingFocusGroup]", inputs: { orientation: "orientation", dir: "dir", loop: ["loop", "loop", booleanAttribute], preventScrollOnEntryFocus: ["preventScrollOnEntryFocus", "preventScrollOnEntryFocus", booleanAttribute] }, outputs: { entryFocus: "entryFocus", currentTabStopIdChange: "currentTabStopIdChange" }, host: { listeners: { "focus": "handleFocus($event)", "blur": "handleBlur()", "mouseup": "handleMouseUp()", "mousedown": "handleMouseDown()" }, properties: { "attr.data-orientation": "dataOrientation", "attr.tabindex": "tabIndex", "attr.dir": "dir" }, styleAttribute: "outline: none;" }, ngImport: i0 }); }
151
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRovingFocusGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
152
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.6", type: RdxRovingFocusGroupDirective, isStandalone: true, selector: "[rdxRovingFocusGroup]", inputs: { orientation: "orientation", dir: "dir", loop: ["loop", "loop", booleanAttribute], preventScrollOnEntryFocus: ["preventScrollOnEntryFocus", "preventScrollOnEntryFocus", booleanAttribute] }, outputs: { entryFocus: "entryFocus", currentTabStopIdChange: "currentTabStopIdChange" }, host: { listeners: { "focus": "handleFocus($event)", "blur": "handleBlur()", "mouseup": "handleMouseUp()", "mousedown": "handleMouseDown()" }, properties: { "attr.data-orientation": "dataOrientation", "attr.tabindex": "tabIndex", "attr.dir": "dir" }, styleAttribute: "outline: none;" }, ngImport: i0 }); }
153
153
  }
154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRovingFocusGroupDirective, decorators: [{
154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRovingFocusGroupDirective, decorators: [{
155
155
  type: Directive,
156
156
  args: [{
157
157
  selector: '[rdxRovingFocusGroup]',
@@ -281,10 +281,10 @@ class RdxRovingFocusItemDirective {
281
281
  });
282
282
  }
283
283
  }
284
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRovingFocusItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
285
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.4", type: RdxRovingFocusItemDirective, isStandalone: true, selector: "[rdxRovingFocusItem]", inputs: { focusable: ["focusable", "focusable", booleanAttribute], active: ["active", "active", booleanAttribute], tabStopId: "tabStopId", allowShiftKey: ["allowShiftKey", "allowShiftKey", booleanAttribute] }, host: { listeners: { "mousedown": "handleMouseDown($event)", "keydown": "handleKeydown($event)", "focus": "onFocus()" }, properties: { "attr.tabindex": "tabIndex", "attr.data-orientation": "parent.orientation", "attr.data-active": "active", "attr.data-disabled": "!focusable ? \"\" : undefined" } }, ngImport: i0 }); }
284
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRovingFocusItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
285
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.6", type: RdxRovingFocusItemDirective, isStandalone: true, selector: "[rdxRovingFocusItem]", inputs: { focusable: ["focusable", "focusable", booleanAttribute], active: ["active", "active", booleanAttribute], tabStopId: "tabStopId", allowShiftKey: ["allowShiftKey", "allowShiftKey", booleanAttribute] }, host: { listeners: { "mousedown": "handleMouseDown($event)", "keydown": "handleKeydown($event)", "focus": "onFocus()" }, properties: { "attr.tabindex": "tabIndex", "attr.data-orientation": "parent.orientation", "attr.data-active": "active", "attr.data-disabled": "!focusable ? \"\" : undefined" } }, ngImport: i0 }); }
286
286
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.4", ngImport: i0, type: RdxRovingFocusItemDirective, decorators: [{
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.6", ngImport: i0, type: RdxRovingFocusItemDirective, decorators: [{
288
288
  type: Directive,
289
289
  args: [{
290
290
  selector: '[rdxRovingFocusItem]',