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
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
import * as flowbite_angular from 'flowbite-angular';
|
|
2
|
+
import { FlowbiteBoolean, DeepPartial, FlowbiteThemes } from 'flowbite-angular';
|
|
3
|
+
import * as flowbite_angular_button from 'flowbite-angular/button';
|
|
4
|
+
import { FlowbiteBaseButtonSizes, FlowbiteBaseButtonColors, BaseButton } from 'flowbite-angular/button';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
7
|
+
import * as ng_primitives_state from 'ng-primitives/state';
|
|
8
|
+
import * as i2 from 'ng-primitives/button';
|
|
9
|
+
import * as i3 from 'ng-primitives/interactions';
|
|
10
|
+
import * as flowbite_angular_theme_toggle from 'flowbite-angular/theme-toggle';
|
|
11
|
+
|
|
12
|
+
interface FlowbiteThemeToggleTheme {
|
|
13
|
+
host: FlowbiteThemeToggleHostTheme;
|
|
14
|
+
}
|
|
15
|
+
interface FlowbiteThemeToggleHostTheme {
|
|
16
|
+
base: string;
|
|
17
|
+
transition: string;
|
|
18
|
+
focus: string;
|
|
19
|
+
disabled: string;
|
|
20
|
+
size: FlowbiteBaseButtonSizes;
|
|
21
|
+
pill: FlowbiteBoolean;
|
|
22
|
+
color: FlowbiteBaseButtonColors;
|
|
23
|
+
colorOutline: FlowbiteBaseButtonColors;
|
|
24
|
+
}
|
|
25
|
+
declare const flowbiteThemeToggleTheme: FlowbiteThemeToggleTheme;
|
|
26
|
+
|
|
27
|
+
interface FlowbiteThemeToggleConfig {
|
|
28
|
+
/**
|
|
29
|
+
* The default theme of ThemeToggle
|
|
30
|
+
*/
|
|
31
|
+
baseTheme: FlowbiteThemeToggleTheme;
|
|
32
|
+
/**
|
|
33
|
+
* The custom theme of ThemeToggle
|
|
34
|
+
*/
|
|
35
|
+
customTheme: DeepPartial<FlowbiteThemeToggleTheme>;
|
|
36
|
+
}
|
|
37
|
+
declare const defaultFlowbiteThemeToggleConfig: FlowbiteThemeToggleConfig;
|
|
38
|
+
declare const FlowbiteThemeToggleConfigToken: InjectionToken<FlowbiteThemeToggleConfig>;
|
|
39
|
+
/**
|
|
40
|
+
* Provide the default ThemeToggle configuration
|
|
41
|
+
* @param config The ThemeToggle configuration
|
|
42
|
+
* @returns The provider
|
|
43
|
+
*/
|
|
44
|
+
declare const provideFlowbiteThemeToggleConfig: (config: Partial<FlowbiteThemeToggleConfig>) => Provider[];
|
|
45
|
+
/**
|
|
46
|
+
* Inject the ThemeToggle configuration
|
|
47
|
+
* @see {@link defaultFlowbiteThemeToggleConfig}
|
|
48
|
+
* @returns The configuration
|
|
49
|
+
*/
|
|
50
|
+
declare const injectFlowbiteThemeToggleConfig: () => FlowbiteThemeToggleConfig;
|
|
51
|
+
|
|
52
|
+
interface FlowbiteThemeConfig {
|
|
53
|
+
/**
|
|
54
|
+
* The default theme of ThemeDirective
|
|
55
|
+
*/
|
|
56
|
+
theme: FlowbiteThemes;
|
|
57
|
+
/**
|
|
58
|
+
* The default local storage key of ThemeDirective
|
|
59
|
+
*/
|
|
60
|
+
localStorageKey: string;
|
|
61
|
+
/**
|
|
62
|
+
* The default type of ThemeDirective
|
|
63
|
+
*/
|
|
64
|
+
type: {
|
|
65
|
+
type: 'class';
|
|
66
|
+
} | {
|
|
67
|
+
type: 'attr';
|
|
68
|
+
name: string;
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
declare const defaultFlowbiteThemeConfig: FlowbiteThemeConfig;
|
|
72
|
+
declare const FlowbiteThemeConfigToken: InjectionToken<FlowbiteThemeConfig>;
|
|
73
|
+
/**
|
|
74
|
+
* Provide the default Theme configuration
|
|
75
|
+
* @param config The Theme configuration
|
|
76
|
+
* @returns The provider
|
|
77
|
+
*/
|
|
78
|
+
declare const provideFlowbiteThemeConfig: (config: Partial<FlowbiteThemeConfig>) => Provider[];
|
|
79
|
+
/**
|
|
80
|
+
* Inject the Theme configuration
|
|
81
|
+
* @see {@link defaultFlowbiteThemeConfig}
|
|
82
|
+
* @returns The configuration
|
|
83
|
+
*/
|
|
84
|
+
declare const injectFlowbiteThemeConfig: () => FlowbiteThemeConfig;
|
|
85
|
+
|
|
86
|
+
declare class Theme {
|
|
87
|
+
protected readonly config: FlowbiteThemeConfig;
|
|
88
|
+
readonly localStorageKey: _angular_core.InputSignal<string>;
|
|
89
|
+
readonly currentTheme: _angular_core.InputSignal<FlowbiteThemes>;
|
|
90
|
+
readonly type: _angular_core.InputSignal<{
|
|
91
|
+
type: "class";
|
|
92
|
+
} | {
|
|
93
|
+
type: "attr";
|
|
94
|
+
name: string;
|
|
95
|
+
}>;
|
|
96
|
+
constructor();
|
|
97
|
+
getLocalStorageTheme(): FlowbiteThemes | undefined;
|
|
98
|
+
toggleTheme(theme?: FlowbiteThemes): void;
|
|
99
|
+
setTheme(theme: FlowbiteThemes): void;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
readonly state: ng_primitives_state.CreatedState<Theme>;
|
|
104
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Theme, never>;
|
|
105
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Theme, " [flowbiteTheme] ", ["flowbiteTheme"], { "localStorageKey": { "alias": "localStorageKey"; "required": false; "isSignal": true; }; "currentTheme": { "alias": "currentTheme"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare class ThemeToggle {
|
|
109
|
+
protected readonly baseButtonState: _angular_core.Signal<ng_primitives_state.State<{
|
|
110
|
+
readonly config: flowbite_angular_button.FlowbiteBaseButtonConfig;
|
|
111
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_button.FlowbiteBaseButtonColors>;
|
|
112
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_button.FlowbiteBaseButtonSizes>;
|
|
113
|
+
readonly pill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
114
|
+
readonly outline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
readonly state: ng_primitives_state.CreatedState<BaseButton>;
|
|
116
|
+
}>>;
|
|
117
|
+
protected readonly config: FlowbiteThemeToggleConfig;
|
|
118
|
+
protected readonly themeDirective: Theme;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link injectFlowbiteThemeToggleConfig}
|
|
121
|
+
*/
|
|
122
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
123
|
+
host?: {
|
|
124
|
+
base?: string | undefined;
|
|
125
|
+
transition?: string | undefined;
|
|
126
|
+
focus?: string | undefined;
|
|
127
|
+
disabled?: string | undefined;
|
|
128
|
+
size?: {
|
|
129
|
+
[x: string]: string | undefined;
|
|
130
|
+
xs?: string | undefined;
|
|
131
|
+
sm?: string | undefined;
|
|
132
|
+
md?: string | undefined;
|
|
133
|
+
lg?: string | undefined;
|
|
134
|
+
xl?: string | undefined;
|
|
135
|
+
} | undefined;
|
|
136
|
+
pill?: {
|
|
137
|
+
off?: string | undefined;
|
|
138
|
+
on?: string | undefined;
|
|
139
|
+
} | undefined;
|
|
140
|
+
color?: {
|
|
141
|
+
[x: string]: {
|
|
142
|
+
light?: string | undefined;
|
|
143
|
+
dark?: string | undefined;
|
|
144
|
+
} | undefined;
|
|
145
|
+
default?: {
|
|
146
|
+
light?: string | undefined;
|
|
147
|
+
dark?: string | undefined;
|
|
148
|
+
} | undefined;
|
|
149
|
+
info?: {
|
|
150
|
+
light?: string | undefined;
|
|
151
|
+
dark?: string | undefined;
|
|
152
|
+
} | undefined;
|
|
153
|
+
failure?: {
|
|
154
|
+
light?: string | undefined;
|
|
155
|
+
dark?: string | undefined;
|
|
156
|
+
} | undefined;
|
|
157
|
+
success?: {
|
|
158
|
+
light?: string | undefined;
|
|
159
|
+
dark?: string | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
warning?: {
|
|
162
|
+
light?: string | undefined;
|
|
163
|
+
dark?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
primary?: {
|
|
166
|
+
light?: string | undefined;
|
|
167
|
+
dark?: string | undefined;
|
|
168
|
+
} | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
colorOutline?: {
|
|
171
|
+
[x: string]: {
|
|
172
|
+
light?: string | undefined;
|
|
173
|
+
dark?: string | undefined;
|
|
174
|
+
} | undefined;
|
|
175
|
+
default?: {
|
|
176
|
+
light?: string | undefined;
|
|
177
|
+
dark?: string | undefined;
|
|
178
|
+
} | undefined;
|
|
179
|
+
info?: {
|
|
180
|
+
light?: string | undefined;
|
|
181
|
+
dark?: string | undefined;
|
|
182
|
+
} | undefined;
|
|
183
|
+
failure?: {
|
|
184
|
+
light?: string | undefined;
|
|
185
|
+
dark?: string | undefined;
|
|
186
|
+
} | undefined;
|
|
187
|
+
success?: {
|
|
188
|
+
light?: string | undefined;
|
|
189
|
+
dark?: string | undefined;
|
|
190
|
+
} | undefined;
|
|
191
|
+
warning?: {
|
|
192
|
+
light?: string | undefined;
|
|
193
|
+
dark?: string | undefined;
|
|
194
|
+
} | undefined;
|
|
195
|
+
primary?: {
|
|
196
|
+
light?: string | undefined;
|
|
197
|
+
dark?: string | undefined;
|
|
198
|
+
} | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
}>;
|
|
202
|
+
readonly theme: _angular_core.Signal<{
|
|
203
|
+
host: {
|
|
204
|
+
root: string;
|
|
205
|
+
};
|
|
206
|
+
}>;
|
|
207
|
+
/**
|
|
208
|
+
* @internal
|
|
209
|
+
*/
|
|
210
|
+
readonly state: ng_primitives_state.CreatedState<ThemeToggle>;
|
|
211
|
+
/**
|
|
212
|
+
* @internal
|
|
213
|
+
*/
|
|
214
|
+
onClick(): void;
|
|
215
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ThemeToggle, never>;
|
|
216
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ThemeToggle, " button[flowbiteThemeToggle] ", ["flowbiteThemeToggle"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof flowbite_angular_button.BaseButton; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i2.NgpButton; inputs: { "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i3.NgpFocus; inputs: { "ngpFocusDisabled": "focusDisabled"; }; outputs: { "ngpFocus": "ngpFocus"; }; }]>;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
declare const FlowbiteThemeToggleStateToken: _angular_core.InjectionToken<ThemeToggle>;
|
|
220
|
+
declare const provideFlowbiteThemeToggleState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
221
|
+
declare const injectFlowbiteThemeToggleState: <U = {
|
|
222
|
+
readonly baseButtonState: _angular_core.Signal<ng_primitives_state.State<{
|
|
223
|
+
readonly config: flowbite_angular_button.FlowbiteBaseButtonConfig;
|
|
224
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_button.FlowbiteBaseButtonColors>;
|
|
225
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_button.FlowbiteBaseButtonSizes>;
|
|
226
|
+
readonly pill: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
227
|
+
readonly outline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
228
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_button.BaseButton>;
|
|
229
|
+
}>>;
|
|
230
|
+
readonly config: flowbite_angular_theme_toggle.FlowbiteThemeToggleConfig;
|
|
231
|
+
readonly themeDirective: flowbite_angular_theme_toggle.Theme;
|
|
232
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
233
|
+
host?: {
|
|
234
|
+
base?: string | undefined;
|
|
235
|
+
transition?: string | undefined;
|
|
236
|
+
focus?: string | undefined;
|
|
237
|
+
disabled?: string | undefined;
|
|
238
|
+
size?: {
|
|
239
|
+
[x: string]: string | undefined;
|
|
240
|
+
xs?: string | undefined;
|
|
241
|
+
sm?: string | undefined;
|
|
242
|
+
md?: string | undefined;
|
|
243
|
+
lg?: string | undefined;
|
|
244
|
+
xl?: string | undefined;
|
|
245
|
+
} | undefined;
|
|
246
|
+
pill?: {
|
|
247
|
+
off?: string | undefined;
|
|
248
|
+
on?: string | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
color?: {
|
|
251
|
+
[x: string]: {
|
|
252
|
+
light?: string | undefined;
|
|
253
|
+
dark?: string | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
default?: {
|
|
256
|
+
light?: string | undefined;
|
|
257
|
+
dark?: string | undefined;
|
|
258
|
+
} | undefined;
|
|
259
|
+
info?: {
|
|
260
|
+
light?: string | undefined;
|
|
261
|
+
dark?: string | undefined;
|
|
262
|
+
} | undefined;
|
|
263
|
+
failure?: {
|
|
264
|
+
light?: string | undefined;
|
|
265
|
+
dark?: string | undefined;
|
|
266
|
+
} | undefined;
|
|
267
|
+
success?: {
|
|
268
|
+
light?: string | undefined;
|
|
269
|
+
dark?: string | undefined;
|
|
270
|
+
} | undefined;
|
|
271
|
+
warning?: {
|
|
272
|
+
light?: string | undefined;
|
|
273
|
+
dark?: string | undefined;
|
|
274
|
+
} | undefined;
|
|
275
|
+
primary?: {
|
|
276
|
+
light?: string | undefined;
|
|
277
|
+
dark?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
colorOutline?: {
|
|
281
|
+
[x: string]: {
|
|
282
|
+
light?: string | undefined;
|
|
283
|
+
dark?: string | undefined;
|
|
284
|
+
} | undefined;
|
|
285
|
+
default?: {
|
|
286
|
+
light?: string | undefined;
|
|
287
|
+
dark?: string | undefined;
|
|
288
|
+
} | undefined;
|
|
289
|
+
info?: {
|
|
290
|
+
light?: string | undefined;
|
|
291
|
+
dark?: string | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
failure?: {
|
|
294
|
+
light?: string | undefined;
|
|
295
|
+
dark?: string | undefined;
|
|
296
|
+
} | undefined;
|
|
297
|
+
success?: {
|
|
298
|
+
light?: string | undefined;
|
|
299
|
+
dark?: string | undefined;
|
|
300
|
+
} | undefined;
|
|
301
|
+
warning?: {
|
|
302
|
+
light?: string | undefined;
|
|
303
|
+
dark?: string | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
primary?: {
|
|
306
|
+
light?: string | undefined;
|
|
307
|
+
dark?: string | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
} | undefined;
|
|
310
|
+
} | undefined;
|
|
311
|
+
}>;
|
|
312
|
+
readonly theme: _angular_core.Signal<{
|
|
313
|
+
host: {
|
|
314
|
+
root: string;
|
|
315
|
+
};
|
|
316
|
+
}>;
|
|
317
|
+
readonly state: ng_primitives_state.CreatedState<ThemeToggle>;
|
|
318
|
+
onClick: () => void;
|
|
319
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
320
|
+
declare const flowbiteThemeToggleState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
321
|
+
|
|
322
|
+
declare const FlowbiteThemeStateToken: _angular_core.InjectionToken<Theme>;
|
|
323
|
+
declare const provideFlowbiteThemeState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
324
|
+
declare const injectFlowbiteThemeState: <U = {
|
|
325
|
+
readonly config: flowbite_angular_theme_toggle.FlowbiteThemeConfig;
|
|
326
|
+
readonly localStorageKey: _angular_core.InputSignal<string>;
|
|
327
|
+
readonly currentTheme: _angular_core.InputSignal<flowbite_angular.FlowbiteThemes>;
|
|
328
|
+
readonly type: _angular_core.InputSignal<{
|
|
329
|
+
type: "class";
|
|
330
|
+
} | {
|
|
331
|
+
type: "attr";
|
|
332
|
+
name: string;
|
|
333
|
+
}>;
|
|
334
|
+
getLocalStorageTheme: () => flowbite_angular.FlowbiteThemes | undefined;
|
|
335
|
+
toggleTheme: (theme?: flowbite_angular.FlowbiteThemes) => void;
|
|
336
|
+
setTheme: (theme: flowbite_angular.FlowbiteThemes) => void;
|
|
337
|
+
readonly state: ng_primitives_state.CreatedState<Theme>;
|
|
338
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
339
|
+
declare const flowbiteThemeState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
340
|
+
|
|
341
|
+
export { FlowbiteThemeConfigToken, FlowbiteThemeStateToken, FlowbiteThemeToggleConfigToken, FlowbiteThemeToggleStateToken, Theme, ThemeToggle, defaultFlowbiteThemeConfig, defaultFlowbiteThemeToggleConfig, flowbiteThemeState, flowbiteThemeToggleState, flowbiteThemeToggleTheme, injectFlowbiteThemeConfig, injectFlowbiteThemeState, injectFlowbiteThemeToggleConfig, injectFlowbiteThemeToggleState, provideFlowbiteThemeConfig, provideFlowbiteThemeState, provideFlowbiteThemeToggleConfig, provideFlowbiteThemeToggleState };
|
|
342
|
+
export type { FlowbiteThemeConfig, FlowbiteThemeToggleConfig, FlowbiteThemeToggleHostTheme, FlowbiteThemeToggleTheme };
|
|
@@ -0,0 +1,158 @@
|
|
|
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 { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
|
|
5
|
+
import * as flowbite_angular_tooltip from 'flowbite-angular/tooltip';
|
|
6
|
+
|
|
7
|
+
interface FlowbiteTooltipColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
8
|
+
[key: string]: ColorToTheme;
|
|
9
|
+
}
|
|
10
|
+
interface FlowbiteTooltipTheme {
|
|
11
|
+
host: FlowbiteTooltipHostTheme;
|
|
12
|
+
}
|
|
13
|
+
interface FlowbiteTooltipHostTheme {
|
|
14
|
+
base: string;
|
|
15
|
+
transition: string;
|
|
16
|
+
color: FlowbiteTooltipColors;
|
|
17
|
+
}
|
|
18
|
+
declare const flowbiteTooltipTheme: FlowbiteTooltipTheme;
|
|
19
|
+
|
|
20
|
+
interface FlowbiteTooltipConfig {
|
|
21
|
+
/**
|
|
22
|
+
* The default theme of tooltip
|
|
23
|
+
*/
|
|
24
|
+
baseTheme: FlowbiteTooltipTheme;
|
|
25
|
+
/**
|
|
26
|
+
* The default color of tooltip
|
|
27
|
+
*/
|
|
28
|
+
color: keyof FlowbiteTooltipColors;
|
|
29
|
+
/**
|
|
30
|
+
* The custom theme of tooltip
|
|
31
|
+
*/
|
|
32
|
+
customTheme: DeepPartial<FlowbiteTooltipTheme>;
|
|
33
|
+
}
|
|
34
|
+
declare const defaultFlowbiteTooltipConfig: FlowbiteTooltipConfig;
|
|
35
|
+
declare const FlowbiteTooltipConfigToken: InjectionToken<FlowbiteTooltipConfig>;
|
|
36
|
+
/**
|
|
37
|
+
* Provide the default Tooltip configuration
|
|
38
|
+
* @param config The Tooltip configuration
|
|
39
|
+
* @returns The provider
|
|
40
|
+
*/
|
|
41
|
+
declare const provideFlowbiteTooltipConfig: (config: Partial<FlowbiteTooltipConfig>) => Provider[];
|
|
42
|
+
/**
|
|
43
|
+
* Inject the Tooltip configuration
|
|
44
|
+
* @see {@link defaultFlowbiteTooltipConfig}
|
|
45
|
+
* @returns The configuration
|
|
46
|
+
*/
|
|
47
|
+
declare const injectFlowbiteTooltipConfig: () => FlowbiteTooltipConfig;
|
|
48
|
+
|
|
49
|
+
declare class Tooltip {
|
|
50
|
+
protected readonly config: FlowbiteTooltipConfig;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link injectFlowbiteTooltipConfig}
|
|
53
|
+
*/
|
|
54
|
+
readonly color: _angular_core.InputSignal<keyof FlowbiteTooltipColors>;
|
|
55
|
+
/**
|
|
56
|
+
* @see {@link injectFlowbiteTooltipConfig}
|
|
57
|
+
*/
|
|
58
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
59
|
+
host?: {
|
|
60
|
+
base?: string | undefined;
|
|
61
|
+
transition?: string | undefined;
|
|
62
|
+
color?: {
|
|
63
|
+
[x: string]: {
|
|
64
|
+
light?: string | undefined;
|
|
65
|
+
dark?: string | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
default?: {
|
|
68
|
+
light?: string | undefined;
|
|
69
|
+
dark?: string | undefined;
|
|
70
|
+
} | undefined;
|
|
71
|
+
info?: {
|
|
72
|
+
light?: string | undefined;
|
|
73
|
+
dark?: string | undefined;
|
|
74
|
+
} | undefined;
|
|
75
|
+
failure?: {
|
|
76
|
+
light?: string | undefined;
|
|
77
|
+
dark?: string | undefined;
|
|
78
|
+
} | undefined;
|
|
79
|
+
success?: {
|
|
80
|
+
light?: string | undefined;
|
|
81
|
+
dark?: string | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
warning?: {
|
|
84
|
+
light?: string | undefined;
|
|
85
|
+
dark?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
primary?: {
|
|
88
|
+
light?: string | undefined;
|
|
89
|
+
dark?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
}>;
|
|
94
|
+
readonly theme: _angular_core.Signal<{
|
|
95
|
+
host: {
|
|
96
|
+
root: string;
|
|
97
|
+
};
|
|
98
|
+
}>;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
readonly state: ng_primitives_state.CreatedState<Tooltip>;
|
|
103
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tooltip, never>;
|
|
104
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Tooltip, " [flowbiteTooltip] ", ["flowbiteTooltip"], { "color": { "alias": "color"; "required": false; "isSignal": true; }; "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
declare const FlowbiteTooltipStateToken: _angular_core.InjectionToken<Tooltip>;
|
|
108
|
+
declare const provideFlowbiteTooltipState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
109
|
+
declare const injectFlowbiteTooltipState: <U = {
|
|
110
|
+
readonly config: flowbite_angular_tooltip.FlowbiteTooltipConfig;
|
|
111
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_tooltip.FlowbiteTooltipColors>;
|
|
112
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
113
|
+
host?: {
|
|
114
|
+
base?: string | undefined;
|
|
115
|
+
transition?: string | undefined;
|
|
116
|
+
color?: {
|
|
117
|
+
[x: string]: {
|
|
118
|
+
light?: string | undefined;
|
|
119
|
+
dark?: string | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
default?: {
|
|
122
|
+
light?: string | undefined;
|
|
123
|
+
dark?: string | undefined;
|
|
124
|
+
} | undefined;
|
|
125
|
+
info?: {
|
|
126
|
+
light?: string | undefined;
|
|
127
|
+
dark?: string | undefined;
|
|
128
|
+
} | undefined;
|
|
129
|
+
failure?: {
|
|
130
|
+
light?: string | undefined;
|
|
131
|
+
dark?: string | undefined;
|
|
132
|
+
} | undefined;
|
|
133
|
+
success?: {
|
|
134
|
+
light?: string | undefined;
|
|
135
|
+
dark?: string | undefined;
|
|
136
|
+
} | undefined;
|
|
137
|
+
warning?: {
|
|
138
|
+
light?: string | undefined;
|
|
139
|
+
dark?: string | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
primary?: {
|
|
142
|
+
light?: string | undefined;
|
|
143
|
+
dark?: string | undefined;
|
|
144
|
+
} | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
}>;
|
|
148
|
+
readonly theme: _angular_core.Signal<{
|
|
149
|
+
host: {
|
|
150
|
+
root: string;
|
|
151
|
+
};
|
|
152
|
+
}>;
|
|
153
|
+
readonly state: ng_primitives_state.CreatedState<Tooltip>;
|
|
154
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
155
|
+
declare const flowbiteTooltipState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
156
|
+
|
|
157
|
+
export { FlowbiteTooltipConfigToken, FlowbiteTooltipStateToken, Tooltip, defaultFlowbiteTooltipConfig, flowbiteTooltipState, flowbiteTooltipTheme, injectFlowbiteTooltipConfig, injectFlowbiteTooltipState, provideFlowbiteTooltipConfig, provideFlowbiteTooltipState };
|
|
158
|
+
export type { FlowbiteTooltipColors, FlowbiteTooltipConfig, FlowbiteTooltipHostTheme, FlowbiteTooltipTheme };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import type { AccordionContentClass } from './accordion-content.theme';
|
|
2
|
-
import { AccordionContentThemeService } from './accordion-content.theme.service';
|
|
3
|
-
import { AccordionPanelComponent } from './accordion-panel.component';
|
|
4
|
-
import type { AccordionColors } from './accordion.theme';
|
|
5
|
-
import { BaseComponent } from 'flowbite-angular';
|
|
6
|
-
import { InjectionToken } from '@angular/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare const FLOWBITE_ACCORDION_CONTENT_CUSTOM_STYLE_DEFAULT_VALUE: InjectionToken<{
|
|
9
|
-
root?: {
|
|
10
|
-
base?: string | undefined;
|
|
11
|
-
color?: {
|
|
12
|
-
[x: string]: string | undefined;
|
|
13
|
-
primary?: string | undefined;
|
|
14
|
-
light?: string | undefined;
|
|
15
|
-
blue?: string | undefined;
|
|
16
|
-
red?: string | undefined;
|
|
17
|
-
green?: string | undefined;
|
|
18
|
-
yellow?: string | undefined;
|
|
19
|
-
} | undefined;
|
|
20
|
-
isFlush?: {
|
|
21
|
-
enabled?: string | undefined;
|
|
22
|
-
disabled?: string | undefined;
|
|
23
|
-
} | undefined;
|
|
24
|
-
} | undefined;
|
|
25
|
-
}>;
|
|
26
|
-
export declare const accordionContentDefaultValueProvider: import("@angular/core").EnvironmentProviders;
|
|
27
|
-
/**
|
|
28
|
-
* @see https://flowbite.com/docs/components/accordion/
|
|
29
|
-
*/
|
|
30
|
-
export declare class AccordionContentComponent extends BaseComponent<AccordionContentClass> {
|
|
31
|
-
/**
|
|
32
|
-
* Service injected used to generate class
|
|
33
|
-
*/
|
|
34
|
-
readonly themeService: AccordionContentThemeService;
|
|
35
|
-
/**
|
|
36
|
-
* The parent `AccordionPanelComponent`
|
|
37
|
-
*/
|
|
38
|
-
readonly accordionPanelComponent: AccordionPanelComponent;
|
|
39
|
-
/**
|
|
40
|
-
* Set the accordion content color
|
|
41
|
-
*
|
|
42
|
-
@default `AccordionPanelComponent`'s color
|
|
43
|
-
*/
|
|
44
|
-
color: import("@angular/core").ModelSignal<keyof AccordionColors>;
|
|
45
|
-
/**
|
|
46
|
-
* Set the custom style for this accordion content
|
|
47
|
-
*/
|
|
48
|
-
customStyle: import("@angular/core").ModelSignal<{
|
|
49
|
-
root?: {
|
|
50
|
-
base?: string | undefined;
|
|
51
|
-
color?: {
|
|
52
|
-
[x: string]: string | undefined;
|
|
53
|
-
primary?: string | undefined;
|
|
54
|
-
light?: string | undefined;
|
|
55
|
-
blue?: string | undefined;
|
|
56
|
-
red?: string | undefined;
|
|
57
|
-
green?: string | undefined;
|
|
58
|
-
yellow?: string | undefined;
|
|
59
|
-
} | undefined;
|
|
60
|
-
isFlush?: {
|
|
61
|
-
enabled?: string | undefined;
|
|
62
|
-
disabled?: string | undefined;
|
|
63
|
-
} | undefined;
|
|
64
|
-
} | undefined;
|
|
65
|
-
}>;
|
|
66
|
-
fetchClass(): AccordionContentClass;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionContentComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionContentComponent, "flowbite-accordion-content", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "customStyle": { "alias": "customStyle"; "required": false; "isSignal": true; }; }, { "color": "colorChange"; "customStyle": "customStyleChange"; }, never, ["*"], true, never>;
|
|
69
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { AccordionColors } from './accordion.theme';
|
|
2
|
-
import type { DeepPartial, FlowbiteBoolean, FlowbiteClass } from 'flowbite-angular';
|
|
3
|
-
/**
|
|
4
|
-
* Required properties for the class generation of `AccordionContentComponent`
|
|
5
|
-
*/
|
|
6
|
-
export interface AccordionContentProperties {
|
|
7
|
-
color: keyof AccordionColors;
|
|
8
|
-
isFlush: keyof FlowbiteBoolean;
|
|
9
|
-
customStyle: DeepPartial<AccordionContentTheme>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Theme definition for `AccordionContentComponent`
|
|
13
|
-
*/
|
|
14
|
-
export interface AccordionContentTheme {
|
|
15
|
-
root: {
|
|
16
|
-
base: string;
|
|
17
|
-
color: AccordionColors;
|
|
18
|
-
isFlush: FlowbiteBoolean;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Default theme for `AccordionContentComponent`
|
|
23
|
-
*/
|
|
24
|
-
export declare const accordionContentTheme: AccordionContentTheme;
|
|
25
|
-
/**
|
|
26
|
-
* Generated class definition for `AccordionContentComponent`
|
|
27
|
-
*/
|
|
28
|
-
export type AccordionContentClass = FlowbiteClass;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { AccordionContentClass, AccordionContentProperties, AccordionContentTheme } from './accordion-content.theme';
|
|
2
|
-
import type { FlowbiteThemeService } from 'flowbite-angular';
|
|
3
|
-
import { InjectionToken } from '@angular/core';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* `InjectionToken` used to import `AccordionContentTheme` value
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```
|
|
10
|
-
* var theme = inject(FLOWBITE_ACCORDION_CONTENT_THEME_TOKEN)
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
export declare const FLOWBITE_ACCORDION_CONTENT_THEME_TOKEN: InjectionToken<AccordionContentTheme>;
|
|
14
|
-
export declare class AccordionContentThemeService implements FlowbiteThemeService<AccordionContentProperties> {
|
|
15
|
-
private readonly baseTheme;
|
|
16
|
-
getClasses(properties: AccordionContentProperties): AccordionContentClass;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionContentThemeService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AccordionContentThemeService>;
|
|
19
|
-
}
|