Skip to content

Commit 7c68c52

Browse files
build
1 parent 7f11606 commit 7c68c52

File tree

10 files changed

+1618
-1504
lines changed

10 files changed

+1618
-1504
lines changed

dist/plugin/VStepperForm.vue.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ type __VLS_PublicProps = {
66
declare function __VLS_template(): {
77
slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
88
refs: {
9-
stepperFormRef: any;
9+
stepperFormRef: HTMLFormElement;
1010
};
1111
attrs: Partial<{}>;
1212
};
1313
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
1414
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
1515
width: string;
1616
readonly disabled: boolean;
17-
readonly editable: boolean;
17+
editable: import('vuetify/lib/components/index.mjs').VStepperItem["editable"];
1818
autoPageDelay: number;
1919
direction: "horizontal" | "vertical";
20+
jumpAhead: boolean;
2021
keepValuesOnUnmount: boolean;
2122
navButtonSize: import('vuetify/lib/components/index.mjs').VBtn["size"];
2223
tooltipLocation: import('vuetify/lib/components/index.mjs').VTooltip["location"];

dist/plugin/components/fields/VSFCustom/VSFCustom.vue.d.ts

+54-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,57 @@ type __VLS_PublicProps = {
55
} & typeof __VLS_typeProps;
66
declare function __VLS_template(): {
77
slots: Partial<Record<string, (_: {
8-
errorMessage: any;
8+
prevText?: string | undefined;
9+
nextText?: string | undefined;
10+
theme?: string | undefined;
11+
tag?: string | undefined;
12+
rounded?: string | number | boolean | undefined;
13+
tile?: boolean | undefined;
14+
elevation?: string | number | undefined;
15+
height?: string | number | undefined;
16+
maxHeight?: string | number | undefined;
17+
maxWidth?: string | number | undefined;
18+
minHeight?: string | number | undefined;
19+
minWidth?: string | number | undefined;
20+
width?: string | undefined;
21+
border?: string | number | boolean | undefined;
22+
color?: string | undefined;
23+
selectedClass?: string | undefined;
24+
disabled?: boolean | undefined;
25+
altLabels?: boolean | undefined;
26+
bgColor?: string | undefined;
27+
editIcon?: string | undefined;
28+
editable?: import('vuetify/lib/components/index.mjs').VStepperItem["editable"] | undefined;
29+
errorIcon?: import('vuetify/lib/components/index.mjs').VStepperItem["errorIcon"] | undefined;
30+
hideActions?: boolean | undefined;
31+
flat?: boolean | undefined;
32+
autoPage?: boolean | undefined;
33+
autoPageDelay?: number | undefined;
34+
density?: import('../../../types').GlobalDensity | undefined;
35+
direction?: ("horizontal" | "vertical") | undefined;
36+
fieldColumns?: import('../../../types').ResponsiveColumns | undefined;
37+
headerTooltips?: boolean | undefined;
38+
hideDetails?: import('../../../types').GlobalHideDetails;
39+
jumpAhead?: boolean | undefined;
40+
keepValuesOnUnmount?: boolean | undefined;
41+
navButtonSize?: import('vuetify/lib/components/index.mjs').VBtn["size"] | undefined;
42+
navButtonVariant?: import('vuetify/lib/components/index.mjs').VBtn["variant"] | undefined;
43+
summaryColumns?: import('../../../types').ResponsiveColumns | undefined;
44+
title?: string | undefined;
45+
tooltipLocation?: import('vuetify/lib/components/index.mjs').VTooltip["location"] | undefined;
46+
tooltipOffset?: import('vuetify/lib/components/index.mjs').VTooltip["offset"];
47+
tooltipTransition?: import('vuetify/lib/components/index.mjs').VTooltip["transition"] | undefined;
48+
validateOn?: import('../../../types').Field["validateOn"];
49+
validateOnMount?: boolean | undefined;
50+
variant?: string | undefined;
51+
transition?: import('vuetify/lib/components/index.mjs').VStepperWindowItem["transition"] | undefined;
52+
FieldLabel: import('vue').DefineComponent<import('../../shared/FieldLabel.vue').FieldLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../shared/FieldLabel.vue').FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
53+
blur: () => Promise<void>;
54+
change: () => Promise<void>;
55+
input: () => Promise<void>;
956
field: {
1057
options: KeyStringAny<any> | undefined;
58+
required: boolean | undefined;
1159
prevText?: string | undefined;
1260
nextText?: string | undefined;
1361
theme?: string | undefined;
@@ -28,7 +76,7 @@ declare function __VLS_template(): {
2876
altLabels?: boolean | undefined;
2977
bgColor?: string | undefined;
3078
editIcon?: string | undefined;
31-
editable?: boolean | undefined;
79+
editable?: import('vuetify/lib/components/index.mjs').VStepperItem["editable"] | undefined;
3280
errorIcon?: import('vuetify/lib/components/index.mjs').VStepperItem["errorIcon"] | undefined;
3381
hideActions?: boolean | undefined;
3482
flat?: boolean | undefined;
@@ -39,8 +87,10 @@ declare function __VLS_template(): {
3987
fieldColumns?: import('../../../types').ResponsiveColumns | undefined;
4088
headerTooltips?: boolean | undefined;
4189
hideDetails?: import('../../../types').GlobalHideDetails;
90+
jumpAhead?: boolean | undefined;
4291
keepValuesOnUnmount?: boolean | undefined;
4392
navButtonSize?: import('vuetify/lib/components/index.mjs').VBtn["size"] | undefined;
93+
navButtonVariant?: import('vuetify/lib/components/index.mjs').VBtn["variant"] | undefined;
4494
summaryColumns?: import('../../../types').ResponsiveColumns | undefined;
4595
title?: string | undefined;
4696
tooltipLocation?: import('vuetify/lib/components/index.mjs').VTooltip["location"] | undefined;
@@ -50,11 +100,9 @@ declare function __VLS_template(): {
50100
validateOnMount?: boolean | undefined;
51101
variant?: string | undefined;
52102
transition?: import('vuetify/lib/components/index.mjs').VStepperWindowItem["transition"] | undefined;
103+
errorMessages: any;
104+
modelValue: any;
53105
};
54-
FieldLabel: import('vue').DefineComponent<import('../../shared/FieldLabel.vue').FieldLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('../../shared/FieldLabel.vue').FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
55-
blur: () => Promise<void>;
56-
change: () => Promise<void>;
57-
input: () => Promise<void>;
58106
}) => any>>;
59107
refs: {};
60108
attrs: Partial<{}>;

dist/plugin/components/fields/VSFSwitch/index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ interface InternalField extends Omit<Field, 'inline' | 'inlineSpacing' | 'labelP
55
color?: VSwitch['color'];
66
density?: VSwitch['density'];
77
falseIcon?: VSwitch['falseIcon'];
8+
falseValue?: VSwitch['falseValue'];
89
hideDetails?: VSwitch['hideDetails'];
10+
trueValue?: VSwitch['trueValue'];
911
}
1012
export interface VSFSwitchProps extends SharedProps {
1113
field: InternalField;

dist/plugin/components/shared/PageReviewContainer.vue.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ type __VLS_PublicProps = {
99
modelValue?: any;
1010
} & typeof __VLS_typeProps;
1111
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12-
submit: (...args: any[]) => void;
1312
goToQuestion: (...args: any[]) => void;
1413
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15-
onSubmit?: ((...args: any[]) => any) | undefined;
1614
onGoToQuestion?: ((...args: any[]) => any) | undefined;
1715
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
1816
export default _default;

dist/plugin/composables/helpers.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { UseAutoPage, UseBuildSettings, UseColumnErrorCheck, UseDeepMerge } from '../types';
1+
import { UseAutoPage, UseBuildSettings, UseColumnErrorCheck, UseDeepMerge, UseGetFirstAndLastEditableFalse } from '../types';
22
export declare const useDeepMerge: UseDeepMerge;
33
/**
44
* Builds the settings object.
@@ -12,3 +12,4 @@ export declare const useAutoPage: UseAutoPage;
1212
* Checks if the column values are between 1 and 12.
1313
*/
1414
export declare const useColumnErrorCheck: UseColumnErrorCheck;
15+
export declare const useGetFirstAndLastEditableFalse: UseGetFirstAndLastEditableFalse;
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { UseHandleJumpAhead, UseHandleNonJumpAhead } from '../types';
2+
declare const useHandleJumpAhead: UseHandleJumpAhead;
3+
declare const useHandleNonJumpAhead: UseHandleNonJumpAhead;
4+
export { useHandleJumpAhead, useHandleNonJumpAhead, };

dist/plugin/types/index.d.ts

+40-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FieldValidator, FormValidationResult, GenericObject } from 'vee-validate';
2-
import { App } from 'vue';
2+
import { App, MaybeRef } from 'vue';
33
import { VBtn, VStepper, VStepperItem, VStepperWindowItem, VTooltip } from 'vuetify/components';
44
import { ValidationRule } from 'vuetify/composables/validation';
55
import { Schema } from 'yup';
@@ -80,12 +80,15 @@ export interface Props extends /* @vue-ignore */ VStepperProps, VStepperWindowIt
8080
color?: string | undefined;
8181
density?: GlobalDensity;
8282
direction?: 'horizontal' | 'vertical';
83+
editable?: VStepperItem['editable'];
8384
errorIcon?: VStepperItem['errorIcon'];
8485
fieldColumns?: ResponsiveColumns | undefined;
8586
headerTooltips?: boolean;
8687
hideDetails?: GlobalHideDetails;
88+
jumpAhead?: boolean;
8789
keepValuesOnUnmount?: boolean;
8890
navButtonSize?: VBtn['size'];
91+
navButtonVariant?: VBtn['variant'];
8992
summaryColumns?: ResponsiveColumns;
9093
title?: string;
9194
tooltipLocation?: VTooltip['location'];
@@ -120,7 +123,7 @@ export interface UseBuildSettings {
120123
(props: Settings): Settings;
121124
}
122125
export interface UseDeepMerge {
123-
(A: Record<string, any>, B: Record<string, any>, C: Record<string, any>): Record<string, any>;
126+
(A: Record<string, any>, B: Record<string, any>, C?: Record<string, any>): Record<string, any>;
124127
}
125128
export interface UseAutoPage {
126129
(options: {
@@ -138,6 +141,12 @@ export interface UseColumnErrorCheck {
138141
propName?: string;
139142
}): void;
140143
}
144+
export interface UseGetFirstAndLastEditableFalse {
145+
(pages: Page[]): {
146+
firstNonEditableIndex: number;
147+
lastNonEditableIndex: number;
148+
};
149+
}
141150
export type ComputedClasses = Record<string, boolean>;
142151
export interface UseContainerClasses {
143152
(options: {
@@ -156,6 +165,35 @@ export interface UseColumnClasses {
156165
propName?: string;
157166
}): ComputedClasses;
158167
}
168+
export interface UseHandleJumpAhead {
169+
(options: {
170+
currentPageEditable: boolean;
171+
currentPageIdx: MaybeRef<number>;
172+
firstNonEditableIndex: number;
173+
lastNonEditableIndex: number;
174+
lastPageIdx: number;
175+
nextPageEditable: boolean;
176+
nextPageNotEditable: boolean;
177+
pageIdx: number;
178+
pageNotEditable: boolean;
179+
previousPageEditable: boolean;
180+
previousPageNotEditable: boolean;
181+
}): boolean;
182+
}
183+
export interface UseHandleNonJumpAhead {
184+
(options: {
185+
currentPageEditable: boolean;
186+
currentPageIdx: MaybeRef<number>;
187+
firstNonEditableIndex: number;
188+
lastNonEditableIndex: number;
189+
lastPageIdx: number;
190+
nextPageEditable: boolean;
191+
nextPageNotEditable: boolean;
192+
pageEditable: boolean;
193+
pageIdx: number;
194+
pageNotEditable: boolean;
195+
}): boolean;
196+
}
159197
declare module 'vue' {
160198
interface ComponentCustomProperties {
161199
}

dist/plugin/utils/props.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export declare const AllProps: {
33
direction: "horizontal";
44
disabled: boolean;
55
editable: boolean;
6+
jumpAhead: boolean;
67
keepValuesOnUnmount: boolean;
78
navButtonSize: "large";
89
tooltipLocation: "bottom";

dist/vuetify-stepper-form.cjs.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)