@fkui/vue 6.32.0 → 6.33.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 +27 -6
- package/dist/cjs/cypress.cjs.js.map +2 -2
- package/dist/cjs/index.cjs.js +70 -40
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/cypress.esm.js +27 -6
- package/dist/esm/cypress.esm.js.map +2 -2
- package/dist/esm/index.esm.js +70 -40
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +108 -100
- package/package.json +5 -5
package/dist/types/index.d.ts
CHANGED
|
@@ -55,8 +55,6 @@ declare const __VLS_1: {};
|
|
|
55
55
|
|
|
56
56
|
declare const __VLS_10: {};
|
|
57
57
|
|
|
58
|
-
declare const __VLS_10_2: {};
|
|
59
|
-
|
|
60
58
|
declare const __VLS_11: {
|
|
61
59
|
isOpen: boolean;
|
|
62
60
|
header: "header";
|
|
@@ -131,12 +129,6 @@ status: "default" | "warning" | "error" | "success" | "info";
|
|
|
131
129
|
inverted: boolean;
|
|
132
130
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
133
131
|
|
|
134
|
-
declare const __VLS_base_10: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
135
|
-
close: () => any;
|
|
136
|
-
}, string, PublicProps, Readonly<IPopupListboxProps> & Readonly<{
|
|
137
|
-
onClose?: (() => any) | undefined;
|
|
138
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
139
|
-
|
|
140
132
|
declare const __VLS_base_2: DefineComponent<ExtractPropTypes< {
|
|
141
133
|
/**
|
|
142
134
|
* Type of button, can be one of:
|
|
@@ -352,88 +344,23 @@ id: string;
|
|
|
352
344
|
focusRef: HTMLElement | null;
|
|
353
345
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
354
346
|
|
|
355
|
-
declare const __VLS_base_4: DefineComponent<
|
|
356
|
-
/**
|
|
357
|
-
* The action to be performed by the button.
|
|
358
|
-
* Must be one of the following values: "delete" or "modify".
|
|
359
|
-
*/
|
|
360
|
-
action: {
|
|
361
|
-
type: StringConstructor;
|
|
362
|
-
required: true;
|
|
363
|
-
validator(value: string): boolean;
|
|
364
|
-
};
|
|
365
|
-
/**
|
|
366
|
-
* Determines if an icon should be displayed on the button.
|
|
367
|
-
*/
|
|
368
|
-
icon: {
|
|
369
|
-
type: BooleanConstructor;
|
|
370
|
-
};
|
|
371
|
-
/**
|
|
372
|
-
* The item that the action will be performed on.
|
|
373
|
-
*/
|
|
374
|
-
item: {
|
|
375
|
-
type: ObjectConstructor;
|
|
376
|
-
required: true;
|
|
377
|
-
};
|
|
378
|
-
/**
|
|
379
|
-
* Determines if the button should display a label.
|
|
380
|
-
* If false, the button will use a visually hidden text for accessibility.
|
|
381
|
-
*/
|
|
382
|
-
label: {
|
|
383
|
-
type: BooleanConstructor;
|
|
384
|
-
};
|
|
385
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
386
|
-
/**
|
|
387
|
-
* The action to be performed by the button.
|
|
388
|
-
* Must be one of the following values: "delete" or "modify".
|
|
389
|
-
*/
|
|
390
|
-
action: {
|
|
391
|
-
type: StringConstructor;
|
|
392
|
-
required: true;
|
|
393
|
-
validator(value: string): boolean;
|
|
394
|
-
};
|
|
395
|
-
/**
|
|
396
|
-
* Determines if an icon should be displayed on the button.
|
|
397
|
-
*/
|
|
398
|
-
icon: {
|
|
399
|
-
type: BooleanConstructor;
|
|
400
|
-
};
|
|
401
|
-
/**
|
|
402
|
-
* The item that the action will be performed on.
|
|
403
|
-
*/
|
|
404
|
-
item: {
|
|
405
|
-
type: ObjectConstructor;
|
|
406
|
-
required: true;
|
|
407
|
-
};
|
|
408
|
-
/**
|
|
409
|
-
* Determines if the button should display a label.
|
|
410
|
-
* If false, the button will use a visually hidden text for accessibility.
|
|
411
|
-
*/
|
|
412
|
-
label: {
|
|
413
|
-
type: BooleanConstructor;
|
|
414
|
-
};
|
|
415
|
-
}>> & Readonly<{}>, {
|
|
416
|
-
label: boolean;
|
|
417
|
-
icon: boolean;
|
|
418
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
419
|
-
|
|
420
|
-
declare const __VLS_base_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
347
|
+
declare const __VLS_base_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
421
348
|
|
|
422
|
-
declare const
|
|
349
|
+
declare const __VLS_base_5: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
423
350
|
|
|
424
|
-
declare const
|
|
351
|
+
declare const __VLS_base_6: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
425
352
|
min: string;
|
|
426
353
|
max: string;
|
|
427
354
|
initial: string;
|
|
428
355
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
429
356
|
|
|
430
|
-
declare const
|
|
357
|
+
declare const __VLS_base_7: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
431
358
|
click: () => any;
|
|
432
359
|
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
433
360
|
onClick?: (() => any) | undefined;
|
|
434
361
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
435
362
|
|
|
436
|
-
declare const
|
|
363
|
+
declare const __VLS_base_8: DefineComponent<ExtractPropTypes< {
|
|
437
364
|
/**
|
|
438
365
|
* Unique (per-table) identifier. Typically set to the row
|
|
439
366
|
* property displayed but any unique string can be used.
|
|
@@ -607,6 +534,12 @@ visible: boolean;
|
|
|
607
534
|
rowHeader: boolean;
|
|
608
535
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
609
536
|
|
|
537
|
+
declare const __VLS_base_9: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
538
|
+
close: () => any;
|
|
539
|
+
}, string, PublicProps, Readonly<IPopupListboxProps> & Readonly<{
|
|
540
|
+
onClose?: (() => any) | undefined;
|
|
541
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
542
|
+
|
|
610
543
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
611
544
|
|
|
612
545
|
declare const __VLS_export_10: <T extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
@@ -3006,7 +2939,7 @@ rotate: string;
|
|
|
3006
2939
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3007
2940
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3008
2941
|
|
|
3009
|
-
declare const __VLS_export_21: __VLS_WithSlots_5<typeof
|
|
2942
|
+
declare const __VLS_export_21: __VLS_WithSlots_5<typeof __VLS_base_4, __VLS_Slots_4>;
|
|
3010
2943
|
|
|
3011
2944
|
declare const __VLS_export_22: DefineComponent<ExtractPropTypes< {
|
|
3012
2945
|
/**
|
|
@@ -4349,7 +4282,7 @@ align: string;
|
|
|
4349
4282
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4350
4283
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
4351
4284
|
|
|
4352
|
-
declare const __VLS_export_32: __VLS_WithSlots_6<typeof
|
|
4285
|
+
declare const __VLS_export_32: __VLS_WithSlots_6<typeof __VLS_base_5, __VLS_Slots_5>;
|
|
4353
4286
|
|
|
4354
4287
|
declare const __VLS_export_33: DefineComponent<ExtractPropTypes< {
|
|
4355
4288
|
/**
|
|
@@ -6584,7 +6517,7 @@ id: string;
|
|
|
6584
6517
|
modelValue: string | number | boolean | Date | unknown[] | Record<string, any> | null;
|
|
6585
6518
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
6586
6519
|
|
|
6587
|
-
declare const __VLS_export_45: __VLS_WithSlots_7<typeof
|
|
6520
|
+
declare const __VLS_export_45: __VLS_WithSlots_7<typeof __VLS_base_6, __VLS_Slots_6>;
|
|
6588
6521
|
|
|
6589
6522
|
declare const __VLS_export_46: DefineComponent<ExtractPropTypes< {
|
|
6590
6523
|
/**
|
|
@@ -7020,11 +6953,11 @@ rotate: string;
|
|
|
7020
6953
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7021
6954
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7022
6955
|
|
|
7023
|
-
declare const __VLS_export_49: __VLS_WithSlots_8<typeof
|
|
6956
|
+
declare const __VLS_export_49: __VLS_WithSlots_8<typeof __VLS_base_7, __VLS_Slots_7>;
|
|
7024
6957
|
|
|
7025
6958
|
declare const __VLS_export_5: __VLS_WithSlots_3<typeof __VLS_base_3, __VLS_Slots_3>;
|
|
7026
6959
|
|
|
7027
|
-
declare const __VLS_export_50: __VLS_WithSlots_9<typeof
|
|
6960
|
+
declare const __VLS_export_50: __VLS_WithSlots_9<typeof __VLS_base_8, __VLS_Slots_8>;
|
|
7028
6961
|
|
|
7029
6962
|
declare const __VLS_export_51: DefineComponent<ExtractPropTypes< {
|
|
7030
6963
|
/**
|
|
@@ -15882,7 +15815,7 @@ rotate: string;
|
|
|
15882
15815
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15883
15816
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15884
15817
|
|
|
15885
|
-
declare const __VLS_export_75: __VLS_WithSlots_10<typeof
|
|
15818
|
+
declare const __VLS_export_75: __VLS_WithSlots_10<typeof __VLS_base_9, __VLS_Slots_9>;
|
|
15886
15819
|
|
|
15887
15820
|
declare const __VLS_export_76: DefineComponent<ExtractPropTypes< {
|
|
15888
15821
|
/**
|
|
@@ -16426,7 +16359,72 @@ hideWeekNumbers: boolean;
|
|
|
16426
16359
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16427
16360
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16428
16361
|
|
|
16429
|
-
declare const __VLS_export_8: __VLS_WithSlots_4<
|
|
16362
|
+
declare const __VLS_export_8: __VLS_WithSlots_4<DefineComponent<ExtractPropTypes< {
|
|
16363
|
+
/**
|
|
16364
|
+
* The action to be performed by the button.
|
|
16365
|
+
* Must be one of the following values: "delete" or "modify".
|
|
16366
|
+
*/
|
|
16367
|
+
action: {
|
|
16368
|
+
type: StringConstructor;
|
|
16369
|
+
required: true;
|
|
16370
|
+
validator(value: string): boolean;
|
|
16371
|
+
};
|
|
16372
|
+
/**
|
|
16373
|
+
* Determines if an icon should be displayed on the button.
|
|
16374
|
+
*/
|
|
16375
|
+
icon: {
|
|
16376
|
+
type: BooleanConstructor;
|
|
16377
|
+
};
|
|
16378
|
+
/**
|
|
16379
|
+
* The item that the action will be performed on.
|
|
16380
|
+
*/
|
|
16381
|
+
item: {
|
|
16382
|
+
type: ObjectConstructor;
|
|
16383
|
+
required: true;
|
|
16384
|
+
};
|
|
16385
|
+
/**
|
|
16386
|
+
* Determines if the button should display a label.
|
|
16387
|
+
* If false, the button will use a visually hidden text for accessibility.
|
|
16388
|
+
*/
|
|
16389
|
+
label: {
|
|
16390
|
+
type: BooleanConstructor;
|
|
16391
|
+
};
|
|
16392
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
16393
|
+
/**
|
|
16394
|
+
* The action to be performed by the button.
|
|
16395
|
+
* Must be one of the following values: "delete" or "modify".
|
|
16396
|
+
*/
|
|
16397
|
+
action: {
|
|
16398
|
+
type: StringConstructor;
|
|
16399
|
+
required: true;
|
|
16400
|
+
validator(value: string): boolean;
|
|
16401
|
+
};
|
|
16402
|
+
/**
|
|
16403
|
+
* Determines if an icon should be displayed on the button.
|
|
16404
|
+
*/
|
|
16405
|
+
icon: {
|
|
16406
|
+
type: BooleanConstructor;
|
|
16407
|
+
};
|
|
16408
|
+
/**
|
|
16409
|
+
* The item that the action will be performed on.
|
|
16410
|
+
*/
|
|
16411
|
+
item: {
|
|
16412
|
+
type: ObjectConstructor;
|
|
16413
|
+
required: true;
|
|
16414
|
+
};
|
|
16415
|
+
/**
|
|
16416
|
+
* Determines if the button should display a label.
|
|
16417
|
+
* If false, the button will use a visually hidden text for accessibility.
|
|
16418
|
+
*/
|
|
16419
|
+
label: {
|
|
16420
|
+
type: BooleanConstructor;
|
|
16421
|
+
};
|
|
16422
|
+
}>> & Readonly<{}>, {
|
|
16423
|
+
label: boolean;
|
|
16424
|
+
icon: boolean;
|
|
16425
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
|
|
16426
|
+
default?: (props: {}) => any;
|
|
16427
|
+
}>;
|
|
16430
16428
|
|
|
16431
16429
|
declare const __VLS_export_80: DefineComponent<ExtractPropTypes< {
|
|
16432
16430
|
/**
|
|
@@ -16992,10 +16990,6 @@ declare type __VLS_Slots = {} & {
|
|
|
16992
16990
|
default?: (props: typeof __VLS_1) => any;
|
|
16993
16991
|
};
|
|
16994
16992
|
|
|
16995
|
-
declare type __VLS_Slots_10 = {} & {
|
|
16996
|
-
default?: (props: typeof __VLS_7) => any;
|
|
16997
|
-
};
|
|
16998
|
-
|
|
16999
16993
|
declare type __VLS_Slots_2 = {} & {
|
|
17000
16994
|
default?: (props: typeof __VLS_16) => any;
|
|
17001
16995
|
};
|
|
@@ -17011,33 +17005,33 @@ declare type __VLS_Slots_3 = {} & {
|
|
|
17011
17005
|
};
|
|
17012
17006
|
|
|
17013
17007
|
declare type __VLS_Slots_4 = {} & {
|
|
17014
|
-
default?: (props: typeof __VLS_10) => any;
|
|
17015
|
-
};
|
|
17016
|
-
|
|
17017
|
-
declare type __VLS_Slots_5 = {} & {
|
|
17018
17008
|
default?: (props: typeof __VLS_8) => any;
|
|
17019
17009
|
};
|
|
17020
17010
|
|
|
17021
|
-
declare type
|
|
17011
|
+
declare type __VLS_Slots_5 = {} & {
|
|
17022
17012
|
default?: (props: typeof __VLS_11) => any;
|
|
17023
17013
|
} & {
|
|
17024
17014
|
icon?: (props: typeof __VLS_13) => any;
|
|
17025
17015
|
};
|
|
17026
17016
|
|
|
17027
|
-
declare type
|
|
17028
|
-
default?: (props: typeof
|
|
17017
|
+
declare type __VLS_Slots_6 = {} & {
|
|
17018
|
+
default?: (props: typeof __VLS_10) => any;
|
|
17029
17019
|
};
|
|
17030
17020
|
|
|
17031
|
-
declare type
|
|
17021
|
+
declare type __VLS_Slots_7 = {} & {
|
|
17032
17022
|
default?: (props: typeof __VLS_6) => any;
|
|
17033
17023
|
} & {
|
|
17034
17024
|
default?: (props: typeof __VLS_8_2) => any;
|
|
17035
17025
|
};
|
|
17036
17026
|
|
|
17037
|
-
declare type
|
|
17027
|
+
declare type __VLS_Slots_8 = {} & {
|
|
17038
17028
|
default?: (props: typeof __VLS_9) => any;
|
|
17039
17029
|
};
|
|
17040
17030
|
|
|
17031
|
+
declare type __VLS_Slots_9 = {} & {
|
|
17032
|
+
default?: (props: typeof __VLS_7) => any;
|
|
17033
|
+
};
|
|
17034
|
+
|
|
17041
17035
|
declare type __VLS_WithSlots<T, S> = T & {
|
|
17042
17036
|
new (): {
|
|
17043
17037
|
$slots: S;
|
|
@@ -17364,6 +17358,9 @@ export declare const FConfirmModal: typeof __VLS_export_33;
|
|
|
17364
17358
|
|
|
17365
17359
|
export declare const FContextMenu: typeof __VLS_export_7;
|
|
17366
17360
|
|
|
17361
|
+
/**
|
|
17362
|
+
* @deprecated for table replace with <f-table-button> or <button> in other cases
|
|
17363
|
+
*/
|
|
17367
17364
|
export declare const FCrudButton: typeof __VLS_export_8;
|
|
17368
17365
|
|
|
17369
17366
|
export declare const FCrudDataset: typeof __VLS_export_9;
|
|
@@ -18556,8 +18553,19 @@ export declare interface RenderSlotOptions {
|
|
|
18556
18553
|
*/
|
|
18557
18554
|
export declare function renderSlotText(render: Slot | undefined, props?: Record<string, unknown>, options?: Partial<RenderSlotOptions>): string | undefined;
|
|
18558
18555
|
|
|
18559
|
-
/**
|
|
18560
|
-
|
|
18556
|
+
/**
|
|
18557
|
+
* Recursively assigns internal keys to items (and optionally to nested item arrays).
|
|
18558
|
+
*
|
|
18559
|
+
* @public
|
|
18560
|
+
* @param items - The array of items to process. Items are mutated in place.
|
|
18561
|
+
* @param keyAttribute - Optional property key on each item whose value should be used as the internal key. If omitted, an internal key is generated.
|
|
18562
|
+
* @param expandableAttribute - Optional property key on each item whose value is expected to be an array of nested items to process recursively.
|
|
18563
|
+
*
|
|
18564
|
+
* @throws Error If an item is missing or has an invalid value for `key` when `key` is provided.
|
|
18565
|
+
* @throws Error If a duplicate `key` value is encountered when `key` is provided.
|
|
18566
|
+
* @returns The same `items` array (with items mutated to include internal keys).
|
|
18567
|
+
*/
|
|
18568
|
+
export declare function setInternalKeys<T>(items: T[], keyAttribute?: keyof T, expandableAttribute?: keyof T, seenValues?: Set<unknown>): T[];
|
|
18561
18569
|
|
|
18562
18570
|
/**
|
|
18563
18571
|
* @public
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.33.0",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"unit:watch": "jest --watch"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@fkui/date": "^6.
|
|
64
|
-
"@fkui/design": "^6.
|
|
65
|
-
"@fkui/logic": "^6.
|
|
63
|
+
"@fkui/date": "^6.33.0",
|
|
64
|
+
"@fkui/design": "^6.33.0",
|
|
65
|
+
"@fkui/logic": "^6.33.0",
|
|
66
66
|
"fk-icons": "^4.30.1",
|
|
67
67
|
"html-validate": ">= 7.9.0",
|
|
68
68
|
"vue": "^3.5.0"
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": ">= 20",
|
|
80
80
|
"npm": ">= 7"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "aefd7e006c712b409aae7893129f1cd3aa8d04cb"
|
|
83
83
|
}
|