@egose/shadcn-theme-ng 0.0.26 → 0.0.28
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/LICENSE +201 -0
- package/README.md +107 -2
- package/accordion/fesm2022/accordion.mjs +42 -37
- package/accordion/fesm2022/accordion.mjs.map +1 -1
- package/accordion/package.json +25 -0
- package/accordion/{index.d.ts → types/accordion.d.ts} +1 -1
- package/alert/fesm2022/alert.mjs +32 -27
- package/alert/fesm2022/alert.mjs.map +1 -1
- package/alert/package.json +25 -0
- package/alert-dialog/README.md +11 -0
- package/alert-dialog/fesm2022/alert-dialog.mjs +287 -0
- package/alert-dialog/fesm2022/alert-dialog.mjs.map +1 -0
- package/alert-dialog/package.json +25 -0
- package/alert-dialog/types/alert-dialog.d.ts +90 -0
- package/aspect-ratio/README.md +11 -0
- package/aspect-ratio/fesm2022/aspect-ratio.mjs +62 -0
- package/aspect-ratio/fesm2022/aspect-ratio.mjs.map +1 -0
- package/aspect-ratio/package.json +25 -0
- package/aspect-ratio/types/aspect-ratio.d.ts +21 -0
- package/autocomplete/fesm2022/autocomplete.mjs +323 -457
- package/autocomplete/fesm2022/autocomplete.mjs.map +1 -1
- package/autocomplete/package.json +24 -0
- package/autocomplete/types/autocomplete.d.ts +96 -0
- package/avatar/README.md +11 -0
- package/avatar/fesm2022/avatar.mjs +178 -0
- package/avatar/fesm2022/avatar.mjs.map +1 -0
- package/avatar/package.json +25 -0
- package/avatar/types/avatar.d.ts +50 -0
- package/badge/fesm2022/badge.mjs +16 -10
- package/badge/fesm2022/badge.mjs.map +1 -1
- package/badge/package.json +25 -0
- package/basic-alert/fesm2022/basic-alert.mjs +12 -8
- package/basic-alert/fesm2022/basic-alert.mjs.map +1 -1
- package/basic-alert/package.json +24 -0
- package/breadcrumb/README.md +11 -0
- package/breadcrumb/fesm2022/breadcrumb.mjs +224 -0
- package/breadcrumb/fesm2022/breadcrumb.mjs.map +1 -0
- package/breadcrumb/package.json +25 -0
- package/breadcrumb/types/breadcrumb.d.ts +57 -0
- package/button/fesm2022/button.mjs +100 -26
- package/button/fesm2022/button.mjs.map +1 -1
- package/button/package.json +25 -0
- package/button/{index.d.ts → types/button.d.ts} +30 -9
- package/button-group/README.md +11 -0
- package/button-group/fesm2022/button-group.mjs +102 -0
- package/button-group/fesm2022/button-group.mjs.map +1 -0
- package/button-group/package.json +25 -0
- package/button-group/types/button-group.d.ts +30 -0
- package/calendar/fesm2022/calendar.mjs +868 -546
- package/calendar/fesm2022/calendar.mjs.map +1 -1
- package/calendar/package.json +24 -0
- package/calendar/types/calendar.d.ts +94 -0
- package/card/README.md +11 -0
- package/card/fesm2022/card.mjs +169 -0
- package/card/fesm2022/card.mjs.map +1 -0
- package/card/package.json +25 -0
- package/card/types/card.d.ts +54 -0
- package/carousel/README.md +11 -0
- package/carousel/fesm2022/carousel.mjs +309 -0
- package/carousel/fesm2022/carousel.mjs.map +1 -0
- package/carousel/package.json +25 -0
- package/carousel/types/carousel.d.ts +84 -0
- package/checkbox/fesm2022/checkbox.mjs +25 -20
- package/checkbox/fesm2022/checkbox.mjs.map +1 -1
- package/checkbox/package.json +24 -0
- package/collapsible/README.md +11 -0
- package/collapsible/fesm2022/collapsible.mjs +77 -0
- package/collapsible/fesm2022/collapsible.mjs.map +1 -0
- package/collapsible/package.json +25 -0
- package/collapsible/types/collapsible.d.ts +27 -0
- package/combobox/README.md +11 -0
- package/combobox/fesm2022/combobox.mjs +683 -0
- package/combobox/fesm2022/combobox.mjs.map +1 -0
- package/combobox/package.json +25 -0
- package/combobox/types/combobox.d.ts +151 -0
- package/command/README.md +11 -0
- package/command/fesm2022/command.mjs +361 -0
- package/command/fesm2022/command.mjs.map +1 -0
- package/command/package.json +25 -0
- package/command/types/command.d.ts +89 -0
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +19 -8
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs.map +1 -1
- package/confirmation-dialog/package.json +24 -0
- package/context-menu/README.md +11 -0
- package/context-menu/fesm2022/context-menu.mjs +89 -0
- package/context-menu/fesm2022/context-menu.mjs.map +1 -0
- package/context-menu/package.json +25 -0
- package/context-menu/types/context-menu.d.ts +34 -0
- package/date-picker/fesm2022/date-picker.mjs +1262 -307
- package/date-picker/fesm2022/date-picker.mjs.map +1 -1
- package/date-picker/package.json +24 -0
- package/date-picker/types/date-picker.d.ts +551 -0
- package/dialog/fesm2022/dialog.mjs +137 -108
- package/dialog/fesm2022/dialog.mjs.map +1 -1
- package/dialog/package.json +24 -0
- package/dialog/types/dialog.d.ts +95 -0
- package/drawer/README.md +11 -0
- package/drawer/fesm2022/drawer.mjs +271 -0
- package/drawer/fesm2022/drawer.mjs.map +1 -0
- package/drawer/package.json +25 -0
- package/drawer/types/drawer.d.ts +76 -0
- package/dropdown-menu/README.md +11 -0
- package/dropdown-menu/fesm2022/dropdown-menu.mjs +542 -0
- package/dropdown-menu/fesm2022/dropdown-menu.mjs.map +1 -0
- package/dropdown-menu/package.json +25 -0
- package/dropdown-menu/types/dropdown-menu.d.ts +176 -0
- package/empty/README.md +11 -0
- package/empty/fesm2022/empty.mjs +151 -0
- package/empty/fesm2022/empty.mjs.map +1 -0
- package/empty/package.json +25 -0
- package/empty/types/empty.d.ts +54 -0
- package/field/README.md +11 -0
- package/field/fesm2022/field.mjs +367 -0
- package/field/fesm2022/field.mjs.map +1 -0
- package/field/package.json +25 -0
- package/field/types/field.d.ts +107 -0
- package/form-checkbox/fesm2022/form-checkbox.mjs +39 -22
- package/form-checkbox/fesm2022/form-checkbox.mjs.map +1 -1
- package/form-checkbox/package.json +24 -0
- package/form-date-picker/fesm2022/form-date-picker.mjs +58 -51
- package/form-date-picker/fesm2022/form-date-picker.mjs.map +1 -1
- package/form-date-picker/package.json +24 -0
- package/form-field/fesm2022/form-field.mjs +39 -27
- package/form-field/fesm2022/form-field.mjs.map +1 -1
- package/form-field/package.json +25 -0
- package/form-field/{index.d.ts → types/form-field.d.ts} +4 -3
- package/form-field-simple/fesm2022/form-field-simple.mjs +15 -10
- package/form-field-simple/fesm2022/form-field-simple.mjs.map +1 -1
- package/form-field-simple/package.json +24 -0
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +44 -25
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +1 -1
- package/form-searchable-multiselect/package.json +24 -0
- package/form-select/fesm2022/form-select.mjs +132 -71
- package/form-select/fesm2022/form-select.mjs.map +1 -1
- package/form-select/package.json +24 -0
- package/form-text-input/fesm2022/form-text-input.mjs +68 -39
- package/form-text-input/fesm2022/form-text-input.mjs.map +1 -1
- package/form-text-input/package.json +24 -0
- package/form-textarea/fesm2022/form-textarea.mjs +54 -30
- package/form-textarea/fesm2022/form-textarea.mjs.map +1 -1
- package/form-textarea/package.json +24 -0
- package/hover-card/README.md +11 -0
- package/hover-card/fesm2022/hover-card.mjs +123 -0
- package/hover-card/fesm2022/hover-card.mjs.map +1 -0
- package/hover-card/package.json +25 -0
- package/hover-card/types/hover-card.d.ts +36 -0
- package/icon/fesm2022/icon.mjs +12 -10
- package/icon/fesm2022/icon.mjs.map +1 -1
- package/icon/package.json +25 -0
- package/input/fesm2022/input.mjs +20 -70
- package/input/fesm2022/input.mjs.map +1 -1
- package/input/package.json +25 -0
- package/input/types/input.d.ts +18 -0
- package/input-group/README.md +11 -0
- package/input-group/fesm2022/input-group.mjs +199 -0
- package/input-group/fesm2022/input-group.mjs.map +1 -0
- package/input-group/package.json +25 -0
- package/input-group/types/input-group.d.ts +52 -0
- package/input-otp/README.md +11 -0
- package/input-otp/fesm2022/input-otp.mjs +141 -0
- package/input-otp/fesm2022/input-otp.mjs.map +1 -0
- package/input-otp/package.json +25 -0
- package/input-otp/types/input-otp.d.ts +43 -0
- package/item/README.md +11 -0
- package/item/fesm2022/item.mjs +278 -0
- package/item/fesm2022/item.mjs.map +1 -0
- package/item/package.json +25 -0
- package/item/types/item.d.ts +101 -0
- package/kbd/README.md +11 -0
- package/kbd/fesm2022/kbd.mjs +61 -0
- package/kbd/fesm2022/kbd.mjs.map +1 -0
- package/kbd/package.json +25 -0
- package/kbd/types/kbd.d.ts +22 -0
- package/label/fesm2022/label.mjs +11 -10
- package/label/fesm2022/label.mjs.map +1 -1
- package/label/package.json +25 -0
- package/layout-simple/fesm2022/layout-simple.mjs +438 -325
- package/layout-simple/fesm2022/layout-simple.mjs.map +1 -1
- package/layout-simple/package.json +24 -0
- package/layout-simple/{index.d.ts → types/layout-simple.d.ts} +28 -17
- package/menubar/README.md +11 -0
- package/menubar/fesm2022/menubar.mjs +108 -0
- package/menubar/fesm2022/menubar.mjs.map +1 -0
- package/menubar/package.json +25 -0
- package/menubar/types/menubar.d.ts +40 -0
- package/native-select/README.md +11 -0
- package/native-select/fesm2022/native-select.mjs +207 -0
- package/native-select/fesm2022/native-select.mjs.map +1 -0
- package/native-select/package.json +25 -0
- package/native-select/types/native-select.d.ts +70 -0
- package/navigation-menu/README.md +11 -0
- package/navigation-menu/fesm2022/navigation-menu.mjs +206 -0
- package/navigation-menu/fesm2022/navigation-menu.mjs.map +1 -0
- package/navigation-menu/package.json +25 -0
- package/navigation-menu/types/navigation-menu.d.ts +54 -0
- package/package.json +223 -81
- package/pagination/README.md +11 -0
- package/pagination/fesm2022/pagination.mjs +808 -0
- package/pagination/fesm2022/pagination.mjs.map +1 -0
- package/pagination/package.json +25 -0
- package/pagination/types/pagination.d.ts +192 -0
- package/popover/fesm2022/popover.mjs +121 -27
- package/popover/fesm2022/popover.mjs.map +1 -1
- package/popover/package.json +24 -0
- package/popover/types/popover.d.ts +54 -0
- package/progress/README.md +11 -0
- package/progress/fesm2022/progress.mjs +77 -0
- package/progress/fesm2022/progress.mjs.map +1 -0
- package/progress/package.json +25 -0
- package/progress/types/progress.d.ts +27 -0
- package/radio-group/fesm2022/radio-group.mjs +96 -62
- package/radio-group/fesm2022/radio-group.mjs.map +1 -1
- package/radio-group/package.json +25 -0
- package/radio-group/{index.d.ts → types/radio-group.d.ts} +22 -14
- package/resizable/README.md +11 -0
- package/resizable/fesm2022/resizable.mjs +111 -0
- package/resizable/fesm2022/resizable.mjs.map +1 -0
- package/resizable/package.json +25 -0
- package/resizable/types/resizable.d.ts +32 -0
- package/scroll-area/README.md +11 -0
- package/scroll-area/fesm2022/scroll-area.mjs +51 -0
- package/scroll-area/fesm2022/scroll-area.mjs.map +1 -0
- package/scroll-area/package.json +25 -0
- package/scroll-area/types/scroll-area.d.ts +16 -0
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +92 -88
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs.map +1 -1
- package/searchable-multiselect/package.json +24 -0
- package/searchable-multiselect/{index.d.ts → types/searchable-multiselect.d.ts} +13 -24
- package/select/fesm2022/select.mjs +371 -189
- package/select/fesm2022/select.mjs.map +1 -1
- package/select/package.json +25 -0
- package/select/types/select.d.ts +119 -0
- package/separator/fesm2022/separator.mjs +16 -14
- package/separator/fesm2022/separator.mjs.map +1 -1
- package/separator/package.json +24 -0
- package/separator/{index.d.ts → types/separator.d.ts} +4 -5
- package/sheet/fesm2022/sheet.mjs +57 -51
- package/sheet/fesm2022/sheet.mjs.map +1 -1
- package/sheet/package.json +24 -0
- package/sidebar/README.md +11 -0
- package/sidebar/fesm2022/sidebar.mjs +948 -0
- package/sidebar/fesm2022/sidebar.mjs.map +1 -0
- package/sidebar/package.json +25 -0
- package/sidebar/types/sidebar.d.ts +237 -0
- package/skeleton/README.md +11 -0
- package/skeleton/fesm2022/skeleton.mjs +44 -0
- package/skeleton/fesm2022/skeleton.mjs.map +1 -0
- package/skeleton/package.json +25 -0
- package/skeleton/types/skeleton.d.ts +16 -0
- package/slider/README.md +11 -0
- package/slider/fesm2022/slider.mjs +144 -0
- package/slider/fesm2022/slider.mjs.map +1 -0
- package/slider/package.json +25 -0
- package/slider/types/slider.d.ts +19 -0
- package/sonner/fesm2022/sonner.mjs +30 -35
- package/sonner/fesm2022/sonner.mjs.map +1 -1
- package/sonner/package.json +25 -0
- package/spinner/fesm2022/spinner.mjs +18 -14
- package/spinner/fesm2022/spinner.mjs.map +1 -1
- package/spinner/package.json +25 -0
- package/switch/fesm2022/switch.mjs +29 -26
- package/switch/fesm2022/switch.mjs.map +1 -1
- package/switch/package.json +25 -0
- package/table/README.md +11 -0
- package/table/fesm2022/table.mjs +211 -0
- package/table/fesm2022/table.mjs.map +1 -0
- package/table/package.json +25 -0
- package/table/types/table.d.ts +87 -0
- package/tabs/fesm2022/tabs.mjs +131 -103
- package/tabs/fesm2022/tabs.mjs.map +1 -1
- package/tabs/package.json +25 -0
- package/tabs/types/tabs.d.ts +71 -0
- package/textarea/README.md +11 -0
- package/textarea/fesm2022/textarea.mjs +47 -0
- package/textarea/fesm2022/textarea.mjs.map +1 -0
- package/textarea/package.json +25 -0
- package/textarea/types/textarea.d.ts +18 -0
- package/toggle/README.md +11 -0
- package/toggle/fesm2022/toggle.mjs +78 -0
- package/toggle/fesm2022/toggle.mjs.map +1 -0
- package/toggle/package.json +25 -0
- package/toggle/types/toggle.d.ts +27 -0
- package/toggle-group/README.md +11 -0
- package/toggle-group/fesm2022/toggle-group.mjs +117 -0
- package/toggle-group/fesm2022/toggle-group.mjs.map +1 -0
- package/toggle-group/package.json +25 -0
- package/toggle-group/types/toggle-group.d.ts +39 -0
- package/tooltip/fesm2022/tooltip.mjs +33 -54
- package/tooltip/fesm2022/tooltip.mjs.map +1 -1
- package/tooltip/package.json +25 -0
- package/tooltip/types/tooltip.d.ts +22 -0
- package/typography/README.md +11 -0
- package/typography/fesm2022/typography.mjs +242 -0
- package/typography/fesm2022/typography.mjs.map +1 -0
- package/typography/package.json +25 -0
- package/typography/types/typography.d.ts +94 -0
- package/utils/fesm2022/utils.mjs +184 -1
- package/utils/fesm2022/utils.mjs.map +1 -1
- package/utils/package.json +25 -0
- package/utils/types/utils.d.ts +13 -0
- package/autocomplete/index.d.ts +0 -162
- package/calendar/index.d.ts +0 -111
- package/date-picker/index.d.ts +0 -227
- package/dialog/index.d.ts +0 -89
- package/exports.json +0 -1
- package/input/index.d.ts +0 -41
- package/menu/README.md +0 -64
- package/menu/fesm2022/menu.mjs +0 -449
- package/menu/fesm2022/menu.mjs.map +0 -1
- package/menu/index.d.ts +0 -137
- package/popover/index.d.ts +0 -30
- package/select/index.d.ts +0 -92
- package/tabs/index.d.ts +0 -71
- package/tooltip/index.d.ts +0 -21
- package/utils/index.d.ts +0 -5
- /package/alert/{index.d.ts → types/alert.d.ts} +0 -0
- /package/badge/{index.d.ts → types/badge.d.ts} +0 -0
- /package/basic-alert/{index.d.ts → types/basic-alert.d.ts} +0 -0
- /package/checkbox/{index.d.ts → types/checkbox.d.ts} +0 -0
- /package/confirmation-dialog/{index.d.ts → types/confirmation-dialog.d.ts} +0 -0
- /package/form-checkbox/{index.d.ts → types/form-checkbox.d.ts} +0 -0
- /package/form-date-picker/{index.d.ts → types/form-date-picker.d.ts} +0 -0
- /package/form-field-simple/{index.d.ts → types/form-field-simple.d.ts} +0 -0
- /package/form-searchable-multiselect/{index.d.ts → types/form-searchable-multiselect.d.ts} +0 -0
- /package/form-select/{index.d.ts → types/form-select.d.ts} +0 -0
- /package/form-text-input/{index.d.ts → types/form-text-input.d.ts} +0 -0
- /package/form-textarea/{index.d.ts → types/form-textarea.d.ts} +0 -0
- /package/icon/{index.d.ts → types/icon.d.ts} +0 -0
- /package/label/{index.d.ts → types/label.d.ts} +0 -0
- /package/sheet/{index.d.ts → types/sheet.d.ts} +0 -0
- /package/sonner/{index.d.ts → types/sonner.d.ts} +0 -0
- /package/spinner/{index.d.ts → types/spinner.d.ts} +0 -0
- /package/switch/{index.d.ts → types/switch.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pagination.mjs","sources":["../../../projects/pagination/src/lib/hlm-pagination.ts","../../../projects/pagination/src/lib/hlm-pagination-content.ts","../../../projects/pagination/src/lib/hlm-pagination-ellipsis.ts","../../../projects/pagination/src/lib/hlm-pagination-item.ts","../../../projects/pagination/src/lib/hlm-pagination-link.ts","../../../projects/pagination/src/lib/hlm-pagination-next.ts","../../../projects/pagination/src/lib/hlm-pagination-previous.ts","../../../projects/pagination/src/lib/hlm-numbered-pagination.ts","../../../projects/pagination/src/lib/hlm-numbered-pagination-query-params.ts","../../../projects/pagination/src/public-api.ts","../../../projects/pagination/src/pagination.ts"],"sourcesContent":["import { Directive, input } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmPagination],hlm-pagination',\n host: {\n 'data-slot': 'pagination',\n role: 'navigation',\n '[attr.aria-label]': 'ariaLabel()',\n },\n})\nexport class HlmPagination {\n /** The aria-label for the pagination component. */\n public readonly ariaLabel = input<string>('pagination', { alias: 'aria-label' });\n\n constructor() {\n classes(() => 'mx-auto flex w-full justify-center');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: 'ul[hlmPaginationContent]',\n host: { 'data-slot': 'pagination-content' },\n})\nexport class HlmPaginationContent {\n constructor() {\n classes(() => 'gap-1 flex items-center');\n }\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 '@egose/shadcn-theme-ng/utils';\n\n@Component({\n selector: 'hlm-pagination-ellipsis',\n imports: [NgIcon],\n providers: [provideIcons({ lucideEllipsis })],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { 'data-slot': 'pagination-ellipsis' },\n template: `\n <ng-icon name=\"lucideEllipsis\" />\n <span class=\"sr-only\">{{ srOnlyText() }}</span>\n `,\n})\nexport class HlmPaginationEllipsis {\n /** Screen reader only text for the ellipsis */\n public readonly srOnlyText = input<string>('More pages');\n\n constructor() {\n classes(\n () => \"size-9 [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center justify-center\",\n );\n }\n}\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'li[hlmPaginationItem]',\n host: { '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 '@egose/shadcn-theme-ng/button';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmPaginationLink]',\n hostDirectives: [\n {\n directive: RouterLink,\n inputs: [\n 'target',\n 'queryParams',\n 'fragment',\n 'queryParamsHandling',\n 'state',\n 'info',\n 'relativeTo',\n 'preserveFragment',\n 'skipLocationChange',\n 'replaceUrl',\n 'routerLink: link',\n ],\n },\n ],\n host: {\n 'data-slot': 'pagination-link',\n '[attr.data-active]': 'isActive() ? \"true\" : null',\n '[attr.aria-current]': 'isActive() ? \"page\" : null',\n },\n})\nexport class HlmPaginationLink {\n /** Whether the link is active (i.e., the current page). */\n public readonly isActive = input<boolean, BooleanInput>(false, { transform: booleanAttribute });\n /** The size of the button. */\n public readonly size = input<ButtonVariants['size']>('icon');\n /** The link to navigate to the page. */\n public readonly link = input<RouterLink['routerLink']>();\n\n constructor() {\n classes(() => [\n 'relative',\n buttonVariants({\n variant: this.isActive() ? 'outline' : 'ghost',\n size: this.size(),\n }),\n this.link() === undefined && 'cursor-pointer',\n ]);\n }\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 '@egose/shadcn-theme-ng/button';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmPaginationLink } from './hlm-pagination-link';\n\n@Component({\n selector: 'hlm-pagination-next',\n imports: [HlmPaginationLink, NgIcon],\n providers: [provideIcons({ lucideChevronRight })],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <a\n hlmPaginationLink\n [class]=\"_computedClass()\"\n [link]=\"link()\"\n [queryParams]=\"queryParams()\"\n [queryParamsHandling]=\"queryParamsHandling()\"\n [size]=\"_size()\"\n [attr.aria-label]=\"ariaLabel()\"\n >\n <span [class]=\"_labelClass()\">{{ text() }}</span>\n <ng-icon name=\"lucideChevronRight\" class=\"rtl:rotate-180\" />\n </a>\n `,\n})\nexport class HlmPaginationNext {\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n /** The link to navigate to the next page. */\n public readonly link = input<RouterLink['routerLink']>();\n /** The query parameters to pass to the next page. */\n public readonly queryParams = input<RouterLink['queryParams']>();\n /** How to handle query parameters when navigating to the next page. */\n public readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();\n\n /** The aria-label for the next page link. */\n public readonly ariaLabel = input<string>('Go to next page', { alias: 'aria-label' });\n /** The text to display for the next page link. */\n public readonly text = input<string>('Next');\n /** Whether the button should only display the icon. */\n public readonly iconOnly = input<boolean, BooleanInput>(false, {\n transform: booleanAttribute,\n });\n protected readonly _labelClass = computed(() => (this.iconOnly() ? 'sr-only' : 'hidden sm:block'));\n\n protected readonly _size = computed<ButtonVariants['size']>(() => (this.iconOnly() ? 'icon' : 'default'));\n\n protected readonly _computedClass = computed(() => hlm(!this.iconOnly() && 'pe-2!', this.userClass()));\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 '@egose/shadcn-theme-ng/button';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmPaginationLink } from './hlm-pagination-link';\n\n@Component({\n selector: 'hlm-pagination-previous',\n imports: [HlmPaginationLink, NgIcon],\n providers: [provideIcons({ lucideChevronLeft })],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <a\n hlmPaginationLink\n [class]=\"_computedClass()\"\n [link]=\"link()\"\n [queryParams]=\"queryParams()\"\n [queryParamsHandling]=\"queryParamsHandling()\"\n [size]=\"_size()\"\n [attr.aria-label]=\"ariaLabel()\"\n >\n <ng-icon name=\"lucideChevronLeft\" class=\"rtl:rotate-180\" />\n <span [class]=\"_labelClass()\">{{ text() }}</span>\n </a>\n `,\n})\nexport class HlmPaginationPrevious {\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n /** The link to navigate to the previous page. */\n public readonly link = input<RouterLink['routerLink']>();\n /** The query parameters to pass to the previous page. */\n public readonly queryParams = input<RouterLink['queryParams']>();\n /** How to handle query parameters when navigating to the previous page. */\n public readonly queryParamsHandling = input<RouterLink['queryParamsHandling']>();\n\n /** The aria-label for the previous page link. */\n public readonly ariaLabel = input<string>('Go to previous page', { alias: 'aria-label' });\n /** The text to display for the previous page link. */\n public readonly text = input<string>('Previous');\n /** Whether the button should only display the icon. */\n public readonly iconOnly = input<boolean, BooleanInput>(false, {\n transform: booleanAttribute,\n });\n protected readonly _labelClass = computed(() => hlm(this.iconOnly() ? 'sr-only' : 'hidden sm:block'));\n\n protected readonly _size = computed<ButtonVariants['size']>(() => (this.iconOnly() ? 'icon' : 'default'));\n\n protected readonly _computedClass = computed(() => hlm(!this.iconOnly() && 'ps-2!', this.userClass()));\n}\n","import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n computed,\n input,\n model,\n numberAttribute,\n untracked,\n} from '@angular/core';\nimport { HlmSelectImports } from '@egose/shadcn-theme-ng/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 selector: 'hlm-numbered-pagination',\n imports: [\n HlmPagination,\n HlmPaginationContent,\n HlmPaginationItem,\n HlmPaginationPrevious,\n HlmPaginationNext,\n HlmPaginationLink,\n HlmPaginationEllipsis,\n HlmSelectImports,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"flex items-center justify-between gap-2 px-4 py-2\">\n <div class=\"flex items-center gap-1 text-sm text-nowrap text-gray-600\">\n <b>{{ totalItems() }}</b>\n total items |\n <b>{{ _lastPageNumber() }}</b>\n pages\n </div>\n\n <nav hlmPagination>\n <ul hlmPaginationContent>\n @if (showEdges() && !_isFirstPageActive()) {\n <li hlmPaginationItem (click)=\"goToPrevious()\">\n <hlm-pagination-previous />\n </li>\n }\n\n @for (page of _pages(); track page) {\n <li hlmPaginationItem>\n @if (page === '...') {\n <hlm-pagination-ellipsis />\n } @else {\n <a hlmPaginationLink [isActive]=\"currentPage() === page\" (click)=\"currentPage.set(page)\">\n {{ page }}\n </a>\n }\n </li>\n }\n\n @if (showEdges() && !_isLastPageActive()) {\n <li hlmPaginationItem (click)=\"goToNext()\">\n <hlm-pagination-next />\n </li>\n }\n </ul>\n </nav>\n\n <!-- Show Page Size selector -->\n <hlm-select [(value)]=\"itemsPerPage\" class=\"ml-auto\">\n <hlm-select-trigger class=\"w-fit\">\n <hlm-select-value />\n </hlm-select-trigger>\n <hlm-select-content *hlmSelectPortal>\n <hlm-select-group>\n @for (pageSize of _pageSizesWithCurrent(); track pageSize) {\n <hlm-select-item [value]=\"pageSize\">{{ pageSize }}</hlm-select-item>\n }\n </hlm-select-group>\n </hlm-select-content>\n </hlm-select>\n </div>\n `,\n})\nexport class HlmNumberedPagination {\n /**\n * The current (active) page.\n */\n public readonly currentPage = model.required<number>();\n\n /**\n * The number of items per paginated page.\n */\n public readonly itemsPerPage = model.required<number>();\n\n /**\n * The total number of items in the collection. Only useful when\n * doing server-side paging, where the collection size is limited\n * to a single page returned by the server API.\n */\n public readonly totalItems = input.required<number, NumberInput>({\n transform: numberAttribute,\n });\n\n /**\n * The number of page links to show.\n */\n public readonly maxSize = input<number, NumberInput>(7, {\n transform: numberAttribute,\n });\n\n /**\n * Show the first and last page buttons.\n */\n public readonly showEdges = input<boolean, BooleanInput>(true, {\n transform: booleanAttribute,\n });\n\n /**\n * The page sizes to show.\n * Defaults to [10, 20, 50, 100]\n */\n public readonly pageSizes = input<number[]>([10, 20, 50, 100]);\n\n protected readonly _pageSizesWithCurrent = computed(() => {\n const pageSizes = this.pageSizes();\n return pageSizes.includes(this.itemsPerPage())\n ? pageSizes // if current page size is included, return the same array\n : [...pageSizes, this.itemsPerPage()].sort((a, b) => a - b); // otherwise, add current page size and sort the array\n });\n\n protected readonly _isFirstPageActive = computed(() => this.currentPage() === 1);\n protected readonly _isLastPageActive = computed(() => this.currentPage() === this._lastPageNumber());\n\n protected readonly _lastPageNumber = computed(() => {\n if (this.totalItems() < 1) {\n // when there are 0 or fewer (an error case) items, there are no \"pages\" as such,\n // but it makes sense to consider a single, empty page as the last page.\n return 1;\n }\n return Math.ceil(this.totalItems() / this.itemsPerPage());\n });\n\n protected readonly _pages = computed(() => {\n const correctedCurrentPage = outOfBoundCorrection(this.totalItems(), this.itemsPerPage(), this.currentPage());\n\n if (correctedCurrentPage !== this.currentPage()) {\n // update the current page\n untracked(() => this.currentPage.set(correctedCurrentPage));\n }\n\n return createPageArray(correctedCurrentPage, this.itemsPerPage(), this.totalItems(), this.maxSize());\n });\n\n protected goToPrevious(): void {\n this.currentPage.set(this.currentPage() - 1);\n }\n\n protected goToNext(): void {\n this.currentPage.set(this.currentPage() + 1);\n }\n\n protected goToFirst(): void {\n this.currentPage.set(1);\n }\n\n protected goToLast(): void {\n this.currentPage.set(this._lastPageNumber());\n }\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 const totalPages = Math.ceil(totalItems / itemsPerPage);\n if (totalPages < currentPage && 0 < totalPages) {\n return totalPages;\n }\n\n if (currentPage < 1) {\n return 1;\n }\n\n return 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 currentPage: number,\n itemsPerPage: number,\n totalItems: number,\n paginationRange: number,\n): Page[] {\n // paginationRange could be a string if passed from attribute, so cast to number.\n paginationRange = +paginationRange;\n const pages: Page[] = [];\n\n // Return 1 as default page number\n // Make sense to show 1 instead of empty when there are no items\n const totalPages = Math.max(Math.ceil(totalItems / itemsPerPage), 1);\n const halfWay = Math.ceil(paginationRange / 2);\n\n const isStart = currentPage <= halfWay;\n const isEnd = totalPages - halfWay < currentPage;\n const isMiddle = !isStart && !isEnd;\n\n const ellipsesNeeded = paginationRange < totalPages;\n let i = 1;\n\n while (i <= totalPages && i <= paginationRange) {\n let label: number | '...';\n const pageNumber = calculatePageNumber(i, currentPage, paginationRange, totalPages);\n const openingEllipsesNeeded = i === 2 && (isMiddle || isEnd);\n const closingEllipsesNeeded = i === paginationRange - 1 && (isMiddle || isStart);\n if (ellipsesNeeded && (openingEllipsesNeeded || closingEllipsesNeeded)) {\n label = '...';\n } else {\n label = pageNumber;\n }\n pages.push(label);\n i++;\n }\n\n return 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 const halfWay = Math.ceil(paginationRange / 2);\n if (i === paginationRange) {\n return totalPages;\n }\n\n if (i === 1) {\n return i;\n }\n\n if (paginationRange < totalPages) {\n if (totalPages - halfWay < currentPage) {\n return totalPages - paginationRange + i;\n }\n if (halfWay < currentPage) {\n return currentPage - halfWay + i;\n }\n return i;\n }\n\n return i;\n}\n","import type { BooleanInput, NumberInput } from '@angular/cdk/coercion';\nimport {\n booleanAttribute,\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n model,\n numberAttribute,\n untracked,\n} from '@angular/core';\nimport { HlmSelectImports } from '@egose/shadcn-theme-ng/select';\nimport { classes } from '@egose/shadcn-theme-ng/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 selector: 'hlm-numbered-pagination-query-params',\n imports: [\n HlmPagination,\n HlmPaginationContent,\n HlmPaginationItem,\n HlmPaginationPrevious,\n HlmPaginationNext,\n HlmPaginationLink,\n HlmPaginationEllipsis,\n HlmSelectImports,\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n <div class=\"flex items-center gap-1 text-sm text-nowrap text-gray-600\">\n <b>{{ totalItems() }}</b>\n total items |\n <b>{{ _lastPageNumber() }}</b>\n pages\n </div>\n\n <nav hlmPagination>\n <ul hlmPaginationContent>\n @if (showEdges() && !_isFirstPageActive()) {\n <li hlmPaginationItem>\n <hlm-pagination-previous\n [link]=\"link()\"\n [queryParams]=\"{ page: currentPage() - 1 }\"\n queryParamsHandling=\"merge\"\n />\n </li>\n }\n\n @for (page of _pages(); track page) {\n <li hlmPaginationItem>\n @if (page === '...') {\n <hlm-pagination-ellipsis />\n } @else {\n <a\n hlmPaginationLink\n [link]=\"currentPage() !== page ? link() : undefined\"\n [queryParams]=\"{ page }\"\n queryParamsHandling=\"merge\"\n [isActive]=\"currentPage() === page\"\n >\n {{ page }}\n </a>\n }\n </li>\n }\n\n @if (showEdges() && !_isLastPageActive()) {\n <li hlmPaginationItem>\n <hlm-pagination-next\n [link]=\"link()\"\n [queryParams]=\"{ page: currentPage() + 1 }\"\n queryParamsHandling=\"merge\"\n />\n </li>\n }\n </ul>\n </nav>\n\n <!-- Show Page Size selector -->\n <hlm-select [(value)]=\"itemsPerPage\" class=\"ml-auto\">\n <hlm-select-trigger class=\"w-fit\">\n <hlm-select-value />\n </hlm-select-trigger>\n <hlm-select-content *hlmSelectPortal>\n <hlm-select-group>\n @for (pageSize of _pageSizesWithCurrent(); track pageSize) {\n <hlm-select-item [value]=\"pageSize\">{{ pageSize }}</hlm-select-item>\n }\n </hlm-select-group>\n </hlm-select-content>\n </hlm-select>\n `,\n})\nexport class HlmNumberedPaginationQueryParams {\n /**\n * The current (active) page.\n */\n public readonly currentPage = model.required<number>();\n\n /**\n * The number of items per paginated page.\n */\n public readonly itemsPerPage = model.required<number>();\n\n /**\n * The total number of items in the collection. Only useful when\n * doing server-side paging, where the collection size is limited\n * to a single page returned by the server API.\n */\n public readonly totalItems = input.required<number, NumberInput>({\n transform: numberAttribute,\n });\n\n /**\n * The URL path to use for the pagination links.\n * Defaults to '.' (current path).\n */\n public readonly link = input<string>('.');\n\n /**\n * The number of page links to show.\n */\n public readonly maxSize = input<number, NumberInput>(7, {\n transform: numberAttribute,\n });\n\n /**\n * Show the first and last page buttons.\n */\n public readonly showEdges = input<boolean, BooleanInput>(true, {\n transform: booleanAttribute,\n });\n\n /**\n * The page sizes to show.\n * Defaults to [10, 20, 50, 100]\n */\n public readonly pageSizes = input<number[]>([10, 20, 50, 100]);\n\n protected readonly _pageSizesWithCurrent = computed(() => {\n const pageSizes = this.pageSizes();\n return pageSizes.includes(this.itemsPerPage())\n ? pageSizes // if current page size is included, return the same array\n : [...pageSizes, this.itemsPerPage()].sort((a, b) => a - b); // otherwise, add current page size and sort the array\n });\n\n protected readonly _isFirstPageActive = computed(() => this.currentPage() === 1);\n protected readonly _isLastPageActive = computed(() => this.currentPage() === this._lastPageNumber());\n\n protected readonly _lastPageNumber = computed(() => {\n if (this.totalItems() < 1) {\n // when there are 0 or fewer (an error case) items, there are no \"pages\" as such,\n // but it makes sense to consider a single, empty page as the last page.\n return 1;\n }\n return Math.ceil(this.totalItems() / this.itemsPerPage());\n });\n\n protected readonly _pages = computed(() => {\n const correctedCurrentPage = outOfBoundCorrection(this.totalItems(), this.itemsPerPage(), this.currentPage());\n\n if (correctedCurrentPage !== this.currentPage()) {\n // update the current page\n untracked(() => this.currentPage.set(correctedCurrentPage));\n }\n\n return createPageArray(correctedCurrentPage, this.itemsPerPage(), this.totalItems(), this.maxSize());\n });\n\n constructor() {\n classes(() => 'flex items-center justify-between gap-2 px-4 py-2');\n }\n}\n","/*\n * Public API Surface of pagination\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { 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 HlmPagination,\n HlmPaginationContent,\n HlmPaginationItem,\n HlmPaginationLink,\n HlmPaginationPrevious,\n HlmPaginationNext,\n HlmPaginationEllipsis,\n HlmNumberedPagination,\n HlmNumberedPaginationQueryParams,\n] as const;\n\n@NgModule({\n imports: [...HlmPaginationImports],\n exports: [...HlmPaginationImports],\n})\nexport class HlmPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;MAWa,aAAa,CAAA;;IAER,SAAS,GAAG,KAAK,CAAS,YAAY,iFAAI,KAAK,EAAE,YAAY,EAAA,CAAG;AAEhF,IAAA,WAAA,GAAA;AACE,QAAA,OAAO,CAAC,MAAM,oCAAoC,CAAC;IACrD;uGANW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gCAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,YAAA,EAAA,MAAA,EAAA,YAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gCAAgC;AAC1C,oBAAA,IAAI,EAAE;AACJ,wBAAA,WAAW,EAAE,YAAY;AACzB,wBAAA,IAAI,EAAE,YAAY;AAClB,wBAAA,mBAAmB,EAAE,aAAa;AACnC,qBAAA;AACF,iBAAA;;;MCHY,oBAAoB,CAAA;AAC/B,IAAA,WAAA,GAAA;AACE,QAAA,OAAO,CAAC,MAAM,yBAAyB,CAAC;IAC1C;uGAH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qBAAqB;YACrB,gCAAgC,CAAA,EAAA,CAAA;AAOrB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAX9B,qBAAqB;YACrB,iBAAiB;YACjB,qBAAqB;YACrB,qBAAqB;YACrB,gCAAgC,CAAA,EAAA,CAAA;;2FAOrB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;AAClC,oBAAA,OAAO,EAAE,CAAC,GAAG,oBAAoB,CAAC;AACnC,iBAAA;;;ACzCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pagination",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^22.0.0",
|
|
6
|
+
"@angular/core": "^22.0.0",
|
|
7
|
+
"@spartan-ng/brain": "^1.1.1"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"tslib": "^2.3.0"
|
|
11
|
+
},
|
|
12
|
+
"sideEffects": false,
|
|
13
|
+
"module": "fesm2022/pagination.mjs",
|
|
14
|
+
"typings": "types/pagination.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
"./package.json": {
|
|
17
|
+
"default": "./package.json"
|
|
18
|
+
},
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./types/pagination.d.ts",
|
|
21
|
+
"default": "./fesm2022/pagination.mjs"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"type": "module"
|
|
25
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { NumberInput, BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
+
import * as _angular_router from '@angular/router';
|
|
4
|
+
import { ClassValue } from 'clsx';
|
|
5
|
+
|
|
6
|
+
declare class HlmNumberedPagination {
|
|
7
|
+
/**
|
|
8
|
+
* The current (active) page.
|
|
9
|
+
*/
|
|
10
|
+
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
11
|
+
/**
|
|
12
|
+
* The number of items per paginated page.
|
|
13
|
+
*/
|
|
14
|
+
readonly itemsPerPage: _angular_core.ModelSignal<number>;
|
|
15
|
+
/**
|
|
16
|
+
* The total number of items in the collection. Only useful when
|
|
17
|
+
* doing server-side paging, where the collection size is limited
|
|
18
|
+
* to a single page returned by the server API.
|
|
19
|
+
*/
|
|
20
|
+
readonly totalItems: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
21
|
+
/**
|
|
22
|
+
* The number of page links to show.
|
|
23
|
+
*/
|
|
24
|
+
readonly maxSize: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
25
|
+
/**
|
|
26
|
+
* Show the first and last page buttons.
|
|
27
|
+
*/
|
|
28
|
+
readonly showEdges: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
29
|
+
/**
|
|
30
|
+
* The page sizes to show.
|
|
31
|
+
* Defaults to [10, 20, 50, 100]
|
|
32
|
+
*/
|
|
33
|
+
readonly pageSizes: _angular_core.InputSignal<number[]>;
|
|
34
|
+
protected readonly _pageSizesWithCurrent: _angular_core.Signal<number[]>;
|
|
35
|
+
protected readonly _isFirstPageActive: _angular_core.Signal<boolean>;
|
|
36
|
+
protected readonly _isLastPageActive: _angular_core.Signal<boolean>;
|
|
37
|
+
protected readonly _lastPageNumber: _angular_core.Signal<number>;
|
|
38
|
+
protected readonly _pages: _angular_core.Signal<Page[]>;
|
|
39
|
+
protected goToPrevious(): void;
|
|
40
|
+
protected goToNext(): void;
|
|
41
|
+
protected goToFirst(): void;
|
|
42
|
+
protected goToLast(): void;
|
|
43
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmNumberedPagination, never>;
|
|
44
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmNumberedPagination, "hlm-numbered-pagination", never, { "currentPage": { "alias": "currentPage"; "required": true; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": true; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": true; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "showEdges": { "alias": "showEdges"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; }, { "currentPage": "currentPageChange"; "itemsPerPage": "itemsPerPageChange"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
46
|
+
type Page = number | '...';
|
|
47
|
+
/**
|
|
48
|
+
* Checks that the instance.currentPage property is within bounds for the current page range.
|
|
49
|
+
* If not, return a correct value for currentPage, or the current value if OK.
|
|
50
|
+
*
|
|
51
|
+
* Copied from 'ngx-pagination' package
|
|
52
|
+
*/
|
|
53
|
+
declare function outOfBoundCorrection(totalItems: number, itemsPerPage: number, currentPage: number): number;
|
|
54
|
+
/**
|
|
55
|
+
* Returns an array of Page objects to use in the pagination controls.
|
|
56
|
+
*
|
|
57
|
+
* Copied from 'ngx-pagination' package
|
|
58
|
+
*/
|
|
59
|
+
declare function createPageArray(currentPage: number, itemsPerPage: number, totalItems: number, paginationRange: number): Page[];
|
|
60
|
+
|
|
61
|
+
declare class HlmNumberedPaginationQueryParams {
|
|
62
|
+
/**
|
|
63
|
+
* The current (active) page.
|
|
64
|
+
*/
|
|
65
|
+
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
66
|
+
/**
|
|
67
|
+
* The number of items per paginated page.
|
|
68
|
+
*/
|
|
69
|
+
readonly itemsPerPage: _angular_core.ModelSignal<number>;
|
|
70
|
+
/**
|
|
71
|
+
* The total number of items in the collection. Only useful when
|
|
72
|
+
* doing server-side paging, where the collection size is limited
|
|
73
|
+
* to a single page returned by the server API.
|
|
74
|
+
*/
|
|
75
|
+
readonly totalItems: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
76
|
+
/**
|
|
77
|
+
* The URL path to use for the pagination links.
|
|
78
|
+
* Defaults to '.' (current path).
|
|
79
|
+
*/
|
|
80
|
+
readonly link: _angular_core.InputSignal<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The number of page links to show.
|
|
83
|
+
*/
|
|
84
|
+
readonly maxSize: _angular_core.InputSignalWithTransform<number, NumberInput>;
|
|
85
|
+
/**
|
|
86
|
+
* Show the first and last page buttons.
|
|
87
|
+
*/
|
|
88
|
+
readonly showEdges: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
89
|
+
/**
|
|
90
|
+
* The page sizes to show.
|
|
91
|
+
* Defaults to [10, 20, 50, 100]
|
|
92
|
+
*/
|
|
93
|
+
readonly pageSizes: _angular_core.InputSignal<number[]>;
|
|
94
|
+
protected readonly _pageSizesWithCurrent: _angular_core.Signal<number[]>;
|
|
95
|
+
protected readonly _isFirstPageActive: _angular_core.Signal<boolean>;
|
|
96
|
+
protected readonly _isLastPageActive: _angular_core.Signal<boolean>;
|
|
97
|
+
protected readonly _lastPageNumber: _angular_core.Signal<number>;
|
|
98
|
+
protected readonly _pages: _angular_core.Signal<(number | "...")[]>;
|
|
99
|
+
constructor();
|
|
100
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmNumberedPaginationQueryParams, never>;
|
|
101
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmNumberedPaginationQueryParams, "hlm-numbered-pagination-query-params", never, { "currentPage": { "alias": "currentPage"; "required": true; "isSignal": true; }; "itemsPerPage": { "alias": "itemsPerPage"; "required": true; "isSignal": true; }; "totalItems": { "alias": "totalItems"; "required": true; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "maxSize": { "alias": "maxSize"; "required": false; "isSignal": true; }; "showEdges": { "alias": "showEdges"; "required": false; "isSignal": true; }; "pageSizes": { "alias": "pageSizes"; "required": false; "isSignal": true; }; }, { "currentPage": "currentPageChange"; "itemsPerPage": "itemsPerPageChange"; }, never, never, true, never>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare class HlmPagination {
|
|
105
|
+
/** The aria-label for the pagination component. */
|
|
106
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
107
|
+
constructor();
|
|
108
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPagination, never>;
|
|
109
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmPagination, "[hlmPagination],hlm-pagination", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare class HlmPaginationContent {
|
|
113
|
+
constructor();
|
|
114
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationContent, never>;
|
|
115
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmPaginationContent, "ul[hlmPaginationContent]", never, {}, {}, never, never, true, never>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class HlmPaginationEllipsis {
|
|
119
|
+
/** Screen reader only text for the ellipsis */
|
|
120
|
+
readonly srOnlyText: _angular_core.InputSignal<string>;
|
|
121
|
+
constructor();
|
|
122
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationEllipsis, never>;
|
|
123
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmPaginationEllipsis, "hlm-pagination-ellipsis", never, { "srOnlyText": { "alias": "srOnlyText"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
declare class HlmPaginationItem {
|
|
127
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationItem, never>;
|
|
128
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmPaginationItem, "li[hlmPaginationItem]", never, {}, {}, never, never, true, never>;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class HlmPaginationLink {
|
|
132
|
+
/** Whether the link is active (i.e., the current page). */
|
|
133
|
+
readonly isActive: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
134
|
+
/** The size of the button. */
|
|
135
|
+
readonly size: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "compact-xs" | "compact-sm" | "compact-default" | "compact-lg" | "compact-icon" | null | undefined>;
|
|
136
|
+
/** The link to navigate to the page. */
|
|
137
|
+
readonly link: _angular_core.InputSignal<string | readonly any[] | _angular_router.UrlTree | null | undefined>;
|
|
138
|
+
constructor();
|
|
139
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationLink, never>;
|
|
140
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmPaginationLink, "[hlmPaginationLink]", never, { "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof _angular_router.RouterLink; inputs: { "target": "target"; "queryParams": "queryParams"; "fragment": "fragment"; "queryParamsHandling": "queryParamsHandling"; "state": "state"; "info": "info"; "relativeTo": "relativeTo"; "preserveFragment": "preserveFragment"; "skipLocationChange": "skipLocationChange"; "replaceUrl": "replaceUrl"; "routerLink": "link"; }; outputs: {}; }]>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare class HlmPaginationNext {
|
|
144
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
145
|
+
/** The link to navigate to the next page. */
|
|
146
|
+
readonly link: _angular_core.InputSignal<string | readonly any[] | _angular_router.UrlTree | null | undefined>;
|
|
147
|
+
/** The query parameters to pass to the next page. */
|
|
148
|
+
readonly queryParams: _angular_core.InputSignal<_angular_router.Params | null | undefined>;
|
|
149
|
+
/** How to handle query parameters when navigating to the next page. */
|
|
150
|
+
readonly queryParamsHandling: _angular_core.InputSignal<_angular_router.QueryParamsHandling | null | undefined>;
|
|
151
|
+
/** The aria-label for the next page link. */
|
|
152
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
153
|
+
/** The text to display for the next page link. */
|
|
154
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
155
|
+
/** Whether the button should only display the icon. */
|
|
156
|
+
readonly iconOnly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
157
|
+
protected readonly _labelClass: _angular_core.Signal<"sr-only" | "hidden sm:block">;
|
|
158
|
+
protected readonly _size: _angular_core.Signal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "compact-xs" | "compact-sm" | "compact-default" | "compact-lg" | "compact-icon" | null | undefined>;
|
|
159
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
160
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationNext, never>;
|
|
161
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmPaginationNext, "hlm-pagination-next", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
declare class HlmPaginationPrevious {
|
|
165
|
+
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
166
|
+
/** The link to navigate to the previous page. */
|
|
167
|
+
readonly link: _angular_core.InputSignal<string | readonly any[] | _angular_router.UrlTree | null | undefined>;
|
|
168
|
+
/** The query parameters to pass to the previous page. */
|
|
169
|
+
readonly queryParams: _angular_core.InputSignal<_angular_router.Params | null | undefined>;
|
|
170
|
+
/** How to handle query parameters when navigating to the previous page. */
|
|
171
|
+
readonly queryParamsHandling: _angular_core.InputSignal<_angular_router.QueryParamsHandling | null | undefined>;
|
|
172
|
+
/** The aria-label for the previous page link. */
|
|
173
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
174
|
+
/** The text to display for the previous page link. */
|
|
175
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
176
|
+
/** Whether the button should only display the icon. */
|
|
177
|
+
readonly iconOnly: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
178
|
+
protected readonly _labelClass: _angular_core.Signal<string>;
|
|
179
|
+
protected readonly _size: _angular_core.Signal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "compact-xs" | "compact-sm" | "compact-default" | "compact-lg" | "compact-icon" | null | undefined>;
|
|
180
|
+
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
181
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationPrevious, never>;
|
|
182
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmPaginationPrevious, "hlm-pagination-previous", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "link": { "alias": "link"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
declare const HlmPaginationImports: readonly [typeof HlmPagination, typeof HlmPaginationContent, typeof HlmPaginationItem, typeof HlmPaginationLink, typeof HlmPaginationPrevious, typeof HlmPaginationNext, typeof HlmPaginationEllipsis, typeof HlmNumberedPagination, typeof HlmNumberedPaginationQueryParams];
|
|
186
|
+
declare class HlmPaginationModule {
|
|
187
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmPaginationModule, never>;
|
|
188
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<HlmPaginationModule, never, [typeof HlmPagination, typeof HlmPaginationContent, typeof HlmPaginationItem, typeof HlmPaginationLink, typeof HlmPaginationPrevious, typeof HlmPaginationNext, typeof HlmPaginationEllipsis, typeof HlmNumberedPagination, typeof HlmNumberedPaginationQueryParams], [typeof HlmPagination, typeof HlmPaginationContent, typeof HlmPaginationItem, typeof HlmPaginationLink, typeof HlmPaginationPrevious, typeof HlmPaginationNext, typeof HlmPaginationEllipsis, typeof HlmNumberedPagination, typeof HlmNumberedPaginationQueryParams]>;
|
|
189
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<HlmPaginationModule>;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
export { HlmNumberedPagination, HlmNumberedPaginationQueryParams, HlmPagination, HlmPaginationContent, HlmPaginationEllipsis, HlmPaginationImports, HlmPaginationItem, HlmPaginationLink, HlmPaginationModule, HlmPaginationNext, HlmPaginationPrevious, createPageArray, outOfBoundCorrection };
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
2
|
+
import { Directive, signal, inject, Renderer2, ElementRef, effect, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@spartan-ng/brain/popover';
|
|
4
|
+
import { BrnPopover, BrnPopoverContent, BrnPopoverTrigger } from '@spartan-ng/brain/popover';
|
|
4
5
|
import { injectExposesStateProvider } from '@spartan-ng/brain/core';
|
|
6
|
+
import { classes } from '@egose/shadcn-theme-ng/utils';
|
|
5
7
|
|
|
6
|
-
class
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: HlmPopoverClose, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.1", type: HlmPopoverClose, isStandalone: true, selector: "[hlmPopoverClose],[brnPopoverClose][hlm]", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_computedClass()" } }, ngImport: i0 });
|
|
8
|
+
class HlmPopover {
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopover, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
10
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", 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: "
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopover, decorators: [{
|
|
13
13
|
type: Directive,
|
|
14
14
|
args: [{
|
|
15
|
-
selector: '[
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
selector: '[hlmPopover],hlm-popover',
|
|
16
|
+
hostDirectives: [
|
|
17
|
+
{
|
|
18
|
+
directive: BrnPopover,
|
|
19
|
+
inputs: ['align', 'attachTo', 'autoFocus', 'closeOnOutsidePointerEvents', 'offsetX', 'sideOffset', 'state'],
|
|
20
|
+
outputs: ['stateChanged', 'closed'],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
host: { 'data-slot': 'popover' },
|
|
19
24
|
}]
|
|
20
25
|
}] });
|
|
21
26
|
|
|
@@ -28,32 +33,121 @@ class HlmPopoverContent {
|
|
|
28
33
|
effect(() => {
|
|
29
34
|
this._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());
|
|
30
35
|
});
|
|
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-4 rounded-md p-4 text-sm shadow-md ring-1 duration-100 relative flex w-72 flex-col outline-none');
|
|
31
37
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.1", ngImport: i0, type: HlmPopoverContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.1", type: HlmPopoverContent, isStandalone: true, selector: "[hlmPopoverContent],[brnPopoverContent][hlm]", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_computedClass()" } }, ngImport: i0 });
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmPopoverContent, isStandalone: true, selector: "[hlmPopoverContent],hlm-popover-content", host: { attributes: { "data-slot": "popover-content" } }, ngImport: i0 });
|
|
36
40
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverContent, decorators: [{
|
|
38
42
|
type: Directive,
|
|
39
43
|
args: [{
|
|
40
|
-
selector: '[hlmPopoverContent],
|
|
41
|
-
host: {
|
|
42
|
-
'[class]': '_computedClass()',
|
|
43
|
-
},
|
|
44
|
+
selector: '[hlmPopoverContent],hlm-popover-content',
|
|
45
|
+
host: { 'data-slot': 'popover-content' },
|
|
44
46
|
}]
|
|
45
47
|
}], ctorParameters: () => [] });
|
|
46
48
|
|
|
49
|
+
class HlmPopoverDescription {
|
|
50
|
+
constructor() {
|
|
51
|
+
classes(() => 'text-muted-foreground');
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverDescription, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmPopoverDescription, isStandalone: true, selector: "[hlmPopoverDescription]", host: { attributes: { "data-slot": "popover-description" } }, ngImport: i0 });
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverDescription, decorators: [{
|
|
57
|
+
type: Directive,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: '[hlmPopoverDescription]',
|
|
60
|
+
host: { 'data-slot': 'popover-description' },
|
|
61
|
+
}]
|
|
62
|
+
}], ctorParameters: () => [] });
|
|
63
|
+
|
|
64
|
+
class HlmPopoverHeader {
|
|
65
|
+
constructor() {
|
|
66
|
+
classes(() => 'flex flex-col gap-1 text-sm');
|
|
67
|
+
}
|
|
68
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverHeader, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
69
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmPopoverHeader, isStandalone: true, selector: "[hlmPopoverHeader],hlm-popover-header", host: { attributes: { "data-slot": "popover-header" } }, ngImport: i0 });
|
|
70
|
+
}
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverHeader, decorators: [{
|
|
72
|
+
type: Directive,
|
|
73
|
+
args: [{
|
|
74
|
+
selector: '[hlmPopoverHeader],hlm-popover-header',
|
|
75
|
+
host: { 'data-slot': 'popover-header' },
|
|
76
|
+
}]
|
|
77
|
+
}], ctorParameters: () => [] });
|
|
78
|
+
|
|
79
|
+
class HlmPopoverPortal {
|
|
80
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
81
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmPopoverPortal, isStandalone: true, selector: "[hlmPopoverPortal]", hostDirectives: [{ directive: i1.BrnPopoverContent, inputs: ["context", "context", "class", "class"] }], ngImport: i0 });
|
|
82
|
+
}
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverPortal, decorators: [{
|
|
84
|
+
type: Directive,
|
|
85
|
+
args: [{
|
|
86
|
+
selector: '[hlmPopoverPortal]',
|
|
87
|
+
hostDirectives: [{ directive: BrnPopoverContent, inputs: ['context', 'class'] }],
|
|
88
|
+
}]
|
|
89
|
+
}] });
|
|
90
|
+
|
|
91
|
+
class HlmPopoverTitle {
|
|
92
|
+
constructor() {
|
|
93
|
+
classes(() => 'font-medium');
|
|
94
|
+
}
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
96
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", type: HlmPopoverTitle, isStandalone: true, selector: "[hlmPopoverTitle]", host: { attributes: { "data-slot": "popover-title" } }, ngImport: i0 });
|
|
97
|
+
}
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverTitle, decorators: [{
|
|
99
|
+
type: Directive,
|
|
100
|
+
args: [{
|
|
101
|
+
selector: '[hlmPopoverTitle]',
|
|
102
|
+
host: { 'data-slot': 'popover-title' },
|
|
103
|
+
}]
|
|
104
|
+
}], ctorParameters: () => [] });
|
|
105
|
+
|
|
106
|
+
class HlmPopoverTrigger {
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
108
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.7", 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
|
+
}
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverTrigger, decorators: [{
|
|
111
|
+
type: Directive,
|
|
112
|
+
args: [{
|
|
113
|
+
selector: 'button[hlmPopoverTrigger],button[hlmPopoverTriggerFor]',
|
|
114
|
+
hostDirectives: [
|
|
115
|
+
{ directive: BrnPopoverTrigger, inputs: ['id', 'brnPopoverTriggerFor: hlmPopoverTriggerFor', 'type'] },
|
|
116
|
+
],
|
|
117
|
+
host: { 'data-slot': 'popover-trigger' },
|
|
118
|
+
}]
|
|
119
|
+
}] });
|
|
120
|
+
|
|
47
121
|
/*
|
|
48
122
|
* Public API Surface of popover
|
|
49
123
|
*/
|
|
50
|
-
const HlmPopoverImports = [
|
|
124
|
+
const HlmPopoverImports = [
|
|
125
|
+
HlmPopover,
|
|
126
|
+
HlmPopoverContent,
|
|
127
|
+
HlmPopoverDescription,
|
|
128
|
+
HlmPopoverHeader,
|
|
129
|
+
HlmPopoverPortal,
|
|
130
|
+
HlmPopoverTitle,
|
|
131
|
+
HlmPopoverTrigger,
|
|
132
|
+
];
|
|
51
133
|
class HlmPopoverModule {
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
53
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
54
|
-
|
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
135
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverModule, imports: [HlmPopover,
|
|
136
|
+
HlmPopoverContent,
|
|
137
|
+
HlmPopoverDescription,
|
|
138
|
+
HlmPopoverHeader,
|
|
139
|
+
HlmPopoverPortal,
|
|
140
|
+
HlmPopoverTitle,
|
|
141
|
+
HlmPopoverTrigger], exports: [HlmPopover,
|
|
142
|
+
HlmPopoverContent,
|
|
143
|
+
HlmPopoverDescription,
|
|
144
|
+
HlmPopoverHeader,
|
|
145
|
+
HlmPopoverPortal,
|
|
146
|
+
HlmPopoverTitle,
|
|
147
|
+
HlmPopoverTrigger] });
|
|
148
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverModule });
|
|
55
149
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImport: i0, type: HlmPopoverModule, decorators: [{
|
|
57
151
|
type: NgModule,
|
|
58
152
|
args: [{
|
|
59
153
|
imports: [...HlmPopoverImports],
|
|
@@ -65,5 +159,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.1", ngImpor
|
|
|
65
159
|
* Generated bundle index. Do not edit.
|
|
66
160
|
*/
|
|
67
161
|
|
|
68
|
-
export {
|
|
162
|
+
export { HlmPopover, HlmPopoverContent, HlmPopoverDescription, HlmPopoverHeader, HlmPopoverImports, HlmPopoverModule, HlmPopoverPortal, HlmPopoverTitle, HlmPopoverTrigger };
|
|
69
163
|
//# sourceMappingURL=popover.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.mjs","sources":["../../../projects/popover/src/lib/popover-close.ts","../../../projects/popover/src/lib/popover-content.ts","../../../projects/popover/src/public-api.ts","../../../projects/popover/src/popover.ts"],"sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport type { ClassValue } from 'clsx';\n\n@Directive({\n selector: '[hlmPopoverClose],[brnPopoverClose][hlm]',\n host: {\n '[class]': '_computedClass()',\n },\n})\nexport class HlmPopoverClose {\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n protected readonly _computedClass = computed(() =>\n hlm(\n 'tw:ring-offset-background tw:focus:ring-ring tw:data-[state=open]:bg-accent tw:data-[state=open]:text-muted-foreground tw:absolute tw:right-4 tw:top-4 tw:rounded-sm tw:opacity-70 tw:transition-opacity tw:hover:opacity-100 tw:focus:outline-none tw:focus:ring-2 tw:focus:ring-offset-2 tw:disabled:pointer-events-none',\n this.userClass(),\n ),\n );\n}\n","import { Directive, ElementRef, Renderer2, computed, effect, inject, input, signal } from '@angular/core';\nimport { injectExposesStateProvider } from '@spartan-ng/brain/core';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport type { ClassValue } from 'clsx';\n\n@Directive({\n selector: '[hlmPopoverContent],[brnPopoverContent][hlm]',\n host: {\n '[class]': '_computedClass()',\n },\n})\nexport class HlmPopoverContent {\n private readonly _stateProvider = injectExposesStateProvider({ host: true });\n public state = this._stateProvider.state ?? signal('closed');\n private readonly _renderer = inject(Renderer2);\n private readonly _element = inject(ElementRef);\n\n constructor() {\n effect(() => {\n this._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());\n });\n }\n\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n protected readonly _computedClass = computed(() =>\n hlm(\n 'tw:border-border tw:bg-popover tw:text-popover-foreground tw:data-[state=open]:animate-in tw:data-[state=closed]:animate-out tw:data-[state=closed]:fade-out-0 tw:data-[state=open]:fade-in-0 tw:data-[state=closed]:zoom-out-95 tw:data-[state=open]:zoom-in-95 tw:data-[side=bottom]:slide-in-from-top-2 tw:data-[side=left]:slide-in-from-right-2 tw:data-[side=right]:slide-in-from-left-2 tw:data-[side=top]:slide-in-from-bottom-2 tw:relative tw:w-72 tw:rounded-md tw:border tw:p-4 tw:shadow-md tw:outline-none',\n this.userClass(),\n ),\n );\n}\n","/*\n * Public API Surface of popover\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { HlmPopoverClose } from './lib/popover-close';\nimport { HlmPopoverContent } from './lib/popover-content';\n\nexport * from './lib/popover-close';\nexport * from './lib/popover-content';\n\nexport const HlmPopoverImports = [HlmPopoverContent, HlmPopoverClose] as const;\n\n@NgModule({\n imports: [...HlmPopoverImports],\n exports: [...HlmPopoverImports],\n})\nexport class HlmPopoverModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,eAAe,CAAA;AACV,IAAA,SAAS,GAAG,KAAK,CAAa,EAAE,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A,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANK,iBAAiB,EAAE,eAAe,CAAA,EAAA,OAAA,EAAA,CAAlC,iBAAiB,EAAE,eAAe,CAAA,EAAA,CAAA;wGAMvD,gBAAgB,EAAA,CAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AAC/B,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AAChC,iBAAA;;;ACjBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"popover.mjs","sources":["../../../projects/popover/src/lib/hlm-popover.ts","../../../projects/popover/src/lib/hlm-popover-content.ts","../../../projects/popover/src/lib/hlm-popover-description.ts","../../../projects/popover/src/lib/hlm-popover-header.ts","../../../projects/popover/src/lib/hlm-popover-portal.ts","../../../projects/popover/src/lib/hlm-popover-title.ts","../../../projects/popover/src/lib/hlm-popover-trigger.ts","../../../projects/popover/src/public-api.ts","../../../projects/popover/src/popover.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { BrnPopover } from '@spartan-ng/brain/popover';\n\n@Directive({\n selector: '[hlmPopover],hlm-popover',\n hostDirectives: [\n {\n directive: BrnPopover,\n inputs: ['align', 'attachTo', 'autoFocus', 'closeOnOutsidePointerEvents', 'offsetX', 'sideOffset', 'state'],\n outputs: ['stateChanged', 'closed'],\n },\n ],\n host: { '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 '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmPopoverContent],hlm-popover-content',\n host: { 'data-slot': 'popover-content' },\n})\nexport class HlmPopoverContent {\n private readonly _stateProvider = injectExposesStateProvider({ host: true });\n public state = this._stateProvider.state ?? signal('closed');\n private readonly _renderer = inject(Renderer2);\n private readonly _element = inject(ElementRef);\n\n constructor() {\n effect(() => {\n this._renderer.setAttribute(this._element.nativeElement, 'data-state', this.state());\n });\n\n classes(\n () =>\n '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-4 rounded-md p-4 text-sm shadow-md ring-1 duration-100 relative flex w-72 flex-col outline-none',\n );\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmPopoverDescription]',\n host: { 'data-slot': 'popover-description' },\n})\nexport class HlmPopoverDescription {\n constructor() {\n classes(() => 'text-muted-foreground');\n }\n}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmPopoverHeader],hlm-popover-header',\n host: { 'data-slot': 'popover-header' },\n})\nexport class HlmPopoverHeader {\n constructor() {\n classes(() => 'flex flex-col gap-1 text-sm');\n }\n}\n","import { Directive } from '@angular/core';\nimport { BrnPopoverContent } from '@spartan-ng/brain/popover';\n\n@Directive({\n selector: '[hlmPopoverPortal]',\n hostDirectives: [{ directive: BrnPopoverContent, inputs: ['context', 'class'] }],\n})\nexport class HlmPopoverPortal {}\n","import { Directive } from '@angular/core';\nimport { classes } from '@egose/shadcn-theme-ng/utils';\n\n@Directive({\n selector: '[hlmPopoverTitle]',\n host: { 'data-slot': 'popover-title' },\n})\nexport class HlmPopoverTitle {\n constructor() {\n classes(() => 'font-medium');\n }\n}\n","import { Directive } from '@angular/core';\nimport { BrnPopoverTrigger } from '@spartan-ng/brain/popover';\n\n@Directive({\n selector: 'button[hlmPopoverTrigger],button[hlmPopoverTriggerFor]',\n hostDirectives: [\n { directive: BrnPopoverTrigger, inputs: ['id', 'brnPopoverTriggerFor: hlmPopoverTriggerFor', 'type'] },\n ],\n host: { 'data-slot': 'popover-trigger' },\n})\nexport class HlmPopoverTrigger {}\n","/*\n * Public API Surface of popover\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { 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 HlmPopover,\n HlmPopoverContent,\n HlmPopoverDescription,\n HlmPopoverHeader,\n HlmPopoverPortal,\n HlmPopoverTitle,\n HlmPopoverTrigger,\n] as const;\n\n@NgModule({\n imports: [...HlmPopoverImports],\n exports: [...HlmPopoverImports],\n})\nexport class HlmPopoverModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAca,UAAU,CAAA;uGAAV,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0BAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,SAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,UAAA,EAAA,MAAA,EAA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qB;IACrB,gBAAgB;IAChB,gBAAgB;IAChB,eAAe;IACf,iBAAiB;;MAON,gBAAgB,CAAA;uGAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAb3B,UAAU;YACV,iBAAiB;YACjB,qBAAqB;YACrB,gBAAgB;YAChB,gBAAgB;YAChB,eAAe;AACf,YAAA,iBAAiB,aANjB,UAAU;YACV,iBAAiB;YACjB,qBAAqB;YACrB,gBAAgB;YAChB,gBAAgB;YAChB,eAAe;YACf,iBAAiB,CAAA,EAAA,CAAA;wGAON,gBAAgB,EAAA,CAAA;;2FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AAC/B,oBAAA,OAAO,EAAE,CAAC,GAAG,iBAAiB,CAAC;AAChC,iBAAA;;;ACnCD;;AAEG;;;;"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "popover",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^20.3.0 || ^22.0.0",
|
|
6
|
+
"@angular/core": "^20.3.0 || ^22.0.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/popover.mjs",
|
|
13
|
+
"typings": "types/popover.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./types/popover.d.ts",
|
|
20
|
+
"default": "./fesm2022/popover.mjs"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"type": "module"
|
|
24
|
+
}
|