@lingk/sync 0.1.78 → 0.1.80
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/lightning.js +54 -53
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js +2 -2
- package/build/lingkStyles.js.map +1 -1
- package/build/main.js +740 -296
- package/build/main.js.map +1 -1
- package/build/reducer.js.map +1 -1
- package/package.json +1 -1
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__(
|
|
71
|
+
module.exports = __webpack_require__(128);
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
/***/ },
|
|
@@ -946,7 +946,7 @@ module.exports =
|
|
|
946
946
|
|
|
947
947
|
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; };
|
|
948
948
|
|
|
949
|
-
var _propertyUtils = __webpack_require__(
|
|
949
|
+
var _propertyUtils = __webpack_require__(171);
|
|
950
950
|
|
|
951
951
|
var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
|
|
952
952
|
|
|
@@ -1529,7 +1529,7 @@ module.exports =
|
|
|
1529
1529
|
} else {
|
|
1530
1530
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1531
1531
|
// http://fb.me/prop-types-in-prod
|
|
1532
|
-
module.exports = __webpack_require__(
|
|
1532
|
+
module.exports = __webpack_require__(177)();
|
|
1533
1533
|
}
|
|
1534
1534
|
|
|
1535
1535
|
|
|
@@ -1551,11 +1551,11 @@ module.exports =
|
|
|
1551
1551
|
|
|
1552
1552
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
1553
1553
|
|
|
1554
|
-
var _TransitionGroup = __webpack_require__(
|
|
1554
|
+
var _TransitionGroup = __webpack_require__(205);
|
|
1555
1555
|
|
|
1556
1556
|
var _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);
|
|
1557
1557
|
|
|
1558
|
-
var _CSSTransitionGroupChild = __webpack_require__(
|
|
1558
|
+
var _CSSTransitionGroupChild = __webpack_require__(204);
|
|
1559
1559
|
|
|
1560
1560
|
var _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild);
|
|
1561
1561
|
|
|
@@ -1818,7 +1818,7 @@ module.exports =
|
|
|
1818
1818
|
|
|
1819
1819
|
exports.__esModule = true;
|
|
1820
1820
|
|
|
1821
|
-
var _assign = __webpack_require__(
|
|
1821
|
+
var _assign = __webpack_require__(130);
|
|
1822
1822
|
|
|
1823
1823
|
var _assign2 = _interopRequireDefault(_assign);
|
|
1824
1824
|
|
|
@@ -2704,6 +2704,12 @@ module.exports =
|
|
|
2704
2704
|
primaryKeyResource = primarySourceResource.type;
|
|
2705
2705
|
}
|
|
2706
2706
|
|
|
2707
|
+
var rscParentProvider = null;
|
|
2708
|
+
if (rsc.parentNameAndProvider) {
|
|
2709
|
+
var provArray = rsc.parentNameAndProvider.split('_');
|
|
2710
|
+
rscParentProvider = provArray[provArray.length - 1];
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2707
2713
|
if (sourceResource) {
|
|
2708
2714
|
return Object.assign({
|
|
2709
2715
|
resourceName: sourceResource.type,
|
|
@@ -2721,7 +2727,7 @@ module.exports =
|
|
|
2721
2727
|
return pf.val;
|
|
2722
2728
|
}) }, {
|
|
2723
2729
|
level: rsc.level || (rscIndex === 0 ? 0 : 1)
|
|
2724
|
-
}, primaryKeyResource && { parentNameAndProvider: primaryKeyResource + '_' +
|
|
2730
|
+
}, primaryKeyResource && rscParentProvider && { parentNameAndProvider: primaryKeyResource + '_' + rscParentProvider.toLowerCase() });
|
|
2725
2731
|
} else return null;
|
|
2726
2732
|
});
|
|
2727
2733
|
}
|
|
@@ -2776,7 +2782,7 @@ module.exports =
|
|
|
2776
2782
|
|
|
2777
2783
|
exports.__esModule = true;
|
|
2778
2784
|
|
|
2779
|
-
var _defineProperty = __webpack_require__(
|
|
2785
|
+
var _defineProperty = __webpack_require__(131);
|
|
2780
2786
|
|
|
2781
2787
|
var _defineProperty2 = _interopRequireDefault(_defineProperty);
|
|
2782
2788
|
|
|
@@ -2911,7 +2917,7 @@ module.exports =
|
|
|
2911
2917
|
value: true
|
|
2912
2918
|
});
|
|
2913
2919
|
|
|
2914
|
-
var _objectWithoutProperties2 = __webpack_require__(
|
|
2920
|
+
var _objectWithoutProperties2 = __webpack_require__(133);
|
|
2915
2921
|
|
|
2916
2922
|
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
|
|
2917
2923
|
|
|
@@ -4747,7 +4753,7 @@ module.exports =
|
|
|
4747
4753
|
|
|
4748
4754
|
var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);
|
|
4749
4755
|
|
|
4750
|
-
var _objectAssign = __webpack_require__(
|
|
4756
|
+
var _objectAssign = __webpack_require__(176);
|
|
4751
4757
|
|
|
4752
4758
|
var _objectAssign2 = _interopRequireDefault(_objectAssign);
|
|
4753
4759
|
|
|
@@ -5101,6 +5107,7 @@ module.exports =
|
|
|
5101
5107
|
exports.tryCheckConnection = tryCheckConnection;
|
|
5102
5108
|
exports.callGetProviderMetadata = callGetProviderMetadata;
|
|
5103
5109
|
exports.getOauthUrl = getOauthUrl;
|
|
5110
|
+
exports.generateNewAdapterSecret = generateNewAdapterSecret;
|
|
5104
5111
|
exports.createLingkExternalIds = createLingkExternalIds;
|
|
5105
5112
|
exports.callAddCustomField = callAddCustomField;
|
|
5106
5113
|
exports.gotEmptyScenario = gotEmptyScenario;
|
|
@@ -5120,10 +5127,12 @@ module.exports =
|
|
|
5120
5127
|
exports.callDeployTrigger = callDeployTrigger;
|
|
5121
5128
|
exports.callInit = callInit;
|
|
5122
5129
|
exports.callGetPiConfig = callGetPiConfig;
|
|
5123
|
-
exports.tryGetMetadataIntro = tryGetMetadataIntro;
|
|
5124
5130
|
exports.callGetCredentials = callGetCredentials;
|
|
5131
|
+
exports.clearAdapterSecrets = clearAdapterSecrets;
|
|
5132
|
+
exports.setLoadedAdapterSecret = setLoadedAdapterSecret;
|
|
5125
5133
|
exports.getCredentialForEnvironment = getCredentialForEnvironment;
|
|
5126
5134
|
exports.tryGetCredentials = tryGetCredentials;
|
|
5135
|
+
exports.tryGetAdapterSecret = tryGetAdapterSecret;
|
|
5127
5136
|
exports.tryGetMetadataReload = tryGetMetadataReload;
|
|
5128
5137
|
exports.callGetBundles = callGetBundles;
|
|
5129
5138
|
exports.callGetMapping = callGetMapping;
|
|
@@ -5149,6 +5158,8 @@ module.exports =
|
|
|
5149
5158
|
|
|
5150
5159
|
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
|
5151
5160
|
|
|
5161
|
+
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; }
|
|
5162
|
+
|
|
5152
5163
|
function callGetMetadata(tenantId, appId, mode, providerType, urlSuffix, apiUrl, endpoint, credsConfig, isFramework, creds, environment, isReload) {
|
|
5153
5164
|
var metadata = null;
|
|
5154
5165
|
var isOauth = credsConfig && credsConfig[0] === 'Oauth';
|
|
@@ -5227,13 +5238,17 @@ module.exports =
|
|
|
5227
5238
|
// 'testconnection ' GET route is for adapter only. Should be called 'adaptermetadata'
|
|
5228
5239
|
|
|
5229
5240
|
|
|
5241
|
+
var isAdapter = false;
|
|
5230
5242
|
if (urlSuffix === 'testconnection') {
|
|
5231
5243
|
urlSuffix = 'testconnection?url=' + endpoint;
|
|
5244
|
+
isAdapter = true;
|
|
5232
5245
|
}
|
|
5233
5246
|
if (urlSuffix === 'adaptermetadata') {
|
|
5234
5247
|
urlSuffix = 'adaptermetadata?url=' + endpoint;
|
|
5248
|
+
isAdapter = true;
|
|
5235
5249
|
}
|
|
5236
|
-
if (isOauth) {
|
|
5250
|
+
if (isOauth || isAdapter) {
|
|
5251
|
+
// USE ONLY ENVS!!!
|
|
5237
5252
|
return api.get(tenantId + '/' + appId + '/environments/' + envName + '/' + urlSuffix, {
|
|
5238
5253
|
endpoint: config[apiUrl]
|
|
5239
5254
|
});
|
|
@@ -5270,10 +5285,29 @@ module.exports =
|
|
|
5270
5285
|
};
|
|
5271
5286
|
}
|
|
5272
5287
|
|
|
5273
|
-
function
|
|
5288
|
+
function generateNewAdapterSecret(tenantId, accountId, envName, mode) {
|
|
5274
5289
|
return function (dispatch, getState, api) {
|
|
5275
5290
|
var _getState4 = getState(),
|
|
5276
|
-
config = _getState4.config
|
|
5291
|
+
config = _getState4.config,
|
|
5292
|
+
wizard = _getState4.wizard;
|
|
5293
|
+
|
|
5294
|
+
var TRANS_API_URL = config.TRANS_API_URL;
|
|
5295
|
+
|
|
5296
|
+
return api.post(tenantId + '/' + accountId + '/credentials/AdapterSecret/environment/' + envName + '/generate', {
|
|
5297
|
+
endpoint: TRANS_API_URL
|
|
5298
|
+
}).then(function (data) {
|
|
5299
|
+
dispatch({
|
|
5300
|
+
type: types.SET_WIZARD_SAVED_CREDENTIALS,
|
|
5301
|
+
data: Object.assign({}, wizard.savedCredentials, _defineProperty({}, mode + 'AdapterSecret', data))
|
|
5302
|
+
});
|
|
5303
|
+
});
|
|
5304
|
+
};
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5307
|
+
function createLingkExternalIds(tenantId, appId, bundles, mappings, metadata, envName) {
|
|
5308
|
+
return function (dispatch, getState, api) {
|
|
5309
|
+
var _getState5 = getState(),
|
|
5310
|
+
config = _getState5.config;
|
|
5277
5311
|
|
|
5278
5312
|
var externalIdlessObjects = [];
|
|
5279
5313
|
// only run for Salesforce
|
|
@@ -5311,8 +5345,8 @@ module.exports =
|
|
|
5311
5345
|
|
|
5312
5346
|
function callAddCustomField(tenantId, appId, objectType, fieldName, completedCallback, envName) {
|
|
5313
5347
|
return function (dispatch, getState, api) {
|
|
5314
|
-
var
|
|
5315
|
-
config =
|
|
5348
|
+
var _getState6 = getState(),
|
|
5349
|
+
config = _getState6.config;
|
|
5316
5350
|
|
|
5317
5351
|
return api.post(tenantId + '/' + appId + '/environments/' + envName + '/salesforceschema/field', {
|
|
5318
5352
|
endpoint: config.SF_AGENT_API_URL,
|
|
@@ -5364,8 +5398,8 @@ module.exports =
|
|
|
5364
5398
|
|
|
5365
5399
|
function callGetScenarioList(tenantId, appId, typeGuid) {
|
|
5366
5400
|
return function (dispatch, getState, api) {
|
|
5367
|
-
var
|
|
5368
|
-
config =
|
|
5401
|
+
var _getState7 = getState(),
|
|
5402
|
+
config = _getState7.config;
|
|
5369
5403
|
|
|
5370
5404
|
return api.get(tenantId + '/' + appId + '/scenarios/' + typeGuid, {
|
|
5371
5405
|
endpoint: config.TRANS_API_URL
|
|
@@ -5375,8 +5409,8 @@ module.exports =
|
|
|
5375
5409
|
|
|
5376
5410
|
function callCreateScenario(tenantId, appId, data) {
|
|
5377
5411
|
return function (dispatch, getState, api) {
|
|
5378
|
-
var
|
|
5379
|
-
config =
|
|
5412
|
+
var _getState8 = getState(),
|
|
5413
|
+
config = _getState8.config;
|
|
5380
5414
|
|
|
5381
5415
|
return api.post(tenantId + '/' + appId + '/scenario', {
|
|
5382
5416
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5387,8 +5421,8 @@ module.exports =
|
|
|
5387
5421
|
|
|
5388
5422
|
function callUpdateScenarioList(tenantId, appId, typeGuid, scenarioIds) {
|
|
5389
5423
|
return function (dispatch, getState, api) {
|
|
5390
|
-
var
|
|
5391
|
-
config =
|
|
5424
|
+
var _getState9 = getState(),
|
|
5425
|
+
config = _getState9.config;
|
|
5392
5426
|
|
|
5393
5427
|
return api.post(tenantId + '/' + appId + '/scenarios/' + typeGuid, {
|
|
5394
5428
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5401,8 +5435,8 @@ module.exports =
|
|
|
5401
5435
|
|
|
5402
5436
|
function callPostBundles(tenantId, appId, bundles, onGenerationError) {
|
|
5403
5437
|
return function (dispatch, getState, api) {
|
|
5404
|
-
var
|
|
5405
|
-
config =
|
|
5438
|
+
var _getState10 = getState(),
|
|
5439
|
+
config = _getState10.config;
|
|
5406
5440
|
|
|
5407
5441
|
var data = { bundles: bundles };
|
|
5408
5442
|
return api.post(tenantId + '/' + appId + '/bundle', {
|
|
@@ -5418,8 +5452,8 @@ module.exports =
|
|
|
5418
5452
|
|
|
5419
5453
|
function callPostMapping(tenantId, appId, mappings, onGenerationError) {
|
|
5420
5454
|
return function (dispatch, getState, api) {
|
|
5421
|
-
var
|
|
5422
|
-
config =
|
|
5455
|
+
var _getState11 = getState(),
|
|
5456
|
+
config = _getState11.config;
|
|
5423
5457
|
|
|
5424
5458
|
var data = { mappings: mappings };
|
|
5425
5459
|
return api.post(tenantId + '/' + appId + '/schemamappings', {
|
|
@@ -5435,8 +5469,8 @@ module.exports =
|
|
|
5435
5469
|
|
|
5436
5470
|
function callPostProductizedIntegration(tenantId, appId, schemaMappingGuid, bundlePackGuid, configuration, title, typeGuid, onGenerationError) {
|
|
5437
5471
|
return function (dispatch, getState, api) {
|
|
5438
|
-
var
|
|
5439
|
-
config =
|
|
5472
|
+
var _getState12 = getState(),
|
|
5473
|
+
config = _getState12.config;
|
|
5440
5474
|
|
|
5441
5475
|
var data = {
|
|
5442
5476
|
schemaMappingGuid: schemaMappingGuid,
|
|
@@ -5458,8 +5492,8 @@ module.exports =
|
|
|
5458
5492
|
|
|
5459
5493
|
function callUpdateProductizedIntegration(tenantId, appId, schemaMappingGuid, bundlePackGuid, configuration, title, typeGuid, piGuid, onGenerationError) {
|
|
5460
5494
|
return function (dispatch, getState, api) {
|
|
5461
|
-
var
|
|
5462
|
-
config =
|
|
5495
|
+
var _getState13 = getState(),
|
|
5496
|
+
config = _getState13.config;
|
|
5463
5497
|
|
|
5464
5498
|
var data = {
|
|
5465
5499
|
schemaMappingGuid: schemaMappingGuid,
|
|
@@ -5481,8 +5515,8 @@ module.exports =
|
|
|
5481
5515
|
|
|
5482
5516
|
function callGenerateRecipe(tenantId, appId, typeId, typeGuid, title, piGuid, mappingGuid, sourceMetadata, destinationMetadata, isManagedPackage, onGenerationError, envName) {
|
|
5483
5517
|
return function (dispatch, getState, api) {
|
|
5484
|
-
var
|
|
5485
|
-
config =
|
|
5518
|
+
var _getState14 = getState(),
|
|
5519
|
+
config = _getState14.config;
|
|
5486
5520
|
|
|
5487
5521
|
return api.post(tenantId + '/' + appId + '/productizedintegrations/' + piGuid + '/generate', {
|
|
5488
5522
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5543,8 +5577,8 @@ module.exports =
|
|
|
5543
5577
|
|
|
5544
5578
|
function callExecuteTransformer(transId) {
|
|
5545
5579
|
return function (dispatch, getState, api) {
|
|
5546
|
-
var
|
|
5547
|
-
config =
|
|
5580
|
+
var _getState15 = getState(),
|
|
5581
|
+
config = _getState15.config;
|
|
5548
5582
|
|
|
5549
5583
|
var query = '';
|
|
5550
5584
|
var d = new Date();
|
|
@@ -5568,8 +5602,8 @@ module.exports =
|
|
|
5568
5602
|
|
|
5569
5603
|
function callLookupLogData(externalExecutionId, index, onFinish, generatedRecipe, pi) {
|
|
5570
5604
|
return function (dispatch, getState, api) {
|
|
5571
|
-
var
|
|
5572
|
-
config =
|
|
5605
|
+
var _getState16 = getState(),
|
|
5606
|
+
config = _getState16.config;
|
|
5573
5607
|
|
|
5574
5608
|
return api.get('logs/transformers/externalExecutionId/' + externalExecutionId, {
|
|
5575
5609
|
endpoint: config.TRANS_API_URL
|
|
@@ -5612,8 +5646,8 @@ module.exports =
|
|
|
5612
5646
|
};
|
|
5613
5647
|
}
|
|
5614
5648
|
return function (dispatch, getState, api) {
|
|
5615
|
-
var
|
|
5616
|
-
config =
|
|
5649
|
+
var _getState17 = getState(),
|
|
5650
|
+
config = _getState17.config;
|
|
5617
5651
|
|
|
5618
5652
|
return api.post('createtrigger', {
|
|
5619
5653
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5626,8 +5660,8 @@ module.exports =
|
|
|
5626
5660
|
|
|
5627
5661
|
function callDeployTrigger(generatedRecipe, pi, onFinish) {
|
|
5628
5662
|
return function (dispatch, getState, api) {
|
|
5629
|
-
var
|
|
5630
|
-
config =
|
|
5663
|
+
var _getState18 = getState(),
|
|
5664
|
+
config = _getState18.config;
|
|
5631
5665
|
|
|
5632
5666
|
return api.put('transformer/deploy/' + generatedRecipe.Id, {
|
|
5633
5667
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5668,8 +5702,8 @@ module.exports =
|
|
|
5668
5702
|
|
|
5669
5703
|
if (piGuid && piGuid !== '_') {
|
|
5670
5704
|
return function (dispatch, getState, api) {
|
|
5671
|
-
var
|
|
5672
|
-
config =
|
|
5705
|
+
var _getState19 = getState(),
|
|
5706
|
+
config = _getState19.config;
|
|
5673
5707
|
|
|
5674
5708
|
return api.get(tenantId + '/' + accountId + '/productizedintegration/' + piGuid, {
|
|
5675
5709
|
endpoint: config.TRANS_API_URL
|
|
@@ -5685,65 +5719,97 @@ module.exports =
|
|
|
5685
5719
|
var creds = res[0];
|
|
5686
5720
|
var sourceCreds = creds[0] && creds[0].credentialsJson;
|
|
5687
5721
|
var destCreds = creds[1] && creds[1].credentialsJson;
|
|
5722
|
+
dispatch({
|
|
5723
|
+
type: types.SET_WIZARD_SAVED_CREDENTIALS,
|
|
5724
|
+
data: {
|
|
5725
|
+
source: sourceCreds,
|
|
5726
|
+
destination: destCreds,
|
|
5727
|
+
sourceAdapterSecret: creds[2],
|
|
5728
|
+
destinationAdapterSecret: creds[3]
|
|
5729
|
+
}
|
|
5730
|
+
});
|
|
5688
5731
|
var savedSourceEndpoint = sourceCreds && sourceCreds.rootUrl;
|
|
5689
5732
|
var savedDestinationEndpoint = destCreds && destCreds.rootUrl;
|
|
5690
5733
|
return Promise.all([dispatch(tryGetMetadataReload(tenantId, accountId, 'source', source, savedSourceEndpoint, sourceCreds, envName)), dispatch(tryGetMetadataReload(tenantId, accountId, 'destination', destination, savedDestinationEndpoint, destCreds, envName))]);
|
|
5691
5734
|
});
|
|
5692
5735
|
});
|
|
5693
5736
|
};
|
|
5694
|
-
} else return function (
|
|
5695
|
-
|
|
5696
|
-
return Promise.all([dispatch(tryGetMetadataIntro(tenantId, accountId, 'source', source)), dispatch(tryGetMetadataIntro(tenantId, accountId, 'destination', destination))]);
|
|
5737
|
+
} else return function () {
|
|
5738
|
+
return Promise.resolve(null);
|
|
5697
5739
|
};
|
|
5698
5740
|
}
|
|
5699
5741
|
|
|
5700
5742
|
// this function runs when a NEW wizard first loads ONLY in Salesforce App (no env step)
|
|
5701
|
-
function tryGetMetadataIntro(tenantId, appId, mode, wiz) {
|
|
5702
|
-
|
|
5703
|
-
metadataEndpoint = wiz.metadataEndpoint,
|
|
5704
|
-
metadataApi = wiz.metadataApi,
|
|
5705
|
-
skipEnvStep = wiz.skipEnvStep,
|
|
5706
|
-
credentials = wiz.credentials;
|
|
5743
|
+
/*export function tryGetMetadataIntro(tenantId, appId, mode, wiz) {
|
|
5744
|
+
const {type, metadataEndpoint, metadataApi, skipEnvStep, credentials} = wiz
|
|
5707
5745
|
// automatically pull metadata (SF app)
|
|
5746
|
+
if(skipEnvStep) {
|
|
5747
|
+
return dispatch => dispatch(callGetMetadata(tenantId, appId, mode, type, metadataEndpoint, metadataApi, '_blank', credentials))
|
|
5748
|
+
} else return () => Promise.resolve(null)
|
|
5749
|
+
}*/
|
|
5708
5750
|
|
|
5709
|
-
|
|
5710
|
-
return function (dispatch) {
|
|
5711
|
-
return dispatch(callGetMetadata(tenantId, appId, mode, type, metadataEndpoint, metadataApi, '_blank', credentials));
|
|
5712
|
-
};
|
|
5713
|
-
} else return function () {
|
|
5714
|
-
return Promise.resolve(null);
|
|
5715
|
-
};
|
|
5716
|
-
}
|
|
5751
|
+
/*
|
|
5717
5752
|
|
|
5718
|
-
|
|
5753
|
+
CREDENTIALS ARE A LITTLE BIT WEIRD RIGHT NOW
|
|
5754
|
+
|
|
5755
|
+
The main "source" and "destination" credentials are like rootUrl or secretKey for accessing an external api
|
|
5756
|
+
|
|
5757
|
+
for oauth (SF), actual credentials are not really needed in the front-end, as they are just an AuthCode that is generated in the oauth flow. The only credential to show on the front-end is the userName which is saved along with the AuthCode
|
|
5758
|
+
|
|
5759
|
+
For Adapter providers, the only credential to show front-end is the rootUrl. But there is also the AdapterSecret which is generated server side. We need to check if this exists, but do not need to show it. So it stored separately in redux in credentials.sourceAdapterSecret
|
|
5760
|
+
|
|
5761
|
+
*/
|
|
5762
|
+
|
|
5763
|
+
function callGetCredentials(tenantId, appId, wiz, envName, fromUI) {
|
|
5719
5764
|
var source = wiz.source,
|
|
5720
5765
|
destination = wiz.destination;
|
|
5721
5766
|
|
|
5722
5767
|
return function (dispatch, getState, api) {
|
|
5723
|
-
|
|
5768
|
+
if (fromUI) {
|
|
5724
5769
|
dispatch({
|
|
5725
|
-
type: types.
|
|
5726
|
-
|
|
5727
|
-
source: res[0] && res[0].credentialsJson,
|
|
5728
|
-
destination: res[1] && res[1].credentialsJson
|
|
5729
|
-
}
|
|
5770
|
+
type: types.START_WIZARD_ENV_CHECK,
|
|
5771
|
+
mode: 'source'
|
|
5730
5772
|
});
|
|
5731
|
-
|
|
5773
|
+
dispatch({
|
|
5774
|
+
type: types.START_WIZARD_ENV_CHECK,
|
|
5775
|
+
mode: 'destination'
|
|
5776
|
+
});
|
|
5777
|
+
}
|
|
5778
|
+
return Promise.all([dispatch(tryGetCredentials(tenantId, appId, source.type, source.credentials, envName)), dispatch(tryGetCredentials(tenantId, appId, destination.type, destination.credentials, envName)), dispatch(tryGetAdapterSecret(tenantId, appId, source.metadataEndpoint, envName)), dispatch(tryGetAdapterSecret(tenantId, appId, destination.metadataEndpoint, envName))]);
|
|
5779
|
+
};
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5782
|
+
function clearAdapterSecrets() {
|
|
5783
|
+
return function (dispatch, getState, api) {
|
|
5784
|
+
var _getState20 = getState(),
|
|
5785
|
+
wizard = _getState20.wizard;
|
|
5786
|
+
|
|
5787
|
+
dispatch({
|
|
5788
|
+
type: types.SET_WIZARD_SAVED_CREDENTIALS,
|
|
5789
|
+
data: Object.assign({}, wizard.savedCredentials, {
|
|
5790
|
+
sourceAdapterSecret: null,
|
|
5791
|
+
destinationAdapterSecret: null
|
|
5792
|
+
})
|
|
5732
5793
|
});
|
|
5733
5794
|
};
|
|
5734
5795
|
}
|
|
5735
5796
|
|
|
5736
|
-
function
|
|
5797
|
+
function setLoadedAdapterSecret(cred, mode) {
|
|
5737
5798
|
return function (dispatch, getState, api) {
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5799
|
+
var _getState21 = getState(),
|
|
5800
|
+
wizard = _getState21.wizard;
|
|
5801
|
+
|
|
5802
|
+
dispatch({
|
|
5803
|
+
type: types.SET_WIZARD_SAVED_CREDENTIALS,
|
|
5804
|
+
data: Object.assign({}, wizard.savedCredentials, _defineProperty({}, mode + 'AdapterSecret', cred))
|
|
5805
|
+
});
|
|
5806
|
+
};
|
|
5807
|
+
}
|
|
5744
5808
|
|
|
5745
|
-
|
|
5746
|
-
|
|
5809
|
+
function getCredentialForEnvironment(tenantId, appId, credentialType, envName, mode) {
|
|
5810
|
+
return function (dispatch, getState, api) {
|
|
5811
|
+
var _getState22 = getState(),
|
|
5812
|
+
config = _getState22.config;
|
|
5747
5813
|
|
|
5748
5814
|
return api.get(tenantId + '/' + appId + '/credentials/' + credentialType + '/' + envName, {
|
|
5749
5815
|
endpoint: config.TRANS_API_URL
|
|
@@ -5753,9 +5819,22 @@ module.exports =
|
|
|
5753
5819
|
|
|
5754
5820
|
function tryGetCredentials(tenantId, appId, credentialType, credsConfig, envName) {
|
|
5755
5821
|
return function (dispatch, getState, api) {
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
return dispatch(getCredentialForEnvironment(tenantId, appId, credentialType, envName))
|
|
5822
|
+
if (envName) {
|
|
5823
|
+
credentialType = credentialType === 'Salesforce' ? 'SalesforceAuthCode' : credentialType;
|
|
5824
|
+
return dispatch(getCredentialForEnvironment(tenantId, appId, credentialType, envName)).catch(function () {
|
|
5825
|
+
return null;
|
|
5826
|
+
});
|
|
5827
|
+
} else return Promise.resolve(null);
|
|
5828
|
+
};
|
|
5829
|
+
}
|
|
5830
|
+
|
|
5831
|
+
function tryGetAdapterSecret(tenantId, appId, metadataEndpoint, envName) {
|
|
5832
|
+
return function (dispatch, getState, api) {
|
|
5833
|
+
var isAdapter = metadataEndpoint === 'testconnection' || metadataEndpoint === 'adaptermetadata';
|
|
5834
|
+
if (isAdapter) {
|
|
5835
|
+
return dispatch(getCredentialForEnvironment(tenantId, appId, 'AdapterSecret', envName)).catch(function () {
|
|
5836
|
+
return null;
|
|
5837
|
+
});
|
|
5759
5838
|
} else return Promise.resolve(null);
|
|
5760
5839
|
};
|
|
5761
5840
|
}
|
|
@@ -5780,8 +5859,8 @@ module.exports =
|
|
|
5780
5859
|
function callGetBundles(tenantId, accountId, bundlePackGuid) {
|
|
5781
5860
|
if (bundlePackGuid) {
|
|
5782
5861
|
return function (dispatch, getState, api) {
|
|
5783
|
-
var
|
|
5784
|
-
config =
|
|
5862
|
+
var _getState23 = getState(),
|
|
5863
|
+
config = _getState23.config;
|
|
5785
5864
|
|
|
5786
5865
|
return api.get(tenantId + '/' + accountId + '/bundle/' + bundlePackGuid, {
|
|
5787
5866
|
endpoint: config.TRANS_API_URL
|
|
@@ -5798,8 +5877,8 @@ module.exports =
|
|
|
5798
5877
|
function callGetMapping(tenantId, accountId, mappingGuid) {
|
|
5799
5878
|
if (mappingGuid) {
|
|
5800
5879
|
return function (dispatch, getState, api) {
|
|
5801
|
-
var
|
|
5802
|
-
config =
|
|
5880
|
+
var _getState24 = getState(),
|
|
5881
|
+
config = _getState24.config;
|
|
5803
5882
|
|
|
5804
5883
|
return api.get(tenantId + '/' + accountId + '/schemamappings/' + mappingGuid, {
|
|
5805
5884
|
endpoint: config.TRANS_API_URL
|
|
@@ -5820,8 +5899,8 @@ module.exports =
|
|
|
5820
5899
|
mode: mode
|
|
5821
5900
|
});
|
|
5822
5901
|
|
|
5823
|
-
var
|
|
5824
|
-
config =
|
|
5902
|
+
var _getState25 = getState(),
|
|
5903
|
+
config = _getState25.config;
|
|
5825
5904
|
|
|
5826
5905
|
return api.post(tenantId + '/' + appId + '/environments/' + envId + '/credentials', {
|
|
5827
5906
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5835,8 +5914,8 @@ module.exports =
|
|
|
5835
5914
|
|
|
5836
5915
|
function getEnvironments(tenantId, appId) {
|
|
5837
5916
|
return function (dispatch, getState, api) {
|
|
5838
|
-
var
|
|
5839
|
-
config =
|
|
5917
|
+
var _getState26 = getState(),
|
|
5918
|
+
config = _getState26.config;
|
|
5840
5919
|
|
|
5841
5920
|
return api.get(tenantId + '/' + appId + '/environments', {
|
|
5842
5921
|
endpoint: config.TRANS_API_URL
|
|
@@ -5856,8 +5935,8 @@ module.exports =
|
|
|
5856
5935
|
|
|
5857
5936
|
function postEnvironment(tenantId, appId, name) {
|
|
5858
5937
|
return function (dispatch, getState, api) {
|
|
5859
|
-
var
|
|
5860
|
-
config =
|
|
5938
|
+
var _getState27 = getState(),
|
|
5939
|
+
config = _getState27.config;
|
|
5861
5940
|
|
|
5862
5941
|
return api.post(tenantId + '/' + appId + '/environments', {
|
|
5863
5942
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5870,8 +5949,8 @@ module.exports =
|
|
|
5870
5949
|
|
|
5871
5950
|
function callGetTrigger(transBaseId) {
|
|
5872
5951
|
return function (dispatch, getState, api) {
|
|
5873
|
-
var
|
|
5874
|
-
config =
|
|
5952
|
+
var _getState28 = getState(),
|
|
5953
|
+
config = _getState28.config;
|
|
5875
5954
|
|
|
5876
5955
|
if (transBaseId) {
|
|
5877
5956
|
return api.get('gettrigger/' + transBaseId, {
|
|
@@ -6784,10 +6863,14 @@ module.exports =
|
|
|
6784
6863
|
|
|
6785
6864
|
var _reduxForm = __webpack_require__(2);
|
|
6786
6865
|
|
|
6787
|
-
var _reactDropzone = __webpack_require__(
|
|
6866
|
+
var _reactDropzone = __webpack_require__(202);
|
|
6788
6867
|
|
|
6789
6868
|
var _reactDropzone2 = _interopRequireDefault(_reactDropzone);
|
|
6790
6869
|
|
|
6870
|
+
var _clipboard = __webpack_require__(122);
|
|
6871
|
+
|
|
6872
|
+
var _clipboard2 = _interopRequireDefault(_clipboard);
|
|
6873
|
+
|
|
6791
6874
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
6792
6875
|
|
|
6793
6876
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -6806,7 +6889,10 @@ module.exports =
|
|
|
6806
6889
|
getOauthUrl = props.getOauthUrl,
|
|
6807
6890
|
config = props.config,
|
|
6808
6891
|
check = props.check,
|
|
6809
|
-
checking = props.checking
|
|
6892
|
+
checking = props.checking,
|
|
6893
|
+
generateNewAdapterSecret = props.generateNewAdapterSecret,
|
|
6894
|
+
tenantKey = props.tenantKey,
|
|
6895
|
+
accountKey = props.accountKey;
|
|
6810
6896
|
|
|
6811
6897
|
|
|
6812
6898
|
if (config.skipEnvStep) return _react2.default.createElement(
|
|
@@ -6857,6 +6943,8 @@ module.exports =
|
|
|
6857
6943
|
return m.method === 'POST' || m.method === 'PUT';
|
|
6858
6944
|
});
|
|
6859
6945
|
|
|
6946
|
+
var isAdapter = config && (config.metadataEndpoint === 'testconnection' || config.metadataEndpoint === 'adaptermetadata');
|
|
6947
|
+
|
|
6860
6948
|
return _react2.default.createElement(
|
|
6861
6949
|
'div',
|
|
6862
6950
|
{ className: 'env-section-body' },
|
|
@@ -6867,6 +6955,7 @@ module.exports =
|
|
|
6867
6955
|
),
|
|
6868
6956
|
_react2.default.createElement('br', null),
|
|
6869
6957
|
isOauth ? _react2.default.createElement(Oauth, { step: step, wizard: wizard, onCheck: check,
|
|
6958
|
+
creds: formValues[mode + 'Credentials'],
|
|
6870
6959
|
onGenerateUrl: function onGenerateUrl(urlType) {
|
|
6871
6960
|
return getOauthUrl(urlType, mode);
|
|
6872
6961
|
},
|
|
@@ -6933,7 +7022,11 @@ module.exports =
|
|
|
6933
7022
|
);
|
|
6934
7023
|
})
|
|
6935
7024
|
)
|
|
6936
|
-
)
|
|
7025
|
+
),
|
|
7026
|
+
isAdapter && _react2.default.createElement(AdapterSecret, { step: step, wizard: wizard, onCheck: check,
|
|
7027
|
+
mode: mode, checking: checking, inputs: inputs,
|
|
7028
|
+
generateNewAdapterSecret: generateNewAdapterSecret,
|
|
7029
|
+
tenantKey: tenantKey, accountKey: accountKey })
|
|
6937
7030
|
),
|
|
6938
7031
|
wizard[mode + 'Metadata'] && mode === 'source' && config.bidirectional && POSTS && POSTS.length > 0 && _react2.default.createElement(
|
|
6939
7032
|
'div',
|
|
@@ -7035,7 +7128,8 @@ module.exports =
|
|
|
7035
7128
|
onCheck = _ref.onCheck,
|
|
7036
7129
|
inputs = _ref.inputs,
|
|
7037
7130
|
mode = _ref.mode,
|
|
7038
|
-
checking = _ref.checking
|
|
7131
|
+
checking = _ref.checking,
|
|
7132
|
+
creds = _ref.creds;
|
|
7039
7133
|
|
|
7040
7134
|
|
|
7041
7135
|
var startOauth = function startOauth() {
|
|
@@ -7048,10 +7142,31 @@ module.exports =
|
|
|
7048
7142
|
popup.focus();
|
|
7049
7143
|
};
|
|
7050
7144
|
|
|
7145
|
+
var userName = creds && creds.userName;
|
|
7146
|
+
|
|
7051
7147
|
return _react2.default.createElement(
|
|
7052
7148
|
'div',
|
|
7053
7149
|
null,
|
|
7054
|
-
_react2.default.createElement(
|
|
7150
|
+
userName && _react2.default.createElement(
|
|
7151
|
+
'div',
|
|
7152
|
+
null,
|
|
7153
|
+
_react2.default.createElement(
|
|
7154
|
+
'div',
|
|
7155
|
+
null,
|
|
7156
|
+
'Authorized with account ',
|
|
7157
|
+
_react2.default.createElement(
|
|
7158
|
+
'strong',
|
|
7159
|
+
null,
|
|
7160
|
+
userName
|
|
7161
|
+
)
|
|
7162
|
+
),
|
|
7163
|
+
_react2.default.createElement('br', null)
|
|
7164
|
+
),
|
|
7165
|
+
userName ? _react2.default.createElement(
|
|
7166
|
+
'div',
|
|
7167
|
+
null,
|
|
7168
|
+
'Connect to a different Salesforce Org:'
|
|
7169
|
+
) : _react2.default.createElement(
|
|
7055
7170
|
'div',
|
|
7056
7171
|
null,
|
|
7057
7172
|
'Are you connecting to a Sandbox or Production Org?'
|
|
@@ -7133,18 +7248,142 @@ module.exports =
|
|
|
7133
7248
|
);
|
|
7134
7249
|
};
|
|
7135
7250
|
|
|
7136
|
-
var
|
|
7137
|
-
_inherits(
|
|
7251
|
+
var AdapterSecret = function (_Component2) {
|
|
7252
|
+
_inherits(AdapterSecret, _Component2);
|
|
7253
|
+
|
|
7254
|
+
function AdapterSecret() {
|
|
7255
|
+
_classCallCheck(this, AdapterSecret);
|
|
7256
|
+
|
|
7257
|
+
var _this2 = _possibleConstructorReturn(this, (AdapterSecret.__proto__ || Object.getPrototypeOf(AdapterSecret)).call(this));
|
|
7258
|
+
|
|
7259
|
+
_this2.copy = function () {
|
|
7260
|
+
var _this2$props = _this2.props,
|
|
7261
|
+
wizard = _this2$props.wizard,
|
|
7262
|
+
mode = _this2$props.mode;
|
|
7263
|
+
|
|
7264
|
+
var secret = wizard.savedCredentials && wizard.savedCredentials[mode + 'AdapterSecret'];
|
|
7265
|
+
_clipboard2.default.copy({
|
|
7266
|
+
'text/plain': secret.credentials
|
|
7267
|
+
});
|
|
7268
|
+
_this2.setState({ secretCopied: true });
|
|
7269
|
+
setTimeout(function () {
|
|
7270
|
+
_this2.setState({ secretCopied: false });
|
|
7271
|
+
}, 4000);
|
|
7272
|
+
};
|
|
7273
|
+
|
|
7274
|
+
_this2.state = {
|
|
7275
|
+
generating: false,
|
|
7276
|
+
secretCopied: false
|
|
7277
|
+
};
|
|
7278
|
+
return _this2;
|
|
7279
|
+
}
|
|
7280
|
+
|
|
7281
|
+
_createClass(AdapterSecret, [{
|
|
7282
|
+
key: 'render',
|
|
7283
|
+
value: function render() {
|
|
7284
|
+
var _this3 = this;
|
|
7285
|
+
|
|
7286
|
+
var _props = this.props,
|
|
7287
|
+
wizard = _props.wizard,
|
|
7288
|
+
mode = _props.mode,
|
|
7289
|
+
inputs = _props.inputs,
|
|
7290
|
+
generateNewAdapterSecret = _props.generateNewAdapterSecret,
|
|
7291
|
+
tenantKey = _props.tenantKey,
|
|
7292
|
+
accountKey = _props.accountKey;
|
|
7293
|
+
|
|
7294
|
+
var secret = wizard.savedCredentials && wizard.savedCredentials[mode + 'AdapterSecret'];
|
|
7295
|
+
var Button = inputs.Button;
|
|
7296
|
+
var Spinner = inputs.Spinner;
|
|
7297
|
+
var Input = inputs.Input;
|
|
7298
|
+
|
|
7299
|
+
return _react2.default.createElement(
|
|
7300
|
+
'div',
|
|
7301
|
+
{ style: { marginLeft: 16 } },
|
|
7302
|
+
_react2.default.createElement('br', null),
|
|
7303
|
+
secret && secret.credentials ? _react2.default.createElement(
|
|
7304
|
+
'div',
|
|
7305
|
+
null,
|
|
7306
|
+
_react2.default.createElement(
|
|
7307
|
+
'strong',
|
|
7308
|
+
null,
|
|
7309
|
+
'Adapter Credentials'
|
|
7310
|
+
),
|
|
7311
|
+
_react2.default.createElement(
|
|
7312
|
+
'div',
|
|
7313
|
+
{ style: { marginTop: 6, marginLeft: 16 } },
|
|
7314
|
+
_react2.default.createElement(
|
|
7315
|
+
'span',
|
|
7316
|
+
null,
|
|
7317
|
+
'Client Key'
|
|
7318
|
+
),
|
|
7319
|
+
_react2.default.createElement('br', null),
|
|
7320
|
+
_react2.default.createElement(Input, { value: 'client.secret.' + tenantKey + '.' + accountKey, readOnly: true })
|
|
7321
|
+
),
|
|
7322
|
+
_react2.default.createElement(
|
|
7323
|
+
'div',
|
|
7324
|
+
{ style: { marginTop: 6, marginLeft: 16 } },
|
|
7325
|
+
_react2.default.createElement(
|
|
7326
|
+
'span',
|
|
7327
|
+
null,
|
|
7328
|
+
'Client Secret'
|
|
7329
|
+
),
|
|
7330
|
+
_react2.default.createElement('br', null),
|
|
7331
|
+
_react2.default.createElement(Input, { value: secret.credentials, readOnly: true }),
|
|
7332
|
+
_react2.default.createElement(
|
|
7333
|
+
Button,
|
|
7334
|
+
{
|
|
7335
|
+
iconAlign: 'left',
|
|
7336
|
+
onClick: this.copy,
|
|
7337
|
+
style: { margin: '0 8px', marginBottom: 2, height: 30, lineHeight: '10px' } },
|
|
7338
|
+
'Copy to clipboard'
|
|
7339
|
+
),
|
|
7340
|
+
this.state.secretCopied && _react2.default.createElement(
|
|
7341
|
+
'span',
|
|
7342
|
+
null,
|
|
7343
|
+
'Copied!'
|
|
7344
|
+
)
|
|
7345
|
+
)
|
|
7346
|
+
) : _react2.default.createElement(
|
|
7347
|
+
'div',
|
|
7348
|
+
null,
|
|
7349
|
+
_react2.default.createElement(
|
|
7350
|
+
'span',
|
|
7351
|
+
null,
|
|
7352
|
+
'Adapter Secret not found:'
|
|
7353
|
+
),
|
|
7354
|
+
_react2.default.createElement(
|
|
7355
|
+
Button,
|
|
7356
|
+
{
|
|
7357
|
+
icon: 'sync',
|
|
7358
|
+
iconAlign: 'left',
|
|
7359
|
+
onClick: function onClick() {
|
|
7360
|
+
_this3.setState({ generating: true });
|
|
7361
|
+
generateNewAdapterSecret(mode);
|
|
7362
|
+
},
|
|
7363
|
+
style: { margin: '0 8px', marginBottom: 2, height: 30, lineHeight: '10px' } },
|
|
7364
|
+
'Generate New Adapter Secret'
|
|
7365
|
+
),
|
|
7366
|
+
this.state.generating && _react2.default.createElement(Spinner, null)
|
|
7367
|
+
)
|
|
7368
|
+
);
|
|
7369
|
+
}
|
|
7370
|
+
}]);
|
|
7371
|
+
|
|
7372
|
+
return AdapterSecret;
|
|
7373
|
+
}(_react.Component);
|
|
7374
|
+
|
|
7375
|
+
var CustomSalesforceSettings = function (_Component3) {
|
|
7376
|
+
_inherits(CustomSalesforceSettings, _Component3);
|
|
7138
7377
|
|
|
7139
7378
|
function CustomSalesforceSettings() {
|
|
7140
7379
|
_classCallCheck(this, CustomSalesforceSettings);
|
|
7141
7380
|
|
|
7142
|
-
var
|
|
7381
|
+
var _this4 = _possibleConstructorReturn(this, (CustomSalesforceSettings.__proto__ || Object.getPrototypeOf(CustomSalesforceSettings)).call(this));
|
|
7143
7382
|
|
|
7144
|
-
|
|
7383
|
+
_this4.state = {
|
|
7145
7384
|
custom: false
|
|
7146
7385
|
};
|
|
7147
|
-
return
|
|
7386
|
+
return _this4;
|
|
7148
7387
|
}
|
|
7149
7388
|
|
|
7150
7389
|
_createClass(CustomSalesforceSettings, [{
|
|
@@ -7159,7 +7398,7 @@ module.exports =
|
|
|
7159
7398
|
}, {
|
|
7160
7399
|
key: 'render',
|
|
7161
7400
|
value: function render() {
|
|
7162
|
-
var
|
|
7401
|
+
var _this5 = this;
|
|
7163
7402
|
|
|
7164
7403
|
var inputs = this.props.inputs;
|
|
7165
7404
|
var Radio = inputs.Radio;
|
|
@@ -7175,7 +7414,7 @@ module.exports =
|
|
|
7175
7414
|
),
|
|
7176
7415
|
_react2.default.createElement('br', null),
|
|
7177
7416
|
_react2.default.createElement(Radio, { onChange: function onChange() {
|
|
7178
|
-
return
|
|
7417
|
+
return _this5.setState({ custom: false });
|
|
7179
7418
|
},
|
|
7180
7419
|
label: 'Default Batch Size (10,000)',
|
|
7181
7420
|
checked: this.state.custom === false,
|
|
@@ -7183,7 +7422,7 @@ module.exports =
|
|
|
7183
7422
|
}),
|
|
7184
7423
|
_react2.default.createElement('br', null),
|
|
7185
7424
|
_react2.default.createElement(Radio, { onChange: function onChange() {
|
|
7186
|
-
return
|
|
7425
|
+
return _this5.setState({ custom: true });
|
|
7187
7426
|
},
|
|
7188
7427
|
label: 'Custom Batch Size',
|
|
7189
7428
|
checked: this.state.custom === true,
|
|
@@ -7225,7 +7464,7 @@ module.exports =
|
|
|
7225
7464
|
|
|
7226
7465
|
var _CSSTransitionGroup2 = _interopRequireDefault(_CSSTransitionGroup);
|
|
7227
7466
|
|
|
7228
|
-
var _nestedField = __webpack_require__(
|
|
7467
|
+
var _nestedField = __webpack_require__(124);
|
|
7229
7468
|
|
|
7230
7469
|
var _nestedField2 = _interopRequireDefault(_nestedField);
|
|
7231
7470
|
|
|
@@ -8191,7 +8430,7 @@ module.exports =
|
|
|
8191
8430
|
|
|
8192
8431
|
var _reduxForm = __webpack_require__(2);
|
|
8193
8432
|
|
|
8194
|
-
var _joinVenn = __webpack_require__(
|
|
8433
|
+
var _joinVenn = __webpack_require__(123);
|
|
8195
8434
|
|
|
8196
8435
|
var _joinVenn2 = _interopRequireDefault(_joinVenn);
|
|
8197
8436
|
|
|
@@ -9665,11 +9904,11 @@ module.exports =
|
|
|
9665
9904
|
|
|
9666
9905
|
var _moment2 = _interopRequireDefault(_moment);
|
|
9667
9906
|
|
|
9668
|
-
__webpack_require__(
|
|
9907
|
+
__webpack_require__(213);
|
|
9669
9908
|
|
|
9670
|
-
__webpack_require__(
|
|
9909
|
+
__webpack_require__(172);
|
|
9671
9910
|
|
|
9672
|
-
var _rcTimePicker = __webpack_require__(
|
|
9911
|
+
var _rcTimePicker = __webpack_require__(193);
|
|
9673
9912
|
|
|
9674
9913
|
var _rcTimePicker2 = _interopRequireDefault(_rcTimePicker);
|
|
9675
9914
|
|
|
@@ -10077,36 +10316,20 @@ module.exports =
|
|
|
10077
10316
|
_this3.envNameInput.blur();
|
|
10078
10317
|
});
|
|
10079
10318
|
}
|
|
10080
|
-
|
|
10081
|
-
/*saveEnvironment(envName){
|
|
10082
|
-
const { actions, tenantId, accountId, formValues, step } = this.props
|
|
10083
|
-
const mode = 'source'
|
|
10084
|
-
const credentials = formValues[`${mode}Credentials`]
|
|
10085
|
-
let endpoint = credentials.rootUrl
|
|
10086
|
-
if(endpoint && endpoint[endpoint.length-1]==='/' && endpoint.length>8){
|
|
10087
|
-
endpoint = endpoint.slice(0, -1);
|
|
10088
|
-
}
|
|
10089
|
-
this.setState({savingEnv:true})
|
|
10090
|
-
actions.postEnvironment(tenantId, accountId, envName, step[`${mode}Provider`], endpoint,
|
|
10091
|
-
credentials)
|
|
10092
|
-
.then(savedEnvName=>{
|
|
10093
|
-
this.props.change('environment', savedEnvName)
|
|
10094
|
-
this.setState({savingEnv:false})
|
|
10095
|
-
})
|
|
10096
|
-
}*/
|
|
10097
|
-
|
|
10098
10319
|
}, {
|
|
10099
10320
|
key: 'selectEnvironment',
|
|
10100
10321
|
value: function selectEnvironment(v, i, env) {
|
|
10101
10322
|
this.props.change('environment', env.name);
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
this.tryGetCredentialAndCheck('
|
|
10105
|
-
|
|
10323
|
+
this.props.actions.clearAdapterSecrets();
|
|
10324
|
+
/*if(env.environmentId>-1){
|
|
10325
|
+
this.tryGetCredentialAndCheck('source',env)
|
|
10326
|
+
this.tryGetCredentialAndCheck('destination',env)
|
|
10327
|
+
}*/
|
|
10328
|
+
this.tryGetCredentialAndCheck(env);
|
|
10106
10329
|
}
|
|
10107
10330
|
}, {
|
|
10108
10331
|
key: 'tryGetCredentialAndCheck',
|
|
10109
|
-
value: function tryGetCredentialAndCheck(
|
|
10332
|
+
value: function tryGetCredentialAndCheck(env) {
|
|
10110
10333
|
var _this4 = this;
|
|
10111
10334
|
|
|
10112
10335
|
var _props7 = this.props,
|
|
@@ -10116,48 +10339,84 @@ module.exports =
|
|
|
10116
10339
|
accountId = _props7.accountId,
|
|
10117
10340
|
change = _props7.change;
|
|
10118
10341
|
|
|
10119
|
-
var
|
|
10120
|
-
|
|
10342
|
+
var modes = ['source', 'destination'];
|
|
10343
|
+
//const config = step[`${m}Config`]
|
|
10344
|
+
//const {credentials} = config
|
|
10121
10345
|
//dont load creds for oauth, since there are none
|
|
10346
|
+
change('sourceCredentials', { rootUrl: 'https://' });
|
|
10347
|
+
change('destinationCredentials', { rootUrl: 'https://' });
|
|
10348
|
+
this.setState({ sourceEnvChecking: true });
|
|
10349
|
+
this.setState({ destinationEnvChecking: true });
|
|
10350
|
+
//if(!isOauth){
|
|
10351
|
+
var wiz = {
|
|
10352
|
+
source: step.sourceConfig,
|
|
10353
|
+
destination: step.destinationConfig
|
|
10354
|
+
};
|
|
10355
|
+
var fromUI = true;
|
|
10356
|
+
actions.callGetCredentials(tenantId, accountId, wiz, env.name, fromUI).then(function (res) {
|
|
10357
|
+
res.forEach(function (cred, resIndex) {
|
|
10358
|
+
var m = modes[resIndex % 2];
|
|
10359
|
+
if (resIndex === 0 || resIndex === 1) {
|
|
10360
|
+
// main creds
|
|
10361
|
+
if (cred && cred.credentialsJson) {
|
|
10362
|
+
(function () {
|
|
10363
|
+
var modeCreds = {};
|
|
10364
|
+
var credentials = wiz[m].credentials;
|
|
10122
10365
|
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
modeCreds[credType] = cred.credentialsJson[credType];
|
|
10366
|
+
var isOauth = credentials && credentials.length === 1 && credentials[0] === 'Oauth';
|
|
10367
|
+
if (isOauth) {
|
|
10368
|
+
modeCreds = cred.credentialsJson;
|
|
10369
|
+
} else {
|
|
10370
|
+
modeCreds['rootUrl'] = cred.credentialsJson.rootUrl;
|
|
10371
|
+
credentials && credentials.length > 0 && credentials.forEach(function (credType) {
|
|
10372
|
+
if (cred.credentialsJson[credType]) {
|
|
10373
|
+
modeCreds[credType] = cred.credentialsJson[credType];
|
|
10374
|
+
}
|
|
10375
|
+
});
|
|
10134
10376
|
}
|
|
10135
|
-
|
|
10136
|
-
|
|
10137
|
-
|
|
10138
|
-
}
|
|
10377
|
+
change(m + 'Credentials', modeCreds);
|
|
10378
|
+
_this4.check(m, env);
|
|
10379
|
+
})();
|
|
10380
|
+
} else {
|
|
10381
|
+
_this4.setState(_defineProperty({}, m + 'EnvChecking', false));
|
|
10382
|
+
}
|
|
10383
|
+
} else {
|
|
10384
|
+
// adapter secret if exists
|
|
10385
|
+
if (cred) {
|
|
10386
|
+
actions.setLoadedAdapterSecret(cred, m);
|
|
10387
|
+
}
|
|
10139
10388
|
}
|
|
10140
|
-
}).catch(function (err) {
|
|
10141
|
-
_this4.setState(_defineProperty({}, m + 'EnvChecking', false));
|
|
10142
10389
|
});
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10390
|
+
});
|
|
10391
|
+
}
|
|
10392
|
+
}, {
|
|
10393
|
+
key: 'generateNewAdapterSecret',
|
|
10394
|
+
value: function generateNewAdapterSecret(mode) {
|
|
10395
|
+
var _props8 = this.props,
|
|
10396
|
+
actions = _props8.actions,
|
|
10397
|
+
tenantId = _props8.tenantId,
|
|
10398
|
+
accountId = _props8.accountId,
|
|
10399
|
+
formValues = _props8.formValues;
|
|
10400
|
+
|
|
10401
|
+
var envName = formValues['environment'];
|
|
10402
|
+
console.log('gen gen', mode);
|
|
10403
|
+
actions.generateNewAdapterSecret(tenantId, accountId, envName, mode);
|
|
10147
10404
|
}
|
|
10148
10405
|
}, {
|
|
10149
10406
|
key: 'render',
|
|
10150
10407
|
value: function render() {
|
|
10151
10408
|
var _this5 = this;
|
|
10152
10409
|
|
|
10153
|
-
var
|
|
10154
|
-
inputs =
|
|
10155
|
-
step =
|
|
10156
|
-
handleSubmit =
|
|
10157
|
-
nav =
|
|
10158
|
-
reset =
|
|
10159
|
-
wizard =
|
|
10160
|
-
formValues =
|
|
10410
|
+
var _props9 = this.props,
|
|
10411
|
+
inputs = _props9.inputs,
|
|
10412
|
+
step = _props9.step,
|
|
10413
|
+
handleSubmit = _props9.handleSubmit,
|
|
10414
|
+
nav = _props9.nav,
|
|
10415
|
+
reset = _props9.reset,
|
|
10416
|
+
wizard = _props9.wizard,
|
|
10417
|
+
formValues = _props9.formValues,
|
|
10418
|
+
tenantKey = _props9.tenantKey,
|
|
10419
|
+
accountKey = _props9.accountKey;
|
|
10161
10420
|
|
|
10162
10421
|
var modes = ['source', 'destination'];
|
|
10163
10422
|
var _state = this.state,
|
|
@@ -10308,9 +10567,11 @@ module.exports =
|
|
|
10308
10567
|
{ className: 'env-creds' },
|
|
10309
10568
|
_react2.default.createElement(_envSections2.default, { config: step[m + 'Config'], mode: m, checking: checking,
|
|
10310
10569
|
wizard: wizard, getOauthUrl: _this5.getOauthUrl.bind(_this5),
|
|
10311
|
-
formValues: formValues,
|
|
10312
|
-
|
|
10313
|
-
|
|
10570
|
+
formValues: formValues, inputs: inputs, step: step,
|
|
10571
|
+
generateNewAdapterSecret: _this5.generateNewAdapterSecret.bind(_this5),
|
|
10572
|
+
clickDirection: _this5.clickDirection.bind(_this5),
|
|
10573
|
+
seeFields: _this5.seeFields.bind(_this5), check: _this5.check,
|
|
10574
|
+
tenantKey: tenantKey, accountKey: accountKey })
|
|
10314
10575
|
)
|
|
10315
10576
|
)
|
|
10316
10577
|
);
|
|
@@ -11221,7 +11482,7 @@ module.exports =
|
|
|
11221
11482
|
|
|
11222
11483
|
var Rows = _interopRequireWildcard(_mapTableRows);
|
|
11223
11484
|
|
|
11224
|
-
var _newScenarioModal = __webpack_require__(
|
|
11485
|
+
var _newScenarioModal = __webpack_require__(125);
|
|
11225
11486
|
|
|
11226
11487
|
var _newScenarioModal2 = _interopRequireDefault(_newScenarioModal);
|
|
11227
11488
|
|
|
@@ -12568,6 +12829,185 @@ module.exports =
|
|
|
12568
12829
|
|
|
12569
12830
|
/***/ },
|
|
12570
12831
|
/* 122 */
|
|
12832
|
+
/***/ function(module, exports, __webpack_require__) {
|
|
12833
|
+
|
|
12834
|
+
"use strict";
|
|
12835
|
+
|
|
12836
|
+
// https://www.npmjs.com/package/clipboard-js
|
|
12837
|
+
|
|
12838
|
+
// Import support https://stackoverflow.com/questions/13673346/supporting-both-commonjs-and-amd
|
|
12839
|
+
(function (name, definition) {
|
|
12840
|
+
if (true) {
|
|
12841
|
+
module.exports = definition();
|
|
12842
|
+
} else {
|
|
12843
|
+
this[name] = definition();
|
|
12844
|
+
}
|
|
12845
|
+
})("clipboard", function () {
|
|
12846
|
+
if (typeof document === 'undefined' || !document.addEventListener) {
|
|
12847
|
+
return null;
|
|
12848
|
+
}
|
|
12849
|
+
|
|
12850
|
+
var clipboard = {};
|
|
12851
|
+
|
|
12852
|
+
clipboard.copy = function () {
|
|
12853
|
+
var _intercept = false;
|
|
12854
|
+
var _data = null; // Map from data type (e.g. "text/html") to value.
|
|
12855
|
+
var _bogusSelection = false;
|
|
12856
|
+
|
|
12857
|
+
function cleanup() {
|
|
12858
|
+
_intercept = false;
|
|
12859
|
+
_data = null;
|
|
12860
|
+
if (_bogusSelection) {
|
|
12861
|
+
window.getSelection().removeAllRanges();
|
|
12862
|
+
}
|
|
12863
|
+
_bogusSelection = false;
|
|
12864
|
+
}
|
|
12865
|
+
|
|
12866
|
+
document.addEventListener("copy", function (e) {
|
|
12867
|
+
if (_intercept) {
|
|
12868
|
+
for (var key in _data) {
|
|
12869
|
+
e.clipboardData.setData(key, _data[key]);
|
|
12870
|
+
}
|
|
12871
|
+
e.preventDefault();
|
|
12872
|
+
}
|
|
12873
|
+
});
|
|
12874
|
+
|
|
12875
|
+
// Workaround for Safari: https://bugs.webkit.org/show_bug.cgi?id=156529
|
|
12876
|
+
function bogusSelect() {
|
|
12877
|
+
var sel = document.getSelection();
|
|
12878
|
+
// If "nothing" is selected...
|
|
12879
|
+
if (!document.queryCommandEnabled("copy") && sel.isCollapsed) {
|
|
12880
|
+
// ... temporarily select the entire body.
|
|
12881
|
+
//
|
|
12882
|
+
// We select the entire body because:
|
|
12883
|
+
// - it's guaranteed to exist,
|
|
12884
|
+
// - it works (unlike, say, document.head, or phantom element that is
|
|
12885
|
+
// not inserted into the DOM),
|
|
12886
|
+
// - it doesn't seem to flicker (due to the synchronous copy event), and
|
|
12887
|
+
// - it avoids modifying the DOM (can trigger mutation observers).
|
|
12888
|
+
//
|
|
12889
|
+
// Because we can't do proper feature detection (we already checked
|
|
12890
|
+
// document.queryCommandEnabled("copy") , which actually gives a false
|
|
12891
|
+
// negative for Blink when nothing is selected) and UA sniffing is not
|
|
12892
|
+
// reliable (a lot of UA strings contain "Safari"), this will also
|
|
12893
|
+
// happen for some browsers other than Safari. :-()
|
|
12894
|
+
var range = document.createRange();
|
|
12895
|
+
range.selectNodeContents(document.body);
|
|
12896
|
+
sel.removeAllRanges();
|
|
12897
|
+
sel.addRange(range);
|
|
12898
|
+
_bogusSelection = true;
|
|
12899
|
+
}
|
|
12900
|
+
};
|
|
12901
|
+
|
|
12902
|
+
return function (data) {
|
|
12903
|
+
return new Promise(function (resolve, reject) {
|
|
12904
|
+
_intercept = true;
|
|
12905
|
+
if (typeof data === "string") {
|
|
12906
|
+
_data = { "text/plain": data };
|
|
12907
|
+
} else if (data instanceof Node) {
|
|
12908
|
+
_data = { "text/html": new XMLSerializer().serializeToString(data) };
|
|
12909
|
+
} else {
|
|
12910
|
+
_data = data;
|
|
12911
|
+
}
|
|
12912
|
+
|
|
12913
|
+
function triggerCopy(tryBogusSelect) {
|
|
12914
|
+
try {
|
|
12915
|
+
if (document.execCommand("copy")) {
|
|
12916
|
+
// document.execCommand is synchronous: http://www.w3.org/TR/2015/WD-clipboard-apis-20150421/#integration-with-rich-text-editing-apis
|
|
12917
|
+
// So we can call resolve() back here.
|
|
12918
|
+
cleanup();
|
|
12919
|
+
resolve();
|
|
12920
|
+
} else {
|
|
12921
|
+
if (!tryBogusSelect) {
|
|
12922
|
+
bogusSelect();
|
|
12923
|
+
triggerCopy(true);
|
|
12924
|
+
} else {
|
|
12925
|
+
cleanup();
|
|
12926
|
+
throw new Error("Unable to copy. Perhaps it's not available in your browser?");
|
|
12927
|
+
}
|
|
12928
|
+
}
|
|
12929
|
+
} catch (e) {
|
|
12930
|
+
cleanup();
|
|
12931
|
+
reject(e);
|
|
12932
|
+
}
|
|
12933
|
+
}
|
|
12934
|
+
triggerCopy(false);
|
|
12935
|
+
});
|
|
12936
|
+
};
|
|
12937
|
+
}();
|
|
12938
|
+
|
|
12939
|
+
clipboard.paste = function () {
|
|
12940
|
+
var _intercept = false;
|
|
12941
|
+
var _resolve;
|
|
12942
|
+
var _dataType;
|
|
12943
|
+
|
|
12944
|
+
document.addEventListener("paste", function (e) {
|
|
12945
|
+
if (_intercept) {
|
|
12946
|
+
_intercept = false;
|
|
12947
|
+
e.preventDefault();
|
|
12948
|
+
var resolve = _resolve;
|
|
12949
|
+
_resolve = null;
|
|
12950
|
+
resolve(e.clipboardData.getData(_dataType));
|
|
12951
|
+
}
|
|
12952
|
+
});
|
|
12953
|
+
|
|
12954
|
+
return function (dataType) {
|
|
12955
|
+
return new Promise(function (resolve, reject) {
|
|
12956
|
+
_intercept = true;
|
|
12957
|
+
_resolve = resolve;
|
|
12958
|
+
_dataType = dataType || "text/plain";
|
|
12959
|
+
try {
|
|
12960
|
+
if (!document.execCommand("paste")) {
|
|
12961
|
+
_intercept = false;
|
|
12962
|
+
reject(new Error("Unable to paste. Pasting only works in Internet Explorer at the moment."));
|
|
12963
|
+
}
|
|
12964
|
+
} catch (e) {
|
|
12965
|
+
_intercept = false;
|
|
12966
|
+
reject(new Error(e));
|
|
12967
|
+
}
|
|
12968
|
+
});
|
|
12969
|
+
};
|
|
12970
|
+
}();
|
|
12971
|
+
|
|
12972
|
+
// Handle IE behaviour.
|
|
12973
|
+
if (typeof ClipboardEvent === "undefined" && typeof window.clipboardData !== "undefined" && typeof window.clipboardData.setData !== "undefined") {
|
|
12974
|
+
|
|
12975
|
+
clipboard.copy = function (data) {
|
|
12976
|
+
return new Promise(function (resolve, reject) {
|
|
12977
|
+
// IE supports string and URL types: https://msdn.microsoft.com/en-us/library/ms536744(v=vs.85).aspx
|
|
12978
|
+
// We only support the string type for now.
|
|
12979
|
+
if (typeof data !== "string" && !("text/plain" in data)) {
|
|
12980
|
+
throw new Error("You must provide a text/plain type.");
|
|
12981
|
+
}
|
|
12982
|
+
|
|
12983
|
+
var strData = typeof data === "string" ? data : data["text/plain"];
|
|
12984
|
+
var copySucceeded = window.clipboardData.setData("Text", strData);
|
|
12985
|
+
if (copySucceeded) {
|
|
12986
|
+
resolve();
|
|
12987
|
+
} else {
|
|
12988
|
+
reject(new Error("Copying was rejected."));
|
|
12989
|
+
}
|
|
12990
|
+
});
|
|
12991
|
+
};
|
|
12992
|
+
|
|
12993
|
+
clipboard.paste = function () {
|
|
12994
|
+
return new Promise(function (resolve, reject) {
|
|
12995
|
+
var strData = window.clipboardData.getData("Text");
|
|
12996
|
+
if (strData) {
|
|
12997
|
+
resolve(strData);
|
|
12998
|
+
} else {
|
|
12999
|
+
// The user rejected the paste request.
|
|
13000
|
+
reject(new Error("Pasting was rejected."));
|
|
13001
|
+
}
|
|
13002
|
+
});
|
|
13003
|
+
};
|
|
13004
|
+
}
|
|
13005
|
+
|
|
13006
|
+
return clipboard;
|
|
13007
|
+
});
|
|
13008
|
+
|
|
13009
|
+
/***/ },
|
|
13010
|
+
/* 123 */
|
|
12571
13011
|
/***/ function(module, exports, __webpack_require__) {
|
|
12572
13012
|
|
|
12573
13013
|
'use strict';
|
|
@@ -12618,7 +13058,7 @@ module.exports =
|
|
|
12618
13058
|
exports.default = JoinVenn;
|
|
12619
13059
|
|
|
12620
13060
|
/***/ },
|
|
12621
|
-
/*
|
|
13061
|
+
/* 124 */
|
|
12622
13062
|
/***/ function(module, exports, __webpack_require__) {
|
|
12623
13063
|
|
|
12624
13064
|
'use strict';
|
|
@@ -12730,7 +13170,7 @@ module.exports =
|
|
|
12730
13170
|
exports.default = SourceField;
|
|
12731
13171
|
|
|
12732
13172
|
/***/ },
|
|
12733
|
-
/*
|
|
13173
|
+
/* 125 */
|
|
12734
13174
|
/***/ function(module, exports, __webpack_require__) {
|
|
12735
13175
|
|
|
12736
13176
|
'use strict';
|
|
@@ -12749,7 +13189,7 @@ module.exports =
|
|
|
12749
13189
|
|
|
12750
13190
|
var _saveData3 = _interopRequireDefault(_saveData2);
|
|
12751
13191
|
|
|
12752
|
-
var _objectAssignDeep = __webpack_require__(
|
|
13192
|
+
var _objectAssignDeep = __webpack_require__(126);
|
|
12753
13193
|
|
|
12754
13194
|
var _objectAssignDeep2 = _interopRequireDefault(_objectAssignDeep);
|
|
12755
13195
|
|
|
@@ -13021,7 +13461,7 @@ module.exports =
|
|
|
13021
13461
|
exports.default = TransformModal;
|
|
13022
13462
|
|
|
13023
13463
|
/***/ },
|
|
13024
|
-
/*
|
|
13464
|
+
/* 126 */
|
|
13025
13465
|
/***/ function(module, exports) {
|
|
13026
13466
|
|
|
13027
13467
|
'use strict';
|
|
@@ -13160,7 +13600,7 @@ module.exports =
|
|
|
13160
13600
|
exports.default = objectAssignDeep;
|
|
13161
13601
|
|
|
13162
13602
|
/***/ },
|
|
13163
|
-
/*
|
|
13603
|
+
/* 127 */
|
|
13164
13604
|
/***/ function(module, exports, __webpack_require__) {
|
|
13165
13605
|
|
|
13166
13606
|
'use strict';
|
|
@@ -13341,7 +13781,7 @@ module.exports =
|
|
|
13341
13781
|
isManagedPackage = _props2.isManagedPackage,
|
|
13342
13782
|
onGenerationError = _props2.onGenerationError;
|
|
13343
13783
|
|
|
13344
|
-
if (
|
|
13784
|
+
if (true) {
|
|
13345
13785
|
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']);
|
|
13346
13786
|
onSubmit({ complete: formValues.hasOwnProperty('deployment') });
|
|
13347
13787
|
}
|
|
@@ -13395,7 +13835,9 @@ module.exports =
|
|
|
13395
13835
|
formValues = _props3.formValues,
|
|
13396
13836
|
inputs = _props3.inputs,
|
|
13397
13837
|
tenantId = _props3.tenantId,
|
|
13838
|
+
tenantKey = _props3.tenantKey,
|
|
13398
13839
|
accountId = _props3.accountId,
|
|
13840
|
+
accountKey = _props3.accountKey,
|
|
13399
13841
|
config = _props3.config;
|
|
13400
13842
|
var Sidebar = inputs.Sidebar;
|
|
13401
13843
|
|
|
@@ -13453,7 +13895,9 @@ module.exports =
|
|
|
13453
13895
|
inputs: inputs,
|
|
13454
13896
|
nav: nav,
|
|
13455
13897
|
tenantId: tenantId,
|
|
13898
|
+
tenantKey: tenantKey,
|
|
13456
13899
|
accountId: accountId,
|
|
13900
|
+
accountKey: accountKey,
|
|
13457
13901
|
configUrls: config
|
|
13458
13902
|
})
|
|
13459
13903
|
);
|
|
@@ -13500,7 +13944,7 @@ module.exports =
|
|
|
13500
13944
|
exports.default = WizardForm;
|
|
13501
13945
|
|
|
13502
13946
|
/***/ },
|
|
13503
|
-
/*
|
|
13947
|
+
/* 128 */
|
|
13504
13948
|
/***/ function(module, exports, __webpack_require__) {
|
|
13505
13949
|
|
|
13506
13950
|
'use strict';
|
|
@@ -13515,7 +13959,7 @@ module.exports =
|
|
|
13515
13959
|
|
|
13516
13960
|
var _react2 = _interopRequireDefault(_react);
|
|
13517
13961
|
|
|
13518
|
-
var _redux = __webpack_require__(
|
|
13962
|
+
var _redux = __webpack_require__(214);
|
|
13519
13963
|
|
|
13520
13964
|
var _reactRedux = __webpack_require__(65);
|
|
13521
13965
|
|
|
@@ -13523,9 +13967,9 @@ module.exports =
|
|
|
13523
13967
|
|
|
13524
13968
|
var wizardActions = _interopRequireWildcard(_wizard);
|
|
13525
13969
|
|
|
13526
|
-
__webpack_require__(
|
|
13970
|
+
__webpack_require__(173);
|
|
13527
13971
|
|
|
13528
|
-
var _wizardForm = __webpack_require__(
|
|
13972
|
+
var _wizardForm = __webpack_require__(127);
|
|
13529
13973
|
|
|
13530
13974
|
var _wizardForm2 = _interopRequireDefault(_wizardForm);
|
|
13531
13975
|
|
|
@@ -13694,21 +14138,21 @@ module.exports =
|
|
|
13694
14138
|
exports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(LingkSync);
|
|
13695
14139
|
|
|
13696
14140
|
/***/ },
|
|
13697
|
-
/*
|
|
13698
|
-
/*
|
|
14141
|
+
/* 129 */,
|
|
14142
|
+
/* 130 */
|
|
13699
14143
|
/***/ function(module, exports, __webpack_require__) {
|
|
13700
14144
|
|
|
13701
|
-
module.exports = { "default": __webpack_require__(
|
|
14145
|
+
module.exports = { "default": __webpack_require__(135), __esModule: true };
|
|
13702
14146
|
|
|
13703
14147
|
/***/ },
|
|
13704
|
-
/*
|
|
14148
|
+
/* 131 */
|
|
13705
14149
|
/***/ function(module, exports, __webpack_require__) {
|
|
13706
14150
|
|
|
13707
|
-
module.exports = { "default": __webpack_require__(
|
|
14151
|
+
module.exports = { "default": __webpack_require__(136), __esModule: true };
|
|
13708
14152
|
|
|
13709
14153
|
/***/ },
|
|
13710
|
-
/*
|
|
13711
|
-
/*
|
|
14154
|
+
/* 132 */,
|
|
14155
|
+
/* 133 */
|
|
13712
14156
|
/***/ function(module, exports) {
|
|
13713
14157
|
|
|
13714
14158
|
"use strict";
|
|
@@ -13728,39 +14172,39 @@ module.exports =
|
|
|
13728
14172
|
};
|
|
13729
14173
|
|
|
13730
14174
|
/***/ },
|
|
13731
|
-
/*
|
|
13732
|
-
/*
|
|
14175
|
+
/* 134 */,
|
|
14176
|
+
/* 135 */
|
|
13733
14177
|
/***/ function(module, exports, __webpack_require__) {
|
|
13734
14178
|
|
|
13735
|
-
__webpack_require__(
|
|
14179
|
+
__webpack_require__(156);
|
|
13736
14180
|
module.exports = __webpack_require__(8).Object.assign;
|
|
13737
14181
|
|
|
13738
14182
|
/***/ },
|
|
13739
|
-
/*
|
|
14183
|
+
/* 136 */
|
|
13740
14184
|
/***/ function(module, exports, __webpack_require__) {
|
|
13741
14185
|
|
|
13742
|
-
__webpack_require__(
|
|
14186
|
+
__webpack_require__(157);
|
|
13743
14187
|
var $Object = __webpack_require__(8).Object;
|
|
13744
14188
|
module.exports = function defineProperty(it, key, desc){
|
|
13745
14189
|
return $Object.defineProperty(it, key, desc);
|
|
13746
14190
|
};
|
|
13747
14191
|
|
|
13748
14192
|
/***/ },
|
|
13749
|
-
/* 136 */,
|
|
13750
14193
|
/* 137 */,
|
|
13751
14194
|
/* 138 */,
|
|
13752
14195
|
/* 139 */,
|
|
13753
14196
|
/* 140 */,
|
|
13754
14197
|
/* 141 */,
|
|
13755
14198
|
/* 142 */,
|
|
13756
|
-
/* 143
|
|
14199
|
+
/* 143 */,
|
|
14200
|
+
/* 144 */
|
|
13757
14201
|
/***/ function(module, exports, __webpack_require__) {
|
|
13758
14202
|
|
|
13759
14203
|
'use strict';
|
|
13760
14204
|
// 19.1.2.1 Object.assign(target, source, ...)
|
|
13761
14205
|
var getKeys = __webpack_require__(34)
|
|
13762
|
-
, gOPS = __webpack_require__(
|
|
13763
|
-
, pIE = __webpack_require__(
|
|
14206
|
+
, gOPS = __webpack_require__(147)
|
|
14207
|
+
, pIE = __webpack_require__(149)
|
|
13764
14208
|
, toObject = __webpack_require__(37)
|
|
13765
14209
|
, IObject = __webpack_require__(32)
|
|
13766
14210
|
, $assign = Object.assign;
|
|
@@ -13791,37 +14235,37 @@ module.exports =
|
|
|
13791
14235
|
} : $assign;
|
|
13792
14236
|
|
|
13793
14237
|
/***/ },
|
|
13794
|
-
/* 144 */,
|
|
13795
14238
|
/* 145 */,
|
|
13796
|
-
/* 146
|
|
14239
|
+
/* 146 */,
|
|
14240
|
+
/* 147 */
|
|
13797
14241
|
/***/ function(module, exports) {
|
|
13798
14242
|
|
|
13799
14243
|
exports.f = Object.getOwnPropertySymbols;
|
|
13800
14244
|
|
|
13801
14245
|
/***/ },
|
|
13802
|
-
/*
|
|
13803
|
-
/*
|
|
14246
|
+
/* 148 */,
|
|
14247
|
+
/* 149 */
|
|
13804
14248
|
/***/ function(module, exports) {
|
|
13805
14249
|
|
|
13806
14250
|
exports.f = {}.propertyIsEnumerable;
|
|
13807
14251
|
|
|
13808
14252
|
/***/ },
|
|
13809
|
-
/* 149 */,
|
|
13810
14253
|
/* 150 */,
|
|
13811
14254
|
/* 151 */,
|
|
13812
14255
|
/* 152 */,
|
|
13813
14256
|
/* 153 */,
|
|
13814
14257
|
/* 154 */,
|
|
13815
|
-
/* 155
|
|
14258
|
+
/* 155 */,
|
|
14259
|
+
/* 156 */
|
|
13816
14260
|
/***/ function(module, exports, __webpack_require__) {
|
|
13817
14261
|
|
|
13818
14262
|
// 19.1.3.1 Object.assign(target, source)
|
|
13819
14263
|
var $export = __webpack_require__(24);
|
|
13820
14264
|
|
|
13821
|
-
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(
|
|
14265
|
+
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(144)});
|
|
13822
14266
|
|
|
13823
14267
|
/***/ },
|
|
13824
|
-
/*
|
|
14268
|
+
/* 157 */
|
|
13825
14269
|
/***/ function(module, exports, __webpack_require__) {
|
|
13826
14270
|
|
|
13827
14271
|
var $export = __webpack_require__(24);
|
|
@@ -13829,10 +14273,10 @@ module.exports =
|
|
|
13829
14273
|
$export($export.S + $export.F * !__webpack_require__(9), 'Object', {defineProperty: __webpack_require__(18).f});
|
|
13830
14274
|
|
|
13831
14275
|
/***/ },
|
|
13832
|
-
/* 157 */,
|
|
13833
14276
|
/* 158 */,
|
|
13834
14277
|
/* 159 */,
|
|
13835
|
-
/* 160
|
|
14278
|
+
/* 160 */,
|
|
14279
|
+
/* 161 */
|
|
13836
14280
|
/***/ function(module, exports) {
|
|
13837
14281
|
|
|
13838
14282
|
|
|
@@ -13858,7 +14302,7 @@ module.exports =
|
|
|
13858
14302
|
|
|
13859
14303
|
|
|
13860
14304
|
/***/ },
|
|
13861
|
-
/*
|
|
14305
|
+
/* 162 */
|
|
13862
14306
|
/***/ function(module, exports, __webpack_require__) {
|
|
13863
14307
|
|
|
13864
14308
|
/**
|
|
@@ -14055,7 +14499,7 @@ module.exports =
|
|
|
14055
14499
|
|
|
14056
14500
|
|
|
14057
14501
|
/***/ },
|
|
14058
|
-
/*
|
|
14502
|
+
/* 163 */
|
|
14059
14503
|
/***/ function(module, exports) {
|
|
14060
14504
|
|
|
14061
14505
|
'use strict';
|
|
@@ -14148,7 +14592,7 @@ module.exports =
|
|
|
14148
14592
|
module.exports = exports['default'];
|
|
14149
14593
|
|
|
14150
14594
|
/***/ },
|
|
14151
|
-
/*
|
|
14595
|
+
/* 164 */
|
|
14152
14596
|
/***/ function(module, exports, __webpack_require__) {
|
|
14153
14597
|
|
|
14154
14598
|
'use strict';
|
|
@@ -14159,11 +14603,11 @@ module.exports =
|
|
|
14159
14603
|
|
|
14160
14604
|
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; };
|
|
14161
14605
|
|
|
14162
|
-
var _Event = __webpack_require__(
|
|
14606
|
+
var _Event = __webpack_require__(163);
|
|
14163
14607
|
|
|
14164
14608
|
var _Event2 = _interopRequireDefault(_Event);
|
|
14165
14609
|
|
|
14166
|
-
var _componentClasses = __webpack_require__(
|
|
14610
|
+
var _componentClasses = __webpack_require__(162);
|
|
14167
14611
|
|
|
14168
14612
|
var _componentClasses2 = _interopRequireDefault(_componentClasses);
|
|
14169
14613
|
|
|
@@ -14343,7 +14787,7 @@ module.exports =
|
|
|
14343
14787
|
module.exports = exports['default'];
|
|
14344
14788
|
|
|
14345
14789
|
/***/ },
|
|
14346
|
-
/*
|
|
14790
|
+
/* 165 */
|
|
14347
14791
|
/***/ function(module, exports, __webpack_require__) {
|
|
14348
14792
|
|
|
14349
14793
|
'use strict';
|
|
@@ -14403,7 +14847,7 @@ module.exports =
|
|
|
14403
14847
|
module.exports = exports['default'];
|
|
14404
14848
|
|
|
14405
14849
|
/***/ },
|
|
14406
|
-
/*
|
|
14850
|
+
/* 166 */
|
|
14407
14851
|
/***/ function(module, exports) {
|
|
14408
14852
|
|
|
14409
14853
|
'use strict';
|
|
@@ -14448,7 +14892,7 @@ module.exports =
|
|
|
14448
14892
|
module.exports = exports['default'];
|
|
14449
14893
|
|
|
14450
14894
|
/***/ },
|
|
14451
|
-
/*
|
|
14895
|
+
/* 167 */
|
|
14452
14896
|
/***/ function(module, exports, __webpack_require__) {
|
|
14453
14897
|
|
|
14454
14898
|
'use strict';
|
|
@@ -14457,7 +14901,7 @@ module.exports =
|
|
|
14457
14901
|
value: true
|
|
14458
14902
|
});
|
|
14459
14903
|
|
|
14460
|
-
var _getAlignOffset = __webpack_require__(
|
|
14904
|
+
var _getAlignOffset = __webpack_require__(166);
|
|
14461
14905
|
|
|
14462
14906
|
var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);
|
|
14463
14907
|
|
|
@@ -14489,7 +14933,7 @@ module.exports =
|
|
|
14489
14933
|
module.exports = exports['default'];
|
|
14490
14934
|
|
|
14491
14935
|
/***/ },
|
|
14492
|
-
/*
|
|
14936
|
+
/* 168 */
|
|
14493
14937
|
/***/ function(module, exports, __webpack_require__) {
|
|
14494
14938
|
|
|
14495
14939
|
'use strict';
|
|
@@ -14530,7 +14974,7 @@ module.exports =
|
|
|
14530
14974
|
module.exports = exports['default'];
|
|
14531
14975
|
|
|
14532
14976
|
/***/ },
|
|
14533
|
-
/*
|
|
14977
|
+
/* 169 */
|
|
14534
14978
|
/***/ function(module, exports, __webpack_require__) {
|
|
14535
14979
|
|
|
14536
14980
|
'use strict';
|
|
@@ -14611,7 +15055,7 @@ module.exports =
|
|
|
14611
15055
|
module.exports = exports['default'];
|
|
14612
15056
|
|
|
14613
15057
|
/***/ },
|
|
14614
|
-
/*
|
|
15058
|
+
/* 170 */
|
|
14615
15059
|
/***/ function(module, exports, __webpack_require__) {
|
|
14616
15060
|
|
|
14617
15061
|
'use strict';
|
|
@@ -14628,19 +15072,19 @@ module.exports =
|
|
|
14628
15072
|
|
|
14629
15073
|
var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
|
|
14630
15074
|
|
|
14631
|
-
var _getVisibleRectForElement = __webpack_require__(
|
|
15075
|
+
var _getVisibleRectForElement = __webpack_require__(169);
|
|
14632
15076
|
|
|
14633
15077
|
var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);
|
|
14634
15078
|
|
|
14635
|
-
var _adjustForViewport = __webpack_require__(
|
|
15079
|
+
var _adjustForViewport = __webpack_require__(165);
|
|
14636
15080
|
|
|
14637
15081
|
var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);
|
|
14638
15082
|
|
|
14639
|
-
var _getRegion = __webpack_require__(
|
|
15083
|
+
var _getRegion = __webpack_require__(168);
|
|
14640
15084
|
|
|
14641
15085
|
var _getRegion2 = _interopRequireDefault(_getRegion);
|
|
14642
15086
|
|
|
14643
|
-
var _getElFuturePos = __webpack_require__(
|
|
15087
|
+
var _getElFuturePos = __webpack_require__(167);
|
|
14644
15088
|
|
|
14645
15089
|
var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);
|
|
14646
15090
|
|
|
@@ -14842,7 +15286,7 @@ module.exports =
|
|
|
14842
15286
|
module.exports = exports['default'];
|
|
14843
15287
|
|
|
14844
15288
|
/***/ },
|
|
14845
|
-
/*
|
|
15289
|
+
/* 171 */
|
|
14846
15290
|
/***/ function(module, exports) {
|
|
14847
15291
|
|
|
14848
15292
|
'use strict';
|
|
@@ -14957,17 +15401,17 @@ module.exports =
|
|
|
14957
15401
|
}
|
|
14958
15402
|
|
|
14959
15403
|
/***/ },
|
|
14960
|
-
/*
|
|
15404
|
+
/* 172 */
|
|
14961
15405
|
/***/ function(module, exports) {
|
|
14962
15406
|
|
|
14963
15407
|
// removed by extract-text-webpack-plugin
|
|
14964
15408
|
|
|
14965
15409
|
/***/ },
|
|
14966
|
-
/*
|
|
14967
|
-
|
|
14968
|
-
/* 173 */,
|
|
15410
|
+
/* 173 */
|
|
15411
|
+
172,
|
|
14969
15412
|
/* 174 */,
|
|
14970
|
-
/* 175
|
|
15413
|
+
/* 175 */,
|
|
15414
|
+
/* 176 */
|
|
14971
15415
|
/***/ function(module, exports) {
|
|
14972
15416
|
|
|
14973
15417
|
'use strict';
|
|
@@ -15056,7 +15500,7 @@ module.exports =
|
|
|
15056
15500
|
|
|
15057
15501
|
|
|
15058
15502
|
/***/ },
|
|
15059
|
-
/*
|
|
15503
|
+
/* 177 */
|
|
15060
15504
|
/***/ function(module, exports, __webpack_require__) {
|
|
15061
15505
|
|
|
15062
15506
|
/**
|
|
@@ -15070,9 +15514,9 @@ module.exports =
|
|
|
15070
15514
|
|
|
15071
15515
|
'use strict';
|
|
15072
15516
|
|
|
15073
|
-
var emptyFunction = __webpack_require__(
|
|
15074
|
-
var invariant = __webpack_require__(
|
|
15075
|
-
var ReactPropTypesSecret = __webpack_require__(
|
|
15517
|
+
var emptyFunction = __webpack_require__(179);
|
|
15518
|
+
var invariant = __webpack_require__(180);
|
|
15519
|
+
var ReactPropTypesSecret = __webpack_require__(178);
|
|
15076
15520
|
|
|
15077
15521
|
module.exports = function() {
|
|
15078
15522
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
@@ -15121,7 +15565,7 @@ module.exports =
|
|
|
15121
15565
|
|
|
15122
15566
|
|
|
15123
15567
|
/***/ },
|
|
15124
|
-
/*
|
|
15568
|
+
/* 178 */
|
|
15125
15569
|
/***/ function(module, exports) {
|
|
15126
15570
|
|
|
15127
15571
|
/**
|
|
@@ -15141,7 +15585,7 @@ module.exports =
|
|
|
15141
15585
|
|
|
15142
15586
|
|
|
15143
15587
|
/***/ },
|
|
15144
|
-
/*
|
|
15588
|
+
/* 179 */
|
|
15145
15589
|
/***/ function(module, exports) {
|
|
15146
15590
|
|
|
15147
15591
|
"use strict";
|
|
@@ -15184,7 +15628,7 @@ module.exports =
|
|
|
15184
15628
|
module.exports = emptyFunction;
|
|
15185
15629
|
|
|
15186
15630
|
/***/ },
|
|
15187
|
-
/*
|
|
15631
|
+
/* 180 */
|
|
15188
15632
|
/***/ function(module, exports, __webpack_require__) {
|
|
15189
15633
|
|
|
15190
15634
|
/**
|
|
@@ -15244,7 +15688,7 @@ module.exports =
|
|
|
15244
15688
|
module.exports = invariant;
|
|
15245
15689
|
|
|
15246
15690
|
/***/ },
|
|
15247
|
-
/*
|
|
15691
|
+
/* 181 */
|
|
15248
15692
|
/***/ function(module, exports, __webpack_require__) {
|
|
15249
15693
|
|
|
15250
15694
|
'use strict';
|
|
@@ -15261,7 +15705,7 @@ module.exports =
|
|
|
15261
15705
|
|
|
15262
15706
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
15263
15707
|
|
|
15264
|
-
var _domAlign = __webpack_require__(
|
|
15708
|
+
var _domAlign = __webpack_require__(170);
|
|
15265
15709
|
|
|
15266
15710
|
var _domAlign2 = _interopRequireDefault(_domAlign);
|
|
15267
15711
|
|
|
@@ -15269,7 +15713,7 @@ module.exports =
|
|
|
15269
15713
|
|
|
15270
15714
|
var _addEventListener2 = _interopRequireDefault(_addEventListener);
|
|
15271
15715
|
|
|
15272
|
-
var _isWindow = __webpack_require__(
|
|
15716
|
+
var _isWindow = __webpack_require__(183);
|
|
15273
15717
|
|
|
15274
15718
|
var _isWindow2 = _interopRequireDefault(_isWindow);
|
|
15275
15719
|
|
|
@@ -15403,7 +15847,7 @@ module.exports =
|
|
|
15403
15847
|
module.exports = exports['default'];
|
|
15404
15848
|
|
|
15405
15849
|
/***/ },
|
|
15406
|
-
/*
|
|
15850
|
+
/* 182 */
|
|
15407
15851
|
/***/ function(module, exports, __webpack_require__) {
|
|
15408
15852
|
|
|
15409
15853
|
'use strict';
|
|
@@ -15412,7 +15856,7 @@ module.exports =
|
|
|
15412
15856
|
value: true
|
|
15413
15857
|
});
|
|
15414
15858
|
|
|
15415
|
-
var _Align = __webpack_require__(
|
|
15859
|
+
var _Align = __webpack_require__(181);
|
|
15416
15860
|
|
|
15417
15861
|
var _Align2 = _interopRequireDefault(_Align);
|
|
15418
15862
|
|
|
@@ -15423,7 +15867,7 @@ module.exports =
|
|
|
15423
15867
|
module.exports = exports['default'];
|
|
15424
15868
|
|
|
15425
15869
|
/***/ },
|
|
15426
|
-
/*
|
|
15870
|
+
/* 183 */
|
|
15427
15871
|
/***/ function(module, exports) {
|
|
15428
15872
|
|
|
15429
15873
|
"use strict";
|
|
@@ -15440,7 +15884,7 @@ module.exports =
|
|
|
15440
15884
|
module.exports = exports['default'];
|
|
15441
15885
|
|
|
15442
15886
|
/***/ },
|
|
15443
|
-
/*
|
|
15887
|
+
/* 184 */
|
|
15444
15888
|
/***/ function(module, exports, __webpack_require__) {
|
|
15445
15889
|
|
|
15446
15890
|
'use strict';
|
|
@@ -15455,9 +15899,9 @@ module.exports =
|
|
|
15455
15899
|
|
|
15456
15900
|
var _react2 = _interopRequireDefault(_react);
|
|
15457
15901
|
|
|
15458
|
-
var _ChildrenUtils = __webpack_require__(
|
|
15902
|
+
var _ChildrenUtils = __webpack_require__(186);
|
|
15459
15903
|
|
|
15460
|
-
var _AnimateChild = __webpack_require__(
|
|
15904
|
+
var _AnimateChild = __webpack_require__(185);
|
|
15461
15905
|
|
|
15462
15906
|
var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
|
|
15463
15907
|
|
|
@@ -15776,7 +16220,7 @@ module.exports =
|
|
|
15776
16220
|
module.exports = exports['default'];
|
|
15777
16221
|
|
|
15778
16222
|
/***/ },
|
|
15779
|
-
/*
|
|
16223
|
+
/* 185 */
|
|
15780
16224
|
/***/ function(module, exports, __webpack_require__) {
|
|
15781
16225
|
|
|
15782
16226
|
'use strict';
|
|
@@ -15795,7 +16239,7 @@ module.exports =
|
|
|
15795
16239
|
|
|
15796
16240
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
15797
16241
|
|
|
15798
|
-
var _cssAnimation = __webpack_require__(
|
|
16242
|
+
var _cssAnimation = __webpack_require__(164);
|
|
15799
16243
|
|
|
15800
16244
|
var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
|
|
15801
16245
|
|
|
@@ -15887,7 +16331,7 @@ module.exports =
|
|
|
15887
16331
|
module.exports = exports['default'];
|
|
15888
16332
|
|
|
15889
16333
|
/***/ },
|
|
15890
|
-
/*
|
|
16334
|
+
/* 186 */
|
|
15891
16335
|
/***/ function(module, exports, __webpack_require__) {
|
|
15892
16336
|
|
|
15893
16337
|
'use strict';
|
|
@@ -16009,16 +16453,16 @@ module.exports =
|
|
|
16009
16453
|
}
|
|
16010
16454
|
|
|
16011
16455
|
/***/ },
|
|
16012
|
-
/*
|
|
16456
|
+
/* 187 */
|
|
16013
16457
|
/***/ function(module, exports, __webpack_require__) {
|
|
16014
16458
|
|
|
16015
16459
|
'use strict';
|
|
16016
16460
|
|
|
16017
16461
|
// export this package's api
|
|
16018
|
-
module.exports = __webpack_require__(
|
|
16462
|
+
module.exports = __webpack_require__(184);
|
|
16019
16463
|
|
|
16020
16464
|
/***/ },
|
|
16021
|
-
/*
|
|
16465
|
+
/* 188 */
|
|
16022
16466
|
/***/ function(module, exports, __webpack_require__) {
|
|
16023
16467
|
|
|
16024
16468
|
'use strict';
|
|
@@ -16031,7 +16475,7 @@ module.exports =
|
|
|
16031
16475
|
|
|
16032
16476
|
var _react2 = _interopRequireDefault(_react);
|
|
16033
16477
|
|
|
16034
|
-
var _Select = __webpack_require__(
|
|
16478
|
+
var _Select = __webpack_require__(191);
|
|
16035
16479
|
|
|
16036
16480
|
var _Select2 = _interopRequireDefault(_Select);
|
|
16037
16481
|
|
|
@@ -16255,7 +16699,7 @@ module.exports =
|
|
|
16255
16699
|
module.exports = exports['default'];
|
|
16256
16700
|
|
|
16257
16701
|
/***/ },
|
|
16258
|
-
/*
|
|
16702
|
+
/* 189 */
|
|
16259
16703
|
/***/ function(module, exports, __webpack_require__) {
|
|
16260
16704
|
|
|
16261
16705
|
'use strict';
|
|
@@ -16451,7 +16895,7 @@ module.exports =
|
|
|
16451
16895
|
module.exports = exports['default'];
|
|
16452
16896
|
|
|
16453
16897
|
/***/ },
|
|
16454
|
-
/*
|
|
16898
|
+
/* 190 */
|
|
16455
16899
|
/***/ function(module, exports, __webpack_require__) {
|
|
16456
16900
|
|
|
16457
16901
|
'use strict';
|
|
@@ -16468,11 +16912,11 @@ module.exports =
|
|
|
16468
16912
|
|
|
16469
16913
|
var _react2 = _interopRequireDefault(_react);
|
|
16470
16914
|
|
|
16471
|
-
var _Header = __webpack_require__(
|
|
16915
|
+
var _Header = __webpack_require__(189);
|
|
16472
16916
|
|
|
16473
16917
|
var _Header2 = _interopRequireDefault(_Header);
|
|
16474
16918
|
|
|
16475
|
-
var _Combobox = __webpack_require__(
|
|
16919
|
+
var _Combobox = __webpack_require__(188);
|
|
16476
16920
|
|
|
16477
16921
|
var _Combobox2 = _interopRequireDefault(_Combobox);
|
|
16478
16922
|
|
|
@@ -16645,7 +17089,7 @@ module.exports =
|
|
|
16645
17089
|
module.exports = exports['default'];
|
|
16646
17090
|
|
|
16647
17091
|
/***/ },
|
|
16648
|
-
/*
|
|
17092
|
+
/* 191 */
|
|
16649
17093
|
/***/ function(module, exports, __webpack_require__) {
|
|
16650
17094
|
|
|
16651
17095
|
'use strict';
|
|
@@ -16806,7 +17250,7 @@ module.exports =
|
|
|
16806
17250
|
module.exports = exports['default'];
|
|
16807
17251
|
|
|
16808
17252
|
/***/ },
|
|
16809
|
-
/*
|
|
17253
|
+
/* 192 */
|
|
16810
17254
|
/***/ function(module, exports, __webpack_require__) {
|
|
16811
17255
|
|
|
16812
17256
|
'use strict';
|
|
@@ -16819,15 +17263,15 @@ module.exports =
|
|
|
16819
17263
|
|
|
16820
17264
|
var _react2 = _interopRequireDefault(_react);
|
|
16821
17265
|
|
|
16822
|
-
var _rcTrigger = __webpack_require__(
|
|
17266
|
+
var _rcTrigger = __webpack_require__(198);
|
|
16823
17267
|
|
|
16824
17268
|
var _rcTrigger2 = _interopRequireDefault(_rcTrigger);
|
|
16825
17269
|
|
|
16826
|
-
var _Panel = __webpack_require__(
|
|
17270
|
+
var _Panel = __webpack_require__(190);
|
|
16827
17271
|
|
|
16828
17272
|
var _Panel2 = _interopRequireDefault(_Panel);
|
|
16829
17273
|
|
|
16830
|
-
var _placements = __webpack_require__(
|
|
17274
|
+
var _placements = __webpack_require__(194);
|
|
16831
17275
|
|
|
16832
17276
|
var _placements2 = _interopRequireDefault(_placements);
|
|
16833
17277
|
|
|
@@ -17109,7 +17553,7 @@ module.exports =
|
|
|
17109
17553
|
module.exports = exports['default'];
|
|
17110
17554
|
|
|
17111
17555
|
/***/ },
|
|
17112
|
-
/*
|
|
17556
|
+
/* 193 */
|
|
17113
17557
|
/***/ function(module, exports, __webpack_require__) {
|
|
17114
17558
|
|
|
17115
17559
|
'use strict';
|
|
@@ -17118,7 +17562,7 @@ module.exports =
|
|
|
17118
17562
|
value: true
|
|
17119
17563
|
});
|
|
17120
17564
|
|
|
17121
|
-
var _TimePicker = __webpack_require__(
|
|
17565
|
+
var _TimePicker = __webpack_require__(192);
|
|
17122
17566
|
|
|
17123
17567
|
var _TimePicker2 = _interopRequireDefault(_TimePicker);
|
|
17124
17568
|
|
|
@@ -17128,7 +17572,7 @@ module.exports =
|
|
|
17128
17572
|
module.exports = exports['default'];
|
|
17129
17573
|
|
|
17130
17574
|
/***/ },
|
|
17131
|
-
/*
|
|
17575
|
+
/* 194 */
|
|
17132
17576
|
/***/ function(module, exports) {
|
|
17133
17577
|
|
|
17134
17578
|
'use strict';
|
|
@@ -17174,7 +17618,7 @@ module.exports =
|
|
|
17174
17618
|
module.exports = exports['default'];
|
|
17175
17619
|
|
|
17176
17620
|
/***/ },
|
|
17177
|
-
/*
|
|
17621
|
+
/* 195 */
|
|
17178
17622
|
/***/ function(module, exports, __webpack_require__) {
|
|
17179
17623
|
|
|
17180
17624
|
'use strict';
|
|
@@ -17195,15 +17639,15 @@ module.exports =
|
|
|
17195
17639
|
|
|
17196
17640
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
17197
17641
|
|
|
17198
|
-
var _rcAlign = __webpack_require__(
|
|
17642
|
+
var _rcAlign = __webpack_require__(182);
|
|
17199
17643
|
|
|
17200
17644
|
var _rcAlign2 = _interopRequireDefault(_rcAlign);
|
|
17201
17645
|
|
|
17202
|
-
var _rcAnimate = __webpack_require__(
|
|
17646
|
+
var _rcAnimate = __webpack_require__(187);
|
|
17203
17647
|
|
|
17204
17648
|
var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
|
|
17205
17649
|
|
|
17206
|
-
var _PopupInner = __webpack_require__(
|
|
17650
|
+
var _PopupInner = __webpack_require__(196);
|
|
17207
17651
|
|
|
17208
17652
|
var _PopupInner2 = _interopRequireDefault(_PopupInner);
|
|
17209
17653
|
|
|
@@ -17405,7 +17849,7 @@ module.exports =
|
|
|
17405
17849
|
module.exports = exports['default'];
|
|
17406
17850
|
|
|
17407
17851
|
/***/ },
|
|
17408
|
-
/*
|
|
17852
|
+
/* 196 */
|
|
17409
17853
|
/***/ function(module, exports, __webpack_require__) {
|
|
17410
17854
|
|
|
17411
17855
|
'use strict';
|
|
@@ -17462,7 +17906,7 @@ module.exports =
|
|
|
17462
17906
|
module.exports = exports['default'];
|
|
17463
17907
|
|
|
17464
17908
|
/***/ },
|
|
17465
|
-
/*
|
|
17909
|
+
/* 197 */
|
|
17466
17910
|
/***/ function(module, exports, __webpack_require__) {
|
|
17467
17911
|
|
|
17468
17912
|
'use strict';
|
|
@@ -17483,7 +17927,7 @@ module.exports =
|
|
|
17483
17927
|
|
|
17484
17928
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
17485
17929
|
|
|
17486
|
-
var _contains = __webpack_require__(
|
|
17930
|
+
var _contains = __webpack_require__(200);
|
|
17487
17931
|
|
|
17488
17932
|
var _contains2 = _interopRequireDefault(_contains);
|
|
17489
17933
|
|
|
@@ -17491,13 +17935,13 @@ module.exports =
|
|
|
17491
17935
|
|
|
17492
17936
|
var _addEventListener2 = _interopRequireDefault(_addEventListener);
|
|
17493
17937
|
|
|
17494
|
-
var _Popup = __webpack_require__(
|
|
17938
|
+
var _Popup = __webpack_require__(195);
|
|
17495
17939
|
|
|
17496
17940
|
var _Popup2 = _interopRequireDefault(_Popup);
|
|
17497
17941
|
|
|
17498
|
-
var _utils = __webpack_require__(
|
|
17942
|
+
var _utils = __webpack_require__(199);
|
|
17499
17943
|
|
|
17500
|
-
var _getContainerRenderMixin = __webpack_require__(
|
|
17944
|
+
var _getContainerRenderMixin = __webpack_require__(201);
|
|
17501
17945
|
|
|
17502
17946
|
var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin);
|
|
17503
17947
|
|
|
@@ -17961,15 +18405,15 @@ module.exports =
|
|
|
17961
18405
|
module.exports = exports['default'];
|
|
17962
18406
|
|
|
17963
18407
|
/***/ },
|
|
17964
|
-
/*
|
|
18408
|
+
/* 198 */
|
|
17965
18409
|
/***/ function(module, exports, __webpack_require__) {
|
|
17966
18410
|
|
|
17967
18411
|
'use strict';
|
|
17968
18412
|
|
|
17969
|
-
module.exports = __webpack_require__(
|
|
18413
|
+
module.exports = __webpack_require__(197);
|
|
17970
18414
|
|
|
17971
18415
|
/***/ },
|
|
17972
|
-
/*
|
|
18416
|
+
/* 199 */
|
|
17973
18417
|
/***/ function(module, exports, __webpack_require__) {
|
|
17974
18418
|
|
|
17975
18419
|
'use strict';
|
|
@@ -18009,7 +18453,7 @@ module.exports =
|
|
|
18009
18453
|
}
|
|
18010
18454
|
|
|
18011
18455
|
/***/ },
|
|
18012
|
-
/*
|
|
18456
|
+
/* 200 */
|
|
18013
18457
|
/***/ function(module, exports) {
|
|
18014
18458
|
|
|
18015
18459
|
"use strict";
|
|
@@ -18032,7 +18476,7 @@ module.exports =
|
|
|
18032
18476
|
module.exports = exports['default'];
|
|
18033
18477
|
|
|
18034
18478
|
/***/ },
|
|
18035
|
-
/*
|
|
18479
|
+
/* 201 */
|
|
18036
18480
|
/***/ function(module, exports, __webpack_require__) {
|
|
18037
18481
|
|
|
18038
18482
|
'use strict';
|
|
@@ -18137,7 +18581,7 @@ module.exports =
|
|
|
18137
18581
|
module.exports = exports['default'];
|
|
18138
18582
|
|
|
18139
18583
|
/***/ },
|
|
18140
|
-
/*
|
|
18584
|
+
/* 202 */
|
|
18141
18585
|
/***/ function(module, exports, __webpack_require__) {
|
|
18142
18586
|
|
|
18143
18587
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -19158,8 +19602,8 @@ module.exports =
|
|
|
19158
19602
|
//# sourceMappingURL=index.js.map
|
|
19159
19603
|
|
|
19160
19604
|
/***/ },
|
|
19161
|
-
/*
|
|
19162
|
-
/*
|
|
19605
|
+
/* 203 */,
|
|
19606
|
+
/* 204 */
|
|
19163
19607
|
/***/ function(module, exports, __webpack_require__) {
|
|
19164
19608
|
|
|
19165
19609
|
'use strict';
|
|
@@ -19168,19 +19612,19 @@ module.exports =
|
|
|
19168
19612
|
|
|
19169
19613
|
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; };
|
|
19170
19614
|
|
|
19171
|
-
var _addClass = __webpack_require__(
|
|
19615
|
+
var _addClass = __webpack_require__(206);
|
|
19172
19616
|
|
|
19173
19617
|
var _addClass2 = _interopRequireDefault(_addClass);
|
|
19174
19618
|
|
|
19175
|
-
var _removeClass = __webpack_require__(
|
|
19619
|
+
var _removeClass = __webpack_require__(208);
|
|
19176
19620
|
|
|
19177
19621
|
var _removeClass2 = _interopRequireDefault(_removeClass);
|
|
19178
19622
|
|
|
19179
|
-
var _requestAnimationFrame = __webpack_require__(
|
|
19623
|
+
var _requestAnimationFrame = __webpack_require__(210);
|
|
19180
19624
|
|
|
19181
19625
|
var _requestAnimationFrame2 = _interopRequireDefault(_requestAnimationFrame);
|
|
19182
19626
|
|
|
19183
|
-
var _properties = __webpack_require__(
|
|
19627
|
+
var _properties = __webpack_require__(209);
|
|
19184
19628
|
|
|
19185
19629
|
var _react = __webpack_require__(1);
|
|
19186
19630
|
|
|
@@ -19393,7 +19837,7 @@ module.exports =
|
|
|
19393
19837
|
module.exports = exports['default'];
|
|
19394
19838
|
|
|
19395
19839
|
/***/ },
|
|
19396
|
-
/*
|
|
19840
|
+
/* 205 */
|
|
19397
19841
|
/***/ function(module, exports, __webpack_require__) {
|
|
19398
19842
|
|
|
19399
19843
|
'use strict';
|
|
@@ -19402,7 +19846,7 @@ module.exports =
|
|
|
19402
19846
|
|
|
19403
19847
|
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; };
|
|
19404
19848
|
|
|
19405
|
-
var _chainFunction = __webpack_require__(
|
|
19849
|
+
var _chainFunction = __webpack_require__(161);
|
|
19406
19850
|
|
|
19407
19851
|
var _chainFunction2 = _interopRequireDefault(_chainFunction);
|
|
19408
19852
|
|
|
@@ -19414,11 +19858,11 @@ module.exports =
|
|
|
19414
19858
|
|
|
19415
19859
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
19416
19860
|
|
|
19417
|
-
var _warning = __webpack_require__(
|
|
19861
|
+
var _warning = __webpack_require__(212);
|
|
19418
19862
|
|
|
19419
19863
|
var _warning2 = _interopRequireDefault(_warning);
|
|
19420
19864
|
|
|
19421
|
-
var _ChildMapping = __webpack_require__(
|
|
19865
|
+
var _ChildMapping = __webpack_require__(211);
|
|
19422
19866
|
|
|
19423
19867
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19424
19868
|
|
|
@@ -19670,7 +20114,7 @@ module.exports =
|
|
|
19670
20114
|
module.exports = exports['default'];
|
|
19671
20115
|
|
|
19672
20116
|
/***/ },
|
|
19673
|
-
/*
|
|
20117
|
+
/* 206 */
|
|
19674
20118
|
/***/ function(module, exports, __webpack_require__) {
|
|
19675
20119
|
|
|
19676
20120
|
'use strict';
|
|
@@ -19680,7 +20124,7 @@ module.exports =
|
|
|
19680
20124
|
});
|
|
19681
20125
|
exports.default = addClass;
|
|
19682
20126
|
|
|
19683
|
-
var _hasClass = __webpack_require__(
|
|
20127
|
+
var _hasClass = __webpack_require__(207);
|
|
19684
20128
|
|
|
19685
20129
|
var _hasClass2 = _interopRequireDefault(_hasClass);
|
|
19686
20130
|
|
|
@@ -19692,7 +20136,7 @@ module.exports =
|
|
|
19692
20136
|
module.exports = exports['default'];
|
|
19693
20137
|
|
|
19694
20138
|
/***/ },
|
|
19695
|
-
/*
|
|
20139
|
+
/* 207 */
|
|
19696
20140
|
/***/ function(module, exports) {
|
|
19697
20141
|
|
|
19698
20142
|
"use strict";
|
|
@@ -19707,7 +20151,7 @@ module.exports =
|
|
|
19707
20151
|
module.exports = exports["default"];
|
|
19708
20152
|
|
|
19709
20153
|
/***/ },
|
|
19710
|
-
/*
|
|
20154
|
+
/* 208 */
|
|
19711
20155
|
/***/ function(module, exports) {
|
|
19712
20156
|
|
|
19713
20157
|
'use strict';
|
|
@@ -19717,7 +20161,7 @@ module.exports =
|
|
|
19717
20161
|
};
|
|
19718
20162
|
|
|
19719
20163
|
/***/ },
|
|
19720
|
-
/*
|
|
20164
|
+
/* 209 */
|
|
19721
20165
|
/***/ function(module, exports, __webpack_require__) {
|
|
19722
20166
|
|
|
19723
20167
|
'use strict';
|
|
@@ -19832,7 +20276,7 @@ module.exports =
|
|
|
19832
20276
|
}
|
|
19833
20277
|
|
|
19834
20278
|
/***/ },
|
|
19835
|
-
/*
|
|
20279
|
+
/* 210 */
|
|
19836
20280
|
/***/ function(module, exports, __webpack_require__) {
|
|
19837
20281
|
|
|
19838
20282
|
'use strict';
|
|
@@ -19890,7 +20334,7 @@ module.exports =
|
|
|
19890
20334
|
module.exports = exports['default'];
|
|
19891
20335
|
|
|
19892
20336
|
/***/ },
|
|
19893
|
-
/*
|
|
20337
|
+
/* 211 */
|
|
19894
20338
|
/***/ function(module, exports, __webpack_require__) {
|
|
19895
20339
|
|
|
19896
20340
|
'use strict';
|
|
@@ -19986,7 +20430,7 @@ module.exports =
|
|
|
19986
20430
|
}
|
|
19987
20431
|
|
|
19988
20432
|
/***/ },
|
|
19989
|
-
/*
|
|
20433
|
+
/* 212 */
|
|
19990
20434
|
/***/ function(module, exports, __webpack_require__) {
|
|
19991
20435
|
|
|
19992
20436
|
/**
|
|
@@ -20052,13 +20496,13 @@ module.exports =
|
|
|
20052
20496
|
|
|
20053
20497
|
|
|
20054
20498
|
/***/ },
|
|
20055
|
-
/*
|
|
20499
|
+
/* 213 */
|
|
20056
20500
|
/***/ function(module, exports) {
|
|
20057
20501
|
|
|
20058
20502
|
module.exports = require("moment-timezone");
|
|
20059
20503
|
|
|
20060
20504
|
/***/ },
|
|
20061
|
-
/*
|
|
20505
|
+
/* 214 */
|
|
20062
20506
|
/***/ function(module, exports) {
|
|
20063
20507
|
|
|
20064
20508
|
module.exports = require("redux");
|