@redneckz/wildless-cms-uni-blocks 0.14.903 → 0.14.904

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.
@@ -3771,23 +3771,7 @@
3771
3771
  }
3772
3772
  }, [value, field('addressRegistration').value]);
3773
3773
  const onDaDataChange = useCallback((item) => {
3774
- field?.(fieldName)?.onChange?.({
3775
- apartment: item?.data?.flat,
3776
- city: item?.data?.city,
3777
- district: item?.data?.area_with_type,
3778
- fullAddress: item?.value,
3779
- fiasCode: item?.data?.fias_id,
3780
- house: item?.data?.house,
3781
- locality: item?.data?.settlement_with_type,
3782
- okatoRegionCode: item?.data?.okato,
3783
- postcode: item?.data?.postal_code,
3784
- region: item?.data?.region,
3785
- regionCode: item?.data?.region_kladr_id ? item?.data?.region_kladr_id.substring(0, 2) : '',
3786
- street: item?.data?.house,
3787
- qc: item?.data?.qc,
3788
- qcComplete: item?.data?.qc_complete,
3789
- qcHouse: item?.data?.qc_house,
3790
- });
3774
+ field?.(fieldName)?.onChange?.(getAddressFromDaDataItem(item));
3791
3775
  }, []);
3792
3776
  const onChange = useCallback((val) => {
3793
3777
  field?.(fieldName)?.onChange?.({
@@ -11963,7 +11947,7 @@
11963
11947
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
11964
11948
  });
11965
11949
 
11966
- const packageVersion = "0.14.902";
11950
+ const packageVersion = "0.14.903";
11967
11951
 
11968
11952
  exports.Blocks = Blocks;
11969
11953
  exports.ContentPage = ContentPage;