@majoo-ui/react 1.58.5 → 1.58.6
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/components/mapPicker/types/index.d.ts +4 -0
- package/index.esm.js +3 -1
- package/index.umd.js +3 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -50678,7 +50678,8 @@ function InputMapPicker(props) {
|
|
|
50678
50678
|
showBanner,
|
|
50679
50679
|
bannerDescription,
|
|
50680
50680
|
value,
|
|
50681
|
-
onChange
|
|
50681
|
+
onChange,
|
|
50682
|
+
onMarkerClick
|
|
50682
50683
|
} = props;
|
|
50683
50684
|
const modalTrigger = React__default.useRef(null);
|
|
50684
50685
|
const [inputValue, setInputValue] = useState(placeholder);
|
|
@@ -50712,6 +50713,7 @@ function InputMapPicker(props) {
|
|
|
50712
50713
|
}
|
|
50713
50714
|
function handleMarkerClick() {
|
|
50714
50715
|
handleClick();
|
|
50716
|
+
onMarkerClick === null || onMarkerClick === void 0 ? void 0 : onMarkerClick();
|
|
50715
50717
|
}
|
|
50716
50718
|
function handleChange(mapObject) {
|
|
50717
50719
|
setInputValue(mapObject.formatted_address);
|
package/index.umd.js
CHANGED
|
@@ -51132,7 +51132,8 @@
|
|
|
51132
51132
|
showBanner = props.showBanner,
|
|
51133
51133
|
bannerDescription = props.bannerDescription,
|
|
51134
51134
|
value = props.value,
|
|
51135
|
-
onChange = props.onChange
|
|
51135
|
+
onChange = props.onChange,
|
|
51136
|
+
onMarkerClick = props.onMarkerClick;
|
|
51136
51137
|
var modalTrigger = React__default["default"].useRef(null);
|
|
51137
51138
|
var _a = React.useState(placeholder),
|
|
51138
51139
|
inputValue = _a[0],
|
|
@@ -51163,6 +51164,7 @@
|
|
|
51163
51164
|
}
|
|
51164
51165
|
function handleMarkerClick() {
|
|
51165
51166
|
handleClick();
|
|
51167
|
+
onMarkerClick === null || onMarkerClick === void 0 ? void 0 : onMarkerClick();
|
|
51166
51168
|
}
|
|
51167
51169
|
function handleChange(mapObject) {
|
|
51168
51170
|
setInputValue(mapObject.formatted_address);
|