@frame-ui-ng/components 0.1.0-beta.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 (249) hide show
  1. package/LICENSE.md +9 -0
  2. package/README.md +31 -0
  3. package/accordion/src/styles/_vars.css +25 -0
  4. package/accordion/src/styles/accordion.css +87 -0
  5. package/alert/src/styles/_vars.css +28 -0
  6. package/alert/src/styles/alert.css +77 -0
  7. package/avatar/src/styles/_vars.css +34 -0
  8. package/avatar/src/styles/avatar.css +209 -0
  9. package/badge/src/styles/_vars.css +16 -0
  10. package/badge/src/styles/badge.css +125 -0
  11. package/breadcrumb/src/styles/_vars.css +16 -0
  12. package/breadcrumb/src/styles/breadcrumb.css +98 -0
  13. package/button/src/styles/_vars.css +20 -0
  14. package/button/src/styles/button-icon.css +18 -0
  15. package/button/src/styles/button-label.css +3 -0
  16. package/button/src/styles/button.css +243 -0
  17. package/button-group/src/styles/button-group.css +69 -0
  18. package/calendar/src/styles/_vars.css +29 -0
  19. package/calendar/src/styles/calendar.css +226 -0
  20. package/card/src/styles/_vars.css +17 -0
  21. package/card/src/styles/card.css +142 -0
  22. package/carousel/src/styles/_vars.css +7 -0
  23. package/carousel/src/styles/carousel.css +89 -0
  24. package/checkbox/src/styles/_vars.css +22 -0
  25. package/checkbox/src/styles/checkbox.css +95 -0
  26. package/collapsible/src/styles/_vars.css +13 -0
  27. package/collapsible/src/styles/collapsible.css +42 -0
  28. package/combobox/src/styles/_vars.css +60 -0
  29. package/combobox/src/styles/combobox.css +285 -0
  30. package/command/src/styles/_vars.css +37 -0
  31. package/command/src/styles/command.css +171 -0
  32. package/context-menu/src/styles/context-menu.css +5 -0
  33. package/date-picker/src/styles/_vars.css +29 -0
  34. package/date-picker/src/styles/date-picker.css +177 -0
  35. package/dropdown-menu/src/styles/_vars.css +34 -0
  36. package/dropdown-menu/src/styles/dropdown-menu-item.css +87 -0
  37. package/dropdown-menu/src/styles/dropdown-menu-motion.css +42 -0
  38. package/dropdown-menu/src/styles/dropdown-menu-panel.css +26 -0
  39. package/dropdown-menu/src/styles/dropdown-menu.css +4 -0
  40. package/empty/src/styles/_vars.css +23 -0
  41. package/empty/src/styles/empty.css +108 -0
  42. package/fesm2022/frame-ui-ng-components-accordion.mjs +268 -0
  43. package/fesm2022/frame-ui-ng-components-accordion.mjs.map +1 -0
  44. package/fesm2022/frame-ui-ng-components-alert.mjs +102 -0
  45. package/fesm2022/frame-ui-ng-components-alert.mjs.map +1 -0
  46. package/fesm2022/frame-ui-ng-components-avatar.mjs +197 -0
  47. package/fesm2022/frame-ui-ng-components-avatar.mjs.map +1 -0
  48. package/fesm2022/frame-ui-ng-components-badge.mjs +120 -0
  49. package/fesm2022/frame-ui-ng-components-badge.mjs.map +1 -0
  50. package/fesm2022/frame-ui-ng-components-breadcrumb.mjs +156 -0
  51. package/fesm2022/frame-ui-ng-components-breadcrumb.mjs.map +1 -0
  52. package/fesm2022/frame-ui-ng-components-button-group.mjs +44 -0
  53. package/fesm2022/frame-ui-ng-components-button-group.mjs.map +1 -0
  54. package/fesm2022/frame-ui-ng-components-button.mjs +150 -0
  55. package/fesm2022/frame-ui-ng-components-button.mjs.map +1 -0
  56. package/fesm2022/frame-ui-ng-components-calendar.mjs +559 -0
  57. package/fesm2022/frame-ui-ng-components-calendar.mjs.map +1 -0
  58. package/fesm2022/frame-ui-ng-components-card.mjs +169 -0
  59. package/fesm2022/frame-ui-ng-components-card.mjs.map +1 -0
  60. package/fesm2022/frame-ui-ng-components-carousel.mjs +454 -0
  61. package/fesm2022/frame-ui-ng-components-carousel.mjs.map +1 -0
  62. package/fesm2022/frame-ui-ng-components-checkbox.mjs +83 -0
  63. package/fesm2022/frame-ui-ng-components-checkbox.mjs.map +1 -0
  64. package/fesm2022/frame-ui-ng-components-collapsible.mjs +191 -0
  65. package/fesm2022/frame-ui-ng-components-collapsible.mjs.map +1 -0
  66. package/fesm2022/frame-ui-ng-components-combobox.mjs +859 -0
  67. package/fesm2022/frame-ui-ng-components-combobox.mjs.map +1 -0
  68. package/fesm2022/frame-ui-ng-components-command.mjs +658 -0
  69. package/fesm2022/frame-ui-ng-components-command.mjs.map +1 -0
  70. package/fesm2022/frame-ui-ng-components-context-menu.mjs +579 -0
  71. package/fesm2022/frame-ui-ng-components-context-menu.mjs.map +1 -0
  72. package/fesm2022/frame-ui-ng-components-date-picker.mjs +512 -0
  73. package/fesm2022/frame-ui-ng-components-date-picker.mjs.map +1 -0
  74. package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs +647 -0
  75. package/fesm2022/frame-ui-ng-components-dropdown-menu.mjs.map +1 -0
  76. package/fesm2022/frame-ui-ng-components-empty.mjs +134 -0
  77. package/fesm2022/frame-ui-ng-components-empty.mjs.map +1 -0
  78. package/fesm2022/frame-ui-ng-components-field.mjs +210 -0
  79. package/fesm2022/frame-ui-ng-components-field.mjs.map +1 -0
  80. package/fesm2022/frame-ui-ng-components-forms.mjs +89 -0
  81. package/fesm2022/frame-ui-ng-components-forms.mjs.map +1 -0
  82. package/fesm2022/frame-ui-ng-components-hover-card.mjs +412 -0
  83. package/fesm2022/frame-ui-ng-components-hover-card.mjs.map +1 -0
  84. package/fesm2022/frame-ui-ng-components-input-otp.mjs +327 -0
  85. package/fesm2022/frame-ui-ng-components-input-otp.mjs.map +1 -0
  86. package/fesm2022/frame-ui-ng-components-input.mjs +250 -0
  87. package/fesm2022/frame-ui-ng-components-input.mjs.map +1 -0
  88. package/fesm2022/frame-ui-ng-components-item.mjs +207 -0
  89. package/fesm2022/frame-ui-ng-components-item.mjs.map +1 -0
  90. package/fesm2022/frame-ui-ng-components-menubar.mjs +371 -0
  91. package/fesm2022/frame-ui-ng-components-menubar.mjs.map +1 -0
  92. package/fesm2022/frame-ui-ng-components-modal.mjs +525 -0
  93. package/fesm2022/frame-ui-ng-components-modal.mjs.map +1 -0
  94. package/fesm2022/frame-ui-ng-components-navigation-menu.mjs +322 -0
  95. package/fesm2022/frame-ui-ng-components-navigation-menu.mjs.map +1 -0
  96. package/fesm2022/frame-ui-ng-components-pagination.mjs +327 -0
  97. package/fesm2022/frame-ui-ng-components-pagination.mjs.map +1 -0
  98. package/fesm2022/frame-ui-ng-components-popover.mjs +454 -0
  99. package/fesm2022/frame-ui-ng-components-popover.mjs.map +1 -0
  100. package/fesm2022/frame-ui-ng-components-progress.mjs +96 -0
  101. package/fesm2022/frame-ui-ng-components-progress.mjs.map +1 -0
  102. package/fesm2022/frame-ui-ng-components-radio-group.mjs +124 -0
  103. package/fesm2022/frame-ui-ng-components-radio-group.mjs.map +1 -0
  104. package/fesm2022/frame-ui-ng-components-resizable.mjs +325 -0
  105. package/fesm2022/frame-ui-ng-components-resizable.mjs.map +1 -0
  106. package/fesm2022/frame-ui-ng-components-select.mjs +434 -0
  107. package/fesm2022/frame-ui-ng-components-select.mjs.map +1 -0
  108. package/fesm2022/frame-ui-ng-components-separator.mjs +51 -0
  109. package/fesm2022/frame-ui-ng-components-separator.mjs.map +1 -0
  110. package/fesm2022/frame-ui-ng-components-sheet.mjs +514 -0
  111. package/fesm2022/frame-ui-ng-components-sheet.mjs.map +1 -0
  112. package/fesm2022/frame-ui-ng-components-sidebar.mjs +628 -0
  113. package/fesm2022/frame-ui-ng-components-sidebar.mjs.map +1 -0
  114. package/fesm2022/frame-ui-ng-components-skeleton.mjs +46 -0
  115. package/fesm2022/frame-ui-ng-components-skeleton.mjs.map +1 -0
  116. package/fesm2022/frame-ui-ng-components-slider.mjs +279 -0
  117. package/fesm2022/frame-ui-ng-components-slider.mjs.map +1 -0
  118. package/fesm2022/frame-ui-ng-components-spinner.mjs +51 -0
  119. package/fesm2022/frame-ui-ng-components-spinner.mjs.map +1 -0
  120. package/fesm2022/frame-ui-ng-components-switch.mjs +130 -0
  121. package/fesm2022/frame-ui-ng-components-switch.mjs.map +1 -0
  122. package/fesm2022/frame-ui-ng-components-table.mjs +594 -0
  123. package/fesm2022/frame-ui-ng-components-table.mjs.map +1 -0
  124. package/fesm2022/frame-ui-ng-components-tabs.mjs +208 -0
  125. package/fesm2022/frame-ui-ng-components-tabs.mjs.map +1 -0
  126. package/fesm2022/frame-ui-ng-components-textarea.mjs +40 -0
  127. package/fesm2022/frame-ui-ng-components-textarea.mjs.map +1 -0
  128. package/fesm2022/frame-ui-ng-components-toast.mjs +346 -0
  129. package/fesm2022/frame-ui-ng-components-toast.mjs.map +1 -0
  130. package/fesm2022/frame-ui-ng-components-toggle.mjs +127 -0
  131. package/fesm2022/frame-ui-ng-components-toggle.mjs.map +1 -0
  132. package/fesm2022/frame-ui-ng-components-tooltip.mjs +425 -0
  133. package/fesm2022/frame-ui-ng-components-tooltip.mjs.map +1 -0
  134. package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs +321 -0
  135. package/fesm2022/frame-ui-ng-components-virtual-scroll.mjs.map +1 -0
  136. package/fesm2022/frame-ui-ng-components.mjs +10278 -0
  137. package/fesm2022/frame-ui-ng-components.mjs.map +1 -0
  138. package/field/src/styles/_vars.css +20 -0
  139. package/field/src/styles/field.css +165 -0
  140. package/hover-card/src/styles/_vars.css +21 -0
  141. package/hover-card/src/styles/hover-card.css +76 -0
  142. package/input/src/styles/_vars.css +65 -0
  143. package/input/src/styles/input-group.css +112 -0
  144. package/input/src/styles/input.css +163 -0
  145. package/input-otp/src/styles/_vars.css +21 -0
  146. package/input-otp/src/styles/input-otp.css +116 -0
  147. package/item/src/styles/_vars.css +34 -0
  148. package/item/src/styles/item.css +187 -0
  149. package/menubar/src/styles/_vars.css +22 -0
  150. package/menubar/src/styles/menubar.css +70 -0
  151. package/modal/src/styles/_vars.css +18 -0
  152. package/modal/src/styles/modal.css +179 -0
  153. package/navigation-menu/src/styles/_vars.css +45 -0
  154. package/navigation-menu/src/styles/navigation-menu.css +245 -0
  155. package/package.json +243 -0
  156. package/pagination/src/styles/_vars.css +22 -0
  157. package/pagination/src/styles/pagination.css +138 -0
  158. package/popover/src/styles/_vars.css +24 -0
  159. package/popover/src/styles/popover.css +101 -0
  160. package/progress/src/styles/_vars.css +15 -0
  161. package/progress/src/styles/progress.css +64 -0
  162. package/radio-group/src/styles/_vars.css +29 -0
  163. package/radio-group/src/styles/radio-group.css +137 -0
  164. package/resizable/src/styles/_vars.css +20 -0
  165. package/resizable/src/styles/resizable.css +130 -0
  166. package/select/src/styles/_vars.css +28 -0
  167. package/select/src/styles/select-content.css +19 -0
  168. package/select/src/styles/select-feedback.css +6 -0
  169. package/select/src/styles/select-item.css +69 -0
  170. package/select/src/styles/select-trigger.css +95 -0
  171. package/select/src/styles/select.css +5 -0
  172. package/separator/src/styles/_vars.css +9 -0
  173. package/separator/src/styles/separator.css +25 -0
  174. package/sheet/src/styles/_vars.css +18 -0
  175. package/sheet/src/styles/sheet.css +215 -0
  176. package/sidebar/src/styles/_vars.css +24 -0
  177. package/sidebar/src/styles/sidebar.css +531 -0
  178. package/skeleton/src/styles/_vars.css +8 -0
  179. package/skeleton/src/styles/skeleton.css +40 -0
  180. package/slider/src/styles/_vars.css +17 -0
  181. package/slider/src/styles/slider.css +147 -0
  182. package/spinner/src/styles/_vars.css +9 -0
  183. package/spinner/src/styles/spinner.css +62 -0
  184. package/src/styles/components.css +47 -0
  185. package/styles/components.css +47 -0
  186. package/styles.css +49 -0
  187. package/switch/src/styles/_vars.css +34 -0
  188. package/switch/src/styles/switch.css +131 -0
  189. package/table/src/styles/_vars.css +25 -0
  190. package/table/src/styles/table.css +245 -0
  191. package/tabs/src/styles/_vars.css +23 -0
  192. package/tabs/src/styles/tabs.css +164 -0
  193. package/textarea/src/styles/_vars.css +20 -0
  194. package/textarea/src/styles/textarea.css +60 -0
  195. package/toast/src/styles/_vars.css +47 -0
  196. package/toast/src/styles/toast.css +314 -0
  197. package/toggle/src/styles/_vars.css +24 -0
  198. package/toggle/src/styles/toggle.css +110 -0
  199. package/tooltip/src/styles/_vars.css +21 -0
  200. package/tooltip/src/styles/tooltip.css +103 -0
  201. package/types/frame-ui-ng-components-accordion.d.ts +75 -0
  202. package/types/frame-ui-ng-components-alert.d.ts +30 -0
  203. package/types/frame-ui-ng-components-avatar.d.ts +65 -0
  204. package/types/frame-ui-ng-components-badge.d.ts +35 -0
  205. package/types/frame-ui-ng-components-breadcrumb.d.ts +40 -0
  206. package/types/frame-ui-ng-components-button-group.d.ts +18 -0
  207. package/types/frame-ui-ng-components-button.d.ts +50 -0
  208. package/types/frame-ui-ng-components-calendar.d.ts +101 -0
  209. package/types/frame-ui-ng-components-card.d.ts +51 -0
  210. package/types/frame-ui-ng-components-carousel.d.ts +117 -0
  211. package/types/frame-ui-ng-components-checkbox.d.ts +25 -0
  212. package/types/frame-ui-ng-components-collapsible.d.ts +55 -0
  213. package/types/frame-ui-ng-components-combobox.d.ts +201 -0
  214. package/types/frame-ui-ng-components-command.d.ts +198 -0
  215. package/types/frame-ui-ng-components-context-menu.d.ts +149 -0
  216. package/types/frame-ui-ng-components-date-picker.d.ts +95 -0
  217. package/types/frame-ui-ng-components-dropdown-menu.d.ts +182 -0
  218. package/types/frame-ui-ng-components-empty.d.ts +44 -0
  219. package/types/frame-ui-ng-components-field.d.ts +60 -0
  220. package/types/frame-ui-ng-components-forms.d.ts +39 -0
  221. package/types/frame-ui-ng-components-hover-card.d.ts +94 -0
  222. package/types/frame-ui-ng-components-input-otp.d.ts +70 -0
  223. package/types/frame-ui-ng-components-input.d.ts +67 -0
  224. package/types/frame-ui-ng-components-item.d.ts +62 -0
  225. package/types/frame-ui-ng-components-menubar.d.ts +76 -0
  226. package/types/frame-ui-ng-components-modal.d.ts +148 -0
  227. package/types/frame-ui-ng-components-navigation-menu.d.ts +74 -0
  228. package/types/frame-ui-ng-components-pagination.d.ts +79 -0
  229. package/types/frame-ui-ng-components-popover.d.ts +95 -0
  230. package/types/frame-ui-ng-components-progress.d.ts +24 -0
  231. package/types/frame-ui-ng-components-radio-group.d.ts +40 -0
  232. package/types/frame-ui-ng-components-resizable.d.ts +61 -0
  233. package/types/frame-ui-ng-components-select.d.ts +114 -0
  234. package/types/frame-ui-ng-components-separator.d.ts +19 -0
  235. package/types/frame-ui-ng-components-sheet.d.ts +146 -0
  236. package/types/frame-ui-ng-components-sidebar.d.ts +163 -0
  237. package/types/frame-ui-ng-components-skeleton.d.ts +18 -0
  238. package/types/frame-ui-ng-components-slider.d.ts +56 -0
  239. package/types/frame-ui-ng-components-spinner.d.ts +23 -0
  240. package/types/frame-ui-ng-components-switch.d.ts +38 -0
  241. package/types/frame-ui-ng-components-table.d.ts +125 -0
  242. package/types/frame-ui-ng-components-tabs.d.ts +62 -0
  243. package/types/frame-ui-ng-components-textarea.d.ts +14 -0
  244. package/types/frame-ui-ng-components-toast.d.ts +74 -0
  245. package/types/frame-ui-ng-components-toggle.d.ts +45 -0
  246. package/types/frame-ui-ng-components-tooltip.d.ts +99 -0
  247. package/types/frame-ui-ng-components-virtual-scroll.d.ts +106 -0
  248. package/types/frame-ui-ng-components.d.ts +2746 -0
  249. package/virtual-scroll/src/styles/virtual-scroll.css +54 -0
@@ -0,0 +1,327 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, model, computed, Directive, inject, booleanAttribute, Component, NgModule } from '@angular/core';
3
+
4
+ class FrPagination {
5
+ ariaLabel = input('pagination', { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
6
+ boundaryCount = input(1, ...(ngDevMode ? [{ debugName: "boundaryCount" }] : /* istanbul ignore next */ []));
7
+ page = model(1, ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
8
+ siblingCount = input(1, ...(ngDevMode ? [{ debugName: "siblingCount" }] : /* istanbul ignore next */ []));
9
+ totalPages = input(1, ...(ngDevMode ? [{ debugName: "totalPages" }] : /* istanbul ignore next */ []));
10
+ canPrevious = computed(() => this.page() > 1, ...(ngDevMode ? [{ debugName: "canPrevious" }] : /* istanbul ignore next */ []));
11
+ canNext = computed(() => this.page() < this.normalizedTotalPages(), ...(ngDevMode ? [{ debugName: "canNext" }] : /* istanbul ignore next */ []));
12
+ pages = computed(() => this.buildPages(), ...(ngDevMode ? [{ debugName: "pages" }] : /* istanbul ignore next */ []));
13
+ goToPage(page) {
14
+ this.page.set(Math.min(Math.max(page, 1), this.normalizedTotalPages()));
15
+ }
16
+ goToPreviousPage() {
17
+ this.goToPage(this.page() - 1);
18
+ }
19
+ goToNextPage() {
20
+ this.goToPage(this.page() + 1);
21
+ }
22
+ normalizedTotalPages() {
23
+ return Math.max(1, Math.floor(this.totalPages()));
24
+ }
25
+ buildPages() {
26
+ const totalPages = this.normalizedTotalPages();
27
+ const boundaryCount = Math.max(0, Math.floor(this.boundaryCount()));
28
+ const siblingCount = Math.max(0, Math.floor(this.siblingCount()));
29
+ const currentPage = Math.min(Math.max(this.page(), 1), totalPages);
30
+ const pages = new Set();
31
+ for (let page = 1; page <= Math.min(boundaryCount, totalPages); page += 1) {
32
+ pages.add(page);
33
+ }
34
+ for (let page = Math.max(1, totalPages - boundaryCount + 1); page <= totalPages; page += 1) {
35
+ pages.add(page);
36
+ }
37
+ for (let page = currentPage - siblingCount; page <= currentPage + siblingCount; page += 1) {
38
+ if (page >= 1 && page <= totalPages) {
39
+ pages.add(page);
40
+ }
41
+ }
42
+ const sortedPages = Array.from(pages).sort((a, b) => a - b);
43
+ const visiblePages = [];
44
+ for (const page of sortedPages) {
45
+ const previousPage = visiblePages.at(-1);
46
+ if (typeof previousPage === 'number' && page - previousPage > 1) {
47
+ visiblePages.push('ellipsis');
48
+ }
49
+ visiblePages.push(page);
50
+ }
51
+ return visiblePages;
52
+ }
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPagination, deps: [], target: i0.ɵɵFactoryTarget.Directive });
54
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: FrPagination, isStandalone: true, selector: "nav[frPagination], [frPagination]", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, boundaryCount: { classPropertyName: "boundaryCount", publicName: "boundaryCount", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, siblingCount: { classPropertyName: "siblingCount", publicName: "siblingCount", isSignal: true, isRequired: false, transformFunction: null }, totalPages: { classPropertyName: "totalPages", publicName: "totalPages", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { page: "pageChange" }, host: { properties: { "attr.aria-label": "ariaLabel()", "attr.data-page": "page()", "attr.data-total-pages": "totalPages()" }, classAttribute: "frame-pagination" }, exportAs: ["frPagination"], ngImport: i0 });
55
+ }
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPagination, decorators: [{
57
+ type: Directive,
58
+ args: [{
59
+ selector: 'nav[frPagination], [frPagination]',
60
+ exportAs: 'frPagination',
61
+ host: {
62
+ class: 'frame-pagination',
63
+ '[attr.aria-label]': 'ariaLabel()',
64
+ '[attr.data-page]': 'page()',
65
+ '[attr.data-total-pages]': 'totalPages()',
66
+ },
67
+ }]
68
+ }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], boundaryCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "boundaryCount", required: false }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], siblingCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "siblingCount", required: false }] }], totalPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPages", required: false }] }] } });
69
+ class FrPaginationContent {
70
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
71
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: FrPaginationContent, isStandalone: true, selector: "ul[frPaginationContent], ol[frPaginationContent], [frPaginationContent]", host: { classAttribute: "frame-pagination__content" }, ngImport: i0 });
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationContent, decorators: [{
74
+ type: Directive,
75
+ args: [{
76
+ selector: 'ul[frPaginationContent], ol[frPaginationContent], [frPaginationContent]',
77
+ host: {
78
+ class: 'frame-pagination__content',
79
+ },
80
+ }]
81
+ }] });
82
+ class FrPaginationItem {
83
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
84
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: FrPaginationItem, isStandalone: true, selector: "li[frPaginationItem], [frPaginationItem]", host: { classAttribute: "frame-pagination__item" }, ngImport: i0 });
85
+ }
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationItem, decorators: [{
87
+ type: Directive,
88
+ args: [{
89
+ selector: 'li[frPaginationItem], [frPaginationItem]',
90
+ host: {
91
+ class: 'frame-pagination__item',
92
+ },
93
+ }]
94
+ }] });
95
+ class FrPaginationLink {
96
+ pagination = inject(FrPagination, { optional: true });
97
+ active = input(false, { ...(ngDevMode ? { debugName: "active" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
98
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
99
+ page = input(null, ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
100
+ isActive = computed(() => {
101
+ const page = this.page();
102
+ return this.active() || (page !== null && this.pagination?.page() === page);
103
+ }, ...(ngDevMode ? [{ debugName: "isActive" }] : /* istanbul ignore next */ []));
104
+ isDisabled = computed(() => this.disabled(), ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
105
+ handleClick(event) {
106
+ if (this.isDisabled()) {
107
+ event.preventDefault();
108
+ return;
109
+ }
110
+ const page = this.page();
111
+ if (page === null || !this.pagination) {
112
+ return;
113
+ }
114
+ event.preventDefault();
115
+ this.pagination.goToPage(page);
116
+ }
117
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationLink, deps: [], target: i0.ɵɵFactoryTarget.Directive });
118
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.16", type: FrPaginationLink, isStandalone: true, selector: "a[frPaginationLink], button[frPaginationLink]", inputs: { active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "handleClick($event)" }, properties: { "attr.aria-current": "isActive() ? \"page\" : null", "attr.aria-disabled": "isDisabled() ? \"true\" : null", "attr.data-active": "isActive() ? \"\" : null", "attr.data-disabled": "isDisabled() ? \"\" : null", "attr.disabled": "isDisabled() ? \"\" : null", "attr.tabindex": "isDisabled() ? \"-1\" : null" }, classAttribute: "frame-pagination__link" }, ngImport: i0 });
119
+ }
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationLink, decorators: [{
121
+ type: Directive,
122
+ args: [{
123
+ selector: 'a[frPaginationLink], button[frPaginationLink]',
124
+ host: {
125
+ class: 'frame-pagination__link',
126
+ '[attr.aria-current]': 'isActive() ? "page" : null',
127
+ '[attr.aria-disabled]': 'isDisabled() ? "true" : null',
128
+ '[attr.data-active]': 'isActive() ? "" : null',
129
+ '[attr.data-disabled]': 'isDisabled() ? "" : null',
130
+ '[attr.disabled]': 'isDisabled() ? "" : null',
131
+ '[attr.tabindex]': 'isDisabled() ? "-1" : null',
132
+ '(click)': 'handleClick($event)',
133
+ },
134
+ }]
135
+ }], propDecorators: { active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }] } });
136
+ class FrPaginationIcon {
137
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationIcon, deps: [], target: i0.ɵɵFactoryTarget.Directive });
138
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.16", type: FrPaginationIcon, isStandalone: true, selector: "[frPaginationIcon]", host: { attributes: { "aria-hidden": "true" }, classAttribute: "frame-pagination__projected-icon" }, ngImport: i0 });
139
+ }
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationIcon, decorators: [{
141
+ type: Directive,
142
+ args: [{
143
+ selector: '[frPaginationIcon]',
144
+ host: {
145
+ class: 'frame-pagination__projected-icon',
146
+ 'aria-hidden': 'true',
147
+ },
148
+ }]
149
+ }] });
150
+ class FrPaginationPrevious {
151
+ pagination = inject(FrPagination, { optional: true });
152
+ ariaLabel = input('Go to previous page', { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
153
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
154
+ iconOnly = input(false, { ...(ngDevMode ? { debugName: "iconOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
155
+ text = input('Previous', ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
156
+ isDisabled = computed(() => this.disabled() || this.pagination?.canPrevious() === false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
157
+ handleClick(event) {
158
+ if (this.isDisabled()) {
159
+ event.preventDefault();
160
+ return;
161
+ }
162
+ if (!this.pagination) {
163
+ return;
164
+ }
165
+ event.preventDefault();
166
+ this.pagination.goToPreviousPage();
167
+ }
168
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationPrevious, deps: [], target: i0.ɵɵFactoryTarget.Component });
169
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.16", type: FrPaginationPrevious, isStandalone: true, selector: "a[frPaginationPrevious], button[frPaginationPrevious]", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "handleClick($event)" }, properties: { "attr.aria-label": "ariaLabel()", "attr.aria-disabled": "isDisabled() ? \"true\" : null", "attr.data-disabled": "isDisabled() ? \"\" : null", "attr.data-icon-only": "iconOnly() ? \"\" : null", "attr.disabled": "isDisabled() ? \"\" : null", "attr.tabindex": "isDisabled() ? \"-1\" : null" }, classAttribute: "frame-pagination__link frame-pagination__previous" }, ngImport: i0, template: `
170
+ <span class="frame-pagination__control-icon" aria-hidden="true">
171
+ <ng-content select="[frPaginationIcon]">‹</ng-content>
172
+ </span>
173
+ @if (!iconOnly()) {
174
+ <span class="frame-pagination__control-text">{{ text() }}</span>
175
+ }
176
+ `, isInline: true });
177
+ }
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationPrevious, decorators: [{
179
+ type: Component,
180
+ args: [{
181
+ selector: 'a[frPaginationPrevious], button[frPaginationPrevious]',
182
+ host: {
183
+ class: 'frame-pagination__link frame-pagination__previous',
184
+ '[attr.aria-label]': 'ariaLabel()',
185
+ '[attr.aria-disabled]': 'isDisabled() ? "true" : null',
186
+ '[attr.data-disabled]': 'isDisabled() ? "" : null',
187
+ '[attr.data-icon-only]': 'iconOnly() ? "" : null',
188
+ '[attr.disabled]': 'isDisabled() ? "" : null',
189
+ '[attr.tabindex]': 'isDisabled() ? "-1" : null',
190
+ '(click)': 'handleClick($event)',
191
+ },
192
+ template: `
193
+ <span class="frame-pagination__control-icon" aria-hidden="true">
194
+ <ng-content select="[frPaginationIcon]">‹</ng-content>
195
+ </span>
196
+ @if (!iconOnly()) {
197
+ <span class="frame-pagination__control-text">{{ text() }}</span>
198
+ }
199
+ `,
200
+ }]
201
+ }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], iconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnly", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
202
+ class FrPaginationNext {
203
+ pagination = inject(FrPagination, { optional: true });
204
+ ariaLabel = input('Go to next page', { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
205
+ disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
206
+ iconOnly = input(false, { ...(ngDevMode ? { debugName: "iconOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
207
+ text = input('Next', ...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
208
+ isDisabled = computed(() => this.disabled() || this.pagination?.canNext() === false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
209
+ handleClick(event) {
210
+ if (this.isDisabled()) {
211
+ event.preventDefault();
212
+ return;
213
+ }
214
+ if (!this.pagination) {
215
+ return;
216
+ }
217
+ event.preventDefault();
218
+ this.pagination.goToNextPage();
219
+ }
220
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationNext, deps: [], target: i0.ɵɵFactoryTarget.Component });
221
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.16", type: FrPaginationNext, isStandalone: true, selector: "a[frPaginationNext], button[frPaginationNext]", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "click": "handleClick($event)" }, properties: { "attr.aria-label": "ariaLabel()", "attr.aria-disabled": "isDisabled() ? \"true\" : null", "attr.data-disabled": "isDisabled() ? \"\" : null", "attr.data-icon-only": "iconOnly() ? \"\" : null", "attr.disabled": "isDisabled() ? \"\" : null", "attr.tabindex": "isDisabled() ? \"-1\" : null" }, classAttribute: "frame-pagination__link frame-pagination__next" }, ngImport: i0, template: `
222
+ @if (!iconOnly()) {
223
+ <span class="frame-pagination__control-text">{{ text() }}</span>
224
+ }
225
+ <span class="frame-pagination__control-icon" aria-hidden="true">
226
+ <ng-content select="[frPaginationIcon]">›</ng-content>
227
+ </span>
228
+ `, isInline: true });
229
+ }
230
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationNext, decorators: [{
231
+ type: Component,
232
+ args: [{
233
+ selector: 'a[frPaginationNext], button[frPaginationNext]',
234
+ host: {
235
+ class: 'frame-pagination__link frame-pagination__next',
236
+ '[attr.aria-label]': 'ariaLabel()',
237
+ '[attr.aria-disabled]': 'isDisabled() ? "true" : null',
238
+ '[attr.data-disabled]': 'isDisabled() ? "" : null',
239
+ '[attr.data-icon-only]': 'iconOnly() ? "" : null',
240
+ '[attr.disabled]': 'isDisabled() ? "" : null',
241
+ '[attr.tabindex]': 'isDisabled() ? "-1" : null',
242
+ '(click)': 'handleClick($event)',
243
+ },
244
+ template: `
245
+ @if (!iconOnly()) {
246
+ <span class="frame-pagination__control-text">{{ text() }}</span>
247
+ }
248
+ <span class="frame-pagination__control-icon" aria-hidden="true">
249
+ <ng-content select="[frPaginationIcon]">›</ng-content>
250
+ </span>
251
+ `,
252
+ }]
253
+ }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], iconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnly", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }] } });
254
+ class FrPaginationEllipsis {
255
+ label = input('More pages', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
256
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationEllipsis, deps: [], target: i0.ɵɵFactoryTarget.Component });
257
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.16", type: FrPaginationEllipsis, isStandalone: true, selector: "[frPaginationEllipsis], frame-pagination-ellipsis", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "presentation" }, classAttribute: "frame-pagination__ellipsis" }, ngImport: i0, template: `
258
+ <span aria-hidden="true">...</span>
259
+ <span class="frame-pagination__sr-only">{{ label() }}</span>
260
+ `, isInline: true });
261
+ }
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationEllipsis, decorators: [{
263
+ type: Component,
264
+ args: [{
265
+ selector: '[frPaginationEllipsis], frame-pagination-ellipsis',
266
+ host: {
267
+ class: 'frame-pagination__ellipsis',
268
+ role: 'presentation',
269
+ },
270
+ template: `
271
+ <span aria-hidden="true">...</span>
272
+ <span class="frame-pagination__sr-only">{{ label() }}</span>
273
+ `,
274
+ }]
275
+ }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
276
+
277
+ class FrPaginationModule {
278
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
279
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationModule, imports: [FrPagination,
280
+ FrPaginationContent,
281
+ FrPaginationEllipsis,
282
+ FrPaginationIcon,
283
+ FrPaginationItem,
284
+ FrPaginationLink,
285
+ FrPaginationNext,
286
+ FrPaginationPrevious], exports: [FrPagination,
287
+ FrPaginationContent,
288
+ FrPaginationEllipsis,
289
+ FrPaginationIcon,
290
+ FrPaginationItem,
291
+ FrPaginationLink,
292
+ FrPaginationNext,
293
+ FrPaginationPrevious] });
294
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationModule });
295
+ }
296
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.16", ngImport: i0, type: FrPaginationModule, decorators: [{
297
+ type: NgModule,
298
+ args: [{
299
+ imports: [
300
+ FrPagination,
301
+ FrPaginationContent,
302
+ FrPaginationEllipsis,
303
+ FrPaginationIcon,
304
+ FrPaginationItem,
305
+ FrPaginationLink,
306
+ FrPaginationNext,
307
+ FrPaginationPrevious,
308
+ ],
309
+ exports: [
310
+ FrPagination,
311
+ FrPaginationContent,
312
+ FrPaginationEllipsis,
313
+ FrPaginationIcon,
314
+ FrPaginationItem,
315
+ FrPaginationLink,
316
+ FrPaginationNext,
317
+ FrPaginationPrevious,
318
+ ],
319
+ }]
320
+ }] });
321
+
322
+ /**
323
+ * Generated bundle index. Do not edit.
324
+ */
325
+
326
+ export { FrPagination, FrPaginationContent, FrPaginationEllipsis, FrPaginationIcon, FrPaginationItem, FrPaginationLink, FrPaginationModule, FrPaginationNext, FrPaginationPrevious };
327
+ //# sourceMappingURL=frame-ui-ng-components-pagination.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"frame-ui-ng-components-pagination.mjs","sources":["../../../projects/components/pagination/src/pagination.ts","../../../projects/components/pagination/pagination.module.ts","../../../projects/components/pagination/frame-ui-ng-components-pagination.ts"],"sourcesContent":["import { Component, Directive, booleanAttribute, computed, inject, input, model } from '@angular/core';\n\nexport type FrPaginationPage = number | 'ellipsis';\n\n@Directive({\n selector: 'nav[frPagination], [frPagination]',\n exportAs: 'frPagination',\n host: {\n class: 'frame-pagination',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.data-page]': 'page()',\n '[attr.data-total-pages]': 'totalPages()',\n },\n})\nexport class FrPagination {\n readonly ariaLabel = input('pagination', { alias: 'aria-label' });\n readonly boundaryCount = input(1);\n readonly page = model(1);\n readonly siblingCount = input(1);\n readonly totalPages = input(1);\n\n readonly canPrevious = computed(() => this.page() > 1);\n readonly canNext = computed(() => this.page() < this.normalizedTotalPages());\n readonly pages = computed(() => this.buildPages());\n\n goToPage(page: number): void {\n this.page.set(Math.min(Math.max(page, 1), this.normalizedTotalPages()));\n }\n\n goToPreviousPage(): void {\n this.goToPage(this.page() - 1);\n }\n\n goToNextPage(): void {\n this.goToPage(this.page() + 1);\n }\n\n private normalizedTotalPages(): number {\n return Math.max(1, Math.floor(this.totalPages()));\n }\n\n private buildPages(): FrPaginationPage[] {\n const totalPages = this.normalizedTotalPages();\n const boundaryCount = Math.max(0, Math.floor(this.boundaryCount()));\n const siblingCount = Math.max(0, Math.floor(this.siblingCount()));\n const currentPage = Math.min(Math.max(this.page(), 1), totalPages);\n const pages = new Set<number>();\n\n for (let page = 1; page <= Math.min(boundaryCount, totalPages); page += 1) {\n pages.add(page);\n }\n\n for (let page = Math.max(1, totalPages - boundaryCount + 1); page <= totalPages; page += 1) {\n pages.add(page);\n }\n\n for (let page = currentPage - siblingCount; page <= currentPage + siblingCount; page += 1) {\n if (page >= 1 && page <= totalPages) {\n pages.add(page);\n }\n }\n\n const sortedPages = Array.from(pages).sort((a, b) => a - b);\n const visiblePages: FrPaginationPage[] = [];\n\n for (const page of sortedPages) {\n const previousPage = visiblePages.at(-1);\n\n if (typeof previousPage === 'number' && page - previousPage > 1) {\n visiblePages.push('ellipsis');\n }\n\n visiblePages.push(page);\n }\n\n return visiblePages;\n }\n}\n\n@Directive({\n selector: 'ul[frPaginationContent], ol[frPaginationContent], [frPaginationContent]',\n host: {\n class: 'frame-pagination__content',\n },\n})\nexport class FrPaginationContent {}\n\n@Directive({\n selector: 'li[frPaginationItem], [frPaginationItem]',\n host: {\n class: 'frame-pagination__item',\n },\n})\nexport class FrPaginationItem {}\n\n@Directive({\n selector: 'a[frPaginationLink], button[frPaginationLink]',\n host: {\n class: 'frame-pagination__link',\n '[attr.aria-current]': 'isActive() ? \"page\" : null',\n '[attr.aria-disabled]': 'isDisabled() ? \"true\" : null',\n '[attr.data-active]': 'isActive() ? \"\" : null',\n '[attr.data-disabled]': 'isDisabled() ? \"\" : null',\n '[attr.disabled]': 'isDisabled() ? \"\" : null',\n '[attr.tabindex]': 'isDisabled() ? \"-1\" : null',\n '(click)': 'handleClick($event)',\n },\n})\nexport class FrPaginationLink {\n private readonly pagination = inject(FrPagination, { optional: true });\n\n readonly active = input(false, { transform: booleanAttribute });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly page = input<number | null>(null);\n\n protected readonly isActive = computed(() => {\n const page = this.page();\n\n return this.active() || (page !== null && this.pagination?.page() === page);\n });\n protected readonly isDisabled = computed(() => this.disabled());\n\n protected handleClick(event: Event): void {\n if (this.isDisabled()) {\n event.preventDefault();\n return;\n }\n\n const page = this.page();\n\n if (page === null || !this.pagination) {\n return;\n }\n\n event.preventDefault();\n this.pagination.goToPage(page);\n }\n}\n\n@Directive({\n selector: '[frPaginationIcon]',\n host: {\n class: 'frame-pagination__projected-icon',\n 'aria-hidden': 'true',\n },\n})\nexport class FrPaginationIcon {}\n\n@Component({\n selector: 'a[frPaginationPrevious], button[frPaginationPrevious]',\n host: {\n class: 'frame-pagination__link frame-pagination__previous',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-disabled]': 'isDisabled() ? \"true\" : null',\n '[attr.data-disabled]': 'isDisabled() ? \"\" : null',\n '[attr.data-icon-only]': 'iconOnly() ? \"\" : null',\n '[attr.disabled]': 'isDisabled() ? \"\" : null',\n '[attr.tabindex]': 'isDisabled() ? \"-1\" : null',\n '(click)': 'handleClick($event)',\n },\n template: `\n <span class=\"frame-pagination__control-icon\" aria-hidden=\"true\">\n <ng-content select=\"[frPaginationIcon]\">‹</ng-content>\n </span>\n @if (!iconOnly()) {\n <span class=\"frame-pagination__control-text\">{{ text() }}</span>\n }\n `,\n})\nexport class FrPaginationPrevious {\n private readonly pagination = inject(FrPagination, { optional: true });\n\n readonly ariaLabel = input('Go to previous page', { alias: 'aria-label' });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly iconOnly = input(false, { transform: booleanAttribute });\n readonly text = input('Previous');\n protected readonly isDisabled = computed(() => this.disabled() || this.pagination?.canPrevious() === false);\n\n protected handleClick(event: Event): void {\n if (this.isDisabled()) {\n event.preventDefault();\n return;\n }\n\n if (!this.pagination) {\n return;\n }\n\n event.preventDefault();\n this.pagination.goToPreviousPage();\n }\n}\n\n@Component({\n selector: 'a[frPaginationNext], button[frPaginationNext]',\n host: {\n class: 'frame-pagination__link frame-pagination__next',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-disabled]': 'isDisabled() ? \"true\" : null',\n '[attr.data-disabled]': 'isDisabled() ? \"\" : null',\n '[attr.data-icon-only]': 'iconOnly() ? \"\" : null',\n '[attr.disabled]': 'isDisabled() ? \"\" : null',\n '[attr.tabindex]': 'isDisabled() ? \"-1\" : null',\n '(click)': 'handleClick($event)',\n },\n template: `\n @if (!iconOnly()) {\n <span class=\"frame-pagination__control-text\">{{ text() }}</span>\n }\n <span class=\"frame-pagination__control-icon\" aria-hidden=\"true\">\n <ng-content select=\"[frPaginationIcon]\">›</ng-content>\n </span>\n `,\n})\nexport class FrPaginationNext {\n private readonly pagination = inject(FrPagination, { optional: true });\n\n readonly ariaLabel = input('Go to next page', { alias: 'aria-label' });\n readonly disabled = input(false, { transform: booleanAttribute });\n readonly iconOnly = input(false, { transform: booleanAttribute });\n readonly text = input('Next');\n protected readonly isDisabled = computed(() => this.disabled() || this.pagination?.canNext() === false);\n\n protected handleClick(event: Event): void {\n if (this.isDisabled()) {\n event.preventDefault();\n return;\n }\n\n if (!this.pagination) {\n return;\n }\n\n event.preventDefault();\n this.pagination.goToNextPage();\n }\n}\n\n@Component({\n selector: '[frPaginationEllipsis], frame-pagination-ellipsis',\n host: {\n class: 'frame-pagination__ellipsis',\n role: 'presentation',\n },\n template: `\n <span aria-hidden=\"true\">...</span>\n <span class=\"frame-pagination__sr-only\">{{ label() }}</span>\n `,\n})\nexport class FrPaginationEllipsis {\n readonly label = input('More pages');\n}\n","import { NgModule } from '@angular/core';\nimport {\n FrPagination,\n FrPaginationContent,\n FrPaginationEllipsis,\n FrPaginationIcon,\n FrPaginationItem,\n FrPaginationLink,\n FrPaginationNext,\n FrPaginationPrevious,\n} from './src/pagination';\n\n@NgModule({\n imports: [\n FrPagination,\n FrPaginationContent,\n FrPaginationEllipsis,\n FrPaginationIcon,\n FrPaginationItem,\n FrPaginationLink,\n FrPaginationNext,\n FrPaginationPrevious,\n ],\n exports: [\n FrPagination,\n FrPaginationContent,\n FrPaginationEllipsis,\n FrPaginationIcon,\n FrPaginationItem,\n FrPaginationLink,\n FrPaginationNext,\n FrPaginationPrevious,\n ],\n})\nexport class FrPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAca,YAAY,CAAA;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