@customafk/lunas-ui 0.1.90 → 0.1.91
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/{button-Bood7HXY.d.cts → button-BvYyHp5J.d.cts} +5 -5
- package/dist/{button-DyVslbOD.d.mts → button-DJztTT3w.d.mts} +3 -3
- package/dist/data-display/empty.d.cts +2 -2
- package/dist/data-display/empty.d.mts +2 -2
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/statistic.d.mts +2 -2
- package/dist/{dialog-BjaMVnJs.d.cts → dialog-BiJ-214y.d.cts} +12 -12
- package/dist/{dialog-DlC4jY-Q.d.mts → dialog-qO7H5Fo2.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
- package/dist/features/descriptions/index.d.cts +2 -2
- package/dist/features/descriptions/index.d.mts +4 -4
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.d.cts +7 -7
- package/dist/features/tables/index.d.mts +7 -7
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.cjs.map +1 -1
- package/dist/features/tanstack-form/index.d.cts +446 -404
- package/dist/features/tanstack-form/index.d.mts +446 -404
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/tanstack-form/index.mjs.map +1 -1
- package/dist/{input-BC2AX0x5.d.mts → input-BEOI1YdT.d.cts} +5 -5
- package/dist/{input-Dl5o0Z3n.d.cts → input-Dte5t_7i.d.mts} +5 -5
- package/dist/layouts/flex.d.cts +4 -4
- package/dist/layouts/flex.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +6 -6
- package/dist/ui/alert.d.mts +4 -4
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +2 -2
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +4 -4
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +13 -13
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.mts +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.mts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.mts +4 -4
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.mts +11 -11
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +26 -26
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +2 -2
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime349 from "react/jsx-runtime";
|
|
2
|
+
import * as react229 from "react";
|
|
3
|
+
import * as class_variance_authority_types20 from "class-variance-authority/types";
|
|
4
4
|
import * as class_variance_authority0 from "class-variance-authority";
|
|
5
|
+
import { VariantProps } from "class-variance-authority";
|
|
5
6
|
import { Label } from "radix-ui";
|
|
6
7
|
import * as _tanstack_form_core0 from "@tanstack/form-core";
|
|
7
8
|
import * as _tanstack_react_form0 from "@tanstack/react-form";
|
|
@@ -11,12 +12,53 @@ declare function Label$1({
|
|
|
11
12
|
className,
|
|
12
13
|
children,
|
|
13
14
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof Label.Root>):
|
|
15
|
+
}: React.ComponentProps<typeof Label.Root>): react_jsx_runtime349.JSX.Element;
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region packages/components/features/tanstack-form/components/ui/field.d.ts
|
|
18
|
+
declare const fieldVariants: (props?: ({
|
|
19
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
20
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string;
|
|
21
|
+
declare const FieldGroup: react229.MemoExoticComponent<({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
25
|
+
declare const Field: react229.MemoExoticComponent<({
|
|
26
|
+
className,
|
|
27
|
+
orientation,
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react_jsx_runtime349.JSX.Element>;
|
|
30
|
+
declare const FieldContent: react229.MemoExoticComponent<({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
34
|
+
declare const FieldContentMain: react229.MemoExoticComponent<({
|
|
35
|
+
className,
|
|
36
|
+
...props
|
|
37
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
38
|
+
declare const FieldLabel: react229.MemoExoticComponent<({
|
|
39
|
+
className,
|
|
40
|
+
...props
|
|
41
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
42
|
+
declare const FieldSeparator: react229.MemoExoticComponent<({
|
|
43
|
+
children,
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
47
|
+
declare const FieldError: react229.MemoExoticComponent<({
|
|
48
|
+
className,
|
|
49
|
+
children,
|
|
50
|
+
errors,
|
|
51
|
+
...props
|
|
52
|
+
}: React.ComponentProps<"div"> & {
|
|
53
|
+
errors?: Array<{
|
|
54
|
+
message?: string;
|
|
55
|
+
} | undefined>;
|
|
56
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
15
57
|
//#endregion
|
|
16
58
|
//#region packages/components/features/tanstack-form/tanstack-form.d.ts
|
|
17
59
|
declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>, useTanStackFormContext: () => _tanstack_react_form0.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
18
60
|
declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_form_core0.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
19
|
-
readonly TextField:
|
|
61
|
+
readonly TextField: react229.FC<Pick<{
|
|
20
62
|
label: string;
|
|
21
63
|
name: string;
|
|
22
64
|
camelCaseName: string;
|
|
@@ -42,11 +84,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
42
84
|
showClearButton?: boolean | undefined;
|
|
43
85
|
description?: string | undefined;
|
|
44
86
|
placeholder?: string | undefined;
|
|
45
|
-
}, "description" | "label" | "
|
|
87
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
46
88
|
required?: boolean;
|
|
47
89
|
maxLength?: number;
|
|
48
90
|
}>;
|
|
49
|
-
readonly TextareaField:
|
|
91
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
50
92
|
label: string;
|
|
51
93
|
name: string;
|
|
52
94
|
camelCaseName: string;
|
|
@@ -70,11 +112,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
70
112
|
counter?: boolean | undefined;
|
|
71
113
|
description?: string | undefined;
|
|
72
114
|
placeholder?: string | undefined;
|
|
73
|
-
}, "description" | "label" | "
|
|
115
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
74
116
|
required?: boolean;
|
|
75
117
|
maxLength?: number;
|
|
76
118
|
}>;
|
|
77
|
-
readonly NumberField:
|
|
119
|
+
readonly NumberField: react229.FC<Pick<{
|
|
78
120
|
label: string;
|
|
79
121
|
name: string;
|
|
80
122
|
camelCaseName: string;
|
|
@@ -110,11 +152,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
110
152
|
unit?: string | undefined;
|
|
111
153
|
description?: string | undefined;
|
|
112
154
|
placeholder?: string | undefined;
|
|
113
|
-
}, "description" | "label" | "
|
|
155
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
114
156
|
required?: boolean;
|
|
115
157
|
allowNegative?: boolean;
|
|
116
158
|
}>;
|
|
117
|
-
readonly EmailField:
|
|
159
|
+
readonly EmailField: react229.FC<Pick<{
|
|
118
160
|
rules: {
|
|
119
161
|
maxLength?: number | undefined;
|
|
120
162
|
minLength?: number | undefined;
|
|
@@ -130,19 +172,19 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
130
172
|
showErrorMessage?: boolean | undefined;
|
|
131
173
|
description?: string | undefined;
|
|
132
174
|
placeholder?: string | undefined;
|
|
133
|
-
}, "description" | "label" | "
|
|
175
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
134
176
|
maxLength?: number;
|
|
135
177
|
}>;
|
|
136
|
-
readonly PasswordField:
|
|
178
|
+
readonly PasswordField: react229.FC<{
|
|
137
179
|
description?: string | undefined;
|
|
138
180
|
label: string;
|
|
139
|
-
placeholder?: string | undefined;
|
|
140
|
-
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
141
181
|
tooltip?: string | undefined;
|
|
182
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
183
|
+
placeholder?: string | undefined;
|
|
142
184
|
helperText?: string | undefined;
|
|
143
185
|
showErrorMessage?: boolean | undefined;
|
|
144
186
|
}>;
|
|
145
|
-
readonly SelectField:
|
|
187
|
+
readonly SelectField: react229.FC<Pick<{
|
|
146
188
|
options: {
|
|
147
189
|
label: string;
|
|
148
190
|
value: string;
|
|
@@ -167,10 +209,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
167
209
|
defaultValue?: string | undefined;
|
|
168
210
|
description?: string | undefined;
|
|
169
211
|
placeholder?: string | undefined;
|
|
170
|
-
}, "description" | "
|
|
212
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
171
213
|
required?: boolean;
|
|
172
214
|
}>;
|
|
173
|
-
readonly DateField:
|
|
215
|
+
readonly DateField: react229.FC<Pick<{
|
|
174
216
|
label: string;
|
|
175
217
|
name: string;
|
|
176
218
|
camelCaseName: string;
|
|
@@ -188,17 +230,17 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
188
230
|
defaultValue?: string | undefined;
|
|
189
231
|
description?: string | undefined;
|
|
190
232
|
placeholder?: string | undefined;
|
|
191
|
-
}, "description" | "label" | "
|
|
233
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
192
234
|
required?: boolean;
|
|
193
235
|
minDate?: Date;
|
|
194
236
|
maxDate?: Date;
|
|
195
237
|
}>;
|
|
196
|
-
readonly SwitchField:
|
|
238
|
+
readonly SwitchField: react229.FC<{
|
|
197
239
|
description?: string | undefined;
|
|
198
240
|
label: string;
|
|
199
241
|
helperText?: string | undefined;
|
|
200
242
|
}>;
|
|
201
|
-
readonly RadioGroupField:
|
|
243
|
+
readonly RadioGroupField: react229.FC<{
|
|
202
244
|
description?: string | undefined;
|
|
203
245
|
label: string;
|
|
204
246
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -209,7 +251,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
209
251
|
}[];
|
|
210
252
|
helperText?: string | undefined;
|
|
211
253
|
}>;
|
|
212
|
-
readonly CheckboxField:
|
|
254
|
+
readonly CheckboxField: react229.FC<{
|
|
213
255
|
description?: string | undefined;
|
|
214
256
|
label: string;
|
|
215
257
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -219,91 +261,91 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
219
261
|
}[];
|
|
220
262
|
helperText?: string | undefined;
|
|
221
263
|
}>;
|
|
264
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
265
|
+
className,
|
|
266
|
+
...props
|
|
267
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
268
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
269
|
+
className,
|
|
270
|
+
orientation,
|
|
271
|
+
...props
|
|
272
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
273
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
274
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
275
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
276
|
+
className,
|
|
277
|
+
...props
|
|
278
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
279
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
280
|
+
className,
|
|
281
|
+
...props
|
|
282
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
283
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
284
|
+
className,
|
|
285
|
+
...props
|
|
286
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
287
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
288
|
+
children,
|
|
289
|
+
className,
|
|
290
|
+
...props
|
|
291
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
292
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
293
|
+
className,
|
|
294
|
+
children,
|
|
295
|
+
errors,
|
|
296
|
+
...props
|
|
297
|
+
}: React.ComponentProps<"div"> & {
|
|
298
|
+
errors?: Array<{
|
|
299
|
+
message?: string;
|
|
300
|
+
} | undefined>;
|
|
301
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
222
302
|
}, {
|
|
223
|
-
readonly TanStackDialogForm:
|
|
303
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
224
304
|
title: string;
|
|
225
305
|
submitText?: string;
|
|
226
306
|
open?: boolean;
|
|
227
307
|
onOpenChange?: (open: boolean) => void;
|
|
228
308
|
}>>;
|
|
229
|
-
readonly TanStackPopoverForm:
|
|
309
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
230
310
|
title: string;
|
|
231
311
|
open?: boolean;
|
|
232
312
|
contentClassName?: string;
|
|
233
313
|
onOpenChange?: (open: boolean) => void;
|
|
234
314
|
}>>;
|
|
235
|
-
readonly TanStackContainerForm:
|
|
236
|
-
children?:
|
|
315
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
316
|
+
children?: react229.ReactNode | undefined;
|
|
237
317
|
}>;
|
|
238
|
-
readonly TanStackSectionForm:
|
|
318
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
239
319
|
title: string;
|
|
240
320
|
}>>;
|
|
241
|
-
readonly TanStackCardForm:
|
|
321
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
242
322
|
title: string;
|
|
243
323
|
description?: string;
|
|
244
324
|
onDelete?: () => void | Promise<void>;
|
|
245
325
|
}>>;
|
|
246
|
-
readonly TanStackFieldGroup:
|
|
326
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
247
327
|
label: string;
|
|
248
328
|
description?: string;
|
|
249
329
|
helperText?: string;
|
|
250
330
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
251
331
|
}>>;
|
|
252
|
-
readonly TanStackTitleField:
|
|
332
|
+
readonly TanStackTitleField: react229.FC<{
|
|
253
333
|
title: string;
|
|
254
334
|
description?: string;
|
|
255
335
|
helperText?: string;
|
|
256
336
|
}>;
|
|
257
|
-
readonly TanStackActionsForm:
|
|
337
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
258
338
|
type?: "create" | "update";
|
|
259
339
|
}>>;
|
|
260
|
-
readonly TanStackActionSubmit:
|
|
340
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
261
341
|
label?: string;
|
|
262
342
|
className?: string;
|
|
263
343
|
}>;
|
|
264
|
-
readonly FieldGroup: react26.MemoExoticComponent<({
|
|
265
|
-
className,
|
|
266
|
-
...props
|
|
267
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
268
|
-
readonly Field: react26.MemoExoticComponent<({
|
|
269
|
-
className,
|
|
270
|
-
orientation,
|
|
271
|
-
...props
|
|
272
|
-
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
273
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
274
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string>) => react_jsx_runtime336.JSX.Element>;
|
|
275
|
-
readonly FieldContent: react26.MemoExoticComponent<({
|
|
276
|
-
className,
|
|
277
|
-
...props
|
|
278
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
279
|
-
readonly FieldLabel: react26.MemoExoticComponent<({
|
|
280
|
-
className,
|
|
281
|
-
...props
|
|
282
|
-
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime336.JSX.Element>;
|
|
283
|
-
readonly FieldContentMain: react26.MemoExoticComponent<({
|
|
284
|
-
className,
|
|
285
|
-
...props
|
|
286
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
287
|
-
readonly FieldSeparator: react26.MemoExoticComponent<({
|
|
288
|
-
children,
|
|
289
|
-
className,
|
|
290
|
-
...props
|
|
291
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime336.JSX.Element>;
|
|
292
|
-
readonly FieldError: react26.MemoExoticComponent<({
|
|
293
|
-
className,
|
|
294
|
-
children,
|
|
295
|
-
errors,
|
|
296
|
-
...props
|
|
297
|
-
}: React.ComponentProps<"div"> & {
|
|
298
|
-
errors?: Array<{
|
|
299
|
-
message?: string;
|
|
300
|
-
} | undefined>;
|
|
301
|
-
}) => react_jsx_runtime336.JSX.Element | null>;
|
|
302
344
|
}>, withTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({
|
|
303
345
|
render,
|
|
304
346
|
props
|
|
305
347
|
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
306
|
-
readonly TextField:
|
|
348
|
+
readonly TextField: react229.FC<Pick<{
|
|
307
349
|
label: string;
|
|
308
350
|
name: string;
|
|
309
351
|
camelCaseName: string;
|
|
@@ -329,11 +371,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
329
371
|
showClearButton?: boolean | undefined;
|
|
330
372
|
description?: string | undefined;
|
|
331
373
|
placeholder?: string | undefined;
|
|
332
|
-
}, "description" | "label" | "
|
|
374
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
333
375
|
required?: boolean;
|
|
334
376
|
maxLength?: number;
|
|
335
377
|
}>;
|
|
336
|
-
readonly TextareaField:
|
|
378
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
337
379
|
label: string;
|
|
338
380
|
name: string;
|
|
339
381
|
camelCaseName: string;
|
|
@@ -357,11 +399,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
357
399
|
counter?: boolean | undefined;
|
|
358
400
|
description?: string | undefined;
|
|
359
401
|
placeholder?: string | undefined;
|
|
360
|
-
}, "description" | "label" | "
|
|
402
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
361
403
|
required?: boolean;
|
|
362
404
|
maxLength?: number;
|
|
363
405
|
}>;
|
|
364
|
-
readonly NumberField:
|
|
406
|
+
readonly NumberField: react229.FC<Pick<{
|
|
365
407
|
label: string;
|
|
366
408
|
name: string;
|
|
367
409
|
camelCaseName: string;
|
|
@@ -397,11 +439,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
397
439
|
unit?: string | undefined;
|
|
398
440
|
description?: string | undefined;
|
|
399
441
|
placeholder?: string | undefined;
|
|
400
|
-
}, "description" | "label" | "
|
|
442
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
401
443
|
required?: boolean;
|
|
402
444
|
allowNegative?: boolean;
|
|
403
445
|
}>;
|
|
404
|
-
readonly EmailField:
|
|
446
|
+
readonly EmailField: react229.FC<Pick<{
|
|
405
447
|
rules: {
|
|
406
448
|
maxLength?: number | undefined;
|
|
407
449
|
minLength?: number | undefined;
|
|
@@ -417,19 +459,19 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
417
459
|
showErrorMessage?: boolean | undefined;
|
|
418
460
|
description?: string | undefined;
|
|
419
461
|
placeholder?: string | undefined;
|
|
420
|
-
}, "description" | "label" | "
|
|
462
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
421
463
|
maxLength?: number;
|
|
422
464
|
}>;
|
|
423
|
-
readonly PasswordField:
|
|
465
|
+
readonly PasswordField: react229.FC<{
|
|
424
466
|
description?: string | undefined;
|
|
425
467
|
label: string;
|
|
426
|
-
placeholder?: string | undefined;
|
|
427
|
-
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
428
468
|
tooltip?: string | undefined;
|
|
469
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
470
|
+
placeholder?: string | undefined;
|
|
429
471
|
helperText?: string | undefined;
|
|
430
472
|
showErrorMessage?: boolean | undefined;
|
|
431
473
|
}>;
|
|
432
|
-
readonly SelectField:
|
|
474
|
+
readonly SelectField: react229.FC<Pick<{
|
|
433
475
|
options: {
|
|
434
476
|
label: string;
|
|
435
477
|
value: string;
|
|
@@ -454,10 +496,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
454
496
|
defaultValue?: string | undefined;
|
|
455
497
|
description?: string | undefined;
|
|
456
498
|
placeholder?: string | undefined;
|
|
457
|
-
}, "description" | "
|
|
499
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
458
500
|
required?: boolean;
|
|
459
501
|
}>;
|
|
460
|
-
readonly DateField:
|
|
502
|
+
readonly DateField: react229.FC<Pick<{
|
|
461
503
|
label: string;
|
|
462
504
|
name: string;
|
|
463
505
|
camelCaseName: string;
|
|
@@ -475,17 +517,17 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
475
517
|
defaultValue?: string | undefined;
|
|
476
518
|
description?: string | undefined;
|
|
477
519
|
placeholder?: string | undefined;
|
|
478
|
-
}, "description" | "label" | "
|
|
520
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
479
521
|
required?: boolean;
|
|
480
522
|
minDate?: Date;
|
|
481
523
|
maxDate?: Date;
|
|
482
524
|
}>;
|
|
483
|
-
readonly SwitchField:
|
|
525
|
+
readonly SwitchField: react229.FC<{
|
|
484
526
|
description?: string | undefined;
|
|
485
527
|
label: string;
|
|
486
528
|
helperText?: string | undefined;
|
|
487
529
|
}>;
|
|
488
|
-
readonly RadioGroupField:
|
|
530
|
+
readonly RadioGroupField: react229.FC<{
|
|
489
531
|
description?: string | undefined;
|
|
490
532
|
label: string;
|
|
491
533
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -496,7 +538,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
496
538
|
}[];
|
|
497
539
|
helperText?: string | undefined;
|
|
498
540
|
}>;
|
|
499
|
-
readonly CheckboxField:
|
|
541
|
+
readonly CheckboxField: react229.FC<{
|
|
500
542
|
description?: string | undefined;
|
|
501
543
|
label: string;
|
|
502
544
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -506,89 +548,89 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
506
548
|
}[];
|
|
507
549
|
helperText?: string | undefined;
|
|
508
550
|
}>;
|
|
551
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
552
|
+
className,
|
|
553
|
+
...props
|
|
554
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
555
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
556
|
+
className,
|
|
557
|
+
orientation,
|
|
558
|
+
...props
|
|
559
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
560
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
561
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
562
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
563
|
+
className,
|
|
564
|
+
...props
|
|
565
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
566
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
567
|
+
className,
|
|
568
|
+
...props
|
|
569
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
570
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
571
|
+
className,
|
|
572
|
+
...props
|
|
573
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
574
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
575
|
+
children,
|
|
576
|
+
className,
|
|
577
|
+
...props
|
|
578
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
579
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
580
|
+
className,
|
|
581
|
+
children,
|
|
582
|
+
errors,
|
|
583
|
+
...props
|
|
584
|
+
}: React.ComponentProps<"div"> & {
|
|
585
|
+
errors?: Array<{
|
|
586
|
+
message?: string;
|
|
587
|
+
} | undefined>;
|
|
588
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
509
589
|
}, {
|
|
510
|
-
readonly TanStackDialogForm:
|
|
590
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
511
591
|
title: string;
|
|
512
592
|
submitText?: string;
|
|
513
593
|
open?: boolean;
|
|
514
594
|
onOpenChange?: (open: boolean) => void;
|
|
515
595
|
}>>;
|
|
516
|
-
readonly TanStackPopoverForm:
|
|
596
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
517
597
|
title: string;
|
|
518
598
|
open?: boolean;
|
|
519
599
|
contentClassName?: string;
|
|
520
600
|
onOpenChange?: (open: boolean) => void;
|
|
521
601
|
}>>;
|
|
522
|
-
readonly TanStackContainerForm:
|
|
523
|
-
children?:
|
|
602
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
603
|
+
children?: react229.ReactNode | undefined;
|
|
524
604
|
}>;
|
|
525
|
-
readonly TanStackSectionForm:
|
|
605
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
526
606
|
title: string;
|
|
527
607
|
}>>;
|
|
528
|
-
readonly TanStackCardForm:
|
|
608
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
529
609
|
title: string;
|
|
530
610
|
description?: string;
|
|
531
611
|
onDelete?: () => void | Promise<void>;
|
|
532
612
|
}>>;
|
|
533
|
-
readonly TanStackFieldGroup:
|
|
613
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
534
614
|
label: string;
|
|
535
615
|
description?: string;
|
|
536
616
|
helperText?: string;
|
|
537
617
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
538
618
|
}>>;
|
|
539
|
-
readonly TanStackTitleField:
|
|
619
|
+
readonly TanStackTitleField: react229.FC<{
|
|
540
620
|
title: string;
|
|
541
621
|
description?: string;
|
|
542
622
|
helperText?: string;
|
|
543
623
|
}>;
|
|
544
|
-
readonly TanStackActionsForm:
|
|
624
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
545
625
|
type?: "create" | "update";
|
|
546
626
|
}>>;
|
|
547
|
-
readonly TanStackActionSubmit:
|
|
627
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
548
628
|
label?: string;
|
|
549
629
|
className?: string;
|
|
550
630
|
}>;
|
|
551
|
-
|
|
552
|
-
className,
|
|
553
|
-
...props
|
|
554
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
555
|
-
readonly Field: react26.MemoExoticComponent<({
|
|
556
|
-
className,
|
|
557
|
-
orientation,
|
|
558
|
-
...props
|
|
559
|
-
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
560
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
561
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string>) => react_jsx_runtime336.JSX.Element>;
|
|
562
|
-
readonly FieldContent: react26.MemoExoticComponent<({
|
|
563
|
-
className,
|
|
564
|
-
...props
|
|
565
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
566
|
-
readonly FieldLabel: react26.MemoExoticComponent<({
|
|
567
|
-
className,
|
|
568
|
-
...props
|
|
569
|
-
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime336.JSX.Element>;
|
|
570
|
-
readonly FieldContentMain: react26.MemoExoticComponent<({
|
|
571
|
-
className,
|
|
572
|
-
...props
|
|
573
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
574
|
-
readonly FieldSeparator: react26.MemoExoticComponent<({
|
|
575
|
-
children,
|
|
576
|
-
className,
|
|
577
|
-
...props
|
|
578
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime336.JSX.Element>;
|
|
579
|
-
readonly FieldError: react26.MemoExoticComponent<({
|
|
580
|
-
className,
|
|
581
|
-
children,
|
|
582
|
-
errors,
|
|
583
|
-
...props
|
|
584
|
-
}: React.ComponentProps<"div"> & {
|
|
585
|
-
errors?: Array<{
|
|
586
|
-
message?: string;
|
|
587
|
-
} | undefined>;
|
|
588
|
-
}) => react_jsx_runtime336.JSX.Element | null>;
|
|
589
|
-
}, TRenderProps>) => react26.FunctionComponent<react26.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
631
|
+
}, TRenderProps>) => react229.FunctionComponent<react229.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
590
632
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_form_core0.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
591
|
-
readonly TextField:
|
|
633
|
+
readonly TextField: react229.FC<Pick<{
|
|
592
634
|
label: string;
|
|
593
635
|
name: string;
|
|
594
636
|
camelCaseName: string;
|
|
@@ -614,11 +656,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
614
656
|
showClearButton?: boolean | undefined;
|
|
615
657
|
description?: string | undefined;
|
|
616
658
|
placeholder?: string | undefined;
|
|
617
|
-
}, "description" | "label" | "
|
|
659
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
618
660
|
required?: boolean;
|
|
619
661
|
maxLength?: number;
|
|
620
662
|
}>;
|
|
621
|
-
readonly TextareaField:
|
|
663
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
622
664
|
label: string;
|
|
623
665
|
name: string;
|
|
624
666
|
camelCaseName: string;
|
|
@@ -642,11 +684,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
642
684
|
counter?: boolean | undefined;
|
|
643
685
|
description?: string | undefined;
|
|
644
686
|
placeholder?: string | undefined;
|
|
645
|
-
}, "description" | "label" | "
|
|
687
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
646
688
|
required?: boolean;
|
|
647
689
|
maxLength?: number;
|
|
648
690
|
}>;
|
|
649
|
-
readonly NumberField:
|
|
691
|
+
readonly NumberField: react229.FC<Pick<{
|
|
650
692
|
label: string;
|
|
651
693
|
name: string;
|
|
652
694
|
camelCaseName: string;
|
|
@@ -682,11 +724,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
682
724
|
unit?: string | undefined;
|
|
683
725
|
description?: string | undefined;
|
|
684
726
|
placeholder?: string | undefined;
|
|
685
|
-
}, "description" | "label" | "
|
|
727
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
686
728
|
required?: boolean;
|
|
687
729
|
allowNegative?: boolean;
|
|
688
730
|
}>;
|
|
689
|
-
readonly EmailField:
|
|
731
|
+
readonly EmailField: react229.FC<Pick<{
|
|
690
732
|
rules: {
|
|
691
733
|
maxLength?: number | undefined;
|
|
692
734
|
minLength?: number | undefined;
|
|
@@ -702,19 +744,19 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
702
744
|
showErrorMessage?: boolean | undefined;
|
|
703
745
|
description?: string | undefined;
|
|
704
746
|
placeholder?: string | undefined;
|
|
705
|
-
}, "description" | "label" | "
|
|
747
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
706
748
|
maxLength?: number;
|
|
707
749
|
}>;
|
|
708
|
-
readonly PasswordField:
|
|
750
|
+
readonly PasswordField: react229.FC<{
|
|
709
751
|
description?: string | undefined;
|
|
710
752
|
label: string;
|
|
711
|
-
placeholder?: string | undefined;
|
|
712
|
-
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
713
753
|
tooltip?: string | undefined;
|
|
754
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
755
|
+
placeholder?: string | undefined;
|
|
714
756
|
helperText?: string | undefined;
|
|
715
757
|
showErrorMessage?: boolean | undefined;
|
|
716
758
|
}>;
|
|
717
|
-
readonly SelectField:
|
|
759
|
+
readonly SelectField: react229.FC<Pick<{
|
|
718
760
|
options: {
|
|
719
761
|
label: string;
|
|
720
762
|
value: string;
|
|
@@ -739,10 +781,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
739
781
|
defaultValue?: string | undefined;
|
|
740
782
|
description?: string | undefined;
|
|
741
783
|
placeholder?: string | undefined;
|
|
742
|
-
}, "description" | "
|
|
784
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
743
785
|
required?: boolean;
|
|
744
786
|
}>;
|
|
745
|
-
readonly DateField:
|
|
787
|
+
readonly DateField: react229.FC<Pick<{
|
|
746
788
|
label: string;
|
|
747
789
|
name: string;
|
|
748
790
|
camelCaseName: string;
|
|
@@ -760,17 +802,17 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
760
802
|
defaultValue?: string | undefined;
|
|
761
803
|
description?: string | undefined;
|
|
762
804
|
placeholder?: string | undefined;
|
|
763
|
-
}, "description" | "label" | "
|
|
805
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
764
806
|
required?: boolean;
|
|
765
807
|
minDate?: Date;
|
|
766
808
|
maxDate?: Date;
|
|
767
809
|
}>;
|
|
768
|
-
readonly SwitchField:
|
|
810
|
+
readonly SwitchField: react229.FC<{
|
|
769
811
|
description?: string | undefined;
|
|
770
812
|
label: string;
|
|
771
813
|
helperText?: string | undefined;
|
|
772
814
|
}>;
|
|
773
|
-
readonly RadioGroupField:
|
|
815
|
+
readonly RadioGroupField: react229.FC<{
|
|
774
816
|
description?: string | undefined;
|
|
775
817
|
label: string;
|
|
776
818
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -781,7 +823,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
781
823
|
}[];
|
|
782
824
|
helperText?: string | undefined;
|
|
783
825
|
}>;
|
|
784
|
-
readonly CheckboxField:
|
|
826
|
+
readonly CheckboxField: react229.FC<{
|
|
785
827
|
description?: string | undefined;
|
|
786
828
|
label: string;
|
|
787
829
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -791,93 +833,93 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
791
833
|
}[];
|
|
792
834
|
helperText?: string | undefined;
|
|
793
835
|
}>;
|
|
836
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
837
|
+
className,
|
|
838
|
+
...props
|
|
839
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
840
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
841
|
+
className,
|
|
842
|
+
orientation,
|
|
843
|
+
...props
|
|
844
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
845
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
846
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
847
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
848
|
+
className,
|
|
849
|
+
...props
|
|
850
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
851
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
852
|
+
className,
|
|
853
|
+
...props
|
|
854
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
855
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
856
|
+
className,
|
|
857
|
+
...props
|
|
858
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
859
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
860
|
+
children,
|
|
861
|
+
className,
|
|
862
|
+
...props
|
|
863
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
864
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
865
|
+
className,
|
|
866
|
+
children,
|
|
867
|
+
errors,
|
|
868
|
+
...props
|
|
869
|
+
}: React.ComponentProps<"div"> & {
|
|
870
|
+
errors?: Array<{
|
|
871
|
+
message?: string;
|
|
872
|
+
} | undefined>;
|
|
873
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
794
874
|
}, {
|
|
795
|
-
readonly TanStackDialogForm:
|
|
875
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
796
876
|
title: string;
|
|
797
877
|
submitText?: string;
|
|
798
878
|
open?: boolean;
|
|
799
879
|
onOpenChange?: (open: boolean) => void;
|
|
800
880
|
}>>;
|
|
801
|
-
readonly TanStackPopoverForm:
|
|
881
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
802
882
|
title: string;
|
|
803
883
|
open?: boolean;
|
|
804
884
|
contentClassName?: string;
|
|
805
885
|
onOpenChange?: (open: boolean) => void;
|
|
806
886
|
}>>;
|
|
807
|
-
readonly TanStackContainerForm:
|
|
808
|
-
children?:
|
|
887
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
888
|
+
children?: react229.ReactNode | undefined;
|
|
809
889
|
}>;
|
|
810
|
-
readonly TanStackSectionForm:
|
|
890
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
811
891
|
title: string;
|
|
812
892
|
}>>;
|
|
813
|
-
readonly TanStackCardForm:
|
|
893
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
814
894
|
title: string;
|
|
815
895
|
description?: string;
|
|
816
896
|
onDelete?: () => void | Promise<void>;
|
|
817
897
|
}>>;
|
|
818
|
-
readonly TanStackFieldGroup:
|
|
898
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
819
899
|
label: string;
|
|
820
900
|
description?: string;
|
|
821
901
|
helperText?: string;
|
|
822
902
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
823
903
|
}>>;
|
|
824
|
-
readonly TanStackTitleField:
|
|
904
|
+
readonly TanStackTitleField: react229.FC<{
|
|
825
905
|
title: string;
|
|
826
906
|
description?: string;
|
|
827
907
|
helperText?: string;
|
|
828
908
|
}>;
|
|
829
|
-
readonly TanStackActionsForm:
|
|
909
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
830
910
|
type?: "create" | "update";
|
|
831
911
|
}>>;
|
|
832
|
-
readonly TanStackActionSubmit:
|
|
912
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
833
913
|
label?: string;
|
|
834
914
|
className?: string;
|
|
835
915
|
}>;
|
|
836
|
-
readonly FieldGroup: react26.MemoExoticComponent<({
|
|
837
|
-
className,
|
|
838
|
-
...props
|
|
839
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
840
|
-
readonly Field: react26.MemoExoticComponent<({
|
|
841
|
-
className,
|
|
842
|
-
orientation,
|
|
843
|
-
...props
|
|
844
|
-
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
845
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
846
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string>) => react_jsx_runtime336.JSX.Element>;
|
|
847
|
-
readonly FieldContent: react26.MemoExoticComponent<({
|
|
848
|
-
className,
|
|
849
|
-
...props
|
|
850
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
851
|
-
readonly FieldLabel: react26.MemoExoticComponent<({
|
|
852
|
-
className,
|
|
853
|
-
...props
|
|
854
|
-
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime336.JSX.Element>;
|
|
855
|
-
readonly FieldContentMain: react26.MemoExoticComponent<({
|
|
856
|
-
className,
|
|
857
|
-
...props
|
|
858
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
859
|
-
readonly FieldSeparator: react26.MemoExoticComponent<({
|
|
860
|
-
children,
|
|
861
|
-
className,
|
|
862
|
-
...props
|
|
863
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime336.JSX.Element>;
|
|
864
|
-
readonly FieldError: react26.MemoExoticComponent<({
|
|
865
|
-
className,
|
|
866
|
-
children,
|
|
867
|
-
errors,
|
|
868
|
-
...props
|
|
869
|
-
}: React.ComponentProps<"div"> & {
|
|
870
|
-
errors?: Array<{
|
|
871
|
-
message?: string;
|
|
872
|
-
} | undefined>;
|
|
873
|
-
}) => react_jsx_runtime336.JSX.Element | null>;
|
|
874
916
|
}>;
|
|
875
917
|
}>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
876
918
|
render,
|
|
877
919
|
props,
|
|
878
920
|
defaultValues
|
|
879
921
|
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
880
|
-
readonly TextField:
|
|
922
|
+
readonly TextField: react229.FC<Pick<{
|
|
881
923
|
label: string;
|
|
882
924
|
name: string;
|
|
883
925
|
camelCaseName: string;
|
|
@@ -903,11 +945,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
903
945
|
showClearButton?: boolean | undefined;
|
|
904
946
|
description?: string | undefined;
|
|
905
947
|
placeholder?: string | undefined;
|
|
906
|
-
}, "description" | "label" | "
|
|
948
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
907
949
|
required?: boolean;
|
|
908
950
|
maxLength?: number;
|
|
909
951
|
}>;
|
|
910
|
-
readonly TextareaField:
|
|
952
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
911
953
|
label: string;
|
|
912
954
|
name: string;
|
|
913
955
|
camelCaseName: string;
|
|
@@ -931,11 +973,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
931
973
|
counter?: boolean | undefined;
|
|
932
974
|
description?: string | undefined;
|
|
933
975
|
placeholder?: string | undefined;
|
|
934
|
-
}, "description" | "label" | "
|
|
976
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
935
977
|
required?: boolean;
|
|
936
978
|
maxLength?: number;
|
|
937
979
|
}>;
|
|
938
|
-
readonly NumberField:
|
|
980
|
+
readonly NumberField: react229.FC<Pick<{
|
|
939
981
|
label: string;
|
|
940
982
|
name: string;
|
|
941
983
|
camelCaseName: string;
|
|
@@ -971,11 +1013,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
971
1013
|
unit?: string | undefined;
|
|
972
1014
|
description?: string | undefined;
|
|
973
1015
|
placeholder?: string | undefined;
|
|
974
|
-
}, "description" | "label" | "
|
|
1016
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
975
1017
|
required?: boolean;
|
|
976
1018
|
allowNegative?: boolean;
|
|
977
1019
|
}>;
|
|
978
|
-
readonly EmailField:
|
|
1020
|
+
readonly EmailField: react229.FC<Pick<{
|
|
979
1021
|
rules: {
|
|
980
1022
|
maxLength?: number | undefined;
|
|
981
1023
|
minLength?: number | undefined;
|
|
@@ -991,19 +1033,19 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
991
1033
|
showErrorMessage?: boolean | undefined;
|
|
992
1034
|
description?: string | undefined;
|
|
993
1035
|
placeholder?: string | undefined;
|
|
994
|
-
}, "description" | "label" | "
|
|
1036
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
995
1037
|
maxLength?: number;
|
|
996
1038
|
}>;
|
|
997
|
-
readonly PasswordField:
|
|
1039
|
+
readonly PasswordField: react229.FC<{
|
|
998
1040
|
description?: string | undefined;
|
|
999
1041
|
label: string;
|
|
1000
|
-
placeholder?: string | undefined;
|
|
1001
|
-
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1002
1042
|
tooltip?: string | undefined;
|
|
1043
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1044
|
+
placeholder?: string | undefined;
|
|
1003
1045
|
helperText?: string | undefined;
|
|
1004
1046
|
showErrorMessage?: boolean | undefined;
|
|
1005
1047
|
}>;
|
|
1006
|
-
readonly SelectField:
|
|
1048
|
+
readonly SelectField: react229.FC<Pick<{
|
|
1007
1049
|
options: {
|
|
1008
1050
|
label: string;
|
|
1009
1051
|
value: string;
|
|
@@ -1028,10 +1070,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1028
1070
|
defaultValue?: string | undefined;
|
|
1029
1071
|
description?: string | undefined;
|
|
1030
1072
|
placeholder?: string | undefined;
|
|
1031
|
-
}, "description" | "
|
|
1073
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
1032
1074
|
required?: boolean;
|
|
1033
1075
|
}>;
|
|
1034
|
-
readonly DateField:
|
|
1076
|
+
readonly DateField: react229.FC<Pick<{
|
|
1035
1077
|
label: string;
|
|
1036
1078
|
name: string;
|
|
1037
1079
|
camelCaseName: string;
|
|
@@ -1049,17 +1091,17 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1049
1091
|
defaultValue?: string | undefined;
|
|
1050
1092
|
description?: string | undefined;
|
|
1051
1093
|
placeholder?: string | undefined;
|
|
1052
|
-
}, "description" | "label" | "
|
|
1094
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1053
1095
|
required?: boolean;
|
|
1054
1096
|
minDate?: Date;
|
|
1055
1097
|
maxDate?: Date;
|
|
1056
1098
|
}>;
|
|
1057
|
-
readonly SwitchField:
|
|
1099
|
+
readonly SwitchField: react229.FC<{
|
|
1058
1100
|
description?: string | undefined;
|
|
1059
1101
|
label: string;
|
|
1060
1102
|
helperText?: string | undefined;
|
|
1061
1103
|
}>;
|
|
1062
|
-
readonly RadioGroupField:
|
|
1104
|
+
readonly RadioGroupField: react229.FC<{
|
|
1063
1105
|
description?: string | undefined;
|
|
1064
1106
|
label: string;
|
|
1065
1107
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1070,7 +1112,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1070
1112
|
}[];
|
|
1071
1113
|
helperText?: string | undefined;
|
|
1072
1114
|
}>;
|
|
1073
|
-
readonly CheckboxField:
|
|
1115
|
+
readonly CheckboxField: react229.FC<{
|
|
1074
1116
|
description?: string | undefined;
|
|
1075
1117
|
label: string;
|
|
1076
1118
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1080,89 +1122,89 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1080
1122
|
}[];
|
|
1081
1123
|
helperText?: string | undefined;
|
|
1082
1124
|
}>;
|
|
1125
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
1126
|
+
className,
|
|
1127
|
+
...props
|
|
1128
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1129
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
1130
|
+
className,
|
|
1131
|
+
orientation,
|
|
1132
|
+
...props
|
|
1133
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1134
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1135
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
1136
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
1137
|
+
className,
|
|
1138
|
+
...props
|
|
1139
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1140
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
1141
|
+
className,
|
|
1142
|
+
...props
|
|
1143
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
1144
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
1145
|
+
className,
|
|
1146
|
+
...props
|
|
1147
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1148
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
1149
|
+
children,
|
|
1150
|
+
className,
|
|
1151
|
+
...props
|
|
1152
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
1153
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
1154
|
+
className,
|
|
1155
|
+
children,
|
|
1156
|
+
errors,
|
|
1157
|
+
...props
|
|
1158
|
+
}: React.ComponentProps<"div"> & {
|
|
1159
|
+
errors?: Array<{
|
|
1160
|
+
message?: string;
|
|
1161
|
+
} | undefined>;
|
|
1162
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
1083
1163
|
}, {
|
|
1084
|
-
readonly TanStackDialogForm:
|
|
1164
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
1085
1165
|
title: string;
|
|
1086
1166
|
submitText?: string;
|
|
1087
1167
|
open?: boolean;
|
|
1088
1168
|
onOpenChange?: (open: boolean) => void;
|
|
1089
1169
|
}>>;
|
|
1090
|
-
readonly TanStackPopoverForm:
|
|
1170
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
1091
1171
|
title: string;
|
|
1092
1172
|
open?: boolean;
|
|
1093
1173
|
contentClassName?: string;
|
|
1094
1174
|
onOpenChange?: (open: boolean) => void;
|
|
1095
1175
|
}>>;
|
|
1096
|
-
readonly TanStackContainerForm:
|
|
1097
|
-
children?:
|
|
1176
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
1177
|
+
children?: react229.ReactNode | undefined;
|
|
1098
1178
|
}>;
|
|
1099
|
-
readonly TanStackSectionForm:
|
|
1179
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
1100
1180
|
title: string;
|
|
1101
1181
|
}>>;
|
|
1102
|
-
readonly TanStackCardForm:
|
|
1182
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
1103
1183
|
title: string;
|
|
1104
1184
|
description?: string;
|
|
1105
1185
|
onDelete?: () => void | Promise<void>;
|
|
1106
1186
|
}>>;
|
|
1107
|
-
readonly TanStackFieldGroup:
|
|
1187
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
1108
1188
|
label: string;
|
|
1109
1189
|
description?: string;
|
|
1110
1190
|
helperText?: string;
|
|
1111
1191
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1112
1192
|
}>>;
|
|
1113
|
-
readonly TanStackTitleField:
|
|
1193
|
+
readonly TanStackTitleField: react229.FC<{
|
|
1114
1194
|
title: string;
|
|
1115
1195
|
description?: string;
|
|
1116
1196
|
helperText?: string;
|
|
1117
1197
|
}>;
|
|
1118
|
-
readonly TanStackActionsForm:
|
|
1198
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
1119
1199
|
type?: "create" | "update";
|
|
1120
1200
|
}>>;
|
|
1121
|
-
readonly TanStackActionSubmit:
|
|
1201
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
1122
1202
|
label?: string;
|
|
1123
1203
|
className?: string;
|
|
1124
1204
|
}>;
|
|
1125
|
-
|
|
1126
|
-
className,
|
|
1127
|
-
...props
|
|
1128
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1129
|
-
readonly Field: react26.MemoExoticComponent<({
|
|
1130
|
-
className,
|
|
1131
|
-
orientation,
|
|
1132
|
-
...props
|
|
1133
|
-
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1134
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1135
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string>) => react_jsx_runtime336.JSX.Element>;
|
|
1136
|
-
readonly FieldContent: react26.MemoExoticComponent<({
|
|
1137
|
-
className,
|
|
1138
|
-
...props
|
|
1139
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1140
|
-
readonly FieldLabel: react26.MemoExoticComponent<({
|
|
1141
|
-
className,
|
|
1142
|
-
...props
|
|
1143
|
-
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime336.JSX.Element>;
|
|
1144
|
-
readonly FieldContentMain: react26.MemoExoticComponent<({
|
|
1145
|
-
className,
|
|
1146
|
-
...props
|
|
1147
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1148
|
-
readonly FieldSeparator: react26.MemoExoticComponent<({
|
|
1149
|
-
children,
|
|
1150
|
-
className,
|
|
1151
|
-
...props
|
|
1152
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime336.JSX.Element>;
|
|
1153
|
-
readonly FieldError: react26.MemoExoticComponent<({
|
|
1154
|
-
className,
|
|
1155
|
-
children,
|
|
1156
|
-
errors,
|
|
1157
|
-
...props
|
|
1158
|
-
}: React.ComponentProps<"div"> & {
|
|
1159
|
-
errors?: Array<{
|
|
1160
|
-
message?: string;
|
|
1161
|
-
} | undefined>;
|
|
1162
|
-
}) => react_jsx_runtime336.JSX.Element | null>;
|
|
1163
|
-
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: react26.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1205
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends _tanstack_form_core0.DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | _tanstack_form_core0.FieldsMap<TFormData, TFieldGroupData>, TOnMount extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core0.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core0.FormAsyncValidateOrFn<TFormData> | undefined, TFormSubmitMeta>(params: react229.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1164
1206
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1165
|
-
readonly TextField:
|
|
1207
|
+
readonly TextField: react229.FC<Pick<{
|
|
1166
1208
|
label: string;
|
|
1167
1209
|
name: string;
|
|
1168
1210
|
camelCaseName: string;
|
|
@@ -1188,11 +1230,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1188
1230
|
showClearButton?: boolean | undefined;
|
|
1189
1231
|
description?: string | undefined;
|
|
1190
1232
|
placeholder?: string | undefined;
|
|
1191
|
-
}, "description" | "label" | "
|
|
1233
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1192
1234
|
required?: boolean;
|
|
1193
1235
|
maxLength?: number;
|
|
1194
1236
|
}>;
|
|
1195
|
-
readonly TextareaField:
|
|
1237
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
1196
1238
|
label: string;
|
|
1197
1239
|
name: string;
|
|
1198
1240
|
camelCaseName: string;
|
|
@@ -1216,11 +1258,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1216
1258
|
counter?: boolean | undefined;
|
|
1217
1259
|
description?: string | undefined;
|
|
1218
1260
|
placeholder?: string | undefined;
|
|
1219
|
-
}, "description" | "label" | "
|
|
1261
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1220
1262
|
required?: boolean;
|
|
1221
1263
|
maxLength?: number;
|
|
1222
1264
|
}>;
|
|
1223
|
-
readonly NumberField:
|
|
1265
|
+
readonly NumberField: react229.FC<Pick<{
|
|
1224
1266
|
label: string;
|
|
1225
1267
|
name: string;
|
|
1226
1268
|
camelCaseName: string;
|
|
@@ -1256,11 +1298,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1256
1298
|
unit?: string | undefined;
|
|
1257
1299
|
description?: string | undefined;
|
|
1258
1300
|
placeholder?: string | undefined;
|
|
1259
|
-
}, "description" | "label" | "
|
|
1301
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1260
1302
|
required?: boolean;
|
|
1261
1303
|
allowNegative?: boolean;
|
|
1262
1304
|
}>;
|
|
1263
|
-
readonly EmailField:
|
|
1305
|
+
readonly EmailField: react229.FC<Pick<{
|
|
1264
1306
|
rules: {
|
|
1265
1307
|
maxLength?: number | undefined;
|
|
1266
1308
|
minLength?: number | undefined;
|
|
@@ -1276,19 +1318,19 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1276
1318
|
showErrorMessage?: boolean | undefined;
|
|
1277
1319
|
description?: string | undefined;
|
|
1278
1320
|
placeholder?: string | undefined;
|
|
1279
|
-
}, "description" | "label" | "
|
|
1321
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1280
1322
|
maxLength?: number;
|
|
1281
1323
|
}>;
|
|
1282
|
-
readonly PasswordField:
|
|
1324
|
+
readonly PasswordField: react229.FC<{
|
|
1283
1325
|
description?: string | undefined;
|
|
1284
1326
|
label: string;
|
|
1285
|
-
placeholder?: string | undefined;
|
|
1286
|
-
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1287
1327
|
tooltip?: string | undefined;
|
|
1328
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1329
|
+
placeholder?: string | undefined;
|
|
1288
1330
|
helperText?: string | undefined;
|
|
1289
1331
|
showErrorMessage?: boolean | undefined;
|
|
1290
1332
|
}>;
|
|
1291
|
-
readonly SelectField:
|
|
1333
|
+
readonly SelectField: react229.FC<Pick<{
|
|
1292
1334
|
options: {
|
|
1293
1335
|
label: string;
|
|
1294
1336
|
value: string;
|
|
@@ -1313,10 +1355,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1313
1355
|
defaultValue?: string | undefined;
|
|
1314
1356
|
description?: string | undefined;
|
|
1315
1357
|
placeholder?: string | undefined;
|
|
1316
|
-
}, "description" | "
|
|
1358
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
1317
1359
|
required?: boolean;
|
|
1318
1360
|
}>;
|
|
1319
|
-
readonly DateField:
|
|
1361
|
+
readonly DateField: react229.FC<Pick<{
|
|
1320
1362
|
label: string;
|
|
1321
1363
|
name: string;
|
|
1322
1364
|
camelCaseName: string;
|
|
@@ -1334,17 +1376,17 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1334
1376
|
defaultValue?: string | undefined;
|
|
1335
1377
|
description?: string | undefined;
|
|
1336
1378
|
placeholder?: string | undefined;
|
|
1337
|
-
}, "description" | "label" | "
|
|
1379
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1338
1380
|
required?: boolean;
|
|
1339
1381
|
minDate?: Date;
|
|
1340
1382
|
maxDate?: Date;
|
|
1341
1383
|
}>;
|
|
1342
|
-
readonly SwitchField:
|
|
1384
|
+
readonly SwitchField: react229.FC<{
|
|
1343
1385
|
description?: string | undefined;
|
|
1344
1386
|
label: string;
|
|
1345
1387
|
helperText?: string | undefined;
|
|
1346
1388
|
}>;
|
|
1347
|
-
readonly RadioGroupField:
|
|
1389
|
+
readonly RadioGroupField: react229.FC<{
|
|
1348
1390
|
description?: string | undefined;
|
|
1349
1391
|
label: string;
|
|
1350
1392
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1355,7 +1397,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1355
1397
|
}[];
|
|
1356
1398
|
helperText?: string | undefined;
|
|
1357
1399
|
}>;
|
|
1358
|
-
readonly CheckboxField:
|
|
1400
|
+
readonly CheckboxField: react229.FC<{
|
|
1359
1401
|
description?: string | undefined;
|
|
1360
1402
|
label: string;
|
|
1361
1403
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1365,88 +1407,88 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1365
1407
|
}[];
|
|
1366
1408
|
helperText?: string | undefined;
|
|
1367
1409
|
}>;
|
|
1410
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
1411
|
+
className,
|
|
1412
|
+
...props
|
|
1413
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1414
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
1415
|
+
className,
|
|
1416
|
+
orientation,
|
|
1417
|
+
...props
|
|
1418
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1419
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1420
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
1421
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
1422
|
+
className,
|
|
1423
|
+
...props
|
|
1424
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1425
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
1426
|
+
className,
|
|
1427
|
+
...props
|
|
1428
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
1429
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
1430
|
+
className,
|
|
1431
|
+
...props
|
|
1432
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1433
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
1434
|
+
children,
|
|
1435
|
+
className,
|
|
1436
|
+
...props
|
|
1437
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
1438
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
1439
|
+
className,
|
|
1440
|
+
children,
|
|
1441
|
+
errors,
|
|
1442
|
+
...props
|
|
1443
|
+
}: React.ComponentProps<"div"> & {
|
|
1444
|
+
errors?: Array<{
|
|
1445
|
+
message?: string;
|
|
1446
|
+
} | undefined>;
|
|
1447
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
1368
1448
|
}, {
|
|
1369
|
-
readonly TanStackDialogForm:
|
|
1449
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
1370
1450
|
title: string;
|
|
1371
1451
|
submitText?: string;
|
|
1372
1452
|
open?: boolean;
|
|
1373
1453
|
onOpenChange?: (open: boolean) => void;
|
|
1374
1454
|
}>>;
|
|
1375
|
-
readonly TanStackPopoverForm:
|
|
1455
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
1376
1456
|
title: string;
|
|
1377
1457
|
open?: boolean;
|
|
1378
1458
|
contentClassName?: string;
|
|
1379
1459
|
onOpenChange?: (open: boolean) => void;
|
|
1380
1460
|
}>>;
|
|
1381
|
-
readonly TanStackContainerForm:
|
|
1382
|
-
children?:
|
|
1461
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
1462
|
+
children?: react229.ReactNode | undefined;
|
|
1383
1463
|
}>;
|
|
1384
|
-
readonly TanStackSectionForm:
|
|
1464
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
1385
1465
|
title: string;
|
|
1386
1466
|
}>>;
|
|
1387
|
-
readonly TanStackCardForm:
|
|
1467
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
1388
1468
|
title: string;
|
|
1389
1469
|
description?: string;
|
|
1390
1470
|
onDelete?: () => void | Promise<void>;
|
|
1391
1471
|
}>>;
|
|
1392
|
-
readonly TanStackFieldGroup:
|
|
1472
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
1393
1473
|
label: string;
|
|
1394
1474
|
description?: string;
|
|
1395
1475
|
helperText?: string;
|
|
1396
1476
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1397
1477
|
}>>;
|
|
1398
|
-
readonly TanStackTitleField:
|
|
1478
|
+
readonly TanStackTitleField: react229.FC<{
|
|
1399
1479
|
title: string;
|
|
1400
1480
|
description?: string;
|
|
1401
1481
|
helperText?: string;
|
|
1402
1482
|
}>;
|
|
1403
|
-
readonly TanStackActionsForm:
|
|
1483
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
1404
1484
|
type?: "create" | "update";
|
|
1405
1485
|
}>>;
|
|
1406
|
-
readonly TanStackActionSubmit:
|
|
1486
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
1407
1487
|
label?: string;
|
|
1408
1488
|
className?: string;
|
|
1409
1489
|
}>;
|
|
1410
|
-
readonly FieldGroup: react26.MemoExoticComponent<({
|
|
1411
|
-
className,
|
|
1412
|
-
...props
|
|
1413
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1414
|
-
readonly Field: react26.MemoExoticComponent<({
|
|
1415
|
-
className,
|
|
1416
|
-
orientation,
|
|
1417
|
-
...props
|
|
1418
|
-
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1419
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1420
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string>) => react_jsx_runtime336.JSX.Element>;
|
|
1421
|
-
readonly FieldContent: react26.MemoExoticComponent<({
|
|
1422
|
-
className,
|
|
1423
|
-
...props
|
|
1424
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1425
|
-
readonly FieldLabel: react26.MemoExoticComponent<({
|
|
1426
|
-
className,
|
|
1427
|
-
...props
|
|
1428
|
-
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime336.JSX.Element>;
|
|
1429
|
-
readonly FieldContentMain: react26.MemoExoticComponent<({
|
|
1430
|
-
className,
|
|
1431
|
-
...props
|
|
1432
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1433
|
-
readonly FieldSeparator: react26.MemoExoticComponent<({
|
|
1434
|
-
children,
|
|
1435
|
-
className,
|
|
1436
|
-
...props
|
|
1437
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime336.JSX.Element>;
|
|
1438
|
-
readonly FieldError: react26.MemoExoticComponent<({
|
|
1439
|
-
className,
|
|
1440
|
-
children,
|
|
1441
|
-
errors,
|
|
1442
|
-
...props
|
|
1443
|
-
}: React.ComponentProps<"div"> & {
|
|
1444
|
-
errors?: Array<{
|
|
1445
|
-
message?: string;
|
|
1446
|
-
} | undefined>;
|
|
1447
|
-
}) => react_jsx_runtime336.JSX.Element | null>;
|
|
1448
1490
|
}> | _tanstack_react_form0.AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | _tanstack_form_core0.FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1449
|
-
readonly TextField:
|
|
1491
|
+
readonly TextField: react229.FC<Pick<{
|
|
1450
1492
|
label: string;
|
|
1451
1493
|
name: string;
|
|
1452
1494
|
camelCaseName: string;
|
|
@@ -1472,11 +1514,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1472
1514
|
showClearButton?: boolean | undefined;
|
|
1473
1515
|
description?: string | undefined;
|
|
1474
1516
|
placeholder?: string | undefined;
|
|
1475
|
-
}, "description" | "label" | "
|
|
1517
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "showClearButton" | "helperText" | "showErrorMessage"> & {
|
|
1476
1518
|
required?: boolean;
|
|
1477
1519
|
maxLength?: number;
|
|
1478
1520
|
}>;
|
|
1479
|
-
readonly TextareaField:
|
|
1521
|
+
readonly TextareaField: react229.FC<Pick<{
|
|
1480
1522
|
label: string;
|
|
1481
1523
|
name: string;
|
|
1482
1524
|
camelCaseName: string;
|
|
@@ -1500,11 +1542,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1500
1542
|
counter?: boolean | undefined;
|
|
1501
1543
|
description?: string | undefined;
|
|
1502
1544
|
placeholder?: string | undefined;
|
|
1503
|
-
}, "description" | "label" | "
|
|
1545
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "counter" | "helperText" | "showErrorMessage"> & {
|
|
1504
1546
|
required?: boolean;
|
|
1505
1547
|
maxLength?: number;
|
|
1506
1548
|
}>;
|
|
1507
|
-
readonly NumberField:
|
|
1549
|
+
readonly NumberField: react229.FC<Pick<{
|
|
1508
1550
|
label: string;
|
|
1509
1551
|
name: string;
|
|
1510
1552
|
camelCaseName: string;
|
|
@@ -1540,11 +1582,11 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1540
1582
|
unit?: string | undefined;
|
|
1541
1583
|
description?: string | undefined;
|
|
1542
1584
|
placeholder?: string | undefined;
|
|
1543
|
-
}, "description" | "label" | "
|
|
1585
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage" | "rounding" | "decimalPlaces" | "percision" | "unit"> & {
|
|
1544
1586
|
required?: boolean;
|
|
1545
1587
|
allowNegative?: boolean;
|
|
1546
1588
|
}>;
|
|
1547
|
-
readonly EmailField:
|
|
1589
|
+
readonly EmailField: react229.FC<Pick<{
|
|
1548
1590
|
rules: {
|
|
1549
1591
|
maxLength?: number | undefined;
|
|
1550
1592
|
minLength?: number | undefined;
|
|
@@ -1560,19 +1602,19 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1560
1602
|
showErrorMessage?: boolean | undefined;
|
|
1561
1603
|
description?: string | undefined;
|
|
1562
1604
|
placeholder?: string | undefined;
|
|
1563
|
-
}, "description" | "label" | "
|
|
1605
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1564
1606
|
maxLength?: number;
|
|
1565
1607
|
}>;
|
|
1566
|
-
readonly PasswordField:
|
|
1608
|
+
readonly PasswordField: react229.FC<{
|
|
1567
1609
|
description?: string | undefined;
|
|
1568
1610
|
label: string;
|
|
1569
|
-
placeholder?: string | undefined;
|
|
1570
|
-
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1571
1611
|
tooltip?: string | undefined;
|
|
1612
|
+
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
1613
|
+
placeholder?: string | undefined;
|
|
1572
1614
|
helperText?: string | undefined;
|
|
1573
1615
|
showErrorMessage?: boolean | undefined;
|
|
1574
1616
|
}>;
|
|
1575
|
-
readonly SelectField:
|
|
1617
|
+
readonly SelectField: react229.FC<Pick<{
|
|
1576
1618
|
options: {
|
|
1577
1619
|
label: string;
|
|
1578
1620
|
value: string;
|
|
@@ -1597,10 +1639,10 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1597
1639
|
defaultValue?: string | undefined;
|
|
1598
1640
|
description?: string | undefined;
|
|
1599
1641
|
placeholder?: string | undefined;
|
|
1600
|
-
}, "description" | "
|
|
1642
|
+
}, "description" | "label" | "defaultValue" | "tooltip" | "orientation" | "placeholder" | "options" | "helperText" | "clearable"> & {
|
|
1601
1643
|
required?: boolean;
|
|
1602
1644
|
}>;
|
|
1603
|
-
readonly DateField:
|
|
1645
|
+
readonly DateField: react229.FC<Pick<{
|
|
1604
1646
|
label: string;
|
|
1605
1647
|
name: string;
|
|
1606
1648
|
camelCaseName: string;
|
|
@@ -1618,17 +1660,17 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1618
1660
|
defaultValue?: string | undefined;
|
|
1619
1661
|
description?: string | undefined;
|
|
1620
1662
|
placeholder?: string | undefined;
|
|
1621
|
-
}, "description" | "label" | "
|
|
1663
|
+
}, "description" | "label" | "tooltip" | "orientation" | "placeholder" | "helperText" | "showErrorMessage"> & {
|
|
1622
1664
|
required?: boolean;
|
|
1623
1665
|
minDate?: Date;
|
|
1624
1666
|
maxDate?: Date;
|
|
1625
1667
|
}>;
|
|
1626
|
-
readonly SwitchField:
|
|
1668
|
+
readonly SwitchField: react229.FC<{
|
|
1627
1669
|
description?: string | undefined;
|
|
1628
1670
|
label: string;
|
|
1629
1671
|
helperText?: string | undefined;
|
|
1630
1672
|
}>;
|
|
1631
|
-
readonly RadioGroupField:
|
|
1673
|
+
readonly RadioGroupField: react229.FC<{
|
|
1632
1674
|
description?: string | undefined;
|
|
1633
1675
|
label: string;
|
|
1634
1676
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1639,7 +1681,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1639
1681
|
}[];
|
|
1640
1682
|
helperText?: string | undefined;
|
|
1641
1683
|
}>;
|
|
1642
|
-
readonly CheckboxField:
|
|
1684
|
+
readonly CheckboxField: react229.FC<{
|
|
1643
1685
|
description?: string | undefined;
|
|
1644
1686
|
label: string;
|
|
1645
1687
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1649,89 +1691,89 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1649
1691
|
}[];
|
|
1650
1692
|
helperText?: string | undefined;
|
|
1651
1693
|
}>;
|
|
1694
|
+
readonly FieldGroup: react229.MemoExoticComponent<({
|
|
1695
|
+
className,
|
|
1696
|
+
...props
|
|
1697
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1698
|
+
readonly Field: react229.MemoExoticComponent<({
|
|
1699
|
+
className,
|
|
1700
|
+
orientation,
|
|
1701
|
+
...props
|
|
1702
|
+
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1703
|
+
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1704
|
+
} & class_variance_authority_types20.ClassProp) | undefined) => string>) => react_jsx_runtime349.JSX.Element>;
|
|
1705
|
+
readonly FieldContent: react229.MemoExoticComponent<({
|
|
1706
|
+
className,
|
|
1707
|
+
...props
|
|
1708
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1709
|
+
readonly FieldLabel: react229.MemoExoticComponent<({
|
|
1710
|
+
className,
|
|
1711
|
+
...props
|
|
1712
|
+
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime349.JSX.Element>;
|
|
1713
|
+
readonly FieldContentMain: react229.MemoExoticComponent<({
|
|
1714
|
+
className,
|
|
1715
|
+
...props
|
|
1716
|
+
}: React.ComponentProps<"div">) => react_jsx_runtime349.JSX.Element>;
|
|
1717
|
+
readonly FieldSeparator: react229.MemoExoticComponent<({
|
|
1718
|
+
children,
|
|
1719
|
+
className,
|
|
1720
|
+
...props
|
|
1721
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime349.JSX.Element>;
|
|
1722
|
+
readonly FieldError: react229.MemoExoticComponent<({
|
|
1723
|
+
className,
|
|
1724
|
+
children,
|
|
1725
|
+
errors,
|
|
1726
|
+
...props
|
|
1727
|
+
}: React.ComponentProps<"div"> & {
|
|
1728
|
+
errors?: Array<{
|
|
1729
|
+
message?: string;
|
|
1730
|
+
} | undefined>;
|
|
1731
|
+
}) => react_jsx_runtime349.JSX.Element | null>;
|
|
1652
1732
|
}, {
|
|
1653
|
-
readonly TanStackDialogForm:
|
|
1733
|
+
readonly TanStackDialogForm: react229.FC<react229.PropsWithChildren<{
|
|
1654
1734
|
title: string;
|
|
1655
1735
|
submitText?: string;
|
|
1656
1736
|
open?: boolean;
|
|
1657
1737
|
onOpenChange?: (open: boolean) => void;
|
|
1658
1738
|
}>>;
|
|
1659
|
-
readonly TanStackPopoverForm:
|
|
1739
|
+
readonly TanStackPopoverForm: react229.FC<react229.PropsWithChildren<{
|
|
1660
1740
|
title: string;
|
|
1661
1741
|
open?: boolean;
|
|
1662
1742
|
contentClassName?: string;
|
|
1663
1743
|
onOpenChange?: (open: boolean) => void;
|
|
1664
1744
|
}>>;
|
|
1665
|
-
readonly TanStackContainerForm:
|
|
1666
|
-
children?:
|
|
1745
|
+
readonly TanStackContainerForm: react229.FC<{
|
|
1746
|
+
children?: react229.ReactNode | undefined;
|
|
1667
1747
|
}>;
|
|
1668
|
-
readonly TanStackSectionForm:
|
|
1748
|
+
readonly TanStackSectionForm: react229.FC<react229.PropsWithChildren<{
|
|
1669
1749
|
title: string;
|
|
1670
1750
|
}>>;
|
|
1671
|
-
readonly TanStackCardForm:
|
|
1751
|
+
readonly TanStackCardForm: react229.FC<react229.PropsWithChildren<{
|
|
1672
1752
|
title: string;
|
|
1673
1753
|
description?: string;
|
|
1674
1754
|
onDelete?: () => void | Promise<void>;
|
|
1675
1755
|
}>>;
|
|
1676
|
-
readonly TanStackFieldGroup:
|
|
1756
|
+
readonly TanStackFieldGroup: react229.FC<react229.PropsWithChildren<{
|
|
1677
1757
|
label: string;
|
|
1678
1758
|
description?: string;
|
|
1679
1759
|
helperText?: string;
|
|
1680
1760
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1681
1761
|
}>>;
|
|
1682
|
-
readonly TanStackTitleField:
|
|
1762
|
+
readonly TanStackTitleField: react229.FC<{
|
|
1683
1763
|
title: string;
|
|
1684
1764
|
description?: string;
|
|
1685
1765
|
helperText?: string;
|
|
1686
1766
|
}>;
|
|
1687
|
-
readonly TanStackActionsForm:
|
|
1767
|
+
readonly TanStackActionsForm: react229.FC<react229.PropsWithChildren<{
|
|
1688
1768
|
type?: "create" | "update";
|
|
1689
1769
|
}>>;
|
|
1690
|
-
readonly TanStackActionSubmit:
|
|
1770
|
+
readonly TanStackActionSubmit: react229.FC<{
|
|
1691
1771
|
label?: string;
|
|
1692
1772
|
className?: string;
|
|
1693
1773
|
}>;
|
|
1694
|
-
readonly FieldGroup: react26.MemoExoticComponent<({
|
|
1695
|
-
className,
|
|
1696
|
-
...props
|
|
1697
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1698
|
-
readonly Field: react26.MemoExoticComponent<({
|
|
1699
|
-
className,
|
|
1700
|
-
orientation,
|
|
1701
|
-
...props
|
|
1702
|
-
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1703
|
-
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1704
|
-
} & class_variance_authority_types12.ClassProp) | undefined) => string>) => react_jsx_runtime336.JSX.Element>;
|
|
1705
|
-
readonly FieldContent: react26.MemoExoticComponent<({
|
|
1706
|
-
className,
|
|
1707
|
-
...props
|
|
1708
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1709
|
-
readonly FieldLabel: react26.MemoExoticComponent<({
|
|
1710
|
-
className,
|
|
1711
|
-
...props
|
|
1712
|
-
}: React.ComponentProps<typeof Label$1>) => react_jsx_runtime336.JSX.Element>;
|
|
1713
|
-
readonly FieldContentMain: react26.MemoExoticComponent<({
|
|
1714
|
-
className,
|
|
1715
|
-
...props
|
|
1716
|
-
}: React.ComponentProps<"div">) => react_jsx_runtime336.JSX.Element>;
|
|
1717
|
-
readonly FieldSeparator: react26.MemoExoticComponent<({
|
|
1718
|
-
children,
|
|
1719
|
-
className,
|
|
1720
|
-
...props
|
|
1721
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react_jsx_runtime336.JSX.Element>;
|
|
1722
|
-
readonly FieldError: react26.MemoExoticComponent<({
|
|
1723
|
-
className,
|
|
1724
|
-
children,
|
|
1725
|
-
errors,
|
|
1726
|
-
...props
|
|
1727
|
-
}: React.ComponentProps<"div"> & {
|
|
1728
|
-
errors?: Array<{
|
|
1729
|
-
message?: string;
|
|
1730
|
-
} | undefined>;
|
|
1731
|
-
}) => react_jsx_runtime336.JSX.Element | null>;
|
|
1732
1774
|
}>;
|
|
1733
1775
|
fields: TFields;
|
|
1734
|
-
}>) => ReturnType<
|
|
1776
|
+
}>) => ReturnType<react229.FunctionComponent>;
|
|
1735
1777
|
//#endregion
|
|
1736
|
-
export { useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
1778
|
+
export { Field, FieldContent, FieldContentMain, FieldError, FieldGroup, FieldLabel, FieldSeparator, useTanStackFieldContext, useTanStackForm, useTanStackFormContext, withTanStackFieldGroup, withTanStackForm };
|
|
1737
1779
|
//# sourceMappingURL=index.d.cts.map
|