@@ -7,20 +7,20 @@ Object.defineProperty(exports, "__esModule", {
77} ) ;
88exports [ "default" ] = void 0 ;
99
10- var _react = _interopRequireWildcard ( require ( "react" ) ) ;
11-
1210var _classnames = _interopRequireDefault ( require ( "classnames" ) ) ;
1311
12+ var _react = _interopRequireWildcard ( require ( "react" ) ) ;
13+
1414var _utils = _interopRequireDefault ( require ( "./utils" ) ) ;
1515
1616var _FlagBox = _interopRequireDefault ( require ( "./FlagBox" ) ) ;
1717
18- function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { "default" : obj } ; }
19-
2018function _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 ) ; }
2119
2220function _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 ; }
2321
22+ function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { "default" : obj } ; }
23+
2424function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
2525
2626function _defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } }
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
2929
3030function _inherits ( subClass , superClass ) { if ( typeof superClass !== "function" && superClass !== null ) { throw new TypeError ( "Super expression must either be null or a function" ) ; } subClass . prototype = Object . create ( superClass && superClass . prototype , { constructor : { value : subClass , writable : true , configurable : true } } ) ; Object . defineProperty ( subClass , "prototype" , { writable : false } ) ; if ( superClass ) _setPrototypeOf ( subClass , superClass ) ; }
3131
32- function _setPrototypeOf ( o , p ) { _setPrototypeOf = Object . setPrototypeOf || function _setPrototypeOf ( o , p ) { o . __proto__ = p ; return o ; } ; return _setPrototypeOf ( o , p ) ; }
32+ function _setPrototypeOf ( o , p ) { _setPrototypeOf = Object . setPrototypeOf ? Object . setPrototypeOf . bind ( ) : function _setPrototypeOf ( o , p ) { o . __proto__ = p ; return o ; } ; return _setPrototypeOf ( o , p ) ; }
3333
3434function _createSuper ( Derived ) { var hasNativeReflectConstruct = _isNativeReflectConstruct ( ) ; return function _createSuperInternal ( ) { var Super = _getPrototypeOf ( Derived ) , result ; if ( hasNativeReflectConstruct ) { var NewTarget = _getPrototypeOf ( this ) . constructor ; result = Reflect . construct ( Super , arguments , NewTarget ) ; } else { result = Super . apply ( this , arguments ) ; } return _possibleConstructorReturn ( this , result ) ; } ; }
3535
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
3939
4040function _isNativeReflectConstruct ( ) { if ( typeof Reflect === "undefined" || ! Reflect . construct ) return false ; if ( Reflect . construct . sham ) return false ; if ( typeof Proxy === "function" ) return true ; try { Boolean . prototype . valueOf . call ( Reflect . construct ( Boolean , [ ] , function ( ) { } ) ) ; return true ; } catch ( e ) { return false ; } }
4141
42- function _getPrototypeOf ( o ) { _getPrototypeOf = Object . setPrototypeOf ? Object . getPrototypeOf : function _getPrototypeOf ( o ) { return o . __proto__ || Object . getPrototypeOf ( o ) ; } ; return _getPrototypeOf ( o ) ; }
42+ function _getPrototypeOf ( o ) { _getPrototypeOf = Object . setPrototypeOf ? Object . getPrototypeOf . bind ( ) : function _getPrototypeOf ( o ) { return o . __proto__ || Object . getPrototypeOf ( o ) ; } ; return _getPrototypeOf ( o ) ; }
4343
4444function _defineProperty ( obj , key , value ) { if ( key in obj ) { Object . defineProperty ( obj , key , { value : value , enumerable : true , configurable : true , writable : true } ) ; } else { obj [ key ] = value ; } return obj ; }
4545
@@ -199,87 +199,87 @@ CountryList.__docgenInfo = {
199199 "displayName" : "CountryList" ,
200200 "props" : {
201201 "setFlag" : {
202+ "description" : "" ,
202203 "type" : {
203204 "name" : "func"
204205 } ,
205- "required" : false ,
206- "description" : ""
206+ "required" : false
207207 } ,
208208 "countries" : {
209+ "description" : "" ,
209210 "type" : {
210211 "name" : "arrayOf" ,
211212 "value" : {
212213 "name" : "object"
213214 }
214215 } ,
215- "required" : false ,
216- "description" : ""
216+ "required" : false
217217 } ,
218218 "inputTop" : {
219+ "description" : "" ,
219220 "type" : {
220221 "name" : "number"
221222 } ,
222- "required" : false ,
223- "description" : ""
223+ "required" : false
224224 } ,
225225 "inputOuterHeight" : {
226+ "description" : "" ,
226227 "type" : {
227228 "name" : "number"
228229 } ,
229- "required" : false ,
230- "description" : ""
230+ "required" : false
231231 } ,
232232 "preferredCountries" : {
233+ "description" : "" ,
233234 "type" : {
234235 "name" : "arrayOf" ,
235236 "value" : {
236237 "name" : "object"
237238 }
238239 } ,
239- "required" : false ,
240- "description" : ""
240+ "required" : false
241241 } ,
242242 "highlightedCountry" : {
243+ "description" : "" ,
243244 "type" : {
244245 "name" : "number"
245246 } ,
246- "required" : false ,
247- "description" : ""
247+ "required" : false
248248 } ,
249249 "changeHighlightCountry" : {
250+ "description" : "" ,
250251 "type" : {
251252 "name" : "func"
252253 } ,
253- "required" : false ,
254- "description" : ""
254+ "required" : false
255255 } ,
256256 "showDropdown" : {
257+ "description" : "" ,
257258 "type" : {
258259 "name" : "bool"
259260 } ,
260- "required" : false ,
261- "description" : ""
261+ "required" : false
262262 } ,
263263 "isMobile" : {
264+ "description" : "" ,
264265 "type" : {
265266 "name" : "bool"
266267 } ,
267- "required" : false ,
268- "description" : ""
268+ "required" : false
269269 } ,
270270 "window" : {
271+ "description" : "" ,
271272 "type" : {
272273 "name" : "object"
273274 } ,
274- "required" : true ,
275- "description" : ""
275+ "required" : true
276276 } ,
277277 "document" : {
278+ "description" : "" ,
278279 "type" : {
279280 "name" : "object"
280281 } ,
281- "required" : true ,
282- "description" : ""
282+ "required" : true
283283 }
284284 }
285285} ;
0 commit comments