22
33function _typeof ( obj ) { "@babel/helpers - typeof" ; if ( typeof Symbol === "function" && typeof Symbol . iterator === "symbol" ) { _typeof = function _typeof ( obj ) { return typeof obj ; } ; } else { _typeof = function _typeof ( obj ) { return obj && typeof Symbol === "function" && obj . constructor === Symbol && obj !== Symbol . prototype ? "symbol" : typeof obj ; } ; } return _typeof ( obj ) ; }
44
5- require ( "core-js/modules/es.symbol.js" ) ;
6-
7- require ( "core-js/modules/es.object.assign.js" ) ;
8-
9- require ( "core-js/modules/es.array.iterator.js" ) ;
10-
11- require ( "core-js/modules/es.object.to-string.js" ) ;
12-
13- require ( "core-js/modules/es.string.iterator.js" ) ;
14-
15- require ( "core-js/modules/es.weak-map.js" ) ;
16-
17- require ( "core-js/modules/web.dom-collections.iterator.js" ) ;
18-
19- require ( "core-js/modules/es.object.get-own-property-descriptor.js" ) ;
20-
21- require ( "core-js/modules/es.symbol.description.js" ) ;
22-
23- require ( "core-js/modules/es.symbol.iterator.js" ) ;
24-
255Object . defineProperty ( exports , "__esModule" , {
266 value : true
277} ) ;
28- exports . default = void 0 ;
29-
30- require ( "core-js/modules/es.object.keys.js" ) ;
8+ exports [ "default" ] = void 0 ;
319
3210var _react = _interopRequireWildcard ( require ( "react" ) ) ;
3311
3412var _propTypes = _interopRequireDefault ( require ( "prop-types" ) ) ;
3513
3614var _usePlacesWidget2 = _interopRequireDefault ( require ( "./usePlacesWidget" ) ) ;
3715
38- function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
16+ function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { " default" : obj } ; }
3917
4018function _getRequireWildcardCache ( nodeInterop ) { if ( typeof WeakMap !== "function" ) return null ; var cacheBabelInterop = new WeakMap ( ) ; var cacheNodeInterop = new WeakMap ( ) ; return ( _getRequireWildcardCache = function _getRequireWildcardCache ( nodeInterop ) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop ; } ) ( nodeInterop ) ; }
4119
42- function _interopRequireWildcard ( obj , nodeInterop ) { if ( ! nodeInterop && obj && obj . __esModule ) { return obj ; } if ( obj === null || _typeof ( obj ) !== "object" && typeof obj !== "function" ) { return { default : obj } ; } var cache = _getRequireWildcardCache ( nodeInterop ) ; if ( cache && cache . has ( obj ) ) { return cache . get ( obj ) ; } var newObj = { } ; var hasPropertyDescriptor = Object . defineProperty && Object . getOwnPropertyDescriptor ; for ( var key in obj ) { if ( key !== "default" && Object . prototype . hasOwnProperty . call ( obj , key ) ) { var desc = hasPropertyDescriptor ? Object . getOwnPropertyDescriptor ( obj , key ) : null ; if ( desc && ( desc . get || desc . set ) ) { Object . defineProperty ( newObj , key , desc ) ; } else { newObj [ key ] = obj [ key ] ; } } } newObj . default = obj ; if ( cache ) { cache . set ( obj , newObj ) ; } return newObj ; }
20+ function _interopRequireWildcard ( obj , nodeInterop ) { if ( ! nodeInterop && obj && obj . __esModule ) { return obj ; } if ( obj === null || _typeof ( obj ) !== "object" && typeof obj !== "function" ) { return { " default" : obj } ; } var cache = _getRequireWildcardCache ( nodeInterop ) ; if ( cache && cache . has ( obj ) ) { return cache . get ( obj ) ; } var newObj = { } ; var hasPropertyDescriptor = Object . defineProperty && Object . getOwnPropertyDescriptor ; for ( var key in obj ) { if ( key !== "default" && Object . prototype . hasOwnProperty . call ( obj , key ) ) { var desc = hasPropertyDescriptor ? Object . getOwnPropertyDescriptor ( obj , key ) : null ; if ( desc && ( desc . get || desc . set ) ) { Object . defineProperty ( newObj , key , desc ) ; } else { newObj [ key ] = obj [ key ] ; } } } newObj [ " default" ] = obj ; if ( cache ) { cache . set ( obj , newObj ) ; } return newObj ; }
4321
4422function _extends ( ) { _extends = Object . assign || function ( target ) { for ( var i = 1 ; i < arguments . length ; i ++ ) { var source = arguments [ i ] ; for ( var key in source ) { if ( Object . prototype . hasOwnProperty . call ( source , key ) ) { target [ key ] = source [ key ] ; } } } return target ; } ; return _extends . apply ( this , arguments ) ; }
4523
@@ -56,7 +34,7 @@ function ReactGoogleAutocomplete(props) {
5634 refProp = props . refProp ,
5735 rest = _objectWithoutProperties ( props , [ "onPlaceSelected" , "apiKey" , "inputAutocompleteValue" , "options" , "googleMapsScriptBaseUrl" , "refProp" ] ) ;
5836
59- var _usePlacesWidget = ( 0 , _usePlacesWidget2 . default ) ( {
37+ var _usePlacesWidget = ( 0 , _usePlacesWidget2 [ " default" ] ) ( {
6038 ref : refProp ,
6139 googleMapsScriptBaseUrl : googleMapsScriptBaseUrl ,
6240 onPlaceSelected : onPlaceSelected ,
@@ -66,37 +44,37 @@ function ReactGoogleAutocomplete(props) {
6644 } ) ,
6745 ref = _usePlacesWidget . ref ;
6846
69- return /*#__PURE__*/ _react . default . createElement ( "input" , _extends ( {
47+ return /*#__PURE__*/ _react [ " default" ] . createElement ( "input" , _extends ( {
7048 ref : ref
7149 } , rest ) ) ;
7250}
7351
7452ReactGoogleAutocomplete . propTypes = {
75- apiKey : _propTypes . default . string ,
76- ref : _propTypes . default . oneOfType ( [ // Either a function
77- _propTypes . default . func , // Or anything shaped { current: any }
78- _propTypes . default . shape ( {
79- current : _propTypes . default . any
53+ apiKey : _propTypes [ " default" ] . string ,
54+ ref : _propTypes [ " default" ] . oneOfType ( [ // Either a function
55+ _propTypes [ " default" ] . func , // Or anything shaped { current: any }
56+ _propTypes [ " default" ] . shape ( {
57+ current : _propTypes [ " default" ] . any
8058 } ) ] ) ,
81- googleMapsScriptBaseUrl : _propTypes . default . string ,
82- onPlaceSelected : _propTypes . default . func ,
83- inputAutocompleteValue : _propTypes . default . string ,
84- options : _propTypes . default . shape ( {
85- componentRestrictions : _propTypes . default . object ,
86- bounds : _propTypes . default . object ,
87- location : _propTypes . default . object ,
88- offset : _propTypes . default . number ,
89- origin : _propTypes . default . object ,
90- radius : _propTypes . default . number ,
91- sessionToken : _propTypes . default . object ,
92- types : _propTypes . default . arrayOf ( _propTypes . default . string )
59+ googleMapsScriptBaseUrl : _propTypes [ " default" ] . string ,
60+ onPlaceSelected : _propTypes [ " default" ] . func ,
61+ inputAutocompleteValue : _propTypes [ " default" ] . string ,
62+ options : _propTypes [ " default" ] . shape ( {
63+ componentRestrictions : _propTypes [ " default" ] . object ,
64+ bounds : _propTypes [ " default" ] . object ,
65+ location : _propTypes [ " default" ] . object ,
66+ offset : _propTypes [ " default" ] . number ,
67+ origin : _propTypes [ " default" ] . object ,
68+ radius : _propTypes [ " default" ] . number ,
69+ sessionToken : _propTypes [ " default" ] . object ,
70+ types : _propTypes [ " default" ] . arrayOf ( _propTypes [ " default" ] . string )
9371 } )
9472} ;
9573
9674var _default = /*#__PURE__*/ ( 0 , _react . forwardRef ) ( function ( props , ref ) {
97- return /*#__PURE__*/ _react . default . createElement ( ReactGoogleAutocomplete , _extends ( { } , props , {
75+ return /*#__PURE__*/ _react [ " default" ] . createElement ( ReactGoogleAutocomplete , _extends ( { } , props , {
9876 refProp : ref
9977 } ) ) ;
10078} ) ;
10179
102- exports . default = _default ;
80+ exports [ " default" ] = _default ;
0 commit comments