@redneckz/wildless-cms-uni-blocks 0.14.1004 → 0.14.1005
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/bundle/bundle.umd.js +4 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/retail/components/Fields/AddressCourierField.js +3 -2
- package/dist/retail/components/Fields/AddressCourierField.js.map +1 -1
- package/lib/retail/components/Fields/AddressCourierField.js +3 -2
- package/lib/retail/components/Fields/AddressCourierField.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +4 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/retail/components/Fields/AddressCourierField.js +3 -2
- package/mobile/dist/retail/components/Fields/AddressCourierField.js.map +1 -1
- package/mobile/lib/retail/components/Fields/AddressCourierField.js +3 -2
- package/mobile/lib/retail/components/Fields/AddressCourierField.js.map +1 -1
- package/mobile/src/retail/components/Fields/AddressCourierField.tsx +2 -1
- package/package.json +1 -1
- package/src/retail/components/Fields/AddressCourierField.tsx +2 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -4523,8 +4523,9 @@
|
|
|
4523
4523
|
const currentLocality = fieldValue?.locality;
|
|
4524
4524
|
const currentCity = fieldValue?.city;
|
|
4525
4525
|
useEffect(() => {
|
|
4526
|
-
if (
|
|
4527
|
-
|
|
4526
|
+
if (source &&
|
|
4527
|
+
(currentCity || currentLocality) &&
|
|
4528
|
+
!source.deliveryCities?.includes(currentCity)) {
|
|
4528
4529
|
field?.('addressCourier')?.onChange?.({
|
|
4529
4530
|
...fieldValue,
|
|
4530
4531
|
house: '',
|
|
@@ -14143,7 +14144,7 @@
|
|
|
14143
14144
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
14144
14145
|
});
|
|
14145
14146
|
|
|
14146
|
-
const packageVersion = "0.14.
|
|
14147
|
+
const packageVersion = "0.14.1004";
|
|
14147
14148
|
|
|
14148
14149
|
exports.Blocks = Blocks;
|
|
14149
14150
|
exports.ContentPage = ContentPage;
|