diff --git a/assets/CheckboxFieldApi-1b6062c1.js b/assets/CheckboxFieldApi-1b6062c1.js deleted file mode 100644 index ea5be540..00000000 --- a/assets/CheckboxFieldApi-1b6062c1.js +++ /dev/null @@ -1,10 +0,0 @@ -const e=`//@ts-nocheck -type CheckboxFieldProps = CommonFieldProps & { - mode: 'checkbox'; - onChange?: CommonEvent; - onChangeOptions?: SetFieldValueOptions; - checked?: boolean; - uncheckedValue?: any; - render: (field: CheckboxFieldStore) => JSXElement; -}; -`;export{e as default}; diff --git a/assets/CheckboxFieldApi-d8937ed3.js b/assets/CheckboxFieldApi-d8937ed3.js new file mode 100644 index 00000000..c482e7b9 --- /dev/null +++ b/assets/CheckboxFieldApi-d8937ed3.js @@ -0,0 +1,3 @@ +const CheckboxFieldApi = "//@ts-nocheck\ntype CheckboxFieldProps = CommonFieldProps & {\n mode: 'checkbox';\n onChange?: CommonEvent;\n onChangeOptions?: SetFieldValueOptions;\n checked?: boolean;\n uncheckedValue?: any;\n render: (field: CheckboxFieldStore) => JSXElement;\n};\n"; + +export { CheckboxFieldApi as default }; diff --git a/assets/CheckboxGroupFieldApi-0ae51771.js b/assets/CheckboxGroupFieldApi-0ae51771.js deleted file mode 100644 index 5c9f3c2a..00000000 --- a/assets/CheckboxGroupFieldApi-0ae51771.js +++ /dev/null @@ -1,8 +0,0 @@ -const e=`//@ts-nocheck -type CheckboxGroupFieldProps = CommonFieldProps & { - mode: 'checkbox-group'; - onChange?: CommonEvent; - onChangeOptions?: SetFieldValueOptions; - render: (field: CheckboxGroupFieldStore) => JSXElement; -}; -`;export{e as default}; diff --git a/assets/CheckboxGroupFieldApi-707bc00f.js b/assets/CheckboxGroupFieldApi-707bc00f.js new file mode 100644 index 00000000..5477a47e --- /dev/null +++ b/assets/CheckboxGroupFieldApi-707bc00f.js @@ -0,0 +1,3 @@ +const CheckboxGroupFieldApi = "//@ts-nocheck\ntype CheckboxGroupFieldProps = CommonFieldProps & {\n mode: 'checkbox-group';\n onChange?: CommonEvent;\n onChangeOptions?: SetFieldValueOptions;\n render: (field: CheckboxGroupFieldStore) => JSXElement;\n};\n"; + +export { CheckboxGroupFieldApi as default }; diff --git a/assets/ComponentFieldApi-1aa0d009.js b/assets/ComponentFieldApi-1aa0d009.js deleted file mode 100644 index b3ff8f5b..00000000 --- a/assets/ComponentFieldApi-1aa0d009.js +++ /dev/null @@ -1,26 +0,0 @@ -const n=`//@ts-nocheck -function Field(props: FieldComponentProps): JSXElement; - -type FieldComponentProps = CommonFieldProps & - ( - | InputFieldProps - | CheckboxFieldProps - | CheckboxGroupFieldProps - | RadioGroupFieldProps - ); - -interface CommonFieldProps extends FieldProps { - onBlur?: CommonEvent; - onBlurOptions?: ValidateFieldOptions; -} - -type FieldProps = { - id?: string; - error?: boolean; - errorMessage?: string; - formHandler?: FormHandler; - name?: string; - triggers?: string[]; - value?: any; -}; -`;export{n as default}; diff --git a/assets/ComponentFieldApi-3abb02f1.js b/assets/ComponentFieldApi-3abb02f1.js new file mode 100644 index 00000000..7178084a --- /dev/null +++ b/assets/ComponentFieldApi-3abb02f1.js @@ -0,0 +1,3 @@ +const ComponentFieldApi = "//@ts-nocheck\nfunction Field(props: FieldComponentProps): JSXElement;\n\ntype FieldComponentProps = CommonFieldProps &\n (\n | InputFieldProps\n | CheckboxFieldProps\n | CheckboxGroupFieldProps\n | RadioGroupFieldProps\n );\n\ninterface CommonFieldProps extends FieldProps {\n onBlur?: CommonEvent;\n onBlurOptions?: ValidateFieldOptions;\n}\n\ntype FieldProps = {\n id?: string;\n error?: boolean;\n errorMessage?: string;\n formHandler?: FormHandler;\n name?: string;\n triggers?: string[];\n value?: any;\n};\n"; + +export { ComponentFieldApi as default }; diff --git a/assets/InputFieldApi-64d28d4a.js b/assets/InputFieldApi-64d28d4a.js deleted file mode 100644 index e922114f..00000000 --- a/assets/InputFieldApi-64d28d4a.js +++ /dev/null @@ -1,8 +0,0 @@ -const n=`//@ts-nocheck -type InputFieldProps = CommonFieldProps & { - mode: 'input'; - onInput?: CommonEvent; - onInputOptions?: SetFieldValueOptions; - render: (field: InputFieldStore) => JSXElement; -}; -`;export{n as default}; diff --git a/assets/InputFieldApi-8cd0fffc.js b/assets/InputFieldApi-8cd0fffc.js new file mode 100644 index 00000000..68131d86 --- /dev/null +++ b/assets/InputFieldApi-8cd0fffc.js @@ -0,0 +1,3 @@ +const InputFieldApi = "//@ts-nocheck\ntype InputFieldProps = CommonFieldProps & {\n mode: 'input';\n onInput?: CommonEvent;\n onInputOptions?: SetFieldValueOptions;\n render: (field: InputFieldStore) => JSXElement;\n};\n"; + +export { InputFieldApi as default }; diff --git a/assets/RadioGroupFieldApi-bd68ce98.js b/assets/RadioGroupFieldApi-bd68ce98.js new file mode 100644 index 00000000..f0616fa9 --- /dev/null +++ b/assets/RadioGroupFieldApi-bd68ce98.js @@ -0,0 +1,3 @@ +const RadioGroupFieldApi = "//@ts-nocheck\ntype RadioGroupFieldProps = CommonFieldProps & {\n mode: 'radio-group';\n onChange?: CommonEvent;\n onChangeOptions?: SetFieldValueOptions;\n render: (field: RadioGroupFieldStore) => JSXElement;\n};\n"; + +export { RadioGroupFieldApi as default }; diff --git a/assets/RadioGroupFieldApi-f2c69e9f.js b/assets/RadioGroupFieldApi-f2c69e9f.js deleted file mode 100644 index ae1aa100..00000000 --- a/assets/RadioGroupFieldApi-f2c69e9f.js +++ /dev/null @@ -1,8 +0,0 @@ -const o=`//@ts-nocheck -type RadioGroupFieldProps = CommonFieldProps & { - mode: 'radio-group'; - onChange?: CommonEvent; - onChangeOptions?: SetFieldValueOptions; - render: (field: RadioGroupFieldStore) => JSXElement; -}; -`;export{o as default}; diff --git a/assets/Step1-7eeeaf6d.js b/assets/Step1-7eeeaf6d.js deleted file mode 100644 index 087eb8cb..00000000 --- a/assets/Step1-7eeeaf6d.js +++ /dev/null @@ -1,42 +0,0 @@ -const n=`import { Radios, TextInput } from '@components'; -import { Component } from 'solid-js'; -import { useFormContext } from './context'; - -export const Step1: Component = () => { - const { formHandler } = useFormContext(); - - return ( -