@aircall/blocks 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/globals.css +1 -1
- package/dist/index.d.ts +221 -122
- package/dist/index.js +129 -48
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Badge, Button, CounterBadge, Empty, EmptyContent, EmptyDescription, Emp
|
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _tanstack_react_form3 from "@tanstack/react-form";
|
|
6
6
|
import { DeepKeys, DeepKeysOfType, DeepValue, FieldAsyncValidateOrFn, FieldListeners, FieldValidateOrFn, FieldValidators } from "@tanstack/react-form";
|
|
7
7
|
import { useRender } from "@base-ui/react/use-render";
|
|
8
8
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
@@ -356,6 +356,12 @@ interface ChatbotSidebarProps {
|
|
|
356
356
|
renderConversationMenuContent?: (conversation: ChatbotSidebarConversation) => React$1.ReactNode;
|
|
357
357
|
/** Label above the conversation list. Defaults to "Recent"*/
|
|
358
358
|
recentLabel?: string;
|
|
359
|
+
/**
|
|
360
|
+
* When false, hides the "+ New Chat" entry at the top of the list.
|
|
361
|
+
* Useful in read-only history views (e.g. the `ChatbotInput` history popover).
|
|
362
|
+
* @default true
|
|
363
|
+
*/
|
|
364
|
+
showNewChat?: boolean;
|
|
359
365
|
popup?: boolean;
|
|
360
366
|
className?: string;
|
|
361
367
|
}
|
|
@@ -365,6 +371,11 @@ declare namespace ChatbotSidebar {
|
|
|
365
371
|
}
|
|
366
372
|
//#endregion
|
|
367
373
|
//#region src/components/chatbot-input.d.ts
|
|
374
|
+
interface ChatbotInputSuggestion {
|
|
375
|
+
id: string;
|
|
376
|
+
/** Text shown on the pill button. */
|
|
377
|
+
label: string;
|
|
378
|
+
}
|
|
368
379
|
declare const textareaVariants: (props?: ({
|
|
369
380
|
size?: "default" | "large" | null | undefined;
|
|
370
381
|
expanded?: boolean | null | undefined;
|
|
@@ -382,6 +393,20 @@ type ChatbotInputProps = Omit<React$1.ComponentProps<'textarea'>, 'onChange' | '
|
|
|
382
393
|
* @default false
|
|
383
394
|
*/
|
|
384
395
|
expanded?: boolean;
|
|
396
|
+
/**
|
|
397
|
+
* Optional suggestion pills shown in a row below the input.
|
|
398
|
+
* Clicking a pill calls `onSuggestionClick`. Omit to hide the row.
|
|
399
|
+
*/
|
|
400
|
+
suggestions?: ChatbotInputSuggestion[]; /** Called when the user clicks a suggestion pill. */
|
|
401
|
+
onSuggestionClick?: (suggestion: ChatbotInputSuggestion) => void;
|
|
402
|
+
/**
|
|
403
|
+
* When provided, renders a history icon button that opens a conversation list
|
|
404
|
+
* popover. Pass an empty array to show the button with an empty-state message.
|
|
405
|
+
* Omit to hide the button entirely.
|
|
406
|
+
*/
|
|
407
|
+
conversations?: ChatbotSidebarConversation[]; /** Highlights the matching row in the history popover. */
|
|
408
|
+
activeConversationId?: string; /** Called when the user selects a conversation from the history popover. */
|
|
409
|
+
onSelectConversation?: (id: string) => void;
|
|
385
410
|
};
|
|
386
411
|
declare function ChatbotInput({
|
|
387
412
|
className,
|
|
@@ -394,6 +419,11 @@ declare function ChatbotInput({
|
|
|
394
419
|
size,
|
|
395
420
|
expanded,
|
|
396
421
|
disabled,
|
|
422
|
+
suggestions,
|
|
423
|
+
onSuggestionClick,
|
|
424
|
+
conversations,
|
|
425
|
+
activeConversationId,
|
|
426
|
+
onSelectConversation,
|
|
397
427
|
...textareaProps
|
|
398
428
|
}: ChatbotInputProps): react_jsx_runtime0.JSX.Element;
|
|
399
429
|
//#endregion
|
|
@@ -790,18 +820,18 @@ declare function SubmitButton({
|
|
|
790
820
|
* const form = useForm({ defaultValues: { name: '' }, onSubmit: async ({ value }) => save(value) })
|
|
791
821
|
*/
|
|
792
822
|
declare const CommonForm: {
|
|
793
|
-
useAppForm: <TFormData, TOnMount extends
|
|
823
|
+
useAppForm: <TFormData, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_react_form3.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
794
824
|
readonly SubmitButton: typeof SubmitButton;
|
|
795
825
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
796
826
|
}>;
|
|
797
|
-
withForm: <TFormData, TOnMount extends
|
|
827
|
+
withForm: <TFormData, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
798
828
|
render,
|
|
799
829
|
props
|
|
800
|
-
}:
|
|
830
|
+
}: _tanstack_react_form3.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
801
831
|
readonly SubmitButton: typeof SubmitButton;
|
|
802
832
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
803
833
|
}, TRenderProps>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
804
|
-
form:
|
|
834
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {}, {
|
|
805
835
|
readonly SubmitButton: typeof SubmitButton;
|
|
806
836
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
807
837
|
}>;
|
|
@@ -810,20 +840,20 @@ declare const CommonForm: {
|
|
|
810
840
|
render,
|
|
811
841
|
props,
|
|
812
842
|
defaultValues
|
|
813
|
-
}:
|
|
843
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {}, {
|
|
814
844
|
readonly SubmitButton: typeof SubmitButton;
|
|
815
845
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
816
|
-
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends
|
|
817
|
-
form:
|
|
846
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: React$1.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
847
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {}, {
|
|
818
848
|
readonly SubmitButton: typeof SubmitButton;
|
|
819
849
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
820
|
-
}> |
|
|
850
|
+
}> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {}, {
|
|
821
851
|
readonly SubmitButton: typeof SubmitButton;
|
|
822
852
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
823
853
|
}>;
|
|
824
854
|
fields: TFields;
|
|
825
855
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
826
|
-
useTypedAppFormContext: <TFormData, TOnMount extends
|
|
856
|
+
useTypedAppFormContext: <TFormData, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(_props: _tanstack_react_form3.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
827
857
|
readonly SubmitButton: typeof SubmitButton;
|
|
828
858
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
829
859
|
}>;
|
|
@@ -834,18 +864,18 @@ declare const CommonForm: {
|
|
|
834
864
|
fieldComponents?: TNewField | undefined;
|
|
835
865
|
formComponents?: TNewForm | undefined;
|
|
836
866
|
}) => {
|
|
837
|
-
useAppForm: <TFormData, TOnMount extends
|
|
867
|
+
useAppForm: <TFormData, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_react_form3.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {} & TNewField, {
|
|
838
868
|
readonly SubmitButton: typeof SubmitButton;
|
|
839
869
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
840
870
|
} & TNewForm>;
|
|
841
|
-
withForm: <TFormData, TOnMount_1 extends
|
|
871
|
+
withForm: <TFormData, TOnMount_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1, TRenderProps extends object = {}>({
|
|
842
872
|
render,
|
|
843
873
|
props
|
|
844
|
-
}:
|
|
874
|
+
}: _tanstack_react_form3.WithFormProps<TFormData, TOnMount_1, TOnChange_1, TOnChangeAsync_1, TOnBlur_1, TOnBlurAsync_1, TOnSubmit_1, TOnSubmitAsync_1, TOnDynamic_1, TOnDynamicAsync_1, TOnServer_1, TSubmitMeta_1, {} & TNewField, {
|
|
845
875
|
readonly SubmitButton: typeof SubmitButton;
|
|
846
876
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
847
877
|
} & TNewForm, TRenderProps>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
848
|
-
form:
|
|
878
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1] ? [TOnMount_1] extends [TOnMount_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1 : TOnMount_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1] ? [TOnChange_1] extends [TOnChange_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1 : TOnChange_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1] ? [TOnChangeAsync_1] extends [TOnChangeAsync_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1 : TOnChangeAsync_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1] ? [TOnBlur_1] extends [TOnBlur_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1 : TOnBlur_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1] ? [TOnBlurAsync_1] extends [TOnBlurAsync_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1 : TOnBlurAsync_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1] ? [TOnSubmit_1] extends [TOnSubmit_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1 : TOnSubmit_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1] ? [TOnSubmitAsync_1] extends [TOnSubmitAsync_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1 : TOnSubmitAsync_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1] ? [TOnDynamic_1] extends [TOnDynamic_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1 : TOnDynamic_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1] ? [TOnDynamicAsync_1] extends [TOnDynamicAsync_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1 : TOnDynamicAsync_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1] ? [TOnServer_1] extends [TOnServer_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1 : TOnServer_1, [unknown] extends [TSubmitMeta_1] ? any : TSubmitMeta_1, [unknown] extends [{} & TNewField] ? any : {} & TNewField, [unknown] extends [{
|
|
849
879
|
readonly SubmitButton: typeof SubmitButton;
|
|
850
880
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
851
881
|
} & TNewForm] ? any : {
|
|
@@ -857,20 +887,20 @@ declare const CommonForm: {
|
|
|
857
887
|
render,
|
|
858
888
|
props,
|
|
859
889
|
defaultValues
|
|
860
|
-
}:
|
|
890
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField, {
|
|
861
891
|
readonly SubmitButton: typeof SubmitButton;
|
|
862
892
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
863
|
-
} & TNewForm, TSubmitMeta_2, TRenderProps_1>) => <TFormData, TFields extends
|
|
864
|
-
form:
|
|
893
|
+
} & TNewForm, TSubmitMeta_2, TRenderProps_1>) => <TFormData, TFields extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1> & {
|
|
894
|
+
form: _tanstack_react_form3.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, {} & TNewField, {
|
|
865
895
|
readonly SubmitButton: typeof SubmitButton;
|
|
866
896
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
867
|
-
} & TNewForm> |
|
|
897
|
+
} & TNewForm> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2 ? TFormSubmitMeta : TSubmitMeta_2, {} & TNewField, {
|
|
868
898
|
readonly SubmitButton: typeof SubmitButton;
|
|
869
899
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
870
900
|
} & TNewForm>;
|
|
871
901
|
fields: TFields;
|
|
872
902
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
873
|
-
useTypedAppFormContext: <TFormData, TOnMount_3 extends
|
|
903
|
+
useTypedAppFormContext: <TFormData, TOnMount_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3>(_props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_3, TOnChange_3, TOnChangeAsync_3, TOnBlur_3, TOnBlurAsync_3, TOnSubmit_3, TOnSubmitAsync_3, TOnDynamic_3, TOnDynamicAsync_3, TOnServer_3, TSubmitMeta_3, {} & TNewField, {
|
|
874
904
|
readonly SubmitButton: typeof SubmitButton;
|
|
875
905
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
876
906
|
} & TNewForm>;
|
|
@@ -881,18 +911,18 @@ declare const CommonForm: {
|
|
|
881
911
|
fieldComponents?: TNewField_1 | undefined;
|
|
882
912
|
formComponents?: TNewForm_1 | undefined;
|
|
883
913
|
}) => {
|
|
884
|
-
useAppForm: <TFormData, TOnMount_4 extends
|
|
914
|
+
useAppForm: <TFormData, TOnMount_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_4>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_4, TOnChange_4, TOnChangeAsync_4, TOnBlur_4, TOnBlurAsync_4, TOnSubmit_4, TOnSubmitAsync_4, TOnDynamic_4, TOnDynamicAsync_4, TOnServer_4, TSubmitMeta_4, {} & TNewField & TNewField_1, {
|
|
885
915
|
readonly SubmitButton: typeof SubmitButton;
|
|
886
916
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
887
917
|
} & TNewForm & TNewForm_1>;
|
|
888
|
-
withForm: <TFormData, TOnMount_1_1 extends
|
|
918
|
+
withForm: <TFormData, TOnMount_1_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_1, TRenderProps_2 extends object = {}>({
|
|
889
919
|
render,
|
|
890
920
|
props
|
|
891
|
-
}:
|
|
921
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1, {
|
|
892
922
|
readonly SubmitButton: typeof SubmitButton;
|
|
893
923
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
894
924
|
} & TNewForm & TNewForm_1, TRenderProps_2>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_2] ? any : TRenderProps_2> & {
|
|
895
|
-
form:
|
|
925
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_1] ? [TOnMount_1_1] extends [TOnMount_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_1 : TOnMount_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_1] ? [TOnChange_1_1] extends [TOnChange_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_1 : TOnChange_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_1] ? [TOnChangeAsync_1_1] extends [TOnChangeAsync_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_1 : TOnChangeAsync_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_1] ? [TOnBlur_1_1] extends [TOnBlur_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_1 : TOnBlur_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_1] ? [TOnBlurAsync_1_1] extends [TOnBlurAsync_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_1 : TOnBlurAsync_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_1] ? [TOnSubmit_1_1] extends [TOnSubmit_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_1 : TOnSubmit_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_1] ? [TOnSubmitAsync_1_1] extends [TOnSubmitAsync_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_1 : TOnSubmitAsync_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_1] ? [TOnDynamic_1_1] extends [TOnDynamic_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_1 : TOnDynamic_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_1] ? [TOnDynamicAsync_1_1] extends [TOnDynamicAsync_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_1 : TOnDynamicAsync_1_1, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_1] ? [TOnServer_1_1] extends [TOnServer_1_1 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_1 : TOnServer_1_1, [unknown] extends [TSubmitMeta_1_1] ? any : TSubmitMeta_1_1, [unknown] extends [{} & TNewField & TNewField_1] ? any : {} & TNewField & TNewField_1, [unknown] extends [{
|
|
896
926
|
readonly SubmitButton: typeof SubmitButton;
|
|
897
927
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
898
928
|
} & TNewForm & TNewForm_1] ? any : {
|
|
@@ -904,20 +934,20 @@ declare const CommonForm: {
|
|
|
904
934
|
render,
|
|
905
935
|
props,
|
|
906
936
|
defaultValues
|
|
907
|
-
}:
|
|
937
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1, {
|
|
908
938
|
readonly SubmitButton: typeof SubmitButton;
|
|
909
939
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
910
|
-
} & TNewForm & TNewForm_1, TSubmitMeta_2_1, TRenderProps_1_1>) => <TFormData, TFields_1 extends
|
|
911
|
-
form:
|
|
940
|
+
} & TNewForm & TNewForm_1, TSubmitMeta_2_1, TRenderProps_1_1>) => <TFormData, TFields_1 extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_1>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_1> & {
|
|
941
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1, {
|
|
912
942
|
readonly SubmitButton: typeof SubmitButton;
|
|
913
943
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
914
|
-
} & TNewForm & TNewForm_1> |
|
|
944
|
+
} & TNewForm & TNewForm_1> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_1 ? TFormSubmitMeta_1 : TSubmitMeta_2_1, {} & TNewField & TNewField_1, {
|
|
915
945
|
readonly SubmitButton: typeof SubmitButton;
|
|
916
946
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
917
947
|
} & TNewForm & TNewForm_1>;
|
|
918
948
|
fields: TFields_1;
|
|
919
949
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
920
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_1 extends
|
|
950
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_1 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_1 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_1>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1, {
|
|
921
951
|
readonly SubmitButton: typeof SubmitButton;
|
|
922
952
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
923
953
|
} & TNewForm & TNewForm_1>;
|
|
@@ -928,18 +958,18 @@ declare const CommonForm: {
|
|
|
928
958
|
fieldComponents?: TNewField_2 | undefined;
|
|
929
959
|
formComponents?: TNewForm_2 | undefined;
|
|
930
960
|
}) => {
|
|
931
|
-
useAppForm: <TFormData, TOnMount_5 extends
|
|
961
|
+
useAppForm: <TFormData, TOnMount_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_5>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_5, TOnChange_5, TOnChangeAsync_5, TOnBlur_5, TOnBlurAsync_5, TOnSubmit_5, TOnSubmitAsync_5, TOnDynamic_5, TOnDynamicAsync_5, TOnServer_5, TSubmitMeta_5, {} & TNewField & TNewField_1 & TNewField_2, {
|
|
932
962
|
readonly SubmitButton: typeof SubmitButton;
|
|
933
963
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
934
964
|
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
935
|
-
withForm: <TFormData, TOnMount_1_2 extends
|
|
965
|
+
withForm: <TFormData, TOnMount_1_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_2, TRenderProps_3 extends object = {}>({
|
|
936
966
|
render,
|
|
937
967
|
props
|
|
938
|
-
}:
|
|
968
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2, {
|
|
939
969
|
readonly SubmitButton: typeof SubmitButton;
|
|
940
970
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
941
971
|
} & TNewForm & TNewForm_1 & TNewForm_2, TRenderProps_3>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_3] ? any : TRenderProps_3> & {
|
|
942
|
-
form:
|
|
972
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_2] ? [TOnMount_1_2] extends [TOnMount_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_2 : TOnMount_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_2] ? [TOnChange_1_2] extends [TOnChange_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_2 : TOnChange_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_2] ? [TOnChangeAsync_1_2] extends [TOnChangeAsync_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_2 : TOnChangeAsync_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_2] ? [TOnBlur_1_2] extends [TOnBlur_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_2 : TOnBlur_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_2] ? [TOnBlurAsync_1_2] extends [TOnBlurAsync_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_2 : TOnBlurAsync_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_2] ? [TOnSubmit_1_2] extends [TOnSubmit_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_2 : TOnSubmit_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_2] ? [TOnSubmitAsync_1_2] extends [TOnSubmitAsync_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_2 : TOnSubmitAsync_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_2] ? [TOnDynamic_1_2] extends [TOnDynamic_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_2 : TOnDynamic_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_2] ? [TOnDynamicAsync_1_2] extends [TOnDynamicAsync_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_2 : TOnDynamicAsync_1_2, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_2] ? [TOnServer_1_2] extends [TOnServer_1_2 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_2 : TOnServer_1_2, [unknown] extends [TSubmitMeta_1_2] ? any : TSubmitMeta_1_2, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2] ? any : {} & TNewField & TNewField_1 & TNewField_2, [unknown] extends [{
|
|
943
973
|
readonly SubmitButton: typeof SubmitButton;
|
|
944
974
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
945
975
|
} & TNewForm & TNewForm_1 & TNewForm_2] ? any : {
|
|
@@ -951,20 +981,20 @@ declare const CommonForm: {
|
|
|
951
981
|
render,
|
|
952
982
|
props,
|
|
953
983
|
defaultValues
|
|
954
|
-
}:
|
|
984
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2, {
|
|
955
985
|
readonly SubmitButton: typeof SubmitButton;
|
|
956
986
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
957
|
-
} & TNewForm & TNewForm_1 & TNewForm_2, TSubmitMeta_2_2, TRenderProps_1_2>) => <TFormData, TFields_2 extends
|
|
958
|
-
form:
|
|
987
|
+
} & TNewForm & TNewForm_1 & TNewForm_2, TSubmitMeta_2_2, TRenderProps_1_2>) => <TFormData, TFields_2 extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_2>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_2> & {
|
|
988
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2, {
|
|
959
989
|
readonly SubmitButton: typeof SubmitButton;
|
|
960
990
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
961
|
-
} & TNewForm & TNewForm_1 & TNewForm_2> |
|
|
991
|
+
} & TNewForm & TNewForm_1 & TNewForm_2> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_2 ? TFormSubmitMeta_2 : TSubmitMeta_2_2, {} & TNewField & TNewField_1 & TNewField_2, {
|
|
962
992
|
readonly SubmitButton: typeof SubmitButton;
|
|
963
993
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
964
994
|
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
965
995
|
fields: TFields_2;
|
|
966
996
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
967
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_2 extends
|
|
997
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_2 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_2 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_2>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2, {
|
|
968
998
|
readonly SubmitButton: typeof SubmitButton;
|
|
969
999
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
970
1000
|
} & TNewForm & TNewForm_1 & TNewForm_2>;
|
|
@@ -975,18 +1005,18 @@ declare const CommonForm: {
|
|
|
975
1005
|
fieldComponents?: TNewField_3 | undefined;
|
|
976
1006
|
formComponents?: TNewForm_3 | undefined;
|
|
977
1007
|
}) => {
|
|
978
|
-
useAppForm: <TFormData, TOnMount_6 extends
|
|
1008
|
+
useAppForm: <TFormData, TOnMount_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_6>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_6, TOnChange_6, TOnChangeAsync_6, TOnBlur_6, TOnBlurAsync_6, TOnSubmit_6, TOnSubmitAsync_6, TOnDynamic_6, TOnDynamicAsync_6, TOnServer_6, TSubmitMeta_6, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
979
1009
|
readonly SubmitButton: typeof SubmitButton;
|
|
980
1010
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
981
1011
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
982
|
-
withForm: <TFormData, TOnMount_1_3 extends
|
|
1012
|
+
withForm: <TFormData, TOnMount_1_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_3, TRenderProps_4 extends object = {}>({
|
|
983
1013
|
render,
|
|
984
1014
|
props
|
|
985
|
-
}:
|
|
1015
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
986
1016
|
readonly SubmitButton: typeof SubmitButton;
|
|
987
1017
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
988
1018
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3, TRenderProps_4>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_4] ? any : TRenderProps_4> & {
|
|
989
|
-
form:
|
|
1019
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_3] ? [TOnMount_1_3] extends [TOnMount_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_3 : TOnMount_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_3] ? [TOnChange_1_3] extends [TOnChange_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_3 : TOnChange_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_3] ? [TOnChangeAsync_1_3] extends [TOnChangeAsync_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_3 : TOnChangeAsync_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_3] ? [TOnBlur_1_3] extends [TOnBlur_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_3 : TOnBlur_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_3] ? [TOnBlurAsync_1_3] extends [TOnBlurAsync_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_3 : TOnBlurAsync_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_3] ? [TOnSubmit_1_3] extends [TOnSubmit_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_3 : TOnSubmit_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_3] ? [TOnSubmitAsync_1_3] extends [TOnSubmitAsync_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_3 : TOnSubmitAsync_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_3] ? [TOnDynamic_1_3] extends [TOnDynamic_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_3 : TOnDynamic_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_3] ? [TOnDynamicAsync_1_3] extends [TOnDynamicAsync_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_3 : TOnDynamicAsync_1_3, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_3] ? [TOnServer_1_3] extends [TOnServer_1_3 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_3 : TOnServer_1_3, [unknown] extends [TSubmitMeta_1_3] ? any : TSubmitMeta_1_3, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, [unknown] extends [{
|
|
990
1020
|
readonly SubmitButton: typeof SubmitButton;
|
|
991
1021
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
992
1022
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3] ? any : {
|
|
@@ -998,20 +1028,20 @@ declare const CommonForm: {
|
|
|
998
1028
|
render,
|
|
999
1029
|
props,
|
|
1000
1030
|
defaultValues
|
|
1001
|
-
}:
|
|
1031
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
1002
1032
|
readonly SubmitButton: typeof SubmitButton;
|
|
1003
1033
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1004
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3, TSubmitMeta_2_3, TRenderProps_1_3>) => <TFormData, TFields_3 extends
|
|
1005
|
-
form:
|
|
1034
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3, TSubmitMeta_2_3, TRenderProps_1_3>) => <TFormData, TFields_3 extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_3>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_3> & {
|
|
1035
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
1006
1036
|
readonly SubmitButton: typeof SubmitButton;
|
|
1007
1037
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1008
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3> |
|
|
1038
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_3 ? TFormSubmitMeta_3 : TSubmitMeta_2_3, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
1009
1039
|
readonly SubmitButton: typeof SubmitButton;
|
|
1010
1040
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1011
1041
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
1012
1042
|
fields: TFields_3;
|
|
1013
1043
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1014
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_3 extends
|
|
1044
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_3 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_3 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_3>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3, {
|
|
1015
1045
|
readonly SubmitButton: typeof SubmitButton;
|
|
1016
1046
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1017
1047
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3>;
|
|
@@ -1022,18 +1052,18 @@ declare const CommonForm: {
|
|
|
1022
1052
|
fieldComponents?: TNewField_4 | undefined;
|
|
1023
1053
|
formComponents?: TNewForm_4 | undefined;
|
|
1024
1054
|
}) => {
|
|
1025
|
-
useAppForm: <TFormData, TOnMount_7 extends
|
|
1055
|
+
useAppForm: <TFormData, TOnMount_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_7>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_7, TOnChange_7, TOnChangeAsync_7, TOnBlur_7, TOnBlurAsync_7, TOnSubmit_7, TOnSubmitAsync_7, TOnDynamic_7, TOnDynamicAsync_7, TOnServer_7, TSubmitMeta_7, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
1026
1056
|
readonly SubmitButton: typeof SubmitButton;
|
|
1027
1057
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1028
1058
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
1029
|
-
withForm: <TFormData, TOnMount_1_4 extends
|
|
1059
|
+
withForm: <TFormData, TOnMount_1_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_4, TRenderProps_5 extends object = {}>({
|
|
1030
1060
|
render,
|
|
1031
1061
|
props
|
|
1032
|
-
}:
|
|
1062
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
1033
1063
|
readonly SubmitButton: typeof SubmitButton;
|
|
1034
1064
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1035
1065
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4, TRenderProps_5>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_5] ? any : TRenderProps_5> & {
|
|
1036
|
-
form:
|
|
1066
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_4] ? [TOnMount_1_4] extends [TOnMount_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_4 : TOnMount_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_4] ? [TOnChange_1_4] extends [TOnChange_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_4 : TOnChange_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_4] ? [TOnChangeAsync_1_4] extends [TOnChangeAsync_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_4 : TOnChangeAsync_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_4] ? [TOnBlur_1_4] extends [TOnBlur_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_4 : TOnBlur_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_4] ? [TOnBlurAsync_1_4] extends [TOnBlurAsync_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_4 : TOnBlurAsync_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_4] ? [TOnSubmit_1_4] extends [TOnSubmit_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_4 : TOnSubmit_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_4] ? [TOnSubmitAsync_1_4] extends [TOnSubmitAsync_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_4 : TOnSubmitAsync_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_4] ? [TOnDynamic_1_4] extends [TOnDynamic_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_4 : TOnDynamic_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_4] ? [TOnDynamicAsync_1_4] extends [TOnDynamicAsync_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_4 : TOnDynamicAsync_1_4, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_4] ? [TOnServer_1_4] extends [TOnServer_1_4 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_4 : TOnServer_1_4, [unknown] extends [TSubmitMeta_1_4] ? any : TSubmitMeta_1_4, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, [unknown] extends [{
|
|
1037
1067
|
readonly SubmitButton: typeof SubmitButton;
|
|
1038
1068
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1039
1069
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4] ? any : {
|
|
@@ -1045,20 +1075,20 @@ declare const CommonForm: {
|
|
|
1045
1075
|
render,
|
|
1046
1076
|
props,
|
|
1047
1077
|
defaultValues
|
|
1048
|
-
}:
|
|
1078
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
1049
1079
|
readonly SubmitButton: typeof SubmitButton;
|
|
1050
1080
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1051
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4, TSubmitMeta_2_4, TRenderProps_1_4>) => <TFormData, TFields_4 extends
|
|
1052
|
-
form:
|
|
1081
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4, TSubmitMeta_2_4, TRenderProps_1_4>) => <TFormData, TFields_4 extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_4>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_4> & {
|
|
1082
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
1053
1083
|
readonly SubmitButton: typeof SubmitButton;
|
|
1054
1084
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1055
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4> |
|
|
1085
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_4 ? TFormSubmitMeta_4 : TSubmitMeta_2_4, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
1056
1086
|
readonly SubmitButton: typeof SubmitButton;
|
|
1057
1087
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1058
1088
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
1059
1089
|
fields: TFields_4;
|
|
1060
1090
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1061
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_4 extends
|
|
1091
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_4 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_4 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_4>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4, {
|
|
1062
1092
|
readonly SubmitButton: typeof SubmitButton;
|
|
1063
1093
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1064
1094
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4>;
|
|
@@ -1069,18 +1099,18 @@ declare const CommonForm: {
|
|
|
1069
1099
|
fieldComponents?: TNewField_5 | undefined;
|
|
1070
1100
|
formComponents?: TNewForm_5 | undefined;
|
|
1071
1101
|
}) => {
|
|
1072
|
-
useAppForm: <TFormData, TOnMount_8 extends
|
|
1102
|
+
useAppForm: <TFormData, TOnMount_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_8>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_8, TOnChange_8, TOnChangeAsync_8, TOnBlur_8, TOnBlurAsync_8, TOnSubmit_8, TOnSubmitAsync_8, TOnDynamic_8, TOnDynamicAsync_8, TOnServer_8, TSubmitMeta_8, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
1073
1103
|
readonly SubmitButton: typeof SubmitButton;
|
|
1074
1104
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1075
1105
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
1076
|
-
withForm: <TFormData, TOnMount_1_5 extends
|
|
1106
|
+
withForm: <TFormData, TOnMount_1_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_5, TRenderProps_6 extends object = {}>({
|
|
1077
1107
|
render,
|
|
1078
1108
|
props
|
|
1079
|
-
}:
|
|
1109
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
1080
1110
|
readonly SubmitButton: typeof SubmitButton;
|
|
1081
1111
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1082
1112
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5, TRenderProps_6>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_6] ? any : TRenderProps_6> & {
|
|
1083
|
-
form:
|
|
1113
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_5] ? [TOnMount_1_5] extends [TOnMount_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_5 : TOnMount_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_5] ? [TOnChange_1_5] extends [TOnChange_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_5 : TOnChange_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_5] ? [TOnChangeAsync_1_5] extends [TOnChangeAsync_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_5 : TOnChangeAsync_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_5] ? [TOnBlur_1_5] extends [TOnBlur_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_5 : TOnBlur_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_5] ? [TOnBlurAsync_1_5] extends [TOnBlurAsync_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_5 : TOnBlurAsync_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_5] ? [TOnSubmit_1_5] extends [TOnSubmit_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_5 : TOnSubmit_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_5] ? [TOnSubmitAsync_1_5] extends [TOnSubmitAsync_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_5 : TOnSubmitAsync_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_5] ? [TOnDynamic_1_5] extends [TOnDynamic_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_5 : TOnDynamic_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_5] ? [TOnDynamicAsync_1_5] extends [TOnDynamicAsync_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_5 : TOnDynamicAsync_1_5, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_5] ? [TOnServer_1_5] extends [TOnServer_1_5 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_5 : TOnServer_1_5, [unknown] extends [TSubmitMeta_1_5] ? any : TSubmitMeta_1_5, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, [unknown] extends [{
|
|
1084
1114
|
readonly SubmitButton: typeof SubmitButton;
|
|
1085
1115
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1086
1116
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5] ? any : {
|
|
@@ -1092,20 +1122,20 @@ declare const CommonForm: {
|
|
|
1092
1122
|
render,
|
|
1093
1123
|
props,
|
|
1094
1124
|
defaultValues
|
|
1095
|
-
}:
|
|
1125
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
1096
1126
|
readonly SubmitButton: typeof SubmitButton;
|
|
1097
1127
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1098
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5, TSubmitMeta_2_5, TRenderProps_1_5>) => <TFormData, TFields_5 extends
|
|
1099
|
-
form:
|
|
1128
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5, TSubmitMeta_2_5, TRenderProps_1_5>) => <TFormData, TFields_5 extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_5>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_5> & {
|
|
1129
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
1100
1130
|
readonly SubmitButton: typeof SubmitButton;
|
|
1101
1131
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1102
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5> |
|
|
1132
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_5 ? TFormSubmitMeta_5 : TSubmitMeta_2_5, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
1103
1133
|
readonly SubmitButton: typeof SubmitButton;
|
|
1104
1134
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1105
1135
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
1106
1136
|
fields: TFields_5;
|
|
1107
1137
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1108
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_5 extends
|
|
1138
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_5 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_5 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_5>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5, {
|
|
1109
1139
|
readonly SubmitButton: typeof SubmitButton;
|
|
1110
1140
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1111
1141
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5>;
|
|
@@ -1116,18 +1146,18 @@ declare const CommonForm: {
|
|
|
1116
1146
|
fieldComponents?: TNewField_6 | undefined;
|
|
1117
1147
|
formComponents?: TNewForm_6 | undefined;
|
|
1118
1148
|
}) => {
|
|
1119
|
-
useAppForm: <TFormData, TOnMount_9 extends
|
|
1149
|
+
useAppForm: <TFormData, TOnMount_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_9>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_9, TOnChange_9, TOnChangeAsync_9, TOnBlur_9, TOnBlurAsync_9, TOnSubmit_9, TOnSubmitAsync_9, TOnDynamic_9, TOnDynamicAsync_9, TOnServer_9, TSubmitMeta_9, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
1120
1150
|
readonly SubmitButton: typeof SubmitButton;
|
|
1121
1151
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1122
1152
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
1123
|
-
withForm: <TFormData, TOnMount_1_6 extends
|
|
1153
|
+
withForm: <TFormData, TOnMount_1_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_6, TRenderProps_7 extends object = {}>({
|
|
1124
1154
|
render,
|
|
1125
1155
|
props
|
|
1126
|
-
}:
|
|
1156
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
1127
1157
|
readonly SubmitButton: typeof SubmitButton;
|
|
1128
1158
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1129
1159
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6, TRenderProps_7>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_7] ? any : TRenderProps_7> & {
|
|
1130
|
-
form:
|
|
1160
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_6] ? [TOnMount_1_6] extends [TOnMount_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_6 : TOnMount_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_6] ? [TOnChange_1_6] extends [TOnChange_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_6 : TOnChange_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_6] ? [TOnChangeAsync_1_6] extends [TOnChangeAsync_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_6 : TOnChangeAsync_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_6] ? [TOnBlur_1_6] extends [TOnBlur_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_6 : TOnBlur_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_6] ? [TOnBlurAsync_1_6] extends [TOnBlurAsync_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_6 : TOnBlurAsync_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_6] ? [TOnSubmit_1_6] extends [TOnSubmit_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_6 : TOnSubmit_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_6] ? [TOnSubmitAsync_1_6] extends [TOnSubmitAsync_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_6 : TOnSubmitAsync_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_6] ? [TOnDynamic_1_6] extends [TOnDynamic_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_6 : TOnDynamic_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_6] ? [TOnDynamicAsync_1_6] extends [TOnDynamicAsync_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_6 : TOnDynamicAsync_1_6, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_6] ? [TOnServer_1_6] extends [TOnServer_1_6 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_6 : TOnServer_1_6, [unknown] extends [TSubmitMeta_1_6] ? any : TSubmitMeta_1_6, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, [unknown] extends [{
|
|
1131
1161
|
readonly SubmitButton: typeof SubmitButton;
|
|
1132
1162
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1133
1163
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6] ? any : {
|
|
@@ -1139,20 +1169,20 @@ declare const CommonForm: {
|
|
|
1139
1169
|
render,
|
|
1140
1170
|
props,
|
|
1141
1171
|
defaultValues
|
|
1142
|
-
}:
|
|
1172
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
1143
1173
|
readonly SubmitButton: typeof SubmitButton;
|
|
1144
1174
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1145
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6, TSubmitMeta_2_6, TRenderProps_1_6>) => <TFormData, TFields_6 extends
|
|
1146
|
-
form:
|
|
1175
|
+
} & 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_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_6>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_6> & {
|
|
1176
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
1147
1177
|
readonly SubmitButton: typeof SubmitButton;
|
|
1148
1178
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1149
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6> |
|
|
1179
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_6 ? TFormSubmitMeta_6 : TSubmitMeta_2_6, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
1150
1180
|
readonly SubmitButton: typeof SubmitButton;
|
|
1151
1181
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1152
1182
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
1153
1183
|
fields: TFields_6;
|
|
1154
1184
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1155
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_6 extends
|
|
1185
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_6 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_6 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_6>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6, {
|
|
1156
1186
|
readonly SubmitButton: typeof SubmitButton;
|
|
1157
1187
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1158
1188
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6>;
|
|
@@ -1163,18 +1193,18 @@ declare const CommonForm: {
|
|
|
1163
1193
|
fieldComponents?: TNewField_7 | undefined;
|
|
1164
1194
|
formComponents?: TNewForm_7 | undefined;
|
|
1165
1195
|
}) => {
|
|
1166
|
-
useAppForm: <TFormData, TOnMount_10 extends
|
|
1196
|
+
useAppForm: <TFormData, TOnMount_10 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_10 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_10 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_10 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_10 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_10 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_10 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_10 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_10 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_10 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_10>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_10, TOnChange_10, TOnChangeAsync_10, TOnBlur_10, TOnBlurAsync_10, TOnSubmit_10, TOnSubmitAsync_10, TOnDynamic_10, TOnDynamicAsync_10, TOnServer_10, TSubmitMeta_10, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
1167
1197
|
readonly SubmitButton: typeof SubmitButton;
|
|
1168
1198
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1169
1199
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
1170
|
-
withForm: <TFormData, TOnMount_1_7 extends
|
|
1200
|
+
withForm: <TFormData, TOnMount_1_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_7, TRenderProps_8 extends object = {}>({
|
|
1171
1201
|
render,
|
|
1172
1202
|
props
|
|
1173
|
-
}:
|
|
1203
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
1174
1204
|
readonly SubmitButton: typeof SubmitButton;
|
|
1175
1205
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1176
1206
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7, TRenderProps_8>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_8] ? any : TRenderProps_8> & {
|
|
1177
|
-
form:
|
|
1207
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_7] ? [TOnMount_1_7] extends [TOnMount_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_7 : TOnMount_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_7] ? [TOnChange_1_7] extends [TOnChange_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_7 : TOnChange_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_7] ? [TOnChangeAsync_1_7] extends [TOnChangeAsync_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_7 : TOnChangeAsync_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_7] ? [TOnBlur_1_7] extends [TOnBlur_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_7 : TOnBlur_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_7] ? [TOnBlurAsync_1_7] extends [TOnBlurAsync_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_7 : TOnBlurAsync_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_7] ? [TOnSubmit_1_7] extends [TOnSubmit_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_7 : TOnSubmit_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_7] ? [TOnSubmitAsync_1_7] extends [TOnSubmitAsync_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_7 : TOnSubmitAsync_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_7] ? [TOnDynamic_1_7] extends [TOnDynamic_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_7 : TOnDynamic_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_7] ? [TOnDynamicAsync_1_7] extends [TOnDynamicAsync_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_7 : TOnDynamicAsync_1_7, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_7] ? [TOnServer_1_7] extends [TOnServer_1_7 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_7 : TOnServer_1_7, [unknown] extends [TSubmitMeta_1_7] ? any : TSubmitMeta_1_7, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, [unknown] extends [{
|
|
1178
1208
|
readonly SubmitButton: typeof SubmitButton;
|
|
1179
1209
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1180
1210
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7] ? any : {
|
|
@@ -1186,20 +1216,20 @@ declare const CommonForm: {
|
|
|
1186
1216
|
render,
|
|
1187
1217
|
props,
|
|
1188
1218
|
defaultValues
|
|
1189
|
-
}:
|
|
1219
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
1190
1220
|
readonly SubmitButton: typeof SubmitButton;
|
|
1191
1221
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1192
|
-
} & 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
|
|
1193
|
-
form:
|
|
1222
|
+
} & 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_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_7>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_7> & {
|
|
1223
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
1194
1224
|
readonly SubmitButton: typeof SubmitButton;
|
|
1195
1225
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1196
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7> |
|
|
1226
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_7 ? TFormSubmitMeta_7 : TSubmitMeta_2_7, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
1197
1227
|
readonly SubmitButton: typeof SubmitButton;
|
|
1198
1228
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1199
1229
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
1200
1230
|
fields: TFields_7;
|
|
1201
1231
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1202
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_7 extends
|
|
1232
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_7 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_7 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_7>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7, {
|
|
1203
1233
|
readonly SubmitButton: typeof SubmitButton;
|
|
1204
1234
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1205
1235
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7>;
|
|
@@ -1210,18 +1240,18 @@ declare const CommonForm: {
|
|
|
1210
1240
|
fieldComponents?: TNewField_8 | undefined;
|
|
1211
1241
|
formComponents?: TNewForm_8 | undefined;
|
|
1212
1242
|
}) => {
|
|
1213
|
-
useAppForm: <TFormData, TOnMount_11 extends
|
|
1243
|
+
useAppForm: <TFormData, TOnMount_11 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_11 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_11 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_11 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_11 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_11 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_11 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_11 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_11 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_11 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_11>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_11, TOnChange_11, TOnChangeAsync_11, TOnBlur_11, TOnBlurAsync_11, TOnSubmit_11, TOnSubmitAsync_11, TOnDynamic_11, TOnDynamicAsync_11, TOnServer_11, TSubmitMeta_11, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
1214
1244
|
readonly SubmitButton: typeof SubmitButton;
|
|
1215
1245
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1216
1246
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
1217
|
-
withForm: <TFormData, TOnMount_1_8 extends
|
|
1247
|
+
withForm: <TFormData, TOnMount_1_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_8, TRenderProps_9 extends object = {}>({
|
|
1218
1248
|
render,
|
|
1219
1249
|
props
|
|
1220
|
-
}:
|
|
1250
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
1221
1251
|
readonly SubmitButton: typeof SubmitButton;
|
|
1222
1252
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1223
1253
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8, TRenderProps_9>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_9] ? any : TRenderProps_9> & {
|
|
1224
|
-
form:
|
|
1254
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_8] ? [TOnMount_1_8] extends [TOnMount_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_8 : TOnMount_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_8] ? [TOnChange_1_8] extends [TOnChange_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_8 : TOnChange_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_8] ? [TOnChangeAsync_1_8] extends [TOnChangeAsync_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_8 : TOnChangeAsync_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_8] ? [TOnBlur_1_8] extends [TOnBlur_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_8 : TOnBlur_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_8] ? [TOnBlurAsync_1_8] extends [TOnBlurAsync_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_8 : TOnBlurAsync_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_8] ? [TOnSubmit_1_8] extends [TOnSubmit_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_8 : TOnSubmit_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_8] ? [TOnSubmitAsync_1_8] extends [TOnSubmitAsync_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_8 : TOnSubmitAsync_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_8] ? [TOnDynamic_1_8] extends [TOnDynamic_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_8 : TOnDynamic_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_8] ? [TOnDynamicAsync_1_8] extends [TOnDynamicAsync_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_8 : TOnDynamicAsync_1_8, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_8] ? [TOnServer_1_8] extends [TOnServer_1_8 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_8 : TOnServer_1_8, [unknown] extends [TSubmitMeta_1_8] ? any : TSubmitMeta_1_8, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, [unknown] extends [{
|
|
1225
1255
|
readonly SubmitButton: typeof SubmitButton;
|
|
1226
1256
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1227
1257
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8] ? any : {
|
|
@@ -1233,20 +1263,20 @@ declare const CommonForm: {
|
|
|
1233
1263
|
render,
|
|
1234
1264
|
props,
|
|
1235
1265
|
defaultValues
|
|
1236
|
-
}:
|
|
1266
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
1237
1267
|
readonly SubmitButton: typeof SubmitButton;
|
|
1238
1268
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1239
|
-
} & 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
|
|
1240
|
-
form:
|
|
1269
|
+
} & 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_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_8>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_8> & {
|
|
1270
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
1241
1271
|
readonly SubmitButton: typeof SubmitButton;
|
|
1242
1272
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1243
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8> |
|
|
1273
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_8 ? TFormSubmitMeta_8 : TSubmitMeta_2_8, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
1244
1274
|
readonly SubmitButton: typeof SubmitButton;
|
|
1245
1275
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1246
1276
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
1247
1277
|
fields: TFields_8;
|
|
1248
1278
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1249
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_8 extends
|
|
1279
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_8 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_8 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_8>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8, {
|
|
1250
1280
|
readonly SubmitButton: typeof SubmitButton;
|
|
1251
1281
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1252
1282
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8>;
|
|
@@ -1257,18 +1287,18 @@ declare const CommonForm: {
|
|
|
1257
1287
|
fieldComponents?: TNewField_9 | undefined;
|
|
1258
1288
|
formComponents?: TNewForm_9 | undefined;
|
|
1259
1289
|
}) => {
|
|
1260
|
-
useAppForm: <TFormData, TOnMount_12 extends
|
|
1290
|
+
useAppForm: <TFormData, TOnMount_12 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_12 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_12 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_12 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_12 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_12 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_12 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_12 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_12 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_12 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_12>(props: _tanstack_react_form3.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_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount_12, TOnChange_12, TOnChangeAsync_12, TOnBlur_12, TOnBlurAsync_12, TOnSubmit_12, TOnSubmitAsync_12, TOnDynamic_12, TOnDynamicAsync_12, TOnServer_12, TSubmitMeta_12, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
1261
1291
|
readonly SubmitButton: typeof SubmitButton;
|
|
1262
1292
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1263
1293
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
1264
|
-
withForm: <TFormData, TOnMount_1_9 extends
|
|
1294
|
+
withForm: <TFormData, TOnMount_1_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_1_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_1_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_1_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_1_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_1_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_1_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_1_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_1_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_1_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_1_9, TRenderProps_10 extends object = {}>({
|
|
1265
1295
|
render,
|
|
1266
1296
|
props
|
|
1267
|
-
}:
|
|
1297
|
+
}: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
1268
1298
|
readonly SubmitButton: typeof SubmitButton;
|
|
1269
1299
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1270
1300
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9, TRenderProps_10>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps_10] ? any : TRenderProps_10> & {
|
|
1271
|
-
form:
|
|
1301
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount_1_9] ? [TOnMount_1_9] extends [TOnMount_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount_1_9 : TOnMount_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange_1_9] ? [TOnChange_1_9] extends [TOnChange_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange_1_9 : TOnChange_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync_1_9] ? [TOnChangeAsync_1_9] extends [TOnChangeAsync_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync_1_9 : TOnChangeAsync_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur_1_9] ? [TOnBlur_1_9] extends [TOnBlur_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur_1_9 : TOnBlur_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync_1_9] ? [TOnBlurAsync_1_9] extends [TOnBlurAsync_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync_1_9 : TOnBlurAsync_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit_1_9] ? [TOnSubmit_1_9] extends [TOnSubmit_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit_1_9 : TOnSubmit_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync_1_9] ? [TOnSubmitAsync_1_9] extends [TOnSubmitAsync_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync_1_9 : TOnSubmitAsync_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic_1_9] ? [TOnDynamic_1_9] extends [TOnDynamic_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic_1_9 : TOnDynamic_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync_1_9] ? [TOnDynamicAsync_1_9] extends [TOnDynamicAsync_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync_1_9 : TOnDynamicAsync_1_9, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer_1_9] ? [TOnServer_1_9] extends [TOnServer_1_9 & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer_1_9 : TOnServer_1_9, [unknown] extends [TSubmitMeta_1_9] ? any : TSubmitMeta_1_9, [unknown] extends [{} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9] ? any : {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, [unknown] extends [{
|
|
1272
1302
|
readonly SubmitButton: typeof SubmitButton;
|
|
1273
1303
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1274
1304
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9] ? any : {
|
|
@@ -1280,20 +1310,20 @@ declare const CommonForm: {
|
|
|
1280
1310
|
render,
|
|
1281
1311
|
props,
|
|
1282
1312
|
defaultValues
|
|
1283
|
-
}:
|
|
1313
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
1284
1314
|
readonly SubmitButton: typeof SubmitButton;
|
|
1285
1315
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1286
|
-
} & 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
|
|
1287
|
-
form:
|
|
1316
|
+
} & 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_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount_2_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_2_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_2_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_2_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_2_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_2_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_2_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_2_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_2_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_2_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta_9>(params: React$1.PropsWithChildren<NoInfer<TRenderProps_1_9> & {
|
|
1317
|
+
form: _tanstack_react_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
1288
1318
|
readonly SubmitButton: typeof SubmitButton;
|
|
1289
1319
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1290
|
-
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9> |
|
|
1320
|
+
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta_2_9 ? TFormSubmitMeta_9 : TSubmitMeta_2_9, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
1291
1321
|
readonly SubmitButton: typeof SubmitButton;
|
|
1292
1322
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1293
1323
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
1294
1324
|
fields: TFields_9;
|
|
1295
1325
|
}>) => ReturnType<React$1.FunctionComponent>;
|
|
1296
|
-
useTypedAppFormContext: <TFormData, TOnMount_3_9 extends
|
|
1326
|
+
useTypedAppFormContext: <TFormData, TOnMount_3_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange_3_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync_3_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur_3_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync_3_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit_3_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync_3_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic_3_9 extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync_3_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer_3_9 extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta_3_9>(_props: _tanstack_react_form3.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_form3.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, {} & TNewField & TNewField_1 & TNewField_2 & TNewField_3 & TNewField_4 & TNewField_5 & TNewField_6 & TNewField_7 & TNewField_8 & TNewField_9, {
|
|
1297
1327
|
readonly SubmitButton: typeof SubmitButton;
|
|
1298
1328
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1299
1329
|
} & TNewForm & TNewForm_1 & TNewForm_2 & TNewForm_3 & TNewForm_4 & TNewForm_5 & TNewForm_6 & TNewForm_7 & TNewForm_8 & TNewForm_9>;
|
|
@@ -1315,18 +1345,18 @@ declare const CommonForm: {
|
|
|
1315
1345
|
};
|
|
1316
1346
|
};
|
|
1317
1347
|
};
|
|
1318
|
-
declare const useForm: <TFormData, TOnMount extends
|
|
1348
|
+
declare const useForm: <TFormData, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_react_form3.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
1319
1349
|
readonly SubmitButton: typeof SubmitButton;
|
|
1320
1350
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1321
1351
|
}>;
|
|
1322
|
-
declare const withForm: <TFormData, TOnMount extends
|
|
1352
|
+
declare const withForm: <TFormData, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1323
1353
|
render,
|
|
1324
1354
|
props
|
|
1325
|
-
}:
|
|
1355
|
+
}: _tanstack_react_form3.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {}, {
|
|
1326
1356
|
readonly SubmitButton: typeof SubmitButton;
|
|
1327
1357
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1328
1358
|
}, TRenderProps>) => React$1.FunctionComponent<React$1.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
1329
|
-
form:
|
|
1359
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_react_form3.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {}, {
|
|
1330
1360
|
readonly SubmitButton: typeof SubmitButton;
|
|
1331
1361
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1332
1362
|
}>;
|
|
@@ -1334,14 +1364,14 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form0.FormV
|
|
|
1334
1364
|
render,
|
|
1335
1365
|
props,
|
|
1336
1366
|
defaultValues
|
|
1337
|
-
}:
|
|
1367
|
+
}: _tanstack_react_form3.WithFieldGroupProps<TFieldGroupData, {}, {
|
|
1338
1368
|
readonly SubmitButton: typeof SubmitButton;
|
|
1339
1369
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1340
|
-
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends
|
|
1341
|
-
form:
|
|
1370
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_react_form3.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_react_form3.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_react_form3.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_react_form3.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: React$1.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1371
|
+
form: _tanstack_react_form3.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {}, {
|
|
1342
1372
|
readonly SubmitButton: typeof SubmitButton;
|
|
1343
1373
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1344
|
-
}> |
|
|
1374
|
+
}> | _tanstack_react_form3.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_react_form3.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {}, {
|
|
1345
1375
|
readonly SubmitButton: typeof SubmitButton;
|
|
1346
1376
|
readonly CardSaveBar: typeof CardSaveBar;
|
|
1347
1377
|
}>;
|
|
@@ -1360,7 +1390,7 @@ declare const withForm: <TFormData, TOnMount extends _tanstack_react_form0.FormV
|
|
|
1360
1390
|
* // Extending useForm with a custom SwitchField
|
|
1361
1391
|
* const { useAppForm } = createFormHook({ fieldContext, formContext, fieldComponents: { SwitchField }, formComponents: {} })
|
|
1362
1392
|
*/
|
|
1363
|
-
declare const fieldContext: React$1.Context<
|
|
1393
|
+
declare const fieldContext: React$1.Context<_tanstack_react_form3.AnyFieldApi>, formContext: React$1.Context<_tanstack_react_form3.AnyFormApi>, useFieldContext: <TData>() => _tanstack_react_form3.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_form3.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
1364
1394
|
//#endregion
|
|
1365
1395
|
//#region src/components/form-field.d.ts
|
|
1366
1396
|
/**
|
|
@@ -1387,12 +1417,20 @@ type FormFieldShellProps = {
|
|
|
1387
1417
|
label?: LabelProp;
|
|
1388
1418
|
description?: DescriptionProp;
|
|
1389
1419
|
necessityIndicator?: 'required' | 'optional';
|
|
1420
|
+
/**
|
|
1421
|
+
* `htmlFor` target for the rendered `FieldLabel`, so clicking the label focuses the field's
|
|
1422
|
+
* control. Single-control wrappers set this to the same `id` they put on the control itself
|
|
1423
|
+
* (see `FormFieldBase`); group/array wrappers (RadioGroup, ToggleGroup, ArrayField) have no one
|
|
1424
|
+
* focusable target, so they pass an `id` with nothing matching it — same as omitting `htmlFor`.
|
|
1425
|
+
*/
|
|
1426
|
+
id: string;
|
|
1390
1427
|
children: React$1.ReactNode;
|
|
1391
1428
|
};
|
|
1392
1429
|
declare function FormFieldShell({
|
|
1393
1430
|
label,
|
|
1394
1431
|
description,
|
|
1395
1432
|
necessityIndicator,
|
|
1433
|
+
id,
|
|
1396
1434
|
children
|
|
1397
1435
|
}: FormFieldShellProps): react_jsx_runtime0.JSX.Element;
|
|
1398
1436
|
/**
|
|
@@ -1421,10 +1459,29 @@ type TypedField<TData> = {
|
|
|
1421
1459
|
* assignable, so `TForm extends BoundForm` fails and `name` cascades to `never`. The loose form
|
|
1422
1460
|
* accepts any `createFormHook` form for any data shape; `FormFieldBase` casts `AppField` to the
|
|
1423
1461
|
* concrete component type before use, so nothing downstream relies on the precise signature.
|
|
1462
|
+
*
|
|
1463
|
+
* `state.values` is `Record<string, any>`, not `unknown`, for a separate reason: every `Form*Field`
|
|
1464
|
+
* wrapper is generic over `<TForm extends BoundForm, TName extends DeepKeysOfType<TForm['state']['values'], V>>`
|
|
1465
|
+
* with no default type arguments. When TS checks whether such a generic function is a valid JSX
|
|
1466
|
+
* element type, it evaluates the *unconstrained* signature — `TForm` falls back to `BoundForm`
|
|
1467
|
+
* itself. With `values: unknown`, `DeepKeysOfType<unknown, V>` can't find any key whose value
|
|
1468
|
+
* extends `V`, so it collapses to `never`, making the unconstrained `name: never` — under
|
|
1469
|
+
* `strictFunctionTypes: true` (the TS default; this repo's shared tsconfig disables it, but most
|
|
1470
|
+
* external consumers don't) that trips `TS2786: 'FormXField' cannot be used as a JSX component`.
|
|
1471
|
+
* `Record<string, any>` fixes it because `any extends V` resolves to `true` for every `V` in a
|
|
1472
|
+
* conditional type, so no key gets filtered out — the unconstrained fallback resolves to a real,
|
|
1473
|
+
* inhabited `string` instead of `never` (same reason react-hook-form defaults
|
|
1474
|
+
* `TFieldValues = Record<string, any>`). Real call sites are unaffected: TS infers `TForm`/`TName`
|
|
1475
|
+
* from the actual threaded `form`, never from this fallback.
|
|
1476
|
+
*
|
|
1477
|
+
* Safe to tighten (unlike `AppField`): `state.values` is *data*, checked structurally/covariantly,
|
|
1478
|
+
* so any real form's values object — however deeply nested or array-shaped — is still assignable
|
|
1479
|
+
* to `Record<string, any>`. `AppField` is a *function signature*, checked contravariantly, which is
|
|
1480
|
+
* why tightening it (see above) breaks real forms but tightening `values` does not.
|
|
1424
1481
|
*/
|
|
1425
1482
|
type BoundForm = {
|
|
1426
1483
|
state: {
|
|
1427
|
-
values:
|
|
1484
|
+
values: Record<string, any>;
|
|
1428
1485
|
};
|
|
1429
1486
|
AppField: (...args: never[]) => unknown;
|
|
1430
1487
|
};
|
|
@@ -1481,8 +1538,14 @@ type FormFieldBaseProps<TData, TControl> = {
|
|
|
1481
1538
|
asyncAlways?: boolean;
|
|
1482
1539
|
label?: LabelProp;
|
|
1483
1540
|
description?: DescriptionProp;
|
|
1484
|
-
necessityIndicator?: 'required' | 'optional';
|
|
1485
|
-
|
|
1541
|
+
necessityIndicator?: 'required' | 'optional';
|
|
1542
|
+
/**
|
|
1543
|
+
* Builds the primitive-specific wiring bundle handed to `children`. `id` is `name` (see
|
|
1544
|
+
* `FormFieldBase`) — attach it to the control's actual DOM element so the shell's `FieldLabel`
|
|
1545
|
+
* (`htmlFor={id}`) focuses it on click. Group controls with no single focusable target (radio
|
|
1546
|
+
* group, toggle group) can ignore the parameter.
|
|
1547
|
+
*/
|
|
1548
|
+
buildControl: (field: TypedField<TData>, id: string) => TControl;
|
|
1486
1549
|
children: (field: TypedField<TData>, control: TControl) => React$1.ReactNode;
|
|
1487
1550
|
};
|
|
1488
1551
|
/**
|
|
@@ -1496,7 +1559,9 @@ declare function FormFieldBase<TData, TControl>(props: FormFieldBaseProps<TData,
|
|
|
1496
1559
|
/**
|
|
1497
1560
|
* Wiring bundles handed to a `FormSelectField` child. Spread each onto the matching
|
|
1498
1561
|
* primitive — this encodes the Select-specific quirks (the `'' ↔ null` value dance,
|
|
1499
|
-
* `aria-invalid`) so consumers don't re-derive them.
|
|
1562
|
+
* `aria-invalid`) so consumers don't re-derive them. `id` lands on `selectTriggerProps`, not
|
|
1563
|
+
* `selectProps` — the trigger is the actual focusable button, matching the shell's `FieldLabel`
|
|
1564
|
+
* `htmlFor`.
|
|
1500
1565
|
*/
|
|
1501
1566
|
type SelectControl = {
|
|
1502
1567
|
selectProps: {
|
|
@@ -1504,6 +1569,7 @@ type SelectControl = {
|
|
|
1504
1569
|
onValueChange: (value: string | null) => void;
|
|
1505
1570
|
};
|
|
1506
1571
|
selectTriggerProps: {
|
|
1572
|
+
id: string;
|
|
1507
1573
|
onBlur: () => void;
|
|
1508
1574
|
'aria-invalid': true | undefined;
|
|
1509
1575
|
};
|
|
@@ -1538,10 +1604,12 @@ declare function FormSelectField<TForm extends BoundForm, TName extends DeepKeys
|
|
|
1538
1604
|
//#region src/components/form-input-field.d.ts
|
|
1539
1605
|
/**
|
|
1540
1606
|
* Wiring bundle handed to a `FormInputField` child. Spread `inputProps` onto a DS `Input`
|
|
1541
|
-
* (or any native-input-shaped control) — value/onChange/onBlur/aria are pre-wired
|
|
1607
|
+
* (or any native-input-shaped control) — value/onChange/onBlur/id/aria are pre-wired; `id`
|
|
1608
|
+
* matches the shell's `FieldLabel` `htmlFor` so clicking the label focuses the input.
|
|
1542
1609
|
*/
|
|
1543
1610
|
type InputControl = {
|
|
1544
1611
|
inputProps: {
|
|
1612
|
+
id: string;
|
|
1545
1613
|
value: string;
|
|
1546
1614
|
onChange: (event: React$1.ChangeEvent<HTMLInputElement>) => void;
|
|
1547
1615
|
onBlur: () => void;
|
|
@@ -1571,7 +1639,9 @@ declare function FormInputField<TForm extends BoundForm, TName extends DeepKeysO
|
|
|
1571
1639
|
/**
|
|
1572
1640
|
* Wiring bundles handed to a `FormComboboxField` child. The Combobox is structurally different
|
|
1573
1641
|
* from a Select (search input instead of a trigger), so the bundles target its parts:
|
|
1574
|
-
* `comboboxProps` on the `<Combobox>` root, `comboboxInputProps` on `<ComboboxInput>`.
|
|
1642
|
+
* `comboboxProps` on the `<Combobox>` root, `comboboxInputProps` on `<ComboboxInput>`. `id` lands
|
|
1643
|
+
* on `comboboxInputProps` — the input is the actual focusable element, matching the shell's
|
|
1644
|
+
* `FieldLabel` `htmlFor`.
|
|
1575
1645
|
*/
|
|
1576
1646
|
type ComboboxControl = {
|
|
1577
1647
|
comboboxProps: {
|
|
@@ -1579,6 +1649,7 @@ type ComboboxControl = {
|
|
|
1579
1649
|
onValueChange: (value: string | null) => void;
|
|
1580
1650
|
};
|
|
1581
1651
|
comboboxInputProps: {
|
|
1652
|
+
id: string;
|
|
1582
1653
|
onBlur: () => void;
|
|
1583
1654
|
'aria-invalid': true | undefined;
|
|
1584
1655
|
};
|
|
@@ -1615,7 +1686,8 @@ declare function FormComboboxField<TForm extends BoundForm, TName extends DeepKe
|
|
|
1615
1686
|
/**
|
|
1616
1687
|
* Wiring bundles handed to a `FormMultiComboboxField` child. Spread `comboboxProps` onto the
|
|
1617
1688
|
* `Combobox` root and `comboboxInputProps` onto its input — value/onValueChange live on the
|
|
1618
|
-
* root, while blur/`aria-invalid` belong to the input.
|
|
1689
|
+
* root, while blur/id/`aria-invalid` belong to the input. `id` matches the shell's `FieldLabel`
|
|
1690
|
+
* `htmlFor` so clicking the label focuses the chips input.
|
|
1619
1691
|
*/
|
|
1620
1692
|
type MultiComboboxControl = {
|
|
1621
1693
|
comboboxProps: {
|
|
@@ -1623,6 +1695,7 @@ type MultiComboboxControl = {
|
|
|
1623
1695
|
onValueChange: (value: string[]) => void;
|
|
1624
1696
|
};
|
|
1625
1697
|
comboboxInputProps: {
|
|
1698
|
+
id: string;
|
|
1626
1699
|
onBlur: () => void;
|
|
1627
1700
|
'aria-invalid': true | undefined;
|
|
1628
1701
|
};
|
|
@@ -1727,10 +1800,12 @@ declare function FormArrayField<TForm extends BoundForm, TName extends DeepKeysO
|
|
|
1727
1800
|
//#region src/components/form-textarea-field.d.ts
|
|
1728
1801
|
/**
|
|
1729
1802
|
* Wiring bundle handed to a `FormTextareaField` child. Spread `textareaProps` onto a DS
|
|
1730
|
-
* `Textarea` (or any native-textarea-shaped control) — value/onChange/onBlur/aria are
|
|
1803
|
+
* `Textarea` (or any native-textarea-shaped control) — value/onChange/onBlur/id/aria are
|
|
1804
|
+
* pre-wired; `id` matches the shell's `FieldLabel` `htmlFor` so clicking the label focuses it.
|
|
1731
1805
|
*/
|
|
1732
1806
|
type TextareaControl = {
|
|
1733
1807
|
textareaProps: {
|
|
1808
|
+
id: string;
|
|
1734
1809
|
value: string;
|
|
1735
1810
|
onChange: (event: React$1.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
1736
1811
|
onBlur: () => void;
|
|
@@ -1761,6 +1836,10 @@ declare function FormTextareaField<TForm extends BoundForm, TName extends DeepKe
|
|
|
1761
1836
|
* Wiring bundle handed to a `FormRadioGroupField` child. Spread `radioGroupProps` onto a DS
|
|
1762
1837
|
* `RadioGroup` — this encodes the radio-specific quirks (the `'' ↔ null` value dance,
|
|
1763
1838
|
* `aria-invalid`) so consumers don't re-derive them.
|
|
1839
|
+
*
|
|
1840
|
+
* No `id` here, unlike the single-control wrappers: a radio group has several focusable items,
|
|
1841
|
+
* not one, so there's no single target for the shell's `FieldLabel` `htmlFor` to focus — native
|
|
1842
|
+
* `<label>` click-to-focus doesn't apply to grouped controls the way it does to a single input.
|
|
1764
1843
|
*/
|
|
1765
1844
|
type RadioGroupControl = {
|
|
1766
1845
|
radioGroupProps: {
|
|
@@ -1796,10 +1875,13 @@ declare function FormRadioGroupField<TForm extends BoundForm, TName extends Deep
|
|
|
1796
1875
|
//#region src/components/form-otp-field.d.ts
|
|
1797
1876
|
/**
|
|
1798
1877
|
* Wiring bundle handed to a `FormOTPField` child. Spread `otpProps` onto a DS `InputOTP` —
|
|
1799
|
-
* value/onChange/onBlur/aria are pre-wired (`InputOTP` reports its value as a plain string
|
|
1878
|
+
* value/onChange/onBlur/id/aria are pre-wired (`InputOTP` reports its value as a plain string;
|
|
1879
|
+
* it renders one real input under its visual slots, so `id` lands there and matches the shell's
|
|
1880
|
+
* `FieldLabel` `htmlFor`).
|
|
1800
1881
|
*/
|
|
1801
1882
|
type OTPControl = {
|
|
1802
1883
|
otpProps: {
|
|
1884
|
+
id: string;
|
|
1803
1885
|
value: string;
|
|
1804
1886
|
onChange: (value: string) => void;
|
|
1805
1887
|
onBlur: () => void;
|
|
@@ -1828,10 +1910,12 @@ declare function FormOTPField<TForm extends BoundForm, TName extends DeepKeysOfT
|
|
|
1828
1910
|
//#region src/components/form-switch-field.d.ts
|
|
1829
1911
|
/**
|
|
1830
1912
|
* Wiring bundle handed to a `FormSwitchField` child. Spread `switchProps` onto a DS `Switch` —
|
|
1831
|
-
* checked/onCheckedChange/onBlur/aria are pre-wired
|
|
1913
|
+
* checked/onCheckedChange/onBlur/id/aria are pre-wired; `id` matches the shell's `FieldLabel`
|
|
1914
|
+
* `htmlFor` so clicking the label toggles the switch.
|
|
1832
1915
|
*/
|
|
1833
1916
|
type SwitchControl = {
|
|
1834
1917
|
switchProps: {
|
|
1918
|
+
id: string;
|
|
1835
1919
|
checked: boolean;
|
|
1836
1920
|
onCheckedChange: (checked: boolean) => void;
|
|
1837
1921
|
onBlur: () => void;
|
|
@@ -1860,10 +1944,12 @@ declare function FormSwitchField<TForm extends BoundForm, TName extends DeepKeys
|
|
|
1860
1944
|
//#region src/components/form-numeric-field.d.ts
|
|
1861
1945
|
/**
|
|
1862
1946
|
* Wiring bundle handed to a `FormNumericField` child. Spread `numericProps` onto a DS
|
|
1863
|
-
* `NumericInput` — value/onValueChange/onBlur/aria are pre-wired (a cleared input coerces to
|
|
1947
|
+
* `NumericInput` — value/onValueChange/onBlur/id/aria are pre-wired (a cleared input coerces to
|
|
1948
|
+
* `0`); `id` matches the shell's `FieldLabel` `htmlFor` so clicking the label focuses the input.
|
|
1864
1949
|
*/
|
|
1865
1950
|
type NumericControl = {
|
|
1866
1951
|
numericProps: {
|
|
1952
|
+
id: string;
|
|
1867
1953
|
value: number;
|
|
1868
1954
|
onValueChange: (value: number | null) => void;
|
|
1869
1955
|
onBlur: () => void;
|
|
@@ -1893,11 +1979,20 @@ declare function FormNumericField<TForm extends BoundForm, TName extends DeepKey
|
|
|
1893
1979
|
/**
|
|
1894
1980
|
* Wiring bundle handed to a `FormSliderField` child. Spread `sliderProps` onto a DS `Slider` —
|
|
1895
1981
|
* this encodes the single-value ↔ `number[]` dance the underlying range primitive expects.
|
|
1982
|
+
*
|
|
1983
|
+
* `onValueChange`'s parameter is `number | readonly number[]`, not just `number[]`: DS's
|
|
1984
|
+
* `Slider` doesn't pin the `@base-ui/react` `Value` generic, so its declared `onValueChange`
|
|
1985
|
+
* type is the union default. Always setting `value` to a 1-element array below does make the
|
|
1986
|
+
* primitive call back with an array at runtime, but a handler typed to accept only `number[]`
|
|
1987
|
+
* isn't contravariantly assignable to one the union requires — that's a real
|
|
1988
|
+
* `strictFunctionTypes` violation, not a false positive, so the handler accepts (and narrows)
|
|
1989
|
+
* both shapes instead of narrowing the prop.
|
|
1896
1990
|
*/
|
|
1897
1991
|
type SliderControl = {
|
|
1898
1992
|
sliderProps: {
|
|
1993
|
+
id: string;
|
|
1899
1994
|
value: number[];
|
|
1900
|
-
onValueChange: (value: number[]) => void;
|
|
1995
|
+
onValueChange: (value: number | readonly number[]) => void;
|
|
1901
1996
|
onBlur: () => void;
|
|
1902
1997
|
};
|
|
1903
1998
|
};
|
|
@@ -1925,6 +2020,10 @@ declare function FormSliderField<TForm extends BoundForm, TName extends DeepKeys
|
|
|
1925
2020
|
* Wiring bundle handed to a `FormToggleGroupField` child. Spread `toggleGroupProps` onto a DS
|
|
1926
2021
|
* `ToggleGroup` — this encodes the single-value ↔ `string[]` dance the multi-select primitive
|
|
1927
2022
|
* expects (last pressed item wins; cleared selection maps to `null`).
|
|
2023
|
+
*
|
|
2024
|
+
* No `id` here, unlike the single-control wrappers: a toggle group has several focusable items,
|
|
2025
|
+
* not one, so there's no single target for the shell's `FieldLabel` `htmlFor` to focus — native
|
|
2026
|
+
* `<label>` click-to-focus doesn't apply to grouped controls the way it does to a single input.
|
|
1928
2027
|
*/
|
|
1929
2028
|
type ToggleGroupControl = {
|
|
1930
2029
|
toggleGroupProps: {
|
|
@@ -2187,4 +2286,4 @@ declare namespace DashboardSidebarSubmenuSeparator {
|
|
|
2187
2286
|
type Props = DashboardSidebarSubmenuSeparatorProps;
|
|
2188
2287
|
}
|
|
2189
2288
|
//#endregion
|
|
2190
|
-
export { type ArrayField, type ArrayItem, BetaBadge, type BoundForm, CardSaveBar, type CardSaveBarProps, ChatbotExpandSuggestion, type ChatbotExpandSuggestionProps, ChatbotInput, type ChatbotInputProps, ChatbotPage, ChatbotPageBody, type ChatbotPageBodyProps, ChatbotPageContent, type ChatbotPageContentProps, ChatbotPageConversation, type ChatbotPageConversationProps, ChatbotPageFooter, type ChatbotPageFooterProps, ChatbotPageHeading, type ChatbotPageHeadingProps, ChatbotPageInputBar, type ChatbotPageInputBarProps, type ChatbotPageProps, ChatbotPanel, ChatbotPanelHeader, type ChatbotPanelHeaderProps, type ChatbotPanelProps, ChatbotPanelSuggestion, type ChatbotPanelSuggestionItem, type ChatbotPanelSuggestionProps, ChatbotPanelTrigger, type ChatbotPanelTriggerProps, ChatbotResponseBlock, type ChatbotResponseBlockFeedback, type ChatbotResponseBlockProps, ChatbotResponseLoading, type ChatbotResponseLoadingProps, ChatbotSidebar, type ChatbotSidebarConversation, ChatbotUserMessage, type ChatbotUserMessageProps, type ComboboxControl, ComingSoonDescription, ComingSoonEmptyState, ComingSoonMedia, ComingSoonTitle, CommonForm, CopyButton, CopyButtonIcon, CopyButtonLabel, DashboardPage, DashboardPageBanner, DashboardPageContent, DashboardPageHeader, DashboardPageHeaderAction, DashboardPageHeaderActions, DashboardPageHeaderDescription, DashboardPageHeaderNav, DashboardPageHeaderNavBack, DashboardPageHeaderPrefix, DashboardPageHeaderSubtitle, DashboardPageHeaderTitle, DashboardPageHeaderTitleGroup, DashboardPageMain, DashboardPageTabs, DashboardSidebar, DashboardSidebarContent, DashboardSidebarFooter, DashboardSidebarGroup, DashboardSidebarGroupLabel, DashboardSidebarHeader, DashboardSidebarMenu, DashboardSidebarMenuBadge, DashboardSidebarMenuButton, DashboardSidebarMenuItem, DashboardSidebarNav, type DashboardSidebarNavGroup, type DashboardSidebarNavItem, type DashboardSidebarNavItemAction, type DashboardSidebarNavItemLink, type DashboardSidebarNavItemSubmenu, type DashboardSidebarNavSubmenuItem, DashboardSidebarProvider, DashboardSidebarSubmenu, DashboardSidebarSubmenuItem, DashboardSidebarSubmenuSeparator, DashboardSidebarTrigger, DashboardStandalonePage, DashboardStandalonePageAction, DashboardStandalonePageActions, DashboardStandalonePageContent, DashboardStandalonePageHeader, DashboardStandalonePageTitle, DeprecatedBadge, EmptyState, EmptyStateActions, EmptyStateButton, EmptyStateDescription, EmptyStateExternalLink, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, type FieldBindingProps, FormArrayField, type FormArrayFieldProps, FormComboboxField, type FormComboboxFieldProps, FormFieldBase, FormFieldShell, type FormFieldShellProps, type FormFieldValidators, FormInputField, type FormInputFieldProps, FormMultiComboboxField, type FormMultiComboboxFieldProps, FormNumericField, type FormNumericFieldProps, FormOTPField, type FormOTPFieldProps, FormRadioGroupField, type FormRadioGroupFieldProps, FormSelectField, type FormSelectFieldProps, FormSliderField, type FormSliderFieldProps, FormSwitchField, type FormSwitchFieldProps, FormTextareaField, type FormTextareaFieldProps, FormToggleGroupField, type FormToggleGroupFieldProps, type InputControl, type MultiComboboxControl, type NecessityProps, NewBadge, NoDataDescription, NoDataEmptyState, NoDataMedia, NoDataTitle, NoSupportDescription, NoSupportEmptyState, NoSupportMedia, NoSupportTitle, NotFoundDescription, NotFoundEmptyState, NotFoundMedia, NotFoundTitle, type NumericControl, type OTPControl, ProfessionalBadge, type RadioGroupControl, RestrictedAccessDescription, RestrictedAccessEmptyState, RestrictedAccessMedia, RestrictedAccessTitle, RoleBadge, type RoleBadgeRole, SaveBar, type SaveBarProps, type SelectControl, type SliderControl, SubmitButton, type SubmitButtonProps, type SwitchControl, type TextareaControl, type ToggleGroupControl, TrialBadge, type TypedField, UnknownErrorDescription, UnknownErrorEmptyState, UnknownErrorMedia, UnknownErrorTitle, fieldContext, formContext, toFieldErrors, useCopyToClipboard, useSidebar as useDashboardSidebar, useFieldContext, useForm, useFormContext, withFieldGroup, withForm };
|
|
2289
|
+
export { type ArrayField, type ArrayItem, BetaBadge, type BoundForm, CardSaveBar, type CardSaveBarProps, ChatbotExpandSuggestion, type ChatbotExpandSuggestionProps, ChatbotInput, type ChatbotInputProps, type ChatbotInputSuggestion, ChatbotPage, ChatbotPageBody, type ChatbotPageBodyProps, ChatbotPageContent, type ChatbotPageContentProps, ChatbotPageConversation, type ChatbotPageConversationProps, ChatbotPageFooter, type ChatbotPageFooterProps, ChatbotPageHeading, type ChatbotPageHeadingProps, ChatbotPageInputBar, type ChatbotPageInputBarProps, type ChatbotPageProps, ChatbotPanel, ChatbotPanelHeader, type ChatbotPanelHeaderProps, type ChatbotPanelProps, ChatbotPanelSuggestion, type ChatbotPanelSuggestionItem, type ChatbotPanelSuggestionProps, ChatbotPanelTrigger, type ChatbotPanelTriggerProps, ChatbotResponseBlock, type ChatbotResponseBlockFeedback, type ChatbotResponseBlockProps, ChatbotResponseLoading, type ChatbotResponseLoadingProps, ChatbotSidebar, type ChatbotSidebarConversation, ChatbotUserMessage, type ChatbotUserMessageProps, type ComboboxControl, ComingSoonDescription, ComingSoonEmptyState, ComingSoonMedia, ComingSoonTitle, CommonForm, CopyButton, CopyButtonIcon, CopyButtonLabel, DashboardPage, DashboardPageBanner, DashboardPageContent, DashboardPageHeader, DashboardPageHeaderAction, DashboardPageHeaderActions, DashboardPageHeaderDescription, DashboardPageHeaderNav, DashboardPageHeaderNavBack, DashboardPageHeaderPrefix, DashboardPageHeaderSubtitle, DashboardPageHeaderTitle, DashboardPageHeaderTitleGroup, DashboardPageMain, DashboardPageTabs, DashboardSidebar, DashboardSidebarContent, DashboardSidebarFooter, DashboardSidebarGroup, DashboardSidebarGroupLabel, DashboardSidebarHeader, DashboardSidebarMenu, DashboardSidebarMenuBadge, DashboardSidebarMenuButton, DashboardSidebarMenuItem, DashboardSidebarNav, type DashboardSidebarNavGroup, type DashboardSidebarNavItem, type DashboardSidebarNavItemAction, type DashboardSidebarNavItemLink, type DashboardSidebarNavItemSubmenu, type DashboardSidebarNavSubmenuItem, DashboardSidebarProvider, DashboardSidebarSubmenu, DashboardSidebarSubmenuItem, DashboardSidebarSubmenuSeparator, DashboardSidebarTrigger, DashboardStandalonePage, DashboardStandalonePageAction, DashboardStandalonePageActions, DashboardStandalonePageContent, DashboardStandalonePageHeader, DashboardStandalonePageTitle, DeprecatedBadge, EmptyState, EmptyStateActions, EmptyStateButton, EmptyStateDescription, EmptyStateExternalLink, EmptyStateHeader, EmptyStateMedia, EmptyStateTitle, type FieldBindingProps, FormArrayField, type FormArrayFieldProps, FormComboboxField, type FormComboboxFieldProps, FormFieldBase, FormFieldShell, type FormFieldShellProps, type FormFieldValidators, FormInputField, type FormInputFieldProps, FormMultiComboboxField, type FormMultiComboboxFieldProps, FormNumericField, type FormNumericFieldProps, FormOTPField, type FormOTPFieldProps, FormRadioGroupField, type FormRadioGroupFieldProps, FormSelectField, type FormSelectFieldProps, FormSliderField, type FormSliderFieldProps, FormSwitchField, type FormSwitchFieldProps, FormTextareaField, type FormTextareaFieldProps, FormToggleGroupField, type FormToggleGroupFieldProps, type InputControl, type MultiComboboxControl, type NecessityProps, NewBadge, NoDataDescription, NoDataEmptyState, NoDataMedia, NoDataTitle, NoSupportDescription, NoSupportEmptyState, NoSupportMedia, NoSupportTitle, NotFoundDescription, NotFoundEmptyState, NotFoundMedia, NotFoundTitle, type NumericControl, type OTPControl, ProfessionalBadge, type RadioGroupControl, RestrictedAccessDescription, RestrictedAccessEmptyState, RestrictedAccessMedia, RestrictedAccessTitle, RoleBadge, type RoleBadgeRole, SaveBar, type SaveBarProps, type SelectControl, type SliderControl, SubmitButton, type SubmitButtonProps, type SwitchControl, type TextareaControl, type ToggleGroupControl, TrialBadge, type TypedField, UnknownErrorDescription, UnknownErrorEmptyState, UnknownErrorMedia, UnknownErrorTitle, fieldContext, formContext, toFieldErrors, useCopyToClipboard, useSidebar as useDashboardSidebar, useFieldContext, useForm, useFormContext, withFieldGroup, withForm };
|