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/alert/index.d.ts
CHANGED
|
@@ -1,4 +1,602 @@
|
|
|
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_alert from 'flowbite-angular/alert';
|
|
5
|
+
import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
|
|
6
|
+
import * as i1 from 'ng-primitives/button';
|
|
7
|
+
import * as i2 from 'ng-primitives/interactions';
|
|
8
|
+
|
|
9
|
+
interface FlowbiteAlertColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
10
|
+
[key: string]: ColorToTheme;
|
|
11
|
+
}
|
|
12
|
+
interface FlowbiteAlertTheme {
|
|
13
|
+
host: FlowbiteAlertHostTheme;
|
|
14
|
+
}
|
|
15
|
+
interface FlowbiteAlertHostTheme {
|
|
16
|
+
base: string;
|
|
17
|
+
transition: string;
|
|
18
|
+
color: FlowbiteAlertColors;
|
|
19
|
+
border: FlowbiteBoolean;
|
|
20
|
+
accent: FlowbiteBoolean;
|
|
21
|
+
}
|
|
22
|
+
declare const flowbiteAlertTheme: FlowbiteAlertTheme;
|
|
23
|
+
|
|
24
|
+
interface FlowbiteAlertConfig {
|
|
25
|
+
/**
|
|
26
|
+
* The default theme of alert
|
|
27
|
+
*/
|
|
28
|
+
baseTheme: FlowbiteAlertTheme;
|
|
29
|
+
/**
|
|
30
|
+
* The default color of alert
|
|
31
|
+
*/
|
|
32
|
+
color: keyof FlowbiteAlertColors;
|
|
33
|
+
/**
|
|
34
|
+
* Wether the alert has border
|
|
35
|
+
*/
|
|
36
|
+
border: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Wether the alert has border accent
|
|
39
|
+
*/
|
|
40
|
+
accent: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* The custom theme of alert
|
|
43
|
+
*/
|
|
44
|
+
customTheme: DeepPartial<FlowbiteAlertTheme>;
|
|
45
|
+
}
|
|
46
|
+
declare const defaultFlowbiteAlertConfig: FlowbiteAlertConfig;
|
|
47
|
+
declare const FlowbiteAlertConfigToken: InjectionToken<FlowbiteAlertConfig>;
|
|
48
|
+
/**
|
|
49
|
+
* Provide the default Alert configuration
|
|
50
|
+
* @param config The Alert configuration
|
|
51
|
+
* @returns The provider
|
|
52
|
+
*/
|
|
53
|
+
declare const provideFlowbiteAlertConfig: (config: Partial<FlowbiteAlertConfig>) => Provider[];
|
|
54
|
+
/**
|
|
55
|
+
* Inject the Alert configuration
|
|
56
|
+
* @see {@link defaultFlowbiteAlertConfig}
|
|
57
|
+
* @returns The configuration
|
|
58
|
+
*/
|
|
59
|
+
declare const injectFlowbiteAlertConfig: () => FlowbiteAlertConfig;
|
|
60
|
+
|
|
61
|
+
declare class Alert {
|
|
62
|
+
readonly config: FlowbiteAlertConfig;
|
|
63
|
+
/**
|
|
64
|
+
* @see {@link injectFlowbiteAlertConfig}
|
|
65
|
+
*/
|
|
66
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_alert.FlowbiteAlertColors>;
|
|
67
|
+
/**
|
|
68
|
+
* @see {@link injectFlowbiteAlertConfig}
|
|
69
|
+
*/
|
|
70
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link injectFlowbiteAlertConfig}
|
|
73
|
+
*/
|
|
74
|
+
readonly accent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
75
|
+
/**
|
|
76
|
+
* @see {@link injectFlowbiteAlertConfig}
|
|
77
|
+
*/
|
|
78
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
79
|
+
host?: {
|
|
80
|
+
base?: string | undefined;
|
|
81
|
+
transition?: string | undefined;
|
|
82
|
+
color?: {
|
|
83
|
+
[x: string]: {
|
|
84
|
+
light?: string | undefined;
|
|
85
|
+
dark?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
default?: {
|
|
88
|
+
light?: string | undefined;
|
|
89
|
+
dark?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
info?: {
|
|
92
|
+
light?: string | undefined;
|
|
93
|
+
dark?: string | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
failure?: {
|
|
96
|
+
light?: string | undefined;
|
|
97
|
+
dark?: string | undefined;
|
|
98
|
+
} | undefined;
|
|
99
|
+
success?: {
|
|
100
|
+
light?: string | undefined;
|
|
101
|
+
dark?: string | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
warning?: {
|
|
104
|
+
light?: string | undefined;
|
|
105
|
+
dark?: string | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
primary?: {
|
|
108
|
+
light?: string | undefined;
|
|
109
|
+
dark?: string | undefined;
|
|
110
|
+
} | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
border?: {
|
|
113
|
+
off?: string | undefined;
|
|
114
|
+
on?: string | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
accent?: {
|
|
117
|
+
off?: string | undefined;
|
|
118
|
+
on?: string | undefined;
|
|
119
|
+
} | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
}>;
|
|
122
|
+
readonly theme: _angular_core.Signal<{
|
|
123
|
+
host: {
|
|
124
|
+
root: string;
|
|
125
|
+
};
|
|
126
|
+
}>;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
readonly state: ng_primitives_state.CreatedState<Alert>;
|
|
131
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Alert, never>;
|
|
132
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Alert, " div[flowbiteAlert] ", ["flowbiteAlert"], { "color": { "alias": "color"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "accent": { "alias": "accent"; "required": false; "isSignal": true; }; "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
declare const FlowbiteAlertStateToken: _angular_core.InjectionToken<Alert>;
|
|
136
|
+
declare const provideFlowbiteAlertState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
137
|
+
declare const injectFlowbiteAlertState: <U = {
|
|
138
|
+
readonly config: flowbite_angular_alert.FlowbiteAlertConfig;
|
|
139
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_alert.FlowbiteAlertColors>;
|
|
140
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
141
|
+
readonly accent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
142
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
143
|
+
host?: {
|
|
144
|
+
base?: string | undefined;
|
|
145
|
+
transition?: string | undefined;
|
|
146
|
+
color?: {
|
|
147
|
+
[x: string]: {
|
|
148
|
+
light?: string | undefined;
|
|
149
|
+
dark?: string | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
default?: {
|
|
152
|
+
light?: string | undefined;
|
|
153
|
+
dark?: string | undefined;
|
|
154
|
+
} | undefined;
|
|
155
|
+
info?: {
|
|
156
|
+
light?: string | undefined;
|
|
157
|
+
dark?: string | undefined;
|
|
158
|
+
} | undefined;
|
|
159
|
+
failure?: {
|
|
160
|
+
light?: string | undefined;
|
|
161
|
+
dark?: string | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
success?: {
|
|
164
|
+
light?: string | undefined;
|
|
165
|
+
dark?: string | undefined;
|
|
166
|
+
} | undefined;
|
|
167
|
+
warning?: {
|
|
168
|
+
light?: string | undefined;
|
|
169
|
+
dark?: string | undefined;
|
|
170
|
+
} | undefined;
|
|
171
|
+
primary?: {
|
|
172
|
+
light?: string | undefined;
|
|
173
|
+
dark?: string | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
border?: {
|
|
177
|
+
off?: string | undefined;
|
|
178
|
+
on?: string | undefined;
|
|
179
|
+
} | undefined;
|
|
180
|
+
accent?: {
|
|
181
|
+
off?: string | undefined;
|
|
182
|
+
on?: string | undefined;
|
|
183
|
+
} | undefined;
|
|
184
|
+
} | undefined;
|
|
185
|
+
}>;
|
|
186
|
+
readonly theme: _angular_core.Signal<{
|
|
187
|
+
host: {
|
|
188
|
+
root: string;
|
|
189
|
+
};
|
|
190
|
+
}>;
|
|
191
|
+
readonly state: ng_primitives_state.CreatedState<Alert>;
|
|
192
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
193
|
+
declare const flowbiteAlertState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
194
|
+
|
|
195
|
+
interface FlowbiteAlertButtonTheme {
|
|
196
|
+
host: FlowbiteAlertButtonHostTheme;
|
|
197
|
+
}
|
|
198
|
+
interface FlowbiteAlertButtonHostTheme {
|
|
199
|
+
base: string;
|
|
200
|
+
transition: string;
|
|
201
|
+
color: FlowbiteAlertColors;
|
|
202
|
+
}
|
|
203
|
+
declare const flowbiteAlertButtonTheme: FlowbiteAlertButtonTheme;
|
|
204
|
+
|
|
205
|
+
interface FlowbiteAlertButtonConfig {
|
|
206
|
+
/**
|
|
207
|
+
* The default theme of AlertButton
|
|
208
|
+
*/
|
|
209
|
+
baseTheme: FlowbiteAlertButtonTheme;
|
|
210
|
+
/**
|
|
211
|
+
* The custom theme of AlertButton
|
|
212
|
+
*/
|
|
213
|
+
customTheme: DeepPartial<FlowbiteAlertButtonTheme>;
|
|
214
|
+
}
|
|
215
|
+
declare const defaultFlowbiteAlertButtonConfig: FlowbiteAlertButtonConfig;
|
|
216
|
+
declare const FlowbiteAlertButtonConfigToken: InjectionToken<FlowbiteAlertButtonConfig>;
|
|
217
|
+
/**
|
|
218
|
+
* Provide the default AlertButton configuration
|
|
219
|
+
* @param config The AlertButton configuration
|
|
220
|
+
* @returns The provider
|
|
221
|
+
*/
|
|
222
|
+
declare const provideFlowbiteAlertButtonConfig: (config: Partial<FlowbiteAlertButtonConfig>) => Provider[];
|
|
223
|
+
/**
|
|
224
|
+
* Inject the AlertButton configuration
|
|
225
|
+
* @see {@link defaultFlowbiteAlertButtonConfig}
|
|
226
|
+
* @returns The configuration
|
|
227
|
+
*/
|
|
228
|
+
declare const injectFlowbiteAlertButtonConfig: () => FlowbiteAlertButtonConfig;
|
|
229
|
+
|
|
230
|
+
declare class AlertButton {
|
|
231
|
+
readonly config: FlowbiteAlertButtonConfig;
|
|
232
|
+
readonly alertState: _angular_core.Signal<ng_primitives_state.State<{
|
|
233
|
+
readonly config: flowbite_angular_alert.FlowbiteAlertConfig;
|
|
234
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_alert.FlowbiteAlertColors>;
|
|
235
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
236
|
+
readonly accent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
237
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
238
|
+
host?: {
|
|
239
|
+
base?: string | undefined;
|
|
240
|
+
transition?: string | undefined;
|
|
241
|
+
color?: {
|
|
242
|
+
[x: string]: {
|
|
243
|
+
light?: string | undefined;
|
|
244
|
+
dark?: string | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
default?: {
|
|
247
|
+
light?: string | undefined;
|
|
248
|
+
dark?: string | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
info?: {
|
|
251
|
+
light?: string | undefined;
|
|
252
|
+
dark?: string | undefined;
|
|
253
|
+
} | undefined;
|
|
254
|
+
failure?: {
|
|
255
|
+
light?: string | undefined;
|
|
256
|
+
dark?: string | undefined;
|
|
257
|
+
} | undefined;
|
|
258
|
+
success?: {
|
|
259
|
+
light?: string | undefined;
|
|
260
|
+
dark?: string | undefined;
|
|
261
|
+
} | undefined;
|
|
262
|
+
warning?: {
|
|
263
|
+
light?: string | undefined;
|
|
264
|
+
dark?: string | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
primary?: {
|
|
267
|
+
light?: string | undefined;
|
|
268
|
+
dark?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
} | undefined;
|
|
271
|
+
border?: {
|
|
272
|
+
off?: string | undefined;
|
|
273
|
+
on?: string | undefined;
|
|
274
|
+
} | undefined;
|
|
275
|
+
accent?: {
|
|
276
|
+
off?: string | undefined;
|
|
277
|
+
on?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
}>;
|
|
281
|
+
readonly theme: _angular_core.Signal<{
|
|
282
|
+
host: {
|
|
283
|
+
root: string;
|
|
284
|
+
};
|
|
285
|
+
}>;
|
|
286
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_alert.Alert>;
|
|
287
|
+
}>>;
|
|
288
|
+
/**
|
|
289
|
+
* @see {@link injectFlowbiteAlertButtonConfig}
|
|
290
|
+
*/
|
|
291
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
292
|
+
host?: {
|
|
293
|
+
base?: string | undefined;
|
|
294
|
+
transition?: string | undefined;
|
|
295
|
+
color?: {
|
|
296
|
+
[x: string]: {
|
|
297
|
+
light?: string | undefined;
|
|
298
|
+
dark?: string | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
default?: {
|
|
301
|
+
light?: string | undefined;
|
|
302
|
+
dark?: string | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
info?: {
|
|
305
|
+
light?: string | undefined;
|
|
306
|
+
dark?: string | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
failure?: {
|
|
309
|
+
light?: string | undefined;
|
|
310
|
+
dark?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
success?: {
|
|
313
|
+
light?: string | undefined;
|
|
314
|
+
dark?: string | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
warning?: {
|
|
317
|
+
light?: string | undefined;
|
|
318
|
+
dark?: string | undefined;
|
|
319
|
+
} | undefined;
|
|
320
|
+
primary?: {
|
|
321
|
+
light?: string | undefined;
|
|
322
|
+
dark?: string | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
} | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
}>;
|
|
327
|
+
readonly theme: _angular_core.Signal<{
|
|
328
|
+
host: {
|
|
329
|
+
root: string;
|
|
330
|
+
};
|
|
331
|
+
}>;
|
|
332
|
+
/**
|
|
333
|
+
* @internal
|
|
334
|
+
*/
|
|
335
|
+
readonly state: ng_primitives_state.CreatedState<AlertButton>;
|
|
336
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertButton, never>;
|
|
337
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AlertButton, " button[flowbiteAlertButton], a[flowbiteAlertButton] ", ["flowbiteAlertButton"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.NgpButton; inputs: { "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i2.NgpFocus; inputs: {}; outputs: {}; }]>;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
declare const FlowbiteAlertButtonStateToken: _angular_core.InjectionToken<AlertButton>;
|
|
341
|
+
declare const provideFlowbiteAlertButtonState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
342
|
+
declare const injectFlowbiteAlertButtonState: <U = {
|
|
343
|
+
readonly config: flowbite_angular_alert.FlowbiteAlertButtonConfig;
|
|
344
|
+
readonly alertState: _angular_core.Signal<ng_primitives_state.State<{
|
|
345
|
+
readonly config: /*elided*/ any;
|
|
346
|
+
readonly color: /*elided*/ any;
|
|
347
|
+
readonly border: /*elided*/ any;
|
|
348
|
+
readonly accent: /*elided*/ any;
|
|
349
|
+
readonly customTheme: /*elided*/ any;
|
|
350
|
+
readonly theme: /*elided*/ any;
|
|
351
|
+
readonly state: /*elided*/ any;
|
|
352
|
+
}>>;
|
|
353
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
354
|
+
host?: {
|
|
355
|
+
base?: string | undefined;
|
|
356
|
+
transition?: string | undefined;
|
|
357
|
+
color?: {
|
|
358
|
+
[x: string]: {
|
|
359
|
+
light?: string | undefined;
|
|
360
|
+
dark?: string | undefined;
|
|
361
|
+
} | undefined;
|
|
362
|
+
default?: {
|
|
363
|
+
light?: string | undefined;
|
|
364
|
+
dark?: string | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
info?: {
|
|
367
|
+
light?: string | undefined;
|
|
368
|
+
dark?: string | undefined;
|
|
369
|
+
} | undefined;
|
|
370
|
+
failure?: {
|
|
371
|
+
light?: string | undefined;
|
|
372
|
+
dark?: string | undefined;
|
|
373
|
+
} | undefined;
|
|
374
|
+
success?: {
|
|
375
|
+
light?: string | undefined;
|
|
376
|
+
dark?: string | undefined;
|
|
377
|
+
} | undefined;
|
|
378
|
+
warning?: {
|
|
379
|
+
light?: string | undefined;
|
|
380
|
+
dark?: string | undefined;
|
|
381
|
+
} | undefined;
|
|
382
|
+
primary?: {
|
|
383
|
+
light?: string | undefined;
|
|
384
|
+
dark?: string | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
} | undefined;
|
|
387
|
+
} | undefined;
|
|
388
|
+
}>;
|
|
389
|
+
readonly theme: _angular_core.Signal<{
|
|
390
|
+
host: {
|
|
391
|
+
root: string;
|
|
392
|
+
};
|
|
393
|
+
}>;
|
|
394
|
+
readonly state: ng_primitives_state.CreatedState<AlertButton>;
|
|
395
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
396
|
+
declare const flowbiteAlertButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
397
|
+
|
|
398
|
+
interface FlowbiteAlertContentTheme {
|
|
399
|
+
host: FlowbiteAlertContentHostTheme;
|
|
400
|
+
}
|
|
401
|
+
interface FlowbiteAlertContentHostTheme {
|
|
402
|
+
base: string;
|
|
403
|
+
transition: string;
|
|
404
|
+
color: FlowbiteAlertColors;
|
|
405
|
+
}
|
|
406
|
+
declare const flowbiteAlertContentTheme: FlowbiteAlertContentTheme;
|
|
407
|
+
|
|
408
|
+
interface FlowbiteAlertContentConfig {
|
|
409
|
+
/**
|
|
410
|
+
* The default theme of AlertContent
|
|
411
|
+
*/
|
|
412
|
+
baseTheme: FlowbiteAlertContentTheme;
|
|
413
|
+
/**
|
|
414
|
+
* The custom theme of AlertContent
|
|
415
|
+
*/
|
|
416
|
+
customTheme: DeepPartial<FlowbiteAlertContentTheme>;
|
|
417
|
+
}
|
|
418
|
+
declare const defaultFlowbiteAlertContentConfig: FlowbiteAlertContentConfig;
|
|
419
|
+
declare const FlowbiteAlertContentConfigToken: InjectionToken<FlowbiteAlertContentConfig>;
|
|
420
|
+
/**
|
|
421
|
+
* Provide the default AlertContent configuration
|
|
422
|
+
* @param config The AlertContent configuration
|
|
423
|
+
* @returns The provider
|
|
424
|
+
*/
|
|
425
|
+
declare const provideFlowbiteAlertContentConfig: (config: Partial<FlowbiteAlertContentConfig>) => Provider[];
|
|
426
|
+
/**
|
|
427
|
+
* Inject the AlertContent configuration
|
|
428
|
+
* @see {@link defaultFlowbiteAlertContentConfig}
|
|
429
|
+
* @returns The configuration
|
|
430
|
+
*/
|
|
431
|
+
declare const injectFlowbiteAlertContentConfig: () => FlowbiteAlertContentConfig;
|
|
432
|
+
|
|
433
|
+
declare class AlertContent {
|
|
434
|
+
readonly config: FlowbiteAlertContentConfig;
|
|
435
|
+
readonly alertState: _angular_core.Signal<ng_primitives_state.State<{
|
|
436
|
+
readonly config: flowbite_angular_alert.FlowbiteAlertConfig;
|
|
437
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_alert.FlowbiteAlertColors>;
|
|
438
|
+
readonly border: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
439
|
+
readonly accent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
440
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
441
|
+
host?: {
|
|
442
|
+
base?: string | undefined;
|
|
443
|
+
transition?: string | undefined;
|
|
444
|
+
color?: {
|
|
445
|
+
[x: string]: {
|
|
446
|
+
light?: string | undefined;
|
|
447
|
+
dark?: string | undefined;
|
|
448
|
+
} | undefined;
|
|
449
|
+
default?: {
|
|
450
|
+
light?: string | undefined;
|
|
451
|
+
dark?: string | undefined;
|
|
452
|
+
} | undefined;
|
|
453
|
+
info?: {
|
|
454
|
+
light?: string | undefined;
|
|
455
|
+
dark?: string | undefined;
|
|
456
|
+
} | undefined;
|
|
457
|
+
failure?: {
|
|
458
|
+
light?: string | undefined;
|
|
459
|
+
dark?: string | undefined;
|
|
460
|
+
} | undefined;
|
|
461
|
+
success?: {
|
|
462
|
+
light?: string | undefined;
|
|
463
|
+
dark?: string | undefined;
|
|
464
|
+
} | undefined;
|
|
465
|
+
warning?: {
|
|
466
|
+
light?: string | undefined;
|
|
467
|
+
dark?: string | undefined;
|
|
468
|
+
} | undefined;
|
|
469
|
+
primary?: {
|
|
470
|
+
light?: string | undefined;
|
|
471
|
+
dark?: string | undefined;
|
|
472
|
+
} | undefined;
|
|
473
|
+
} | undefined;
|
|
474
|
+
border?: {
|
|
475
|
+
off?: string | undefined;
|
|
476
|
+
on?: string | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
accent?: {
|
|
479
|
+
off?: string | undefined;
|
|
480
|
+
on?: string | undefined;
|
|
481
|
+
} | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
}>;
|
|
484
|
+
readonly theme: _angular_core.Signal<{
|
|
485
|
+
host: {
|
|
486
|
+
root: string;
|
|
487
|
+
};
|
|
488
|
+
}>;
|
|
489
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_alert.Alert>;
|
|
490
|
+
}>>;
|
|
491
|
+
/**
|
|
492
|
+
* @see {@link injectFlowbiteAlertContentConfig}
|
|
493
|
+
*/
|
|
494
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
495
|
+
host?: {
|
|
496
|
+
base?: string | undefined;
|
|
497
|
+
transition?: string | undefined;
|
|
498
|
+
color?: {
|
|
499
|
+
[x: string]: {
|
|
500
|
+
light?: string | undefined;
|
|
501
|
+
dark?: string | undefined;
|
|
502
|
+
} | undefined;
|
|
503
|
+
default?: {
|
|
504
|
+
light?: string | undefined;
|
|
505
|
+
dark?: string | undefined;
|
|
506
|
+
} | undefined;
|
|
507
|
+
info?: {
|
|
508
|
+
light?: string | undefined;
|
|
509
|
+
dark?: string | undefined;
|
|
510
|
+
} | undefined;
|
|
511
|
+
failure?: {
|
|
512
|
+
light?: string | undefined;
|
|
513
|
+
dark?: string | undefined;
|
|
514
|
+
} | undefined;
|
|
515
|
+
success?: {
|
|
516
|
+
light?: string | undefined;
|
|
517
|
+
dark?: string | undefined;
|
|
518
|
+
} | undefined;
|
|
519
|
+
warning?: {
|
|
520
|
+
light?: string | undefined;
|
|
521
|
+
dark?: string | undefined;
|
|
522
|
+
} | undefined;
|
|
523
|
+
primary?: {
|
|
524
|
+
light?: string | undefined;
|
|
525
|
+
dark?: string | undefined;
|
|
526
|
+
} | undefined;
|
|
527
|
+
} | undefined;
|
|
528
|
+
} | undefined;
|
|
529
|
+
}>;
|
|
530
|
+
readonly theme: _angular_core.Signal<{
|
|
531
|
+
host: {
|
|
532
|
+
root: string;
|
|
533
|
+
};
|
|
534
|
+
}>;
|
|
535
|
+
/**
|
|
536
|
+
* @internal
|
|
537
|
+
*/
|
|
538
|
+
readonly state: ng_primitives_state.CreatedState<AlertContent>;
|
|
539
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AlertContent, never>;
|
|
540
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AlertContent, " div[flowbiteAlertContent] ", ["flowbiteAlertContent"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
declare const FlowbiteAlertContentStateToken: _angular_core.InjectionToken<AlertContent>;
|
|
544
|
+
declare const provideFlowbiteAlertContentState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
545
|
+
declare const injectFlowbiteAlertContentState: <U = {
|
|
546
|
+
readonly config: flowbite_angular_alert.FlowbiteAlertContentConfig;
|
|
547
|
+
readonly alertState: _angular_core.Signal<ng_primitives_state.State<{
|
|
548
|
+
readonly config: /*elided*/ any;
|
|
549
|
+
readonly color: /*elided*/ any;
|
|
550
|
+
readonly border: /*elided*/ any;
|
|
551
|
+
readonly accent: /*elided*/ any;
|
|
552
|
+
readonly customTheme: /*elided*/ any;
|
|
553
|
+
readonly theme: /*elided*/ any;
|
|
554
|
+
readonly state: /*elided*/ any;
|
|
555
|
+
}>>;
|
|
556
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
557
|
+
host?: {
|
|
558
|
+
base?: string | undefined;
|
|
559
|
+
transition?: string | undefined;
|
|
560
|
+
color?: {
|
|
561
|
+
[x: string]: {
|
|
562
|
+
light?: string | undefined;
|
|
563
|
+
dark?: string | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
default?: {
|
|
566
|
+
light?: string | undefined;
|
|
567
|
+
dark?: string | undefined;
|
|
568
|
+
} | undefined;
|
|
569
|
+
info?: {
|
|
570
|
+
light?: string | undefined;
|
|
571
|
+
dark?: string | undefined;
|
|
572
|
+
} | undefined;
|
|
573
|
+
failure?: {
|
|
574
|
+
light?: string | undefined;
|
|
575
|
+
dark?: string | undefined;
|
|
576
|
+
} | undefined;
|
|
577
|
+
success?: {
|
|
578
|
+
light?: string | undefined;
|
|
579
|
+
dark?: string | undefined;
|
|
580
|
+
} | undefined;
|
|
581
|
+
warning?: {
|
|
582
|
+
light?: string | undefined;
|
|
583
|
+
dark?: string | undefined;
|
|
584
|
+
} | undefined;
|
|
585
|
+
primary?: {
|
|
586
|
+
light?: string | undefined;
|
|
587
|
+
dark?: string | undefined;
|
|
588
|
+
} | undefined;
|
|
589
|
+
} | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
}>;
|
|
592
|
+
readonly theme: _angular_core.Signal<{
|
|
593
|
+
host: {
|
|
594
|
+
root: string;
|
|
595
|
+
};
|
|
596
|
+
}>;
|
|
597
|
+
readonly state: ng_primitives_state.CreatedState<AlertContent>;
|
|
598
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
599
|
+
declare const flowbiteAlertContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
600
|
+
|
|
601
|
+
export { Alert, AlertButton, AlertContent, FlowbiteAlertButtonConfigToken, FlowbiteAlertButtonStateToken, FlowbiteAlertConfigToken, FlowbiteAlertContentConfigToken, FlowbiteAlertContentStateToken, FlowbiteAlertStateToken, defaultFlowbiteAlertButtonConfig, defaultFlowbiteAlertConfig, defaultFlowbiteAlertContentConfig, flowbiteAlertButtonState, flowbiteAlertButtonTheme, flowbiteAlertContentState, flowbiteAlertContentTheme, flowbiteAlertState, flowbiteAlertTheme, injectFlowbiteAlertButtonConfig, injectFlowbiteAlertButtonState, injectFlowbiteAlertConfig, injectFlowbiteAlertContentConfig, injectFlowbiteAlertContentState, injectFlowbiteAlertState, provideFlowbiteAlertButtonConfig, provideFlowbiteAlertButtonState, provideFlowbiteAlertConfig, provideFlowbiteAlertContentConfig, provideFlowbiteAlertContentState, provideFlowbiteAlertState };
|
|
602
|
+
export type { FlowbiteAlertButtonConfig, FlowbiteAlertButtonHostTheme, FlowbiteAlertButtonTheme, FlowbiteAlertColors, FlowbiteAlertConfig, FlowbiteAlertContentConfig, FlowbiteAlertContentHostTheme, FlowbiteAlertContentTheme, FlowbiteAlertHostTheme, FlowbiteAlertTheme };
|