@fkui/vue 6.3.1 → 6.5.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/dist/cjs/cypress.cjs.js +40 -8
- package/dist/cjs/cypress.cjs.js.map +2 -2
- package/dist/cjs/index.cjs.js +439 -269
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +40 -8
- package/dist/esm/cypress.esm.js.map +2 -2
- package/dist/esm/index.esm.js +441 -271
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/cypress.d.ts +16 -6
- package/dist/types/index.d.ts +328 -188
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/configs/recommended.js +1 -0
- package/htmlvalidate/elements/components.js +2 -2
- package/htmlvalidate/rules/ftablecolumn-name.rule.js +58 -0
- package/htmlvalidate/rules/index.js +2 -0
- package/package.json +5 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -136,13 +136,190 @@ onUpdate?: (() => any) | undefined;
|
|
|
136
136
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
137
137
|
|
|
138
138
|
declare const __VLS_component_4: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {
|
|
139
|
-
disabled: boolean;
|
|
140
139
|
min: string;
|
|
141
140
|
max: string;
|
|
142
141
|
initial: string;
|
|
143
142
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
144
143
|
|
|
145
|
-
declare const __VLS_component_5: DefineComponent<
|
|
144
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes< {
|
|
145
|
+
/**
|
|
146
|
+
* Unique (per-table) identifier. Typically set to the row
|
|
147
|
+
* property displayed but any unique string can be used.
|
|
148
|
+
*
|
|
149
|
+
* Only required when used with `FSortFilterDataset`.
|
|
150
|
+
*/
|
|
151
|
+
name: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
default: undefined;
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* If set to true, display the column, set to false to hide it.
|
|
157
|
+
*/
|
|
158
|
+
visible: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
/**
|
|
163
|
+
* If `true` this cell will be a row header (`<th>` as opposed to
|
|
164
|
+
* `<td>`).
|
|
165
|
+
*/
|
|
166
|
+
rowHeader: {
|
|
167
|
+
type: BooleanConstructor;
|
|
168
|
+
required: false;
|
|
169
|
+
default: boolean;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Text to show in column header. In order to force newlines use `\n`.
|
|
173
|
+
*/
|
|
174
|
+
title: {
|
|
175
|
+
type: StringConstructor;
|
|
176
|
+
required: true;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* Additional column description.
|
|
180
|
+
*/
|
|
181
|
+
description: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
required: false;
|
|
184
|
+
default: string;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Set this column to shrink as small as possible.
|
|
188
|
+
*
|
|
189
|
+
* Cannot be combined with `expand`
|
|
190
|
+
*/
|
|
191
|
+
shrink: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
required: false;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Set this column to expand as large as possible.
|
|
198
|
+
*
|
|
199
|
+
* Cannot be combined with `shrink`
|
|
200
|
+
*
|
|
201
|
+
* Default if neither `expand` or `shrink` is set.
|
|
202
|
+
*/
|
|
203
|
+
expand: {
|
|
204
|
+
type: BooleanConstructor;
|
|
205
|
+
required: false;
|
|
206
|
+
default: boolean;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Type of data the rows contains.
|
|
210
|
+
*
|
|
211
|
+
* Applies proper alignment and some styling (e.g. "numeric" uses fixed
|
|
212
|
+
* width numbers).
|
|
213
|
+
*
|
|
214
|
+
* Can be one of the following values:
|
|
215
|
+
*
|
|
216
|
+
* - `"text"`: regular text data (default)
|
|
217
|
+
* - `"date"`: date (should be YYYY-MM-DD)
|
|
218
|
+
* - `"numeric"`: numeric data
|
|
219
|
+
* - `"action"`: buttons to perform actions on row
|
|
220
|
+
*/
|
|
221
|
+
type: {
|
|
222
|
+
type: PropType<"text" | "date" | "numeric" | "action">;
|
|
223
|
+
required: false;
|
|
224
|
+
default: FTableColumnType;
|
|
225
|
+
validator(value: string): value is FTableColumnType;
|
|
226
|
+
};
|
|
227
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
228
|
+
/**
|
|
229
|
+
* Unique (per-table) identifier. Typically set to the row
|
|
230
|
+
* property displayed but any unique string can be used.
|
|
231
|
+
*
|
|
232
|
+
* Only required when used with `FSortFilterDataset`.
|
|
233
|
+
*/
|
|
234
|
+
name: {
|
|
235
|
+
type: StringConstructor;
|
|
236
|
+
default: undefined;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* If set to true, display the column, set to false to hide it.
|
|
240
|
+
*/
|
|
241
|
+
visible: {
|
|
242
|
+
type: BooleanConstructor;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* If `true` this cell will be a row header (`<th>` as opposed to
|
|
247
|
+
* `<td>`).
|
|
248
|
+
*/
|
|
249
|
+
rowHeader: {
|
|
250
|
+
type: BooleanConstructor;
|
|
251
|
+
required: false;
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Text to show in column header. In order to force newlines use `\n`.
|
|
256
|
+
*/
|
|
257
|
+
title: {
|
|
258
|
+
type: StringConstructor;
|
|
259
|
+
required: true;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* Additional column description.
|
|
263
|
+
*/
|
|
264
|
+
description: {
|
|
265
|
+
type: StringConstructor;
|
|
266
|
+
required: false;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Set this column to shrink as small as possible.
|
|
271
|
+
*
|
|
272
|
+
* Cannot be combined with `expand`
|
|
273
|
+
*/
|
|
274
|
+
shrink: {
|
|
275
|
+
type: BooleanConstructor;
|
|
276
|
+
required: false;
|
|
277
|
+
default: boolean;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Set this column to expand as large as possible.
|
|
281
|
+
*
|
|
282
|
+
* Cannot be combined with `shrink`
|
|
283
|
+
*
|
|
284
|
+
* Default if neither `expand` or `shrink` is set.
|
|
285
|
+
*/
|
|
286
|
+
expand: {
|
|
287
|
+
type: BooleanConstructor;
|
|
288
|
+
required: false;
|
|
289
|
+
default: boolean;
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Type of data the rows contains.
|
|
293
|
+
*
|
|
294
|
+
* Applies proper alignment and some styling (e.g. "numeric" uses fixed
|
|
295
|
+
* width numbers).
|
|
296
|
+
*
|
|
297
|
+
* Can be one of the following values:
|
|
298
|
+
*
|
|
299
|
+
* - `"text"`: regular text data (default)
|
|
300
|
+
* - `"date"`: date (should be YYYY-MM-DD)
|
|
301
|
+
* - `"numeric"`: numeric data
|
|
302
|
+
* - `"action"`: buttons to perform actions on row
|
|
303
|
+
*/
|
|
304
|
+
type: {
|
|
305
|
+
type: PropType<"text" | "date" | "numeric" | "action">;
|
|
306
|
+
required: false;
|
|
307
|
+
default: FTableColumnType;
|
|
308
|
+
validator(value: string): value is FTableColumnType;
|
|
309
|
+
};
|
|
310
|
+
}>> & Readonly<{}>, {
|
|
311
|
+
type: "text" | "date" | "action" | "numeric";
|
|
312
|
+
name: string;
|
|
313
|
+
description: string;
|
|
314
|
+
shrink: boolean;
|
|
315
|
+
expand: boolean;
|
|
316
|
+
visible: boolean;
|
|
317
|
+
rowHeader: boolean;
|
|
318
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
319
|
+
element: unknown;
|
|
320
|
+
}, any>;
|
|
321
|
+
|
|
322
|
+
declare const __VLS_component_6: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
146
323
|
close: () => any;
|
|
147
324
|
}, string, PublicProps, Readonly<IPopupListboxProps> & Readonly<{
|
|
148
325
|
onClose?: (() => any) | undefined;
|
|
@@ -177,10 +354,6 @@ declare type __VLS_Props = {
|
|
|
177
354
|
};
|
|
178
355
|
|
|
179
356
|
declare type __VLS_Props_2 = {
|
|
180
|
-
/**
|
|
181
|
-
* Disables resizing. The current size is locked.
|
|
182
|
-
*/
|
|
183
|
-
disabled?: boolean;
|
|
184
357
|
/**
|
|
185
358
|
* Minimal size of pane.
|
|
186
359
|
*
|
|
@@ -259,6 +432,17 @@ declare function __VLS_template_4(): {
|
|
|
259
432
|
};
|
|
260
433
|
|
|
261
434
|
declare function __VLS_template_5(): {
|
|
435
|
+
attrs: Partial<{}>;
|
|
436
|
+
slots: {
|
|
437
|
+
default?(_: {}): any;
|
|
438
|
+
};
|
|
439
|
+
refs: {
|
|
440
|
+
element: unknown;
|
|
441
|
+
};
|
|
442
|
+
rootEl: any;
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
declare function __VLS_template_6(): {
|
|
262
446
|
attrs: Partial<{}>;
|
|
263
447
|
slots: {
|
|
264
448
|
default?(_: {}): any;
|
|
@@ -281,6 +465,8 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
|
281
465
|
|
|
282
466
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
283
467
|
|
|
468
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
469
|
+
|
|
284
470
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
285
471
|
new (): {
|
|
286
472
|
$slots: S;
|
|
@@ -311,6 +497,12 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
|
311
497
|
};
|
|
312
498
|
};
|
|
313
499
|
|
|
500
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
501
|
+
new (): {
|
|
502
|
+
$slots: S;
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
|
|
314
506
|
/* Excluded from this release type: actionFromKeyboardEvent */
|
|
315
507
|
|
|
316
508
|
/**
|
|
@@ -3297,19 +3489,33 @@ rotate: string;
|
|
|
3297
3489
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3298
3490
|
|
|
3299
3491
|
export declare const FCrudButton: DefineComponent<ExtractPropTypes< {
|
|
3492
|
+
/**
|
|
3493
|
+
* The action to be performed by the button.
|
|
3494
|
+
* Must be one of the following values: "delete" or "modify".
|
|
3495
|
+
*/
|
|
3300
3496
|
action: {
|
|
3301
3497
|
type: StringConstructor;
|
|
3302
3498
|
required: true;
|
|
3303
3499
|
validator(value: string): boolean;
|
|
3304
3500
|
};
|
|
3501
|
+
/**
|
|
3502
|
+
* Determines if an icon should be displayed on the button.
|
|
3503
|
+
*/
|
|
3305
3504
|
icon: {
|
|
3306
3505
|
type: BooleanConstructor;
|
|
3307
3506
|
default: boolean;
|
|
3308
3507
|
};
|
|
3508
|
+
/**
|
|
3509
|
+
* The item that the action will be performed on.
|
|
3510
|
+
*/
|
|
3309
3511
|
item: {
|
|
3310
3512
|
type: ObjectConstructor;
|
|
3311
3513
|
required: true;
|
|
3312
3514
|
};
|
|
3515
|
+
/**
|
|
3516
|
+
* Determines if the button should display a label.
|
|
3517
|
+
* If false, the button will use a visually hidden text for accessibility.
|
|
3518
|
+
*/
|
|
3313
3519
|
label: {
|
|
3314
3520
|
type: BooleanConstructor;
|
|
3315
3521
|
default: boolean;
|
|
@@ -3320,19 +3526,33 @@ buttonText(): string;
|
|
|
3320
3526
|
}, {
|
|
3321
3527
|
executeAction(): void;
|
|
3322
3528
|
}, ComponentOptions, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3529
|
+
/**
|
|
3530
|
+
* The action to be performed by the button.
|
|
3531
|
+
* Must be one of the following values: "delete" or "modify".
|
|
3532
|
+
*/
|
|
3323
3533
|
action: {
|
|
3324
3534
|
type: StringConstructor;
|
|
3325
3535
|
required: true;
|
|
3326
3536
|
validator(value: string): boolean;
|
|
3327
3537
|
};
|
|
3538
|
+
/**
|
|
3539
|
+
* Determines if an icon should be displayed on the button.
|
|
3540
|
+
*/
|
|
3328
3541
|
icon: {
|
|
3329
3542
|
type: BooleanConstructor;
|
|
3330
3543
|
default: boolean;
|
|
3331
3544
|
};
|
|
3545
|
+
/**
|
|
3546
|
+
* The item that the action will be performed on.
|
|
3547
|
+
*/
|
|
3332
3548
|
item: {
|
|
3333
3549
|
type: ObjectConstructor;
|
|
3334
3550
|
required: true;
|
|
3335
3551
|
};
|
|
3552
|
+
/**
|
|
3553
|
+
* Determines if the button should display a label.
|
|
3554
|
+
* If false, the button will use a visually hidden text for accessibility.
|
|
3555
|
+
*/
|
|
3336
3556
|
label: {
|
|
3337
3557
|
type: BooleanConstructor;
|
|
3338
3558
|
default: boolean;
|
|
@@ -3428,6 +3648,9 @@ export declare const FCrudDataset: <T>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
3428
3648
|
slots: {
|
|
3429
3649
|
default?(_: {}): any;
|
|
3430
3650
|
'add-button'?(_: {}): any;
|
|
3651
|
+
buttons?(_: {
|
|
3652
|
+
buttonClasses: string[];
|
|
3653
|
+
}): any;
|
|
3431
3654
|
add?(_: {
|
|
3432
3655
|
item: NonNullable<DistributeRef<[T | null] extends [Ref<any, any>] ? IfAny<Ref<any, any> & T, Ref<Ref<any, any> & T, Ref<any, any> & T>, Ref<any, any> & T> : Ref<UnwrapRef<T> | null, T | UnwrapRef<T> | null>>>;
|
|
3433
3656
|
}): any;
|
|
@@ -3934,6 +4157,9 @@ export declare const FDataTable: <T extends object>(__VLS_props: NonNullable<Awa
|
|
|
3934
4157
|
attrs: any;
|
|
3935
4158
|
slots: {
|
|
3936
4159
|
caption?(_: {}): any;
|
|
4160
|
+
default?(_: {
|
|
4161
|
+
row: {};
|
|
4162
|
+
}): any;
|
|
3937
4163
|
default?(_: {
|
|
3938
4164
|
row: T;
|
|
3939
4165
|
}): any;
|
|
@@ -6005,6 +6231,10 @@ type: NumberConstructor;
|
|
|
6005
6231
|
required: false;
|
|
6006
6232
|
default: number;
|
|
6007
6233
|
};
|
|
6234
|
+
/**
|
|
6235
|
+
* Text template for the screen reader notification text.
|
|
6236
|
+
* Use `%VALUE%` as a placeholder for the number of notifications.
|
|
6237
|
+
*/
|
|
6008
6238
|
screenReaderNotificationTemplate: {
|
|
6009
6239
|
type: StringConstructor;
|
|
6010
6240
|
required: false;
|
|
@@ -6054,6 +6284,10 @@ type: NumberConstructor;
|
|
|
6054
6284
|
required: false;
|
|
6055
6285
|
default: number;
|
|
6056
6286
|
};
|
|
6287
|
+
/**
|
|
6288
|
+
* Text template for the screen reader notification text.
|
|
6289
|
+
* Use `%VALUE%` as a placeholder for the number of notifications.
|
|
6290
|
+
*/
|
|
6057
6291
|
screenReaderNotificationTemplate: {
|
|
6058
6292
|
type: StringConstructor;
|
|
6059
6293
|
required: false;
|
|
@@ -6748,6 +6982,9 @@ type: StringConstructor;
|
|
|
6748
6982
|
required: false;
|
|
6749
6983
|
default: () => string;
|
|
6750
6984
|
};
|
|
6985
|
+
/**
|
|
6986
|
+
* Disables the file selector.
|
|
6987
|
+
*/
|
|
6751
6988
|
disabled: {
|
|
6752
6989
|
type: BooleanConstructor;
|
|
6753
6990
|
required: false;
|
|
@@ -6771,6 +7008,9 @@ type: StringConstructor;
|
|
|
6771
7008
|
required: false;
|
|
6772
7009
|
default: () => string;
|
|
6773
7010
|
};
|
|
7011
|
+
/**
|
|
7012
|
+
* Disables the file selector.
|
|
7013
|
+
*/
|
|
6774
7014
|
disabled: {
|
|
6775
7015
|
type: BooleanConstructor;
|
|
6776
7016
|
required: false;
|
|
@@ -6922,6 +7162,14 @@ type: PropType<FValidationFormCallback>;
|
|
|
6922
7162
|
required: false;
|
|
6923
7163
|
default(): void;
|
|
6924
7164
|
};
|
|
7165
|
+
/**
|
|
7166
|
+
* List of buttons to display in the modal.
|
|
7167
|
+
* Each button is defined as an FModalButtonDescriptor with the following properties:
|
|
7168
|
+
* - `label` (String): The text displayed on the button.
|
|
7169
|
+
* - `event` (String): The event emitted when the button is clicked.
|
|
7170
|
+
* - `type` (String): The button type. Valid values are: "primary" or "secondary".
|
|
7171
|
+
* - `submitButton` (Boolean): Whether the button is a submit button.
|
|
7172
|
+
*/
|
|
6925
7173
|
buttons: {
|
|
6926
7174
|
type: PropType<FModalButtonDescriptor[]>;
|
|
6927
7175
|
required: false;
|
|
@@ -7017,6 +7265,14 @@ type: PropType<FValidationFormCallback>;
|
|
|
7017
7265
|
required: false;
|
|
7018
7266
|
default(): void;
|
|
7019
7267
|
};
|
|
7268
|
+
/**
|
|
7269
|
+
* List of buttons to display in the modal.
|
|
7270
|
+
* Each button is defined as an FModalButtonDescriptor with the following properties:
|
|
7271
|
+
* - `label` (String): The text displayed on the button.
|
|
7272
|
+
* - `event` (String): The event emitted when the button is clicked.
|
|
7273
|
+
* - `type` (String): The button type. Valid values are: "primary" or "secondary".
|
|
7274
|
+
* - `submitButton` (Boolean): Whether the button is a submit button.
|
|
7275
|
+
*/
|
|
7020
7276
|
buttons: {
|
|
7021
7277
|
type: PropType<FModalButtonDescriptor[]>;
|
|
7022
7278
|
required: false;
|
|
@@ -7666,8 +7922,8 @@ export declare const FInteractiveTable: <T extends object, K extends keyof T>(__
|
|
|
7666
7922
|
slots: {
|
|
7667
7923
|
'row-description'?(_: {}): any;
|
|
7668
7924
|
caption?(_: {}): any;
|
|
7669
|
-
|
|
7670
|
-
row:
|
|
7925
|
+
default?(_: {
|
|
7926
|
+
row: {};
|
|
7671
7927
|
}): any;
|
|
7672
7928
|
default?(_: {
|
|
7673
7929
|
row: T;
|
|
@@ -7681,6 +7937,9 @@ export declare const FInteractiveTable: <T extends object, K extends keyof T>(__
|
|
|
7681
7937
|
default?(_: {
|
|
7682
7938
|
row: T;
|
|
7683
7939
|
}): any;
|
|
7940
|
+
'checkbox-description'?(_: {
|
|
7941
|
+
row: T;
|
|
7942
|
+
}): any;
|
|
7684
7943
|
expandable?(_: {
|
|
7685
7944
|
expandableRow: T;
|
|
7686
7945
|
parentRow: T;
|
|
@@ -14055,191 +14314,14 @@ rotate: string;
|
|
|
14055
14314
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14056
14315
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14057
14316
|
|
|
14058
|
-
export declare const FTableColumn:
|
|
14059
|
-
/**
|
|
14060
|
-
* Unique (per-table) identifier.
|
|
14061
|
-
*
|
|
14062
|
-
* Typically set to the row property displayed but any unique string can
|
|
14063
|
-
* be used.
|
|
14064
|
-
*/
|
|
14065
|
-
name: {
|
|
14066
|
-
type: StringConstructor;
|
|
14067
|
-
required: true;
|
|
14068
|
-
};
|
|
14069
|
-
/**
|
|
14070
|
-
* If set to true, display the column, set to false to hide it.
|
|
14071
|
-
*/
|
|
14072
|
-
visible: {
|
|
14073
|
-
type: BooleanConstructor;
|
|
14074
|
-
default: boolean;
|
|
14075
|
-
};
|
|
14076
|
-
/**
|
|
14077
|
-
* If `true` this cell will be a row header (`<th>` as opposed to
|
|
14078
|
-
* `<td>`).
|
|
14079
|
-
*/
|
|
14080
|
-
rowHeader: {
|
|
14081
|
-
type: BooleanConstructor;
|
|
14082
|
-
required: false;
|
|
14083
|
-
default: boolean;
|
|
14084
|
-
};
|
|
14085
|
-
/**
|
|
14086
|
-
* Text to show in column header. In order to force newlines use `\n`.
|
|
14087
|
-
*/
|
|
14088
|
-
title: {
|
|
14089
|
-
type: StringConstructor;
|
|
14090
|
-
required: true;
|
|
14091
|
-
};
|
|
14092
|
-
/**
|
|
14093
|
-
* Additional column description.
|
|
14094
|
-
*/
|
|
14095
|
-
description: {
|
|
14096
|
-
type: StringConstructor;
|
|
14097
|
-
required: false;
|
|
14098
|
-
default: string;
|
|
14099
|
-
};
|
|
14100
|
-
/**
|
|
14101
|
-
* Set this column to shrink as small as possible.
|
|
14102
|
-
*
|
|
14103
|
-
* Cannot be combined with `expand`
|
|
14104
|
-
*/
|
|
14105
|
-
shrink: {
|
|
14106
|
-
type: BooleanConstructor;
|
|
14107
|
-
required: false;
|
|
14108
|
-
default: boolean;
|
|
14109
|
-
};
|
|
14110
|
-
/**
|
|
14111
|
-
* Set this column to expand as large as possible.
|
|
14112
|
-
*
|
|
14113
|
-
* Cannot be combined with `shrink`
|
|
14114
|
-
*
|
|
14115
|
-
* Default if neither `expand` or `shrink` is set.
|
|
14116
|
-
*/
|
|
14117
|
-
expand: {
|
|
14118
|
-
type: BooleanConstructor;
|
|
14119
|
-
required: false;
|
|
14120
|
-
default: boolean;
|
|
14121
|
-
};
|
|
14122
|
-
/**
|
|
14123
|
-
* Type of data the rows contains.
|
|
14124
|
-
*
|
|
14125
|
-
* Applies proper alignment and some styling (e.g. "numeric" uses fixed
|
|
14126
|
-
* width numbers).
|
|
14127
|
-
*
|
|
14128
|
-
* Can be one of the following values:
|
|
14129
|
-
*
|
|
14130
|
-
* - `"text"`: regular text data (default)
|
|
14131
|
-
* - `"date"`: date (should be YYYY-MM-DD)
|
|
14132
|
-
* - `"numeric"`: numeric data
|
|
14133
|
-
* - `"action"`: buttons to perform actions on row
|
|
14134
|
-
*/
|
|
14135
|
-
type: {
|
|
14136
|
-
type: PropType<"text" | "date" | "numeric" | "action">;
|
|
14137
|
-
required: false;
|
|
14138
|
-
default: FTableColumnType;
|
|
14139
|
-
validator(value: string): value is FTableColumnType;
|
|
14140
|
-
};
|
|
14141
|
-
}>, Omit<FTableInterface, "textFieldTableMode">, {}, {
|
|
14142
|
-
classes(): string[];
|
|
14143
|
-
scope(): "row" | null;
|
|
14144
|
-
tagName(): "td" | "th";
|
|
14145
|
-
}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
14146
|
-
/**
|
|
14147
|
-
* Unique (per-table) identifier.
|
|
14148
|
-
*
|
|
14149
|
-
* Typically set to the row property displayed but any unique string can
|
|
14150
|
-
* be used.
|
|
14151
|
-
*/
|
|
14152
|
-
name: {
|
|
14153
|
-
type: StringConstructor;
|
|
14154
|
-
required: true;
|
|
14155
|
-
};
|
|
14156
|
-
/**
|
|
14157
|
-
* If set to true, display the column, set to false to hide it.
|
|
14158
|
-
*/
|
|
14159
|
-
visible: {
|
|
14160
|
-
type: BooleanConstructor;
|
|
14161
|
-
default: boolean;
|
|
14162
|
-
};
|
|
14163
|
-
/**
|
|
14164
|
-
* If `true` this cell will be a row header (`<th>` as opposed to
|
|
14165
|
-
* `<td>`).
|
|
14166
|
-
*/
|
|
14167
|
-
rowHeader: {
|
|
14168
|
-
type: BooleanConstructor;
|
|
14169
|
-
required: false;
|
|
14170
|
-
default: boolean;
|
|
14171
|
-
};
|
|
14172
|
-
/**
|
|
14173
|
-
* Text to show in column header. In order to force newlines use `\n`.
|
|
14174
|
-
*/
|
|
14175
|
-
title: {
|
|
14176
|
-
type: StringConstructor;
|
|
14177
|
-
required: true;
|
|
14178
|
-
};
|
|
14179
|
-
/**
|
|
14180
|
-
* Additional column description.
|
|
14181
|
-
*/
|
|
14182
|
-
description: {
|
|
14183
|
-
type: StringConstructor;
|
|
14184
|
-
required: false;
|
|
14185
|
-
default: string;
|
|
14186
|
-
};
|
|
14187
|
-
/**
|
|
14188
|
-
* Set this column to shrink as small as possible.
|
|
14189
|
-
*
|
|
14190
|
-
* Cannot be combined with `expand`
|
|
14191
|
-
*/
|
|
14192
|
-
shrink: {
|
|
14193
|
-
type: BooleanConstructor;
|
|
14194
|
-
required: false;
|
|
14195
|
-
default: boolean;
|
|
14196
|
-
};
|
|
14197
|
-
/**
|
|
14198
|
-
* Set this column to expand as large as possible.
|
|
14199
|
-
*
|
|
14200
|
-
* Cannot be combined with `shrink`
|
|
14201
|
-
*
|
|
14202
|
-
* Default if neither `expand` or `shrink` is set.
|
|
14203
|
-
*/
|
|
14204
|
-
expand: {
|
|
14205
|
-
type: BooleanConstructor;
|
|
14206
|
-
required: false;
|
|
14207
|
-
default: boolean;
|
|
14208
|
-
};
|
|
14209
|
-
/**
|
|
14210
|
-
* Type of data the rows contains.
|
|
14211
|
-
*
|
|
14212
|
-
* Applies proper alignment and some styling (e.g. "numeric" uses fixed
|
|
14213
|
-
* width numbers).
|
|
14214
|
-
*
|
|
14215
|
-
* Can be one of the following values:
|
|
14216
|
-
*
|
|
14217
|
-
* - `"text"`: regular text data (default)
|
|
14218
|
-
* - `"date"`: date (should be YYYY-MM-DD)
|
|
14219
|
-
* - `"numeric"`: numeric data
|
|
14220
|
-
* - `"action"`: buttons to perform actions on row
|
|
14221
|
-
*/
|
|
14222
|
-
type: {
|
|
14223
|
-
type: PropType<"text" | "date" | "numeric" | "action">;
|
|
14224
|
-
required: false;
|
|
14225
|
-
default: FTableColumnType;
|
|
14226
|
-
validator(value: string): value is FTableColumnType;
|
|
14227
|
-
};
|
|
14228
|
-
}>> & Readonly<{}>, {
|
|
14229
|
-
type: "text" | "date" | "action" | "numeric";
|
|
14230
|
-
description: string;
|
|
14231
|
-
shrink: boolean;
|
|
14232
|
-
expand: boolean;
|
|
14233
|
-
visible: boolean;
|
|
14234
|
-
rowHeader: boolean;
|
|
14235
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14317
|
+
export declare const FTableColumn: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
14236
14318
|
|
|
14237
14319
|
/**
|
|
14238
14320
|
* @public
|
|
14239
14321
|
*/
|
|
14240
14322
|
export declare interface FTableColumnData {
|
|
14241
14323
|
id: string;
|
|
14242
|
-
name
|
|
14324
|
+
name?: string;
|
|
14243
14325
|
title: string;
|
|
14244
14326
|
description?: string;
|
|
14245
14327
|
size: FTableColumnSize;
|
|
@@ -15563,6 +15645,10 @@ export declare interface FWizardApi {
|
|
|
15563
15645
|
export declare type FWizardKey = string | number | symbol | boolean;
|
|
15564
15646
|
|
|
15565
15647
|
export declare const FWizardStep: DefineComponent<ExtractPropTypes< {
|
|
15648
|
+
/**
|
|
15649
|
+
* The title of the wizard step.
|
|
15650
|
+
* This will be displayed as the step's header.
|
|
15651
|
+
*/
|
|
15566
15652
|
title: {
|
|
15567
15653
|
type: StringConstructor;
|
|
15568
15654
|
required: true;
|
|
@@ -15630,6 +15716,10 @@ afterAnimation(open: boolean): Promise<void>;
|
|
|
15630
15716
|
beforeNextWrapper(): FValidationFormResult;
|
|
15631
15717
|
beforeValidationWrapper(): FValidationFormResult;
|
|
15632
15718
|
}, ComponentOptions, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
15719
|
+
/**
|
|
15720
|
+
* The title of the wizard step.
|
|
15721
|
+
* This will be displayed as the step's header.
|
|
15722
|
+
*/
|
|
15633
15723
|
title: {
|
|
15634
15724
|
type: StringConstructor;
|
|
15635
15725
|
required: true;
|
|
@@ -17268,7 +17358,7 @@ export declare interface IPopupErrorData {
|
|
|
17268
17358
|
arrowOffset: number;
|
|
17269
17359
|
}
|
|
17270
17360
|
|
|
17271
|
-
export declare const IPopupListbox:
|
|
17361
|
+
export declare const IPopupListbox: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
17272
17362
|
|
|
17273
17363
|
declare interface IPopupListboxProps {
|
|
17274
17364
|
isOpen: boolean;
|
|
@@ -18170,6 +18260,56 @@ export declare interface UseModal {
|
|
|
18170
18260
|
*/
|
|
18171
18261
|
export declare function useModal(): UseModal;
|
|
18172
18262
|
|
|
18263
|
+
/**
|
|
18264
|
+
* Returned from `useResize()`.
|
|
18265
|
+
*
|
|
18266
|
+
* @public
|
|
18267
|
+
*/
|
|
18268
|
+
export declare interface UseResize {
|
|
18269
|
+
/** current size of resize pane in px */
|
|
18270
|
+
readonly size: Readonly<Ref<number>>;
|
|
18271
|
+
}
|
|
18272
|
+
|
|
18273
|
+
/**
|
|
18274
|
+
* Provides an API to control functionallity of an ancestor `FResizePane` component.
|
|
18275
|
+
*
|
|
18276
|
+
* @public
|
|
18277
|
+
* @param options - Optional refs controlling behaviour.
|
|
18278
|
+
*/
|
|
18279
|
+
export declare function useResize(options?: UseResizeOptions): UseResize;
|
|
18280
|
+
|
|
18281
|
+
/**
|
|
18282
|
+
* Optional refs controlling behaviour of ancestor `FResizePanel` component.
|
|
18283
|
+
*
|
|
18284
|
+
* @public
|
|
18285
|
+
*/
|
|
18286
|
+
export declare interface UseResizeOptions {
|
|
18287
|
+
/** When one or more components sets `enabled` to `true` the resize handle is enabled and the end user can drag it to resize the pane */
|
|
18288
|
+
readonly enabled?: Readonly<Ref<boolean>>;
|
|
18289
|
+
/** When one or more compoents set `visible` to `true` the resize pane is visible */
|
|
18290
|
+
readonly visible?: Readonly<Ref<boolean>>;
|
|
18291
|
+
/**
|
|
18292
|
+
* When one or more components set `overlay` to `true` the resize pane is
|
|
18293
|
+
* displayed as an overlay and instead of occupying space from ther layout
|
|
18294
|
+
* areas it will be shown on top.
|
|
18295
|
+
*
|
|
18296
|
+
* The `offset` property can be used to set a static size of how much space
|
|
18297
|
+
* it should occupy.
|
|
18298
|
+
*/
|
|
18299
|
+
readonly overlay?: Readonly<Ref<boolean>>;
|
|
18300
|
+
/**
|
|
18301
|
+
* When `overlay` is enabled this sets how much static space (in px) the
|
|
18302
|
+
* pane should occupy from the nearby layout areas, that is, how much of the
|
|
18303
|
+
* pane should be static and how much is overlay.
|
|
18304
|
+
*
|
|
18305
|
+
* Consider a collapsable panel, by setting the offset to the width of the
|
|
18306
|
+
* collapsed state and enabling overlay, the resize pane will occupy that
|
|
18307
|
+
* amount of space and the rest of the pane will be positioned on
|
|
18308
|
+
* top of the other layout areas.
|
|
18309
|
+
*/
|
|
18310
|
+
readonly offset?: Readonly<Ref<number>>;
|
|
18311
|
+
}
|
|
18312
|
+
|
|
18173
18313
|
/**
|
|
18174
18314
|
* @public
|
|
18175
18315
|
*/
|