oa-componentbook 1.0.1-stage.97 → 1.0.1-stage.98
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.
|
@@ -33,7 +33,8 @@ function AddressDetails(_ref) {
|
|
|
33
33
|
pinCodeServisible,
|
|
34
34
|
editLocationHandler,
|
|
35
35
|
onFinish,
|
|
36
|
-
showAddressType
|
|
36
|
+
showAddressType,
|
|
37
|
+
isSaveButtonDisabled
|
|
37
38
|
} = _ref;
|
|
38
39
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
39
40
|
className: "addresBoxDiv"
|
|
@@ -63,7 +64,8 @@ function AddressDetails(_ref) {
|
|
|
63
64
|
})), pinCodeServisible ? /*#__PURE__*/_react.default.createElement(_AddressForm.default, {
|
|
64
65
|
geolocationData: geolocationData,
|
|
65
66
|
onFinish: onFinish,
|
|
66
|
-
showAddressType: showAddressType
|
|
67
|
+
showAddressType: showAddressType,
|
|
68
|
+
isSaveButtonDisabled: isSaveButtonDisabled
|
|
67
69
|
}) : /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
68
70
|
color: "negative"
|
|
69
71
|
}, "Pincode according to your pin on map is Non-serviceable, please move the pin to serviceable pincode."));
|
|
@@ -30,7 +30,8 @@ function AddressForm(props) {
|
|
|
30
30
|
const {
|
|
31
31
|
geolocationData,
|
|
32
32
|
onFinish,
|
|
33
|
-
showAddressType
|
|
33
|
+
showAddressType,
|
|
34
|
+
isSaveButtonDisabled = false
|
|
34
35
|
} = props;
|
|
35
36
|
return /*#__PURE__*/_react.default.createElement(_antd.Form, {
|
|
36
37
|
form: form,
|
|
@@ -93,6 +94,7 @@ function AddressForm(props) {
|
|
|
93
94
|
}))))), /*#__PURE__*/_react.default.createElement("div", {
|
|
94
95
|
className: "buttonBottom margin-top-24"
|
|
95
96
|
}, /*#__PURE__*/_react.default.createElement(_antd.Form.Item, null, /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
|
|
97
|
+
disabled: isSaveButtonDisabled || false,
|
|
96
98
|
type: "primary",
|
|
97
99
|
size: "large",
|
|
98
100
|
label: "Save and Proceed",
|
|
@@ -45,7 +45,8 @@ function MapBaseLocation(_ref) {
|
|
|
45
45
|
onFinish,
|
|
46
46
|
openLocationNotDetectedModal,
|
|
47
47
|
setOpenLocationNotDetectedModalState,
|
|
48
|
-
showAddressType
|
|
48
|
+
showAddressType,
|
|
49
|
+
isSaveButtonDisabled
|
|
49
50
|
} = _ref;
|
|
50
51
|
return /*#__PURE__*/_react.default.createElement(_styles.MapStyles, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
51
52
|
className: "containerMap"
|
|
@@ -75,6 +76,7 @@ function MapBaseLocation(_ref) {
|
|
|
75
76
|
fetchAddressFromGoogleApi: fetchAddressFromGoogleApi,
|
|
76
77
|
setOpenLocationNotDetectedModal: setOpenLocationNotDetectedModal
|
|
77
78
|
}), /*#__PURE__*/_react.default.createElement(_AddressDetails.default, {
|
|
79
|
+
isSaveButtonDisabled: isSaveButtonDisabled,
|
|
78
80
|
showAddressType: showAddressType,
|
|
79
81
|
geolocationData: geolocationData,
|
|
80
82
|
pinCodeServisible: pinCodeServisible,
|