yukit-web 0.0.11 → 0.0.13
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/.npm/_cacache/content-v2/sha512/03/98/70979fc359861d63479e1619d042ae426b2765f31a8af329a1f76a60cd26b0159ea29bb70209838d246dd6a0a5bafc6617f597733ccae24b8f25ae597d19 +1 -0
- package/.npm/_cacache/index-v5/64/dc/73c7a26f2e6eb0c711133d96c247da5ecf0eba708cd37c450a7b3c7cb488 +1 -1
- package/.npm/_logs/{2026-08-31T12_58_48_812Z-debug-0.log → 2026-09-03T11_06_22_047Z-debug-0.log} +10 -10
- package/.npm/_logs/{2026-08-31T12_58_49_377Z-debug-0.log → 2026-09-03T11_06_22_642Z-debug-0.log} +2 -2
- package/fesm2022/yukit-web-helm-accordion.mjs +12 -12
- package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert-dialog.mjs +36 -36
- package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert.mjs +12 -12
- package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs +3 -3
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-attachment.mjs +27 -27
- package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-autocomplete.mjs +36 -36
- package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-avatar.mjs +18 -18
- package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-badge.mjs +3 -3
- package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-breadcrumb.mjs +21 -21
- package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-bubble.mjs +12 -12
- package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button-group.mjs +9 -9
- package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button.mjs +3 -3
- package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-calendar.mjs +12 -12
- package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-card.mjs +21 -21
- package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-carousel.mjs +18 -18
- package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-checkbox.mjs +3 -3
- package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-collapsible.mjs +9 -9
- package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-combobox.mjs +63 -63
- package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-command.mjs +33 -33
- package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-context-menu.mjs +3 -3
- package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-date-picker.mjs +30 -30
- package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dialog.mjs +33 -33
- package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-drawer.mjs +30 -30
- package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs +51 -51
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-empty.mjs +18 -18
- package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-field.mjs +30 -30
- package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-hover-card.mjs +12 -12
- package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-group.mjs +18 -18
- package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-otp.mjs +15 -15
- package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input.mjs +3 -3
- package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-item.mjs +30 -30
- package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-kbd.mjs +6 -6
- package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-label.mjs +3 -3
- package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-marker.mjs +9 -9
- package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-menubar.mjs +6 -6
- package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-message.mjs +18 -18
- package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-native-select.mjs +9 -9
- package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-navigation-menu.mjs +21 -21
- package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-pagination.mjs +27 -27
- package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-popover.mjs +21 -21
- package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-progress.mjs +6 -6
- package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-radio-group.mjs +9 -9
- package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-resizable.mjs +9 -9
- package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-scroll-area.mjs +3 -3
- package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-select.mjs +48 -48
- package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-separator.mjs +3 -3
- package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sheet.mjs +30 -30
- package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sidebar.mjs +72 -72
- package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-skeleton.mjs +3 -3
- package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-slider.mjs +3 -3
- package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sonner.mjs +3 -3
- package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-spinner.mjs +3 -3
- package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-switch.mjs +6 -6
- package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-table.mjs +27 -27
- package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tabs.mjs +18 -18
- package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-textarea.mjs +3 -3
- package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle-group.mjs +6 -6
- package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle.mjs +3 -3
- package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tooltip.mjs +3 -3
- package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-typography.mjs +36 -36
- package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
- package/fesm2022/yukit-web.mjs +997 -910
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +2 -2
- package/types/yukit-web.d.ts +315 -290
- package/.npm/_cacache/content-v2/sha512/91/84/7c92c9dd9c293aab175752ad46bf81644f183a08e6d676883687d9582b567e12d86c1a66d285eecd45ad523581dc28033a028ee028f51693fc126121d19f +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-pagination.mjs","sources":["../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-content.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-ellipsis.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-item.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-link.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-next.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-previous.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-numbered-pagination.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-numbered-pagination-query-params.ts","../../../projects/yukit-web/helm/pagination/src/index.ts","../../../projects/yukit-web/helm/pagination/src/yukit-web-helm-pagination.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPagination],hlm-pagination',\n\thost: {\n\t\t'data-slot': 'pagination',\n\t\trole: 'navigation',\n\t\t'[attr.aria-label]': 'ariaLabel()',\n\t},\n})\nexport class HlmPagination {\n\t/** The aria-label for the pagination component. */\n\tpublic readonly ariaLabel = input<string>('pagination', { alias: 'aria-label' });\n\n\tconstructor() {\n\t\tclasses(() => 'mx-auto flex w-full justify-center');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'ul[hlmPaginationContent]',\n\thost: { 'data-slot': 'pagination-content' },\n})\nexport class HlmPaginationContent {\n\tconstructor() {\n\t\tclasses(() => 'gap-0.5 flex items-center');\n\t}\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideEllipsis } from '@ng-icons/lucide';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-pagination-ellipsis',\n\timports: [NgIcon],\n\tproviders: [provideIcons({ lucideEllipsis })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: { 'data-slot': 'pagination-ellipsis' },\n\ttemplate: `\n\t\t<ng-icon name=\"lucideEllipsis\" />\n\t\t<span class=\"sr-only\">{{ srOnlyText() }}</span>\n\t`,\n})\nexport class HlmPaginationEllipsis {\n\t/** Screen reader only text for the ellipsis */\n\tpublic readonly srOnlyText = input<string>('More pages');\n\n\tconstructor() {\n\t\tclasses(() => \"size-8 [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center justify-center\");\n\t}\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n\tselector: 'li[hlmPaginationItem]',\n\thost: { 'data-slot': 'pagination-item' },\n})\nexport class HlmPaginationItem {}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { buttonVariants, type ButtonVariants } from 'yukit-web/helm/button';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPaginationLink]',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: RouterLink,\n\t\t\tinputs: [\n\t\t\t\t'target',\n\t\t\t\t'queryParams',\n\t\t\t\t'fragment',\n\t\t\t\t'queryParamsHandling',\n\t\t\t\t'state',\n\t\t\t\t'info',\n\t\t\t\t'relativeTo',\n\t\t\t\t'preserveFragment',\n\t\t\t\t'skipLocationChange',\n\t\t\t\t'replaceUrl',\n\t\t\t\t'routerLink: link',\n\t\t\t],\n\t\t},\n\t],\n\thost: {\n\t\t'data-slot': 'pagination-link',\n\t\t'[attr.data-active]': 'isActive() ? \"true\" : null',\n\t\t'[attr.aria-current]': 'isActive() ? \"page\" : null',\n\t},\n})\nexport class HlmPaginationLink {\n\t/** Whether the link is active (i.e., the current page). */\n\tpublic readonly isActive = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\t/** The size of the button. */\n\tpublic readonly size = input<ButtonVariants['size']>('icon');\n\t/** The link to navigate to the page. */\n\tpublic readonly link = input<RouterLink['routerLink']>();\n\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'relative',\n\t\t\tbuttonVariants({\n\t\t\t\tvariant: this.isActive() ? 'outline' : 'ghost',\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\tthis.link() === undefined && 'cursor-pointer',\n\t\t]);\n\t}\n}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { RouterLink } from '@angular/router';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideChevronRight } from '@ng-icons/lucide';\nimport type { ButtonVariants } from 'yukit-web/helm/button';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmPaginationLink } from './hlm-pagination-link';\n\n@Component({\n\tselector: 'hlm-pagination-next',\n\timports: [HlmPaginationLink, NgIcon],\n\tproviders: [provideIcons({ lucideChevronRight })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<a\n\t\t\thlmPaginationLink\n\t\t\t[class]=\"_computedClass()\"\n\t\t\t[link]=\"link()\"\n\t\t\t[queryParams]=\"queryParams()\"\n\t\t\t[queryParamsHandling]=\"queryParamsHandling()\"\n\t\t\t[size]=\"_size()\"\n\t\t\t[attr.aria-label]=\"ariaLabel()\"\n\t\t>\n\t\t\t<span [class]=\"_labelClass()\">{{ text() }}</span>\n\t\t\t<ng-icon name=\"lucideChevronRight\" class=\"rtl:rotate-180\" />\n\t\t</a>\n\t`,\n})\nexport class HlmPaginationNext {\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\t/** The link to navigate to the next page. */\n\tpublic readonly link = input<RouterLink['routerLink']>();\n\t/** The query parameters to pass to the next page. */\n\tpublic readonly queryParams = input<RouterLink['queryParams']>();\n\t/** How to handle query parameters when navigating to the next page. */\n\tpublic readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();\n\n\t/** The aria-label for the next page link. */\n\tpublic readonly ariaLabel = input<string>('Go to next page', { alias: 'aria-label' });\n\t/** The text to display for the next page link. */\n\tpublic readonly text = input<string>('Next');\n\t/** Whether the button should only display the icon. */\n\tpublic readonly iconOnly = input<boolean, BooleanInput>(false, {\n\t\ttransform: booleanAttribute,\n\t});\n\tprotected readonly _labelClass = computed(() => (this.iconOnly() ? 'sr-only' : 'hidden sm:block'));\n\n\tprotected readonly _size = computed<ButtonVariants['size']>(() => (this.iconOnly() ? 'icon' : 'default'));\n\n\tprotected readonly _computedClass = computed(() =>\n\t\thlm(!this.iconOnly() && 'pe-1.5!', this.userClass()),\n\t);\n}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { RouterLink } from '@angular/router';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideChevronLeft } from '@ng-icons/lucide';\nimport type { ButtonVariants } from 'yukit-web/helm/button';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmPaginationLink } from './hlm-pagination-link';\n\n@Component({\n\tselector: 'hlm-pagination-previous',\n\timports: [HlmPaginationLink, NgIcon],\n\tproviders: [provideIcons({ lucideChevronLeft })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<a\n\t\t\thlmPaginationLink\n\t\t\t[class]=\"_computedClass()\"\n\t\t\t[link]=\"link()\"\n\t\t\t[queryParams]=\"queryParams()\"\n\t\t\t[queryParamsHandling]=\"queryParamsHandling()\"\n\t\t\t[size]=\"_size()\"\n\t\t\t[attr.aria-label]=\"ariaLabel()\"\n\t\t>\n\t\t\t<ng-icon name=\"lucideChevronLeft\" class=\"rtl:rotate-180\" />\n\t\t\t<span [class]=\"_labelClass()\">{{ text() }}</span>\n\t\t</a>\n\t`,\n})\nexport class HlmPaginationPrevious {\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\t/** The link to navigate to the previous page. */\n\tpublic readonly link = input<RouterLink['routerLink']>();\n\t/** The query parameters to pass to the previous page. */\n\tpublic readonly queryParams = input<RouterLink['queryParams']>();\n\t/** How to handle query parameters when navigating to the previous page. */\n\tpublic readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();\n\n\t/** The aria-label for the previous page link. */\n\tpublic readonly ariaLabel = input<string>('Go to previous page', { alias: 'aria-label' });\n\t/** The text to display for the previous page link. */\n\tpublic readonly text = input<string>('Previous');\n\t/** Whether the button should only display the icon. */\n\tpublic readonly iconOnly = input<boolean, BooleanInput>(false, {\n\t\ttransform: booleanAttribute,\n\t});\n\tprotected readonly _labelClass = computed(() =>\n\t\thlm(this.iconOnly() ? 'sr-only' : 'hidden sm:block'),\n\t);\n\n\tprotected readonly _size = computed<ButtonVariants['size']>(() => (this.iconOnly() ? 'icon' : 'default'));\n\n\tprotected readonly _computedClass = computed(() =>\n\t\thlm(!this.iconOnly() && 'ps-1.5!', this.userClass()),\n\t);\n}\n","import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n\tChangeDetectionStrategy,\n\tComponent,\n\tbooleanAttribute,\n\tcomputed,\n\tinput,\n\tmodel,\n\tnumberAttribute,\n\tuntracked,\n} from '@angular/core';\nimport { HlmSelectImports } from 'yukit-web/helm/select';\nimport { HlmPagination } from './hlm-pagination';\nimport { HlmPaginationContent } from './hlm-pagination-content';\nimport { HlmPaginationEllipsis } from './hlm-pagination-ellipsis';\nimport { HlmPaginationItem } from './hlm-pagination-item';\nimport { HlmPaginationLink } from './hlm-pagination-link';\nimport { HlmPaginationNext } from './hlm-pagination-next';\nimport { HlmPaginationPrevious } from './hlm-pagination-previous';\n\n@Component({\n\tselector: 'hlm-numbered-pagination',\n\timports: [\n\t\tHlmPagination,\n\t\tHlmPaginationContent,\n\t\tHlmPaginationItem,\n\t\tHlmPaginationPrevious,\n\t\tHlmPaginationNext,\n\t\tHlmPaginationLink,\n\t\tHlmPaginationEllipsis,\n\t\tHlmSelectImports,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<div class=\"flex items-center justify-between gap-2 px-4 py-2\">\n\t\t\t<div class=\"flex items-center gap-1 text-sm text-nowrap text-gray-600\">\n\t\t\t\t<b>{{ totalItems() }}</b>\n\t\t\t\ttotal items |\n\t\t\t\t<b>{{ _lastPageNumber() }}</b>\n\t\t\t\tpages\n\t\t\t</div>\n\n\t\t\t<nav hlmPagination>\n\t\t\t\t<ul hlmPaginationContent>\n\t\t\t\t\t@if (showEdges() && !_isFirstPageActive()) {\n\t\t\t\t\t\t<li hlmPaginationItem (click)=\"goToPrevious()\">\n\t\t\t\t\t\t\t<hlm-pagination-previous />\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\n\t\t\t\t\t@for (page of _pages(); track page) {\n\t\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t\t@if (page === '...') {\n\t\t\t\t\t\t\t\t<hlm-pagination-ellipsis />\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<a hlmPaginationLink [isActive]=\"currentPage() === page\" (click)=\"currentPage.set(page)\">\n\t\t\t\t\t\t\t\t\t{{ page }}\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\n\t\t\t\t\t@if (showEdges() && !_isLastPageActive()) {\n\t\t\t\t\t\t<li hlmPaginationItem (click)=\"goToNext()\">\n\t\t\t\t\t\t\t<hlm-pagination-next />\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t</ul>\n\t\t\t</nav>\n\n\t\t\t<!-- Show Page Size selector -->\n\t\t\t<hlm-select [(value)]=\"itemsPerPage\" class=\"ml-auto\">\n\t\t\t\t<hlm-select-trigger class=\"w-fit\">\n\t\t\t\t\t<hlm-select-value />\n\t\t\t\t</hlm-select-trigger>\n\t\t\t\t<hlm-select-content *hlmSelectPortal>\n\t\t\t\t\t<hlm-select-group>\n\t\t\t\t\t\t@for (pageSize of _pageSizesWithCurrent(); track pageSize) {\n\t\t\t\t\t\t\t<hlm-select-item [value]=\"pageSize\">{{ pageSize }}</hlm-select-item>\n\t\t\t\t\t\t}\n\t\t\t\t\t</hlm-select-group>\n\t\t\t\t</hlm-select-content>\n\t\t\t</hlm-select>\n\t\t</div>\n\t`,\n})\nexport class HlmNumberedPagination {\n\t/**\n\t * The current (active) page.\n\t */\n\tpublic readonly currentPage = model.required<number>();\n\n\t/**\n\t * The number of items per paginated page.\n\t */\n\tpublic readonly itemsPerPage = model.required<number>();\n\n\t/**\n\t * The total number of items in the collection. Only useful when\n\t * doing server-side paging, where the collection size is limited\n\t * to a single page returned by the server API.\n\t */\n\tpublic readonly totalItems = input.required<number, NumberInput>({\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * The number of page links to show.\n\t */\n\tpublic readonly maxSize = input<number, NumberInput>(7, {\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * Show the first and last page buttons.\n\t */\n\tpublic readonly showEdges = input<boolean, BooleanInput>(true, {\n\t\ttransform: booleanAttribute,\n\t});\n\n\t/**\n\t * The page sizes to show.\n\t * Defaults to [10, 20, 50, 100]\n\t */\n\tpublic readonly pageSizes = input<number[]>([10, 20, 50, 100]);\n\n\tprotected readonly _pageSizesWithCurrent = computed(() => {\n\t\tconst pageSizes = this.pageSizes();\n\t\treturn pageSizes.includes(this.itemsPerPage())\n\t\t\t? pageSizes // if current page size is included, return the same array\n\t\t\t: [...pageSizes, this.itemsPerPage()].sort((a, b) => a - b); // otherwise, add current page size and sort the array\n\t});\n\n\tprotected readonly _isFirstPageActive = computed(() => this.currentPage() === 1);\n\tprotected readonly _isLastPageActive = computed(() => this.currentPage() === this._lastPageNumber());\n\n\tprotected readonly _lastPageNumber = computed(() => {\n\t\tif (this.totalItems() < 1) {\n\t\t\t// when there are 0 or fewer (an error case) items, there are no \"pages\" as such,\n\t\t\t// but it makes sense to consider a single, empty page as the last page.\n\t\t\treturn 1;\n\t\t}\n\t\treturn Math.ceil(this.totalItems() / this.itemsPerPage());\n\t});\n\n\tprotected readonly _pages = computed(() => {\n\t\tconst correctedCurrentPage = outOfBoundCorrection(this.totalItems(), this.itemsPerPage(), this.currentPage());\n\n\t\tif (correctedCurrentPage !== this.currentPage()) {\n\t\t\t// update the current page\n\t\t\tuntracked(() => this.currentPage.set(correctedCurrentPage));\n\t\t}\n\n\t\treturn createPageArray(correctedCurrentPage, this.itemsPerPage(), this.totalItems(), this.maxSize());\n\t});\n\n\tprotected goToPrevious(): void {\n\t\tthis.currentPage.set(this.currentPage() - 1);\n\t}\n\n\tprotected goToNext(): void {\n\t\tthis.currentPage.set(this.currentPage() + 1);\n\t}\n\n\tprotected goToFirst(): void {\n\t\tthis.currentPage.set(1);\n\t}\n\n\tprotected goToLast(): void {\n\t\tthis.currentPage.set(this._lastPageNumber());\n\t}\n}\n\ntype Page = number | '...';\n\n/**\n * Checks that the instance.currentPage property is within bounds for the current page range.\n * If not, return a correct value for currentPage, or the current value if OK.\n *\n * Copied from 'ngx-pagination' package\n */\nexport function outOfBoundCorrection(totalItems: number, itemsPerPage: number, currentPage: number): number {\n\tconst totalPages = Math.ceil(totalItems / itemsPerPage);\n\tif (totalPages < currentPage && 0 < totalPages) {\n\t\treturn totalPages;\n\t}\n\n\tif (currentPage < 1) {\n\t\treturn 1;\n\t}\n\n\treturn currentPage;\n}\n\n/**\n * Returns an array of Page objects to use in the pagination controls.\n *\n * Copied from 'ngx-pagination' package\n */\nexport function createPageArray(\n\tcurrentPage: number,\n\titemsPerPage: number,\n\ttotalItems: number,\n\tpaginationRange: number,\n): Page[] {\n\t// paginationRange could be a string if passed from attribute, so cast to number.\n\tpaginationRange = +paginationRange;\n\tconst pages: Page[] = [];\n\n\t// Return 1 as default page number\n\t// Make sense to show 1 instead of empty when there are no items\n\tconst totalPages = Math.max(Math.ceil(totalItems / itemsPerPage), 1);\n\tconst halfWay = Math.ceil(paginationRange / 2);\n\n\tconst isStart = currentPage <= halfWay;\n\tconst isEnd = totalPages - halfWay < currentPage;\n\tconst isMiddle = !isStart && !isEnd;\n\n\tconst ellipsesNeeded = paginationRange < totalPages;\n\tlet i = 1;\n\n\twhile (i <= totalPages && i <= paginationRange) {\n\t\tlet label: number | '...';\n\t\tconst pageNumber = calculatePageNumber(i, currentPage, paginationRange, totalPages);\n\t\tconst openingEllipsesNeeded = i === 2 && (isMiddle || isEnd);\n\t\tconst closingEllipsesNeeded = i === paginationRange - 1 && (isMiddle || isStart);\n\t\tif (ellipsesNeeded && (openingEllipsesNeeded || closingEllipsesNeeded)) {\n\t\t\tlabel = '...';\n\t\t} else {\n\t\t\tlabel = pageNumber;\n\t\t}\n\t\tpages.push(label);\n\t\ti++;\n\t}\n\n\treturn pages;\n}\n\n/**\n * Given the position in the sequence of pagination links [i],\n * figure out what page number corresponds to that position.\n *\n * Copied from 'ngx-pagination' package\n */\nfunction calculatePageNumber(i: number, currentPage: number, paginationRange: number, totalPages: number) {\n\tconst halfWay = Math.ceil(paginationRange / 2);\n\tif (i === paginationRange) {\n\t\treturn totalPages;\n\t}\n\n\tif (i === 1) {\n\t\treturn i;\n\t}\n\n\tif (paginationRange < totalPages) {\n\t\tif (totalPages - halfWay < currentPage) {\n\t\t\treturn totalPages - paginationRange + i;\n\t\t}\n\t\tif (halfWay < currentPage) {\n\t\t\treturn currentPage - halfWay + i;\n\t\t}\n\t\treturn i;\n\t}\n\n\treturn i;\n}\n","import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n\tbooleanAttribute,\n\tChangeDetectionStrategy,\n\tComponent,\n\tcomputed,\n\tinput,\n\tmodel,\n\tnumberAttribute,\n\tuntracked,\n} from '@angular/core';\nimport { HlmSelectImports } from 'yukit-web/helm/select';\nimport { classes } from 'yukit-web/helm/utils';\nimport { createPageArray, outOfBoundCorrection } from './hlm-numbered-pagination';\nimport { HlmPagination } from './hlm-pagination';\nimport { HlmPaginationContent } from './hlm-pagination-content';\nimport { HlmPaginationEllipsis } from './hlm-pagination-ellipsis';\nimport { HlmPaginationItem } from './hlm-pagination-item';\nimport { HlmPaginationLink } from './hlm-pagination-link';\nimport { HlmPaginationNext } from './hlm-pagination-next';\nimport { HlmPaginationPrevious } from './hlm-pagination-previous';\n\n@Component({\n\tselector: 'hlm-numbered-pagination-query-params',\n\timports: [\n\t\tHlmPagination,\n\t\tHlmPaginationContent,\n\t\tHlmPaginationItem,\n\t\tHlmPaginationPrevious,\n\t\tHlmPaginationNext,\n\t\tHlmPaginationLink,\n\t\tHlmPaginationEllipsis,\n\t\tHlmSelectImports,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<div class=\"flex items-center gap-1 text-sm text-nowrap text-gray-600\">\n\t\t\t<b>{{ totalItems() }}</b>\n\t\t\ttotal items |\n\t\t\t<b>{{ _lastPageNumber() }}</b>\n\t\t\tpages\n\t\t</div>\n\n\t\t<nav hlmPagination>\n\t\t\t<ul hlmPaginationContent>\n\t\t\t\t@if (showEdges() && !_isFirstPageActive()) {\n\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t<hlm-pagination-previous\n\t\t\t\t\t\t\t[link]=\"link()\"\n\t\t\t\t\t\t\t[queryParams]=\"{ page: currentPage() - 1 }\"\n\t\t\t\t\t\t\tqueryParamsHandling=\"merge\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\n\t\t\t\t@for (page of _pages(); track page) {\n\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t@if (page === '...') {\n\t\t\t\t\t\t\t<hlm-pagination-ellipsis />\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thlmPaginationLink\n\t\t\t\t\t\t\t\t[link]=\"currentPage() !== page ? link() : undefined\"\n\t\t\t\t\t\t\t\t[queryParams]=\"{ page }\"\n\t\t\t\t\t\t\t\tqueryParamsHandling=\"merge\"\n\t\t\t\t\t\t\t\t[isActive]=\"currentPage() === page\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ page }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t}\n\t\t\t\t\t</li>\n\t\t\t\t}\n\n\t\t\t\t@if (showEdges() && !_isLastPageActive()) {\n\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t<hlm-pagination-next\n\t\t\t\t\t\t\t[link]=\"link()\"\n\t\t\t\t\t\t\t[queryParams]=\"{ page: currentPage() + 1 }\"\n\t\t\t\t\t\t\tqueryParamsHandling=\"merge\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t</nav>\n\n\t\t<!-- Show Page Size selector -->\n\t\t<hlm-select [(value)]=\"itemsPerPage\" class=\"ml-auto\">\n\t\t\t<hlm-select-trigger class=\"w-fit\">\n\t\t\t\t<hlm-select-value />\n\t\t\t</hlm-select-trigger>\n\t\t\t<hlm-select-content *hlmSelectPortal>\n\t\t\t\t<hlm-select-group>\n\t\t\t\t\t@for (pageSize of _pageSizesWithCurrent(); track pageSize) {\n\t\t\t\t\t\t<hlm-select-item [value]=\"pageSize\">{{ pageSize }}</hlm-select-item>\n\t\t\t\t\t}\n\t\t\t\t</hlm-select-group>\n\t\t\t</hlm-select-content>\n\t\t</hlm-select>\n\t`,\n})\nexport class HlmNumberedPaginationQueryParams {\n\t/**\n\t * The current (active) page.\n\t */\n\tpublic readonly currentPage = model.required<number>();\n\n\t/**\n\t * The number of items per paginated page.\n\t */\n\tpublic readonly itemsPerPage = model.required<number>();\n\n\t/**\n\t * The total number of items in the collection. Only useful when\n\t * doing server-side paging, where the collection size is limited\n\t * to a single page returned by the server API.\n\t */\n\tpublic readonly totalItems = input.required<number, NumberInput>({\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * The URL path to use for the pagination links.\n\t * Defaults to '.' (current path).\n\t */\n\tpublic readonly link = input<string>('.');\n\n\t/**\n\t * The number of page links to show.\n\t */\n\tpublic readonly maxSize = input<number, NumberInput>(7, {\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * Show the first and last page buttons.\n\t */\n\tpublic readonly showEdges = input<boolean, BooleanInput>(true, {\n\t\ttransform: booleanAttribute,\n\t});\n\n\t/**\n\t * The page sizes to show.\n\t * Defaults to [10, 20, 50, 100]\n\t */\n\tpublic readonly pageSizes = input<number[]>([10, 20, 50, 100]);\n\n\tprotected readonly _pageSizesWithCurrent = computed(() => {\n\t\tconst pageSizes = this.pageSizes();\n\t\treturn pageSizes.includes(this.itemsPerPage())\n\t\t\t? pageSizes // if current page size is included, return the same array\n\t\t\t: [...pageSizes, this.itemsPerPage()].sort((a, b) => a - b); // otherwise, add current page size and sort the array\n\t});\n\n\tprotected readonly _isFirstPageActive = computed(() => this.currentPage() === 1);\n\tprotected readonly _isLastPageActive = computed(() => this.currentPage() === this._lastPageNumber());\n\n\tprotected readonly _lastPageNumber = computed(() => {\n\t\tif (this.totalItems() < 1) {\n\t\t\t// when there are 0 or fewer (an error case) items, there are no \"pages\" as such,\n\t\t\t// but it makes sense to consider a single, empty page as the last page.\n\t\t\treturn 1;\n\t\t}\n\t\treturn Math.ceil(this.totalItems() / this.itemsPerPage());\n\t});\n\n\tprotected readonly _pages = computed(() => {\n\t\tconst correctedCurrentPage = outOfBoundCorrection(this.totalItems(), this.itemsPerPage(), this.currentPage());\n\n\t\tif (correctedCurrentPage !== this.currentPage()) {\n\t\t\t// update the current page\n\t\t\tuntracked(() => this.currentPage.set(correctedCurrentPage));\n\t\t}\n\n\t\treturn createPageArray(correctedCurrentPage, this.itemsPerPage(), this.totalItems(), this.maxSize());\n\t});\n\n\tconstructor() {\n\t\tclasses(() => 'flex items-center justify-between gap-2 px-4 py-2');\n\t}\n}\n","import { HlmNumberedPagination } from './lib/hlm-numbered-pagination';\nimport { HlmNumberedPaginationQueryParams } from './lib/hlm-numbered-pagination-query-params';\nimport { HlmPagination } from './lib/hlm-pagination';\nimport { HlmPaginationContent } from './lib/hlm-pagination-content';\nimport { HlmPaginationEllipsis } from './lib/hlm-pagination-ellipsis';\nimport { HlmPaginationItem } from './lib/hlm-pagination-item';\nimport { HlmPaginationLink } from './lib/hlm-pagination-link';\nimport { HlmPaginationNext } from './lib/hlm-pagination-next';\nimport { HlmPaginationPrevious } from './lib/hlm-pagination-previous';\n\nexport * from './lib/hlm-numbered-pagination';\nexport * from './lib/hlm-numbered-pagination-query-params';\nexport * from './lib/hlm-pagination';\nexport * from './lib/hlm-pagination-content';\nexport * from './lib/hlm-pagination-ellipsis';\nexport * from './lib/hlm-pagination-item';\nexport * from './lib/hlm-pagination-link';\nexport * from './lib/hlm-pagination-next';\nexport * from './lib/hlm-pagination-previous';\n\nexport const HlmPaginationImports = [\n\tHlmPagination,\n\tHlmPaginationContent,\n\tHlmPaginationItem,\n\tHlmPaginationLink,\n\tHlmPaginationPrevious,\n\tHlmPaginationNext,\n\tHlmPaginationEllipsis,\n\tHlmNumberedPagination,\n\tHlmNumberedPaginationQueryParams,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":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ACD,iBAAA;;;AC/EM,MAAM,oBAAoB,GAAG;IACnC,aAAa;IACb,oBAAoB;IACpB,iBAAiB;IACjB,iBAAiB;IACjB,qBAAqB;IACrB,iBAAiB;IACjB,qBAAqB;IACrB,qBAAqB;IACrB,gCAAgC;;;AC7BjC;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-pagination.mjs","sources":["../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-content.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-ellipsis.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-item.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-link.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-next.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-pagination-previous.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-numbered-pagination.ts","../../../projects/yukit-web/helm/pagination/src/lib/hlm-numbered-pagination-query-params.ts","../../../projects/yukit-web/helm/pagination/src/index.ts","../../../projects/yukit-web/helm/pagination/src/yukit-web-helm-pagination.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPagination],hlm-pagination',\n\thost: {\n\t\t'data-slot': 'pagination',\n\t\trole: 'navigation',\n\t\t'[attr.aria-label]': 'ariaLabel()',\n\t},\n})\nexport class HlmPagination {\n\t/** The aria-label for the pagination component. */\n\tpublic readonly ariaLabel = input<string>('pagination', { alias: 'aria-label' });\n\n\tconstructor() {\n\t\tclasses(() => 'mx-auto flex w-full justify-center');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'ul[hlmPaginationContent]',\n\thost: { 'data-slot': 'pagination-content' },\n})\nexport class HlmPaginationContent {\n\tconstructor() {\n\t\tclasses(() => 'gap-0.5 flex items-center');\n\t}\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideEllipsis } from '@ng-icons/lucide';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Component({\n\tselector: 'hlm-pagination-ellipsis',\n\timports: [NgIcon],\n\tproviders: [provideIcons({ lucideEllipsis })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\thost: { 'data-slot': 'pagination-ellipsis' },\n\ttemplate: `\n\t\t<ng-icon name=\"lucideEllipsis\" />\n\t\t<span class=\"sr-only\">{{ srOnlyText() }}</span>\n\t`,\n})\nexport class HlmPaginationEllipsis {\n\t/** Screen reader only text for the ellipsis */\n\tpublic readonly srOnlyText = input<string>('More pages');\n\n\tconstructor() {\n\t\tclasses(() => \"size-8 [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center justify-center\");\n\t}\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n\tselector: 'li[hlmPaginationItem]',\n\thost: { 'data-slot': 'pagination-item' },\n})\nexport class HlmPaginationItem {}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport { Directive, booleanAttribute, input } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { buttonVariants, type ButtonVariants } from 'yukit-web/helm/button';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPaginationLink]',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: RouterLink,\n\t\t\tinputs: [\n\t\t\t\t'target',\n\t\t\t\t'queryParams',\n\t\t\t\t'fragment',\n\t\t\t\t'queryParamsHandling',\n\t\t\t\t'state',\n\t\t\t\t'info',\n\t\t\t\t'relativeTo',\n\t\t\t\t'preserveFragment',\n\t\t\t\t'skipLocationChange',\n\t\t\t\t'replaceUrl',\n\t\t\t\t'routerLink: link',\n\t\t\t],\n\t\t},\n\t],\n\thost: {\n\t\t'data-slot': 'pagination-link',\n\t\t'[attr.data-active]': 'isActive() ? \"true\" : null',\n\t\t'[attr.aria-current]': 'isActive() ? \"page\" : null',\n\t},\n})\nexport class HlmPaginationLink {\n\t/** Whether the link is active (i.e., the current page). */\n\tpublic readonly isActive = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n\t/** The size of the button. */\n\tpublic readonly size = input<ButtonVariants['size']>('icon');\n\t/** The link to navigate to the page. */\n\tpublic readonly link = input<RouterLink['routerLink']>();\n\n\tconstructor() {\n\t\tclasses(() => [\n\t\t\t'relative',\n\t\t\tbuttonVariants({\n\t\t\t\tvariant: this.isActive() ? 'outline' : 'ghost',\n\t\t\t\tsize: this.size(),\n\t\t\t}),\n\t\t\tthis.link() === undefined && 'cursor-pointer',\n\t\t]);\n\t}\n}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { RouterLink } from '@angular/router';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideChevronRight } from '@ng-icons/lucide';\nimport type { ButtonVariants } from 'yukit-web/helm/button';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmPaginationLink } from './hlm-pagination-link';\n\n@Component({\n\tselector: 'hlm-pagination-next',\n\timports: [HlmPaginationLink, NgIcon],\n\tproviders: [provideIcons({ lucideChevronRight })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<a\n\t\t\thlmPaginationLink\n\t\t\t[class]=\"_computedClass()\"\n\t\t\t[link]=\"link()\"\n\t\t\t[queryParams]=\"queryParams()\"\n\t\t\t[queryParamsHandling]=\"queryParamsHandling()\"\n\t\t\t[size]=\"_size()\"\n\t\t\t[attr.aria-label]=\"ariaLabel()\"\n\t\t>\n\t\t\t<span [class]=\"_labelClass()\">{{ text() }}</span>\n\t\t\t<ng-icon name=\"lucideChevronRight\" class=\"rtl:rotate-180\" />\n\t\t</a>\n\t`,\n})\nexport class HlmPaginationNext {\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\t/** The link to navigate to the next page. */\n\tpublic readonly link = input<RouterLink['routerLink']>();\n\t/** The query parameters to pass to the next page. */\n\tpublic readonly queryParams = input<RouterLink['queryParams']>();\n\t/** How to handle query parameters when navigating to the next page. */\n\tpublic readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();\n\n\t/** The aria-label for the next page link. */\n\tpublic readonly ariaLabel = input<string>('Go to next page', { alias: 'aria-label' });\n\t/** The text to display for the next page link. */\n\tpublic readonly text = input<string>('Next');\n\t/** Whether the button should only display the icon. */\n\tpublic readonly iconOnly = input<boolean, BooleanInput>(false, {\n\t\ttransform: booleanAttribute,\n\t});\n\tprotected readonly _labelClass = computed(() => (this.iconOnly() ? 'sr-only' : 'hidden sm:block'));\n\n\tprotected readonly _size = computed<ButtonVariants['size']>(() => (this.iconOnly() ? 'icon' : 'default'));\n\n\tprotected readonly _computedClass = computed(() =>\n\t\thlm(!this.iconOnly() && 'pe-1.5!', this.userClass()),\n\t);\n}\n","import type { BooleanInput } from '@angular/cdk/coercion';\nimport { booleanAttribute, ChangeDetectionStrategy, Component, computed, input } from '@angular/core';\nimport type { RouterLink } from '@angular/router';\nimport { NgIcon, provideIcons } from '@ng-icons/core';\nimport { lucideChevronLeft } from '@ng-icons/lucide';\nimport type { ButtonVariants } from 'yukit-web/helm/button';\nimport { hlm } from 'yukit-web/helm/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmPaginationLink } from './hlm-pagination-link';\n\n@Component({\n\tselector: 'hlm-pagination-previous',\n\timports: [HlmPaginationLink, NgIcon],\n\tproviders: [provideIcons({ lucideChevronLeft })],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<a\n\t\t\thlmPaginationLink\n\t\t\t[class]=\"_computedClass()\"\n\t\t\t[link]=\"link()\"\n\t\t\t[queryParams]=\"queryParams()\"\n\t\t\t[queryParamsHandling]=\"queryParamsHandling()\"\n\t\t\t[size]=\"_size()\"\n\t\t\t[attr.aria-label]=\"ariaLabel()\"\n\t\t>\n\t\t\t<ng-icon name=\"lucideChevronLeft\" class=\"rtl:rotate-180\" />\n\t\t\t<span [class]=\"_labelClass()\">{{ text() }}</span>\n\t\t</a>\n\t`,\n})\nexport class HlmPaginationPrevious {\n\tpublic readonly userClass = input<ClassValue>('', { alias: 'class' });\n\t/** The link to navigate to the previous page. */\n\tpublic readonly link = input<RouterLink['routerLink']>();\n\t/** The query parameters to pass to the previous page. */\n\tpublic readonly queryParams = input<RouterLink['queryParams']>();\n\t/** How to handle query parameters when navigating to the previous page. */\n\tpublic readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();\n\n\t/** The aria-label for the previous page link. */\n\tpublic readonly ariaLabel = input<string>('Go to previous page', { alias: 'aria-label' });\n\t/** The text to display for the previous page link. */\n\tpublic readonly text = input<string>('Previous');\n\t/** Whether the button should only display the icon. */\n\tpublic readonly iconOnly = input<boolean, BooleanInput>(false, {\n\t\ttransform: booleanAttribute,\n\t});\n\tprotected readonly _labelClass = computed(() =>\n\t\thlm(this.iconOnly() ? 'sr-only' : 'hidden sm:block'),\n\t);\n\n\tprotected readonly _size = computed<ButtonVariants['size']>(() => (this.iconOnly() ? 'icon' : 'default'));\n\n\tprotected readonly _computedClass = computed(() =>\n\t\thlm(!this.iconOnly() && 'ps-1.5!', this.userClass()),\n\t);\n}\n","import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n\tChangeDetectionStrategy,\n\tComponent,\n\tbooleanAttribute,\n\tcomputed,\n\tinput,\n\tmodel,\n\tnumberAttribute,\n\tuntracked,\n} from '@angular/core';\nimport { HlmSelectImports } from 'yukit-web/helm/select';\nimport { HlmPagination } from './hlm-pagination';\nimport { HlmPaginationContent } from './hlm-pagination-content';\nimport { HlmPaginationEllipsis } from './hlm-pagination-ellipsis';\nimport { HlmPaginationItem } from './hlm-pagination-item';\nimport { HlmPaginationLink } from './hlm-pagination-link';\nimport { HlmPaginationNext } from './hlm-pagination-next';\nimport { HlmPaginationPrevious } from './hlm-pagination-previous';\n\n@Component({\n\tselector: 'hlm-numbered-pagination',\n\timports: [\n\t\tHlmPagination,\n\t\tHlmPaginationContent,\n\t\tHlmPaginationItem,\n\t\tHlmPaginationPrevious,\n\t\tHlmPaginationNext,\n\t\tHlmPaginationLink,\n\t\tHlmPaginationEllipsis,\n\t\tHlmSelectImports,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<div class=\"flex items-center justify-between gap-2 px-4 py-2\">\n\t\t\t<div class=\"flex items-center gap-1 text-sm text-nowrap text-gray-600\">\n\t\t\t\t<b>{{ totalItems() }}</b>\n\t\t\t\ttotal items |\n\t\t\t\t<b>{{ _lastPageNumber() }}</b>\n\t\t\t\tpages\n\t\t\t</div>\n\n\t\t\t<nav hlmPagination>\n\t\t\t\t<ul hlmPaginationContent>\n\t\t\t\t\t@if (showEdges() && !_isFirstPageActive()) {\n\t\t\t\t\t\t<li hlmPaginationItem (click)=\"goToPrevious()\">\n\t\t\t\t\t\t\t<hlm-pagination-previous />\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\n\t\t\t\t\t@for (page of _pages(); track page) {\n\t\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t\t@if (page === '...') {\n\t\t\t\t\t\t\t\t<hlm-pagination-ellipsis />\n\t\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t\t<a hlmPaginationLink [isActive]=\"currentPage() === page\" (click)=\"currentPage.set(page)\">\n\t\t\t\t\t\t\t\t\t{{ page }}\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\n\t\t\t\t\t@if (showEdges() && !_isLastPageActive()) {\n\t\t\t\t\t\t<li hlmPaginationItem (click)=\"goToNext()\">\n\t\t\t\t\t\t\t<hlm-pagination-next />\n\t\t\t\t\t\t</li>\n\t\t\t\t\t}\n\t\t\t\t</ul>\n\t\t\t</nav>\n\n\t\t\t<!-- Show Page Size selector -->\n\t\t\t<hlm-select [(value)]=\"itemsPerPage\" class=\"ml-auto\">\n\t\t\t\t<hlm-select-trigger class=\"w-fit\">\n\t\t\t\t\t<hlm-select-value />\n\t\t\t\t</hlm-select-trigger>\n\t\t\t\t<hlm-select-content *hlmSelectPortal>\n\t\t\t\t\t<hlm-select-group>\n\t\t\t\t\t\t@for (pageSize of _pageSizesWithCurrent(); track pageSize) {\n\t\t\t\t\t\t\t<hlm-select-item [value]=\"pageSize\">{{ pageSize }}</hlm-select-item>\n\t\t\t\t\t\t}\n\t\t\t\t\t</hlm-select-group>\n\t\t\t\t</hlm-select-content>\n\t\t\t</hlm-select>\n\t\t</div>\n\t`,\n})\nexport class HlmNumberedPagination {\n\t/**\n\t * The current (active) page.\n\t */\n\tpublic readonly currentPage = model.required<number>();\n\n\t/**\n\t * The number of items per paginated page.\n\t */\n\tpublic readonly itemsPerPage = model.required<number>();\n\n\t/**\n\t * The total number of items in the collection. Only useful when\n\t * doing server-side paging, where the collection size is limited\n\t * to a single page returned by the server API.\n\t */\n\tpublic readonly totalItems = input.required<number, NumberInput>({\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * The number of page links to show.\n\t */\n\tpublic readonly maxSize = input<number, NumberInput>(7, {\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * Show the first and last page buttons.\n\t */\n\tpublic readonly showEdges = input<boolean, BooleanInput>(true, {\n\t\ttransform: booleanAttribute,\n\t});\n\n\t/**\n\t * The page sizes to show.\n\t * Defaults to [10, 20, 50, 100]\n\t */\n\tpublic readonly pageSizes = input<number[]>([10, 20, 50, 100]);\n\n\tprotected readonly _pageSizesWithCurrent = computed(() => {\n\t\tconst pageSizes = this.pageSizes();\n\t\treturn pageSizes.includes(this.itemsPerPage())\n\t\t\t? pageSizes // if current page size is included, return the same array\n\t\t\t: [...pageSizes, this.itemsPerPage()].sort((a, b) => a - b); // otherwise, add current page size and sort the array\n\t});\n\n\tprotected readonly _isFirstPageActive = computed(() => this.currentPage() === 1);\n\tprotected readonly _isLastPageActive = computed(() => this.currentPage() === this._lastPageNumber());\n\n\tprotected readonly _lastPageNumber = computed(() => {\n\t\tif (this.totalItems() < 1) {\n\t\t\t// when there are 0 or fewer (an error case) items, there are no \"pages\" as such,\n\t\t\t// but it makes sense to consider a single, empty page as the last page.\n\t\t\treturn 1;\n\t\t}\n\t\treturn Math.ceil(this.totalItems() / this.itemsPerPage());\n\t});\n\n\tprotected readonly _pages = computed(() => {\n\t\tconst correctedCurrentPage = outOfBoundCorrection(this.totalItems(), this.itemsPerPage(), this.currentPage());\n\n\t\tif (correctedCurrentPage !== this.currentPage()) {\n\t\t\t// update the current page\n\t\t\tuntracked(() => this.currentPage.set(correctedCurrentPage));\n\t\t}\n\n\t\treturn createPageArray(correctedCurrentPage, this.itemsPerPage(), this.totalItems(), this.maxSize());\n\t});\n\n\tprotected goToPrevious(): void {\n\t\tthis.currentPage.set(this.currentPage() - 1);\n\t}\n\n\tprotected goToNext(): void {\n\t\tthis.currentPage.set(this.currentPage() + 1);\n\t}\n\n\tprotected goToFirst(): void {\n\t\tthis.currentPage.set(1);\n\t}\n\n\tprotected goToLast(): void {\n\t\tthis.currentPage.set(this._lastPageNumber());\n\t}\n}\n\ntype Page = number | '...';\n\n/**\n * Checks that the instance.currentPage property is within bounds for the current page range.\n * If not, return a correct value for currentPage, or the current value if OK.\n *\n * Copied from 'ngx-pagination' package\n */\nexport function outOfBoundCorrection(totalItems: number, itemsPerPage: number, currentPage: number): number {\n\tconst totalPages = Math.ceil(totalItems / itemsPerPage);\n\tif (totalPages < currentPage && 0 < totalPages) {\n\t\treturn totalPages;\n\t}\n\n\tif (currentPage < 1) {\n\t\treturn 1;\n\t}\n\n\treturn currentPage;\n}\n\n/**\n * Returns an array of Page objects to use in the pagination controls.\n *\n * Copied from 'ngx-pagination' package\n */\nexport function createPageArray(\n\tcurrentPage: number,\n\titemsPerPage: number,\n\ttotalItems: number,\n\tpaginationRange: number,\n): Page[] {\n\t// paginationRange could be a string if passed from attribute, so cast to number.\n\tpaginationRange = +paginationRange;\n\tconst pages: Page[] = [];\n\n\t// Return 1 as default page number\n\t// Make sense to show 1 instead of empty when there are no items\n\tconst totalPages = Math.max(Math.ceil(totalItems / itemsPerPage), 1);\n\tconst halfWay = Math.ceil(paginationRange / 2);\n\n\tconst isStart = currentPage <= halfWay;\n\tconst isEnd = totalPages - halfWay < currentPage;\n\tconst isMiddle = !isStart && !isEnd;\n\n\tconst ellipsesNeeded = paginationRange < totalPages;\n\tlet i = 1;\n\n\twhile (i <= totalPages && i <= paginationRange) {\n\t\tlet label: number | '...';\n\t\tconst pageNumber = calculatePageNumber(i, currentPage, paginationRange, totalPages);\n\t\tconst openingEllipsesNeeded = i === 2 && (isMiddle || isEnd);\n\t\tconst closingEllipsesNeeded = i === paginationRange - 1 && (isMiddle || isStart);\n\t\tif (ellipsesNeeded && (openingEllipsesNeeded || closingEllipsesNeeded)) {\n\t\t\tlabel = '...';\n\t\t} else {\n\t\t\tlabel = pageNumber;\n\t\t}\n\t\tpages.push(label);\n\t\ti++;\n\t}\n\n\treturn pages;\n}\n\n/**\n * Given the position in the sequence of pagination links [i],\n * figure out what page number corresponds to that position.\n *\n * Copied from 'ngx-pagination' package\n */\nfunction calculatePageNumber(i: number, currentPage: number, paginationRange: number, totalPages: number) {\n\tconst halfWay = Math.ceil(paginationRange / 2);\n\tif (i === paginationRange) {\n\t\treturn totalPages;\n\t}\n\n\tif (i === 1) {\n\t\treturn i;\n\t}\n\n\tif (paginationRange < totalPages) {\n\t\tif (totalPages - halfWay < currentPage) {\n\t\t\treturn totalPages - paginationRange + i;\n\t\t}\n\t\tif (halfWay < currentPage) {\n\t\t\treturn currentPage - halfWay + i;\n\t\t}\n\t\treturn i;\n\t}\n\n\treturn i;\n}\n","import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n\tbooleanAttribute,\n\tChangeDetectionStrategy,\n\tComponent,\n\tcomputed,\n\tinput,\n\tmodel,\n\tnumberAttribute,\n\tuntracked,\n} from '@angular/core';\nimport { HlmSelectImports } from 'yukit-web/helm/select';\nimport { classes } from 'yukit-web/helm/utils';\nimport { createPageArray, outOfBoundCorrection } from './hlm-numbered-pagination';\nimport { HlmPagination } from './hlm-pagination';\nimport { HlmPaginationContent } from './hlm-pagination-content';\nimport { HlmPaginationEllipsis } from './hlm-pagination-ellipsis';\nimport { HlmPaginationItem } from './hlm-pagination-item';\nimport { HlmPaginationLink } from './hlm-pagination-link';\nimport { HlmPaginationNext } from './hlm-pagination-next';\nimport { HlmPaginationPrevious } from './hlm-pagination-previous';\n\n@Component({\n\tselector: 'hlm-numbered-pagination-query-params',\n\timports: [\n\t\tHlmPagination,\n\t\tHlmPaginationContent,\n\t\tHlmPaginationItem,\n\t\tHlmPaginationPrevious,\n\t\tHlmPaginationNext,\n\t\tHlmPaginationLink,\n\t\tHlmPaginationEllipsis,\n\t\tHlmSelectImports,\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\ttemplate: `\n\t\t<div class=\"flex items-center gap-1 text-sm text-nowrap text-gray-600\">\n\t\t\t<b>{{ totalItems() }}</b>\n\t\t\ttotal items |\n\t\t\t<b>{{ _lastPageNumber() }}</b>\n\t\t\tpages\n\t\t</div>\n\n\t\t<nav hlmPagination>\n\t\t\t<ul hlmPaginationContent>\n\t\t\t\t@if (showEdges() && !_isFirstPageActive()) {\n\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t<hlm-pagination-previous\n\t\t\t\t\t\t\t[link]=\"link()\"\n\t\t\t\t\t\t\t[queryParams]=\"{ page: currentPage() - 1 }\"\n\t\t\t\t\t\t\tqueryParamsHandling=\"merge\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\n\t\t\t\t@for (page of _pages(); track page) {\n\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t@if (page === '...') {\n\t\t\t\t\t\t\t<hlm-pagination-ellipsis />\n\t\t\t\t\t\t} @else {\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thlmPaginationLink\n\t\t\t\t\t\t\t\t[link]=\"currentPage() !== page ? link() : undefined\"\n\t\t\t\t\t\t\t\t[queryParams]=\"{ page }\"\n\t\t\t\t\t\t\t\tqueryParamsHandling=\"merge\"\n\t\t\t\t\t\t\t\t[isActive]=\"currentPage() === page\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ page }}\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t}\n\t\t\t\t\t</li>\n\t\t\t\t}\n\n\t\t\t\t@if (showEdges() && !_isLastPageActive()) {\n\t\t\t\t\t<li hlmPaginationItem>\n\t\t\t\t\t\t<hlm-pagination-next\n\t\t\t\t\t\t\t[link]=\"link()\"\n\t\t\t\t\t\t\t[queryParams]=\"{ page: currentPage() + 1 }\"\n\t\t\t\t\t\t\tqueryParamsHandling=\"merge\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</li>\n\t\t\t\t}\n\t\t\t</ul>\n\t\t</nav>\n\n\t\t<!-- Show Page Size selector -->\n\t\t<hlm-select [(value)]=\"itemsPerPage\" class=\"ml-auto\">\n\t\t\t<hlm-select-trigger class=\"w-fit\">\n\t\t\t\t<hlm-select-value />\n\t\t\t</hlm-select-trigger>\n\t\t\t<hlm-select-content *hlmSelectPortal>\n\t\t\t\t<hlm-select-group>\n\t\t\t\t\t@for (pageSize of _pageSizesWithCurrent(); track pageSize) {\n\t\t\t\t\t\t<hlm-select-item [value]=\"pageSize\">{{ pageSize }}</hlm-select-item>\n\t\t\t\t\t}\n\t\t\t\t</hlm-select-group>\n\t\t\t</hlm-select-content>\n\t\t</hlm-select>\n\t`,\n})\nexport class HlmNumberedPaginationQueryParams {\n\t/**\n\t * The current (active) page.\n\t */\n\tpublic readonly currentPage = model.required<number>();\n\n\t/**\n\t * The number of items per paginated page.\n\t */\n\tpublic readonly itemsPerPage = model.required<number>();\n\n\t/**\n\t * The total number of items in the collection. Only useful when\n\t * doing server-side paging, where the collection size is limited\n\t * to a single page returned by the server API.\n\t */\n\tpublic readonly totalItems = input.required<number, NumberInput>({\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * The URL path to use for the pagination links.\n\t * Defaults to '.' (current path).\n\t */\n\tpublic readonly link = input<string>('.');\n\n\t/**\n\t * The number of page links to show.\n\t */\n\tpublic readonly maxSize = input<number, NumberInput>(7, {\n\t\ttransform: numberAttribute,\n\t});\n\n\t/**\n\t * Show the first and last page buttons.\n\t */\n\tpublic readonly showEdges = input<boolean, BooleanInput>(true, {\n\t\ttransform: booleanAttribute,\n\t});\n\n\t/**\n\t * The page sizes to show.\n\t * Defaults to [10, 20, 50, 100]\n\t */\n\tpublic readonly pageSizes = input<number[]>([10, 20, 50, 100]);\n\n\tprotected readonly _pageSizesWithCurrent = computed(() => {\n\t\tconst pageSizes = this.pageSizes();\n\t\treturn pageSizes.includes(this.itemsPerPage())\n\t\t\t? pageSizes // if current page size is included, return the same array\n\t\t\t: [...pageSizes, this.itemsPerPage()].sort((a, b) => a - b); // otherwise, add current page size and sort the array\n\t});\n\n\tprotected readonly _isFirstPageActive = computed(() => this.currentPage() === 1);\n\tprotected readonly _isLastPageActive = computed(() => this.currentPage() === this._lastPageNumber());\n\n\tprotected readonly _lastPageNumber = computed(() => {\n\t\tif (this.totalItems() < 1) {\n\t\t\t// when there are 0 or fewer (an error case) items, there are no \"pages\" as such,\n\t\t\t// but it makes sense to consider a single, empty page as the last page.\n\t\t\treturn 1;\n\t\t}\n\t\treturn Math.ceil(this.totalItems() / this.itemsPerPage());\n\t});\n\n\tprotected readonly _pages = computed(() => {\n\t\tconst correctedCurrentPage = outOfBoundCorrection(this.totalItems(), this.itemsPerPage(), this.currentPage());\n\n\t\tif (correctedCurrentPage !== this.currentPage()) {\n\t\t\t// update the current page\n\t\t\tuntracked(() => this.currentPage.set(correctedCurrentPage));\n\t\t}\n\n\t\treturn createPageArray(correctedCurrentPage, this.itemsPerPage(), this.totalItems(), this.maxSize());\n\t});\n\n\tconstructor() {\n\t\tclasses(() => 'flex items-center justify-between gap-2 px-4 py-2');\n\t}\n}\n","import { HlmNumberedPagination } from './lib/hlm-numbered-pagination';\nimport { HlmNumberedPaginationQueryParams } from './lib/hlm-numbered-pagination-query-params';\nimport { HlmPagination } from './lib/hlm-pagination';\nimport { HlmPaginationContent } from './lib/hlm-pagination-content';\nimport { HlmPaginationEllipsis } from './lib/hlm-pagination-ellipsis';\nimport { HlmPaginationItem } from './lib/hlm-pagination-item';\nimport { HlmPaginationLink } from './lib/hlm-pagination-link';\nimport { HlmPaginationNext } from './lib/hlm-pagination-next';\nimport { HlmPaginationPrevious } from './lib/hlm-pagination-previous';\n\nexport * from './lib/hlm-numbered-pagination';\nexport * from './lib/hlm-numbered-pagination-query-params';\nexport * from './lib/hlm-pagination';\nexport * from './lib/hlm-pagination-content';\nexport * from './lib/hlm-pagination-ellipsis';\nexport * from './lib/hlm-pagination-item';\nexport * from './lib/hlm-pagination-link';\nexport * from './lib/hlm-pagination-next';\nexport * from './lib/hlm-pagination-previous';\n\nexport const HlmPaginationImports = [\n\tHlmPagination,\n\tHlmPaginationContent,\n\tHlmPaginationItem,\n\tHlmPaginationLink,\n\tHlmPaginationPrevious,\n\tHlmPaginationNext,\n\tHlmPaginationEllipsis,\n\tHlmNumberedPagination,\n\tHlmNumberedPaginationQueryParams,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;;MAWa,aAAa,CAAA;AAIzB,IAAA,WAAA,GAAA;;QAFgB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,YAAY,iFAAI,KAAK,EAAE,YAAY,EAAA,CAAG;AAG/E,QAAA,OAAO,CAAC,MAAM,oCAAoC,CAAC;IACpD;+GANY,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA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yukit-web/helm/utils';
|
|
7
7
|
|
|
8
8
|
class HlmPopover {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopover, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopover, isStandalone: true, selector: "[hlmPopover],hlm-popover", host: { attributes: { "data-slot": "popover" } }, hostDirectives: [{ directive: i1.BrnPopover, inputs: ["align", "align", "attachTo", "attachTo", "autoFocus", "autoFocus", "closeOnOutsidePointerEvents", "closeOnOutsidePointerEvents", "offsetX", "offsetX", "sideOffset", "sideOffset", "state", "state"], outputs: ["stateChanged", "stateChanged", "closed", "closed"] }], ngImport: i0 }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopover, decorators: [{
|
|
13
13
|
type: Directive,
|
|
14
14
|
args: [{
|
|
15
15
|
selector: '[hlmPopover],hlm-popover',
|
|
@@ -35,10 +35,10 @@ class HlmPopoverContent {
|
|
|
35
35
|
});
|
|
36
36
|
classes(() => 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 relative flex w-72 flex-col outline-none');
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
39
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
39
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopoverContent, isStandalone: true, selector: "[hlmPopoverContent],hlm-popover-content", host: { attributes: { "data-slot": "popover-content" } }, ngImport: i0 }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverContent, decorators: [{
|
|
42
42
|
type: Directive,
|
|
43
43
|
args: [{
|
|
44
44
|
selector: '[hlmPopoverContent],hlm-popover-content',
|
|
@@ -50,10 +50,10 @@ class HlmPopoverDescription {
|
|
|
50
50
|
constructor() {
|
|
51
51
|
classes(() => 'text-muted-foreground');
|
|
52
52
|
}
|
|
53
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
54
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
53
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
54
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopoverDescription, isStandalone: true, selector: "[hlmPopoverDescription]", host: { attributes: { "data-slot": "popover-description" } }, ngImport: i0 }); }
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverDescription, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
selector: '[hlmPopoverDescription]',
|
|
@@ -65,10 +65,10 @@ class HlmPopoverHeader {
|
|
|
65
65
|
constructor() {
|
|
66
66
|
classes(() => 'flex flex-col gap-0.5 text-sm');
|
|
67
67
|
}
|
|
68
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
69
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
68
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
69
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopoverHeader, isStandalone: true, selector: "[hlmPopoverHeader],hlm-popover-header", host: { attributes: { "data-slot": "popover-header" } }, ngImport: i0 }); }
|
|
70
70
|
}
|
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverHeader, decorators: [{
|
|
72
72
|
type: Directive,
|
|
73
73
|
args: [{
|
|
74
74
|
selector: '[hlmPopoverHeader],hlm-popover-header',
|
|
@@ -77,10 +77,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
|
|
|
77
77
|
}], ctorParameters: () => [] });
|
|
78
78
|
|
|
79
79
|
class HlmPopoverPortal {
|
|
80
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
81
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
80
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
81
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopoverPortal, isStandalone: true, selector: "[hlmPopoverPortal]", hostDirectives: [{ directive: i1.BrnPopoverContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverPortal, decorators: [{
|
|
84
84
|
type: Directive,
|
|
85
85
|
args: [{
|
|
86
86
|
selector: '[hlmPopoverPortal]',
|
|
@@ -92,10 +92,10 @@ class HlmPopoverTitle {
|
|
|
92
92
|
constructor() {
|
|
93
93
|
classes(() => 'font-medium');
|
|
94
94
|
}
|
|
95
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
96
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
95
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
96
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopoverTitle, isStandalone: true, selector: "[hlmPopoverTitle]", host: { attributes: { "data-slot": "popover-title" } }, ngImport: i0 }); }
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverTitle, decorators: [{
|
|
99
99
|
type: Directive,
|
|
100
100
|
args: [{
|
|
101
101
|
selector: '[hlmPopoverTitle]',
|
|
@@ -104,10 +104,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImpor
|
|
|
104
104
|
}], ctorParameters: () => [] });
|
|
105
105
|
|
|
106
106
|
class HlmPopoverTrigger {
|
|
107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
108
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
107
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
108
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmPopoverTrigger, isStandalone: true, selector: "button[hlmPopoverTrigger],button[hlmPopoverTriggerFor]", host: { attributes: { "data-slot": "popover-trigger" } }, hostDirectives: [{ directive: i1.BrnPopoverTrigger, inputs: ["id", "id", "brnPopoverTriggerFor", "hlmPopoverTriggerFor", "type", "type"] }], ngImport: i0 }); }
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmPopoverTrigger, decorators: [{
|
|
111
111
|
type: Directive,
|
|
112
112
|
args: [{
|
|
113
113
|
selector: 'button[hlmPopoverTrigger],button[hlmPopoverTriggerFor]',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-popover.mjs","sources":["../../../projects/yukit-web/helm/popover/src/lib/hlm-popover.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-content.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-description.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-header.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-portal.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-title.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-trigger.ts","../../../projects/yukit-web/helm/popover/src/index.ts","../../../projects/yukit-web/helm/popover/src/yukit-web-helm-popover.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnPopover } from '@spartan-ng/brain/popover';\n\n@Directive({\n\tselector: '[hlmPopover],hlm-popover',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: BrnPopover,\n\t\t\tinputs: ['align', 'attachTo', 'autoFocus', 'closeOnOutsidePointerEvents', 'offsetX', 'sideOffset', 'state'],\n\t\t\toutputs: ['stateChanged', 'closed'],\n\t\t},\n\t],\n\thost: { 'data-slot': 'popover' },\n})\nexport class HlmPopover {}\n","import { Directive, ElementRef, Renderer2, effect, inject, signal } from '@angular/core';\nimport { injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverContent],hlm-popover-content',\n\thost: { 'data-slot': 'popover-content' },\n})\nexport class HlmPopoverContent {\n\tprivate readonly _stateProvider = injectExposesStateProvider({ host: true });\n\tpublic state = this._stateProvider.state ?? signal('closed');\n\tprivate readonly _renderer = inject(Renderer2);\n\tprivate readonly _element = inject(ElementRef);\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tthis._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());\n\t\t});\n\n\t\tclasses(() => 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 relative flex w-72 flex-col outline-none');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverDescription]',\n\thost: { 'data-slot': 'popover-description' },\n})\nexport class HlmPopoverDescription {\n\tconstructor() {\n\t\tclasses(() => 'text-muted-foreground');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverHeader],hlm-popover-header',\n\thost: { 'data-slot': 'popover-header' },\n})\nexport class HlmPopoverHeader {\n\tconstructor() {\n\t\tclasses(() => 'flex flex-col gap-0.5 text-sm');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnPopoverContent } from '@spartan-ng/brain/popover';\n\n@Directive({\n\tselector: '[hlmPopoverPortal]',\n\thostDirectives: [{ directive: BrnPopoverContent, inputs: ['context', 'class'] }],\n})\nexport class HlmPopoverPortal {}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverTitle]',\n\thost: { 'data-slot': 'popover-title' },\n})\nexport class HlmPopoverTitle {\n\tconstructor() {\n\t\tclasses(() => 'font-medium');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnPopoverTrigger } from '@spartan-ng/brain/popover';\n\n@Directive({\n\tselector: 'button[hlmPopoverTrigger],button[hlmPopoverTriggerFor]',\n\thostDirectives: [\n\t\t{ directive: BrnPopoverTrigger, inputs: ['id', 'brnPopoverTriggerFor: hlmPopoverTriggerFor', 'type'] },\n\t],\n\thost: { 'data-slot': 'popover-trigger' },\n})\nexport class HlmPopoverTrigger {}\n","import { HlmPopover } from './lib/hlm-popover';\nimport { HlmPopoverContent } from './lib/hlm-popover-content';\nimport { HlmPopoverDescription } from './lib/hlm-popover-description';\nimport { HlmPopoverHeader } from './lib/hlm-popover-header';\nimport { HlmPopoverPortal } from './lib/hlm-popover-portal';\nimport { HlmPopoverTitle } from './lib/hlm-popover-title';\nimport { HlmPopoverTrigger } from './lib/hlm-popover-trigger';\n\nexport * from './lib/hlm-popover';\nexport * from './lib/hlm-popover-content';\nexport * from './lib/hlm-popover-description';\nexport * from './lib/hlm-popover-header';\nexport * from './lib/hlm-popover-portal';\nexport * from './lib/hlm-popover-title';\nexport * from './lib/hlm-popover-trigger';\n\nexport const HlmPopoverImports = [\n\tHlmPopover,\n\tHlmPopoverContent,\n\tHlmPopoverDescription,\n\tHlmPopoverHeader,\n\tHlmPopoverPortal,\n\tHlmPopoverTitle,\n\tHlmPopoverTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAca,UAAU,CAAA
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-popover.mjs","sources":["../../../projects/yukit-web/helm/popover/src/lib/hlm-popover.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-content.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-description.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-header.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-portal.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-title.ts","../../../projects/yukit-web/helm/popover/src/lib/hlm-popover-trigger.ts","../../../projects/yukit-web/helm/popover/src/index.ts","../../../projects/yukit-web/helm/popover/src/yukit-web-helm-popover.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnPopover } from '@spartan-ng/brain/popover';\n\n@Directive({\n\tselector: '[hlmPopover],hlm-popover',\n\thostDirectives: [\n\t\t{\n\t\t\tdirective: BrnPopover,\n\t\t\tinputs: ['align', 'attachTo', 'autoFocus', 'closeOnOutsidePointerEvents', 'offsetX', 'sideOffset', 'state'],\n\t\t\toutputs: ['stateChanged', 'closed'],\n\t\t},\n\t],\n\thost: { 'data-slot': 'popover' },\n})\nexport class HlmPopover {}\n","import { Directive, ElementRef, Renderer2, effect, inject, signal } from '@angular/core';\nimport { injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverContent],hlm-popover-content',\n\thost: { 'data-slot': 'popover-content' },\n})\nexport class HlmPopoverContent {\n\tprivate readonly _stateProvider = injectExposesStateProvider({ host: true });\n\tpublic state = this._stateProvider.state ?? signal('closed');\n\tprivate readonly _renderer = inject(Renderer2);\n\tprivate readonly _element = inject(ElementRef);\n\n\tconstructor() {\n\t\teffect(() => {\n\t\t\tthis._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());\n\t\t});\n\n\t\tclasses(() => 'bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 duration-100 relative flex w-72 flex-col outline-none');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverDescription]',\n\thost: { 'data-slot': 'popover-description' },\n})\nexport class HlmPopoverDescription {\n\tconstructor() {\n\t\tclasses(() => 'text-muted-foreground');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverHeader],hlm-popover-header',\n\thost: { 'data-slot': 'popover-header' },\n})\nexport class HlmPopoverHeader {\n\tconstructor() {\n\t\tclasses(() => 'flex flex-col gap-0.5 text-sm');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnPopoverContent } from '@spartan-ng/brain/popover';\n\n@Directive({\n\tselector: '[hlmPopoverPortal]',\n\thostDirectives: [{ directive: BrnPopoverContent, inputs: ['context', 'class'] }],\n})\nexport class HlmPopoverPortal {}\n","import { Directive } from '@angular/core';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmPopoverTitle]',\n\thost: { 'data-slot': 'popover-title' },\n})\nexport class HlmPopoverTitle {\n\tconstructor() {\n\t\tclasses(() => 'font-medium');\n\t}\n}\n","import { Directive } from '@angular/core';\nimport { BrnPopoverTrigger } from '@spartan-ng/brain/popover';\n\n@Directive({\n\tselector: 'button[hlmPopoverTrigger],button[hlmPopoverTriggerFor]',\n\thostDirectives: [\n\t\t{ directive: BrnPopoverTrigger, inputs: ['id', 'brnPopoverTriggerFor: hlmPopoverTriggerFor', 'type'] },\n\t],\n\thost: { 'data-slot': 'popover-trigger' },\n})\nexport class HlmPopoverTrigger {}\n","import { HlmPopover } from './lib/hlm-popover';\nimport { HlmPopoverContent } from './lib/hlm-popover-content';\nimport { HlmPopoverDescription } from './lib/hlm-popover-description';\nimport { HlmPopoverHeader } from './lib/hlm-popover-header';\nimport { HlmPopoverPortal } from './lib/hlm-popover-portal';\nimport { HlmPopoverTitle } from './lib/hlm-popover-title';\nimport { HlmPopoverTrigger } from './lib/hlm-popover-trigger';\n\nexport * from './lib/hlm-popover';\nexport * from './lib/hlm-popover-content';\nexport * from './lib/hlm-popover-description';\nexport * from './lib/hlm-popover-header';\nexport * from './lib/hlm-popover-portal';\nexport * from './lib/hlm-popover-title';\nexport * from './lib/hlm-popover-trigger';\n\nexport const HlmPopoverImports = [\n\tHlmPopover,\n\tHlmPopoverContent,\n\tHlmPopoverDescription,\n\tHlmPopoverHeader,\n\tHlmPopoverPortal,\n\tHlmPopoverTitle,\n\tHlmPopoverTrigger,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nex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,MAAA,EAAA,MAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,wDAAwD;AAClE,oBAAA,cAAc,EAAE;AACf,wBAAA,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,EAAE,CAAC,IAAI,EAAE,4CAA4C,EAAE,MAAM,CAAC,EAAE;AACtG,qBAAA;AACD,oBAAA,IAAI,EAAE,EAAE,WAAW,EAAE,iBAAiB,EAAE;AACxC,iBAAA;;;ACOM,MAAM,iBAAiB,GAAG;IAChC,UAAU;IACV,iBAAiB;IACjB,qBAAqB;IACrB,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,iBAAiB;;;ACvBlB;;AAEG;;"}
|
|
@@ -9,10 +9,10 @@ class HlmProgress {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
classes(() => 'bg-muted h-1 rounded-full relative inline-flex w-full overflow-hidden');
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmProgress, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmProgress, isStandalone: true, selector: "hlm-progress,[hlmProgress]", host: { attributes: { "data-slot": "progress" } }, hostDirectives: [{ directive: i1.BrnProgress, inputs: ["value", "value", "max", "max", "getValueLabel", "getValueLabel"] }], ngImport: i0 }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmProgress, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: 'hlm-progress,[hlmProgress]',
|
|
@@ -34,10 +34,10 @@ class HlmProgressIndicator {
|
|
|
34
34
|
this._indeterminate = computed(() => this._progress.value() === null || this._progress.value() === undefined, ...(ngDevMode ? [{ debugName: "_indeterminate" }] : /* istanbul ignore next */ []));
|
|
35
35
|
classes(() => 'bg-primary h-full w-full flex-1 transition-all');
|
|
36
36
|
}
|
|
37
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
38
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
37
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmProgressIndicator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
38
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.22", type: HlmProgressIndicator, isStandalone: true, selector: "[hlmProgressIndicator],hlm-progress-indicator", host: { attributes: { "data-slot": "progress-indicator" }, properties: { "class.animate-indeterminate": "_indeterminate()", "style.transform": "_transform()" } }, hostDirectives: [{ directive: i1.BrnProgressIndicator }], ngImport: i0 }); }
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmProgressIndicator, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: '[hlmProgressIndicator],hlm-progress-indicator',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yukit-web-helm-progress.mjs","sources":["../../../projects/yukit-web/helm/progress/src/lib/hlm-progress.ts","../../../projects/yukit-web/helm/progress/src/lib/hlm-progress-indicator.ts","../../../projects/yukit-web/helm/progress/src/index.ts","../../../projects/yukit-web/helm/progress/src/yukit-web-helm-progress.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnProgress } from '@spartan-ng/brain/progress';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'hlm-progress,[hlmProgress]',\n\thostDirectives: [{ directive: BrnProgress, inputs: ['value', 'max', 'getValueLabel'] }],\n\thost: { 'data-slot': 'progress' },\n})\nexport class HlmProgress {\n\tconstructor() {\n\t\tclasses(() => 'bg-muted h-1 rounded-full relative inline-flex w-full overflow-hidden');\n\t}\n}\n","import { Directionality } from '@angular/cdk/bidi';\nimport { Directive, computed, inject } from '@angular/core';\nimport { BrnProgressIndicator, injectBrnProgress } from '@spartan-ng/brain/progress';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmProgressIndicator],hlm-progress-indicator',\n\thostDirectives: [BrnProgressIndicator],\n\thost: {\n\t\t'data-slot': 'progress-indicator',\n\t\t'[class.animate-indeterminate]': '_indeterminate()',\n\t\t'[style.transform]': '_transform()',\n\t},\n})\nexport class HlmProgressIndicator {\n\tprivate readonly _progress = injectBrnProgress();\n\tprivate readonly _dir = inject(Directionality);\n\t// Offset the indicator by the unfilled remainder. In RTL the bar fills from the inline-start\n\t// (visually the right), so translate the opposite way to keep the fill on the correct side.\n\tprotected readonly _transform = computed(() => {\n\t\tconst offset = 100 - (this._progress.value() ?? 100);\n\t\treturn `translateX(${this._dir.valueSignal() === 'rtl' ? '' : '-'}${offset}%)`;\n\t});\n\tprotected readonly _indeterminate = computed(\n\t\t() => this._progress.value() === null || this._progress.value() === undefined,\n\t);\n\n\tconstructor() {\n\t\tclasses(() => 'bg-primary h-full w-full flex-1 transition-all');\n\t}\n}\n","import { HlmProgress } from './lib/hlm-progress';\nimport { HlmProgressIndicator } from './lib/hlm-progress-indicator';\n\nexport * from './lib/hlm-progress';\nexport * from './lib/hlm-progress-indicator';\n\nexport const HlmProgressImports = [HlmProgress, HlmProgressIndicator] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,WAAW,CAAA;AACvB,IAAA,WAAA,GAAA;AACC,QAAA,OAAO,CAAC,MAAM,uEAAuE,CAAC;IACvF
|
|
1
|
+
{"version":3,"file":"yukit-web-helm-progress.mjs","sources":["../../../projects/yukit-web/helm/progress/src/lib/hlm-progress.ts","../../../projects/yukit-web/helm/progress/src/lib/hlm-progress-indicator.ts","../../../projects/yukit-web/helm/progress/src/index.ts","../../../projects/yukit-web/helm/progress/src/yukit-web-helm-progress.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnProgress } from '@spartan-ng/brain/progress';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: 'hlm-progress,[hlmProgress]',\n\thostDirectives: [{ directive: BrnProgress, inputs: ['value', 'max', 'getValueLabel'] }],\n\thost: { 'data-slot': 'progress' },\n})\nexport class HlmProgress {\n\tconstructor() {\n\t\tclasses(() => 'bg-muted h-1 rounded-full relative inline-flex w-full overflow-hidden');\n\t}\n}\n","import { Directionality } from '@angular/cdk/bidi';\nimport { Directive, computed, inject } from '@angular/core';\nimport { BrnProgressIndicator, injectBrnProgress } from '@spartan-ng/brain/progress';\nimport { classes } from 'yukit-web/helm/utils';\n\n@Directive({\n\tselector: '[hlmProgressIndicator],hlm-progress-indicator',\n\thostDirectives: [BrnProgressIndicator],\n\thost: {\n\t\t'data-slot': 'progress-indicator',\n\t\t'[class.animate-indeterminate]': '_indeterminate()',\n\t\t'[style.transform]': '_transform()',\n\t},\n})\nexport class HlmProgressIndicator {\n\tprivate readonly _progress = injectBrnProgress();\n\tprivate readonly _dir = inject(Directionality);\n\t// Offset the indicator by the unfilled remainder. In RTL the bar fills from the inline-start\n\t// (visually the right), so translate the opposite way to keep the fill on the correct side.\n\tprotected readonly _transform = computed(() => {\n\t\tconst offset = 100 - (this._progress.value() ?? 100);\n\t\treturn `translateX(${this._dir.valueSignal() === 'rtl' ? '' : '-'}${offset}%)`;\n\t});\n\tprotected readonly _indeterminate = computed(\n\t\t() => this._progress.value() === null || this._progress.value() === undefined,\n\t);\n\n\tconstructor() {\n\t\tclasses(() => 'bg-primary h-full w-full flex-1 transition-all');\n\t}\n}\n","import { HlmProgress } from './lib/hlm-progress';\nimport { HlmProgressIndicator } from './lib/hlm-progress-indicator';\n\nexport * from './lib/hlm-progress';\nexport * from './lib/hlm-progress-indicator';\n\nexport const HlmProgressImports = [HlmProgress, HlmProgressIndicator] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MASa,WAAW,CAAA;AACvB,IAAA,WAAA,GAAA;AACC,QAAA,OAAO,CAAC,MAAM,uEAAuE,CAAC;IACvF;+GAHY,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,4BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,UAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,WAAA,EAAA,MAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,KAAA,EAAA,KAAA,EAAA,eAAA,EAAA,eAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBALvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,cAAc,EAAE,CAAC,EAAE,SAAS,EA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AAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,oBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAThC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,+CAA+C;oBACzD,cAAc,EAAE,CAAC,oBAAoB,CAAC;AACtC,oBAAA,IAAI,EAAE;AACL,wBAAA,WAAW,EAAE,oBAAoB;AACjC,wBAAA,+BAA+B,EAAE,kBAAkB;AACnD,wBAAA,mBAAmB,EAAE,cAAc;AACnC,qBAAA;AACD,iBAAA;;;MCPY,kBAAkB,GAAG,CAAC,WAAW,EAAE,oBAAoB;;ACNpE;;AAEG;;"}
|
|
@@ -53,8 +53,8 @@ class HlmRadio {
|
|
|
53
53
|
this._renderer.setAttribute(labelElement, 'data-disabled', isDisabled ? 'true' : 'false');
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmRadio, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.22", type: HlmRadio, isStandalone: true, selector: "hlm-radio", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, ariaDescribedby: { classPropertyName: "ariaDescribedby", publicName: "aria-describedby", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change" }, host: { attributes: { "data-slot": "radio-group-item" }, properties: { "attr.aria-label": "null", "attr.aria-labelledby": "null", "attr.aria-describedby": "null", "attr.data-disabled": "disabled() ? \"\" : null" } }, ngImport: i0, template: `
|
|
58
58
|
<brn-radio
|
|
59
59
|
[id]="inputId()"
|
|
60
60
|
[class]="_computedClass()"
|
|
@@ -76,7 +76,7 @@ class HlmRadio {
|
|
|
76
76
|
</brn-radio>
|
|
77
77
|
`, isInline: true, dependencies: [{ kind: "component", type: BrnRadio, selector: "brn-radio", inputs: ["disabled", "id", "aria-label", "aria-labelledby", "aria-describedby", "value", "inputStyles", "required"], outputs: ["change"], exportAs: ["brnRadio"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmRadio, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{
|
|
82
82
|
selector: 'hlm-radio',
|
|
@@ -127,10 +127,10 @@ class HlmRadioGroup {
|
|
|
127
127
|
this._errorState() ? 'data-[invalid=true]:text-destructive' : '',
|
|
128
128
|
]);
|
|
129
129
|
}
|
|
130
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
131
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
130
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmRadioGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
131
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.22", type: HlmRadioGroup, isStandalone: true, selector: "[hlmRadioGroup],hlm-radio-group", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "radio-group" }, properties: { "attr.aria-invalid": "_ariaInvalid() ? \"true\" : null", "attr.data-invalid": "_ariaInvalid() ? \"true\" : null", "attr.data-dirty": "_dirty() ? \"true\" : null", "attr.data-touched": "_touched() ? \"true\" : null" } }, hostDirectives: [{ directive: i1.BrnRadioGroup, inputs: ["name", "name", "value", "value", "disabled", "disabled", "required", "required"], outputs: ["valueChange", "valueChange"] }, { directive: i2.BrnFieldControlDescribedBy }], ngImport: i0 }); }
|
|
132
132
|
}
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmRadioGroup, decorators: [{
|
|
134
134
|
type: Directive,
|
|
135
135
|
args: [{
|
|
136
136
|
selector: '[hlmRadioGroup],hlm-radio-group',
|
|
@@ -156,12 +156,12 @@ class HlmRadioIndicator {
|
|
|
156
156
|
constructor() {
|
|
157
157
|
classes(() => 'border-input text-primary group-has-[:focus-visible]:border-ring group-has-[:focus-visible]:ring-ring/50 dark:bg-input/30 group-data=[disabled=true]:cursor-not-allowed group-data=[disabled=true]:opacity-50 relative flex aspect-square size-4 shrink-0 items-center justify-center rounded-full border shadow-xs transition-[color,box-shadow] outline-none group-has-[:focus-visible]:ring-[3px]');
|
|
158
158
|
}
|
|
159
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
160
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
159
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmRadioIndicator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
160
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: HlmRadioIndicator, isStandalone: true, selector: "hlm-radio-indicator", host: { attributes: { "data-slot": "radio-group-indicator" } }, ngImport: i0, template: `
|
|
161
161
|
<div class="group-data-[checked=true]:bg-primary size-2 rounded-full bg-transparent"></div>
|
|
162
162
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
163
163
|
}
|
|
164
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: HlmRadioIndicator, decorators: [{
|
|
165
165
|
type: Component,
|
|
166
166
|
args: [{
|
|
167
167
|
selector: 'hlm-radio-indicator',
|