@fkui/vue 5.45.1 → 5.46.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 +135 -44
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/pageobject.js +1 -1
- package/dist/cjs/pageobject.js.map +2 -2
- package/dist/esm/index.esm.js +136 -45
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +80 -11
- package/htmlvalidate/elements/internal-components.js +0 -4
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -84,7 +84,44 @@ status: "default" | "warning" | "error" | "success" | "info";
|
|
|
84
84
|
inverted: boolean;
|
|
85
85
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
86
86
|
|
|
87
|
-
declare const __VLS_component_2: DefineComponent< {
|
|
87
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
|
|
88
|
+
/**
|
|
89
|
+
* Element to focus on when card is invalid. Set when using validation.
|
|
90
|
+
*/
|
|
91
|
+
focusRef: {
|
|
92
|
+
type: PropType<HTMLElement | null>;
|
|
93
|
+
required: false;
|
|
94
|
+
default: null;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Optional id (generated by default).
|
|
98
|
+
*/
|
|
99
|
+
id: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
required: false;
|
|
102
|
+
default: () => string;
|
|
103
|
+
};
|
|
104
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
105
|
+
/**
|
|
106
|
+
* Element to focus on when card is invalid. Set when using validation.
|
|
107
|
+
*/
|
|
108
|
+
focusRef: {
|
|
109
|
+
type: PropType<HTMLElement | null>;
|
|
110
|
+
required: false;
|
|
111
|
+
default: null;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Optional id (generated by default).
|
|
115
|
+
*/
|
|
116
|
+
id: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
required: false;
|
|
119
|
+
default: () => string;
|
|
120
|
+
};
|
|
121
|
+
}>> & Readonly<{}>, {
|
|
122
|
+
id: string;
|
|
123
|
+
focusRef: HTMLElement | null;
|
|
124
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
88
125
|
|
|
89
126
|
declare const __VLS_component_3: DefineComponent<IPopupListboxProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
90
127
|
close: () => any;
|
|
@@ -120,8 +157,15 @@ declare function __VLS_template_2(): {
|
|
|
120
157
|
header?(_: {
|
|
121
158
|
headingSlotClass: string;
|
|
122
159
|
}): any;
|
|
160
|
+
'error-message'?(_: {
|
|
161
|
+
hasError: boolean;
|
|
162
|
+
validationMessage: string;
|
|
163
|
+
}): any;
|
|
123
164
|
default?(_: {}): any;
|
|
124
|
-
footer?(_: {
|
|
165
|
+
footer?(_: {
|
|
166
|
+
hasError: boolean;
|
|
167
|
+
validationMessage: string;
|
|
168
|
+
}): any;
|
|
125
169
|
};
|
|
126
170
|
refs: {};
|
|
127
171
|
rootEl: HTMLDivElement;
|
|
@@ -2166,6 +2210,7 @@ resizeObserver: ResizeObserver | undefined;
|
|
|
2166
2210
|
internalHideWeekNumbers: boolean;
|
|
2167
2211
|
showShortWeekdays: boolean;
|
|
2168
2212
|
}, {
|
|
2213
|
+
ariaLabel(): string;
|
|
2169
2214
|
totalCols(): number;
|
|
2170
2215
|
weeks(): Array<{
|
|
2171
2216
|
week: number;
|
|
@@ -5734,6 +5779,7 @@ resizeObserver: ResizeObserver | undefined;
|
|
|
5734
5779
|
internalHideWeekNumbers: boolean;
|
|
5735
5780
|
showShortWeekdays: boolean;
|
|
5736
5781
|
}, {
|
|
5782
|
+
ariaLabel(): string;
|
|
5737
5783
|
totalCols(): number;
|
|
5738
5784
|
weeks(): Array<{
|
|
5739
5785
|
week: number;
|
|
@@ -11872,9 +11918,9 @@ onClose?: ((...args: any[]) => any) | undefined;
|
|
|
11872
11918
|
}>, {
|
|
11873
11919
|
anchor: HTMLElement | undefined;
|
|
11874
11920
|
modelValue: string;
|
|
11921
|
+
ariaLabel: string;
|
|
11875
11922
|
focusedItem: string;
|
|
11876
11923
|
enableKeyboardNavigation: boolean;
|
|
11877
|
-
ariaLabel: string;
|
|
11878
11924
|
selectedMenuItemScreenReaderText: string;
|
|
11879
11925
|
}, {}, {
|
|
11880
11926
|
IPopup: DefineComponent<ExtractPropTypes< {
|
|
@@ -19376,7 +19422,12 @@ export { FValidationFormAction as FWizardStepAction }
|
|
|
19376
19422
|
/**
|
|
19377
19423
|
* @public
|
|
19378
19424
|
*/
|
|
19379
|
-
export declare type FValidationFormCallback = () =>
|
|
19425
|
+
export declare type FValidationFormCallback = () => FValidationFormResult;
|
|
19426
|
+
|
|
19427
|
+
/**
|
|
19428
|
+
* @public
|
|
19429
|
+
*/
|
|
19430
|
+
export declare type FValidationFormResult = void | FValidationFormAction | Promise<FValidationFormAction> | Promise<void>;
|
|
19380
19431
|
|
|
19381
19432
|
export declare const FValidationGroup: DefineComponent<ExtractPropTypes< {
|
|
19382
19433
|
/**
|
|
@@ -19543,7 +19594,7 @@ required: true;
|
|
|
19543
19594
|
* before allowing navigation to the next step.
|
|
19544
19595
|
*/
|
|
19545
19596
|
beforeNext: {
|
|
19546
|
-
type: PropType<
|
|
19597
|
+
type: PropType<FWizardValidationCallback>;
|
|
19547
19598
|
required: false;
|
|
19548
19599
|
default(): void;
|
|
19549
19600
|
};
|
|
@@ -19556,7 +19607,7 @@ default(): void;
|
|
|
19556
19607
|
* When cancelled, the consumer is responsible to indicate why this happened.
|
|
19557
19608
|
*/
|
|
19558
19609
|
beforeValidation: {
|
|
19559
|
-
type: PropType<
|
|
19610
|
+
type: PropType<FWizardValidationCallback>;
|
|
19560
19611
|
required: false;
|
|
19561
19612
|
default(): void;
|
|
19562
19613
|
};
|
|
@@ -19593,6 +19644,8 @@ onCancel(): void;
|
|
|
19593
19644
|
*/
|
|
19594
19645
|
beforeAnimation(open: boolean): Promise<void>;
|
|
19595
19646
|
afterAnimation(open: boolean): Promise<void>;
|
|
19647
|
+
beforeNextWrapper(): FValidationFormResult;
|
|
19648
|
+
beforeValidationWrapper(): FValidationFormResult;
|
|
19596
19649
|
}, ComponentOptions, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
19597
19650
|
title: {
|
|
19598
19651
|
type: StringConstructor;
|
|
@@ -19608,7 +19661,7 @@ required: true;
|
|
|
19608
19661
|
* before allowing navigation to the next step.
|
|
19609
19662
|
*/
|
|
19610
19663
|
beforeNext: {
|
|
19611
|
-
type: PropType<
|
|
19664
|
+
type: PropType<FWizardValidationCallback>;
|
|
19612
19665
|
required: false;
|
|
19613
19666
|
default(): void;
|
|
19614
19667
|
};
|
|
@@ -19621,7 +19674,7 @@ default(): void;
|
|
|
19621
19674
|
* When cancelled, the consumer is responsible to indicate why this happened.
|
|
19622
19675
|
*/
|
|
19623
19676
|
beforeValidation: {
|
|
19624
|
-
type: PropType<
|
|
19677
|
+
type: PropType<FWizardValidationCallback>;
|
|
19625
19678
|
required: false;
|
|
19626
19679
|
default(): void;
|
|
19627
19680
|
};
|
|
@@ -19634,9 +19687,9 @@ required: false;
|
|
|
19634
19687
|
default: boolean;
|
|
19635
19688
|
};
|
|
19636
19689
|
}>> & Readonly<{}>, {
|
|
19637
|
-
beforeValidation:
|
|
19690
|
+
beforeValidation: FWizardValidationCallback;
|
|
19638
19691
|
useErrorList: boolean;
|
|
19639
|
-
beforeNext:
|
|
19692
|
+
beforeNext: FWizardValidationCallback;
|
|
19640
19693
|
}, {}, {
|
|
19641
19694
|
IAnimateExpand: DefineComponent<ExtractPropTypes< {
|
|
19642
19695
|
animate: {
|
|
@@ -20159,6 +20212,20 @@ export declare interface FWizardStepDefinition {
|
|
|
20159
20212
|
currentOpen: StepNumber | -1;
|
|
20160
20213
|
}
|
|
20161
20214
|
|
|
20215
|
+
/**
|
|
20216
|
+
* @public
|
|
20217
|
+
*/
|
|
20218
|
+
export declare type FWizardValidationCallback = (wizardData?: FWizardValidationData) => FValidationFormResult;
|
|
20219
|
+
|
|
20220
|
+
/**
|
|
20221
|
+
* @public
|
|
20222
|
+
*/
|
|
20223
|
+
export declare interface FWizardValidationData {
|
|
20224
|
+
key: FWizardKey;
|
|
20225
|
+
totalSteps: number;
|
|
20226
|
+
stepNumber: number;
|
|
20227
|
+
}
|
|
20228
|
+
|
|
20162
20229
|
/* Excluded from this release type: getAbsolutePosition */
|
|
20163
20230
|
|
|
20164
20231
|
/**
|
|
@@ -20534,6 +20601,7 @@ resizeObserver: ResizeObserver | undefined;
|
|
|
20534
20601
|
internalHideWeekNumbers: boolean;
|
|
20535
20602
|
showShortWeekdays: boolean;
|
|
20536
20603
|
}, {
|
|
20604
|
+
ariaLabel(): string;
|
|
20537
20605
|
totalCols(): number;
|
|
20538
20606
|
weeks(): Array<{
|
|
20539
20607
|
week: number;
|
|
@@ -20584,6 +20652,7 @@ resizeObserver: ResizeObserver | undefined;
|
|
|
20584
20652
|
internalHideWeekNumbers: boolean;
|
|
20585
20653
|
showShortWeekdays: boolean;
|
|
20586
20654
|
}, {
|
|
20655
|
+
ariaLabel(): string;
|
|
20587
20656
|
totalCols(): number;
|
|
20588
20657
|
weeks(): Array<{
|
|
20589
20658
|
week: number;
|
|
@@ -21420,9 +21489,9 @@ onClose?: ((...args: any[]) => any) | undefined;
|
|
|
21420
21489
|
}>, {
|
|
21421
21490
|
anchor: HTMLElement | undefined;
|
|
21422
21491
|
modelValue: string;
|
|
21492
|
+
ariaLabel: string;
|
|
21423
21493
|
focusedItem: string;
|
|
21424
21494
|
enableKeyboardNavigation: boolean;
|
|
21425
|
-
ariaLabel: string;
|
|
21426
21495
|
selectedMenuItemScreenReaderText: string;
|
|
21427
21496
|
}, {}, {
|
|
21428
21497
|
IPopup: DefineComponent<ExtractPropTypes< {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fkui/vue",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.46.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": "fd747e9381e19ec80ac01f58fba96c10e4eda7c3"
|
|
83
83
|
}
|