@@ -37,23 +37,21 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
3737
3838function _objectSpread ( target ) { for ( var i = 1 ; i < arguments . length ; i ++ ) { var source = arguments [ i ] != null ? arguments [ i ] : { } ; if ( i % 2 ) { ownKeys ( Object ( source ) , true ) . forEach ( function ( key ) { _defineProperty ( target , key , source [ key ] ) ; } ) ; } else if ( Object . getOwnPropertyDescriptors ) { Object . defineProperties ( target , Object . getOwnPropertyDescriptors ( source ) ) ; } else { ownKeys ( Object ( source ) ) . forEach ( function ( key ) { Object . defineProperty ( target , key , Object . getOwnPropertyDescriptor ( source , key ) ) ; } ) ; } } return target ; }
3939
40- function _toConsumableArray ( arr ) { return _arrayWithoutHoles ( arr ) || _iterableToArray ( arr ) || _nonIterableSpread ( ) ; }
40+ function _toConsumableArray ( arr ) { return _arrayWithoutHoles ( arr ) || _iterableToArray ( arr ) || _unsupportedIterableToArray ( arr ) || _nonIterableSpread ( ) ; }
4141
42- function _nonIterableSpread ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance" ) ; }
42+ function _nonIterableSpread ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method. " ) ; }
4343
44- function _iterableToArray ( iter ) { if ( Symbol . iterator in Object ( iter ) || Object . prototype . toString . call ( iter ) === "[object Arguments]" ) return Array . from ( iter ) ; }
44+ function _unsupportedIterableToArray ( o , minLen ) { if ( ! o ) return ; if ( typeof o === "string" ) return _arrayLikeToArray ( o , minLen ) ; var n = Object . prototype . toString . call ( o ) . slice ( 8 , - 1 ) ; if ( n === "Object" && o . constructor ) n = o . constructor . name ; if ( n === "Map" || n === "Set" ) return Array . from ( o ) ; if ( n === "Arguments" || / ^ (?: U i | I ) n t (?: 8 | 1 6 | 3 2 ) (?: C l a m p e d ) ? A r r a y $ / . test ( n ) ) return _arrayLikeToArray ( o , minLen ) ; }
4545
46- function _arrayWithoutHoles ( arr ) { if ( Array . isArray ( arr ) ) { for ( var i = 0 , arr2 = new Array ( arr . length ) ; i < arr . length ; i ++ ) { arr2 [ i ] = arr [ i ] ; } return arr2 ; } }
46+ function _iterableToArray ( iter ) { if ( typeof Symbol !== "undefined" && Symbol . iterator in Object ( iter ) ) return Array . from ( iter ) ; }
4747
48- function _typeof ( obj ) { 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 ) ; }
48+ function _arrayWithoutHoles ( arr ) { if ( Array . isArray ( arr ) ) return _arrayLikeToArray ( arr ) ; }
4949
50- function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
51-
52- function _possibleConstructorReturn ( self , call ) { if ( call && ( _typeof ( call ) === "object" || typeof call === "function" ) ) { return call ; } return _assertThisInitialized ( self ) ; }
50+ function _arrayLikeToArray ( arr , len ) { if ( len == null || len > arr . length ) len = arr . length ; for ( var i = 0 , arr2 = new Array ( len ) ; i < len ; i ++ ) { arr2 [ i ] = arr [ i ] ; } return arr2 ; }
5351
54- function _getPrototypeOf ( o ) { _getPrototypeOf = Object . setPrototypeOf ? Object . getPrototypeOf : function _getPrototypeOf ( o ) { return o . __proto__ || Object . getPrototypeOf ( o ) ; } ; return _getPrototypeOf ( o ) ; }
52+ function _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 ) ; }
5553
56- function _assertThisInitialized ( self ) { if ( self === void 0 ) { throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called ") ; } return self ; }
54+ function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function ") ; } }
5755
5856function _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 ) ; } }
5957
@@ -63,6 +61,16 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
6361
6462function _setPrototypeOf ( o , p ) { _setPrototypeOf = Object . setPrototypeOf || function _setPrototypeOf ( o , p ) { o . __proto__ = p ; return o ; } ; return _setPrototypeOf ( o , p ) ; }
6563
64+ 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 ) ; } ; }
65+
66+ function _possibleConstructorReturn ( self , call ) { if ( call && ( _typeof ( call ) === "object" || typeof call === "function" ) ) { return call ; } return _assertThisInitialized ( self ) ; }
67+
68+ function _assertThisInitialized ( self ) { if ( self === void 0 ) { throw new ReferenceError ( "this hasn't been initialised - super() hasn't been called" ) ; } return self ; }
69+
70+ function _isNativeReflectConstruct ( ) { if ( typeof Reflect === "undefined" || ! Reflect . construct ) return false ; if ( Reflect . construct . sham ) return false ; if ( typeof Proxy === "function" ) return true ; try { Date . prototype . toString . call ( Reflect . construct ( Date , [ ] , function ( ) { } ) ) ; return true ; } catch ( e ) { return false ; } }
71+
72+ function _getPrototypeOf ( o ) { _getPrototypeOf = Object . setPrototypeOf ? Object . getPrototypeOf : function _getPrototypeOf ( o ) { return o . __proto__ || Object . getPrototypeOf ( o ) ; } ; return _getPrototypeOf ( o ) ; }
73+
6674function _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 ; }
6775
6876var styles = function styles ( theme ) {
@@ -89,11 +97,11 @@ var styles = function styles(theme) {
8997 } ;
9098} ;
9199
92- var ArrayComponent =
93- /*#__PURE__*/
94- function ( _Component ) {
100+ var ArrayComponent = /*#__PURE__*/ function ( _Component ) {
95101 _inherits ( ArrayComponent , _Component ) ;
96102
103+ var _super = _createSuper ( ArrayComponent ) ;
104+
97105 _createClass ( ArrayComponent , null , [ {
98106 key : "assignItemId" ,
99107 value : function assignItemId ( item ) {
@@ -125,7 +133,7 @@ function (_Component) {
125133
126134 _classCallCheck ( this , ArrayComponent ) ;
127135
128- _this = _possibleConstructorReturn ( this , _getPrototypeOf ( ArrayComponent ) . call ( this , _props ) ) ;
136+ _this = _super . call ( this , _props ) ;
129137
130138 _defineProperty ( _assertThisInitialized ( _this ) , "SEQUENCE" , 1 ) ;
131139
@@ -200,14 +208,14 @@ function (_Component) {
200208 classes = _this$props2 . classes ;
201209
202210 var AddButton = form . AddButton || function ( props ) {
203- return _react [ "default" ] . createElement ( _Button [ "default" ] , _extends ( {
211+ return /*#__PURE__*/ _react [ "default" ] . createElement ( _Button [ "default" ] , _extends ( {
204212 className : classes . addButton ,
205213 variant : "contained" ,
206214 color : "primary"
207215 } , props ) ) ;
208216 } ;
209217
210- return _react [ "default" ] . createElement ( AddButton , {
218+ return /*#__PURE__*/ _react [ "default" ] . createElement ( AddButton , {
211219 onClick : _this . onAppend
212220 } , form . add || "Add" ) ;
213221 } ) ;
@@ -258,15 +266,15 @@ function (_Component) {
258266 arrayIndex : i
259267 } ) ;
260268 } ) ;
261- arrays . push ( _react [ "default" ] . createElement ( _Card [ "default" ] , {
269+ arrays . push ( /*#__PURE__*/ _react [ "default" ] . createElement ( _Card [ "default" ] , {
262270 className : classes . arrayItem ,
263271 key : item && item [ ArrayComponent . ITEM_ID ] || i
264- } , _react [ "default" ] . createElement ( "div" , {
272+ } , /*#__PURE__*/ _react [ "default" ] . createElement ( "div" , {
265273 className : classes . elementsContainer
266- } , forms ) , _react [ "default" ] . createElement ( _IconButton [ "default" ] , {
274+ } , forms ) , /*#__PURE__*/ _react [ "default" ] . createElement ( _IconButton [ "default" ] , {
267275 onClick : _this2 . onDelete ( i ) ,
268276 className : classes . deleteItemButton
269- } , _react [ "default" ] . createElement ( _Close [ "default" ] , {
277+ } , /*#__PURE__*/ _react [ "default" ] . createElement ( _Close [ "default" ] , {
270278 fontSize : "small"
271279 } ) ) ) ) ;
272280 } ;
@@ -275,16 +283,16 @@ function (_Component) {
275283 _loop ( i ) ;
276284 }
277285
278- return _react [ "default" ] . createElement ( "div" , {
286+ return /*#__PURE__*/ _react [ "default" ] . createElement ( "div" , {
279287 className : classes . root
280- } , _react [ "default" ] . createElement ( "div" , {
288+ } , /*#__PURE__*/ _react [ "default" ] . createElement ( "div" , {
281289 style : {
282290 display : "flex"
283291 }
284- } , _react [ "default" ] . createElement ( _FormLabel [ "default" ] , {
292+ } , /*#__PURE__*/ _react [ "default" ] . createElement ( _FormLabel [ "default" ] , {
285293 required : form . required ,
286294 className : classes . title
287- } , form . title && getLocalizedString ( form . title ) ) , this . getAddButton ( ) ) , _react [ "default" ] . createElement ( "div" , null , arrays ) ) ;
295+ } , form . title && getLocalizedString ( form . title ) ) , this . getAddButton ( ) ) , /*#__PURE__*/ _react [ "default" ] . createElement ( "div" , null , arrays ) ) ;
288296 }
289297 } ] , [ {
290298 key : "getDerivedStateFromProps" ,
0 commit comments