@customafk/lunas-ui 0.2.29 → 0.2.30
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/{alert-6_f_JgU-.cjs → alert-4rfsFtN6.cjs} +1 -1
- package/dist/{alert-6_f_JgU-.cjs.map → alert-4rfsFtN6.cjs.map} +1 -1
- package/dist/{alert-CoqYPXj9.d.mts → alert-B7978FZb.d.mts} +5 -5
- package/dist/{alert-BSAtkBnX.mjs → alert-BC5Nss8t.mjs} +1 -1
- package/dist/{alert-BSAtkBnX.mjs.map → alert-BC5Nss8t.mjs.map} +1 -1
- package/dist/{alert-Dd7Y-D3i.d.cts → alert-DOsSwv1-.d.cts} +7 -7
- package/dist/{badge-Dl868_wL.d.cts → badge-Bt62wY4t.d.cts} +5 -5
- package/dist/{badge-sImNCIvF.d.mts → badge-DXiJn9XY.d.mts} +5 -5
- package/dist/{button-z2O6bEzH.d.cts → button-BHCmEoty.d.cts} +3 -3
- package/dist/{button-DWkaxRDs.d.mts → button-CPYKtYVF.d.mts} +3 -3
- package/dist/{calendar-ChaYPTJO.cjs → calendar-Bt0rlJ89.cjs} +1 -1
- package/dist/{calendar-ChaYPTJO.cjs.map → calendar-Bt0rlJ89.cjs.map} +1 -1
- package/dist/{calendar-CHVujBHK.mjs → calendar-D8aRFw_F.mjs} +1 -1
- package/dist/{calendar-CHVujBHK.mjs.map → calendar-D8aRFw_F.mjs.map} +1 -1
- package/dist/{cms-layout-COfACv3M.cjs → cms-layout-DDs0pHWh.cjs} +1 -1
- package/dist/{cms-layout-COfACv3M.cjs.map → cms-layout-DDs0pHWh.cjs.map} +1 -1
- package/dist/{cms-layout--NUD8VVh.mjs → cms-layout-DHzRHAoI.mjs} +1 -1
- package/dist/{cms-layout--NUD8VVh.mjs.map → cms-layout-DHzRHAoI.mjs.map} +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/statistic.d.cts +5 -5
- package/dist/{dialog-D2c7yEsc.d.cts → dialog-CEaSFdY9.d.cts} +12 -12
- package/dist/{dialog-AbuDG2Gq.d.mts → dialog-DWWtnPg0.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- package/dist/drawer-C3o6IEeq.cjs +2 -0
- package/dist/drawer-C3o6IEeq.cjs.map +1 -0
- package/dist/drawer-j9wcVE50.mjs +2 -0
- package/dist/drawer-j9wcVE50.mjs.map +1 -0
- package/dist/features/descriptions/index.d.cts +6 -6
- package/dist/features/descriptions/index.d.mts +4 -4
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +2 -2
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/text-editor/index.cjs +1 -1
- package/dist/features/text-editor/index.d.cts +1 -1
- package/dist/features/text-editor/index.d.mts +1 -1
- package/dist/features/text-editor/index.mjs +1 -1
- package/dist/{field-Bh7Hq4Lo.mjs → field-B8RhxRCu.mjs} +1 -1
- package/dist/{field-Bh7Hq4Lo.mjs.map → field-B8RhxRCu.mjs.map} +1 -1
- package/dist/{field-DTGEedKl.cjs → field-BxFpcOV1.cjs} +1 -1
- package/dist/{field-DTGEedKl.cjs.map → field-BxFpcOV1.cjs.map} +1 -1
- package/dist/{index-CtKNb2-t.d.cts → index-BJiTJozG.d.cts} +546 -312
- package/dist/{index-C3dXDjdR.d.mts → index-Cotq70wL.d.cts} +6 -6
- package/dist/{index-Bz9af9gx.d.mts → index-D6UbdtXa.d.mts} +546 -312
- package/dist/{index-rE1M5FGs.d.mts → index-DDYTIEq3.d.mts} +28 -28
- package/dist/{index-Lok5xVt2.d.cts → index-DpqGxieY.d.cts} +27 -27
- package/dist/{index-DMUr1T2A.d.cts → index-TvuUzBSW.d.mts} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{input-ZL65yvYU.d.mts → input-B4ZV1tKO.d.cts} +6 -6
- package/dist/{input-DtUFTR6j.d.cts → input-Che86SWz.d.mts} +6 -6
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +5 -5
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- 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/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.mts +2 -2
- package/dist/pages/LoginPage.mjs +1 -1
- 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/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.mts +2 -2
- package/dist/pages/RegisterPage.mjs +1 -1
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.mts +2 -2
- package/dist/pages/VerifyEmailPage.mjs +1 -1
- package/dist/{payment-layout-8rRJJa0f.cjs → payment-layout-BkSC6JkI.cjs} +1 -1
- package/dist/{payment-layout-8rRJJa0f.cjs.map → payment-layout-BkSC6JkI.cjs.map} +1 -1
- package/dist/{payment-layout-BdGZbGO-.mjs → payment-layout-CafCw6lS.mjs} +1 -1
- package/dist/{payment-layout-BdGZbGO-.mjs.map → payment-layout-CafCw6lS.mjs.map} +1 -1
- package/dist/{radio-group-KMvVXCIk.cjs → radio-group-Bv6w2woK.cjs} +1 -1
- package/dist/{radio-group-KMvVXCIk.cjs.map → radio-group-Bv6w2woK.cjs.map} +1 -1
- package/dist/{radio-group-CsmpBZTK.mjs → radio-group-KR6Ck-B9.mjs} +1 -1
- package/dist/{radio-group-CsmpBZTK.mjs.map → radio-group-KR6Ck-B9.mjs.map} +1 -1
- package/dist/switch-0-9Zt33o.cjs +2 -0
- package/dist/switch-0-9Zt33o.cjs.map +1 -0
- package/dist/switch-DHsjxnFP.mjs +2 -0
- package/dist/switch-DHsjxnFP.mjs.map +1 -0
- package/dist/tables-BQ-QiA1V.mjs.map +1 -1
- package/dist/tables-LRWPOv2a.cjs.map +1 -1
- package/dist/tanstack-form-B9CugNS5.cjs +2 -0
- package/dist/tanstack-form-B9CugNS5.cjs.map +1 -0
- package/dist/tanstack-form-DJ90sBFl.mjs +2 -0
- package/dist/tanstack-form-DJ90sBFl.mjs.map +1 -0
- package/dist/{text-editor-Dy3_hyNw.cjs → text-editor-CE_GkI7o.cjs} +1 -1
- package/dist/{text-editor-Dy3_hyNw.cjs.map → text-editor-CE_GkI7o.cjs.map} +1 -1
- package/dist/{text-editor-D182J9Y5.mjs → text-editor-CqC44BkO.mjs} +1 -1
- package/dist/{text-editor-D182J9Y5.mjs.map → text-editor-CqC44BkO.mjs.map} +1 -1
- package/dist/{textarea-SPXNe-iZ.cjs → textarea-BB2WynyM.cjs} +1 -1
- package/dist/{textarea-SPXNe-iZ.cjs.map → textarea-BB2WynyM.cjs.map} +1 -1
- package/dist/{textarea-Cvdq7UAn.mjs → textarea-D0-Gltw6.mjs} +1 -1
- package/dist/{textarea-Cvdq7UAn.mjs.map → textarea-D0-Gltw6.mjs.map} +1 -1
- package/dist/{types-wApFGHmV.d.mts → types-B2PQbMJL.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +4 -4
- package/dist/typography/paragraph.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.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- 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 +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +2 -2
- 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.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- 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.cjs +1 -2
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/drawer.mjs +1 -2
- 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 +7 -7
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +23 -23
- package/dist/ui/field.d.mts +21 -21
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.cjs +1 -1
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/form.d.mts +10 -10
- package/dist/ui/form.mjs +1 -1
- 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 +1 -1
- 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.cts +2 -2
- package/dist/ui/multi-select.d.mts +3 -3
- 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 +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.mts +5 -5
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.cjs.map +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +26 -26
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/sidebar.mjs.map +1 -1
- 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.cjs +1 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/switch.mjs +1 -2
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.mts +17 -17
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +2 -2
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tanstack-form-DKcuB2zr.cjs +0 -2
- package/dist/tanstack-form-DKcuB2zr.cjs.map +0 -1
- package/dist/tanstack-form-Dez1xwl5.mjs +0 -2
- package/dist/tanstack-form-Dez1xwl5.mjs.map +0 -1
- package/dist/ui/drawer.cjs.map +0 -1
- package/dist/ui/drawer.mjs.map +0 -1
- package/dist/ui/switch.cjs.map +0 -1
- package/dist/ui/switch.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react660 from "react";
|
|
2
|
+
import * as class_variance_authority_types23 from "class-variance-authority/types";
|
|
3
3
|
import * as class_variance_authority0 from "class-variance-authority";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import { Label } from "radix-ui";
|
|
@@ -19,7 +19,7 @@ declare function Label$1({
|
|
|
19
19
|
className,
|
|
20
20
|
children,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Label.Root>):
|
|
22
|
+
}: React.ComponentProps<typeof Label.Root>): react660.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
//#region packages/components/features/tanstack-form/components/atoms/simple-array-field.d.ts
|
|
25
25
|
type ArrayColProps = {
|
|
@@ -57,7 +57,31 @@ declare function ArrayCol({
|
|
|
57
57
|
width,
|
|
58
58
|
className,
|
|
59
59
|
children
|
|
60
|
-
}: ArrayColProps):
|
|
60
|
+
}: ArrayColProps): react660.JSX.Element;
|
|
61
|
+
type ArrayHeaderRowProps = {
|
|
62
|
+
className?: string;
|
|
63
|
+
children: React.ReactNode;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Styled header row for a `SimpleArrayField` table. Place it directly above
|
|
67
|
+
* `<SimpleArrayField>` and use `<ArrayCol>` children with text labels to align
|
|
68
|
+
* headers with their columns. A spacer matching the delete-button width is
|
|
69
|
+
* appended automatically.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* <ArrayHeaderRow>
|
|
73
|
+
* <ArrayCol>Name</ArrayCol>
|
|
74
|
+
* <ArrayCol width={96}>Price</ArrayCol>
|
|
75
|
+
* <ArrayCol width={80}>Qty</ArrayCol>
|
|
76
|
+
* </ArrayHeaderRow>
|
|
77
|
+
* <SimpleArrayField defaultRow={...}>
|
|
78
|
+
* {i => (...)}
|
|
79
|
+
* </SimpleArrayField>
|
|
80
|
+
*/
|
|
81
|
+
declare function ArrayHeaderRow({
|
|
82
|
+
className,
|
|
83
|
+
children
|
|
84
|
+
}: ArrayHeaderRowProps): react660.JSX.Element;
|
|
61
85
|
type Props<T> = {
|
|
62
86
|
/**
|
|
63
87
|
* Shape of a brand-new empty row appended when the user clicks "Add row".
|
|
@@ -103,12 +127,12 @@ declare function SimpleArrayField<T>({
|
|
|
103
127
|
children,
|
|
104
128
|
addLabel,
|
|
105
129
|
className
|
|
106
|
-
}: Props<T>):
|
|
130
|
+
}: Props<T>): react660.JSX.Element;
|
|
107
131
|
//#endregion
|
|
108
132
|
//#region packages/components/features/tanstack-form/components/ui/field.d.ts
|
|
109
133
|
declare const fieldVariants: (props?: ({
|
|
110
134
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
111
|
-
} &
|
|
135
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string;
|
|
112
136
|
/**
|
|
113
137
|
* Outermost `<fieldset>` wrapper that stacks multiple `Field` rows with consistent vertical spacing.
|
|
114
138
|
*
|
|
@@ -131,10 +155,10 @@ declare const fieldVariants: (props?: ({
|
|
|
131
155
|
* <Field>…</Field>
|
|
132
156
|
* </FieldGroup>
|
|
133
157
|
*/
|
|
134
|
-
declare const FieldGroup:
|
|
158
|
+
declare const FieldGroup: react660.MemoExoticComponent<({
|
|
135
159
|
className,
|
|
136
160
|
...props
|
|
137
|
-
}: React.ComponentProps<"div">) =>
|
|
161
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
138
162
|
/**
|
|
139
163
|
* Single form field row that arranges label, input, and meta elements with configurable orientation.
|
|
140
164
|
*
|
|
@@ -146,11 +170,11 @@ declare const FieldGroup: react636.MemoExoticComponent<({
|
|
|
146
170
|
* <FieldContent><input id="username" /></FieldContent>
|
|
147
171
|
* </Field>
|
|
148
172
|
*/
|
|
149
|
-
declare const Field:
|
|
173
|
+
declare const Field: react660.MemoExoticComponent<({
|
|
150
174
|
className,
|
|
151
175
|
orientation,
|
|
152
176
|
...props
|
|
153
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) =>
|
|
177
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react660.JSX.Element>;
|
|
154
178
|
/**
|
|
155
179
|
* Flex column wrapper that houses the primary input control together with description and error slots.
|
|
156
180
|
*
|
|
@@ -162,10 +186,10 @@ declare const Field: react636.MemoExoticComponent<({
|
|
|
162
186
|
* <FieldDescription>Enter your full name.</FieldDescription>
|
|
163
187
|
* </FieldContent>
|
|
164
188
|
*/
|
|
165
|
-
declare const FieldContent:
|
|
189
|
+
declare const FieldContent: react660.MemoExoticComponent<({
|
|
166
190
|
className,
|
|
167
191
|
...props
|
|
168
|
-
}: React.ComponentProps<"div">) =>
|
|
192
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
169
193
|
/**
|
|
170
194
|
* Positioned wrapper for the main input element that enables absolutely-placed adornments (icons, spinners).
|
|
171
195
|
*
|
|
@@ -177,10 +201,10 @@ declare const FieldContent: react636.MemoExoticComponent<({
|
|
|
177
201
|
* <SearchIcon className="absolute right-2 top-2" />
|
|
178
202
|
* </FieldContentMain>
|
|
179
203
|
*/
|
|
180
|
-
declare const FieldContentMain:
|
|
204
|
+
declare const FieldContentMain: react660.MemoExoticComponent<({
|
|
181
205
|
className,
|
|
182
206
|
...props
|
|
183
|
-
}: React.ComponentProps<"div">) =>
|
|
207
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
184
208
|
/**
|
|
185
209
|
* Styled `<label>` element for a `Field`, extending the base `Label` with field-group-aware spacing and border states.
|
|
186
210
|
*
|
|
@@ -189,10 +213,10 @@ declare const FieldContentMain: react636.MemoExoticComponent<({
|
|
|
189
213
|
*
|
|
190
214
|
* <FieldLabel htmlFor="email" aria-required>Email</FieldLabel>
|
|
191
215
|
*/
|
|
192
|
-
declare const FieldLabel:
|
|
216
|
+
declare const FieldLabel: react660.MemoExoticComponent<({
|
|
193
217
|
className,
|
|
194
218
|
...props
|
|
195
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
219
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
196
220
|
/**
|
|
197
221
|
* Inline title element (non-`<label>`) for fields whose label cannot be a native `<label>`, such as custom checkbox groups.
|
|
198
222
|
*
|
|
@@ -210,11 +234,11 @@ declare const FieldLabel: react636.MemoExoticComponent<({
|
|
|
210
234
|
*
|
|
211
235
|
* <FieldSeparator>or</FieldSeparator>
|
|
212
236
|
*/
|
|
213
|
-
declare const FieldSeparator:
|
|
237
|
+
declare const FieldSeparator: react660.MemoExoticComponent<({
|
|
214
238
|
children,
|
|
215
239
|
className,
|
|
216
240
|
...props
|
|
217
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
241
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
218
242
|
/**
|
|
219
243
|
* Props for {@link FieldError}.
|
|
220
244
|
*/
|
|
@@ -237,12 +261,12 @@ type FieldErrorProps = React.ComponentProps<'div'> & {
|
|
|
237
261
|
*
|
|
238
262
|
* <FieldError errors={field.state.meta.errors} />
|
|
239
263
|
*/
|
|
240
|
-
declare const FieldError:
|
|
264
|
+
declare const FieldError: react660.MemoExoticComponent<({
|
|
241
265
|
className,
|
|
242
266
|
children,
|
|
243
267
|
errors,
|
|
244
268
|
...props
|
|
245
|
-
}: FieldErrorProps) =>
|
|
269
|
+
}: FieldErrorProps) => react660.JSX.Element | null>;
|
|
246
270
|
//#endregion
|
|
247
271
|
//#region packages/components/features/tanstack-form/tanstack-form.d.ts
|
|
248
272
|
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>;
|
|
@@ -302,7 +326,7 @@ declare const useTanStackFieldContext: <TData>() => _tanstack_form_core0.FieldAp
|
|
|
302
326
|
* ));
|
|
303
327
|
*/
|
|
304
328
|
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, {
|
|
305
|
-
readonly TextField:
|
|
329
|
+
readonly TextField: react660.FC<Pick<{
|
|
306
330
|
label: string;
|
|
307
331
|
name: string;
|
|
308
332
|
camelCaseName: string;
|
|
@@ -332,7 +356,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
332
356
|
required?: boolean;
|
|
333
357
|
maxLength?: number;
|
|
334
358
|
}>;
|
|
335
|
-
readonly TextareaField:
|
|
359
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
336
360
|
label: string;
|
|
337
361
|
name: string;
|
|
338
362
|
camelCaseName: string;
|
|
@@ -360,7 +384,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
360
384
|
required?: boolean;
|
|
361
385
|
maxLength?: number;
|
|
362
386
|
}>;
|
|
363
|
-
readonly TextEditorField:
|
|
387
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
364
388
|
label: string;
|
|
365
389
|
name: string;
|
|
366
390
|
camelCaseName: string;
|
|
@@ -377,7 +401,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
377
401
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
378
402
|
required?: boolean;
|
|
379
403
|
}>;
|
|
380
|
-
readonly NumberField:
|
|
404
|
+
readonly NumberField: react660.FC<Pick<{
|
|
381
405
|
label: string;
|
|
382
406
|
name: string;
|
|
383
407
|
camelCaseName: string;
|
|
@@ -417,7 +441,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
417
441
|
required?: boolean;
|
|
418
442
|
allowNegative?: boolean;
|
|
419
443
|
}>;
|
|
420
|
-
readonly EmailField:
|
|
444
|
+
readonly EmailField: react660.FC<Pick<{
|
|
421
445
|
rules: {
|
|
422
446
|
maxLength?: number | undefined;
|
|
423
447
|
minLength?: number | undefined;
|
|
@@ -437,7 +461,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
437
461
|
required?: boolean;
|
|
438
462
|
maxLength?: number;
|
|
439
463
|
}>;
|
|
440
|
-
readonly PasswordField:
|
|
464
|
+
readonly PasswordField: react660.FC<{
|
|
441
465
|
description?: string | undefined;
|
|
442
466
|
label: string;
|
|
443
467
|
placeholder?: string | undefined;
|
|
@@ -446,7 +470,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
446
470
|
helperText?: string | undefined;
|
|
447
471
|
showErrorMessage?: boolean | undefined;
|
|
448
472
|
}>;
|
|
449
|
-
readonly SelectField:
|
|
473
|
+
readonly SelectField: react660.FC<Pick<{
|
|
450
474
|
options: {
|
|
451
475
|
label: string;
|
|
452
476
|
value: string;
|
|
@@ -474,7 +498,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
474
498
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
475
499
|
required?: boolean;
|
|
476
500
|
}>;
|
|
477
|
-
readonly ComboboxField:
|
|
501
|
+
readonly ComboboxField: react660.FC<{
|
|
478
502
|
label: string;
|
|
479
503
|
description?: string;
|
|
480
504
|
placeholder?: string;
|
|
@@ -485,7 +509,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
485
509
|
label: string;
|
|
486
510
|
}>;
|
|
487
511
|
}>;
|
|
488
|
-
readonly DateField:
|
|
512
|
+
readonly DateField: react660.FC<Pick<{
|
|
489
513
|
label: string;
|
|
490
514
|
name: string;
|
|
491
515
|
camelCaseName: string;
|
|
@@ -508,12 +532,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
508
532
|
minDate?: Date;
|
|
509
533
|
maxDate?: Date;
|
|
510
534
|
}>;
|
|
511
|
-
readonly SwitchField:
|
|
535
|
+
readonly SwitchField: react660.FC<{
|
|
512
536
|
description?: string | undefined;
|
|
513
537
|
label: string;
|
|
514
538
|
helperText?: string | undefined;
|
|
515
539
|
}>;
|
|
516
|
-
readonly RadioGroupField:
|
|
540
|
+
readonly RadioGroupField: react660.FC<{
|
|
517
541
|
description?: string | undefined;
|
|
518
542
|
label: string;
|
|
519
543
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -525,7 +549,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
525
549
|
}[];
|
|
526
550
|
helperText?: string | undefined;
|
|
527
551
|
}>;
|
|
528
|
-
readonly CheckboxField:
|
|
552
|
+
readonly CheckboxField: react660.FC<{
|
|
529
553
|
description?: string | undefined;
|
|
530
554
|
label: string;
|
|
531
555
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -536,43 +560,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
536
560
|
}[];
|
|
537
561
|
helperText?: string | undefined;
|
|
538
562
|
}>;
|
|
539
|
-
readonly SimpleTextField:
|
|
540
|
-
label
|
|
563
|
+
readonly SimpleTextField: react660.FC<{
|
|
564
|
+
label?: string;
|
|
541
565
|
placeholder?: string;
|
|
542
566
|
required?: boolean;
|
|
543
567
|
maxLength?: number;
|
|
544
568
|
disabled?: boolean;
|
|
545
569
|
}>;
|
|
546
|
-
readonly SimpleEmailField:
|
|
547
|
-
label
|
|
570
|
+
readonly SimpleEmailField: react660.FC<{
|
|
571
|
+
label?: string;
|
|
548
572
|
placeholder?: string;
|
|
549
573
|
required?: boolean;
|
|
550
574
|
maxLength?: number;
|
|
551
575
|
disabled?: boolean;
|
|
552
576
|
}>;
|
|
553
|
-
readonly SimplePasswordField:
|
|
554
|
-
label
|
|
577
|
+
readonly SimplePasswordField: react660.FC<{
|
|
578
|
+
label?: string;
|
|
555
579
|
placeholder?: string;
|
|
556
580
|
required?: boolean;
|
|
557
581
|
disabled?: boolean;
|
|
558
582
|
}>;
|
|
559
|
-
readonly SimpleTextareaField:
|
|
560
|
-
label
|
|
583
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
584
|
+
label?: string;
|
|
561
585
|
placeholder?: string;
|
|
562
586
|
required?: boolean;
|
|
563
587
|
maxLength?: number;
|
|
564
588
|
rows?: number;
|
|
565
589
|
disabled?: boolean;
|
|
566
590
|
}>;
|
|
567
|
-
readonly SimpleNumberField:
|
|
568
|
-
label
|
|
591
|
+
readonly SimpleNumberField: react660.FC<{
|
|
592
|
+
label?: string;
|
|
569
593
|
placeholder?: string;
|
|
570
594
|
required?: boolean;
|
|
571
595
|
unit?: string;
|
|
572
596
|
allowNegative?: boolean;
|
|
573
597
|
disabled?: boolean;
|
|
574
598
|
}>;
|
|
575
|
-
readonly SimpleSelectField:
|
|
599
|
+
readonly SimpleSelectField: react660.FC<{
|
|
576
600
|
label?: string;
|
|
577
601
|
placeholder?: string;
|
|
578
602
|
required?: boolean;
|
|
@@ -582,47 +606,81 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
582
606
|
}>;
|
|
583
607
|
}>;
|
|
584
608
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
585
|
-
readonly
|
|
609
|
+
readonly SimpleBooleanField: react660.FC<{
|
|
610
|
+
label?: string;
|
|
611
|
+
required?: boolean;
|
|
612
|
+
disabled?: boolean;
|
|
613
|
+
variant?: "checkbox" | "switch";
|
|
614
|
+
}>;
|
|
615
|
+
readonly SimpleComboboxField: react660.FC<{
|
|
616
|
+
label?: string;
|
|
617
|
+
placeholder?: string;
|
|
618
|
+
required?: boolean;
|
|
619
|
+
disabled?: boolean;
|
|
620
|
+
options: Array<{
|
|
621
|
+
value: string;
|
|
622
|
+
label: string;
|
|
623
|
+
}>;
|
|
624
|
+
}>;
|
|
625
|
+
readonly SimpleDateField: react660.FC<{
|
|
626
|
+
label?: string;
|
|
627
|
+
placeholder?: string;
|
|
628
|
+
required?: boolean;
|
|
629
|
+
disabled?: boolean;
|
|
630
|
+
minDate?: Date;
|
|
631
|
+
maxDate?: Date;
|
|
632
|
+
}>;
|
|
633
|
+
readonly SimpleRadioGroupField: react660.FC<{
|
|
634
|
+
label?: string;
|
|
635
|
+
required?: boolean;
|
|
636
|
+
disabled?: boolean;
|
|
637
|
+
options: Array<{
|
|
638
|
+
value: string;
|
|
639
|
+
label: string;
|
|
640
|
+
}>;
|
|
641
|
+
orientation?: "horizontal" | "vertical";
|
|
642
|
+
}>;
|
|
643
|
+
readonly FieldGroup: react660.MemoExoticComponent<({
|
|
586
644
|
className,
|
|
587
645
|
...props
|
|
588
|
-
}: React.ComponentProps<"div">) =>
|
|
589
|
-
readonly Field:
|
|
646
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
647
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
590
648
|
className,
|
|
591
649
|
orientation,
|
|
592
650
|
...props
|
|
593
651
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
594
652
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
595
|
-
} &
|
|
596
|
-
readonly FieldContent:
|
|
653
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
654
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
597
655
|
className,
|
|
598
656
|
...props
|
|
599
|
-
}: React.ComponentProps<"div">) =>
|
|
600
|
-
readonly FieldLabel:
|
|
657
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
658
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
601
659
|
className,
|
|
602
660
|
...props
|
|
603
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
604
|
-
readonly FieldContentMain:
|
|
661
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
662
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
605
663
|
className,
|
|
606
664
|
...props
|
|
607
|
-
}: React.ComponentProps<"div">) =>
|
|
608
|
-
readonly FieldSeparator:
|
|
665
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
666
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
609
667
|
children,
|
|
610
668
|
className,
|
|
611
669
|
...props
|
|
612
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
613
|
-
readonly FieldError:
|
|
670
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
671
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
614
672
|
className,
|
|
615
673
|
children,
|
|
616
674
|
errors,
|
|
617
675
|
...props
|
|
618
|
-
}:
|
|
676
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
619
677
|
errors?: Array<{
|
|
620
678
|
code?: string;
|
|
621
679
|
message?: string;
|
|
622
680
|
} | undefined>;
|
|
623
|
-
}) =>
|
|
681
|
+
}) => react660.JSX.Element | null>;
|
|
624
682
|
}, {
|
|
625
|
-
readonly TanStackDialogForm:
|
|
683
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
626
684
|
title: string;
|
|
627
685
|
submitText?: string;
|
|
628
686
|
width?: number | string;
|
|
@@ -631,47 +689,48 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
631
689
|
open?: boolean;
|
|
632
690
|
onOpenChange?: (open: boolean) => void;
|
|
633
691
|
}>>;
|
|
634
|
-
readonly TanStackPopoverForm:
|
|
692
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
635
693
|
title: string;
|
|
636
694
|
open?: boolean;
|
|
637
695
|
contentClassName?: string;
|
|
638
696
|
onOpenChange?: (open: boolean) => void;
|
|
639
697
|
}>>;
|
|
640
|
-
readonly TanStackContainerForm:
|
|
641
|
-
children?:
|
|
698
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
699
|
+
children?: react660.ReactNode | undefined;
|
|
642
700
|
}>;
|
|
643
|
-
readonly TanStackSectionForm:
|
|
701
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
644
702
|
title: string;
|
|
645
703
|
}>>;
|
|
646
|
-
readonly TanStackCardForm:
|
|
704
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
647
705
|
title: string;
|
|
648
706
|
description?: string;
|
|
649
707
|
onDelete?: () => void | Promise<void>;
|
|
650
708
|
}>>;
|
|
651
|
-
readonly TanStackFieldGroup:
|
|
709
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
652
710
|
label: string;
|
|
653
711
|
description?: string;
|
|
654
712
|
helperText?: string;
|
|
655
713
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
656
714
|
}>>;
|
|
657
|
-
readonly TanStackTitleField:
|
|
715
|
+
readonly TanStackTitleField: react660.FC<{
|
|
658
716
|
title: string;
|
|
659
717
|
description?: string;
|
|
660
718
|
helperText?: string;
|
|
661
719
|
}>;
|
|
662
|
-
readonly TanStackActionsForm:
|
|
720
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
663
721
|
type?: "create" | "update";
|
|
664
722
|
}>>;
|
|
665
|
-
readonly TanStackActionSubmit:
|
|
723
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
666
724
|
label?: string;
|
|
667
725
|
className?: string;
|
|
668
726
|
}>;
|
|
669
727
|
readonly ArrayCol: typeof ArrayCol;
|
|
728
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
670
729
|
}>, 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 = {}>({
|
|
671
730
|
render,
|
|
672
731
|
props
|
|
673
732
|
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
674
|
-
readonly TextField:
|
|
733
|
+
readonly TextField: react660.FC<Pick<{
|
|
675
734
|
label: string;
|
|
676
735
|
name: string;
|
|
677
736
|
camelCaseName: string;
|
|
@@ -701,7 +760,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
701
760
|
required?: boolean;
|
|
702
761
|
maxLength?: number;
|
|
703
762
|
}>;
|
|
704
|
-
readonly TextareaField:
|
|
763
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
705
764
|
label: string;
|
|
706
765
|
name: string;
|
|
707
766
|
camelCaseName: string;
|
|
@@ -729,7 +788,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
729
788
|
required?: boolean;
|
|
730
789
|
maxLength?: number;
|
|
731
790
|
}>;
|
|
732
|
-
readonly TextEditorField:
|
|
791
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
733
792
|
label: string;
|
|
734
793
|
name: string;
|
|
735
794
|
camelCaseName: string;
|
|
@@ -746,7 +805,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
746
805
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
747
806
|
required?: boolean;
|
|
748
807
|
}>;
|
|
749
|
-
readonly NumberField:
|
|
808
|
+
readonly NumberField: react660.FC<Pick<{
|
|
750
809
|
label: string;
|
|
751
810
|
name: string;
|
|
752
811
|
camelCaseName: string;
|
|
@@ -786,7 +845,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
786
845
|
required?: boolean;
|
|
787
846
|
allowNegative?: boolean;
|
|
788
847
|
}>;
|
|
789
|
-
readonly EmailField:
|
|
848
|
+
readonly EmailField: react660.FC<Pick<{
|
|
790
849
|
rules: {
|
|
791
850
|
maxLength?: number | undefined;
|
|
792
851
|
minLength?: number | undefined;
|
|
@@ -806,7 +865,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
806
865
|
required?: boolean;
|
|
807
866
|
maxLength?: number;
|
|
808
867
|
}>;
|
|
809
|
-
readonly PasswordField:
|
|
868
|
+
readonly PasswordField: react660.FC<{
|
|
810
869
|
description?: string | undefined;
|
|
811
870
|
label: string;
|
|
812
871
|
placeholder?: string | undefined;
|
|
@@ -815,7 +874,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
815
874
|
helperText?: string | undefined;
|
|
816
875
|
showErrorMessage?: boolean | undefined;
|
|
817
876
|
}>;
|
|
818
|
-
readonly SelectField:
|
|
877
|
+
readonly SelectField: react660.FC<Pick<{
|
|
819
878
|
options: {
|
|
820
879
|
label: string;
|
|
821
880
|
value: string;
|
|
@@ -843,7 +902,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
843
902
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
844
903
|
required?: boolean;
|
|
845
904
|
}>;
|
|
846
|
-
readonly ComboboxField:
|
|
905
|
+
readonly ComboboxField: react660.FC<{
|
|
847
906
|
label: string;
|
|
848
907
|
description?: string;
|
|
849
908
|
placeholder?: string;
|
|
@@ -854,7 +913,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
854
913
|
label: string;
|
|
855
914
|
}>;
|
|
856
915
|
}>;
|
|
857
|
-
readonly DateField:
|
|
916
|
+
readonly DateField: react660.FC<Pick<{
|
|
858
917
|
label: string;
|
|
859
918
|
name: string;
|
|
860
919
|
camelCaseName: string;
|
|
@@ -877,12 +936,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
877
936
|
minDate?: Date;
|
|
878
937
|
maxDate?: Date;
|
|
879
938
|
}>;
|
|
880
|
-
readonly SwitchField:
|
|
939
|
+
readonly SwitchField: react660.FC<{
|
|
881
940
|
description?: string | undefined;
|
|
882
941
|
label: string;
|
|
883
942
|
helperText?: string | undefined;
|
|
884
943
|
}>;
|
|
885
|
-
readonly RadioGroupField:
|
|
944
|
+
readonly RadioGroupField: react660.FC<{
|
|
886
945
|
description?: string | undefined;
|
|
887
946
|
label: string;
|
|
888
947
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -894,7 +953,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
894
953
|
}[];
|
|
895
954
|
helperText?: string | undefined;
|
|
896
955
|
}>;
|
|
897
|
-
readonly CheckboxField:
|
|
956
|
+
readonly CheckboxField: react660.FC<{
|
|
898
957
|
description?: string | undefined;
|
|
899
958
|
label: string;
|
|
900
959
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -905,43 +964,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
905
964
|
}[];
|
|
906
965
|
helperText?: string | undefined;
|
|
907
966
|
}>;
|
|
908
|
-
readonly SimpleTextField:
|
|
909
|
-
label
|
|
967
|
+
readonly SimpleTextField: react660.FC<{
|
|
968
|
+
label?: string;
|
|
910
969
|
placeholder?: string;
|
|
911
970
|
required?: boolean;
|
|
912
971
|
maxLength?: number;
|
|
913
972
|
disabled?: boolean;
|
|
914
973
|
}>;
|
|
915
|
-
readonly SimpleEmailField:
|
|
916
|
-
label
|
|
974
|
+
readonly SimpleEmailField: react660.FC<{
|
|
975
|
+
label?: string;
|
|
917
976
|
placeholder?: string;
|
|
918
977
|
required?: boolean;
|
|
919
978
|
maxLength?: number;
|
|
920
979
|
disabled?: boolean;
|
|
921
980
|
}>;
|
|
922
|
-
readonly SimplePasswordField:
|
|
923
|
-
label
|
|
981
|
+
readonly SimplePasswordField: react660.FC<{
|
|
982
|
+
label?: string;
|
|
924
983
|
placeholder?: string;
|
|
925
984
|
required?: boolean;
|
|
926
985
|
disabled?: boolean;
|
|
927
986
|
}>;
|
|
928
|
-
readonly SimpleTextareaField:
|
|
929
|
-
label
|
|
987
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
988
|
+
label?: string;
|
|
930
989
|
placeholder?: string;
|
|
931
990
|
required?: boolean;
|
|
932
991
|
maxLength?: number;
|
|
933
992
|
rows?: number;
|
|
934
993
|
disabled?: boolean;
|
|
935
994
|
}>;
|
|
936
|
-
readonly SimpleNumberField:
|
|
937
|
-
label
|
|
995
|
+
readonly SimpleNumberField: react660.FC<{
|
|
996
|
+
label?: string;
|
|
938
997
|
placeholder?: string;
|
|
939
998
|
required?: boolean;
|
|
940
999
|
unit?: string;
|
|
941
1000
|
allowNegative?: boolean;
|
|
942
1001
|
disabled?: boolean;
|
|
943
1002
|
}>;
|
|
944
|
-
readonly SimpleSelectField:
|
|
1003
|
+
readonly SimpleSelectField: react660.FC<{
|
|
945
1004
|
label?: string;
|
|
946
1005
|
placeholder?: string;
|
|
947
1006
|
required?: boolean;
|
|
@@ -951,47 +1010,81 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
951
1010
|
}>;
|
|
952
1011
|
}>;
|
|
953
1012
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
954
|
-
readonly
|
|
1013
|
+
readonly SimpleBooleanField: react660.FC<{
|
|
1014
|
+
label?: string;
|
|
1015
|
+
required?: boolean;
|
|
1016
|
+
disabled?: boolean;
|
|
1017
|
+
variant?: "checkbox" | "switch";
|
|
1018
|
+
}>;
|
|
1019
|
+
readonly SimpleComboboxField: react660.FC<{
|
|
1020
|
+
label?: string;
|
|
1021
|
+
placeholder?: string;
|
|
1022
|
+
required?: boolean;
|
|
1023
|
+
disabled?: boolean;
|
|
1024
|
+
options: Array<{
|
|
1025
|
+
value: string;
|
|
1026
|
+
label: string;
|
|
1027
|
+
}>;
|
|
1028
|
+
}>;
|
|
1029
|
+
readonly SimpleDateField: react660.FC<{
|
|
1030
|
+
label?: string;
|
|
1031
|
+
placeholder?: string;
|
|
1032
|
+
required?: boolean;
|
|
1033
|
+
disabled?: boolean;
|
|
1034
|
+
minDate?: Date;
|
|
1035
|
+
maxDate?: Date;
|
|
1036
|
+
}>;
|
|
1037
|
+
readonly SimpleRadioGroupField: react660.FC<{
|
|
1038
|
+
label?: string;
|
|
1039
|
+
required?: boolean;
|
|
1040
|
+
disabled?: boolean;
|
|
1041
|
+
options: Array<{
|
|
1042
|
+
value: string;
|
|
1043
|
+
label: string;
|
|
1044
|
+
}>;
|
|
1045
|
+
orientation?: "horizontal" | "vertical";
|
|
1046
|
+
}>;
|
|
1047
|
+
readonly FieldGroup: react660.MemoExoticComponent<({
|
|
955
1048
|
className,
|
|
956
1049
|
...props
|
|
957
|
-
}: React.ComponentProps<"div">) =>
|
|
958
|
-
readonly Field:
|
|
1050
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1051
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
959
1052
|
className,
|
|
960
1053
|
orientation,
|
|
961
1054
|
...props
|
|
962
1055
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
963
1056
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
964
|
-
} &
|
|
965
|
-
readonly FieldContent:
|
|
1057
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
1058
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
966
1059
|
className,
|
|
967
1060
|
...props
|
|
968
|
-
}: React.ComponentProps<"div">) =>
|
|
969
|
-
readonly FieldLabel:
|
|
1061
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1062
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
970
1063
|
className,
|
|
971
1064
|
...props
|
|
972
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
973
|
-
readonly FieldContentMain:
|
|
1065
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
1066
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
974
1067
|
className,
|
|
975
1068
|
...props
|
|
976
|
-
}: React.ComponentProps<"div">) =>
|
|
977
|
-
readonly FieldSeparator:
|
|
1069
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1070
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
978
1071
|
children,
|
|
979
1072
|
className,
|
|
980
1073
|
...props
|
|
981
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
982
|
-
readonly FieldError:
|
|
1074
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
1075
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
983
1076
|
className,
|
|
984
1077
|
children,
|
|
985
1078
|
errors,
|
|
986
1079
|
...props
|
|
987
|
-
}:
|
|
1080
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
988
1081
|
errors?: Array<{
|
|
989
1082
|
code?: string;
|
|
990
1083
|
message?: string;
|
|
991
1084
|
} | undefined>;
|
|
992
|
-
}) =>
|
|
1085
|
+
}) => react660.JSX.Element | null>;
|
|
993
1086
|
}, {
|
|
994
|
-
readonly TanStackDialogForm:
|
|
1087
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
995
1088
|
title: string;
|
|
996
1089
|
submitText?: string;
|
|
997
1090
|
width?: number | string;
|
|
@@ -1000,45 +1093,46 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1000
1093
|
open?: boolean;
|
|
1001
1094
|
onOpenChange?: (open: boolean) => void;
|
|
1002
1095
|
}>>;
|
|
1003
|
-
readonly TanStackPopoverForm:
|
|
1096
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
1004
1097
|
title: string;
|
|
1005
1098
|
open?: boolean;
|
|
1006
1099
|
contentClassName?: string;
|
|
1007
1100
|
onOpenChange?: (open: boolean) => void;
|
|
1008
1101
|
}>>;
|
|
1009
|
-
readonly TanStackContainerForm:
|
|
1010
|
-
children?:
|
|
1102
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
1103
|
+
children?: react660.ReactNode | undefined;
|
|
1011
1104
|
}>;
|
|
1012
|
-
readonly TanStackSectionForm:
|
|
1105
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
1013
1106
|
title: string;
|
|
1014
1107
|
}>>;
|
|
1015
|
-
readonly TanStackCardForm:
|
|
1108
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
1016
1109
|
title: string;
|
|
1017
1110
|
description?: string;
|
|
1018
1111
|
onDelete?: () => void | Promise<void>;
|
|
1019
1112
|
}>>;
|
|
1020
|
-
readonly TanStackFieldGroup:
|
|
1113
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
1021
1114
|
label: string;
|
|
1022
1115
|
description?: string;
|
|
1023
1116
|
helperText?: string;
|
|
1024
1117
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1025
1118
|
}>>;
|
|
1026
|
-
readonly TanStackTitleField:
|
|
1119
|
+
readonly TanStackTitleField: react660.FC<{
|
|
1027
1120
|
title: string;
|
|
1028
1121
|
description?: string;
|
|
1029
1122
|
helperText?: string;
|
|
1030
1123
|
}>;
|
|
1031
|
-
readonly TanStackActionsForm:
|
|
1124
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
1032
1125
|
type?: "create" | "update";
|
|
1033
1126
|
}>>;
|
|
1034
|
-
readonly TanStackActionSubmit:
|
|
1127
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
1035
1128
|
label?: string;
|
|
1036
1129
|
className?: string;
|
|
1037
1130
|
}>;
|
|
1038
1131
|
readonly ArrayCol: typeof ArrayCol;
|
|
1039
|
-
|
|
1132
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1133
|
+
}, TRenderProps>) => react660.FunctionComponent<react660.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
1040
1134
|
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, {
|
|
1041
|
-
readonly TextField:
|
|
1135
|
+
readonly TextField: react660.FC<Pick<{
|
|
1042
1136
|
label: string;
|
|
1043
1137
|
name: string;
|
|
1044
1138
|
camelCaseName: string;
|
|
@@ -1068,7 +1162,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1068
1162
|
required?: boolean;
|
|
1069
1163
|
maxLength?: number;
|
|
1070
1164
|
}>;
|
|
1071
|
-
readonly TextareaField:
|
|
1165
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
1072
1166
|
label: string;
|
|
1073
1167
|
name: string;
|
|
1074
1168
|
camelCaseName: string;
|
|
@@ -1096,7 +1190,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1096
1190
|
required?: boolean;
|
|
1097
1191
|
maxLength?: number;
|
|
1098
1192
|
}>;
|
|
1099
|
-
readonly TextEditorField:
|
|
1193
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
1100
1194
|
label: string;
|
|
1101
1195
|
name: string;
|
|
1102
1196
|
camelCaseName: string;
|
|
@@ -1113,7 +1207,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1113
1207
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1114
1208
|
required?: boolean;
|
|
1115
1209
|
}>;
|
|
1116
|
-
readonly NumberField:
|
|
1210
|
+
readonly NumberField: react660.FC<Pick<{
|
|
1117
1211
|
label: string;
|
|
1118
1212
|
name: string;
|
|
1119
1213
|
camelCaseName: string;
|
|
@@ -1153,7 +1247,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1153
1247
|
required?: boolean;
|
|
1154
1248
|
allowNegative?: boolean;
|
|
1155
1249
|
}>;
|
|
1156
|
-
readonly EmailField:
|
|
1250
|
+
readonly EmailField: react660.FC<Pick<{
|
|
1157
1251
|
rules: {
|
|
1158
1252
|
maxLength?: number | undefined;
|
|
1159
1253
|
minLength?: number | undefined;
|
|
@@ -1173,7 +1267,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1173
1267
|
required?: boolean;
|
|
1174
1268
|
maxLength?: number;
|
|
1175
1269
|
}>;
|
|
1176
|
-
readonly PasswordField:
|
|
1270
|
+
readonly PasswordField: react660.FC<{
|
|
1177
1271
|
description?: string | undefined;
|
|
1178
1272
|
label: string;
|
|
1179
1273
|
placeholder?: string | undefined;
|
|
@@ -1182,7 +1276,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1182
1276
|
helperText?: string | undefined;
|
|
1183
1277
|
showErrorMessage?: boolean | undefined;
|
|
1184
1278
|
}>;
|
|
1185
|
-
readonly SelectField:
|
|
1279
|
+
readonly SelectField: react660.FC<Pick<{
|
|
1186
1280
|
options: {
|
|
1187
1281
|
label: string;
|
|
1188
1282
|
value: string;
|
|
@@ -1210,7 +1304,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1210
1304
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1211
1305
|
required?: boolean;
|
|
1212
1306
|
}>;
|
|
1213
|
-
readonly ComboboxField:
|
|
1307
|
+
readonly ComboboxField: react660.FC<{
|
|
1214
1308
|
label: string;
|
|
1215
1309
|
description?: string;
|
|
1216
1310
|
placeholder?: string;
|
|
@@ -1221,7 +1315,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1221
1315
|
label: string;
|
|
1222
1316
|
}>;
|
|
1223
1317
|
}>;
|
|
1224
|
-
readonly DateField:
|
|
1318
|
+
readonly DateField: react660.FC<Pick<{
|
|
1225
1319
|
label: string;
|
|
1226
1320
|
name: string;
|
|
1227
1321
|
camelCaseName: string;
|
|
@@ -1244,12 +1338,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1244
1338
|
minDate?: Date;
|
|
1245
1339
|
maxDate?: Date;
|
|
1246
1340
|
}>;
|
|
1247
|
-
readonly SwitchField:
|
|
1341
|
+
readonly SwitchField: react660.FC<{
|
|
1248
1342
|
description?: string | undefined;
|
|
1249
1343
|
label: string;
|
|
1250
1344
|
helperText?: string | undefined;
|
|
1251
1345
|
}>;
|
|
1252
|
-
readonly RadioGroupField:
|
|
1346
|
+
readonly RadioGroupField: react660.FC<{
|
|
1253
1347
|
description?: string | undefined;
|
|
1254
1348
|
label: string;
|
|
1255
1349
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1261,7 +1355,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1261
1355
|
}[];
|
|
1262
1356
|
helperText?: string | undefined;
|
|
1263
1357
|
}>;
|
|
1264
|
-
readonly CheckboxField:
|
|
1358
|
+
readonly CheckboxField: react660.FC<{
|
|
1265
1359
|
description?: string | undefined;
|
|
1266
1360
|
label: string;
|
|
1267
1361
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1272,43 +1366,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1272
1366
|
}[];
|
|
1273
1367
|
helperText?: string | undefined;
|
|
1274
1368
|
}>;
|
|
1275
|
-
readonly SimpleTextField:
|
|
1276
|
-
label
|
|
1369
|
+
readonly SimpleTextField: react660.FC<{
|
|
1370
|
+
label?: string;
|
|
1277
1371
|
placeholder?: string;
|
|
1278
1372
|
required?: boolean;
|
|
1279
1373
|
maxLength?: number;
|
|
1280
1374
|
disabled?: boolean;
|
|
1281
1375
|
}>;
|
|
1282
|
-
readonly SimpleEmailField:
|
|
1283
|
-
label
|
|
1376
|
+
readonly SimpleEmailField: react660.FC<{
|
|
1377
|
+
label?: string;
|
|
1284
1378
|
placeholder?: string;
|
|
1285
1379
|
required?: boolean;
|
|
1286
1380
|
maxLength?: number;
|
|
1287
1381
|
disabled?: boolean;
|
|
1288
1382
|
}>;
|
|
1289
|
-
readonly SimplePasswordField:
|
|
1290
|
-
label
|
|
1383
|
+
readonly SimplePasswordField: react660.FC<{
|
|
1384
|
+
label?: string;
|
|
1291
1385
|
placeholder?: string;
|
|
1292
1386
|
required?: boolean;
|
|
1293
1387
|
disabled?: boolean;
|
|
1294
1388
|
}>;
|
|
1295
|
-
readonly SimpleTextareaField:
|
|
1296
|
-
label
|
|
1389
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
1390
|
+
label?: string;
|
|
1297
1391
|
placeholder?: string;
|
|
1298
1392
|
required?: boolean;
|
|
1299
1393
|
maxLength?: number;
|
|
1300
1394
|
rows?: number;
|
|
1301
1395
|
disabled?: boolean;
|
|
1302
1396
|
}>;
|
|
1303
|
-
readonly SimpleNumberField:
|
|
1304
|
-
label
|
|
1397
|
+
readonly SimpleNumberField: react660.FC<{
|
|
1398
|
+
label?: string;
|
|
1305
1399
|
placeholder?: string;
|
|
1306
1400
|
required?: boolean;
|
|
1307
1401
|
unit?: string;
|
|
1308
1402
|
allowNegative?: boolean;
|
|
1309
1403
|
disabled?: boolean;
|
|
1310
1404
|
}>;
|
|
1311
|
-
readonly SimpleSelectField:
|
|
1405
|
+
readonly SimpleSelectField: react660.FC<{
|
|
1312
1406
|
label?: string;
|
|
1313
1407
|
placeholder?: string;
|
|
1314
1408
|
required?: boolean;
|
|
@@ -1318,47 +1412,81 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1318
1412
|
}>;
|
|
1319
1413
|
}>;
|
|
1320
1414
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1321
|
-
readonly
|
|
1415
|
+
readonly SimpleBooleanField: react660.FC<{
|
|
1416
|
+
label?: string;
|
|
1417
|
+
required?: boolean;
|
|
1418
|
+
disabled?: boolean;
|
|
1419
|
+
variant?: "checkbox" | "switch";
|
|
1420
|
+
}>;
|
|
1421
|
+
readonly SimpleComboboxField: react660.FC<{
|
|
1422
|
+
label?: string;
|
|
1423
|
+
placeholder?: string;
|
|
1424
|
+
required?: boolean;
|
|
1425
|
+
disabled?: boolean;
|
|
1426
|
+
options: Array<{
|
|
1427
|
+
value: string;
|
|
1428
|
+
label: string;
|
|
1429
|
+
}>;
|
|
1430
|
+
}>;
|
|
1431
|
+
readonly SimpleDateField: react660.FC<{
|
|
1432
|
+
label?: string;
|
|
1433
|
+
placeholder?: string;
|
|
1434
|
+
required?: boolean;
|
|
1435
|
+
disabled?: boolean;
|
|
1436
|
+
minDate?: Date;
|
|
1437
|
+
maxDate?: Date;
|
|
1438
|
+
}>;
|
|
1439
|
+
readonly SimpleRadioGroupField: react660.FC<{
|
|
1440
|
+
label?: string;
|
|
1441
|
+
required?: boolean;
|
|
1442
|
+
disabled?: boolean;
|
|
1443
|
+
options: Array<{
|
|
1444
|
+
value: string;
|
|
1445
|
+
label: string;
|
|
1446
|
+
}>;
|
|
1447
|
+
orientation?: "horizontal" | "vertical";
|
|
1448
|
+
}>;
|
|
1449
|
+
readonly FieldGroup: react660.MemoExoticComponent<({
|
|
1322
1450
|
className,
|
|
1323
1451
|
...props
|
|
1324
|
-
}: React.ComponentProps<"div">) =>
|
|
1325
|
-
readonly Field:
|
|
1452
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1453
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
1326
1454
|
className,
|
|
1327
1455
|
orientation,
|
|
1328
1456
|
...props
|
|
1329
1457
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1330
1458
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1331
|
-
} &
|
|
1332
|
-
readonly FieldContent:
|
|
1459
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
1460
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
1333
1461
|
className,
|
|
1334
1462
|
...props
|
|
1335
|
-
}: React.ComponentProps<"div">) =>
|
|
1336
|
-
readonly FieldLabel:
|
|
1463
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1464
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
1337
1465
|
className,
|
|
1338
1466
|
...props
|
|
1339
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1340
|
-
readonly FieldContentMain:
|
|
1467
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
1468
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
1341
1469
|
className,
|
|
1342
1470
|
...props
|
|
1343
|
-
}: React.ComponentProps<"div">) =>
|
|
1344
|
-
readonly FieldSeparator:
|
|
1471
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1472
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
1345
1473
|
children,
|
|
1346
1474
|
className,
|
|
1347
1475
|
...props
|
|
1348
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1349
|
-
readonly FieldError:
|
|
1476
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
1477
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
1350
1478
|
className,
|
|
1351
1479
|
children,
|
|
1352
1480
|
errors,
|
|
1353
1481
|
...props
|
|
1354
|
-
}:
|
|
1482
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
1355
1483
|
errors?: Array<{
|
|
1356
1484
|
code?: string;
|
|
1357
1485
|
message?: string;
|
|
1358
1486
|
} | undefined>;
|
|
1359
|
-
}) =>
|
|
1487
|
+
}) => react660.JSX.Element | null>;
|
|
1360
1488
|
}, {
|
|
1361
|
-
readonly TanStackDialogForm:
|
|
1489
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
1362
1490
|
title: string;
|
|
1363
1491
|
submitText?: string;
|
|
1364
1492
|
width?: number | string;
|
|
@@ -1367,49 +1495,50 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1367
1495
|
open?: boolean;
|
|
1368
1496
|
onOpenChange?: (open: boolean) => void;
|
|
1369
1497
|
}>>;
|
|
1370
|
-
readonly TanStackPopoverForm:
|
|
1498
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
1371
1499
|
title: string;
|
|
1372
1500
|
open?: boolean;
|
|
1373
1501
|
contentClassName?: string;
|
|
1374
1502
|
onOpenChange?: (open: boolean) => void;
|
|
1375
1503
|
}>>;
|
|
1376
|
-
readonly TanStackContainerForm:
|
|
1377
|
-
children?:
|
|
1504
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
1505
|
+
children?: react660.ReactNode | undefined;
|
|
1378
1506
|
}>;
|
|
1379
|
-
readonly TanStackSectionForm:
|
|
1507
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
1380
1508
|
title: string;
|
|
1381
1509
|
}>>;
|
|
1382
|
-
readonly TanStackCardForm:
|
|
1510
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
1383
1511
|
title: string;
|
|
1384
1512
|
description?: string;
|
|
1385
1513
|
onDelete?: () => void | Promise<void>;
|
|
1386
1514
|
}>>;
|
|
1387
|
-
readonly TanStackFieldGroup:
|
|
1515
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
1388
1516
|
label: string;
|
|
1389
1517
|
description?: string;
|
|
1390
1518
|
helperText?: string;
|
|
1391
1519
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1392
1520
|
}>>;
|
|
1393
|
-
readonly TanStackTitleField:
|
|
1521
|
+
readonly TanStackTitleField: react660.FC<{
|
|
1394
1522
|
title: string;
|
|
1395
1523
|
description?: string;
|
|
1396
1524
|
helperText?: string;
|
|
1397
1525
|
}>;
|
|
1398
|
-
readonly TanStackActionsForm:
|
|
1526
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
1399
1527
|
type?: "create" | "update";
|
|
1400
1528
|
}>>;
|
|
1401
|
-
readonly TanStackActionSubmit:
|
|
1529
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
1402
1530
|
label?: string;
|
|
1403
1531
|
className?: string;
|
|
1404
1532
|
}>;
|
|
1405
1533
|
readonly ArrayCol: typeof ArrayCol;
|
|
1534
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1406
1535
|
}>;
|
|
1407
1536
|
}>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1408
1537
|
render,
|
|
1409
1538
|
props,
|
|
1410
1539
|
defaultValues
|
|
1411
1540
|
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
1412
|
-
readonly TextField:
|
|
1541
|
+
readonly TextField: react660.FC<Pick<{
|
|
1413
1542
|
label: string;
|
|
1414
1543
|
name: string;
|
|
1415
1544
|
camelCaseName: string;
|
|
@@ -1439,7 +1568,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1439
1568
|
required?: boolean;
|
|
1440
1569
|
maxLength?: number;
|
|
1441
1570
|
}>;
|
|
1442
|
-
readonly TextareaField:
|
|
1571
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
1443
1572
|
label: string;
|
|
1444
1573
|
name: string;
|
|
1445
1574
|
camelCaseName: string;
|
|
@@ -1467,7 +1596,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1467
1596
|
required?: boolean;
|
|
1468
1597
|
maxLength?: number;
|
|
1469
1598
|
}>;
|
|
1470
|
-
readonly TextEditorField:
|
|
1599
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
1471
1600
|
label: string;
|
|
1472
1601
|
name: string;
|
|
1473
1602
|
camelCaseName: string;
|
|
@@ -1484,7 +1613,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1484
1613
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1485
1614
|
required?: boolean;
|
|
1486
1615
|
}>;
|
|
1487
|
-
readonly NumberField:
|
|
1616
|
+
readonly NumberField: react660.FC<Pick<{
|
|
1488
1617
|
label: string;
|
|
1489
1618
|
name: string;
|
|
1490
1619
|
camelCaseName: string;
|
|
@@ -1524,7 +1653,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1524
1653
|
required?: boolean;
|
|
1525
1654
|
allowNegative?: boolean;
|
|
1526
1655
|
}>;
|
|
1527
|
-
readonly EmailField:
|
|
1656
|
+
readonly EmailField: react660.FC<Pick<{
|
|
1528
1657
|
rules: {
|
|
1529
1658
|
maxLength?: number | undefined;
|
|
1530
1659
|
minLength?: number | undefined;
|
|
@@ -1544,7 +1673,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1544
1673
|
required?: boolean;
|
|
1545
1674
|
maxLength?: number;
|
|
1546
1675
|
}>;
|
|
1547
|
-
readonly PasswordField:
|
|
1676
|
+
readonly PasswordField: react660.FC<{
|
|
1548
1677
|
description?: string | undefined;
|
|
1549
1678
|
label: string;
|
|
1550
1679
|
placeholder?: string | undefined;
|
|
@@ -1553,7 +1682,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1553
1682
|
helperText?: string | undefined;
|
|
1554
1683
|
showErrorMessage?: boolean | undefined;
|
|
1555
1684
|
}>;
|
|
1556
|
-
readonly SelectField:
|
|
1685
|
+
readonly SelectField: react660.FC<Pick<{
|
|
1557
1686
|
options: {
|
|
1558
1687
|
label: string;
|
|
1559
1688
|
value: string;
|
|
@@ -1581,7 +1710,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1581
1710
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1582
1711
|
required?: boolean;
|
|
1583
1712
|
}>;
|
|
1584
|
-
readonly ComboboxField:
|
|
1713
|
+
readonly ComboboxField: react660.FC<{
|
|
1585
1714
|
label: string;
|
|
1586
1715
|
description?: string;
|
|
1587
1716
|
placeholder?: string;
|
|
@@ -1592,7 +1721,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1592
1721
|
label: string;
|
|
1593
1722
|
}>;
|
|
1594
1723
|
}>;
|
|
1595
|
-
readonly DateField:
|
|
1724
|
+
readonly DateField: react660.FC<Pick<{
|
|
1596
1725
|
label: string;
|
|
1597
1726
|
name: string;
|
|
1598
1727
|
camelCaseName: string;
|
|
@@ -1615,12 +1744,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1615
1744
|
minDate?: Date;
|
|
1616
1745
|
maxDate?: Date;
|
|
1617
1746
|
}>;
|
|
1618
|
-
readonly SwitchField:
|
|
1747
|
+
readonly SwitchField: react660.FC<{
|
|
1619
1748
|
description?: string | undefined;
|
|
1620
1749
|
label: string;
|
|
1621
1750
|
helperText?: string | undefined;
|
|
1622
1751
|
}>;
|
|
1623
|
-
readonly RadioGroupField:
|
|
1752
|
+
readonly RadioGroupField: react660.FC<{
|
|
1624
1753
|
description?: string | undefined;
|
|
1625
1754
|
label: string;
|
|
1626
1755
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1632,7 +1761,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1632
1761
|
}[];
|
|
1633
1762
|
helperText?: string | undefined;
|
|
1634
1763
|
}>;
|
|
1635
|
-
readonly CheckboxField:
|
|
1764
|
+
readonly CheckboxField: react660.FC<{
|
|
1636
1765
|
description?: string | undefined;
|
|
1637
1766
|
label: string;
|
|
1638
1767
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1643,43 +1772,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1643
1772
|
}[];
|
|
1644
1773
|
helperText?: string | undefined;
|
|
1645
1774
|
}>;
|
|
1646
|
-
readonly SimpleTextField:
|
|
1647
|
-
label
|
|
1775
|
+
readonly SimpleTextField: react660.FC<{
|
|
1776
|
+
label?: string;
|
|
1648
1777
|
placeholder?: string;
|
|
1649
1778
|
required?: boolean;
|
|
1650
1779
|
maxLength?: number;
|
|
1651
1780
|
disabled?: boolean;
|
|
1652
1781
|
}>;
|
|
1653
|
-
readonly SimpleEmailField:
|
|
1654
|
-
label
|
|
1782
|
+
readonly SimpleEmailField: react660.FC<{
|
|
1783
|
+
label?: string;
|
|
1655
1784
|
placeholder?: string;
|
|
1656
1785
|
required?: boolean;
|
|
1657
1786
|
maxLength?: number;
|
|
1658
1787
|
disabled?: boolean;
|
|
1659
1788
|
}>;
|
|
1660
|
-
readonly SimplePasswordField:
|
|
1661
|
-
label
|
|
1789
|
+
readonly SimplePasswordField: react660.FC<{
|
|
1790
|
+
label?: string;
|
|
1662
1791
|
placeholder?: string;
|
|
1663
1792
|
required?: boolean;
|
|
1664
1793
|
disabled?: boolean;
|
|
1665
1794
|
}>;
|
|
1666
|
-
readonly SimpleTextareaField:
|
|
1667
|
-
label
|
|
1795
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
1796
|
+
label?: string;
|
|
1668
1797
|
placeholder?: string;
|
|
1669
1798
|
required?: boolean;
|
|
1670
1799
|
maxLength?: number;
|
|
1671
1800
|
rows?: number;
|
|
1672
1801
|
disabled?: boolean;
|
|
1673
1802
|
}>;
|
|
1674
|
-
readonly SimpleNumberField:
|
|
1675
|
-
label
|
|
1803
|
+
readonly SimpleNumberField: react660.FC<{
|
|
1804
|
+
label?: string;
|
|
1676
1805
|
placeholder?: string;
|
|
1677
1806
|
required?: boolean;
|
|
1678
1807
|
unit?: string;
|
|
1679
1808
|
allowNegative?: boolean;
|
|
1680
1809
|
disabled?: boolean;
|
|
1681
1810
|
}>;
|
|
1682
|
-
readonly SimpleSelectField:
|
|
1811
|
+
readonly SimpleSelectField: react660.FC<{
|
|
1683
1812
|
label?: string;
|
|
1684
1813
|
placeholder?: string;
|
|
1685
1814
|
required?: boolean;
|
|
@@ -1689,47 +1818,81 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1689
1818
|
}>;
|
|
1690
1819
|
}>;
|
|
1691
1820
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1692
|
-
readonly
|
|
1821
|
+
readonly SimpleBooleanField: react660.FC<{
|
|
1822
|
+
label?: string;
|
|
1823
|
+
required?: boolean;
|
|
1824
|
+
disabled?: boolean;
|
|
1825
|
+
variant?: "checkbox" | "switch";
|
|
1826
|
+
}>;
|
|
1827
|
+
readonly SimpleComboboxField: react660.FC<{
|
|
1828
|
+
label?: string;
|
|
1829
|
+
placeholder?: string;
|
|
1830
|
+
required?: boolean;
|
|
1831
|
+
disabled?: boolean;
|
|
1832
|
+
options: Array<{
|
|
1833
|
+
value: string;
|
|
1834
|
+
label: string;
|
|
1835
|
+
}>;
|
|
1836
|
+
}>;
|
|
1837
|
+
readonly SimpleDateField: react660.FC<{
|
|
1838
|
+
label?: string;
|
|
1839
|
+
placeholder?: string;
|
|
1840
|
+
required?: boolean;
|
|
1841
|
+
disabled?: boolean;
|
|
1842
|
+
minDate?: Date;
|
|
1843
|
+
maxDate?: Date;
|
|
1844
|
+
}>;
|
|
1845
|
+
readonly SimpleRadioGroupField: react660.FC<{
|
|
1846
|
+
label?: string;
|
|
1847
|
+
required?: boolean;
|
|
1848
|
+
disabled?: boolean;
|
|
1849
|
+
options: Array<{
|
|
1850
|
+
value: string;
|
|
1851
|
+
label: string;
|
|
1852
|
+
}>;
|
|
1853
|
+
orientation?: "horizontal" | "vertical";
|
|
1854
|
+
}>;
|
|
1855
|
+
readonly FieldGroup: react660.MemoExoticComponent<({
|
|
1693
1856
|
className,
|
|
1694
1857
|
...props
|
|
1695
|
-
}: React.ComponentProps<"div">) =>
|
|
1696
|
-
readonly Field:
|
|
1858
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1859
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
1697
1860
|
className,
|
|
1698
1861
|
orientation,
|
|
1699
1862
|
...props
|
|
1700
1863
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1701
1864
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1702
|
-
} &
|
|
1703
|
-
readonly FieldContent:
|
|
1865
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
1866
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
1704
1867
|
className,
|
|
1705
1868
|
...props
|
|
1706
|
-
}: React.ComponentProps<"div">) =>
|
|
1707
|
-
readonly FieldLabel:
|
|
1869
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1870
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
1708
1871
|
className,
|
|
1709
1872
|
...props
|
|
1710
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1711
|
-
readonly FieldContentMain:
|
|
1873
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
1874
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
1712
1875
|
className,
|
|
1713
1876
|
...props
|
|
1714
|
-
}: React.ComponentProps<"div">) =>
|
|
1715
|
-
readonly FieldSeparator:
|
|
1877
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1878
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
1716
1879
|
children,
|
|
1717
1880
|
className,
|
|
1718
1881
|
...props
|
|
1719
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1720
|
-
readonly FieldError:
|
|
1882
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
1883
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
1721
1884
|
className,
|
|
1722
1885
|
children,
|
|
1723
1886
|
errors,
|
|
1724
1887
|
...props
|
|
1725
|
-
}:
|
|
1888
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
1726
1889
|
errors?: Array<{
|
|
1727
1890
|
code?: string;
|
|
1728
1891
|
message?: string;
|
|
1729
1892
|
} | undefined>;
|
|
1730
|
-
}) =>
|
|
1893
|
+
}) => react660.JSX.Element | null>;
|
|
1731
1894
|
}, {
|
|
1732
|
-
readonly TanStackDialogForm:
|
|
1895
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
1733
1896
|
title: string;
|
|
1734
1897
|
submitText?: string;
|
|
1735
1898
|
width?: number | string;
|
|
@@ -1738,45 +1901,46 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1738
1901
|
open?: boolean;
|
|
1739
1902
|
onOpenChange?: (open: boolean) => void;
|
|
1740
1903
|
}>>;
|
|
1741
|
-
readonly TanStackPopoverForm:
|
|
1904
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
1742
1905
|
title: string;
|
|
1743
1906
|
open?: boolean;
|
|
1744
1907
|
contentClassName?: string;
|
|
1745
1908
|
onOpenChange?: (open: boolean) => void;
|
|
1746
1909
|
}>>;
|
|
1747
|
-
readonly TanStackContainerForm:
|
|
1748
|
-
children?:
|
|
1910
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
1911
|
+
children?: react660.ReactNode | undefined;
|
|
1749
1912
|
}>;
|
|
1750
|
-
readonly TanStackSectionForm:
|
|
1913
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
1751
1914
|
title: string;
|
|
1752
1915
|
}>>;
|
|
1753
|
-
readonly TanStackCardForm:
|
|
1916
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
1754
1917
|
title: string;
|
|
1755
1918
|
description?: string;
|
|
1756
1919
|
onDelete?: () => void | Promise<void>;
|
|
1757
1920
|
}>>;
|
|
1758
|
-
readonly TanStackFieldGroup:
|
|
1921
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
1759
1922
|
label: string;
|
|
1760
1923
|
description?: string;
|
|
1761
1924
|
helperText?: string;
|
|
1762
1925
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1763
1926
|
}>>;
|
|
1764
|
-
readonly TanStackTitleField:
|
|
1927
|
+
readonly TanStackTitleField: react660.FC<{
|
|
1765
1928
|
title: string;
|
|
1766
1929
|
description?: string;
|
|
1767
1930
|
helperText?: string;
|
|
1768
1931
|
}>;
|
|
1769
|
-
readonly TanStackActionsForm:
|
|
1932
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
1770
1933
|
type?: "create" | "update";
|
|
1771
1934
|
}>>;
|
|
1772
|
-
readonly TanStackActionSubmit:
|
|
1935
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
1773
1936
|
label?: string;
|
|
1774
1937
|
className?: string;
|
|
1775
1938
|
}>;
|
|
1776
1939
|
readonly ArrayCol: typeof ArrayCol;
|
|
1777
|
-
|
|
1940
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1941
|
+
}, 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: react660.PropsWithChildren<NoInfer<TRenderProps> & {
|
|
1778
1942
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1779
|
-
readonly TextField:
|
|
1943
|
+
readonly TextField: react660.FC<Pick<{
|
|
1780
1944
|
label: string;
|
|
1781
1945
|
name: string;
|
|
1782
1946
|
camelCaseName: string;
|
|
@@ -1806,7 +1970,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1806
1970
|
required?: boolean;
|
|
1807
1971
|
maxLength?: number;
|
|
1808
1972
|
}>;
|
|
1809
|
-
readonly TextareaField:
|
|
1973
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
1810
1974
|
label: string;
|
|
1811
1975
|
name: string;
|
|
1812
1976
|
camelCaseName: string;
|
|
@@ -1834,7 +1998,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1834
1998
|
required?: boolean;
|
|
1835
1999
|
maxLength?: number;
|
|
1836
2000
|
}>;
|
|
1837
|
-
readonly TextEditorField:
|
|
2001
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
1838
2002
|
label: string;
|
|
1839
2003
|
name: string;
|
|
1840
2004
|
camelCaseName: string;
|
|
@@ -1851,7 +2015,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1851
2015
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1852
2016
|
required?: boolean;
|
|
1853
2017
|
}>;
|
|
1854
|
-
readonly NumberField:
|
|
2018
|
+
readonly NumberField: react660.FC<Pick<{
|
|
1855
2019
|
label: string;
|
|
1856
2020
|
name: string;
|
|
1857
2021
|
camelCaseName: string;
|
|
@@ -1891,7 +2055,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1891
2055
|
required?: boolean;
|
|
1892
2056
|
allowNegative?: boolean;
|
|
1893
2057
|
}>;
|
|
1894
|
-
readonly EmailField:
|
|
2058
|
+
readonly EmailField: react660.FC<Pick<{
|
|
1895
2059
|
rules: {
|
|
1896
2060
|
maxLength?: number | undefined;
|
|
1897
2061
|
minLength?: number | undefined;
|
|
@@ -1911,7 +2075,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1911
2075
|
required?: boolean;
|
|
1912
2076
|
maxLength?: number;
|
|
1913
2077
|
}>;
|
|
1914
|
-
readonly PasswordField:
|
|
2078
|
+
readonly PasswordField: react660.FC<{
|
|
1915
2079
|
description?: string | undefined;
|
|
1916
2080
|
label: string;
|
|
1917
2081
|
placeholder?: string | undefined;
|
|
@@ -1920,7 +2084,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1920
2084
|
helperText?: string | undefined;
|
|
1921
2085
|
showErrorMessage?: boolean | undefined;
|
|
1922
2086
|
}>;
|
|
1923
|
-
readonly SelectField:
|
|
2087
|
+
readonly SelectField: react660.FC<Pick<{
|
|
1924
2088
|
options: {
|
|
1925
2089
|
label: string;
|
|
1926
2090
|
value: string;
|
|
@@ -1948,7 +2112,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1948
2112
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1949
2113
|
required?: boolean;
|
|
1950
2114
|
}>;
|
|
1951
|
-
readonly ComboboxField:
|
|
2115
|
+
readonly ComboboxField: react660.FC<{
|
|
1952
2116
|
label: string;
|
|
1953
2117
|
description?: string;
|
|
1954
2118
|
placeholder?: string;
|
|
@@ -1959,7 +2123,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1959
2123
|
label: string;
|
|
1960
2124
|
}>;
|
|
1961
2125
|
}>;
|
|
1962
|
-
readonly DateField:
|
|
2126
|
+
readonly DateField: react660.FC<Pick<{
|
|
1963
2127
|
label: string;
|
|
1964
2128
|
name: string;
|
|
1965
2129
|
camelCaseName: string;
|
|
@@ -1982,12 +2146,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1982
2146
|
minDate?: Date;
|
|
1983
2147
|
maxDate?: Date;
|
|
1984
2148
|
}>;
|
|
1985
|
-
readonly SwitchField:
|
|
2149
|
+
readonly SwitchField: react660.FC<{
|
|
1986
2150
|
description?: string | undefined;
|
|
1987
2151
|
label: string;
|
|
1988
2152
|
helperText?: string | undefined;
|
|
1989
2153
|
}>;
|
|
1990
|
-
readonly RadioGroupField:
|
|
2154
|
+
readonly RadioGroupField: react660.FC<{
|
|
1991
2155
|
description?: string | undefined;
|
|
1992
2156
|
label: string;
|
|
1993
2157
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1999,7 +2163,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1999
2163
|
}[];
|
|
2000
2164
|
helperText?: string | undefined;
|
|
2001
2165
|
}>;
|
|
2002
|
-
readonly CheckboxField:
|
|
2166
|
+
readonly CheckboxField: react660.FC<{
|
|
2003
2167
|
description?: string | undefined;
|
|
2004
2168
|
label: string;
|
|
2005
2169
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -2010,43 +2174,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2010
2174
|
}[];
|
|
2011
2175
|
helperText?: string | undefined;
|
|
2012
2176
|
}>;
|
|
2013
|
-
readonly SimpleTextField:
|
|
2014
|
-
label
|
|
2177
|
+
readonly SimpleTextField: react660.FC<{
|
|
2178
|
+
label?: string;
|
|
2015
2179
|
placeholder?: string;
|
|
2016
2180
|
required?: boolean;
|
|
2017
2181
|
maxLength?: number;
|
|
2018
2182
|
disabled?: boolean;
|
|
2019
2183
|
}>;
|
|
2020
|
-
readonly SimpleEmailField:
|
|
2021
|
-
label
|
|
2184
|
+
readonly SimpleEmailField: react660.FC<{
|
|
2185
|
+
label?: string;
|
|
2022
2186
|
placeholder?: string;
|
|
2023
2187
|
required?: boolean;
|
|
2024
2188
|
maxLength?: number;
|
|
2025
2189
|
disabled?: boolean;
|
|
2026
2190
|
}>;
|
|
2027
|
-
readonly SimplePasswordField:
|
|
2028
|
-
label
|
|
2191
|
+
readonly SimplePasswordField: react660.FC<{
|
|
2192
|
+
label?: string;
|
|
2029
2193
|
placeholder?: string;
|
|
2030
2194
|
required?: boolean;
|
|
2031
2195
|
disabled?: boolean;
|
|
2032
2196
|
}>;
|
|
2033
|
-
readonly SimpleTextareaField:
|
|
2034
|
-
label
|
|
2197
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
2198
|
+
label?: string;
|
|
2035
2199
|
placeholder?: string;
|
|
2036
2200
|
required?: boolean;
|
|
2037
2201
|
maxLength?: number;
|
|
2038
2202
|
rows?: number;
|
|
2039
2203
|
disabled?: boolean;
|
|
2040
2204
|
}>;
|
|
2041
|
-
readonly SimpleNumberField:
|
|
2042
|
-
label
|
|
2205
|
+
readonly SimpleNumberField: react660.FC<{
|
|
2206
|
+
label?: string;
|
|
2043
2207
|
placeholder?: string;
|
|
2044
2208
|
required?: boolean;
|
|
2045
2209
|
unit?: string;
|
|
2046
2210
|
allowNegative?: boolean;
|
|
2047
2211
|
disabled?: boolean;
|
|
2048
2212
|
}>;
|
|
2049
|
-
readonly SimpleSelectField:
|
|
2213
|
+
readonly SimpleSelectField: react660.FC<{
|
|
2050
2214
|
label?: string;
|
|
2051
2215
|
placeholder?: string;
|
|
2052
2216
|
required?: boolean;
|
|
@@ -2056,47 +2220,81 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2056
2220
|
}>;
|
|
2057
2221
|
}>;
|
|
2058
2222
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2059
|
-
readonly
|
|
2223
|
+
readonly SimpleBooleanField: react660.FC<{
|
|
2224
|
+
label?: string;
|
|
2225
|
+
required?: boolean;
|
|
2226
|
+
disabled?: boolean;
|
|
2227
|
+
variant?: "checkbox" | "switch";
|
|
2228
|
+
}>;
|
|
2229
|
+
readonly SimpleComboboxField: react660.FC<{
|
|
2230
|
+
label?: string;
|
|
2231
|
+
placeholder?: string;
|
|
2232
|
+
required?: boolean;
|
|
2233
|
+
disabled?: boolean;
|
|
2234
|
+
options: Array<{
|
|
2235
|
+
value: string;
|
|
2236
|
+
label: string;
|
|
2237
|
+
}>;
|
|
2238
|
+
}>;
|
|
2239
|
+
readonly SimpleDateField: react660.FC<{
|
|
2240
|
+
label?: string;
|
|
2241
|
+
placeholder?: string;
|
|
2242
|
+
required?: boolean;
|
|
2243
|
+
disabled?: boolean;
|
|
2244
|
+
minDate?: Date;
|
|
2245
|
+
maxDate?: Date;
|
|
2246
|
+
}>;
|
|
2247
|
+
readonly SimpleRadioGroupField: react660.FC<{
|
|
2248
|
+
label?: string;
|
|
2249
|
+
required?: boolean;
|
|
2250
|
+
disabled?: boolean;
|
|
2251
|
+
options: Array<{
|
|
2252
|
+
value: string;
|
|
2253
|
+
label: string;
|
|
2254
|
+
}>;
|
|
2255
|
+
orientation?: "horizontal" | "vertical";
|
|
2256
|
+
}>;
|
|
2257
|
+
readonly FieldGroup: react660.MemoExoticComponent<({
|
|
2060
2258
|
className,
|
|
2061
2259
|
...props
|
|
2062
|
-
}: React.ComponentProps<"div">) =>
|
|
2063
|
-
readonly Field:
|
|
2260
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2261
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
2064
2262
|
className,
|
|
2065
2263
|
orientation,
|
|
2066
2264
|
...props
|
|
2067
2265
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2068
2266
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2069
|
-
} &
|
|
2070
|
-
readonly FieldContent:
|
|
2267
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
2268
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
2071
2269
|
className,
|
|
2072
2270
|
...props
|
|
2073
|
-
}: React.ComponentProps<"div">) =>
|
|
2074
|
-
readonly FieldLabel:
|
|
2271
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2272
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
2075
2273
|
className,
|
|
2076
2274
|
...props
|
|
2077
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
2078
|
-
readonly FieldContentMain:
|
|
2275
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
2276
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
2079
2277
|
className,
|
|
2080
2278
|
...props
|
|
2081
|
-
}: React.ComponentProps<"div">) =>
|
|
2082
|
-
readonly FieldSeparator:
|
|
2279
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2280
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
2083
2281
|
children,
|
|
2084
2282
|
className,
|
|
2085
2283
|
...props
|
|
2086
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
2087
|
-
readonly FieldError:
|
|
2284
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
2285
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
2088
2286
|
className,
|
|
2089
2287
|
children,
|
|
2090
2288
|
errors,
|
|
2091
2289
|
...props
|
|
2092
|
-
}:
|
|
2290
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
2093
2291
|
errors?: Array<{
|
|
2094
2292
|
code?: string;
|
|
2095
2293
|
message?: string;
|
|
2096
2294
|
} | undefined>;
|
|
2097
|
-
}) =>
|
|
2295
|
+
}) => react660.JSX.Element | null>;
|
|
2098
2296
|
}, {
|
|
2099
|
-
readonly TanStackDialogForm:
|
|
2297
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
2100
2298
|
title: string;
|
|
2101
2299
|
submitText?: string;
|
|
2102
2300
|
width?: number | string;
|
|
@@ -2105,44 +2303,45 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2105
2303
|
open?: boolean;
|
|
2106
2304
|
onOpenChange?: (open: boolean) => void;
|
|
2107
2305
|
}>>;
|
|
2108
|
-
readonly TanStackPopoverForm:
|
|
2306
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
2109
2307
|
title: string;
|
|
2110
2308
|
open?: boolean;
|
|
2111
2309
|
contentClassName?: string;
|
|
2112
2310
|
onOpenChange?: (open: boolean) => void;
|
|
2113
2311
|
}>>;
|
|
2114
|
-
readonly TanStackContainerForm:
|
|
2115
|
-
children?:
|
|
2312
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
2313
|
+
children?: react660.ReactNode | undefined;
|
|
2116
2314
|
}>;
|
|
2117
|
-
readonly TanStackSectionForm:
|
|
2315
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
2118
2316
|
title: string;
|
|
2119
2317
|
}>>;
|
|
2120
|
-
readonly TanStackCardForm:
|
|
2318
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
2121
2319
|
title: string;
|
|
2122
2320
|
description?: string;
|
|
2123
2321
|
onDelete?: () => void | Promise<void>;
|
|
2124
2322
|
}>>;
|
|
2125
|
-
readonly TanStackFieldGroup:
|
|
2323
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
2126
2324
|
label: string;
|
|
2127
2325
|
description?: string;
|
|
2128
2326
|
helperText?: string;
|
|
2129
2327
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2130
2328
|
}>>;
|
|
2131
|
-
readonly TanStackTitleField:
|
|
2329
|
+
readonly TanStackTitleField: react660.FC<{
|
|
2132
2330
|
title: string;
|
|
2133
2331
|
description?: string;
|
|
2134
2332
|
helperText?: string;
|
|
2135
2333
|
}>;
|
|
2136
|
-
readonly TanStackActionsForm:
|
|
2334
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
2137
2335
|
type?: "create" | "update";
|
|
2138
2336
|
}>>;
|
|
2139
|
-
readonly TanStackActionSubmit:
|
|
2337
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
2140
2338
|
label?: string;
|
|
2141
2339
|
className?: string;
|
|
2142
2340
|
}>;
|
|
2143
2341
|
readonly ArrayCol: typeof ArrayCol;
|
|
2342
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
2144
2343
|
}> | _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, {
|
|
2145
|
-
readonly TextField:
|
|
2344
|
+
readonly TextField: react660.FC<Pick<{
|
|
2146
2345
|
label: string;
|
|
2147
2346
|
name: string;
|
|
2148
2347
|
camelCaseName: string;
|
|
@@ -2172,7 +2371,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2172
2371
|
required?: boolean;
|
|
2173
2372
|
maxLength?: number;
|
|
2174
2373
|
}>;
|
|
2175
|
-
readonly TextareaField:
|
|
2374
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
2176
2375
|
label: string;
|
|
2177
2376
|
name: string;
|
|
2178
2377
|
camelCaseName: string;
|
|
@@ -2200,7 +2399,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2200
2399
|
required?: boolean;
|
|
2201
2400
|
maxLength?: number;
|
|
2202
2401
|
}>;
|
|
2203
|
-
readonly TextEditorField:
|
|
2402
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
2204
2403
|
label: string;
|
|
2205
2404
|
name: string;
|
|
2206
2405
|
camelCaseName: string;
|
|
@@ -2217,7 +2416,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2217
2416
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
2218
2417
|
required?: boolean;
|
|
2219
2418
|
}>;
|
|
2220
|
-
readonly NumberField:
|
|
2419
|
+
readonly NumberField: react660.FC<Pick<{
|
|
2221
2420
|
label: string;
|
|
2222
2421
|
name: string;
|
|
2223
2422
|
camelCaseName: string;
|
|
@@ -2257,7 +2456,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2257
2456
|
required?: boolean;
|
|
2258
2457
|
allowNegative?: boolean;
|
|
2259
2458
|
}>;
|
|
2260
|
-
readonly EmailField:
|
|
2459
|
+
readonly EmailField: react660.FC<Pick<{
|
|
2261
2460
|
rules: {
|
|
2262
2461
|
maxLength?: number | undefined;
|
|
2263
2462
|
minLength?: number | undefined;
|
|
@@ -2277,7 +2476,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2277
2476
|
required?: boolean;
|
|
2278
2477
|
maxLength?: number;
|
|
2279
2478
|
}>;
|
|
2280
|
-
readonly PasswordField:
|
|
2479
|
+
readonly PasswordField: react660.FC<{
|
|
2281
2480
|
description?: string | undefined;
|
|
2282
2481
|
label: string;
|
|
2283
2482
|
placeholder?: string | undefined;
|
|
@@ -2286,7 +2485,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2286
2485
|
helperText?: string | undefined;
|
|
2287
2486
|
showErrorMessage?: boolean | undefined;
|
|
2288
2487
|
}>;
|
|
2289
|
-
readonly SelectField:
|
|
2488
|
+
readonly SelectField: react660.FC<Pick<{
|
|
2290
2489
|
options: {
|
|
2291
2490
|
label: string;
|
|
2292
2491
|
value: string;
|
|
@@ -2314,7 +2513,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2314
2513
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
2315
2514
|
required?: boolean;
|
|
2316
2515
|
}>;
|
|
2317
|
-
readonly ComboboxField:
|
|
2516
|
+
readonly ComboboxField: react660.FC<{
|
|
2318
2517
|
label: string;
|
|
2319
2518
|
description?: string;
|
|
2320
2519
|
placeholder?: string;
|
|
@@ -2325,7 +2524,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2325
2524
|
label: string;
|
|
2326
2525
|
}>;
|
|
2327
2526
|
}>;
|
|
2328
|
-
readonly DateField:
|
|
2527
|
+
readonly DateField: react660.FC<Pick<{
|
|
2329
2528
|
label: string;
|
|
2330
2529
|
name: string;
|
|
2331
2530
|
camelCaseName: string;
|
|
@@ -2348,12 +2547,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2348
2547
|
minDate?: Date;
|
|
2349
2548
|
maxDate?: Date;
|
|
2350
2549
|
}>;
|
|
2351
|
-
readonly SwitchField:
|
|
2550
|
+
readonly SwitchField: react660.FC<{
|
|
2352
2551
|
description?: string | undefined;
|
|
2353
2552
|
label: string;
|
|
2354
2553
|
helperText?: string | undefined;
|
|
2355
2554
|
}>;
|
|
2356
|
-
readonly RadioGroupField:
|
|
2555
|
+
readonly RadioGroupField: react660.FC<{
|
|
2357
2556
|
description?: string | undefined;
|
|
2358
2557
|
label: string;
|
|
2359
2558
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -2365,7 +2564,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2365
2564
|
}[];
|
|
2366
2565
|
helperText?: string | undefined;
|
|
2367
2566
|
}>;
|
|
2368
|
-
readonly CheckboxField:
|
|
2567
|
+
readonly CheckboxField: react660.FC<{
|
|
2369
2568
|
description?: string | undefined;
|
|
2370
2569
|
label: string;
|
|
2371
2570
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -2376,43 +2575,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2376
2575
|
}[];
|
|
2377
2576
|
helperText?: string | undefined;
|
|
2378
2577
|
}>;
|
|
2379
|
-
readonly SimpleTextField:
|
|
2380
|
-
label
|
|
2578
|
+
readonly SimpleTextField: react660.FC<{
|
|
2579
|
+
label?: string;
|
|
2381
2580
|
placeholder?: string;
|
|
2382
2581
|
required?: boolean;
|
|
2383
2582
|
maxLength?: number;
|
|
2384
2583
|
disabled?: boolean;
|
|
2385
2584
|
}>;
|
|
2386
|
-
readonly SimpleEmailField:
|
|
2387
|
-
label
|
|
2585
|
+
readonly SimpleEmailField: react660.FC<{
|
|
2586
|
+
label?: string;
|
|
2388
2587
|
placeholder?: string;
|
|
2389
2588
|
required?: boolean;
|
|
2390
2589
|
maxLength?: number;
|
|
2391
2590
|
disabled?: boolean;
|
|
2392
2591
|
}>;
|
|
2393
|
-
readonly SimplePasswordField:
|
|
2394
|
-
label
|
|
2592
|
+
readonly SimplePasswordField: react660.FC<{
|
|
2593
|
+
label?: string;
|
|
2395
2594
|
placeholder?: string;
|
|
2396
2595
|
required?: boolean;
|
|
2397
2596
|
disabled?: boolean;
|
|
2398
2597
|
}>;
|
|
2399
|
-
readonly SimpleTextareaField:
|
|
2400
|
-
label
|
|
2598
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
2599
|
+
label?: string;
|
|
2401
2600
|
placeholder?: string;
|
|
2402
2601
|
required?: boolean;
|
|
2403
2602
|
maxLength?: number;
|
|
2404
2603
|
rows?: number;
|
|
2405
2604
|
disabled?: boolean;
|
|
2406
2605
|
}>;
|
|
2407
|
-
readonly SimpleNumberField:
|
|
2408
|
-
label
|
|
2606
|
+
readonly SimpleNumberField: react660.FC<{
|
|
2607
|
+
label?: string;
|
|
2409
2608
|
placeholder?: string;
|
|
2410
2609
|
required?: boolean;
|
|
2411
2610
|
unit?: string;
|
|
2412
2611
|
allowNegative?: boolean;
|
|
2413
2612
|
disabled?: boolean;
|
|
2414
2613
|
}>;
|
|
2415
|
-
readonly SimpleSelectField:
|
|
2614
|
+
readonly SimpleSelectField: react660.FC<{
|
|
2416
2615
|
label?: string;
|
|
2417
2616
|
placeholder?: string;
|
|
2418
2617
|
required?: boolean;
|
|
@@ -2422,47 +2621,81 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2422
2621
|
}>;
|
|
2423
2622
|
}>;
|
|
2424
2623
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2425
|
-
readonly
|
|
2624
|
+
readonly SimpleBooleanField: react660.FC<{
|
|
2625
|
+
label?: string;
|
|
2626
|
+
required?: boolean;
|
|
2627
|
+
disabled?: boolean;
|
|
2628
|
+
variant?: "checkbox" | "switch";
|
|
2629
|
+
}>;
|
|
2630
|
+
readonly SimpleComboboxField: react660.FC<{
|
|
2631
|
+
label?: string;
|
|
2632
|
+
placeholder?: string;
|
|
2633
|
+
required?: boolean;
|
|
2634
|
+
disabled?: boolean;
|
|
2635
|
+
options: Array<{
|
|
2636
|
+
value: string;
|
|
2637
|
+
label: string;
|
|
2638
|
+
}>;
|
|
2639
|
+
}>;
|
|
2640
|
+
readonly SimpleDateField: react660.FC<{
|
|
2641
|
+
label?: string;
|
|
2642
|
+
placeholder?: string;
|
|
2643
|
+
required?: boolean;
|
|
2644
|
+
disabled?: boolean;
|
|
2645
|
+
minDate?: Date;
|
|
2646
|
+
maxDate?: Date;
|
|
2647
|
+
}>;
|
|
2648
|
+
readonly SimpleRadioGroupField: react660.FC<{
|
|
2649
|
+
label?: string;
|
|
2650
|
+
required?: boolean;
|
|
2651
|
+
disabled?: boolean;
|
|
2652
|
+
options: Array<{
|
|
2653
|
+
value: string;
|
|
2654
|
+
label: string;
|
|
2655
|
+
}>;
|
|
2656
|
+
orientation?: "horizontal" | "vertical";
|
|
2657
|
+
}>;
|
|
2658
|
+
readonly FieldGroup: react660.MemoExoticComponent<({
|
|
2426
2659
|
className,
|
|
2427
2660
|
...props
|
|
2428
|
-
}: React.ComponentProps<"div">) =>
|
|
2429
|
-
readonly Field:
|
|
2661
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2662
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
2430
2663
|
className,
|
|
2431
2664
|
orientation,
|
|
2432
2665
|
...props
|
|
2433
2666
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2434
2667
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2435
|
-
} &
|
|
2436
|
-
readonly FieldContent:
|
|
2668
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
2669
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
2437
2670
|
className,
|
|
2438
2671
|
...props
|
|
2439
|
-
}: React.ComponentProps<"div">) =>
|
|
2440
|
-
readonly FieldLabel:
|
|
2672
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2673
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
2441
2674
|
className,
|
|
2442
2675
|
...props
|
|
2443
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
2444
|
-
readonly FieldContentMain:
|
|
2676
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
2677
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
2445
2678
|
className,
|
|
2446
2679
|
...props
|
|
2447
|
-
}: React.ComponentProps<"div">) =>
|
|
2448
|
-
readonly FieldSeparator:
|
|
2680
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2681
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
2449
2682
|
children,
|
|
2450
2683
|
className,
|
|
2451
2684
|
...props
|
|
2452
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
2453
|
-
readonly FieldError:
|
|
2685
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
2686
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
2454
2687
|
className,
|
|
2455
2688
|
children,
|
|
2456
2689
|
errors,
|
|
2457
2690
|
...props
|
|
2458
|
-
}:
|
|
2691
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
2459
2692
|
errors?: Array<{
|
|
2460
2693
|
code?: string;
|
|
2461
2694
|
message?: string;
|
|
2462
2695
|
} | undefined>;
|
|
2463
|
-
}) =>
|
|
2696
|
+
}) => react660.JSX.Element | null>;
|
|
2464
2697
|
}, {
|
|
2465
|
-
readonly TanStackDialogForm:
|
|
2698
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
2466
2699
|
title: string;
|
|
2467
2700
|
submitText?: string;
|
|
2468
2701
|
width?: number | string;
|
|
@@ -2471,45 +2704,46 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2471
2704
|
open?: boolean;
|
|
2472
2705
|
onOpenChange?: (open: boolean) => void;
|
|
2473
2706
|
}>>;
|
|
2474
|
-
readonly TanStackPopoverForm:
|
|
2707
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
2475
2708
|
title: string;
|
|
2476
2709
|
open?: boolean;
|
|
2477
2710
|
contentClassName?: string;
|
|
2478
2711
|
onOpenChange?: (open: boolean) => void;
|
|
2479
2712
|
}>>;
|
|
2480
|
-
readonly TanStackContainerForm:
|
|
2481
|
-
children?:
|
|
2713
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
2714
|
+
children?: react660.ReactNode | undefined;
|
|
2482
2715
|
}>;
|
|
2483
|
-
readonly TanStackSectionForm:
|
|
2716
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
2484
2717
|
title: string;
|
|
2485
2718
|
}>>;
|
|
2486
|
-
readonly TanStackCardForm:
|
|
2719
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
2487
2720
|
title: string;
|
|
2488
2721
|
description?: string;
|
|
2489
2722
|
onDelete?: () => void | Promise<void>;
|
|
2490
2723
|
}>>;
|
|
2491
|
-
readonly TanStackFieldGroup:
|
|
2724
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
2492
2725
|
label: string;
|
|
2493
2726
|
description?: string;
|
|
2494
2727
|
helperText?: string;
|
|
2495
2728
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2496
2729
|
}>>;
|
|
2497
|
-
readonly TanStackTitleField:
|
|
2730
|
+
readonly TanStackTitleField: react660.FC<{
|
|
2498
2731
|
title: string;
|
|
2499
2732
|
description?: string;
|
|
2500
2733
|
helperText?: string;
|
|
2501
2734
|
}>;
|
|
2502
|
-
readonly TanStackActionsForm:
|
|
2735
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
2503
2736
|
type?: "create" | "update";
|
|
2504
2737
|
}>>;
|
|
2505
|
-
readonly TanStackActionSubmit:
|
|
2738
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
2506
2739
|
label?: string;
|
|
2507
2740
|
className?: string;
|
|
2508
2741
|
}>;
|
|
2509
2742
|
readonly ArrayCol: typeof ArrayCol;
|
|
2743
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
2510
2744
|
}>;
|
|
2511
2745
|
fields: TFields;
|
|
2512
|
-
}>) => ReturnType<
|
|
2746
|
+
}>) => ReturnType<react660.FunctionComponent>;
|
|
2513
2747
|
//#endregion
|
|
2514
2748
|
export { withTanStackForm as a, FieldContentMain as c, FieldLabel as d, FieldSeparator as f, withTanStackFieldGroup as i, FieldError as l, useTanStackForm as n, Field as o, useTanStackFormContext as r, FieldContent as s, useTanStackFieldContext as t, FieldGroup as u };
|
|
2515
|
-
//# sourceMappingURL=index-
|
|
2749
|
+
//# sourceMappingURL=index-BJiTJozG.d.cts.map
|