yukit-web 0.10.6 → 0.10.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/fesm2022/yukit-web-chart.mjs +807 -552
  2. package/fesm2022/yukit-web-chart.mjs.map +1 -1
  3. package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
  4. package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
  5. package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
  6. package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
  7. package/fesm2022/yukit-web-helm-alert.mjs +199 -91
  8. package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
  9. package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
  10. package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
  11. package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
  12. package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
  13. package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
  14. package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
  15. package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
  16. package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
  17. package/fesm2022/yukit-web-helm-badge.mjs +78 -44
  18. package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
  19. package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
  20. package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
  21. package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
  22. package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
  23. package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
  24. package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
  25. package/fesm2022/yukit-web-helm-button.mjs +137 -67
  26. package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
  27. package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
  28. package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
  29. package/fesm2022/yukit-web-helm-card.mjs +318 -136
  30. package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
  31. package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
  32. package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
  33. package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
  34. package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
  35. package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
  36. package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
  37. package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
  38. package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
  39. package/fesm2022/yukit-web-helm-command.mjs +752 -260
  40. package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
  41. package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
  42. package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
  43. package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
  44. package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
  45. package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
  46. package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
  47. package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
  48. package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
  49. package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
  50. package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
  51. package/fesm2022/yukit-web-helm-empty.mjs +280 -121
  52. package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
  53. package/fesm2022/yukit-web-helm-field.mjs +670 -301
  54. package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
  55. package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
  56. package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
  57. package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
  58. package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
  59. package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
  60. package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
  61. package/fesm2022/yukit-web-helm-input.mjs +62 -30
  62. package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
  63. package/fesm2022/yukit-web-helm-item.mjs +545 -227
  64. package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
  65. package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
  66. package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
  67. package/fesm2022/yukit-web-helm-label.mjs +60 -28
  68. package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
  69. package/fesm2022/yukit-web-helm-marker.mjs +165 -74
  70. package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
  71. package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
  72. package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
  73. package/fesm2022/yukit-web-helm-message.mjs +277 -112
  74. package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
  75. package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
  76. package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
  77. package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
  78. package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
  79. package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
  80. package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
  81. package/fesm2022/yukit-web-helm-popover.mjs +358 -133
  82. package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
  83. package/fesm2022/yukit-web-helm-progress.mjs +126 -58
  84. package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
  85. package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
  86. package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
  87. package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
  88. package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
  89. package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
  90. package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
  91. package/fesm2022/yukit-web-helm-select.mjs +1059 -351
  92. package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
  93. package/fesm2022/yukit-web-helm-separator.mjs +61 -31
  94. package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
  95. package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
  96. package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
  97. package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
  98. package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
  99. package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
  100. package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
  101. package/fesm2022/yukit-web-helm-slider.mjs +139 -59
  102. package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
  103. package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
  104. package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
  105. package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
  106. package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
  107. package/fesm2022/yukit-web-helm-switch.mjs +326 -94
  108. package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
  109. package/fesm2022/yukit-web-helm-table.mjs +374 -177
  110. package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
  111. package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
  112. package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
  113. package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
  114. package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
  115. package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
  116. package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
  117. package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
  118. package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
  119. package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
  120. package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
  121. package/fesm2022/yukit-web-helm-typography.mjs +461 -202
  122. package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
  123. package/fesm2022/yukit-web-helm-utils.mjs +131 -253
  124. package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
  125. package/fesm2022/yukit-web.mjs +24592 -9669
  126. package/fesm2022/yukit-web.mjs.map +1 -1
  127. package/package.json +9 -9
  128. package/src/lib/theme/components/button.css +14 -0
  129. package/src/lib/theme/spartan-overwrites/sonner.css +2 -2
  130. package/src/lib/theme/tokens/component-colors.css +6 -2
  131. package/types/yukit-web-chart.d.ts +184 -125
  132. package/types/yukit-web-helm-accordion.d.ts +49 -28
  133. package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
  134. package/types/yukit-web-helm-alert.d.ts +30 -32
  135. package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
  136. package/types/yukit-web-helm-attachment.d.ts +97 -69
  137. package/types/yukit-web-helm-autocomplete.d.ts +205 -79
  138. package/types/yukit-web-helm-avatar.d.ts +44 -39
  139. package/types/yukit-web-helm-badge.d.ts +18 -17
  140. package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
  141. package/types/yukit-web-helm-bubble.d.ts +54 -40
  142. package/types/yukit-web-helm-button-group.d.ts +29 -22
  143. package/types/yukit-web-helm-button.d.ts +41 -31
  144. package/types/yukit-web-helm-calendar.d.ts +157 -85
  145. package/types/yukit-web-helm-card.d.ts +38 -42
  146. package/types/yukit-web-helm-carousel.d.ts +105 -73
  147. package/types/yukit-web-helm-checkbox.d.ts +117 -58
  148. package/types/yukit-web-helm-collapsible.d.ts +34 -19
  149. package/types/yukit-web-helm-combobox.d.ts +355 -150
  150. package/types/yukit-web-helm-command.d.ts +140 -73
  151. package/types/yukit-web-helm-context-menu.d.ts +48 -27
  152. package/types/yukit-web-helm-date-picker.d.ts +852 -556
  153. package/types/yukit-web-helm-dialog.d.ts +106 -78
  154. package/types/yukit-web-helm-drawer.d.ts +90 -61
  155. package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
  156. package/types/yukit-web-helm-empty.d.ts +38 -42
  157. package/types/yukit-web-helm-field.d.ts +122 -91
  158. package/types/yukit-web-helm-hover-card.d.ts +39 -27
  159. package/types/yukit-web-helm-input-group.d.ts +63 -41
  160. package/types/yukit-web-helm-input-otp.d.ts +38 -35
  161. package/types/yukit-web-helm-input.d.ts +19 -12
  162. package/types/yukit-web-helm-item.d.ts +90 -82
  163. package/types/yukit-web-helm-kbd.d.ts +10 -15
  164. package/types/yukit-web-helm-label.d.ts +14 -11
  165. package/types/yukit-web-helm-marker.d.ts +26 -27
  166. package/types/yukit-web-helm-menubar.d.ts +61 -32
  167. package/types/yukit-web-helm-message.d.ts +34 -38
  168. package/types/yukit-web-helm-native-select.d.ts +102 -61
  169. package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
  170. package/types/yukit-web-helm-pagination.d.ts +344 -166
  171. package/types/yukit-web-helm-popover.d.ts +62 -42
  172. package/types/yukit-web-helm-progress.d.ts +27 -20
  173. package/types/yukit-web-helm-radio-group.d.ts +121 -63
  174. package/types/yukit-web-helm-resizable.d.ts +46 -24
  175. package/types/yukit-web-helm-scroll-area.d.ts +6 -10
  176. package/types/yukit-web-helm-select.d.ts +231 -114
  177. package/types/yukit-web-helm-separator.d.ts +15 -12
  178. package/types/yukit-web-helm-sheet.d.ts +94 -65
  179. package/types/yukit-web-helm-sidebar.d.ts +322 -232
  180. package/types/yukit-web-helm-skeleton.d.ts +6 -10
  181. package/types/yukit-web-helm-slider.d.ts +33 -13
  182. package/types/yukit-web-helm-sonner.d.ts +112 -51
  183. package/types/yukit-web-helm-spinner.d.ts +24 -17
  184. package/types/yukit-web-helm-switch.d.ts +89 -51
  185. package/types/yukit-web-helm-table.d.ts +38 -42
  186. package/types/yukit-web-helm-tabs.d.ts +116 -60
  187. package/types/yukit-web-helm-textarea.d.ts +19 -12
  188. package/types/yukit-web-helm-toggle-group.d.ts +81 -32
  189. package/types/yukit-web-helm-toggle.d.ts +39 -21
  190. package/types/yukit-web-helm-tooltip.d.ts +21 -16
  191. package/types/yukit-web-helm-typography.d.ts +62 -77
  192. package/types/yukit-web-helm-utils.d.ts +8 -11
  193. package/types/yukit-web.d.ts +5125 -2357
@@ -1,47 +1,80 @@
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>;
1
+ import { BooleanInput, NumberInput } from "@angular/cdk/coercion";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/router";
4
+ import { ClassValue } from "clsx";
5
+ export declare class HlmNumberedPagination {
6
+ /**
7
+ * The current (active) page.
8
+ */
9
+ readonly currentPage: import("@angular/core").ModelSignal<number>;
10
+ /**
11
+ * The number of items per paginated page.
12
+ */
13
+ readonly itemsPerPage: import("@angular/core").ModelSignal<number>;
14
+ /**
15
+ * The total number of items in the collection. Only useful when
16
+ * doing server-side paging, where the collection size is limited
17
+ * to a single page returned by the server API.
18
+ */
19
+ readonly totalItems: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
20
+ /**
21
+ * The number of page links to show.
22
+ */
23
+ readonly maxSize: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
24
+ /**
25
+ * Show the first and last page buttons.
26
+ */
27
+ readonly showEdges: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
28
+ /**
29
+ * The page sizes to show.
30
+ * Defaults to [10, 20, 50, 100]
31
+ */
32
+ readonly pageSizes: import("@angular/core").InputSignal<number[]>;
33
+ protected readonly _pageSizesWithCurrent: import("@angular/core").Signal<number[]>;
34
+ protected readonly _isFirstPageActive: import("@angular/core").Signal<boolean>;
35
+ protected readonly _isLastPageActive: import("@angular/core").Signal<boolean>;
36
+ protected readonly _lastPageNumber: import("@angular/core").Signal<number>;
37
+ protected readonly _pages: import("@angular/core").Signal<Page[]>;
38
+ protected goToPrevious(): void;
39
+ protected goToNext(): void;
40
+ protected goToFirst(): void;
41
+ protected goToLast(): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmNumberedPagination, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmNumberedPagination, "hlm-numbered-pagination", never, {
44
+ "currentPage": {
45
+ "alias": "currentPage";
46
+ "required": true;
47
+ "isSignal": true;
48
+ };
49
+ "itemsPerPage": {
50
+ "alias": "itemsPerPage";
51
+ "required": true;
52
+ "isSignal": true;
53
+ };
54
+ "totalItems": {
55
+ "alias": "totalItems";
56
+ "required": true;
57
+ "isSignal": true;
58
+ };
59
+ "maxSize": {
60
+ "alias": "maxSize";
61
+ "required": false;
62
+ "isSignal": true;
63
+ };
64
+ "showEdges": {
65
+ "alias": "showEdges";
66
+ "required": false;
67
+ "isSignal": true;
68
+ };
69
+ "pageSizes": {
70
+ "alias": "pageSizes";
71
+ "required": false;
72
+ "isSignal": true;
73
+ };
74
+ }, {
75
+ "currentPage": "currentPageChange";
76
+ "itemsPerPage": "itemsPerPageChange";
77
+ }, never, never, true, never>;
45
78
  }
46
79
  type Page = number | '...';
47
80
  /**
@@ -50,138 +83,283 @@ type Page = number | '...';
50
83
  *
51
84
  * Copied from 'ngx-pagination' package
52
85
  */
53
- declare function outOfBoundCorrection(totalItems: number, itemsPerPage: number, currentPage: number): number;
86
+ export declare function outOfBoundCorrection(totalItems: number, itemsPerPage: number, currentPage: number): number;
54
87
  /**
55
88
  * Returns an array of Page objects to use in the pagination controls.
56
89
  *
57
90
  * Copied from 'ngx-pagination' package
58
91
  */
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>;
92
+ export declare function createPageArray(currentPage: number, itemsPerPage: number, totalItems: number, paginationRange: number): Page[];
93
+ export declare class HlmNumberedPaginationQueryParams {
94
+ /**
95
+ * The current (active) page.
96
+ */
97
+ readonly currentPage: import("@angular/core").ModelSignal<number>;
98
+ /**
99
+ * The number of items per paginated page.
100
+ */
101
+ readonly itemsPerPage: import("@angular/core").ModelSignal<number>;
102
+ /**
103
+ * The total number of items in the collection. Only useful when
104
+ * doing server-side paging, where the collection size is limited
105
+ * to a single page returned by the server API.
106
+ */
107
+ readonly totalItems: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
108
+ /**
109
+ * The URL path to use for the pagination links.
110
+ * Defaults to '.' (current path).
111
+ */
112
+ readonly link: import("@angular/core").InputSignal<string>;
113
+ /**
114
+ * The number of page links to show.
115
+ */
116
+ readonly maxSize: import("@angular/core").InputSignalWithTransform<number, NumberInput>;
117
+ /**
118
+ * Show the first and last page buttons.
119
+ */
120
+ readonly showEdges: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
121
+ /**
122
+ * The page sizes to show.
123
+ * Defaults to [10, 20, 50, 100]
124
+ */
125
+ readonly pageSizes: import("@angular/core").InputSignal<number[]>;
126
+ protected readonly _pageSizesWithCurrent: import("@angular/core").Signal<number[]>;
127
+ protected readonly _isFirstPageActive: import("@angular/core").Signal<boolean>;
128
+ protected readonly _isLastPageActive: import("@angular/core").Signal<boolean>;
129
+ protected readonly _lastPageNumber: import("@angular/core").Signal<number>;
130
+ protected readonly _pages: import("@angular/core").Signal<(number | "...")[]>;
131
+ constructor();
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmNumberedPaginationQueryParams, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmNumberedPaginationQueryParams, "hlm-numbered-pagination-query-params", never, {
134
+ "currentPage": {
135
+ "alias": "currentPage";
136
+ "required": true;
137
+ "isSignal": true;
138
+ };
139
+ "itemsPerPage": {
140
+ "alias": "itemsPerPage";
141
+ "required": true;
142
+ "isSignal": true;
143
+ };
144
+ "totalItems": {
145
+ "alias": "totalItems";
146
+ "required": true;
147
+ "isSignal": true;
148
+ };
149
+ "link": {
150
+ "alias": "link";
151
+ "required": false;
152
+ "isSignal": true;
153
+ };
154
+ "maxSize": {
155
+ "alias": "maxSize";
156
+ "required": false;
157
+ "isSignal": true;
158
+ };
159
+ "showEdges": {
160
+ "alias": "showEdges";
161
+ "required": false;
162
+ "isSignal": true;
163
+ };
164
+ "pageSizes": {
165
+ "alias": "pageSizes";
166
+ "required": false;
167
+ "isSignal": true;
168
+ };
169
+ }, {
170
+ "currentPage": "currentPageChange";
171
+ "itemsPerPage": "itemsPerPageChange";
172
+ }, never, never, true, never>;
102
173
  }
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>;
174
+ export declare class HlmPagination {
175
+ /** The aria-label for the pagination component. */
176
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
177
+ constructor();
178
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPagination, never>;
179
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmPagination, "[hlmPagination],hlm-pagination", never, {
180
+ "ariaLabel": {
181
+ "alias": "aria-label";
182
+ "required": false;
183
+ "isSignal": true;
184
+ };
185
+ }, {}, never, never, true, never>;
110
186
  }
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>;
187
+ export declare class HlmPaginationContent {
188
+ constructor();
189
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPaginationContent, never>;
190
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmPaginationContent, "ul[hlmPaginationContent]", never, {}, {}, never, never, true, never>;
116
191
  }
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>;
192
+ export declare class HlmPaginationEllipsis {
193
+ /** Screen reader only text for the ellipsis */
194
+ readonly srOnlyText: import("@angular/core").InputSignal<string>;
195
+ constructor();
196
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPaginationEllipsis, never>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmPaginationEllipsis, "hlm-pagination-ellipsis", never, {
198
+ "srOnlyText": {
199
+ "alias": "srOnlyText";
200
+ "required": false;
201
+ "isSignal": true;
202
+ };
203
+ }, {}, never, never, true, never>;
124
204
  }
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>;
205
+ export declare class HlmPaginationItem {
206
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPaginationItem, never>;
207
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmPaginationItem, "li[hlmPaginationItem]", never, {}, {}, never, never, true, never>;
129
208
  }
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" | 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: {}; }]>;
209
+ export declare class HlmPaginationLink {
210
+ /** Whether the link is active (i.e., the current page). */
211
+ readonly isActive: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
212
+ /** The size of the button. */
213
+ readonly size: import("@angular/core").InputSignal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined>;
214
+ /** The link to navigate to the page. */
215
+ readonly link: import("@angular/core").InputSignal<string | readonly any[] | import("@angular/router").UrlTree | null | undefined>;
216
+ constructor();
217
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPaginationLink, never>;
218
+ static ɵdir: i0.ɵɵDirectiveDeclaration<HlmPaginationLink, "[hlmPaginationLink]", never, {
219
+ "isActive": {
220
+ "alias": "isActive";
221
+ "required": false;
222
+ "isSignal": true;
223
+ };
224
+ "size": {
225
+ "alias": "size";
226
+ "required": false;
227
+ "isSignal": true;
228
+ };
229
+ "link": {
230
+ "alias": "link";
231
+ "required": false;
232
+ "isSignal": true;
233
+ };
234
+ }, {}, never, never, true, [{
235
+ directive: typeof i1.RouterLink;
236
+ inputs: {
237
+ "target": "target";
238
+ "queryParams": "queryParams";
239
+ "fragment": "fragment";
240
+ "queryParamsHandling": "queryParamsHandling";
241
+ "state": "state";
242
+ "info": "info";
243
+ "relativeTo": "relativeTo";
244
+ "preserveFragment": "preserveFragment";
245
+ "skipLocationChange": "skipLocationChange";
246
+ "replaceUrl": "replaceUrl";
247
+ "routerLink": "link";
248
+ };
249
+ outputs: {};
250
+ }]>;
141
251
  }
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" | 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>;
252
+ export declare class HlmPaginationNext {
253
+ readonly userClass: import("@angular/core").InputSignal<ClassValue>;
254
+ /** The link to navigate to the next page. */
255
+ readonly link: import("@angular/core").InputSignal<string | readonly any[] | import("@angular/router").UrlTree | null | undefined>;
256
+ /** The query parameters to pass to the next page. */
257
+ readonly queryParams: import("@angular/core").InputSignal<import("@angular/router").Params | null | undefined>;
258
+ /** How to handle query parameters when navigating to the next page. */
259
+ readonly queryParamsHandling: import("@angular/core").InputSignal<import("@angular/router").QueryParamsHandling | null | undefined>;
260
+ /** The aria-label for the next page link. */
261
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
262
+ /** The text to display for the next page link. */
263
+ readonly text: import("@angular/core").InputSignal<string>;
264
+ /** Whether the button should only display the icon. */
265
+ readonly iconOnly: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
266
+ protected readonly _labelClass: import("@angular/core").Signal<"sr-only" | "hidden sm:block">;
267
+ protected readonly _size: import("@angular/core").Signal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined>;
268
+ protected readonly _computedClass: import("@angular/core").Signal<string>;
269
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPaginationNext, never>;
270
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmPaginationNext, "hlm-pagination-next", never, {
271
+ "userClass": {
272
+ "alias": "class";
273
+ "required": false;
274
+ "isSignal": true;
275
+ };
276
+ "link": {
277
+ "alias": "link";
278
+ "required": false;
279
+ "isSignal": true;
280
+ };
281
+ "queryParams": {
282
+ "alias": "queryParams";
283
+ "required": false;
284
+ "isSignal": true;
285
+ };
286
+ "queryParamsHandling": {
287
+ "alias": "queryParamsHandling";
288
+ "required": false;
289
+ "isSignal": true;
290
+ };
291
+ "ariaLabel": {
292
+ "alias": "aria-label";
293
+ "required": false;
294
+ "isSignal": true;
295
+ };
296
+ "text": {
297
+ "alias": "text";
298
+ "required": false;
299
+ "isSignal": true;
300
+ };
301
+ "iconOnly": {
302
+ "alias": "iconOnly";
303
+ "required": false;
304
+ "isSignal": true;
305
+ };
306
+ }, {}, never, never, true, never>;
162
307
  }
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" | 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>;
308
+ export declare class HlmPaginationPrevious {
309
+ readonly userClass: import("@angular/core").InputSignal<ClassValue>;
310
+ /** The link to navigate to the previous page. */
311
+ readonly link: import("@angular/core").InputSignal<string | readonly any[] | import("@angular/router").UrlTree | null | undefined>;
312
+ /** The query parameters to pass to the previous page. */
313
+ readonly queryParams: import("@angular/core").InputSignal<import("@angular/router").Params | null | undefined>;
314
+ /** How to handle query parameters when navigating to the previous page. */
315
+ readonly queryParamsHandling: import("@angular/core").InputSignal<import("@angular/router").QueryParamsHandling | null | undefined>;
316
+ /** The aria-label for the previous page link. */
317
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
318
+ /** The text to display for the previous page link. */
319
+ readonly text: import("@angular/core").InputSignal<string>;
320
+ /** Whether the button should only display the icon. */
321
+ readonly iconOnly: import("@angular/core").InputSignalWithTransform<boolean, BooleanInput>;
322
+ protected readonly _labelClass: import("@angular/core").Signal<string>;
323
+ protected readonly _size: import("@angular/core").Signal<"default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined>;
324
+ protected readonly _computedClass: import("@angular/core").Signal<string>;
325
+ static ɵfac: i0.ɵɵFactoryDeclaration<HlmPaginationPrevious, never>;
326
+ static ɵcmp: i0.ɵɵComponentDeclaration<HlmPaginationPrevious, "hlm-pagination-previous", never, {
327
+ "userClass": {
328
+ "alias": "class";
329
+ "required": false;
330
+ "isSignal": true;
331
+ };
332
+ "link": {
333
+ "alias": "link";
334
+ "required": false;
335
+ "isSignal": true;
336
+ };
337
+ "queryParams": {
338
+ "alias": "queryParams";
339
+ "required": false;
340
+ "isSignal": true;
341
+ };
342
+ "queryParamsHandling": {
343
+ "alias": "queryParamsHandling";
344
+ "required": false;
345
+ "isSignal": true;
346
+ };
347
+ "ariaLabel": {
348
+ "alias": "aria-label";
349
+ "required": false;
350
+ "isSignal": true;
351
+ };
352
+ "text": {
353
+ "alias": "text";
354
+ "required": false;
355
+ "isSignal": true;
356
+ };
357
+ "iconOnly": {
358
+ "alias": "iconOnly";
359
+ "required": false;
360
+ "isSignal": true;
361
+ };
362
+ }, {}, never, never, true, never>;
183
363
  }
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
-
187
- export { HlmNumberedPagination, HlmNumberedPaginationQueryParams, HlmPagination, HlmPaginationContent, HlmPaginationEllipsis, HlmPaginationImports, HlmPaginationItem, HlmPaginationLink, HlmPaginationNext, HlmPaginationPrevious, createPageArray, outOfBoundCorrection };
364
+ export declare const HlmPaginationImports: readonly [typeof HlmPagination, typeof HlmPaginationContent, typeof HlmPaginationItem, typeof HlmPaginationLink, typeof HlmPaginationPrevious, typeof HlmPaginationNext, typeof HlmPaginationEllipsis, typeof HlmNumberedPagination, typeof HlmNumberedPaginationQueryParams];
365
+ export {};