@ahmadmubarak98/namozaj 1.6.74 → 1.7.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/dist/main.d.ts +2 -1
- package/dist/namozaj.js +40996 -40940
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -194,6 +194,7 @@ export declare type FileFieldConfig = BaseFieldConfig & {
|
|
|
194
194
|
};
|
|
195
195
|
previewFiles?: FileFieldFilePreview[] | ((data: any, locale: string) => FileFieldFilePreview[]);
|
|
196
196
|
uploadCb?: (files: File[]) => Promise<string | string[]>;
|
|
197
|
+
onAfterPick?: (files: File[], formMethods: RHFFormMethods) => void | Promise<void>;
|
|
197
198
|
uploadApi?: {
|
|
198
199
|
url: string;
|
|
199
200
|
method?: "GET" | "POST" | "PUT" | "DELETE";
|
|
@@ -247,7 +248,7 @@ export declare type HelperTextConfig = {
|
|
|
247
248
|
color?: BaseColors | string;
|
|
248
249
|
};
|
|
249
250
|
|
|
250
|
-
export declare type InputRestriction = "alpha" | "alphanumeric" | "numeric" | "alpha-with-spaces" | "alphanumeric-with-spaces" | "numeric-with-spaces" | 'email' | RegExp;
|
|
251
|
+
export declare type InputRestriction = "alpha" | "alphanumeric" | "latin" | "numeric" | "alpha-with-spaces" | "alphanumeric-with-spaces" | 'alpha-latin' | 'alphanumeric-latin' | 'alpha-with-spaces-latin' | 'alphanumeric-with-spaces-latin' | "numeric-with-spaces" | 'email' | RegExp;
|
|
251
252
|
|
|
252
253
|
export declare type ModalSize = "small" | "medium" | "large" | "full";
|
|
253
254
|
|