@mcurros2/microm 1.1.68-0 → 1.1.69-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/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +40 -20
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -457,26 +457,46 @@ function $8b0c683387a5432f$export$f1f43a62560a15ec(props) {
|
|
|
457
457
|
const removeValidation = (0, $b4te3$react.useCallback)((column)=>{
|
|
458
458
|
delete validationObject.current[column.name];
|
|
459
459
|
}, []);
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
460
|
+
const result = (0, $b4te3$react.useMemo)(()=>({
|
|
461
|
+
form: form,
|
|
462
|
+
formMode: formMode,
|
|
463
|
+
status: status,
|
|
464
|
+
saveAndGet: saveAndGetOverride !== null && saveAndGetOverride !== void 0 ? saveAndGetOverride : saveAndGet,
|
|
465
|
+
performGetData: performGetData,
|
|
466
|
+
handleCancel: handleCancel,
|
|
467
|
+
configureField: addValidation,
|
|
468
|
+
removeValidation: removeValidation,
|
|
469
|
+
handleSubmit: handleSubmit,
|
|
470
|
+
notifyValidationErrorState: notifyValidationErrorState,
|
|
471
|
+
showDescriptionState: showDescriptionState,
|
|
472
|
+
entity: entity,
|
|
473
|
+
asyncErrors: asyncErrors.current,
|
|
474
|
+
setAsyncError: setAsyncError,
|
|
475
|
+
clearAsyncError: clearAsyncError,
|
|
476
|
+
clearAllAsyncErrors: clearAllAsyncErrors,
|
|
477
|
+
isFormValid: isFormValid,
|
|
478
|
+
isFormFieldValid: isFormFieldValid
|
|
479
|
+
}), [
|
|
480
|
+
addValidation,
|
|
481
|
+
clearAllAsyncErrors,
|
|
482
|
+
clearAsyncError,
|
|
483
|
+
entity,
|
|
484
|
+
form,
|
|
485
|
+
formMode,
|
|
486
|
+
handleCancel,
|
|
487
|
+
handleSubmit,
|
|
488
|
+
isFormFieldValid,
|
|
489
|
+
isFormValid,
|
|
490
|
+
notifyValidationErrorState,
|
|
491
|
+
performGetData,
|
|
492
|
+
removeValidation,
|
|
493
|
+
saveAndGet,
|
|
494
|
+
saveAndGetOverride,
|
|
495
|
+
setAsyncError,
|
|
496
|
+
showDescriptionState,
|
|
497
|
+
status
|
|
498
|
+
]);
|
|
499
|
+
return result;
|
|
480
500
|
}
|
|
481
501
|
|
|
482
502
|
});
|