88 exports [ "ReactSortable" ] = factory ( require ( "react" ) , require ( "react-dom" ) , require ( "sortablejs" ) ) ;
99 else
1010 root [ "ReactSortable" ] = factory ( root [ "React" ] , root [ "ReactDOM" ] , root [ "Sortable" ] ) ;
11- } ) ( this , function ( __WEBPACK_EXTERNAL_MODULE_11__ , __WEBPACK_EXTERNAL_MODULE_12__ , __WEBPACK_EXTERNAL_MODULE_13__ ) {
11+ } ) ( this , function ( __WEBPACK_EXTERNAL_MODULE_12__ , __WEBPACK_EXTERNAL_MODULE_13__ , __WEBPACK_EXTERNAL_MODULE_14__ ) {
1212return /******/ ( function ( modules ) { // webpackBootstrap
1313/******/ // The module cache
1414/******/ var installedModules = { } ;
@@ -276,11 +276,9 @@ process.umask = function() { return 0; };
276276
277277/**
278278 * Copyright (c) 2013-present, Facebook, Inc.
279- * All rights reserved.
280279 *
281- * This source code is licensed under the BSD-style license found in the
282- * LICENSE file in the root directory of this source tree. An additional grant
283- * of patent rights can be found in the PATENTS file in the same directory.
280+ * This source code is licensed under the MIT license found in the
281+ * LICENSE file in the root directory of this source tree.
284282 *
285283 *
286284 */
@@ -318,11 +316,9 @@ module.exports = emptyFunction;
318316"use strict" ;
319317/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
320318 * Copyright (c) 2013-present, Facebook, Inc.
321- * All rights reserved.
322319 *
323- * This source code is licensed under the BSD-style license found in the
324- * LICENSE file in the root directory of this source tree. An additional grant
325- * of patent rights can be found in the PATENTS file in the same directory.
320+ * This source code is licensed under the MIT license found in the
321+ * LICENSE file in the root directory of this source tree.
326322 *
327323 */
328324
@@ -379,12 +375,10 @@ module.exports = invariant;
379375
380376"use strict" ;
381377/**
382- * Copyright 2013-present, Facebook, Inc.
383- * All rights reserved.
378+ * Copyright (c) 2013-present, Facebook, Inc.
384379 *
385- * This source code is licensed under the BSD-style license found in the
386- * LICENSE file in the root directory of this source tree. An additional grant
387- * of patent rights can be found in the PATENTS file in the same directory.
380+ * This source code is licensed under the MIT license found in the
381+ * LICENSE file in the root directory of this source tree.
388382 */
389383
390384
@@ -400,12 +394,10 @@ module.exports = ReactPropTypesSecret;
400394
401395"use strict" ;
402396/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
403- * Copyright 2014-2015, Facebook, Inc.
404- * All rights reserved.
397+ * Copyright (c) 2014-present, Facebook, Inc.
405398 *
406- * This source code is licensed under the BSD-style license found in the
407- * LICENSE file in the root directory of this source tree. An additional grant
408- * of patent rights can be found in the PATENTS file in the same directory.
399+ * This source code is licensed under the MIT license found in the
400+ * LICENSE file in the root directory of this source tree.
409401 *
410402 */
411403
@@ -485,19 +477,19 @@ var _createClass = function () { function defineProperties(target, props) { for
485477var _class , _temp2 ; /* eslint consistent-return: 0 */
486478
487479
488- var _propTypes = __webpack_require__ ( 10 ) ;
480+ var _propTypes = __webpack_require__ ( 11 ) ;
489481
490482var _propTypes2 = _interopRequireDefault ( _propTypes ) ;
491483
492- var _react = __webpack_require__ ( 11 ) ;
484+ var _react = __webpack_require__ ( 12 ) ;
493485
494486var _react2 = _interopRequireDefault ( _react ) ;
495487
496- var _reactDom = __webpack_require__ ( 12 ) ;
488+ var _reactDom = __webpack_require__ ( 13 ) ;
497489
498490var _reactDom2 = _interopRequireDefault ( _reactDom ) ;
499491
500- var _sortablejs = __webpack_require__ ( 13 ) ;
492+ var _sortablejs = __webpack_require__ ( 14 ) ;
501493
502494var _sortablejs2 = _interopRequireDefault ( _sortablejs ) ;
503495
@@ -645,14 +637,109 @@ module.exports = _Sortable2.default;
645637/* 7 */
646638/***/ ( function ( module , exports , __webpack_require__ ) {
647639
640+ "use strict" ;
641+ /*
642+ object-assign
643+ (c) Sindre Sorhus
644+ @license MIT
645+ */
646+
647+
648+ /* eslint-disable no-unused-vars */
649+ var getOwnPropertySymbols = Object . getOwnPropertySymbols ;
650+ var hasOwnProperty = Object . prototype . hasOwnProperty ;
651+ var propIsEnumerable = Object . prototype . propertyIsEnumerable ;
652+
653+ function toObject ( val ) {
654+ if ( val === null || val === undefined ) {
655+ throw new TypeError ( 'Object.assign cannot be called with null or undefined' ) ;
656+ }
657+
658+ return Object ( val ) ;
659+ }
660+
661+ function shouldUseNative ( ) {
662+ try {
663+ if ( ! Object . assign ) {
664+ return false ;
665+ }
666+
667+ // Detect buggy property enumeration order in older V8 versions.
668+
669+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
670+ var test1 = new String ( 'abc' ) ; // eslint-disable-line no-new-wrappers
671+ test1 [ 5 ] = 'de' ;
672+ if ( Object . getOwnPropertyNames ( test1 ) [ 0 ] === '5' ) {
673+ return false ;
674+ }
675+
676+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
677+ var test2 = { } ;
678+ for ( var i = 0 ; i < 10 ; i ++ ) {
679+ test2 [ '_' + String . fromCharCode ( i ) ] = i ;
680+ }
681+ var order2 = Object . getOwnPropertyNames ( test2 ) . map ( function ( n ) {
682+ return test2 [ n ] ;
683+ } ) ;
684+ if ( order2 . join ( '' ) !== '0123456789' ) {
685+ return false ;
686+ }
687+
688+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
689+ var test3 = { } ;
690+ 'abcdefghijklmnopqrst' . split ( '' ) . forEach ( function ( letter ) {
691+ test3 [ letter ] = letter ;
692+ } ) ;
693+ if ( Object . keys ( Object . assign ( { } , test3 ) ) . join ( '' ) !==
694+ 'abcdefghijklmnopqrst' ) {
695+ return false ;
696+ }
697+
698+ return true ;
699+ } catch ( err ) {
700+ // We don't expect any of the above to throw, but better to be safe.
701+ return false ;
702+ }
703+ }
704+
705+ module . exports = shouldUseNative ( ) ? Object . assign : function ( target , source ) {
706+ var from ;
707+ var to = toObject ( target ) ;
708+ var symbols ;
709+
710+ for ( var s = 1 ; s < arguments . length ; s ++ ) {
711+ from = Object ( arguments [ s ] ) ;
712+
713+ for ( var key in from ) {
714+ if ( hasOwnProperty . call ( from , key ) ) {
715+ to [ key ] = from [ key ] ;
716+ }
717+ }
718+
719+ if ( getOwnPropertySymbols ) {
720+ symbols = getOwnPropertySymbols ( from ) ;
721+ for ( var i = 0 ; i < symbols . length ; i ++ ) {
722+ if ( propIsEnumerable . call ( from , symbols [ i ] ) ) {
723+ to [ symbols [ i ] ] = from [ symbols [ i ] ] ;
724+ }
725+ }
726+ }
727+ }
728+
729+ return to ;
730+ } ;
731+
732+
733+ /***/ } ) ,
734+ /* 8 */
735+ /***/ ( function ( module , exports , __webpack_require__ ) {
736+
648737"use strict" ;
649738/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
650- * Copyright 2013-present, Facebook, Inc.
651- * All rights reserved.
739+ * Copyright (c) 2013-present, Facebook, Inc.
652740 *
653- * This source code is licensed under the BSD-style license found in the
654- * LICENSE file in the root directory of this source tree. An additional grant
655- * of patent rights can be found in the PATENTS file in the same directory.
741+ * This source code is licensed under the MIT license found in the
742+ * LICENSE file in the root directory of this source tree.
656743 */
657744
658745
@@ -686,7 +773,7 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
686773 try {
687774 // This is intentionally an invariant that gets caught. It's the same
688775 // behavior as without this statement except with a better message.
689- invariant ( typeof typeSpecs [ typeSpecName ] === 'function' , '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes. ' , componentName || 'React class' , location , typeSpecName ) ;
776+ invariant ( typeof typeSpecs [ typeSpecName ] === 'function' , '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`. ' , componentName || 'React class' , location , typeSpecName , typeof typeSpecs [ typeSpecName ] ) ;
690777 error = typeSpecs [ typeSpecName ] ( values , typeSpecName , componentName , location , null , ReactPropTypesSecret ) ;
691778 } catch ( ex ) {
692779 error = ex ;
@@ -711,17 +798,15 @@ module.exports = checkPropTypes;
711798/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 0 ) ) )
712799
713800/***/ } ) ,
714- /* 8 */
801+ /* 9 */
715802/***/ ( function ( module , exports , __webpack_require__ ) {
716803
717804"use strict" ;
718805/**
719- * Copyright 2013-present, Facebook, Inc.
720- * All rights reserved.
806+ * Copyright (c) 2013-present, Facebook, Inc.
721807 *
722- * This source code is licensed under the BSD-style license found in the
723- * LICENSE file in the root directory of this source tree. An additional grant
724- * of patent rights can be found in the PATENTS file in the same directory.
808+ * This source code is licensed under the MIT license found in the
809+ * LICENSE file in the root directory of this source tree.
725810 */
726811
727812
@@ -766,7 +851,8 @@ module.exports = function() {
766851 objectOf : getShim ,
767852 oneOf : getShim ,
768853 oneOfType : getShim ,
769- shape : getShim
854+ shape : getShim ,
855+ exact : getShim
770856 } ;
771857
772858 ReactPropTypes . checkPropTypes = emptyFunction ;
@@ -777,27 +863,26 @@ module.exports = function() {
777863
778864
779865/***/ } ) ,
780- /* 9 */
866+ /* 10 */
781867/***/ ( function ( module , exports , __webpack_require__ ) {
782868
783869"use strict" ;
784870/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
785- * Copyright 2013-present, Facebook, Inc.
786- * All rights reserved.
871+ * Copyright (c) 2013-present, Facebook, Inc.
787872 *
788- * This source code is licensed under the BSD-style license found in the
789- * LICENSE file in the root directory of this source tree. An additional grant
790- * of patent rights can be found in the PATENTS file in the same directory.
873+ * This source code is licensed under the MIT license found in the
874+ * LICENSE file in the root directory of this source tree.
791875 */
792876
793877
794878
795879var emptyFunction = __webpack_require__ ( 1 ) ;
796880var invariant = __webpack_require__ ( 2 ) ;
797881var warning = __webpack_require__ ( 4 ) ;
882+ var assign = __webpack_require__ ( 7 ) ;
798883
799884var ReactPropTypesSecret = __webpack_require__ ( 3 ) ;
800- var checkPropTypes = __webpack_require__ ( 7 ) ;
885+ var checkPropTypes = __webpack_require__ ( 8 ) ;
801886
802887module . exports = function ( isValidElement , throwOnDirectAccess ) {
803888 /* global Symbol */
@@ -893,7 +978,8 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
893978 objectOf : createObjectOfTypeChecker ,
894979 oneOf : createEnumTypeChecker ,
895980 oneOfType : createUnionTypeChecker ,
896- shape : createShapeTypeChecker
981+ shape : createShapeTypeChecker ,
982+ exact : createStrictShapeTypeChecker ,
897983 } ;
898984
899985 /**
@@ -1108,7 +1194,7 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
11081194 if ( typeof checker !== 'function' ) {
11091195 warning (
11101196 false ,
1111- 'Invalid argument supplid to oneOfType. Expected an array of check functions, but ' +
1197+ 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
11121198 'received %s at index %s.' ,
11131199 getPostfixForTypeWarning ( checker ) ,
11141200 i
@@ -1162,6 +1248,36 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
11621248 return createChainableTypeChecker ( validate ) ;
11631249 }
11641250
1251+ function createStrictShapeTypeChecker ( shapeTypes ) {
1252+ function validate ( props , propName , componentName , location , propFullName ) {
1253+ var propValue = props [ propName ] ;
1254+ var propType = getPropType ( propValue ) ;
1255+ if ( propType !== 'object' ) {
1256+ return new PropTypeError ( 'Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ( 'supplied to `' + componentName + '`, expected `object`.' ) ) ;
1257+ }
1258+ // We need to check all keys in case some are required but missing from
1259+ // props.
1260+ var allKeys = assign ( { } , props [ propName ] , shapeTypes ) ;
1261+ for ( var key in allKeys ) {
1262+ var checker = shapeTypes [ key ] ;
1263+ if ( ! checker ) {
1264+ return new PropTypeError (
1265+ 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1266+ '\nBad object: ' + JSON . stringify ( props [ propName ] , null , ' ' ) +
1267+ '\nValid keys: ' + JSON . stringify ( Object . keys ( shapeTypes ) , null , ' ' )
1268+ ) ;
1269+ }
1270+ var error = checker ( propValue , key , componentName , location , propFullName + '.' + key , ReactPropTypesSecret ) ;
1271+ if ( error ) {
1272+ return error ;
1273+ }
1274+ }
1275+ return null ;
1276+ }
1277+
1278+ return createChainableTypeChecker ( validate ) ;
1279+ }
1280+
11651281 function isNode ( propValue ) {
11661282 switch ( typeof propValue ) {
11671283 case 'number' :
@@ -1297,16 +1413,14 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
12971413/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 0 ) ) )
12981414
12991415/***/ } ) ,
1300- /* 10 */
1416+ /* 11 */
13011417/***/ ( function ( module , exports , __webpack_require__ ) {
13021418
13031419/* WEBPACK VAR INJECTION */ ( function ( process ) { /**
1304- * Copyright 2013-present, Facebook, Inc.
1305- * All rights reserved.
1420+ * Copyright (c) 2013-present, Facebook, Inc.
13061421 *
1307- * This source code is licensed under the BSD-style license found in the
1308- * LICENSE file in the root directory of this source tree. An additional grant
1309- * of patent rights can be found in the PATENTS file in the same directory.
1422+ * This source code is licensed under the MIT license found in the
1423+ * LICENSE file in the root directory of this source tree.
13101424 */
13111425
13121426if ( process . env . NODE_ENV !== 'production' ) {
@@ -1324,21 +1438,15 @@ if (process.env.NODE_ENV !== 'production') {
13241438 // By explicitly using `prop-types` you are opting into new development behavior.
13251439 // http://fb.me/prop-types-in-prod
13261440 var throwOnDirectAccess = true ;
1327- module . exports = __webpack_require__ ( 9 ) ( isValidElement , throwOnDirectAccess ) ;
1441+ module . exports = __webpack_require__ ( 10 ) ( isValidElement , throwOnDirectAccess ) ;
13281442} else {
13291443 // By explicitly using `prop-types` you are opting into new production behavior.
13301444 // http://fb.me/prop-types-in-prod
1331- module . exports = __webpack_require__ ( 8 ) ( ) ;
1445+ module . exports = __webpack_require__ ( 9 ) ( ) ;
13321446}
13331447
13341448/* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 0 ) ) )
13351449
1336- /***/ } ) ,
1337- /* 11 */
1338- /***/ ( function ( module , exports ) {
1339-
1340- module . exports = __WEBPACK_EXTERNAL_MODULE_11__ ;
1341-
13421450/***/ } ) ,
13431451/* 12 */
13441452/***/ ( function ( module , exports ) {
@@ -1351,6 +1459,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_12__;
13511459
13521460module . exports = __WEBPACK_EXTERNAL_MODULE_13__ ;
13531461
1462+ /***/ } ) ,
1463+ /* 14 */
1464+ /***/ ( function ( module , exports ) {
1465+
1466+ module . exports = __WEBPACK_EXTERNAL_MODULE_14__ ;
1467+
13541468/***/ } )
13551469/******/ ] ) ;
13561470} ) ;
0 commit comments