@ahmadmubarak98/namozaj 1.16.4 → 1.16.6

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.
Files changed (3) hide show
  1. package/dist/main.d.ts +11 -1
  2. package/dist/namozaj.js +17156 -16990
  3. package/package.json +1 -1
package/dist/main.d.ts CHANGED
@@ -260,6 +260,14 @@ export declare type FileFieldConfig = BaseFieldConfig & {
260
260
  loadingText?: string;
261
261
  dragText?: string;
262
262
  dropText?: string;
263
+ hintText?: string;
264
+ hideHint?: boolean;
265
+ hintUpToText?: string;
266
+ hintMaxText?: string;
267
+ hintFileWord?: string;
268
+ hintFilesWord?: string;
269
+ hintExtensionsText?: string;
270
+ maxFilesExceededMessage?: string | ((maxFiles: number) => string);
263
271
  enablePreview?: boolean;
264
272
  avatarIcon?: string;
265
273
  showLabelInDropzone?: boolean;
@@ -295,7 +303,7 @@ export declare type FileFieldFilePreview = {
295
303
  onPreviewClick?: (file: FileFieldFilePreview, formMethods: RHFFormMethods) => void;
296
304
  };
297
305
 
298
- export declare type FileFieldVariant = "default" | "dropzone" | "avatar";
306
+ export declare type FileFieldVariant = "default" | "button" | "dropzone" | "avatar";
299
307
 
300
308
  export declare type FullRowConfig = {
301
309
  xs?: boolean;
@@ -357,6 +365,7 @@ export declare type MultiSelectFieldConfig = BaseFieldConfig & {
357
365
  fn: (value: string) => void;
358
366
  delay?: number;
359
367
  };
368
+ onSearchOptions?: (searchValue: string) => Promise<FieldOption[]>;
360
369
  };
361
370
  };
362
371
 
@@ -607,6 +616,7 @@ export declare type SelectFieldConfig = BaseFieldConfig & {
607
616
  fn: (value: string) => void;
608
617
  delay?: number;
609
618
  };
619
+ onSearchOptions?: (searchValue: string) => Promise<FieldOption[]>;
610
620
  };
611
621
  };
612
622