flowbite-angular 20.1.2 → 21.0.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 (127) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +375 -375
  3. package/button-group/README.md +4 -4
  4. package/card/README.md +4 -4
  5. package/clipboard/README.md +4 -4
  6. package/fesm2022/flowbite-angular-accordion.mjs +34 -34
  7. package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
  8. package/fesm2022/flowbite-angular-alert.mjs +28 -28
  9. package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
  10. package/fesm2022/flowbite-angular-badge.mjs +30 -30
  11. package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
  12. package/fesm2022/flowbite-angular-breadcrumb.mjs +26 -26
  13. package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
  14. package/fesm2022/flowbite-angular-button-group.mjs +8 -8
  15. package/fesm2022/flowbite-angular-button-group.mjs.map +1 -1
  16. package/fesm2022/flowbite-angular-button.mjs +17 -17
  17. package/fesm2022/flowbite-angular-button.mjs.map +1 -1
  18. package/fesm2022/flowbite-angular-card.mjs +27 -27
  19. package/fesm2022/flowbite-angular-card.mjs.map +1 -1
  20. package/fesm2022/flowbite-angular-clipboard.mjs +65 -65
  21. package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -1
  22. package/fesm2022/flowbite-angular-dropdown.mjs +25 -25
  23. package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
  24. package/fesm2022/flowbite-angular-form.mjs +45 -37
  25. package/fesm2022/flowbite-angular-form.mjs.map +1 -1
  26. package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -1
  27. package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -1
  28. package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -1
  29. package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -1
  30. package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -1
  31. package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -1
  32. package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -1
  33. package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -1
  34. package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -1
  35. package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -1
  36. package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -1
  37. package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -1
  38. package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -1
  39. package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -1
  40. package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -1
  41. package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -1
  42. package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -1
  43. package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -1
  44. package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -1
  45. package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -1
  46. package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -1
  47. package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -1
  48. package/fesm2022/flowbite-angular-icon.mjs +9 -9
  49. package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
  50. package/fesm2022/flowbite-angular-indicator.mjs +12 -12
  51. package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
  52. package/fesm2022/flowbite-angular-modal.mjs +48 -48
  53. package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
  54. package/fesm2022/flowbite-angular-navbar.mjs +68 -68
  55. package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
  56. package/fesm2022/flowbite-angular-pagination.mjs +166 -176
  57. package/fesm2022/flowbite-angular-pagination.mjs.map +1 -1
  58. package/fesm2022/flowbite-angular-sidebar.mjs +42 -42
  59. package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
  60. package/fesm2022/flowbite-angular-tab.mjs +34 -34
  61. package/fesm2022/flowbite-angular-tab.mjs.map +1 -1
  62. package/fesm2022/flowbite-angular-table.mjs +65 -65
  63. package/fesm2022/flowbite-angular-table.mjs.map +1 -1
  64. package/fesm2022/flowbite-angular-theme-toggle.mjs +30 -30
  65. package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -1
  66. package/fesm2022/flowbite-angular-tooltip.mjs +9 -9
  67. package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -1
  68. package/fesm2022/flowbite-angular.mjs.map +1 -1
  69. package/form/README.md +4 -4
  70. package/icon/README.md +4 -4
  71. package/icon/brand/README.md +4 -4
  72. package/icon/outline/README.md +4 -4
  73. package/icon/solid/README.md +4 -4
  74. package/indicator/README.md +4 -4
  75. package/modal/README.md +4 -4
  76. package/navbar/README.md +4 -4
  77. package/package.json +79 -79
  78. package/pagination/README.md +4 -4
  79. package/sidebar/README.md +4 -4
  80. package/styles/flowbite-angular.css +1 -1
  81. package/tab/README.md +4 -4
  82. package/table/README.md +4 -4
  83. package/theme-toggle/README.md +4 -4
  84. package/tooltip/README.md +4 -4
  85. package/{accordion/index.d.ts → types/flowbite-angular-accordion.d.ts} +116 -116
  86. package/{alert/index.d.ts → types/flowbite-angular-alert.d.ts} +89 -89
  87. package/{badge/index.d.ts → types/flowbite-angular-badge.d.ts} +98 -98
  88. package/{breadcrumb/index.d.ts → types/flowbite-angular-breadcrumb.d.ts} +97 -97
  89. package/{button-group/index.d.ts → types/flowbite-angular-button-group.d.ts} +36 -36
  90. package/{button/index.d.ts → types/flowbite-angular-button.d.ts} +76 -76
  91. package/{card/index.d.ts → types/flowbite-angular-card.d.ts} +97 -97
  92. package/{clipboard/index.d.ts → types/flowbite-angular-clipboard.d.ts} +37 -37
  93. package/{dropdown/index.d.ts → types/flowbite-angular-dropdown.d.ts} +78 -78
  94. package/{form/index.d.ts → types/flowbite-angular-form.d.ts} +122 -112
  95. package/{icon/index.d.ts → types/flowbite-angular-icon.d.ts} +46 -46
  96. package/{indicator/index.d.ts → types/flowbite-angular-indicator.d.ts} +65 -65
  97. package/{modal/index.d.ts → types/flowbite-angular-modal.d.ts} +119 -119
  98. package/{navbar/index.d.ts → types/flowbite-angular-navbar.d.ts} +161 -161
  99. package/{pagination/index.d.ts → types/flowbite-angular-pagination.d.ts} +219 -219
  100. package/{sidebar/index.d.ts → types/flowbite-angular-sidebar.d.ts} +107 -107
  101. package/{tab/index.d.ts → types/flowbite-angular-tab.d.ts} +107 -107
  102. package/{table/index.d.ts → types/flowbite-angular-table.d.ts} +102 -102
  103. package/{theme-toggle/index.d.ts → types/flowbite-angular-theme-toggle.d.ts} +82 -82
  104. package/{tooltip/index.d.ts → types/flowbite-angular-tooltip.d.ts} +31 -31
  105. /package/{icon/brand/index.d.ts → types/flowbite-angular-icon-brand.d.ts} +0 -0
  106. /package/{icon/outline/arrows/index.d.ts → types/flowbite-angular-icon-outline-arrows.d.ts} +0 -0
  107. /package/{icon/outline/e-commerce/index.d.ts → types/flowbite-angular-icon-outline-e-commerce.d.ts} +0 -0
  108. /package/{icon/outline/emoji/index.d.ts → types/flowbite-angular-icon-outline-emoji.d.ts} +0 -0
  109. /package/{icon/outline/files-folders/index.d.ts → types/flowbite-angular-icon-outline-files-folders.d.ts} +0 -0
  110. /package/{icon/outline/general/index.d.ts → types/flowbite-angular-icon-outline-general.d.ts} +0 -0
  111. /package/{icon/outline/media/index.d.ts → types/flowbite-angular-icon-outline-media.d.ts} +0 -0
  112. /package/{icon/outline/text/index.d.ts → types/flowbite-angular-icon-outline-text.d.ts} +0 -0
  113. /package/{icon/outline/user/index.d.ts → types/flowbite-angular-icon-outline-user.d.ts} +0 -0
  114. /package/{icon/outline/weather/index.d.ts → types/flowbite-angular-icon-outline-weather.d.ts} +0 -0
  115. /package/{icon/outline/index.d.ts → types/flowbite-angular-icon-outline.d.ts} +0 -0
  116. /package/{icon/solid/arrows/index.d.ts → types/flowbite-angular-icon-solid-arrows.d.ts} +0 -0
  117. /package/{icon/solid/brands/index.d.ts → types/flowbite-angular-icon-solid-brands.d.ts} +0 -0
  118. /package/{icon/solid/e-commerce/index.d.ts → types/flowbite-angular-icon-solid-e-commerce.d.ts} +0 -0
  119. /package/{icon/solid/emoji/index.d.ts → types/flowbite-angular-icon-solid-emoji.d.ts} +0 -0
  120. /package/{icon/solid/files-folder/index.d.ts → types/flowbite-angular-icon-solid-files-folder.d.ts} +0 -0
  121. /package/{icon/solid/general/index.d.ts → types/flowbite-angular-icon-solid-general.d.ts} +0 -0
  122. /package/{icon/solid/media/index.d.ts → types/flowbite-angular-icon-solid-media.d.ts} +0 -0
  123. /package/{icon/solid/text/index.d.ts → types/flowbite-angular-icon-solid-text.d.ts} +0 -0
  124. /package/{icon/solid/user/index.d.ts → types/flowbite-angular-icon-solid-user.d.ts} +0 -0
  125. /package/{icon/solid/weather/index.d.ts → types/flowbite-angular-icon-solid-weather.d.ts} +0 -0
  126. /package/{icon/solid/index.d.ts → types/flowbite-angular-icon-solid.d.ts} +0 -0
  127. /package/{index.d.ts → types/flowbite-angular.d.ts} +0 -0
@@ -129,21 +129,19 @@ class PaginationButton {
129
129
  /**
130
130
  * @see {@link injectFlowbitePaginationFirstConfig}
131
131
  */
132
- this.color = input(this.config.color);
132
+ this.color = input(this.config.color, ...(ngDevMode ? [{ debugName: "color" }] : []));
133
133
  /**
134
134
  * @see {@link injectFlowbitePaginationFirstConfig}
135
135
  */
136
- this.size = input(this.config.size);
136
+ this.size = input(this.config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
137
137
  /**
138
138
  * @see {@link injectFlowbitePaginationFirstConfig}
139
139
  */
140
- this.outline = input(this.config.outline, {
141
- transform: booleanAttribute,
142
- });
140
+ this.outline = input(this.config.outline, { ...(ngDevMode ? { debugName: "outline" } : {}), transform: booleanAttribute });
143
141
  /**
144
142
  * @see {@link injectFlowbitePaginationButtonConfig}
145
143
  */
146
- this.customTheme = input(this.config.customTheme);
144
+ this.customTheme = input(this.config.customTheme, ...(ngDevMode ? [{ debugName: "customTheme" }] : []));
147
145
  this.theme = computed(() => {
148
146
  const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());
149
147
  return {
@@ -151,21 +149,21 @@ class PaginationButton {
151
149
  root: twMerge(mergedTheme.host.base, mergedTheme.host.transition, mergedTheme.host.focus, mergedTheme.host.disabled, mergedTheme.host.size[this.state.size()], colorToTheme(mergedTheme.host.colorOutline, this.state.color())),
152
150
  },
153
151
  };
154
- });
152
+ }, ...(ngDevMode ? [{ debugName: "theme" }] : []));
155
153
  /**
156
154
  * @internal
157
155
  */
158
156
  this.state = flowbitePaginationButtonState(this);
159
157
  }
160
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
161
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.6", type: PaginationButton, isStandalone: true, selector: "\n button[flowbitePaginationButton]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [provideFlowbitePaginationButtonState(), provideButtonState()], exportAs: ["flowbitePaginationButton"], hostDirectives: [{ directive: i1.NgpPaginationButton, inputs: ["ngpPaginationButtonDisabled", "disabled", "ngpPaginationButtonPage", "page"] }, { directive: i2.NgpFocus }], ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
158
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
159
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.8", type: PaginationButton, isStandalone: true, selector: "\n button[flowbitePaginationButton]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [provideFlowbitePaginationButtonState(), provideButtonState()], exportAs: ["flowbitePaginationButton"], hostDirectives: [{ directive: i1.NgpPaginationButton, inputs: ["ngpPaginationButtonDisabled", "disabled", "ngpPaginationButtonPage", "page"] }, { directive: i2.NgpFocus }], ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
162
160
  }
163
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationButton, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationButton, decorators: [{
164
162
  type: Component,
165
163
  args: [{
166
164
  standalone: true,
167
- selector: `
168
- button[flowbitePaginationButton]
165
+ selector: `
166
+ button[flowbitePaginationButton]
169
167
  `,
170
168
  exportAs: 'flowbitePaginationButton',
171
169
  hostDirectives: [
@@ -187,7 +185,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
187
185
  encapsulation: ViewEncapsulation.None,
188
186
  changeDetection: ChangeDetectionStrategy.OnPush,
189
187
  }]
190
- }] });
188
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], customTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTheme", required: false }] }] } });
191
189
 
192
190
  const flowbitePaginationFirstTheme = createTheme({
193
191
  host: {
@@ -269,21 +267,19 @@ class PaginationFirst {
269
267
  /**
270
268
  * @see {@link injectFlowbitePaginationFirstConfig}
271
269
  */
272
- this.color = input(this.config.color);
270
+ this.color = input(this.config.color, ...(ngDevMode ? [{ debugName: "color" }] : []));
273
271
  /**
274
272
  * @see {@link injectFlowbitePaginationFirstConfig}
275
273
  */
276
- this.size = input(this.config.size);
274
+ this.size = input(this.config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
277
275
  /**
278
276
  * @see {@link injectFlowbitePaginationFirstConfig}
279
277
  */
280
- this.outline = input(this.config.outline, {
281
- transform: booleanAttribute,
282
- });
278
+ this.outline = input(this.config.outline, { ...(ngDevMode ? { debugName: "outline" } : {}), transform: booleanAttribute });
283
279
  /**
284
280
  * @see {@link injectFlowbitePaginationFirstConfig}
285
281
  */
286
- this.customTheme = input(this.config.customTheme);
282
+ this.customTheme = input(this.config.customTheme, ...(ngDevMode ? [{ debugName: "customTheme" }] : []));
287
283
  this.theme = computed(() => {
288
284
  const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());
289
285
  return {
@@ -291,25 +287,25 @@ class PaginationFirst {
291
287
  root: twMerge(mergedTheme.host.base, mergedTheme.host.transition, mergedTheme.host.focus, mergedTheme.host.disabled, mergedTheme.host.size[this.state.size()], colorToTheme(mergedTheme.host.colorOutline, this.state.color())),
292
288
  },
293
289
  };
294
- });
290
+ }, ...(ngDevMode ? [{ debugName: "theme" }] : []));
295
291
  /**
296
292
  * @internal
297
293
  */
298
294
  this.state = flowbitePaginationFirstState(this);
299
295
  }
300
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationFirst, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
301
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.6", type: PaginationFirst, isStandalone: true, selector: "\n button[flowbitePaginationFirst]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
296
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationFirst, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
297
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.8", type: PaginationFirst, isStandalone: true, selector: "\n button[flowbitePaginationFirst]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
302
298
  provideFlowbitePaginationFirstState(),
303
299
  provideButtonState(),
304
300
  provideIcons({ chevronDoubleLeft }),
305
301
  ], exportAs: ["flowbitePaginationFirst"], hostDirectives: [{ directive: i1.NgpPaginationFirst, inputs: ["ngpPaginationFirstDisabled", "disabled"] }, { directive: i2.NgpFocus }], ngImport: i0, template: `<flowbite-icon name="chevronDoubleLeft" />`, isInline: true, dependencies: [{ kind: "component", type: Icon, selector: "flowbite-icon", inputs: ["name", "svg", "color", "customTheme"], exportAs: ["flowbiteIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
306
302
  }
307
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationFirst, decorators: [{
303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationFirst, decorators: [{
308
304
  type: Component,
309
305
  args: [{
310
306
  standalone: true,
311
- selector: `
312
- button[flowbitePaginationFirst]
307
+ selector: `
308
+ button[flowbitePaginationFirst]
313
309
  `,
314
310
  exportAs: 'flowbitePaginationFirst',
315
311
  hostDirectives: [
@@ -335,7 +331,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
335
331
  encapsulation: ViewEncapsulation.None,
336
332
  changeDetection: ChangeDetectionStrategy.OnPush,
337
333
  }]
338
- }] });
334
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], customTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTheme", required: false }] }] } });
339
335
 
340
336
  const flowbitePaginationLastTheme = createTheme({
341
337
  host: {
@@ -417,21 +413,19 @@ class PaginationLast {
417
413
  /**
418
414
  * @see {@link injectFlowbitePaginationLastConfig}
419
415
  */
420
- this.color = input(this.config.color);
416
+ this.color = input(this.config.color, ...(ngDevMode ? [{ debugName: "color" }] : []));
421
417
  /**
422
418
  * @see {@link injectFlowbitePaginationLastConfig}
423
419
  */
424
- this.size = input(this.config.size);
420
+ this.size = input(this.config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
425
421
  /**
426
422
  * @see {@link injectFlowbitePaginationLastConfig}
427
423
  */
428
- this.outline = input(this.config.outline, {
429
- transform: booleanAttribute,
430
- });
424
+ this.outline = input(this.config.outline, { ...(ngDevMode ? { debugName: "outline" } : {}), transform: booleanAttribute });
431
425
  /**
432
426
  * @see {@link injectFlowbitePaginationLastConfig}
433
427
  */
434
- this.customTheme = input(this.config.customTheme);
428
+ this.customTheme = input(this.config.customTheme, ...(ngDevMode ? [{ debugName: "customTheme" }] : []));
435
429
  this.theme = computed(() => {
436
430
  const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());
437
431
  return {
@@ -439,25 +433,25 @@ class PaginationLast {
439
433
  root: twMerge(mergedTheme.host.base, mergedTheme.host.transition, mergedTheme.host.focus, mergedTheme.host.disabled, mergedTheme.host.size[this.state.size()], colorToTheme(mergedTheme.host.colorOutline, this.state.color())),
440
434
  },
441
435
  };
442
- });
436
+ }, ...(ngDevMode ? [{ debugName: "theme" }] : []));
443
437
  /**
444
438
  * @internal
445
439
  */
446
440
  this.state = flowbitePaginationLastState(this);
447
441
  }
448
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationLast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
449
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.6", type: PaginationLast, isStandalone: true, selector: "\n button[flowbitePaginationLast]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
442
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationLast, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
443
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.8", type: PaginationLast, isStandalone: true, selector: "\n button[flowbitePaginationLast]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
450
444
  provideFlowbitePaginationLastState(),
451
445
  provideButtonState(),
452
446
  provideIcons({ chevronDoubleRight }),
453
447
  ], exportAs: ["flowbitePaginationLast"], hostDirectives: [{ directive: i1.NgpPaginationLast, inputs: ["ngpPaginationLastDisabled", "disabled"] }, { directive: i2.NgpFocus }], ngImport: i0, template: `<flowbite-icon name="chevronDoubleRight" />`, isInline: true, dependencies: [{ kind: "component", type: Icon, selector: "flowbite-icon", inputs: ["name", "svg", "color", "customTheme"], exportAs: ["flowbiteIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
454
448
  }
455
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationLast, decorators: [{
449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationLast, decorators: [{
456
450
  type: Component,
457
451
  args: [{
458
452
  standalone: true,
459
- selector: `
460
- button[flowbitePaginationLast]
453
+ selector: `
454
+ button[flowbitePaginationLast]
461
455
  `,
462
456
  exportAs: 'flowbitePaginationLast',
463
457
  hostDirectives: [
@@ -483,7 +477,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
483
477
  encapsulation: ViewEncapsulation.None,
484
478
  changeDetection: ChangeDetectionStrategy.OnPush,
485
479
  }]
486
- }] });
480
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], customTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTheme", required: false }] }] } });
487
481
 
488
482
  const flowbitePaginationNextTheme = createTheme({
489
483
  host: {
@@ -565,24 +559,22 @@ class PaginationNext {
565
559
  /**
566
560
  * @see {@link injectFlowbitePaginationNextConfig}
567
561
  */
568
- this.color = input(this.config.color);
562
+ this.color = input(this.config.color, ...(ngDevMode ? [{ debugName: "color" }] : []));
569
563
  /**
570
564
  * @see {@link injectFlowbitePaginationNextConfig}
571
565
  */
572
- this.size = input(this.config.size);
566
+ this.size = input(this.config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
573
567
  /**
574
568
  * @see {@link injectFlowbitePaginationNextConfig}
575
569
  */
576
- this.outline = input(this.config.outline, {
577
- transform: booleanAttribute,
578
- });
570
+ this.outline = input(this.config.outline, { ...(ngDevMode ? { debugName: "outline" } : {}), transform: booleanAttribute });
579
571
  /**
580
572
  * @see {@link injectFlowbitePaginationFirstConfig}
581
573
  */
582
574
  /**
583
575
  * @see {@link injectFlowbitePaginationNextConfig}
584
576
  */
585
- this.customTheme = input(this.config.customTheme);
577
+ this.customTheme = input(this.config.customTheme, ...(ngDevMode ? [{ debugName: "customTheme" }] : []));
586
578
  this.theme = computed(() => {
587
579
  const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());
588
580
  return {
@@ -590,25 +582,25 @@ class PaginationNext {
590
582
  root: twMerge(mergedTheme.host.base, mergedTheme.host.transition, mergedTheme.host.focus, mergedTheme.host.disabled, mergedTheme.host.size[this.state.size()], colorToTheme(mergedTheme.host.colorOutline, this.state.color())),
591
583
  },
592
584
  };
593
- });
585
+ }, ...(ngDevMode ? [{ debugName: "theme" }] : []));
594
586
  /**
595
587
  * @internal
596
588
  */
597
589
  this.state = flowbitePaginationNextState(this);
598
590
  }
599
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationNext, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
600
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.6", type: PaginationNext, isStandalone: true, selector: "\n button[flowbitePaginationNext]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
591
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationNext, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
592
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.8", type: PaginationNext, isStandalone: true, selector: "\n button[flowbitePaginationNext]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
601
593
  provideFlowbitePaginationNextState(),
602
594
  provideButtonState(),
603
595
  provideIcons({ chevronRight }),
604
596
  ], exportAs: ["flowbitePaginationNext"], hostDirectives: [{ directive: i1.NgpPaginationNext, inputs: ["ngpPaginationNextDisabled", "disabled"] }, { directive: i2.NgpFocus }], ngImport: i0, template: `<flowbite-icon name="chevronRight" />`, isInline: true, dependencies: [{ kind: "component", type: Icon, selector: "flowbite-icon", inputs: ["name", "svg", "color", "customTheme"], exportAs: ["flowbiteIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
605
597
  }
606
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationNext, decorators: [{
598
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationNext, decorators: [{
607
599
  type: Component,
608
600
  args: [{
609
601
  standalone: true,
610
- selector: `
611
- button[flowbitePaginationNext]
602
+ selector: `
603
+ button[flowbitePaginationNext]
612
604
  `,
613
605
  exportAs: 'flowbitePaginationNext',
614
606
  hostDirectives: [
@@ -634,7 +626,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
634
626
  encapsulation: ViewEncapsulation.None,
635
627
  changeDetection: ChangeDetectionStrategy.OnPush,
636
628
  }]
637
- }] });
629
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], customTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTheme", required: false }] }] } });
638
630
 
639
631
  const flowbitePaginationPreviousTheme = createTheme({
640
632
  host: {
@@ -716,21 +708,19 @@ class PaginationPrevious {
716
708
  /**
717
709
  * @see {@link injectFlowbitePaginationPreviousConfig}
718
710
  */
719
- this.color = input(this.config.color);
711
+ this.color = input(this.config.color, ...(ngDevMode ? [{ debugName: "color" }] : []));
720
712
  /**
721
713
  * @see {@link injectFlowbitePaginationPreviousConfig}
722
714
  */
723
- this.size = input(this.config.size);
715
+ this.size = input(this.config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
724
716
  /**
725
717
  * @see {@link injectFlowbitePaginationPreviousConfig}
726
718
  */
727
- this.outline = input(this.config.outline, {
728
- transform: booleanAttribute,
729
- });
719
+ this.outline = input(this.config.outline, { ...(ngDevMode ? { debugName: "outline" } : {}), transform: booleanAttribute });
730
720
  /**
731
721
  * @see {@link injectFlowbitePaginationPreviousConfig}
732
722
  */
733
- this.customTheme = input(this.config.customTheme);
723
+ this.customTheme = input(this.config.customTheme, ...(ngDevMode ? [{ debugName: "customTheme" }] : []));
734
724
  this.theme = computed(() => {
735
725
  const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());
736
726
  return {
@@ -738,25 +728,25 @@ class PaginationPrevious {
738
728
  root: twMerge(mergedTheme.host.base, mergedTheme.host.transition, mergedTheme.host.focus, mergedTheme.host.disabled, mergedTheme.host.size[this.state.size()], colorToTheme(mergedTheme.host.colorOutline, this.state.color())),
739
729
  },
740
730
  };
741
- });
731
+ }, ...(ngDevMode ? [{ debugName: "theme" }] : []));
742
732
  /**
743
733
  * @internal
744
734
  */
745
735
  this.state = flowbitePaginationPreviousState(this);
746
736
  }
747
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationPrevious, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
748
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.6", type: PaginationPrevious, isStandalone: true, selector: "\n button[flowbitePaginationPrevious]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
737
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationPrevious, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
738
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.8", type: PaginationPrevious, isStandalone: true, selector: "\n button[flowbitePaginationPrevious]\n ", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, outline: { classPropertyName: "outline", publicName: "outline", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
749
739
  provideFlowbitePaginationPreviousState(),
750
740
  provideButtonState(),
751
741
  provideIcons({ chevronLeft }),
752
742
  ], exportAs: ["flowbitePaginationPrevious"], hostDirectives: [{ directive: i1.NgpPaginationPrevious, inputs: ["ngpPaginationPreviousDisabled", "disabled"] }, { directive: i2.NgpFocus }], ngImport: i0, template: `<flowbite-icon name="chevronLeft" />`, isInline: true, dependencies: [{ kind: "component", type: Icon, selector: "flowbite-icon", inputs: ["name", "svg", "color", "customTheme"], exportAs: ["flowbiteIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
753
743
  }
754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: PaginationPrevious, decorators: [{
744
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PaginationPrevious, decorators: [{
755
745
  type: Component,
756
746
  args: [{
757
747
  standalone: true,
758
- selector: `
759
- button[flowbitePaginationPrevious]
748
+ selector: `
749
+ button[flowbitePaginationPrevious]
760
750
  `,
761
751
  exportAs: 'flowbitePaginationPrevious',
762
752
  hostDirectives: [
@@ -782,7 +772,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
782
772
  encapsulation: ViewEncapsulation.None,
783
773
  changeDetection: ChangeDetectionStrategy.OnPush,
784
774
  }]
785
- }] });
775
+ }], propDecorators: { color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], outline: [{ type: i0.Input, args: [{ isSignal: true, alias: "outline", required: false }] }], customTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTheme", required: false }] }] } });
786
776
 
787
777
  const FlowbitePaginationStateToken = createStateToken('Flowbite Pagination');
788
778
  const provideFlowbitePaginationState = createStateProvider(FlowbitePaginationStateToken);
@@ -798,7 +788,7 @@ class Pagination {
798
788
  */
799
789
  this.visiblePagesCount = computed(() => {
800
790
  return Math.min(this.state.tabs(), this.paginationState().pageCount());
801
- });
791
+ }, ...(ngDevMode ? [{ debugName: "visiblePagesCount" }] : []));
802
792
  /**
803
793
  * Value of the first visible page
804
794
  */
@@ -811,30 +801,30 @@ class Pagination {
811
801
  return this.paginationState().pageCount() - this.visiblePagesCount() + 1;
812
802
  }
813
803
  return this.paginationState().page() - Math.floor(this.tabs() / 2);
814
- });
804
+ }, ...(ngDevMode ? [{ debugName: "firstPageToShow" }] : []));
815
805
  /**
816
806
  * Array of the visible page tabs
817
807
  */
818
808
  this.visiblePages = computed(() => {
819
809
  return Array.from({ length: this.visiblePagesCount() }, (_, i) => this.firstPageToShow() + i);
820
- });
821
- this.pages = computed(() => Array.from({ length: this.paginationState().pageCount() }).map((_, i) => i + 1));
810
+ }, ...(ngDevMode ? [{ debugName: "visiblePages" }] : []));
811
+ this.pages = computed(() => Array.from({ length: this.paginationState().pageCount() }).map((_, i) => i + 1), ...(ngDevMode ? [{ debugName: "pages" }] : []));
822
812
  /**
823
813
  * @see {@link injectFlowbitePaginationConfig}
824
814
  */
825
- this.tabs = input(this.config.tabs);
815
+ this.tabs = input(this.config.tabs, ...(ngDevMode ? [{ debugName: "tabs" }] : []));
826
816
  /**
827
817
  * @see {@link injectFlowbitePaginationConfig}
828
818
  */
829
- this.color = input(this.config.color);
819
+ this.color = input(this.config.color, ...(ngDevMode ? [{ debugName: "color" }] : []));
830
820
  /**
831
821
  * @see {@link injectFlowbitePaginationConfig}
832
822
  */
833
- this.size = input(this.config.size);
823
+ this.size = input(this.config.size, ...(ngDevMode ? [{ debugName: "size" }] : []));
834
824
  /**
835
825
  * @see {@link injectFlowbitePaginationConfig}
836
826
  */
837
- this.customTheme = input(this.config.customTheme);
827
+ this.customTheme = input(this.config.customTheme, ...(ngDevMode ? [{ debugName: "customTheme" }] : []));
838
828
  this.theme = computed(() => {
839
829
  const mergedTheme = mergeDeep(this.config.baseTheme, this.state.customTheme());
840
830
  return {
@@ -845,72 +835,72 @@ class Pagination {
845
835
  root: twMerge(mergedTheme.container.base, mergedTheme.container.transition),
846
836
  },
847
837
  };
848
- });
838
+ }, ...(ngDevMode ? [{ debugName: "theme" }] : []));
849
839
  /**
850
840
  * @internal
851
841
  */
852
842
  this.state = flowbitePaginationState(this);
853
843
  }
854
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: Pagination, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
855
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: Pagination, isStandalone: true, selector: "\n nav[flowbitePagination]\n ", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
844
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: Pagination, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
845
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", type: Pagination, isStandalone: true, selector: "\n nav[flowbitePagination]\n ", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, customTheme: { classPropertyName: "customTheme", publicName: "customTheme", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "theme().host.root" } }, providers: [
856
846
  provideFlowbitePaginationState(),
857
847
  provideIcons({ chevronLeft, chevronDoubleLeft, chevronRight, chevronDoubleRight }),
858
- ], exportAs: ["flowbitePagination"], hostDirectives: [{ directive: i1.NgpPagination, inputs: ["ngpPaginationPage", "page", "ngpPaginationPageCount", "pageCount", "ngpPaginationDisabled", "disabled"], outputs: ["ngpPaginationPageChange", "pageChange"] }], ngImport: i0, template: `
859
- <ul [class]="theme().container.root">
860
- <li>
861
- <button
862
- flowbitePaginationFirst
863
- outline
864
- [color]="state.color()"
865
- [size]="state.size()"
866
- aria-label="First Page"></button>
867
- </li>
868
- <li>
869
- <button
870
- flowbitePaginationPrevious
871
- outline
872
- [color]="state.color()"
873
- [size]="state.size()"
874
- aria-label="Previous Page"></button>
875
- </li>
876
- @for (page of visiblePages(); track $index) {
877
- <li>
878
- <button
879
- flowbitePaginationButton
880
- outline
881
- [color]="state.color()"
882
- [size]="state.size()"
883
- [page]="page"
884
- [attr.aria-label]="'Page' + page">
885
- {{ page }}
886
- </button>
887
- </li>
888
- }
889
- <li>
890
- <button
891
- flowbitePaginationNext
892
- outline
893
- [color]="state.color()"
894
- [size]="state.size()"
895
- aria-label="Next Page"></button>
896
- </li>
897
- <li>
898
- <button
899
- flowbitePaginationLast
900
- outline
901
- [color]="state.color()"
902
- [size]="state.size()"
903
- aria-label="Last Page"></button>
904
- </li>
905
- </ul>
848
+ ], exportAs: ["flowbitePagination"], hostDirectives: [{ directive: i1.NgpPagination, inputs: ["ngpPaginationPage", "page", "ngpPaginationPageCount", "pageCount", "ngpPaginationDisabled", "disabled"], outputs: ["ngpPaginationPageChange", "pageChange"] }], ngImport: i0, template: `
849
+ <ul [class]="theme().container.root">
850
+ <li>
851
+ <button
852
+ flowbitePaginationFirst
853
+ outline
854
+ [color]="state.color()"
855
+ [size]="state.size()"
856
+ aria-label="First Page"></button>
857
+ </li>
858
+ <li>
859
+ <button
860
+ flowbitePaginationPrevious
861
+ outline
862
+ [color]="state.color()"
863
+ [size]="state.size()"
864
+ aria-label="Previous Page"></button>
865
+ </li>
866
+ @for (page of visiblePages(); track $index) {
867
+ <li>
868
+ <button
869
+ flowbitePaginationButton
870
+ outline
871
+ [color]="state.color()"
872
+ [size]="state.size()"
873
+ [page]="page"
874
+ [attr.aria-label]="'Page' + page">
875
+ {{ page }}
876
+ </button>
877
+ </li>
878
+ }
879
+ <li>
880
+ <button
881
+ flowbitePaginationNext
882
+ outline
883
+ [color]="state.color()"
884
+ [size]="state.size()"
885
+ aria-label="Next Page"></button>
886
+ </li>
887
+ <li>
888
+ <button
889
+ flowbitePaginationLast
890
+ outline
891
+ [color]="state.color()"
892
+ [size]="state.size()"
893
+ aria-label="Last Page"></button>
894
+ </li>
895
+ </ul>
906
896
  `, isInline: true, dependencies: [{ kind: "component", type: PaginationLast, selector: "\n button[flowbitePaginationLast]\n ", inputs: ["color", "size", "outline", "customTheme"], exportAs: ["flowbitePaginationLast"] }, { kind: "component", type: PaginationNext, selector: "\n button[flowbitePaginationNext]\n ", inputs: ["color", "size", "outline", "customTheme"], exportAs: ["flowbitePaginationNext"] }, { kind: "component", type: PaginationFirst, selector: "\n button[flowbitePaginationFirst]\n ", inputs: ["color", "size", "outline", "customTheme"], exportAs: ["flowbitePaginationFirst"] }, { kind: "component", type: PaginationButton, selector: "\n button[flowbitePaginationButton]\n ", inputs: ["color", "size", "outline", "customTheme"], exportAs: ["flowbitePaginationButton"] }, { kind: "component", type: PaginationPrevious, selector: "\n button[flowbitePaginationPrevious]\n ", inputs: ["color", "size", "outline", "customTheme"], exportAs: ["flowbitePaginationPrevious"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
907
897
  }
908
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: Pagination, decorators: [{
898
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: Pagination, decorators: [{
909
899
  type: Component,
910
900
  args: [{
911
901
  standalone: true,
912
- selector: `
913
- nav[flowbitePagination]
902
+ selector: `
903
+ nav[flowbitePagination]
914
904
  `,
915
905
  exportAs: 'flowbitePagination',
916
906
  hostDirectives: [
@@ -930,59 +920,59 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
930
920
  provideIcons({ chevronLeft, chevronDoubleLeft, chevronRight, chevronDoubleRight }),
931
921
  ],
932
922
  host: { '[class]': `theme().host.root` },
933
- template: `
934
- <ul [class]="theme().container.root">
935
- <li>
936
- <button
937
- flowbitePaginationFirst
938
- outline
939
- [color]="state.color()"
940
- [size]="state.size()"
941
- aria-label="First Page"></button>
942
- </li>
943
- <li>
944
- <button
945
- flowbitePaginationPrevious
946
- outline
947
- [color]="state.color()"
948
- [size]="state.size()"
949
- aria-label="Previous Page"></button>
950
- </li>
951
- @for (page of visiblePages(); track $index) {
952
- <li>
953
- <button
954
- flowbitePaginationButton
955
- outline
956
- [color]="state.color()"
957
- [size]="state.size()"
958
- [page]="page"
959
- [attr.aria-label]="'Page' + page">
960
- {{ page }}
961
- </button>
962
- </li>
963
- }
964
- <li>
965
- <button
966
- flowbitePaginationNext
967
- outline
968
- [color]="state.color()"
969
- [size]="state.size()"
970
- aria-label="Next Page"></button>
971
- </li>
972
- <li>
973
- <button
974
- flowbitePaginationLast
975
- outline
976
- [color]="state.color()"
977
- [size]="state.size()"
978
- aria-label="Last Page"></button>
979
- </li>
980
- </ul>
923
+ template: `
924
+ <ul [class]="theme().container.root">
925
+ <li>
926
+ <button
927
+ flowbitePaginationFirst
928
+ outline
929
+ [color]="state.color()"
930
+ [size]="state.size()"
931
+ aria-label="First Page"></button>
932
+ </li>
933
+ <li>
934
+ <button
935
+ flowbitePaginationPrevious
936
+ outline
937
+ [color]="state.color()"
938
+ [size]="state.size()"
939
+ aria-label="Previous Page"></button>
940
+ </li>
941
+ @for (page of visiblePages(); track $index) {
942
+ <li>
943
+ <button
944
+ flowbitePaginationButton
945
+ outline
946
+ [color]="state.color()"
947
+ [size]="state.size()"
948
+ [page]="page"
949
+ [attr.aria-label]="'Page' + page">
950
+ {{ page }}
951
+ </button>
952
+ </li>
953
+ }
954
+ <li>
955
+ <button
956
+ flowbitePaginationNext
957
+ outline
958
+ [color]="state.color()"
959
+ [size]="state.size()"
960
+ aria-label="Next Page"></button>
961
+ </li>
962
+ <li>
963
+ <button
964
+ flowbitePaginationLast
965
+ outline
966
+ [color]="state.color()"
967
+ [size]="state.size()"
968
+ aria-label="Last Page"></button>
969
+ </li>
970
+ </ul>
981
971
  `,
982
972
  encapsulation: ViewEncapsulation.None,
983
973
  changeDetection: ChangeDetectionStrategy.OnPush,
984
974
  }]
985
- }] });
975
+ }], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], customTheme: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTheme", required: false }] }] } });
986
976
 
987
977
  /* Pagination */
988
978