Skip to content

add build #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,3 @@ dist-ssr
src/plugin/**/*.bk.*


# Remove this later
dist/
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
All notable changes to the "vuetify-stepper-form" plugin will be documented in this file.

## v1.0.0
## v1.0.0-beta1
2024-11-01
[main] (@webdevnerdstuff)
* Beta release
14 changes: 14 additions & 0 deletions dist/FieldLabel-D5QHBlb_.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { FieldLabel as a } from "./vuetify-stepper-form.es.js";
/**
* @name @wdns/vuetify-stepper-form
* @version 1.0.0-beta1
* @description The Vuetify Stepper Form plugin provides a structured way to create multi-step forms using Vue 3, TypeScript, and Vuetify. It features a stepper layout that allows users to navigate between steps with form validation. The plugin is customizable and streamlines building dynamic, interactive forms that guide users through sequential steps.
* @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! <[email protected]> (https://webdevnerdstuff.com)
* @copyright Copyright 2024, WebDevNerdStuff
* @homepage https://webdevnerdstuff.github.io/vuetify-stepper-form/
* @repository https://github.com/webdevnerdstuff/vuetify-stepper-form
* @license MIT License
*/
export {
a as default
};
10 changes: 10 additions & 0 deletions dist/FieldLabel-DAVdrVyS.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"use strict";/**
* @name @wdns/vuetify-stepper-form
* @version 1.0.0-beta1
* @description The Vuetify Stepper Form plugin provides a structured way to create multi-step forms using Vue 3, TypeScript, and Vuetify. It features a stepper layout that allows users to navigate between steps with form validation. The plugin is customizable and streamlines building dynamic, interactive forms that guide users through sequential steps.
* @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! <[email protected]> (https://webdevnerdstuff.com)
* @copyright Copyright 2024, WebDevNerdStuff
* @homepage https://webdevnerdstuff.github.io/vuetify-stepper-form/
* @repository https://github.com/webdevnerdstuff/vuetify-stepper-form
* @license MIT License
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./vuetify-stepper-form.cjs.js");exports.default=e.FieldLabel;
33 changes: 33 additions & 0 deletions dist/plugin/VStepperForm.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { Props } from './types';
declare let __VLS_typeProps: Props;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare function __VLS_template(): {
slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
refs: {
stepperFormRef: any;
};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
width: string;
readonly disabled: boolean;
readonly editable: boolean;
autoPageDelay: number;
direction: "horizontal" | "vertical";
keepValuesOnUnmount: boolean;
navButtonSize: import('vuetify/lib/components/index.mjs').VBtn["size"];
tooltipLocation: import('vuetify/lib/components/index.mjs').VTooltip["location"];
tooltipOffset: string | number | number[];
tooltipTransition: import('vuetify/lib/components/index.mjs').VTooltip["transition"];
transition: import('vuetify/lib/components/index.mjs').VStepperWindowItem["transition"];
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
11 changes: 11 additions & 0 deletions dist/plugin/components/fields/CommonField/CommonField.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { CommonFieldProps } from './index';
declare let __VLS_typeProps: CommonFieldProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
15 changes: 15 additions & 0 deletions dist/plugin/components/fields/CommonField/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Component } from 'vue';
import { default as CommonField } from './CommonField.vue';
import { Field, GlobalChips, GlobalClosableChips, GlobalCloseText, GlobalMultiple, GlobalVariant, SharedProps } from '../../../types';
interface InternalField extends Omit<Field, 'inline' | 'inlineSpacing' | 'labelPositionLeft'> {
chips?: GlobalChips;
closableChips?: GlobalClosableChips;
closeText?: GlobalCloseText;
multiple?: GlobalMultiple;
variant?: GlobalVariant;
}
export interface CommonFieldProps extends SharedProps {
field: InternalField;
component: Component | null;
}
export default CommonField;
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { VSFButtonFieldProps } from './index';
declare let __VLS_typeProps: VSFButtonFieldProps;
type __VLS_PublicProps = {
modelValue?: unknown;
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
32 changes: 32 additions & 0 deletions dist/plugin/components/fields/VSFButtonField/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { default as VSFButtonField } from './VSFButtonField.vue';
import { Field, GlobalDensity, SharedProps } from '../../../types';
import { VBtn } from 'vuetify/components';
export interface Option {
appendIcon?: VBtn['appendIcon'];
class?: string;
color?: VBtn['color'];
height?: VBtn['height'];
icon?: VBtn['icon'];
id?: Field['id'];
label: Field['label'];
maxWidth?: VBtn['maxWidth'];
minWidth?: VBtn['minWidth'];
prependIcon?: VBtn['prependIcon'];
value: string | number;
width?: VBtn['width'];
}
interface InternalField extends Field, Partial<Pick<VBtn, 'activeColor' | 'appendIcon' | 'block' | 'border' | 'height' | 'icon' | 'maxWidth' | 'minWidth' | 'prependIcon' | 'selectedClass' | 'size' | 'stacked' | 'variant' | 'width'>> {
align?: string;
justify?: string;
gap?: string | number;
hint?: string;
messages?: string | string[];
multiple?: boolean;
options?: Option[];
persistentHint?: boolean;
}
export interface VSFButtonFieldProps extends SharedProps {
density?: GlobalDensity | 'expanded' | 'oversized';
field: InternalField;
}
export default VSFButtonField;
11 changes: 11 additions & 0 deletions dist/plugin/components/fields/VSFCheckbox/VSFCheckbox.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { VSFCheckboxProps } from './index';
declare let __VLS_typeProps: VSFCheckboxProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
19 changes: 19 additions & 0 deletions dist/plugin/components/fields/VSFCheckbox/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { default as VSFCheckbox } from './VSFCheckbox.vue';
import { Field, SharedProps } from '../../../types';
import { VCheckbox } from 'vuetify/components';
interface InternalField extends Field {
color?: VCheckbox['color'];
density?: VCheckbox['density'];
falseIcon?: VCheckbox['falseIcon'];
falseValue?: VCheckbox['falseValue'];
hideDetails?: VCheckbox['hideDetails'];
hint?: VCheckbox['hint'];
messages?: VCheckbox['messages'];
multiple?: VCheckbox['multiple'];
persistentHint?: VCheckbox['persistentHint'];
trueValue?: VCheckbox['trueValue'];
}
export interface VSFCheckboxProps extends SharedProps {
field: InternalField;
}
export default VSFCheckbox;
74 changes: 74 additions & 0 deletions dist/plugin/components/fields/VSFCustom/VSFCustom.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import { VSFCustomProps } from './index';
declare let __VLS_typeProps: VSFCustomProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare function __VLS_template(): {
slots: Partial<Record<string, (_: {
errorMessage: any;
field: {
options: KeyStringAny<any> | undefined;
prevText?: string | undefined;
nextText?: string | undefined;
theme?: string | undefined;
tag?: string | undefined;
rounded?: string | number | boolean | undefined;
tile?: boolean | undefined;
elevation?: string | number | undefined;
height?: string | number | undefined;
maxHeight?: string | number | undefined;
maxWidth?: string | number | undefined;
minHeight?: string | number | undefined;
minWidth?: string | number | undefined;
width?: string | undefined;
border?: string | number | boolean | undefined;
color?: string | undefined;
selectedClass?: string | undefined;
disabled?: boolean | undefined;
altLabels?: boolean | undefined;
bgColor?: string | undefined;
editIcon?: string | undefined;
editable?: boolean | undefined;
errorIcon?: import('vuetify/lib/components/index.mjs').VStepperItem["errorIcon"] | undefined;
hideActions?: boolean | undefined;
flat?: boolean | undefined;
autoPage?: boolean | undefined;
autoPageDelay?: number | undefined;
density?: import('../../../types').GlobalDensity | undefined;
direction?: ("horizontal" | "vertical") | undefined;
fieldColumns?: import('../../../types').ResponsiveColumns | undefined;
headerTooltips?: boolean | undefined;
hideDetails?: import('../../../types').GlobalHideDetails;
keepValuesOnUnmount?: boolean | undefined;
navButtonSize?: import('vuetify/lib/components/index.mjs').VBtn["size"] | undefined;
summaryColumns?: import('../../../types').ResponsiveColumns | undefined;
title?: string | undefined;
tooltipLocation?: import('vuetify/lib/components/index.mjs').VTooltip["location"] | undefined;
tooltipOffset?: import('vuetify/lib/components/index.mjs').VTooltip["offset"];
tooltipTransition?: import('vuetify/lib/components/index.mjs').VTooltip["transition"] | undefined;
validateOn?: import('../../../types').Field["validateOn"];
validateOnMount?: boolean | undefined;
variant?: string | undefined;
transition?: import('vuetify/lib/components/index.mjs').VStepperWindowItem["transition"] | undefined;
};
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>;
blur: () => Promise<void>;
change: () => Promise<void>;
input: () => Promise<void>;
}) => any>>;
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
8 changes: 8 additions & 0 deletions dist/plugin/components/fields/VSFCustom/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { default as VSFCustom } from './VSFCustom.vue';
import { Field, SharedProps } from '../../../types';
interface InternalField extends Omit<Field, 'inline' | 'inlineSpacing' | 'labelPositionLeft'> {
}
export interface VSFCustomProps extends SharedProps {
field: InternalField;
}
export default VSFCustom;
11 changes: 11 additions & 0 deletions dist/plugin/components/fields/VSFRadio/VSFRadio.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { VSFRadioProps } from './index';
declare let __VLS_typeProps: VSFRadioProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
32 changes: 32 additions & 0 deletions dist/plugin/components/fields/VSFRadio/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import { default as VSFRadio } from './VSFRadio.vue';
import { Field, SharedProps } from '../../../types';
import { VRadio, VRadioGroup } from 'vuetify/components';
export interface RadioGroupProps {
appendIcon?: VRadioGroup['appendIcon'];
direction?: VRadioGroup['direction'];
error?: VRadioGroup['error'];
hideDetails?: VRadioGroup['hideDetails'];
hint?: VRadioGroup['hint'];
groupId?: VRadioGroup['id'];
maxErrors?: VRadioGroup['maxErrors'];
maxWidth?: VRadioGroup['maxWidth'];
minWidth?: VRadioGroup['minWidth'];
messages?: VRadioGroup['messages'];
persistentHint?: VRadioGroup['persistentHint'];
prependIcon?: VRadioGroup['prependIcon'];
theme?: VRadioGroup['theme'];
width?: VRadioGroup['width'];
}
interface InternalField extends Field, RadioGroupProps {
color?: VRadio['color'];
density?: VRadio['density'];
falseIcon?: VRadio['falseIcon'];
falseValue?: VRadio['falseValue'];
inline?: VRadio['inline'];
multiple?: VRadio['multiple'];
trueValue?: VRadio['trueValue'];
}
export interface VSFRadioProps extends SharedProps {
field: InternalField;
}
export default VSFRadio;
11 changes: 11 additions & 0 deletions dist/plugin/components/fields/VSFSwitch/VSFSwitch.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { VSFSwitchProps } from './index';
declare let __VLS_typeProps: VSFSwitchProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
13 changes: 13 additions & 0 deletions dist/plugin/components/fields/VSFSwitch/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { default as VSFSwitch } from './VSFSwitch.vue';
import { Field, SharedProps } from '../../../types';
import { VSwitch } from 'vuetify/components';
interface InternalField extends Omit<Field, 'inline' | 'inlineSpacing' | 'labelPositionLeft'> {
color?: VSwitch['color'];
density?: VSwitch['density'];
falseIcon?: VSwitch['falseIcon'];
hideDetails?: VSwitch['hideDetails'];
}
export interface VSFSwitchProps extends SharedProps {
field: InternalField;
}
export default VSFSwitch;
7 changes: 7 additions & 0 deletions dist/plugin/components/fields/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { default as CommonField } from './CommonField/CommonField.vue';
import { default as VSFButtonField } from './VSFButtonField/VSFButtonField.vue';
import { default as VSFCheckbox } from './VSFCheckbox/VSFCheckbox.vue';
import { default as VSFCustom } from './VSFCustom/VSFCustom.vue';
import { default as VSFRadio } from './VSFRadio/VSFRadio.vue';
import { default as VSFSwitch } from './VSFSwitch/VSFSwitch.vue';
export { CommonField, VSFButtonField, VSFCheckbox, VSFCustom, VSFRadio, VSFSwitch, };
6 changes: 6 additions & 0 deletions dist/plugin/components/shared/FieldLabel.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface FieldLabelProps {
label: string | undefined;
required: boolean | undefined;
}
declare const _default: import('vue').DefineComponent<FieldLabelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FieldLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
27 changes: 27 additions & 0 deletions dist/plugin/components/shared/PageContainer.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { Page, ResponsiveColumns } from '../../types/index';
export interface PageContainerProps {
fieldColumns: ResponsiveColumns | undefined;
page: Page;
}
declare let __VLS_typeProps: PageContainerProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare function __VLS_template(): {
slots: Readonly<Record<string, any>> & Record<string, any>;
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
validate: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onValidate?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
18 changes: 18 additions & 0 deletions dist/plugin/components/shared/PageReviewContainer.vue.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Page, ResponsiveColumns } from '../../types/index';
export interface PageReviewContainerProps {
page: Page;
pages: Page[];
summaryColumns: ResponsiveColumns | undefined;
}
declare let __VLS_typeProps: PageReviewContainerProps;
type __VLS_PublicProps = {
modelValue?: any;
} & typeof __VLS_typeProps;
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
submit: (...args: any[]) => void;
goToQuestion: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
onSubmit?: ((...args: any[]) => any) | undefined;
onGoToQuestion?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;
1 change: 1 addition & 0 deletions dist/plugin/composables/bindings.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export declare const useBindingSettings: (settings: Partial<Settings>, exclude?: string[]) => Partial<Settings>;
Loading