@customafk/lunas-ui 0.2.28 → 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-Ck2z0ECv.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-Bbooe3K0.d.cts → alert-DOsSwv1-.d.cts} +7 -7
- package/dist/{badge-BUDQIgSz.d.mts → badge-Bt62wY4t.d.cts} +4 -4
- package/dist/{badge-Dxa365-r.d.cts → badge-DXiJn9XY.d.mts} +4 -4
- package/dist/{button-C7IuBgb_.d.cts → button-BHCmEoty.d.cts} +5 -5
- package/dist/{button-u7M3BQF5.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/{dialog-CvPMWn6Y.d.mts → dialog-CEaSFdY9.d.cts} +12 -12
- package/dist/{dialog-DE7tIKD6.d.cts → dialog-DWWtnPg0.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +1 -1
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
- 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/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-UfOfYRNf.d.cts → index-BJiTJozG.d.cts} +558 -312
- package/dist/{index-C3dXDjdR.d.mts → index-Cotq70wL.d.cts} +6 -6
- package/dist/{index-DPnJrJS9.d.mts → index-D6UbdtXa.d.mts} +558 -312
- package/dist/{index-rE1M5FGs.d.mts → index-DDYTIEq3.d.mts} +28 -28
- package/dist/{index-CyBWPhx7.d.cts → index-DpqGxieY.d.cts} +27 -27
- package/dist/{index-DpdXz-q5.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-B9XN8dsE.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 +3 -3
- package/dist/layouts/flex.d.mts +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.mjs +1 -1
- 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.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 +2 -2
- 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 +4 -4
- package/dist/ui/button-group.d.mts +4 -4
- 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 +1 -1
- 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 +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.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 +1 -1
- 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/select.d.mts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.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 +28 -28
- 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.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.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 +4 -4
- 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--I4H53bf.cjs +0 -2
- package/dist/tanstack-form--I4H53bf.cjs.map +0 -1
- package/dist/tanstack-form-DKIudGKP.mjs +0 -2
- package/dist/tanstack-form-DKIudGKP.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,94 +606,131 @@ 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;
|
|
686
|
+
width?: number | string;
|
|
687
|
+
maxWidth?: number | string;
|
|
628
688
|
className?: string;
|
|
629
689
|
open?: boolean;
|
|
630
690
|
onOpenChange?: (open: boolean) => void;
|
|
631
691
|
}>>;
|
|
632
|
-
readonly TanStackPopoverForm:
|
|
692
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
633
693
|
title: string;
|
|
634
694
|
open?: boolean;
|
|
635
695
|
contentClassName?: string;
|
|
636
696
|
onOpenChange?: (open: boolean) => void;
|
|
637
697
|
}>>;
|
|
638
|
-
readonly TanStackContainerForm:
|
|
639
|
-
children?:
|
|
698
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
699
|
+
children?: react660.ReactNode | undefined;
|
|
640
700
|
}>;
|
|
641
|
-
readonly TanStackSectionForm:
|
|
701
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
642
702
|
title: string;
|
|
643
703
|
}>>;
|
|
644
|
-
readonly TanStackCardForm:
|
|
704
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
645
705
|
title: string;
|
|
646
706
|
description?: string;
|
|
647
707
|
onDelete?: () => void | Promise<void>;
|
|
648
708
|
}>>;
|
|
649
|
-
readonly TanStackFieldGroup:
|
|
709
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
650
710
|
label: string;
|
|
651
711
|
description?: string;
|
|
652
712
|
helperText?: string;
|
|
653
713
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
654
714
|
}>>;
|
|
655
|
-
readonly TanStackTitleField:
|
|
715
|
+
readonly TanStackTitleField: react660.FC<{
|
|
656
716
|
title: string;
|
|
657
717
|
description?: string;
|
|
658
718
|
helperText?: string;
|
|
659
719
|
}>;
|
|
660
|
-
readonly TanStackActionsForm:
|
|
720
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
661
721
|
type?: "create" | "update";
|
|
662
722
|
}>>;
|
|
663
|
-
readonly TanStackActionSubmit:
|
|
723
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
664
724
|
label?: string;
|
|
665
725
|
className?: string;
|
|
666
726
|
}>;
|
|
667
727
|
readonly ArrayCol: typeof ArrayCol;
|
|
728
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
668
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 = {}>({
|
|
669
730
|
render,
|
|
670
731
|
props
|
|
671
732
|
}: _tanstack_react_form0.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
672
|
-
readonly TextField:
|
|
733
|
+
readonly TextField: react660.FC<Pick<{
|
|
673
734
|
label: string;
|
|
674
735
|
name: string;
|
|
675
736
|
camelCaseName: string;
|
|
@@ -699,7 +760,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
699
760
|
required?: boolean;
|
|
700
761
|
maxLength?: number;
|
|
701
762
|
}>;
|
|
702
|
-
readonly TextareaField:
|
|
763
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
703
764
|
label: string;
|
|
704
765
|
name: string;
|
|
705
766
|
camelCaseName: string;
|
|
@@ -727,7 +788,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
727
788
|
required?: boolean;
|
|
728
789
|
maxLength?: number;
|
|
729
790
|
}>;
|
|
730
|
-
readonly TextEditorField:
|
|
791
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
731
792
|
label: string;
|
|
732
793
|
name: string;
|
|
733
794
|
camelCaseName: string;
|
|
@@ -744,7 +805,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
744
805
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
745
806
|
required?: boolean;
|
|
746
807
|
}>;
|
|
747
|
-
readonly NumberField:
|
|
808
|
+
readonly NumberField: react660.FC<Pick<{
|
|
748
809
|
label: string;
|
|
749
810
|
name: string;
|
|
750
811
|
camelCaseName: string;
|
|
@@ -784,7 +845,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
784
845
|
required?: boolean;
|
|
785
846
|
allowNegative?: boolean;
|
|
786
847
|
}>;
|
|
787
|
-
readonly EmailField:
|
|
848
|
+
readonly EmailField: react660.FC<Pick<{
|
|
788
849
|
rules: {
|
|
789
850
|
maxLength?: number | undefined;
|
|
790
851
|
minLength?: number | undefined;
|
|
@@ -804,7 +865,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
804
865
|
required?: boolean;
|
|
805
866
|
maxLength?: number;
|
|
806
867
|
}>;
|
|
807
|
-
readonly PasswordField:
|
|
868
|
+
readonly PasswordField: react660.FC<{
|
|
808
869
|
description?: string | undefined;
|
|
809
870
|
label: string;
|
|
810
871
|
placeholder?: string | undefined;
|
|
@@ -813,7 +874,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
813
874
|
helperText?: string | undefined;
|
|
814
875
|
showErrorMessage?: boolean | undefined;
|
|
815
876
|
}>;
|
|
816
|
-
readonly SelectField:
|
|
877
|
+
readonly SelectField: react660.FC<Pick<{
|
|
817
878
|
options: {
|
|
818
879
|
label: string;
|
|
819
880
|
value: string;
|
|
@@ -841,7 +902,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
841
902
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
842
903
|
required?: boolean;
|
|
843
904
|
}>;
|
|
844
|
-
readonly ComboboxField:
|
|
905
|
+
readonly ComboboxField: react660.FC<{
|
|
845
906
|
label: string;
|
|
846
907
|
description?: string;
|
|
847
908
|
placeholder?: string;
|
|
@@ -852,7 +913,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
852
913
|
label: string;
|
|
853
914
|
}>;
|
|
854
915
|
}>;
|
|
855
|
-
readonly DateField:
|
|
916
|
+
readonly DateField: react660.FC<Pick<{
|
|
856
917
|
label: string;
|
|
857
918
|
name: string;
|
|
858
919
|
camelCaseName: string;
|
|
@@ -875,12 +936,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
875
936
|
minDate?: Date;
|
|
876
937
|
maxDate?: Date;
|
|
877
938
|
}>;
|
|
878
|
-
readonly SwitchField:
|
|
939
|
+
readonly SwitchField: react660.FC<{
|
|
879
940
|
description?: string | undefined;
|
|
880
941
|
label: string;
|
|
881
942
|
helperText?: string | undefined;
|
|
882
943
|
}>;
|
|
883
|
-
readonly RadioGroupField:
|
|
944
|
+
readonly RadioGroupField: react660.FC<{
|
|
884
945
|
description?: string | undefined;
|
|
885
946
|
label: string;
|
|
886
947
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -892,7 +953,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
892
953
|
}[];
|
|
893
954
|
helperText?: string | undefined;
|
|
894
955
|
}>;
|
|
895
|
-
readonly CheckboxField:
|
|
956
|
+
readonly CheckboxField: react660.FC<{
|
|
896
957
|
description?: string | undefined;
|
|
897
958
|
label: string;
|
|
898
959
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -903,43 +964,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
903
964
|
}[];
|
|
904
965
|
helperText?: string | undefined;
|
|
905
966
|
}>;
|
|
906
|
-
readonly SimpleTextField:
|
|
907
|
-
label
|
|
967
|
+
readonly SimpleTextField: react660.FC<{
|
|
968
|
+
label?: string;
|
|
908
969
|
placeholder?: string;
|
|
909
970
|
required?: boolean;
|
|
910
971
|
maxLength?: number;
|
|
911
972
|
disabled?: boolean;
|
|
912
973
|
}>;
|
|
913
|
-
readonly SimpleEmailField:
|
|
914
|
-
label
|
|
974
|
+
readonly SimpleEmailField: react660.FC<{
|
|
975
|
+
label?: string;
|
|
915
976
|
placeholder?: string;
|
|
916
977
|
required?: boolean;
|
|
917
978
|
maxLength?: number;
|
|
918
979
|
disabled?: boolean;
|
|
919
980
|
}>;
|
|
920
|
-
readonly SimplePasswordField:
|
|
921
|
-
label
|
|
981
|
+
readonly SimplePasswordField: react660.FC<{
|
|
982
|
+
label?: string;
|
|
922
983
|
placeholder?: string;
|
|
923
984
|
required?: boolean;
|
|
924
985
|
disabled?: boolean;
|
|
925
986
|
}>;
|
|
926
|
-
readonly SimpleTextareaField:
|
|
927
|
-
label
|
|
987
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
988
|
+
label?: string;
|
|
928
989
|
placeholder?: string;
|
|
929
990
|
required?: boolean;
|
|
930
991
|
maxLength?: number;
|
|
931
992
|
rows?: number;
|
|
932
993
|
disabled?: boolean;
|
|
933
994
|
}>;
|
|
934
|
-
readonly SimpleNumberField:
|
|
935
|
-
label
|
|
995
|
+
readonly SimpleNumberField: react660.FC<{
|
|
996
|
+
label?: string;
|
|
936
997
|
placeholder?: string;
|
|
937
998
|
required?: boolean;
|
|
938
999
|
unit?: string;
|
|
939
1000
|
allowNegative?: boolean;
|
|
940
1001
|
disabled?: boolean;
|
|
941
1002
|
}>;
|
|
942
|
-
readonly SimpleSelectField:
|
|
1003
|
+
readonly SimpleSelectField: react660.FC<{
|
|
943
1004
|
label?: string;
|
|
944
1005
|
placeholder?: string;
|
|
945
1006
|
required?: boolean;
|
|
@@ -949,92 +1010,129 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
949
1010
|
}>;
|
|
950
1011
|
}>;
|
|
951
1012
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
952
|
-
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<({
|
|
953
1048
|
className,
|
|
954
1049
|
...props
|
|
955
|
-
}: React.ComponentProps<"div">) =>
|
|
956
|
-
readonly Field:
|
|
1050
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1051
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
957
1052
|
className,
|
|
958
1053
|
orientation,
|
|
959
1054
|
...props
|
|
960
1055
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
961
1056
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
962
|
-
} &
|
|
963
|
-
readonly FieldContent:
|
|
1057
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
1058
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
964
1059
|
className,
|
|
965
1060
|
...props
|
|
966
|
-
}: React.ComponentProps<"div">) =>
|
|
967
|
-
readonly FieldLabel:
|
|
1061
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1062
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
968
1063
|
className,
|
|
969
1064
|
...props
|
|
970
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
971
|
-
readonly FieldContentMain:
|
|
1065
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
1066
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
972
1067
|
className,
|
|
973
1068
|
...props
|
|
974
|
-
}: React.ComponentProps<"div">) =>
|
|
975
|
-
readonly FieldSeparator:
|
|
1069
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1070
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
976
1071
|
children,
|
|
977
1072
|
className,
|
|
978
1073
|
...props
|
|
979
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
980
|
-
readonly FieldError:
|
|
1074
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
1075
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
981
1076
|
className,
|
|
982
1077
|
children,
|
|
983
1078
|
errors,
|
|
984
1079
|
...props
|
|
985
|
-
}:
|
|
1080
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
986
1081
|
errors?: Array<{
|
|
987
1082
|
code?: string;
|
|
988
1083
|
message?: string;
|
|
989
1084
|
} | undefined>;
|
|
990
|
-
}) =>
|
|
1085
|
+
}) => react660.JSX.Element | null>;
|
|
991
1086
|
}, {
|
|
992
|
-
readonly TanStackDialogForm:
|
|
1087
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
993
1088
|
title: string;
|
|
994
1089
|
submitText?: string;
|
|
1090
|
+
width?: number | string;
|
|
1091
|
+
maxWidth?: number | string;
|
|
995
1092
|
className?: string;
|
|
996
1093
|
open?: boolean;
|
|
997
1094
|
onOpenChange?: (open: boolean) => void;
|
|
998
1095
|
}>>;
|
|
999
|
-
readonly TanStackPopoverForm:
|
|
1096
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
1000
1097
|
title: string;
|
|
1001
1098
|
open?: boolean;
|
|
1002
1099
|
contentClassName?: string;
|
|
1003
1100
|
onOpenChange?: (open: boolean) => void;
|
|
1004
1101
|
}>>;
|
|
1005
|
-
readonly TanStackContainerForm:
|
|
1006
|
-
children?:
|
|
1102
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
1103
|
+
children?: react660.ReactNode | undefined;
|
|
1007
1104
|
}>;
|
|
1008
|
-
readonly TanStackSectionForm:
|
|
1105
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
1009
1106
|
title: string;
|
|
1010
1107
|
}>>;
|
|
1011
|
-
readonly TanStackCardForm:
|
|
1108
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
1012
1109
|
title: string;
|
|
1013
1110
|
description?: string;
|
|
1014
1111
|
onDelete?: () => void | Promise<void>;
|
|
1015
1112
|
}>>;
|
|
1016
|
-
readonly TanStackFieldGroup:
|
|
1113
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
1017
1114
|
label: string;
|
|
1018
1115
|
description?: string;
|
|
1019
1116
|
helperText?: string;
|
|
1020
1117
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1021
1118
|
}>>;
|
|
1022
|
-
readonly TanStackTitleField:
|
|
1119
|
+
readonly TanStackTitleField: react660.FC<{
|
|
1023
1120
|
title: string;
|
|
1024
1121
|
description?: string;
|
|
1025
1122
|
helperText?: string;
|
|
1026
1123
|
}>;
|
|
1027
|
-
readonly TanStackActionsForm:
|
|
1124
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
1028
1125
|
type?: "create" | "update";
|
|
1029
1126
|
}>>;
|
|
1030
|
-
readonly TanStackActionSubmit:
|
|
1127
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
1031
1128
|
label?: string;
|
|
1032
1129
|
className?: string;
|
|
1033
1130
|
}>;
|
|
1034
1131
|
readonly ArrayCol: typeof ArrayCol;
|
|
1035
|
-
|
|
1132
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1133
|
+
}, TRenderProps>) => react660.FunctionComponent<react660.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
1036
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, {
|
|
1037
|
-
readonly TextField:
|
|
1135
|
+
readonly TextField: react660.FC<Pick<{
|
|
1038
1136
|
label: string;
|
|
1039
1137
|
name: string;
|
|
1040
1138
|
camelCaseName: string;
|
|
@@ -1064,7 +1162,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1064
1162
|
required?: boolean;
|
|
1065
1163
|
maxLength?: number;
|
|
1066
1164
|
}>;
|
|
1067
|
-
readonly TextareaField:
|
|
1165
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
1068
1166
|
label: string;
|
|
1069
1167
|
name: string;
|
|
1070
1168
|
camelCaseName: string;
|
|
@@ -1092,7 +1190,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1092
1190
|
required?: boolean;
|
|
1093
1191
|
maxLength?: number;
|
|
1094
1192
|
}>;
|
|
1095
|
-
readonly TextEditorField:
|
|
1193
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
1096
1194
|
label: string;
|
|
1097
1195
|
name: string;
|
|
1098
1196
|
camelCaseName: string;
|
|
@@ -1109,7 +1207,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1109
1207
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1110
1208
|
required?: boolean;
|
|
1111
1209
|
}>;
|
|
1112
|
-
readonly NumberField:
|
|
1210
|
+
readonly NumberField: react660.FC<Pick<{
|
|
1113
1211
|
label: string;
|
|
1114
1212
|
name: string;
|
|
1115
1213
|
camelCaseName: string;
|
|
@@ -1149,7 +1247,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1149
1247
|
required?: boolean;
|
|
1150
1248
|
allowNegative?: boolean;
|
|
1151
1249
|
}>;
|
|
1152
|
-
readonly EmailField:
|
|
1250
|
+
readonly EmailField: react660.FC<Pick<{
|
|
1153
1251
|
rules: {
|
|
1154
1252
|
maxLength?: number | undefined;
|
|
1155
1253
|
minLength?: number | undefined;
|
|
@@ -1169,7 +1267,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1169
1267
|
required?: boolean;
|
|
1170
1268
|
maxLength?: number;
|
|
1171
1269
|
}>;
|
|
1172
|
-
readonly PasswordField:
|
|
1270
|
+
readonly PasswordField: react660.FC<{
|
|
1173
1271
|
description?: string | undefined;
|
|
1174
1272
|
label: string;
|
|
1175
1273
|
placeholder?: string | undefined;
|
|
@@ -1178,7 +1276,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1178
1276
|
helperText?: string | undefined;
|
|
1179
1277
|
showErrorMessage?: boolean | undefined;
|
|
1180
1278
|
}>;
|
|
1181
|
-
readonly SelectField:
|
|
1279
|
+
readonly SelectField: react660.FC<Pick<{
|
|
1182
1280
|
options: {
|
|
1183
1281
|
label: string;
|
|
1184
1282
|
value: string;
|
|
@@ -1206,7 +1304,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1206
1304
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1207
1305
|
required?: boolean;
|
|
1208
1306
|
}>;
|
|
1209
|
-
readonly ComboboxField:
|
|
1307
|
+
readonly ComboboxField: react660.FC<{
|
|
1210
1308
|
label: string;
|
|
1211
1309
|
description?: string;
|
|
1212
1310
|
placeholder?: string;
|
|
@@ -1217,7 +1315,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1217
1315
|
label: string;
|
|
1218
1316
|
}>;
|
|
1219
1317
|
}>;
|
|
1220
|
-
readonly DateField:
|
|
1318
|
+
readonly DateField: react660.FC<Pick<{
|
|
1221
1319
|
label: string;
|
|
1222
1320
|
name: string;
|
|
1223
1321
|
camelCaseName: string;
|
|
@@ -1240,12 +1338,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1240
1338
|
minDate?: Date;
|
|
1241
1339
|
maxDate?: Date;
|
|
1242
1340
|
}>;
|
|
1243
|
-
readonly SwitchField:
|
|
1341
|
+
readonly SwitchField: react660.FC<{
|
|
1244
1342
|
description?: string | undefined;
|
|
1245
1343
|
label: string;
|
|
1246
1344
|
helperText?: string | undefined;
|
|
1247
1345
|
}>;
|
|
1248
|
-
readonly RadioGroupField:
|
|
1346
|
+
readonly RadioGroupField: react660.FC<{
|
|
1249
1347
|
description?: string | undefined;
|
|
1250
1348
|
label: string;
|
|
1251
1349
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1257,7 +1355,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1257
1355
|
}[];
|
|
1258
1356
|
helperText?: string | undefined;
|
|
1259
1357
|
}>;
|
|
1260
|
-
readonly CheckboxField:
|
|
1358
|
+
readonly CheckboxField: react660.FC<{
|
|
1261
1359
|
description?: string | undefined;
|
|
1262
1360
|
label: string;
|
|
1263
1361
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1268,43 +1366,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1268
1366
|
}[];
|
|
1269
1367
|
helperText?: string | undefined;
|
|
1270
1368
|
}>;
|
|
1271
|
-
readonly SimpleTextField:
|
|
1272
|
-
label
|
|
1369
|
+
readonly SimpleTextField: react660.FC<{
|
|
1370
|
+
label?: string;
|
|
1273
1371
|
placeholder?: string;
|
|
1274
1372
|
required?: boolean;
|
|
1275
1373
|
maxLength?: number;
|
|
1276
1374
|
disabled?: boolean;
|
|
1277
1375
|
}>;
|
|
1278
|
-
readonly SimpleEmailField:
|
|
1279
|
-
label
|
|
1376
|
+
readonly SimpleEmailField: react660.FC<{
|
|
1377
|
+
label?: string;
|
|
1280
1378
|
placeholder?: string;
|
|
1281
1379
|
required?: boolean;
|
|
1282
1380
|
maxLength?: number;
|
|
1283
1381
|
disabled?: boolean;
|
|
1284
1382
|
}>;
|
|
1285
|
-
readonly SimplePasswordField:
|
|
1286
|
-
label
|
|
1383
|
+
readonly SimplePasswordField: react660.FC<{
|
|
1384
|
+
label?: string;
|
|
1287
1385
|
placeholder?: string;
|
|
1288
1386
|
required?: boolean;
|
|
1289
1387
|
disabled?: boolean;
|
|
1290
1388
|
}>;
|
|
1291
|
-
readonly SimpleTextareaField:
|
|
1292
|
-
label
|
|
1389
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
1390
|
+
label?: string;
|
|
1293
1391
|
placeholder?: string;
|
|
1294
1392
|
required?: boolean;
|
|
1295
1393
|
maxLength?: number;
|
|
1296
1394
|
rows?: number;
|
|
1297
1395
|
disabled?: boolean;
|
|
1298
1396
|
}>;
|
|
1299
|
-
readonly SimpleNumberField:
|
|
1300
|
-
label
|
|
1397
|
+
readonly SimpleNumberField: react660.FC<{
|
|
1398
|
+
label?: string;
|
|
1301
1399
|
placeholder?: string;
|
|
1302
1400
|
required?: boolean;
|
|
1303
1401
|
unit?: string;
|
|
1304
1402
|
allowNegative?: boolean;
|
|
1305
1403
|
disabled?: boolean;
|
|
1306
1404
|
}>;
|
|
1307
|
-
readonly SimpleSelectField:
|
|
1405
|
+
readonly SimpleSelectField: react660.FC<{
|
|
1308
1406
|
label?: string;
|
|
1309
1407
|
placeholder?: string;
|
|
1310
1408
|
required?: boolean;
|
|
@@ -1314,96 +1412,133 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1314
1412
|
}>;
|
|
1315
1413
|
}>;
|
|
1316
1414
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1317
|
-
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<({
|
|
1318
1450
|
className,
|
|
1319
1451
|
...props
|
|
1320
|
-
}: React.ComponentProps<"div">) =>
|
|
1321
|
-
readonly Field:
|
|
1452
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1453
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
1322
1454
|
className,
|
|
1323
1455
|
orientation,
|
|
1324
1456
|
...props
|
|
1325
1457
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1326
1458
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1327
|
-
} &
|
|
1328
|
-
readonly FieldContent:
|
|
1459
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
1460
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
1329
1461
|
className,
|
|
1330
1462
|
...props
|
|
1331
|
-
}: React.ComponentProps<"div">) =>
|
|
1332
|
-
readonly FieldLabel:
|
|
1463
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1464
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
1333
1465
|
className,
|
|
1334
1466
|
...props
|
|
1335
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1336
|
-
readonly FieldContentMain:
|
|
1467
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
1468
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
1337
1469
|
className,
|
|
1338
1470
|
...props
|
|
1339
|
-
}: React.ComponentProps<"div">) =>
|
|
1340
|
-
readonly FieldSeparator:
|
|
1471
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1472
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
1341
1473
|
children,
|
|
1342
1474
|
className,
|
|
1343
1475
|
...props
|
|
1344
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1345
|
-
readonly FieldError:
|
|
1476
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
1477
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
1346
1478
|
className,
|
|
1347
1479
|
children,
|
|
1348
1480
|
errors,
|
|
1349
1481
|
...props
|
|
1350
|
-
}:
|
|
1482
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
1351
1483
|
errors?: Array<{
|
|
1352
1484
|
code?: string;
|
|
1353
1485
|
message?: string;
|
|
1354
1486
|
} | undefined>;
|
|
1355
|
-
}) =>
|
|
1487
|
+
}) => react660.JSX.Element | null>;
|
|
1356
1488
|
}, {
|
|
1357
|
-
readonly TanStackDialogForm:
|
|
1489
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
1358
1490
|
title: string;
|
|
1359
1491
|
submitText?: string;
|
|
1492
|
+
width?: number | string;
|
|
1493
|
+
maxWidth?: number | string;
|
|
1360
1494
|
className?: string;
|
|
1361
1495
|
open?: boolean;
|
|
1362
1496
|
onOpenChange?: (open: boolean) => void;
|
|
1363
1497
|
}>>;
|
|
1364
|
-
readonly TanStackPopoverForm:
|
|
1498
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
1365
1499
|
title: string;
|
|
1366
1500
|
open?: boolean;
|
|
1367
1501
|
contentClassName?: string;
|
|
1368
1502
|
onOpenChange?: (open: boolean) => void;
|
|
1369
1503
|
}>>;
|
|
1370
|
-
readonly TanStackContainerForm:
|
|
1371
|
-
children?:
|
|
1504
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
1505
|
+
children?: react660.ReactNode | undefined;
|
|
1372
1506
|
}>;
|
|
1373
|
-
readonly TanStackSectionForm:
|
|
1507
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
1374
1508
|
title: string;
|
|
1375
1509
|
}>>;
|
|
1376
|
-
readonly TanStackCardForm:
|
|
1510
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
1377
1511
|
title: string;
|
|
1378
1512
|
description?: string;
|
|
1379
1513
|
onDelete?: () => void | Promise<void>;
|
|
1380
1514
|
}>>;
|
|
1381
|
-
readonly TanStackFieldGroup:
|
|
1515
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
1382
1516
|
label: string;
|
|
1383
1517
|
description?: string;
|
|
1384
1518
|
helperText?: string;
|
|
1385
1519
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1386
1520
|
}>>;
|
|
1387
|
-
readonly TanStackTitleField:
|
|
1521
|
+
readonly TanStackTitleField: react660.FC<{
|
|
1388
1522
|
title: string;
|
|
1389
1523
|
description?: string;
|
|
1390
1524
|
helperText?: string;
|
|
1391
1525
|
}>;
|
|
1392
|
-
readonly TanStackActionsForm:
|
|
1526
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
1393
1527
|
type?: "create" | "update";
|
|
1394
1528
|
}>>;
|
|
1395
|
-
readonly TanStackActionSubmit:
|
|
1529
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
1396
1530
|
label?: string;
|
|
1397
1531
|
className?: string;
|
|
1398
1532
|
}>;
|
|
1399
1533
|
readonly ArrayCol: typeof ArrayCol;
|
|
1534
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
1400
1535
|
}>;
|
|
1401
1536
|
}>>, withTanStackFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({
|
|
1402
1537
|
render,
|
|
1403
1538
|
props,
|
|
1404
1539
|
defaultValues
|
|
1405
1540
|
}: _tanstack_react_form0.WithFieldGroupProps<TFieldGroupData, {
|
|
1406
|
-
readonly TextField:
|
|
1541
|
+
readonly TextField: react660.FC<Pick<{
|
|
1407
1542
|
label: string;
|
|
1408
1543
|
name: string;
|
|
1409
1544
|
camelCaseName: string;
|
|
@@ -1433,7 +1568,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1433
1568
|
required?: boolean;
|
|
1434
1569
|
maxLength?: number;
|
|
1435
1570
|
}>;
|
|
1436
|
-
readonly TextareaField:
|
|
1571
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
1437
1572
|
label: string;
|
|
1438
1573
|
name: string;
|
|
1439
1574
|
camelCaseName: string;
|
|
@@ -1461,7 +1596,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1461
1596
|
required?: boolean;
|
|
1462
1597
|
maxLength?: number;
|
|
1463
1598
|
}>;
|
|
1464
|
-
readonly TextEditorField:
|
|
1599
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
1465
1600
|
label: string;
|
|
1466
1601
|
name: string;
|
|
1467
1602
|
camelCaseName: string;
|
|
@@ -1478,7 +1613,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1478
1613
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1479
1614
|
required?: boolean;
|
|
1480
1615
|
}>;
|
|
1481
|
-
readonly NumberField:
|
|
1616
|
+
readonly NumberField: react660.FC<Pick<{
|
|
1482
1617
|
label: string;
|
|
1483
1618
|
name: string;
|
|
1484
1619
|
camelCaseName: string;
|
|
@@ -1518,7 +1653,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1518
1653
|
required?: boolean;
|
|
1519
1654
|
allowNegative?: boolean;
|
|
1520
1655
|
}>;
|
|
1521
|
-
readonly EmailField:
|
|
1656
|
+
readonly EmailField: react660.FC<Pick<{
|
|
1522
1657
|
rules: {
|
|
1523
1658
|
maxLength?: number | undefined;
|
|
1524
1659
|
minLength?: number | undefined;
|
|
@@ -1538,7 +1673,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1538
1673
|
required?: boolean;
|
|
1539
1674
|
maxLength?: number;
|
|
1540
1675
|
}>;
|
|
1541
|
-
readonly PasswordField:
|
|
1676
|
+
readonly PasswordField: react660.FC<{
|
|
1542
1677
|
description?: string | undefined;
|
|
1543
1678
|
label: string;
|
|
1544
1679
|
placeholder?: string | undefined;
|
|
@@ -1547,7 +1682,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1547
1682
|
helperText?: string | undefined;
|
|
1548
1683
|
showErrorMessage?: boolean | undefined;
|
|
1549
1684
|
}>;
|
|
1550
|
-
readonly SelectField:
|
|
1685
|
+
readonly SelectField: react660.FC<Pick<{
|
|
1551
1686
|
options: {
|
|
1552
1687
|
label: string;
|
|
1553
1688
|
value: string;
|
|
@@ -1575,7 +1710,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1575
1710
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1576
1711
|
required?: boolean;
|
|
1577
1712
|
}>;
|
|
1578
|
-
readonly ComboboxField:
|
|
1713
|
+
readonly ComboboxField: react660.FC<{
|
|
1579
1714
|
label: string;
|
|
1580
1715
|
description?: string;
|
|
1581
1716
|
placeholder?: string;
|
|
@@ -1586,7 +1721,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1586
1721
|
label: string;
|
|
1587
1722
|
}>;
|
|
1588
1723
|
}>;
|
|
1589
|
-
readonly DateField:
|
|
1724
|
+
readonly DateField: react660.FC<Pick<{
|
|
1590
1725
|
label: string;
|
|
1591
1726
|
name: string;
|
|
1592
1727
|
camelCaseName: string;
|
|
@@ -1609,12 +1744,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1609
1744
|
minDate?: Date;
|
|
1610
1745
|
maxDate?: Date;
|
|
1611
1746
|
}>;
|
|
1612
|
-
readonly SwitchField:
|
|
1747
|
+
readonly SwitchField: react660.FC<{
|
|
1613
1748
|
description?: string | undefined;
|
|
1614
1749
|
label: string;
|
|
1615
1750
|
helperText?: string | undefined;
|
|
1616
1751
|
}>;
|
|
1617
|
-
readonly RadioGroupField:
|
|
1752
|
+
readonly RadioGroupField: react660.FC<{
|
|
1618
1753
|
description?: string | undefined;
|
|
1619
1754
|
label: string;
|
|
1620
1755
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1626,7 +1761,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1626
1761
|
}[];
|
|
1627
1762
|
helperText?: string | undefined;
|
|
1628
1763
|
}>;
|
|
1629
|
-
readonly CheckboxField:
|
|
1764
|
+
readonly CheckboxField: react660.FC<{
|
|
1630
1765
|
description?: string | undefined;
|
|
1631
1766
|
label: string;
|
|
1632
1767
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1637,43 +1772,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1637
1772
|
}[];
|
|
1638
1773
|
helperText?: string | undefined;
|
|
1639
1774
|
}>;
|
|
1640
|
-
readonly SimpleTextField:
|
|
1641
|
-
label
|
|
1775
|
+
readonly SimpleTextField: react660.FC<{
|
|
1776
|
+
label?: string;
|
|
1642
1777
|
placeholder?: string;
|
|
1643
1778
|
required?: boolean;
|
|
1644
1779
|
maxLength?: number;
|
|
1645
1780
|
disabled?: boolean;
|
|
1646
1781
|
}>;
|
|
1647
|
-
readonly SimpleEmailField:
|
|
1648
|
-
label
|
|
1782
|
+
readonly SimpleEmailField: react660.FC<{
|
|
1783
|
+
label?: string;
|
|
1649
1784
|
placeholder?: string;
|
|
1650
1785
|
required?: boolean;
|
|
1651
1786
|
maxLength?: number;
|
|
1652
1787
|
disabled?: boolean;
|
|
1653
1788
|
}>;
|
|
1654
|
-
readonly SimplePasswordField:
|
|
1655
|
-
label
|
|
1789
|
+
readonly SimplePasswordField: react660.FC<{
|
|
1790
|
+
label?: string;
|
|
1656
1791
|
placeholder?: string;
|
|
1657
1792
|
required?: boolean;
|
|
1658
1793
|
disabled?: boolean;
|
|
1659
1794
|
}>;
|
|
1660
|
-
readonly SimpleTextareaField:
|
|
1661
|
-
label
|
|
1795
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
1796
|
+
label?: string;
|
|
1662
1797
|
placeholder?: string;
|
|
1663
1798
|
required?: boolean;
|
|
1664
1799
|
maxLength?: number;
|
|
1665
1800
|
rows?: number;
|
|
1666
1801
|
disabled?: boolean;
|
|
1667
1802
|
}>;
|
|
1668
|
-
readonly SimpleNumberField:
|
|
1669
|
-
label
|
|
1803
|
+
readonly SimpleNumberField: react660.FC<{
|
|
1804
|
+
label?: string;
|
|
1670
1805
|
placeholder?: string;
|
|
1671
1806
|
required?: boolean;
|
|
1672
1807
|
unit?: string;
|
|
1673
1808
|
allowNegative?: boolean;
|
|
1674
1809
|
disabled?: boolean;
|
|
1675
1810
|
}>;
|
|
1676
|
-
readonly SimpleSelectField:
|
|
1811
|
+
readonly SimpleSelectField: react660.FC<{
|
|
1677
1812
|
label?: string;
|
|
1678
1813
|
placeholder?: string;
|
|
1679
1814
|
required?: boolean;
|
|
@@ -1683,92 +1818,129 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1683
1818
|
}>;
|
|
1684
1819
|
}>;
|
|
1685
1820
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
1686
|
-
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<({
|
|
1687
1856
|
className,
|
|
1688
1857
|
...props
|
|
1689
|
-
}: React.ComponentProps<"div">) =>
|
|
1690
|
-
readonly Field:
|
|
1858
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1859
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
1691
1860
|
className,
|
|
1692
1861
|
orientation,
|
|
1693
1862
|
...props
|
|
1694
1863
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
1695
1864
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
1696
|
-
} &
|
|
1697
|
-
readonly FieldContent:
|
|
1865
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
1866
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
1698
1867
|
className,
|
|
1699
1868
|
...props
|
|
1700
|
-
}: React.ComponentProps<"div">) =>
|
|
1701
|
-
readonly FieldLabel:
|
|
1869
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1870
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
1702
1871
|
className,
|
|
1703
1872
|
...props
|
|
1704
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
1705
|
-
readonly FieldContentMain:
|
|
1873
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
1874
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
1706
1875
|
className,
|
|
1707
1876
|
...props
|
|
1708
|
-
}: React.ComponentProps<"div">) =>
|
|
1709
|
-
readonly FieldSeparator:
|
|
1877
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
1878
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
1710
1879
|
children,
|
|
1711
1880
|
className,
|
|
1712
1881
|
...props
|
|
1713
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
1714
|
-
readonly FieldError:
|
|
1882
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
1883
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
1715
1884
|
className,
|
|
1716
1885
|
children,
|
|
1717
1886
|
errors,
|
|
1718
1887
|
...props
|
|
1719
|
-
}:
|
|
1888
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
1720
1889
|
errors?: Array<{
|
|
1721
1890
|
code?: string;
|
|
1722
1891
|
message?: string;
|
|
1723
1892
|
} | undefined>;
|
|
1724
|
-
}) =>
|
|
1893
|
+
}) => react660.JSX.Element | null>;
|
|
1725
1894
|
}, {
|
|
1726
|
-
readonly TanStackDialogForm:
|
|
1895
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
1727
1896
|
title: string;
|
|
1728
1897
|
submitText?: string;
|
|
1898
|
+
width?: number | string;
|
|
1899
|
+
maxWidth?: number | string;
|
|
1729
1900
|
className?: string;
|
|
1730
1901
|
open?: boolean;
|
|
1731
1902
|
onOpenChange?: (open: boolean) => void;
|
|
1732
1903
|
}>>;
|
|
1733
|
-
readonly TanStackPopoverForm:
|
|
1904
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
1734
1905
|
title: string;
|
|
1735
1906
|
open?: boolean;
|
|
1736
1907
|
contentClassName?: string;
|
|
1737
1908
|
onOpenChange?: (open: boolean) => void;
|
|
1738
1909
|
}>>;
|
|
1739
|
-
readonly TanStackContainerForm:
|
|
1740
|
-
children?:
|
|
1910
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
1911
|
+
children?: react660.ReactNode | undefined;
|
|
1741
1912
|
}>;
|
|
1742
|
-
readonly TanStackSectionForm:
|
|
1913
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
1743
1914
|
title: string;
|
|
1744
1915
|
}>>;
|
|
1745
|
-
readonly TanStackCardForm:
|
|
1916
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
1746
1917
|
title: string;
|
|
1747
1918
|
description?: string;
|
|
1748
1919
|
onDelete?: () => void | Promise<void>;
|
|
1749
1920
|
}>>;
|
|
1750
|
-
readonly TanStackFieldGroup:
|
|
1921
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
1751
1922
|
label: string;
|
|
1752
1923
|
description?: string;
|
|
1753
1924
|
helperText?: string;
|
|
1754
1925
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
1755
1926
|
}>>;
|
|
1756
|
-
readonly TanStackTitleField:
|
|
1927
|
+
readonly TanStackTitleField: react660.FC<{
|
|
1757
1928
|
title: string;
|
|
1758
1929
|
description?: string;
|
|
1759
1930
|
helperText?: string;
|
|
1760
1931
|
}>;
|
|
1761
|
-
readonly TanStackActionsForm:
|
|
1932
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
1762
1933
|
type?: "create" | "update";
|
|
1763
1934
|
}>>;
|
|
1764
|
-
readonly TanStackActionSubmit:
|
|
1935
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
1765
1936
|
label?: string;
|
|
1766
1937
|
className?: string;
|
|
1767
1938
|
}>;
|
|
1768
1939
|
readonly ArrayCol: typeof ArrayCol;
|
|
1769
|
-
|
|
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> & {
|
|
1770
1942
|
form: _tanstack_react_form0.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
1771
|
-
readonly TextField:
|
|
1943
|
+
readonly TextField: react660.FC<Pick<{
|
|
1772
1944
|
label: string;
|
|
1773
1945
|
name: string;
|
|
1774
1946
|
camelCaseName: string;
|
|
@@ -1798,7 +1970,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1798
1970
|
required?: boolean;
|
|
1799
1971
|
maxLength?: number;
|
|
1800
1972
|
}>;
|
|
1801
|
-
readonly TextareaField:
|
|
1973
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
1802
1974
|
label: string;
|
|
1803
1975
|
name: string;
|
|
1804
1976
|
camelCaseName: string;
|
|
@@ -1826,7 +1998,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1826
1998
|
required?: boolean;
|
|
1827
1999
|
maxLength?: number;
|
|
1828
2000
|
}>;
|
|
1829
|
-
readonly TextEditorField:
|
|
2001
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
1830
2002
|
label: string;
|
|
1831
2003
|
name: string;
|
|
1832
2004
|
camelCaseName: string;
|
|
@@ -1843,7 +2015,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1843
2015
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
1844
2016
|
required?: boolean;
|
|
1845
2017
|
}>;
|
|
1846
|
-
readonly NumberField:
|
|
2018
|
+
readonly NumberField: react660.FC<Pick<{
|
|
1847
2019
|
label: string;
|
|
1848
2020
|
name: string;
|
|
1849
2021
|
camelCaseName: string;
|
|
@@ -1883,7 +2055,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1883
2055
|
required?: boolean;
|
|
1884
2056
|
allowNegative?: boolean;
|
|
1885
2057
|
}>;
|
|
1886
|
-
readonly EmailField:
|
|
2058
|
+
readonly EmailField: react660.FC<Pick<{
|
|
1887
2059
|
rules: {
|
|
1888
2060
|
maxLength?: number | undefined;
|
|
1889
2061
|
minLength?: number | undefined;
|
|
@@ -1903,7 +2075,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1903
2075
|
required?: boolean;
|
|
1904
2076
|
maxLength?: number;
|
|
1905
2077
|
}>;
|
|
1906
|
-
readonly PasswordField:
|
|
2078
|
+
readonly PasswordField: react660.FC<{
|
|
1907
2079
|
description?: string | undefined;
|
|
1908
2080
|
label: string;
|
|
1909
2081
|
placeholder?: string | undefined;
|
|
@@ -1912,7 +2084,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1912
2084
|
helperText?: string | undefined;
|
|
1913
2085
|
showErrorMessage?: boolean | undefined;
|
|
1914
2086
|
}>;
|
|
1915
|
-
readonly SelectField:
|
|
2087
|
+
readonly SelectField: react660.FC<Pick<{
|
|
1916
2088
|
options: {
|
|
1917
2089
|
label: string;
|
|
1918
2090
|
value: string;
|
|
@@ -1940,7 +2112,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1940
2112
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
1941
2113
|
required?: boolean;
|
|
1942
2114
|
}>;
|
|
1943
|
-
readonly ComboboxField:
|
|
2115
|
+
readonly ComboboxField: react660.FC<{
|
|
1944
2116
|
label: string;
|
|
1945
2117
|
description?: string;
|
|
1946
2118
|
placeholder?: string;
|
|
@@ -1951,7 +2123,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1951
2123
|
label: string;
|
|
1952
2124
|
}>;
|
|
1953
2125
|
}>;
|
|
1954
|
-
readonly DateField:
|
|
2126
|
+
readonly DateField: react660.FC<Pick<{
|
|
1955
2127
|
label: string;
|
|
1956
2128
|
name: string;
|
|
1957
2129
|
camelCaseName: string;
|
|
@@ -1974,12 +2146,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1974
2146
|
minDate?: Date;
|
|
1975
2147
|
maxDate?: Date;
|
|
1976
2148
|
}>;
|
|
1977
|
-
readonly SwitchField:
|
|
2149
|
+
readonly SwitchField: react660.FC<{
|
|
1978
2150
|
description?: string | undefined;
|
|
1979
2151
|
label: string;
|
|
1980
2152
|
helperText?: string | undefined;
|
|
1981
2153
|
}>;
|
|
1982
|
-
readonly RadioGroupField:
|
|
2154
|
+
readonly RadioGroupField: react660.FC<{
|
|
1983
2155
|
description?: string | undefined;
|
|
1984
2156
|
label: string;
|
|
1985
2157
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -1991,7 +2163,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
1991
2163
|
}[];
|
|
1992
2164
|
helperText?: string | undefined;
|
|
1993
2165
|
}>;
|
|
1994
|
-
readonly CheckboxField:
|
|
2166
|
+
readonly CheckboxField: react660.FC<{
|
|
1995
2167
|
description?: string | undefined;
|
|
1996
2168
|
label: string;
|
|
1997
2169
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -2002,43 +2174,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2002
2174
|
}[];
|
|
2003
2175
|
helperText?: string | undefined;
|
|
2004
2176
|
}>;
|
|
2005
|
-
readonly SimpleTextField:
|
|
2006
|
-
label
|
|
2177
|
+
readonly SimpleTextField: react660.FC<{
|
|
2178
|
+
label?: string;
|
|
2007
2179
|
placeholder?: string;
|
|
2008
2180
|
required?: boolean;
|
|
2009
2181
|
maxLength?: number;
|
|
2010
2182
|
disabled?: boolean;
|
|
2011
2183
|
}>;
|
|
2012
|
-
readonly SimpleEmailField:
|
|
2013
|
-
label
|
|
2184
|
+
readonly SimpleEmailField: react660.FC<{
|
|
2185
|
+
label?: string;
|
|
2014
2186
|
placeholder?: string;
|
|
2015
2187
|
required?: boolean;
|
|
2016
2188
|
maxLength?: number;
|
|
2017
2189
|
disabled?: boolean;
|
|
2018
2190
|
}>;
|
|
2019
|
-
readonly SimplePasswordField:
|
|
2020
|
-
label
|
|
2191
|
+
readonly SimplePasswordField: react660.FC<{
|
|
2192
|
+
label?: string;
|
|
2021
2193
|
placeholder?: string;
|
|
2022
2194
|
required?: boolean;
|
|
2023
2195
|
disabled?: boolean;
|
|
2024
2196
|
}>;
|
|
2025
|
-
readonly SimpleTextareaField:
|
|
2026
|
-
label
|
|
2197
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
2198
|
+
label?: string;
|
|
2027
2199
|
placeholder?: string;
|
|
2028
2200
|
required?: boolean;
|
|
2029
2201
|
maxLength?: number;
|
|
2030
2202
|
rows?: number;
|
|
2031
2203
|
disabled?: boolean;
|
|
2032
2204
|
}>;
|
|
2033
|
-
readonly SimpleNumberField:
|
|
2034
|
-
label
|
|
2205
|
+
readonly SimpleNumberField: react660.FC<{
|
|
2206
|
+
label?: string;
|
|
2035
2207
|
placeholder?: string;
|
|
2036
2208
|
required?: boolean;
|
|
2037
2209
|
unit?: string;
|
|
2038
2210
|
allowNegative?: boolean;
|
|
2039
2211
|
disabled?: boolean;
|
|
2040
2212
|
}>;
|
|
2041
|
-
readonly SimpleSelectField:
|
|
2213
|
+
readonly SimpleSelectField: react660.FC<{
|
|
2042
2214
|
label?: string;
|
|
2043
2215
|
placeholder?: string;
|
|
2044
2216
|
required?: boolean;
|
|
@@ -2048,91 +2220,128 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2048
2220
|
}>;
|
|
2049
2221
|
}>;
|
|
2050
2222
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2051
|
-
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<({
|
|
2052
2258
|
className,
|
|
2053
2259
|
...props
|
|
2054
|
-
}: React.ComponentProps<"div">) =>
|
|
2055
|
-
readonly Field:
|
|
2260
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2261
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
2056
2262
|
className,
|
|
2057
2263
|
orientation,
|
|
2058
2264
|
...props
|
|
2059
2265
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2060
2266
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2061
|
-
} &
|
|
2062
|
-
readonly FieldContent:
|
|
2267
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
2268
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
2063
2269
|
className,
|
|
2064
2270
|
...props
|
|
2065
|
-
}: React.ComponentProps<"div">) =>
|
|
2066
|
-
readonly FieldLabel:
|
|
2271
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2272
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
2067
2273
|
className,
|
|
2068
2274
|
...props
|
|
2069
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
2070
|
-
readonly FieldContentMain:
|
|
2275
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
2276
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
2071
2277
|
className,
|
|
2072
2278
|
...props
|
|
2073
|
-
}: React.ComponentProps<"div">) =>
|
|
2074
|
-
readonly FieldSeparator:
|
|
2279
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2280
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
2075
2281
|
children,
|
|
2076
2282
|
className,
|
|
2077
2283
|
...props
|
|
2078
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
2079
|
-
readonly FieldError:
|
|
2284
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
2285
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
2080
2286
|
className,
|
|
2081
2287
|
children,
|
|
2082
2288
|
errors,
|
|
2083
2289
|
...props
|
|
2084
|
-
}:
|
|
2290
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
2085
2291
|
errors?: Array<{
|
|
2086
2292
|
code?: string;
|
|
2087
2293
|
message?: string;
|
|
2088
2294
|
} | undefined>;
|
|
2089
|
-
}) =>
|
|
2295
|
+
}) => react660.JSX.Element | null>;
|
|
2090
2296
|
}, {
|
|
2091
|
-
readonly TanStackDialogForm:
|
|
2297
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
2092
2298
|
title: string;
|
|
2093
2299
|
submitText?: string;
|
|
2300
|
+
width?: number | string;
|
|
2301
|
+
maxWidth?: number | string;
|
|
2094
2302
|
className?: string;
|
|
2095
2303
|
open?: boolean;
|
|
2096
2304
|
onOpenChange?: (open: boolean) => void;
|
|
2097
2305
|
}>>;
|
|
2098
|
-
readonly TanStackPopoverForm:
|
|
2306
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
2099
2307
|
title: string;
|
|
2100
2308
|
open?: boolean;
|
|
2101
2309
|
contentClassName?: string;
|
|
2102
2310
|
onOpenChange?: (open: boolean) => void;
|
|
2103
2311
|
}>>;
|
|
2104
|
-
readonly TanStackContainerForm:
|
|
2105
|
-
children?:
|
|
2312
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
2313
|
+
children?: react660.ReactNode | undefined;
|
|
2106
2314
|
}>;
|
|
2107
|
-
readonly TanStackSectionForm:
|
|
2315
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
2108
2316
|
title: string;
|
|
2109
2317
|
}>>;
|
|
2110
|
-
readonly TanStackCardForm:
|
|
2318
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
2111
2319
|
title: string;
|
|
2112
2320
|
description?: string;
|
|
2113
2321
|
onDelete?: () => void | Promise<void>;
|
|
2114
2322
|
}>>;
|
|
2115
|
-
readonly TanStackFieldGroup:
|
|
2323
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
2116
2324
|
label: string;
|
|
2117
2325
|
description?: string;
|
|
2118
2326
|
helperText?: string;
|
|
2119
2327
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2120
2328
|
}>>;
|
|
2121
|
-
readonly TanStackTitleField:
|
|
2329
|
+
readonly TanStackTitleField: react660.FC<{
|
|
2122
2330
|
title: string;
|
|
2123
2331
|
description?: string;
|
|
2124
2332
|
helperText?: string;
|
|
2125
2333
|
}>;
|
|
2126
|
-
readonly TanStackActionsForm:
|
|
2334
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
2127
2335
|
type?: "create" | "update";
|
|
2128
2336
|
}>>;
|
|
2129
|
-
readonly TanStackActionSubmit:
|
|
2337
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
2130
2338
|
label?: string;
|
|
2131
2339
|
className?: string;
|
|
2132
2340
|
}>;
|
|
2133
2341
|
readonly ArrayCol: typeof ArrayCol;
|
|
2342
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
2134
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, {
|
|
2135
|
-
readonly TextField:
|
|
2344
|
+
readonly TextField: react660.FC<Pick<{
|
|
2136
2345
|
label: string;
|
|
2137
2346
|
name: string;
|
|
2138
2347
|
camelCaseName: string;
|
|
@@ -2162,7 +2371,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2162
2371
|
required?: boolean;
|
|
2163
2372
|
maxLength?: number;
|
|
2164
2373
|
}>;
|
|
2165
|
-
readonly TextareaField:
|
|
2374
|
+
readonly TextareaField: react660.FC<Pick<{
|
|
2166
2375
|
label: string;
|
|
2167
2376
|
name: string;
|
|
2168
2377
|
camelCaseName: string;
|
|
@@ -2190,7 +2399,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2190
2399
|
required?: boolean;
|
|
2191
2400
|
maxLength?: number;
|
|
2192
2401
|
}>;
|
|
2193
|
-
readonly TextEditorField:
|
|
2402
|
+
readonly TextEditorField: react660.FC<Pick<{
|
|
2194
2403
|
label: string;
|
|
2195
2404
|
name: string;
|
|
2196
2405
|
camelCaseName: string;
|
|
@@ -2207,7 +2416,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2207
2416
|
}, "description" | "label" | "placeholder" | "tooltip" | "helperText" | "showErrorMessage"> & {
|
|
2208
2417
|
required?: boolean;
|
|
2209
2418
|
}>;
|
|
2210
|
-
readonly NumberField:
|
|
2419
|
+
readonly NumberField: react660.FC<Pick<{
|
|
2211
2420
|
label: string;
|
|
2212
2421
|
name: string;
|
|
2213
2422
|
camelCaseName: string;
|
|
@@ -2247,7 +2456,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2247
2456
|
required?: boolean;
|
|
2248
2457
|
allowNegative?: boolean;
|
|
2249
2458
|
}>;
|
|
2250
|
-
readonly EmailField:
|
|
2459
|
+
readonly EmailField: react660.FC<Pick<{
|
|
2251
2460
|
rules: {
|
|
2252
2461
|
maxLength?: number | undefined;
|
|
2253
2462
|
minLength?: number | undefined;
|
|
@@ -2267,7 +2476,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2267
2476
|
required?: boolean;
|
|
2268
2477
|
maxLength?: number;
|
|
2269
2478
|
}>;
|
|
2270
|
-
readonly PasswordField:
|
|
2479
|
+
readonly PasswordField: react660.FC<{
|
|
2271
2480
|
description?: string | undefined;
|
|
2272
2481
|
label: string;
|
|
2273
2482
|
placeholder?: string | undefined;
|
|
@@ -2276,7 +2485,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2276
2485
|
helperText?: string | undefined;
|
|
2277
2486
|
showErrorMessage?: boolean | undefined;
|
|
2278
2487
|
}>;
|
|
2279
|
-
readonly SelectField:
|
|
2488
|
+
readonly SelectField: react660.FC<Pick<{
|
|
2280
2489
|
options: {
|
|
2281
2490
|
label: string;
|
|
2282
2491
|
value: string;
|
|
@@ -2304,7 +2513,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2304
2513
|
}, "description" | "label" | "defaultValue" | "placeholder" | "orientation" | "tooltip" | "options" | "helperText" | "clearable"> & {
|
|
2305
2514
|
required?: boolean;
|
|
2306
2515
|
}>;
|
|
2307
|
-
readonly ComboboxField:
|
|
2516
|
+
readonly ComboboxField: react660.FC<{
|
|
2308
2517
|
label: string;
|
|
2309
2518
|
description?: string;
|
|
2310
2519
|
placeholder?: string;
|
|
@@ -2315,7 +2524,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2315
2524
|
label: string;
|
|
2316
2525
|
}>;
|
|
2317
2526
|
}>;
|
|
2318
|
-
readonly DateField:
|
|
2527
|
+
readonly DateField: react660.FC<Pick<{
|
|
2319
2528
|
label: string;
|
|
2320
2529
|
name: string;
|
|
2321
2530
|
camelCaseName: string;
|
|
@@ -2338,12 +2547,12 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2338
2547
|
minDate?: Date;
|
|
2339
2548
|
maxDate?: Date;
|
|
2340
2549
|
}>;
|
|
2341
|
-
readonly SwitchField:
|
|
2550
|
+
readonly SwitchField: react660.FC<{
|
|
2342
2551
|
description?: string | undefined;
|
|
2343
2552
|
label: string;
|
|
2344
2553
|
helperText?: string | undefined;
|
|
2345
2554
|
}>;
|
|
2346
|
-
readonly RadioGroupField:
|
|
2555
|
+
readonly RadioGroupField: react660.FC<{
|
|
2347
2556
|
description?: string | undefined;
|
|
2348
2557
|
label: string;
|
|
2349
2558
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -2355,7 +2564,7 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2355
2564
|
}[];
|
|
2356
2565
|
helperText?: string | undefined;
|
|
2357
2566
|
}>;
|
|
2358
|
-
readonly CheckboxField:
|
|
2567
|
+
readonly CheckboxField: react660.FC<{
|
|
2359
2568
|
description?: string | undefined;
|
|
2360
2569
|
label: string;
|
|
2361
2570
|
orientation?: "vertical" | "horizontal" | "responsive" | undefined;
|
|
@@ -2366,43 +2575,43 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2366
2575
|
}[];
|
|
2367
2576
|
helperText?: string | undefined;
|
|
2368
2577
|
}>;
|
|
2369
|
-
readonly SimpleTextField:
|
|
2370
|
-
label
|
|
2578
|
+
readonly SimpleTextField: react660.FC<{
|
|
2579
|
+
label?: string;
|
|
2371
2580
|
placeholder?: string;
|
|
2372
2581
|
required?: boolean;
|
|
2373
2582
|
maxLength?: number;
|
|
2374
2583
|
disabled?: boolean;
|
|
2375
2584
|
}>;
|
|
2376
|
-
readonly SimpleEmailField:
|
|
2377
|
-
label
|
|
2585
|
+
readonly SimpleEmailField: react660.FC<{
|
|
2586
|
+
label?: string;
|
|
2378
2587
|
placeholder?: string;
|
|
2379
2588
|
required?: boolean;
|
|
2380
2589
|
maxLength?: number;
|
|
2381
2590
|
disabled?: boolean;
|
|
2382
2591
|
}>;
|
|
2383
|
-
readonly SimplePasswordField:
|
|
2384
|
-
label
|
|
2592
|
+
readonly SimplePasswordField: react660.FC<{
|
|
2593
|
+
label?: string;
|
|
2385
2594
|
placeholder?: string;
|
|
2386
2595
|
required?: boolean;
|
|
2387
2596
|
disabled?: boolean;
|
|
2388
2597
|
}>;
|
|
2389
|
-
readonly SimpleTextareaField:
|
|
2390
|
-
label
|
|
2598
|
+
readonly SimpleTextareaField: react660.FC<{
|
|
2599
|
+
label?: string;
|
|
2391
2600
|
placeholder?: string;
|
|
2392
2601
|
required?: boolean;
|
|
2393
2602
|
maxLength?: number;
|
|
2394
2603
|
rows?: number;
|
|
2395
2604
|
disabled?: boolean;
|
|
2396
2605
|
}>;
|
|
2397
|
-
readonly SimpleNumberField:
|
|
2398
|
-
label
|
|
2606
|
+
readonly SimpleNumberField: react660.FC<{
|
|
2607
|
+
label?: string;
|
|
2399
2608
|
placeholder?: string;
|
|
2400
2609
|
required?: boolean;
|
|
2401
2610
|
unit?: string;
|
|
2402
2611
|
allowNegative?: boolean;
|
|
2403
2612
|
disabled?: boolean;
|
|
2404
2613
|
}>;
|
|
2405
|
-
readonly SimpleSelectField:
|
|
2614
|
+
readonly SimpleSelectField: react660.FC<{
|
|
2406
2615
|
label?: string;
|
|
2407
2616
|
placeholder?: string;
|
|
2408
2617
|
required?: boolean;
|
|
@@ -2412,92 +2621,129 @@ declare const useTanStackForm: <TFormData, TOnMount extends _tanstack_form_core0
|
|
|
2412
2621
|
}>;
|
|
2413
2622
|
}>;
|
|
2414
2623
|
readonly SimpleArrayField: typeof SimpleArrayField;
|
|
2415
|
-
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<({
|
|
2416
2659
|
className,
|
|
2417
2660
|
...props
|
|
2418
|
-
}: React.ComponentProps<"div">) =>
|
|
2419
|
-
readonly Field:
|
|
2661
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2662
|
+
readonly Field: react660.MemoExoticComponent<({
|
|
2420
2663
|
className,
|
|
2421
2664
|
orientation,
|
|
2422
2665
|
...props
|
|
2423
2666
|
}: React.ComponentProps<"div"> & class_variance_authority0.VariantProps<(props?: ({
|
|
2424
2667
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
2425
|
-
} &
|
|
2426
|
-
readonly FieldContent:
|
|
2668
|
+
} & class_variance_authority_types23.ClassProp) | undefined) => string>) => react660.JSX.Element>;
|
|
2669
|
+
readonly FieldContent: react660.MemoExoticComponent<({
|
|
2427
2670
|
className,
|
|
2428
2671
|
...props
|
|
2429
|
-
}: React.ComponentProps<"div">) =>
|
|
2430
|
-
readonly FieldLabel:
|
|
2672
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2673
|
+
readonly FieldLabel: react660.MemoExoticComponent<({
|
|
2431
2674
|
className,
|
|
2432
2675
|
...props
|
|
2433
|
-
}: React.ComponentProps<typeof Label$1>) =>
|
|
2434
|
-
readonly FieldContentMain:
|
|
2676
|
+
}: React.ComponentProps<typeof Label$1>) => react660.JSX.Element>;
|
|
2677
|
+
readonly FieldContentMain: react660.MemoExoticComponent<({
|
|
2435
2678
|
className,
|
|
2436
2679
|
...props
|
|
2437
|
-
}: React.ComponentProps<"div">) =>
|
|
2438
|
-
readonly FieldSeparator:
|
|
2680
|
+
}: React.ComponentProps<"div">) => react660.JSX.Element>;
|
|
2681
|
+
readonly FieldSeparator: react660.MemoExoticComponent<({
|
|
2439
2682
|
children,
|
|
2440
2683
|
className,
|
|
2441
2684
|
...props
|
|
2442
|
-
}: React.PropsWithChildren<React.ComponentProps<"div">>) =>
|
|
2443
|
-
readonly FieldError:
|
|
2685
|
+
}: React.PropsWithChildren<React.ComponentProps<"div">>) => react660.JSX.Element>;
|
|
2686
|
+
readonly FieldError: react660.MemoExoticComponent<({
|
|
2444
2687
|
className,
|
|
2445
2688
|
children,
|
|
2446
2689
|
errors,
|
|
2447
2690
|
...props
|
|
2448
|
-
}:
|
|
2691
|
+
}: react660.ClassAttributes<HTMLDivElement> & react660.HTMLAttributes<HTMLDivElement> & {
|
|
2449
2692
|
errors?: Array<{
|
|
2450
2693
|
code?: string;
|
|
2451
2694
|
message?: string;
|
|
2452
2695
|
} | undefined>;
|
|
2453
|
-
}) =>
|
|
2696
|
+
}) => react660.JSX.Element | null>;
|
|
2454
2697
|
}, {
|
|
2455
|
-
readonly TanStackDialogForm:
|
|
2698
|
+
readonly TanStackDialogForm: react660.FC<react660.PropsWithChildren<{
|
|
2456
2699
|
title: string;
|
|
2457
2700
|
submitText?: string;
|
|
2701
|
+
width?: number | string;
|
|
2702
|
+
maxWidth?: number | string;
|
|
2458
2703
|
className?: string;
|
|
2459
2704
|
open?: boolean;
|
|
2460
2705
|
onOpenChange?: (open: boolean) => void;
|
|
2461
2706
|
}>>;
|
|
2462
|
-
readonly TanStackPopoverForm:
|
|
2707
|
+
readonly TanStackPopoverForm: react660.FC<react660.PropsWithChildren<{
|
|
2463
2708
|
title: string;
|
|
2464
2709
|
open?: boolean;
|
|
2465
2710
|
contentClassName?: string;
|
|
2466
2711
|
onOpenChange?: (open: boolean) => void;
|
|
2467
2712
|
}>>;
|
|
2468
|
-
readonly TanStackContainerForm:
|
|
2469
|
-
children?:
|
|
2713
|
+
readonly TanStackContainerForm: react660.FC<{
|
|
2714
|
+
children?: react660.ReactNode | undefined;
|
|
2470
2715
|
}>;
|
|
2471
|
-
readonly TanStackSectionForm:
|
|
2716
|
+
readonly TanStackSectionForm: react660.FC<react660.PropsWithChildren<{
|
|
2472
2717
|
title: string;
|
|
2473
2718
|
}>>;
|
|
2474
|
-
readonly TanStackCardForm:
|
|
2719
|
+
readonly TanStackCardForm: react660.FC<react660.PropsWithChildren<{
|
|
2475
2720
|
title: string;
|
|
2476
2721
|
description?: string;
|
|
2477
2722
|
onDelete?: () => void | Promise<void>;
|
|
2478
2723
|
}>>;
|
|
2479
|
-
readonly TanStackFieldGroup:
|
|
2724
|
+
readonly TanStackFieldGroup: react660.FC<react660.PropsWithChildren<{
|
|
2480
2725
|
label: string;
|
|
2481
2726
|
description?: string;
|
|
2482
2727
|
helperText?: string;
|
|
2483
2728
|
orientation?: "horizontal" | "vertical" | "responsive";
|
|
2484
2729
|
}>>;
|
|
2485
|
-
readonly TanStackTitleField:
|
|
2730
|
+
readonly TanStackTitleField: react660.FC<{
|
|
2486
2731
|
title: string;
|
|
2487
2732
|
description?: string;
|
|
2488
2733
|
helperText?: string;
|
|
2489
2734
|
}>;
|
|
2490
|
-
readonly TanStackActionsForm:
|
|
2735
|
+
readonly TanStackActionsForm: react660.FC<react660.PropsWithChildren<{
|
|
2491
2736
|
type?: "create" | "update";
|
|
2492
2737
|
}>>;
|
|
2493
|
-
readonly TanStackActionSubmit:
|
|
2738
|
+
readonly TanStackActionSubmit: react660.FC<{
|
|
2494
2739
|
label?: string;
|
|
2495
2740
|
className?: string;
|
|
2496
2741
|
}>;
|
|
2497
2742
|
readonly ArrayCol: typeof ArrayCol;
|
|
2743
|
+
readonly ArrayHeaderRow: typeof ArrayHeaderRow;
|
|
2498
2744
|
}>;
|
|
2499
2745
|
fields: TFields;
|
|
2500
|
-
}>) => ReturnType<
|
|
2746
|
+
}>) => ReturnType<react660.FunctionComponent>;
|
|
2501
2747
|
//#endregion
|
|
2502
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 };
|
|
2503
|
-
//# sourceMappingURL=index-
|
|
2749
|
+
//# sourceMappingURL=index-BJiTJozG.d.cts.map
|