flowbite-angular 20.1.3 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +375 -375
- package/button-group/README.md +4 -4
- package/card/README.md +4 -4
- package/clipboard/README.md +4 -4
- package/fesm2022/flowbite-angular-accordion.mjs +34 -34
- package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
- package/fesm2022/flowbite-angular-alert.mjs +28 -28
- package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
- package/fesm2022/flowbite-angular-badge.mjs +30 -30
- package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
- package/fesm2022/flowbite-angular-breadcrumb.mjs +26 -26
- package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/flowbite-angular-button-group.mjs +8 -8
- package/fesm2022/flowbite-angular-button-group.mjs.map +1 -1
- package/fesm2022/flowbite-angular-button.mjs +17 -17
- package/fesm2022/flowbite-angular-button.mjs.map +1 -1
- package/fesm2022/flowbite-angular-card.mjs +27 -27
- package/fesm2022/flowbite-angular-card.mjs.map +1 -1
- package/fesm2022/flowbite-angular-clipboard.mjs +65 -65
- package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -1
- package/fesm2022/flowbite-angular-dropdown.mjs +25 -25
- package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
- package/fesm2022/flowbite-angular-form.mjs +37 -37
- package/fesm2022/flowbite-angular-form.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -1
- package/fesm2022/flowbite-angular-icon.mjs +9 -9
- package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
- package/fesm2022/flowbite-angular-indicator.mjs +12 -12
- package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
- package/fesm2022/flowbite-angular-modal.mjs +48 -48
- package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
- package/fesm2022/flowbite-angular-navbar.mjs +68 -68
- package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-pagination.mjs +166 -176
- package/fesm2022/flowbite-angular-pagination.mjs.map +1 -1
- package/fesm2022/flowbite-angular-sidebar.mjs +42 -42
- package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
- package/fesm2022/flowbite-angular-tab.mjs +34 -34
- package/fesm2022/flowbite-angular-tab.mjs.map +1 -1
- package/fesm2022/flowbite-angular-table.mjs +65 -65
- package/fesm2022/flowbite-angular-table.mjs.map +1 -1
- package/fesm2022/flowbite-angular-theme-toggle.mjs +30 -30
- package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -1
- package/fesm2022/flowbite-angular-tooltip.mjs +9 -9
- package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -1
- package/fesm2022/flowbite-angular.mjs.map +1 -1
- package/form/README.md +4 -4
- package/icon/README.md +4 -4
- package/icon/brand/README.md +4 -4
- package/icon/outline/README.md +4 -4
- package/icon/solid/README.md +4 -4
- package/indicator/README.md +4 -4
- package/modal/README.md +4 -4
- package/navbar/README.md +4 -4
- package/package.json +82 -82
- package/pagination/README.md +4 -4
- package/sidebar/README.md +4 -4
- package/styles/flowbite-angular.css +1 -1
- package/tab/README.md +4 -4
- package/table/README.md +4 -4
- package/theme-toggle/README.md +4 -4
- package/tooltip/README.md +4 -4
- package/{accordion/index.d.ts → types/flowbite-angular-accordion.d.ts} +116 -116
- package/{alert/index.d.ts → types/flowbite-angular-alert.d.ts} +89 -89
- package/{badge/index.d.ts → types/flowbite-angular-badge.d.ts} +98 -98
- package/{breadcrumb/index.d.ts → types/flowbite-angular-breadcrumb.d.ts} +97 -97
- package/{button-group/index.d.ts → types/flowbite-angular-button-group.d.ts} +36 -36
- package/{button/index.d.ts → types/flowbite-angular-button.d.ts} +76 -76
- package/{card/index.d.ts → types/flowbite-angular-card.d.ts} +97 -97
- package/{clipboard/index.d.ts → types/flowbite-angular-clipboard.d.ts} +37 -37
- package/{dropdown/index.d.ts → types/flowbite-angular-dropdown.d.ts} +78 -78
- package/{form/index.d.ts → types/flowbite-angular-form.d.ts} +113 -113
- package/{icon/index.d.ts → types/flowbite-angular-icon.d.ts} +46 -46
- package/{indicator/index.d.ts → types/flowbite-angular-indicator.d.ts} +65 -65
- package/{modal/index.d.ts → types/flowbite-angular-modal.d.ts} +119 -119
- package/{navbar/index.d.ts → types/flowbite-angular-navbar.d.ts} +161 -161
- package/{pagination/index.d.ts → types/flowbite-angular-pagination.d.ts} +219 -219
- package/{sidebar/index.d.ts → types/flowbite-angular-sidebar.d.ts} +107 -107
- package/{tab/index.d.ts → types/flowbite-angular-tab.d.ts} +107 -107
- package/{table/index.d.ts → types/flowbite-angular-table.d.ts} +102 -102
- package/{theme-toggle/index.d.ts → types/flowbite-angular-theme-toggle.d.ts} +82 -82
- package/{tooltip/index.d.ts → types/flowbite-angular-tooltip.d.ts} +31 -31
- /package/{icon/brand/index.d.ts → types/flowbite-angular-icon-brand.d.ts} +0 -0
- /package/{icon/outline/arrows/index.d.ts → types/flowbite-angular-icon-outline-arrows.d.ts} +0 -0
- /package/{icon/outline/e-commerce/index.d.ts → types/flowbite-angular-icon-outline-e-commerce.d.ts} +0 -0
- /package/{icon/outline/emoji/index.d.ts → types/flowbite-angular-icon-outline-emoji.d.ts} +0 -0
- /package/{icon/outline/files-folders/index.d.ts → types/flowbite-angular-icon-outline-files-folders.d.ts} +0 -0
- /package/{icon/outline/general/index.d.ts → types/flowbite-angular-icon-outline-general.d.ts} +0 -0
- /package/{icon/outline/media/index.d.ts → types/flowbite-angular-icon-outline-media.d.ts} +0 -0
- /package/{icon/outline/text/index.d.ts → types/flowbite-angular-icon-outline-text.d.ts} +0 -0
- /package/{icon/outline/user/index.d.ts → types/flowbite-angular-icon-outline-user.d.ts} +0 -0
- /package/{icon/outline/weather/index.d.ts → types/flowbite-angular-icon-outline-weather.d.ts} +0 -0
- /package/{icon/outline/index.d.ts → types/flowbite-angular-icon-outline.d.ts} +0 -0
- /package/{icon/solid/arrows/index.d.ts → types/flowbite-angular-icon-solid-arrows.d.ts} +0 -0
- /package/{icon/solid/brands/index.d.ts → types/flowbite-angular-icon-solid-brands.d.ts} +0 -0
- /package/{icon/solid/e-commerce/index.d.ts → types/flowbite-angular-icon-solid-e-commerce.d.ts} +0 -0
- /package/{icon/solid/emoji/index.d.ts → types/flowbite-angular-icon-solid-emoji.d.ts} +0 -0
- /package/{icon/solid/files-folder/index.d.ts → types/flowbite-angular-icon-solid-files-folder.d.ts} +0 -0
- /package/{icon/solid/general/index.d.ts → types/flowbite-angular-icon-solid-general.d.ts} +0 -0
- /package/{icon/solid/media/index.d.ts → types/flowbite-angular-icon-solid-media.d.ts} +0 -0
- /package/{icon/solid/text/index.d.ts → types/flowbite-angular-icon-solid-text.d.ts} +0 -0
- /package/{icon/solid/user/index.d.ts → types/flowbite-angular-icon-solid-user.d.ts} +0 -0
- /package/{icon/solid/weather/index.d.ts → types/flowbite-angular-icon-solid-weather.d.ts} +0 -0
- /package/{icon/solid/index.d.ts → types/flowbite-angular-icon-solid.d.ts} +0 -0
- /package/{index.d.ts → types/flowbite-angular.d.ts} +0 -0
|
@@ -2,51 +2,12 @@ import * as ng_primitives_state from 'ng-primitives/state';
|
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { InjectionToken, Provider } from '@angular/core';
|
|
4
4
|
import * as flowbite_angular_dropdown from 'flowbite-angular/dropdown';
|
|
5
|
-
import { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
|
|
6
5
|
import * as i1 from 'ng-primitives/menu';
|
|
6
|
+
import { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
|
|
7
7
|
import * as i2 from 'ng-primitives/interactions';
|
|
8
8
|
|
|
9
|
-
interface FLowbiteDropdownColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
10
|
-
[key: string]: ColorToTheme;
|
|
11
|
-
}
|
|
12
|
-
interface FlowbiteDropdownTheme {
|
|
13
|
-
host: FlowbiteDropdownHostTheme;
|
|
14
|
-
}
|
|
15
|
-
interface FlowbiteDropdownHostTheme {
|
|
16
|
-
base: string;
|
|
17
|
-
transition: string;
|
|
18
|
-
color: FLowbiteDropdownColors;
|
|
19
|
-
}
|
|
20
|
-
declare const flowbiteDropdownTheme: FlowbiteDropdownTheme;
|
|
21
|
-
|
|
22
|
-
interface FlowbiteDropdownConfig {
|
|
23
|
-
baseTheme: FlowbiteDropdownTheme;
|
|
24
|
-
/**
|
|
25
|
-
* The custom color of dropdown
|
|
26
|
-
*/
|
|
27
|
-
color: keyof FLowbiteDropdownColors;
|
|
28
|
-
/**
|
|
29
|
-
* The custom theme of dropdown
|
|
30
|
-
*/
|
|
31
|
-
customTheme: DeepPartial<FlowbiteDropdownTheme>;
|
|
32
|
-
}
|
|
33
|
-
declare const defaultFlowbiteDropdownConfig: FlowbiteDropdownConfig;
|
|
34
|
-
declare const FlowbiteDropdownConfigToken: InjectionToken<FlowbiteDropdownConfig>;
|
|
35
|
-
/**
|
|
36
|
-
* Provide the default Dropdown configuration
|
|
37
|
-
* @param config The Dropdown configuration
|
|
38
|
-
* @returns The provider
|
|
39
|
-
*/
|
|
40
|
-
declare const provideFlowbiteDropdownConfig: (config: Partial<FlowbiteDropdownConfig>) => Provider[];
|
|
41
|
-
/**
|
|
42
|
-
* Inject the Dropdown configuration
|
|
43
|
-
* @see {@link defaultFlowbiteDropdownConfig}
|
|
44
|
-
* @returns The configuration
|
|
45
|
-
*/
|
|
46
|
-
declare const injectFlowbiteDropdownConfig: () => FlowbiteDropdownConfig;
|
|
47
|
-
|
|
48
9
|
declare class Dropdown {
|
|
49
|
-
readonly config: FlowbiteDropdownConfig;
|
|
10
|
+
readonly config: flowbite_angular_dropdown.FlowbiteDropdownConfig;
|
|
50
11
|
/**
|
|
51
12
|
* @see {@link injectFlowbiteDropdownConfig}
|
|
52
13
|
*/
|
|
@@ -153,40 +114,47 @@ declare const injectFlowbiteDropdownState: <U = {
|
|
|
153
114
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
154
115
|
declare const flowbiteDropdownState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
155
116
|
|
|
156
|
-
interface
|
|
157
|
-
|
|
117
|
+
interface FLowbiteDropdownColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
118
|
+
[key: string]: ColorToTheme;
|
|
158
119
|
}
|
|
159
|
-
interface
|
|
120
|
+
interface FlowbiteDropdownTheme {
|
|
121
|
+
host: FlowbiteDropdownHostTheme;
|
|
122
|
+
}
|
|
123
|
+
interface FlowbiteDropdownHostTheme {
|
|
160
124
|
base: string;
|
|
161
125
|
transition: string;
|
|
162
126
|
color: FLowbiteDropdownColors;
|
|
163
127
|
}
|
|
164
|
-
declare const
|
|
128
|
+
declare const flowbiteDropdownTheme: FlowbiteDropdownTheme;
|
|
165
129
|
|
|
166
|
-
interface
|
|
167
|
-
baseTheme:
|
|
130
|
+
interface FlowbiteDropdownConfig {
|
|
131
|
+
baseTheme: FlowbiteDropdownTheme;
|
|
168
132
|
/**
|
|
169
|
-
* The custom
|
|
133
|
+
* The custom color of dropdown
|
|
170
134
|
*/
|
|
171
|
-
|
|
135
|
+
color: keyof FLowbiteDropdownColors;
|
|
136
|
+
/**
|
|
137
|
+
* The custom theme of dropdown
|
|
138
|
+
*/
|
|
139
|
+
customTheme: DeepPartial<FlowbiteDropdownTheme>;
|
|
172
140
|
}
|
|
173
|
-
declare const
|
|
174
|
-
declare const
|
|
141
|
+
declare const defaultFlowbiteDropdownConfig: FlowbiteDropdownConfig;
|
|
142
|
+
declare const FlowbiteDropdownConfigToken: InjectionToken<FlowbiteDropdownConfig>;
|
|
175
143
|
/**
|
|
176
|
-
* Provide the default Dropdown
|
|
177
|
-
* @param config The Dropdown
|
|
144
|
+
* Provide the default Dropdown configuration
|
|
145
|
+
* @param config The Dropdown configuration
|
|
178
146
|
* @returns The provider
|
|
179
147
|
*/
|
|
180
|
-
declare const
|
|
148
|
+
declare const provideFlowbiteDropdownConfig: (config: Partial<FlowbiteDropdownConfig>) => Provider[];
|
|
181
149
|
/**
|
|
182
|
-
* Inject the Dropdown
|
|
183
|
-
* @see {@link
|
|
150
|
+
* Inject the Dropdown configuration
|
|
151
|
+
* @see {@link defaultFlowbiteDropdownConfig}
|
|
184
152
|
* @returns The configuration
|
|
185
153
|
*/
|
|
186
|
-
declare const
|
|
154
|
+
declare const injectFlowbiteDropdownConfig: () => FlowbiteDropdownConfig;
|
|
187
155
|
|
|
188
156
|
declare class DropdownItem {
|
|
189
|
-
readonly config: FlowbiteDropdownItemConfig;
|
|
157
|
+
readonly config: flowbite_angular_dropdown.FlowbiteDropdownItemConfig;
|
|
190
158
|
readonly dropdownState: _angular_core.Signal<ng_primitives_state.State<{
|
|
191
159
|
readonly config: flowbite_angular_dropdown.FlowbiteDropdownConfig;
|
|
192
160
|
readonly color: _angular_core.InputSignal<keyof flowbite_angular_dropdown.FLowbiteDropdownColors>;
|
|
@@ -341,43 +309,40 @@ declare const injectFlowbiteDropdownItemState: <U = {
|
|
|
341
309
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
342
310
|
declare const flowbiteDropdownItemState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
343
311
|
|
|
344
|
-
interface
|
|
345
|
-
host:
|
|
312
|
+
interface FlowbiteDropdownItemTheme {
|
|
313
|
+
host: FlowbiteDropdownItemHostTheme;
|
|
346
314
|
}
|
|
347
|
-
interface
|
|
315
|
+
interface FlowbiteDropdownItemHostTheme {
|
|
348
316
|
base: string;
|
|
349
317
|
transition: string;
|
|
350
318
|
color: FLowbiteDropdownColors;
|
|
351
319
|
}
|
|
352
|
-
declare const
|
|
320
|
+
declare const flowbiteDropdownItemTheme: FlowbiteDropdownItemTheme;
|
|
353
321
|
|
|
354
|
-
interface
|
|
355
|
-
|
|
356
|
-
* The default theme of DropdownContent
|
|
357
|
-
*/
|
|
358
|
-
baseTheme: FlowbiteDropdownContentTheme;
|
|
322
|
+
interface FlowbiteDropdownItemConfig {
|
|
323
|
+
baseTheme: FlowbiteDropdownItemTheme;
|
|
359
324
|
/**
|
|
360
|
-
* The custom theme of
|
|
325
|
+
* The custom theme of dropdown item
|
|
361
326
|
*/
|
|
362
|
-
customTheme: DeepPartial<
|
|
327
|
+
customTheme: DeepPartial<FlowbiteDropdownItemTheme>;
|
|
363
328
|
}
|
|
364
|
-
declare const
|
|
365
|
-
declare const
|
|
329
|
+
declare const defaultFlowbiteDropdownItemConfig: FlowbiteDropdownItemConfig;
|
|
330
|
+
declare const FlowbiteDropdownItemConfigToken: InjectionToken<FlowbiteDropdownItemConfig>;
|
|
366
331
|
/**
|
|
367
|
-
* Provide the default
|
|
368
|
-
* @param config The
|
|
332
|
+
* Provide the default Dropdown Item configuration
|
|
333
|
+
* @param config The Dropdown Item configuration
|
|
369
334
|
* @returns The provider
|
|
370
335
|
*/
|
|
371
|
-
declare const
|
|
336
|
+
declare const provideFlowbiteDropdownItemConfig: (config: Partial<FlowbiteDropdownItemConfig>) => Provider[];
|
|
372
337
|
/**
|
|
373
|
-
* Inject the
|
|
374
|
-
* @see {@link
|
|
338
|
+
* Inject the Dropdown Item configuration
|
|
339
|
+
* @see {@link defaultFlowbiteDropdownItemConfig}
|
|
375
340
|
* @returns The configuration
|
|
376
341
|
*/
|
|
377
|
-
declare const
|
|
342
|
+
declare const injectFlowbiteDropdownItemConfig: () => FlowbiteDropdownItemConfig;
|
|
378
343
|
|
|
379
344
|
declare class DropdownContent {
|
|
380
|
-
readonly config: FlowbiteDropdownContentConfig;
|
|
345
|
+
readonly config: flowbite_angular_dropdown.FlowbiteDropdownContentConfig;
|
|
381
346
|
readonly dropdownState: _angular_core.Signal<ng_primitives_state.State<{
|
|
382
347
|
readonly config: flowbite_angular_dropdown.FlowbiteDropdownConfig;
|
|
383
348
|
readonly color: _angular_core.InputSignal<keyof flowbite_angular_dropdown.FLowbiteDropdownColors>;
|
|
@@ -532,5 +497,40 @@ declare const injectFlowbiteDropdownContentState: <U = {
|
|
|
532
497
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
533
498
|
declare const flowbiteDropdownContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
534
499
|
|
|
500
|
+
interface FlowbiteDropdownContentTheme {
|
|
501
|
+
host: FlowbiteDropdownContentHostTheme;
|
|
502
|
+
}
|
|
503
|
+
interface FlowbiteDropdownContentHostTheme {
|
|
504
|
+
base: string;
|
|
505
|
+
transition: string;
|
|
506
|
+
color: FLowbiteDropdownColors;
|
|
507
|
+
}
|
|
508
|
+
declare const flowbiteDropdownContentTheme: FlowbiteDropdownContentTheme;
|
|
509
|
+
|
|
510
|
+
interface FlowbiteDropdownContentConfig {
|
|
511
|
+
/**
|
|
512
|
+
* The default theme of DropdownContent
|
|
513
|
+
*/
|
|
514
|
+
baseTheme: FlowbiteDropdownContentTheme;
|
|
515
|
+
/**
|
|
516
|
+
* The custom theme of DropdownContent
|
|
517
|
+
*/
|
|
518
|
+
customTheme: DeepPartial<FlowbiteDropdownContentTheme>;
|
|
519
|
+
}
|
|
520
|
+
declare const defaultFlowbiteDropdownContentConfig: FlowbiteDropdownContentConfig;
|
|
521
|
+
declare const FlowbiteDropdownContentConfigToken: InjectionToken<FlowbiteDropdownContentConfig>;
|
|
522
|
+
/**
|
|
523
|
+
* Provide the default DropdownContent configuration
|
|
524
|
+
* @param config The DropdownContent configuration
|
|
525
|
+
* @returns The provider
|
|
526
|
+
*/
|
|
527
|
+
declare const provideFlowbiteDropdownContentConfig: (config: Partial<FlowbiteDropdownContentConfig>) => Provider[];
|
|
528
|
+
/**
|
|
529
|
+
* Inject the DropdownContent configuration
|
|
530
|
+
* @see {@link defaultFlowbiteDropdownContentConfig}
|
|
531
|
+
* @returns The configuration
|
|
532
|
+
*/
|
|
533
|
+
declare const injectFlowbiteDropdownContentConfig: () => FlowbiteDropdownContentConfig;
|
|
534
|
+
|
|
535
535
|
export { Dropdown, DropdownContent, DropdownItem, FlowbiteDropdownConfigToken, FlowbiteDropdownContentConfigToken, FlowbiteDropdownContentStateToken, FlowbiteDropdownItemConfigToken, FlowbiteDropdownItemStateToken, FlowbiteDropdownStateToken, defaultFlowbiteDropdownConfig, defaultFlowbiteDropdownContentConfig, defaultFlowbiteDropdownItemConfig, flowbiteDropdownContentState, flowbiteDropdownContentTheme, flowbiteDropdownItemState, flowbiteDropdownItemTheme, flowbiteDropdownState, flowbiteDropdownTheme, injectFlowbiteDropdownConfig, injectFlowbiteDropdownContentConfig, injectFlowbiteDropdownContentState, injectFlowbiteDropdownItemConfig, injectFlowbiteDropdownItemState, injectFlowbiteDropdownState, provideFlowbiteDropdownConfig, provideFlowbiteDropdownContentConfig, provideFlowbiteDropdownContentState, provideFlowbiteDropdownItemConfig, provideFlowbiteDropdownItemState, provideFlowbiteDropdownState };
|
|
536
536
|
export type { FLowbiteDropdownColors, FlowbiteDropdownConfig, FlowbiteDropdownContentConfig, FlowbiteDropdownContentHostTheme, FlowbiteDropdownContentTheme, FlowbiteDropdownHostTheme, FlowbiteDropdownItemConfig, FlowbiteDropdownItemHostTheme, FlowbiteDropdownItemTheme, FlowbiteDropdownTheme };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as ng_primitives_state from 'ng-primitives/state';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { InjectionToken, Provider } from '@angular/core';
|
|
4
|
-
import { FlowbiteColors, ColorToTheme, FlowbiteSizes, DeepPartial } from 'flowbite-angular';
|
|
5
4
|
import * as flowbite_angular_form from 'flowbite-angular/form';
|
|
5
|
+
import { FlowbiteColors, ColorToTheme, FlowbiteSizes, DeepPartial } from 'flowbite-angular';
|
|
6
6
|
import * as i1 from 'ng-primitives/form-field';
|
|
7
7
|
import * as i1$1 from 'ng-primitives/input';
|
|
8
8
|
|
|
@@ -27,49 +27,13 @@ interface FlowbiteFormFieldHostTheme {
|
|
|
27
27
|
}
|
|
28
28
|
declare const flowbiteFormFieldTheme: FlowbiteFormFieldTheme;
|
|
29
29
|
|
|
30
|
-
interface FlowbiteLabelTheme {
|
|
31
|
-
host: FlowbiteLabelHostTheme;
|
|
32
|
-
}
|
|
33
|
-
interface FlowbiteLabelHostTheme {
|
|
34
|
-
base: string;
|
|
35
|
-
transition: string;
|
|
36
|
-
color: FlowbiteFormFieldColors;
|
|
37
|
-
mode: FlowbiteFormFieldModes;
|
|
38
|
-
}
|
|
39
|
-
declare const flowbiteLabelTheme: FlowbiteLabelTheme;
|
|
40
|
-
|
|
41
|
-
interface FlowbiteLabelConfig {
|
|
42
|
-
/**
|
|
43
|
-
* The default theme of Label
|
|
44
|
-
*/
|
|
45
|
-
baseTheme: FlowbiteLabelTheme;
|
|
46
|
-
/**
|
|
47
|
-
* The custom theme of Label
|
|
48
|
-
*/
|
|
49
|
-
customTheme: DeepPartial<FlowbiteLabelTheme>;
|
|
50
|
-
}
|
|
51
|
-
declare const defaultFlowbiteLabelConfig: FlowbiteLabelConfig;
|
|
52
|
-
declare const FlowbiteLabelConfigToken: InjectionToken<FlowbiteLabelConfig>;
|
|
53
|
-
/**
|
|
54
|
-
* Provide the default Label configuration
|
|
55
|
-
* @param config The Label configuration
|
|
56
|
-
* @returns The provider
|
|
57
|
-
*/
|
|
58
|
-
declare const provideFlowbiteLabelConfig: (config: Partial<FlowbiteLabelConfig>) => Provider[];
|
|
59
|
-
/**
|
|
60
|
-
* Inject the Label configuration
|
|
61
|
-
* @see {@link defaultFlowbiteLabelConfig}
|
|
62
|
-
* @returns The configuration
|
|
63
|
-
*/
|
|
64
|
-
declare const injectFlowbiteLabelConfig: () => FlowbiteLabelConfig;
|
|
65
|
-
|
|
66
30
|
declare class Label {
|
|
67
|
-
readonly config: FlowbiteLabelConfig;
|
|
31
|
+
readonly config: flowbite_angular_form.FlowbiteLabelConfig;
|
|
68
32
|
readonly formFieldState: _angular_core.Signal<ng_primitives_state.State<{
|
|
69
33
|
readonly config: flowbite_angular_form.FlowbiteFormFieldConfig;
|
|
70
|
-
readonly size: _angular_core.InputSignal<keyof FlowbiteFormFieldSizes>;
|
|
34
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_form.FlowbiteFormFieldSizes>;
|
|
71
35
|
readonly color: _angular_core.InputSignal<keyof FlowbiteFormFieldColors>;
|
|
72
|
-
readonly mode: _angular_core.InputSignal<keyof FlowbiteFormFieldModes>;
|
|
36
|
+
readonly mode: _angular_core.InputSignal<keyof flowbite_angular_form.FlowbiteFormFieldModes>;
|
|
73
37
|
readonly customTheme: _angular_core.InputSignal<{
|
|
74
38
|
host?: {
|
|
75
39
|
base?: string | undefined;
|
|
@@ -213,48 +177,49 @@ declare const injectFlowbiteLabelState: <U = {
|
|
|
213
177
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
214
178
|
declare const flowbiteLabelState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
215
179
|
|
|
216
|
-
interface
|
|
217
|
-
host:
|
|
180
|
+
interface FlowbiteLabelTheme {
|
|
181
|
+
host: FlowbiteLabelHostTheme;
|
|
218
182
|
}
|
|
219
|
-
interface
|
|
183
|
+
interface FlowbiteLabelHostTheme {
|
|
220
184
|
base: string;
|
|
221
185
|
transition: string;
|
|
222
186
|
color: FlowbiteFormFieldColors;
|
|
187
|
+
mode: FlowbiteFormFieldModes;
|
|
223
188
|
}
|
|
224
|
-
declare const
|
|
189
|
+
declare const flowbiteLabelTheme: FlowbiteLabelTheme;
|
|
225
190
|
|
|
226
|
-
interface
|
|
191
|
+
interface FlowbiteLabelConfig {
|
|
227
192
|
/**
|
|
228
|
-
* The default theme of
|
|
193
|
+
* The default theme of Label
|
|
229
194
|
*/
|
|
230
|
-
baseTheme:
|
|
195
|
+
baseTheme: FlowbiteLabelTheme;
|
|
231
196
|
/**
|
|
232
|
-
* The custom theme of
|
|
197
|
+
* The custom theme of Label
|
|
233
198
|
*/
|
|
234
|
-
customTheme: DeepPartial<
|
|
199
|
+
customTheme: DeepPartial<FlowbiteLabelTheme>;
|
|
235
200
|
}
|
|
236
|
-
declare const
|
|
237
|
-
declare const
|
|
201
|
+
declare const defaultFlowbiteLabelConfig: FlowbiteLabelConfig;
|
|
202
|
+
declare const FlowbiteLabelConfigToken: InjectionToken<FlowbiteLabelConfig>;
|
|
238
203
|
/**
|
|
239
|
-
* Provide the default
|
|
240
|
-
* @param config The
|
|
204
|
+
* Provide the default Label configuration
|
|
205
|
+
* @param config The Label configuration
|
|
241
206
|
* @returns The provider
|
|
242
207
|
*/
|
|
243
|
-
declare const
|
|
208
|
+
declare const provideFlowbiteLabelConfig: (config: Partial<FlowbiteLabelConfig>) => Provider[];
|
|
244
209
|
/**
|
|
245
|
-
* Inject the
|
|
246
|
-
* @see {@link
|
|
210
|
+
* Inject the Label configuration
|
|
211
|
+
* @see {@link defaultFlowbiteLabelConfig}
|
|
247
212
|
* @returns The configuration
|
|
248
213
|
*/
|
|
249
|
-
declare const
|
|
214
|
+
declare const injectFlowbiteLabelConfig: () => FlowbiteLabelConfig;
|
|
250
215
|
|
|
251
216
|
declare class Helper {
|
|
252
|
-
readonly config: FlowbiteHelperConfig;
|
|
217
|
+
readonly config: flowbite_angular_form.FlowbiteHelperConfig;
|
|
253
218
|
readonly formFieldState: _angular_core.Signal<ng_primitives_state.State<{
|
|
254
219
|
readonly config: flowbite_angular_form.FlowbiteFormFieldConfig;
|
|
255
|
-
readonly size: _angular_core.InputSignal<keyof FlowbiteFormFieldSizes>;
|
|
220
|
+
readonly size: _angular_core.InputSignal<keyof flowbite_angular_form.FlowbiteFormFieldSizes>;
|
|
256
221
|
readonly color: _angular_core.InputSignal<keyof FlowbiteFormFieldColors>;
|
|
257
|
-
readonly mode: _angular_core.InputSignal<keyof FlowbiteFormFieldModes>;
|
|
222
|
+
readonly mode: _angular_core.InputSignal<keyof flowbite_angular_form.FlowbiteFormFieldModes>;
|
|
258
223
|
readonly customTheme: _angular_core.InputSignal<{
|
|
259
224
|
host?: {
|
|
260
225
|
base?: string | undefined;
|
|
@@ -388,45 +353,43 @@ declare const injectFlowbiteHelperState: <U = {
|
|
|
388
353
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
389
354
|
declare const flowbiteHelperState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
390
355
|
|
|
391
|
-
interface
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
*/
|
|
403
|
-
color: keyof FlowbiteFormFieldColors;
|
|
356
|
+
interface FlowbiteHelperTheme {
|
|
357
|
+
host: FlowbiteHelperHostTheme;
|
|
358
|
+
}
|
|
359
|
+
interface FlowbiteHelperHostTheme {
|
|
360
|
+
base: string;
|
|
361
|
+
transition: string;
|
|
362
|
+
color: FlowbiteFormFieldColors;
|
|
363
|
+
}
|
|
364
|
+
declare const flowbiteHelperTheme: FlowbiteHelperTheme;
|
|
365
|
+
|
|
366
|
+
interface FlowbiteHelperConfig {
|
|
404
367
|
/**
|
|
405
|
-
* The default
|
|
368
|
+
* The default theme of helper
|
|
406
369
|
*/
|
|
407
|
-
|
|
370
|
+
baseTheme: FlowbiteHelperTheme;
|
|
408
371
|
/**
|
|
409
|
-
* The custom theme of
|
|
372
|
+
* The custom theme of helper
|
|
410
373
|
*/
|
|
411
|
-
customTheme: DeepPartial<
|
|
374
|
+
customTheme: DeepPartial<FlowbiteHelperTheme>;
|
|
412
375
|
}
|
|
413
|
-
declare const
|
|
414
|
-
declare const
|
|
376
|
+
declare const defaultFlowbiteHelperConfig: FlowbiteHelperConfig;
|
|
377
|
+
declare const FlowbiteHelperConfigToken: InjectionToken<FlowbiteHelperConfig>;
|
|
415
378
|
/**
|
|
416
|
-
* Provide the default
|
|
417
|
-
* @param config The
|
|
379
|
+
* Provide the default Helper configuration
|
|
380
|
+
* @param config The Helper configuration
|
|
418
381
|
* @returns The provider
|
|
419
382
|
*/
|
|
420
|
-
declare const
|
|
383
|
+
declare const provideFlowbiteHelperConfig: (config: Partial<FlowbiteHelperConfig>) => Provider[];
|
|
421
384
|
/**
|
|
422
|
-
* Inject the
|
|
423
|
-
* @see {@link
|
|
385
|
+
* Inject the Helper configuration
|
|
386
|
+
* @see {@link defaultFlowbiteHelperConfig}
|
|
424
387
|
* @returns The configuration
|
|
425
388
|
*/
|
|
426
|
-
declare const
|
|
389
|
+
declare const injectFlowbiteHelperConfig: () => FlowbiteHelperConfig;
|
|
427
390
|
|
|
428
391
|
declare class FormField {
|
|
429
|
-
readonly config: FlowbiteFormFieldConfig;
|
|
392
|
+
readonly config: flowbite_angular_form.FlowbiteFormFieldConfig;
|
|
430
393
|
/**
|
|
431
394
|
* @see {@link injectFlowbiteFormFieldConfig}
|
|
432
395
|
*/
|
|
@@ -493,46 +456,45 @@ declare const injectFlowbiteFormFieldState: <U = {
|
|
|
493
456
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
494
457
|
declare const flowbiteFormFieldState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
495
458
|
|
|
496
|
-
interface
|
|
497
|
-
host: FlowbiteFormControlHostTheme;
|
|
498
|
-
}
|
|
499
|
-
interface FlowbiteFormControlHostTheme {
|
|
500
|
-
base: string;
|
|
501
|
-
transition: string;
|
|
502
|
-
disabled: string;
|
|
503
|
-
size: FlowbiteFormFieldSizes;
|
|
504
|
-
color: FlowbiteFormFieldColors;
|
|
505
|
-
mode: FlowbiteFormFieldModes;
|
|
506
|
-
}
|
|
507
|
-
declare const flowbiteFormControlTheme: FlowbiteFormControlTheme;
|
|
508
|
-
|
|
509
|
-
interface FlowbiteFormControlConfig {
|
|
459
|
+
interface FlowbiteFormFieldConfig {
|
|
510
460
|
/**
|
|
511
|
-
* The default theme of
|
|
461
|
+
* The default theme of FormField
|
|
512
462
|
*/
|
|
513
|
-
baseTheme:
|
|
463
|
+
baseTheme: FlowbiteFormFieldTheme;
|
|
514
464
|
/**
|
|
515
|
-
* The
|
|
465
|
+
* The default size of FormField
|
|
516
466
|
*/
|
|
517
|
-
|
|
467
|
+
size: keyof FlowbiteFormFieldSizes;
|
|
468
|
+
/**
|
|
469
|
+
* The default color of FormField
|
|
470
|
+
*/
|
|
471
|
+
color: keyof FlowbiteFormFieldColors;
|
|
472
|
+
/**
|
|
473
|
+
* The default mode of FormField
|
|
474
|
+
*/
|
|
475
|
+
mode: keyof FlowbiteFormFieldModes;
|
|
476
|
+
/**
|
|
477
|
+
* The custom theme of FormField
|
|
478
|
+
*/
|
|
479
|
+
customTheme: DeepPartial<FlowbiteFormFieldTheme>;
|
|
518
480
|
}
|
|
519
|
-
declare const
|
|
520
|
-
declare const
|
|
481
|
+
declare const defaultFlowbiteFormFieldConfig: FlowbiteFormFieldConfig;
|
|
482
|
+
declare const FlowbiteFormFieldConfigToken: InjectionToken<FlowbiteFormFieldConfig>;
|
|
521
483
|
/**
|
|
522
|
-
* Provide the default
|
|
523
|
-
* @param config The
|
|
484
|
+
* Provide the default FormField configuration
|
|
485
|
+
* @param config The FormField configuration
|
|
524
486
|
* @returns The provider
|
|
525
487
|
*/
|
|
526
|
-
declare const
|
|
488
|
+
declare const provideFlowbiteFormFieldConfig: (config: Partial<FlowbiteFormFieldConfig>) => Provider[];
|
|
527
489
|
/**
|
|
528
|
-
* Inject the
|
|
529
|
-
* @see {@link
|
|
490
|
+
* Inject the FormField configuration
|
|
491
|
+
* @see {@link defaultFlowbiteFormFieldConfig}
|
|
530
492
|
* @returns The configuration
|
|
531
493
|
*/
|
|
532
|
-
declare const
|
|
494
|
+
declare const injectFlowbiteFormFieldConfig: () => FlowbiteFormFieldConfig;
|
|
533
495
|
|
|
534
496
|
declare class FormControl {
|
|
535
|
-
readonly config: FlowbiteFormControlConfig;
|
|
497
|
+
readonly config: flowbite_angular_form.FlowbiteFormControlConfig;
|
|
536
498
|
readonly formFieldState: _angular_core.Signal<ng_primitives_state.State<{
|
|
537
499
|
readonly config: flowbite_angular_form.FlowbiteFormFieldConfig;
|
|
538
500
|
readonly size: _angular_core.InputSignal<keyof flowbite_angular_form.FlowbiteFormFieldSizes>;
|
|
@@ -690,5 +652,43 @@ declare const injectFlowbiteFormControlState: <U = {
|
|
|
690
652
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
691
653
|
declare const flowbiteFormControlState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
692
654
|
|
|
655
|
+
interface FlowbiteFormControlTheme {
|
|
656
|
+
host: FlowbiteFormControlHostTheme;
|
|
657
|
+
}
|
|
658
|
+
interface FlowbiteFormControlHostTheme {
|
|
659
|
+
base: string;
|
|
660
|
+
transition: string;
|
|
661
|
+
disabled: string;
|
|
662
|
+
size: FlowbiteFormFieldSizes;
|
|
663
|
+
color: FlowbiteFormFieldColors;
|
|
664
|
+
mode: FlowbiteFormFieldModes;
|
|
665
|
+
}
|
|
666
|
+
declare const flowbiteFormControlTheme: FlowbiteFormControlTheme;
|
|
667
|
+
|
|
668
|
+
interface FlowbiteFormControlConfig {
|
|
669
|
+
/**
|
|
670
|
+
* The default theme of FormControl
|
|
671
|
+
*/
|
|
672
|
+
baseTheme: FlowbiteFormControlTheme;
|
|
673
|
+
/**
|
|
674
|
+
* The custom theme of FormControl
|
|
675
|
+
*/
|
|
676
|
+
customTheme: DeepPartial<FlowbiteFormControlTheme>;
|
|
677
|
+
}
|
|
678
|
+
declare const defaultFlowbiteFormControlConfig: FlowbiteFormControlConfig;
|
|
679
|
+
declare const FlowbiteFormControlConfigToken: InjectionToken<FlowbiteFormControlConfig>;
|
|
680
|
+
/**
|
|
681
|
+
* Provide the default FormControl configuration
|
|
682
|
+
* @param config The FormControl configuration
|
|
683
|
+
* @returns The provider
|
|
684
|
+
*/
|
|
685
|
+
declare const provideFlowbiteFormControlConfig: (config: Partial<FlowbiteFormControlConfig>) => Provider[];
|
|
686
|
+
/**
|
|
687
|
+
* Inject the FormControl configuration
|
|
688
|
+
* @see {@link defaultFlowbiteFormControlConfig}
|
|
689
|
+
* @returns The configuration
|
|
690
|
+
*/
|
|
691
|
+
declare const injectFlowbiteFormControlConfig: () => FlowbiteFormControlConfig;
|
|
692
|
+
|
|
693
693
|
export { FlowbiteFormControlConfigToken, FlowbiteFormControlStateToken, FlowbiteFormFieldConfigToken, FlowbiteFormFieldStateToken, FlowbiteHelperConfigToken, FlowbiteHelperStateToken, FlowbiteLabelConfigToken, FlowbiteLabelStateToken, FormControl, FormField, Helper, Label, defaultFlowbiteFormControlConfig, defaultFlowbiteFormFieldConfig, defaultFlowbiteHelperConfig, defaultFlowbiteLabelConfig, flowbiteFormControlState, flowbiteFormControlTheme, flowbiteFormFieldState, flowbiteFormFieldTheme, flowbiteHelperState, flowbiteHelperTheme, flowbiteLabelState, flowbiteLabelTheme, injectFlowbiteFormControlConfig, injectFlowbiteFormControlState, injectFlowbiteFormFieldConfig, injectFlowbiteFormFieldState, injectFlowbiteHelperConfig, injectFlowbiteHelperState, injectFlowbiteLabelConfig, injectFlowbiteLabelState, provideFlowbiteFormControlConfig, provideFlowbiteFormControlState, provideFlowbiteFormFieldConfig, provideFlowbiteFormFieldState, provideFlowbiteHelperConfig, provideFlowbiteHelperState, provideFlowbiteLabelConfig, provideFlowbiteLabelState };
|
|
694
694
|
export type { FlowbiteFormControlConfig, FlowbiteFormControlHostTheme, FlowbiteFormControlTheme, FlowbiteFormFieldColors, FlowbiteFormFieldConfig, FlowbiteFormFieldHostTheme, FlowbiteFormFieldModes, FlowbiteFormFieldSizes, FlowbiteFormFieldTheme, FlowbiteHelperConfig, FlowbiteHelperHostTheme, FlowbiteHelperTheme, FlowbiteLabelConfig, FlowbiteLabelHostTheme, FlowbiteLabelTheme };
|
|
@@ -1,55 +1,13 @@
|
|
|
1
1
|
import * as ng_primitives_state from 'ng-primitives/state';
|
|
2
|
-
import * as flowbite_angular_icon from 'flowbite-angular/icon';
|
|
3
2
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { InjectionToken, Provider
|
|
5
|
-
import
|
|
3
|
+
import { OnDestroy, InjectionToken, Provider } from '@angular/core';
|
|
4
|
+
import * as flowbite_angular_icon from 'flowbite-angular/icon';
|
|
6
5
|
import * as _ng_icons_core from '@ng-icons/core';
|
|
7
6
|
import { IconType } from '@ng-icons/core';
|
|
8
|
-
|
|
9
|
-
interface FlowbiteIconColors extends FlowbiteColors {
|
|
10
|
-
[key: string]: ColorToTheme;
|
|
11
|
-
}
|
|
12
|
-
interface FlowbiteIconTheme {
|
|
13
|
-
host: FlowbiteIconHostTheme;
|
|
14
|
-
}
|
|
15
|
-
interface FlowbiteIconHostTheme {
|
|
16
|
-
base: string;
|
|
17
|
-
transition: string;
|
|
18
|
-
color: FlowbiteIconColors;
|
|
19
|
-
}
|
|
20
|
-
declare const flowbiteIconTheme: FlowbiteIconTheme;
|
|
21
|
-
|
|
22
|
-
interface FlowbiteIconConfig {
|
|
23
|
-
/**
|
|
24
|
-
* The default theme of icon
|
|
25
|
-
*/
|
|
26
|
-
baseTheme: FlowbiteIconTheme;
|
|
27
|
-
/**
|
|
28
|
-
* The default color of icon
|
|
29
|
-
*/
|
|
30
|
-
color: keyof FlowbiteIconColors;
|
|
31
|
-
/**
|
|
32
|
-
* The custom theme of icon
|
|
33
|
-
*/
|
|
34
|
-
customTheme: DeepPartial<FlowbiteIconTheme>;
|
|
35
|
-
}
|
|
36
|
-
declare const defaultFlowbiteIconConfig: FlowbiteIconConfig;
|
|
37
|
-
declare const FlowbiteIconConfigToken: InjectionToken<FlowbiteIconConfig>;
|
|
38
|
-
/**
|
|
39
|
-
* Provide the default Icon configuration
|
|
40
|
-
* @param config The Icon configuration
|
|
41
|
-
* @returns The provider
|
|
42
|
-
*/
|
|
43
|
-
declare const provideFlowbiteIconConfig: (config: Partial<FlowbiteIconConfig>) => Provider[];
|
|
44
|
-
/**
|
|
45
|
-
* Inject the Icon configuration
|
|
46
|
-
* @see {@link defaultFlowbiteIconConfig}
|
|
47
|
-
* @returns The configuration
|
|
48
|
-
*/
|
|
49
|
-
declare const injectFlowbiteIconConfig: () => FlowbiteIconConfig;
|
|
7
|
+
import { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
|
|
50
8
|
|
|
51
9
|
declare class Icon implements OnDestroy {
|
|
52
|
-
readonly config: FlowbiteIconConfig;
|
|
10
|
+
readonly config: flowbite_angular_icon.FlowbiteIconConfig;
|
|
53
11
|
/** Access the icons */
|
|
54
12
|
private readonly icons;
|
|
55
13
|
/** Access the icon loader if defined */
|
|
@@ -318,5 +276,47 @@ declare const NgIconPostProcessorToken: InjectionToken<NgIconPostProcessor>;
|
|
|
318
276
|
declare function injectNgIconPreProcessor(): NgIconPreProcessor;
|
|
319
277
|
declare function injectNgIconPostProcessor(): NgIconPostProcessor;
|
|
320
278
|
|
|
279
|
+
interface FlowbiteIconColors extends FlowbiteColors {
|
|
280
|
+
[key: string]: ColorToTheme;
|
|
281
|
+
}
|
|
282
|
+
interface FlowbiteIconTheme {
|
|
283
|
+
host: FlowbiteIconHostTheme;
|
|
284
|
+
}
|
|
285
|
+
interface FlowbiteIconHostTheme {
|
|
286
|
+
base: string;
|
|
287
|
+
transition: string;
|
|
288
|
+
color: FlowbiteIconColors;
|
|
289
|
+
}
|
|
290
|
+
declare const flowbiteIconTheme: FlowbiteIconTheme;
|
|
291
|
+
|
|
292
|
+
interface FlowbiteIconConfig {
|
|
293
|
+
/**
|
|
294
|
+
* The default theme of icon
|
|
295
|
+
*/
|
|
296
|
+
baseTheme: FlowbiteIconTheme;
|
|
297
|
+
/**
|
|
298
|
+
* The default color of icon
|
|
299
|
+
*/
|
|
300
|
+
color: keyof FlowbiteIconColors;
|
|
301
|
+
/**
|
|
302
|
+
* The custom theme of icon
|
|
303
|
+
*/
|
|
304
|
+
customTheme: DeepPartial<FlowbiteIconTheme>;
|
|
305
|
+
}
|
|
306
|
+
declare const defaultFlowbiteIconConfig: FlowbiteIconConfig;
|
|
307
|
+
declare const FlowbiteIconConfigToken: InjectionToken<FlowbiteIconConfig>;
|
|
308
|
+
/**
|
|
309
|
+
* Provide the default Icon configuration
|
|
310
|
+
* @param config The Icon configuration
|
|
311
|
+
* @returns The provider
|
|
312
|
+
*/
|
|
313
|
+
declare const provideFlowbiteIconConfig: (config: Partial<FlowbiteIconConfig>) => Provider[];
|
|
314
|
+
/**
|
|
315
|
+
* Inject the Icon configuration
|
|
316
|
+
* @see {@link defaultFlowbiteIconConfig}
|
|
317
|
+
* @returns The configuration
|
|
318
|
+
*/
|
|
319
|
+
declare const injectFlowbiteIconConfig: () => FlowbiteIconConfig;
|
|
320
|
+
|
|
321
321
|
export { FlowbiteIconConfigToken, FlowbiteIconStateToken, Icon, NgIconPostProcessorToken, NgIconPreProcessorToken, defaultFlowbiteIconConfig, flowbiteIconState, flowbiteIconTheme, injectFlowbiteIconConfig, injectFlowbiteIconState, injectNgIconPostProcessor, injectNgIconPreProcessor, provideFlowbiteIconConfig, provideFlowbiteIconState };
|
|
322
322
|
export type { FlowbiteIconColors, FlowbiteIconConfig, FlowbiteIconHostTheme, FlowbiteIconTheme, NgIconPostProcessor, NgIconPreProcessor };
|