@krak-stack/registry 0.1.60 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/components/ui/app-brand.js +17 -17
- package/dist/components/ui/code-block.js +6 -6
- package/dist/components/ui/color-picker.d.ts +30 -0
- package/dist/components/ui/color-picker.js +386 -0
- package/dist/components/ui/copy-button.js +4 -4
- package/dist/components/ui/data-table.js +468 -455
- package/dist/components/ui/editing-locale-switcher.js +10 -10
- package/dist/components/ui/effect-form.js +186 -185
- package/dist/components/ui/error-component.js +10 -18
- package/dist/components/ui/file-picker.js +2 -2
- package/dist/components/ui/form.d.ts +131 -335
- package/dist/components/ui/form.js +137 -136
- package/dist/components/ui/google-map.js +38 -6
- package/dist/components/ui/icon-input.js +48 -45
- package/dist/components/ui/krakstack-provider.js +2 -2
- package/dist/components/ui/locale-switcher.js +4 -4
- package/dist/components/ui/pagination.js +2 -2
- package/dist/components/ui/search-menu.js +2 -2
- package/dist/components/ui/sidebar-layout.js +82 -80
- package/dist/components/ui/theme-switcher.js +6 -6
- package/dist/components/ui/virtualized-combobox.js +34 -31
- package/dist/lib/docs.d.ts +2 -2
- package/dist/lib/docs.js +187 -185
- package/dist/lib/docs.server.js +45 -23
- package/dist/lib/documentation-toolkit.d.ts +2 -2
- package/dist/lib/documentation-toolkit.js +45 -23
- package/dist/lib/httpapi-adapter.d.ts +11 -3
- package/dist/lib/httpapi-adapter.js +42 -15
- package/dist/lib/httpapi-cli.d.ts +13 -4
- package/dist/lib/httpapi-cli.js +70 -28
- package/dist/lib/httpapi-toolkit.js +40 -13
- package/dist/lib/query.d.ts +4 -4
- package/dist/lib/query.js +13 -13
- package/dist/lib/seo.js +2 -2
- package/dist/lib/webfetch-toolkit.js +7 -7
- package/dist/oxlint/anti-slop/index.js +2 -2
- package/dist/services/agent/client/index.js +155 -153
- package/dist/services/agent/index.js +3 -3
- package/dist/services/agent/schema.js +5 -5
- package/dist/services/events/browser.js +38 -23
- package/dist/services/events/client/audit-log-table.js +472 -459
- package/dist/services/events/client/tracking-notice.js +9 -4
- package/dist/services/events/index.d.ts +3 -1
- package/dist/services/events/index.js +79 -74
- package/dist/services/events/migrations.js +2 -2
- package/dist/services/events/record.js +2 -2
- package/dist/services/events/schema.d.ts +18 -10
- package/dist/services/events/schema.js +42 -42
- package/dist/services/file-extraction/index.js +4 -4
- package/dist/services/file-extraction/schema.d.ts +3 -1
- package/dist/services/file-extraction/schema.js +2 -2
- package/dist/services/health/api.builder.d.ts +8 -8
- package/dist/services/health/api.group.d.ts +8 -8
- package/dist/services/health/index.d.ts +10 -6
- package/dist/services/health/index.js +17 -13
- package/dist/services/health/schema.d.ts +7 -7
- package/dist/services/notification/channels/ses/index.js +2 -2
- package/dist/services/notification/channels/ses/schema.js +2 -2
- package/dist/services/notification/client/index.js +5 -5
- package/dist/services/notification/index.js +3 -3
- package/dist/services/notification/persistence/drizzle.js +2 -2
- package/dist/services/notification/persistence/index.js +15 -15
- package/dist/services/notification/persistence/schema.js +12 -12
- package/dist/services/notification/public.js +8 -8
- package/dist/services/notification/schema.d.ts +3 -1
- package/dist/services/notification/schema.js +2 -2
- package/dist/services/opentelemetry/api.js +7 -5
- package/dist/services/opentelemetry/browser.js +9 -9
- package/dist/services/opentelemetry/index.js +2 -2
- package/dist/services/opentelemetry/processor.d.ts +3 -1
- package/dist/services/opentelemetry/web-vitals.js +12 -7
- package/dist/services/s3/index.js +2 -2
- package/dist/services/s3/schema.d.ts +3 -1
- package/dist/services/s3/schema.js +2 -2
- package/dist/services/speech/api.js +3 -1
- package/dist/services/speech/index.js +15 -8
- package/dist/services/speech/schema.d.ts +3 -1
- package/dist/services/speech/schema.js +12 -10
- package/dist/services/webhooks/client/delivery-table.d.ts +62 -0
- package/dist/services/webhooks/client/delivery-table.js +4711 -0
- package/dist/services/webhooks/http-client.d.ts +1 -0
- package/dist/services/webhooks/http-client.js +17 -5
- package/dist/services/webhooks/index.d.ts +2 -0
- package/dist/services/webhooks/index.js +249 -114
- package/dist/services/webhooks/migrations.d.ts +3 -0
- package/dist/services/webhooks/migrations.js +21 -2
- package/dist/services/webhooks/receiver.d.ts +45 -0
- package/dist/services/webhooks/schema.d.ts +15 -5
- package/dist/services/webhooks/schema.js +41 -21
- package/dist/services/webhooks/url.d.ts +5 -0
- package/dist/services/webhooks/url.js +18 -2
- package/package.json +10 -1
|
@@ -75,7 +75,7 @@ function CopyButton({
|
|
|
75
75
|
valueDescription,
|
|
76
76
|
copyVariant = "default",
|
|
77
77
|
locale: localeOverride,
|
|
78
|
-
messages,
|
|
78
|
+
messages: messages2,
|
|
79
79
|
onCopied,
|
|
80
80
|
onCopyError,
|
|
81
81
|
resetDelay = 1500,
|
|
@@ -87,7 +87,7 @@ function CopyButton({
|
|
|
87
87
|
const locale = useKrakstackLocale(localeOverride);
|
|
88
88
|
const [copyState, setCopyState] = useState("idle");
|
|
89
89
|
const copyTimeout = useRef(undefined);
|
|
90
|
-
const labels = copyButtonMessages(locale,
|
|
90
|
+
const labels = copyButtonMessages(locale, messages2);
|
|
91
91
|
const accessibleLabel = ariaLabel ?? (valueDescription ? `${labels.copy} ${valueDescription}` : labels.copy);
|
|
92
92
|
const isLarge = copyVariant === "large";
|
|
93
93
|
const defaultSize = copyVariant === "sm" ? "icon-xs" : isLarge ? "sm" : "icon-sm";
|
|
@@ -275,7 +275,7 @@ var defaultMessages = {
|
|
|
275
275
|
var ErrorComponent = ({
|
|
276
276
|
error,
|
|
277
277
|
locale: localeOverride,
|
|
278
|
-
messages,
|
|
278
|
+
messages: messages2,
|
|
279
279
|
retryable = true,
|
|
280
280
|
className,
|
|
281
281
|
diagnostics
|
|
@@ -286,34 +286,26 @@ var ErrorComponent = ({
|
|
|
286
286
|
});
|
|
287
287
|
const labels = useMemo(() => ({
|
|
288
288
|
...defaultMessages[locale.startsWith("fr") ? "fr" : "en"],
|
|
289
|
-
...
|
|
290
|
-
...
|
|
291
|
-
}), [locale,
|
|
289
|
+
...messages2?.[locale.split("-")[0] ?? locale],
|
|
290
|
+
...messages2?.[locale]
|
|
291
|
+
}), [locale, messages2]);
|
|
292
292
|
const standardError = error instanceof Error ? error : undefined;
|
|
293
293
|
const errorName = standardError?.name ?? labels.errorLabel;
|
|
294
294
|
const errorMessage = standardError?.message.trim() || labels.description;
|
|
295
295
|
const reference = diagnostics?.reference ?? (standardError ? getErrorTraceId(standardError) : undefined);
|
|
296
|
-
const
|
|
296
|
+
const [reportedAt] = useState2(() => new Date().toISOString());
|
|
297
|
+
const report = [
|
|
297
298
|
`${labels.errorLabel}: ${errorName}`,
|
|
298
299
|
`${labels.messageLabel}: ${errorMessage}`,
|
|
299
300
|
"",
|
|
300
301
|
`${labels.pageLabel}: ${pathname}`,
|
|
301
|
-
`${labels.timeLabel}: ${
|
|
302
|
+
`${labels.timeLabel}: ${reportedAt}`,
|
|
302
303
|
`${labels.languageLabel}: ${locale}`,
|
|
303
304
|
...diagnostics?.app ? [`${labels.appLabel}: ${diagnostics.app}`] : [],
|
|
304
305
|
...diagnostics?.version ? [`${labels.versionLabel}: ${diagnostics.version}`] : [],
|
|
305
306
|
...reference ? [`${labels.referenceLabel}: ${reference}`] : []
|
|
306
307
|
].join(`
|
|
307
|
-
`)
|
|
308
|
-
errorName,
|
|
309
|
-
errorMessage,
|
|
310
|
-
pathname,
|
|
311
|
-
locale,
|
|
312
|
-
labels,
|
|
313
|
-
diagnostics?.app,
|
|
314
|
-
diagnostics?.version,
|
|
315
|
-
reference
|
|
316
|
-
]);
|
|
308
|
+
`);
|
|
317
309
|
const [copyResult, setCopyResult] = useState2(null);
|
|
318
310
|
const copyStatus = copyResult?.report === report ? copyResult.status : undefined;
|
|
319
311
|
return /* @__PURE__ */ jsx5("main", {
|
|
@@ -245,7 +245,7 @@ var FilePicker = ({
|
|
|
245
245
|
image,
|
|
246
246
|
invalid = false,
|
|
247
247
|
locale: localeOverride,
|
|
248
|
-
messages,
|
|
248
|
+
messages: messages2,
|
|
249
249
|
multiple = false,
|
|
250
250
|
name,
|
|
251
251
|
onBlur,
|
|
@@ -256,7 +256,7 @@ var FilePicker = ({
|
|
|
256
256
|
title
|
|
257
257
|
}) => {
|
|
258
258
|
const locale = useKrakstackLocale(localeOverride);
|
|
259
|
-
const labels = filePickerMessages(locale,
|
|
259
|
+
const labels = filePickerMessages(locale, messages2);
|
|
260
260
|
const inputRef = useRef(null);
|
|
261
261
|
const dragDepthRef = useRef(0);
|
|
262
262
|
const [dragging, setDragging] = useState(false);
|
|
@@ -61,6 +61,9 @@ export type DefaultOptions = {
|
|
|
61
61
|
label: JSX.Element | string;
|
|
62
62
|
description?: string;
|
|
63
63
|
};
|
|
64
|
+
declare const TextField: ({ children, ...props }: React.ComponentProps<"input"> & DefaultOptions) => JSX.Element;
|
|
65
|
+
declare const TextAreaField: ({ children, ...props }: React.ComponentProps<"textarea"> & DefaultOptions) => JSX.Element;
|
|
66
|
+
declare const CheckboxField: (props: DefaultOptions) => JSX.Element;
|
|
64
67
|
type SelectFieldOption = {
|
|
65
68
|
label: string;
|
|
66
69
|
value: string;
|
|
@@ -73,6 +76,13 @@ type SelectFieldProps = DefaultOptions & {
|
|
|
73
76
|
} | {
|
|
74
77
|
multiple: true;
|
|
75
78
|
});
|
|
79
|
+
declare const SelectField: ({ description, label, multiple, options, placeholder, }: SelectFieldProps) => JSX.Element;
|
|
80
|
+
declare const KeyValueField: (props: DefaultOptions & {
|
|
81
|
+
locale?: string;
|
|
82
|
+
messages?: FormMessageTranslations;
|
|
83
|
+
}) => JSX.Element;
|
|
84
|
+
/** @deprecated Use SelectField with the multiple prop. */
|
|
85
|
+
declare const MultiSelectField: (props: Omit<SelectFieldProps, "multiple">) => JSX.Element;
|
|
76
86
|
type SearchableSelectFieldSharedProps<TData> = DefaultOptions & {
|
|
77
87
|
emptyLabel: React.ReactNode;
|
|
78
88
|
initialItems?: readonly VirtualizedComboboxOption<TData>[];
|
|
@@ -89,10 +99,37 @@ type SearchableSelectFieldProps<TData> = SearchableSelectFieldSharedProps<TData>
|
|
|
89
99
|
} | {
|
|
90
100
|
multiple: true;
|
|
91
101
|
});
|
|
102
|
+
declare const SearchableSelectField: <TData>({ description, label, multiple, ...props }: SearchableSelectFieldProps<TData>) => JSX.Element;
|
|
103
|
+
declare const FileField: ({ label, accept, filePickerMessages, locale: localeOverride, messages, onFileChange, required, }: Omit<DefaultOptions, "description"> & {
|
|
104
|
+
accept: InputHTMLAttributes<HTMLInputElement>["accept"];
|
|
105
|
+
filePickerMessages?: FilePickerMessageTranslations;
|
|
106
|
+
locale?: string;
|
|
107
|
+
messages?: FormMessageTranslations;
|
|
108
|
+
onFileChange?: (file: File | "") => void;
|
|
109
|
+
required?: boolean;
|
|
110
|
+
}) => JSX.Element;
|
|
111
|
+
declare const ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
112
|
+
filePickerMessages?: FilePickerMessageTranslations;
|
|
113
|
+
label: string;
|
|
114
|
+
locale?: string;
|
|
115
|
+
messages?: FormMessageTranslations;
|
|
116
|
+
size: {
|
|
117
|
+
width: number;
|
|
118
|
+
height: number;
|
|
119
|
+
suggestedWidth?: number;
|
|
120
|
+
suggestedHeight?: number;
|
|
121
|
+
};
|
|
122
|
+
}) => JSX.Element;
|
|
92
123
|
export declare const BlockNavigation: ({ locale, messages, }: {
|
|
93
124
|
locale?: string;
|
|
94
125
|
messages?: FormMessageTranslations;
|
|
95
126
|
}) => JSX.Element;
|
|
127
|
+
declare const SubmitButton: ({ children, locale, messages, }: {
|
|
128
|
+
children?: React.ReactNode;
|
|
129
|
+
locale?: string;
|
|
130
|
+
messages?: FormMessageTranslations;
|
|
131
|
+
}) => JSX.Element;
|
|
132
|
+
declare const FormError: () => JSX.Element;
|
|
96
133
|
export declare const FieldWrapper: ({ children, legend, localized, description, locales, editingLocale, }: {
|
|
97
134
|
children: React.ReactNode;
|
|
98
135
|
} & DefaultFormOptions & {
|
|
@@ -103,351 +140,110 @@ export declare const FieldWrapper: ({ children, legend, localized, description,
|
|
|
103
140
|
value: string;
|
|
104
141
|
}[];
|
|
105
142
|
}) => JSX.Element;
|
|
106
|
-
declare const
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
readonly
|
|
122
|
-
locale?: string;
|
|
123
|
-
messages?: FormMessageTranslations;
|
|
124
|
-
}) => JSX.Element;
|
|
125
|
-
readonly ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
126
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
127
|
-
label: string;
|
|
128
|
-
locale?: string;
|
|
129
|
-
messages?: FormMessageTranslations;
|
|
130
|
-
size: {
|
|
131
|
-
width: number;
|
|
132
|
-
height: number;
|
|
133
|
-
suggestedWidth?: number;
|
|
134
|
-
suggestedHeight?: number;
|
|
135
|
-
};
|
|
136
|
-
}) => JSX.Element;
|
|
137
|
-
readonly RevertButton: ({ locale, messages, original, }: {
|
|
138
|
-
locale?: string;
|
|
139
|
-
messages?: FormMessageTranslations;
|
|
140
|
-
original: string;
|
|
141
|
-
}) => JSX.Element | undefined;
|
|
143
|
+
declare const RevertButton: ({ locale, messages, original, }: {
|
|
144
|
+
locale?: string;
|
|
145
|
+
messages?: FormMessageTranslations;
|
|
146
|
+
original: string;
|
|
147
|
+
}) => JSX.Element | undefined;
|
|
148
|
+
declare const useAppForm: <TFormData, TOnMount extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChange extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TSubmitMeta>(props: import("@tanstack/react-form").FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
149
|
+
readonly TextField: typeof TextField;
|
|
150
|
+
readonly TextAreaField: typeof TextAreaField;
|
|
151
|
+
readonly SelectField: typeof SelectField;
|
|
152
|
+
readonly MultiSelectField: typeof MultiSelectField;
|
|
153
|
+
readonly SearchableSelectField: typeof SearchableSelectField;
|
|
154
|
+
readonly CheckboxField: typeof CheckboxField;
|
|
155
|
+
readonly FileField: typeof FileField;
|
|
156
|
+
readonly KeyValueField: typeof KeyValueField;
|
|
157
|
+
readonly ImageField: typeof ImageField;
|
|
158
|
+
readonly RevertButton: typeof RevertButton;
|
|
142
159
|
}, {
|
|
143
|
-
readonly SubmitButton:
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}) => JSX.Element;
|
|
159
|
-
readonly BlockNavigation: ({ locale, messages, }: {
|
|
160
|
-
locale?: string;
|
|
161
|
-
messages?: FormMessageTranslations;
|
|
162
|
-
}) => JSX.Element;
|
|
163
|
-
}>, withForm: <TFormData, TOnMount extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnChange extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: import("@tanstack/react-form").WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
164
|
-
readonly TextField: ({ children, ...props }: React.ComponentProps<"input"> & DefaultOptions) => JSX.Element;
|
|
165
|
-
readonly TextAreaField: ({ children, ...props }: React.ComponentProps<"textarea"> & DefaultOptions) => JSX.Element;
|
|
166
|
-
readonly SelectField: ({ description, label, multiple, options, placeholder, }: SelectFieldProps) => JSX.Element;
|
|
167
|
-
readonly MultiSelectField: (props: Omit<SelectFieldProps, "multiple">) => JSX.Element;
|
|
168
|
-
readonly SearchableSelectField: <TData>({ description, label, multiple, ...props }: SearchableSelectFieldProps<TData>) => JSX.Element;
|
|
169
|
-
readonly CheckboxField: (props: DefaultOptions) => JSX.Element;
|
|
170
|
-
readonly FileField: ({ label, accept, filePickerMessages, locale: localeOverride, messages, onFileChange, required, }: Omit<DefaultOptions, "description"> & {
|
|
171
|
-
accept: InputHTMLAttributes<HTMLInputElement>["accept"];
|
|
172
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
173
|
-
locale?: string;
|
|
174
|
-
messages?: FormMessageTranslations;
|
|
175
|
-
onFileChange?: (file: File | "") => void;
|
|
176
|
-
required?: boolean;
|
|
177
|
-
}) => JSX.Element;
|
|
178
|
-
readonly KeyValueField: (props: DefaultOptions & {
|
|
179
|
-
locale?: string;
|
|
180
|
-
messages?: FormMessageTranslations;
|
|
181
|
-
}) => JSX.Element;
|
|
182
|
-
readonly ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
183
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
184
|
-
label: string;
|
|
185
|
-
locale?: string;
|
|
186
|
-
messages?: FormMessageTranslations;
|
|
187
|
-
size: {
|
|
188
|
-
width: number;
|
|
189
|
-
height: number;
|
|
190
|
-
suggestedWidth?: number;
|
|
191
|
-
suggestedHeight?: number;
|
|
192
|
-
};
|
|
193
|
-
}) => JSX.Element;
|
|
194
|
-
readonly RevertButton: ({ locale, messages, original, }: {
|
|
195
|
-
locale?: string;
|
|
196
|
-
messages?: FormMessageTranslations;
|
|
197
|
-
original: string;
|
|
198
|
-
}) => JSX.Element | undefined;
|
|
160
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
161
|
+
readonly FormError: typeof FormError;
|
|
162
|
+
readonly FieldWrapper: typeof FieldWrapper;
|
|
163
|
+
readonly BlockNavigation: typeof BlockNavigation;
|
|
164
|
+
}>, withForm: <TFormData, TOnMount extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChange extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: import("@tanstack/react-form").WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
165
|
+
readonly TextField: typeof TextField;
|
|
166
|
+
readonly TextAreaField: typeof TextAreaField;
|
|
167
|
+
readonly SelectField: typeof SelectField;
|
|
168
|
+
readonly MultiSelectField: typeof MultiSelectField;
|
|
169
|
+
readonly SearchableSelectField: typeof SearchableSelectField;
|
|
170
|
+
readonly CheckboxField: typeof CheckboxField;
|
|
171
|
+
readonly FileField: typeof FileField;
|
|
172
|
+
readonly KeyValueField: typeof KeyValueField;
|
|
173
|
+
readonly ImageField: typeof ImageField;
|
|
174
|
+
readonly RevertButton: typeof RevertButton;
|
|
199
175
|
}, {
|
|
200
|
-
readonly SubmitButton:
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
}) => JSX.Element;
|
|
205
|
-
readonly FormError: () => JSX.Element;
|
|
206
|
-
readonly FieldWrapper: ({ children, legend, localized, description, locales, editingLocale, }: {
|
|
207
|
-
children: React.ReactNode;
|
|
208
|
-
} & DefaultFormOptions & {
|
|
209
|
-
localized?: boolean;
|
|
210
|
-
editingLocale?: string;
|
|
211
|
-
locales?: {
|
|
212
|
-
label: string;
|
|
213
|
-
value: string;
|
|
214
|
-
}[];
|
|
215
|
-
}) => JSX.Element;
|
|
216
|
-
readonly BlockNavigation: ({ locale, messages, }: {
|
|
217
|
-
locale?: string;
|
|
218
|
-
messages?: FormMessageTranslations;
|
|
219
|
-
}) => JSX.Element;
|
|
176
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
177
|
+
readonly FormError: typeof FormError;
|
|
178
|
+
readonly FieldWrapper: typeof FieldWrapper;
|
|
179
|
+
readonly BlockNavigation: typeof BlockNavigation;
|
|
220
180
|
}, TRenderProps>) => import("react").FunctionComponent<import("react").PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
221
|
-
form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import("@tanstack/form
|
|
222
|
-
readonly TextField:
|
|
223
|
-
readonly TextAreaField:
|
|
224
|
-
readonly SelectField:
|
|
225
|
-
readonly MultiSelectField:
|
|
226
|
-
readonly SearchableSelectField:
|
|
227
|
-
readonly CheckboxField:
|
|
228
|
-
readonly FileField:
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
messages?: FormMessageTranslations;
|
|
233
|
-
onFileChange?: (file: File | "") => void;
|
|
234
|
-
required?: boolean;
|
|
235
|
-
}) => JSX.Element;
|
|
236
|
-
readonly KeyValueField: (props: DefaultOptions & {
|
|
237
|
-
locale?: string;
|
|
238
|
-
messages?: FormMessageTranslations;
|
|
239
|
-
}) => JSX.Element;
|
|
240
|
-
readonly ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
241
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
242
|
-
label: string;
|
|
243
|
-
locale?: string;
|
|
244
|
-
messages?: FormMessageTranslations;
|
|
245
|
-
size: {
|
|
246
|
-
width: number;
|
|
247
|
-
height: number;
|
|
248
|
-
suggestedWidth?: number;
|
|
249
|
-
suggestedHeight?: number;
|
|
250
|
-
};
|
|
251
|
-
}) => JSX.Element;
|
|
252
|
-
readonly RevertButton: ({ locale, messages, original, }: {
|
|
253
|
-
locale?: string;
|
|
254
|
-
messages?: FormMessageTranslations;
|
|
255
|
-
original: string;
|
|
256
|
-
}) => JSX.Element | undefined;
|
|
181
|
+
form: import("@tanstack/react-form").AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import("@tanstack/react-form").FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
182
|
+
readonly TextField: typeof TextField;
|
|
183
|
+
readonly TextAreaField: typeof TextAreaField;
|
|
184
|
+
readonly SelectField: typeof SelectField;
|
|
185
|
+
readonly MultiSelectField: typeof MultiSelectField;
|
|
186
|
+
readonly SearchableSelectField: typeof SearchableSelectField;
|
|
187
|
+
readonly CheckboxField: typeof CheckboxField;
|
|
188
|
+
readonly FileField: typeof FileField;
|
|
189
|
+
readonly KeyValueField: typeof KeyValueField;
|
|
190
|
+
readonly ImageField: typeof ImageField;
|
|
191
|
+
readonly RevertButton: typeof RevertButton;
|
|
257
192
|
}, {
|
|
258
|
-
readonly SubmitButton:
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}) => JSX.Element;
|
|
263
|
-
readonly FormError: () => JSX.Element;
|
|
264
|
-
readonly FieldWrapper: ({ children, legend, localized, description, locales, editingLocale, }: {
|
|
265
|
-
children: React.ReactNode;
|
|
266
|
-
} & DefaultFormOptions & {
|
|
267
|
-
localized?: boolean;
|
|
268
|
-
editingLocale?: string;
|
|
269
|
-
locales?: {
|
|
270
|
-
label: string;
|
|
271
|
-
value: string;
|
|
272
|
-
}[];
|
|
273
|
-
}) => JSX.Element;
|
|
274
|
-
readonly BlockNavigation: ({ locale, messages, }: {
|
|
275
|
-
locale?: string;
|
|
276
|
-
messages?: FormMessageTranslations;
|
|
277
|
-
}) => JSX.Element;
|
|
193
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
194
|
+
readonly FormError: typeof FormError;
|
|
195
|
+
readonly FieldWrapper: typeof FieldWrapper;
|
|
196
|
+
readonly BlockNavigation: typeof BlockNavigation;
|
|
278
197
|
}>;
|
|
279
198
|
}>>, withFieldGroup: <TFieldGroupData, TSubmitMeta, TRenderProps extends object = {}>({ render, props, defaultValues, }: import("@tanstack/react-form").WithFieldGroupProps<TFieldGroupData, {
|
|
280
|
-
readonly TextField:
|
|
281
|
-
readonly TextAreaField:
|
|
282
|
-
readonly SelectField:
|
|
283
|
-
readonly MultiSelectField:
|
|
284
|
-
readonly SearchableSelectField:
|
|
285
|
-
readonly CheckboxField:
|
|
286
|
-
readonly FileField:
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
messages?: FormMessageTranslations;
|
|
291
|
-
onFileChange?: (file: File | "") => void;
|
|
292
|
-
required?: boolean;
|
|
293
|
-
}) => JSX.Element;
|
|
294
|
-
readonly KeyValueField: (props: DefaultOptions & {
|
|
295
|
-
locale?: string;
|
|
296
|
-
messages?: FormMessageTranslations;
|
|
297
|
-
}) => JSX.Element;
|
|
298
|
-
readonly ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
299
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
300
|
-
label: string;
|
|
301
|
-
locale?: string;
|
|
302
|
-
messages?: FormMessageTranslations;
|
|
303
|
-
size: {
|
|
304
|
-
width: number;
|
|
305
|
-
height: number;
|
|
306
|
-
suggestedWidth?: number;
|
|
307
|
-
suggestedHeight?: number;
|
|
308
|
-
};
|
|
309
|
-
}) => JSX.Element;
|
|
310
|
-
readonly RevertButton: ({ locale, messages, original, }: {
|
|
311
|
-
locale?: string;
|
|
312
|
-
messages?: FormMessageTranslations;
|
|
313
|
-
original: string;
|
|
314
|
-
}) => JSX.Element | undefined;
|
|
199
|
+
readonly TextField: typeof TextField;
|
|
200
|
+
readonly TextAreaField: typeof TextAreaField;
|
|
201
|
+
readonly SelectField: typeof SelectField;
|
|
202
|
+
readonly MultiSelectField: typeof MultiSelectField;
|
|
203
|
+
readonly SearchableSelectField: typeof SearchableSelectField;
|
|
204
|
+
readonly CheckboxField: typeof CheckboxField;
|
|
205
|
+
readonly FileField: typeof FileField;
|
|
206
|
+
readonly KeyValueField: typeof KeyValueField;
|
|
207
|
+
readonly ImageField: typeof ImageField;
|
|
208
|
+
readonly RevertButton: typeof RevertButton;
|
|
315
209
|
}, {
|
|
316
|
-
readonly SubmitButton:
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
readonly BlockNavigation: ({ locale, messages, }: {
|
|
333
|
-
locale?: string;
|
|
334
|
-
messages?: FormMessageTranslations;
|
|
335
|
-
}) => JSX.Element;
|
|
336
|
-
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends import("@tanstack/form-core").DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | import("@tanstack/form-core").FieldsMap<TFormData, TFieldGroupData>, TOnMount extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnChange extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | import("@tanstack/form-core").FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | import("@tanstack/form-core").FormAsyncValidateOrFn<TFormData>, TFormSubmitMeta>(params: import("react").PropsWithChildren<NoInfer<TRenderProps> & {
|
|
337
|
-
form: import("@tanstack/react-form").AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | import("@tanstack/form-core").FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
338
|
-
readonly TextField: ({ children, ...props }: React.ComponentProps<"input"> & DefaultOptions) => JSX.Element;
|
|
339
|
-
readonly TextAreaField: ({ children, ...props }: React.ComponentProps<"textarea"> & DefaultOptions) => JSX.Element;
|
|
340
|
-
readonly SelectField: ({ description, label, multiple, options, placeholder, }: SelectFieldProps) => JSX.Element;
|
|
341
|
-
readonly MultiSelectField: (props: Omit<SelectFieldProps, "multiple">) => JSX.Element;
|
|
342
|
-
readonly SearchableSelectField: <TData>({ description, label, multiple, ...props }: SearchableSelectFieldProps<TData>) => JSX.Element;
|
|
343
|
-
readonly CheckboxField: (props: DefaultOptions) => JSX.Element;
|
|
344
|
-
readonly FileField: ({ label, accept, filePickerMessages, locale: localeOverride, messages, onFileChange, required, }: Omit<DefaultOptions, "description"> & {
|
|
345
|
-
accept: InputHTMLAttributes<HTMLInputElement>["accept"];
|
|
346
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
347
|
-
locale?: string;
|
|
348
|
-
messages?: FormMessageTranslations;
|
|
349
|
-
onFileChange?: (file: File | "") => void;
|
|
350
|
-
required?: boolean;
|
|
351
|
-
}) => JSX.Element;
|
|
352
|
-
readonly KeyValueField: (props: DefaultOptions & {
|
|
353
|
-
locale?: string;
|
|
354
|
-
messages?: FormMessageTranslations;
|
|
355
|
-
}) => JSX.Element;
|
|
356
|
-
readonly ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
357
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
358
|
-
label: string;
|
|
359
|
-
locale?: string;
|
|
360
|
-
messages?: FormMessageTranslations;
|
|
361
|
-
size: {
|
|
362
|
-
width: number;
|
|
363
|
-
height: number;
|
|
364
|
-
suggestedWidth?: number;
|
|
365
|
-
suggestedHeight?: number;
|
|
366
|
-
};
|
|
367
|
-
}) => JSX.Element;
|
|
368
|
-
readonly RevertButton: ({ locale, messages, original, }: {
|
|
369
|
-
locale?: string;
|
|
370
|
-
messages?: FormMessageTranslations;
|
|
371
|
-
original: string;
|
|
372
|
-
}) => JSX.Element | undefined;
|
|
210
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
211
|
+
readonly FormError: typeof FormError;
|
|
212
|
+
readonly FieldWrapper: typeof FieldWrapper;
|
|
213
|
+
readonly BlockNavigation: typeof BlockNavigation;
|
|
214
|
+
}, TSubmitMeta, TRenderProps>) => <TFormData, TFields extends import("@tanstack/react-form").DeepKeysOfType<TFormData, TFieldGroupData | null | undefined> | import("@tanstack/react-form").FieldsMap<TFormData, TFieldGroupData>, TOnMount extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChange extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnChangeAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnBlur extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnBlurAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnSubmit extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnSubmitAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnDynamic extends undefined | import("@tanstack/react-form").FormValidateOrFn<TFormData>, TOnDynamicAsync extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TOnServer extends undefined | import("@tanstack/react-form").FormAsyncValidateOrFn<TFormData>, TFormSubmitMeta>(params: import("react").PropsWithChildren<NoInfer<TRenderProps> & {
|
|
215
|
+
form: import("@tanstack/react-form").AppFieldExtendedReactFieldGroupApi<unknown, TFormData, string | import("@tanstack/react-form").FieldsMap<unknown, TFormData>, any, any, any, any, any, any, any, any, any, any, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
216
|
+
readonly TextField: typeof TextField;
|
|
217
|
+
readonly TextAreaField: typeof TextAreaField;
|
|
218
|
+
readonly SelectField: typeof SelectField;
|
|
219
|
+
readonly MultiSelectField: typeof MultiSelectField;
|
|
220
|
+
readonly SearchableSelectField: typeof SearchableSelectField;
|
|
221
|
+
readonly CheckboxField: typeof CheckboxField;
|
|
222
|
+
readonly FileField: typeof FileField;
|
|
223
|
+
readonly KeyValueField: typeof KeyValueField;
|
|
224
|
+
readonly ImageField: typeof ImageField;
|
|
225
|
+
readonly RevertButton: typeof RevertButton;
|
|
373
226
|
}, {
|
|
374
|
-
readonly SubmitButton:
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}) => JSX.Element;
|
|
379
|
-
readonly FormError: () => JSX.Element;
|
|
380
|
-
readonly FieldWrapper: ({ children, legend, localized, description, locales, editingLocale, }: {
|
|
381
|
-
children: React.ReactNode;
|
|
382
|
-
} & DefaultFormOptions & {
|
|
383
|
-
localized?: boolean;
|
|
384
|
-
editingLocale?: string;
|
|
385
|
-
locales?: {
|
|
386
|
-
label: string;
|
|
387
|
-
value: string;
|
|
388
|
-
}[];
|
|
389
|
-
}) => JSX.Element;
|
|
390
|
-
readonly BlockNavigation: ({ locale, messages, }: {
|
|
391
|
-
locale?: string;
|
|
392
|
-
messages?: FormMessageTranslations;
|
|
393
|
-
}) => JSX.Element;
|
|
227
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
228
|
+
readonly FormError: typeof FormError;
|
|
229
|
+
readonly FieldWrapper: typeof FieldWrapper;
|
|
230
|
+
readonly BlockNavigation: typeof BlockNavigation;
|
|
394
231
|
}> | import("@tanstack/react-form").AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, unknown extends TSubmitMeta ? TFormSubmitMeta : TSubmitMeta, {
|
|
395
|
-
readonly TextField:
|
|
396
|
-
readonly TextAreaField:
|
|
397
|
-
readonly SelectField:
|
|
398
|
-
readonly MultiSelectField:
|
|
399
|
-
readonly SearchableSelectField:
|
|
400
|
-
readonly CheckboxField:
|
|
401
|
-
readonly FileField:
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
messages?: FormMessageTranslations;
|
|
406
|
-
onFileChange?: (file: File | "") => void;
|
|
407
|
-
required?: boolean;
|
|
408
|
-
}) => JSX.Element;
|
|
409
|
-
readonly KeyValueField: (props: DefaultOptions & {
|
|
410
|
-
locale?: string;
|
|
411
|
-
messages?: FormMessageTranslations;
|
|
412
|
-
}) => JSX.Element;
|
|
413
|
-
readonly ImageField: ({ filePickerMessages, label, locale: localeOverride, messages, size, }: {
|
|
414
|
-
filePickerMessages?: FilePickerMessageTranslations;
|
|
415
|
-
label: string;
|
|
416
|
-
locale?: string;
|
|
417
|
-
messages?: FormMessageTranslations;
|
|
418
|
-
size: {
|
|
419
|
-
width: number;
|
|
420
|
-
height: number;
|
|
421
|
-
suggestedWidth?: number;
|
|
422
|
-
suggestedHeight?: number;
|
|
423
|
-
};
|
|
424
|
-
}) => JSX.Element;
|
|
425
|
-
readonly RevertButton: ({ locale, messages, original, }: {
|
|
426
|
-
locale?: string;
|
|
427
|
-
messages?: FormMessageTranslations;
|
|
428
|
-
original: string;
|
|
429
|
-
}) => JSX.Element | undefined;
|
|
232
|
+
readonly TextField: typeof TextField;
|
|
233
|
+
readonly TextAreaField: typeof TextAreaField;
|
|
234
|
+
readonly SelectField: typeof SelectField;
|
|
235
|
+
readonly MultiSelectField: typeof MultiSelectField;
|
|
236
|
+
readonly SearchableSelectField: typeof SearchableSelectField;
|
|
237
|
+
readonly CheckboxField: typeof CheckboxField;
|
|
238
|
+
readonly FileField: typeof FileField;
|
|
239
|
+
readonly KeyValueField: typeof KeyValueField;
|
|
240
|
+
readonly ImageField: typeof ImageField;
|
|
241
|
+
readonly RevertButton: typeof RevertButton;
|
|
430
242
|
}, {
|
|
431
|
-
readonly SubmitButton:
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}) => JSX.Element;
|
|
436
|
-
readonly FormError: () => JSX.Element;
|
|
437
|
-
readonly FieldWrapper: ({ children, legend, localized, description, locales, editingLocale, }: {
|
|
438
|
-
children: React.ReactNode;
|
|
439
|
-
} & DefaultFormOptions & {
|
|
440
|
-
localized?: boolean;
|
|
441
|
-
editingLocale?: string;
|
|
442
|
-
locales?: {
|
|
443
|
-
label: string;
|
|
444
|
-
value: string;
|
|
445
|
-
}[];
|
|
446
|
-
}) => JSX.Element;
|
|
447
|
-
readonly BlockNavigation: ({ locale, messages, }: {
|
|
448
|
-
locale?: string;
|
|
449
|
-
messages?: FormMessageTranslations;
|
|
450
|
-
}) => JSX.Element;
|
|
243
|
+
readonly SubmitButton: typeof SubmitButton;
|
|
244
|
+
readonly FormError: typeof FormError;
|
|
245
|
+
readonly FieldWrapper: typeof FieldWrapper;
|
|
246
|
+
readonly BlockNavigation: typeof BlockNavigation;
|
|
451
247
|
}>;
|
|
452
248
|
fields: TFields;
|
|
453
249
|
}>) => ReturnType<import("react").FunctionComponent>;
|