1
1
/*
2
- react-datetime v2.8.9
2
+ react-datetime v2.8.10
3
3
https://github.com/YouCanBookMe/react-datetime
4
4
MIT: https://github.com/YouCanBookMe/react-datetime/raw/master/LICENSE
5
5
*/
@@ -57,7 +57,7 @@ return /******/ (function(modules) { // webpackBootstrap
57
57
/************************************************************************/
58
58
/******/ ( [
59
59
/* 0 */
60
- /***/ function ( module , exports , __webpack_require__ ) {
60
+ /***/ ( function ( module , exports , __webpack_require__ ) {
61
61
62
62
'use strict' ;
63
63
@@ -501,9 +501,9 @@ return /******/ (function(modules) { // webpackBootstrap
501
501
module . exports = Datetime ;
502
502
503
503
504
- /***/ } ,
504
+ /***/ } ) ,
505
505
/* 1 */
506
- /***/ function ( module , exports ) {
506
+ /***/ ( function ( module , exports ) {
507
507
508
508
'use strict' ;
509
509
var propIsEnumerable = Object . prototype . propertyIsEnumerable ;
@@ -546,9 +546,9 @@ return /******/ (function(modules) { // webpackBootstrap
546
546
} ;
547
547
548
548
549
- /***/ } ,
549
+ /***/ } ) ,
550
550
/* 2 */
551
- /***/ function ( module , exports , __webpack_require__ ) {
551
+ /***/ ( function ( module , exports , __webpack_require__ ) {
552
552
553
553
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
554
554
* Copyright 2013-present, Facebook, Inc.
@@ -583,9 +583,9 @@ return /******/ (function(modules) { // webpackBootstrap
583
583
584
584
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
585
585
586
- /***/ } ,
586
+ /***/ } ) ,
587
587
/* 3 */
588
- /***/ function ( module , exports ) {
588
+ /***/ ( function ( module , exports ) {
589
589
590
590
// shim for using process in browser
591
591
var process = module . exports = { } ;
@@ -769,9 +769,9 @@ return /******/ (function(modules) { // webpackBootstrap
769
769
process . umask = function ( ) { return 0 ; } ;
770
770
771
771
772
- /***/ } ,
772
+ /***/ } ) ,
773
773
/* 4 */
774
- /***/ function ( module , exports , __webpack_require__ ) {
774
+ /***/ ( function ( module , exports , __webpack_require__ ) {
775
775
776
776
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
777
777
* Copyright 2013-present, Facebook, Inc.
@@ -923,6 +923,7 @@ return /******/ (function(modules) { // webpackBootstrap
923
923
function createChainableTypeChecker ( validate ) {
924
924
if ( process . env . NODE_ENV !== 'production' ) {
925
925
var manualPropTypeCallCache = { } ;
926
+ var manualPropTypeWarningCount = 0 ;
926
927
}
927
928
function checkType ( isRequired , props , propName , componentName , location , propFullName , secret ) {
928
929
componentName = componentName || ANONYMOUS ;
@@ -940,7 +941,11 @@ return /******/ (function(modules) { // webpackBootstrap
940
941
} else if ( process . env . NODE_ENV !== 'production' && typeof console !== 'undefined' ) {
941
942
// Old behavior for people using React.PropTypes
942
943
var cacheKey = componentName + ':' + propName ;
943
- if ( ! manualPropTypeCallCache [ cacheKey ] ) {
944
+ if (
945
+ ! manualPropTypeCallCache [ cacheKey ] &&
946
+ // Avoid spamming the console because they are often not actionable except for lib authors
947
+ manualPropTypeWarningCount < 3
948
+ ) {
944
949
warning (
945
950
false ,
946
951
'You are manually calling a React.PropTypes validation ' +
@@ -952,6 +957,7 @@ return /******/ (function(modules) { // webpackBootstrap
952
957
componentName
953
958
) ;
954
959
manualPropTypeCallCache [ cacheKey ] = true ;
960
+ manualPropTypeWarningCount ++ ;
955
961
}
956
962
}
957
963
}
@@ -1248,9 +1254,9 @@ return /******/ (function(modules) { // webpackBootstrap
1248
1254
1249
1255
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
1250
1256
1251
- /***/ } ,
1257
+ /***/ } ) ,
1252
1258
/* 5 */
1253
- /***/ function ( module , exports ) {
1259
+ /***/ ( function ( module , exports ) {
1254
1260
1255
1261
"use strict" ;
1256
1262
@@ -1291,9 +1297,9 @@ return /******/ (function(modules) { // webpackBootstrap
1291
1297
1292
1298
module . exports = emptyFunction ;
1293
1299
1294
- /***/ } ,
1300
+ /***/ } ) ,
1295
1301
/* 6 */
1296
- /***/ function ( module , exports , __webpack_require__ ) {
1302
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1297
1303
1298
1304
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
1299
1305
* Copyright (c) 2013-present, Facebook, Inc.
@@ -1352,9 +1358,9 @@ return /******/ (function(modules) { // webpackBootstrap
1352
1358
module . exports = invariant ;
1353
1359
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
1354
1360
1355
- /***/ } ,
1361
+ /***/ } ) ,
1356
1362
/* 7 */
1357
- /***/ function ( module , exports , __webpack_require__ ) {
1363
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1358
1364
1359
1365
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
1360
1366
* Copyright 2014-2015, Facebook, Inc.
@@ -1424,9 +1430,9 @@ return /******/ (function(modules) { // webpackBootstrap
1424
1430
module . exports = warning ;
1425
1431
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
1426
1432
1427
- /***/ } ,
1433
+ /***/ } ) ,
1428
1434
/* 8 */
1429
- /***/ function ( module , exports ) {
1435
+ /***/ ( function ( module , exports ) {
1430
1436
1431
1437
/**
1432
1438
* Copyright 2013-present, Facebook, Inc.
@@ -1444,9 +1450,9 @@ return /******/ (function(modules) { // webpackBootstrap
1444
1450
module . exports = ReactPropTypesSecret ;
1445
1451
1446
1452
1447
- /***/ } ,
1453
+ /***/ } ) ,
1448
1454
/* 9 */
1449
- /***/ function ( module , exports , __webpack_require__ ) {
1455
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1450
1456
1451
1457
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
1452
1458
* Copyright 2013-present, Facebook, Inc.
@@ -1512,9 +1518,9 @@ return /******/ (function(modules) { // webpackBootstrap
1512
1518
1513
1519
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
1514
1520
1515
- /***/ } ,
1521
+ /***/ } ) ,
1516
1522
/* 10 */
1517
- /***/ function ( module , exports , __webpack_require__ ) {
1523
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1518
1524
1519
1525
/**
1520
1526
* Copyright 2013-present, Facebook, Inc.
@@ -1572,9 +1578,9 @@ return /******/ (function(modules) { // webpackBootstrap
1572
1578
} ;
1573
1579
1574
1580
1575
- /***/ } ,
1581
+ /***/ } ) ,
1576
1582
/* 11 */
1577
- /***/ function ( module , exports , __webpack_require__ ) {
1583
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1578
1584
1579
1585
/**
1580
1586
* Copyright 2013-present, Facebook, Inc.
@@ -1601,15 +1607,15 @@ return /******/ (function(modules) { // webpackBootstrap
1601
1607
) ;
1602
1608
1603
1609
1604
- /***/ } ,
1610
+ /***/ } ) ,
1605
1611
/* 12 */
1606
- /***/ function ( module , exports ) {
1612
+ /***/ ( function ( module , exports ) {
1607
1613
1608
1614
module . exports = __WEBPACK_EXTERNAL_MODULE_12__ ;
1609
1615
1610
- /***/ } ,
1616
+ /***/ } ) ,
1611
1617
/* 13 */
1612
- /***/ function ( module , exports , __webpack_require__ ) {
1618
+ /***/ ( function ( module , exports , __webpack_require__ ) {
1613
1619
1614
1620
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
1615
1621
* Copyright 2013-present, Facebook, Inc.
@@ -2338,9 +2344,9 @@ return /******/ (function(modules) { // webpackBootstrap
2338
2344
2339
2345
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
2340
2346
2341
- /***/ } ,
2347
+ /***/ } ) ,
2342
2348
/* 14 */
2343
- /***/ function ( module , exports ) {
2349
+ /***/ ( function ( module , exports ) {
2344
2350
2345
2351
/*
2346
2352
object-assign
@@ -2434,9 +2440,9 @@ return /******/ (function(modules) { // webpackBootstrap
2434
2440
} ;
2435
2441
2436
2442
2437
- /***/ } ,
2443
+ /***/ } ) ,
2438
2444
/* 15 */
2439
- /***/ function ( module , exports , __webpack_require__ ) {
2445
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2440
2446
2441
2447
/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
2442
2448
* Copyright (c) 2013-present, Facebook, Inc.
@@ -2459,15 +2465,15 @@ return /******/ (function(modules) { // webpackBootstrap
2459
2465
module . exports = emptyObject ;
2460
2466
/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 3 ) ) )
2461
2467
2462
- /***/ } ,
2468
+ /***/ } ) ,
2463
2469
/* 16 */
2464
- /***/ function ( module , exports ) {
2470
+ /***/ ( function ( module , exports ) {
2465
2471
2466
2472
module . exports = __WEBPACK_EXTERNAL_MODULE_16__ ;
2467
2473
2468
- /***/ } ,
2474
+ /***/ } ) ,
2469
2475
/* 17 */
2470
- /***/ function ( module , exports , __webpack_require__ ) {
2476
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2471
2477
2472
2478
var React = __webpack_require__ ( 12 ) ,
2473
2479
createClass = __webpack_require__ ( 11 ) ,
@@ -2493,9 +2499,9 @@ return /******/ (function(modules) { // webpackBootstrap
2493
2499
module . exports = CalendarContainer ;
2494
2500
2495
2501
2496
- /***/ } ,
2502
+ /***/ } ) ,
2497
2503
/* 18 */
2498
- /***/ function ( module , exports , __webpack_require__ ) {
2504
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2499
2505
2500
2506
'use strict' ;
2501
2507
@@ -2517,9 +2523,9 @@ return /******/ (function(modules) { // webpackBootstrap
2517
2523
tableChildren = [
2518
2524
DOM . thead ( { key : 'th' } , [
2519
2525
DOM . tr ( { key : 'h' } , [
2520
- DOM . th ( { key : 'p' , className : 'rdtPrev' } , DOM . span ( { onClick : this . props . subtractTime ( 1 , 'months' ) } , '‹' ) ) ,
2526
+ DOM . th ( { key : 'p' , className : 'rdtPrev' , onClick : this . props . subtractTime ( 1 , 'months' ) } , DOM . span ( { } , '‹' ) ) ,
2521
2527
DOM . th ( { key : 's' , className : 'rdtSwitch' , onClick : this . props . showView ( 'months' ) , colSpan : 5 , 'data-value' : this . props . viewDate . month ( ) } , locale . months ( date ) + ' ' + date . year ( ) ) ,
2522
- DOM . th ( { key : 'n' , className : 'rdtNext' } , DOM . span ( { onClick : this . props . addTime ( 1 , 'months' ) } , '›' ) )
2528
+ DOM . th ( { key : 'n' , className : 'rdtNext' , onClick : this . props . addTime ( 1 , 'months' ) } , DOM . span ( { } , '›' ) )
2523
2529
] ) ,
2524
2530
DOM . tr ( { key : 'd' } , this . getDaysOfWeek ( locale ) . map ( function ( day , index ) { return DOM . th ( { key : day + index , className : 'dow' } , day ) ; } ) )
2525
2531
] ) ,
@@ -2644,9 +2650,9 @@ return /******/ (function(modules) { // webpackBootstrap
2644
2650
module . exports = DateTimePickerDays ;
2645
2651
2646
2652
2647
- /***/ } ,
2653
+ /***/ } ) ,
2648
2654
/* 19 */
2649
- /***/ function ( module , exports , __webpack_require__ ) {
2655
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2650
2656
2651
2657
var __WEBPACK_AMD_DEFINE_ARRAY__ , __WEBPACK_AMD_DEFINE_RESULT__ ; /**
2652
2658
* A higher-order-component for handling onClickOutside for React components.
@@ -2959,15 +2965,15 @@ return /******/ (function(modules) { // webpackBootstrap
2959
2965
} ( this ) ) ;
2960
2966
2961
2967
2962
- /***/ } ,
2968
+ /***/ } ) ,
2963
2969
/* 20 */
2964
- /***/ function ( module , exports ) {
2970
+ /***/ ( function ( module , exports ) {
2965
2971
2966
2972
module . exports = __WEBPACK_EXTERNAL_MODULE_20__ ;
2967
2973
2968
- /***/ } ,
2974
+ /***/ } ) ,
2969
2975
/* 21 */
2970
- /***/ function ( module , exports , __webpack_require__ ) {
2976
+ /***/ ( function ( module , exports , __webpack_require__ ) {
2971
2977
2972
2978
'use strict' ;
2973
2979
@@ -2981,9 +2987,9 @@ return /******/ (function(modules) { // webpackBootstrap
2981
2987
render : function ( ) {
2982
2988
return DOM . div ( { className : 'rdtMonths' } , [
2983
2989
DOM . table ( { key : 'a' } , DOM . thead ( { } , DOM . tr ( { } , [
2984
- DOM . th ( { key : 'prev' , className : 'rdtPrev' } , DOM . span ( { onClick : this . props . subtractTime ( 1 , 'years' ) } , '‹' ) ) ,
2990
+ DOM . th ( { key : 'prev' , className : 'rdtPrev' , onClick : this . props . subtractTime ( 1 , 'years' ) } , DOM . span ( { } , '‹' ) ) ,
2985
2991
DOM . th ( { key : 'year' , className : 'rdtSwitch' , onClick : this . props . showView ( 'years' ) , colSpan : 2 , 'data-value' : this . props . viewDate . year ( ) } , this . props . viewDate . year ( ) ) ,
2986
- DOM . th ( { key : 'next' , className : 'rdtNext' } , DOM . span ( { onClick : this . props . addTime ( 1 , 'years' ) } , '›' ) )
2992
+ DOM . th ( { key : 'next' , className : 'rdtNext' , onClick : this . props . addTime ( 1 , 'years' ) } , DOM . span ( { } , '›' ) )
2987
2993
] ) ) ) ,
2988
2994
DOM . table ( { key : 'months' } , DOM . tbody ( { key : 'b' } , this . renderMonths ( ) ) )
2989
2995
] ) ;
@@ -3079,9 +3085,9 @@ return /******/ (function(modules) { // webpackBootstrap
3079
3085
module . exports = DateTimePickerMonths ;
3080
3086
3081
3087
3082
- /***/ } ,
3088
+ /***/ } ) ,
3083
3089
/* 22 */
3084
- /***/ function ( module , exports , __webpack_require__ ) {
3090
+ /***/ ( function ( module , exports , __webpack_require__ ) {
3085
3091
3086
3092
'use strict' ;
3087
3093
@@ -3097,9 +3103,9 @@ return /******/ (function(modules) { // webpackBootstrap
3097
3103
3098
3104
return DOM . div ( { className : 'rdtYears' } , [
3099
3105
DOM . table ( { key : 'a' } , DOM . thead ( { } , DOM . tr ( { } , [
3100
- DOM . th ( { key : 'prev' , className : 'rdtPrev' } , DOM . span ( { onClick : this . props . subtractTime ( 10 , 'years' ) } , '‹' ) ) ,
3106
+ DOM . th ( { key : 'prev' , className : 'rdtPrev' , onClick : this . props . subtractTime ( 10 , 'years' ) } , DOM . span ( { } , '‹' ) ) ,
3101
3107
DOM . th ( { key : 'year' , className : 'rdtSwitch' , onClick : this . props . showView ( 'years' ) , colSpan : 2 } , year + '-' + ( year + 9 ) ) ,
3102
- DOM . th ( { key : 'next' , className : 'rdtNext' } , DOM . span ( { onClick : this . props . addTime ( 10 , 'years' ) } , '›' ) )
3108
+ DOM . th ( { key : 'next' , className : 'rdtNext' , onClick : this . props . addTime ( 10 , 'years' ) } , DOM . span ( { } , '›' ) )
3103
3109
] ) ) ) ,
3104
3110
DOM . table ( { key : 'years' } , DOM . tbody ( { } , this . renderYears ( year ) ) )
3105
3111
] ) ;
@@ -3191,9 +3197,9 @@ return /******/ (function(modules) { // webpackBootstrap
3191
3197
module . exports = DateTimePickerYears ;
3192
3198
3193
3199
3194
- /***/ } ,
3200
+ /***/ } ) ,
3195
3201
/* 23 */
3196
- /***/ function ( module , exports , __webpack_require__ ) {
3202
+ /***/ ( function ( module , exports , __webpack_require__ ) {
3197
3203
3198
3204
'use strict' ;
3199
3205
@@ -3426,7 +3432,7 @@ return /******/ (function(modules) { // webpackBootstrap
3426
3432
module . exports = DateTimePickerTime ;
3427
3433
3428
3434
3429
- /***/ }
3435
+ /***/ } )
3430
3436
/******/ ] )
3431
3437
} ) ;
3432
3438
;
0 commit comments