@egose/shadcn-theme-ng 0.0.28 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +130 -13
- package/accordion/README.md +376 -34
- package/accordion/fesm2022/accordion.mjs +27 -39
- package/alert/README.md +343 -34
- package/alert/fesm2022/alert.mjs +47 -47
- package/alert-dialog/README.md +471 -5
- package/alert-dialog/fesm2022/alert-dialog.mjs +47 -47
- package/aspect-ratio/README.md +272 -5
- package/aspect-ratio/fesm2022/aspect-ratio.mjs +9 -9
- package/autocomplete/README.md +473 -34
- package/autocomplete/fesm2022/autocomplete.mjs +53 -71
- package/avatar/README.md +357 -5
- package/avatar/fesm2022/avatar.mjs +32 -32
- package/badge/README.md +289 -34
- package/badge/fesm2022/badge.mjs +57 -57
- package/basic-alert/README.md +324 -34
- package/basic-alert/fesm2022/basic-alert.mjs +6 -18
- package/breadcrumb/README.md +406 -5
- package/breadcrumb/fesm2022/breadcrumb.mjs +33 -39
- package/button/README.md +453 -34
- package/button/fesm2022/button.mjs +147 -219
- package/button/types/button.d.ts +7 -10
- package/button-group/README.md +318 -5
- package/button-group/fesm2022/button-group.mjs +20 -20
- package/calendar/README.md +328 -34
- package/calendar/fesm2022/calendar.mjs +29 -743
- package/card/README.md +331 -5
- package/card/fesm2022/card.mjs +33 -33
- package/carousel/README.md +333 -5
- package/carousel/fesm2022/carousel.mjs +39 -78
- package/checkbox/README.md +291 -34
- package/checkbox/fesm2022/checkbox.mjs +20 -58
- package/checkbox/types/checkbox.d.ts +5 -4
- package/collapsible/README.md +332 -5
- package/collapsible/fesm2022/collapsible.mjs +15 -15
- package/combobox/README.md +507 -5
- package/combobox/fesm2022/combobox.mjs +91 -224
- package/command/README.md +435 -5
- package/command/fesm2022/command.mjs +49 -109
- package/confirmation-dialog/README.md +272 -34
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs +15 -40
- package/confirmation-dialog/types/confirmation-dialog.d.ts +8 -4
- package/context-menu/README.md +366 -5
- package/context-menu/fesm2022/context-menu.mjs +9 -9
- package/date-picker/README.md +436 -34
- package/date-picker/fesm2022/date-picker.mjs +64 -267
- package/date-picker/types/date-picker.d.ts +7 -3
- package/dialog/README.md +419 -34
- package/dialog/fesm2022/dialog.mjs +45 -71
- package/drawer/README.md +395 -5
- package/drawer/fesm2022/drawer.mjs +44 -54
- package/dropdown-menu/README.md +417 -5
- package/dropdown-menu/fesm2022/dropdown-menu.mjs +82 -70
- package/dropdown-menu/types/dropdown-menu.d.ts +4 -0
- package/empty/README.md +329 -5
- package/empty/fesm2022/empty.mjs +30 -30
- package/field/README.md +385 -5
- package/field/fesm2022/field.mjs +56 -72
- package/form-checkbox/README.md +283 -34
- package/form-checkbox/fesm2022/form-checkbox.mjs +25 -85
- package/form-checkbox/types/form-checkbox.d.ts +7 -1
- package/form-date-picker/README.md +293 -34
- package/form-date-picker/fesm2022/form-date-picker.mjs +31 -84
- package/form-date-picker/types/form-date-picker.d.ts +7 -1
- package/form-field/README.md +327 -34
- package/form-field/fesm2022/form-field.mjs +33 -19
- package/form-field/types/form-field.d.ts +28 -20
- package/form-field-simple/README.md +311 -34
- package/form-field-simple/fesm2022/form-field-simple.mjs +4 -4
- package/form-searchable-multiselect/README.md +332 -34
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +31 -91
- package/form-searchable-multiselect/types/form-searchable-multiselect.d.ts +7 -1
- package/form-select/README.md +321 -34
- package/form-select/fesm2022/form-select.mjs +32 -149
- package/form-select/types/form-select.d.ts +7 -1
- package/form-text-input/README.md +342 -34
- package/form-text-input/fesm2022/form-text-input.mjs +35 -149
- package/form-text-input/types/form-text-input.d.ts +9 -12
- package/form-textarea/README.md +318 -34
- package/form-textarea/fesm2022/form-textarea.mjs +34 -109
- package/form-textarea/types/form-textarea.d.ts +8 -1
- package/hover-card/README.md +256 -5
- package/hover-card/fesm2022/hover-card.mjs +19 -19
- package/icon/README.md +210 -34
- package/icon/fesm2022/icon.mjs +8 -8
- package/input/README.md +240 -34
- package/input/fesm2022/input.mjs +17 -12
- package/input/types/input.d.ts +2 -1
- package/input-group/README.md +335 -5
- package/input-group/fesm2022/input-group.mjs +34 -34
- package/input-otp/README.md +375 -5
- package/input-otp/fesm2022/input-otp.mjs +26 -26
- package/item/README.md +385 -5
- package/item/fesm2022/item.mjs +53 -53
- package/kbd/README.md +291 -5
- package/kbd/fesm2022/kbd.mjs +12 -12
- package/label/README.md +243 -34
- package/label/fesm2022/label.mjs +10 -10
- package/label/types/label.d.ts +1 -1
- package/layout-simple/README.md +174 -44
- package/layout-simple/fesm2022/layout-simple.mjs +508 -603
- package/layout-simple/types/layout-simple.d.ts +179 -128
- package/menu/README.md +418 -0
- package/menu/fesm2022/menu.mjs +455 -0
- package/menu/package.json +24 -0
- package/menu/types/menu.d.ts +137 -0
- package/menubar/README.md +343 -5
- package/menubar/fesm2022/menubar.mjs +13 -13
- package/native-select/README.md +323 -5
- package/native-select/fesm2022/native-select.mjs +19 -19
- package/navigation-menu/README.md +369 -5
- package/navigation-menu/fesm2022/navigation-menu.mjs +35 -47
- package/package.json +183 -154
- package/pagination/README.md +388 -5
- package/pagination/fesm2022/pagination.mjs +45 -331
- package/popover/README.md +302 -34
- package/popover/fesm2022/popover.mjs +30 -30
- package/progress/README.md +311 -5
- package/progress/fesm2022/progress.mjs +13 -13
- package/radio-group/README.md +335 -34
- package/radio-group/fesm2022/radio-group.mjs +26 -19
- package/radio-group/types/radio-group.d.ts +1 -1
- package/resizable/README.md +269 -5
- package/resizable/fesm2022/resizable.mjs +18 -26
- package/scroll-area/README.md +233 -5
- package/scroll-area/fesm2022/scroll-area.mjs +9 -9
- package/searchable-multiselect/README.md +294 -34
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs +28 -117
- package/searchable-multiselect/types/searchable-multiselect.d.ts +8 -2
- package/select/README.md +408 -34
- package/select/fesm2022/select.mjs +71 -111
- package/select/types/select.d.ts +3 -1
- package/separator/README.md +193 -34
- package/separator/fesm2022/separator.mjs +9 -9
- package/separator/types/separator.d.ts +1 -1
- package/sheet/README.md +282 -34
- package/sheet/fesm2022/sheet.mjs +41 -53
- package/sidebar/README.md +457 -5
- package/sidebar/fesm2022/sidebar.mjs +125 -227
- package/skeleton/README.md +217 -5
- package/skeleton/fesm2022/skeleton.mjs +9 -9
- package/slider/README.md +273 -5
- package/slider/fesm2022/slider.mjs +10 -80
- package/sonner/README.md +317 -34
- package/sonner/fesm2022/sonner.mjs +13 -13
- package/spinner/README.md +255 -34
- package/spinner/fesm2022/spinner.mjs +11 -11
- package/switch/README.md +281 -34
- package/switch/fesm2022/switch.mjs +13 -15
- package/table/README.md +423 -5
- package/table/fesm2022/table.mjs +41 -41
- package/tabs/README.md +382 -34
- package/tabs/fesm2022/tabs.mjs +35 -111
- package/textarea/README.md +282 -5
- package/textarea/fesm2022/textarea.mjs +9 -9
- package/toggle/README.md +270 -5
- package/toggle/fesm2022/toggle.mjs +13 -13
- package/toggle-group/README.md +340 -5
- package/toggle-group/fesm2022/toggle-group.mjs +13 -13
- package/toggle-group/types/toggle-group.d.ts +13 -7
- package/tooltip/README.md +240 -34
- package/tooltip/fesm2022/tooltip.mjs +14 -14
- package/typography/README.md +271 -5
- package/typography/fesm2022/typography.mjs +53 -53
- package/typography/types/typography.d.ts +19 -19
- package/utils/README.md +274 -34
- package/utils/fesm2022/utils.mjs +68 -44
- package/accordion/fesm2022/accordion.mjs.map +0 -1
- package/alert/fesm2022/alert.mjs.map +0 -1
- package/alert-dialog/fesm2022/alert-dialog.mjs.map +0 -1
- package/aspect-ratio/fesm2022/aspect-ratio.mjs.map +0 -1
- package/autocomplete/fesm2022/autocomplete.mjs.map +0 -1
- package/avatar/fesm2022/avatar.mjs.map +0 -1
- package/badge/fesm2022/badge.mjs.map +0 -1
- package/basic-alert/fesm2022/basic-alert.mjs.map +0 -1
- package/breadcrumb/fesm2022/breadcrumb.mjs.map +0 -1
- package/button/fesm2022/button.mjs.map +0 -1
- package/button-group/fesm2022/button-group.mjs.map +0 -1
- package/calendar/fesm2022/calendar.mjs.map +0 -1
- package/card/fesm2022/card.mjs.map +0 -1
- package/carousel/fesm2022/carousel.mjs.map +0 -1
- package/checkbox/fesm2022/checkbox.mjs.map +0 -1
- package/collapsible/fesm2022/collapsible.mjs.map +0 -1
- package/combobox/fesm2022/combobox.mjs.map +0 -1
- package/command/fesm2022/command.mjs.map +0 -1
- package/confirmation-dialog/fesm2022/confirmation-dialog.mjs.map +0 -1
- package/context-menu/fesm2022/context-menu.mjs.map +0 -1
- package/date-picker/fesm2022/date-picker.mjs.map +0 -1
- package/dialog/fesm2022/dialog.mjs.map +0 -1
- package/drawer/fesm2022/drawer.mjs.map +0 -1
- package/dropdown-menu/fesm2022/dropdown-menu.mjs.map +0 -1
- package/empty/fesm2022/empty.mjs.map +0 -1
- package/field/fesm2022/field.mjs.map +0 -1
- package/form-checkbox/fesm2022/form-checkbox.mjs.map +0 -1
- package/form-date-picker/fesm2022/form-date-picker.mjs.map +0 -1
- package/form-field/fesm2022/form-field.mjs.map +0 -1
- package/form-field-simple/fesm2022/form-field-simple.mjs.map +0 -1
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +0 -1
- package/form-select/fesm2022/form-select.mjs.map +0 -1
- package/form-text-input/fesm2022/form-text-input.mjs.map +0 -1
- package/form-textarea/fesm2022/form-textarea.mjs.map +0 -1
- package/hover-card/fesm2022/hover-card.mjs.map +0 -1
- package/icon/fesm2022/icon.mjs.map +0 -1
- package/input/fesm2022/input.mjs.map +0 -1
- package/input-group/fesm2022/input-group.mjs.map +0 -1
- package/input-otp/fesm2022/input-otp.mjs.map +0 -1
- package/item/fesm2022/item.mjs.map +0 -1
- package/kbd/fesm2022/kbd.mjs.map +0 -1
- package/label/fesm2022/label.mjs.map +0 -1
- package/layout-simple/fesm2022/layout-simple.mjs.map +0 -1
- package/menubar/fesm2022/menubar.mjs.map +0 -1
- package/native-select/fesm2022/native-select.mjs.map +0 -1
- package/navigation-menu/fesm2022/navigation-menu.mjs.map +0 -1
- package/pagination/fesm2022/pagination.mjs.map +0 -1
- package/popover/fesm2022/popover.mjs.map +0 -1
- package/progress/fesm2022/progress.mjs.map +0 -1
- package/radio-group/fesm2022/radio-group.mjs.map +0 -1
- package/resizable/fesm2022/resizable.mjs.map +0 -1
- package/scroll-area/fesm2022/scroll-area.mjs.map +0 -1
- package/searchable-multiselect/fesm2022/searchable-multiselect.mjs.map +0 -1
- package/select/fesm2022/select.mjs.map +0 -1
- package/separator/fesm2022/separator.mjs.map +0 -1
- package/sheet/fesm2022/sheet.mjs.map +0 -1
- package/sidebar/fesm2022/sidebar.mjs.map +0 -1
- package/skeleton/fesm2022/skeleton.mjs.map +0 -1
- package/slider/fesm2022/slider.mjs.map +0 -1
- package/sonner/fesm2022/sonner.mjs.map +0 -1
- package/spinner/fesm2022/spinner.mjs.map +0 -1
- package/switch/fesm2022/switch.mjs.map +0 -1
- package/table/fesm2022/table.mjs.map +0 -1
- package/tabs/fesm2022/tabs.mjs.map +0 -1
- package/textarea/fesm2022/textarea.mjs.map +0 -1
- package/toggle/fesm2022/toggle.mjs.map +0 -1
- package/toggle-group/fesm2022/toggle-group.mjs.map +0 -1
- package/tooltip/fesm2022/tooltip.mjs.map +0 -1
- package/typography/fesm2022/typography.mjs.map +0 -1
- package/utils/fesm2022/utils.mjs.map +0 -1
|
@@ -13,12 +13,12 @@ class HlmPagination {
|
|
|
13
13
|
/** The aria-label for the pagination component. */
|
|
14
14
|
ariaLabel = input('pagination', { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
|
|
15
15
|
constructor() {
|
|
16
|
-
classes(() =>
|
|
16
|
+
classes(() => "mx-auto flex w-full justify-center");
|
|
17
17
|
}
|
|
18
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
19
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.
|
|
18
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPagination, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmPagination, isStandalone: true, selector: "[hlmPagination],hlm-pagination", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "pagination", "role": "navigation" }, properties: { "attr.aria-label": "ariaLabel()" } }, ngImport: i0 });
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPagination, decorators: [{
|
|
22
22
|
type: Directive,
|
|
23
23
|
args: [{
|
|
24
24
|
selector: '[hlmPagination],hlm-pagination',
|
|
@@ -32,12 +32,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
32
32
|
|
|
33
33
|
class HlmPaginationContent {
|
|
34
34
|
constructor() {
|
|
35
|
-
classes(() =>
|
|
35
|
+
classes(() => "gap-1 flex items-center");
|
|
36
36
|
}
|
|
37
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
38
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
37
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
38
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmPaginationContent, isStandalone: true, selector: "ul[hlmPaginationContent]", host: { attributes: { "data-slot": "pagination-content" } }, ngImport: i0 });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationContent, decorators: [{
|
|
41
41
|
type: Directive,
|
|
42
42
|
args: [{
|
|
43
43
|
selector: 'ul[hlmPaginationContent]',
|
|
@@ -52,13 +52,10 @@ class HlmPaginationEllipsis {
|
|
|
52
52
|
constructor() {
|
|
53
53
|
classes(() => "size-9 [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] flex items-center justify-center");
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
57
|
-
<ng-icon name="lucideEllipsis" />
|
|
58
|
-
<span class="sr-only">{{ srOnlyText() }}</span>
|
|
59
|
-
`, isInline: true, dependencies: [{ kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationEllipsis, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: HlmPaginationEllipsis, isStandalone: true, selector: "hlm-pagination-ellipsis", inputs: { srOnlyText: { classPropertyName: "srOnlyText", publicName: "srOnlyText", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "pagination-ellipsis" } }, providers: [provideIcons({ lucideEllipsis })], ngImport: i0, template: "\n <ng-icon name=\"lucideEllipsis\" />\n <span class=\"sr-only\">{{ srOnlyText() }}</span>\n ", isInline: true, dependencies: [{ kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
60
57
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationEllipsis, decorators: [{
|
|
62
59
|
type: Component,
|
|
63
60
|
args: [{
|
|
64
61
|
selector: 'hlm-pagination-ellipsis',
|
|
@@ -66,18 +63,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
66
63
|
providers: [provideIcons({ lucideEllipsis })],
|
|
67
64
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
68
65
|
host: { 'data-slot': 'pagination-ellipsis' },
|
|
69
|
-
template:
|
|
70
|
-
<ng-icon name="lucideEllipsis" />
|
|
71
|
-
<span class="sr-only">{{ srOnlyText() }}</span>
|
|
72
|
-
`,
|
|
66
|
+
template: "\n <ng-icon name=\"lucideEllipsis\" />\n <span class=\"sr-only\">{{ srOnlyText() }}</span>\n ",
|
|
73
67
|
}]
|
|
74
68
|
}], ctorParameters: () => [], propDecorators: { srOnlyText: [{ type: i0.Input, args: [{ isSignal: true, alias: "srOnlyText", required: false }] }] } });
|
|
75
69
|
|
|
76
70
|
class HlmPaginationItem {
|
|
77
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
78
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
72
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.3", type: HlmPaginationItem, isStandalone: true, selector: "li[hlmPaginationItem]", host: { attributes: { "data-slot": "pagination-item" } }, ngImport: i0 });
|
|
79
73
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationItem, decorators: [{
|
|
81
75
|
type: Directive,
|
|
82
76
|
args: [{
|
|
83
77
|
selector: 'li[hlmPaginationItem]',
|
|
@@ -96,18 +90,18 @@ class HlmPaginationLink {
|
|
|
96
90
|
...(ngDevMode ? [undefined, { debugName: "link" }] : /* istanbul ignore next */ []));
|
|
97
91
|
constructor() {
|
|
98
92
|
classes(() => [
|
|
99
|
-
|
|
93
|
+
"relative",
|
|
100
94
|
buttonVariants({
|
|
101
95
|
variant: this.isActive() ? 'outline' : 'ghost',
|
|
102
96
|
size: this.size(),
|
|
103
97
|
}),
|
|
104
|
-
this.link() === undefined &&
|
|
98
|
+
this.link() === undefined && "cursor-pointer",
|
|
105
99
|
]);
|
|
106
100
|
}
|
|
107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
108
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.
|
|
101
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationLink, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
102
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.3", type: HlmPaginationLink, isStandalone: true, selector: "[hlmPaginationLink]", inputs: { isActive: { classPropertyName: "isActive", publicName: "isActive", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "data-slot": "pagination-link" }, properties: { "attr.data-active": "isActive() ? \"true\" : null", "attr.aria-current": "isActive() ? \"page\" : null" } }, hostDirectives: [{ directive: i1.RouterLink, inputs: ["target", "target", "queryParams", "queryParams", "fragment", "fragment", "queryParamsHandling", "queryParamsHandling", "state", "state", "info", "info", "relativeTo", "relativeTo", "preserveFragment", "preserveFragment", "skipLocationChange", "skipLocationChange", "replaceUrl", "replaceUrl", "routerLink", "link"] }], ngImport: i0 });
|
|
109
103
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationLink, decorators: [{
|
|
111
105
|
type: Directive,
|
|
112
106
|
args: [{
|
|
113
107
|
selector: '[hlmPaginationLink]',
|
|
@@ -159,45 +153,19 @@ class HlmPaginationNext {
|
|
|
159
153
|
...(ngDevMode ? [{ debugName: "_labelClass" }] : /* istanbul ignore next */ []));
|
|
160
154
|
_size = computed(() => (this.iconOnly() ? 'icon' : 'default'), /* @ts-ignore */
|
|
161
155
|
...(ngDevMode ? [{ debugName: "_size" }] : /* istanbul ignore next */ []));
|
|
162
|
-
_computedClass = computed(() => hlm(!this.iconOnly() &&
|
|
156
|
+
_computedClass = computed(() => hlm(!this.iconOnly() && "pe-2!", this.userClass()), /* @ts-ignore */
|
|
163
157
|
...(ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []));
|
|
164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
165
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
166
|
-
<a
|
|
167
|
-
hlmPaginationLink
|
|
168
|
-
[class]="_computedClass()"
|
|
169
|
-
[link]="link()"
|
|
170
|
-
[queryParams]="queryParams()"
|
|
171
|
-
[queryParamsHandling]="queryParamsHandling()"
|
|
172
|
-
[size]="_size()"
|
|
173
|
-
[attr.aria-label]="ariaLabel()"
|
|
174
|
-
>
|
|
175
|
-
<span [class]="_labelClass()">{{ text() }}</span>
|
|
176
|
-
<ng-icon name="lucideChevronRight" class="rtl:rotate-180" />
|
|
177
|
-
</a>
|
|
178
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
158
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationNext, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
159
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: HlmPaginationNext, isStandalone: true, selector: "hlm-pagination-next", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, queryParams: { classPropertyName: "queryParams", publicName: "queryParams", isSignal: true, isRequired: false, transformFunction: null }, queryParamsHandling: { classPropertyName: "queryParamsHandling", publicName: "queryParamsHandling", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ lucideChevronRight })], ngImport: i0, 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 ", isInline: true, dependencies: [{ kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
179
160
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationNext, decorators: [{
|
|
181
162
|
type: Component,
|
|
182
163
|
args: [{
|
|
183
164
|
selector: 'hlm-pagination-next',
|
|
184
165
|
imports: [HlmPaginationLink, NgIcon],
|
|
185
166
|
providers: [provideIcons({ lucideChevronRight })],
|
|
186
167
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
187
|
-
template:
|
|
188
|
-
<a
|
|
189
|
-
hlmPaginationLink
|
|
190
|
-
[class]="_computedClass()"
|
|
191
|
-
[link]="link()"
|
|
192
|
-
[queryParams]="queryParams()"
|
|
193
|
-
[queryParamsHandling]="queryParamsHandling()"
|
|
194
|
-
[size]="_size()"
|
|
195
|
-
[attr.aria-label]="ariaLabel()"
|
|
196
|
-
>
|
|
197
|
-
<span [class]="_labelClass()">{{ text() }}</span>
|
|
198
|
-
<ng-icon name="lucideChevronRight" class="rtl:rotate-180" />
|
|
199
|
-
</a>
|
|
200
|
-
`,
|
|
168
|
+
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 ",
|
|
201
169
|
}]
|
|
202
170
|
}], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], queryParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryParams", required: false }] }], queryParamsHandling: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryParamsHandling", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], iconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnly", required: false }] }] } });
|
|
203
171
|
|
|
@@ -219,49 +187,23 @@ class HlmPaginationPrevious {
|
|
|
219
187
|
...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
220
188
|
/** Whether the button should only display the icon. */
|
|
221
189
|
iconOnly = input(false, { ...(ngDevMode ? { debugName: "iconOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
222
|
-
_labelClass = computed(() => hlm(this.iconOnly() ?
|
|
190
|
+
_labelClass = computed(() => hlm(this.iconOnly() ? "sr-only" : "hidden sm:block"), /* @ts-ignore */
|
|
223
191
|
...(ngDevMode ? [{ debugName: "_labelClass" }] : /* istanbul ignore next */ []));
|
|
224
192
|
_size = computed(() => (this.iconOnly() ? 'icon' : 'default'), /* @ts-ignore */
|
|
225
193
|
...(ngDevMode ? [{ debugName: "_size" }] : /* istanbul ignore next */ []));
|
|
226
|
-
_computedClass = computed(() => hlm(!this.iconOnly() &&
|
|
194
|
+
_computedClass = computed(() => hlm(!this.iconOnly() && "ps-2!", this.userClass()), /* @ts-ignore */
|
|
227
195
|
...(ngDevMode ? [{ debugName: "_computedClass" }] : /* istanbul ignore next */ []));
|
|
228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
229
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.
|
|
230
|
-
<a
|
|
231
|
-
hlmPaginationLink
|
|
232
|
-
[class]="_computedClass()"
|
|
233
|
-
[link]="link()"
|
|
234
|
-
[queryParams]="queryParams()"
|
|
235
|
-
[queryParamsHandling]="queryParamsHandling()"
|
|
236
|
-
[size]="_size()"
|
|
237
|
-
[attr.aria-label]="ariaLabel()"
|
|
238
|
-
>
|
|
239
|
-
<ng-icon name="lucideChevronLeft" class="rtl:rotate-180" />
|
|
240
|
-
<span [class]="_labelClass()">{{ text() }}</span>
|
|
241
|
-
</a>
|
|
242
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationPrevious, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
197
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.3", type: HlmPaginationPrevious, isStandalone: true, selector: "hlm-pagination-previous", inputs: { userClass: { classPropertyName: "userClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, queryParams: { classPropertyName: "queryParams", publicName: "queryParams", isSignal: true, isRequired: false, transformFunction: null }, queryParamsHandling: { classPropertyName: "queryParamsHandling", publicName: "queryParamsHandling", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideIcons({ lucideChevronLeft })], ngImport: i0, 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 ", isInline: true, dependencies: [{ kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: NgIcon, selector: "ng-icon", inputs: ["name", "svg", "size", "strokeWidth", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
243
198
|
}
|
|
244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationPrevious, decorators: [{
|
|
245
200
|
type: Component,
|
|
246
201
|
args: [{
|
|
247
202
|
selector: 'hlm-pagination-previous',
|
|
248
203
|
imports: [HlmPaginationLink, NgIcon],
|
|
249
204
|
providers: [provideIcons({ lucideChevronLeft })],
|
|
250
205
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
251
|
-
template:
|
|
252
|
-
<a
|
|
253
|
-
hlmPaginationLink
|
|
254
|
-
[class]="_computedClass()"
|
|
255
|
-
[link]="link()"
|
|
256
|
-
[queryParams]="queryParams()"
|
|
257
|
-
[queryParamsHandling]="queryParamsHandling()"
|
|
258
|
-
[size]="_size()"
|
|
259
|
-
[attr.aria-label]="ariaLabel()"
|
|
260
|
-
>
|
|
261
|
-
<ng-icon name="lucideChevronLeft" class="rtl:rotate-180" />
|
|
262
|
-
<span [class]="_labelClass()">{{ text() }}</span>
|
|
263
|
-
</a>
|
|
264
|
-
`,
|
|
206
|
+
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 ",
|
|
265
207
|
}]
|
|
266
208
|
}], propDecorators: { userClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], queryParams: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryParams", required: false }] }], queryParamsHandling: [{ type: i0.Input, args: [{ isSignal: true, alias: "queryParamsHandling", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], iconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnly", required: false }] }] } });
|
|
267
209
|
|
|
@@ -337,61 +279,10 @@ class HlmNumberedPagination {
|
|
|
337
279
|
goToLast() {
|
|
338
280
|
this.currentPage.set(this._lastPageNumber());
|
|
339
281
|
}
|
|
340
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
341
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
342
|
-
<div class="flex items-center justify-between gap-2 px-4 py-2">
|
|
343
|
-
<div class="flex items-center gap-1 text-sm text-nowrap text-gray-600">
|
|
344
|
-
<b>{{ totalItems() }}</b>
|
|
345
|
-
total items |
|
|
346
|
-
<b>{{ _lastPageNumber() }}</b>
|
|
347
|
-
pages
|
|
348
|
-
</div>
|
|
349
|
-
|
|
350
|
-
<nav hlmPagination>
|
|
351
|
-
<ul hlmPaginationContent>
|
|
352
|
-
@if (showEdges() && !_isFirstPageActive()) {
|
|
353
|
-
<li hlmPaginationItem (click)="goToPrevious()">
|
|
354
|
-
<hlm-pagination-previous />
|
|
355
|
-
</li>
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
@for (page of _pages(); track page) {
|
|
359
|
-
<li hlmPaginationItem>
|
|
360
|
-
@if (page === '...') {
|
|
361
|
-
<hlm-pagination-ellipsis />
|
|
362
|
-
} @else {
|
|
363
|
-
<a hlmPaginationLink [isActive]="currentPage() === page" (click)="currentPage.set(page)">
|
|
364
|
-
{{ page }}
|
|
365
|
-
</a>
|
|
366
|
-
}
|
|
367
|
-
</li>
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
@if (showEdges() && !_isLastPageActive()) {
|
|
371
|
-
<li hlmPaginationItem (click)="goToNext()">
|
|
372
|
-
<hlm-pagination-next />
|
|
373
|
-
</li>
|
|
374
|
-
}
|
|
375
|
-
</ul>
|
|
376
|
-
</nav>
|
|
377
|
-
|
|
378
|
-
<!-- Show Page Size selector -->
|
|
379
|
-
<hlm-select [(value)]="itemsPerPage" class="ml-auto">
|
|
380
|
-
<hlm-select-trigger class="w-fit">
|
|
381
|
-
<hlm-select-value />
|
|
382
|
-
</hlm-select-trigger>
|
|
383
|
-
<hlm-select-content *hlmSelectPortal>
|
|
384
|
-
<hlm-select-group>
|
|
385
|
-
@for (pageSize of _pageSizesWithCurrent(); track pageSize) {
|
|
386
|
-
<hlm-select-item [value]="pageSize">{{ pageSize }}</hlm-select-item>
|
|
387
|
-
}
|
|
388
|
-
</hlm-select-group>
|
|
389
|
-
</hlm-select-content>
|
|
390
|
-
</hlm-select>
|
|
391
|
-
</div>
|
|
392
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmNumberedPagination, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: HlmNumberedPagination, isStandalone: true, selector: "hlm-numbered-pagination", inputs: { currentPage: { classPropertyName: "currentPage", publicName: "currentPage", isSignal: true, isRequired: true, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: true, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: true, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, showEdges: { classPropertyName: "showEdges", publicName: "showEdges", isSignal: true, isRequired: false, transformFunction: null }, pageSizes: { classPropertyName: "pageSizes", publicName: "pageSizes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentPage: "currentPageChange", itemsPerPage: "itemsPerPageChange" }, ngImport: i0, 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 ", isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
393
284
|
}
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmNumberedPagination, decorators: [{
|
|
395
286
|
type: Component,
|
|
396
287
|
args: [{
|
|
397
288
|
selector: 'hlm-numbered-pagination',
|
|
@@ -406,58 +297,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
406
297
|
HlmSelectImports,
|
|
407
298
|
],
|
|
408
299
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
409
|
-
template:
|
|
410
|
-
<div class="flex items-center justify-between gap-2 px-4 py-2">
|
|
411
|
-
<div class="flex items-center gap-1 text-sm text-nowrap text-gray-600">
|
|
412
|
-
<b>{{ totalItems() }}</b>
|
|
413
|
-
total items |
|
|
414
|
-
<b>{{ _lastPageNumber() }}</b>
|
|
415
|
-
pages
|
|
416
|
-
</div>
|
|
417
|
-
|
|
418
|
-
<nav hlmPagination>
|
|
419
|
-
<ul hlmPaginationContent>
|
|
420
|
-
@if (showEdges() && !_isFirstPageActive()) {
|
|
421
|
-
<li hlmPaginationItem (click)="goToPrevious()">
|
|
422
|
-
<hlm-pagination-previous />
|
|
423
|
-
</li>
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
@for (page of _pages(); track page) {
|
|
427
|
-
<li hlmPaginationItem>
|
|
428
|
-
@if (page === '...') {
|
|
429
|
-
<hlm-pagination-ellipsis />
|
|
430
|
-
} @else {
|
|
431
|
-
<a hlmPaginationLink [isActive]="currentPage() === page" (click)="currentPage.set(page)">
|
|
432
|
-
{{ page }}
|
|
433
|
-
</a>
|
|
434
|
-
}
|
|
435
|
-
</li>
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
@if (showEdges() && !_isLastPageActive()) {
|
|
439
|
-
<li hlmPaginationItem (click)="goToNext()">
|
|
440
|
-
<hlm-pagination-next />
|
|
441
|
-
</li>
|
|
442
|
-
}
|
|
443
|
-
</ul>
|
|
444
|
-
</nav>
|
|
445
|
-
|
|
446
|
-
<!-- Show Page Size selector -->
|
|
447
|
-
<hlm-select [(value)]="itemsPerPage" class="ml-auto">
|
|
448
|
-
<hlm-select-trigger class="w-fit">
|
|
449
|
-
<hlm-select-value />
|
|
450
|
-
</hlm-select-trigger>
|
|
451
|
-
<hlm-select-content *hlmSelectPortal>
|
|
452
|
-
<hlm-select-group>
|
|
453
|
-
@for (pageSize of _pageSizesWithCurrent(); track pageSize) {
|
|
454
|
-
<hlm-select-item [value]="pageSize">{{ pageSize }}</hlm-select-item>
|
|
455
|
-
}
|
|
456
|
-
</hlm-select-group>
|
|
457
|
-
</hlm-select-content>
|
|
458
|
-
</hlm-select>
|
|
459
|
-
</div>
|
|
460
|
-
`,
|
|
300
|
+
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 ",
|
|
461
301
|
}]
|
|
462
302
|
}], propDecorators: { currentPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPage", required: true }] }, { type: i0.Output, args: ["currentPageChange"] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: true }] }, { type: i0.Output, args: ["itemsPerPageChange"] }], totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: true }] }], maxSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSize", required: false }] }], showEdges: [{ type: i0.Input, args: [{ isSignal: true, alias: "showEdges", required: false }] }], pageSizes: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSizes", required: false }] }] } });
|
|
463
303
|
/**
|
|
@@ -603,75 +443,12 @@ class HlmNumberedPaginationQueryParams {
|
|
|
603
443
|
}, /* @ts-ignore */
|
|
604
444
|
...(ngDevMode ? [{ debugName: "_pages" }] : /* istanbul ignore next */ []));
|
|
605
445
|
constructor() {
|
|
606
|
-
classes(() =>
|
|
446
|
+
classes(() => "flex items-center justify-between gap-2 px-4 py-2");
|
|
607
447
|
}
|
|
608
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
609
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.
|
|
610
|
-
<div class="flex items-center gap-1 text-sm text-nowrap text-gray-600">
|
|
611
|
-
<b>{{ totalItems() }}</b>
|
|
612
|
-
total items |
|
|
613
|
-
<b>{{ _lastPageNumber() }}</b>
|
|
614
|
-
pages
|
|
615
|
-
</div>
|
|
616
|
-
|
|
617
|
-
<nav hlmPagination>
|
|
618
|
-
<ul hlmPaginationContent>
|
|
619
|
-
@if (showEdges() && !_isFirstPageActive()) {
|
|
620
|
-
<li hlmPaginationItem>
|
|
621
|
-
<hlm-pagination-previous
|
|
622
|
-
[link]="link()"
|
|
623
|
-
[queryParams]="{ page: currentPage() - 1 }"
|
|
624
|
-
queryParamsHandling="merge"
|
|
625
|
-
/>
|
|
626
|
-
</li>
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
@for (page of _pages(); track page) {
|
|
630
|
-
<li hlmPaginationItem>
|
|
631
|
-
@if (page === '...') {
|
|
632
|
-
<hlm-pagination-ellipsis />
|
|
633
|
-
} @else {
|
|
634
|
-
<a
|
|
635
|
-
hlmPaginationLink
|
|
636
|
-
[link]="currentPage() !== page ? link() : undefined"
|
|
637
|
-
[queryParams]="{ page }"
|
|
638
|
-
queryParamsHandling="merge"
|
|
639
|
-
[isActive]="currentPage() === page"
|
|
640
|
-
>
|
|
641
|
-
{{ page }}
|
|
642
|
-
</a>
|
|
643
|
-
}
|
|
644
|
-
</li>
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
@if (showEdges() && !_isLastPageActive()) {
|
|
648
|
-
<li hlmPaginationItem>
|
|
649
|
-
<hlm-pagination-next
|
|
650
|
-
[link]="link()"
|
|
651
|
-
[queryParams]="{ page: currentPage() + 1 }"
|
|
652
|
-
queryParamsHandling="merge"
|
|
653
|
-
/>
|
|
654
|
-
</li>
|
|
655
|
-
}
|
|
656
|
-
</ul>
|
|
657
|
-
</nav>
|
|
658
|
-
|
|
659
|
-
<!-- Show Page Size selector -->
|
|
660
|
-
<hlm-select [(value)]="itemsPerPage" class="ml-auto">
|
|
661
|
-
<hlm-select-trigger class="w-fit">
|
|
662
|
-
<hlm-select-value />
|
|
663
|
-
</hlm-select-trigger>
|
|
664
|
-
<hlm-select-content *hlmSelectPortal>
|
|
665
|
-
<hlm-select-group>
|
|
666
|
-
@for (pageSize of _pageSizesWithCurrent(); track pageSize) {
|
|
667
|
-
<hlm-select-item [value]="pageSize">{{ pageSize }}</hlm-select-item>
|
|
668
|
-
}
|
|
669
|
-
</hlm-select-group>
|
|
670
|
-
</hlm-select-content>
|
|
671
|
-
</hlm-select>
|
|
672
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
448
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmNumberedPaginationQueryParams, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
449
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: HlmNumberedPaginationQueryParams, isStandalone: true, selector: "hlm-numbered-pagination-query-params", inputs: { currentPage: { classPropertyName: "currentPage", publicName: "currentPage", isSignal: true, isRequired: true, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: true, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: true, transformFunction: null }, link: { classPropertyName: "link", publicName: "link", isSignal: true, isRequired: false, transformFunction: null }, maxSize: { classPropertyName: "maxSize", publicName: "maxSize", isSignal: true, isRequired: false, transformFunction: null }, showEdges: { classPropertyName: "showEdges", publicName: "showEdges", isSignal: true, isRequired: false, transformFunction: null }, pageSizes: { classPropertyName: "pageSizes", publicName: "pageSizes", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { currentPage: "currentPageChange", itemsPerPage: "itemsPerPageChange" }, ngImport: i0, 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 ", isInline: true, dependencies: [{ kind: "directive", type: HlmPagination, selector: "[hlmPagination],hlm-pagination", inputs: ["aria-label"] }, { kind: "directive", type: HlmPaginationContent, selector: "ul[hlmPaginationContent]" }, { kind: "directive", type: HlmPaginationItem, selector: "li[hlmPaginationItem]" }, { kind: "component", type: HlmPaginationPrevious, selector: "hlm-pagination-previous", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "component", type: HlmPaginationNext, selector: "hlm-pagination-next", inputs: ["class", "link", "queryParams", "queryParamsHandling", "aria-label", "text", "iconOnly"] }, { kind: "directive", type: HlmPaginationLink, selector: "[hlmPaginationLink]", inputs: ["isActive", "size", "link"] }, { kind: "component", type: HlmPaginationEllipsis, selector: "hlm-pagination-ellipsis", inputs: ["srOnlyText"] }, { kind: "directive", type: i1$1.HlmSelect, selector: "[hlmSelect],hlm-select" }, { kind: "component", type: i1$1.HlmSelectContent, selector: "hlm-select-content", inputs: ["showScroll"] }, { kind: "directive", type: i1$1.HlmSelectGroup, selector: "[hlmSelectGroup],hlm-select-group" }, { kind: "component", type: i1$1.HlmSelectItem, selector: "hlm-select-item" }, { kind: "directive", type: i1$1.HlmSelectPortal, selector: "[hlmSelectPortal]" }, { kind: "component", type: i1$1.HlmSelectTrigger, selector: "hlm-select-trigger", inputs: ["class", "buttonId", "ariaDescribedby", "wrapperDisabled", "size", "forceInvalid"] }, { kind: "directive", type: i1$1.HlmSelectValue, selector: "[hlmSelectValue],hlm-select-value" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
673
450
|
}
|
|
674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmNumberedPaginationQueryParams, decorators: [{
|
|
675
452
|
type: Component,
|
|
676
453
|
args: [{
|
|
677
454
|
selector: 'hlm-numbered-pagination-query-params',
|
|
@@ -686,70 +463,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
686
463
|
HlmSelectImports,
|
|
687
464
|
],
|
|
688
465
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
689
|
-
template:
|
|
690
|
-
<div class="flex items-center gap-1 text-sm text-nowrap text-gray-600">
|
|
691
|
-
<b>{{ totalItems() }}</b>
|
|
692
|
-
total items |
|
|
693
|
-
<b>{{ _lastPageNumber() }}</b>
|
|
694
|
-
pages
|
|
695
|
-
</div>
|
|
696
|
-
|
|
697
|
-
<nav hlmPagination>
|
|
698
|
-
<ul hlmPaginationContent>
|
|
699
|
-
@if (showEdges() && !_isFirstPageActive()) {
|
|
700
|
-
<li hlmPaginationItem>
|
|
701
|
-
<hlm-pagination-previous
|
|
702
|
-
[link]="link()"
|
|
703
|
-
[queryParams]="{ page: currentPage() - 1 }"
|
|
704
|
-
queryParamsHandling="merge"
|
|
705
|
-
/>
|
|
706
|
-
</li>
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
@for (page of _pages(); track page) {
|
|
710
|
-
<li hlmPaginationItem>
|
|
711
|
-
@if (page === '...') {
|
|
712
|
-
<hlm-pagination-ellipsis />
|
|
713
|
-
} @else {
|
|
714
|
-
<a
|
|
715
|
-
hlmPaginationLink
|
|
716
|
-
[link]="currentPage() !== page ? link() : undefined"
|
|
717
|
-
[queryParams]="{ page }"
|
|
718
|
-
queryParamsHandling="merge"
|
|
719
|
-
[isActive]="currentPage() === page"
|
|
720
|
-
>
|
|
721
|
-
{{ page }}
|
|
722
|
-
</a>
|
|
723
|
-
}
|
|
724
|
-
</li>
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
@if (showEdges() && !_isLastPageActive()) {
|
|
728
|
-
<li hlmPaginationItem>
|
|
729
|
-
<hlm-pagination-next
|
|
730
|
-
[link]="link()"
|
|
731
|
-
[queryParams]="{ page: currentPage() + 1 }"
|
|
732
|
-
queryParamsHandling="merge"
|
|
733
|
-
/>
|
|
734
|
-
</li>
|
|
735
|
-
}
|
|
736
|
-
</ul>
|
|
737
|
-
</nav>
|
|
738
|
-
|
|
739
|
-
<!-- Show Page Size selector -->
|
|
740
|
-
<hlm-select [(value)]="itemsPerPage" class="ml-auto">
|
|
741
|
-
<hlm-select-trigger class="w-fit">
|
|
742
|
-
<hlm-select-value />
|
|
743
|
-
</hlm-select-trigger>
|
|
744
|
-
<hlm-select-content *hlmSelectPortal>
|
|
745
|
-
<hlm-select-group>
|
|
746
|
-
@for (pageSize of _pageSizesWithCurrent(); track pageSize) {
|
|
747
|
-
<hlm-select-item [value]="pageSize">{{ pageSize }}</hlm-select-item>
|
|
748
|
-
}
|
|
749
|
-
</hlm-select-group>
|
|
750
|
-
</hlm-select-content>
|
|
751
|
-
</hlm-select>
|
|
752
|
-
`,
|
|
466
|
+
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 ",
|
|
753
467
|
}]
|
|
754
468
|
}], ctorParameters: () => [], propDecorators: { currentPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPage", required: true }] }, { type: i0.Output, args: ["currentPageChange"] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: true }] }, { type: i0.Output, args: ["itemsPerPageChange"] }], totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: true }] }], link: [{ type: i0.Input, args: [{ isSignal: true, alias: "link", required: false }] }], maxSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxSize", required: false }] }], showEdges: [{ type: i0.Input, args: [{ isSignal: true, alias: "showEdges", required: false }] }], pageSizes: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSizes", required: false }] }] } });
|
|
755
469
|
|
|
@@ -768,8 +482,8 @@ const HlmPaginationImports = [
|
|
|
768
482
|
HlmNumberedPaginationQueryParams,
|
|
769
483
|
];
|
|
770
484
|
class HlmPaginationModule {
|
|
771
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.
|
|
772
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.
|
|
485
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
486
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationModule, imports: [HlmPagination,
|
|
773
487
|
HlmPaginationContent,
|
|
774
488
|
HlmPaginationItem,
|
|
775
489
|
HlmPaginationLink,
|
|
@@ -786,13 +500,13 @@ class HlmPaginationModule {
|
|
|
786
500
|
HlmPaginationEllipsis,
|
|
787
501
|
HlmNumberedPagination,
|
|
788
502
|
HlmNumberedPaginationQueryParams] });
|
|
789
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.
|
|
503
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationModule, imports: [HlmPaginationPrevious,
|
|
790
504
|
HlmPaginationNext,
|
|
791
505
|
HlmPaginationEllipsis,
|
|
792
506
|
HlmNumberedPagination,
|
|
793
507
|
HlmNumberedPaginationQueryParams] });
|
|
794
508
|
}
|
|
795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.
|
|
509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: HlmPaginationModule, decorators: [{
|
|
796
510
|
type: NgModule,
|
|
797
511
|
args: [{
|
|
798
512
|
imports: [...HlmPaginationImports],
|
|
@@ -805,4 +519,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.7", ngImpor
|
|
|
805
519
|
*/
|
|
806
520
|
|
|
807
521
|
export { HlmNumberedPagination, HlmNumberedPaginationQueryParams, HlmPagination, HlmPaginationContent, HlmPaginationEllipsis, HlmPaginationImports, HlmPaginationItem, HlmPaginationLink, HlmPaginationModule, HlmPaginationNext, HlmPaginationPrevious, createPageArray, outOfBoundCorrection };
|
|
808
|
-
|
|
522
|
+
|