flowbite-angular 20.1.2 → 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 +45 -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 +79 -79
- 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} +122 -112
- 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
|
@@ -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 };
|
|
@@ -2,73 +2,10 @@ 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_indicator from 'flowbite-angular/indicator';
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
interface FlowbiteIndicatorColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
8
|
-
[key: string]: ColorToTheme;
|
|
9
|
-
}
|
|
10
|
-
interface FlowbiteIndicatorSizes extends Pick<FlowbiteSizes, 'xs' | 'sm' | 'md' | 'lg' | 'xl'> {
|
|
11
|
-
[key: string]: string;
|
|
12
|
-
}
|
|
13
|
-
interface FlowbiteIndicatorPositions extends FlowbitePositions {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
}
|
|
16
|
-
interface FlowbiteIndicatorTheme {
|
|
17
|
-
host: FlowbiteIndicatorHostTheme;
|
|
18
|
-
}
|
|
19
|
-
interface FlowbiteIndicatorHostTheme {
|
|
20
|
-
base: string;
|
|
21
|
-
transition: string;
|
|
22
|
-
border: FlowbiteBoolean;
|
|
23
|
-
color: FlowbiteIndicatorColors;
|
|
24
|
-
size: FlowbiteIndicatorSizes;
|
|
25
|
-
position: FlowbiteIndicatorPositions;
|
|
26
|
-
}
|
|
27
|
-
declare const flowbiteIndicatorTheme: FlowbiteIndicatorTheme;
|
|
28
|
-
|
|
29
|
-
interface FlowbiteIndicatorConfig {
|
|
30
|
-
/**
|
|
31
|
-
* The default theme of indicator
|
|
32
|
-
*/
|
|
33
|
-
baseTheme: FlowbiteIndicatorTheme;
|
|
34
|
-
/**
|
|
35
|
-
* The default color of indicator
|
|
36
|
-
*/
|
|
37
|
-
color: keyof FlowbiteIndicatorColors;
|
|
38
|
-
/**
|
|
39
|
-
* The default size of indicator
|
|
40
|
-
*/
|
|
41
|
-
size: keyof FlowbiteIndicatorSizes;
|
|
42
|
-
/**
|
|
43
|
-
* Whether the indicator has border
|
|
44
|
-
*/
|
|
45
|
-
border: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* The default position of indicator
|
|
48
|
-
*/
|
|
49
|
-
position: keyof FlowbiteIndicatorPositions | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* The custom theme of indicator
|
|
52
|
-
*/
|
|
53
|
-
customTheme: DeepPartial<FlowbiteIndicatorTheme>;
|
|
54
|
-
}
|
|
55
|
-
declare const defaultFlowbiteIndicatorConfig: FlowbiteIndicatorConfig;
|
|
56
|
-
declare const FlowbiteIndicatorConfigToken: InjectionToken<FlowbiteIndicatorConfig>;
|
|
57
|
-
/**
|
|
58
|
-
* Provide the default Indicator configuration
|
|
59
|
-
* @param config The Indicator configuration
|
|
60
|
-
* @returns The provider
|
|
61
|
-
*/
|
|
62
|
-
declare const provideFlowbiteIndicatorConfig: (config: Partial<FlowbiteIndicatorConfig>) => Provider[];
|
|
63
|
-
/**
|
|
64
|
-
* Inject the Indicator configuration
|
|
65
|
-
* @see {@link defaultFlowbiteIndicatorConfig}
|
|
66
|
-
* @returns The configuration
|
|
67
|
-
*/
|
|
68
|
-
declare const injectFlowbiteIndicatorConfig: () => FlowbiteIndicatorConfig;
|
|
5
|
+
import { FlowbiteColors, ColorToTheme, FlowbiteSizes, FlowbitePositions, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
|
|
69
6
|
|
|
70
7
|
declare class Indicator {
|
|
71
|
-
readonly config: FlowbiteIndicatorConfig;
|
|
8
|
+
readonly config: flowbite_angular_indicator.FlowbiteIndicatorConfig;
|
|
72
9
|
/**
|
|
73
10
|
* @see {@link injectFlowbiteIndicatorConfig}
|
|
74
11
|
*/
|
|
@@ -238,5 +175,68 @@ declare const injectFlowbiteIndicatorState: <U = {
|
|
|
238
175
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
239
176
|
declare const flowbiteIndicatorState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
240
177
|
|
|
178
|
+
interface FlowbiteIndicatorColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
179
|
+
[key: string]: ColorToTheme;
|
|
180
|
+
}
|
|
181
|
+
interface FlowbiteIndicatorSizes extends Pick<FlowbiteSizes, 'xs' | 'sm' | 'md' | 'lg' | 'xl'> {
|
|
182
|
+
[key: string]: string;
|
|
183
|
+
}
|
|
184
|
+
interface FlowbiteIndicatorPositions extends FlowbitePositions {
|
|
185
|
+
[key: string]: string;
|
|
186
|
+
}
|
|
187
|
+
interface FlowbiteIndicatorTheme {
|
|
188
|
+
host: FlowbiteIndicatorHostTheme;
|
|
189
|
+
}
|
|
190
|
+
interface FlowbiteIndicatorHostTheme {
|
|
191
|
+
base: string;
|
|
192
|
+
transition: string;
|
|
193
|
+
border: FlowbiteBoolean;
|
|
194
|
+
color: FlowbiteIndicatorColors;
|
|
195
|
+
size: FlowbiteIndicatorSizes;
|
|
196
|
+
position: FlowbiteIndicatorPositions;
|
|
197
|
+
}
|
|
198
|
+
declare const flowbiteIndicatorTheme: FlowbiteIndicatorTheme;
|
|
199
|
+
|
|
200
|
+
interface FlowbiteIndicatorConfig {
|
|
201
|
+
/**
|
|
202
|
+
* The default theme of indicator
|
|
203
|
+
*/
|
|
204
|
+
baseTheme: FlowbiteIndicatorTheme;
|
|
205
|
+
/**
|
|
206
|
+
* The default color of indicator
|
|
207
|
+
*/
|
|
208
|
+
color: keyof FlowbiteIndicatorColors;
|
|
209
|
+
/**
|
|
210
|
+
* The default size of indicator
|
|
211
|
+
*/
|
|
212
|
+
size: keyof FlowbiteIndicatorSizes;
|
|
213
|
+
/**
|
|
214
|
+
* Whether the indicator has border
|
|
215
|
+
*/
|
|
216
|
+
border: boolean;
|
|
217
|
+
/**
|
|
218
|
+
* The default position of indicator
|
|
219
|
+
*/
|
|
220
|
+
position: keyof FlowbiteIndicatorPositions | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* The custom theme of indicator
|
|
223
|
+
*/
|
|
224
|
+
customTheme: DeepPartial<FlowbiteIndicatorTheme>;
|
|
225
|
+
}
|
|
226
|
+
declare const defaultFlowbiteIndicatorConfig: FlowbiteIndicatorConfig;
|
|
227
|
+
declare const FlowbiteIndicatorConfigToken: InjectionToken<FlowbiteIndicatorConfig>;
|
|
228
|
+
/**
|
|
229
|
+
* Provide the default Indicator configuration
|
|
230
|
+
* @param config The Indicator configuration
|
|
231
|
+
* @returns The provider
|
|
232
|
+
*/
|
|
233
|
+
declare const provideFlowbiteIndicatorConfig: (config: Partial<FlowbiteIndicatorConfig>) => Provider[];
|
|
234
|
+
/**
|
|
235
|
+
* Inject the Indicator configuration
|
|
236
|
+
* @see {@link defaultFlowbiteIndicatorConfig}
|
|
237
|
+
* @returns The configuration
|
|
238
|
+
*/
|
|
239
|
+
declare const injectFlowbiteIndicatorConfig: () => FlowbiteIndicatorConfig;
|
|
240
|
+
|
|
241
241
|
export { FlowbiteIndicatorConfigToken, FlowbiteIndicatorStateToken, Indicator, defaultFlowbiteIndicatorConfig, flowbiteIndicatorState, flowbiteIndicatorTheme, injectFlowbiteIndicatorConfig, injectFlowbiteIndicatorState, provideFlowbiteIndicatorConfig, provideFlowbiteIndicatorState };
|
|
242
242
|
export type { FlowbiteIndicatorColors, FlowbiteIndicatorConfig, FlowbiteIndicatorHostTheme, FlowbiteIndicatorPositions, FlowbiteIndicatorSizes, FlowbiteIndicatorTheme };
|
|
@@ -1,9 +1,9 @@
|
|
|
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 * as flowbite_angular_modal from 'flowbite-angular/modal';
|
|
4
5
|
import { FlowbiteSizes, DeepPartial, FlowbitePositions } from 'flowbite-angular';
|
|
5
6
|
import * as i1 from 'ng-primitives/dialog';
|
|
6
|
-
import * as flowbite_angular_modal from 'flowbite-angular/modal';
|
|
7
7
|
|
|
8
8
|
interface FlowbiteModalSizes extends Pick<FlowbiteSizes, 'sm' | 'md' | 'lg' | 'xl'> {
|
|
9
9
|
[key: string]: string;
|
|
@@ -18,37 +18,8 @@ interface FlowbiteModalHostTheme {
|
|
|
18
18
|
}
|
|
19
19
|
declare const flowbiteModalTheme: FlowbiteModalTheme;
|
|
20
20
|
|
|
21
|
-
interface FlowbiteModalConfig {
|
|
22
|
-
/**
|
|
23
|
-
* The default theme of modal
|
|
24
|
-
*/
|
|
25
|
-
baseTheme: FlowbiteModalTheme;
|
|
26
|
-
/**
|
|
27
|
-
* The default size of modal
|
|
28
|
-
*/
|
|
29
|
-
size: keyof FlowbiteSizes;
|
|
30
|
-
/**
|
|
31
|
-
* The custom theme of modal
|
|
32
|
-
*/
|
|
33
|
-
customTheme: DeepPartial<FlowbiteModalTheme>;
|
|
34
|
-
}
|
|
35
|
-
declare const defaultFlowbiteModalConfig: FlowbiteModalConfig;
|
|
36
|
-
declare const FlowbiteModalConfigToken: InjectionToken<FlowbiteModalConfig>;
|
|
37
|
-
/**
|
|
38
|
-
* Provide the default Modal configuration
|
|
39
|
-
* @param config The Modal configuration
|
|
40
|
-
* @returns The provider
|
|
41
|
-
*/
|
|
42
|
-
declare const provideFlowbiteModalConfig: (config: Partial<FlowbiteModalConfig>) => Provider[];
|
|
43
|
-
/**
|
|
44
|
-
* Inject the Modal configuration
|
|
45
|
-
* @see {@link defaultFlowbiteModalConfig}
|
|
46
|
-
* @returns The configuration
|
|
47
|
-
*/
|
|
48
|
-
declare const injectFlowbiteModalConfig: () => FlowbiteModalConfig;
|
|
49
|
-
|
|
50
21
|
declare class Modal {
|
|
51
|
-
protected readonly config: FlowbiteModalConfig;
|
|
22
|
+
protected readonly config: flowbite_angular_modal.FlowbiteModalConfig;
|
|
52
23
|
/**
|
|
53
24
|
* @see {@link injectFlowbiteModalConfig}
|
|
54
25
|
*/
|
|
@@ -109,50 +80,50 @@ declare const injectFlowbiteModalState: <U = {
|
|
|
109
80
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
110
81
|
declare const flowbiteModalState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
111
82
|
|
|
112
|
-
interface
|
|
113
|
-
[key: string]: string;
|
|
114
|
-
}
|
|
115
|
-
interface FlowbiteModalOverlayTheme {
|
|
116
|
-
host: FlowbiteModalOverlayHostTheme;
|
|
117
|
-
}
|
|
118
|
-
interface FlowbiteModalOverlayHostTheme {
|
|
119
|
-
base: string;
|
|
120
|
-
transition: string;
|
|
121
|
-
position: FlowbiteModalOverlayPositions;
|
|
122
|
-
}
|
|
123
|
-
declare const flowbiteModalOverlayTheme: FlowbiteModalOverlayTheme;
|
|
124
|
-
|
|
125
|
-
interface FlowbiteModalOverlayConfig {
|
|
83
|
+
interface FlowbiteModalConfig {
|
|
126
84
|
/**
|
|
127
|
-
* The default theme of
|
|
85
|
+
* The default theme of modal
|
|
128
86
|
*/
|
|
129
|
-
baseTheme:
|
|
87
|
+
baseTheme: FlowbiteModalTheme;
|
|
130
88
|
/**
|
|
131
|
-
* The default
|
|
89
|
+
* The default size of modal
|
|
132
90
|
*/
|
|
133
|
-
|
|
91
|
+
size: keyof FlowbiteSizes;
|
|
134
92
|
/**
|
|
135
|
-
* The custom theme of
|
|
93
|
+
* The custom theme of modal
|
|
136
94
|
*/
|
|
137
|
-
customTheme: DeepPartial<
|
|
95
|
+
customTheme: DeepPartial<FlowbiteModalTheme>;
|
|
138
96
|
}
|
|
139
|
-
declare const
|
|
140
|
-
declare const
|
|
97
|
+
declare const defaultFlowbiteModalConfig: FlowbiteModalConfig;
|
|
98
|
+
declare const FlowbiteModalConfigToken: InjectionToken<FlowbiteModalConfig>;
|
|
141
99
|
/**
|
|
142
|
-
* Provide the default
|
|
143
|
-
* @param config The
|
|
100
|
+
* Provide the default Modal configuration
|
|
101
|
+
* @param config The Modal configuration
|
|
144
102
|
* @returns The provider
|
|
145
103
|
*/
|
|
146
|
-
declare const
|
|
104
|
+
declare const provideFlowbiteModalConfig: (config: Partial<FlowbiteModalConfig>) => Provider[];
|
|
147
105
|
/**
|
|
148
|
-
* Inject the
|
|
149
|
-
* @see {@link
|
|
106
|
+
* Inject the Modal configuration
|
|
107
|
+
* @see {@link defaultFlowbiteModalConfig}
|
|
150
108
|
* @returns The configuration
|
|
151
109
|
*/
|
|
152
|
-
declare const
|
|
110
|
+
declare const injectFlowbiteModalConfig: () => FlowbiteModalConfig;
|
|
111
|
+
|
|
112
|
+
interface FlowbiteModalOverlayPositions extends Pick<FlowbitePositions, 'center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center' | 'center-left' | 'center-right'> {
|
|
113
|
+
[key: string]: string;
|
|
114
|
+
}
|
|
115
|
+
interface FlowbiteModalOverlayTheme {
|
|
116
|
+
host: FlowbiteModalOverlayHostTheme;
|
|
117
|
+
}
|
|
118
|
+
interface FlowbiteModalOverlayHostTheme {
|
|
119
|
+
base: string;
|
|
120
|
+
transition: string;
|
|
121
|
+
position: FlowbiteModalOverlayPositions;
|
|
122
|
+
}
|
|
123
|
+
declare const flowbiteModalOverlayTheme: FlowbiteModalOverlayTheme;
|
|
153
124
|
|
|
154
125
|
declare class ModalOverlay {
|
|
155
|
-
protected readonly config: FlowbiteModalOverlayConfig;
|
|
126
|
+
protected readonly config: flowbite_angular_modal.FlowbiteModalOverlayConfig;
|
|
156
127
|
/**
|
|
157
128
|
* @see {@link injectFlowbiteModalOverlayConfig}
|
|
158
129
|
*/
|
|
@@ -223,42 +194,37 @@ declare const injectFlowbiteModalOverlayState: <U = {
|
|
|
223
194
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
224
195
|
declare const flowbiteModalOverlayState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
225
196
|
|
|
226
|
-
interface
|
|
227
|
-
host: FlowbiteModalHeaderHostTheme;
|
|
228
|
-
}
|
|
229
|
-
interface FlowbiteModalHeaderHostTheme {
|
|
230
|
-
base: string;
|
|
231
|
-
transition: string;
|
|
232
|
-
}
|
|
233
|
-
declare const flowbiteModalHeaderTheme: FlowbiteModalHeaderTheme;
|
|
234
|
-
|
|
235
|
-
interface FlowbiteModalHeaderConfig {
|
|
197
|
+
interface FlowbiteModalOverlayConfig {
|
|
236
198
|
/**
|
|
237
|
-
* The default theme of
|
|
199
|
+
* The default theme of modalOverlay
|
|
238
200
|
*/
|
|
239
|
-
baseTheme:
|
|
201
|
+
baseTheme: FlowbiteModalOverlayTheme;
|
|
240
202
|
/**
|
|
241
|
-
* The
|
|
203
|
+
* The default position of modalOverlay
|
|
242
204
|
*/
|
|
243
|
-
|
|
205
|
+
position: keyof FlowbiteModalOverlayPositions;
|
|
206
|
+
/**
|
|
207
|
+
* The custom theme of modalOverlay
|
|
208
|
+
*/
|
|
209
|
+
customTheme: DeepPartial<FlowbiteModalOverlayTheme>;
|
|
244
210
|
}
|
|
245
|
-
declare const
|
|
246
|
-
declare const
|
|
211
|
+
declare const defaultFlowbiteModalOverlayConfig: FlowbiteModalOverlayConfig;
|
|
212
|
+
declare const FlowbiteModalOverlayConfigToken: InjectionToken<FlowbiteModalOverlayConfig>;
|
|
247
213
|
/**
|
|
248
|
-
* Provide the default
|
|
249
|
-
* @param config The
|
|
214
|
+
* Provide the default ModalOverlay configuration
|
|
215
|
+
* @param config The ModalOverlay configuration
|
|
250
216
|
* @returns The provider
|
|
251
217
|
*/
|
|
252
|
-
declare const
|
|
218
|
+
declare const provideFlowbiteModalOverlayConfig: (config: Partial<FlowbiteModalOverlayConfig>) => Provider[];
|
|
253
219
|
/**
|
|
254
|
-
* Inject the
|
|
255
|
-
* @see {@link
|
|
220
|
+
* Inject the ModalOverlay configuration
|
|
221
|
+
* @see {@link defaultFlowbiteModalOverlayConfig}
|
|
256
222
|
* @returns The configuration
|
|
257
223
|
*/
|
|
258
|
-
declare const
|
|
224
|
+
declare const injectFlowbiteModalOverlayConfig: () => FlowbiteModalOverlayConfig;
|
|
259
225
|
|
|
260
226
|
declare class ModalHeader {
|
|
261
|
-
protected readonly config: FlowbiteModalHeaderConfig;
|
|
227
|
+
protected readonly config: flowbite_angular_modal.FlowbiteModalHeaderConfig;
|
|
262
228
|
/**
|
|
263
229
|
* @see {@link injectFlowbiteModalHeaderConfig}
|
|
264
230
|
*/
|
|
@@ -300,42 +266,42 @@ declare const injectFlowbiteModalHeaderState: <U = {
|
|
|
300
266
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
301
267
|
declare const flowbiteModalHeaderState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
302
268
|
|
|
303
|
-
interface
|
|
304
|
-
host:
|
|
269
|
+
interface FlowbiteModalHeaderTheme {
|
|
270
|
+
host: FlowbiteModalHeaderHostTheme;
|
|
305
271
|
}
|
|
306
|
-
interface
|
|
272
|
+
interface FlowbiteModalHeaderHostTheme {
|
|
307
273
|
base: string;
|
|
308
274
|
transition: string;
|
|
309
275
|
}
|
|
310
|
-
declare const
|
|
276
|
+
declare const flowbiteModalHeaderTheme: FlowbiteModalHeaderTheme;
|
|
311
277
|
|
|
312
|
-
interface
|
|
278
|
+
interface FlowbiteModalHeaderConfig {
|
|
313
279
|
/**
|
|
314
|
-
* The default theme of
|
|
280
|
+
* The default theme of modalHeader
|
|
315
281
|
*/
|
|
316
|
-
baseTheme:
|
|
282
|
+
baseTheme: FlowbiteModalHeaderTheme;
|
|
317
283
|
/**
|
|
318
|
-
* The custom theme of
|
|
284
|
+
* The custom theme of modalHeader
|
|
319
285
|
*/
|
|
320
|
-
customTheme: DeepPartial<
|
|
286
|
+
customTheme: DeepPartial<FlowbiteModalHeaderTheme>;
|
|
321
287
|
}
|
|
322
|
-
declare const
|
|
323
|
-
declare const
|
|
288
|
+
declare const defaultFlowbiteModalHeaderConfig: FlowbiteModalHeaderConfig;
|
|
289
|
+
declare const FlowbiteModalHeaderConfigToken: InjectionToken<FlowbiteModalHeaderConfig>;
|
|
324
290
|
/**
|
|
325
|
-
* Provide the default
|
|
326
|
-
* @param config The
|
|
291
|
+
* Provide the default ModalHeader configuration
|
|
292
|
+
* @param config The ModalHeader configuration
|
|
327
293
|
* @returns The provider
|
|
328
294
|
*/
|
|
329
|
-
declare const
|
|
295
|
+
declare const provideFlowbiteModalHeaderConfig: (config: Partial<FlowbiteModalHeaderConfig>) => Provider[];
|
|
330
296
|
/**
|
|
331
|
-
* Inject the
|
|
332
|
-
* @see {@link
|
|
297
|
+
* Inject the ModalHeader configuration
|
|
298
|
+
* @see {@link defaultFlowbiteModalHeaderConfig}
|
|
333
299
|
* @returns The configuration
|
|
334
300
|
*/
|
|
335
|
-
declare const
|
|
301
|
+
declare const injectFlowbiteModalHeaderConfig: () => FlowbiteModalHeaderConfig;
|
|
336
302
|
|
|
337
303
|
declare class ModalContent {
|
|
338
|
-
protected readonly config: FlowbiteModalContentConfig;
|
|
304
|
+
protected readonly config: flowbite_angular_modal.FlowbiteModalContentConfig;
|
|
339
305
|
/**
|
|
340
306
|
* @see {@link injectFlowbiteModalContentConfig}
|
|
341
307
|
*/
|
|
@@ -377,42 +343,42 @@ declare const injectFlowbiteModalContentState: <U = {
|
|
|
377
343
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
378
344
|
declare const flowbiteModalContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
379
345
|
|
|
380
|
-
interface
|
|
381
|
-
host:
|
|
346
|
+
interface FlowbiteModalContentTheme {
|
|
347
|
+
host: FlowbiteModalContentHostTheme;
|
|
382
348
|
}
|
|
383
|
-
interface
|
|
349
|
+
interface FlowbiteModalContentHostTheme {
|
|
384
350
|
base: string;
|
|
385
351
|
transition: string;
|
|
386
352
|
}
|
|
387
|
-
declare const
|
|
353
|
+
declare const flowbiteModalContentTheme: FlowbiteModalContentTheme;
|
|
388
354
|
|
|
389
|
-
interface
|
|
355
|
+
interface FlowbiteModalContentConfig {
|
|
390
356
|
/**
|
|
391
|
-
* The default theme of
|
|
357
|
+
* The default theme of modalContent
|
|
392
358
|
*/
|
|
393
|
-
baseTheme:
|
|
359
|
+
baseTheme: FlowbiteModalContentTheme;
|
|
394
360
|
/**
|
|
395
|
-
* The custom theme of
|
|
361
|
+
* The custom theme of modalContent
|
|
396
362
|
*/
|
|
397
|
-
customTheme: DeepPartial<
|
|
363
|
+
customTheme: DeepPartial<FlowbiteModalContentTheme>;
|
|
398
364
|
}
|
|
399
|
-
declare const
|
|
400
|
-
declare const
|
|
365
|
+
declare const defaultFlowbiteModalContentConfig: FlowbiteModalContentConfig;
|
|
366
|
+
declare const FlowbiteModalContentConfigToken: InjectionToken<FlowbiteModalContentConfig>;
|
|
401
367
|
/**
|
|
402
|
-
* Provide the default
|
|
403
|
-
* @param config The
|
|
368
|
+
* Provide the default ModalContent configuration
|
|
369
|
+
* @param config The ModalContent configuration
|
|
404
370
|
* @returns The provider
|
|
405
371
|
*/
|
|
406
|
-
declare const
|
|
372
|
+
declare const provideFlowbiteModalContentConfig: (config: Partial<FlowbiteModalContentConfig>) => Provider[];
|
|
407
373
|
/**
|
|
408
|
-
* Inject the
|
|
409
|
-
* @see {@link
|
|
374
|
+
* Inject the ModalContent configuration
|
|
375
|
+
* @see {@link defaultFlowbiteModalContentConfig}
|
|
410
376
|
* @returns The configuration
|
|
411
377
|
*/
|
|
412
|
-
declare const
|
|
378
|
+
declare const injectFlowbiteModalContentConfig: () => FlowbiteModalContentConfig;
|
|
413
379
|
|
|
414
380
|
declare class ModalFooter {
|
|
415
|
-
protected readonly config: FlowbiteModalFooterConfig;
|
|
381
|
+
protected readonly config: flowbite_angular_modal.FlowbiteModalFooterConfig;
|
|
416
382
|
/**
|
|
417
383
|
* @see {@link injectFlowbiteModalFooterConfig}
|
|
418
384
|
*/
|
|
@@ -454,5 +420,39 @@ declare const injectFlowbiteModalFooterState: <U = {
|
|
|
454
420
|
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
455
421
|
declare const flowbiteModalFooterState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
456
422
|
|
|
423
|
+
interface FlowbiteModalFooterTheme {
|
|
424
|
+
host: FlowbiteModalFooterHostTheme;
|
|
425
|
+
}
|
|
426
|
+
interface FlowbiteModalFooterHostTheme {
|
|
427
|
+
base: string;
|
|
428
|
+
transition: string;
|
|
429
|
+
}
|
|
430
|
+
declare const flowbiteModalFooterTheme: FlowbiteModalFooterTheme;
|
|
431
|
+
|
|
432
|
+
interface FlowbiteModalFooterConfig {
|
|
433
|
+
/**
|
|
434
|
+
* The default theme of modalFooter
|
|
435
|
+
*/
|
|
436
|
+
baseTheme: FlowbiteModalFooterTheme;
|
|
437
|
+
/**
|
|
438
|
+
* The custom theme of modalFooter
|
|
439
|
+
*/
|
|
440
|
+
customTheme: DeepPartial<FlowbiteModalFooterTheme>;
|
|
441
|
+
}
|
|
442
|
+
declare const defaultFlowbiteModalFooterConfig: FlowbiteModalFooterConfig;
|
|
443
|
+
declare const FlowbiteModalFooterConfigToken: InjectionToken<FlowbiteModalFooterConfig>;
|
|
444
|
+
/**
|
|
445
|
+
* Provide the default ModalFooter configuration
|
|
446
|
+
* @param config The ModalFooter configuration
|
|
447
|
+
* @returns The provider
|
|
448
|
+
*/
|
|
449
|
+
declare const provideFlowbiteModalFooterConfig: (config: Partial<FlowbiteModalFooterConfig>) => Provider[];
|
|
450
|
+
/**
|
|
451
|
+
* Inject the ModalFooter configuration
|
|
452
|
+
* @see {@link defaultFlowbiteModalFooterConfig}
|
|
453
|
+
* @returns The configuration
|
|
454
|
+
*/
|
|
455
|
+
declare const injectFlowbiteModalFooterConfig: () => FlowbiteModalFooterConfig;
|
|
456
|
+
|
|
457
457
|
export { FlowbiteModalConfigToken, FlowbiteModalContentConfigToken, FlowbiteModalContentStateToken, FlowbiteModalFooterConfigToken, FlowbiteModalFooterStateToken, FlowbiteModalHeaderConfigToken, FlowbiteModalHeaderStateToken, FlowbiteModalOverlayConfigToken, FlowbiteModalOverlayStateToken, FlowbiteModalStateToken, Modal, ModalContent, ModalFooter, ModalHeader, ModalOverlay, defaultFlowbiteModalConfig, defaultFlowbiteModalContentConfig, defaultFlowbiteModalFooterConfig, defaultFlowbiteModalHeaderConfig, defaultFlowbiteModalOverlayConfig, flowbiteModalContentState, flowbiteModalContentTheme, flowbiteModalFooterState, flowbiteModalFooterTheme, flowbiteModalHeaderState, flowbiteModalHeaderTheme, flowbiteModalOverlayState, flowbiteModalOverlayTheme, flowbiteModalState, flowbiteModalTheme, injectFlowbiteModalConfig, injectFlowbiteModalContentConfig, injectFlowbiteModalContentState, injectFlowbiteModalFooterConfig, injectFlowbiteModalFooterState, injectFlowbiteModalHeaderConfig, injectFlowbiteModalHeaderState, injectFlowbiteModalOverlayConfig, injectFlowbiteModalOverlayState, injectFlowbiteModalState, provideFlowbiteModalConfig, provideFlowbiteModalContentConfig, provideFlowbiteModalContentState, provideFlowbiteModalFooterConfig, provideFlowbiteModalFooterState, provideFlowbiteModalHeaderConfig, provideFlowbiteModalHeaderState, provideFlowbiteModalOverlayConfig, provideFlowbiteModalOverlayState, provideFlowbiteModalState };
|
|
458
458
|
export type { FlowbiteModalConfig, FlowbiteModalContentConfig, FlowbiteModalContentHostTheme, FlowbiteModalContentTheme, FlowbiteModalFooterConfig, FlowbiteModalFooterHostTheme, FlowbiteModalFooterTheme, FlowbiteModalHeaderConfig, FlowbiteModalHeaderHostTheme, FlowbiteModalHeaderTheme, FlowbiteModalHostTheme, FlowbiteModalOverlayConfig, FlowbiteModalOverlayHostTheme, FlowbiteModalOverlayPositions, FlowbiteModalOverlayTheme, FlowbiteModalSizes, FlowbiteModalTheme };
|