@fkui/vue 6.3.1 → 6.4.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 +350 -209
- 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 +352 -211
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/cypress.d.ts +16 -6
- package/dist/types/index.d.ts +314 -185
- package/dist/types/tsdoc-metadata.json +1 -1
- package/htmlvalidate/elements/components.js +1 -1
- package/package.json +5 -5
package/dist/types/cypress.d.ts
CHANGED
|
@@ -301,17 +301,27 @@ export declare class FFieldsetPageObject implements BasePageObject {
|
|
|
301
301
|
export declare class FFileItemPageObject implements BasePageObject {
|
|
302
302
|
selector: string;
|
|
303
303
|
el: () => DefaultCypressChainable;
|
|
304
|
-
|
|
305
|
-
cancelDeleteButton: () => DefaultCypressChainable;
|
|
306
|
-
cancelDeleteButtonIcon: () => DefaultCypressChainable;
|
|
307
|
-
progressMeter: FProgressbarPageObject;
|
|
308
|
-
fileIcon: () => DefaultCypressChainable;
|
|
304
|
+
/* Excluded from this release type: _progressMeter */
|
|
309
305
|
/**
|
|
310
306
|
* @param selector - the root of the file item, usually `<div class="file-item">...</div>`.
|
|
311
307
|
*/
|
|
312
308
|
constructor(selector: string);
|
|
309
|
+
/* Excluded from this release type: _cancelDeleteButton */
|
|
310
|
+
/* Excluded from this release type: _cancelDeleteButtonIcon */
|
|
311
|
+
/* Excluded from this release type: _fileIcon */
|
|
312
|
+
/**
|
|
313
|
+
* Filename of the uploaded file.
|
|
314
|
+
*/
|
|
315
|
+
fileName(): Cypress.Chainable<JQuery<HTMLElement>>;
|
|
316
|
+
/**
|
|
317
|
+
* Filename extension in lowercase.
|
|
318
|
+
*/
|
|
319
|
+
typeOfFile(): Cypress.Chainable<string>;
|
|
320
|
+
/**
|
|
321
|
+
* @deprecated Deprecated alias for `typeOfFile`.
|
|
322
|
+
*/
|
|
313
323
|
typeOfFileIcon(): Cypress.Chainable<string>;
|
|
314
|
-
|
|
324
|
+
/* Excluded from this release type: typeOfButtonIcon */
|
|
315
325
|
}
|
|
316
326
|
|
|
317
327
|
/**
|
package/dist/types/index.d.ts
CHANGED
|
@@ -136,13 +136,187 @@ 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.
|
|
147
|
+
*
|
|
148
|
+
* Typically set to the row property displayed but any unique string can
|
|
149
|
+
* be used.
|
|
150
|
+
*/
|
|
151
|
+
name: {
|
|
152
|
+
type: StringConstructor;
|
|
153
|
+
required: true;
|
|
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.
|
|
230
|
+
*
|
|
231
|
+
* Typically set to the row property displayed but any unique string can
|
|
232
|
+
* be used.
|
|
233
|
+
*/
|
|
234
|
+
name: {
|
|
235
|
+
type: StringConstructor;
|
|
236
|
+
required: true;
|
|
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
|
+
description: string;
|
|
313
|
+
shrink: boolean;
|
|
314
|
+
expand: boolean;
|
|
315
|
+
visible: boolean;
|
|
316
|
+
rowHeader: boolean;
|
|
317
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
318
|
+
|
|
319
|
+
declare const __VLS_component_6: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
146
320
|
close: () => any;
|
|
147
321
|
}, string, PublicProps, Readonly<IPopupListboxProps> & Readonly<{
|
|
148
322
|
onClose?: (() => any) | undefined;
|
|
@@ -177,10 +351,6 @@ declare type __VLS_Props = {
|
|
|
177
351
|
};
|
|
178
352
|
|
|
179
353
|
declare type __VLS_Props_2 = {
|
|
180
|
-
/**
|
|
181
|
-
* Disables resizing. The current size is locked.
|
|
182
|
-
*/
|
|
183
|
-
disabled?: boolean;
|
|
184
354
|
/**
|
|
185
355
|
* Minimal size of pane.
|
|
186
356
|
*
|
|
@@ -259,6 +429,15 @@ declare function __VLS_template_4(): {
|
|
|
259
429
|
};
|
|
260
430
|
|
|
261
431
|
declare function __VLS_template_5(): {
|
|
432
|
+
attrs: Partial<{}>;
|
|
433
|
+
slots: {
|
|
434
|
+
default?(_: {}): any;
|
|
435
|
+
};
|
|
436
|
+
refs: {};
|
|
437
|
+
rootEl: any;
|
|
438
|
+
};
|
|
439
|
+
|
|
440
|
+
declare function __VLS_template_6(): {
|
|
262
441
|
attrs: Partial<{}>;
|
|
263
442
|
slots: {
|
|
264
443
|
default?(_: {}): any;
|
|
@@ -281,6 +460,8 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
|
281
460
|
|
|
282
461
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
283
462
|
|
|
463
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
464
|
+
|
|
284
465
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
285
466
|
new (): {
|
|
286
467
|
$slots: S;
|
|
@@ -311,6 +492,12 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
|
311
492
|
};
|
|
312
493
|
};
|
|
313
494
|
|
|
495
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
496
|
+
new (): {
|
|
497
|
+
$slots: S;
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
|
|
314
501
|
/* Excluded from this release type: actionFromKeyboardEvent */
|
|
315
502
|
|
|
316
503
|
/**
|
|
@@ -3297,19 +3484,33 @@ rotate: string;
|
|
|
3297
3484
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3298
3485
|
|
|
3299
3486
|
export declare const FCrudButton: DefineComponent<ExtractPropTypes< {
|
|
3487
|
+
/**
|
|
3488
|
+
* The action to be performed by the button.
|
|
3489
|
+
* Must be one of the following values: "delete" or "modify".
|
|
3490
|
+
*/
|
|
3300
3491
|
action: {
|
|
3301
3492
|
type: StringConstructor;
|
|
3302
3493
|
required: true;
|
|
3303
3494
|
validator(value: string): boolean;
|
|
3304
3495
|
};
|
|
3496
|
+
/**
|
|
3497
|
+
* Determines if an icon should be displayed on the button.
|
|
3498
|
+
*/
|
|
3305
3499
|
icon: {
|
|
3306
3500
|
type: BooleanConstructor;
|
|
3307
3501
|
default: boolean;
|
|
3308
3502
|
};
|
|
3503
|
+
/**
|
|
3504
|
+
* The item that the action will be performed on.
|
|
3505
|
+
*/
|
|
3309
3506
|
item: {
|
|
3310
3507
|
type: ObjectConstructor;
|
|
3311
3508
|
required: true;
|
|
3312
3509
|
};
|
|
3510
|
+
/**
|
|
3511
|
+
* Determines if the button should display a label.
|
|
3512
|
+
* If false, the button will use a visually hidden text for accessibility.
|
|
3513
|
+
*/
|
|
3313
3514
|
label: {
|
|
3314
3515
|
type: BooleanConstructor;
|
|
3315
3516
|
default: boolean;
|
|
@@ -3320,19 +3521,33 @@ buttonText(): string;
|
|
|
3320
3521
|
}, {
|
|
3321
3522
|
executeAction(): void;
|
|
3322
3523
|
}, ComponentOptions, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
3524
|
+
/**
|
|
3525
|
+
* The action to be performed by the button.
|
|
3526
|
+
* Must be one of the following values: "delete" or "modify".
|
|
3527
|
+
*/
|
|
3323
3528
|
action: {
|
|
3324
3529
|
type: StringConstructor;
|
|
3325
3530
|
required: true;
|
|
3326
3531
|
validator(value: string): boolean;
|
|
3327
3532
|
};
|
|
3533
|
+
/**
|
|
3534
|
+
* Determines if an icon should be displayed on the button.
|
|
3535
|
+
*/
|
|
3328
3536
|
icon: {
|
|
3329
3537
|
type: BooleanConstructor;
|
|
3330
3538
|
default: boolean;
|
|
3331
3539
|
};
|
|
3540
|
+
/**
|
|
3541
|
+
* The item that the action will be performed on.
|
|
3542
|
+
*/
|
|
3332
3543
|
item: {
|
|
3333
3544
|
type: ObjectConstructor;
|
|
3334
3545
|
required: true;
|
|
3335
3546
|
};
|
|
3547
|
+
/**
|
|
3548
|
+
* Determines if the button should display a label.
|
|
3549
|
+
* If false, the button will use a visually hidden text for accessibility.
|
|
3550
|
+
*/
|
|
3336
3551
|
label: {
|
|
3337
3552
|
type: BooleanConstructor;
|
|
3338
3553
|
default: boolean;
|
|
@@ -3428,6 +3643,9 @@ export declare const FCrudDataset: <T>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
3428
3643
|
slots: {
|
|
3429
3644
|
default?(_: {}): any;
|
|
3430
3645
|
'add-button'?(_: {}): any;
|
|
3646
|
+
buttons?(_: {
|
|
3647
|
+
buttonClasses: string[];
|
|
3648
|
+
}): any;
|
|
3431
3649
|
add?(_: {
|
|
3432
3650
|
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
3651
|
}): any;
|
|
@@ -6005,6 +6223,10 @@ type: NumberConstructor;
|
|
|
6005
6223
|
required: false;
|
|
6006
6224
|
default: number;
|
|
6007
6225
|
};
|
|
6226
|
+
/**
|
|
6227
|
+
* Text template for the screen reader notification text.
|
|
6228
|
+
* Use `%VALUE%` as a placeholder for the number of notifications.
|
|
6229
|
+
*/
|
|
6008
6230
|
screenReaderNotificationTemplate: {
|
|
6009
6231
|
type: StringConstructor;
|
|
6010
6232
|
required: false;
|
|
@@ -6054,6 +6276,10 @@ type: NumberConstructor;
|
|
|
6054
6276
|
required: false;
|
|
6055
6277
|
default: number;
|
|
6056
6278
|
};
|
|
6279
|
+
/**
|
|
6280
|
+
* Text template for the screen reader notification text.
|
|
6281
|
+
* Use `%VALUE%` as a placeholder for the number of notifications.
|
|
6282
|
+
*/
|
|
6057
6283
|
screenReaderNotificationTemplate: {
|
|
6058
6284
|
type: StringConstructor;
|
|
6059
6285
|
required: false;
|
|
@@ -6748,6 +6974,9 @@ type: StringConstructor;
|
|
|
6748
6974
|
required: false;
|
|
6749
6975
|
default: () => string;
|
|
6750
6976
|
};
|
|
6977
|
+
/**
|
|
6978
|
+
* Disables the file selector.
|
|
6979
|
+
*/
|
|
6751
6980
|
disabled: {
|
|
6752
6981
|
type: BooleanConstructor;
|
|
6753
6982
|
required: false;
|
|
@@ -6771,6 +7000,9 @@ type: StringConstructor;
|
|
|
6771
7000
|
required: false;
|
|
6772
7001
|
default: () => string;
|
|
6773
7002
|
};
|
|
7003
|
+
/**
|
|
7004
|
+
* Disables the file selector.
|
|
7005
|
+
*/
|
|
6774
7006
|
disabled: {
|
|
6775
7007
|
type: BooleanConstructor;
|
|
6776
7008
|
required: false;
|
|
@@ -6922,6 +7154,14 @@ type: PropType<FValidationFormCallback>;
|
|
|
6922
7154
|
required: false;
|
|
6923
7155
|
default(): void;
|
|
6924
7156
|
};
|
|
7157
|
+
/**
|
|
7158
|
+
* List of buttons to display in the modal.
|
|
7159
|
+
* Each button is defined as an FModalButtonDescriptor with the following properties:
|
|
7160
|
+
* - `label` (String): The text displayed on the button.
|
|
7161
|
+
* - `event` (String): The event emitted when the button is clicked.
|
|
7162
|
+
* - `type` (String): The button type. Valid values are: "primary" or "secondary".
|
|
7163
|
+
* - `submitButton` (Boolean): Whether the button is a submit button.
|
|
7164
|
+
*/
|
|
6925
7165
|
buttons: {
|
|
6926
7166
|
type: PropType<FModalButtonDescriptor[]>;
|
|
6927
7167
|
required: false;
|
|
@@ -7017,6 +7257,14 @@ type: PropType<FValidationFormCallback>;
|
|
|
7017
7257
|
required: false;
|
|
7018
7258
|
default(): void;
|
|
7019
7259
|
};
|
|
7260
|
+
/**
|
|
7261
|
+
* List of buttons to display in the modal.
|
|
7262
|
+
* Each button is defined as an FModalButtonDescriptor with the following properties:
|
|
7263
|
+
* - `label` (String): The text displayed on the button.
|
|
7264
|
+
* - `event` (String): The event emitted when the button is clicked.
|
|
7265
|
+
* - `type` (String): The button type. Valid values are: "primary" or "secondary".
|
|
7266
|
+
* - `submitButton` (Boolean): Whether the button is a submit button.
|
|
7267
|
+
*/
|
|
7020
7268
|
buttons: {
|
|
7021
7269
|
type: PropType<FModalButtonDescriptor[]>;
|
|
7022
7270
|
required: false;
|
|
@@ -14055,184 +14303,7 @@ rotate: string;
|
|
|
14055
14303
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14056
14304
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
14057
14305
|
|
|
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>;
|
|
14306
|
+
export declare const FTableColumn: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
14236
14307
|
|
|
14237
14308
|
/**
|
|
14238
14309
|
* @public
|
|
@@ -15563,6 +15634,10 @@ export declare interface FWizardApi {
|
|
|
15563
15634
|
export declare type FWizardKey = string | number | symbol | boolean;
|
|
15564
15635
|
|
|
15565
15636
|
export declare const FWizardStep: DefineComponent<ExtractPropTypes< {
|
|
15637
|
+
/**
|
|
15638
|
+
* The title of the wizard step.
|
|
15639
|
+
* This will be displayed as the step's header.
|
|
15640
|
+
*/
|
|
15566
15641
|
title: {
|
|
15567
15642
|
type: StringConstructor;
|
|
15568
15643
|
required: true;
|
|
@@ -15630,6 +15705,10 @@ afterAnimation(open: boolean): Promise<void>;
|
|
|
15630
15705
|
beforeNextWrapper(): FValidationFormResult;
|
|
15631
15706
|
beforeValidationWrapper(): FValidationFormResult;
|
|
15632
15707
|
}, ComponentOptions, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
15708
|
+
/**
|
|
15709
|
+
* The title of the wizard step.
|
|
15710
|
+
* This will be displayed as the step's header.
|
|
15711
|
+
*/
|
|
15633
15712
|
title: {
|
|
15634
15713
|
type: StringConstructor;
|
|
15635
15714
|
required: true;
|
|
@@ -17268,7 +17347,7 @@ export declare interface IPopupErrorData {
|
|
|
17268
17347
|
arrowOffset: number;
|
|
17269
17348
|
}
|
|
17270
17349
|
|
|
17271
|
-
export declare const IPopupListbox:
|
|
17350
|
+
export declare const IPopupListbox: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
17272
17351
|
|
|
17273
17352
|
declare interface IPopupListboxProps {
|
|
17274
17353
|
isOpen: boolean;
|
|
@@ -18170,6 +18249,56 @@ export declare interface UseModal {
|
|
|
18170
18249
|
*/
|
|
18171
18250
|
export declare function useModal(): UseModal;
|
|
18172
18251
|
|
|
18252
|
+
/**
|
|
18253
|
+
* Returned from `useResize()`.
|
|
18254
|
+
*
|
|
18255
|
+
* @public
|
|
18256
|
+
*/
|
|
18257
|
+
export declare interface UseResize {
|
|
18258
|
+
/** current size of resize pane in px */
|
|
18259
|
+
readonly size: Readonly<Ref<number>>;
|
|
18260
|
+
}
|
|
18261
|
+
|
|
18262
|
+
/**
|
|
18263
|
+
* Provides an API to control functionallity of an ancestor `FResizePane` component.
|
|
18264
|
+
*
|
|
18265
|
+
* @public
|
|
18266
|
+
* @param options - Optional refs controlling behaviour.
|
|
18267
|
+
*/
|
|
18268
|
+
export declare function useResize(options?: UseResizeOptions): UseResize;
|
|
18269
|
+
|
|
18270
|
+
/**
|
|
18271
|
+
* Optional refs controlling behaviour of ancestor `FResizePanel` component.
|
|
18272
|
+
*
|
|
18273
|
+
* @public
|
|
18274
|
+
*/
|
|
18275
|
+
export declare interface UseResizeOptions {
|
|
18276
|
+
/** 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 */
|
|
18277
|
+
readonly enabled?: Readonly<Ref<boolean>>;
|
|
18278
|
+
/** When one or more compoents set `visible` to `true` the resize pane is visible */
|
|
18279
|
+
readonly visible?: Readonly<Ref<boolean>>;
|
|
18280
|
+
/**
|
|
18281
|
+
* When one or more components set `overlay` to `true` the resize pane is
|
|
18282
|
+
* displayed as an overlay and instead of occupying space from ther layout
|
|
18283
|
+
* areas it will be shown on top.
|
|
18284
|
+
*
|
|
18285
|
+
* The `offset` property can be used to set a static size of how much space
|
|
18286
|
+
* it should occupy.
|
|
18287
|
+
*/
|
|
18288
|
+
readonly overlay?: Readonly<Ref<boolean>>;
|
|
18289
|
+
/**
|
|
18290
|
+
* When `overlay` is enabled this sets how much static space (in px) the
|
|
18291
|
+
* pane should occupy from the nearby layout areas, that is, how much of the
|
|
18292
|
+
* pane should be static and how much is overlay.
|
|
18293
|
+
*
|
|
18294
|
+
* Consider a collapsable panel, by setting the offset to the width of the
|
|
18295
|
+
* collapsed state and enabling overlay, the resize pane will occupy that
|
|
18296
|
+
* amount of space and the rest of the pane will be positioned on
|
|
18297
|
+
* top of the other layout areas.
|
|
18298
|
+
*/
|
|
18299
|
+
readonly offset?: Readonly<Ref<number>>;
|
|
18300
|
+
}
|
|
18301
|
+
|
|
18173
18302
|
/**
|
|
18174
18303
|
* @public
|
|
18175
18304
|
*/
|
|
@@ -930,7 +930,7 @@ module.exports = defineMetadata({
|
|
|
930
930
|
"f-crud-dataset": {
|
|
931
931
|
flow: true,
|
|
932
932
|
interactive: true,
|
|
933
|
-
slots: ["default", "add", "delete", "modify", "add-button"],
|
|
933
|
+
slots: ["default", "add", "delete", "modify", "add-button", "buttons"],
|
|
934
934
|
requiredSlots: ["default"],
|
|
935
935
|
attributes: {
|
|
936
936
|
value: ["/.*/"],
|