flowbite-angular 1.3.0 → 20.0.2
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 +339 -479
- package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
- package/fesm2022/flowbite-angular-alert.mjs +308 -240
- package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
- package/fesm2022/flowbite-angular-badge.mjs +332 -238
- package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
- package/fesm2022/flowbite-angular-breadcrumb.mjs +262 -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 +189 -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 +272 -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 +337 -486
- package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
- package/fesm2022/flowbite-angular-navbar.mjs +600 -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 +400 -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/flowbite-angular.css +2 -0
- 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 +133 -38
- 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 -196
- package/badge/badge.theme.d.ts +0 -53
- 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 -139
- 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 -193
- 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/sidebar/index.d.ts
CHANGED
|
@@ -1,24 +1,880 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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 { FlowbiteBoolean, FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
|
|
5
|
+
import * as _angular_cdk_coercion from '@angular/cdk/coercion';
|
|
6
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
7
|
+
import * as flowbite_angular_sidebar from 'flowbite-angular/sidebar';
|
|
8
|
+
import * as i1 from 'flowbite-angular/button';
|
|
9
|
+
import { FlowbiteBaseButtonSizes, FlowbiteBaseButtonColors } from 'flowbite-angular/button';
|
|
10
|
+
import * as i2 from 'ng-primitives/button';
|
|
11
|
+
import * as i3 from 'ng-primitives/interactions';
|
|
12
|
+
|
|
13
|
+
interface FlowbiteSidebarColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
14
|
+
[key: string]: ColorToTheme;
|
|
15
|
+
}
|
|
16
|
+
interface FlowbiteSidebarTheme {
|
|
17
|
+
host: FlowbiteSidebarHostTheme;
|
|
18
|
+
}
|
|
19
|
+
interface FlowbiteSidebarHostTheme {
|
|
20
|
+
base: string;
|
|
21
|
+
transition: string;
|
|
22
|
+
open: FlowbiteBoolean;
|
|
23
|
+
}
|
|
24
|
+
declare const flowbiteSidebarTheme: FlowbiteSidebarTheme;
|
|
25
|
+
|
|
26
|
+
interface FlowbiteSidebarConfig {
|
|
27
|
+
/**
|
|
28
|
+
* The default theme of sidebar
|
|
29
|
+
*/
|
|
30
|
+
baseTheme: FlowbiteSidebarTheme;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the sidebar is open
|
|
33
|
+
*/
|
|
34
|
+
open: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The default color of sidebar
|
|
37
|
+
*/
|
|
38
|
+
color: keyof FlowbiteSidebarColors;
|
|
39
|
+
/**
|
|
40
|
+
* The custom theme of sidebar
|
|
41
|
+
*/
|
|
42
|
+
customTheme: DeepPartial<FlowbiteSidebarTheme>;
|
|
43
|
+
}
|
|
44
|
+
declare const defaultFlowbiteSidebarConfig: FlowbiteSidebarConfig;
|
|
45
|
+
declare const FlowbiteSidebarConfigToken: InjectionToken<FlowbiteSidebarConfig>;
|
|
46
|
+
/**
|
|
47
|
+
* Provide the default Sidebar configuration
|
|
48
|
+
* @param config The Sidebar configuration
|
|
49
|
+
* @returns The provider
|
|
50
|
+
*/
|
|
51
|
+
declare const provideFlowbiteSidebarConfig: (config: Partial<FlowbiteSidebarConfig>) => Provider[];
|
|
52
|
+
/**
|
|
53
|
+
* Inject the Sidebar configuration
|
|
54
|
+
* @see {@link defaultFlowbiteSidebarConfig}
|
|
55
|
+
* @returns The configuration
|
|
56
|
+
*/
|
|
57
|
+
declare const injectFlowbiteSidebarConfig: () => FlowbiteSidebarConfig;
|
|
58
|
+
|
|
59
|
+
declare class Sidebar {
|
|
60
|
+
protected readonly config: FlowbiteSidebarConfig;
|
|
61
|
+
/**
|
|
62
|
+
* @see {@link injectFlowbiteSidebarConfig}
|
|
63
|
+
*/
|
|
64
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
65
|
+
/**
|
|
66
|
+
* @see {@link injectFlowbiteSidebarConfig}
|
|
67
|
+
*/
|
|
68
|
+
readonly color: _angular_core.InputSignal<keyof FlowbiteSidebarColors>;
|
|
69
|
+
/**
|
|
70
|
+
* @see {@link injectFlowbiteSidebarConfig}
|
|
71
|
+
*/
|
|
72
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
73
|
+
host?: {
|
|
74
|
+
base?: string | undefined;
|
|
75
|
+
transition?: string | undefined;
|
|
76
|
+
open?: {
|
|
77
|
+
off?: string | undefined;
|
|
78
|
+
on?: string | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
readonly theme: _angular_core.Signal<{
|
|
83
|
+
host: {
|
|
84
|
+
root: string;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
readonly state: ng_primitives_state.CreatedState<Sidebar>;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
onClick(): void;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
toggle(newState?: boolean): void;
|
|
99
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Sidebar, never>;
|
|
100
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Sidebar, " aside[flowbiteSidebar] ", ["flowbiteSidebar"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare const FlowbiteSidebarStateToken: _angular_core.InjectionToken<Sidebar>;
|
|
104
|
+
declare const provideFlowbiteSidebarState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
105
|
+
declare const injectFlowbiteSidebarState: <U = {
|
|
106
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
|
|
107
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
108
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
|
|
109
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
110
|
+
host?: {
|
|
111
|
+
base?: string | undefined;
|
|
112
|
+
transition?: string | undefined;
|
|
113
|
+
open?: {
|
|
114
|
+
off?: string | undefined;
|
|
115
|
+
on?: string | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
} | undefined;
|
|
118
|
+
}>;
|
|
119
|
+
readonly theme: _angular_core.Signal<{
|
|
120
|
+
host: {
|
|
121
|
+
root: string;
|
|
122
|
+
};
|
|
123
|
+
}>;
|
|
124
|
+
readonly state: ng_primitives_state.CreatedState<Sidebar>;
|
|
125
|
+
onClick: () => void;
|
|
126
|
+
toggle: (newState?: boolean) => void;
|
|
127
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
128
|
+
declare const flowbiteSidebarState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
129
|
+
|
|
130
|
+
interface FlowbiteSidebarContentTheme {
|
|
131
|
+
host: FlowbiteSidebarContentHostTheme;
|
|
132
|
+
container: FlowbiteSidebarContentContainerTheme;
|
|
133
|
+
}
|
|
134
|
+
interface FlowbiteSidebarContentHostTheme {
|
|
135
|
+
base: string;
|
|
136
|
+
transition: string;
|
|
137
|
+
open: FlowbiteBoolean;
|
|
138
|
+
color: FlowbiteSidebarColors;
|
|
139
|
+
}
|
|
140
|
+
interface FlowbiteSidebarContentContainerTheme {
|
|
141
|
+
base: string;
|
|
142
|
+
}
|
|
143
|
+
declare const flowbiteSidebarContentTheme: FlowbiteSidebarContentTheme;
|
|
144
|
+
|
|
145
|
+
interface FlowbiteSidebarContentConfig {
|
|
146
|
+
/**
|
|
147
|
+
* The default theme of sidebar-content
|
|
148
|
+
*/
|
|
149
|
+
baseTheme: FlowbiteSidebarContentTheme;
|
|
150
|
+
/**
|
|
151
|
+
* The custom theme of sidebar-content
|
|
152
|
+
*/
|
|
153
|
+
customTheme: DeepPartial<FlowbiteSidebarContentTheme>;
|
|
154
|
+
}
|
|
155
|
+
declare const defaultFlowbiteSidebarContentConfig: FlowbiteSidebarContentConfig;
|
|
156
|
+
declare const FlowbiteSidebarContentConfigToken: InjectionToken<FlowbiteSidebarContentConfig>;
|
|
157
|
+
/**
|
|
158
|
+
* Provide the default SidebarContent configuration
|
|
159
|
+
* @param config The SidebarContent configuration
|
|
160
|
+
* @returns The provider
|
|
161
|
+
*/
|
|
162
|
+
declare const provideFlowbiteSidebarContentConfig: (config: Partial<FlowbiteSidebarContentConfig>) => Provider[];
|
|
163
|
+
/**
|
|
164
|
+
* Inject the SidebarContent configuration
|
|
165
|
+
* @see {@link defaultFlowbiteSidebarContentConfig}
|
|
166
|
+
* @returns The configuration
|
|
167
|
+
*/
|
|
168
|
+
declare const injectFlowbiteSidebarContentConfig: () => FlowbiteSidebarContentConfig;
|
|
169
|
+
|
|
170
|
+
declare class SidebarContent {
|
|
171
|
+
readonly config: FlowbiteSidebarContentConfig;
|
|
172
|
+
readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
|
|
173
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
|
|
174
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
175
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
|
|
176
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
177
|
+
host?: {
|
|
178
|
+
base?: string | undefined;
|
|
179
|
+
transition?: string | undefined;
|
|
180
|
+
open?: {
|
|
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<flowbite_angular_sidebar.Sidebar>;
|
|
192
|
+
onClick: () => void;
|
|
193
|
+
toggle: (newState?: boolean) => void;
|
|
194
|
+
}>>;
|
|
195
|
+
/**
|
|
196
|
+
* @see {@link injectFlowbiteSidebarContentConfig}
|
|
197
|
+
*/
|
|
198
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
199
|
+
host?: {
|
|
200
|
+
base?: string | undefined;
|
|
201
|
+
transition?: string | undefined;
|
|
202
|
+
open?: {
|
|
203
|
+
off?: string | undefined;
|
|
204
|
+
on?: string | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
color?: {
|
|
207
|
+
[x: string]: {
|
|
208
|
+
light?: string | undefined;
|
|
209
|
+
dark?: string | undefined;
|
|
210
|
+
} | undefined;
|
|
211
|
+
default?: {
|
|
212
|
+
light?: string | undefined;
|
|
213
|
+
dark?: string | undefined;
|
|
214
|
+
} | undefined;
|
|
215
|
+
info?: {
|
|
216
|
+
light?: string | undefined;
|
|
217
|
+
dark?: string | undefined;
|
|
218
|
+
} | undefined;
|
|
219
|
+
failure?: {
|
|
220
|
+
light?: string | undefined;
|
|
221
|
+
dark?: string | undefined;
|
|
222
|
+
} | undefined;
|
|
223
|
+
success?: {
|
|
224
|
+
light?: string | undefined;
|
|
225
|
+
dark?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
warning?: {
|
|
228
|
+
light?: string | undefined;
|
|
229
|
+
dark?: string | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
primary?: {
|
|
232
|
+
light?: string | undefined;
|
|
233
|
+
dark?: string | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
} | undefined;
|
|
237
|
+
container?: {
|
|
238
|
+
base?: string | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
}>;
|
|
241
|
+
readonly theme: _angular_core.Signal<{
|
|
242
|
+
host: {
|
|
243
|
+
root: string;
|
|
244
|
+
};
|
|
245
|
+
container: {
|
|
246
|
+
root: string;
|
|
247
|
+
};
|
|
248
|
+
}>;
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
readonly state: ng_primitives_state.CreatedState<SidebarContent>;
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
*/
|
|
256
|
+
onClick($event: MouseEvent): void;
|
|
257
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarContent, never>;
|
|
258
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarContent, " div[flowbiteSidebarContent] ", ["flowbiteSidebarContent"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare const FlowbiteSidebarContentStateToken: _angular_core.InjectionToken<SidebarContent>;
|
|
262
|
+
declare const provideFlowbiteSidebarContentState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
263
|
+
declare const injectFlowbiteSidebarContentState: <U = {
|
|
264
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarContentConfig;
|
|
265
|
+
readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
|
|
266
|
+
readonly config: /*elided*/ any;
|
|
267
|
+
readonly open: /*elided*/ any;
|
|
268
|
+
readonly color: /*elided*/ any;
|
|
269
|
+
readonly customTheme: /*elided*/ any;
|
|
270
|
+
readonly theme: /*elided*/ any;
|
|
271
|
+
readonly state: /*elided*/ any;
|
|
272
|
+
onClick: /*elided*/ any;
|
|
273
|
+
toggle: /*elided*/ any;
|
|
274
|
+
}>>;
|
|
275
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
276
|
+
host?: {
|
|
277
|
+
base?: string | undefined;
|
|
278
|
+
transition?: string | undefined;
|
|
279
|
+
open?: {
|
|
280
|
+
off?: string | undefined;
|
|
281
|
+
on?: string | undefined;
|
|
282
|
+
} | undefined;
|
|
283
|
+
color?: {
|
|
284
|
+
[x: string]: {
|
|
285
|
+
light?: string | undefined;
|
|
286
|
+
dark?: string | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
default?: {
|
|
289
|
+
light?: string | undefined;
|
|
290
|
+
dark?: string | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
info?: {
|
|
293
|
+
light?: string | undefined;
|
|
294
|
+
dark?: string | undefined;
|
|
295
|
+
} | undefined;
|
|
296
|
+
failure?: {
|
|
297
|
+
light?: string | undefined;
|
|
298
|
+
dark?: string | undefined;
|
|
299
|
+
} | undefined;
|
|
300
|
+
success?: {
|
|
301
|
+
light?: string | undefined;
|
|
302
|
+
dark?: string | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
warning?: {
|
|
305
|
+
light?: string | undefined;
|
|
306
|
+
dark?: string | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
primary?: {
|
|
309
|
+
light?: string | undefined;
|
|
310
|
+
dark?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
} | undefined;
|
|
313
|
+
} | undefined;
|
|
314
|
+
container?: {
|
|
315
|
+
base?: string | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
}>;
|
|
318
|
+
readonly theme: _angular_core.Signal<{
|
|
319
|
+
host: {
|
|
320
|
+
root: string;
|
|
321
|
+
};
|
|
322
|
+
container: {
|
|
323
|
+
root: string;
|
|
324
|
+
};
|
|
325
|
+
}>;
|
|
326
|
+
readonly state: ng_primitives_state.CreatedState<SidebarContent>;
|
|
327
|
+
onClick: ($event: MouseEvent) => void;
|
|
328
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
329
|
+
declare const flowbiteSidebarContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
330
|
+
|
|
331
|
+
interface FlowbiteSidebarToggleTheme {
|
|
332
|
+
host: FlowbiteSidebarToggleHostTheme;
|
|
333
|
+
}
|
|
334
|
+
interface FlowbiteSidebarToggleHostTheme {
|
|
335
|
+
base: string;
|
|
336
|
+
transition: string;
|
|
337
|
+
focus: string;
|
|
338
|
+
disabled: string;
|
|
339
|
+
size: FlowbiteBaseButtonSizes;
|
|
340
|
+
pill: FlowbiteBoolean;
|
|
341
|
+
color: FlowbiteBaseButtonColors;
|
|
342
|
+
colorOutline: FlowbiteBaseButtonColors;
|
|
343
|
+
}
|
|
344
|
+
declare const flowbiteSidebarToggleTheme: FlowbiteSidebarToggleTheme;
|
|
345
|
+
|
|
346
|
+
interface FlowbiteSidebarToggleConfig {
|
|
347
|
+
/**
|
|
348
|
+
* The default theme of sidebar-toggle
|
|
349
|
+
*/
|
|
350
|
+
baseTheme: FlowbiteSidebarToggleTheme;
|
|
351
|
+
/**
|
|
352
|
+
* The custom theme of sidebar-toggle
|
|
353
|
+
*/
|
|
354
|
+
customTheme: DeepPartial<FlowbiteSidebarToggleTheme>;
|
|
355
|
+
}
|
|
356
|
+
declare const defaultFlowbiteSidebarToggleConfig: FlowbiteSidebarToggleConfig;
|
|
357
|
+
declare const FlowbiteSidebarToggleConfigToken: InjectionToken<FlowbiteSidebarToggleConfig>;
|
|
358
|
+
/**
|
|
359
|
+
* Provide the default SidebarToggle configuration
|
|
360
|
+
* @param config The SidebarToggle configuration
|
|
361
|
+
* @returns The provider
|
|
362
|
+
*/
|
|
363
|
+
declare const provideFlowbiteSidebarToggleConfig: (config: Partial<FlowbiteSidebarToggleConfig>) => Provider[];
|
|
364
|
+
/**
|
|
365
|
+
* Inject the SidebarToggle configuration
|
|
366
|
+
* @see {@link defaultFlowbiteSidebarToggleConfig}
|
|
367
|
+
* @returns The configuration
|
|
368
|
+
*/
|
|
369
|
+
declare const injectFlowbiteSidebarToggleConfig: () => FlowbiteSidebarToggleConfig;
|
|
370
|
+
|
|
371
|
+
declare class SidebarToggle {
|
|
372
|
+
protected readonly config: FlowbiteSidebarToggleConfig;
|
|
373
|
+
protected readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
|
|
374
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
|
|
375
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
376
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
|
|
377
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
378
|
+
host?: {
|
|
379
|
+
base?: string | undefined;
|
|
380
|
+
transition?: string | undefined;
|
|
381
|
+
open?: {
|
|
382
|
+
off?: string | undefined;
|
|
383
|
+
on?: string | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
} | undefined;
|
|
386
|
+
}>;
|
|
387
|
+
readonly theme: _angular_core.Signal<{
|
|
388
|
+
host: {
|
|
389
|
+
root: string;
|
|
390
|
+
};
|
|
391
|
+
}>;
|
|
392
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_sidebar.Sidebar>;
|
|
393
|
+
onClick: () => void;
|
|
394
|
+
toggle: (newState?: boolean) => void;
|
|
395
|
+
}>>;
|
|
396
|
+
/**
|
|
397
|
+
* @see {@link injectFlowbiteSidebarToggleConfig}
|
|
398
|
+
*/
|
|
399
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
400
|
+
host?: {
|
|
401
|
+
base?: string | undefined;
|
|
402
|
+
transition?: string | undefined;
|
|
403
|
+
focus?: string | undefined;
|
|
404
|
+
disabled?: string | undefined;
|
|
405
|
+
size?: {
|
|
406
|
+
[x: string]: string | undefined;
|
|
407
|
+
xs?: string | undefined;
|
|
408
|
+
sm?: string | undefined;
|
|
409
|
+
md?: string | undefined;
|
|
410
|
+
lg?: string | undefined;
|
|
411
|
+
xl?: string | undefined;
|
|
412
|
+
} | undefined;
|
|
413
|
+
pill?: {
|
|
414
|
+
off?: string | undefined;
|
|
415
|
+
on?: string | undefined;
|
|
416
|
+
} | undefined;
|
|
417
|
+
color?: {
|
|
418
|
+
[x: string]: {
|
|
419
|
+
light?: string | undefined;
|
|
420
|
+
dark?: string | undefined;
|
|
421
|
+
} | undefined;
|
|
422
|
+
default?: {
|
|
423
|
+
light?: string | undefined;
|
|
424
|
+
dark?: string | undefined;
|
|
425
|
+
} | undefined;
|
|
426
|
+
info?: {
|
|
427
|
+
light?: string | undefined;
|
|
428
|
+
dark?: string | undefined;
|
|
429
|
+
} | undefined;
|
|
430
|
+
failure?: {
|
|
431
|
+
light?: string | undefined;
|
|
432
|
+
dark?: string | undefined;
|
|
433
|
+
} | undefined;
|
|
434
|
+
success?: {
|
|
435
|
+
light?: string | undefined;
|
|
436
|
+
dark?: string | undefined;
|
|
437
|
+
} | undefined;
|
|
438
|
+
warning?: {
|
|
439
|
+
light?: string | undefined;
|
|
440
|
+
dark?: string | undefined;
|
|
441
|
+
} | undefined;
|
|
442
|
+
primary?: {
|
|
443
|
+
light?: string | undefined;
|
|
444
|
+
dark?: string | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
colorOutline?: {
|
|
448
|
+
[x: string]: {
|
|
449
|
+
light?: string | undefined;
|
|
450
|
+
dark?: string | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
default?: {
|
|
453
|
+
light?: string | undefined;
|
|
454
|
+
dark?: string | undefined;
|
|
455
|
+
} | undefined;
|
|
456
|
+
info?: {
|
|
457
|
+
light?: string | undefined;
|
|
458
|
+
dark?: string | undefined;
|
|
459
|
+
} | undefined;
|
|
460
|
+
failure?: {
|
|
461
|
+
light?: string | undefined;
|
|
462
|
+
dark?: string | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
success?: {
|
|
465
|
+
light?: string | undefined;
|
|
466
|
+
dark?: string | undefined;
|
|
467
|
+
} | undefined;
|
|
468
|
+
warning?: {
|
|
469
|
+
light?: string | undefined;
|
|
470
|
+
dark?: string | undefined;
|
|
471
|
+
} | undefined;
|
|
472
|
+
primary?: {
|
|
473
|
+
light?: string | undefined;
|
|
474
|
+
dark?: string | undefined;
|
|
475
|
+
} | undefined;
|
|
476
|
+
} | undefined;
|
|
477
|
+
} | undefined;
|
|
478
|
+
}>;
|
|
479
|
+
readonly theme: _angular_core.Signal<{
|
|
480
|
+
host: {
|
|
481
|
+
root: string;
|
|
482
|
+
};
|
|
483
|
+
}>;
|
|
484
|
+
/**
|
|
485
|
+
* @internal
|
|
486
|
+
*/
|
|
487
|
+
readonly state: ng_primitives_state.CreatedState<SidebarToggle>;
|
|
488
|
+
/**
|
|
489
|
+
* @internal
|
|
490
|
+
*/
|
|
491
|
+
onClick(): void;
|
|
492
|
+
/**
|
|
493
|
+
* @internal
|
|
494
|
+
*/
|
|
495
|
+
toggleSidebar(): void;
|
|
496
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarToggle, never>;
|
|
497
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SidebarToggle, " button[flowbiteSidebarToggle] ", ["flowbiteSidebarToggle"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BaseButton; inputs: {}; outputs: {}; }]>;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
declare const FlowbiteSidebarToggleStateToken: _angular_core.InjectionToken<SidebarToggle>;
|
|
501
|
+
declare const provideFlowbiteSidebarToggleState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
502
|
+
declare const injectFlowbiteSidebarToggleState: <U = {
|
|
503
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarToggleConfig;
|
|
504
|
+
readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
|
|
505
|
+
readonly config: /*elided*/ any;
|
|
506
|
+
readonly open: /*elided*/ any;
|
|
507
|
+
readonly color: /*elided*/ any;
|
|
508
|
+
readonly customTheme: /*elided*/ any;
|
|
509
|
+
readonly theme: /*elided*/ any;
|
|
510
|
+
readonly state: /*elided*/ any;
|
|
511
|
+
onClick: /*elided*/ any;
|
|
512
|
+
toggle: /*elided*/ any;
|
|
513
|
+
}>>;
|
|
514
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
515
|
+
host?: {
|
|
516
|
+
base?: string | undefined;
|
|
517
|
+
transition?: string | undefined;
|
|
518
|
+
focus?: string | undefined;
|
|
519
|
+
disabled?: string | undefined;
|
|
520
|
+
size?: {
|
|
521
|
+
[x: string]: string | undefined;
|
|
522
|
+
xs?: string | undefined;
|
|
523
|
+
sm?: string | undefined;
|
|
524
|
+
md?: string | undefined;
|
|
525
|
+
lg?: string | undefined;
|
|
526
|
+
xl?: string | undefined;
|
|
527
|
+
} | undefined;
|
|
528
|
+
pill?: {
|
|
529
|
+
off?: string | undefined;
|
|
530
|
+
on?: string | undefined;
|
|
531
|
+
} | 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
|
+
colorOutline?: {
|
|
563
|
+
[x: string]: {
|
|
564
|
+
light?: string | undefined;
|
|
565
|
+
dark?: string | undefined;
|
|
566
|
+
} | undefined;
|
|
567
|
+
default?: {
|
|
568
|
+
light?: string | undefined;
|
|
569
|
+
dark?: string | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
info?: {
|
|
572
|
+
light?: string | undefined;
|
|
573
|
+
dark?: string | undefined;
|
|
574
|
+
} | undefined;
|
|
575
|
+
failure?: {
|
|
576
|
+
light?: string | undefined;
|
|
577
|
+
dark?: string | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
success?: {
|
|
580
|
+
light?: string | undefined;
|
|
581
|
+
dark?: string | undefined;
|
|
582
|
+
} | undefined;
|
|
583
|
+
warning?: {
|
|
584
|
+
light?: string | undefined;
|
|
585
|
+
dark?: string | undefined;
|
|
586
|
+
} | undefined;
|
|
587
|
+
primary?: {
|
|
588
|
+
light?: string | undefined;
|
|
589
|
+
dark?: string | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
} | undefined;
|
|
592
|
+
} | undefined;
|
|
593
|
+
}>;
|
|
594
|
+
readonly theme: _angular_core.Signal<{
|
|
595
|
+
host: {
|
|
596
|
+
root: string;
|
|
597
|
+
};
|
|
598
|
+
}>;
|
|
599
|
+
readonly state: ng_primitives_state.CreatedState<SidebarToggle>;
|
|
600
|
+
onClick: () => void;
|
|
601
|
+
toggleSidebar: () => void;
|
|
602
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
603
|
+
declare const flowbiteSidebarToggleState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
604
|
+
|
|
605
|
+
interface FlowbiteSidebarItemTheme {
|
|
606
|
+
host: FlowbiteSidebarItemHostTheme;
|
|
607
|
+
}
|
|
608
|
+
interface FlowbiteSidebarItemHostTheme {
|
|
609
|
+
base: string;
|
|
610
|
+
transition: string;
|
|
611
|
+
focus: string;
|
|
612
|
+
disabled: string;
|
|
613
|
+
size: FlowbiteBaseButtonSizes;
|
|
614
|
+
pill: FlowbiteBoolean;
|
|
615
|
+
color: FlowbiteBaseButtonColors;
|
|
616
|
+
colorOutline: FlowbiteBaseButtonColors;
|
|
617
|
+
}
|
|
618
|
+
declare const flowbiteSidebarItemTheme: FlowbiteSidebarItemTheme;
|
|
619
|
+
|
|
620
|
+
interface FlowbiteSidebarItemConfig {
|
|
621
|
+
/**
|
|
622
|
+
* The default theme of sidebar-item
|
|
623
|
+
*/
|
|
624
|
+
baseTheme: FlowbiteSidebarItemTheme;
|
|
625
|
+
/**
|
|
626
|
+
* The custom theme of sidebar-item
|
|
627
|
+
*/
|
|
628
|
+
customTheme: DeepPartial<FlowbiteSidebarItemTheme>;
|
|
629
|
+
}
|
|
630
|
+
declare const defaultFlowbiteSidebarItemConfig: FlowbiteSidebarItemConfig;
|
|
631
|
+
declare const FlowbiteSidebarItemConfigToken: InjectionToken<FlowbiteSidebarItemConfig>;
|
|
632
|
+
/**
|
|
633
|
+
* Provide the default SidebarItem configuration
|
|
634
|
+
* @param config The SidebarItem configuration
|
|
635
|
+
* @returns The provider
|
|
636
|
+
*/
|
|
637
|
+
declare const provideFlowbiteSidebarItemConfig: (config: Partial<FlowbiteSidebarItemConfig>) => Provider[];
|
|
638
|
+
/**
|
|
639
|
+
* Inject the SidebarItem configuration
|
|
640
|
+
* @see {@link defaultFlowbiteSidebarItemConfig}
|
|
641
|
+
* @returns The configuration
|
|
642
|
+
*/
|
|
643
|
+
declare const injectFlowbiteSidebarItemConfig: () => FlowbiteSidebarItemConfig;
|
|
644
|
+
|
|
645
|
+
declare class SidebarItem {
|
|
646
|
+
readonly config: FlowbiteSidebarItemConfig;
|
|
647
|
+
readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
|
|
648
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
|
|
649
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
|
|
650
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
|
|
651
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
652
|
+
host?: {
|
|
653
|
+
base?: string | undefined;
|
|
654
|
+
transition?: string | undefined;
|
|
655
|
+
open?: {
|
|
656
|
+
off?: string | undefined;
|
|
657
|
+
on?: string | undefined;
|
|
658
|
+
} | undefined;
|
|
659
|
+
} | undefined;
|
|
660
|
+
}>;
|
|
661
|
+
readonly theme: _angular_core.Signal<{
|
|
662
|
+
host: {
|
|
663
|
+
root: string;
|
|
664
|
+
};
|
|
665
|
+
}>;
|
|
666
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_sidebar.Sidebar>;
|
|
667
|
+
onClick: () => void;
|
|
668
|
+
toggle: (newState?: boolean) => void;
|
|
669
|
+
}>>;
|
|
670
|
+
/**
|
|
671
|
+
* @see {@link injectFlowbiteSidebarItemConfig}
|
|
672
|
+
*/
|
|
673
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
674
|
+
host?: {
|
|
675
|
+
base?: string | undefined;
|
|
676
|
+
transition?: string | undefined;
|
|
677
|
+
focus?: string | undefined;
|
|
678
|
+
disabled?: string | undefined;
|
|
679
|
+
size?: {
|
|
680
|
+
[x: string]: string | undefined;
|
|
681
|
+
xs?: string | undefined;
|
|
682
|
+
sm?: string | undefined;
|
|
683
|
+
md?: string | undefined;
|
|
684
|
+
lg?: string | undefined;
|
|
685
|
+
xl?: string | undefined;
|
|
686
|
+
} | undefined;
|
|
687
|
+
pill?: {
|
|
688
|
+
off?: string | undefined;
|
|
689
|
+
on?: string | undefined;
|
|
690
|
+
} | undefined;
|
|
691
|
+
color?: {
|
|
692
|
+
[x: string]: {
|
|
693
|
+
light?: string | undefined;
|
|
694
|
+
dark?: string | undefined;
|
|
695
|
+
} | undefined;
|
|
696
|
+
default?: {
|
|
697
|
+
light?: string | undefined;
|
|
698
|
+
dark?: string | undefined;
|
|
699
|
+
} | undefined;
|
|
700
|
+
info?: {
|
|
701
|
+
light?: string | undefined;
|
|
702
|
+
dark?: string | undefined;
|
|
703
|
+
} | undefined;
|
|
704
|
+
failure?: {
|
|
705
|
+
light?: string | undefined;
|
|
706
|
+
dark?: string | undefined;
|
|
707
|
+
} | undefined;
|
|
708
|
+
success?: {
|
|
709
|
+
light?: string | undefined;
|
|
710
|
+
dark?: string | undefined;
|
|
711
|
+
} | undefined;
|
|
712
|
+
warning?: {
|
|
713
|
+
light?: string | undefined;
|
|
714
|
+
dark?: string | undefined;
|
|
715
|
+
} | undefined;
|
|
716
|
+
primary?: {
|
|
717
|
+
light?: string | undefined;
|
|
718
|
+
dark?: string | undefined;
|
|
719
|
+
} | undefined;
|
|
720
|
+
} | undefined;
|
|
721
|
+
colorOutline?: {
|
|
722
|
+
[x: string]: {
|
|
723
|
+
light?: string | undefined;
|
|
724
|
+
dark?: string | undefined;
|
|
725
|
+
} | undefined;
|
|
726
|
+
default?: {
|
|
727
|
+
light?: string | undefined;
|
|
728
|
+
dark?: string | undefined;
|
|
729
|
+
} | undefined;
|
|
730
|
+
info?: {
|
|
731
|
+
light?: string | undefined;
|
|
732
|
+
dark?: string | undefined;
|
|
733
|
+
} | undefined;
|
|
734
|
+
failure?: {
|
|
735
|
+
light?: string | undefined;
|
|
736
|
+
dark?: string | undefined;
|
|
737
|
+
} | undefined;
|
|
738
|
+
success?: {
|
|
739
|
+
light?: string | undefined;
|
|
740
|
+
dark?: string | undefined;
|
|
741
|
+
} | undefined;
|
|
742
|
+
warning?: {
|
|
743
|
+
light?: string | undefined;
|
|
744
|
+
dark?: string | undefined;
|
|
745
|
+
} | undefined;
|
|
746
|
+
primary?: {
|
|
747
|
+
light?: string | undefined;
|
|
748
|
+
dark?: string | undefined;
|
|
749
|
+
} | undefined;
|
|
750
|
+
} | undefined;
|
|
751
|
+
} | undefined;
|
|
752
|
+
}>;
|
|
753
|
+
readonly theme: _angular_core.Signal<{
|
|
754
|
+
host: {
|
|
755
|
+
root: string;
|
|
756
|
+
};
|
|
757
|
+
}>;
|
|
758
|
+
/**
|
|
759
|
+
* @internal
|
|
760
|
+
*/
|
|
761
|
+
readonly state: ng_primitives_state.CreatedState<SidebarItem>;
|
|
762
|
+
/**
|
|
763
|
+
* @internal
|
|
764
|
+
*/
|
|
765
|
+
onClick(): void;
|
|
766
|
+
/**
|
|
767
|
+
* @internal
|
|
768
|
+
*/
|
|
769
|
+
toggleSidebar(): void;
|
|
770
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarItem, never>;
|
|
771
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SidebarItem, " a[flowbiteSidebarItem], button[flowbiteSidebarItem] ", ["flowbiteSidebarItem"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BaseButton; inputs: {}; outputs: {}; }, { directive: typeof i2.NgpButton; inputs: { "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i3.NgpFocus; inputs: { "ngpFocusDisabled": "focusDisabled"; }; outputs: { "ngpFocus": "ngpFocus"; }; }]>;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
declare const FlowbiteSidebarItemStateToken: _angular_core.InjectionToken<SidebarItem>;
|
|
775
|
+
declare const provideFlowbiteSidebarItemState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
776
|
+
declare const injectFlowbiteSidebarItemState: <U = {
|
|
777
|
+
readonly config: flowbite_angular_sidebar.FlowbiteSidebarItemConfig;
|
|
778
|
+
readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
|
|
779
|
+
readonly config: /*elided*/ any;
|
|
780
|
+
readonly open: /*elided*/ any;
|
|
781
|
+
readonly color: /*elided*/ any;
|
|
782
|
+
readonly customTheme: /*elided*/ any;
|
|
783
|
+
readonly theme: /*elided*/ any;
|
|
784
|
+
readonly state: /*elided*/ any;
|
|
785
|
+
onClick: /*elided*/ any;
|
|
786
|
+
toggle: /*elided*/ any;
|
|
787
|
+
}>>;
|
|
788
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
789
|
+
host?: {
|
|
790
|
+
base?: string | undefined;
|
|
791
|
+
transition?: string | undefined;
|
|
792
|
+
focus?: string | undefined;
|
|
793
|
+
disabled?: string | undefined;
|
|
794
|
+
size?: {
|
|
795
|
+
[x: string]: string | undefined;
|
|
796
|
+
xs?: string | undefined;
|
|
797
|
+
sm?: string | undefined;
|
|
798
|
+
md?: string | undefined;
|
|
799
|
+
lg?: string | undefined;
|
|
800
|
+
xl?: string | undefined;
|
|
801
|
+
} | undefined;
|
|
802
|
+
pill?: {
|
|
803
|
+
off?: string | undefined;
|
|
804
|
+
on?: string | undefined;
|
|
805
|
+
} | undefined;
|
|
806
|
+
color?: {
|
|
807
|
+
[x: string]: {
|
|
808
|
+
light?: string | undefined;
|
|
809
|
+
dark?: string | undefined;
|
|
810
|
+
} | undefined;
|
|
811
|
+
default?: {
|
|
812
|
+
light?: string | undefined;
|
|
813
|
+
dark?: string | undefined;
|
|
814
|
+
} | undefined;
|
|
815
|
+
info?: {
|
|
816
|
+
light?: string | undefined;
|
|
817
|
+
dark?: string | undefined;
|
|
818
|
+
} | undefined;
|
|
819
|
+
failure?: {
|
|
820
|
+
light?: string | undefined;
|
|
821
|
+
dark?: string | undefined;
|
|
822
|
+
} | undefined;
|
|
823
|
+
success?: {
|
|
824
|
+
light?: string | undefined;
|
|
825
|
+
dark?: string | undefined;
|
|
826
|
+
} | undefined;
|
|
827
|
+
warning?: {
|
|
828
|
+
light?: string | undefined;
|
|
829
|
+
dark?: string | undefined;
|
|
830
|
+
} | undefined;
|
|
831
|
+
primary?: {
|
|
832
|
+
light?: string | undefined;
|
|
833
|
+
dark?: string | undefined;
|
|
834
|
+
} | undefined;
|
|
835
|
+
} | undefined;
|
|
836
|
+
colorOutline?: {
|
|
837
|
+
[x: string]: {
|
|
838
|
+
light?: string | undefined;
|
|
839
|
+
dark?: string | undefined;
|
|
840
|
+
} | undefined;
|
|
841
|
+
default?: {
|
|
842
|
+
light?: string | undefined;
|
|
843
|
+
dark?: string | undefined;
|
|
844
|
+
} | undefined;
|
|
845
|
+
info?: {
|
|
846
|
+
light?: string | undefined;
|
|
847
|
+
dark?: string | undefined;
|
|
848
|
+
} | undefined;
|
|
849
|
+
failure?: {
|
|
850
|
+
light?: string | undefined;
|
|
851
|
+
dark?: string | undefined;
|
|
852
|
+
} | undefined;
|
|
853
|
+
success?: {
|
|
854
|
+
light?: string | undefined;
|
|
855
|
+
dark?: string | undefined;
|
|
856
|
+
} | undefined;
|
|
857
|
+
warning?: {
|
|
858
|
+
light?: string | undefined;
|
|
859
|
+
dark?: string | undefined;
|
|
860
|
+
} | undefined;
|
|
861
|
+
primary?: {
|
|
862
|
+
light?: string | undefined;
|
|
863
|
+
dark?: string | undefined;
|
|
864
|
+
} | undefined;
|
|
865
|
+
} | undefined;
|
|
866
|
+
} | undefined;
|
|
867
|
+
}>;
|
|
868
|
+
readonly theme: _angular_core.Signal<{
|
|
869
|
+
host: {
|
|
870
|
+
root: string;
|
|
871
|
+
};
|
|
872
|
+
}>;
|
|
873
|
+
readonly state: ng_primitives_state.CreatedState<SidebarItem>;
|
|
874
|
+
onClick: () => void;
|
|
875
|
+
toggleSidebar: () => void;
|
|
876
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
877
|
+
declare const flowbiteSidebarItemState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
878
|
+
|
|
879
|
+
export { FlowbiteSidebarConfigToken, FlowbiteSidebarContentConfigToken, FlowbiteSidebarContentStateToken, FlowbiteSidebarItemConfigToken, FlowbiteSidebarItemStateToken, FlowbiteSidebarStateToken, FlowbiteSidebarToggleConfigToken, FlowbiteSidebarToggleStateToken, Sidebar, SidebarContent, SidebarItem, SidebarToggle, defaultFlowbiteSidebarConfig, defaultFlowbiteSidebarContentConfig, defaultFlowbiteSidebarItemConfig, defaultFlowbiteSidebarToggleConfig, flowbiteSidebarContentState, flowbiteSidebarContentTheme, flowbiteSidebarItemState, flowbiteSidebarItemTheme, flowbiteSidebarState, flowbiteSidebarTheme, flowbiteSidebarToggleState, flowbiteSidebarToggleTheme, injectFlowbiteSidebarConfig, injectFlowbiteSidebarContentConfig, injectFlowbiteSidebarContentState, injectFlowbiteSidebarItemConfig, injectFlowbiteSidebarItemState, injectFlowbiteSidebarState, injectFlowbiteSidebarToggleConfig, injectFlowbiteSidebarToggleState, provideFlowbiteSidebarConfig, provideFlowbiteSidebarContentConfig, provideFlowbiteSidebarContentState, provideFlowbiteSidebarItemConfig, provideFlowbiteSidebarItemState, provideFlowbiteSidebarState, provideFlowbiteSidebarToggleConfig, provideFlowbiteSidebarToggleState };
|
|
880
|
+
export type { FlowbiteSidebarColors, FlowbiteSidebarConfig, FlowbiteSidebarContentConfig, FlowbiteSidebarContentContainerTheme, FlowbiteSidebarContentHostTheme, FlowbiteSidebarContentTheme, FlowbiteSidebarHostTheme, FlowbiteSidebarItemConfig, FlowbiteSidebarItemHostTheme, FlowbiteSidebarItemTheme, FlowbiteSidebarTheme, FlowbiteSidebarToggleConfig, FlowbiteSidebarToggleHostTheme, FlowbiteSidebarToggleTheme };
|