@alextheman/components 6.12.0 → 6.13.1
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/v7/index.cjs +2 -0
- package/dist/v7/index.cjs.map +1 -0
- package/dist/v7/index.d.cts +962 -0
- package/dist/v7/index.d.ts +962 -0
- package/dist/v7/index.js +2 -0
- package/dist/v7/index.js.map +1 -0
- package/package.json +17 -12
|
@@ -0,0 +1,962 @@
|
|
|
1
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import { ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, ElementType, MouseEvent, ReactNode, Ref } from "react";
|
|
4
|
+
import Button, { ButtonOwnProps, ButtonProps } from "@mui/material/Button";
|
|
5
|
+
import { TextFieldProps } from "@mui/material/TextField";
|
|
6
|
+
import { MenuProps } from "@mui/material/Menu";
|
|
7
|
+
import { MenuItemOwnProps } from "@mui/material/MenuItem";
|
|
8
|
+
import { OptionalOnCondition } from "@alextheman/utility";
|
|
9
|
+
import { LinkProps } from "@mui/material/Link";
|
|
10
|
+
import { RouterProps, SwitchProps as SwitchProps$1 } from "wouter";
|
|
11
|
+
import * as _$_tanstack_react_form0 from "@tanstack/react-form";
|
|
12
|
+
import { createFormHook as createFormHook$1 } from "@tanstack/react-form";
|
|
13
|
+
|
|
14
|
+
//#region src/v7/components/NavigationDrawer.d.ts
|
|
15
|
+
interface NavMenuItemOptions {
|
|
16
|
+
/** The label to display on the nav item option. */
|
|
17
|
+
label: string;
|
|
18
|
+
/** Where in your app the nav item option should navigate to. */
|
|
19
|
+
to: string;
|
|
20
|
+
/** An icon to display alongside the nav item option. */
|
|
21
|
+
icon?: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
interface NavMenuItem {
|
|
24
|
+
/** The category to display all the nav item options under. */
|
|
25
|
+
category: string;
|
|
26
|
+
/** An array of nav options to display under the chosen category. */
|
|
27
|
+
options: Array<NavMenuItemOptions>;
|
|
28
|
+
}
|
|
29
|
+
interface NavigationDrawerProps {
|
|
30
|
+
/** The title to display at the top of the wrapper. */
|
|
31
|
+
title: string;
|
|
32
|
+
/** An array of nav items to show. */
|
|
33
|
+
navItems: Array<NavMenuItem>;
|
|
34
|
+
/** Any extra elements to add to the header. */
|
|
35
|
+
headerElements?: ReactNode;
|
|
36
|
+
/** Children to display within the wrapper. */
|
|
37
|
+
children: ReactNode;
|
|
38
|
+
}
|
|
39
|
+
/** Renders a collapsable drawer to help with navigation. Best used as the main means of navigation on desktop apps. */
|
|
40
|
+
declare function NavigationDrawer({
|
|
41
|
+
title,
|
|
42
|
+
navItems,
|
|
43
|
+
children,
|
|
44
|
+
headerElements
|
|
45
|
+
}: NavigationDrawerProps): _$react_jsx_runtime0.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/v7/components/SubmitButton.d.ts
|
|
48
|
+
interface SubmitButtonProps extends Omit<ButtonProps, "type"> {
|
|
49
|
+
/** An option to disable the button on submit if the form is not dirty. */
|
|
50
|
+
disableClean?: boolean;
|
|
51
|
+
/** The label for the button. */
|
|
52
|
+
label?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* A Submit Button for use with TanStack Form's app form pattern. Must be used in a `<form.AppForm />` context.
|
|
56
|
+
*
|
|
57
|
+
* This should be initialised in your app form in the following way:
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* const { useAppForm } = createFormHook({
|
|
61
|
+
* fieldContext,
|
|
62
|
+
* formContext,
|
|
63
|
+
* formComponents: {
|
|
64
|
+
* SubmitButton,
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
* And then used as such:
|
|
69
|
+
*
|
|
70
|
+
* ```tsx
|
|
71
|
+
* <form.AppField>
|
|
72
|
+
* ...
|
|
73
|
+
* </form.AppField>
|
|
74
|
+
* <form.AppForm>
|
|
75
|
+
* <form.SubmitButton />
|
|
76
|
+
* </form.AppForm>
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
declare function SubmitButton({
|
|
80
|
+
disableClean,
|
|
81
|
+
label,
|
|
82
|
+
...buttonProps
|
|
83
|
+
}: SubmitButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/v7/components/TextField.d.ts
|
|
86
|
+
/**
|
|
87
|
+
* A text field component for use with TanStack Form's app form pattern. Must be used in a `<form.AppField />` context.
|
|
88
|
+
*
|
|
89
|
+
* This should be initialised in your app form in the following way:
|
|
90
|
+
*
|
|
91
|
+
* ```typescript
|
|
92
|
+
* const { useAppForm } = createFormHook({
|
|
93
|
+
* fieldContext,
|
|
94
|
+
* formContext,
|
|
95
|
+
* fieldComponents: {
|
|
96
|
+
* TextField,
|
|
97
|
+
* },
|
|
98
|
+
* });
|
|
99
|
+
* ```
|
|
100
|
+
* And then used as such:
|
|
101
|
+
*
|
|
102
|
+
* ```tsx
|
|
103
|
+
* <form.AppField name="firstName">
|
|
104
|
+
* {(field) => {
|
|
105
|
+
* return <field.TextField />
|
|
106
|
+
* }}
|
|
107
|
+
* </form.AppField>
|
|
108
|
+
* <form.AppForm>
|
|
109
|
+
* <form.SubmitButton />
|
|
110
|
+
* </form.AppForm>
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
declare function TextField(props: TextFieldProps): _$react_jsx_runtime0.JSX.Element;
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region src/v7/components/DropdownMenu/DropdownMenu.d.ts
|
|
116
|
+
interface DropdownMenuProps extends Omit<MenuProps, "anchorEl" | "open"> {
|
|
117
|
+
/** The children to render inside of the dropdown. */
|
|
118
|
+
children: ReactNode;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Renders a menu component that can be used alongside the `DropdownMenuProvider`.
|
|
122
|
+
*
|
|
123
|
+
* This component's open state would be controlled by the `DropdownMenuTrigger`.
|
|
124
|
+
*/
|
|
125
|
+
declare function DropdownMenu({
|
|
126
|
+
children,
|
|
127
|
+
onClose,
|
|
128
|
+
...menuProps
|
|
129
|
+
}: DropdownMenuProps): _$react_jsx_runtime0.JSX.Element;
|
|
130
|
+
//#endregion
|
|
131
|
+
//#region src/v7/components/DropdownMenu/DropdownMenuItem.d.ts
|
|
132
|
+
type DropdownMenuItemProps<RootComponent extends ElementType = typeof Button> = {
|
|
133
|
+
/**
|
|
134
|
+
* An optional component to provide to override the current component.
|
|
135
|
+
*
|
|
136
|
+
* Note that the provided component must:
|
|
137
|
+
* - accept a `to` prop.
|
|
138
|
+
* - correctly handle the forwarded `ref`.
|
|
139
|
+
* - render a valid anchor element (or equivalent) for proper accessibility.
|
|
140
|
+
*/
|
|
141
|
+
component?: RootComponent; /** The children to be rendered within the menu item. */
|
|
142
|
+
children?: ReactNode; /** The ref to forward to allow it to be used with polymorphic components */
|
|
143
|
+
ref?: ComponentPropsWithRef<RootComponent>["ref"]; /** A function to execute after clicking the item. */
|
|
144
|
+
onClick?: ComponentProps<RootComponent>["onClick"];
|
|
145
|
+
} & Omit<ComponentPropsWithoutRef<RootComponent>, "children" | "ref"> & MenuItemOwnProps;
|
|
146
|
+
/** Represents a menu item to be used inside the `DropdownMenu`. It must be used as children of the `DropdownMenu` component. */
|
|
147
|
+
declare function DropdownMenuItem<RootComponent extends ElementType = typeof Button>({
|
|
148
|
+
component,
|
|
149
|
+
children,
|
|
150
|
+
ref,
|
|
151
|
+
onClick,
|
|
152
|
+
...menuItemProps
|
|
153
|
+
}: DropdownMenuItemProps<RootComponent>): _$react_jsx_runtime0.JSX.Element;
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region src/types/ContextHookOptions.d.ts
|
|
156
|
+
interface ContextHookOptions<Strict extends boolean = true> {
|
|
157
|
+
/** Error if the context is missing if this is set to true. */
|
|
158
|
+
strict?: Strict;
|
|
159
|
+
}
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region src/v7/components/DropdownMenu/DropdownMenuProvider.d.ts
|
|
162
|
+
interface DropdownMenuContextValue {
|
|
163
|
+
/** A function responsible for closing the dropdown menu. */
|
|
164
|
+
closeMenu: () => void;
|
|
165
|
+
/** Represents whether or not the dropdown is open. */
|
|
166
|
+
isDropdownOpen: boolean;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
Access the DropdownMenu context directly.
|
|
170
|
+
*/
|
|
171
|
+
declare function useDropdownMenu<Strict extends boolean = true>({
|
|
172
|
+
strict
|
|
173
|
+
}?: ContextHookOptions<Strict>): OptionalOnCondition<Strict, DropdownMenuContextValue>;
|
|
174
|
+
interface DropdownMenuProviderProps {
|
|
175
|
+
/** The children to render inside of the dropdown. */
|
|
176
|
+
children: ReactNode;
|
|
177
|
+
}
|
|
178
|
+
/** Provides shared context for the `DropdownMenu` related components. */
|
|
179
|
+
declare function DropdownMenuProvider({
|
|
180
|
+
children
|
|
181
|
+
}: DropdownMenuProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/v7/components/DropdownMenu/DropdownMenuTrigger.d.ts
|
|
184
|
+
type DropdownMenuTriggerProps<RootComponent extends ElementType> = {
|
|
185
|
+
/**
|
|
186
|
+
* An optional component to provide to override the current component.
|
|
187
|
+
*
|
|
188
|
+
* Note that the provided component must:
|
|
189
|
+
* - accept a `to` prop.
|
|
190
|
+
* - correctly handle the forwarded `ref`.
|
|
191
|
+
* - render a valid anchor element (or equivalent) for proper accessibility.
|
|
192
|
+
*/
|
|
193
|
+
component?: RootComponent; /** A function to call whenever the trigger is clicked. */
|
|
194
|
+
onClick?: (event: MouseEvent<HTMLElement>) => void; /** The ref to forward to allow it to be used with polymorphic components */
|
|
195
|
+
ref?: ComponentPropsWithRef<RootComponent>["ref"]; /** The icon to display on the button when it is open. */
|
|
196
|
+
openIcon?: ElementType; /** The icon to display on the button when it is closed. */
|
|
197
|
+
closedIcon?: ElementType;
|
|
198
|
+
} & ComponentPropsWithoutRef<RootComponent> & Omit<ButtonOwnProps, "endIcon">;
|
|
199
|
+
/**
|
|
200
|
+
* Renders a component which, when clicked, opens the `DropdownMenu` in the current `DropdownMenuProvider`.
|
|
201
|
+
*
|
|
202
|
+
* Note that this component must be used in a `DropdownMenuProvider`. It will error in any other context.
|
|
203
|
+
*/
|
|
204
|
+
declare function DropdownMenuTrigger<RootComponent extends ElementType>({
|
|
205
|
+
component,
|
|
206
|
+
onClick,
|
|
207
|
+
openIcon: OpenIcon,
|
|
208
|
+
closedIcon: ClosedIcon,
|
|
209
|
+
variant,
|
|
210
|
+
...buttonProps
|
|
211
|
+
}: DropdownMenuTriggerProps<RootComponent>): _$react_jsx_runtime0.JSX.Element;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/v7/components/DropdownMenu/DropdownMenuWrapper.d.ts
|
|
214
|
+
interface DropdownMenuWrapperProps {
|
|
215
|
+
/** The children to render inside of the dropdown. */
|
|
216
|
+
children: ReactNode;
|
|
217
|
+
/** The button component to be used as the dropdown toggle (defaults to a Material UI Button) */
|
|
218
|
+
trigger?: ElementType;
|
|
219
|
+
/** Props to pass to the Button. */
|
|
220
|
+
triggerProps?: Omit<DropdownMenuTriggerProps<ElementType>, "component">;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* An in-line component that manages the `DropdownMenuProvider` internally. You can just pass in the `DropdownMenuItem` components and it will work as is.
|
|
224
|
+
*
|
|
225
|
+
* This may be used over LoaderProvider if you don't require as much control over the placement of each individual part of the dropdown.
|
|
226
|
+
*/
|
|
227
|
+
declare function DropdownMenuWrapper({
|
|
228
|
+
children,
|
|
229
|
+
trigger,
|
|
230
|
+
triggerProps
|
|
231
|
+
}: DropdownMenuWrapperProps): _$react_jsx_runtime0.JSX.Element;
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/v7/components/routing/ErrorPage.d.ts
|
|
234
|
+
interface ErrorPageProps {
|
|
235
|
+
/** The page title. */
|
|
236
|
+
title: string;
|
|
237
|
+
/** The page content. */
|
|
238
|
+
children: ReactNode;
|
|
239
|
+
}
|
|
240
|
+
/** Renders a simple page layout for displaying errors. */
|
|
241
|
+
declare function ErrorPage({
|
|
242
|
+
title,
|
|
243
|
+
children
|
|
244
|
+
}: ErrorPageProps): _$react_jsx_runtime0.JSX.Element;
|
|
245
|
+
//#endregion
|
|
246
|
+
//#region src/v7/components/routing/InternalLink.d.ts
|
|
247
|
+
interface InternalLinkProps extends Omit<LinkProps, "href" | "component"> {
|
|
248
|
+
/** The path to navigate to */
|
|
249
|
+
to: `/${string}` | `~/${string}` | (string & {});
|
|
250
|
+
/**
|
|
251
|
+
* An optional component to provide to override the current component.
|
|
252
|
+
*
|
|
253
|
+
* Note that the provided component must:
|
|
254
|
+
* - accept a `to` prop
|
|
255
|
+
* - correctly handle the forwarded `ref`
|
|
256
|
+
* - render a valid anchor element (or equivalent) for proper accessibility
|
|
257
|
+
*/
|
|
258
|
+
component?: ElementType;
|
|
259
|
+
href?: never;
|
|
260
|
+
/** The readable content to display on the link. */
|
|
261
|
+
children: ReactNode;
|
|
262
|
+
/** An optional ref to allow it to be used with polymorphic components. */
|
|
263
|
+
ref?: Ref<HTMLAnchorElement>;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* A stylised link for navigating within your application.
|
|
267
|
+
*
|
|
268
|
+
* Uses the app router for client-side navigation and opens the destination in the same tab.
|
|
269
|
+
*
|
|
270
|
+
* Defaults to a Wouter implementation but can be overridden via the `component` prop.
|
|
271
|
+
*/
|
|
272
|
+
declare function InternalLink({
|
|
273
|
+
to,
|
|
274
|
+
component,
|
|
275
|
+
children,
|
|
276
|
+
ref,
|
|
277
|
+
...linkProps
|
|
278
|
+
}: InternalLinkProps): _$react_jsx_runtime0.JSX.Element;
|
|
279
|
+
//#endregion
|
|
280
|
+
//#region src/v7/components/routing/MemoryRouter.d.ts
|
|
281
|
+
/**
|
|
282
|
+
* A router that can be used with Wouter that stores all entries in memory. Works similarly to the `MemoryRouter` from `react-router-dom`.
|
|
283
|
+
*
|
|
284
|
+
* Note that it also contains the same absolute routing behaviour found in the base `Router` component from `@alextheman/components/v7`.
|
|
285
|
+
*/
|
|
286
|
+
declare function MemoryRouter({
|
|
287
|
+
children,
|
|
288
|
+
...routerProps
|
|
289
|
+
}: Omit<RouterProps, "hook" | "hrefs">): _$react_jsx_runtime0.JSX.Element;
|
|
290
|
+
//#endregion
|
|
291
|
+
//#region src/v7/components/routing/Router.d.ts
|
|
292
|
+
/**
|
|
293
|
+
* An app Router that integrates with Wouter and handles nested routing behaviour.
|
|
294
|
+
*
|
|
295
|
+
* If you use a Wouter Link within a nested Route with Wouter, navigation can behave unexpectedly as it ends up resolving relative to the nested router's base URL. For example:
|
|
296
|
+
*
|
|
297
|
+
* ```tsx
|
|
298
|
+
* <Route path="/users" nest>
|
|
299
|
+
* <Link to="/users/sign-in"> // Navigates to `/users/users/sign-in` (it appends the `to` prop to the `path` prop in the Route)
|
|
300
|
+
* View user details
|
|
301
|
+
* </Link>
|
|
302
|
+
* </Route>
|
|
303
|
+
* ```
|
|
304
|
+
*
|
|
305
|
+
* This can be surprising, especially when re-using page logic across routes, where you don't want links to rely on implicit nested routing behaviour. This router deals with the above so that, for as long as you define your nested routes in this Router component, the Link example above would navigate to `/users/sign-in` instead. That is, it uses the `to` prop as an absolute path rather than appending it to the parent Route path.
|
|
306
|
+
*
|
|
307
|
+
* This effectively makes all navigation behave as if paths are absolute (relative to the application's base URL), regardless of nested routing structure.
|
|
308
|
+
*/
|
|
309
|
+
declare function Router({
|
|
310
|
+
children,
|
|
311
|
+
hook,
|
|
312
|
+
...routerProps
|
|
313
|
+
}: Omit<RouterProps, "hrefs">): _$react_jsx_runtime0.JSX.Element;
|
|
314
|
+
//#endregion
|
|
315
|
+
//#region src/v7/components/routing/Switch.d.ts
|
|
316
|
+
interface SwitchProps extends SwitchProps$1 {
|
|
317
|
+
/** The content to render if no routes match. */
|
|
318
|
+
fallback?: ReactNode;
|
|
319
|
+
}
|
|
320
|
+
/**
|
|
321
|
+
* A wrapper around Wouter's Switch that adds a fallback route.
|
|
322
|
+
*
|
|
323
|
+
* This ensures that any unmatched routes in the Switch always shows something rather than just showing an empty page.
|
|
324
|
+
*/
|
|
325
|
+
declare function Switch({
|
|
326
|
+
children,
|
|
327
|
+
fallback,
|
|
328
|
+
...switchProps
|
|
329
|
+
}: SwitchProps): _$react_jsx_runtime0.JSX.Element;
|
|
330
|
+
//#endregion
|
|
331
|
+
//#region src/v7/hooks/createFormHook.d.ts
|
|
332
|
+
/** Create the hooks for your app form with `@tanstack/react-form` using our default configuration. */
|
|
333
|
+
declare function createFormHook(options?: Partial<Parameters<typeof createFormHook$1>[0]>): {
|
|
334
|
+
useAppForm: <TFormData, TOnMount extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
335
|
+
readonly TextField: typeof TextField;
|
|
336
|
+
}, {
|
|
337
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
338
|
+
}>;
|
|
339
|
+
withForm: <TFormData, TOnMount extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
340
|
+
render,
|
|
341
|
+
props
|
|
342
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
343
|
+
readonly TextField: typeof TextField;
|
|
344
|
+
}, {
|
|
345
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
346
|
+
}, TRenderProps>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
347
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
348
|
+
readonly TextField: typeof TextField;
|
|
349
|
+
}, {
|
|
350
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
351
|
+
}>;
|
|
352
|
+
}>>;
|
|
353
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
354
|
+
render,
|
|
355
|
+
props,
|
|
356
|
+
defaultValues
|
|
357
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
358
|
+
readonly TextField: typeof TextField;
|
|
359
|
+
}, {
|
|
360
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
361
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: _$react.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
362
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
363
|
+
readonly TextField: typeof TextField;
|
|
364
|
+
}, {
|
|
365
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
366
|
+
}> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
367
|
+
readonly TextField: typeof TextField;
|
|
368
|
+
}, {
|
|
369
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
370
|
+
}>;
|
|
371
|
+
fields: TFields;
|
|
372
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
373
|
+
useTypedAppFormContext: <TFormData, TOnMount extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
374
|
+
readonly TextField: typeof TextField;
|
|
375
|
+
}, {
|
|
376
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
377
|
+
}>;
|
|
378
|
+
extendForm: <const TNewField extends Record<string, _$react.ComponentType<any>> & {
|
|
379
|
+
readonly TextField?: "Error: field component names must be unique — this key already exists in the base form" | undefined;
|
|
380
|
+
}, const TNewForm extends Record<string, _$react.ComponentType<any>> & {
|
|
381
|
+
readonly SubmitButton?: "Error: form component names must be unique — this key already exists in the base form" | undefined;
|
|
382
|
+
}>(extension: {
|
|
383
|
+
fieldComponents?: TNewField | undefined;
|
|
384
|
+
formComponents?: TNewForm | undefined;
|
|
385
|
+
}) => {
|
|
386
|
+
useAppForm: <TFormData, TOnMount extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
387
|
+
readonly TextField: typeof TextField;
|
|
388
|
+
} & TNewField, {
|
|
389
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
390
|
+
} & TNewForm>;
|
|
391
|
+
withForm: <TFormData, TOnMount_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1, TRenderProps extends object = {}>({
|
|
392
|
+
render,
|
|
393
|
+
props
|
|
394
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1, TOnChange_1, TOnChangeAsync_1, TOnBlur_1, TOnBlurAsync_1, TOnSubmit_1, TOnSubmitAsync_1, TOnDynamic_1, TOnDynamicAsync_1, TOnServer_1, TSubmitMeta_1, {
|
|
395
|
+
readonly TextField: typeof TextField;
|
|
396
|
+
} & TNewField, {
|
|
397
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
398
|
+
} & TNewForm, TRenderProps>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
399
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1] ? [TOnMount_1] extends [TOnMount_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1 : TOnMount_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1] ? [TOnChange_1] extends [TOnChange_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1 : TOnChange_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1] ? [TOnChangeAsync_1] extends [TOnChangeAsync_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1 : TOnChangeAsync_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1] ? [TOnBlur_1] extends [TOnBlur_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1 : TOnBlur_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1] ? [TOnBlurAsync_1] extends [TOnBlurAsync_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1 : TOnBlurAsync_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1] ? [TOnSubmit_1] extends [TOnSubmit_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1 : TOnSubmit_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1] ? [TOnSubmitAsync_1] extends [TOnSubmitAsync_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1 : TOnSubmitAsync_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1] ? [TOnDynamic_1] extends [TOnDynamic_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1 : TOnDynamic_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1] ? [TOnDynamicAsync_1] extends [TOnDynamicAsync_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1 : TOnDynamicAsync_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1] ? [TOnServer_1] extends [TOnServer_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1 : TOnServer_1, [unknown] extends [TSubmitMeta_1] ? any : TSubmitMeta_1, [unknown] extends [{
|
|
400
|
+
readonly TextField: typeof TextField;
|
|
401
|
+
} & TNewField] ? any : {
|
|
402
|
+
readonly TextField: typeof TextField;
|
|
403
|
+
} & TNewField, [unknown] extends [{
|
|
404
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
405
|
+
} & TNewForm] ? any : {
|
|
406
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
407
|
+
} & TNewForm>;
|
|
408
|
+
}>>;
|
|
409
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2, TRenderProps_1 extends object = {}>({
|
|
410
|
+
render,
|
|
411
|
+
props,
|
|
412
|
+
defaultValues
|
|
413
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
414
|
+
readonly TextField: typeof TextField;
|
|
415
|
+
} & TNewField, {
|
|
416
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
417
|
+
} & TNewForm, TSubmitMeta_2, TRenderProps_1>) => <TFormData, TFields extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1> & {
|
|
418
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2, TOnChange_2, TOnChangeAsync_2, TOnBlur_2, TOnBlurAsync_2, TOnSubmit_2, TOnSubmitAsync_2, TOnDynamic_2, TOnDynamicAsync_2, TOnServer_2, unknown extends TSubmitMeta_2 ? TFormSubmitMeta : TSubmitMeta_2, {
|
|
419
|
+
readonly TextField: typeof TextField;
|
|
420
|
+
} & TNewField, {
|
|
421
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
422
|
+
} & TNewForm> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2 ? TFormSubmitMeta : TSubmitMeta_2, {
|
|
423
|
+
readonly TextField: typeof TextField;
|
|
424
|
+
} & TNewField, {
|
|
425
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
426
|
+
} & TNewForm>;
|
|
427
|
+
fields: TFields;
|
|
428
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
429
|
+
useTypedAppFormContext: <TFormData, TOnMount_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3, TOnChange_3, TOnChangeAsync_3, TOnBlur_3, TOnBlurAsync_3, TOnSubmit_3, TOnSubmitAsync_3, TOnDynamic_3, TOnDynamicAsync_3, TOnServer_3, TSubmitMeta_3>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3, TOnChange_3, TOnChangeAsync_3, TOnBlur_3, TOnBlurAsync_3, TOnSubmit_3, TOnSubmitAsync_3, TOnDynamic_3, TOnDynamicAsync_3, TOnServer_3, TSubmitMeta_3, {
|
|
430
|
+
readonly TextField: typeof TextField;
|
|
431
|
+
} & TNewField, {
|
|
432
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
433
|
+
} & TNewForm>;
|
|
434
|
+
extendForm: <const TNewField_1 extends Record<string, _$react.ComponentType<any>> & ({
|
|
435
|
+
readonly TextField: typeof TextField;
|
|
436
|
+
} & TNewField extends infer T ? { [K in keyof T]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_1 extends Record<string, _$react.ComponentType<any>> & ({
|
|
437
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
438
|
+
} & TNewForm extends infer T_1 ? { [K_1 in keyof T_1]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
439
|
+
fieldComponents?: TNewField_1 | undefined;
|
|
440
|
+
formComponents?: TNewForm_1 | undefined;
|
|
441
|
+
}) => {
|
|
442
|
+
useAppForm: <TFormData, TOnMount_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_4>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_4, TOnChange_4, TOnChangeAsync_4, TOnBlur_4, TOnBlurAsync_4, TOnSubmit_4, TOnSubmitAsync_4, TOnDynamic_4, TOnDynamicAsync_4, TOnServer_4, TSubmitMeta_4>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_4, TOnChange_4, TOnChangeAsync_4, TOnBlur_4, TOnBlurAsync_4, TOnSubmit_4, TOnSubmitAsync_4, TOnDynamic_4, TOnDynamicAsync_4, TOnServer_4, TSubmitMeta_4, {
|
|
443
|
+
readonly TextField: typeof TextField;
|
|
444
|
+
} & TNewField & TNewField_1, {
|
|
445
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
446
|
+
} & TNewForm & TNewForm_1>;
|
|
447
|
+
withForm: <TFormData, TOnMount_1_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_1, TRenderProps_2 extends object = {}>({
|
|
448
|
+
render,
|
|
449
|
+
props
|
|
450
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_1, TOnChange_1_1, TOnChangeAsync_1_1, TOnBlur_1_1, TOnBlurAsync_1_1, TOnSubmit_1_1, TOnSubmitAsync_1_1, TOnDynamic_1_1, TOnDynamicAsync_1_1, TOnServer_1_1, TSubmitMeta_1_1, {
|
|
451
|
+
readonly TextField: typeof TextField;
|
|
452
|
+
} & TNewField & TNewField_1, {
|
|
453
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
454
|
+
} & TNewForm & TNewForm_1, TRenderProps_2>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_2] ? any : TRenderProps_2> & {
|
|
455
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_1] ? [TOnMount_1_1] extends [TOnMount_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_1 : TOnMount_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_1] ? [TOnChange_1_1] extends [TOnChange_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_1 : TOnChange_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_1] ? [TOnChangeAsync_1_1] extends [TOnChangeAsync_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_1 : TOnChangeAsync_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_1] ? [TOnBlur_1_1] extends [TOnBlur_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_1 : TOnBlur_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_1] ? [TOnBlurAsync_1_1] extends [TOnBlurAsync_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_1 : TOnBlurAsync_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_1] ? [TOnSubmit_1_1] extends [TOnSubmit_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_1 : TOnSubmit_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_1] ? [TOnSubmitAsync_1_1] extends [TOnSubmitAsync_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_1 : TOnSubmitAsync_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_1] ? [TOnDynamic_1_1] extends [TOnDynamic_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_1 : TOnDynamic_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_1] ? [TOnDynamicAsync_1_1] extends [TOnDynamicAsync_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_1 : TOnDynamicAsync_1_1, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_1] ? [TOnServer_1_1] extends [TOnServer_1_1 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_1 : TOnServer_1_1, [unknown] extends [TSubmitMeta_1_1] ? any : TSubmitMeta_1_1, [unknown] extends [{
|
|
456
|
+
readonly TextField: typeof TextField;
|
|
457
|
+
} & TNewField & TNewField_1] ? any : {
|
|
458
|
+
readonly TextField: typeof TextField;
|
|
459
|
+
} & TNewField & TNewField_1, [unknown] extends [{
|
|
460
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
461
|
+
} & TNewForm & TNewForm_1] ? any : {
|
|
462
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
463
|
+
} & TNewForm & TNewForm_1>;
|
|
464
|
+
}>>;
|
|
465
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_1, TRenderProps_1_1 extends object = {}>({
|
|
466
|
+
render,
|
|
467
|
+
props,
|
|
468
|
+
defaultValues
|
|
469
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
470
|
+
readonly TextField: typeof TextField;
|
|
471
|
+
} & TNewField & TNewField_1, {
|
|
472
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
473
|
+
} & TNewForm & TNewForm_1, TSubmitMeta_2_1, TRenderProps_1_1>) => <TFormData, TFields_1 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_1>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_1> & {
|
|
474
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_1, TOnChange_2_1, TOnChangeAsync_2_1, TOnBlur_2_1, TOnBlurAsync_2_1, TOnSubmit_2_1, TOnSubmitAsync_2_1, TOnDynamic_2_1, TOnDynamicAsync_2_1, TOnServer_2_1, unknown extends TSubmitMeta_2_1 ? TFormSubmitMeta_1 : TSubmitMeta_2_1, {
|
|
475
|
+
readonly TextField: typeof TextField;
|
|
476
|
+
} & TNewField & TNewField_1, {
|
|
477
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
478
|
+
} & TNewForm & TNewForm_1> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_1 ? TFormSubmitMeta_1 : TSubmitMeta_2_1, {
|
|
479
|
+
readonly TextField: typeof TextField;
|
|
480
|
+
} & TNewField & TNewField_1, {
|
|
481
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
482
|
+
} & TNewForm & TNewForm_1>;
|
|
483
|
+
fields: TFields_1;
|
|
484
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
485
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_1 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_1 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_1>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_1, TOnChange_3_1, TOnChangeAsync_3_1, TOnBlur_3_1, TOnBlurAsync_3_1, TOnSubmit_3_1, TOnSubmitAsync_3_1, TOnDynamic_3_1, TOnDynamicAsync_3_1, TOnServer_3_1, TSubmitMeta_3_1>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_1, TOnChange_3_1, TOnChangeAsync_3_1, TOnBlur_3_1, TOnBlurAsync_3_1, TOnSubmit_3_1, TOnSubmitAsync_3_1, TOnDynamic_3_1, TOnDynamicAsync_3_1, TOnServer_3_1, TSubmitMeta_3_1, {
|
|
486
|
+
readonly TextField: typeof TextField;
|
|
487
|
+
} & TNewField & TNewField_1, {
|
|
488
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
489
|
+
} & TNewForm & TNewForm_1>;
|
|
490
|
+
extendForm: <const TNewField_2 extends Record<string, _$react.ComponentType<any>> & ({
|
|
491
|
+
readonly TextField: typeof TextField;
|
|
492
|
+
} & TNewField & TNewField_1 extends infer T_2 ? { [K_2 in keyof T_2]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_2 extends Record<string, _$react.ComponentType<any>> & ({
|
|
493
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
494
|
+
} & TNewForm & TNewForm_1 extends infer T_3 ? { [K_3 in keyof T_3]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
495
|
+
fieldComponents?: TNewField_2 | undefined;
|
|
496
|
+
formComponents?: TNewForm_2 | undefined;
|
|
497
|
+
}) => {
|
|
498
|
+
useAppForm: <TFormData, TOnMount_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_5>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_5, TOnChange_5, TOnChangeAsync_5, TOnBlur_5, TOnBlurAsync_5, TOnSubmit_5, TOnSubmitAsync_5, TOnDynamic_5, TOnDynamicAsync_5, TOnServer_5, TSubmitMeta_5>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_5, TOnChange_5, TOnChangeAsync_5, TOnBlur_5, TOnBlurAsync_5, TOnSubmit_5, TOnSubmitAsync_5, TOnDynamic_5, TOnDynamicAsync_5, TOnServer_5, TSubmitMeta_5, {
|
|
499
|
+
readonly TextField: typeof TextField;
|
|
500
|
+
} & TNewField & TNewField_1 & TNewField_2, {
|
|
501
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
502
|
+
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
503
|
+
withForm: <TFormData, TOnMount_1_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_2, TRenderProps_3 extends object = {}>({
|
|
504
|
+
render,
|
|
505
|
+
props
|
|
506
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_2, TOnChange_1_2, TOnChangeAsync_1_2, TOnBlur_1_2, TOnBlurAsync_1_2, TOnSubmit_1_2, TOnSubmitAsync_1_2, TOnDynamic_1_2, TOnDynamicAsync_1_2, TOnServer_1_2, TSubmitMeta_1_2, {
|
|
507
|
+
readonly TextField: typeof TextField;
|
|
508
|
+
} & TNewField & TNewField_1 & TNewField_2, {
|
|
509
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
510
|
+
} & TNewForm & TNewForm_1 & TNewForm_2, TRenderProps_3>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_3] ? any : TRenderProps_3> & {
|
|
511
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_2] ? [TOnMount_1_2] extends [TOnMount_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_2 : TOnMount_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_2] ? [TOnChange_1_2] extends [TOnChange_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_2 : TOnChange_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_2] ? [TOnChangeAsync_1_2] extends [TOnChangeAsync_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_2 : TOnChangeAsync_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_2] ? [TOnBlur_1_2] extends [TOnBlur_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_2 : TOnBlur_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_2] ? [TOnBlurAsync_1_2] extends [TOnBlurAsync_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_2 : TOnBlurAsync_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_2] ? [TOnSubmit_1_2] extends [TOnSubmit_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_2 : TOnSubmit_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_2] ? [TOnSubmitAsync_1_2] extends [TOnSubmitAsync_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_2 : TOnSubmitAsync_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_2] ? [TOnDynamic_1_2] extends [TOnDynamic_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_2 : TOnDynamic_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_2] ? [TOnDynamicAsync_1_2] extends [TOnDynamicAsync_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_2 : TOnDynamicAsync_1_2, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_2] ? [TOnServer_1_2] extends [TOnServer_1_2 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_2 : TOnServer_1_2, [unknown] extends [TSubmitMeta_1_2] ? any : TSubmitMeta_1_2, [unknown] extends [{
|
|
512
|
+
readonly TextField: typeof TextField;
|
|
513
|
+
} & TNewField & TNewField_1 & TNewField_2] ? any : {
|
|
514
|
+
readonly TextField: typeof TextField;
|
|
515
|
+
} & TNewField & TNewField_1 & TNewField_2, [unknown] extends [{
|
|
516
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
517
|
+
} & TNewForm & TNewForm_1 & TNewForm_2] ? any : {
|
|
518
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
519
|
+
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
520
|
+
}>>;
|
|
521
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_2, TRenderProps_1_2 extends object = {}>({
|
|
522
|
+
render,
|
|
523
|
+
props,
|
|
524
|
+
defaultValues
|
|
525
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
526
|
+
readonly TextField: typeof TextField;
|
|
527
|
+
} & TNewField & TNewField_1 & TNewField_2, {
|
|
528
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
529
|
+
} & TNewForm & TNewForm_1 & TNewForm_2, TSubmitMeta_2_2, TRenderProps_1_2>) => <TFormData, TFields_2 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_2>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_2> & {
|
|
530
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_2, TOnChange_2_2, TOnChangeAsync_2_2, TOnBlur_2_2, TOnBlurAsync_2_2, TOnSubmit_2_2, TOnSubmitAsync_2_2, TOnDynamic_2_2, TOnDynamicAsync_2_2, TOnServer_2_2, unknown extends TSubmitMeta_2_2 ? TFormSubmitMeta_2 : TSubmitMeta_2_2, {
|
|
531
|
+
readonly TextField: typeof TextField;
|
|
532
|
+
} & TNewField & TNewField_1 & TNewField_2, {
|
|
533
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
534
|
+
} & TNewForm & TNewForm_1 & TNewForm_2> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_2 ? TFormSubmitMeta_2 : TSubmitMeta_2_2, {
|
|
535
|
+
readonly TextField: typeof TextField;
|
|
536
|
+
} & TNewField & TNewField_1 & TNewField_2, {
|
|
537
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
538
|
+
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
539
|
+
fields: TFields_2;
|
|
540
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
541
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_2 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_2 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_2>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_2, TOnChange_3_2, TOnChangeAsync_3_2, TOnBlur_3_2, TOnBlurAsync_3_2, TOnSubmit_3_2, TOnSubmitAsync_3_2, TOnDynamic_3_2, TOnDynamicAsync_3_2, TOnServer_3_2, TSubmitMeta_3_2>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_2, TOnChange_3_2, TOnChangeAsync_3_2, TOnBlur_3_2, TOnBlurAsync_3_2, TOnSubmit_3_2, TOnSubmitAsync_3_2, TOnDynamic_3_2, TOnDynamicAsync_3_2, TOnServer_3_2, TSubmitMeta_3_2, {
|
|
542
|
+
readonly TextField: typeof TextField;
|
|
543
|
+
} & TNewField & TNewField_1 & TNewField_2, {
|
|
544
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
545
|
+
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
546
|
+
extendForm: <const TNewField_3 extends Record<string, _$react.ComponentType<any>> & ({
|
|
547
|
+
readonly TextField: typeof TextField;
|
|
548
|
+
} & TNewField & TNewField_1 & TNewField_2 extends infer T_4 ? { [K_4 in keyof T_4]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_3 extends Record<string, _$react.ComponentType<any>> & ({
|
|
549
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
550
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 extends infer T_5 ? { [K_5 in keyof T_5]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
551
|
+
fieldComponents?: TNewField_3 | undefined;
|
|
552
|
+
formComponents?: TNewForm_3 | undefined;
|
|
553
|
+
}) => {
|
|
554
|
+
useAppForm: <TFormData, TOnMount_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_6>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_6, TOnChange_6, TOnChangeAsync_6, TOnBlur_6, TOnBlurAsync_6, TOnSubmit_6, TOnSubmitAsync_6, TOnDynamic_6, TOnDynamicAsync_6, TOnServer_6, TSubmitMeta_6>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_6, TOnChange_6, TOnChangeAsync_6, TOnBlur_6, TOnBlurAsync_6, TOnSubmit_6, TOnSubmitAsync_6, TOnDynamic_6, TOnDynamicAsync_6, TOnServer_6, TSubmitMeta_6, {
|
|
555
|
+
readonly TextField: typeof TextField;
|
|
556
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
557
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
558
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
559
|
+
withForm: <TFormData, TOnMount_1_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_3, TRenderProps_4 extends object = {}>({
|
|
560
|
+
render,
|
|
561
|
+
props
|
|
562
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_3, TOnChange_1_3, TOnChangeAsync_1_3, TOnBlur_1_3, TOnBlurAsync_1_3, TOnSubmit_1_3, TOnSubmitAsync_1_3, TOnDynamic_1_3, TOnDynamicAsync_1_3, TOnServer_1_3, TSubmitMeta_1_3, {
|
|
563
|
+
readonly TextField: typeof TextField;
|
|
564
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
565
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
566
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3, TRenderProps_4>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_4] ? any : TRenderProps_4> & {
|
|
567
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_3] ? [TOnMount_1_3] extends [TOnMount_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_3 : TOnMount_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_3] ? [TOnChange_1_3] extends [TOnChange_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_3 : TOnChange_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_3] ? [TOnChangeAsync_1_3] extends [TOnChangeAsync_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_3 : TOnChangeAsync_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_3] ? [TOnBlur_1_3] extends [TOnBlur_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_3 : TOnBlur_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_3] ? [TOnBlurAsync_1_3] extends [TOnBlurAsync_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_3 : TOnBlurAsync_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_3] ? [TOnSubmit_1_3] extends [TOnSubmit_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_3 : TOnSubmit_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_3] ? [TOnSubmitAsync_1_3] extends [TOnSubmitAsync_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_3 : TOnSubmitAsync_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_3] ? [TOnDynamic_1_3] extends [TOnDynamic_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_3 : TOnDynamic_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_3] ? [TOnDynamicAsync_1_3] extends [TOnDynamicAsync_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_3 : TOnDynamicAsync_1_3, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_3] ? [TOnServer_1_3] extends [TOnServer_1_3 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_3 : TOnServer_1_3, [unknown] extends [TSubmitMeta_1_3] ? any : TSubmitMeta_1_3, [unknown] extends [{
|
|
568
|
+
readonly TextField: typeof TextField;
|
|
569
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3] ? any : {
|
|
570
|
+
readonly TextField: typeof TextField;
|
|
571
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, [unknown] extends [{
|
|
572
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
573
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3] ? any : {
|
|
574
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
575
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
576
|
+
}>>;
|
|
577
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_3, TRenderProps_1_3 extends object = {}>({
|
|
578
|
+
render,
|
|
579
|
+
props,
|
|
580
|
+
defaultValues
|
|
581
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
582
|
+
readonly TextField: typeof TextField;
|
|
583
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
584
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
585
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3, TSubmitMeta_2_3, TRenderProps_1_3>) => <TFormData, TFields_3 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_3>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_3> & {
|
|
586
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_3, TOnChange_2_3, TOnChangeAsync_2_3, TOnBlur_2_3, TOnBlurAsync_2_3, TOnSubmit_2_3, TOnSubmitAsync_2_3, TOnDynamic_2_3, TOnDynamicAsync_2_3, TOnServer_2_3, unknown extends TSubmitMeta_2_3 ? TFormSubmitMeta_3 : TSubmitMeta_2_3, {
|
|
587
|
+
readonly TextField: typeof TextField;
|
|
588
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
589
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
590
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_3 ? TFormSubmitMeta_3 : TSubmitMeta_2_3, {
|
|
591
|
+
readonly TextField: typeof TextField;
|
|
592
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
593
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
594
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
595
|
+
fields: TFields_3;
|
|
596
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
597
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_3 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_3 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_3>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_3, TOnChange_3_3, TOnChangeAsync_3_3, TOnBlur_3_3, TOnBlurAsync_3_3, TOnSubmit_3_3, TOnSubmitAsync_3_3, TOnDynamic_3_3, TOnDynamicAsync_3_3, TOnServer_3_3, TSubmitMeta_3_3>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_3, TOnChange_3_3, TOnChangeAsync_3_3, TOnBlur_3_3, TOnBlurAsync_3_3, TOnSubmit_3_3, TOnSubmitAsync_3_3, TOnDynamic_3_3, TOnDynamicAsync_3_3, TOnServer_3_3, TSubmitMeta_3_3, {
|
|
598
|
+
readonly TextField: typeof TextField;
|
|
599
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
600
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
601
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
602
|
+
extendForm: <const TNewField_4 extends Record<string, _$react.ComponentType<any>> & ({
|
|
603
|
+
readonly TextField: typeof TextField;
|
|
604
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 extends infer T_6 ? { [K_6 in keyof T_6]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_4 extends Record<string, _$react.ComponentType<any>> & ({
|
|
605
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
606
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 extends infer T_7 ? { [K_7 in keyof T_7]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
607
|
+
fieldComponents?: TNewField_4 | undefined;
|
|
608
|
+
formComponents?: TNewForm_4 | undefined;
|
|
609
|
+
}) => {
|
|
610
|
+
useAppForm: <TFormData, TOnMount_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_7>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_7, TOnChange_7, TOnChangeAsync_7, TOnBlur_7, TOnBlurAsync_7, TOnSubmit_7, TOnSubmitAsync_7, TOnDynamic_7, TOnDynamicAsync_7, TOnServer_7, TSubmitMeta_7>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_7, TOnChange_7, TOnChangeAsync_7, TOnBlur_7, TOnBlurAsync_7, TOnSubmit_7, TOnSubmitAsync_7, TOnDynamic_7, TOnDynamicAsync_7, TOnServer_7, TSubmitMeta_7, {
|
|
611
|
+
readonly TextField: typeof TextField;
|
|
612
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
613
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
614
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
615
|
+
withForm: <TFormData, TOnMount_1_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_4, TRenderProps_5 extends object = {}>({
|
|
616
|
+
render,
|
|
617
|
+
props
|
|
618
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_4, TOnChange_1_4, TOnChangeAsync_1_4, TOnBlur_1_4, TOnBlurAsync_1_4, TOnSubmit_1_4, TOnSubmitAsync_1_4, TOnDynamic_1_4, TOnDynamicAsync_1_4, TOnServer_1_4, TSubmitMeta_1_4, {
|
|
619
|
+
readonly TextField: typeof TextField;
|
|
620
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
621
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
622
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4, TRenderProps_5>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_5] ? any : TRenderProps_5> & {
|
|
623
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_4] ? [TOnMount_1_4] extends [TOnMount_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_4 : TOnMount_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_4] ? [TOnChange_1_4] extends [TOnChange_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_4 : TOnChange_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_4] ? [TOnChangeAsync_1_4] extends [TOnChangeAsync_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_4 : TOnChangeAsync_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_4] ? [TOnBlur_1_4] extends [TOnBlur_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_4 : TOnBlur_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_4] ? [TOnBlurAsync_1_4] extends [TOnBlurAsync_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_4 : TOnBlurAsync_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_4] ? [TOnSubmit_1_4] extends [TOnSubmit_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_4 : TOnSubmit_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_4] ? [TOnSubmitAsync_1_4] extends [TOnSubmitAsync_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_4 : TOnSubmitAsync_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_4] ? [TOnDynamic_1_4] extends [TOnDynamic_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_4 : TOnDynamic_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_4] ? [TOnDynamicAsync_1_4] extends [TOnDynamicAsync_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_4 : TOnDynamicAsync_1_4, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_4] ? [TOnServer_1_4] extends [TOnServer_1_4 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_4 : TOnServer_1_4, [unknown] extends [TSubmitMeta_1_4] ? any : TSubmitMeta_1_4, [unknown] extends [{
|
|
624
|
+
readonly TextField: typeof TextField;
|
|
625
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4] ? any : {
|
|
626
|
+
readonly TextField: typeof TextField;
|
|
627
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, [unknown] extends [{
|
|
628
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
629
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4] ? any : {
|
|
630
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
631
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
632
|
+
}>>;
|
|
633
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_4, TRenderProps_1_4 extends object = {}>({
|
|
634
|
+
render,
|
|
635
|
+
props,
|
|
636
|
+
defaultValues
|
|
637
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
638
|
+
readonly TextField: typeof TextField;
|
|
639
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
640
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
641
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4, TSubmitMeta_2_4, TRenderProps_1_4>) => <TFormData, TFields_4 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_4>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_4> & {
|
|
642
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_4, TOnChange_2_4, TOnChangeAsync_2_4, TOnBlur_2_4, TOnBlurAsync_2_4, TOnSubmit_2_4, TOnSubmitAsync_2_4, TOnDynamic_2_4, TOnDynamicAsync_2_4, TOnServer_2_4, unknown extends TSubmitMeta_2_4 ? TFormSubmitMeta_4 : TSubmitMeta_2_4, {
|
|
643
|
+
readonly TextField: typeof TextField;
|
|
644
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
645
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
646
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_4 ? TFormSubmitMeta_4 : TSubmitMeta_2_4, {
|
|
647
|
+
readonly TextField: typeof TextField;
|
|
648
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
649
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
650
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
651
|
+
fields: TFields_4;
|
|
652
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
653
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_4 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_4 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_4>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_4, TOnChange_3_4, TOnChangeAsync_3_4, TOnBlur_3_4, TOnBlurAsync_3_4, TOnSubmit_3_4, TOnSubmitAsync_3_4, TOnDynamic_3_4, TOnDynamicAsync_3_4, TOnServer_3_4, TSubmitMeta_3_4>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_4, TOnChange_3_4, TOnChangeAsync_3_4, TOnBlur_3_4, TOnBlurAsync_3_4, TOnSubmit_3_4, TOnSubmitAsync_3_4, TOnDynamic_3_4, TOnDynamicAsync_3_4, TOnServer_3_4, TSubmitMeta_3_4, {
|
|
654
|
+
readonly TextField: typeof TextField;
|
|
655
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
656
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
657
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
658
|
+
extendForm: <const TNewField_5 extends Record<string, _$react.ComponentType<any>> & ({
|
|
659
|
+
readonly TextField: typeof TextField;
|
|
660
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 extends infer T_8 ? { [K_8 in keyof T_8]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_5 extends Record<string, _$react.ComponentType<any>> & ({
|
|
661
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
662
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 extends infer T_9 ? { [K_9 in keyof T_9]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
663
|
+
fieldComponents?: TNewField_5 | undefined;
|
|
664
|
+
formComponents?: TNewForm_5 | undefined;
|
|
665
|
+
}) => {
|
|
666
|
+
useAppForm: <TFormData, TOnMount_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_8>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_8, TOnChange_8, TOnChangeAsync_8, TOnBlur_8, TOnBlurAsync_8, TOnSubmit_8, TOnSubmitAsync_8, TOnDynamic_8, TOnDynamicAsync_8, TOnServer_8, TSubmitMeta_8>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_8, TOnChange_8, TOnChangeAsync_8, TOnBlur_8, TOnBlurAsync_8, TOnSubmit_8, TOnSubmitAsync_8, TOnDynamic_8, TOnDynamicAsync_8, TOnServer_8, TSubmitMeta_8, {
|
|
667
|
+
readonly TextField: typeof TextField;
|
|
668
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
669
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
670
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
671
|
+
withForm: <TFormData, TOnMount_1_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_5, TRenderProps_6 extends object = {}>({
|
|
672
|
+
render,
|
|
673
|
+
props
|
|
674
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_5, TOnChange_1_5, TOnChangeAsync_1_5, TOnBlur_1_5, TOnBlurAsync_1_5, TOnSubmit_1_5, TOnSubmitAsync_1_5, TOnDynamic_1_5, TOnDynamicAsync_1_5, TOnServer_1_5, TSubmitMeta_1_5, {
|
|
675
|
+
readonly TextField: typeof TextField;
|
|
676
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
677
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
678
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5, TRenderProps_6>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_6] ? any : TRenderProps_6> & {
|
|
679
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_5] ? [TOnMount_1_5] extends [TOnMount_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_5 : TOnMount_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_5] ? [TOnChange_1_5] extends [TOnChange_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_5 : TOnChange_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_5] ? [TOnChangeAsync_1_5] extends [TOnChangeAsync_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_5 : TOnChangeAsync_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_5] ? [TOnBlur_1_5] extends [TOnBlur_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_5 : TOnBlur_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_5] ? [TOnBlurAsync_1_5] extends [TOnBlurAsync_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_5 : TOnBlurAsync_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_5] ? [TOnSubmit_1_5] extends [TOnSubmit_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_5 : TOnSubmit_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_5] ? [TOnSubmitAsync_1_5] extends [TOnSubmitAsync_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_5 : TOnSubmitAsync_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_5] ? [TOnDynamic_1_5] extends [TOnDynamic_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_5 : TOnDynamic_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_5] ? [TOnDynamicAsync_1_5] extends [TOnDynamicAsync_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_5 : TOnDynamicAsync_1_5, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_5] ? [TOnServer_1_5] extends [TOnServer_1_5 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_5 : TOnServer_1_5, [unknown] extends [TSubmitMeta_1_5] ? any : TSubmitMeta_1_5, [unknown] extends [{
|
|
680
|
+
readonly TextField: typeof TextField;
|
|
681
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5] ? any : {
|
|
682
|
+
readonly TextField: typeof TextField;
|
|
683
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, [unknown] extends [{
|
|
684
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
685
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5] ? any : {
|
|
686
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
687
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
688
|
+
}>>;
|
|
689
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_5, TRenderProps_1_5 extends object = {}>({
|
|
690
|
+
render,
|
|
691
|
+
props,
|
|
692
|
+
defaultValues
|
|
693
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
694
|
+
readonly TextField: typeof TextField;
|
|
695
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
696
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
697
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5, TSubmitMeta_2_5, TRenderProps_1_5>) => <TFormData, TFields_5 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_5>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_5> & {
|
|
698
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_5, TOnChange_2_5, TOnChangeAsync_2_5, TOnBlur_2_5, TOnBlurAsync_2_5, TOnSubmit_2_5, TOnSubmitAsync_2_5, TOnDynamic_2_5, TOnDynamicAsync_2_5, TOnServer_2_5, unknown extends TSubmitMeta_2_5 ? TFormSubmitMeta_5 : TSubmitMeta_2_5, {
|
|
699
|
+
readonly TextField: typeof TextField;
|
|
700
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
701
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
702
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_5 ? TFormSubmitMeta_5 : TSubmitMeta_2_5, {
|
|
703
|
+
readonly TextField: typeof TextField;
|
|
704
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
705
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
706
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
707
|
+
fields: TFields_5;
|
|
708
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
709
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_5 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_5 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_5>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_5, TOnChange_3_5, TOnChangeAsync_3_5, TOnBlur_3_5, TOnBlurAsync_3_5, TOnSubmit_3_5, TOnSubmitAsync_3_5, TOnDynamic_3_5, TOnDynamicAsync_3_5, TOnServer_3_5, TSubmitMeta_3_5>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_5, TOnChange_3_5, TOnChangeAsync_3_5, TOnBlur_3_5, TOnBlurAsync_3_5, TOnSubmit_3_5, TOnSubmitAsync_3_5, TOnDynamic_3_5, TOnDynamicAsync_3_5, TOnServer_3_5, TSubmitMeta_3_5, {
|
|
710
|
+
readonly TextField: typeof TextField;
|
|
711
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
712
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
713
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
714
|
+
extendForm: <const TNewField_6 extends Record<string, _$react.ComponentType<any>> & ({
|
|
715
|
+
readonly TextField: typeof TextField;
|
|
716
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 extends infer T_10 ? { [K_10 in keyof T_10]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_6 extends Record<string, _$react.ComponentType<any>> & ({
|
|
717
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
718
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 extends infer T_11 ? { [K_11 in keyof T_11]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
719
|
+
fieldComponents?: TNewField_6 | undefined;
|
|
720
|
+
formComponents?: TNewForm_6 | undefined;
|
|
721
|
+
}) => {
|
|
722
|
+
useAppForm: <TFormData, TOnMount_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_9>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_9, TOnChange_9, TOnChangeAsync_9, TOnBlur_9, TOnBlurAsync_9, TOnSubmit_9, TOnSubmitAsync_9, TOnDynamic_9, TOnDynamicAsync_9, TOnServer_9, TSubmitMeta_9>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_9, TOnChange_9, TOnChangeAsync_9, TOnBlur_9, TOnBlurAsync_9, TOnSubmit_9, TOnSubmitAsync_9, TOnDynamic_9, TOnDynamicAsync_9, TOnServer_9, TSubmitMeta_9, {
|
|
723
|
+
readonly TextField: typeof TextField;
|
|
724
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
725
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
726
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
727
|
+
withForm: <TFormData, TOnMount_1_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_6, TRenderProps_7 extends object = {}>({
|
|
728
|
+
render,
|
|
729
|
+
props
|
|
730
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_6, TOnChange_1_6, TOnChangeAsync_1_6, TOnBlur_1_6, TOnBlurAsync_1_6, TOnSubmit_1_6, TOnSubmitAsync_1_6, TOnDynamic_1_6, TOnDynamicAsync_1_6, TOnServer_1_6, TSubmitMeta_1_6, {
|
|
731
|
+
readonly TextField: typeof TextField;
|
|
732
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
733
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
734
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6, TRenderProps_7>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_7] ? any : TRenderProps_7> & {
|
|
735
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_6] ? [TOnMount_1_6] extends [TOnMount_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_6 : TOnMount_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_6] ? [TOnChange_1_6] extends [TOnChange_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_6 : TOnChange_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_6] ? [TOnChangeAsync_1_6] extends [TOnChangeAsync_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_6 : TOnChangeAsync_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_6] ? [TOnBlur_1_6] extends [TOnBlur_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_6 : TOnBlur_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_6] ? [TOnBlurAsync_1_6] extends [TOnBlurAsync_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_6 : TOnBlurAsync_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_6] ? [TOnSubmit_1_6] extends [TOnSubmit_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_6 : TOnSubmit_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_6] ? [TOnSubmitAsync_1_6] extends [TOnSubmitAsync_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_6 : TOnSubmitAsync_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_6] ? [TOnDynamic_1_6] extends [TOnDynamic_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_6 : TOnDynamic_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_6] ? [TOnDynamicAsync_1_6] extends [TOnDynamicAsync_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_6 : TOnDynamicAsync_1_6, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_6] ? [TOnServer_1_6] extends [TOnServer_1_6 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_6 : TOnServer_1_6, [unknown] extends [TSubmitMeta_1_6] ? any : TSubmitMeta_1_6, [unknown] extends [{
|
|
736
|
+
readonly TextField: typeof TextField;
|
|
737
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6] ? any : {
|
|
738
|
+
readonly TextField: typeof TextField;
|
|
739
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, [unknown] extends [{
|
|
740
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
741
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6] ? any : {
|
|
742
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
743
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
744
|
+
}>>;
|
|
745
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_6, TRenderProps_1_6 extends object = {}>({
|
|
746
|
+
render,
|
|
747
|
+
props,
|
|
748
|
+
defaultValues
|
|
749
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
750
|
+
readonly TextField: typeof TextField;
|
|
751
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
752
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
753
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6, TSubmitMeta_2_6, TRenderProps_1_6>) => <TFormData, TFields_6 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_6>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_6> & {
|
|
754
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_6, TOnChange_2_6, TOnChangeAsync_2_6, TOnBlur_2_6, TOnBlurAsync_2_6, TOnSubmit_2_6, TOnSubmitAsync_2_6, TOnDynamic_2_6, TOnDynamicAsync_2_6, TOnServer_2_6, unknown extends TSubmitMeta_2_6 ? TFormSubmitMeta_6 : TSubmitMeta_2_6, {
|
|
755
|
+
readonly TextField: typeof TextField;
|
|
756
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
757
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
758
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_6 ? TFormSubmitMeta_6 : TSubmitMeta_2_6, {
|
|
759
|
+
readonly TextField: typeof TextField;
|
|
760
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
761
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
762
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
763
|
+
fields: TFields_6;
|
|
764
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
765
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_6 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_6 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_6>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_6, TOnChange_3_6, TOnChangeAsync_3_6, TOnBlur_3_6, TOnBlurAsync_3_6, TOnSubmit_3_6, TOnSubmitAsync_3_6, TOnDynamic_3_6, TOnDynamicAsync_3_6, TOnServer_3_6, TSubmitMeta_3_6>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_6, TOnChange_3_6, TOnChangeAsync_3_6, TOnBlur_3_6, TOnBlurAsync_3_6, TOnSubmit_3_6, TOnSubmitAsync_3_6, TOnDynamic_3_6, TOnDynamicAsync_3_6, TOnServer_3_6, TSubmitMeta_3_6, {
|
|
766
|
+
readonly TextField: typeof TextField;
|
|
767
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
768
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
769
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
770
|
+
extendForm: <const TNewField_7 extends Record<string, _$react.ComponentType<any>> & ({
|
|
771
|
+
readonly TextField: typeof TextField;
|
|
772
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 extends infer T_12 ? { [K_12 in keyof T_12]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_7 extends Record<string, _$react.ComponentType<any>> & ({
|
|
773
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
774
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 extends infer T_13 ? { [K_13 in keyof T_13]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
775
|
+
fieldComponents?: TNewField_7 | undefined;
|
|
776
|
+
formComponents?: TNewForm_7 | undefined;
|
|
777
|
+
}) => {
|
|
778
|
+
useAppForm: <TFormData, TOnMount_10 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_10 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_10 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_10 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_10 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_10 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_10 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_10 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_10 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_10 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_10>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_10, TOnChange_10, TOnChangeAsync_10, TOnBlur_10, TOnBlurAsync_10, TOnSubmit_10, TOnSubmitAsync_10, TOnDynamic_10, TOnDynamicAsync_10, TOnServer_10, TSubmitMeta_10>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_10, TOnChange_10, TOnChangeAsync_10, TOnBlur_10, TOnBlurAsync_10, TOnSubmit_10, TOnSubmitAsync_10, TOnDynamic_10, TOnDynamicAsync_10, TOnServer_10, TSubmitMeta_10, {
|
|
779
|
+
readonly TextField: typeof TextField;
|
|
780
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
781
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
782
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
783
|
+
withForm: <TFormData, TOnMount_1_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_7, TRenderProps_8 extends object = {}>({
|
|
784
|
+
render,
|
|
785
|
+
props
|
|
786
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_7, TOnChange_1_7, TOnChangeAsync_1_7, TOnBlur_1_7, TOnBlurAsync_1_7, TOnSubmit_1_7, TOnSubmitAsync_1_7, TOnDynamic_1_7, TOnDynamicAsync_1_7, TOnServer_1_7, TSubmitMeta_1_7, {
|
|
787
|
+
readonly TextField: typeof TextField;
|
|
788
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
789
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
790
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7, TRenderProps_8>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_8] ? any : TRenderProps_8> & {
|
|
791
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_7] ? [TOnMount_1_7] extends [TOnMount_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_7 : TOnMount_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_7] ? [TOnChange_1_7] extends [TOnChange_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_7 : TOnChange_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_7] ? [TOnChangeAsync_1_7] extends [TOnChangeAsync_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_7 : TOnChangeAsync_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_7] ? [TOnBlur_1_7] extends [TOnBlur_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_7 : TOnBlur_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_7] ? [TOnBlurAsync_1_7] extends [TOnBlurAsync_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_7 : TOnBlurAsync_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_7] ? [TOnSubmit_1_7] extends [TOnSubmit_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_7 : TOnSubmit_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_7] ? [TOnSubmitAsync_1_7] extends [TOnSubmitAsync_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_7 : TOnSubmitAsync_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_7] ? [TOnDynamic_1_7] extends [TOnDynamic_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_7 : TOnDynamic_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_7] ? [TOnDynamicAsync_1_7] extends [TOnDynamicAsync_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_7 : TOnDynamicAsync_1_7, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_7] ? [TOnServer_1_7] extends [TOnServer_1_7 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_7 : TOnServer_1_7, [unknown] extends [TSubmitMeta_1_7] ? any : TSubmitMeta_1_7, [unknown] extends [{
|
|
792
|
+
readonly TextField: typeof TextField;
|
|
793
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7] ? any : {
|
|
794
|
+
readonly TextField: typeof TextField;
|
|
795
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, [unknown] extends [{
|
|
796
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
797
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7] ? any : {
|
|
798
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
799
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
800
|
+
}>>;
|
|
801
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_7, TRenderProps_1_7 extends object = {}>({
|
|
802
|
+
render,
|
|
803
|
+
props,
|
|
804
|
+
defaultValues
|
|
805
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
806
|
+
readonly TextField: typeof TextField;
|
|
807
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
808
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
809
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7, TSubmitMeta_2_7, TRenderProps_1_7>) => <TFormData, TFields_7 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_7>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_7> & {
|
|
810
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_7, TOnChange_2_7, TOnChangeAsync_2_7, TOnBlur_2_7, TOnBlurAsync_2_7, TOnSubmit_2_7, TOnSubmitAsync_2_7, TOnDynamic_2_7, TOnDynamicAsync_2_7, TOnServer_2_7, unknown extends TSubmitMeta_2_7 ? TFormSubmitMeta_7 : TSubmitMeta_2_7, {
|
|
811
|
+
readonly TextField: typeof TextField;
|
|
812
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
813
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
814
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_7 ? TFormSubmitMeta_7 : TSubmitMeta_2_7, {
|
|
815
|
+
readonly TextField: typeof TextField;
|
|
816
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
817
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
818
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
819
|
+
fields: TFields_7;
|
|
820
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
821
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_7 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_7 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_7>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_7, TOnChange_3_7, TOnChangeAsync_3_7, TOnBlur_3_7, TOnBlurAsync_3_7, TOnSubmit_3_7, TOnSubmitAsync_3_7, TOnDynamic_3_7, TOnDynamicAsync_3_7, TOnServer_3_7, TSubmitMeta_3_7>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_7, TOnChange_3_7, TOnChangeAsync_3_7, TOnBlur_3_7, TOnBlurAsync_3_7, TOnSubmit_3_7, TOnSubmitAsync_3_7, TOnDynamic_3_7, TOnDynamicAsync_3_7, TOnServer_3_7, TSubmitMeta_3_7, {
|
|
822
|
+
readonly TextField: typeof TextField;
|
|
823
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
824
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
825
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
826
|
+
extendForm: <const TNewField_8 extends Record<string, _$react.ComponentType<any>> & ({
|
|
827
|
+
readonly TextField: typeof TextField;
|
|
828
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 extends infer T_14 ? { [K_14 in keyof T_14]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_8 extends Record<string, _$react.ComponentType<any>> & ({
|
|
829
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
830
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 extends infer T_15 ? { [K_15 in keyof T_15]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
831
|
+
fieldComponents?: TNewField_8 | undefined;
|
|
832
|
+
formComponents?: TNewForm_8 | undefined;
|
|
833
|
+
}) => {
|
|
834
|
+
useAppForm: <TFormData, TOnMount_11 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_11 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_11 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_11 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_11 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_11 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_11 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_11 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_11 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_11 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_11>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_11, TOnChange_11, TOnChangeAsync_11, TOnBlur_11, TOnBlurAsync_11, TOnSubmit_11, TOnSubmitAsync_11, TOnDynamic_11, TOnDynamicAsync_11, TOnServer_11, TSubmitMeta_11>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_11, TOnChange_11, TOnChangeAsync_11, TOnBlur_11, TOnBlurAsync_11, TOnSubmit_11, TOnSubmitAsync_11, TOnDynamic_11, TOnDynamicAsync_11, TOnServer_11, TSubmitMeta_11, {
|
|
835
|
+
readonly TextField: typeof TextField;
|
|
836
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
837
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
838
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
839
|
+
withForm: <TFormData, TOnMount_1_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_8, TRenderProps_9 extends object = {}>({
|
|
840
|
+
render,
|
|
841
|
+
props
|
|
842
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_8, TOnChange_1_8, TOnChangeAsync_1_8, TOnBlur_1_8, TOnBlurAsync_1_8, TOnSubmit_1_8, TOnSubmitAsync_1_8, TOnDynamic_1_8, TOnDynamicAsync_1_8, TOnServer_1_8, TSubmitMeta_1_8, {
|
|
843
|
+
readonly TextField: typeof TextField;
|
|
844
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
845
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
846
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8, TRenderProps_9>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_9] ? any : TRenderProps_9> & {
|
|
847
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_8] ? [TOnMount_1_8] extends [TOnMount_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_8 : TOnMount_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_8] ? [TOnChange_1_8] extends [TOnChange_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_8 : TOnChange_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_8] ? [TOnChangeAsync_1_8] extends [TOnChangeAsync_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_8 : TOnChangeAsync_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_8] ? [TOnBlur_1_8] extends [TOnBlur_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_8 : TOnBlur_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_8] ? [TOnBlurAsync_1_8] extends [TOnBlurAsync_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_8 : TOnBlurAsync_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_8] ? [TOnSubmit_1_8] extends [TOnSubmit_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_8 : TOnSubmit_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_8] ? [TOnSubmitAsync_1_8] extends [TOnSubmitAsync_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_8 : TOnSubmitAsync_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_8] ? [TOnDynamic_1_8] extends [TOnDynamic_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_8 : TOnDynamic_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_8] ? [TOnDynamicAsync_1_8] extends [TOnDynamicAsync_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_8 : TOnDynamicAsync_1_8, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_8] ? [TOnServer_1_8] extends [TOnServer_1_8 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_8 : TOnServer_1_8, [unknown] extends [TSubmitMeta_1_8] ? any : TSubmitMeta_1_8, [unknown] extends [{
|
|
848
|
+
readonly TextField: typeof TextField;
|
|
849
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8] ? any : {
|
|
850
|
+
readonly TextField: typeof TextField;
|
|
851
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, [unknown] extends [{
|
|
852
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
853
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8] ? any : {
|
|
854
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
855
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
856
|
+
}>>;
|
|
857
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_8, TRenderProps_1_8 extends object = {}>({
|
|
858
|
+
render,
|
|
859
|
+
props,
|
|
860
|
+
defaultValues
|
|
861
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
862
|
+
readonly TextField: typeof TextField;
|
|
863
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
864
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
865
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8, TSubmitMeta_2_8, TRenderProps_1_8>) => <TFormData, TFields_8 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_8>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_8> & {
|
|
866
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_8, TOnChange_2_8, TOnChangeAsync_2_8, TOnBlur_2_8, TOnBlurAsync_2_8, TOnSubmit_2_8, TOnSubmitAsync_2_8, TOnDynamic_2_8, TOnDynamicAsync_2_8, TOnServer_2_8, unknown extends TSubmitMeta_2_8 ? TFormSubmitMeta_8 : TSubmitMeta_2_8, {
|
|
867
|
+
readonly TextField: typeof TextField;
|
|
868
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
869
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
870
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_8 ? TFormSubmitMeta_8 : TSubmitMeta_2_8, {
|
|
871
|
+
readonly TextField: typeof TextField;
|
|
872
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
873
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
874
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
875
|
+
fields: TFields_8;
|
|
876
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
877
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_8 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_8 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_8>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_8, TOnChange_3_8, TOnChangeAsync_3_8, TOnBlur_3_8, TOnBlurAsync_3_8, TOnSubmit_3_8, TOnSubmitAsync_3_8, TOnDynamic_3_8, TOnDynamicAsync_3_8, TOnServer_3_8, TSubmitMeta_3_8>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_8, TOnChange_3_8, TOnChangeAsync_3_8, TOnBlur_3_8, TOnBlurAsync_3_8, TOnSubmit_3_8, TOnSubmitAsync_3_8, TOnDynamic_3_8, TOnDynamicAsync_3_8, TOnServer_3_8, TSubmitMeta_3_8, {
|
|
878
|
+
readonly TextField: typeof TextField;
|
|
879
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
880
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
881
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
882
|
+
extendForm: <const TNewField_9 extends Record<string, _$react.ComponentType<any>> & ({
|
|
883
|
+
readonly TextField: typeof TextField;
|
|
884
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 extends infer T_16 ? { [K_16 in keyof T_16]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_9 extends Record<string, _$react.ComponentType<any>> & ({
|
|
885
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
886
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 extends infer T_17 ? { [K_17 in keyof T_17]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
887
|
+
fieldComponents?: TNewField_9 | undefined;
|
|
888
|
+
formComponents?: TNewForm_9 | undefined;
|
|
889
|
+
}) => {
|
|
890
|
+
useAppForm: <TFormData, TOnMount_12 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_12 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_12 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_12 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_12 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_12 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_12 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_12 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_12 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_12 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_12>(props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_12, TOnChange_12, TOnChangeAsync_12, TOnBlur_12, TOnBlurAsync_12, TOnSubmit_12, TOnSubmitAsync_12, TOnDynamic_12, TOnDynamicAsync_12, TOnServer_12, TSubmitMeta_12>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_12, TOnChange_12, TOnChangeAsync_12, TOnBlur_12, TOnBlurAsync_12, TOnSubmit_12, TOnSubmitAsync_12, TOnDynamic_12, TOnDynamicAsync_12, TOnServer_12, TSubmitMeta_12, {
|
|
891
|
+
readonly TextField: typeof TextField;
|
|
892
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
893
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
894
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
895
|
+
withForm: <TFormData, TOnMount_1_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_1_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_9, TRenderProps_10 extends object = {}>({
|
|
896
|
+
render,
|
|
897
|
+
props
|
|
898
|
+
}: _$_tanstack_react_form0.WithFormProps<TFormData, TOnMount_1_9, TOnChange_1_9, TOnChangeAsync_1_9, TOnBlur_1_9, TOnBlurAsync_1_9, TOnSubmit_1_9, TOnSubmitAsync_1_9, TOnDynamic_1_9, TOnDynamicAsync_1_9, TOnServer_1_9, TSubmitMeta_1_9, {
|
|
899
|
+
readonly TextField: typeof TextField;
|
|
900
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
901
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
902
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9, TRenderProps_10>) => _$react.FunctionComponent<_$react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_10] ? any : TRenderProps_10> & {
|
|
903
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_9] ? [TOnMount_1_9] extends [TOnMount_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_9 : TOnMount_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_9] ? [TOnChange_1_9] extends [TOnChange_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_9 : TOnChange_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_9] ? [TOnChangeAsync_1_9] extends [TOnChangeAsync_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_9 : TOnChangeAsync_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_9] ? [TOnBlur_1_9] extends [TOnBlur_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_9 : TOnBlur_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_9] ? [TOnBlurAsync_1_9] extends [TOnBlurAsync_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_9 : TOnBlurAsync_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_9] ? [TOnSubmit_1_9] extends [TOnSubmit_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_9 : TOnSubmit_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_9] ? [TOnSubmitAsync_1_9] extends [TOnSubmitAsync_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_9 : TOnSubmitAsync_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_9] ? [TOnDynamic_1_9] extends [TOnDynamic_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_9 : TOnDynamic_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_9] ? [TOnDynamicAsync_1_9] extends [TOnDynamicAsync_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_9 : TOnDynamicAsync_1_9, [_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_9] ? [TOnServer_1_9] extends [TOnServer_1_9 & (_$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_9 : TOnServer_1_9, [unknown] extends [TSubmitMeta_1_9] ? any : TSubmitMeta_1_9, [unknown] extends [{
|
|
904
|
+
readonly TextField: typeof TextField;
|
|
905
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9] ? any : {
|
|
906
|
+
readonly TextField: typeof TextField;
|
|
907
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, [unknown] extends [{
|
|
908
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
909
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9] ? any : {
|
|
910
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
911
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
912
|
+
}>>;
|
|
913
|
+
withFieldGroup: <TFieldGroupData, TSubmitMeta_2_9, TRenderProps_1_9 extends object = {}>({
|
|
914
|
+
render,
|
|
915
|
+
props,
|
|
916
|
+
defaultValues
|
|
917
|
+
}: _$_tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
918
|
+
readonly TextField: typeof TextField;
|
|
919
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
920
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
921
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9, TSubmitMeta_2_9, TRenderProps_1_9>) => <TFormData, TFields_9 extends _$_tanstack_react_form0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _$_tanstack_react_form0.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_2_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_9>(params: _$react.PropsWithChildren<NoInfer<TRenderProps_1_9> & {
|
|
922
|
+
form: _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_2_9, TOnChange_2_9, TOnChangeAsync_2_9, TOnBlur_2_9, TOnBlurAsync_2_9, TOnSubmit_2_9, TOnSubmitAsync_2_9, TOnDynamic_2_9, TOnDynamicAsync_2_9, TOnServer_2_9, unknown extends TSubmitMeta_2_9 ? TFormSubmitMeta_9 : TSubmitMeta_2_9, {
|
|
923
|
+
readonly TextField: typeof TextField;
|
|
924
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
925
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
926
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9> | _$_tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _$_tanstack_react_form0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_9 ? TFormSubmitMeta_9 : TSubmitMeta_2_9, {
|
|
927
|
+
readonly TextField: typeof TextField;
|
|
928
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
929
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
930
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
931
|
+
fields: TFields_9;
|
|
932
|
+
}>) => ReturnType<_$react.FunctionComponent>;
|
|
933
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChange_3_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_9 extends _$_tanstack_react_form0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_9 extends _$_tanstack_react_form0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_9>(_props: _$_tanstack_react_form0.FormOptions<TFormData, TOnMount_3_9, TOnChange_3_9, TOnChangeAsync_3_9, TOnBlur_3_9, TOnBlurAsync_3_9, TOnSubmit_3_9, TOnSubmitAsync_3_9, TOnDynamic_3_9, TOnDynamicAsync_3_9, TOnServer_3_9, TSubmitMeta_3_9>) => _$_tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount_3_9, TOnChange_3_9, TOnChangeAsync_3_9, TOnBlur_3_9, TOnBlurAsync_3_9, TOnSubmit_3_9, TOnSubmitAsync_3_9, TOnDynamic_3_9, TOnDynamicAsync_3_9, TOnServer_3_9, TSubmitMeta_3_9, {
|
|
934
|
+
readonly TextField: typeof TextField;
|
|
935
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
936
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
937
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
938
|
+
extendForm: <const TNewField_10 extends Record<string, _$react.ComponentType<any>> & ({
|
|
939
|
+
readonly TextField: typeof TextField;
|
|
940
|
+
} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9 extends infer T_18 ? { [K_18 in keyof T_18]?: "Error: field component names must be unique — this key already exists in the base form" | undefined } : never), const TNewForm_10 extends Record<string, _$react.ComponentType<any>> & ({
|
|
941
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
942
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9 extends infer T_19 ? { [K_19 in keyof T_19]?: "Error: form component names must be unique — this key already exists in the base form" | undefined } : never)>(extension: {
|
|
943
|
+
fieldComponents?: TNewField_10 | undefined;
|
|
944
|
+
formComponents?: TNewForm_10 | undefined;
|
|
945
|
+
}) => any;
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
};
|
|
951
|
+
};
|
|
952
|
+
};
|
|
953
|
+
};
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
//#endregion
|
|
958
|
+
//#region src/v7/hooks/formHooks.d.ts
|
|
959
|
+
declare const fieldContext: _$react.Context<_$_tanstack_react_form0.AnyFieldApi>, formContext: _$react.Context<_$_tanstack_react_form0.AnyFormApi>, useFieldContext: <TData>() => _$_tanstack_react_form0.FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useFormContext: () => _$_tanstack_react_form0.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
960
|
+
//#endregion
|
|
961
|
+
export { DropdownMenu, type DropdownMenuContextValue, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, DropdownMenuProvider, type DropdownMenuProviderProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, DropdownMenuWrapper, type DropdownMenuWrapperProps, ErrorPage, type ErrorPageProps, InternalLink, type InternalLinkProps, MemoryRouter, type NavMenuItem, NavigationDrawer, type NavigationDrawerProps, Router, SubmitButton, type SubmitButtonProps, Switch, type SwitchProps, TextField, fieldContext, formContext, createFormHook as useAppForm, useDropdownMenu, useFieldContext, useFormContext };
|
|
962
|
+
//# sourceMappingURL=index.d.cts.map
|