@4sh/ui-kit 0.8.0 → 0.10.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.
Files changed (143) hide show
  1. package/README.fr.md +11 -10
  2. package/README.md +11 -10
  3. package/fesm2022/4sh-ui-kit-actions-ui-button-split.mjs +3 -3
  4. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs +4 -4
  5. package/fesm2022/4sh-ui-kit-actions-ui-button.mjs.map +1 -1
  6. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs +4 -4
  7. package/fesm2022/4sh-ui-kit-actions-ui-link.mjs.map +1 -1
  8. package/fesm2022/4sh-ui-kit-actions-ui-speed-dial.mjs +3 -3
  9. package/fesm2022/4sh-ui-kit-base-ui-icon.mjs +6 -6
  10. package/fesm2022/4sh-ui-kit-base-ui-image.mjs +340 -16
  11. package/fesm2022/4sh-ui-kit-base-ui-image.mjs.map +1 -1
  12. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs +5 -5
  13. package/fesm2022/4sh-ui-kit-forms-ui-autocomplete.mjs.map +1 -1
  14. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs +5 -5
  15. package/fesm2022/4sh-ui-kit-forms-ui-checkbox.mjs.map +1 -1
  16. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs +10 -82
  17. package/fesm2022/4sh-ui-kit-forms-ui-datepicker.mjs.map +1 -1
  18. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs +4 -4
  19. package/fesm2022/4sh-ui-kit-forms-ui-editor.mjs.map +1 -1
  20. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs +4 -4
  21. package/fesm2022/4sh-ui-kit-forms-ui-field.mjs.map +1 -1
  22. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs +8 -8
  23. package/fesm2022/4sh-ui-kit-forms-ui-file-upload.mjs.map +1 -1
  24. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs +179 -0
  25. package/fesm2022/4sh-ui-kit-forms-ui-input-date.mjs.map +1 -0
  26. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs +7 -7
  27. package/fesm2022/4sh-ui-kit-forms-ui-input-group.mjs.map +1 -1
  28. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs +5 -5
  29. package/fesm2022/4sh-ui-kit-forms-ui-input-mask.mjs.map +1 -1
  30. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs +5 -5
  31. package/fesm2022/4sh-ui-kit-forms-ui-input-number.mjs.map +1 -1
  32. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs +5 -5
  33. package/fesm2022/4sh-ui-kit-forms-ui-input-otp.mjs.map +1 -1
  34. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs +5 -5
  35. package/fesm2022/4sh-ui-kit-forms-ui-input-tags.mjs.map +1 -1
  36. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs +4 -4
  37. package/fesm2022/4sh-ui-kit-forms-ui-input.mjs.map +1 -1
  38. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs +4 -4
  39. package/fesm2022/4sh-ui-kit-forms-ui-knob.mjs.map +1 -1
  40. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs +4 -4
  41. package/fesm2022/4sh-ui-kit-forms-ui-label.mjs.map +1 -1
  42. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs +4 -4
  43. package/fesm2022/4sh-ui-kit-forms-ui-nudger.mjs.map +1 -1
  44. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs +4 -4
  45. package/fesm2022/4sh-ui-kit-forms-ui-radio.mjs.map +1 -1
  46. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs +4 -4
  47. package/fesm2022/4sh-ui-kit-forms-ui-rating.mjs.map +1 -1
  48. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs +5 -5
  49. package/fesm2022/4sh-ui-kit-forms-ui-segment-control.mjs.map +1 -1
  50. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs +4 -4
  51. package/fesm2022/4sh-ui-kit-forms-ui-select.mjs.map +1 -1
  52. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs +4 -4
  53. package/fesm2022/4sh-ui-kit-forms-ui-slider.mjs.map +1 -1
  54. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs +4 -4
  55. package/fesm2022/4sh-ui-kit-forms-ui-swatch-picker.mjs.map +1 -1
  56. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs +5 -5
  57. package/fesm2022/4sh-ui-kit-forms-ui-textarea.mjs.map +1 -1
  58. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs +215 -0
  59. package/fesm2022/4sh-ui-kit-forms-ui-toggle-block.mjs.map +1 -0
  60. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs +5 -5
  61. package/fesm2022/4sh-ui-kit-forms-ui-toggle-button.mjs.map +1 -1
  62. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs +4 -4
  63. package/fesm2022/4sh-ui-kit-forms-ui-toggle.mjs.map +1 -1
  64. package/fesm2022/4sh-ui-kit-forms.mjs +105 -7
  65. package/fesm2022/4sh-ui-kit-forms.mjs.map +1 -1
  66. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs +13 -13
  67. package/fesm2022/4sh-ui-kit-informative-ui-accordion.mjs.map +1 -1
  68. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs +4 -4
  69. package/fesm2022/4sh-ui-kit-informative-ui-alert.mjs.map +1 -1
  70. package/fesm2022/4sh-ui-kit-informative-ui-avatar-group.mjs +3 -3
  71. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs +4 -4
  72. package/fesm2022/4sh-ui-kit-informative-ui-avatar.mjs.map +1 -1
  73. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs +4 -4
  74. package/fesm2022/4sh-ui-kit-informative-ui-badge.mjs.map +1 -1
  75. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs +4 -4
  76. package/fesm2022/4sh-ui-kit-informative-ui-chip.mjs.map +1 -1
  77. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs +10 -10
  78. package/fesm2022/4sh-ui-kit-informative-ui-empty-state.mjs.map +1 -1
  79. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs +4 -4
  80. package/fesm2022/4sh-ui-kit-informative-ui-helper.mjs.map +1 -1
  81. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs +4 -4
  82. package/fesm2022/4sh-ui-kit-informative-ui-progress-bar.mjs.map +1 -1
  83. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs +4 -4
  84. package/fesm2022/4sh-ui-kit-informative-ui-read-only.mjs.map +1 -1
  85. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs +4 -4
  86. package/fesm2022/4sh-ui-kit-informative-ui-separator.mjs.map +1 -1
  87. package/fesm2022/4sh-ui-kit-informative-ui-skeleton.mjs +3 -3
  88. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs +4 -4
  89. package/fesm2022/4sh-ui-kit-informative-ui-spinner.mjs.map +1 -1
  90. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs +4 -4
  91. package/fesm2022/4sh-ui-kit-informative-ui-tag.mjs.map +1 -1
  92. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs +10 -10
  93. package/fesm2022/4sh-ui-kit-informative-ui-toast.mjs.map +1 -1
  94. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs +45 -26
  95. package/fesm2022/4sh-ui-kit-informative-ui-tooltip.mjs.map +1 -1
  96. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs +605 -0
  97. package/fesm2022/4sh-ui-kit-layout-ui-bottom-sheet.mjs.map +1 -0
  98. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs +16 -16
  99. package/fesm2022/4sh-ui-kit-layout-ui-card.mjs.map +1 -1
  100. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs +5 -29
  101. package/fesm2022/4sh-ui-kit-layout-ui-drawer.mjs.map +1 -1
  102. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs +5 -29
  103. package/fesm2022/4sh-ui-kit-layout-ui-modal.mjs.map +1 -1
  104. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs +4 -4
  105. package/fesm2022/4sh-ui-kit-layout-ui-popover.mjs.map +1 -1
  106. package/fesm2022/4sh-ui-kit-motion.mjs +3 -3
  107. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs +12 -12
  108. package/fesm2022/4sh-ui-kit-navigation-ui-bottom-tab-bar.mjs.map +1 -1
  109. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs +4 -4
  110. package/fesm2022/4sh-ui-kit-navigation-ui-breadcrumb.mjs.map +1 -1
  111. package/fesm2022/4sh-ui-kit-navigation-ui-context-menu.mjs +3 -3
  112. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs +4 -4
  113. package/fesm2022/4sh-ui-kit-navigation-ui-menu.mjs.map +1 -1
  114. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs +12 -36
  115. package/fesm2022/4sh-ui-kit-navigation-ui-sidebar.mjs.map +1 -1
  116. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs +22 -22
  117. package/fesm2022/4sh-ui-kit-navigation-ui-stepper.mjs.map +1 -1
  118. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs +20 -20
  119. package/fesm2022/4sh-ui-kit-navigation-ui-tabs.mjs.map +1 -1
  120. package/fesm2022/4sh-ui-kit-overlay.mjs +60 -2
  121. package/fesm2022/4sh-ui-kit-overlay.mjs.map +1 -1
  122. package/fesm2022/4sh-ui-kit-ripple.mjs +9 -9
  123. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs +4 -4
  124. package/fesm2022/4sh-ui-kit-table-ui-paginator.mjs.map +1 -1
  125. package/fesm2022/4sh-ui-kit-table-ui-table.mjs +34 -34
  126. package/fesm2022/4sh-ui-kit-table-ui-table.mjs.map +1 -1
  127. package/fesm2022/4sh-ui-kit-theming.mjs +6 -6
  128. package/mcp/data/text-search-docs.json +486 -66
  129. package/mcp/data/ui-config.json +26605 -12458
  130. package/mcp/package.json +1 -1
  131. package/package.json +13 -1
  132. package/styles/component-vars.scss +1440 -721
  133. package/styles/settings/_ui-config.scss +45 -2
  134. package/styles/utils/_mixins.scss +32 -30
  135. package/styles/utils/_overlay.scss +1 -1
  136. package/types/4sh-ui-kit-base-ui-image.d.ts +151 -6
  137. package/types/4sh-ui-kit-forms-ui-datepicker.d.ts +3 -1
  138. package/types/4sh-ui-kit-forms-ui-input-date.d.ts +110 -0
  139. package/types/4sh-ui-kit-forms-ui-toggle-block.d.ts +114 -0
  140. package/types/4sh-ui-kit-forms.d.ts +43 -1
  141. package/types/4sh-ui-kit-informative-ui-tooltip.d.ts +4 -4
  142. package/types/4sh-ui-kit-layout-ui-bottom-sheet.d.ts +256 -0
  143. package/types/4sh-ui-kit-overlay.d.ts +35 -1
@@ -3,6 +3,63 @@ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
3
  import { Router, NavigationStart } from '@angular/router';
4
4
  import { filter } from 'rxjs';
5
5
 
6
+ /**
7
+ * Background scroll lock shared by every full-screen overlay of the kit
8
+ * (modal, drawer, bottom-sheet, sidebar, image preview).
9
+ *
10
+ * The counter below is module state, so it is only shared as long as every
11
+ * caller resolves to **this** module. That is the whole point of the helper
12
+ * living in a cross-cutting entry point: a copy pasted into a component's own
13
+ * entry point is a separate compilation unit, hence a separate counter, and two
14
+ * overlays from two different entry points then release the body independently
15
+ * — the second one to close restores an `overflow` it captured while already
16
+ * locked, unfreezing the page under the overlay that is still open (or leaving
17
+ * a stale scrollbar gutter once the last one closes).
18
+ *
19
+ * Never re-declare these functions inside a component: import them from
20
+ * `@4sh/ui-kit/overlay`.
21
+ */
22
+ /** Overlays currently holding a lock, process-wide. */
23
+ let scrollLockCount = 0;
24
+ /** `body.style.overflow` as it was before the first lock. */
25
+ let savedOverflow = '';
26
+ /** `body.style.paddingRight` as it was before the first lock. */
27
+ let savedPaddingRight = '';
28
+ /**
29
+ * Freeze background scroll, compensating the scrollbar gutter to avoid a shift.
30
+ *
31
+ * Ref-counted: nested overlays each take a lock, and only the first one touches
32
+ * the body. Every call must be paired with exactly one {@link unlockBodyScroll}
33
+ * — hold the pairing in the caller (a `locked` flag released on close *and* on
34
+ * destroy), since the helper cannot tell one overlay's locks from another's.
35
+ *
36
+ * @param doc The document owning the `body` to freeze (inject `DOCUMENT`).
37
+ */
38
+ function lockBodyScroll(doc) {
39
+ if (scrollLockCount === 0) {
40
+ const body = doc.body;
41
+ const gap = (doc.defaultView?.innerWidth ?? 0) - doc.documentElement.clientWidth;
42
+ savedOverflow = body.style.overflow;
43
+ savedPaddingRight = body.style.paddingRight;
44
+ body.style.overflow = 'hidden';
45
+ if (gap > 0)
46
+ body.style.paddingRight = `${gap}px`;
47
+ }
48
+ scrollLockCount++;
49
+ }
50
+ /**
51
+ * Release one scroll lock; restore the body when the last overlay closes.
52
+ *
53
+ * @param doc The document passed to the matching {@link lockBodyScroll}.
54
+ */
55
+ function unlockBodyScroll(doc) {
56
+ scrollLockCount = Math.max(0, scrollLockCount - 1);
57
+ if (scrollLockCount === 0) {
58
+ doc.body.style.overflow = savedOverflow;
59
+ doc.body.style.paddingRight = savedPaddingRight;
60
+ }
61
+ }
62
+
6
63
  /**
7
64
  * Auto-dismiss shared by every floating panel of the kit (menu, context menu,
8
65
  * popover, select, autocomplete, input-tags, datepicker, tooltip).
@@ -50,12 +107,13 @@ function pathOf(url) {
50
107
  * Public API Surface of ui-kit/overlay
51
108
  *
52
109
  * Helpers shared by the components that open a CDK overlay (select,
53
- * autocomplete, datepicker, menu, popover…).
110
+ * autocomplete, datepicker, menu, popover…) or a full-screen overlay
111
+ * (modal, drawer, bottom-sheet, sidebar, image preview).
54
112
  */
55
113
 
56
114
  /**
57
115
  * Generated bundle index. Do not edit.
58
116
  */
59
117
 
60
- export { closeOnNavigation };
118
+ export { closeOnNavigation, lockBodyScroll, unlockBodyScroll };
61
119
  //# sourceMappingURL=4sh-ui-kit-overlay.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-overlay.mjs","sources":["../../../projects/ui-kit/overlay/src/lib/close-on-navigation.ts","../../../projects/ui-kit/overlay/src/public-api.ts","../../../projects/ui-kit/overlay/src/4sh-ui-kit-overlay.ts"],"sourcesContent":["import { inject } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationStart, Router } from '@angular/router';\nimport { filter } from 'rxjs';\n\n/**\n * Auto-dismiss shared by every floating panel of the kit (menu, context menu,\n * popover, select, autocomplete, input-tags, datepicker, tooltip).\n *\n * A CDK overlay lives in `body`, outside the routed view: it only disappears\n * when its host component is destroyed. A panel whose host survives the\n * navigation — declared in an app shell (header, sidebar, layout) — therefore\n * stays on screen over the next page, and lands in the top-left corner as soon\n * as it is re-positioned, because its anchor left the DOM with the previous\n * page (a detached element measures 0×0 at the viewport origin).\n *\n * Call it from the component's constructor (injection context); the\n * subscription is torn down with the component.\n *\n * ```ts\n * constructor() {\n * closeOnNavigation(() => this.close(false));\n * }\n * ```\n *\n * Only **page** changes dismiss the panel: a navigation that merely rewrites\n * the query string or the fragment (filters, pagination, deep-link state\n * pushed by the panel itself) leaves it open. Without a `Router` in the\n * injector (kit used outside a routed app), this is a no-op.\n *\n * @param close Closing callback — must be idempotent (it may fire on a panel\n * that is already closed) and must not steal focus, the navigation owns it.\n */\nexport function closeOnNavigation(close: () => void): void {\n const router = inject(Router, { optional: true });\n if (!router) return;\n\n router.events\n .pipe(\n filter((event): event is NavigationStart => event instanceof NavigationStart),\n // `router.url` is still the current page while the navigation starts.\n filter((event) => pathOf(event.url) !== pathOf(router.url)),\n takeUntilDestroyed(),\n )\n .subscribe(() => close());\n}\n\n/** Path part of a serialized URL, query string and fragment removed. */\nfunction pathOf(url: string): string {\n return url.split(/[?#]/)[0];\n}\n","/*\n * Public API Surface of ui-kit/overlay\n *\n * Helpers shared by the components that open a CDK overlay (select,\n * autocomplete, datepicker, menu, popover…).\n */\n\nexport * from './lib/close-on-navigation';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BG;AACG,SAAU,iBAAiB,CAAC,KAAiB,EAAA;AACjD,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACjD,IAAA,IAAI,CAAC,MAAM;QAAE;AAEb,IAAA,MAAM,CAAC;SACJ,IAAI,CACH,MAAM,CAAC,CAAC,KAAK,KAA+B,KAAK,YAAY,eAAe,CAAC;;IAE7E,MAAM,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAC3D,kBAAkB,EAAE;AAErB,SAAA,SAAS,CAAC,MAAM,KAAK,EAAE,CAAC;AAC7B;AAEA;AACA,SAAS,MAAM,CAAC,GAAW,EAAA;IACzB,OAAO,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC7B;;AClDA;;;;;AAKG;;ACLH;;AAEG;;"}
1
+ {"version":3,"file":"4sh-ui-kit-overlay.mjs","sources":["../../../projects/ui-kit/overlay/src/lib/body-scroll-lock.ts","../../../projects/ui-kit/overlay/src/lib/close-on-navigation.ts","../../../projects/ui-kit/overlay/src/public-api.ts","../../../projects/ui-kit/overlay/src/4sh-ui-kit-overlay.ts"],"sourcesContent":["/**\n * Background scroll lock shared by every full-screen overlay of the kit\n * (modal, drawer, bottom-sheet, sidebar, image preview).\n *\n * The counter below is module state, so it is only shared as long as every\n * caller resolves to **this** module. That is the whole point of the helper\n * living in a cross-cutting entry point: a copy pasted into a component's own\n * entry point is a separate compilation unit, hence a separate counter, and two\n * overlays from two different entry points then release the body independently\n * — the second one to close restores an `overflow` it captured while already\n * locked, unfreezing the page under the overlay that is still open (or leaving\n * a stale scrollbar gutter once the last one closes).\n *\n * Never re-declare these functions inside a component: import them from\n * `@4sh/ui-kit/overlay`.\n */\n\n/** Overlays currently holding a lock, process-wide. */\nlet scrollLockCount = 0;\n/** `body.style.overflow` as it was before the first lock. */\nlet savedOverflow = '';\n/** `body.style.paddingRight` as it was before the first lock. */\nlet savedPaddingRight = '';\n\n/**\n * Freeze background scroll, compensating the scrollbar gutter to avoid a shift.\n *\n * Ref-counted: nested overlays each take a lock, and only the first one touches\n * the body. Every call must be paired with exactly one {@link unlockBodyScroll}\n * — hold the pairing in the caller (a `locked` flag released on close *and* on\n * destroy), since the helper cannot tell one overlay's locks from another's.\n *\n * @param doc The document owning the `body` to freeze (inject `DOCUMENT`).\n */\nexport function lockBodyScroll(doc: Document): void {\n if (scrollLockCount === 0) {\n const body = doc.body;\n const gap = (doc.defaultView?.innerWidth ?? 0) - doc.documentElement.clientWidth;\n savedOverflow = body.style.overflow;\n savedPaddingRight = body.style.paddingRight;\n body.style.overflow = 'hidden';\n if (gap > 0) body.style.paddingRight = `${gap}px`;\n }\n scrollLockCount++;\n}\n\n/**\n * Release one scroll lock; restore the body when the last overlay closes.\n *\n * @param doc The document passed to the matching {@link lockBodyScroll}.\n */\nexport function unlockBodyScroll(doc: Document): void {\n scrollLockCount = Math.max(0, scrollLockCount - 1);\n if (scrollLockCount === 0) {\n doc.body.style.overflow = savedOverflow;\n doc.body.style.paddingRight = savedPaddingRight;\n }\n}\n","import { inject } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { NavigationStart, Router } from '@angular/router';\nimport { filter } from 'rxjs';\n\n/**\n * Auto-dismiss shared by every floating panel of the kit (menu, context menu,\n * popover, select, autocomplete, input-tags, datepicker, tooltip).\n *\n * A CDK overlay lives in `body`, outside the routed view: it only disappears\n * when its host component is destroyed. A panel whose host survives the\n * navigation — declared in an app shell (header, sidebar, layout) — therefore\n * stays on screen over the next page, and lands in the top-left corner as soon\n * as it is re-positioned, because its anchor left the DOM with the previous\n * page (a detached element measures 0×0 at the viewport origin).\n *\n * Call it from the component's constructor (injection context); the\n * subscription is torn down with the component.\n *\n * ```ts\n * constructor() {\n * closeOnNavigation(() => this.close(false));\n * }\n * ```\n *\n * Only **page** changes dismiss the panel: a navigation that merely rewrites\n * the query string or the fragment (filters, pagination, deep-link state\n * pushed by the panel itself) leaves it open. Without a `Router` in the\n * injector (kit used outside a routed app), this is a no-op.\n *\n * @param close Closing callback — must be idempotent (it may fire on a panel\n * that is already closed) and must not steal focus, the navigation owns it.\n */\nexport function closeOnNavigation(close: () => void): void {\n const router = inject(Router, { optional: true });\n if (!router) return;\n\n router.events\n .pipe(\n filter((event): event is NavigationStart => event instanceof NavigationStart),\n // `router.url` is still the current page while the navigation starts.\n filter((event) => pathOf(event.url) !== pathOf(router.url)),\n takeUntilDestroyed(),\n )\n .subscribe(() => close());\n}\n\n/** Path part of a serialized URL, query string and fragment removed. */\nfunction pathOf(url: string): string {\n return url.split(/[?#]/)[0];\n}\n","/*\n * Public API Surface of ui-kit/overlay\n *\n * Helpers shared by the components that open a CDK overlay (select,\n * autocomplete, datepicker, menu, popover…) or a full-screen overlay\n * (modal, drawer, bottom-sheet, sidebar, image preview).\n */\n\nexport * from './lib/body-scroll-lock';\nexport * from './lib/close-on-navigation';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;;;;;;;AAeG;AAEH;AACA,IAAI,eAAe,GAAG,CAAC;AACvB;AACA,IAAI,aAAa,GAAG,EAAE;AACtB;AACA,IAAI,iBAAiB,GAAG,EAAE;AAE1B;;;;;;;;;AASG;AACG,SAAU,cAAc,CAAC,GAAa,EAAA;AAC1C,IAAA,IAAI,eAAe,KAAK,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,EAAE;AAErB,SAAA,SAAS,CAAC,MAAM,KAAK,EAAE,CAAC;AAC7B;AAEA;AACA,SAAS,MAAM,CAAC,GAAW,EAAA;IACzB,OAAO,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC7B;;AClDA;;;;;;AAMG;;ACNH;;AAEG;;"}
@@ -162,10 +162,10 @@ class UiRippleEngine {
162
162
  return (this.reducedMotion?.matches === true ||
163
163
  this.document.documentElement.dataset['motion'] === 'off');
164
164
  }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRippleEngine, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
166
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRippleEngine, providedIn: 'root' }); }
165
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRippleEngine, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
166
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRippleEngine, providedIn: 'root' }); }
167
167
  }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRippleEngine, decorators: [{
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRippleEngine, decorators: [{
169
169
  type: Injectable,
170
170
  args: [{ providedIn: 'root' }]
171
171
  }], ctorParameters: () => [] });
@@ -226,10 +226,10 @@ class UiRipple {
226
226
  centered: this.rippleCentered(),
227
227
  })));
228
228
  }
229
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRipple, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
230
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiRipple, isStandalone: true, selector: "[uiRipple]", inputs: { enabled: { classPropertyName: "enabled", publicName: "uiRipple", isSignal: true, isRequired: false, transformFunction: null }, rippleCentered: { classPropertyName: "rippleCentered", publicName: "rippleCentered", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-ripple": "enabled() ? null : \"off\"" } }, ngImport: i0 }); }
229
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRipple, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
230
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: UiRipple, isStandalone: true, selector: "[uiRipple]", inputs: { enabled: { classPropertyName: "enabled", publicName: "uiRipple", isSignal: true, isRequired: false, transformFunction: null }, rippleCentered: { classPropertyName: "rippleCentered", publicName: "rippleCentered", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-ripple": "enabled() ? null : \"off\"" } }, ngImport: i0 }); }
231
231
  }
232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRipple, decorators: [{
232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRipple, decorators: [{
233
233
  type: Directive,
234
234
  args: [{
235
235
  selector: '[uiRipple]',
@@ -271,10 +271,10 @@ class UiRippleScope {
271
271
  selector: this.rippleSelector() || engine.defaults.selector,
272
272
  })));
273
273
  }
274
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRippleScope, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
275
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.2", type: UiRippleScope, isStandalone: true, selector: "[uiRippleScope]", inputs: { enabled: { classPropertyName: "enabled", publicName: "uiRippleScope", isSignal: true, isRequired: false, transformFunction: null }, rippleCentered: { classPropertyName: "rippleCentered", publicName: "rippleCentered", isSignal: true, isRequired: false, transformFunction: null }, rippleSelector: { classPropertyName: "rippleSelector", publicName: "rippleSelector", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-ripple": "enabled() ? null : \"off\"" } }, ngImport: i0 }); }
274
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRippleScope, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
275
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "22.1.5", type: UiRippleScope, isStandalone: true, selector: "[uiRippleScope]", inputs: { enabled: { classPropertyName: "enabled", publicName: "uiRippleScope", isSignal: true, isRequired: false, transformFunction: null }, rippleCentered: { classPropertyName: "rippleCentered", publicName: "rippleCentered", isSignal: true, isRequired: false, transformFunction: null }, rippleSelector: { classPropertyName: "rippleSelector", publicName: "rippleSelector", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-ripple": "enabled() ? null : \"off\"" } }, ngImport: i0 }); }
276
276
  }
277
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiRippleScope, decorators: [{
277
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiRippleScope, decorators: [{
278
278
  type: Directive,
279
279
  args: [{
280
280
  selector: '[uiRippleScope]',
@@ -227,12 +227,12 @@ class UiPaginator {
227
227
  pageCount: this.pageCount(),
228
228
  });
229
229
  }
230
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiPaginator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
231
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.2", type: UiPaginator, isStandalone: true, selector: "ui-paginator", inputs: { totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, boundaryCount: { classPropertyName: "boundaryCount", publicName: "boundaryCount", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, pageAriaLabel: { classPropertyName: "pageAriaLabel", publicName: "pageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, firstPageAriaLabel: { classPropertyName: "firstPageAriaLabel", publicName: "firstPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevPageAriaLabel: { classPropertyName: "prevPageAriaLabel", publicName: "prevPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextPageAriaLabel: { classPropertyName: "nextPageAriaLabel", publicName: "nextPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, lastPageAriaLabel: { classPropertyName: "lastPageAriaLabel", publicName: "lastPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageAriaLabel: { classPropertyName: "rowsPerPageAriaLabel", publicName: "rowsPerPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rows: "rowsChange", first: "firstChange", pageChange: "pageChange" }, queries: [{ propertyName: "firstIconTemplate", first: true, predicate: ["firsticon"], descendants: true, isSignal: true }, { propertyName: "prevIconTemplate", first: true, predicate: ["previcon"], descendants: true, isSignal: true }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"], descendants: true, isSignal: true }, { propertyName: "lastIconTemplate", first: true, predicate: ["lasticon"], descendants: true, isSignal: true }, { propertyName: "pageLinkTemplate", first: true, predicate: ["pagelink"], descendants: true, isSignal: true }, { propertyName: "startTemplate", first: true, predicate: ["start"], descendants: true, isSignal: true }, { propertyName: "endTemplate", first: true, predicate: ["end"], descendants: true, isSignal: true }, { propertyName: "reportTemplate", first: true, predicate: ["report"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">&hellip;</span>\n } @else {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ui-paginator-bar-gap, var(--units-2xl));padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--ui-paginator-blocks-gap, var(--units-default))}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-control:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-control:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-control:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:var(--ui-paginator-button-size, 2rem);padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--navigation-high-surface-disabled);color:var(--navigation-high-content-disabled)}.ui-paginator-pages{display:flex;align-items:center;gap:var(--ui-paginator-numbers-gap, var(--units-sm))}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-page:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-page:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-page:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--actions-low-surface-disabled);color:var(--actions-low-content-disabled)}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--navigation-high-surface-active);color:var(--navigation-high-content-active)}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--global-text-muted);font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--global-text-muted);font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);color:var(--navigation-high-content-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "component", type: UiSelect, selector: "ui-select", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "group", "optionGroupLabel", "optionGroupChildren", "dataKey", "multiple", "checkmark", "checkbox", "maxSelectedLabels", "overflowLabel", "placeholder", "showClear", "clearAriaLabel", "icon", "filter", "filterPlaceholder", "filterAriaLabel", "filterBy", "autofocusFilter", "resetFilterOnHide", "ripple", "emptyMessage", "emptyFilterMessage", "editable", "loading", "autoOptionFocus", "selectOnFocus", "focusOnHover", "virtualScroll", "virtualScrollItemSize", "lazy", "scrollHeight", "autoFlip", "panelStyleClass", "panelWidth"], outputs: ["valueChange", "opened", "closed", "cleared", "filterChange", "lazyLoad", "inputFocus", "inputBlur"] }] }); }
230
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiPaginator, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
231
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.5", type: UiPaginator, isStandalone: true, selector: "ui-paginator", inputs: { totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, pageLinks: { classPropertyName: "pageLinks", publicName: "pageLinks", isSignal: true, isRequired: false, transformFunction: null }, ellipsis: { classPropertyName: "ellipsis", publicName: "ellipsis", isSignal: true, isRequired: false, transformFunction: null }, boundaryCount: { classPropertyName: "boundaryCount", publicName: "boundaryCount", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showPageLinks: { classPropertyName: "showPageLinks", publicName: "showPageLinks", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, currentPageReportTemplate: { classPropertyName: "currentPageReportTemplate", publicName: "currentPageReportTemplate", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, ripple: { classPropertyName: "ripple", publicName: "ripple", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, pageAriaLabel: { classPropertyName: "pageAriaLabel", publicName: "pageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, firstPageAriaLabel: { classPropertyName: "firstPageAriaLabel", publicName: "firstPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, prevPageAriaLabel: { classPropertyName: "prevPageAriaLabel", publicName: "prevPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, nextPageAriaLabel: { classPropertyName: "nextPageAriaLabel", publicName: "nextPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, lastPageAriaLabel: { classPropertyName: "lastPageAriaLabel", publicName: "lastPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageAriaLabel: { classPropertyName: "rowsPerPageAriaLabel", publicName: "rowsPerPageAriaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rows: "rowsChange", first: "firstChange", pageChange: "pageChange" }, queries: [{ propertyName: "firstIconTemplate", first: true, predicate: ["firsticon"], descendants: true, isSignal: true }, { propertyName: "prevIconTemplate", first: true, predicate: ["previcon"], descendants: true, isSignal: true }, { propertyName: "nextIconTemplate", first: true, predicate: ["nexticon"], descendants: true, isSignal: true }, { propertyName: "lastIconTemplate", first: true, predicate: ["lasticon"], descendants: true, isSignal: true }, { propertyName: "pageLinkTemplate", first: true, predicate: ["pagelink"], descendants: true, isSignal: true }, { propertyName: "startTemplate", first: true, predicate: ["start"], descendants: true, isSignal: true }, { propertyName: "endTemplate", first: true, predicate: ["end"], descendants: true, isSignal: true }, { propertyName: "reportTemplate", first: true, predicate: ["report"], descendants: true, isSignal: true }], ngImport: i0, template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">&hellip;</span>\n } @else {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ui-paginator-bar-gap, var(--units-2xl));padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--ui-paginator-blocks-gap, var(--units-default))}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-control:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-control:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, var(--navigation-high-content-focused));box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-control:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, var(--navigation-high-content-pressed))}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:var(--ui-paginator-button-size, 2rem);padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--ui-paginator-control-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-paginator-control-color-disabled, var(--navigation-high-content-disabled))}.ui-paginator-pages{display:flex;align-items:center;gap:var(--ui-paginator-numbers-gap, var(--units-sm))}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-page:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-page:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, var(--navigation-high-content-focused));box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-page:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, var(--navigation-high-content-pressed))}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--ui-paginator-page-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-paginator-page-color-disabled, var(--actions-low-content-disabled))}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--ui-paginator-page-surface-current, var(--navigation-high-surface-active));color:var(--ui-paginator-page-color-current, var(--navigation-high-content-active))}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--ui-paginator-report-color, var(--global-text-muted));font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--ui-paginator-slot-color, var(--global-text-muted));font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);color:var(--ui-paginator-ellipsis-color, var(--navigation-high-content-default));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));-webkit-user-select:none;user-select:none}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: UiIcon, selector: "ui-icon", inputs: ["name", "size", "type", "family", "decorative", "ariaLabel"] }, { kind: "component", type: UiSelect, selector: "ui-select", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "group", "optionGroupLabel", "optionGroupChildren", "dataKey", "multiple", "checkmark", "checkbox", "maxSelectedLabels", "overflowLabel", "placeholder", "showClear", "clearAriaLabel", "icon", "filter", "filterPlaceholder", "filterAriaLabel", "filterBy", "autofocusFilter", "resetFilterOnHide", "ripple", "emptyMessage", "emptyFilterMessage", "editable", "loading", "autoOptionFocus", "selectOnFocus", "focusOnHover", "virtualScroll", "virtualScrollItemSize", "lazy", "scrollHeight", "autoFlip", "panelStyleClass", "panelWidth"], outputs: ["valueChange", "opened", "closed", "cleared", "filterChange", "lazyLoad", "inputFocus", "inputBlur"] }] }); }
232
232
  }
233
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.2", ngImport: i0, type: UiPaginator, decorators: [{
233
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImport: i0, type: UiPaginator, decorators: [{
234
234
  type: Component,
235
- args: [{ selector: 'ui-paginator', imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect], template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">&hellip;</span>\n } @else {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ui-paginator-bar-gap, var(--units-2xl));padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--ui-paginator-blocks-gap, var(--units-default))}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-control:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-control:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-control:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:var(--ui-paginator-button-size, 2rem);padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--navigation-high-surface-disabled);color:var(--navigation-high-content-disabled)}.ui-paginator-pages{display:flex;align-items:center;gap:var(--ui-paginator-numbers-gap, var(--units-sm))}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--navigation-high-surface-default);color:var(--navigation-high-content-default);font-family:var(--fontfamily-base);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-page:hover:not(:disabled){background-color:var(--navigation-high-surface-hover);color:var(--navigation-high-content-hover)}.ui-paginator-page:focus-visible{outline:none;background-color:var(--navigation-high-surface-focused);color:var(--navigation-high-content-focused);box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--navigation-high-stroke-focused)}.ui-paginator-page:active:not(:disabled){background-color:var(--navigation-high-surface-pressed);color:var(--navigation-high-content-pressed)}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--actions-low-surface-disabled);color:var(--actions-low-content-disabled)}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--navigation-high-surface-active);color:var(--navigation-high-content-active)}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--global-text-muted);font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--global-text-muted);font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);color:var(--navigation-high-content-default);font-size:var(--size-typography-text-md);font-weight:var(--weight-bold);-webkit-user-select:none;user-select:none}\n"] }]
235
+ args: [{ selector: 'ui-paginator', imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect], template: "<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">&hellip;</span>\n } @else {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n", styles: [".ui-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:var(--ui-paginator-bar-gap, var(--units-2xl));padding:var(--units-default)}.ui-paginator-content{display:flex;align-items:center;gap:var(--ui-paginator-blocks-gap, var(--units-default))}.ui-paginator-control{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-control:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-control:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, var(--navigation-high-content-focused));box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-control:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, var(--navigation-high-content-pressed))}.ui-paginator-control:disabled{cursor:not-allowed}.ui-paginator-control{width:var(--ui-paginator-button-size, 2rem);padding:0 var(--units-sm)}.ui-paginator-control:disabled{background-color:var(--ui-paginator-control-surface-disabled, var(--navigation-high-surface-disabled));color:var(--ui-paginator-control-color-disabled, var(--navigation-high-content-disabled))}.ui-paginator-pages{display:flex;align-items:center;gap:var(--ui-paginator-numbers-gap, var(--units-sm))}.ui-paginator-page{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);border:none;border-radius:var(--ui-paginator-button-radius, var(--radius-default));background-color:var(--ui-paginator-button-surface, var(--navigation-high-surface-default));color:var(--ui-paginator-button-color, var(--navigation-high-content-default));font-family:var(--ui-paginator-font-family, var(--fontfamily-base));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),color var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout)),box-shadow var(--ui-control-transition-duration, var(--transition-default)) var(--ui-control-transition-easing, var(--transition-easeinout))}.ui-paginator-page:hover:not(:disabled){background-color:var(--ui-paginator-button-surface-hover, var(--navigation-high-surface-hover));color:var(--ui-paginator-button-color-hover, var(--navigation-high-content-hover))}.ui-paginator-page:focus-visible{outline:none;background-color:var(--ui-paginator-button-surface-focus, var(--navigation-high-surface-focused));color:var(--ui-paginator-button-color-focus, var(--navigation-high-content-focused));box-shadow:0 0 0 var(--ui-paginator-focus-ring-width, var(--ui-focus-ring-width, var(--units-2xs))) var(--ui-paginator-button-focus-ring-color, var(--navigation-high-stroke-focused))}.ui-paginator-page:active:not(:disabled){background-color:var(--ui-paginator-button-surface-pressed, var(--navigation-high-surface-pressed));color:var(--ui-paginator-button-color-pressed, var(--navigation-high-content-pressed))}.ui-paginator-page:disabled{cursor:not-allowed}.ui-paginator-page{padding:0 var(--units-md)}.ui-paginator-page:disabled{background-color:var(--ui-paginator-page-surface-disabled, var(--actions-low-surface-disabled));color:var(--ui-paginator-page-color-disabled, var(--actions-low-content-disabled))}.ui-paginator-page._current,.ui-paginator-page._current:hover:not(:disabled),.ui-paginator-page._current:focus-visible,.ui-paginator-page._current:active:not(:disabled),.ui-paginator-page._current:disabled{background-color:var(--ui-paginator-page-surface-current, var(--navigation-high-surface-active));color:var(--ui-paginator-page-color-current, var(--navigation-high-content-active))}.ui-paginator-report{display:inline-flex;align-items:center;color:var(--ui-paginator-report-color, var(--global-text-muted));font-size:var(--size-typography-text-md);white-space:nowrap}.ui-paginator-start,.ui-paginator-end{display:inline-flex;align-items:center;gap:var(--units-sm);color:var(--ui-paginator-slot-color, var(--global-text-muted));font-size:var(--size-typography-text-md)}.ui-paginator-ellipsis{display:inline-flex;align-items:center;justify-content:center;height:var(--ui-paginator-button-size, 2rem);min-width:var(--ui-paginator-button-size, 2rem);color:var(--ui-paginator-ellipsis-color, var(--navigation-high-content-default));font-size:var(--size-typography-text-md);font-weight:var(--ui-paginator-weight, var(--weight-bold));-webkit-user-select:none;user-select:none}\n"] }]
236
236
  }], propDecorators: { totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }, { type: i0.Output, args: ["rowsChange"] }], first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }, { type: i0.Output, args: ["firstChange"] }], pageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinks", required: false }] }], ellipsis: [{ type: i0.Input, args: [{ isSignal: true, alias: "ellipsis", required: false }] }], boundaryCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "boundaryCount", required: false }] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], showFirstLastIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFirstLastIcon", required: false }] }], showPageLinks: [{ type: i0.Input, args: [{ isSignal: true, alias: "showPageLinks", required: false }] }], showCurrentPageReport: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentPageReport", required: false }] }], currentPageReportTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPageReportTemplate", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], ripple: [{ type: i0.Input, args: [{ isSignal: true, alias: "ripple", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], pageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageAriaLabel", required: false }] }], firstPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "firstPageAriaLabel", required: false }] }], prevPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "prevPageAriaLabel", required: false }] }], nextPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "nextPageAriaLabel", required: false }] }], lastPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "lastPageAriaLabel", required: false }] }], rowsPerPageAriaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageAriaLabel", required: false }] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }], firstIconTemplate: [{ type: i0.ContentChild, args: ['firsticon', { isSignal: true }] }], prevIconTemplate: [{ type: i0.ContentChild, args: ['previcon', { isSignal: true }] }], nextIconTemplate: [{ type: i0.ContentChild, args: ['nexticon', { isSignal: true }] }], lastIconTemplate: [{ type: i0.ContentChild, args: ['lasticon', { isSignal: true }] }], pageLinkTemplate: [{ type: i0.ContentChild, args: ['pagelink', { isSignal: true }] }], startTemplate: [{ type: i0.ContentChild, args: ['start', { isSignal: true }] }], endTemplate: [{ type: i0.ContentChild, args: ['end', { isSignal: true }] }], reportTemplate: [{ type: i0.ContentChild, args: ['report', { isSignal: true }] }] } });
237
237
 
238
238
  /*
@@ -1 +1 @@
1
- {"version":3,"file":"4sh-ui-kit-table-ui-paginator.mjs","sources":["../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.ts","../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.html","../../../projects/ui-kit/table/ui-paginator/src/public-api.ts","../../../projects/ui-kit/table/ui-paginator/src/4sh-ui-kit-table-ui-paginator.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n input,\n linkedSignal,\n model,\n numberAttribute,\n output,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiSelect } from '@4sh/ui-kit/forms/ui-select';\n\n/** Payload of `pageChange`. */\nexport interface UiPaginatorPageEvent {\n /** Index of the first row of the page. */\n first: number;\n /** Rows per page. */\n rows: number;\n /** Zero-based page index. */\n page: number;\n pageCount: number;\n}\n\n/** Context handed to the `#pagelink` template. */\nexport interface UiPaginatorPageLinkContext {\n /** One-based page number (display value). */\n $implicit: number;\n /** Zero-based page index. */\n page: number;\n /** True for the current page. */\n active: boolean;\n}\n\n/** Pagination snapshot handed to the `#start` / `#end` / `#report` templates. */\nexport interface UiPaginatorState {\n /** One-based index of the first displayed row (0 when empty). */\n first: number;\n /** One-based index of the last displayed row. */\n last: number;\n rows: number;\n /** Zero-based current page. */\n page: number;\n pageCount: number;\n totalRecords: number;\n}\n\n/** @ignore Sentinel used in the page-item list to mark an ellipsis gap. */\nconst ELLIPSIS = -1;\n\n/**\n * ui-paginator — standalone pagination bar.\n *\n * Faithful to the Figma `ui-paginator` component: native `<button>` controls\n * and page numbers styled straight with the `actions.low` tokens (current\n * page in `actions.high`), 40px squircles (`--radius-default`), `ui-icon`\n * chevrons, plus an `ui-select` rows-per-page choice. Used by `ui-table`,\n * works standalone over any collection: bind `totalRecords`, `rows` and the\n * two-way `first`.\n *\n * With `ellipsis`, long page lists collapse to `1 2 3 … 30 31 32`\n * (`boundaryCount` pages on each edge + the current page neighborhood).\n * The control icons and the page-link content are overridable via the\n * `#firsticon` / `#previcon` / `#nexticon` / `#lasticon` / `#pagelink`\n * templates.\n */\n@Component({\n selector: 'ui-paginator',\n imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect],\n templateUrl: './ui-paginator.html',\n styleUrl: './ui-paginator.scss',\n})\nexport class UiPaginator {\n /** Total number of rows across all pages. */\n totalRecords = input(0, { transform: numberAttribute });\n /** Rows per page. Two-way bindable (updated by the rows-per-page select). */\n rows = model(10);\n /** Index of the first displayed row. Two-way bindable (programmatic pagination). */\n first = model(0);\n /** Maximum number of page-number buttons (windowed mode, without `ellipsis`). */\n pageLinks = input(5, { transform: numberAttribute });\n /** Compact mode: `1 2 3 … 30 31 32` — edges + current-page neighborhood, `…` in the gaps. */\n ellipsis = input(false, { transform: booleanAttribute });\n /** Pages always shown on each edge in `ellipsis` mode. */\n boundaryCount = input(3, { transform: numberAttribute });\n /** Choices offered in the rows-per-page select (omit to hide it — Figma `selectPage`). */\n rowsPerPageOptions = input<number[]>();\n /** Shows the \"first page\" / \"last page\" edge controls. */\n showFirstLastIcon = input(true, { transform: booleanAttribute });\n /** Shows the page-number buttons (disable for a compact prev/next bar). */\n showPageLinks = input(true, { transform: booleanAttribute });\n /** Shows the current-page report (e.g. `1 - 10 sur 120`). */\n showCurrentPageReport = input(false, { transform: booleanAttribute });\n /** Report pattern — placeholders: `{first}` `{last}` `{rows}` `{page}` `{pageCount}` `{totalRecords}`. */\n currentPageReportTemplate = input<string>('{first} - {last} sur {totalRecords}');\n /** Disables every control. */\n disabled = input(false, { transform: booleanAttribute });\n /** Ripple Effect */\n ripple = input(true, { transform: booleanAttribute });\n /** Accessible name of the navigation landmark. */\n ariaLabel = input<string>('Pagination');\n /** Accessible name pattern of a page button (`{page}` is replaced). */\n pageAriaLabel = input<string>('Page {page}');\n /** Accessible names of the edge / step controls. */\n firstPageAriaLabel = input<string>('Première page');\n prevPageAriaLabel = input<string>('Page précédente');\n nextPageAriaLabel = input<string>('Page suivante');\n lastPageAriaLabel = input<string>('Dernière page');\n /** Accessible name of the rows-per-page select. */\n rowsPerPageAriaLabel = input<string>('Lignes par page');\n\n /** Emitted on any pagination change (navigation or rows-per-page). */\n pageChange = output<UiPaginatorPageEvent>();\n\n // --- Templates (projected) — override the default content of each element.\n /** @ignore Icon of the \"first page\" control. */\n protected readonly firstIconTemplate = contentChild<TemplateRef<unknown>>('firsticon');\n /** @ignore Icon of the \"previous page\" control. */\n protected readonly prevIconTemplate = contentChild<TemplateRef<unknown>>('previcon');\n /** @ignore Icon of the \"next page\" control. */\n protected readonly nextIconTemplate = contentChild<TemplateRef<unknown>>('nexticon');\n /** @ignore Icon of the \"last page\" control. */\n protected readonly lastIconTemplate = contentChild<TemplateRef<unknown>>('lasticon');\n /** @ignore Content of a page-number button (context: number, page, active). */\n protected readonly pageLinkTemplate =\n contentChild<TemplateRef<UiPaginatorPageLinkContext>>('pagelink');\n /** @ignore Free content rendered before the controls (context: pagination state). */\n protected readonly startTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('start');\n /** @ignore Free content rendered after the rows-per-page select (context: pagination state). */\n protected readonly endTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('end');\n /** @ignore Rich current-page report (overrides `currentPageReportTemplate`). */\n protected readonly reportTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('report');\n\n /** @ignore Exposes the ellipsis sentinel to the template. */\n protected readonly ELLIPSIS = ELLIPSIS;\n\n /** @ignore Rows-per-page kept locally so the select can drive it. */\n protected readonly rowsState = linkedSignal(() => Math.max(1, this.rows()));\n\n /** @ignore */\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / this.rowsState())),\n );\n /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */\n protected readonly clampedFirst = computed(() => {\n const maxFirst = (this.pageCount() - 1) * this.rowsState();\n return Math.min(Math.max(0, this.first()), maxFirst);\n });\n /** @ignore Zero-based current page. */\n protected readonly currentPage = computed(() =>\n Math.floor(this.clampedFirst() / this.rowsState()),\n );\n\n /** @ignore Page items to render: zero-based page indexes, `ELLIPSIS` for a gap. */\n protected readonly pageItems = computed<number[]>(() => {\n const count = this.pageCount();\n const current = this.currentPage();\n\n if (!this.ellipsis()) {\n // Windowed mode: `pageLinks` numbers centered on the current page.\n const visible = Math.min(this.pageLinks(), count);\n const start = Math.max(0, Math.min(current - Math.floor(visible / 2), count - visible));\n return Array.from({ length: visible }, (_, i) => start + i);\n }\n\n // Compact mode: edges + current neighborhood, ellipsis in the gaps.\n const boundary = Math.max(1, this.boundaryCount());\n const pages = new Set<number>();\n for (let i = 0; i < Math.min(boundary, count); i++) pages.add(i);\n for (let i = Math.max(0, current - 1); i <= Math.min(count - 1, current + 1); i++) pages.add(i);\n for (let i = Math.max(0, count - boundary); i < count; i++) pages.add(i);\n\n const sorted = [...pages].sort((a, b) => a - b);\n const items: number[] = [];\n let previous: number | null = null;\n for (const page of sorted) {\n if (previous != null) {\n // A single missing page is cheaper to show than an ellipsis.\n if (page - previous === 2) items.push(previous + 1);\n else if (page - previous > 2) items.push(ELLIPSIS);\n }\n items.push(page);\n previous = page;\n }\n return items;\n });\n\n /** @ignore Pagination snapshot (templates + report placeholders). */\n protected readonly state = computed<UiPaginatorState>(() => {\n const total = this.totalRecords();\n const rows = this.rowsState();\n const first = this.clampedFirst();\n return {\n first: total === 0 ? 0 : first + 1,\n last: Math.min(first + rows, total),\n rows,\n page: this.currentPage(),\n pageCount: this.pageCount(),\n totalRecords: total,\n };\n });\n\n /** @ignore Context shared by the #start / #end / #report templates. */\n protected readonly stateContext = computed(() => ({ $implicit: this.state() }));\n\n /** @ignore Report pattern with its placeholders resolved. */\n protected readonly reportText = computed(() => {\n const state = this.state();\n return this.currentPageReportTemplate()\n .replace('{first}', String(state.first))\n .replace('{last}', String(state.last))\n .replace('{rows}', String(state.rows))\n .replace('{page}', String(state.page + 1))\n .replace('{pageCount}', String(state.pageCount))\n .replace('{totalRecords}', String(state.totalRecords));\n });\n\n /** @ignore */\n protected readonly isFirstPage = computed(() => this.currentPage() === 0);\n /** @ignore */\n protected readonly isLastPage = computed(() => this.currentPage() >= this.pageCount() - 1);\n\n /** @ignore */\n protected goToPage(page: number): void {\n const target = Math.min(Math.max(0, page), this.pageCount() - 1);\n const first = target * this.rowsState();\n if (first === this.first()) return;\n this.first.set(first);\n this.emitPage();\n }\n\n /** @ignore */\n protected onRowsPerPageChange(rows: unknown): void {\n const value = Number(rows);\n if (!Number.isFinite(value) || value <= 0 || value === this.rowsState()) return;\n this.rowsState.set(value);\n this.rows.set(value);\n this.first.set(0);\n this.emitPage();\n }\n\n /** @ignore */\n protected pageLabel(page: number): string {\n return this.pageAriaLabel().replace('{page}', String(page + 1));\n }\n\n /** @ignore */\n protected pageLinkContext(page: number): UiPaginatorPageLinkContext {\n return { $implicit: page + 1, page, active: page === this.currentPage() };\n }\n\n /** @ignore */\n private emitPage(): void {\n this.pageChange.emit({\n first: this.clampedFirst(),\n rows: this.rowsState(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">&hellip;</span>\n } @else {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n","/*\n * Public API Surface of ui-kit/ui-paginator\n */\n\nexport * from './lib/ui-paginator';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAmDA;AACA,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;AAeG;MAOU,WAAW,CAAA;AANxB,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,CAAC,oFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE;iFAAC;;QAEhB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC;kFAAC;;QAEhB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,CAAC,iFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QAExD,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,CAAC,qFAAI,SAAS,EAAE,eAAe,E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;"}
1
+ {"version":3,"file":"4sh-ui-kit-table-ui-paginator.mjs","sources":["../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.ts","../../../projects/ui-kit/table/ui-paginator/src/lib/ui-paginator.html","../../../projects/ui-kit/table/ui-paginator/src/public-api.ts","../../../projects/ui-kit/table/ui-paginator/src/4sh-ui-kit-table-ui-paginator.ts"],"sourcesContent":["import {\n booleanAttribute,\n Component,\n computed,\n contentChild,\n input,\n linkedSignal,\n model,\n numberAttribute,\n output,\n TemplateRef,\n} from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { UiIcon } from '@4sh/ui-kit/base/ui-icon';\nimport { UiSelect } from '@4sh/ui-kit/forms/ui-select';\n\n/** Payload of `pageChange`. */\nexport interface UiPaginatorPageEvent {\n /** Index of the first row of the page. */\n first: number;\n /** Rows per page. */\n rows: number;\n /** Zero-based page index. */\n page: number;\n pageCount: number;\n}\n\n/** Context handed to the `#pagelink` template. */\nexport interface UiPaginatorPageLinkContext {\n /** One-based page number (display value). */\n $implicit: number;\n /** Zero-based page index. */\n page: number;\n /** True for the current page. */\n active: boolean;\n}\n\n/** Pagination snapshot handed to the `#start` / `#end` / `#report` templates. */\nexport interface UiPaginatorState {\n /** One-based index of the first displayed row (0 when empty). */\n first: number;\n /** One-based index of the last displayed row. */\n last: number;\n rows: number;\n /** Zero-based current page. */\n page: number;\n pageCount: number;\n totalRecords: number;\n}\n\n/** @ignore Sentinel used in the page-item list to mark an ellipsis gap. */\nconst ELLIPSIS = -1;\n\n/**\n * ui-paginator — standalone pagination bar.\n *\n * Faithful to the Figma `ui-paginator` component: native `<button>` controls\n * and page numbers styled straight with the `actions.low` tokens (current\n * page in `actions.high`), 40px squircles (`--radius-default`), `ui-icon`\n * chevrons, plus an `ui-select` rows-per-page choice. Used by `ui-table`,\n * works standalone over any collection: bind `totalRecords`, `rows` and the\n * two-way `first`.\n *\n * With `ellipsis`, long page lists collapse to `1 2 3 … 30 31 32`\n * (`boundaryCount` pages on each edge + the current page neighborhood).\n * The control icons and the page-link content are overridable via the\n * `#firsticon` / `#previcon` / `#nexticon` / `#lasticon` / `#pagelink`\n * templates.\n */\n@Component({\n selector: 'ui-paginator',\n imports: [NgTemplateOutlet, FormsModule, UiIcon, UiSelect],\n templateUrl: './ui-paginator.html',\n styleUrl: './ui-paginator.scss',\n})\nexport class UiPaginator {\n /** Total number of rows across all pages. */\n totalRecords = input(0, { transform: numberAttribute });\n /** Rows per page. Two-way bindable (updated by the rows-per-page select). */\n rows = model(10);\n /** Index of the first displayed row. Two-way bindable (programmatic pagination). */\n first = model(0);\n /** Maximum number of page-number buttons (windowed mode, without `ellipsis`). */\n pageLinks = input(5, { transform: numberAttribute });\n /** Compact mode: `1 2 3 … 30 31 32` — edges + current-page neighborhood, `…` in the gaps. */\n ellipsis = input(false, { transform: booleanAttribute });\n /** Pages always shown on each edge in `ellipsis` mode. */\n boundaryCount = input(3, { transform: numberAttribute });\n /** Choices offered in the rows-per-page select (omit to hide it — Figma `selectPage`). */\n rowsPerPageOptions = input<number[]>();\n /** Shows the \"first page\" / \"last page\" edge controls. */\n showFirstLastIcon = input(true, { transform: booleanAttribute });\n /** Shows the page-number buttons (disable for a compact prev/next bar). */\n showPageLinks = input(true, { transform: booleanAttribute });\n /** Shows the current-page report (e.g. `1 - 10 sur 120`). */\n showCurrentPageReport = input(false, { transform: booleanAttribute });\n /** Report pattern — placeholders: `{first}` `{last}` `{rows}` `{page}` `{pageCount}` `{totalRecords}`. */\n currentPageReportTemplate = input<string>('{first} - {last} sur {totalRecords}');\n /** Disables every control. */\n disabled = input(false, { transform: booleanAttribute });\n /** Ripple Effect */\n ripple = input(true, { transform: booleanAttribute });\n /** Accessible name of the navigation landmark. */\n ariaLabel = input<string>('Pagination');\n /** Accessible name pattern of a page button (`{page}` is replaced). */\n pageAriaLabel = input<string>('Page {page}');\n /** Accessible names of the edge / step controls. */\n firstPageAriaLabel = input<string>('Première page');\n prevPageAriaLabel = input<string>('Page précédente');\n nextPageAriaLabel = input<string>('Page suivante');\n lastPageAriaLabel = input<string>('Dernière page');\n /** Accessible name of the rows-per-page select. */\n rowsPerPageAriaLabel = input<string>('Lignes par page');\n\n /** Emitted on any pagination change (navigation or rows-per-page). */\n pageChange = output<UiPaginatorPageEvent>();\n\n // --- Templates (projected) — override the default content of each element.\n /** @ignore Icon of the \"first page\" control. */\n protected readonly firstIconTemplate = contentChild<TemplateRef<unknown>>('firsticon');\n /** @ignore Icon of the \"previous page\" control. */\n protected readonly prevIconTemplate = contentChild<TemplateRef<unknown>>('previcon');\n /** @ignore Icon of the \"next page\" control. */\n protected readonly nextIconTemplate = contentChild<TemplateRef<unknown>>('nexticon');\n /** @ignore Icon of the \"last page\" control. */\n protected readonly lastIconTemplate = contentChild<TemplateRef<unknown>>('lasticon');\n /** @ignore Content of a page-number button (context: number, page, active). */\n protected readonly pageLinkTemplate =\n contentChild<TemplateRef<UiPaginatorPageLinkContext>>('pagelink');\n /** @ignore Free content rendered before the controls (context: pagination state). */\n protected readonly startTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('start');\n /** @ignore Free content rendered after the rows-per-page select (context: pagination state). */\n protected readonly endTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('end');\n /** @ignore Rich current-page report (overrides `currentPageReportTemplate`). */\n protected readonly reportTemplate =\n contentChild<TemplateRef<{ $implicit: UiPaginatorState }>>('report');\n\n /** @ignore Exposes the ellipsis sentinel to the template. */\n protected readonly ELLIPSIS = ELLIPSIS;\n\n /** @ignore Rows-per-page kept locally so the select can drive it. */\n protected readonly rowsState = linkedSignal(() => Math.max(1, this.rows()));\n\n /** @ignore */\n protected readonly pageCount = computed(() =>\n Math.max(1, Math.ceil(this.totalRecords() / this.rowsState())),\n );\n /** @ignore `first` clamped to the dataset (data may shrink under the cursor). */\n protected readonly clampedFirst = computed(() => {\n const maxFirst = (this.pageCount() - 1) * this.rowsState();\n return Math.min(Math.max(0, this.first()), maxFirst);\n });\n /** @ignore Zero-based current page. */\n protected readonly currentPage = computed(() =>\n Math.floor(this.clampedFirst() / this.rowsState()),\n );\n\n /** @ignore Page items to render: zero-based page indexes, `ELLIPSIS` for a gap. */\n protected readonly pageItems = computed<number[]>(() => {\n const count = this.pageCount();\n const current = this.currentPage();\n\n if (!this.ellipsis()) {\n // Windowed mode: `pageLinks` numbers centered on the current page.\n const visible = Math.min(this.pageLinks(), count);\n const start = Math.max(0, Math.min(current - Math.floor(visible / 2), count - visible));\n return Array.from({ length: visible }, (_, i) => start + i);\n }\n\n // Compact mode: edges + current neighborhood, ellipsis in the gaps.\n const boundary = Math.max(1, this.boundaryCount());\n const pages = new Set<number>();\n for (let i = 0; i < Math.min(boundary, count); i++) pages.add(i);\n for (let i = Math.max(0, current - 1); i <= Math.min(count - 1, current + 1); i++) pages.add(i);\n for (let i = Math.max(0, count - boundary); i < count; i++) pages.add(i);\n\n const sorted = [...pages].sort((a, b) => a - b);\n const items: number[] = [];\n let previous: number | null = null;\n for (const page of sorted) {\n if (previous != null) {\n // A single missing page is cheaper to show than an ellipsis.\n if (page - previous === 2) items.push(previous + 1);\n else if (page - previous > 2) items.push(ELLIPSIS);\n }\n items.push(page);\n previous = page;\n }\n return items;\n });\n\n /** @ignore Pagination snapshot (templates + report placeholders). */\n protected readonly state = computed<UiPaginatorState>(() => {\n const total = this.totalRecords();\n const rows = this.rowsState();\n const first = this.clampedFirst();\n return {\n first: total === 0 ? 0 : first + 1,\n last: Math.min(first + rows, total),\n rows,\n page: this.currentPage(),\n pageCount: this.pageCount(),\n totalRecords: total,\n };\n });\n\n /** @ignore Context shared by the #start / #end / #report templates. */\n protected readonly stateContext = computed(() => ({ $implicit: this.state() }));\n\n /** @ignore Report pattern with its placeholders resolved. */\n protected readonly reportText = computed(() => {\n const state = this.state();\n return this.currentPageReportTemplate()\n .replace('{first}', String(state.first))\n .replace('{last}', String(state.last))\n .replace('{rows}', String(state.rows))\n .replace('{page}', String(state.page + 1))\n .replace('{pageCount}', String(state.pageCount))\n .replace('{totalRecords}', String(state.totalRecords));\n });\n\n /** @ignore */\n protected readonly isFirstPage = computed(() => this.currentPage() === 0);\n /** @ignore */\n protected readonly isLastPage = computed(() => this.currentPage() >= this.pageCount() - 1);\n\n /** @ignore */\n protected goToPage(page: number): void {\n const target = Math.min(Math.max(0, page), this.pageCount() - 1);\n const first = target * this.rowsState();\n if (first === this.first()) return;\n this.first.set(first);\n this.emitPage();\n }\n\n /** @ignore */\n protected onRowsPerPageChange(rows: unknown): void {\n const value = Number(rows);\n if (!Number.isFinite(value) || value <= 0 || value === this.rowsState()) return;\n this.rowsState.set(value);\n this.rows.set(value);\n this.first.set(0);\n this.emitPage();\n }\n\n /** @ignore */\n protected pageLabel(page: number): string {\n return this.pageAriaLabel().replace('{page}', String(page + 1));\n }\n\n /** @ignore */\n protected pageLinkContext(page: number): UiPaginatorPageLinkContext {\n return { $implicit: page + 1, page, active: page === this.currentPage() };\n }\n\n /** @ignore */\n private emitPage(): void {\n this.pageChange.emit({\n first: this.clampedFirst(),\n rows: this.rowsState(),\n page: this.currentPage(),\n pageCount: this.pageCount(),\n });\n }\n}\n","<nav class=\"ui-paginator\" [attr.aria-label]=\"ariaLabel()\">\n @if (startTemplate(); as tpl) {\n <div class=\"ui-paginator-start\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n\n <div class=\"ui-paginator-content\">\n @if (showCurrentPageReport()) {\n <span class=\"ui-paginator-report\">\n @if (reportTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n } @else {\n {{ reportText() }}\n }\n </span>\n }\n\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"firstPageAriaLabel()\"\n (click)=\"goToPage(0)\"\n >\n @if (firstIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-left\" size=\"sm\" />\n }\n </button>\n }\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isFirstPage()\"\n [attr.aria-label]=\"prevPageAriaLabel()\"\n (click)=\"goToPage(currentPage() - 1)\"\n >\n @if (prevIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-left\" size=\"sm\" />\n }\n </button>\n\n @if (showPageLinks()) {\n <div class=\"ui-paginator-pages\">\n @for (item of pageItems(); track $index) {\n @if (item === ELLIPSIS) {\n <span class=\"ui-paginator-ellipsis\" aria-hidden=\"true\">&hellip;</span>\n } @else {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-page\"\n [class._current]=\"item === currentPage()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"pageLabel(item)\"\n [attr.aria-current]=\"item === currentPage() ? 'page' : null\"\n (click)=\"goToPage(item)\"\n >\n @if (pageLinkTemplate(); as tpl) {\n <ng-container\n [ngTemplateOutlet]=\"tpl\"\n [ngTemplateOutletContext]=\"pageLinkContext(item)\"\n />\n } @else {\n {{ item + 1 }}\n }\n </button>\n }\n }\n </div>\n }\n\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"nextPageAriaLabel()\"\n (click)=\"goToPage(currentPage() + 1)\"\n >\n @if (nextIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"chevron-right\" size=\"sm\" />\n }\n </button>\n @if (showFirstLastIcon()) {\n <button\n type=\"button\"\n [attr.data-ripple]=\"ripple() ? 'on' : 'off'\"\n class=\"ui-paginator-control\"\n [disabled]=\"disabled() || isLastPage()\"\n [attr.aria-label]=\"lastPageAriaLabel()\"\n (click)=\"goToPage(pageCount() - 1)\"\n >\n @if (lastIconTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n <ui-icon name=\"angles-right\" size=\"sm\" />\n }\n </button>\n }\n </div>\n\n @if (rowsPerPageOptions()?.length) {\n <div class=\"ui-paginator-rows\">\n <ui-select\n size=\"small\"\n [options]=\"rowsPerPageOptions()!\"\n [ngModel]=\"rowsState()\"\n [disabled]=\"disabled()\"\n [ariaLabel]=\"rowsPerPageAriaLabel()\"\n (valueChange)=\"onRowsPerPageChange($event)\"\n />\n </div>\n }\n\n @if (endTemplate(); as tpl) {\n <div class=\"ui-paginator-end\">\n <ng-container [ngTemplateOutlet]=\"tpl\" [ngTemplateOutletContext]=\"stateContext()\" />\n </div>\n }\n</nav>\n","/*\n * Public API Surface of ui-kit/ui-paginator\n */\n\nexport * from './lib/ui-paginator';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAmDA;AACA,MAAM,QAAQ,GAAG,CAAC,CAAC;AAEnB;;;;;;;;;;;;;;;AAeG;MAOU,WAAW,CAAA;AANxB,IAAA,WAAA,GAAA;;QAQE,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,CAAC,oFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEvD,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,EAAE;iFAAC;;QAEhB,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,CAAC;kFAAC;;QAEhB,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,CAAC,iFAAI,SAAS,EAAE,eAAe,EAAA,CAAG;;QAEpD,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;;QA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