@mcurros2/microm 1.1.67-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.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
- return {
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
- };
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
  });
@@ -42282,7 +42302,7 @@ const $0077a698a8e44fc4$export$75c216d80445d508 = {
42282
42302
  unknownStateLabel: "Unknown state",
42283
42303
  regionListMode: "names",
42284
42304
  suppressCountyString: "county",
42285
- searchDescriptionLabel: "Search for a region, place or address",
42305
+ searchDescriptionLabel: "Search for a region, place or address and click on the map to select regions",
42286
42306
  mapHelpLabel: "* Use the zoom to select States, Counties or Zip codes. Click over the region to select/deselect",
42287
42307
  selectedRegionsLabel: "Selected Regions",
42288
42308
  maxRegions: Infinity