@ahmadmubarak98/namozaj 1.16.18 → 1.16.21
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 +3 -0
- package/dist/namozaj.js +8547 -8508
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -202,6 +202,7 @@ export declare type FieldArrayFieldConfig = BaseFieldConfig & {
|
|
|
202
202
|
uniqueSelectionFields?: string[];
|
|
203
203
|
onBeforeAdd?: (data: any, formMethods: any) => void | Promise<void>;
|
|
204
204
|
onBeforeRemove?: (data: any, formMethods: any) => void | Promise<void>;
|
|
205
|
+
reOrderable?: boolean;
|
|
205
206
|
};
|
|
206
207
|
};
|
|
207
208
|
|
|
@@ -393,6 +394,7 @@ export declare type NamozajFormMethods = RHFFormMethods & {
|
|
|
393
394
|
setFieldOptions: (name: string, options: FieldOption[]) => void;
|
|
394
395
|
markAsClean: () => void;
|
|
395
396
|
markAsDirty: () => void;
|
|
397
|
+
scrollToFirstError: () => void;
|
|
396
398
|
};
|
|
397
399
|
|
|
398
400
|
export declare interface NamozajLocalizationOptions {
|
|
@@ -607,6 +609,7 @@ export declare type RepeaterFieldConfig = BaseFieldConfig & {
|
|
|
607
609
|
onBeforeRemove?: (data: any, formMethods: any, index: number) => void | Promise<void>;
|
|
608
610
|
onBeforeBulkAdd?: (data: any[], formMethods: any) => void | Promise<void>;
|
|
609
611
|
onBeforeBulkDelete?: (indexes: number[], rows: any[], formMethods: any) => void | Promise<void>;
|
|
612
|
+
reOrderable?: boolean;
|
|
610
613
|
};
|
|
611
614
|
};
|
|
612
615
|
|