@@ -7,20 +7,20 @@ Object.defineProperty(exports, "__esModule", {
7
7
} ) ;
8
8
exports [ "default" ] = void 0 ;
9
9
10
- var _react = _interopRequireWildcard ( require ( "react" ) ) ;
11
-
12
10
var _classnames = _interopRequireDefault ( require ( "classnames" ) ) ;
13
11
12
+ var _react = _interopRequireWildcard ( require ( "react" ) ) ;
13
+
14
14
var _utils = _interopRequireDefault ( require ( "./utils" ) ) ;
15
15
16
16
var _FlagBox = _interopRequireDefault ( require ( "./FlagBox" ) ) ;
17
17
18
- function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { "default" : obj } ; }
19
-
20
18
function _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 ) ; }
21
19
22
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 ; }
23
21
22
+ function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { "default" : obj } ; }
23
+
24
24
function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
25
25
26
26
function _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
29
29
30
30
function _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 ) ; }
31
31
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 ) ; }
33
33
34
34
function _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 ) ; } ; }
35
35
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
39
39
40
40
function _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 ; } }
41
41
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 ) ; }
43
43
44
44
function _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 ; }
45
45
@@ -199,87 +199,87 @@ CountryList.__docgenInfo = {
199
199
"displayName" : "CountryList" ,
200
200
"props" : {
201
201
"setFlag" : {
202
+ "description" : "" ,
202
203
"type" : {
203
204
"name" : "func"
204
205
} ,
205
- "required" : false ,
206
- "description" : ""
206
+ "required" : false
207
207
} ,
208
208
"countries" : {
209
+ "description" : "" ,
209
210
"type" : {
210
211
"name" : "arrayOf" ,
211
212
"value" : {
212
213
"name" : "object"
213
214
}
214
215
} ,
215
- "required" : false ,
216
- "description" : ""
216
+ "required" : false
217
217
} ,
218
218
"inputTop" : {
219
+ "description" : "" ,
219
220
"type" : {
220
221
"name" : "number"
221
222
} ,
222
- "required" : false ,
223
- "description" : ""
223
+ "required" : false
224
224
} ,
225
225
"inputOuterHeight" : {
226
+ "description" : "" ,
226
227
"type" : {
227
228
"name" : "number"
228
229
} ,
229
- "required" : false ,
230
- "description" : ""
230
+ "required" : false
231
231
} ,
232
232
"preferredCountries" : {
233
+ "description" : "" ,
233
234
"type" : {
234
235
"name" : "arrayOf" ,
235
236
"value" : {
236
237
"name" : "object"
237
238
}
238
239
} ,
239
- "required" : false ,
240
- "description" : ""
240
+ "required" : false
241
241
} ,
242
242
"highlightedCountry" : {
243
+ "description" : "" ,
243
244
"type" : {
244
245
"name" : "number"
245
246
} ,
246
- "required" : false ,
247
- "description" : ""
247
+ "required" : false
248
248
} ,
249
249
"changeHighlightCountry" : {
250
+ "description" : "" ,
250
251
"type" : {
251
252
"name" : "func"
252
253
} ,
253
- "required" : false ,
254
- "description" : ""
254
+ "required" : false
255
255
} ,
256
256
"showDropdown" : {
257
+ "description" : "" ,
257
258
"type" : {
258
259
"name" : "bool"
259
260
} ,
260
- "required" : false ,
261
- "description" : ""
261
+ "required" : false
262
262
} ,
263
263
"isMobile" : {
264
+ "description" : "" ,
264
265
"type" : {
265
266
"name" : "bool"
266
267
} ,
267
- "required" : false ,
268
- "description" : ""
268
+ "required" : false
269
269
} ,
270
270
"window" : {
271
+ "description" : "" ,
271
272
"type" : {
272
273
"name" : "object"
273
274
} ,
274
- "required" : true ,
275
- "description" : ""
275
+ "required" : true
276
276
} ,
277
277
"document" : {
278
+ "description" : "" ,
278
279
"type" : {
279
280
"name" : "object"
280
281
} ,
281
- "required" : true ,
282
- "description" : ""
282
+ "required" : true
283
283
}
284
284
}
285
285
} ;
0 commit comments