@fkui/vue 5.42.0 → 5.43.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/index.cjs.js +41 -10
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +41 -10
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +101 -0
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -2798,6 +2798,17 @@ type: PropType<FModalButtonDescriptor[]>;
|
|
|
2798
2798
|
required: false;
|
|
2799
2799
|
default: () => FModalButtonDescriptor[];
|
|
2800
2800
|
};
|
|
2801
|
+
/**
|
|
2802
|
+
* Default behavior is that the modal will restore focus to previous element once closed.
|
|
2803
|
+
* - "on" (default) - component will set focus both when opened and closed
|
|
2804
|
+
* - "off" - focus strategy disabled
|
|
2805
|
+
* - "open" - focus will only be applied once modal is opened
|
|
2806
|
+
*/
|
|
2807
|
+
focus: {
|
|
2808
|
+
type: PropType<"on" | "off" | "open">;
|
|
2809
|
+
default: string;
|
|
2810
|
+
validator(value: string): boolean;
|
|
2811
|
+
};
|
|
2801
2812
|
}>, {}, {}, {
|
|
2802
2813
|
preparedButtons(): FModalButton[];
|
|
2803
2814
|
}, {
|
|
@@ -2860,9 +2871,21 @@ type: PropType<FModalButtonDescriptor[]>;
|
|
|
2860
2871
|
required: false;
|
|
2861
2872
|
default: () => FModalButtonDescriptor[];
|
|
2862
2873
|
};
|
|
2874
|
+
/**
|
|
2875
|
+
* Default behavior is that the modal will restore focus to previous element once closed.
|
|
2876
|
+
* - "on" (default) - component will set focus both when opened and closed
|
|
2877
|
+
* - "off" - focus strategy disabled
|
|
2878
|
+
* - "open" - focus will only be applied once modal is opened
|
|
2879
|
+
*/
|
|
2880
|
+
focus: {
|
|
2881
|
+
type: PropType<"on" | "off" | "open">;
|
|
2882
|
+
default: string;
|
|
2883
|
+
validator(value: string): boolean;
|
|
2884
|
+
};
|
|
2863
2885
|
}>> & Readonly<{
|
|
2864
2886
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
2865
2887
|
}>, {
|
|
2888
|
+
focus: "on" | "off" | "open";
|
|
2866
2889
|
size: string;
|
|
2867
2890
|
content: string;
|
|
2868
2891
|
isOpen: boolean;
|
|
@@ -2902,6 +2925,11 @@ type: StringConstructor;
|
|
|
2902
2925
|
default: string;
|
|
2903
2926
|
validator(value: string): boolean;
|
|
2904
2927
|
};
|
|
2928
|
+
focus: {
|
|
2929
|
+
type: PropType<"on" | "off" | "open">;
|
|
2930
|
+
default: string;
|
|
2931
|
+
validator(value: string): boolean;
|
|
2932
|
+
};
|
|
2905
2933
|
}>, {}, FModalData, {
|
|
2906
2934
|
modalClass(): string[];
|
|
2907
2935
|
containerClasses(): string[];
|
|
@@ -2944,9 +2972,15 @@ type: StringConstructor;
|
|
|
2944
2972
|
default: string;
|
|
2945
2973
|
validator(value: string): boolean;
|
|
2946
2974
|
};
|
|
2975
|
+
focus: {
|
|
2976
|
+
type: PropType<"on" | "off" | "open">;
|
|
2977
|
+
default: string;
|
|
2978
|
+
validator(value: string): boolean;
|
|
2979
|
+
};
|
|
2947
2980
|
}>> & Readonly<{
|
|
2948
2981
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
2949
2982
|
}>, {
|
|
2983
|
+
focus: "on" | "off" | "open";
|
|
2950
2984
|
type: "" | "warning" | "error" | "information";
|
|
2951
2985
|
size: string;
|
|
2952
2986
|
isOpen: boolean;
|
|
@@ -3732,6 +3766,11 @@ type: StringConstructor;
|
|
|
3732
3766
|
default: string;
|
|
3733
3767
|
validator(value: string): boolean;
|
|
3734
3768
|
};
|
|
3769
|
+
focus: {
|
|
3770
|
+
type: PropType<"on" | "off" | "open">;
|
|
3771
|
+
default: string;
|
|
3772
|
+
validator(value: string): boolean;
|
|
3773
|
+
};
|
|
3735
3774
|
}>, {}, FModalData, {
|
|
3736
3775
|
modalClass(): string[];
|
|
3737
3776
|
containerClasses(): string[];
|
|
@@ -3774,9 +3813,15 @@ type: StringConstructor;
|
|
|
3774
3813
|
default: string;
|
|
3775
3814
|
validator(value: string): boolean;
|
|
3776
3815
|
};
|
|
3816
|
+
focus: {
|
|
3817
|
+
type: PropType<"on" | "off" | "open">;
|
|
3818
|
+
default: string;
|
|
3819
|
+
validator(value: string): boolean;
|
|
3820
|
+
};
|
|
3777
3821
|
}>> & Readonly<{
|
|
3778
3822
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
3779
3823
|
}>, {
|
|
3824
|
+
focus: "on" | "off" | "open";
|
|
3780
3825
|
type: "" | "warning" | "error" | "information";
|
|
3781
3826
|
size: string;
|
|
3782
3827
|
isOpen: boolean;
|
|
@@ -4169,6 +4214,11 @@ type: PropType<FModalButtonDescriptor[]>;
|
|
|
4169
4214
|
required: false;
|
|
4170
4215
|
default: () => FModalButtonDescriptor[];
|
|
4171
4216
|
};
|
|
4217
|
+
focus: {
|
|
4218
|
+
type: PropType<"on" | "off" | "open">;
|
|
4219
|
+
default: string;
|
|
4220
|
+
validator(value: string): boolean;
|
|
4221
|
+
};
|
|
4172
4222
|
}>, {}, {}, {
|
|
4173
4223
|
preparedButtons(): FModalButton[];
|
|
4174
4224
|
}, {
|
|
@@ -4210,9 +4260,15 @@ type: PropType<FModalButtonDescriptor[]>;
|
|
|
4210
4260
|
required: false;
|
|
4211
4261
|
default: () => FModalButtonDescriptor[];
|
|
4212
4262
|
};
|
|
4263
|
+
focus: {
|
|
4264
|
+
type: PropType<"on" | "off" | "open">;
|
|
4265
|
+
default: string;
|
|
4266
|
+
validator(value: string): boolean;
|
|
4267
|
+
};
|
|
4213
4268
|
}>> & Readonly<{
|
|
4214
4269
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
4215
4270
|
}>, {
|
|
4271
|
+
focus: "on" | "off" | "open";
|
|
4216
4272
|
size: string;
|
|
4217
4273
|
content: string;
|
|
4218
4274
|
isOpen: boolean;
|
|
@@ -4252,6 +4308,11 @@ type: StringConstructor;
|
|
|
4252
4308
|
default: string;
|
|
4253
4309
|
validator(value: string): boolean;
|
|
4254
4310
|
};
|
|
4311
|
+
focus: {
|
|
4312
|
+
type: PropType<"on" | "off" | "open">;
|
|
4313
|
+
default: string;
|
|
4314
|
+
validator(value: string): boolean;
|
|
4315
|
+
};
|
|
4255
4316
|
}>, {}, FModalData, {
|
|
4256
4317
|
modalClass(): string[];
|
|
4257
4318
|
containerClasses(): string[];
|
|
@@ -4294,9 +4355,15 @@ type: StringConstructor;
|
|
|
4294
4355
|
default: string;
|
|
4295
4356
|
validator(value: string): boolean;
|
|
4296
4357
|
};
|
|
4358
|
+
focus: {
|
|
4359
|
+
type: PropType<"on" | "off" | "open">;
|
|
4360
|
+
default: string;
|
|
4361
|
+
validator(value: string): boolean;
|
|
4362
|
+
};
|
|
4297
4363
|
}>> & Readonly<{
|
|
4298
4364
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
4299
4365
|
}>, {
|
|
4366
|
+
focus: "on" | "off" | "open";
|
|
4300
4367
|
type: "" | "warning" | "error" | "information";
|
|
4301
4368
|
size: string;
|
|
4302
4369
|
isOpen: boolean;
|
|
@@ -8464,6 +8531,11 @@ type: StringConstructor;
|
|
|
8464
8531
|
default: string;
|
|
8465
8532
|
validator(value: string): boolean;
|
|
8466
8533
|
};
|
|
8534
|
+
focus: {
|
|
8535
|
+
type: PropType<"on" | "off" | "open">;
|
|
8536
|
+
default: string;
|
|
8537
|
+
validator(value: string): boolean;
|
|
8538
|
+
};
|
|
8467
8539
|
}>, {}, FModalData, {
|
|
8468
8540
|
modalClass(): string[];
|
|
8469
8541
|
containerClasses(): string[];
|
|
@@ -8506,9 +8578,15 @@ type: StringConstructor;
|
|
|
8506
8578
|
default: string;
|
|
8507
8579
|
validator(value: string): boolean;
|
|
8508
8580
|
};
|
|
8581
|
+
focus: {
|
|
8582
|
+
type: PropType<"on" | "off" | "open">;
|
|
8583
|
+
default: string;
|
|
8584
|
+
validator(value: string): boolean;
|
|
8585
|
+
};
|
|
8509
8586
|
}>> & Readonly<{
|
|
8510
8587
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
8511
8588
|
}>, {
|
|
8589
|
+
focus: "on" | "off" | "open";
|
|
8512
8590
|
type: "" | "warning" | "error" | "information";
|
|
8513
8591
|
size: string;
|
|
8514
8592
|
isOpen: boolean;
|
|
@@ -10825,6 +10903,17 @@ type: StringConstructor;
|
|
|
10825
10903
|
default: string;
|
|
10826
10904
|
validator(value: string): boolean;
|
|
10827
10905
|
};
|
|
10906
|
+
/**
|
|
10907
|
+
* Default behavior is that the modal will restore focus to previous element once closed.
|
|
10908
|
+
* - "on" (default) - component will set focus both when opened and closed
|
|
10909
|
+
* - "off" - focus strategy disabled
|
|
10910
|
+
* - "open" - focus will only be applied once modal is opened
|
|
10911
|
+
*/
|
|
10912
|
+
focus: {
|
|
10913
|
+
type: PropType<"on" | "off" | "open">;
|
|
10914
|
+
default: string;
|
|
10915
|
+
validator(value: string): boolean;
|
|
10916
|
+
};
|
|
10828
10917
|
}>, {}, FModalData, {
|
|
10829
10918
|
modalClass(): string[];
|
|
10830
10919
|
containerClasses(): string[];
|
|
@@ -10894,9 +10983,21 @@ type: StringConstructor;
|
|
|
10894
10983
|
default: string;
|
|
10895
10984
|
validator(value: string): boolean;
|
|
10896
10985
|
};
|
|
10986
|
+
/**
|
|
10987
|
+
* Default behavior is that the modal will restore focus to previous element once closed.
|
|
10988
|
+
* - "on" (default) - component will set focus both when opened and closed
|
|
10989
|
+
* - "off" - focus strategy disabled
|
|
10990
|
+
* - "open" - focus will only be applied once modal is opened
|
|
10991
|
+
*/
|
|
10992
|
+
focus: {
|
|
10993
|
+
type: PropType<"on" | "off" | "open">;
|
|
10994
|
+
default: string;
|
|
10995
|
+
validator(value: string): boolean;
|
|
10996
|
+
};
|
|
10897
10997
|
}>> & Readonly<{
|
|
10898
10998
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
10899
10999
|
}>, {
|
|
11000
|
+
focus: "on" | "off" | "open";
|
|
10900
11001
|
type: "" | "warning" | "error" | "information";
|
|
10901
11002
|
size: string;
|
|
10902
11003
|
isOpen: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.43.0",
|
|
4
4
|
"description": "Vue implementation of FKUI components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"fkui",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"node": ">= 20",
|
|
80
80
|
"npm": ">= 7"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "ba47827ac97cfa01defc879b00bb07c5b01ca5b0"
|
|
83
83
|
}
|