flowbite-angular 20.0.6 → 20.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/fesm2022/flowbite-angular-clipboard.mjs +1 -1
- package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -1
- package/fesm2022/flowbite-angular-table.mjs +455 -0
- package/fesm2022/flowbite-angular-table.mjs.map +1 -0
- package/package.json +7 -3
- package/table/README.md +4 -0
- package/table/index.d.ts +763 -0
package/table/index.d.ts
ADDED
|
@@ -0,0 +1,763 @@
|
|
|
1
|
+
import * as ng_primitives_state from 'ng-primitives/state';
|
|
2
|
+
import * as flowbite_angular_table from 'flowbite-angular/table';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { InjectionToken, Provider, TemplateRef } from '@angular/core';
|
|
5
|
+
import { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
|
|
6
|
+
|
|
7
|
+
interface FlowbiteTableColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
|
|
8
|
+
[key: string]: ColorToTheme;
|
|
9
|
+
}
|
|
10
|
+
interface FlowbiteTableTheme {
|
|
11
|
+
host: FlowbiteTableHostTheme;
|
|
12
|
+
}
|
|
13
|
+
interface FlowbiteTableHostTheme {
|
|
14
|
+
base: string;
|
|
15
|
+
color: FlowbiteTableColors;
|
|
16
|
+
}
|
|
17
|
+
declare const flowbiteTableTheme: FlowbiteTableTheme;
|
|
18
|
+
|
|
19
|
+
interface FlowbiteTableConfig {
|
|
20
|
+
/**
|
|
21
|
+
* The default theme of table
|
|
22
|
+
*/
|
|
23
|
+
baseTheme: FlowbiteTableTheme;
|
|
24
|
+
/**
|
|
25
|
+
* The default color of table.
|
|
26
|
+
*/
|
|
27
|
+
color: keyof FlowbiteTableColors;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the table is striped.
|
|
30
|
+
*/
|
|
31
|
+
striped: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The custom theme of table
|
|
34
|
+
*/
|
|
35
|
+
customTheme: DeepPartial<FlowbiteTableTheme>;
|
|
36
|
+
}
|
|
37
|
+
declare const defaultFlowbiteTableConfig: FlowbiteTableConfig;
|
|
38
|
+
declare const FlowbiteTableConfigToken: InjectionToken<FlowbiteTableConfig>;
|
|
39
|
+
/**
|
|
40
|
+
* Provide the default Table configuration
|
|
41
|
+
* @param config The Table configuration
|
|
42
|
+
* @returns The provider
|
|
43
|
+
*/
|
|
44
|
+
declare const provideFlowbiteTableConfig: (config: Partial<FlowbiteTableConfig>) => Provider[];
|
|
45
|
+
/**
|
|
46
|
+
* Inject the Table configuration
|
|
47
|
+
* @see {@link defaultFlowbiteTableConfig}
|
|
48
|
+
* @returns The configuration
|
|
49
|
+
*/
|
|
50
|
+
declare const injectFlowbiteTableConfig: () => FlowbiteTableConfig;
|
|
51
|
+
|
|
52
|
+
declare class Table {
|
|
53
|
+
readonly config: FlowbiteTableConfig;
|
|
54
|
+
readonly tableHead: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
55
|
+
readonly tableBody: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
56
|
+
readonly data: _angular_core.InputSignal<unknown[] | undefined>;
|
|
57
|
+
readonly tableFoot: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link injectFlowbiteTableConfig}
|
|
60
|
+
*/
|
|
61
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_table.FlowbiteTableColors>;
|
|
62
|
+
/**
|
|
63
|
+
* @see {@link injectFlowbiteTableConfig}
|
|
64
|
+
*/
|
|
65
|
+
readonly striped: _angular_core.InputSignal<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link injectFlowbiteTableConfig}
|
|
68
|
+
*/
|
|
69
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
70
|
+
host?: {
|
|
71
|
+
base?: string | undefined;
|
|
72
|
+
color?: {
|
|
73
|
+
[x: string]: {
|
|
74
|
+
light?: string | undefined;
|
|
75
|
+
dark?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
default?: {
|
|
78
|
+
light?: string | undefined;
|
|
79
|
+
dark?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
info?: {
|
|
82
|
+
light?: string | undefined;
|
|
83
|
+
dark?: string | undefined;
|
|
84
|
+
} | undefined;
|
|
85
|
+
failure?: {
|
|
86
|
+
light?: string | undefined;
|
|
87
|
+
dark?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
success?: {
|
|
90
|
+
light?: string | undefined;
|
|
91
|
+
dark?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
93
|
+
warning?: {
|
|
94
|
+
light?: string | undefined;
|
|
95
|
+
dark?: string | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
primary?: {
|
|
98
|
+
light?: string | undefined;
|
|
99
|
+
dark?: string | undefined;
|
|
100
|
+
} | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
}>;
|
|
104
|
+
readonly theme: _angular_core.Signal<{
|
|
105
|
+
host: {
|
|
106
|
+
root: string;
|
|
107
|
+
};
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
readonly state: ng_primitives_state.CreatedState<Table>;
|
|
113
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Table, never>;
|
|
114
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<Table, " table[flowbiteTable] ", ["flowbiteTable"], { "tableHead": { "alias": "tableHead"; "required": false; "isSignal": true; }; "tableBody": { "alias": "tableBody"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "tableFoot": { "alias": "tableFoot"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "striped": { "alias": "striped"; "required": false; "isSignal": true; }; "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare const FlowbiteTableStateToken: _angular_core.InjectionToken<Table>;
|
|
118
|
+
declare const provideFlowbiteTableState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
119
|
+
declare const injectFlowbiteTableState: <U = {
|
|
120
|
+
readonly config: flowbite_angular_table.FlowbiteTableConfig;
|
|
121
|
+
readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
122
|
+
readonly tableBody: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
123
|
+
readonly data: _angular_core.InputSignal<unknown[] | undefined>;
|
|
124
|
+
readonly tableFoot: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
125
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_table.FlowbiteTableColors>;
|
|
126
|
+
readonly striped: _angular_core.InputSignal<boolean>;
|
|
127
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
128
|
+
host?: {
|
|
129
|
+
base?: string | undefined;
|
|
130
|
+
color?: {
|
|
131
|
+
[x: string]: {
|
|
132
|
+
light?: string | undefined;
|
|
133
|
+
dark?: string | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
default?: {
|
|
136
|
+
light?: string | undefined;
|
|
137
|
+
dark?: string | undefined;
|
|
138
|
+
} | undefined;
|
|
139
|
+
info?: {
|
|
140
|
+
light?: string | undefined;
|
|
141
|
+
dark?: string | undefined;
|
|
142
|
+
} | undefined;
|
|
143
|
+
failure?: {
|
|
144
|
+
light?: string | undefined;
|
|
145
|
+
dark?: string | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
success?: {
|
|
148
|
+
light?: string | undefined;
|
|
149
|
+
dark?: string | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
warning?: {
|
|
152
|
+
light?: string | undefined;
|
|
153
|
+
dark?: string | undefined;
|
|
154
|
+
} | undefined;
|
|
155
|
+
primary?: {
|
|
156
|
+
light?: string | undefined;
|
|
157
|
+
dark?: string | undefined;
|
|
158
|
+
} | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
}>;
|
|
162
|
+
readonly theme: _angular_core.Signal<{
|
|
163
|
+
host: {
|
|
164
|
+
root: string;
|
|
165
|
+
};
|
|
166
|
+
}>;
|
|
167
|
+
readonly state: ng_primitives_state.CreatedState<Table>;
|
|
168
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
169
|
+
declare const flowbiteTableState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
170
|
+
|
|
171
|
+
interface FlowbiteTableHeadTheme {
|
|
172
|
+
host: FlowbiteTableHeadHostTheme;
|
|
173
|
+
}
|
|
174
|
+
interface FlowbiteTableHeadHostTheme {
|
|
175
|
+
base: string;
|
|
176
|
+
color: FlowbiteTableColors;
|
|
177
|
+
}
|
|
178
|
+
declare const flowbiteTableHeadTheme: FlowbiteTableHeadTheme;
|
|
179
|
+
|
|
180
|
+
interface FlowbiteTableHeadConfig {
|
|
181
|
+
/**
|
|
182
|
+
* The default theme of table-head
|
|
183
|
+
*/
|
|
184
|
+
baseTheme: FlowbiteTableHeadTheme;
|
|
185
|
+
/**
|
|
186
|
+
* The custom theme of table-head
|
|
187
|
+
*/
|
|
188
|
+
customTheme: DeepPartial<FlowbiteTableHeadTheme>;
|
|
189
|
+
}
|
|
190
|
+
declare const defaultFlowbiteTableHeadConfig: FlowbiteTableHeadConfig;
|
|
191
|
+
declare const FlowbiteTableHeadConfigToken: InjectionToken<FlowbiteTableHeadConfig>;
|
|
192
|
+
/**
|
|
193
|
+
* Provide the default TableHead configuration
|
|
194
|
+
* @param config The TableHead configuration
|
|
195
|
+
* @returns The provider
|
|
196
|
+
*/
|
|
197
|
+
declare const provideFlowbiteTableHeadConfig: (config: Partial<FlowbiteTableHeadConfig>) => Provider[];
|
|
198
|
+
/**
|
|
199
|
+
* Inject the TableHead configuration
|
|
200
|
+
* @see {@link defaultFlowbiteTableHeadConfig}
|
|
201
|
+
* @returns The configuration
|
|
202
|
+
*/
|
|
203
|
+
declare const injectFlowbiteTableHeadConfig: () => FlowbiteTableHeadConfig;
|
|
204
|
+
|
|
205
|
+
declare class TableHead {
|
|
206
|
+
readonly config: FlowbiteTableHeadConfig;
|
|
207
|
+
readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
|
|
208
|
+
readonly config: flowbite_angular_table.FlowbiteTableConfig;
|
|
209
|
+
readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
210
|
+
readonly tableBody: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
211
|
+
readonly data: _angular_core.InputSignal<unknown[] | undefined>;
|
|
212
|
+
readonly tableFoot: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
213
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_table.FlowbiteTableColors>;
|
|
214
|
+
readonly striped: _angular_core.InputSignal<boolean>;
|
|
215
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
216
|
+
host?: {
|
|
217
|
+
base?: string | undefined;
|
|
218
|
+
color?: {
|
|
219
|
+
[x: string]: {
|
|
220
|
+
light?: string | undefined;
|
|
221
|
+
dark?: string | undefined;
|
|
222
|
+
} | undefined;
|
|
223
|
+
default?: {
|
|
224
|
+
light?: string | undefined;
|
|
225
|
+
dark?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
227
|
+
info?: {
|
|
228
|
+
light?: string | undefined;
|
|
229
|
+
dark?: string | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
failure?: {
|
|
232
|
+
light?: string | undefined;
|
|
233
|
+
dark?: string | undefined;
|
|
234
|
+
} | undefined;
|
|
235
|
+
success?: {
|
|
236
|
+
light?: string | undefined;
|
|
237
|
+
dark?: string | undefined;
|
|
238
|
+
} | undefined;
|
|
239
|
+
warning?: {
|
|
240
|
+
light?: string | undefined;
|
|
241
|
+
dark?: string | undefined;
|
|
242
|
+
} | undefined;
|
|
243
|
+
primary?: {
|
|
244
|
+
light?: string | undefined;
|
|
245
|
+
dark?: string | undefined;
|
|
246
|
+
} | undefined;
|
|
247
|
+
} | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
}>;
|
|
250
|
+
readonly theme: _angular_core.Signal<{
|
|
251
|
+
host: {
|
|
252
|
+
root: string;
|
|
253
|
+
};
|
|
254
|
+
}>;
|
|
255
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_table.Table>;
|
|
256
|
+
}>>;
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link injectFlowbiteTableHeadConfig}
|
|
259
|
+
*/
|
|
260
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
261
|
+
host?: {
|
|
262
|
+
base?: string | undefined;
|
|
263
|
+
color?: {
|
|
264
|
+
[x: string]: {
|
|
265
|
+
light?: string | undefined;
|
|
266
|
+
dark?: string | undefined;
|
|
267
|
+
} | undefined;
|
|
268
|
+
default?: {
|
|
269
|
+
light?: string | undefined;
|
|
270
|
+
dark?: string | undefined;
|
|
271
|
+
} | undefined;
|
|
272
|
+
info?: {
|
|
273
|
+
light?: string | undefined;
|
|
274
|
+
dark?: string | undefined;
|
|
275
|
+
} | undefined;
|
|
276
|
+
failure?: {
|
|
277
|
+
light?: string | undefined;
|
|
278
|
+
dark?: string | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
success?: {
|
|
281
|
+
light?: string | undefined;
|
|
282
|
+
dark?: string | undefined;
|
|
283
|
+
} | undefined;
|
|
284
|
+
warning?: {
|
|
285
|
+
light?: string | undefined;
|
|
286
|
+
dark?: string | undefined;
|
|
287
|
+
} | undefined;
|
|
288
|
+
primary?: {
|
|
289
|
+
light?: string | undefined;
|
|
290
|
+
dark?: string | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
} | undefined;
|
|
293
|
+
} | undefined;
|
|
294
|
+
}>;
|
|
295
|
+
readonly theme: _angular_core.Signal<{
|
|
296
|
+
host: {
|
|
297
|
+
root: string;
|
|
298
|
+
};
|
|
299
|
+
}>;
|
|
300
|
+
/**
|
|
301
|
+
* @internal
|
|
302
|
+
*/
|
|
303
|
+
readonly state: ng_primitives_state.CreatedState<TableHead>;
|
|
304
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableHead, never>;
|
|
305
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableHead, " tr[flowbiteTableHead] ", ["flowbiteTableHead"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
declare const FlowbiteTableHeadStateToken: _angular_core.InjectionToken<TableHead>;
|
|
309
|
+
declare const provideFlowbiteTableHeadState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
310
|
+
declare const injectFlowbiteTableHeadState: <U = {
|
|
311
|
+
readonly config: flowbite_angular_table.FlowbiteTableHeadConfig;
|
|
312
|
+
readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
|
|
313
|
+
readonly config: /*elided*/ any;
|
|
314
|
+
readonly tableHead: /*elided*/ any;
|
|
315
|
+
readonly tableBody: /*elided*/ any;
|
|
316
|
+
readonly data: /*elided*/ any;
|
|
317
|
+
readonly tableFoot: /*elided*/ any;
|
|
318
|
+
readonly color: /*elided*/ any;
|
|
319
|
+
readonly striped: /*elided*/ any;
|
|
320
|
+
readonly customTheme: /*elided*/ any;
|
|
321
|
+
readonly theme: /*elided*/ any;
|
|
322
|
+
readonly state: /*elided*/ any;
|
|
323
|
+
}>>;
|
|
324
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
325
|
+
host?: {
|
|
326
|
+
base?: string | undefined;
|
|
327
|
+
color?: {
|
|
328
|
+
[x: string]: {
|
|
329
|
+
light?: string | undefined;
|
|
330
|
+
dark?: string | undefined;
|
|
331
|
+
} | undefined;
|
|
332
|
+
default?: {
|
|
333
|
+
light?: string | undefined;
|
|
334
|
+
dark?: string | undefined;
|
|
335
|
+
} | undefined;
|
|
336
|
+
info?: {
|
|
337
|
+
light?: string | undefined;
|
|
338
|
+
dark?: string | undefined;
|
|
339
|
+
} | undefined;
|
|
340
|
+
failure?: {
|
|
341
|
+
light?: string | undefined;
|
|
342
|
+
dark?: string | undefined;
|
|
343
|
+
} | undefined;
|
|
344
|
+
success?: {
|
|
345
|
+
light?: string | undefined;
|
|
346
|
+
dark?: string | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
warning?: {
|
|
349
|
+
light?: string | undefined;
|
|
350
|
+
dark?: string | undefined;
|
|
351
|
+
} | undefined;
|
|
352
|
+
primary?: {
|
|
353
|
+
light?: string | undefined;
|
|
354
|
+
dark?: string | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
} | undefined;
|
|
357
|
+
} | undefined;
|
|
358
|
+
}>;
|
|
359
|
+
readonly theme: _angular_core.Signal<{
|
|
360
|
+
host: {
|
|
361
|
+
root: string;
|
|
362
|
+
};
|
|
363
|
+
}>;
|
|
364
|
+
readonly state: ng_primitives_state.CreatedState<TableHead>;
|
|
365
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
366
|
+
declare const flowbiteTableHeadState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
367
|
+
|
|
368
|
+
interface FlowbiteTableBodyTheme {
|
|
369
|
+
host: FlowbiteTableBodyHostTheme;
|
|
370
|
+
}
|
|
371
|
+
interface FlowbiteTableBodyHostTheme {
|
|
372
|
+
base: string;
|
|
373
|
+
color: FlowbiteTableColors;
|
|
374
|
+
}
|
|
375
|
+
declare const flowbiteTableBodyTheme: FlowbiteTableBodyTheme;
|
|
376
|
+
|
|
377
|
+
interface FlowbiteTableBodyConfig {
|
|
378
|
+
/**
|
|
379
|
+
* The default theme of table-body
|
|
380
|
+
*/
|
|
381
|
+
baseTheme: FlowbiteTableBodyTheme;
|
|
382
|
+
/**
|
|
383
|
+
* The custom theme of table-body
|
|
384
|
+
*/
|
|
385
|
+
customTheme: DeepPartial<FlowbiteTableBodyTheme>;
|
|
386
|
+
}
|
|
387
|
+
declare const defaultFlowbiteTableBodyConfig: FlowbiteTableBodyConfig;
|
|
388
|
+
declare const FlowbiteTableBodyConfigToken: InjectionToken<FlowbiteTableBodyConfig>;
|
|
389
|
+
/**
|
|
390
|
+
* Provide the default TableBody configuration
|
|
391
|
+
* @param config The TableBody configuration
|
|
392
|
+
* @returns The provider
|
|
393
|
+
*/
|
|
394
|
+
declare const provideFlowbiteTableBodyConfig: (config: Partial<FlowbiteTableBodyConfig>) => Provider[];
|
|
395
|
+
/**
|
|
396
|
+
* Inject the TableBody configuration
|
|
397
|
+
* @see {@link defaultFlowbiteTableBodyConfig}
|
|
398
|
+
* @returns The configuration
|
|
399
|
+
*/
|
|
400
|
+
declare const injectFlowbiteTableBodyConfig: () => FlowbiteTableBodyConfig;
|
|
401
|
+
|
|
402
|
+
declare class TableBody {
|
|
403
|
+
readonly config: FlowbiteTableBodyConfig;
|
|
404
|
+
readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
|
|
405
|
+
readonly config: flowbite_angular_table.FlowbiteTableConfig;
|
|
406
|
+
readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
407
|
+
readonly tableBody: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
408
|
+
readonly data: _angular_core.InputSignal<unknown[] | undefined>;
|
|
409
|
+
readonly tableFoot: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
410
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_table.FlowbiteTableColors>;
|
|
411
|
+
readonly striped: _angular_core.InputSignal<boolean>;
|
|
412
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
413
|
+
host?: {
|
|
414
|
+
base?: string | undefined;
|
|
415
|
+
color?: {
|
|
416
|
+
[x: string]: {
|
|
417
|
+
light?: string | undefined;
|
|
418
|
+
dark?: string | undefined;
|
|
419
|
+
} | undefined;
|
|
420
|
+
default?: {
|
|
421
|
+
light?: string | undefined;
|
|
422
|
+
dark?: string | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
info?: {
|
|
425
|
+
light?: string | undefined;
|
|
426
|
+
dark?: string | undefined;
|
|
427
|
+
} | undefined;
|
|
428
|
+
failure?: {
|
|
429
|
+
light?: string | undefined;
|
|
430
|
+
dark?: string | undefined;
|
|
431
|
+
} | undefined;
|
|
432
|
+
success?: {
|
|
433
|
+
light?: string | undefined;
|
|
434
|
+
dark?: string | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
warning?: {
|
|
437
|
+
light?: string | undefined;
|
|
438
|
+
dark?: string | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
primary?: {
|
|
441
|
+
light?: string | undefined;
|
|
442
|
+
dark?: string | undefined;
|
|
443
|
+
} | undefined;
|
|
444
|
+
} | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
}>;
|
|
447
|
+
readonly theme: _angular_core.Signal<{
|
|
448
|
+
host: {
|
|
449
|
+
root: string;
|
|
450
|
+
};
|
|
451
|
+
}>;
|
|
452
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_table.Table>;
|
|
453
|
+
}>>;
|
|
454
|
+
/**
|
|
455
|
+
* @see {@link injectFlowbiteTableBodyConfig}
|
|
456
|
+
*/
|
|
457
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
458
|
+
host?: {
|
|
459
|
+
base?: string | undefined;
|
|
460
|
+
color?: {
|
|
461
|
+
[x: string]: {
|
|
462
|
+
light?: string | undefined;
|
|
463
|
+
dark?: string | undefined;
|
|
464
|
+
} | undefined;
|
|
465
|
+
default?: {
|
|
466
|
+
light?: string | undefined;
|
|
467
|
+
dark?: string | undefined;
|
|
468
|
+
} | undefined;
|
|
469
|
+
info?: {
|
|
470
|
+
light?: string | undefined;
|
|
471
|
+
dark?: string | undefined;
|
|
472
|
+
} | undefined;
|
|
473
|
+
failure?: {
|
|
474
|
+
light?: string | undefined;
|
|
475
|
+
dark?: string | undefined;
|
|
476
|
+
} | undefined;
|
|
477
|
+
success?: {
|
|
478
|
+
light?: string | undefined;
|
|
479
|
+
dark?: string | undefined;
|
|
480
|
+
} | undefined;
|
|
481
|
+
warning?: {
|
|
482
|
+
light?: string | undefined;
|
|
483
|
+
dark?: string | undefined;
|
|
484
|
+
} | undefined;
|
|
485
|
+
primary?: {
|
|
486
|
+
light?: string | undefined;
|
|
487
|
+
dark?: string | undefined;
|
|
488
|
+
} | undefined;
|
|
489
|
+
} | undefined;
|
|
490
|
+
} | undefined;
|
|
491
|
+
}>;
|
|
492
|
+
readonly theme: _angular_core.Signal<{
|
|
493
|
+
host: {
|
|
494
|
+
root: string;
|
|
495
|
+
};
|
|
496
|
+
}>;
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
*/
|
|
500
|
+
readonly state: ng_primitives_state.CreatedState<TableBody>;
|
|
501
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableBody, never>;
|
|
502
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableBody, " tr[flowbiteTableBody] ", ["flowbiteTableBody"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
declare const FlowbiteTableBodyStateToken: _angular_core.InjectionToken<TableBody>;
|
|
506
|
+
declare const provideFlowbiteTableBodyState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
507
|
+
declare const injectFlowbiteTableBodyState: <U = {
|
|
508
|
+
readonly config: flowbite_angular_table.FlowbiteTableBodyConfig;
|
|
509
|
+
readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
|
|
510
|
+
readonly config: /*elided*/ any;
|
|
511
|
+
readonly tableHead: /*elided*/ any;
|
|
512
|
+
readonly tableBody: /*elided*/ any;
|
|
513
|
+
readonly data: /*elided*/ any;
|
|
514
|
+
readonly tableFoot: /*elided*/ any;
|
|
515
|
+
readonly color: /*elided*/ any;
|
|
516
|
+
readonly striped: /*elided*/ any;
|
|
517
|
+
readonly customTheme: /*elided*/ any;
|
|
518
|
+
readonly theme: /*elided*/ any;
|
|
519
|
+
readonly state: /*elided*/ any;
|
|
520
|
+
}>>;
|
|
521
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
522
|
+
host?: {
|
|
523
|
+
base?: string | undefined;
|
|
524
|
+
color?: {
|
|
525
|
+
[x: string]: {
|
|
526
|
+
light?: string | undefined;
|
|
527
|
+
dark?: string | undefined;
|
|
528
|
+
} | undefined;
|
|
529
|
+
default?: {
|
|
530
|
+
light?: string | undefined;
|
|
531
|
+
dark?: string | undefined;
|
|
532
|
+
} | undefined;
|
|
533
|
+
info?: {
|
|
534
|
+
light?: string | undefined;
|
|
535
|
+
dark?: string | undefined;
|
|
536
|
+
} | undefined;
|
|
537
|
+
failure?: {
|
|
538
|
+
light?: string | undefined;
|
|
539
|
+
dark?: string | undefined;
|
|
540
|
+
} | undefined;
|
|
541
|
+
success?: {
|
|
542
|
+
light?: string | undefined;
|
|
543
|
+
dark?: string | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
warning?: {
|
|
546
|
+
light?: string | undefined;
|
|
547
|
+
dark?: string | undefined;
|
|
548
|
+
} | undefined;
|
|
549
|
+
primary?: {
|
|
550
|
+
light?: string | undefined;
|
|
551
|
+
dark?: string | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
} | undefined;
|
|
555
|
+
}>;
|
|
556
|
+
readonly theme: _angular_core.Signal<{
|
|
557
|
+
host: {
|
|
558
|
+
root: string;
|
|
559
|
+
};
|
|
560
|
+
}>;
|
|
561
|
+
readonly state: ng_primitives_state.CreatedState<TableBody>;
|
|
562
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
563
|
+
declare const flowbiteTableBodyState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
564
|
+
|
|
565
|
+
interface FlowbiteTableFootTheme {
|
|
566
|
+
host: FlowbiteTableFootHostTheme;
|
|
567
|
+
}
|
|
568
|
+
interface FlowbiteTableFootHostTheme {
|
|
569
|
+
base: string;
|
|
570
|
+
color: FlowbiteTableColors;
|
|
571
|
+
}
|
|
572
|
+
declare const flowbiteTableFootTheme: FlowbiteTableFootTheme;
|
|
573
|
+
|
|
574
|
+
interface FlowbiteTableFootConfig {
|
|
575
|
+
/**
|
|
576
|
+
* The default theme of table-foot
|
|
577
|
+
*/
|
|
578
|
+
baseTheme: FlowbiteTableFootTheme;
|
|
579
|
+
/**
|
|
580
|
+
* The custom theme of table-foot
|
|
581
|
+
*/
|
|
582
|
+
customTheme: DeepPartial<FlowbiteTableFootTheme>;
|
|
583
|
+
}
|
|
584
|
+
declare const defaultFlowbiteTableFootConfig: FlowbiteTableFootConfig;
|
|
585
|
+
declare const FlowbiteTableFootConfigToken: InjectionToken<FlowbiteTableFootConfig>;
|
|
586
|
+
/**
|
|
587
|
+
* Provide the default TableFoot configuration
|
|
588
|
+
* @param config The TableFoot configuration
|
|
589
|
+
* @returns The provider
|
|
590
|
+
*/
|
|
591
|
+
declare const provideFlowbiteTableFootConfig: (config: Partial<FlowbiteTableFootConfig>) => Provider[];
|
|
592
|
+
/**
|
|
593
|
+
* Inject the TableFoot configuration
|
|
594
|
+
* @see {@link defaultFlowbiteTableFootConfig}
|
|
595
|
+
* @returns The configuration
|
|
596
|
+
*/
|
|
597
|
+
declare const injectFlowbiteTableFootConfig: () => FlowbiteTableFootConfig;
|
|
598
|
+
|
|
599
|
+
declare class TableFoot {
|
|
600
|
+
readonly config: FlowbiteTableFootConfig;
|
|
601
|
+
readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
|
|
602
|
+
readonly config: flowbite_angular_table.FlowbiteTableConfig;
|
|
603
|
+
readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
604
|
+
readonly tableBody: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
605
|
+
readonly data: _angular_core.InputSignal<unknown[] | undefined>;
|
|
606
|
+
readonly tableFoot: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
|
|
607
|
+
readonly color: _angular_core.InputSignal<keyof flowbite_angular_table.FlowbiteTableColors>;
|
|
608
|
+
readonly striped: _angular_core.InputSignal<boolean>;
|
|
609
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
610
|
+
host?: {
|
|
611
|
+
base?: string | undefined;
|
|
612
|
+
color?: {
|
|
613
|
+
[x: string]: {
|
|
614
|
+
light?: string | undefined;
|
|
615
|
+
dark?: string | undefined;
|
|
616
|
+
} | undefined;
|
|
617
|
+
default?: {
|
|
618
|
+
light?: string | undefined;
|
|
619
|
+
dark?: string | undefined;
|
|
620
|
+
} | undefined;
|
|
621
|
+
info?: {
|
|
622
|
+
light?: string | undefined;
|
|
623
|
+
dark?: string | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
failure?: {
|
|
626
|
+
light?: string | undefined;
|
|
627
|
+
dark?: string | undefined;
|
|
628
|
+
} | undefined;
|
|
629
|
+
success?: {
|
|
630
|
+
light?: string | undefined;
|
|
631
|
+
dark?: string | undefined;
|
|
632
|
+
} | undefined;
|
|
633
|
+
warning?: {
|
|
634
|
+
light?: string | undefined;
|
|
635
|
+
dark?: string | undefined;
|
|
636
|
+
} | undefined;
|
|
637
|
+
primary?: {
|
|
638
|
+
light?: string | undefined;
|
|
639
|
+
dark?: string | undefined;
|
|
640
|
+
} | undefined;
|
|
641
|
+
} | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
}>;
|
|
644
|
+
readonly theme: _angular_core.Signal<{
|
|
645
|
+
host: {
|
|
646
|
+
root: string;
|
|
647
|
+
};
|
|
648
|
+
}>;
|
|
649
|
+
readonly state: ng_primitives_state.CreatedState<flowbite_angular_table.Table>;
|
|
650
|
+
}>>;
|
|
651
|
+
/**
|
|
652
|
+
* @see {@link injectFlowbiteTableFootConfig}
|
|
653
|
+
*/
|
|
654
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
655
|
+
host?: {
|
|
656
|
+
base?: string | undefined;
|
|
657
|
+
color?: {
|
|
658
|
+
[x: string]: {
|
|
659
|
+
light?: string | undefined;
|
|
660
|
+
dark?: string | undefined;
|
|
661
|
+
} | undefined;
|
|
662
|
+
default?: {
|
|
663
|
+
light?: string | undefined;
|
|
664
|
+
dark?: string | undefined;
|
|
665
|
+
} | undefined;
|
|
666
|
+
info?: {
|
|
667
|
+
light?: string | undefined;
|
|
668
|
+
dark?: string | undefined;
|
|
669
|
+
} | undefined;
|
|
670
|
+
failure?: {
|
|
671
|
+
light?: string | undefined;
|
|
672
|
+
dark?: string | undefined;
|
|
673
|
+
} | undefined;
|
|
674
|
+
success?: {
|
|
675
|
+
light?: string | undefined;
|
|
676
|
+
dark?: string | undefined;
|
|
677
|
+
} | undefined;
|
|
678
|
+
warning?: {
|
|
679
|
+
light?: string | undefined;
|
|
680
|
+
dark?: string | undefined;
|
|
681
|
+
} | undefined;
|
|
682
|
+
primary?: {
|
|
683
|
+
light?: string | undefined;
|
|
684
|
+
dark?: string | undefined;
|
|
685
|
+
} | undefined;
|
|
686
|
+
} | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
}>;
|
|
689
|
+
readonly theme: _angular_core.Signal<{
|
|
690
|
+
host: {
|
|
691
|
+
root: string;
|
|
692
|
+
};
|
|
693
|
+
}>;
|
|
694
|
+
/**
|
|
695
|
+
* @internal
|
|
696
|
+
*/
|
|
697
|
+
readonly state: ng_primitives_state.CreatedState<TableFoot>;
|
|
698
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableFoot, never>;
|
|
699
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TableFoot, " tr[flowbiteTableFoot] ", ["flowbiteTableFoot"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
declare const FlowbiteTableFootStateToken: _angular_core.InjectionToken<TableFoot>;
|
|
703
|
+
declare const provideFlowbiteTableFootState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
|
|
704
|
+
declare const injectFlowbiteTableFootState: <U = {
|
|
705
|
+
readonly config: flowbite_angular_table.FlowbiteTableFootConfig;
|
|
706
|
+
readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
|
|
707
|
+
readonly config: /*elided*/ any;
|
|
708
|
+
readonly tableHead: /*elided*/ any;
|
|
709
|
+
readonly tableBody: /*elided*/ any;
|
|
710
|
+
readonly data: /*elided*/ any;
|
|
711
|
+
readonly tableFoot: /*elided*/ any;
|
|
712
|
+
readonly color: /*elided*/ any;
|
|
713
|
+
readonly striped: /*elided*/ any;
|
|
714
|
+
readonly customTheme: /*elided*/ any;
|
|
715
|
+
readonly theme: /*elided*/ any;
|
|
716
|
+
readonly state: /*elided*/ any;
|
|
717
|
+
}>>;
|
|
718
|
+
readonly customTheme: _angular_core.InputSignal<{
|
|
719
|
+
host?: {
|
|
720
|
+
base?: string | undefined;
|
|
721
|
+
color?: {
|
|
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
|
+
readonly state: ng_primitives_state.CreatedState<TableFoot>;
|
|
759
|
+
}>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
|
|
760
|
+
declare const flowbiteTableFootState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
|
|
761
|
+
|
|
762
|
+
export { FlowbiteTableBodyConfigToken, FlowbiteTableBodyStateToken, FlowbiteTableConfigToken, FlowbiteTableFootConfigToken, FlowbiteTableFootStateToken, FlowbiteTableHeadConfigToken, FlowbiteTableHeadStateToken, FlowbiteTableStateToken, Table, TableBody, TableFoot, TableHead, defaultFlowbiteTableBodyConfig, defaultFlowbiteTableConfig, defaultFlowbiteTableFootConfig, defaultFlowbiteTableHeadConfig, flowbiteTableBodyState, flowbiteTableBodyTheme, flowbiteTableFootState, flowbiteTableFootTheme, flowbiteTableHeadState, flowbiteTableHeadTheme, flowbiteTableState, flowbiteTableTheme, injectFlowbiteTableBodyConfig, injectFlowbiteTableBodyState, injectFlowbiteTableConfig, injectFlowbiteTableFootConfig, injectFlowbiteTableFootState, injectFlowbiteTableHeadConfig, injectFlowbiteTableHeadState, injectFlowbiteTableState, provideFlowbiteTableBodyConfig, provideFlowbiteTableBodyState, provideFlowbiteTableConfig, provideFlowbiteTableFootConfig, provideFlowbiteTableFootState, provideFlowbiteTableHeadConfig, provideFlowbiteTableHeadState, provideFlowbiteTableState };
|
|
763
|
+
export type { FlowbiteTableBodyConfig, FlowbiteTableBodyHostTheme, FlowbiteTableBodyTheme, FlowbiteTableColors, FlowbiteTableConfig, FlowbiteTableFootConfig, FlowbiteTableFootHostTheme, FlowbiteTableFootTheme, FlowbiteTableHeadConfig, FlowbiteTableHeadHostTheme, FlowbiteTableHeadTheme, FlowbiteTableHostTheme, FlowbiteTableTheme };
|