finform-react-builder 1.5.16 → 1.6.1
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/components/FinForm/types.d.ts +37 -0
- package/dist/index.es.js +3824 -3658
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +46 -46
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -128,6 +128,43 @@ export interface ImageField extends BaseField {
|
|
|
128
128
|
className?: string;
|
|
129
129
|
onClick?: () => void;
|
|
130
130
|
defaultValue?: string;
|
|
131
|
+
accept?: string | string[];
|
|
132
|
+
onFileSelected?: (file: File) => void;
|
|
133
|
+
onRemove?: () => void;
|
|
134
|
+
onPreview?: (url: string) => void;
|
|
135
|
+
onSave?: (payload: {
|
|
136
|
+
url: string;
|
|
137
|
+
file?: File;
|
|
138
|
+
}) => void;
|
|
139
|
+
imagePlaceholder?: {
|
|
140
|
+
icon?: 'upload' | 'image';
|
|
141
|
+
title?: string;
|
|
142
|
+
subtitle?: string;
|
|
143
|
+
buttonText?: string;
|
|
144
|
+
helperText?: string;
|
|
145
|
+
sx?: any;
|
|
146
|
+
iconSx?: any;
|
|
147
|
+
titleSx?: any;
|
|
148
|
+
subtitleSx?: any;
|
|
149
|
+
buttonSx?: any;
|
|
150
|
+
helperTextSx?: any;
|
|
151
|
+
};
|
|
152
|
+
imageUploaded?: {
|
|
153
|
+
previewText?: string;
|
|
154
|
+
removeText?: string;
|
|
155
|
+
saveText?: string;
|
|
156
|
+
showSave?: boolean;
|
|
157
|
+
previewTitle?: string;
|
|
158
|
+
replaceText?: string;
|
|
159
|
+
closeText?: string;
|
|
160
|
+
cardSx?: any;
|
|
161
|
+
thumbnailSx?: any;
|
|
162
|
+
fileNameSx?: any;
|
|
163
|
+
fileMetaSx?: any;
|
|
164
|
+
previewButtonSx?: any;
|
|
165
|
+
removeButtonSx?: any;
|
|
166
|
+
saveButtonSx?: any;
|
|
167
|
+
};
|
|
131
168
|
}
|
|
132
169
|
export interface ComponentField extends BaseField {
|
|
133
170
|
type: 'component';
|