flowbite-angular 1.2.0 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -39
- package/accordion/index.d.ts +569 -16
- package/alert/index.d.ts +602 -4
- package/badge/index.d.ts +636 -4
- package/breadcrumb/index.d.ts +452 -8
- package/button/index.d.ts +335 -4
- package/button-group/README.md +4 -0
- package/button-group/index.d.ts +85 -0
- package/{core → card}/README.md +2 -2
- package/card/index.d.ts +640 -0
- package/{accordion → clipboard}/README.md +2 -2
- package/clipboard/index.d.ts +103 -0
- package/dropdown/index.d.ts +536 -16
- package/fesm2022/flowbite-angular-accordion.mjs +340 -479
- package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
- package/fesm2022/flowbite-angular-alert.mjs +309 -240
- package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
- package/fesm2022/flowbite-angular-badge.mjs +334 -136
- package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
- package/fesm2022/flowbite-angular-breadcrumb.mjs +263 -191
- package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/flowbite-angular-button-group.mjs +86 -0
- package/fesm2022/flowbite-angular-button-group.mjs.map +1 -0
- package/fesm2022/flowbite-angular-button.mjs +190 -270
- package/fesm2022/flowbite-angular-button.mjs.map +1 -1
- package/fesm2022/flowbite-angular-card.mjs +344 -0
- package/fesm2022/flowbite-angular-card.mjs.map +1 -0
- package/fesm2022/flowbite-angular-clipboard.mjs +174 -0
- package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -0
- package/fesm2022/flowbite-angular-dropdown.mjs +273 -459
- package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
- package/fesm2022/flowbite-angular-form.mjs +444 -0
- package/fesm2022/flowbite-angular-form.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-brand.mjs +71 -0
- package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-arrows.mjs +51 -0
- package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs +23 -0
- package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-emoji.mjs +13 -0
- package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs +42 -0
- package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-general.mjs +145 -0
- package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-media.mjs +25 -0
- package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-text.mjs +20 -0
- package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-user.mjs +17 -0
- package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline-weather.mjs +9 -0
- package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-outline.mjs +6 -0
- package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-arrows.mjs +17 -0
- package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-brands.mjs +33 -0
- package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs +21 -0
- package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-emoji.mjs +13 -0
- package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs +42 -0
- package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-general.mjs +123 -0
- package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-media.mjs +24 -0
- package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-text.mjs +11 -0
- package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-user.mjs +17 -0
- package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid-weather.mjs +9 -0
- package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon-solid.mjs +6 -0
- package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -0
- package/fesm2022/flowbite-angular-icon.mjs +318 -219
- package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
- package/fesm2022/flowbite-angular-indicator.mjs +119 -231
- package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
- package/fesm2022/flowbite-angular-modal.mjs +338 -486
- package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
- package/fesm2022/flowbite-angular-navbar.mjs +601 -604
- package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-pagination.mjs +994 -0
- package/fesm2022/flowbite-angular-pagination.mjs.map +1 -0
- package/fesm2022/flowbite-angular-sidebar.mjs +403 -776
- package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-tab.mjs +465 -0
- package/fesm2022/flowbite-angular-tab.mjs.map +1 -0
- package/fesm2022/flowbite-angular-theme-toggle.mjs +263 -0
- package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -0
- package/fesm2022/flowbite-angular-tooltip.mjs +117 -0
- package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -0
- package/fesm2022/flowbite-angular.mjs +53 -66
- package/fesm2022/flowbite-angular.mjs.map +1 -1
- package/{alert → form}/README.md +2 -2
- package/form/index.d.ts +684 -0
- package/{breadcrumb → icon/brand}/README.md +2 -2
- package/icon/brand/index.d.ts +66 -0
- package/icon/index.d.ts +322 -5
- package/icon/outline/README.md +4 -0
- package/icon/outline/arrows/index.d.ts +46 -0
- package/icon/outline/e-commerce/index.d.ts +18 -0
- package/icon/outline/emoji/index.d.ts +8 -0
- package/icon/outline/files-folders/index.d.ts +37 -0
- package/icon/outline/general/index.d.ts +140 -0
- package/icon/outline/index.d.ts +2 -0
- package/icon/outline/media/index.d.ts +20 -0
- package/icon/outline/text/index.d.ts +15 -0
- package/icon/outline/user/index.d.ts +12 -0
- package/icon/outline/weather/index.d.ts +4 -0
- package/icon/solid/README.md +4 -0
- package/icon/solid/arrows/index.d.ts +12 -0
- package/icon/solid/brands/index.d.ts +28 -0
- package/icon/solid/e-commerce/index.d.ts +16 -0
- package/icon/solid/emoji/index.d.ts +8 -0
- package/icon/solid/files-folder/index.d.ts +37 -0
- package/icon/solid/general/index.d.ts +118 -0
- package/icon/solid/index.d.ts +2 -0
- package/icon/solid/media/index.d.ts +19 -0
- package/icon/solid/text/index.d.ts +6 -0
- package/icon/solid/user/index.d.ts +12 -0
- package/icon/solid/weather/index.d.ts +4 -0
- package/index.d.ts +126 -3
- package/indicator/index.d.ts +242 -4
- package/modal/index.d.ts +458 -16
- package/navbar/index.d.ts +1467 -24
- package/package.json +137 -42
- package/pagination/README.md +4 -0
- package/pagination/index.d.ts +1135 -0
- package/sidebar/index.d.ts +880 -24
- package/styles/flowbite-angular.css +8 -0
- package/styles/part/animation.css +0 -0
- package/styles/part/color.css +125 -0
- package/styles/part/font-size.css +67 -0
- package/styles/part/rounded.css +11 -0
- package/styles/part/shadow.css +9 -0
- package/styles/part/spacing.css +38 -0
- package/{badge → tab}/README.md +2 -2
- package/tab/index.d.ts +791 -0
- package/theme-toggle/README.md +4 -0
- package/theme-toggle/index.d.ts +342 -0
- package/{button → tooltip}/README.md +2 -2
- package/tooltip/index.d.ts +158 -0
- package/accordion/accordion-content.component.d.ts +0 -69
- package/accordion/accordion-content.theme.d.ts +0 -28
- package/accordion/accordion-content.theme.service.d.ts +0 -19
- package/accordion/accordion-panel.component.d.ts +0 -67
- package/accordion/accordion-panel.theme.d.ts +0 -23
- package/accordion/accordion-panel.theme.service.d.ts +0 -20
- package/accordion/accordion-title.component.d.ts +0 -106
- package/accordion/accordion-title.theme.d.ts +0 -35
- package/accordion/accordion-title.theme.service.d.ts +0 -19
- package/accordion/accordion.component.d.ts +0 -61
- package/accordion/accordion.theme.d.ts +0 -29
- package/accordion/accordion.theme.service.d.ts +0 -19
- package/alert/alert.component.d.ts +0 -150
- package/alert/alert.theme.d.ts +0 -39
- package/alert/alert.theme.service.d.ts +0 -19
- package/badge/badge.component.d.ts +0 -122
- package/badge/badge.theme.d.ts +0 -45
- package/badge/badge.theme.service.d.ts +0 -19
- package/base-component.directive.d.ts +0 -51
- package/breadcrumb/breadcrumb-item.component.d.ts +0 -84
- package/breadcrumb/breadcrumb-item.theme.d.ts +0 -33
- package/breadcrumb/breadcrumb-item.theme.service.d.ts +0 -19
- package/breadcrumb/breadcrumb.component.d.ts +0 -43
- package/breadcrumb/breadcrumb.theme.d.ts +0 -29
- package/breadcrumb/breadcrumb.theme.service.d.ts +0 -19
- package/button/button.component.d.ts +0 -250
- package/button/button.theme.d.ts +0 -79
- package/button/button.theme.service.d.ts +0 -19
- package/core/flowbite.theme.init.d.ts +0 -9
- package/core/index.d.ts +0 -1
- package/dark-theme-toggle/README.md +0 -4
- package/dark-theme-toggle/dark-theme-toggle.component.d.ts +0 -51
- package/dark-theme-toggle/dark-theme-toggle.theme.d.ts +0 -23
- package/dark-theme-toggle/dark-theme-toggle.theme.service.d.ts +0 -19
- package/dark-theme-toggle/index.d.ts +0 -3
- package/dropdown/README.md +0 -4
- package/dropdown/dropdown-divider.component.d.ts +0 -36
- package/dropdown/dropdown-divider.theme.d.ts +0 -23
- package/dropdown/dropdown-divider.theme.service.d.ts +0 -19
- package/dropdown/dropdown-header.component.d.ts +0 -42
- package/dropdown/dropdown-header.theme.d.ts +0 -28
- package/dropdown/dropdown-header.theme.service.d.ts +0 -19
- package/dropdown/dropdown-item.component.d.ts +0 -36
- package/dropdown/dropdown-item.theme.d.ts +0 -23
- package/dropdown/dropdown-item.theme.service.d.ts +0 -19
- package/dropdown/dropdown.component.d.ts +0 -136
- package/dropdown/dropdown.theme.d.ts +0 -56
- package/dropdown/dropdown.theme.service.d.ts +0 -19
- package/fesm2022/flowbite-angular-core.mjs +0 -322
- package/fesm2022/flowbite-angular-core.mjs.map +0 -1
- package/fesm2022/flowbite-angular-dark-theme-toggle.mjs +0 -138
- package/fesm2022/flowbite-angular-dark-theme-toggle.mjs.map +0 -1
- package/fesm2022/flowbite-angular-router-link-active.mjs +0 -68
- package/fesm2022/flowbite-angular-router-link-active.mjs.map +0 -1
- package/fesm2022/flowbite-angular-router-link.mjs +0 -73
- package/fesm2022/flowbite-angular-router-link.mjs.map +0 -1
- package/fesm2022/flowbite-angular-sanitize-html.mjs +0 -39
- package/fesm2022/flowbite-angular-sanitize-html.mjs.map +0 -1
- package/fesm2022/flowbite-angular-scroll-top.mjs +0 -192
- package/fesm2022/flowbite-angular-scroll-top.mjs.map +0 -1
- package/fesm2022/flowbite-angular-theme.mjs +0 -78
- package/fesm2022/flowbite-angular-theme.mjs.map +0 -1
- package/fesm2022/flowbite-angular-utils.mjs +0 -210
- package/fesm2022/flowbite-angular-utils.mjs.map +0 -1
- package/flowbite.theme.service.d.ts +0 -12
- package/icon/icon-registry.d.ts +0 -45
- package/icon/icon.component.d.ts +0 -22
- package/icon/trusted-types.d.ts +0 -15
- package/indicator/indicators.component.d.ts +0 -224
- package/indicator/indicators.theme.d.ts +0 -59
- package/indicator/indicators.theme.service.d.ts +0 -19
- package/modal/modal-body.component.d.ts +0 -36
- package/modal/modal-body.theme.d.ts +0 -23
- package/modal/modal-body.theme.service.d.ts +0 -19
- package/modal/modal-footer.component.d.ts +0 -36
- package/modal/modal-footer.theme.d.ts +0 -23
- package/modal/modal-footer.theme.service.d.ts +0 -19
- package/modal/modal-header.component.d.ts +0 -60
- package/modal/modal-header.theme.d.ts +0 -32
- package/modal/modal-header.theme.service.d.ts +0 -19
- package/modal/modal.component.d.ts +0 -146
- package/modal/modal.theme.d.ts +0 -35
- package/modal/modal.theme.service.d.ts +0 -19
- package/navbar/navbar-brand.component.d.ts +0 -36
- package/navbar/navbar-brand.theme.d.ts +0 -23
- package/navbar/navbar-brand.theme.service.d.ts +0 -19
- package/navbar/navbar-content.component.d.ts +0 -50
- package/navbar/navbar-content.theme.d.ts +0 -28
- package/navbar/navbar-content.theme.service.d.ts +0 -19
- package/navbar/navbar-icon-button.component.d.ts +0 -59
- package/navbar/navbar-icon-button.theme.d.ts +0 -26
- package/navbar/navbar-icon-button.theme.service.d.ts +0 -19
- package/navbar/navbar-item.component.d.ts +0 -67
- package/navbar/navbar-item.theme.d.ts +0 -26
- package/navbar/navbar-item.theme.service.d.ts +0 -19
- package/navbar/navbar-toggle.component.d.ts +0 -51
- package/navbar/navbar-toggle.theme.d.ts +0 -23
- package/navbar/navbar-toggle.theme.service.d.ts +0 -19
- package/navbar/navbar.component.d.ts +0 -121
- package/navbar/navbar.theme.d.ts +0 -21
- package/navbar/navbar.theme.service.d.ts +0 -19
- package/router-link/README.md +0 -4
- package/router-link/flowbite-router-link.directive.d.ts +0 -28
- package/router-link/index.d.ts +0 -1
- package/router-link-active/README.md +0 -4
- package/router-link-active/flowbite-router-link-active.directive.d.ts +0 -37
- package/router-link-active/index.d.ts +0 -1
- package/sanitize-html/README.md +0 -4
- package/sanitize-html/index.d.ts +0 -1
- package/sanitize-html/sanitize-html.pipe.d.ts +0 -20
- package/scroll-top/README.md +0 -4
- package/scroll-top/index.d.ts +0 -4
- package/scroll-top/scroll-top.component.d.ts +0 -114
- package/scroll-top/scroll-top.theme.d.ts +0 -39
- package/scroll-top/scroll-top.theme.service.d.ts +0 -19
- package/sidebar/sidebar-item-group.component.d.ts +0 -100
- package/sidebar/sidebar-item-group.theme.d.ts +0 -31
- package/sidebar/sidebar-item-group.theme.service.d.ts +0 -19
- package/sidebar/sidebar-item.component.d.ts +0 -101
- package/sidebar/sidebar-item.theme.d.ts +0 -33
- package/sidebar/sidebar-item.theme.service.d.ts +0 -19
- package/sidebar/sidebar-menu.component.d.ts +0 -93
- package/sidebar/sidebar-menu.theme.d.ts +0 -30
- package/sidebar/sidebar-menu.theme.service.d.ts +0 -19
- package/sidebar/sidebar-page-content.component.d.ts +0 -46
- package/sidebar/sidebar-page-content.theme.d.ts +0 -27
- package/sidebar/sidebar-page-content.theme.service.d.ts +0 -19
- package/sidebar/sidebar-toggle.component.d.ts +0 -95
- package/sidebar/sidebar-toggle.theme.d.ts +0 -34
- package/sidebar/sidebar-toggle.theme.service.d.ts +0 -19
- package/sidebar/sidebar.component.d.ts +0 -84
- package/sidebar/sidebar.theme.d.ts +0 -22
- package/sidebar/sidebar.theme.service.d.ts +0 -19
- package/tailwind.config.js +0 -303
- package/theme/README.md +0 -4
- package/theme/flowbite-theme.directive.d.ts +0 -36
- package/theme/index.d.ts +0 -1
- package/type-definitions/colors/flowbite.colors.d.ts +0 -19
- package/type-definitions/colors/flowbite.gradient-colors.d.ts +0 -11
- package/type-definitions/colors/flowbite.gradient-duo-tone-colors.d.ts +0 -12
- package/type-definitions/colors/index.d.ts +0 -3
- package/type-definitions/flowbite.boolean.d.ts +0 -14
- package/type-definitions/flowbite.class.d.ts +0 -6
- package/type-definitions/flowbite.combination.d.ts +0 -8
- package/type-definitions/flowbite.content-positions.d.ts +0 -6
- package/type-definitions/flowbite.deep-partial.d.ts +0 -6
- package/type-definitions/flowbite.heading-levels.d.ts +0 -4
- package/type-definitions/flowbite.positions.d.ts +0 -14
- package/type-definitions/flowbite.router-link-parameter.d.ts +0 -5
- package/type-definitions/flowbite.sizes.d.ts +0 -10
- package/type-definitions/flowbite.themes.d.ts +0 -4
- package/type-definitions/index.d.ts +0 -12
- package/utils/README.md +0 -4
- package/utils/icon.list.d.ts +0 -7
- package/utils/id.generator.d.ts +0 -59
- package/utils/index.d.ts +0 -8
- package/utils/theme/clone-deep.d.ts +0 -7
- package/utils/theme/create-class.d.ts +0 -7
- package/utils/theme/create-theme.d.ts +0 -7
- package/utils/theme/is-object.d.ts +0 -7
- package/utils/theme/merge-theme.d.ts +0 -8
- package/utils/theme/to-string.d.ts +0 -7
package/badge/index.d.ts
CHANGED
|
@@ -1,4 +1,636 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as ng_primitives_state from 'ng-primitives/state';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
4
|
+
import * as flowbite_angular_badge from 'flowbite-angular/badge';
|
|
5
|
+
import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, FlowbiteSizes, DeepPartial } from 'flowbite-angular';
|
|
6
|
+
import * as i2 from 'ng-primitives/button';
|
|
7
|
+
import * as i3 from 'ng-primitives/interactions';
|
|
8
|
+
|
|
9
|
+
interface FlowbiteBadgeColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
10
|
+
[key: string]: ColorToTheme;
|
|
11
|
+
}
|
|
12
|
+
interface FlowbiteBadgeSizes extends Pick<FlowbiteSizes, 'xs' | 'sm'> {
|
|
13
|
+
[key: string]: string;
|
|
14
|
+
}
|
|
15
|
+
interface FlowbiteBadgeTheme {
|
|
16
|
+
host: FlowbiteBadgeHostTheme;
|
|
17
|
+
}
|
|
18
|
+
interface FlowbiteBadgeHostTheme {
|
|
19
|
+
base: string;
|
|
20
|
+
transition: string;
|
|
21
|
+
color: FlowbiteBadgeColors;
|
|
22
|
+
border: FlowbiteBoolean;
|
|
23
|
+
size: FlowbiteBadgeSizes;
|
|
24
|
+
pill: FlowbiteBoolean;
|
|
25
|
+
}
|
|
26
|
+
declare const flowbiteBadgeTheme: FlowbiteBadgeTheme;
|
|
27
|
+
|
|
28
|
+
interface FlowbiteBadgeConfig {
|
|
29
|
+
/**
|
|
30
|
+
* The default theme of badge
|
|
31
|
+
*/
|
|
32
|
+
baseTheme: FlowbiteBadgeTheme;
|
|
33
|
+
/**
|
|
34
|
+
* The default color of badge
|
|
35
|
+
*/
|
|
36
|
+
color: keyof FlowbiteBadgeColors;
|
|
37
|
+
/**
|
|
38
|
+
* Wether the badge has border
|
|
39
|
+
*/
|
|
40
|
+
border: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Wether the badge is pill
|
|
43
|
+
*/
|
|
44
|
+
pill: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The default size of badge
|
|
47
|
+
*/
|
|
48
|
+
size: keyof FlowbiteBadgeSizes;
|
|
49
|
+
/**
|
|
50
|
+
* The custom theme of badge
|
|
51
|
+
*/
|
|
52
|
+
customTheme: DeepPartial<FlowbiteBadgeTheme>;
|
|
53
|
+
}
|
|
54
|
+
declare const defaultFlowbiteBadgeConfig: FlowbiteBadgeConfig;
|
|
55
|
+
declare const FlowbiteBadgeConfigToken: InjectionToken<FlowbiteBadgeConfig>;
|
|
56
|
+
/**
|
|
57
|
+
* Provide the default Badge configuration
|
|
58
|
+
* @param config The Badge configuration
|
|
59
|
+
* @returns The provider
|
|
60
|
+
*/
|
|
61
|
+
declare const provideFlowbiteBadgeConfig: (config: Partial<FlowbiteBadgeConfig>) => Provider[];
|
|
62
|
+
/**
|
|
63
|
+
* Inject the Badge configuration
|
|
64
|
+
* @see {@link defaultFlowbiteBadgeConfig}
|
|
65
|
+
* @returns The configuration
|
|
66
|
+
*/
|
|
67
|
+
declare const injectFlowbiteBadgeConfig: () => FlowbiteBadgeConfig;
|
|
68
|
+
|
|
69
|
+
declare class Badge {
|
|
70
|
+
readonly config: FlowbiteBadgeConfig;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link injectFlowbiteBadgeConfig}
|
|
73
|
+
*/
|
|
74
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeColors>;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link injectFlowbiteBadgeConfig}
|
|
77
|
+
*/
|
|
78
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link injectFlowbiteBadgeConfig}
|
|
81
|
+
*/
|
|
82
|
+
readonly pill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
83
|
+
/**
|
|
84
|
+
* @see {@link injectFlowbiteBadgeConfig}
|
|
85
|
+
*/
|
|
86
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeSizes>;
|
|
87
|
+
/**
|
|
88
|
+
* @see {@link injectFlowbiteBadgeConfig}
|
|
89
|
+
*/
|
|
90
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
91
|
+
host?: {
|
|
92
|
+
base?: string | undefined;
|
|
93
|
+
transition?: string | undefined;
|
|
94
|
+
color?: {
|
|
95
|
+
[x: string]: {
|
|
96
|
+
light?: string | undefined;
|
|
97
|
+
dark?: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
default?: {
|
|
100
|
+
light?: string | undefined;
|
|
101
|
+
dark?: string | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
info?: {
|
|
104
|
+
light?: string | undefined;
|
|
105
|
+
dark?: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
failure?: {
|
|
108
|
+
light?: string | undefined;
|
|
109
|
+
dark?: string | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
success?: {
|
|
112
|
+
light?: string | undefined;
|
|
113
|
+
dark?: string | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
warning?: {
|
|
116
|
+
light?: string | undefined;
|
|
117
|
+
dark?: string | undefined;
|
|
118
|
+
} | undefined;
|
|
119
|
+
primary?: {
|
|
120
|
+
light?: string | undefined;
|
|
121
|
+
dark?: string | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
} | undefined;
|
|
124
|
+
border?: {
|
|
125
|
+
off?: string | undefined;
|
|
126
|
+
on?: string | undefined;
|
|
127
|
+
} | undefined;
|
|
128
|
+
size?: {
|
|
129
|
+
[x: string]: string | undefined;
|
|
130
|
+
xs?: string | undefined;
|
|
131
|
+
sm?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
133
|
+
pill?: {
|
|
134
|
+
off?: string | undefined;
|
|
135
|
+
on?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
}>;
|
|
139
|
+
readonly theme: _angular_core.Signal<{
|
|
140
|
+
host: {
|
|
141
|
+
root: string;
|
|
142
|
+
};
|
|
143
|
+
}>;
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
readonly state: ng_primitives_state.CreatedState<Badge>;
|
|
148
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Badge, never>;
|
|
149
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Badge, " span[flowbiteBadge] ", ["flowbiteBadge"], { "color": { "alias": "color"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "pill": { "alias": "pill"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare const FlowbiteBadgeStateToken: _angular_core.InjectionToken<Badge>;
|
|
153
|
+
declare const provideFlowbiteBadgeState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
154
|
+
declare const injectFlowbiteBadgeState: <U = {
|
|
155
|
+
readonly config: flowbite_angular_badge.FlowbiteBadgeConfig;
|
|
156
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeColors>;
|
|
157
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
158
|
+
readonly pill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
159
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeSizes>;
|
|
160
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
161
|
+
host?: {
|
|
162
|
+
base?: string | undefined;
|
|
163
|
+
transition?: string | undefined;
|
|
164
|
+
color?: {
|
|
165
|
+
[x: string]: {
|
|
166
|
+
light?: string | undefined;
|
|
167
|
+
dark?: string | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
default?: {
|
|
170
|
+
light?: string | undefined;
|
|
171
|
+
dark?: string | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
info?: {
|
|
174
|
+
light?: string | undefined;
|
|
175
|
+
dark?: string | undefined;
|
|
176
|
+
} | undefined;
|
|
177
|
+
failure?: {
|
|
178
|
+
light?: string | undefined;
|
|
179
|
+
dark?: string | undefined;
|
|
180
|
+
} | undefined;
|
|
181
|
+
success?: {
|
|
182
|
+
light?: string | undefined;
|
|
183
|
+
dark?: string | undefined;
|
|
184
|
+
} | undefined;
|
|
185
|
+
warning?: {
|
|
186
|
+
light?: string | undefined;
|
|
187
|
+
dark?: string | undefined;
|
|
188
|
+
} | undefined;
|
|
189
|
+
primary?: {
|
|
190
|
+
light?: string | undefined;
|
|
191
|
+
dark?: string | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
} | undefined;
|
|
194
|
+
border?: {
|
|
195
|
+
off?: string | undefined;
|
|
196
|
+
on?: string | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
size?: {
|
|
199
|
+
[x: string]: string | undefined;
|
|
200
|
+
xs?: string | undefined;
|
|
201
|
+
sm?: string | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
pill?: {
|
|
204
|
+
off?: string | undefined;
|
|
205
|
+
on?: string | undefined;
|
|
206
|
+
} | undefined;
|
|
207
|
+
} | undefined;
|
|
208
|
+
}>;
|
|
209
|
+
readonly theme: _angular_core.Signal<{
|
|
210
|
+
host: {
|
|
211
|
+
root: string;
|
|
212
|
+
};
|
|
213
|
+
}>;
|
|
214
|
+
readonly state: ng_primitives_state.CreatedState<Badge>;
|
|
215
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
216
|
+
declare const flowbiteBadgeState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
217
|
+
|
|
218
|
+
interface FlowbiteBadgeLinkTheme {
|
|
219
|
+
host: FlowbiteBadgeLinkHostTheme;
|
|
220
|
+
}
|
|
221
|
+
interface FlowbiteBadgeLinkHostTheme {
|
|
222
|
+
base: string;
|
|
223
|
+
transition: string;
|
|
224
|
+
color: FlowbiteBadgeColors;
|
|
225
|
+
}
|
|
226
|
+
declare const flowbiteBadgeLinkTheme: FlowbiteBadgeLinkTheme;
|
|
227
|
+
|
|
228
|
+
interface FlowbiteBadgeLinkConfig {
|
|
229
|
+
/**
|
|
230
|
+
* The default theme of BadgeLink
|
|
231
|
+
*/
|
|
232
|
+
baseTheme: FlowbiteBadgeLinkTheme;
|
|
233
|
+
/**
|
|
234
|
+
* The custom theme of BadgeLink
|
|
235
|
+
*/
|
|
236
|
+
customTheme: DeepPartial<FlowbiteBadgeLinkTheme>;
|
|
237
|
+
}
|
|
238
|
+
declare const defaultFlowbiteBadgeLinkConfig: FlowbiteBadgeLinkConfig;
|
|
239
|
+
declare const FlowbiteBadgeLinkConfigToken: InjectionToken<FlowbiteBadgeLinkConfig>;
|
|
240
|
+
/**
|
|
241
|
+
* Provide the default BadgeLink configuration
|
|
242
|
+
* @param config The BadgeLink configuration
|
|
243
|
+
* @returns The provider
|
|
244
|
+
*/
|
|
245
|
+
declare const provideFlowbiteBadgeLinkConfig: (config: Partial<FlowbiteBadgeLinkConfig>) => Provider[];
|
|
246
|
+
/**
|
|
247
|
+
* Inject the BadgeLink configuration
|
|
248
|
+
* @see {@link defaultFlowbiteBadgeLinkConfig}
|
|
249
|
+
* @returns The configuration
|
|
250
|
+
*/
|
|
251
|
+
declare const injectFlowbiteBadgeLinkConfig: () => FlowbiteBadgeLinkConfig;
|
|
252
|
+
|
|
253
|
+
declare class BadgeLink {
|
|
254
|
+
readonly config: FlowbiteBadgeLinkConfig;
|
|
255
|
+
readonly badgeState: _angular_core.Signal<ng_primitives_state.State<{
|
|
256
|
+
readonly config: flowbite_angular_badge.FlowbiteBadgeConfig;
|
|
257
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeColors>;
|
|
258
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
259
|
+
readonly pill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
260
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeSizes>;
|
|
261
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
262
|
+
host?: {
|
|
263
|
+
base?: string | undefined;
|
|
264
|
+
transition?: string | undefined;
|
|
265
|
+
color?: {
|
|
266
|
+
[x: string]: {
|
|
267
|
+
light?: string | undefined;
|
|
268
|
+
dark?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
default?: {
|
|
271
|
+
light?: string | undefined;
|
|
272
|
+
dark?: string | undefined;
|
|
273
|
+
} | undefined;
|
|
274
|
+
info?: {
|
|
275
|
+
light?: string | undefined;
|
|
276
|
+
dark?: string | undefined;
|
|
277
|
+
} | undefined;
|
|
278
|
+
failure?: {
|
|
279
|
+
light?: string | undefined;
|
|
280
|
+
dark?: string | undefined;
|
|
281
|
+
} | undefined;
|
|
282
|
+
success?: {
|
|
283
|
+
light?: string | undefined;
|
|
284
|
+
dark?: string | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
warning?: {
|
|
287
|
+
light?: string | undefined;
|
|
288
|
+
dark?: string | undefined;
|
|
289
|
+
} | undefined;
|
|
290
|
+
primary?: {
|
|
291
|
+
light?: string | undefined;
|
|
292
|
+
dark?: string | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
border?: {
|
|
296
|
+
off?: string | undefined;
|
|
297
|
+
on?: string | undefined;
|
|
298
|
+
} | undefined;
|
|
299
|
+
size?: {
|
|
300
|
+
[x: string]: string | undefined;
|
|
301
|
+
xs?: string | undefined;
|
|
302
|
+
sm?: string | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
pill?: {
|
|
305
|
+
off?: string | undefined;
|
|
306
|
+
on?: string | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
}>;
|
|
310
|
+
readonly theme: _angular_core.Signal<{
|
|
311
|
+
host: {
|
|
312
|
+
root: string;
|
|
313
|
+
};
|
|
314
|
+
}>;
|
|
315
|
+
readonly state: ng_primitives_state.CreatedState<Badge>;
|
|
316
|
+
}>>;
|
|
317
|
+
/**
|
|
318
|
+
* @see {@link injectFlowbiteBadgeLinkConfig}
|
|
319
|
+
*/
|
|
320
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
321
|
+
host?: {
|
|
322
|
+
base?: string | undefined;
|
|
323
|
+
transition?: string | undefined;
|
|
324
|
+
color?: {
|
|
325
|
+
[x: string]: {
|
|
326
|
+
light?: string | undefined;
|
|
327
|
+
dark?: string | undefined;
|
|
328
|
+
} | undefined;
|
|
329
|
+
default?: {
|
|
330
|
+
light?: string | undefined;
|
|
331
|
+
dark?: string | undefined;
|
|
332
|
+
} | undefined;
|
|
333
|
+
info?: {
|
|
334
|
+
light?: string | undefined;
|
|
335
|
+
dark?: string | undefined;
|
|
336
|
+
} | undefined;
|
|
337
|
+
failure?: {
|
|
338
|
+
light?: string | undefined;
|
|
339
|
+
dark?: string | undefined;
|
|
340
|
+
} | undefined;
|
|
341
|
+
success?: {
|
|
342
|
+
light?: string | undefined;
|
|
343
|
+
dark?: string | undefined;
|
|
344
|
+
} | undefined;
|
|
345
|
+
warning?: {
|
|
346
|
+
light?: string | undefined;
|
|
347
|
+
dark?: string | undefined;
|
|
348
|
+
} | undefined;
|
|
349
|
+
primary?: {
|
|
350
|
+
light?: string | undefined;
|
|
351
|
+
dark?: string | undefined;
|
|
352
|
+
} | undefined;
|
|
353
|
+
} | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
}>;
|
|
356
|
+
readonly theme: _angular_core.Signal<{
|
|
357
|
+
host: {
|
|
358
|
+
root: string;
|
|
359
|
+
};
|
|
360
|
+
}>;
|
|
361
|
+
/**
|
|
362
|
+
* @internal
|
|
363
|
+
*/
|
|
364
|
+
readonly state: ng_primitives_state.CreatedState<BadgeLink>;
|
|
365
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeLink, never>;
|
|
366
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BadgeLink, " button[flowbiteBadgeLink], a[flowbiteBadgeLink] ", ["flowbiteBadgeLink"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof Badge; inputs: { "color": "color"; "border": "border"; "pill": "pill"; "size": "size"; "customTheme": "badgeCustomTheme"; }; outputs: {}; }, { directive: typeof i2.NgpButton; inputs: { "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i3.NgpFocus; inputs: {}; outputs: {}; }]>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
declare const FlowbiteBadgeLinkStateToken: _angular_core.InjectionToken<BadgeLink>;
|
|
370
|
+
declare const provideFlowbiteBadgeLinkState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
371
|
+
declare const injectFlowbiteBadgeLinkState: <U = {
|
|
372
|
+
readonly config: flowbite_angular_badge.FlowbiteBadgeLinkConfig;
|
|
373
|
+
readonly badgeState: _angular_core.Signal<ng_primitives_state.State<{
|
|
374
|
+
readonly config: /*elided*/ any;
|
|
375
|
+
readonly color: /*elided*/ any;
|
|
376
|
+
readonly border: /*elided*/ any;
|
|
377
|
+
readonly pill: /*elided*/ any;
|
|
378
|
+
readonly size: /*elided*/ any;
|
|
379
|
+
readonly customTheme: /*elided*/ any;
|
|
380
|
+
readonly theme: /*elided*/ any;
|
|
381
|
+
readonly state: /*elided*/ any;
|
|
382
|
+
}>>;
|
|
383
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
384
|
+
host?: {
|
|
385
|
+
base?: string | undefined;
|
|
386
|
+
transition?: string | undefined;
|
|
387
|
+
color?: {
|
|
388
|
+
[x: string]: {
|
|
389
|
+
light?: string | undefined;
|
|
390
|
+
dark?: string | undefined;
|
|
391
|
+
} | undefined;
|
|
392
|
+
default?: {
|
|
393
|
+
light?: string | undefined;
|
|
394
|
+
dark?: string | undefined;
|
|
395
|
+
} | undefined;
|
|
396
|
+
info?: {
|
|
397
|
+
light?: string | undefined;
|
|
398
|
+
dark?: string | undefined;
|
|
399
|
+
} | undefined;
|
|
400
|
+
failure?: {
|
|
401
|
+
light?: string | undefined;
|
|
402
|
+
dark?: string | undefined;
|
|
403
|
+
} | undefined;
|
|
404
|
+
success?: {
|
|
405
|
+
light?: string | undefined;
|
|
406
|
+
dark?: string | undefined;
|
|
407
|
+
} | undefined;
|
|
408
|
+
warning?: {
|
|
409
|
+
light?: string | undefined;
|
|
410
|
+
dark?: string | undefined;
|
|
411
|
+
} | undefined;
|
|
412
|
+
primary?: {
|
|
413
|
+
light?: string | undefined;
|
|
414
|
+
dark?: string | undefined;
|
|
415
|
+
} | undefined;
|
|
416
|
+
} | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
}>;
|
|
419
|
+
readonly theme: _angular_core.Signal<{
|
|
420
|
+
host: {
|
|
421
|
+
root: string;
|
|
422
|
+
};
|
|
423
|
+
}>;
|
|
424
|
+
readonly state: ng_primitives_state.CreatedState<BadgeLink>;
|
|
425
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
426
|
+
declare const flowbiteBadgeLinkState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
427
|
+
|
|
428
|
+
interface FlowbiteBadgeButtonTheme {
|
|
429
|
+
host: FlowbiteBadgeButtonHostTheme;
|
|
430
|
+
}
|
|
431
|
+
interface FlowbiteBadgeButtonHostTheme {
|
|
432
|
+
base: string;
|
|
433
|
+
color: FlowbiteBadgeColors;
|
|
434
|
+
}
|
|
435
|
+
declare const flowbiteBadgeButtonTheme: FlowbiteBadgeButtonTheme;
|
|
436
|
+
|
|
437
|
+
interface FlowbiteBadgeButtonConfig {
|
|
438
|
+
/**
|
|
439
|
+
* The default theme of BadgeButton
|
|
440
|
+
*/
|
|
441
|
+
baseTheme: FlowbiteBadgeButtonTheme;
|
|
442
|
+
/**
|
|
443
|
+
* The custom theme of BadgeButton
|
|
444
|
+
*/
|
|
445
|
+
customTheme: DeepPartial<FlowbiteBadgeButtonTheme>;
|
|
446
|
+
}
|
|
447
|
+
declare const defaultFlowbiteBadgeButtonConfig: FlowbiteBadgeButtonConfig;
|
|
448
|
+
declare const FlowbiteBadgeButtonConfigToken: InjectionToken<FlowbiteBadgeButtonConfig>;
|
|
449
|
+
/**
|
|
450
|
+
* Provide the default BadgeButton configuration
|
|
451
|
+
* @param config The BadgeButton configuration
|
|
452
|
+
* @returns The provider
|
|
453
|
+
*/
|
|
454
|
+
declare const provideFlowbiteBadgeButtonConfig: (config: Partial<FlowbiteBadgeButtonConfig>) => Provider[];
|
|
455
|
+
/**
|
|
456
|
+
* Inject the BadgeButton configuration
|
|
457
|
+
* @see {@link defaultFlowbiteBadgeButtonConfig}
|
|
458
|
+
* @returns The configuration
|
|
459
|
+
*/
|
|
460
|
+
declare const injectFlowbiteBadgeButtonConfig: () => FlowbiteBadgeButtonConfig;
|
|
461
|
+
|
|
462
|
+
declare class BadgeButton {
|
|
463
|
+
readonly config: FlowbiteBadgeButtonConfig;
|
|
464
|
+
readonly badgeState: _angular_core.Signal<ng_primitives_state.State<{
|
|
465
|
+
readonly config: flowbite_angular_badge.FlowbiteBadgeConfig;
|
|
466
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeColors>;
|
|
467
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
468
|
+
readonly pill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
469
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeSizes>;
|
|
470
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
471
|
+
host?: {
|
|
472
|
+
base?: string | undefined;
|
|
473
|
+
transition?: string | undefined;
|
|
474
|
+
color?: {
|
|
475
|
+
[x: string]: {
|
|
476
|
+
light?: string | undefined;
|
|
477
|
+
dark?: string | undefined;
|
|
478
|
+
} | undefined;
|
|
479
|
+
default?: {
|
|
480
|
+
light?: string | undefined;
|
|
481
|
+
dark?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
info?: {
|
|
484
|
+
light?: string | undefined;
|
|
485
|
+
dark?: string | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
failure?: {
|
|
488
|
+
light?: string | undefined;
|
|
489
|
+
dark?: string | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
success?: {
|
|
492
|
+
light?: string | undefined;
|
|
493
|
+
dark?: string | undefined;
|
|
494
|
+
} | undefined;
|
|
495
|
+
warning?: {
|
|
496
|
+
light?: string | undefined;
|
|
497
|
+
dark?: string | undefined;
|
|
498
|
+
} | undefined;
|
|
499
|
+
primary?: {
|
|
500
|
+
light?: string | undefined;
|
|
501
|
+
dark?: string | undefined;
|
|
502
|
+
} | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
border?: {
|
|
505
|
+
off?: string | undefined;
|
|
506
|
+
on?: string | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
size?: {
|
|
509
|
+
[x: string]: string | undefined;
|
|
510
|
+
xs?: string | undefined;
|
|
511
|
+
sm?: string | undefined;
|
|
512
|
+
} | undefined;
|
|
513
|
+
pill?: {
|
|
514
|
+
off?: string | undefined;
|
|
515
|
+
on?: string | undefined;
|
|
516
|
+
} | undefined;
|
|
517
|
+
} | undefined;
|
|
518
|
+
}>;
|
|
519
|
+
readonly theme: _angular_core.Signal<{
|
|
520
|
+
host: {
|
|
521
|
+
root: string;
|
|
522
|
+
};
|
|
523
|
+
}>;
|
|
524
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_badge.Badge>;
|
|
525
|
+
}>>;
|
|
526
|
+
/**
|
|
527
|
+
* @see {@link injectFlowbiteBadgeButtonConfig}
|
|
528
|
+
*/
|
|
529
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
530
|
+
host?: {
|
|
531
|
+
base?: string | undefined;
|
|
532
|
+
color?: {
|
|
533
|
+
[x: string]: {
|
|
534
|
+
light?: string | undefined;
|
|
535
|
+
dark?: string | undefined;
|
|
536
|
+
} | undefined;
|
|
537
|
+
default?: {
|
|
538
|
+
light?: string | undefined;
|
|
539
|
+
dark?: string | undefined;
|
|
540
|
+
} | undefined;
|
|
541
|
+
info?: {
|
|
542
|
+
light?: string | undefined;
|
|
543
|
+
dark?: string | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
failure?: {
|
|
546
|
+
light?: string | undefined;
|
|
547
|
+
dark?: string | undefined;
|
|
548
|
+
} | undefined;
|
|
549
|
+
success?: {
|
|
550
|
+
light?: string | undefined;
|
|
551
|
+
dark?: string | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
warning?: {
|
|
554
|
+
light?: string | undefined;
|
|
555
|
+
dark?: string | undefined;
|
|
556
|
+
} | undefined;
|
|
557
|
+
primary?: {
|
|
558
|
+
light?: string | undefined;
|
|
559
|
+
dark?: string | undefined;
|
|
560
|
+
} | undefined;
|
|
561
|
+
} | undefined;
|
|
562
|
+
} | undefined;
|
|
563
|
+
}>;
|
|
564
|
+
readonly theme: _angular_core.Signal<{
|
|
565
|
+
host: {
|
|
566
|
+
root: string;
|
|
567
|
+
};
|
|
568
|
+
}>;
|
|
569
|
+
/**
|
|
570
|
+
* @internal
|
|
571
|
+
*/
|
|
572
|
+
readonly state: ng_primitives_state.CreatedState<BadgeButton>;
|
|
573
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BadgeButton, never>;
|
|
574
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<BadgeButton, " button[flowbiteBadgeButton], a[flowbiteBadgeButton] ", ["flowbiteBadgeButton"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i2.NgpButton; inputs: { "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i3.NgpFocus; inputs: {}; outputs: {}; }]>;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
declare const FlowbiteBadgeButtonStateToken: _angular_core.InjectionToken<BadgeButton>;
|
|
578
|
+
declare const provideFlowbiteBadgeButtonState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
579
|
+
declare const injectFlowbiteBadgeButtonState: <U = {
|
|
580
|
+
readonly config: flowbite_angular_badge.FlowbiteBadgeButtonConfig;
|
|
581
|
+
readonly badgeState: _angular_core.Signal<ng_primitives_state.State<{
|
|
582
|
+
readonly config: /*elided*/ any;
|
|
583
|
+
readonly color: /*elided*/ any;
|
|
584
|
+
readonly border: /*elided*/ any;
|
|
585
|
+
readonly pill: /*elided*/ any;
|
|
586
|
+
readonly size: /*elided*/ any;
|
|
587
|
+
readonly customTheme: /*elided*/ any;
|
|
588
|
+
readonly theme: /*elided*/ any;
|
|
589
|
+
readonly state: /*elided*/ any;
|
|
590
|
+
}>>;
|
|
591
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
592
|
+
host?: {
|
|
593
|
+
base?: string | undefined;
|
|
594
|
+
color?: {
|
|
595
|
+
[x: string]: {
|
|
596
|
+
light?: string | undefined;
|
|
597
|
+
dark?: string | undefined;
|
|
598
|
+
} | undefined;
|
|
599
|
+
default?: {
|
|
600
|
+
light?: string | undefined;
|
|
601
|
+
dark?: string | undefined;
|
|
602
|
+
} | undefined;
|
|
603
|
+
info?: {
|
|
604
|
+
light?: string | undefined;
|
|
605
|
+
dark?: string | undefined;
|
|
606
|
+
} | undefined;
|
|
607
|
+
failure?: {
|
|
608
|
+
light?: string | undefined;
|
|
609
|
+
dark?: string | undefined;
|
|
610
|
+
} | undefined;
|
|
611
|
+
success?: {
|
|
612
|
+
light?: string | undefined;
|
|
613
|
+
dark?: string | undefined;
|
|
614
|
+
} | undefined;
|
|
615
|
+
warning?: {
|
|
616
|
+
light?: string | undefined;
|
|
617
|
+
dark?: string | undefined;
|
|
618
|
+
} | undefined;
|
|
619
|
+
primary?: {
|
|
620
|
+
light?: string | undefined;
|
|
621
|
+
dark?: string | undefined;
|
|
622
|
+
} | undefined;
|
|
623
|
+
} | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
}>;
|
|
626
|
+
readonly theme: _angular_core.Signal<{
|
|
627
|
+
host: {
|
|
628
|
+
root: string;
|
|
629
|
+
};
|
|
630
|
+
}>;
|
|
631
|
+
readonly state: ng_primitives_state.CreatedState<BadgeButton>;
|
|
632
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
633
|
+
declare const flowbiteBadgeButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
634
|
+
|
|
635
|
+
export { Badge, BadgeButton, BadgeLink, FlowbiteBadgeButtonConfigToken, FlowbiteBadgeButtonStateToken, FlowbiteBadgeConfigToken, FlowbiteBadgeLinkConfigToken, FlowbiteBadgeLinkStateToken, FlowbiteBadgeStateToken, defaultFlowbiteBadgeButtonConfig, defaultFlowbiteBadgeConfig, defaultFlowbiteBadgeLinkConfig, flowbiteBadgeButtonState, flowbiteBadgeButtonTheme, flowbiteBadgeLinkState, flowbiteBadgeLinkTheme, flowbiteBadgeState, flowbiteBadgeTheme, injectFlowbiteBadgeButtonConfig, injectFlowbiteBadgeButtonState, injectFlowbiteBadgeConfig, injectFlowbiteBadgeLinkConfig, injectFlowbiteBadgeLinkState, injectFlowbiteBadgeState, provideFlowbiteBadgeButtonConfig, provideFlowbiteBadgeButtonState, provideFlowbiteBadgeConfig, provideFlowbiteBadgeLinkConfig, provideFlowbiteBadgeLinkState, provideFlowbiteBadgeState };
|
|
636
|
+
export type { FlowbiteBadgeButtonConfig, FlowbiteBadgeButtonHostTheme, FlowbiteBadgeButtonTheme, FlowbiteBadgeColors, FlowbiteBadgeConfig, FlowbiteBadgeHostTheme, FlowbiteBadgeLinkConfig, FlowbiteBadgeLinkHostTheme, FlowbiteBadgeLinkTheme, FlowbiteBadgeSizes, FlowbiteBadgeTheme };
|