@lingk/sync 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.js CHANGED
@@ -68,7 +68,7 @@ module.exports =
68
68
  /* 0 */
69
69
  /***/ function(module, exports, __webpack_require__) {
70
70
 
71
- module.exports = __webpack_require__(138);
71
+ module.exports = __webpack_require__(141);
72
72
 
73
73
 
74
74
  /***/ },
@@ -196,7 +196,8 @@ module.exports =
196
196
  exports.default = validate;
197
197
 
198
198
  /***/ },
199
- /* 6 */
199
+ /* 6 */,
200
+ /* 7 */
200
201
  /***/ function(module, exports) {
201
202
 
202
203
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
@@ -205,30 +206,7 @@ module.exports =
205
206
  if(typeof __g == 'number')__g = global; // eslint-disable-line no-undef
206
207
 
207
208
  /***/ },
208
- /* 7 */,
209
209
  /* 8 */
210
- /***/ function(module, exports) {
211
-
212
- var core = module.exports = {version: '2.4.0'};
213
- if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
214
-
215
- /***/ },
216
- /* 9 */
217
- /***/ function(module, exports, __webpack_require__) {
218
-
219
- // Thank's IE8 for his funny defineProperty
220
- module.exports = !__webpack_require__(12)(function(){
221
- return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
222
- });
223
-
224
- /***/ },
225
- /* 10 */
226
- /***/ function(module, exports) {
227
-
228
- module.exports = require("react-dom");
229
-
230
- /***/ },
231
- /* 11 */
232
210
  /***/ function(module, exports, __webpack_require__) {
233
211
 
234
212
  'use strict';
@@ -285,6 +263,17 @@ module.exports =
285
263
  }
286
264
  }
287
265
 
266
+ if (!formValues['sourceFileSchema']) {
267
+ if (wizard.savedConfiguration && wizard.savedConfiguration['sourceFileSchemaGuid']) {
268
+ change('sourceFileSchema', wizard.sourceMetadata);
269
+ }
270
+ }
271
+ if (!formValues['destinationFileSchema']) {
272
+ if (wizard.savedConfiguration && wizard.savedConfiguration['destinationFileSchemaGuid']) {
273
+ change('destinationFileSchema', wizard.destinationMetadata);
274
+ }
275
+ }
276
+
288
277
  if (!formValues['resourceGroups']) {
289
278
  var sourceMetadata = wizard.sourceMetadata,
290
279
  destinationMetadata = wizard.destinationMetadata;
@@ -370,6 +359,28 @@ module.exports =
370
359
 
371
360
  exports.default = initialize;
372
361
 
362
+ /***/ },
363
+ /* 9 */
364
+ /***/ function(module, exports) {
365
+
366
+ var core = module.exports = {version: '2.4.0'};
367
+ if(typeof __e == 'number')__e = core; // eslint-disable-line no-undef
368
+
369
+ /***/ },
370
+ /* 10 */
371
+ /***/ function(module, exports, __webpack_require__) {
372
+
373
+ // Thank's IE8 for his funny defineProperty
374
+ module.exports = !__webpack_require__(12)(function(){
375
+ return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;
376
+ });
377
+
378
+ /***/ },
379
+ /* 11 */
380
+ /***/ function(module, exports) {
381
+
382
+ module.exports = require("react-dom");
383
+
373
384
  /***/ },
374
385
  /* 12 */
375
386
  /***/ function(module, exports) {
@@ -388,7 +399,7 @@ module.exports =
388
399
 
389
400
  var dP = __webpack_require__(18)
390
401
  , createDesc = __webpack_require__(35);
391
- module.exports = __webpack_require__(9) ? function(object, key, value){
402
+ module.exports = __webpack_require__(10) ? function(object, key, value){
392
403
  return dP.f(object, key, createDesc(1, value));
393
404
  } : function(object, key, value){
394
405
  object[key] = value;
@@ -441,7 +452,7 @@ module.exports =
441
452
  , toPrimitive = __webpack_require__(58)
442
453
  , dP = Object.defineProperty;
443
454
 
444
- exports.f = __webpack_require__(9) ? Object.defineProperty : function defineProperty(O, P, Attributes){
455
+ exports.f = __webpack_require__(10) ? Object.defineProperty : function defineProperty(O, P, Attributes){
445
456
  anObject(O);
446
457
  P = toPrimitive(P, true);
447
458
  anObject(Attributes);
@@ -666,8 +677,8 @@ module.exports =
666
677
  /* 24 */
667
678
  /***/ function(module, exports, __webpack_require__) {
668
679
 
669
- var global = __webpack_require__(6)
670
- , core = __webpack_require__(8)
680
+ var global = __webpack_require__(7)
681
+ , core = __webpack_require__(9)
671
682
  , ctx = __webpack_require__(53)
672
683
  , hide = __webpack_require__(13)
673
684
  , PROTOTYPE = 'prototype';
@@ -750,7 +761,7 @@ module.exports =
750
761
 
751
762
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
752
763
 
753
- var _propertyUtils = __webpack_require__(181);
764
+ var _propertyUtils = __webpack_require__(184);
754
765
 
755
766
  var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
756
767
 
@@ -1319,11 +1330,11 @@ module.exports =
1319
1330
 
1320
1331
  var _propTypes2 = _interopRequireDefault(_propTypes);
1321
1332
 
1322
- var _TransitionGroup = __webpack_require__(214);
1333
+ var _TransitionGroup = __webpack_require__(217);
1323
1334
 
1324
1335
  var _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);
1325
1336
 
1326
- var _CSSTransitionGroupChild = __webpack_require__(213);
1337
+ var _CSSTransitionGroupChild = __webpack_require__(216);
1327
1338
 
1328
1339
  var _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild);
1329
1340
 
@@ -1698,7 +1709,7 @@ module.exports =
1698
1709
  /***/ function(module, exports, __webpack_require__) {
1699
1710
 
1700
1711
  var isObject = __webpack_require__(14)
1701
- , document = __webpack_require__(6).document
1712
+ , document = __webpack_require__(7).document
1702
1713
  // in old IE typeof document.createElement is 'object'
1703
1714
  , is = isObject(document) && isObject(document.createElement);
1704
1715
  module.exports = function(it){
@@ -1754,7 +1765,7 @@ module.exports =
1754
1765
  /* 36 */
1755
1766
  /***/ function(module, exports, __webpack_require__) {
1756
1767
 
1757
- var global = __webpack_require__(6)
1768
+ var global = __webpack_require__(7)
1758
1769
  , SHARED = '__core-js_shared__'
1759
1770
  , store = global[SHARED] || (global[SHARED] = {});
1760
1771
  module.exports = function(key){
@@ -1867,7 +1878,7 @@ module.exports =
1867
1878
  } else {
1868
1879
  // By explicitly using `prop-types` you are opting into new production behavior.
1869
1880
  // http://fb.me/prop-types-in-prod
1870
- module.exports = __webpack_require__(187)();
1881
+ module.exports = __webpack_require__(190)();
1871
1882
  }
1872
1883
 
1873
1884
 
@@ -2497,7 +2508,8 @@ module.exports =
2497
2508
  };
2498
2509
 
2499
2510
  _this.state = {
2500
- actualCreds: {}
2511
+ actualCreds: {},
2512
+ showPass: false
2501
2513
  };
2502
2514
  return _this;
2503
2515
  }
@@ -2657,8 +2669,8 @@ module.exports =
2657
2669
  unCamelize(credType)
2658
2670
  ),
2659
2671
  _react2.default.createElement('br', null),
2660
- _react2.default.createElement(Input, { name: credType,
2661
- onKeyPress: _this2.credKeyPress,
2672
+ _react2.default.createElement(Input, { name: credType, onKeyPress: _this2.credKeyPress,
2673
+ datatype: credType === 'password' && !_this2.state.showPass ? 'password' : null,
2662
2674
  value: _this2.state.actualCreds[credType] || '',
2663
2675
  onChange: _this2.onChange }),
2664
2676
  index === 0 && noRootUrl && _react2.default.createElement(
@@ -2670,7 +2682,12 @@ module.exports =
2670
2682
  style: { marginLeft: 8, marginBottom: 4, height: 30, lineHeight: '10px' },
2671
2683
  disabled: credsDisabledCheck },
2672
2684
  'Test Connection'
2673
- )
2685
+ ),
2686
+ credType === 'password' && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
2687
+ onClick: function onClick() {
2688
+ return _this2.setState({ showPass: !_this2.state.showPass });
2689
+ }
2690
+ })
2674
2691
  );
2675
2692
  })
2676
2693
  )
@@ -2694,6 +2711,20 @@ module.exports =
2694
2711
  }(_react.Component);
2695
2712
 
2696
2713
  exports.default = EnvSection;
2714
+
2715
+
2716
+ var Key = function Key(_ref) {
2717
+ var onClick = _ref.onClick,
2718
+ showPass = _ref.showPass;
2719
+
2720
+ return _react2.default.createElement(
2721
+ 'svg',
2722
+ { onClick: onClick, style: showPass ? { fill: '#3a91dcb3' } : {},
2723
+ height: '24', width: '24', className: 'pass-key-svg', viewBox: '0 0 24 24' },
2724
+ _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
2725
+ _react2.default.createElement('path', { d: 'M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z' })
2726
+ );
2727
+ };
2697
2728
 
2698
2729
  /***/ },
2699
2730
  /* 47 */
@@ -3394,7 +3425,7 @@ module.exports =
3394
3425
 
3395
3426
  exports.__esModule = true;
3396
3427
 
3397
- var _assign = __webpack_require__(140);
3428
+ var _assign = __webpack_require__(143);
3398
3429
 
3399
3430
  var _assign2 = _interopRequireDefault(_assign);
3400
3431
 
@@ -3478,7 +3509,7 @@ module.exports =
3478
3509
  /* 54 */
3479
3510
  /***/ function(module, exports, __webpack_require__) {
3480
3511
 
3481
- module.exports = !__webpack_require__(9) && !__webpack_require__(12)(function(){
3512
+ module.exports = !__webpack_require__(10) && !__webpack_require__(12)(function(){
3482
3513
  return Object.defineProperty(__webpack_require__(30)('div'), 'a', {get: function(){ return 7; }}).a != 7;
3483
3514
  });
3484
3515
 
@@ -14625,7 +14656,7 @@ module.exports =
14625
14656
 
14626
14657
  exports.__esModule = true;
14627
14658
 
14628
- var _defineProperty = __webpack_require__(141);
14659
+ var _defineProperty = __webpack_require__(144);
14629
14660
 
14630
14661
  var _defineProperty2 = _interopRequireDefault(_defineProperty);
14631
14662
 
@@ -14760,7 +14791,7 @@ module.exports =
14760
14791
  value: true
14761
14792
  });
14762
14793
 
14763
- var _objectWithoutProperties2 = __webpack_require__(143);
14794
+ var _objectWithoutProperties2 = __webpack_require__(146);
14764
14795
 
14765
14796
  var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
14766
14797
 
@@ -14818,7 +14849,7 @@ module.exports =
14818
14849
 
14819
14850
  var _addDomEventListener2 = _interopRequireDefault(_addDomEventListener);
14820
14851
 
14821
- var _reactDom = __webpack_require__(10);
14852
+ var _reactDom = __webpack_require__(11);
14822
14853
 
14823
14854
  var _reactDom2 = _interopRequireDefault(_reactDom);
14824
14855
 
@@ -14839,7 +14870,7 @@ module.exports =
14839
14870
 
14840
14871
  (function webpackUniversalModuleDefinition(root, factory) {
14841
14872
  if(true)
14842
- module.exports = factory(__webpack_require__(1), __webpack_require__(10));
14873
+ module.exports = factory(__webpack_require__(1), __webpack_require__(11));
14843
14874
  else if(typeof define === 'function' && define.amd)
14844
14875
  define(["react", "react-dom"], factory);
14845
14876
  else if(typeof exports === 'object')
@@ -16596,7 +16627,7 @@ module.exports =
16596
16627
 
16597
16628
  var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);
16598
16629
 
16599
- var _objectAssign = __webpack_require__(186);
16630
+ var _objectAssign = __webpack_require__(189);
16600
16631
 
16601
16632
  var _objectAssign2 = _interopRequireDefault(_objectAssign);
16602
16633
 
@@ -16937,7 +16968,9 @@ module.exports =
16937
16968
  /* 111 */,
16938
16969
  /* 112 */,
16939
16970
  /* 113 */,
16940
- /* 114 */
16971
+ /* 114 */,
16972
+ /* 115 */,
16973
+ /* 116 */
16941
16974
  /***/ function(module, exports, __webpack_require__) {
16942
16975
 
16943
16976
  'use strict';
@@ -16966,6 +16999,7 @@ module.exports =
16966
16999
  exports.callPostProductizedIntegration = callPostProductizedIntegration;
16967
17000
  exports.callUpdateProductizedIntegration = callUpdateProductizedIntegration;
16968
17001
  exports.callGenerateRecipe = callGenerateRecipe;
17002
+ exports.trySaveFileSchema = trySaveFileSchema;
16969
17003
  exports.submitWizardData = submitWizardData;
16970
17004
  exports.callPostEventContext = callPostEventContext;
16971
17005
  exports.callExecuteTransformer = callExecuteTransformer;
@@ -16997,7 +17031,7 @@ module.exports =
16997
17031
 
16998
17032
  var _moment2 = _interopRequireDefault(_moment);
16999
17033
 
17000
- var _axios = __webpack_require__(222);
17034
+ var _axios = __webpack_require__(225);
17001
17035
 
17002
17036
  var _axios2 = _interopRequireDefault(_axios);
17003
17037
 
@@ -17009,7 +17043,8 @@ module.exports =
17009
17043
 
17010
17044
  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; }
17011
17045
 
17012
- function callGetMetadata(tenantId, appId, mode, providerType, urlSuffix, apiUrl, endpoint, credsConfig, isFramework, creds, environment, isReload) {
17046
+ // isReload means that the "Check Connection" button was NOT clicked
17047
+ function callGetMetadata(tenantId, appId, mode, providerType, urlSuffix, apiUrl, endpoint, credsConfig, isFramework, creds, environment, isReload, fileSchemaGuid) {
17013
17048
  var metadata = null;
17014
17049
  var isOauth = credsConfig && credsConfig[0] === 'Oauth';
17015
17050
  return function (dispatch) {
@@ -17017,9 +17052,20 @@ module.exports =
17017
17052
  type: types.START_WIZARD_ENV_CHECK,
17018
17053
  mode: mode
17019
17054
  });
17020
- return dispatch(tryCheckConnection(tenantId, appId, providerType, credsConfig, isFramework, creds, urlSuffix)).then(function (r) {
17021
- var schemaGuid = creds.schemaGuid; // for flat file schema
17022
- return dispatch(callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType, endpoint, isOauth, environment.name, schemaGuid));
17055
+ return dispatch(
17056
+ // some providers skip this and go straight for getProviderMetadata
17057
+ // if their credentials are stored separately (like SF oauth or Adapter)
17058
+ tryCheckConnection(tenantId, appId, providerType, credsConfig, isFramework, creds, urlSuffix, fileSchemaGuid)).then(function (r) {
17059
+ var schemaGuid = creds.schemaGuid; // flat file schema (for browser upload guid is in creds)
17060
+ if (fileSchemaGuid) {
17061
+ schemaGuid = fileSchemaGuid; // for SFTP guid is in wiz config
17062
+ }
17063
+ var resFromCheckConnection = null;
17064
+ if (r && r.schema) {
17065
+ // currently only for SFTP check connection
17066
+ resFromCheckConnection = r.schema; // skip callGetProviderMetadata network call
17067
+ }
17068
+ return dispatch(callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType, endpoint, isOauth, environment.name, schemaGuid, resFromCheckConnection));
17023
17069
  }).then(function (m) {
17024
17070
  metadata = m;
17025
17071
  var isIntro = endpoint === '_blank';
@@ -17031,7 +17077,7 @@ module.exports =
17031
17077
  type: types.FINISH_WIZARD_ENV_CHECK,
17032
17078
  data: { metadata: metadata, mode: mode, code: '200 OK', providerType: providerType }
17033
17079
  });
17034
- return res;
17080
+ return metadata;
17035
17081
  }).catch(function (err) {
17036
17082
  console.log(err);
17037
17083
  dispatch({
@@ -17048,7 +17094,7 @@ module.exports =
17048
17094
  var _getState = getState(),
17049
17095
  config = _getState.config;
17050
17096
 
17051
- return api.post(tenantId + '/' + appId + '/fileschema', {
17097
+ return api.post(tenantId + '/' + appId + '/uploadpolicy', {
17052
17098
  endpoint: config.TRANS_API_URL,
17053
17099
  data: { name: 'flatfile', resources: metadata, providerType: providerType, isSource: isSource }
17054
17100
  }).then(function (data) {
@@ -17135,7 +17181,7 @@ module.exports =
17135
17181
  } else return false;
17136
17182
  }
17137
17183
 
17138
- function tryCheckConnection(tenantId, appId, providerType, credsConfig, isFramework, creds, urlSuffix) {
17184
+ function tryCheckConnection(tenantId, appId, providerType, credsConfig, isFramework, creds, urlSuffix, fileSchemaGuid) {
17139
17185
  return function (dispatch, getState, api) {
17140
17186
  var isOauth = credsConfig && credsConfig[0] === 'Oauth';
17141
17187
  var isAdapter = urlSuffix === 'testconnection' || urlSuffix === 'adaptermetadata';
@@ -17146,7 +17192,7 @@ module.exports =
17146
17192
  // ADD: OR IF adaptermetadata SKIP THIS
17147
17193
 
17148
17194
 
17149
- if (!isOauth && !isAdapter && !isDemoCreds(creds, providerType)) {
17195
+ if (!isOauth && !isAdapter && !isDemoCreds(creds, providerType) && !fileSchemaGuid) {
17150
17196
  return api.post(tenantId + '/' + appId + '/testconnection/' + providerType.toLowerCase(), {
17151
17197
  endpoint: config.TRANS_API_URL,
17152
17198
  data: {
@@ -17158,11 +17204,11 @@ module.exports =
17158
17204
  };
17159
17205
  }
17160
17206
 
17161
- function callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType, endpoint, isOauth, envName, schemaGuid) {
17162
- if (!urlSuffix) {
17163
- // for new providers that dont have metadata endpoint yet
17207
+ function callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType, endpoint, isOauth, envName, schemaGuid, resFromCheckConnection) {
17208
+ // urlSuffix for getMetadata. If checkConnection returns meta, skip this one
17209
+ if (!urlSuffix || resFromCheckConnection) {
17164
17210
  return function () {
17165
- return Promise.resolve(null);
17211
+ return Promise.resolve(resFromCheckConnection);
17166
17212
  };
17167
17213
  }
17168
17214
  return function (dispatch, getState, api) {
@@ -17207,10 +17253,9 @@ module.exports =
17207
17253
  var _getState4 = getState(),
17208
17254
  config = _getState4.config;
17209
17255
 
17210
- return api.get(tenantId + '/' + appId + '/environments/' + envName + '/oauthurl/' + typeGuid + '/' + orgType, {
17256
+ return api.get(tenantId + '/' + appId + '/environments/' + envName + '/oauthurl/9090b61412a74d97ad9ed02c5fx7e705/' + orgType, {
17211
17257
  endpoint: config.SF_AGENT_API_URL
17212
17258
  }).then(function (data) {
17213
- //console.log(data)
17214
17259
  dispatch({
17215
17260
  type: types.SET_WIZARD_OAUTH_URL,
17216
17261
  data: data.url
@@ -17465,14 +17510,61 @@ module.exports =
17465
17510
  };
17466
17511
  }
17467
17512
 
17468
- function submitWizardData(tenantId, appId, bundles, mappings, configuration, title, deployment, typeId, typeGuid, piGuid, onPiPost, onGenerate, onFinish, sourceMetadata, destinationMetadata, isManagedPackage, onGenerationError, envName, envId, isFinishClick) {
17513
+ function trySaveFileSchema(tenantId, appId, schema) {
17514
+ return function (dispatch, getState, api) {
17515
+ var _getState16 = getState(),
17516
+ config = _getState16.config;
17517
+
17518
+ if (schema && schema.resources) {
17519
+ return api.post(tenantId + '/' + appId + '/fileschema', {
17520
+ endpoint: config.TRANS_API_URL,
17521
+ data: schema
17522
+ });
17523
+ } else return function () {
17524
+ return Promise.resolve(null);
17525
+ };
17526
+ };
17527
+ }
17528
+
17529
+ function submitWizardData(wizProps, form, isFinishClick) {
17530
+ var tenantId = wizProps.tenantId,
17531
+ accountId = wizProps.accountId,
17532
+ piGuid = wizProps.piGuid,
17533
+ onPiPost = wizProps.onPiPost,
17534
+ onGenerate = wizProps.onGenerate,
17535
+ onFinish = wizProps.onFinish,
17536
+ wizard = wizProps.wizard,
17537
+ isManagedPackage = wizProps.isManagedPackage,
17538
+ onGenerationError = wizProps.onGenerationError;
17539
+ var title = form.title,
17540
+ envName = form.envName,
17541
+ envId = form.envId,
17542
+ typeId = form.typeId,
17543
+ typeGuid = form.typeGuid,
17544
+ configuration = form.configuration,
17545
+ deployment = form.deployment,
17546
+ sourceFileSchema = form.sourceFileSchema,
17547
+ destinationFileSchema = form.destinationFileSchema,
17548
+ bundles = form.bundles,
17549
+ mappings = form.mappings;
17550
+ var sourceMetadata = wizard.sourceMetadata,
17551
+ destinationMetadata = wizard.destinationMetadata;
17552
+
17553
+ var appId = accountId;
17554
+
17469
17555
  return function (dispatch) {
17470
17556
  var map = {};
17471
- return Promise.all([dispatch(callPostBundles(tenantId, appId, bundles, onGenerationError)), dispatch(callPostMapping(tenantId, appId, mappings, onGenerationError)),
17557
+ return Promise.all([dispatch(callPostBundles(tenantId, appId, bundles, onGenerationError)), dispatch(callPostMapping(tenantId, appId, mappings, onGenerationError)), dispatch(trySaveFileSchema(tenantId, appId, sourceFileSchema)), dispatch(trySaveFileSchema(tenantId, appId, destinationFileSchema)),
17472
17558
  // IF REVERSE USE CORRECT METADATA
17473
17559
  dispatch(createLingkExternalIds(tenantId, appId, bundles, mappings, destinationMetadata, envName))]).then(function (r) {
17474
17560
  map = r[1];
17475
17561
  var bundle = r[0];
17562
+ if (r[2] && r[2].schemaGuid && r[2].schemaGuid.length > 0) {
17563
+ configuration.sourceFileSchemaGuid = r[2].schemaGuid;
17564
+ }
17565
+ if (r[3] && r[3].schemaGuid && r[3].schemaGuid.length > 0) {
17566
+ configuration.destinationFileSchemaGuid = r[3].schemaGuid;
17567
+ }
17476
17568
  if (piGuid && piGuid !== '_' && false) {
17477
17569
  // never update - create new version each time
17478
17570
  return dispatch(callUpdateProductizedIntegration(tenantId, appId, map.schemaMappingGuid, bundle.bundlePackGuid, configuration, title, typeGuid, piGuid, onGenerationError));
@@ -17508,8 +17600,8 @@ module.exports =
17508
17600
 
17509
17601
  function callPostEventContext(data, transBaseId) {
17510
17602
  return function (dispatch, getState, api) {
17511
- var _getState16 = getState(),
17512
- config = _getState16.config;
17603
+ var _getState17 = getState(),
17604
+ config = _getState17.config;
17513
17605
 
17514
17606
  var TRANS_API_URL = config.TRANS_API_URL;
17515
17607
 
@@ -17522,8 +17614,8 @@ module.exports =
17522
17614
 
17523
17615
  function callExecuteTransformer(transId) {
17524
17616
  return function (dispatch, getState, api) {
17525
- var _getState17 = getState(),
17526
- config = _getState17.config;
17617
+ var _getState18 = getState(),
17618
+ config = _getState18.config;
17527
17619
 
17528
17620
  var query = '';
17529
17621
  var d = new Date();
@@ -17543,8 +17635,8 @@ module.exports =
17543
17635
 
17544
17636
  function callLookupLogData(tenantId, externalExecutionId, index, onFinish, generatedRecipe, pi) {
17545
17637
  return function (dispatch, getState, api) {
17546
- var _getState18 = getState(),
17547
- config = _getState18.config;
17638
+ var _getState19 = getState(),
17639
+ config = _getState19.config;
17548
17640
 
17549
17641
  return api.get(tenantId + '/logs/transformers/externalExecutionId/' + externalExecutionId, {
17550
17642
  endpoint: config.TRANS_API_URL
@@ -17588,8 +17680,8 @@ module.exports =
17588
17680
  };
17589
17681
  }
17590
17682
  return function (dispatch, getState, api) {
17591
- var _getState19 = getState(),
17592
- config = _getState19.config;
17683
+ var _getState20 = getState(),
17684
+ config = _getState20.config;
17593
17685
 
17594
17686
  return api.post(tenantId + '/createtrigger', {
17595
17687
  endpoint: config.TRANS_API_URL,
@@ -17627,8 +17719,8 @@ module.exports =
17627
17719
 
17628
17720
  if (piGuid && piGuid !== '_') {
17629
17721
  return function (dispatch, getState, api) {
17630
- var _getState20 = getState(),
17631
- config = _getState20.config;
17722
+ var _getState21 = getState(),
17723
+ config = _getState21.config;
17632
17724
 
17633
17725
  return api.get(tenantId + '/' + accountId + '/productizedintegrations/' + piGuid + '/versions', {
17634
17726
  endpoint: config.TRANS_API_URL
@@ -17641,6 +17733,8 @@ module.exports =
17641
17733
  data: piconfig
17642
17734
  });
17643
17735
  var envName = piconfig['environment'];
17736
+ var sourceFileSchemaGuid = piconfig['sourceFileSchemaGuid'];
17737
+ var destinationFileSchemaGuid = piconfig['destinationFileSchemaGuid'];
17644
17738
  return Promise.all([dispatch(callGetCredentials(tenantId, accountId, wiz, envName)), dispatch(callGetMapping(tenantId, accountId, pi.schemaMappingGuid)), dispatch(callGetBundles(tenantId, accountId, pi.bundlePackGuid)), dispatch(callGetTrigger(pi.transformerBaseId, piconfig.environmentId))]).then(function (res) {
17645
17739
  var creds = res[0];
17646
17740
  var sourceCreds = creds[0] && creds[0].credentialsJson;
@@ -17656,7 +17750,7 @@ module.exports =
17656
17750
  });
17657
17751
  var savedSourceEndpoint = sourceCreds && sourceCreds.rootUrl;
17658
17752
  var savedDestinationEndpoint = destCreds && destCreds.rootUrl;
17659
- return Promise.all([dispatch(tryGetMetadataReload(tenantId, accountId, 'source', source, savedSourceEndpoint, sourceCreds, envName)), dispatch(tryGetMetadataReload(tenantId, accountId, 'destination', destination, savedDestinationEndpoint, destCreds, envName))]);
17753
+ return Promise.all([dispatch(tryGetMetadataReload(tenantId, accountId, 'source', source, savedSourceEndpoint, sourceCreds, envName, sourceFileSchemaGuid)), dispatch(tryGetMetadataReload(tenantId, accountId, 'destination', destination, savedDestinationEndpoint, destCreds, envName, destinationFileSchemaGuid))]);
17660
17754
  });
17661
17755
  });
17662
17756
  };
@@ -17698,8 +17792,8 @@ module.exports =
17698
17792
 
17699
17793
  function clearAdapterSecrets() {
17700
17794
  return function (dispatch, getState, api) {
17701
- var _getState21 = getState(),
17702
- wizard = _getState21.wizard;
17795
+ var _getState22 = getState(),
17796
+ wizard = _getState22.wizard;
17703
17797
 
17704
17798
  dispatch({
17705
17799
  type: types.SET_WIZARD_SAVED_CREDENTIALS,
@@ -17713,8 +17807,8 @@ module.exports =
17713
17807
 
17714
17808
  function setLoadedAdapterSecret(cred, mode) {
17715
17809
  return function (dispatch, getState, api) {
17716
- var _getState22 = getState(),
17717
- wizard = _getState22.wizard;
17810
+ var _getState23 = getState(),
17811
+ wizard = _getState23.wizard;
17718
17812
 
17719
17813
  dispatch({
17720
17814
  type: types.SET_WIZARD_SAVED_CREDENTIALS,
@@ -17725,8 +17819,8 @@ module.exports =
17725
17819
 
17726
17820
  function getCredentialForEnvironment(tenantId, appId, credentialType, envName, mode) {
17727
17821
  return function (dispatch, getState, api) {
17728
- var _getState23 = getState(),
17729
- config = _getState23.config;
17822
+ var _getState24 = getState(),
17823
+ config = _getState24.config;
17730
17824
 
17731
17825
  return api.get(tenantId + '/' + appId + '/credentials/' + credentialType + '/' + envName, {
17732
17826
  endpoint: config.TRANS_API_URL
@@ -17756,7 +17850,7 @@ module.exports =
17756
17850
  };
17757
17851
  }
17758
17852
 
17759
- function tryGetMetadataReload(tenantId, appId, mode, wiz, savedEndpoint, actualCreds, envName) {
17853
+ function tryGetMetadataReload(tenantId, appId, mode, wiz, savedEndpoint, actualCreds, envName, fileSchemaGuid) {
17760
17854
  return function (dispatch, getState, api) {
17761
17855
  // if skipEnvStep (as in SF App), auto pull SF metadata
17762
17856
  var type = wiz.type,
@@ -17766,10 +17860,11 @@ module.exports =
17766
17860
 
17767
17861
  var isOauth = credentials && credentials[0] === 'Oauth';
17768
17862
  var isFlatFile = credentials && credentials[0] === 'FlatFile';
17769
- if (envName && (isOauth || isFlatFile || savedEndpoint && savedEndpoint.length > 8)) {
17863
+ var isSFTP = type === 'SFTP';
17864
+ if (envName && (isOauth || isFlatFile || isSFTP || savedEndpoint && savedEndpoint.length > 8)) {
17770
17865
  var isReload = true;
17771
17866
  var environment = { name: envName };
17772
- return dispatch(callGetMetadata(tenantId, appId, mode, type, metadataEndpoint, metadataApi, savedEndpoint, credentials, null, actualCreds, environment, isReload));
17867
+ return dispatch(callGetMetadata(tenantId, appId, mode, type, metadataEndpoint, metadataApi, savedEndpoint, credentials, null, actualCreds, environment, isReload, fileSchemaGuid));
17773
17868
  } else return Promise.resolve(null);
17774
17869
  };
17775
17870
  }
@@ -17777,8 +17872,8 @@ module.exports =
17777
17872
  function callGetBundles(tenantId, accountId, bundlePackGuid) {
17778
17873
  if (bundlePackGuid) {
17779
17874
  return function (dispatch, getState, api) {
17780
- var _getState24 = getState(),
17781
- config = _getState24.config;
17875
+ var _getState25 = getState(),
17876
+ config = _getState25.config;
17782
17877
 
17783
17878
  return api.get(tenantId + '/' + accountId + '/bundle/' + bundlePackGuid, {
17784
17879
  endpoint: config.TRANS_API_URL
@@ -17795,8 +17890,8 @@ module.exports =
17795
17890
  function callGetMapping(tenantId, accountId, mappingGuid) {
17796
17891
  if (mappingGuid) {
17797
17892
  return function (dispatch, getState, api) {
17798
- var _getState25 = getState(),
17799
- config = _getState25.config;
17893
+ var _getState26 = getState(),
17894
+ config = _getState26.config;
17800
17895
 
17801
17896
  return api.get(tenantId + '/' + accountId + '/schemamappings/' + mappingGuid, {
17802
17897
  endpoint: config.TRANS_API_URL
@@ -17817,8 +17912,8 @@ module.exports =
17817
17912
  mode: mode
17818
17913
  });
17819
17914
 
17820
- var _getState26 = getState(),
17821
- config = _getState26.config;
17915
+ var _getState27 = getState(),
17916
+ config = _getState27.config;
17822
17917
 
17823
17918
  return api.post(tenantId + '/' + appId + '/environments/' + envId + '/credentials', {
17824
17919
  endpoint: config.TRANS_API_URL,
@@ -17832,8 +17927,8 @@ module.exports =
17832
17927
 
17833
17928
  function getEnvironments(tenantId, appId) {
17834
17929
  return function (dispatch, getState, api) {
17835
- var _getState27 = getState(),
17836
- config = _getState27.config;
17930
+ var _getState28 = getState(),
17931
+ config = _getState28.config;
17837
17932
 
17838
17933
  return api.get(tenantId + '/' + appId + '/environments', {
17839
17934
  endpoint: config.TRANS_API_URL
@@ -17853,8 +17948,8 @@ module.exports =
17853
17948
 
17854
17949
  function callGetTrigger(transBaseId, envId) {
17855
17950
  return function (dispatch, getState, api) {
17856
- var _getState28 = getState(),
17857
- config = _getState28.config;
17951
+ var _getState29 = getState(),
17952
+ config = _getState29.config;
17858
17953
 
17859
17954
  if (transBaseId) {
17860
17955
  return api.get('gettriggers/' + transBaseId, {
@@ -17903,7 +17998,7 @@ module.exports =
17903
17998
  }
17904
17999
 
17905
18000
  /***/ },
17906
- /* 115 */
18001
+ /* 117 */
17907
18002
  /***/ function(module, exports, __webpack_require__) {
17908
18003
 
17909
18004
  'use strict';
@@ -17986,7 +18081,7 @@ module.exports =
17986
18081
  })(AccountStep);
17987
18082
 
17988
18083
  /***/ },
17989
- /* 116 */
18084
+ /* 118 */
17990
18085
  /***/ function(module, exports, __webpack_require__) {
17991
18086
 
17992
18087
  'use strict';
@@ -18330,7 +18425,7 @@ module.exports =
18330
18425
  exports.default = BundleTable;
18331
18426
 
18332
18427
  /***/ },
18333
- /* 117 */
18428
+ /* 119 */
18334
18429
  /***/ function(module, exports, __webpack_require__) {
18335
18430
 
18336
18431
  'use strict';
@@ -18763,7 +18858,7 @@ module.exports =
18763
18858
  exports.default = ConnectModal;
18764
18859
 
18765
18860
  /***/ },
18766
- /* 118 */
18861
+ /* 120 */
18767
18862
  /***/ function(module, exports, __webpack_require__) {
18768
18863
 
18769
18864
  'use strict';
@@ -18782,7 +18877,7 @@ module.exports =
18782
18877
 
18783
18878
  var _CSSTransitionGroup2 = _interopRequireDefault(_CSSTransitionGroup);
18784
18879
 
18785
- var _nestedField = __webpack_require__(134);
18880
+ var _nestedField = __webpack_require__(137);
18786
18881
 
18787
18882
  var _nestedField2 = _interopRequireDefault(_nestedField);
18788
18883
 
@@ -19217,7 +19312,7 @@ module.exports =
19217
19312
  exports.default = MapAccordion;
19218
19313
 
19219
19314
  /***/ },
19220
- /* 119 */
19315
+ /* 121 */
19221
19316
  /***/ function(module, exports, __webpack_require__) {
19222
19317
 
19223
19318
  'use strict';
@@ -19475,7 +19570,7 @@ module.exports =
19475
19570
  };
19476
19571
 
19477
19572
  /***/ },
19478
- /* 120 */
19573
+ /* 122 */
19479
19574
  /***/ function(module, exports, __webpack_require__) {
19480
19575
 
19481
19576
  'use strict';
@@ -19711,7 +19806,7 @@ module.exports =
19711
19806
  exports.default = ParameterModal;
19712
19807
 
19713
19808
  /***/ },
19714
- /* 121 */
19809
+ /* 123 */
19715
19810
  /***/ function(module, exports, __webpack_require__) {
19716
19811
 
19717
19812
  'use strict';
@@ -19736,7 +19831,7 @@ module.exports =
19736
19831
 
19737
19832
  var _reduxForm = __webpack_require__(2);
19738
19833
 
19739
- var _joinVenn = __webpack_require__(133);
19834
+ var _joinVenn = __webpack_require__(136);
19740
19835
 
19741
19836
  var _joinVenn2 = _interopRequireDefault(_joinVenn);
19742
19837
 
@@ -19744,7 +19839,7 @@ module.exports =
19744
19839
 
19745
19840
  var _selectWrapper2 = _interopRequireDefault(_selectWrapper);
19746
19841
 
19747
- var _parameterModal = __webpack_require__(120);
19842
+ var _parameterModal = __webpack_require__(122);
19748
19843
 
19749
19844
  var _parameterModal2 = _interopRequireDefault(_parameterModal);
19750
19845
 
@@ -20481,7 +20576,7 @@ module.exports =
20481
20576
  };
20482
20577
 
20483
20578
  /***/ },
20484
- /* 122 */
20579
+ /* 124 */
20485
20580
  /***/ function(module, exports, __webpack_require__) {
20486
20581
 
20487
20582
  'use strict';
@@ -20998,7 +21093,7 @@ module.exports =
20998
21093
  exports.default = TransformModal;
20999
21094
 
21000
21095
  /***/ },
21001
- /* 123 */
21096
+ /* 125 */
21002
21097
  /***/ function(module, exports, __webpack_require__) {
21003
21098
 
21004
21099
  'use strict';
@@ -21023,7 +21118,7 @@ module.exports =
21023
21118
 
21024
21119
  var _navButtons2 = _interopRequireDefault(_navButtons);
21025
21120
 
21026
- var _initialize = __webpack_require__(11);
21121
+ var _initialize = __webpack_require__(8);
21027
21122
 
21028
21123
  var _initialize2 = _interopRequireDefault(_initialize);
21029
21124
 
@@ -21031,11 +21126,11 @@ module.exports =
21031
21126
 
21032
21127
  var _moment2 = _interopRequireDefault(_moment);
21033
21128
 
21034
- __webpack_require__(223);
21129
+ __webpack_require__(226);
21035
21130
 
21036
- __webpack_require__(182);
21131
+ __webpack_require__(185);
21037
21132
 
21038
- var _rcTimePicker = __webpack_require__(203);
21133
+ var _rcTimePicker = __webpack_require__(206);
21039
21134
 
21040
21135
  var _rcTimePicker2 = _interopRequireDefault(_rcTimePicker);
21041
21136
 
@@ -21212,10 +21307,15 @@ module.exports =
21212
21307
  _react2.default.createElement(
21213
21308
  'div',
21214
21309
  { style: { width: 110, display: 'inline-block', verticalAlign: 'top' } },
21310
+ _react2.default.createElement(
21311
+ 'div',
21312
+ { className: 'labelz' },
21313
+ 'Frequency'
21314
+ ),
21215
21315
  _react2.default.createElement(inputs.Input, { type: 'number', value: formValues.deployment.frequency,
21216
21316
  onChange: function onChange(e) {
21217
21317
  return change('deployment.frequency', e.target.value);
21218
- }, label: 'Frequency',
21318
+ },
21219
21319
  style: { width: '100%' }
21220
21320
  })
21221
21321
  ),
@@ -21249,7 +21349,7 @@ module.exports =
21249
21349
  })(DeployStep);
21250
21350
 
21251
21351
  /***/ },
21252
- /* 124 */
21352
+ /* 126 */
21253
21353
  /***/ function(module, exports, __webpack_require__) {
21254
21354
 
21255
21355
  'use strict';
@@ -21274,7 +21374,7 @@ module.exports =
21274
21374
 
21275
21375
  var _navButtons2 = _interopRequireDefault(_navButtons);
21276
21376
 
21277
- var _initialize = __webpack_require__(11);
21377
+ var _initialize = __webpack_require__(8);
21278
21378
 
21279
21379
  var _initialize2 = _interopRequireDefault(_initialize);
21280
21380
 
@@ -21396,7 +21496,7 @@ module.exports =
21396
21496
  }
21397
21497
  }, {
21398
21498
  key: 'check',
21399
- value: function check(mode, environment, actualCreds) {
21499
+ value: function check(mode, environment, actualCreds, isReload) {
21400
21500
  var _this2 = this;
21401
21501
 
21402
21502
  var _props3 = this.props,
@@ -21424,8 +21524,21 @@ module.exports =
21424
21524
  change(mode + 'Credentials', credentials);
21425
21525
  this.setState(_defineProperty({}, mode + 'EnvChecking', true));
21426
21526
 
21427
- actions.callGetMetadata(tenantId, accountId, mode, step[mode + 'Provider'], config.metadataEndpoint, config.metadataApi, endpoint || '_blank', config.credentials, step.isFramework, credentials, env).then(function () {
21527
+ actions.callGetMetadata(tenantId, accountId, mode, step[mode + 'Provider'], config.metadataEndpoint, config.metadataApi, endpoint || '_blank', config.credentials, step.isFramework, credentials, env, isReload).then(function (metadata) {
21428
21528
  _this2.setState(_defineProperty({}, mode + 'EnvChecking', false));
21529
+ // set meta for File Schema step if needed
21530
+ // set defaults of filename and delimiter
21531
+ var isFileSchema = metadata && metadata.providerType === 'SFTP';
21532
+ if (isFileSchema) {
21533
+ change(mode + 'FileSchema', metadata.resources.filter(function (m) {
21534
+ return !m.parentRef;
21535
+ }).map(function (r) {
21536
+ return Object.assign({}, r, {
21537
+ filePattern: r.name,
21538
+ delimiter: ','
21539
+ });
21540
+ }));
21541
+ }
21429
21542
  //change(`${mode}Credentials`, credentials)
21430
21543
  });
21431
21544
  }
@@ -21515,7 +21628,8 @@ module.exports =
21515
21628
  })
21516
21629
  }*/
21517
21630
  change(m + 'Credentials', modeCreds);
21518
- _this3.check(m, env, modeCreds);
21631
+ var isReload = true; // skips posting creds again
21632
+ _this3.check(m, env, modeCreds, isReload);
21519
21633
  } else {
21520
21634
  _this3.setState(_defineProperty({}, m + 'EnvChecking', false));
21521
21635
  }
@@ -21971,7 +22085,7 @@ module.exports =
21971
22085
  })(EnvStep);
21972
22086
 
21973
22087
  /***/ },
21974
- /* 125 */
22088
+ /* 127 */
21975
22089
  /***/ function(module, exports, __webpack_require__) {
21976
22090
 
21977
22091
  'use strict';
@@ -21996,7 +22110,7 @@ module.exports =
21996
22110
 
21997
22111
  var _navButtons2 = _interopRequireDefault(_navButtons);
21998
22112
 
21999
- var _initialize = __webpack_require__(11);
22113
+ var _initialize = __webpack_require__(8);
22000
22114
 
22001
22115
  var _initialize2 = _interopRequireDefault(_initialize);
22002
22116
 
@@ -22445,7 +22559,7 @@ module.exports =
22445
22559
  })(EnvironmentStep);
22446
22560
 
22447
22561
  /***/ },
22448
- /* 126 */
22562
+ /* 128 */
22449
22563
  /***/ function(module, exports, __webpack_require__) {
22450
22564
 
22451
22565
  'use strict';
@@ -22470,7 +22584,183 @@ module.exports =
22470
22584
 
22471
22585
  var _navButtons2 = _interopRequireDefault(_navButtons);
22472
22586
 
22473
- var _initialize = __webpack_require__(11);
22587
+ var _initialize = __webpack_require__(8);
22588
+
22589
+ var _initialize2 = _interopRequireDefault(_initialize);
22590
+
22591
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
22592
+
22593
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
22594
+
22595
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
22596
+
22597
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
22598
+
22599
+ var FileProcessing = function (_Component) {
22600
+ _inherits(FileProcessing, _Component);
22601
+
22602
+ function FileProcessing() {
22603
+ _classCallCheck(this, FileProcessing);
22604
+
22605
+ return _possibleConstructorReturn(this, (FileProcessing.__proto__ || Object.getPrototypeOf(FileProcessing)).apply(this, arguments));
22606
+ }
22607
+
22608
+ _createClass(FileProcessing, [{
22609
+ key: 'componentDidMount',
22610
+ value: function componentDidMount() {
22611
+ var _props = this.props,
22612
+ step = _props.step,
22613
+ wizard = _props.wizard,
22614
+ change = _props.change,
22615
+ formValues = _props.formValues,
22616
+ actions = _props.actions;
22617
+
22618
+ if (!wizard.dataLoaded) {
22619
+ (0, _initialize2.default)(step, wizard, change, formValues, actions);
22620
+ }
22621
+ }
22622
+ }, {
22623
+ key: 'render',
22624
+ value: function render() {
22625
+ var _props2 = this.props,
22626
+ inputs = _props2.inputs,
22627
+ handleSubmit = _props2.handleSubmit,
22628
+ step = _props2.step,
22629
+ nav = _props2.nav,
22630
+ reset = _props2.reset,
22631
+ formValues = _props2.formValues;
22632
+
22633
+ var fileSchema = formValues[step.mode + 'FileSchema'];
22634
+ var filledOut = true;
22635
+ fileSchema.forEach(function (f) {
22636
+ if (!f.delimiter || !f.filePattern) {
22637
+ filledOut = false;
22638
+ }
22639
+ });
22640
+ var FileTable = inputs.FileTable;
22641
+ return _react2.default.createElement(
22642
+ 'form',
22643
+ { onSubmit: handleSubmit, onKeyPress: function onKeyPress(e) {
22644
+ return e.charCode === 13 ? e.preventDefault() : null;
22645
+ } },
22646
+ _react2.default.createElement(
22647
+ 'div',
22648
+ { style: { fontSize: 20 } },
22649
+ 'Source File Processing'
22650
+ ),
22651
+ _react2.default.createElement('br', null),
22652
+ _react2.default.createElement(
22653
+ 'p',
22654
+ null,
22655
+ 'To support file names that change over time, use wildcards * in the File Pattern (e.g. Students_*.csv)'
22656
+ ),
22657
+ _react2.default.createElement('br', null),
22658
+ _react2.default.createElement(
22659
+ 'div',
22660
+ { className: 'labelz', style: { fontSize: '14px', marginBottom: 5 } },
22661
+ 'Available Files:'
22662
+ ),
22663
+ _react2.default.createElement(FileTable, { files: fileSchema, inputs: inputs, mode: step.mode }),
22664
+ _react2.default.createElement('br', null),
22665
+ _react2.default.createElement(_navButtons2.default, { handleSubmit: handleSubmit, nav: nav, reset: reset, inputs: inputs,
22666
+ nextDisabled: !filledOut,
22667
+ isAdmin: this.props.isAdmin }),
22668
+ _react2.default.createElement('br', null),
22669
+ _react2.default.createElement('br', null)
22670
+ );
22671
+ }
22672
+ }]);
22673
+
22674
+ return FileProcessing;
22675
+ }(_react.Component);
22676
+
22677
+ /*class FileResource extends Component {
22678
+
22679
+ constructor(){
22680
+ super()
22681
+ this.state = {
22682
+ opened: false,
22683
+ }
22684
+ }
22685
+
22686
+ render() {
22687
+ const {rsc, inputs, i, step} = this.props
22688
+ const {opened} = this.state
22689
+
22690
+ return <li style={{marginBottom:6}}>
22691
+ <div onClick={()=>this.setState({opened:!opened})}
22692
+ className="filter-step-resource"
22693
+ style={{
22694
+ marginBottom:2,
22695
+ borderBottomLeftRadius: opened ? 0 : 5,
22696
+ borderBottomRightRadius: opened ? 0 : 5,
22697
+ }}>
22698
+ <FileIcon />
22699
+ <span style={{maxWidth:244+53-30}}>
22700
+ {rsc.name}</span>
22701
+ </div><br />
22702
+ <CSSTransitionGroup transitionName="filter-step-panel"
22703
+ transitionEnterTimeout={250} transitionLeaveTimeout={250}>
22704
+ {opened && <div className="filter-step-panel" style={{width:311}}>
22705
+ <div className="filter-step-panel-contents">
22706
+ <div style={{display:'inline-block'}}>
22707
+ <div className="labelz" style={{fontSize:'12px'}}>
22708
+ File Pattern:
22709
+ </div>
22710
+ <Field name={`${step.mode}FileSchema.${i}.filePattern`}
22711
+ type="text" component={inputs.rfInput}
22712
+ style={{width:224}} placeholder="File Pattern"/>
22713
+ </div>
22714
+ <div style={{display:'inline-block',marginLeft:10}}>
22715
+ <div className="labelz" style={{fontSize:'12px'}}>
22716
+ Delimiter:
22717
+ </div>
22718
+ <Field name={`${step.mode}FileSchema.${i}.delimiter`}
22719
+ type="text" component={inputs.rfInput}
22720
+ style={{width:53}} placeholder="Delimiter"/>
22721
+ </div>
22722
+ </div>
22723
+ </div>}
22724
+ </CSSTransitionGroup>
22725
+ </li>
22726
+ }
22727
+ }*/
22728
+
22729
+ exports.default = (0, _reduxForm.reduxForm)({
22730
+ form: 'wizard',
22731
+ destroyOnUnmount: false,
22732
+ forceUnregisterOnUnmount: true,
22733
+ touchOnBlur: false,
22734
+ validate: _validate2.default
22735
+ })(FileProcessing);
22736
+
22737
+ /***/ },
22738
+ /* 129 */
22739
+ /***/ function(module, exports, __webpack_require__) {
22740
+
22741
+ 'use strict';
22742
+
22743
+ Object.defineProperty(exports, "__esModule", {
22744
+ value: true
22745
+ });
22746
+
22747
+ var _createClass = function () { 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); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
22748
+
22749
+ var _react = __webpack_require__(1);
22750
+
22751
+ var _react2 = _interopRequireDefault(_react);
22752
+
22753
+ var _reduxForm = __webpack_require__(2);
22754
+
22755
+ var _validate = __webpack_require__(5);
22756
+
22757
+ var _validate2 = _interopRequireDefault(_validate);
22758
+
22759
+ var _navButtons = __webpack_require__(4);
22760
+
22761
+ var _navButtons2 = _interopRequireDefault(_navButtons);
22762
+
22763
+ var _initialize = __webpack_require__(8);
22474
22764
 
22475
22765
  var _initialize2 = _interopRequireDefault(_initialize);
22476
22766
 
@@ -22671,7 +22961,7 @@ module.exports =
22671
22961
  })(FilterStep);
22672
22962
 
22673
22963
  /***/ },
22674
- /* 127 */
22964
+ /* 130 */
22675
22965
  /***/ function(module, exports, __webpack_require__) {
22676
22966
 
22677
22967
  'use strict';
@@ -22696,7 +22986,7 @@ module.exports =
22696
22986
 
22697
22987
  var _navButtons2 = _interopRequireDefault(_navButtons);
22698
22988
 
22699
- var _initialize = __webpack_require__(11);
22989
+ var _initialize = __webpack_require__(8);
22700
22990
 
22701
22991
  var _initialize2 = _interopRequireDefault(_initialize);
22702
22992
 
@@ -22704,19 +22994,19 @@ module.exports =
22704
22994
 
22705
22995
  var _groupNav2 = _interopRequireDefault(_groupNav);
22706
22996
 
22707
- var _transformModal = __webpack_require__(122);
22997
+ var _transformModal = __webpack_require__(124);
22708
22998
 
22709
22999
  var _transformModal2 = _interopRequireDefault(_transformModal);
22710
23000
 
22711
- var _mapAccordion = __webpack_require__(118);
23001
+ var _mapAccordion = __webpack_require__(120);
22712
23002
 
22713
23003
  var _mapAccordion2 = _interopRequireDefault(_mapAccordion);
22714
23004
 
22715
- var _mapTableRows = __webpack_require__(119);
23005
+ var _mapTableRows = __webpack_require__(121);
22716
23006
 
22717
23007
  var Rows = _interopRequireWildcard(_mapTableRows);
22718
23008
 
22719
- var _newScenarioModal = __webpack_require__(135);
23009
+ var _newScenarioModal = __webpack_require__(138);
22720
23010
 
22721
23011
  var _newScenarioModal2 = _interopRequireDefault(_newScenarioModal);
22722
23012
 
@@ -22962,7 +23252,7 @@ module.exports =
22962
23252
  })(MapStep);
22963
23253
 
22964
23254
  /***/ },
22965
- /* 128 */
23255
+ /* 131 */
22966
23256
  /***/ function(module, exports, __webpack_require__) {
22967
23257
 
22968
23258
  'use strict';
@@ -22987,7 +23277,7 @@ module.exports =
22987
23277
 
22988
23278
  var _navButtons2 = _interopRequireDefault(_navButtons);
22989
23279
 
22990
- var _initialize = __webpack_require__(11);
23280
+ var _initialize = __webpack_require__(8);
22991
23281
 
22992
23282
  var _initialize2 = _interopRequireDefault(_initialize);
22993
23283
 
@@ -23070,7 +23360,7 @@ module.exports =
23070
23360
  })(NameStep);
23071
23361
 
23072
23362
  /***/ },
23073
- /* 129 */
23363
+ /* 132 */
23074
23364
  /***/ function(module, exports, __webpack_require__) {
23075
23365
 
23076
23366
  'use strict';
@@ -23169,7 +23459,7 @@ module.exports =
23169
23459
  })(PhaseStep);
23170
23460
 
23171
23461
  /***/ },
23172
- /* 130 */
23462
+ /* 133 */
23173
23463
  /***/ function(module, exports, __webpack_require__) {
23174
23464
 
23175
23465
  'use strict';
@@ -23305,7 +23595,7 @@ module.exports =
23305
23595
  })(PreviewStep);
23306
23596
 
23307
23597
  /***/ },
23308
- /* 131 */
23598
+ /* 134 */
23309
23599
  /***/ function(module, exports, __webpack_require__) {
23310
23600
 
23311
23601
  'use strict';
@@ -23326,7 +23616,7 @@ module.exports =
23326
23616
 
23327
23617
  var _navButtons2 = _interopRequireDefault(_navButtons);
23328
23618
 
23329
- var _initialize = __webpack_require__(11);
23619
+ var _initialize = __webpack_require__(8);
23330
23620
 
23331
23621
  var _initialize2 = _interopRequireDefault(_initialize);
23332
23622
 
@@ -23557,7 +23847,7 @@ module.exports =
23557
23847
  })(DefaultDatasetStep);
23558
23848
 
23559
23849
  /***/ },
23560
- /* 132 */
23850
+ /* 135 */
23561
23851
  /***/ function(module, exports, __webpack_require__) {
23562
23852
 
23563
23853
  'use strict';
@@ -23582,11 +23872,11 @@ module.exports =
23582
23872
 
23583
23873
  var _navButtons2 = _interopRequireDefault(_navButtons);
23584
23874
 
23585
- var _initialize = __webpack_require__(11);
23875
+ var _initialize = __webpack_require__(8);
23586
23876
 
23587
23877
  var _initialize2 = _interopRequireDefault(_initialize);
23588
23878
 
23589
- var _schemaAccordion = __webpack_require__(121);
23879
+ var _schemaAccordion = __webpack_require__(123);
23590
23880
 
23591
23881
  var _schemaAccordion2 = _interopRequireDefault(_schemaAccordion);
23592
23882
 
@@ -23594,11 +23884,11 @@ module.exports =
23594
23884
 
23595
23885
  var _groupNav2 = _interopRequireDefault(_groupNav);
23596
23886
 
23597
- var _connectModal = __webpack_require__(117);
23887
+ var _connectModal = __webpack_require__(119);
23598
23888
 
23599
23889
  var _connectModal2 = _interopRequireDefault(_connectModal);
23600
23890
 
23601
- var _bundleTable = __webpack_require__(116);
23891
+ var _bundleTable = __webpack_require__(118);
23602
23892
 
23603
23893
  var _bundleTable2 = _interopRequireDefault(_bundleTable);
23604
23894
 
@@ -24083,7 +24373,7 @@ module.exports =
24083
24373
  })(SchemaStep);
24084
24374
 
24085
24375
  /***/ },
24086
- /* 133 */
24376
+ /* 136 */
24087
24377
  /***/ function(module, exports, __webpack_require__) {
24088
24378
 
24089
24379
  'use strict';
@@ -24134,7 +24424,7 @@ module.exports =
24134
24424
  exports.default = JoinVenn;
24135
24425
 
24136
24426
  /***/ },
24137
- /* 134 */
24427
+ /* 137 */
24138
24428
  /***/ function(module, exports, __webpack_require__) {
24139
24429
 
24140
24430
  'use strict';
@@ -24246,7 +24536,7 @@ module.exports =
24246
24536
  exports.default = SourceField;
24247
24537
 
24248
24538
  /***/ },
24249
- /* 135 */
24539
+ /* 138 */
24250
24540
  /***/ function(module, exports, __webpack_require__) {
24251
24541
 
24252
24542
  'use strict';
@@ -24265,7 +24555,7 @@ module.exports =
24265
24555
 
24266
24556
  var _saveData3 = _interopRequireDefault(_saveData2);
24267
24557
 
24268
- var _objectAssignDeep = __webpack_require__(136);
24558
+ var _objectAssignDeep = __webpack_require__(139);
24269
24559
 
24270
24560
  var _objectAssignDeep2 = _interopRequireDefault(_objectAssignDeep);
24271
24561
 
@@ -24537,7 +24827,7 @@ module.exports =
24537
24827
  exports.default = TransformModal;
24538
24828
 
24539
24829
  /***/ },
24540
- /* 136 */
24830
+ /* 139 */
24541
24831
  /***/ function(module, exports) {
24542
24832
 
24543
24833
  'use strict';
@@ -24676,7 +24966,7 @@ module.exports =
24676
24966
  exports.default = objectAssignDeep;
24677
24967
 
24678
24968
  /***/ },
24679
- /* 137 */
24969
+ /* 140 */
24680
24970
  /***/ function(module, exports, __webpack_require__) {
24681
24971
 
24682
24972
  'use strict';
@@ -24697,50 +24987,54 @@ module.exports =
24697
24987
 
24698
24988
  var _reactRedux = __webpack_require__(79);
24699
24989
 
24700
- var _accountStep = __webpack_require__(115);
24990
+ var _accountStep = __webpack_require__(117);
24701
24991
 
24702
24992
  var _accountStep2 = _interopRequireDefault(_accountStep);
24703
24993
 
24704
- var _phaseStep = __webpack_require__(129);
24994
+ var _phaseStep = __webpack_require__(132);
24705
24995
 
24706
24996
  var _phaseStep2 = _interopRequireDefault(_phaseStep);
24707
24997
 
24708
- var _environmentStep = __webpack_require__(125);
24998
+ var _environmentStep = __webpack_require__(127);
24709
24999
 
24710
25000
  var _environmentStep2 = _interopRequireDefault(_environmentStep);
24711
25001
 
24712
- var _schemaStep = __webpack_require__(132);
25002
+ var _schemaStep = __webpack_require__(135);
24713
25003
 
24714
25004
  var _schemaStep2 = _interopRequireDefault(_schemaStep);
24715
25005
 
24716
- var _filterStep = __webpack_require__(126);
25006
+ var _filterStep = __webpack_require__(129);
24717
25007
 
24718
25008
  var _filterStep2 = _interopRequireDefault(_filterStep);
24719
25009
 
24720
- var _mapStep = __webpack_require__(127);
25010
+ var _mapStep = __webpack_require__(130);
24721
25011
 
24722
25012
  var _mapStep2 = _interopRequireDefault(_mapStep);
24723
25013
 
24724
- var _previewStep = __webpack_require__(130);
25014
+ var _previewStep = __webpack_require__(133);
24725
25015
 
24726
25016
  var _previewStep2 = _interopRequireDefault(_previewStep);
24727
25017
 
24728
- var _deployStep = __webpack_require__(123);
25018
+ var _deployStep = __webpack_require__(125);
24729
25019
 
24730
25020
  var _deployStep2 = _interopRequireDefault(_deployStep);
24731
25021
 
24732
- var _nameStep = __webpack_require__(128);
25022
+ var _nameStep = __webpack_require__(131);
24733
25023
 
24734
25024
  var _nameStep2 = _interopRequireDefault(_nameStep);
24735
25025
 
24736
- var _scenarioStep = __webpack_require__(131);
25026
+ var _scenarioStep = __webpack_require__(134);
24737
25027
 
24738
25028
  var _scenarioStep2 = _interopRequireDefault(_scenarioStep);
24739
25029
 
24740
- var _envStep = __webpack_require__(124);
25030
+ var _envStep = __webpack_require__(126);
24741
25031
 
24742
25032
  var _envStep2 = _interopRequireDefault(_envStep);
24743
25033
 
25034
+ var _fileProcessing = __webpack_require__(128);
25035
+
25036
+ var _fileProcessing2 = _interopRequireDefault(_fileProcessing);
25037
+
24744
25038
  var _saveData2 = __webpack_require__(28);
24745
25039
 
24746
25040
  var _saveData3 = _interopRequireDefault(_saveData2);
@@ -24797,7 +25091,8 @@ module.exports =
24797
25091
  deploy: _deployStep2.default,
24798
25092
  name: _nameStep2.default,
24799
25093
  scenario: _scenarioStep2.default,
24800
- env: _envStep2.default
25094
+ env: _envStep2.default,
25095
+ file: _fileProcessing2.default
24801
25096
  };
24802
25097
  return _this;
24803
25098
  }
@@ -24813,56 +25108,58 @@ module.exports =
24813
25108
  var _this2 = this;
24814
25109
 
24815
25110
  var formValues = Object.assign({}, values);
24816
- //resources: Type is the real value, Name is the displayed value
24817
- //properties: Name is the real value, Label is the displayed value
24818
- var isReverse = formValues['direction'] === 'reverse';
24819
25111
 
24820
- var _saveData = (0, _saveData3.default)(formValues['resourceGroups'], this.props.wizardConfig.source.type, this.props.wizardConfig.destination.type, this.props.wizard.sourceMetadata, this.props.wizard.destinationMetadata, isReverse),
24821
- bundles = _saveData.bundles,
24822
- mappings = _saveData.mappings;
25112
+ function crunch(formValues, wizardConfig, wizard) {
25113
+ var title = formValues.title || wizardConfig.title || 'LingkSync';
25114
+ var envName = formValues['environment'];
25115
+ var envId = formValues['environmentId'];
25116
+ var typeId = wizardConfig.typeId,
25117
+ typeGuid = wizardConfig.typeGuid;
25118
+ var deployment = formValues.deployment;
25119
+ //resources: Type is the real value, Name is the displayed value
25120
+ //properties: Name is the real value, Label is the displayed value
24823
25121
 
24824
- console.log('BUNDLES: ', bundles);
24825
- console.log('MAPPINGS: ', mappings);
24826
- //----------------------------------
24827
- // Create configuration
24828
- //----------------------------------
24829
- /*if(formValues.sourceEndpoint){
24830
- endpoints.sourceEndpoint = formValues.sourceEndpoint
25122
+ var isReverse = formValues['direction'] === 'reverse';
25123
+
25124
+ var _saveData = (0, _saveData3.default)(formValues['resourceGroups'], wizardConfig.source.type, wizardConfig.destination.type, wizard.sourceMetadata, wizard.destinationMetadata, isReverse),
25125
+ bundles = _saveData.bundles,
25126
+ mappings = _saveData.mappings;
25127
+
25128
+ console.log('BUNDLES: ', bundles);
25129
+ console.log('MAPPINGS: ', mappings);
25130
+ // Create configuration
25131
+ var configuration = Object.assign({}, formValues['scenario'] && { scenario: String(formValues['scenario']) }, { // integer of id
25132
+ direction: formValues['direction'], // 'normal' or 'reverse'
25133
+ environment: formValues['environment'],
25134
+ environmentId: String(formValues['environmentId'])
25135
+ }, formValues['batchSize'] && { batchSize: formValues['batchSize'] });
25136
+ // saving schemas for SFTP, so there does not have to be a file on server to reload wizard
25137
+ var sourceFileSchema = {
25138
+ resources: formValues['sourceFileSchema'],
25139
+ name: title + ' Schema',
25140
+ providerType: wizardConfig.source.type,
25141
+ isSource: true
25142
+ };
25143
+ var destinationFileSchema = {
25144
+ resources: formValues['destinationFileSchema'],
25145
+ name: title + ' Schema',
25146
+ providerType: wizardConfig.destination.type,
25147
+ isSource: false
25148
+ };
25149
+ return { title: title, envName: envName, envId: envId, bundles: bundles, mappings: mappings, typeId: typeId, typeGuid: typeGuid, configuration: configuration, deployment: deployment, sourceFileSchema: sourceFileSchema, destinationFileSchema: destinationFileSchema };
24831
25150
  }
24832
- if(formValues.destinationEndpoint){
24833
- endpoints.destinationEndpoint = formValues.destinationEndpoint
24834
- }*/
25151
+ var form = crunch(formValues, this.props.wizardConfig, this.props.wizard);
24835
25152
 
24836
- var configuration = Object.assign({}, formValues['scenario'] && { scenario: String(formValues['scenario']) }, { // integer of id
24837
- direction: formValues['direction'], // 'normal' or 'reverse'
24838
- environment: formValues['environment'],
24839
- environmentId: String(formValues['environmentId'])
24840
- }, formValues['batchSize'] && { batchSize: formValues['batchSize'] });
24841
25153
  //----------------------------------
24842
25154
  // Post
24843
25155
  //----------------------------------
24844
- var _props2 = this.props,
24845
- actions = _props2.actions,
24846
- onGenerate = _props2.onGenerate,
24847
- onFinish = _props2.onFinish,
24848
- onSubmit = _props2.onSubmit,
24849
- accountId = _props2.accountId,
24850
- tenantId = _props2.tenantId,
24851
- steps = _props2.steps,
24852
- wizardConfig = _props2.wizardConfig,
24853
- onPiPost = _props2.onPiPost,
24854
- piGuid = _props2.piGuid,
24855
- wizard = _props2.wizard,
24856
- isManagedPackage = _props2.isManagedPackage,
24857
- onGenerationError = _props2.onGenerationError;
24858
-
24859
- var step = steps.find(function (s, i) {
25156
+ var step = this.props.steps.find(function (s, i) {
24860
25157
  return i + 1 === _this2.state.currentPage;
24861
25158
  });
24862
25159
  var isFinishClick = step.type === 'deploy';
24863
25160
  if (true) {
24864
- actions.submitWizardData(tenantId, accountId, bundles, mappings, configuration, formValues.title || wizardConfig.title || 'LingkSync', formValues.deployment || null, wizardConfig.typeId, wizardConfig.typeGuid, piGuid, onPiPost, onGenerate, onFinish, wizard.sourceMetadata || [], wizard.destinationMetadata || [], isManagedPackage, onGenerationError, formValues['environment'], formValues['environmentId'], isFinishClick);
24865
- onSubmit({ complete: formValues.hasOwnProperty('deployment') });
25161
+ this.props.actions.submitWizardData(this.props, form, isFinishClick);
25162
+ this.props.onSubmit({ complete: formValues.hasOwnProperty('deployment') });
24866
25163
  }
24867
25164
  }
24868
25165
  }, {
@@ -24907,18 +25204,18 @@ module.exports =
24907
25204
  var _this3 = this;
24908
25205
 
24909
25206
  var currentPage = this.state.currentPage;
24910
- var _props3 = this.props,
24911
- steps = _props3.steps,
24912
- actions = _props3.actions,
24913
- wizard = _props3.wizard,
24914
- formValues = _props3.formValues,
24915
- inputs = _props3.inputs,
24916
- tenantId = _props3.tenantId,
24917
- tenantKey = _props3.tenantKey,
24918
- accountId = _props3.accountId,
24919
- accountKey = _props3.accountKey,
24920
- config = _props3.config,
24921
- isAdmin = _props3.isAdmin;
25207
+ var _props2 = this.props,
25208
+ steps = _props2.steps,
25209
+ actions = _props2.actions,
25210
+ wizard = _props2.wizard,
25211
+ formValues = _props2.formValues,
25212
+ inputs = _props2.inputs,
25213
+ tenantId = _props2.tenantId,
25214
+ tenantKey = _props2.tenantKey,
25215
+ accountId = _props2.accountId,
25216
+ accountKey = _props2.accountKey,
25217
+ config = _props2.config,
25218
+ isAdmin = _props2.isAdmin;
24922
25219
  var Sidebar = inputs.Sidebar;
24923
25220
 
24924
25221
  if (!wizard || wizard && !wizard.loaded) {
@@ -25008,6 +25305,8 @@ module.exports =
25008
25305
  var environment = selector(state, 'environment');
25009
25306
  var environmentId = selector(state, 'environmentId');
25010
25307
  var batchSize = selector(state, 'batchSize');
25308
+ var sourceFileSchema = selector(state, 'sourceFileSchema');
25309
+ var destinationFileSchema = selector(state, 'destinationFileSchema');
25011
25310
  return Object.assign({}, state, {
25012
25311
  formValues: {
25013
25312
  title: title,
@@ -25019,7 +25318,9 @@ module.exports =
25019
25318
  direction: direction,
25020
25319
  environment: environment,
25021
25320
  environmentId: environmentId,
25022
- batchSize: batchSize
25321
+ batchSize: batchSize,
25322
+ sourceFileSchema: sourceFileSchema,
25323
+ destinationFileSchema: destinationFileSchema
25023
25324
  }
25024
25325
  });
25025
25326
  })(WizardForm);
@@ -25027,7 +25328,7 @@ module.exports =
25027
25328
  exports.default = WizardForm;
25028
25329
 
25029
25330
  /***/ },
25030
- /* 138 */
25331
+ /* 141 */
25031
25332
  /***/ function(module, exports, __webpack_require__) {
25032
25333
 
25033
25334
  'use strict';
@@ -25042,17 +25343,17 @@ module.exports =
25042
25343
 
25043
25344
  var _react2 = _interopRequireDefault(_react);
25044
25345
 
25045
- var _redux = __webpack_require__(224);
25346
+ var _redux = __webpack_require__(227);
25046
25347
 
25047
25348
  var _reactRedux = __webpack_require__(79);
25048
25349
 
25049
- var _wizard = __webpack_require__(114);
25350
+ var _wizard = __webpack_require__(116);
25050
25351
 
25051
25352
  var wizardActions = _interopRequireWildcard(_wizard);
25052
25353
 
25053
- __webpack_require__(183);
25354
+ __webpack_require__(186);
25054
25355
 
25055
- var _wizardForm = __webpack_require__(137);
25356
+ var _wizardForm = __webpack_require__(140);
25056
25357
 
25057
25358
  var _wizardForm2 = _interopRequireDefault(_wizardForm);
25058
25359
 
@@ -25091,12 +25392,11 @@ module.exports =
25091
25392
  }, {
25092
25393
  type: 'env',
25093
25394
  title: 'Environments'
25094
- },
25095
- /*{
25096
- type: 'filter',
25097
- title: 'Source Filter'
25098
- },*/
25099
- {
25395
+ }, {
25396
+ type: 'file',
25397
+ title: 'File Processing',
25398
+ mode: 'source'
25399
+ }, {
25100
25400
  type: 'scenario',
25101
25401
  title: 'Data Scenario'
25102
25402
  }, {
@@ -25137,15 +25437,13 @@ module.exports =
25137
25437
  step.previewToken = this.props.previewToken;
25138
25438
  step.typeGuid = wizard.typeGuid;
25139
25439
  stepList.push(step);
25440
+ } else if (step.type === 'file' && wizard.source.type === 'SFTP') {
25441
+ stepList.push(step);
25140
25442
  } else if (step.type === 'scenario' && wizard.scenarios.length > 0) {
25141
25443
  step.options = wizard.scenarios;
25142
25444
  step.scenarioOrder = wizard.scenarioIds;
25143
25445
  step.magicNumber = '2147483647';
25144
25446
  stepList.push(step);
25145
- } else if (step.type === 'filter') {
25146
- if (wizard.source.hasFilterStep) {
25147
- stepList.push(step);
25148
- }
25149
25447
  } else if (step.type === 'environment') {
25150
25448
  step.typeGuid = wizard.typeGuid;
25151
25449
  if (step.mode === 'source' && !wizard.source.skipEnvStep) {
@@ -25221,21 +25519,21 @@ module.exports =
25221
25519
  exports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(LingkSync);
25222
25520
 
25223
25521
  /***/ },
25224
- /* 139 */,
25225
- /* 140 */
25522
+ /* 142 */,
25523
+ /* 143 */
25226
25524
  /***/ function(module, exports, __webpack_require__) {
25227
25525
 
25228
- module.exports = { "default": __webpack_require__(145), __esModule: true };
25526
+ module.exports = { "default": __webpack_require__(148), __esModule: true };
25229
25527
 
25230
25528
  /***/ },
25231
- /* 141 */
25529
+ /* 144 */
25232
25530
  /***/ function(module, exports, __webpack_require__) {
25233
25531
 
25234
- module.exports = { "default": __webpack_require__(146), __esModule: true };
25532
+ module.exports = { "default": __webpack_require__(149), __esModule: true };
25235
25533
 
25236
25534
  /***/ },
25237
- /* 142 */,
25238
- /* 143 */
25535
+ /* 145 */,
25536
+ /* 146 */
25239
25537
  /***/ function(module, exports) {
25240
25538
 
25241
25539
  "use strict";
@@ -25255,39 +25553,39 @@ module.exports =
25255
25553
  };
25256
25554
 
25257
25555
  /***/ },
25258
- /* 144 */,
25259
- /* 145 */
25556
+ /* 147 */,
25557
+ /* 148 */
25260
25558
  /***/ function(module, exports, __webpack_require__) {
25261
25559
 
25262
- __webpack_require__(166);
25263
- module.exports = __webpack_require__(8).Object.assign;
25560
+ __webpack_require__(169);
25561
+ module.exports = __webpack_require__(9).Object.assign;
25264
25562
 
25265
25563
  /***/ },
25266
- /* 146 */
25564
+ /* 149 */
25267
25565
  /***/ function(module, exports, __webpack_require__) {
25268
25566
 
25269
- __webpack_require__(167);
25270
- var $Object = __webpack_require__(8).Object;
25567
+ __webpack_require__(170);
25568
+ var $Object = __webpack_require__(9).Object;
25271
25569
  module.exports = function defineProperty(it, key, desc){
25272
25570
  return $Object.defineProperty(it, key, desc);
25273
25571
  };
25274
25572
 
25275
25573
  /***/ },
25276
- /* 147 */,
25277
- /* 148 */,
25278
- /* 149 */,
25279
25574
  /* 150 */,
25280
25575
  /* 151 */,
25281
25576
  /* 152 */,
25282
25577
  /* 153 */,
25283
- /* 154 */
25578
+ /* 154 */,
25579
+ /* 155 */,
25580
+ /* 156 */,
25581
+ /* 157 */
25284
25582
  /***/ function(module, exports, __webpack_require__) {
25285
25583
 
25286
25584
  'use strict';
25287
25585
  // 19.1.2.1 Object.assign(target, source, ...)
25288
25586
  var getKeys = __webpack_require__(34)
25289
- , gOPS = __webpack_require__(157)
25290
- , pIE = __webpack_require__(159)
25587
+ , gOPS = __webpack_require__(160)
25588
+ , pIE = __webpack_require__(162)
25291
25589
  , toObject = __webpack_require__(37)
25292
25590
  , IObject = __webpack_require__(32)
25293
25591
  , $assign = Object.assign;
@@ -25318,48 +25616,48 @@ module.exports =
25318
25616
  } : $assign;
25319
25617
 
25320
25618
  /***/ },
25321
- /* 155 */,
25322
- /* 156 */,
25323
- /* 157 */
25619
+ /* 158 */,
25620
+ /* 159 */,
25621
+ /* 160 */
25324
25622
  /***/ function(module, exports) {
25325
25623
 
25326
25624
  exports.f = Object.getOwnPropertySymbols;
25327
25625
 
25328
25626
  /***/ },
25329
- /* 158 */,
25330
- /* 159 */
25627
+ /* 161 */,
25628
+ /* 162 */
25331
25629
  /***/ function(module, exports) {
25332
25630
 
25333
25631
  exports.f = {}.propertyIsEnumerable;
25334
25632
 
25335
25633
  /***/ },
25336
- /* 160 */,
25337
- /* 161 */,
25338
- /* 162 */,
25339
25634
  /* 163 */,
25340
25635
  /* 164 */,
25341
25636
  /* 165 */,
25342
- /* 166 */
25637
+ /* 166 */,
25638
+ /* 167 */,
25639
+ /* 168 */,
25640
+ /* 169 */
25343
25641
  /***/ function(module, exports, __webpack_require__) {
25344
25642
 
25345
25643
  // 19.1.3.1 Object.assign(target, source)
25346
25644
  var $export = __webpack_require__(24);
25347
25645
 
25348
- $export($export.S + $export.F, 'Object', {assign: __webpack_require__(154)});
25646
+ $export($export.S + $export.F, 'Object', {assign: __webpack_require__(157)});
25349
25647
 
25350
25648
  /***/ },
25351
- /* 167 */
25649
+ /* 170 */
25352
25650
  /***/ function(module, exports, __webpack_require__) {
25353
25651
 
25354
25652
  var $export = __webpack_require__(24);
25355
25653
  // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
25356
- $export($export.S + $export.F * !__webpack_require__(9), 'Object', {defineProperty: __webpack_require__(18).f});
25654
+ $export($export.S + $export.F * !__webpack_require__(10), 'Object', {defineProperty: __webpack_require__(18).f});
25357
25655
 
25358
25656
  /***/ },
25359
- /* 168 */,
25360
- /* 169 */,
25361
- /* 170 */,
25362
- /* 171 */
25657
+ /* 171 */,
25658
+ /* 172 */,
25659
+ /* 173 */,
25660
+ /* 174 */
25363
25661
  /***/ function(module, exports) {
25364
25662
 
25365
25663
 
@@ -25385,7 +25683,7 @@ module.exports =
25385
25683
 
25386
25684
 
25387
25685
  /***/ },
25388
- /* 172 */
25686
+ /* 175 */
25389
25687
  /***/ function(module, exports, __webpack_require__) {
25390
25688
 
25391
25689
  /**
@@ -25582,7 +25880,7 @@ module.exports =
25582
25880
 
25583
25881
 
25584
25882
  /***/ },
25585
- /* 173 */
25883
+ /* 176 */
25586
25884
  /***/ function(module, exports) {
25587
25885
 
25588
25886
  'use strict';
@@ -25675,7 +25973,7 @@ module.exports =
25675
25973
  module.exports = exports['default'];
25676
25974
 
25677
25975
  /***/ },
25678
- /* 174 */
25976
+ /* 177 */
25679
25977
  /***/ function(module, exports, __webpack_require__) {
25680
25978
 
25681
25979
  'use strict';
@@ -25686,11 +25984,11 @@ module.exports =
25686
25984
 
25687
25985
  var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
25688
25986
 
25689
- var _Event = __webpack_require__(173);
25987
+ var _Event = __webpack_require__(176);
25690
25988
 
25691
25989
  var _Event2 = _interopRequireDefault(_Event);
25692
25990
 
25693
- var _componentClasses = __webpack_require__(172);
25991
+ var _componentClasses = __webpack_require__(175);
25694
25992
 
25695
25993
  var _componentClasses2 = _interopRequireDefault(_componentClasses);
25696
25994
 
@@ -25870,7 +26168,7 @@ module.exports =
25870
26168
  module.exports = exports['default'];
25871
26169
 
25872
26170
  /***/ },
25873
- /* 175 */
26171
+ /* 178 */
25874
26172
  /***/ function(module, exports, __webpack_require__) {
25875
26173
 
25876
26174
  'use strict';
@@ -25930,7 +26228,7 @@ module.exports =
25930
26228
  module.exports = exports['default'];
25931
26229
 
25932
26230
  /***/ },
25933
- /* 176 */
26231
+ /* 179 */
25934
26232
  /***/ function(module, exports) {
25935
26233
 
25936
26234
  'use strict';
@@ -25975,7 +26273,7 @@ module.exports =
25975
26273
  module.exports = exports['default'];
25976
26274
 
25977
26275
  /***/ },
25978
- /* 177 */
26276
+ /* 180 */
25979
26277
  /***/ function(module, exports, __webpack_require__) {
25980
26278
 
25981
26279
  'use strict';
@@ -25984,7 +26282,7 @@ module.exports =
25984
26282
  value: true
25985
26283
  });
25986
26284
 
25987
- var _getAlignOffset = __webpack_require__(176);
26285
+ var _getAlignOffset = __webpack_require__(179);
25988
26286
 
25989
26287
  var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);
25990
26288
 
@@ -26016,7 +26314,7 @@ module.exports =
26016
26314
  module.exports = exports['default'];
26017
26315
 
26018
26316
  /***/ },
26019
- /* 178 */
26317
+ /* 181 */
26020
26318
  /***/ function(module, exports, __webpack_require__) {
26021
26319
 
26022
26320
  'use strict';
@@ -26057,7 +26355,7 @@ module.exports =
26057
26355
  module.exports = exports['default'];
26058
26356
 
26059
26357
  /***/ },
26060
- /* 179 */
26358
+ /* 182 */
26061
26359
  /***/ function(module, exports, __webpack_require__) {
26062
26360
 
26063
26361
  'use strict';
@@ -26138,7 +26436,7 @@ module.exports =
26138
26436
  module.exports = exports['default'];
26139
26437
 
26140
26438
  /***/ },
26141
- /* 180 */
26439
+ /* 183 */
26142
26440
  /***/ function(module, exports, __webpack_require__) {
26143
26441
 
26144
26442
  'use strict';
@@ -26155,19 +26453,19 @@ module.exports =
26155
26453
 
26156
26454
  var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
26157
26455
 
26158
- var _getVisibleRectForElement = __webpack_require__(179);
26456
+ var _getVisibleRectForElement = __webpack_require__(182);
26159
26457
 
26160
26458
  var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);
26161
26459
 
26162
- var _adjustForViewport = __webpack_require__(175);
26460
+ var _adjustForViewport = __webpack_require__(178);
26163
26461
 
26164
26462
  var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);
26165
26463
 
26166
- var _getRegion = __webpack_require__(178);
26464
+ var _getRegion = __webpack_require__(181);
26167
26465
 
26168
26466
  var _getRegion2 = _interopRequireDefault(_getRegion);
26169
26467
 
26170
- var _getElFuturePos = __webpack_require__(177);
26468
+ var _getElFuturePos = __webpack_require__(180);
26171
26469
 
26172
26470
  var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);
26173
26471
 
@@ -26369,7 +26667,7 @@ module.exports =
26369
26667
  module.exports = exports['default'];
26370
26668
 
26371
26669
  /***/ },
26372
- /* 181 */
26670
+ /* 184 */
26373
26671
  /***/ function(module, exports) {
26374
26672
 
26375
26673
  'use strict';
@@ -26484,13 +26782,13 @@ module.exports =
26484
26782
  }
26485
26783
 
26486
26784
  /***/ },
26487
- /* 182 */
26785
+ /* 185 */
26488
26786
  61,
26489
- /* 183 */
26490
- 61,
26491
- /* 184 */,
26492
- /* 185 */,
26493
26787
  /* 186 */
26788
+ 61,
26789
+ /* 187 */,
26790
+ /* 188 */,
26791
+ /* 189 */
26494
26792
  /***/ function(module, exports) {
26495
26793
 
26496
26794
  'use strict';
@@ -26579,7 +26877,7 @@ module.exports =
26579
26877
 
26580
26878
 
26581
26879
  /***/ },
26582
- /* 187 */
26880
+ /* 190 */
26583
26881
  /***/ function(module, exports, __webpack_require__) {
26584
26882
 
26585
26883
  /**
@@ -26593,9 +26891,9 @@ module.exports =
26593
26891
 
26594
26892
  'use strict';
26595
26893
 
26596
- var emptyFunction = __webpack_require__(189);
26597
- var invariant = __webpack_require__(190);
26598
- var ReactPropTypesSecret = __webpack_require__(188);
26894
+ var emptyFunction = __webpack_require__(192);
26895
+ var invariant = __webpack_require__(193);
26896
+ var ReactPropTypesSecret = __webpack_require__(191);
26599
26897
 
26600
26898
  module.exports = function() {
26601
26899
  function shim(props, propName, componentName, location, propFullName, secret) {
@@ -26644,7 +26942,7 @@ module.exports =
26644
26942
 
26645
26943
 
26646
26944
  /***/ },
26647
- /* 188 */
26945
+ /* 191 */
26648
26946
  /***/ function(module, exports) {
26649
26947
 
26650
26948
  /**
@@ -26664,7 +26962,7 @@ module.exports =
26664
26962
 
26665
26963
 
26666
26964
  /***/ },
26667
- /* 189 */
26965
+ /* 192 */
26668
26966
  /***/ function(module, exports) {
26669
26967
 
26670
26968
  "use strict";
@@ -26707,7 +27005,7 @@ module.exports =
26707
27005
  module.exports = emptyFunction;
26708
27006
 
26709
27007
  /***/ },
26710
- /* 190 */
27008
+ /* 193 */
26711
27009
  /***/ function(module, exports, __webpack_require__) {
26712
27010
 
26713
27011
  /**
@@ -26767,7 +27065,7 @@ module.exports =
26767
27065
  module.exports = invariant;
26768
27066
 
26769
27067
  /***/ },
26770
- /* 191 */
27068
+ /* 194 */
26771
27069
  /***/ function(module, exports, __webpack_require__) {
26772
27070
 
26773
27071
  'use strict';
@@ -26780,11 +27078,11 @@ module.exports =
26780
27078
 
26781
27079
  var _react2 = _interopRequireDefault(_react);
26782
27080
 
26783
- var _reactDom = __webpack_require__(10);
27081
+ var _reactDom = __webpack_require__(11);
26784
27082
 
26785
27083
  var _reactDom2 = _interopRequireDefault(_reactDom);
26786
27084
 
26787
- var _domAlign = __webpack_require__(180);
27085
+ var _domAlign = __webpack_require__(183);
26788
27086
 
26789
27087
  var _domAlign2 = _interopRequireDefault(_domAlign);
26790
27088
 
@@ -26792,7 +27090,7 @@ module.exports =
26792
27090
 
26793
27091
  var _addEventListener2 = _interopRequireDefault(_addEventListener);
26794
27092
 
26795
- var _isWindow = __webpack_require__(193);
27093
+ var _isWindow = __webpack_require__(196);
26796
27094
 
26797
27095
  var _isWindow2 = _interopRequireDefault(_isWindow);
26798
27096
 
@@ -26926,7 +27224,7 @@ module.exports =
26926
27224
  module.exports = exports['default'];
26927
27225
 
26928
27226
  /***/ },
26929
- /* 192 */
27227
+ /* 195 */
26930
27228
  /***/ function(module, exports, __webpack_require__) {
26931
27229
 
26932
27230
  'use strict';
@@ -26935,7 +27233,7 @@ module.exports =
26935
27233
  value: true
26936
27234
  });
26937
27235
 
26938
- var _Align = __webpack_require__(191);
27236
+ var _Align = __webpack_require__(194);
26939
27237
 
26940
27238
  var _Align2 = _interopRequireDefault(_Align);
26941
27239
 
@@ -26946,7 +27244,7 @@ module.exports =
26946
27244
  module.exports = exports['default'];
26947
27245
 
26948
27246
  /***/ },
26949
- /* 193 */
27247
+ /* 196 */
26950
27248
  /***/ function(module, exports) {
26951
27249
 
26952
27250
  "use strict";
@@ -26963,7 +27261,7 @@ module.exports =
26963
27261
  module.exports = exports['default'];
26964
27262
 
26965
27263
  /***/ },
26966
- /* 194 */
27264
+ /* 197 */
26967
27265
  /***/ function(module, exports, __webpack_require__) {
26968
27266
 
26969
27267
  'use strict';
@@ -26978,9 +27276,9 @@ module.exports =
26978
27276
 
26979
27277
  var _react2 = _interopRequireDefault(_react);
26980
27278
 
26981
- var _ChildrenUtils = __webpack_require__(196);
27279
+ var _ChildrenUtils = __webpack_require__(199);
26982
27280
 
26983
- var _AnimateChild = __webpack_require__(195);
27281
+ var _AnimateChild = __webpack_require__(198);
26984
27282
 
26985
27283
  var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
26986
27284
 
@@ -27299,7 +27597,7 @@ module.exports =
27299
27597
  module.exports = exports['default'];
27300
27598
 
27301
27599
  /***/ },
27302
- /* 195 */
27600
+ /* 198 */
27303
27601
  /***/ function(module, exports, __webpack_require__) {
27304
27602
 
27305
27603
  'use strict';
@@ -27314,11 +27612,11 @@ module.exports =
27314
27612
 
27315
27613
  var _react2 = _interopRequireDefault(_react);
27316
27614
 
27317
- var _reactDom = __webpack_require__(10);
27615
+ var _reactDom = __webpack_require__(11);
27318
27616
 
27319
27617
  var _reactDom2 = _interopRequireDefault(_reactDom);
27320
27618
 
27321
- var _cssAnimation = __webpack_require__(174);
27619
+ var _cssAnimation = __webpack_require__(177);
27322
27620
 
27323
27621
  var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
27324
27622
 
@@ -27410,7 +27708,7 @@ module.exports =
27410
27708
  module.exports = exports['default'];
27411
27709
 
27412
27710
  /***/ },
27413
- /* 196 */
27711
+ /* 199 */
27414
27712
  /***/ function(module, exports, __webpack_require__) {
27415
27713
 
27416
27714
  'use strict';
@@ -27532,16 +27830,16 @@ module.exports =
27532
27830
  }
27533
27831
 
27534
27832
  /***/ },
27535
- /* 197 */
27833
+ /* 200 */
27536
27834
  /***/ function(module, exports, __webpack_require__) {
27537
27835
 
27538
27836
  'use strict';
27539
27837
 
27540
27838
  // export this package's api
27541
- module.exports = __webpack_require__(194);
27839
+ module.exports = __webpack_require__(197);
27542
27840
 
27543
27841
  /***/ },
27544
- /* 198 */
27842
+ /* 201 */
27545
27843
  /***/ function(module, exports, __webpack_require__) {
27546
27844
 
27547
27845
  'use strict';
@@ -27554,7 +27852,7 @@ module.exports =
27554
27852
 
27555
27853
  var _react2 = _interopRequireDefault(_react);
27556
27854
 
27557
- var _Select = __webpack_require__(201);
27855
+ var _Select = __webpack_require__(204);
27558
27856
 
27559
27857
  var _Select2 = _interopRequireDefault(_Select);
27560
27858
 
@@ -27778,7 +28076,7 @@ module.exports =
27778
28076
  module.exports = exports['default'];
27779
28077
 
27780
28078
  /***/ },
27781
- /* 199 */
28079
+ /* 202 */
27782
28080
  /***/ function(module, exports, __webpack_require__) {
27783
28081
 
27784
28082
  'use strict';
@@ -27974,7 +28272,7 @@ module.exports =
27974
28272
  module.exports = exports['default'];
27975
28273
 
27976
28274
  /***/ },
27977
- /* 200 */
28275
+ /* 203 */
27978
28276
  /***/ function(module, exports, __webpack_require__) {
27979
28277
 
27980
28278
  'use strict';
@@ -27991,11 +28289,11 @@ module.exports =
27991
28289
 
27992
28290
  var _react2 = _interopRequireDefault(_react);
27993
28291
 
27994
- var _Header = __webpack_require__(199);
28292
+ var _Header = __webpack_require__(202);
27995
28293
 
27996
28294
  var _Header2 = _interopRequireDefault(_Header);
27997
28295
 
27998
- var _Combobox = __webpack_require__(198);
28296
+ var _Combobox = __webpack_require__(201);
27999
28297
 
28000
28298
  var _Combobox2 = _interopRequireDefault(_Combobox);
28001
28299
 
@@ -28168,7 +28466,7 @@ module.exports =
28168
28466
  module.exports = exports['default'];
28169
28467
 
28170
28468
  /***/ },
28171
- /* 201 */
28469
+ /* 204 */
28172
28470
  /***/ function(module, exports, __webpack_require__) {
28173
28471
 
28174
28472
  'use strict';
@@ -28185,7 +28483,7 @@ module.exports =
28185
28483
 
28186
28484
  var _react2 = _interopRequireDefault(_react);
28187
28485
 
28188
- var _reactDom = __webpack_require__(10);
28486
+ var _reactDom = __webpack_require__(11);
28189
28487
 
28190
28488
  var _reactDom2 = _interopRequireDefault(_reactDom);
28191
28489
 
@@ -28329,7 +28627,7 @@ module.exports =
28329
28627
  module.exports = exports['default'];
28330
28628
 
28331
28629
  /***/ },
28332
- /* 202 */
28630
+ /* 205 */
28333
28631
  /***/ function(module, exports, __webpack_require__) {
28334
28632
 
28335
28633
  'use strict';
@@ -28342,15 +28640,15 @@ module.exports =
28342
28640
 
28343
28641
  var _react2 = _interopRequireDefault(_react);
28344
28642
 
28345
- var _rcTrigger = __webpack_require__(208);
28643
+ var _rcTrigger = __webpack_require__(211);
28346
28644
 
28347
28645
  var _rcTrigger2 = _interopRequireDefault(_rcTrigger);
28348
28646
 
28349
- var _Panel = __webpack_require__(200);
28647
+ var _Panel = __webpack_require__(203);
28350
28648
 
28351
28649
  var _Panel2 = _interopRequireDefault(_Panel);
28352
28650
 
28353
- var _placements = __webpack_require__(204);
28651
+ var _placements = __webpack_require__(207);
28354
28652
 
28355
28653
  var _placements2 = _interopRequireDefault(_placements);
28356
28654
 
@@ -28632,7 +28930,7 @@ module.exports =
28632
28930
  module.exports = exports['default'];
28633
28931
 
28634
28932
  /***/ },
28635
- /* 203 */
28933
+ /* 206 */
28636
28934
  /***/ function(module, exports, __webpack_require__) {
28637
28935
 
28638
28936
  'use strict';
@@ -28641,7 +28939,7 @@ module.exports =
28641
28939
  value: true
28642
28940
  });
28643
28941
 
28644
- var _TimePicker = __webpack_require__(202);
28942
+ var _TimePicker = __webpack_require__(205);
28645
28943
 
28646
28944
  var _TimePicker2 = _interopRequireDefault(_TimePicker);
28647
28945
 
@@ -28651,7 +28949,7 @@ module.exports =
28651
28949
  module.exports = exports['default'];
28652
28950
 
28653
28951
  /***/ },
28654
- /* 204 */
28952
+ /* 207 */
28655
28953
  /***/ function(module, exports) {
28656
28954
 
28657
28955
  'use strict';
@@ -28697,7 +28995,7 @@ module.exports =
28697
28995
  module.exports = exports['default'];
28698
28996
 
28699
28997
  /***/ },
28700
- /* 205 */
28998
+ /* 208 */
28701
28999
  /***/ function(module, exports, __webpack_require__) {
28702
29000
 
28703
29001
  'use strict';
@@ -28714,19 +29012,19 @@ module.exports =
28714
29012
 
28715
29013
  var _react2 = _interopRequireDefault(_react);
28716
29014
 
28717
- var _reactDom = __webpack_require__(10);
29015
+ var _reactDom = __webpack_require__(11);
28718
29016
 
28719
29017
  var _reactDom2 = _interopRequireDefault(_reactDom);
28720
29018
 
28721
- var _rcAlign = __webpack_require__(192);
29019
+ var _rcAlign = __webpack_require__(195);
28722
29020
 
28723
29021
  var _rcAlign2 = _interopRequireDefault(_rcAlign);
28724
29022
 
28725
- var _rcAnimate = __webpack_require__(197);
29023
+ var _rcAnimate = __webpack_require__(200);
28726
29024
 
28727
29025
  var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
28728
29026
 
28729
- var _PopupInner = __webpack_require__(206);
29027
+ var _PopupInner = __webpack_require__(209);
28730
29028
 
28731
29029
  var _PopupInner2 = _interopRequireDefault(_PopupInner);
28732
29030
 
@@ -28928,7 +29226,7 @@ module.exports =
28928
29226
  module.exports = exports['default'];
28929
29227
 
28930
29228
  /***/ },
28931
- /* 206 */
29229
+ /* 209 */
28932
29230
  /***/ function(module, exports, __webpack_require__) {
28933
29231
 
28934
29232
  'use strict';
@@ -28985,7 +29283,7 @@ module.exports =
28985
29283
  module.exports = exports['default'];
28986
29284
 
28987
29285
  /***/ },
28988
- /* 207 */
29286
+ /* 210 */
28989
29287
  /***/ function(module, exports, __webpack_require__) {
28990
29288
 
28991
29289
  'use strict';
@@ -29002,11 +29300,11 @@ module.exports =
29002
29300
 
29003
29301
  var _react2 = _interopRequireDefault(_react);
29004
29302
 
29005
- var _reactDom = __webpack_require__(10);
29303
+ var _reactDom = __webpack_require__(11);
29006
29304
 
29007
29305
  var _reactDom2 = _interopRequireDefault(_reactDom);
29008
29306
 
29009
- var _contains = __webpack_require__(210);
29307
+ var _contains = __webpack_require__(213);
29010
29308
 
29011
29309
  var _contains2 = _interopRequireDefault(_contains);
29012
29310
 
@@ -29014,13 +29312,13 @@ module.exports =
29014
29312
 
29015
29313
  var _addEventListener2 = _interopRequireDefault(_addEventListener);
29016
29314
 
29017
- var _Popup = __webpack_require__(205);
29315
+ var _Popup = __webpack_require__(208);
29018
29316
 
29019
29317
  var _Popup2 = _interopRequireDefault(_Popup);
29020
29318
 
29021
- var _utils = __webpack_require__(209);
29319
+ var _utils = __webpack_require__(212);
29022
29320
 
29023
- var _getContainerRenderMixin = __webpack_require__(211);
29321
+ var _getContainerRenderMixin = __webpack_require__(214);
29024
29322
 
29025
29323
  var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin);
29026
29324
 
@@ -29484,15 +29782,15 @@ module.exports =
29484
29782
  module.exports = exports['default'];
29485
29783
 
29486
29784
  /***/ },
29487
- /* 208 */
29785
+ /* 211 */
29488
29786
  /***/ function(module, exports, __webpack_require__) {
29489
29787
 
29490
29788
  'use strict';
29491
29789
 
29492
- module.exports = __webpack_require__(207);
29790
+ module.exports = __webpack_require__(210);
29493
29791
 
29494
29792
  /***/ },
29495
- /* 209 */
29793
+ /* 212 */
29496
29794
  /***/ function(module, exports, __webpack_require__) {
29497
29795
 
29498
29796
  'use strict';
@@ -29532,7 +29830,7 @@ module.exports =
29532
29830
  }
29533
29831
 
29534
29832
  /***/ },
29535
- /* 210 */
29833
+ /* 213 */
29536
29834
  /***/ function(module, exports) {
29537
29835
 
29538
29836
  "use strict";
@@ -29555,7 +29853,7 @@ module.exports =
29555
29853
  module.exports = exports['default'];
29556
29854
 
29557
29855
  /***/ },
29558
- /* 211 */
29856
+ /* 214 */
29559
29857
  /***/ function(module, exports, __webpack_require__) {
29560
29858
 
29561
29859
  'use strict';
@@ -29568,7 +29866,7 @@ module.exports =
29568
29866
 
29569
29867
  exports["default"] = getContainerRenderMixin;
29570
29868
 
29571
- var _reactDom = __webpack_require__(10);
29869
+ var _reactDom = __webpack_require__(11);
29572
29870
 
29573
29871
  var _reactDom2 = _interopRequireDefault(_reactDom);
29574
29872
 
@@ -29660,8 +29958,8 @@ module.exports =
29660
29958
  module.exports = exports['default'];
29661
29959
 
29662
29960
  /***/ },
29663
- /* 212 */,
29664
- /* 213 */
29961
+ /* 215 */,
29962
+ /* 216 */
29665
29963
  /***/ function(module, exports, __webpack_require__) {
29666
29964
 
29667
29965
  'use strict';
@@ -29670,19 +29968,19 @@ module.exports =
29670
29968
 
29671
29969
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
29672
29970
 
29673
- var _addClass = __webpack_require__(215);
29971
+ var _addClass = __webpack_require__(218);
29674
29972
 
29675
29973
  var _addClass2 = _interopRequireDefault(_addClass);
29676
29974
 
29677
- var _removeClass = __webpack_require__(217);
29975
+ var _removeClass = __webpack_require__(220);
29678
29976
 
29679
29977
  var _removeClass2 = _interopRequireDefault(_removeClass);
29680
29978
 
29681
- var _requestAnimationFrame = __webpack_require__(219);
29979
+ var _requestAnimationFrame = __webpack_require__(222);
29682
29980
 
29683
29981
  var _requestAnimationFrame2 = _interopRequireDefault(_requestAnimationFrame);
29684
29982
 
29685
- var _properties = __webpack_require__(218);
29983
+ var _properties = __webpack_require__(221);
29686
29984
 
29687
29985
  var _react = __webpack_require__(1);
29688
29986
 
@@ -29692,7 +29990,7 @@ module.exports =
29692
29990
 
29693
29991
  var _propTypes2 = _interopRequireDefault(_propTypes);
29694
29992
 
29695
- var _reactDom = __webpack_require__(10);
29993
+ var _reactDom = __webpack_require__(11);
29696
29994
 
29697
29995
  var _PropTypes = __webpack_require__(78);
29698
29996
 
@@ -29895,7 +30193,7 @@ module.exports =
29895
30193
  module.exports = exports['default'];
29896
30194
 
29897
30195
  /***/ },
29898
- /* 214 */
30196
+ /* 217 */
29899
30197
  /***/ function(module, exports, __webpack_require__) {
29900
30198
 
29901
30199
  'use strict';
@@ -29904,7 +30202,7 @@ module.exports =
29904
30202
 
29905
30203
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
29906
30204
 
29907
- var _chainFunction = __webpack_require__(171);
30205
+ var _chainFunction = __webpack_require__(174);
29908
30206
 
29909
30207
  var _chainFunction2 = _interopRequireDefault(_chainFunction);
29910
30208
 
@@ -29916,11 +30214,11 @@ module.exports =
29916
30214
 
29917
30215
  var _propTypes2 = _interopRequireDefault(_propTypes);
29918
30216
 
29919
- var _warning = __webpack_require__(221);
30217
+ var _warning = __webpack_require__(224);
29920
30218
 
29921
30219
  var _warning2 = _interopRequireDefault(_warning);
29922
30220
 
29923
- var _ChildMapping = __webpack_require__(220);
30221
+ var _ChildMapping = __webpack_require__(223);
29924
30222
 
29925
30223
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
29926
30224
 
@@ -30172,7 +30470,7 @@ module.exports =
30172
30470
  module.exports = exports['default'];
30173
30471
 
30174
30472
  /***/ },
30175
- /* 215 */
30473
+ /* 218 */
30176
30474
  /***/ function(module, exports, __webpack_require__) {
30177
30475
 
30178
30476
  'use strict';
@@ -30182,7 +30480,7 @@ module.exports =
30182
30480
  });
30183
30481
  exports.default = addClass;
30184
30482
 
30185
- var _hasClass = __webpack_require__(216);
30483
+ var _hasClass = __webpack_require__(219);
30186
30484
 
30187
30485
  var _hasClass2 = _interopRequireDefault(_hasClass);
30188
30486
 
@@ -30194,7 +30492,7 @@ module.exports =
30194
30492
  module.exports = exports['default'];
30195
30493
 
30196
30494
  /***/ },
30197
- /* 216 */
30495
+ /* 219 */
30198
30496
  /***/ function(module, exports) {
30199
30497
 
30200
30498
  "use strict";
@@ -30209,7 +30507,7 @@ module.exports =
30209
30507
  module.exports = exports["default"];
30210
30508
 
30211
30509
  /***/ },
30212
- /* 217 */
30510
+ /* 220 */
30213
30511
  /***/ function(module, exports) {
30214
30512
 
30215
30513
  'use strict';
@@ -30219,7 +30517,7 @@ module.exports =
30219
30517
  };
30220
30518
 
30221
30519
  /***/ },
30222
- /* 218 */
30520
+ /* 221 */
30223
30521
  /***/ function(module, exports, __webpack_require__) {
30224
30522
 
30225
30523
  'use strict';
@@ -30334,7 +30632,7 @@ module.exports =
30334
30632
  }
30335
30633
 
30336
30634
  /***/ },
30337
- /* 219 */
30635
+ /* 222 */
30338
30636
  /***/ function(module, exports, __webpack_require__) {
30339
30637
 
30340
30638
  'use strict';
@@ -30392,7 +30690,7 @@ module.exports =
30392
30690
  module.exports = exports['default'];
30393
30691
 
30394
30692
  /***/ },
30395
- /* 220 */
30693
+ /* 223 */
30396
30694
  /***/ function(module, exports, __webpack_require__) {
30397
30695
 
30398
30696
  'use strict';
@@ -30488,7 +30786,7 @@ module.exports =
30488
30786
  }
30489
30787
 
30490
30788
  /***/ },
30491
- /* 221 */
30789
+ /* 224 */
30492
30790
  /***/ function(module, exports, __webpack_require__) {
30493
30791
 
30494
30792
  /**
@@ -30554,19 +30852,19 @@ module.exports =
30554
30852
 
30555
30853
 
30556
30854
  /***/ },
30557
- /* 222 */
30855
+ /* 225 */
30558
30856
  /***/ function(module, exports) {
30559
30857
 
30560
30858
  module.exports = require("axios");
30561
30859
 
30562
30860
  /***/ },
30563
- /* 223 */
30861
+ /* 226 */
30564
30862
  /***/ function(module, exports) {
30565
30863
 
30566
30864
  module.exports = require("moment-timezone");
30567
30865
 
30568
30866
  /***/ },
30569
- /* 224 */
30867
+ /* 227 */
30570
30868
  /***/ function(module, exports) {
30571
30869
 
30572
30870
  module.exports = require("redux");