@lingk/sync 0.1.54 → 0.1.56
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/css/main.css +34 -0
- package/build/lightning.js +67 -63
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +15 -14
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js +2 -2
- package/build/lingkStyles.js.map +1 -1
- package/build/main.js +719 -468
- package/build/main.js.map +1 -1
- package/build/reducer.js +14 -27
- 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__(125);
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
/***/ },
|
|
@@ -335,7 +335,7 @@ module.exports =
|
|
|
335
335
|
provider: resourceProvider
|
|
336
336
|
}, deNestedJoinKey.property && { joinKeyName: deNestedJoinKey.property }, deNestedJoinKey.parentsArray && deNestedJoinKey.parentsArray.length > 0 && { joinKeyParents: deNestedJoinKey.parentsArray }, deNestedPrimaryKey.property && { primaryKeyName: deNestedPrimaryKey.property }, deNestedPrimaryKey.parentsArray && deNestedPrimaryKey.parentsArray.length > 0 && { primaryKeyParents: deNestedPrimaryKey.parentsArray }, {
|
|
337
337
|
joinType: rsc.joinType || 'LEFT JOIN'
|
|
338
|
-
}));
|
|
338
|
+
}, rscResource.parentRef && { parentRef: rscResource.parentRef }));
|
|
339
339
|
}
|
|
340
340
|
}); // end bundle.resource.forEach
|
|
341
341
|
|
|
@@ -480,7 +480,16 @@ module.exports =
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
//actions.setWizardDataLoaded(true)
|
|
483
|
-
}
|
|
483
|
+
} /**************************
|
|
484
|
+
|
|
485
|
+
Loads data from the 'wizard' reducer in the Redux-Form.
|
|
486
|
+
Runs when the first step of the wizard mounts.
|
|
487
|
+
|
|
488
|
+
The code in if(!formValues['resourceGroups']){ is especially important:
|
|
489
|
+
it converts the values stored in DB into human-readable labels.
|
|
490
|
+
if a value exists in DB but not in the pulled metadata, then it skips that value
|
|
491
|
+
|
|
492
|
+
**************************/
|
|
484
493
|
|
|
485
494
|
function deNest(prop, parents, rsc) {
|
|
486
495
|
var property = '';
|
|
@@ -720,7 +729,7 @@ module.exports =
|
|
|
720
729
|
|
|
721
730
|
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; };
|
|
722
731
|
|
|
723
|
-
var _propertyUtils = __webpack_require__(
|
|
732
|
+
var _propertyUtils = __webpack_require__(168);
|
|
724
733
|
|
|
725
734
|
var RE_NUM = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;
|
|
726
735
|
|
|
@@ -1317,9 +1326,6 @@ module.exports =
|
|
|
1317
1326
|
}
|
|
1318
1327
|
|
|
1319
1328
|
_createClass(SelectWrapper, [{
|
|
1320
|
-
key: 'componentDidMount',
|
|
1321
|
-
value: function componentDidMount() {}
|
|
1322
|
-
}, {
|
|
1323
1329
|
key: 'expand',
|
|
1324
1330
|
value: function expand(v, parents) {
|
|
1325
1331
|
this.setState({ expanded: _nestExpand2.default.expand(v, parents, this.state.expanded) });
|
|
@@ -1583,7 +1589,7 @@ module.exports =
|
|
|
1583
1589
|
} else {
|
|
1584
1590
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1585
1591
|
// http://fb.me/prop-types-in-prod
|
|
1586
|
-
module.exports = __webpack_require__(
|
|
1592
|
+
module.exports = __webpack_require__(174)();
|
|
1587
1593
|
}
|
|
1588
1594
|
|
|
1589
1595
|
|
|
@@ -1605,11 +1611,11 @@ module.exports =
|
|
|
1605
1611
|
|
|
1606
1612
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
1607
1613
|
|
|
1608
|
-
var _TransitionGroup = __webpack_require__(
|
|
1614
|
+
var _TransitionGroup = __webpack_require__(201);
|
|
1609
1615
|
|
|
1610
1616
|
var _TransitionGroup2 = _interopRequireDefault(_TransitionGroup);
|
|
1611
1617
|
|
|
1612
|
-
var _CSSTransitionGroupChild = __webpack_require__(
|
|
1618
|
+
var _CSSTransitionGroupChild = __webpack_require__(200);
|
|
1613
1619
|
|
|
1614
1620
|
var _CSSTransitionGroupChild2 = _interopRequireDefault(_CSSTransitionGroupChild);
|
|
1615
1621
|
|
|
@@ -1701,16 +1707,15 @@ module.exports =
|
|
|
1701
1707
|
var SET_WIZARD_TRIGGER = exports.SET_WIZARD_TRIGGER = 'SET_WIZARD_TRIGGER';
|
|
1702
1708
|
var SET_WIZARD_LOADED = exports.SET_WIZARD_LOADED = 'SET_WIZARD_LOADED';
|
|
1703
1709
|
var SET_WIZARD_DATA_LOADED = exports.SET_WIZARD_DATA_LOADED = 'SET_WIZARD_DATA_LOADED';
|
|
1704
|
-
var
|
|
1705
|
-
var
|
|
1706
|
-
var
|
|
1707
|
-
var
|
|
1708
|
-
var
|
|
1709
|
-
var
|
|
1710
|
-
var CLEAR_WIZARD = exports.CLEAR_WIZARD = 'CLEAR_WIZARD';
|
|
1711
|
-
var SET_OAUTH_URL = exports.SET_OAUTH_URL = 'SET_OAUTH_URL';
|
|
1712
|
-
var GETTING_OAUTH_URL = exports.GETTING_OAUTH_URL = 'GETTING_OAUTH_URL';
|
|
1710
|
+
var START_WIZARD_ENV_CHECK = exports.START_WIZARD_ENV_CHECK = 'START_WIZARD_ENV_CHECK';
|
|
1711
|
+
var FINISH_WIZARD_ENV_CHECK = exports.FINISH_WIZARD_ENV_CHECK = 'FINISH_WIZARD_ENV_CHECK';
|
|
1712
|
+
var START_WIZARD_GET_SCENARIO = exports.START_WIZARD_GET_SCENARIO = 'START_WIZARD_GET_SCENARIO';
|
|
1713
|
+
var FINISH_WIZARD_GET_SCENARIO = exports.FINISH_WIZARD_GET_SCENARIO = 'FINISH_WIZARD_GET_SCENARIO';
|
|
1714
|
+
var SET_WIZARD_OAUTH_URL = exports.SET_WIZARD_OAUTH_URL = 'SET_WIZARD_OAUTH_URL';
|
|
1715
|
+
var GETTING_WIZARD_OAUTH_URL = exports.GETTING_WIZARD_OAUTH_URL = 'GETTING_WIZARD_OAUTH_URL';
|
|
1713
1716
|
var SET_WIZARD_SAVED_CREDENTIALS = exports.SET_WIZARD_SAVED_CREDENTIALS = 'SET_WIZARD_SAVED_CREDENTIALS';
|
|
1717
|
+
|
|
1718
|
+
var CLEAR_WIZARD = exports.CLEAR_WIZARD = 'CLEAR_WIZARD';
|
|
1714
1719
|
|
|
1715
1720
|
/***/ },
|
|
1716
1721
|
/* 41 */
|
|
@@ -1720,7 +1725,7 @@ module.exports =
|
|
|
1720
1725
|
|
|
1721
1726
|
exports.__esModule = true;
|
|
1722
1727
|
|
|
1723
|
-
var _assign = __webpack_require__(
|
|
1728
|
+
var _assign = __webpack_require__(127);
|
|
1724
1729
|
|
|
1725
1730
|
var _assign2 = _interopRequireDefault(_assign);
|
|
1726
1731
|
|
|
@@ -2036,7 +2041,8 @@ module.exports =
|
|
|
2036
2041
|
}
|
|
2037
2042
|
}, {
|
|
2038
2043
|
key: 'addDefaultResourceGroup',
|
|
2039
|
-
value: function addDefaultResourceGroup(v, selectIdx,
|
|
2044
|
+
value: function addDefaultResourceGroup(v, selectIdx, newGroup) {
|
|
2045
|
+
var section = newGroup.section;
|
|
2040
2046
|
var _props = this.props,
|
|
2041
2047
|
addGroup = _props.addGroup,
|
|
2042
2048
|
resourceGroups = _props.resourceGroups,
|
|
@@ -2060,7 +2066,7 @@ module.exports =
|
|
|
2060
2066
|
if (!(resourceGroups && resourceGroups.length === 0)) {
|
|
2061
2067
|
this.go(false, finalIndex);
|
|
2062
2068
|
}
|
|
2063
|
-
addGroup(v, finalIndex,
|
|
2069
|
+
addGroup(v, finalIndex, newGroup);
|
|
2064
2070
|
}
|
|
2065
2071
|
}, {
|
|
2066
2072
|
key: 'pickEntity',
|
|
@@ -2072,7 +2078,7 @@ module.exports =
|
|
|
2072
2078
|
}
|
|
2073
2079
|
}, {
|
|
2074
2080
|
key: 'addDefaultEntity',
|
|
2075
|
-
value: function addDefaultEntity(
|
|
2081
|
+
value: function addDefaultEntity(v, rscIndex, entity, groupIndex) {
|
|
2076
2082
|
var _this3 = this;
|
|
2077
2083
|
|
|
2078
2084
|
var resourceGroups = this.props.resourceGroups;
|
|
@@ -2086,7 +2092,7 @@ module.exports =
|
|
|
2086
2092
|
}, 40);
|
|
2087
2093
|
}
|
|
2088
2094
|
|
|
2089
|
-
this.props.addDefaultEntity(
|
|
2095
|
+
this.props.addDefaultEntity(v, rscIndex, entity, groupIndex);
|
|
2090
2096
|
}
|
|
2091
2097
|
}, {
|
|
2092
2098
|
key: 'unPick',
|
|
@@ -2383,8 +2389,18 @@ module.exports =
|
|
|
2383
2389
|
Object.defineProperty(exports, "__esModule", {
|
|
2384
2390
|
value: true
|
|
2385
2391
|
});
|
|
2392
|
+
/**************************
|
|
2393
|
+
|
|
2394
|
+
Saves data from the Redux-Form and converts it to apiNames, which are used
|
|
2395
|
+
to generate the recipe and are stored in our DB.
|
|
2386
2396
|
|
|
2387
|
-
|
|
2397
|
+
Runs when user click "submit"
|
|
2398
|
+
|
|
2399
|
+
If a new dropdown with fields is added to the UI, it must be added to this function as well
|
|
2400
|
+
|
|
2401
|
+
**************************/
|
|
2402
|
+
|
|
2403
|
+
function saveData(resourceGroups, targetProvider, sourceMetadata, destinationMetadata, sourceEndpoint) {
|
|
2388
2404
|
var bundles = resourceGroups || [];
|
|
2389
2405
|
var mappings = [];
|
|
2390
2406
|
var endpoints = {};
|
|
@@ -2395,7 +2411,7 @@ module.exports =
|
|
|
2395
2411
|
}) : group;
|
|
2396
2412
|
group.name = destinationResource.type;
|
|
2397
2413
|
group.resourceLabel = destinationResource.name;
|
|
2398
|
-
group.provider =
|
|
2414
|
+
group.provider = targetProvider.toLowerCase();
|
|
2399
2415
|
if (destinationResource.recordTypeId) {
|
|
2400
2416
|
group.recordTypeId = destinationResource.recordTypeId;
|
|
2401
2417
|
}
|
|
@@ -2432,7 +2448,7 @@ module.exports =
|
|
|
2432
2448
|
var sourceKeyResourceProvider = group.resources.find(function (r) {
|
|
2433
2449
|
return r.name === group.sourceKeysObjects[i];
|
|
2434
2450
|
}).provider;
|
|
2435
|
-
var dataSourceMetadata = sourceKeyResourceProvider ===
|
|
2451
|
+
var dataSourceMetadata = sourceKeyResourceProvider === targetProvider ? destinationMetadata : sourceMetadata;
|
|
2436
2452
|
var sourceResource = dataSourceMetadata.find(function (metaRsc) {
|
|
2437
2453
|
return metaRsc.name === group.sourceKeysObjects[i];
|
|
2438
2454
|
});
|
|
@@ -2480,7 +2496,7 @@ module.exports =
|
|
|
2480
2496
|
var transConcatSourceResourceProvider = group.resources.find(function (r) {
|
|
2481
2497
|
return r.name === s[0];
|
|
2482
2498
|
}).provider;
|
|
2483
|
-
var transConcatSourceMetadata = transConcatSourceResourceProvider ===
|
|
2499
|
+
var transConcatSourceMetadata = transConcatSourceResourceProvider === targetProvider ? destinationMetadata : sourceMetadata;
|
|
2484
2500
|
var transConcatSourceResource = transConcatSourceMetadata.find(function (rsc) {
|
|
2485
2501
|
return rsc.name === s[0];
|
|
2486
2502
|
});
|
|
@@ -2525,7 +2541,7 @@ module.exports =
|
|
|
2525
2541
|
group.resources = group.resources.map(function (rsc) {
|
|
2526
2542
|
|
|
2527
2543
|
//get resource source (check both metadatas)
|
|
2528
|
-
var dataSourceMetadata = rsc.provider ===
|
|
2544
|
+
var dataSourceMetadata = rsc.provider === targetProvider ? destinationMetadata : sourceMetadata;
|
|
2529
2545
|
var sourceResource = dataSourceMetadata.find(function (metaRsc) {
|
|
2530
2546
|
return metaRsc.name === rsc.name;
|
|
2531
2547
|
});
|
|
@@ -2537,7 +2553,7 @@ module.exports =
|
|
|
2537
2553
|
}
|
|
2538
2554
|
|
|
2539
2555
|
//get first resource in bundle (for primaryKeyName)
|
|
2540
|
-
var primaryDataSourceMetadata = group.resources[0].provider ===
|
|
2556
|
+
var primaryDataSourceMetadata = group.resources[0].provider === targetProvider ? destinationMetadata : sourceMetadata;
|
|
2541
2557
|
var primarySourceResource = primaryDataSourceMetadata.find(function (metaRsc) {
|
|
2542
2558
|
return metaRsc.name === group.resources[0].name;
|
|
2543
2559
|
});
|
|
@@ -2556,7 +2572,9 @@ module.exports =
|
|
|
2556
2572
|
}, nestedPrimaryKey.parentsArray && nestedPrimaryKey.parentsArray.length > 0 && { primaryKeyParents: nestedPrimaryKey.parentsArray }, {
|
|
2557
2573
|
provider: rsc.provider.toLowerCase() + 'Reader',
|
|
2558
2574
|
joinType: rsc.joinType
|
|
2559
|
-
}, rsc.recordTypeId && { recordTypeId: rsc.recordTypeId })
|
|
2575
|
+
}, rsc.recordTypeId && { recordTypeId: rsc.recordTypeId }, rsc.parameterFilters && { parameterFilters: rsc.parameterFilters.filter(function (pf) {
|
|
2576
|
+
return pf.val;
|
|
2577
|
+
}) });
|
|
2560
2578
|
} else return null;
|
|
2561
2579
|
});
|
|
2562
2580
|
}
|
|
@@ -2611,7 +2629,7 @@ module.exports =
|
|
|
2611
2629
|
|
|
2612
2630
|
exports.__esModule = true;
|
|
2613
2631
|
|
|
2614
|
-
var _defineProperty = __webpack_require__(
|
|
2632
|
+
var _defineProperty = __webpack_require__(128);
|
|
2615
2633
|
|
|
2616
2634
|
var _defineProperty2 = _interopRequireDefault(_defineProperty);
|
|
2617
2635
|
|
|
@@ -2746,7 +2764,7 @@ module.exports =
|
|
|
2746
2764
|
value: true
|
|
2747
2765
|
});
|
|
2748
2766
|
|
|
2749
|
-
var _objectWithoutProperties2 = __webpack_require__(
|
|
2767
|
+
var _objectWithoutProperties2 = __webpack_require__(130);
|
|
2750
2768
|
|
|
2751
2769
|
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
|
|
2752
2770
|
|
|
@@ -4582,7 +4600,7 @@ module.exports =
|
|
|
4582
4600
|
|
|
4583
4601
|
var _EventBaseObject2 = _interopRequireDefault(_EventBaseObject);
|
|
4584
4602
|
|
|
4585
|
-
var _objectAssign = __webpack_require__(
|
|
4603
|
+
var _objectAssign = __webpack_require__(173);
|
|
4586
4604
|
|
|
4587
4605
|
var _objectAssign2 = _interopRequireDefault(_objectAssign);
|
|
4588
4606
|
|
|
@@ -4932,17 +4950,14 @@ module.exports =
|
|
|
4932
4950
|
Object.defineProperty(exports, "__esModule", {
|
|
4933
4951
|
value: true
|
|
4934
4952
|
});
|
|
4935
|
-
exports.
|
|
4936
|
-
exports.
|
|
4937
|
-
exports.callCheckConnectionForProvider = callCheckConnectionForProvider;
|
|
4953
|
+
exports.callGetMetadata = callGetMetadata;
|
|
4954
|
+
exports.tryCheckConnection = tryCheckConnection;
|
|
4938
4955
|
exports.callGetProviderMetadata = callGetProviderMetadata;
|
|
4939
4956
|
exports.getOauthUrl = getOauthUrl;
|
|
4940
4957
|
exports.createLingkExternalIds = createLingkExternalIds;
|
|
4941
|
-
exports.callTest = callTest;
|
|
4942
4958
|
exports.callAddCustomField = callAddCustomField;
|
|
4943
4959
|
exports.gotEmptyScenario = gotEmptyScenario;
|
|
4944
4960
|
exports.callGetScenario = callGetScenario;
|
|
4945
|
-
exports.callPreviewIntegration = callPreviewIntegration;
|
|
4946
4961
|
exports.callGetScenarioList = callGetScenarioList;
|
|
4947
4962
|
exports.callCreateScenario = callCreateScenario;
|
|
4948
4963
|
exports.callUpdateScenarioList = callUpdateScenarioList;
|
|
@@ -4958,12 +4973,13 @@ module.exports =
|
|
|
4958
4973
|
exports.callDeployTrigger = callDeployTrigger;
|
|
4959
4974
|
exports.callInit = callInit;
|
|
4960
4975
|
exports.callGetPiConfig = callGetPiConfig;
|
|
4976
|
+
exports.tryGetMetadataIntro = tryGetMetadataIntro;
|
|
4977
|
+
exports.callGetCredentials = callGetCredentials;
|
|
4978
|
+
exports.tryGetCredentials = tryGetCredentials;
|
|
4961
4979
|
exports.tryGetMetadata = tryGetMetadata;
|
|
4962
4980
|
exports.callGetBundles = callGetBundles;
|
|
4963
4981
|
exports.callGetMapping = callGetMapping;
|
|
4964
4982
|
exports.postCredentials = postCredentials;
|
|
4965
|
-
exports.callGetCredentials = callGetCredentials;
|
|
4966
|
-
exports.tryGetCredentials = tryGetCredentials;
|
|
4967
4983
|
exports.callGetTrigger = callGetTrigger;
|
|
4968
4984
|
exports.setWizardLoaded = setWizardLoaded;
|
|
4969
4985
|
exports.setWizardDataLoaded = setWizardDataLoaded;
|
|
@@ -4983,82 +4999,55 @@ module.exports =
|
|
|
4983
4999
|
|
|
4984
5000
|
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; } }
|
|
4985
5001
|
|
|
4986
|
-
|
|
4987
|
-
function getMetadataFromEnvStep(tenantId, appId, mode, providerType, urlSuffix, apiUrl, endpoint, creds) {
|
|
5002
|
+
function callGetMetadata(tenantId, appId, mode, providerType, urlSuffix, apiUrl, endpoint, credsConfig, isFramework) {
|
|
4988
5003
|
return function (dispatch) {
|
|
4989
|
-
if (urlSuffix) {
|
|
4990
|
-
dispatch(callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType));
|
|
4991
|
-
}
|
|
4992
|
-
if (endpoint && endpoint.length > 8) {
|
|
4993
|
-
//dont check if its just https://
|
|
4994
|
-
dispatch(callCheckConnection(tenantId, appId, endpoint, mode, providerType, creds));
|
|
4995
|
-
}
|
|
4996
|
-
};
|
|
4997
|
-
}
|
|
4998
|
-
|
|
4999
|
-
function callCheckConnection(tenantId, appId, url, mode, providerType, creds) {
|
|
5000
|
-
return function (dispatch, getState, api) {
|
|
5001
5004
|
dispatch({
|
|
5002
|
-
type: types.
|
|
5005
|
+
type: types.START_WIZARD_ENV_CHECK,
|
|
5003
5006
|
mode: mode
|
|
5004
5007
|
});
|
|
5005
|
-
return dispatch(
|
|
5008
|
+
return dispatch(tryCheckConnection(tenantId, appId, providerType, credsConfig, isFramework)).then(function (r) {
|
|
5009
|
+
return dispatch(callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType, endpoint));
|
|
5010
|
+
}).then(function (res) {
|
|
5006
5011
|
dispatch({
|
|
5007
|
-
type: types.
|
|
5012
|
+
type: types.FINISH_WIZARD_ENV_CHECK,
|
|
5008
5013
|
data: { res: res, mode: mode, code: '200 OK', providerType: providerType }
|
|
5009
5014
|
});
|
|
5010
5015
|
}).catch(function (err) {
|
|
5011
5016
|
dispatch({
|
|
5012
|
-
type: types.
|
|
5017
|
+
type: types.FINISH_WIZARD_ENV_CHECK,
|
|
5013
5018
|
data: { res: null, mode: mode, code: '404 Error', providerType: providerType }
|
|
5014
5019
|
});
|
|
5015
5020
|
});
|
|
5016
5021
|
};
|
|
5017
5022
|
}
|
|
5018
5023
|
|
|
5019
|
-
function
|
|
5024
|
+
function tryCheckConnection(tenantId, appId, providerType, credsConfig, isFramework) {
|
|
5020
5025
|
return function (dispatch, getState, api) {
|
|
5026
|
+
var needsCredentials = credsConfig && credsConfig.length > 0 && credsConfig[0] !== 'Oauth';
|
|
5027
|
+
|
|
5021
5028
|
var _getState = getState(),
|
|
5022
5029
|
config = _getState.config;
|
|
5023
5030
|
|
|
5024
|
-
if (
|
|
5025
|
-
|
|
5026
|
-
return api.post(tenantId + '/' + appId + '/testconnection/canvas', {
|
|
5031
|
+
if (needsCredentials && !isFramework) {
|
|
5032
|
+
return api.post(tenantId + '/' + appId + '/testconnection/' + providerType.toLowerCase(), {
|
|
5027
5033
|
endpoint: config.TRANS_API_URL
|
|
5028
5034
|
});
|
|
5029
|
-
} else
|
|
5030
|
-
// else just check for adapter connection
|
|
5031
|
-
return api.get(tenantId + '/' + appId + '/testconnection?url=' + url, {
|
|
5032
|
-
endpoint: config.TRANS_API_URL
|
|
5033
|
-
});
|
|
5034
|
-
}
|
|
5035
|
+
} else return Promise.resolve(null);
|
|
5035
5036
|
};
|
|
5036
5037
|
}
|
|
5037
5038
|
|
|
5038
|
-
function callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType) {
|
|
5039
|
+
function callGetProviderMetadata(tenantId, appId, urlSuffix, apiUrl, mode, providerType, endpoint) {
|
|
5039
5040
|
return function (dispatch, getState, api) {
|
|
5040
|
-
dispatch({
|
|
5041
|
-
type: types.START_ENV_CHECK,
|
|
5042
|
-
mode: mode
|
|
5043
|
-
});
|
|
5044
|
-
|
|
5045
5041
|
var _getState2 = getState(),
|
|
5046
5042
|
config = _getState2.config;
|
|
5043
|
+
// 'testconnection ' GET route is for adapter only. Should be called 'metadata/adapter'
|
|
5044
|
+
|
|
5047
5045
|
|
|
5046
|
+
if (urlSuffix === 'testconnection') {
|
|
5047
|
+
urlSuffix = 'testconnection?url=' + endpoint;
|
|
5048
|
+
}
|
|
5048
5049
|
return api.get(tenantId + '/' + appId + '/' + urlSuffix, {
|
|
5049
5050
|
endpoint: config[apiUrl]
|
|
5050
|
-
}).then(function (res) {
|
|
5051
|
-
dispatch({
|
|
5052
|
-
type: types.FINISH_ENV_CHECK,
|
|
5053
|
-
data: { res: res, mode: mode, code: '200 OK', providerType: providerType }
|
|
5054
|
-
});
|
|
5055
|
-
return true;
|
|
5056
|
-
}).catch(function (err) {
|
|
5057
|
-
console.log(err);
|
|
5058
|
-
dispatch({
|
|
5059
|
-
type: types.FINISH_ENV_CHECK,
|
|
5060
|
-
data: { res: null, mode: mode, code: '404 Error' }
|
|
5061
|
-
});
|
|
5062
5051
|
});
|
|
5063
5052
|
};
|
|
5064
5053
|
}
|
|
@@ -5066,7 +5055,7 @@ module.exports =
|
|
|
5066
5055
|
function getOauthUrl(tenantId, appId, typeGuid, orgType, mode) {
|
|
5067
5056
|
return function (dispatch, getState, api) {
|
|
5068
5057
|
dispatch({
|
|
5069
|
-
type: types.
|
|
5058
|
+
type: types.GETTING_WIZARD_OAUTH_URL,
|
|
5070
5059
|
bool: true,
|
|
5071
5060
|
mode: mode
|
|
5072
5061
|
});
|
|
@@ -5078,7 +5067,7 @@ module.exports =
|
|
|
5078
5067
|
endpoint: config.SF_AGENT_API_URL
|
|
5079
5068
|
}).then(function (data) {
|
|
5080
5069
|
dispatch({
|
|
5081
|
-
type: types.
|
|
5070
|
+
type: types.SET_WIZARD_OAUTH_URL,
|
|
5082
5071
|
data: data.url
|
|
5083
5072
|
});
|
|
5084
5073
|
}).catch(function (err) {
|
|
@@ -5133,19 +5122,6 @@ module.exports =
|
|
|
5133
5122
|
};
|
|
5134
5123
|
}
|
|
5135
5124
|
|
|
5136
|
-
function asyncFunction(v, callback) {
|
|
5137
|
-
setTimeout(function () {
|
|
5138
|
-
return callback(v * 2);
|
|
5139
|
-
}, 1000);
|
|
5140
|
-
}
|
|
5141
|
-
function callTest(v, completedCallback) {
|
|
5142
|
-
return new Promise(function (resolve) {
|
|
5143
|
-
return asyncFunction(v, function (r) {
|
|
5144
|
-
return resolve(r * 2);
|
|
5145
|
-
});
|
|
5146
|
-
});
|
|
5147
|
-
}
|
|
5148
|
-
|
|
5149
5125
|
function callAddCustomField(tenantId, appId, objectType, fieldName, completedCallback) {
|
|
5150
5126
|
return function (dispatch, getState, api) {
|
|
5151
5127
|
var _getState5 = getState(),
|
|
@@ -5167,7 +5143,7 @@ module.exports =
|
|
|
5167
5143
|
function gotEmptyScenario() {
|
|
5168
5144
|
return function (dispatch) {
|
|
5169
5145
|
dispatch({
|
|
5170
|
-
type: types.
|
|
5146
|
+
type: types.FINISH_WIZARD_GET_SCENARIO
|
|
5171
5147
|
});
|
|
5172
5148
|
dispatch({
|
|
5173
5149
|
type: types.SET_WIZARD_SAVED_BUNDLES,
|
|
@@ -5183,13 +5159,13 @@ module.exports =
|
|
|
5183
5159
|
function callGetScenario(magicNumber, bundleGuid, mappingGuid, completedCallback) {
|
|
5184
5160
|
return function (dispatch, getState, api) {
|
|
5185
5161
|
dispatch({
|
|
5186
|
-
type: types.
|
|
5162
|
+
type: types.START_WIZARD_GET_SCENARIO
|
|
5187
5163
|
});
|
|
5188
5164
|
var tenantId = magicNumber;
|
|
5189
5165
|
var accountId = magicNumber;
|
|
5190
5166
|
return Promise.all([dispatch(callGetBundles(tenantId, accountId, bundleGuid)), dispatch(callGetMapping(tenantId, accountId, mappingGuid))]).then(function (res) {
|
|
5191
5167
|
dispatch({
|
|
5192
|
-
type: types.
|
|
5168
|
+
type: types.FINISH_WIZARD_GET_SCENARIO
|
|
5193
5169
|
});
|
|
5194
5170
|
completedCallback();
|
|
5195
5171
|
}).catch(function (err) {
|
|
@@ -5199,31 +5175,11 @@ module.exports =
|
|
|
5199
5175
|
};
|
|
5200
5176
|
}
|
|
5201
5177
|
|
|
5202
|
-
function
|
|
5178
|
+
function callGetScenarioList(tenantId, appId, typeGuid) {
|
|
5203
5179
|
return function (dispatch, getState, api) {
|
|
5204
|
-
dispatch({
|
|
5205
|
-
type: types.START_PREVIEW
|
|
5206
|
-
});
|
|
5207
|
-
|
|
5208
5180
|
var _getState6 = getState(),
|
|
5209
5181
|
config = _getState6.config;
|
|
5210
5182
|
|
|
5211
|
-
return api.get(tenantId + '/' + appId + '/previewintegration?url=' + url, {
|
|
5212
|
-
endpoint: config.TRANS_API_URL
|
|
5213
|
-
}).then(function (res) {
|
|
5214
|
-
dispatch({
|
|
5215
|
-
type: types.FINISH_PREVIEW,
|
|
5216
|
-
data: res
|
|
5217
|
-
});
|
|
5218
|
-
});
|
|
5219
|
-
};
|
|
5220
|
-
}
|
|
5221
|
-
|
|
5222
|
-
function callGetScenarioList(tenantId, appId, typeGuid) {
|
|
5223
|
-
return function (dispatch, getState, api) {
|
|
5224
|
-
var _getState7 = getState(),
|
|
5225
|
-
config = _getState7.config;
|
|
5226
|
-
|
|
5227
5183
|
return api.get(tenantId + '/' + appId + '/scenarios/' + typeGuid, {
|
|
5228
5184
|
endpoint: config.TRANS_API_URL
|
|
5229
5185
|
});
|
|
@@ -5232,8 +5188,8 @@ module.exports =
|
|
|
5232
5188
|
|
|
5233
5189
|
function callCreateScenario(tenantId, appId, data) {
|
|
5234
5190
|
return function (dispatch, getState, api) {
|
|
5235
|
-
var
|
|
5236
|
-
config =
|
|
5191
|
+
var _getState7 = getState(),
|
|
5192
|
+
config = _getState7.config;
|
|
5237
5193
|
|
|
5238
5194
|
return api.post(tenantId + '/' + appId + '/scenario', {
|
|
5239
5195
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5244,8 +5200,8 @@ module.exports =
|
|
|
5244
5200
|
|
|
5245
5201
|
function callUpdateScenarioList(tenantId, appId, typeGuid, scenarioIds) {
|
|
5246
5202
|
return function (dispatch, getState, api) {
|
|
5247
|
-
var
|
|
5248
|
-
config =
|
|
5203
|
+
var _getState8 = getState(),
|
|
5204
|
+
config = _getState8.config;
|
|
5249
5205
|
|
|
5250
5206
|
return api.post(tenantId + '/' + appId + '/scenarios/' + typeGuid, {
|
|
5251
5207
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5258,8 +5214,8 @@ module.exports =
|
|
|
5258
5214
|
|
|
5259
5215
|
function callPostBundles(tenantId, appId, bundles) {
|
|
5260
5216
|
return function (dispatch, getState, api) {
|
|
5261
|
-
var
|
|
5262
|
-
config =
|
|
5217
|
+
var _getState9 = getState(),
|
|
5218
|
+
config = _getState9.config;
|
|
5263
5219
|
|
|
5264
5220
|
var data = { bundles: bundles };
|
|
5265
5221
|
return api.post(tenantId + '/' + appId + '/bundle', {
|
|
@@ -5273,8 +5229,8 @@ module.exports =
|
|
|
5273
5229
|
|
|
5274
5230
|
function callPostMapping(tenantId, appId, mappings) {
|
|
5275
5231
|
return function (dispatch, getState, api) {
|
|
5276
|
-
var
|
|
5277
|
-
config =
|
|
5232
|
+
var _getState10 = getState(),
|
|
5233
|
+
config = _getState10.config;
|
|
5278
5234
|
|
|
5279
5235
|
var data = { mappings: mappings };
|
|
5280
5236
|
return api.post(tenantId + '/' + appId + '/schemamappings', {
|
|
@@ -5288,8 +5244,8 @@ module.exports =
|
|
|
5288
5244
|
|
|
5289
5245
|
function callPostProductizedIntegration(tenantId, appId, schemaMappingGuid, bundlePackGuid, configuration, title, typeGuid) {
|
|
5290
5246
|
return function (dispatch, getState, api) {
|
|
5291
|
-
var
|
|
5292
|
-
config =
|
|
5247
|
+
var _getState11 = getState(),
|
|
5248
|
+
config = _getState11.config;
|
|
5293
5249
|
|
|
5294
5250
|
var data = {
|
|
5295
5251
|
schemaMappingGuid: schemaMappingGuid,
|
|
@@ -5309,8 +5265,8 @@ module.exports =
|
|
|
5309
5265
|
|
|
5310
5266
|
function callUpdateProductizedIntegration(tenantId, appId, schemaMappingGuid, bundlePackGuid, configuration, title, typeGuid, piGuid) {
|
|
5311
5267
|
return function (dispatch, getState, api) {
|
|
5312
|
-
var
|
|
5313
|
-
config =
|
|
5268
|
+
var _getState12 = getState(),
|
|
5269
|
+
config = _getState12.config;
|
|
5314
5270
|
|
|
5315
5271
|
var data = {
|
|
5316
5272
|
schemaMappingGuid: schemaMappingGuid,
|
|
@@ -5330,8 +5286,8 @@ module.exports =
|
|
|
5330
5286
|
|
|
5331
5287
|
function callGenerateRecipe(tenantId, appId, typeId, typeGuid, title, piGuid, mappingGuid, sourceMetadata, destinationMetadata, isManagedPackage) {
|
|
5332
5288
|
return function (dispatch, getState, api) {
|
|
5333
|
-
var
|
|
5334
|
-
config =
|
|
5289
|
+
var _getState13 = getState(),
|
|
5290
|
+
config = _getState13.config;
|
|
5335
5291
|
|
|
5336
5292
|
return api.post(tenantId + '/' + appId + '/productizedintegrations/' + piGuid + '/generate', {
|
|
5337
5293
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5387,8 +5343,8 @@ module.exports =
|
|
|
5387
5343
|
|
|
5388
5344
|
function callExecuteTransformer(transId) {
|
|
5389
5345
|
return function (dispatch, getState, api) {
|
|
5390
|
-
var
|
|
5391
|
-
config =
|
|
5346
|
+
var _getState14 = getState(),
|
|
5347
|
+
config = _getState14.config;
|
|
5392
5348
|
|
|
5393
5349
|
var query = '';
|
|
5394
5350
|
var d = new Date();
|
|
@@ -5412,8 +5368,8 @@ module.exports =
|
|
|
5412
5368
|
|
|
5413
5369
|
function callLookupLogData(externalExecutionId, index, onFinish, generatedRecipe, pi) {
|
|
5414
5370
|
return function (dispatch, getState, api) {
|
|
5415
|
-
var
|
|
5416
|
-
config =
|
|
5371
|
+
var _getState15 = getState(),
|
|
5372
|
+
config = _getState15.config;
|
|
5417
5373
|
|
|
5418
5374
|
return api.get('logs/transformers/externalExecutionId/' + externalExecutionId, {
|
|
5419
5375
|
endpoint: config.TRANS_API_URL
|
|
@@ -5456,8 +5412,8 @@ module.exports =
|
|
|
5456
5412
|
};
|
|
5457
5413
|
}
|
|
5458
5414
|
return function (dispatch, getState, api) {
|
|
5459
|
-
var
|
|
5460
|
-
config =
|
|
5415
|
+
var _getState16 = getState(),
|
|
5416
|
+
config = _getState16.config;
|
|
5461
5417
|
|
|
5462
5418
|
return api.post('createtrigger', {
|
|
5463
5419
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5470,8 +5426,8 @@ module.exports =
|
|
|
5470
5426
|
|
|
5471
5427
|
function callDeployTrigger(generatedRecipe, pi, onFinish) {
|
|
5472
5428
|
return function (dispatch, getState, api) {
|
|
5473
|
-
var
|
|
5474
|
-
config =
|
|
5429
|
+
var _getState17 = getState(),
|
|
5430
|
+
config = _getState17.config;
|
|
5475
5431
|
|
|
5476
5432
|
return api.put('transformer/deploy/' + generatedRecipe.Id, {
|
|
5477
5433
|
endpoint: config.TRANS_API_URL,
|
|
@@ -5486,13 +5442,14 @@ module.exports =
|
|
|
5486
5442
|
|
|
5487
5443
|
/* LOADING PROCESS */
|
|
5488
5444
|
|
|
5489
|
-
function callInit(tenantId, accountId, piGuid,
|
|
5445
|
+
function callInit(tenantId, accountId, piGuid, wiz) {
|
|
5446
|
+
//"wiz" is the full piType configuration, with providers and scenarios
|
|
5490
5447
|
return function (dispatch, getState, api) {
|
|
5491
5448
|
dispatch({
|
|
5492
5449
|
type: types.SET_WIZARD_LOADED,
|
|
5493
5450
|
bool: false
|
|
5494
5451
|
});
|
|
5495
|
-
dispatch(callGetPiConfig(tenantId, accountId, piGuid,
|
|
5452
|
+
dispatch(callGetPiConfig(tenantId, accountId, piGuid, wiz)).then(function () {
|
|
5496
5453
|
setTimeout(function () {
|
|
5497
5454
|
dispatch({
|
|
5498
5455
|
type: types.SET_WIZARD_LOADED,
|
|
@@ -5503,66 +5460,104 @@ module.exports =
|
|
|
5503
5460
|
};
|
|
5504
5461
|
}
|
|
5505
5462
|
|
|
5506
|
-
function callGetPiConfig(tenantId, accountId, piGuid,
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
sourceApi = metadataEndpoints.sourceApi,
|
|
5510
|
-
destination = metadataEndpoints.destination,
|
|
5511
|
-
destinationApi = metadataEndpoints.destinationApi;
|
|
5512
|
-
var skipSourceEnv = providers.skipSourceEnv,
|
|
5513
|
-
skipDestinationEnv = providers.skipDestinationEnv;
|
|
5463
|
+
function callGetPiConfig(tenantId, accountId, piGuid, wiz) {
|
|
5464
|
+
var source = wiz.source,
|
|
5465
|
+
destination = wiz.destination;
|
|
5514
5466
|
|
|
5515
5467
|
|
|
5516
5468
|
if (piGuid && piGuid !== '_') {
|
|
5517
5469
|
return function (dispatch, getState, api) {
|
|
5518
|
-
var
|
|
5519
|
-
config =
|
|
5470
|
+
var _getState18 = getState(),
|
|
5471
|
+
config = _getState18.config;
|
|
5520
5472
|
|
|
5521
5473
|
return api.get(tenantId + '/' + accountId + '/productizedintegration/' + piGuid, {
|
|
5522
5474
|
endpoint: config.TRANS_API_URL
|
|
5523
5475
|
}).then(function (pi) {
|
|
5524
|
-
var
|
|
5525
|
-
|
|
5476
|
+
var piconfig = pi.configuration;
|
|
5477
|
+
piconfig['title'] = pi.name;
|
|
5526
5478
|
var savedSourceEndpoint = null;
|
|
5527
5479
|
var savedDestinationEndpoint = null;
|
|
5528
|
-
if (
|
|
5529
|
-
savedSourceEndpoint =
|
|
5480
|
+
if (piconfig.hasOwnProperty('sourceEndpoint')) {
|
|
5481
|
+
savedSourceEndpoint = piconfig.sourceEndpoint;
|
|
5530
5482
|
}
|
|
5531
|
-
if (
|
|
5532
|
-
savedDestinationEndpoint =
|
|
5483
|
+
if (piconfig.hasOwnProperty('destinationEndpoint')) {
|
|
5484
|
+
savedDestinationEndpoint = piconfig.destinationEndpoint;
|
|
5533
5485
|
}
|
|
5534
5486
|
dispatch({
|
|
5535
5487
|
type: types.SET_WIZARD_SAVED_CONFIGURATION,
|
|
5536
|
-
data:
|
|
5488
|
+
data: piconfig
|
|
5537
5489
|
});
|
|
5538
|
-
return Promise.all([dispatch(
|
|
5490
|
+
return Promise.all([dispatch(callGetMapping(tenantId, accountId, pi.schemaMappingGuid)), dispatch(callGetBundles(tenantId, accountId, pi.bundlePackGuid)), dispatch(callGetCredentials(tenantId, accountId, wiz)), dispatch(tryGetMetadata(tenantId, accountId, 'source', source, savedSourceEndpoint)), dispatch(tryGetMetadata(tenantId, accountId, 'destination', destination, savedDestinationEndpoint)), dispatch(callGetTrigger(pi.transformerBaseId))]);
|
|
5539
5491
|
});
|
|
5540
5492
|
};
|
|
5541
5493
|
} else return function (dispatch) {
|
|
5542
5494
|
// FIRST TIME!
|
|
5543
|
-
return Promise.all([dispatch(
|
|
5495
|
+
return Promise.all([dispatch(tryGetMetadataIntro(tenantId, accountId, 'source', source)), dispatch(tryGetMetadataIntro(tenantId, accountId, 'destination', destination))]);
|
|
5544
5496
|
};
|
|
5545
5497
|
}
|
|
5546
5498
|
|
|
5547
|
-
// this function runs when wizard first loads
|
|
5548
|
-
function
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
} else if (savedEndpoint && savedEndpoint !== 'https://' && savedEndpoint !== 'http://' && savedEndpoint !== '_blank') {
|
|
5499
|
+
// this function runs when a NEW wizard first loads ONLY in Salesforce App (no env step)
|
|
5500
|
+
function tryGetMetadataIntro(tenantId, appId, mode, wiz) {
|
|
5501
|
+
var type = wiz.type,
|
|
5502
|
+
metadataEndpoint = wiz.metadataEndpoint,
|
|
5503
|
+
metadataApi = wiz.metadataApi,
|
|
5504
|
+
skipEnvStep = wiz.skipEnvStep,
|
|
5505
|
+
credentials = wiz.credentials;
|
|
5506
|
+
// automatically pull metadata (SF app)
|
|
5507
|
+
|
|
5508
|
+
if (skipEnvStep) {
|
|
5558
5509
|
return function (dispatch) {
|
|
5559
|
-
return dispatch(
|
|
5510
|
+
return dispatch(callGetMetadata(tenantId, appId, mode, type, metadataEndpoint, metadataApi, '_blank', credentials));
|
|
5560
5511
|
};
|
|
5561
5512
|
} else return function () {
|
|
5562
5513
|
return Promise.resolve(null);
|
|
5563
5514
|
};
|
|
5564
5515
|
}
|
|
5565
5516
|
|
|
5517
|
+
function callGetCredentials(tenantId, appId, wiz) {
|
|
5518
|
+
var source = wiz.source,
|
|
5519
|
+
destination = wiz.destination;
|
|
5520
|
+
|
|
5521
|
+
return function (dispatch, getState, api) {
|
|
5522
|
+
return Promise.all([dispatch(tryGetCredentials(tenantId, appId, source.type, source.credentials)), dispatch(tryGetCredentials(tenantId, appId, destination.type, destination.credentials))]).then(function (res) {
|
|
5523
|
+
dispatch({
|
|
5524
|
+
type: types.SET_WIZARD_SAVED_CREDENTIALS,
|
|
5525
|
+
data: {
|
|
5526
|
+
source: res[0] && res[0].credentialsJson,
|
|
5527
|
+
destination: res[1] && res[1].credentialsJson
|
|
5528
|
+
}
|
|
5529
|
+
});
|
|
5530
|
+
});
|
|
5531
|
+
};
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5534
|
+
function tryGetCredentials(tenantId, appId, credentialType, credsConfig) {
|
|
5535
|
+
return function (dispatch, getState, api) {
|
|
5536
|
+
var _getState19 = getState(),
|
|
5537
|
+
config = _getState19.config;
|
|
5538
|
+
|
|
5539
|
+
if (credsConfig && credsConfig.length > 0 && credsConfig[0] !== 'Oauth') {
|
|
5540
|
+
return api.get(tenantId + '/' + appId + '/credentials/' + credentialType, {
|
|
5541
|
+
endpoint: config.TRANS_API_URL
|
|
5542
|
+
});
|
|
5543
|
+
} else return Promise.resolve(null);
|
|
5544
|
+
};
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5547
|
+
function tryGetMetadata(tenantId, appId, mode, wiz, savedEndpoint) {
|
|
5548
|
+
return function (dispatch, getState, api) {
|
|
5549
|
+
// if skipEnvStep (as in SF App), auto pull SF metadata
|
|
5550
|
+
var type = wiz.type,
|
|
5551
|
+
credentials = wiz.credentials,
|
|
5552
|
+
metadataEndpoint = wiz.metadataEndpoint,
|
|
5553
|
+
metadataApi = wiz.metadataApi;
|
|
5554
|
+
|
|
5555
|
+
if (savedEndpoint && savedEndpoint.length > 8 || wiz.skipEnvStep) {
|
|
5556
|
+
return dispatch(callGetMetadata(tenantId, appId, mode, type, metadataEndpoint, metadataApi, savedEndpoint, credentials));
|
|
5557
|
+
} else return Promise.resolve(null);
|
|
5558
|
+
};
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5566
5561
|
function callGetBundles(tenantId, accountId, bundlePackGuid) {
|
|
5567
5562
|
if (bundlePackGuid) {
|
|
5568
5563
|
return function (dispatch, getState, api) {
|
|
@@ -5578,9 +5573,7 @@ module.exports =
|
|
|
5578
5573
|
});
|
|
5579
5574
|
});
|
|
5580
5575
|
};
|
|
5581
|
-
} else return
|
|
5582
|
-
return Promise.resolve(null);
|
|
5583
|
-
};
|
|
5576
|
+
} else return Promise.resolve(null);
|
|
5584
5577
|
}
|
|
5585
5578
|
|
|
5586
5579
|
function callGetMapping(tenantId, accountId, mappingGuid) {
|
|
@@ -5598,15 +5591,13 @@ module.exports =
|
|
|
5598
5591
|
});
|
|
5599
5592
|
});
|
|
5600
5593
|
};
|
|
5601
|
-
} else return
|
|
5602
|
-
return Promise.resolve(null);
|
|
5603
|
-
};
|
|
5594
|
+
} else return Promise.resolve(null);
|
|
5604
5595
|
}
|
|
5605
5596
|
|
|
5606
5597
|
function postCredentials(tenantId, appId, providerType, url, credentials, mode) {
|
|
5607
5598
|
return function (dispatch, getState, api) {
|
|
5608
5599
|
dispatch({
|
|
5609
|
-
type: types.
|
|
5600
|
+
type: types.START_WIZARD_ENV_CHECK,
|
|
5610
5601
|
mode: mode
|
|
5611
5602
|
});
|
|
5612
5603
|
|
|
@@ -5641,40 +5632,11 @@ module.exports =
|
|
|
5641
5632
|
return data;
|
|
5642
5633
|
}
|
|
5643
5634
|
|
|
5644
|
-
function
|
|
5645
|
-
return function (dispatch, getState, api) {
|
|
5646
|
-
return Promise.all([dispatch(tryGetCredentials(tenantId, appId, providers.source, providers.sourceCredentials)), dispatch(tryGetCredentials(tenantId, appId, providers.destination, providers.destinationCredentials))]).then(function (res) {
|
|
5647
|
-
dispatch({
|
|
5648
|
-
type: types.SET_WIZARD_SAVED_CREDENTIALS,
|
|
5649
|
-
data: {
|
|
5650
|
-
source: res[0] && res[0].credentialsJson,
|
|
5651
|
-
destination: res[1] && res[1].credentialsJson
|
|
5652
|
-
}
|
|
5653
|
-
});
|
|
5654
|
-
});
|
|
5655
|
-
};
|
|
5656
|
-
}
|
|
5657
|
-
|
|
5658
|
-
function tryGetCredentials(tenantId, appId, credentialType, creds) {
|
|
5635
|
+
function callGetTrigger(transBaseId) {
|
|
5659
5636
|
return function (dispatch, getState, api) {
|
|
5660
5637
|
var _getState23 = getState(),
|
|
5661
5638
|
config = _getState23.config;
|
|
5662
5639
|
|
|
5663
|
-
if (creds && creds.length > 0 && creds[0] !== 'Oauth') {
|
|
5664
|
-
return api.get(tenantId + '/' + appId + '/credentials/' + credentialType, {
|
|
5665
|
-
endpoint: config.TRANS_API_URL
|
|
5666
|
-
});
|
|
5667
|
-
} else {
|
|
5668
|
-
return Promise.resolve(null);
|
|
5669
|
-
}
|
|
5670
|
-
};
|
|
5671
|
-
}
|
|
5672
|
-
|
|
5673
|
-
function callGetTrigger(transBaseId) {
|
|
5674
|
-
return function (dispatch, getState, api) {
|
|
5675
|
-
var _getState24 = getState(),
|
|
5676
|
-
config = _getState24.config;
|
|
5677
|
-
|
|
5678
5640
|
if (transBaseId) {
|
|
5679
5641
|
return api.get('gettrigger/' + transBaseId, {
|
|
5680
5642
|
endpoint: config.TRANS_API_URL
|
|
@@ -5684,9 +5646,7 @@ module.exports =
|
|
|
5684
5646
|
data: data
|
|
5685
5647
|
});
|
|
5686
5648
|
});
|
|
5687
|
-
} else return
|
|
5688
|
-
return Promise.resolve(null);
|
|
5689
|
-
};
|
|
5649
|
+
} else return Promise.resolve(null);
|
|
5690
5650
|
};
|
|
5691
5651
|
}
|
|
5692
5652
|
|
|
@@ -5988,7 +5948,7 @@ module.exports =
|
|
|
5988
5948
|
_react2.default.createElement(
|
|
5989
5949
|
'div',
|
|
5990
5950
|
{ style: { display: 'inline-block', width: 'calc(50% - 120px)' } },
|
|
5991
|
-
'
|
|
5951
|
+
'Target Objects'
|
|
5992
5952
|
)
|
|
5993
5953
|
),
|
|
5994
5954
|
_react2.default.createElement(
|
|
@@ -6154,7 +6114,13 @@ module.exports =
|
|
|
6154
6114
|
|
|
6155
6115
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
6156
6116
|
|
|
6157
|
-
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
|
|
6117
|
+
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } /**************************
|
|
6118
|
+
|
|
6119
|
+
Modal that opens when the link icon is clicked in the Object Mapping table
|
|
6120
|
+
links the source with the destination, so on subsequent runs, we know
|
|
6121
|
+
whether to Update or Insert data.
|
|
6122
|
+
|
|
6123
|
+
**************************/
|
|
6158
6124
|
|
|
6159
6125
|
var ConnectModal = function ConnectModal(props) {
|
|
6160
6126
|
var inputs = props.inputs,
|
|
@@ -6244,41 +6210,41 @@ module.exports =
|
|
|
6244
6210
|
props.update();
|
|
6245
6211
|
};
|
|
6246
6212
|
|
|
6247
|
-
var selectSourceKeyForLingk = function selectSourceKeyForLingk(key,
|
|
6213
|
+
var selectSourceKeyForLingk = function selectSourceKeyForLingk(key, i, field) {
|
|
6248
6214
|
var rgs = [].concat(_toConsumableArray(resourceGroups));
|
|
6249
6215
|
var group = rgs[bundleIndex];
|
|
6250
6216
|
group.lingkSourceKey = key;
|
|
6251
|
-
group.lingkSourceKeyObject = section;
|
|
6252
|
-
group.lingkSourceKeyParents = parents;
|
|
6217
|
+
group.lingkSourceKeyObject = field.section;
|
|
6218
|
+
group.lingkSourceKeyParents = field.parents;
|
|
6253
6219
|
change('resourceGroups', rgs);
|
|
6254
6220
|
props.update();
|
|
6255
6221
|
};
|
|
6256
6222
|
|
|
6257
|
-
var selectCustomSourceKey = function selectCustomSourceKey(key,
|
|
6223
|
+
var selectCustomSourceKey = function selectCustomSourceKey(key, i, field) {
|
|
6258
6224
|
var rgs = [].concat(_toConsumableArray(resourceGroups));
|
|
6259
6225
|
var group = rgs[bundleIndex];
|
|
6260
6226
|
if (i === 0) {
|
|
6261
6227
|
group.sourceKeys = [key];
|
|
6262
|
-
group.sourceKeysObjects = [section];
|
|
6263
|
-
group.sourceKeysParents = [parents];
|
|
6228
|
+
group.sourceKeysObjects = [field.section];
|
|
6229
|
+
group.sourceKeysParents = [field.parents];
|
|
6264
6230
|
} else {
|
|
6265
6231
|
group.sourceKeys[i] = key;
|
|
6266
|
-
group.sourceKeysObjects[i] = section;
|
|
6267
|
-
group.sourceKeysParents[i] = parents;
|
|
6232
|
+
group.sourceKeysObjects[i] = field.section;
|
|
6233
|
+
group.sourceKeysParents[i] = field.parents;
|
|
6268
6234
|
}
|
|
6269
6235
|
change('resourceGroups', rgs);
|
|
6270
6236
|
props.update();
|
|
6271
6237
|
};
|
|
6272
6238
|
|
|
6273
|
-
var selectCustomDestinationKey = function selectCustomDestinationKey(key, i,
|
|
6239
|
+
var selectCustomDestinationKey = function selectCustomDestinationKey(key, i, field) {
|
|
6274
6240
|
var rgs = [].concat(_toConsumableArray(resourceGroups));
|
|
6275
6241
|
var group = rgs[bundleIndex];
|
|
6276
6242
|
if (i === 0) {
|
|
6277
6243
|
group.destinationKeys = [key];
|
|
6278
|
-
group.destinationKeysParents = [parents];
|
|
6244
|
+
group.destinationKeysParents = [field.parents];
|
|
6279
6245
|
} else {
|
|
6280
6246
|
group.destinationKeys[i] = key;
|
|
6281
|
-
group.destinationKeysParents[i] = parents;
|
|
6247
|
+
group.destinationKeysParents[i] = field.parents;
|
|
6282
6248
|
}
|
|
6283
6249
|
change('resourceGroups', rgs);
|
|
6284
6250
|
props.update();
|
|
@@ -6400,9 +6366,10 @@ module.exports =
|
|
|
6400
6366
|
'div',
|
|
6401
6367
|
{ className: 'external-keys-column' },
|
|
6402
6368
|
_react2.default.createElement(_selectWrapper2.default, { label: sourceLabel || 'Choose Key',
|
|
6403
|
-
onSelect: function onSelect(v, iii,
|
|
6404
|
-
return selectCustomSourceKey(v,
|
|
6405
|
-
},
|
|
6369
|
+
onSelect: function onSelect(v, iii, field) {
|
|
6370
|
+
return selectCustomSourceKey(v, i, field);
|
|
6371
|
+
},
|
|
6372
|
+
inputs: inputs,
|
|
6406
6373
|
type: 'brand', fieldPropLabel: 'label',
|
|
6407
6374
|
values: vals, sectionLabels: sectionLabels,
|
|
6408
6375
|
selectedValues: group.sourceKeys && [{
|
|
@@ -6422,9 +6389,10 @@ module.exports =
|
|
|
6422
6389
|
'div',
|
|
6423
6390
|
{ className: 'external-keys-column' },
|
|
6424
6391
|
_react2.default.createElement(_selectWrapper2.default, { label: group.destinationKeys && group.destinationKeys[i] || 'Choose Key',
|
|
6425
|
-
onSelect: function onSelect(v, iii,
|
|
6426
|
-
return selectCustomDestinationKey(v, i,
|
|
6427
|
-
},
|
|
6392
|
+
onSelect: function onSelect(v, iii, field) {
|
|
6393
|
+
return selectCustomDestinationKey(v, i, field);
|
|
6394
|
+
},
|
|
6395
|
+
type: 'brand', inputs: inputs,
|
|
6428
6396
|
values: destinationVals,
|
|
6429
6397
|
sectionLabels: [bundle.name], fieldPropLabel: 'label',
|
|
6430
6398
|
selectedValues: group.destinationKeys && [{
|
|
@@ -6441,7 +6409,7 @@ module.exports =
|
|
|
6441
6409
|
} },
|
|
6442
6410
|
_react2.default.createElement(
|
|
6443
6411
|
'svg',
|
|
6444
|
-
{
|
|
6412
|
+
{ className: 'delete-external-key-svg',
|
|
6445
6413
|
style: { width: 18, height: 18 }, viewBox: '0 0 60 60' },
|
|
6446
6414
|
_react2.default.createElement('path', { style: { strokeWidth: 5, strokeLinecap: 'round' },
|
|
6447
6415
|
d: 'M 15.674663,15.572746 L 44.587629,44.485711 M 45.118838,15.420972 L 15.522889,45.016920' })
|
|
@@ -6520,9 +6488,10 @@ module.exports =
|
|
|
6520
6488
|
{ className: 'external-keys-column' },
|
|
6521
6489
|
_react2.default.createElement(_selectWrapper2.default, { label: sourceLabel || 'Choose Key',
|
|
6522
6490
|
menuItemStyle: { height: 20, padding: '1px 8px' },
|
|
6523
|
-
onSelect: function onSelect(v, i,
|
|
6524
|
-
return selectSourceKeyForLingk(v,
|
|
6525
|
-
},
|
|
6491
|
+
onSelect: function onSelect(v, i, field) {
|
|
6492
|
+
return selectSourceKeyForLingk(v, i, field);
|
|
6493
|
+
},
|
|
6494
|
+
type: 'brand', inputs: inputs,
|
|
6526
6495
|
values: vals, sectionLabels: sectionLabels,
|
|
6527
6496
|
fieldPropLabel: 'label',
|
|
6528
6497
|
selectedValues: [{
|
|
@@ -6574,7 +6543,7 @@ module.exports =
|
|
|
6574
6543
|
|
|
6575
6544
|
var _CSSTransitionGroup2 = _interopRequireDefault(_CSSTransitionGroup);
|
|
6576
6545
|
|
|
6577
|
-
var _nestedField = __webpack_require__(
|
|
6546
|
+
var _nestedField = __webpack_require__(120);
|
|
6578
6547
|
|
|
6579
6548
|
var _nestedField2 = _interopRequireDefault(_nestedField);
|
|
6580
6549
|
|
|
@@ -7248,6 +7217,242 @@ module.exports =
|
|
|
7248
7217
|
|
|
7249
7218
|
var _react2 = _interopRequireDefault(_react);
|
|
7250
7219
|
|
|
7220
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7221
|
+
|
|
7222
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
7223
|
+
|
|
7224
|
+
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; }
|
|
7225
|
+
|
|
7226
|
+
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; }
|
|
7227
|
+
|
|
7228
|
+
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } /**************************
|
|
7229
|
+
|
|
7230
|
+
Modal that opens when the gear icon of a resource is clicked in the object mappings step.
|
|
7231
|
+
If a resource has parameters, then their values can be filtered here
|
|
7232
|
+
|
|
7233
|
+
**************************/
|
|
7234
|
+
|
|
7235
|
+
var ParameterModal = function ParameterModal(props) {
|
|
7236
|
+
var inputs = props.inputs,
|
|
7237
|
+
resourceIndex = props.resourceIndex,
|
|
7238
|
+
resourceGroups = props.resourceGroups,
|
|
7239
|
+
resourceGroupIndex = props.resourceGroupIndex,
|
|
7240
|
+
hideModal = props.hideModal,
|
|
7241
|
+
change = props.change;
|
|
7242
|
+
|
|
7243
|
+
var Modal = inputs.Modal;
|
|
7244
|
+
|
|
7245
|
+
var rgs = [].concat(_toConsumableArray(resourceGroups));
|
|
7246
|
+
var group = rgs[resourceGroupIndex];
|
|
7247
|
+
var resource = group.resources[resourceIndex];
|
|
7248
|
+
|
|
7249
|
+
var addRow = function addRow(e, param, filterIndex) {
|
|
7250
|
+
if (e) {
|
|
7251
|
+
e.target.blur();
|
|
7252
|
+
}
|
|
7253
|
+
if (!resource.parameterFilters) resource.parameterFilters = [];
|
|
7254
|
+
resource.parameterFilters.splice(filterIndex, 0, {
|
|
7255
|
+
param: param, val: ''
|
|
7256
|
+
});
|
|
7257
|
+
change('resourceGroups', rgs);
|
|
7258
|
+
props.update();
|
|
7259
|
+
};
|
|
7260
|
+
|
|
7261
|
+
var updateParam = function updateParam(val, param, filterIndex) {
|
|
7262
|
+
resource.parameterFilters[filterIndex] = { param: param, val: val };
|
|
7263
|
+
change('resourceGroups', rgs);
|
|
7264
|
+
props.update();
|
|
7265
|
+
};
|
|
7266
|
+
|
|
7267
|
+
var deleteRow = function deleteRow(param, filterIndex) {
|
|
7268
|
+
resource.parameterFilters.splice(filterIndex, 1);
|
|
7269
|
+
change('resourceGroups', rgs);
|
|
7270
|
+
props.update();
|
|
7271
|
+
};
|
|
7272
|
+
|
|
7273
|
+
var pasteIntoParamTable = function pasteIntoParamTable(e, param, filterIndex) {
|
|
7274
|
+
e.clipboardData.items[0].getAsString(function (txt) {
|
|
7275
|
+
if (txt) {
|
|
7276
|
+
var columns = txt.split('\n');
|
|
7277
|
+
columns.forEach(function (c, idx) {
|
|
7278
|
+
var rows = c.split('\t');
|
|
7279
|
+
resource.parameterFilters[filterIndex + idx] = rows[0] ? {
|
|
7280
|
+
param: param, val: rows[0].trim()
|
|
7281
|
+
} : { param: param, val: '' };
|
|
7282
|
+
});
|
|
7283
|
+
change('resourceGroups', rgs);
|
|
7284
|
+
props.update();
|
|
7285
|
+
}
|
|
7286
|
+
});
|
|
7287
|
+
};
|
|
7288
|
+
|
|
7289
|
+
// do we need "parent rsc" of each foreign key field?
|
|
7290
|
+
var params = [];
|
|
7291
|
+
resource.parentRef.forEach(function (pr) {
|
|
7292
|
+
pr.foreignKeyFields.forEach(function (fkf) {
|
|
7293
|
+
params.push(fkf);
|
|
7294
|
+
});
|
|
7295
|
+
});
|
|
7296
|
+
|
|
7297
|
+
var totalFilterIndex = 0;
|
|
7298
|
+
|
|
7299
|
+
return _react2.default.createElement(
|
|
7300
|
+
Modal,
|
|
7301
|
+
{ opened: resource ? true : false, hideModal: hideModal, submitModal: hideModal,
|
|
7302
|
+
title: resource.name + ' Parameters' },
|
|
7303
|
+
_react2.default.createElement(
|
|
7304
|
+
'div',
|
|
7305
|
+
{ style: { overflow: 'scroll', maxHeight: '69vh', padding: '1em 2em' } },
|
|
7306
|
+
params.map(function (param, i) {
|
|
7307
|
+
var filtersForThisParam = resource.parameterFilters && resource.parameterFilters.filter(function (pf) {
|
|
7308
|
+
return pf.param === param;
|
|
7309
|
+
}) || [];
|
|
7310
|
+
totalFilterIndex += filtersForThisParam.length;
|
|
7311
|
+
return _react2.default.createElement(FilterGroup, { key: i, filtersForThisParam: filtersForThisParam,
|
|
7312
|
+
param: param, addRow: addRow, totalFilterIndex: totalFilterIndex,
|
|
7313
|
+
deleteRow: deleteRow, updateParam: updateParam, inputs: inputs,
|
|
7314
|
+
pasteIntoParamTable: pasteIntoParamTable });
|
|
7315
|
+
})
|
|
7316
|
+
)
|
|
7317
|
+
);
|
|
7318
|
+
};
|
|
7319
|
+
|
|
7320
|
+
var FilterGroup = function FilterGroup(props) {
|
|
7321
|
+
var filtersForThisParam = props.filtersForThisParam,
|
|
7322
|
+
param = props.param,
|
|
7323
|
+
addRow = props.addRow,
|
|
7324
|
+
updateParam = props.updateParam,
|
|
7325
|
+
deleteRow = props.deleteRow,
|
|
7326
|
+
pasteIntoParamTable = props.pasteIntoParamTable,
|
|
7327
|
+
inputs = props.inputs,
|
|
7328
|
+
totalFilterIndex = props.totalFilterIndex;
|
|
7329
|
+
|
|
7330
|
+
var Button = inputs.Button;
|
|
7331
|
+
|
|
7332
|
+
var addDisabled = filtersForThisParam && filtersForThisParam[filtersForThisParam.length - 1] && !filtersForThisParam[filtersForThisParam.length - 1].val ? true : false;
|
|
7333
|
+
|
|
7334
|
+
var groupStartIndex = totalFilterIndex - filtersForThisParam.length;
|
|
7335
|
+
|
|
7336
|
+
var addNewRowToEnd = function addNewRowToEnd(e, param) {
|
|
7337
|
+
return addRow(e, param, totalFilterIndex);
|
|
7338
|
+
};
|
|
7339
|
+
|
|
7340
|
+
return _react2.default.createElement(
|
|
7341
|
+
'div',
|
|
7342
|
+
{ style: { marginBottom: 8 }, className: 'add-param-filter' },
|
|
7343
|
+
_react2.default.createElement(
|
|
7344
|
+
Button,
|
|
7345
|
+
{
|
|
7346
|
+
onClick: function onClick() {
|
|
7347
|
+
return addNewRowToEnd(null, param);
|
|
7348
|
+
},
|
|
7349
|
+
disabled: addDisabled },
|
|
7350
|
+
'Add ',
|
|
7351
|
+
param,
|
|
7352
|
+
' Filter'
|
|
7353
|
+
),
|
|
7354
|
+
filtersForThisParam && filtersForThisParam.map(function (pf, ii) {
|
|
7355
|
+
return _react2.default.createElement(ParameterFilter, { key: ii, addRow: addNewRowToEnd,
|
|
7356
|
+
updateParam: updateParam, pf: pf,
|
|
7357
|
+
filterIndex: groupStartIndex + ii,
|
|
7358
|
+
inputs: inputs, addDisabled: addDisabled, deleteRow: deleteRow,
|
|
7359
|
+
pasteIntoParamTable: pasteIntoParamTable });
|
|
7360
|
+
})
|
|
7361
|
+
);
|
|
7362
|
+
};
|
|
7363
|
+
|
|
7364
|
+
var ParameterFilter = function (_Component) {
|
|
7365
|
+
_inherits(ParameterFilter, _Component);
|
|
7366
|
+
|
|
7367
|
+
function ParameterFilter() {
|
|
7368
|
+
_classCallCheck(this, ParameterFilter);
|
|
7369
|
+
|
|
7370
|
+
return _possibleConstructorReturn(this, (ParameterFilter.__proto__ || Object.getPrototypeOf(ParameterFilter)).apply(this, arguments));
|
|
7371
|
+
}
|
|
7372
|
+
|
|
7373
|
+
_createClass(ParameterFilter, [{
|
|
7374
|
+
key: 'componentDidMount',
|
|
7375
|
+
value: function componentDidMount() {
|
|
7376
|
+
this.incoming.focus();
|
|
7377
|
+
}
|
|
7378
|
+
}, {
|
|
7379
|
+
key: 'render',
|
|
7380
|
+
value: function render() {
|
|
7381
|
+
var _this2 = this;
|
|
7382
|
+
|
|
7383
|
+
var _props = this.props,
|
|
7384
|
+
addRow = _props.addRow,
|
|
7385
|
+
updateParam = _props.updateParam,
|
|
7386
|
+
inputs = _props.inputs,
|
|
7387
|
+
filterIndex = _props.filterIndex,
|
|
7388
|
+
pf = _props.pf,
|
|
7389
|
+
pasteIntoParamTable = _props.pasteIntoParamTable,
|
|
7390
|
+
addDisabled = _props.addDisabled,
|
|
7391
|
+
deleteRow = _props.deleteRow;
|
|
7392
|
+
|
|
7393
|
+
var Input = inputs.Input;
|
|
7394
|
+
return _react2.default.createElement(
|
|
7395
|
+
'div',
|
|
7396
|
+
{ style: { margin: '2px 0 3px 9px' } },
|
|
7397
|
+
_react2.default.createElement(
|
|
7398
|
+
'span',
|
|
7399
|
+
null,
|
|
7400
|
+
pf.param,
|
|
7401
|
+
'\xA0\xA0=\xA0\xA0'
|
|
7402
|
+
),
|
|
7403
|
+
_react2.default.createElement(Input, { type: 'text', style: { display: 'inline-block', width: 200 },
|
|
7404
|
+
onChange: function onChange(e, v) {
|
|
7405
|
+
return updateParam(v, pf.param, filterIndex);
|
|
7406
|
+
}, value: pf.val,
|
|
7407
|
+
onKeyPress: function onKeyPress(e) {
|
|
7408
|
+
if (e.key === 'Enter' && !addDisabled) addRow(e, pf.param);
|
|
7409
|
+
},
|
|
7410
|
+
inputRef: function inputRef(ref) {
|
|
7411
|
+
return _this2.incoming = ref;
|
|
7412
|
+
},
|
|
7413
|
+
onPaste: function onPaste(e) {
|
|
7414
|
+
return pasteIntoParamTable(e, pf.param, filterIndex);
|
|
7415
|
+
}
|
|
7416
|
+
}),
|
|
7417
|
+
_react2.default.createElement(
|
|
7418
|
+
'div',
|
|
7419
|
+
{ className: 'delete-parameter-row',
|
|
7420
|
+
onClick: function onClick() {
|
|
7421
|
+
return deleteRow(pf.param, filterIndex);
|
|
7422
|
+
} },
|
|
7423
|
+
_react2.default.createElement(
|
|
7424
|
+
'svg',
|
|
7425
|
+
{ className: 'delete-parameter-row-svg',
|
|
7426
|
+
style: { width: 18, height: 18 }, viewBox: '0 0 60 60' },
|
|
7427
|
+
_react2.default.createElement('path', { style: { strokeWidth: 5, strokeLinecap: 'round' },
|
|
7428
|
+
d: 'M 15.674663,15.572746 L 44.587629,44.485711 M 45.118838,15.420972 L 15.522889,45.016920' })
|
|
7429
|
+
)
|
|
7430
|
+
)
|
|
7431
|
+
);
|
|
7432
|
+
}
|
|
7433
|
+
}]);
|
|
7434
|
+
|
|
7435
|
+
return ParameterFilter;
|
|
7436
|
+
}(_react.Component);
|
|
7437
|
+
|
|
7438
|
+
exports.default = ParameterModal;
|
|
7439
|
+
|
|
7440
|
+
/***/ },
|
|
7441
|
+
/* 107 */
|
|
7442
|
+
/***/ function(module, exports, __webpack_require__) {
|
|
7443
|
+
|
|
7444
|
+
'use strict';
|
|
7445
|
+
|
|
7446
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7447
|
+
value: true
|
|
7448
|
+
});
|
|
7449
|
+
|
|
7450
|
+
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; }; }();
|
|
7451
|
+
|
|
7452
|
+
var _react = __webpack_require__(1);
|
|
7453
|
+
|
|
7454
|
+
var _react2 = _interopRequireDefault(_react);
|
|
7455
|
+
|
|
7251
7456
|
var _CSSTransitionGroup = __webpack_require__(39);
|
|
7252
7457
|
|
|
7253
7458
|
var _CSSTransitionGroup2 = _interopRequireDefault(_CSSTransitionGroup);
|
|
@@ -7258,7 +7463,7 @@ module.exports =
|
|
|
7258
7463
|
|
|
7259
7464
|
var _reduxForm = __webpack_require__(2);
|
|
7260
7465
|
|
|
7261
|
-
var _joinVenn = __webpack_require__(
|
|
7466
|
+
var _joinVenn = __webpack_require__(119);
|
|
7262
7467
|
|
|
7263
7468
|
var _joinVenn2 = _interopRequireDefault(_joinVenn);
|
|
7264
7469
|
|
|
@@ -7266,6 +7471,10 @@ module.exports =
|
|
|
7266
7471
|
|
|
7267
7472
|
var _selectWrapper2 = _interopRequireDefault(_selectWrapper);
|
|
7268
7473
|
|
|
7474
|
+
var _parameterModal = __webpack_require__(106);
|
|
7475
|
+
|
|
7476
|
+
var _parameterModal2 = _interopRequireDefault(_parameterModal);
|
|
7477
|
+
|
|
7269
7478
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
7270
7479
|
|
|
7271
7480
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -7285,16 +7494,25 @@ module.exports =
|
|
|
7285
7494
|
_this.state = {
|
|
7286
7495
|
yPositions: [],
|
|
7287
7496
|
currentlyBeingDragged: null,
|
|
7288
|
-
zIndexes: []
|
|
7497
|
+
zIndexes: [],
|
|
7498
|
+
parameterModalResourceIndex: null
|
|
7289
7499
|
};
|
|
7290
7500
|
_this.handleDragStart = _this.handleDragStart.bind(_this);
|
|
7291
7501
|
_this.handleDrag = _this.handleDrag.bind(_this);
|
|
7292
7502
|
_this.handleDragEnd = _this.handleDragEnd.bind(_this);
|
|
7293
7503
|
_this.raiseUp = _this.raiseUp.bind(_this);
|
|
7504
|
+
_this.hideModal = _this.hideModal.bind(_this);
|
|
7294
7505
|
return _this;
|
|
7295
7506
|
}
|
|
7296
7507
|
|
|
7297
7508
|
_createClass(SchemaAccordion, [{
|
|
7509
|
+
key: 'hideModal',
|
|
7510
|
+
value: function hideModal() {
|
|
7511
|
+
this.setState({
|
|
7512
|
+
parameterModalResourceIndex: null
|
|
7513
|
+
});
|
|
7514
|
+
}
|
|
7515
|
+
}, {
|
|
7298
7516
|
key: 'raiseUp',
|
|
7299
7517
|
value: function raiseUp(index) {
|
|
7300
7518
|
var _props = this.props,
|
|
@@ -7411,6 +7629,7 @@ module.exports =
|
|
|
7411
7629
|
overflowHidden = _props3.overflowHidden,
|
|
7412
7630
|
showOverflow = _props3.showOverflow,
|
|
7413
7631
|
step = _props3.step;
|
|
7632
|
+
var parameterModalResourceIndex = this.state.parameterModalResourceIndex;
|
|
7414
7633
|
|
|
7415
7634
|
|
|
7416
7635
|
var Tooltip = inputs.Tooltip;
|
|
@@ -7582,8 +7801,30 @@ module.exports =
|
|
|
7582
7801
|
),
|
|
7583
7802
|
_react2.default.createElement(
|
|
7584
7803
|
'div',
|
|
7585
|
-
{ style: { padding: '7px 0px 0px 5px', fontSize: '14px',
|
|
7586
|
-
|
|
7804
|
+
{ style: { padding: '7px 0px 0px 5px', fontSize: '14px',
|
|
7805
|
+
display: 'inline-block' } },
|
|
7806
|
+
_react2.default.createElement(
|
|
7807
|
+
'span',
|
|
7808
|
+
{ style: { maxWidth: 260, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', display: 'inline-block' } },
|
|
7809
|
+
rsc.provider === step.destinationProvider ? rsc.name + ' (' + step.destinationProvider + ')' : rsc.name
|
|
7810
|
+
),
|
|
7811
|
+
rsc.parentRef && rsc.parentRef.length > 0 && rsc.parentRef.some(function (pr) {
|
|
7812
|
+
return pr.foreignKeyFields && pr.foreignKeyFields.length > 0;
|
|
7813
|
+
}) && _react2.default.createElement(
|
|
7814
|
+
'div',
|
|
7815
|
+
{ className: 'accordion-panel-parameters',
|
|
7816
|
+
onClick: function onClick() {
|
|
7817
|
+
return _this3.setState({
|
|
7818
|
+
parameterModalResourceIndex: i
|
|
7819
|
+
});
|
|
7820
|
+
} },
|
|
7821
|
+
_react2.default.createElement(
|
|
7822
|
+
'svg',
|
|
7823
|
+
{ fill: '#FFFFFF', height: '28', viewBox: '0 0 24 24', width: '28' },
|
|
7824
|
+
_react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
|
|
7825
|
+
_react2.default.createElement('path', { d: 'M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm7-7H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-1.75 9c0 .23-.02.46-.05.68l1.48 1.16c.13.11.17.3.08.45l-1.4 2.42c-.09.15-.27.21-.43.15l-1.74-.7c-.36.28-.76.51-1.18.69l-.26 1.85c-.03.17-.18.3-.35.3h-2.8c-.17 0-.32-.13-.35-.29l-.26-1.85c-.43-.18-.82-.41-1.18-.69l-1.74.7c-.16.06-.34 0-.43-.15l-1.4-2.42c-.09-.15-.05-.34.08-.45l1.48-1.16c-.03-.23-.05-.46-.05-.69 0-.23.02-.46.05-.68l-1.48-1.16c-.13-.11-.17-.3-.08-.45l1.4-2.42c.09-.15.27-.21.43-.15l1.74.7c.36-.28.76-.51 1.18-.69l.26-1.85c.03-.17.18-.3.35-.3h2.8c.17 0 .32.13.35.29l.26 1.85c.43.18.82.41 1.18.69l1.74-.7c.16-.06.34 0 .43.15l1.4 2.42c.09.15.05.34-.08.45l-1.48 1.16c.03.23.05.46.05.69z' })
|
|
7826
|
+
)
|
|
7827
|
+
)
|
|
7587
7828
|
),
|
|
7588
7829
|
_react2.default.createElement(
|
|
7589
7830
|
'div',
|
|
@@ -7640,8 +7881,8 @@ module.exports =
|
|
|
7640
7881
|
)
|
|
7641
7882
|
),
|
|
7642
7883
|
_react2.default.createElement(_selectWrapper2.default, { label: primaryKeyLabel || 'Primary Join Key',
|
|
7643
|
-
onSelect: function onSelect(v,
|
|
7644
|
-
|
|
7884
|
+
onSelect: function onSelect(v, idx, field) {
|
|
7885
|
+
selectPrimaryKey(v, field, resourceGroupIndex, i);
|
|
7645
7886
|
},
|
|
7646
7887
|
onClick: showOverflow,
|
|
7647
7888
|
type: 'neutral', inputs: inputs,
|
|
@@ -7676,8 +7917,8 @@ module.exports =
|
|
|
7676
7917
|
)
|
|
7677
7918
|
),
|
|
7678
7919
|
_react2.default.createElement(_selectWrapper2.default, { label: joinKeyLabel || 'Join Key',
|
|
7679
|
-
onSelect: function onSelect(v,
|
|
7680
|
-
|
|
7920
|
+
onSelect: function onSelect(v, idx, field) {
|
|
7921
|
+
selectJoinKey(v, field, resourceGroupIndex, i);
|
|
7681
7922
|
},
|
|
7682
7923
|
onClick: showOverflow,
|
|
7683
7924
|
type: 'neutral', inputs: inputs,
|
|
@@ -7729,9 +7970,10 @@ module.exports =
|
|
|
7729
7970
|
'div',
|
|
7730
7971
|
{ style: { display: 'inline-block', marginLeft: 11 } },
|
|
7731
7972
|
_react2.default.createElement(_selectWrapper2.default, { label: 'Add Data Source', style: { height: 40 }, onClick: showOverflow,
|
|
7732
|
-
onSelect: function onSelect(v, i,
|
|
7733
|
-
addDefaultEntity(
|
|
7734
|
-
},
|
|
7973
|
+
onSelect: function onSelect(v, i, entity) {
|
|
7974
|
+
return addDefaultEntity(v, i, entity, resourceGroupIndex);
|
|
7975
|
+
},
|
|
7976
|
+
type: 'neutral', inputs: inputs
|
|
7735
7977
|
//selectedValues={resourceGroups && resourceGroups[resourceGroupIndex] &&
|
|
7736
7978
|
//resourceGroups[resourceGroupIndex].resources}
|
|
7737
7979
|
, values: !isReverse ? [sourceSchema, destinationSchema] : [destinationSchema, sourceSchema],
|
|
@@ -7796,6 +8038,17 @@ module.exports =
|
|
|
7796
8038
|
)
|
|
7797
8039
|
) : null
|
|
7798
8040
|
)
|
|
8041
|
+
),
|
|
8042
|
+
_react2.default.createElement(
|
|
8043
|
+
'div',
|
|
8044
|
+
{ className: 'parameter-modal' },
|
|
8045
|
+
resourceGroups && resourceGroups.length > 0 && (parameterModalResourceIndex || parameterModalResourceIndex === 0) && _react2.default.createElement(_parameterModal2.default, { inputs: inputs, hideModal: this.hideModal,
|
|
8046
|
+
resourceIndex: parameterModalResourceIndex,
|
|
8047
|
+
resourceGroups: resourceGroups, step: step, update: function update() {
|
|
8048
|
+
return _this3.forceUpdate();
|
|
8049
|
+
},
|
|
8050
|
+
resourceGroupIndex: resourceGroupIndex, change: this.props.change
|
|
8051
|
+
})
|
|
7799
8052
|
)
|
|
7800
8053
|
);
|
|
7801
8054
|
}
|
|
@@ -7807,7 +8060,7 @@ module.exports =
|
|
|
7807
8060
|
exports.default = SchemaAccordion;
|
|
7808
8061
|
|
|
7809
8062
|
/***/ },
|
|
7810
|
-
/*
|
|
8063
|
+
/* 108 */
|
|
7811
8064
|
/***/ function(module, exports, __webpack_require__) {
|
|
7812
8065
|
|
|
7813
8066
|
'use strict';
|
|
@@ -7836,7 +8089,13 @@ module.exports =
|
|
|
7836
8089
|
|
|
7837
8090
|
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; }
|
|
7838
8091
|
|
|
7839
|
-
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; }
|
|
8092
|
+
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; } /**************************
|
|
8093
|
+
|
|
8094
|
+
Modal that opens when a transformation icon is clicked in the Field Mapping table
|
|
8095
|
+
transformations are an array on the mapping object
|
|
8096
|
+
each transformation also has an array of args
|
|
8097
|
+
|
|
8098
|
+
**************************/
|
|
7840
8099
|
|
|
7841
8100
|
var TransformModal = function (_Component) {
|
|
7842
8101
|
_inherits(TransformModal, _Component);
|
|
@@ -7892,7 +8151,9 @@ module.exports =
|
|
|
7892
8151
|
}
|
|
7893
8152
|
}, {
|
|
7894
8153
|
key: 'changeConcatField',
|
|
7895
|
-
value: function changeConcatField(
|
|
8154
|
+
value: function changeConcatField(v, field, mappingIndex) {
|
|
8155
|
+
var section = field.section,
|
|
8156
|
+
parents = field.parents;
|
|
7896
8157
|
var _props2 = this.props,
|
|
7897
8158
|
change = _props2.change,
|
|
7898
8159
|
resourceGroups = _props2.resourceGroups,
|
|
@@ -7900,11 +8161,11 @@ module.exports =
|
|
|
7900
8161
|
|
|
7901
8162
|
var groups = [].concat(_toConsumableArray(resourceGroups));
|
|
7902
8163
|
var trans = resourceGroups[resourceGroupIndex].mappings[mappingIndex].transformations[0];
|
|
7903
|
-
var s =
|
|
8164
|
+
var s = section + '->';
|
|
7904
8165
|
parents && parents.forEach(function (p) {
|
|
7905
8166
|
s += p + '.';
|
|
7906
8167
|
});
|
|
7907
|
-
s +=
|
|
8168
|
+
s += v;
|
|
7908
8169
|
trans.args = trans.args || [];
|
|
7909
8170
|
trans.args[1] = s;
|
|
7910
8171
|
change('resourceGroups', groups);
|
|
@@ -8247,8 +8508,8 @@ module.exports =
|
|
|
8247
8508
|
if (label) sourceLabel += label;
|
|
8248
8509
|
|
|
8249
8510
|
return _react2.default.createElement(_selectWrapper2.default, { key: ta, label: sourceLabel || 'Choose Field',
|
|
8250
|
-
onSelect: function onSelect(v, iii,
|
|
8251
|
-
return _this3.changeConcatField(v,
|
|
8511
|
+
onSelect: function onSelect(v, iii, field) {
|
|
8512
|
+
return _this3.changeConcatField(v, field, mappingIndex);
|
|
8252
8513
|
},
|
|
8253
8514
|
inputs: inputs,
|
|
8254
8515
|
type: 'brand', fieldPropLabel: 'label',
|
|
@@ -8316,7 +8577,7 @@ module.exports =
|
|
|
8316
8577
|
exports.default = TransformModal;
|
|
8317
8578
|
|
|
8318
8579
|
/***/ },
|
|
8319
|
-
/*
|
|
8580
|
+
/* 109 */
|
|
8320
8581
|
/***/ function(module, exports, __webpack_require__) {
|
|
8321
8582
|
|
|
8322
8583
|
'use strict';
|
|
@@ -8519,7 +8780,7 @@ module.exports =
|
|
|
8519
8780
|
})(AdapterStep);
|
|
8520
8781
|
|
|
8521
8782
|
/***/ },
|
|
8522
|
-
/*
|
|
8783
|
+
/* 110 */
|
|
8523
8784
|
/***/ function(module, exports, __webpack_require__) {
|
|
8524
8785
|
|
|
8525
8786
|
'use strict';
|
|
@@ -8552,11 +8813,11 @@ module.exports =
|
|
|
8552
8813
|
|
|
8553
8814
|
var _moment2 = _interopRequireDefault(_moment);
|
|
8554
8815
|
|
|
8555
|
-
__webpack_require__(
|
|
8816
|
+
__webpack_require__(209);
|
|
8556
8817
|
|
|
8557
|
-
__webpack_require__(
|
|
8818
|
+
__webpack_require__(169);
|
|
8558
8819
|
|
|
8559
|
-
var _rcTimePicker = __webpack_require__(
|
|
8820
|
+
var _rcTimePicker = __webpack_require__(190);
|
|
8560
8821
|
|
|
8561
8822
|
var _rcTimePicker2 = _interopRequireDefault(_rcTimePicker);
|
|
8562
8823
|
|
|
@@ -8767,7 +9028,7 @@ module.exports =
|
|
|
8767
9028
|
})(DeployStep);
|
|
8768
9029
|
|
|
8769
9030
|
/***/ },
|
|
8770
|
-
/*
|
|
9031
|
+
/* 111 */
|
|
8771
9032
|
/***/ function(module, exports, __webpack_require__) {
|
|
8772
9033
|
|
|
8773
9034
|
'use strict';
|
|
@@ -8796,7 +9057,7 @@ module.exports =
|
|
|
8796
9057
|
|
|
8797
9058
|
var _loadData2 = _interopRequireDefault(_loadData);
|
|
8798
9059
|
|
|
8799
|
-
var _previewTabContent = __webpack_require__(
|
|
9060
|
+
var _previewTabContent = __webpack_require__(123);
|
|
8800
9061
|
|
|
8801
9062
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
8802
9063
|
|
|
@@ -8903,10 +9164,10 @@ module.exports =
|
|
|
8903
9164
|
|
|
8904
9165
|
if (credentials) {
|
|
8905
9166
|
actions.postCredentials(tenantId, accountId, step.providerType, endpoint, credentials, step.mode).then(function () {
|
|
8906
|
-
actions.
|
|
9167
|
+
actions.callGetMetadata(tenantId, accountId, step.mode, step.providerType, step.metadataEndpoint, step.metadataApi, endpoint || '_blank', step.credentials, step.isFramework);
|
|
8907
9168
|
});
|
|
8908
9169
|
} else {
|
|
8909
|
-
actions.
|
|
9170
|
+
actions.callGetMetadata(tenantId, accountId, step.mode, step.providerType, step.metadataEndpoint, step.metadataApi, endpoint || '_blank', step.credentials, step.isFramework);
|
|
8910
9171
|
}
|
|
8911
9172
|
}
|
|
8912
9173
|
}, {
|
|
@@ -8945,6 +9206,8 @@ module.exports =
|
|
|
8945
9206
|
return m.method === 'POST' || m.method === 'PUT';
|
|
8946
9207
|
});
|
|
8947
9208
|
|
|
9209
|
+
var hasEndpoint = formValues[step.mode + 'Endpoint'] && formValues[step.mode + 'Endpoint'].length > 8;
|
|
9210
|
+
|
|
8948
9211
|
return _react2.default.createElement(
|
|
8949
9212
|
'form',
|
|
8950
9213
|
{ onKeyPress: function onKeyPress(e) {
|
|
@@ -9072,7 +9335,8 @@ module.exports =
|
|
|
9072
9335
|
onClick: function onClick() {
|
|
9073
9336
|
return _this2.check();
|
|
9074
9337
|
},
|
|
9075
|
-
style: { marginLeft: 8, marginBottom: 2, height: 30, lineHeight: '10px' }
|
|
9338
|
+
style: { marginLeft: 8, marginBottom: 2, height: 30, lineHeight: '10px' },
|
|
9339
|
+
disabled: !hasEndpoint },
|
|
9076
9340
|
'Test Connection'
|
|
9077
9341
|
) : null,
|
|
9078
9342
|
_react2.default.createElement(
|
|
@@ -9124,7 +9388,7 @@ module.exports =
|
|
|
9124
9388
|
disabled: step.credentials.some(function (c) {
|
|
9125
9389
|
var formCreds = formValues[step.mode + 'Credentials'];
|
|
9126
9390
|
return !(formCreds && Object.keys(formCreds).includes(c.split(' ').join('')));
|
|
9127
|
-
}) },
|
|
9391
|
+
}) || !hasEndpoint },
|
|
9128
9392
|
'Test Connection'
|
|
9129
9393
|
)
|
|
9130
9394
|
)
|
|
@@ -9138,7 +9402,12 @@ module.exports =
|
|
|
9138
9402
|
{ className: 'labelz' },
|
|
9139
9403
|
'Available ',
|
|
9140
9404
|
step[step.mode + 'Provider'],
|
|
9141
|
-
' Data Objects
|
|
9405
|
+
' Data Objects',
|
|
9406
|
+
step.metadataEndpoint === 'testconnection' && _react2.default.createElement(
|
|
9407
|
+
'span',
|
|
9408
|
+
null,
|
|
9409
|
+
'\xA0(click to preview data):'
|
|
9410
|
+
)
|
|
9142
9411
|
),
|
|
9143
9412
|
_react2.default.createElement(
|
|
9144
9413
|
'ul',
|
|
@@ -9149,12 +9418,16 @@ module.exports =
|
|
|
9149
9418
|
return _react2.default.createElement(
|
|
9150
9419
|
'li',
|
|
9151
9420
|
{ key: i, style: { paddingLeft: rsc.parentRef ? rsc.parentRef.length * 12 + 10 : 10 } },
|
|
9152
|
-
_react2.default.createElement(
|
|
9421
|
+
step.metadataEndpoint === 'testconnection' ? _react2.default.createElement(
|
|
9153
9422
|
'a',
|
|
9154
9423
|
{ onClick: function onClick() {
|
|
9155
9424
|
return _this2.seeFields(rsc);
|
|
9156
9425
|
}, style: { textDecoration: 'none', cursor: 'pointer' } },
|
|
9157
9426
|
rsc.name
|
|
9427
|
+
) : _react2.default.createElement(
|
|
9428
|
+
'div',
|
|
9429
|
+
null,
|
|
9430
|
+
rsc.name
|
|
9158
9431
|
)
|
|
9159
9432
|
);
|
|
9160
9433
|
})
|
|
@@ -9215,7 +9488,7 @@ module.exports =
|
|
|
9215
9488
|
})(EnvironmentStep);
|
|
9216
9489
|
|
|
9217
9490
|
/***/ },
|
|
9218
|
-
/*
|
|
9491
|
+
/* 112 */
|
|
9219
9492
|
/***/ function(module, exports, __webpack_require__) {
|
|
9220
9493
|
|
|
9221
9494
|
'use strict';
|
|
@@ -9440,7 +9713,7 @@ module.exports =
|
|
|
9440
9713
|
})(FilterStep);
|
|
9441
9714
|
|
|
9442
9715
|
/***/ },
|
|
9443
|
-
/*
|
|
9716
|
+
/* 113 */
|
|
9444
9717
|
/***/ function(module, exports, __webpack_require__) {
|
|
9445
9718
|
|
|
9446
9719
|
'use strict';
|
|
@@ -9473,7 +9746,7 @@ module.exports =
|
|
|
9473
9746
|
|
|
9474
9747
|
var _groupNav2 = _interopRequireDefault(_groupNav);
|
|
9475
9748
|
|
|
9476
|
-
var _transformModal = __webpack_require__(
|
|
9749
|
+
var _transformModal = __webpack_require__(108);
|
|
9477
9750
|
|
|
9478
9751
|
var _transformModal2 = _interopRequireDefault(_transformModal);
|
|
9479
9752
|
|
|
@@ -9485,7 +9758,7 @@ module.exports =
|
|
|
9485
9758
|
|
|
9486
9759
|
var Rows = _interopRequireWildcard(_mapTableRows);
|
|
9487
9760
|
|
|
9488
|
-
var _newScenarioModal = __webpack_require__(
|
|
9761
|
+
var _newScenarioModal = __webpack_require__(121);
|
|
9489
9762
|
|
|
9490
9763
|
var _newScenarioModal2 = _interopRequireDefault(_newScenarioModal);
|
|
9491
9764
|
|
|
@@ -9729,7 +10002,7 @@ module.exports =
|
|
|
9729
10002
|
})(MapStep);
|
|
9730
10003
|
|
|
9731
10004
|
/***/ },
|
|
9732
|
-
/*
|
|
10005
|
+
/* 114 */
|
|
9733
10006
|
/***/ function(module, exports, __webpack_require__) {
|
|
9734
10007
|
|
|
9735
10008
|
'use strict';
|
|
@@ -9855,7 +10128,7 @@ module.exports =
|
|
|
9855
10128
|
})(NameStep);
|
|
9856
10129
|
|
|
9857
10130
|
/***/ },
|
|
9858
|
-
/*
|
|
10131
|
+
/* 115 */
|
|
9859
10132
|
/***/ function(module, exports, __webpack_require__) {
|
|
9860
10133
|
|
|
9861
10134
|
'use strict';
|
|
@@ -9953,7 +10226,7 @@ module.exports =
|
|
|
9953
10226
|
})(PhaseStep);
|
|
9954
10227
|
|
|
9955
10228
|
/***/ },
|
|
9956
|
-
/*
|
|
10229
|
+
/* 116 */
|
|
9957
10230
|
/***/ function(module, exports, __webpack_require__) {
|
|
9958
10231
|
|
|
9959
10232
|
'use strict';
|
|
@@ -10088,7 +10361,7 @@ module.exports =
|
|
|
10088
10361
|
})(PreviewStep);
|
|
10089
10362
|
|
|
10090
10363
|
/***/ },
|
|
10091
|
-
/*
|
|
10364
|
+
/* 117 */
|
|
10092
10365
|
/***/ function(module, exports, __webpack_require__) {
|
|
10093
10366
|
|
|
10094
10367
|
'use strict';
|
|
@@ -10324,7 +10597,7 @@ module.exports =
|
|
|
10324
10597
|
})(DefaultDatasetStep);
|
|
10325
10598
|
|
|
10326
10599
|
/***/ },
|
|
10327
|
-
/*
|
|
10600
|
+
/* 118 */
|
|
10328
10601
|
/***/ function(module, exports, __webpack_require__) {
|
|
10329
10602
|
|
|
10330
10603
|
'use strict';
|
|
@@ -10353,7 +10626,7 @@ module.exports =
|
|
|
10353
10626
|
|
|
10354
10627
|
var _loadData2 = _interopRequireDefault(_loadData);
|
|
10355
10628
|
|
|
10356
|
-
var _schemaAccordion = __webpack_require__(
|
|
10629
|
+
var _schemaAccordion = __webpack_require__(107);
|
|
10357
10630
|
|
|
10358
10631
|
var _schemaAccordion2 = _interopRequireDefault(_schemaAccordion);
|
|
10359
10632
|
|
|
@@ -10474,7 +10747,7 @@ module.exports =
|
|
|
10474
10747
|
}
|
|
10475
10748
|
}, {
|
|
10476
10749
|
key: 'addGroup',
|
|
10477
|
-
value: function addGroup(v, index,
|
|
10750
|
+
value: function addGroup(v, index, newGroup) {
|
|
10478
10751
|
var _props4 = this.props,
|
|
10479
10752
|
change = _props4.change,
|
|
10480
10753
|
formValues = _props4.formValues;
|
|
@@ -10485,15 +10758,15 @@ module.exports =
|
|
|
10485
10758
|
resourceGroups.splice(index, 0, {
|
|
10486
10759
|
name: v,
|
|
10487
10760
|
resources: null,
|
|
10488
|
-
recordTypeId: recordTypeId,
|
|
10489
|
-
provider: section
|
|
10761
|
+
recordTypeId: newGroup.recordTypeId,
|
|
10762
|
+
provider: newGroup.section
|
|
10490
10763
|
});
|
|
10491
10764
|
|
|
10492
10765
|
change('resourceGroups', resourceGroups);
|
|
10493
10766
|
}
|
|
10494
10767
|
}, {
|
|
10495
10768
|
key: 'addDefaultEntity',
|
|
10496
|
-
value: function addDefaultEntity(
|
|
10769
|
+
value: function addDefaultEntity(v, rscIndex, entity, groupIndex) {
|
|
10497
10770
|
var _props5 = this.props,
|
|
10498
10771
|
change = _props5.change,
|
|
10499
10772
|
formValues = _props5.formValues;
|
|
@@ -10510,7 +10783,7 @@ module.exports =
|
|
|
10510
10783
|
group.resources = [];
|
|
10511
10784
|
this.openConnectionModal(group, groupIndex);
|
|
10512
10785
|
}
|
|
10513
|
-
// ADD PARENTS AS WELL
|
|
10786
|
+
// ADD PARENTS AS WELL ?
|
|
10514
10787
|
/*if(parentRef && parentRef.length>0){
|
|
10515
10788
|
parentRef.forEach((pr,i)=>{
|
|
10516
10789
|
if(!(group.resources.find(r=>r.name===pr))){
|
|
@@ -10525,9 +10798,9 @@ module.exports =
|
|
|
10525
10798
|
}*/
|
|
10526
10799
|
group.resources.push(Object.assign({
|
|
10527
10800
|
name: v,
|
|
10528
|
-
provider: section,
|
|
10801
|
+
provider: entity.section,
|
|
10529
10802
|
joinType: 'LEFT JOIN'
|
|
10530
|
-
}, parentRef && { parentRef: parentRef },
|
|
10803
|
+
}, entity.parentRef && { parentRef: entity.parentRef }, entity.recordTypeId && { recordTypeId: entity.rtid }));
|
|
10531
10804
|
change('resourceGroups', resourceGroups);
|
|
10532
10805
|
this.forceUpdate();
|
|
10533
10806
|
}
|
|
@@ -10621,7 +10894,7 @@ module.exports =
|
|
|
10621
10894
|
}
|
|
10622
10895
|
}, {
|
|
10623
10896
|
key: 'selectPrimaryKey',
|
|
10624
|
-
value: function selectPrimaryKey(v,
|
|
10897
|
+
value: function selectPrimaryKey(v, field, rgi, i) {
|
|
10625
10898
|
var _props10 = this.props,
|
|
10626
10899
|
change = _props10.change,
|
|
10627
10900
|
formValues = _props10.formValues;
|
|
@@ -10629,13 +10902,13 @@ module.exports =
|
|
|
10629
10902
|
var resourceGroups = [].concat(_toConsumableArray(formValues['resourceGroups']));
|
|
10630
10903
|
var rsc = resourceGroups[rgi].resources[i];
|
|
10631
10904
|
rsc.primaryKeyName = v;
|
|
10632
|
-
rsc.primaryKeyParents = parents;
|
|
10905
|
+
rsc.primaryKeyParents = field.parents;
|
|
10633
10906
|
change('resourceGroups', resourceGroups);
|
|
10634
10907
|
this.forceUpdate();
|
|
10635
10908
|
}
|
|
10636
10909
|
}, {
|
|
10637
10910
|
key: 'selectJoinKey',
|
|
10638
|
-
value: function selectJoinKey(v,
|
|
10911
|
+
value: function selectJoinKey(v, field, rgi, i) {
|
|
10639
10912
|
var _props11 = this.props,
|
|
10640
10913
|
change = _props11.change,
|
|
10641
10914
|
formValues = _props11.formValues;
|
|
@@ -10643,7 +10916,7 @@ module.exports =
|
|
|
10643
10916
|
var resourceGroups = [].concat(_toConsumableArray(formValues['resourceGroups']));
|
|
10644
10917
|
var rsc = resourceGroups[rgi].resources[i];
|
|
10645
10918
|
rsc.joinKeyName = v;
|
|
10646
|
-
rsc.joinKeyParents = parents;
|
|
10919
|
+
rsc.joinKeyParents = field.parents;
|
|
10647
10920
|
change('resourceGroups', resourceGroups);
|
|
10648
10921
|
this.forceUpdate();
|
|
10649
10922
|
}
|
|
@@ -10737,7 +11010,8 @@ module.exports =
|
|
|
10737
11010
|
{ className: 'connect-modal' },
|
|
10738
11011
|
resourceGroups && resourceGroups.length > 0 && this.state.showModal && _react2.default.createElement(_connectModal2.default, { inputs: inputs, hideModal: this.hideModal,
|
|
10739
11012
|
bundle: this.state.selectedBundle, opened: this.state.showModal, change: change,
|
|
10740
|
-
resourceGroups: resourceGroups, step: step,
|
|
11013
|
+
resourceGroups: resourceGroups, step: step,
|
|
11014
|
+
bundleIndex: this.state.selectedBundleIndex,
|
|
10741
11015
|
sourceSchema: sourceSchema, destinationSchema: destinationSchema,
|
|
10742
11016
|
update: function update() {
|
|
10743
11017
|
return _this2.forceUpdate();
|
|
@@ -10763,7 +11037,7 @@ module.exports =
|
|
|
10763
11037
|
})(SchemaStep);
|
|
10764
11038
|
|
|
10765
11039
|
/***/ },
|
|
10766
|
-
/*
|
|
11040
|
+
/* 119 */
|
|
10767
11041
|
/***/ function(module, exports, __webpack_require__) {
|
|
10768
11042
|
|
|
10769
11043
|
'use strict';
|
|
@@ -10814,7 +11088,7 @@ module.exports =
|
|
|
10814
11088
|
exports.default = JoinVenn;
|
|
10815
11089
|
|
|
10816
11090
|
/***/ },
|
|
10817
|
-
/*
|
|
11091
|
+
/* 120 */
|
|
10818
11092
|
/***/ function(module, exports, __webpack_require__) {
|
|
10819
11093
|
|
|
10820
11094
|
'use strict';
|
|
@@ -10926,7 +11200,7 @@ module.exports =
|
|
|
10926
11200
|
exports.default = SourceField;
|
|
10927
11201
|
|
|
10928
11202
|
/***/ },
|
|
10929
|
-
/*
|
|
11203
|
+
/* 121 */
|
|
10930
11204
|
/***/ function(module, exports, __webpack_require__) {
|
|
10931
11205
|
|
|
10932
11206
|
'use strict';
|
|
@@ -10945,7 +11219,7 @@ module.exports =
|
|
|
10945
11219
|
|
|
10946
11220
|
var _saveData3 = _interopRequireDefault(_saveData2);
|
|
10947
11221
|
|
|
10948
|
-
var _objectAssignDeep = __webpack_require__(
|
|
11222
|
+
var _objectAssignDeep = __webpack_require__(122);
|
|
10949
11223
|
|
|
10950
11224
|
var _objectAssignDeep2 = _interopRequireDefault(_objectAssignDeep);
|
|
10951
11225
|
|
|
@@ -11027,10 +11301,9 @@ module.exports =
|
|
|
11027
11301
|
destinationMetadata = _props3.destinationMetadata,
|
|
11028
11302
|
sourceEndpoint = _props3.sourceEndpoint;
|
|
11029
11303
|
|
|
11030
|
-
var providers = { source: step.sourceProvider, destination: step.destinationProvider };
|
|
11031
11304
|
var clone = (0, _objectAssignDeep2.default)({}, { bundles: resourceGroups });
|
|
11032
11305
|
|
|
11033
|
-
var _saveData = (0, _saveData3.default)(clone.bundles,
|
|
11306
|
+
var _saveData = (0, _saveData3.default)(clone.bundles, step.destinationProvider, sourceMetadata, destinationMetadata, sourceEndpoint),
|
|
11034
11307
|
bundles = _saveData.bundles,
|
|
11035
11308
|
mappings = _saveData.mappings;
|
|
11036
11309
|
|
|
@@ -11215,7 +11488,7 @@ module.exports =
|
|
|
11215
11488
|
exports.default = TransformModal;
|
|
11216
11489
|
|
|
11217
11490
|
/***/ },
|
|
11218
|
-
/*
|
|
11491
|
+
/* 122 */
|
|
11219
11492
|
/***/ function(module, exports) {
|
|
11220
11493
|
|
|
11221
11494
|
'use strict';
|
|
@@ -11355,7 +11628,7 @@ module.exports =
|
|
|
11355
11628
|
exports.default = objectAssignDeep;
|
|
11356
11629
|
|
|
11357
11630
|
/***/ },
|
|
11358
|
-
/*
|
|
11631
|
+
/* 123 */
|
|
11359
11632
|
/***/ function(module, exports) {
|
|
11360
11633
|
|
|
11361
11634
|
'use strict';
|
|
@@ -11371,7 +11644,7 @@ module.exports =
|
|
|
11371
11644
|
}
|
|
11372
11645
|
|
|
11373
11646
|
/***/ },
|
|
11374
|
-
/*
|
|
11647
|
+
/* 124 */
|
|
11375
11648
|
/***/ function(module, exports, __webpack_require__) {
|
|
11376
11649
|
|
|
11377
11650
|
'use strict';
|
|
@@ -11396,43 +11669,43 @@ module.exports =
|
|
|
11396
11669
|
|
|
11397
11670
|
var _accountStep2 = _interopRequireDefault(_accountStep);
|
|
11398
11671
|
|
|
11399
|
-
var _phaseStep = __webpack_require__(
|
|
11672
|
+
var _phaseStep = __webpack_require__(115);
|
|
11400
11673
|
|
|
11401
11674
|
var _phaseStep2 = _interopRequireDefault(_phaseStep);
|
|
11402
11675
|
|
|
11403
|
-
var _environmentStep = __webpack_require__(
|
|
11676
|
+
var _environmentStep = __webpack_require__(111);
|
|
11404
11677
|
|
|
11405
11678
|
var _environmentStep2 = _interopRequireDefault(_environmentStep);
|
|
11406
11679
|
|
|
11407
|
-
var _schemaStep = __webpack_require__(
|
|
11680
|
+
var _schemaStep = __webpack_require__(118);
|
|
11408
11681
|
|
|
11409
11682
|
var _schemaStep2 = _interopRequireDefault(_schemaStep);
|
|
11410
11683
|
|
|
11411
|
-
var _filterStep = __webpack_require__(
|
|
11684
|
+
var _filterStep = __webpack_require__(112);
|
|
11412
11685
|
|
|
11413
11686
|
var _filterStep2 = _interopRequireDefault(_filterStep);
|
|
11414
11687
|
|
|
11415
|
-
var _mapStep = __webpack_require__(
|
|
11688
|
+
var _mapStep = __webpack_require__(113);
|
|
11416
11689
|
|
|
11417
11690
|
var _mapStep2 = _interopRequireDefault(_mapStep);
|
|
11418
11691
|
|
|
11419
|
-
var _previewStep = __webpack_require__(
|
|
11692
|
+
var _previewStep = __webpack_require__(116);
|
|
11420
11693
|
|
|
11421
11694
|
var _previewStep2 = _interopRequireDefault(_previewStep);
|
|
11422
11695
|
|
|
11423
|
-
var _deployStep = __webpack_require__(
|
|
11696
|
+
var _deployStep = __webpack_require__(110);
|
|
11424
11697
|
|
|
11425
11698
|
var _deployStep2 = _interopRequireDefault(_deployStep);
|
|
11426
11699
|
|
|
11427
|
-
var _nameStep = __webpack_require__(
|
|
11700
|
+
var _nameStep = __webpack_require__(114);
|
|
11428
11701
|
|
|
11429
11702
|
var _nameStep2 = _interopRequireDefault(_nameStep);
|
|
11430
11703
|
|
|
11431
|
-
var _adapterStep = __webpack_require__(
|
|
11704
|
+
var _adapterStep = __webpack_require__(109);
|
|
11432
11705
|
|
|
11433
11706
|
var _adapterStep2 = _interopRequireDefault(_adapterStep);
|
|
11434
11707
|
|
|
11435
|
-
var _scenarioStep = __webpack_require__(
|
|
11708
|
+
var _scenarioStep = __webpack_require__(117);
|
|
11436
11709
|
|
|
11437
11710
|
var _scenarioStep2 = _interopRequireDefault(_scenarioStep);
|
|
11438
11711
|
|
|
@@ -11459,10 +11732,9 @@ module.exports =
|
|
|
11459
11732
|
actions = _props.actions,
|
|
11460
11733
|
tenantId = _props.tenantId,
|
|
11461
11734
|
accountId = _props.accountId,
|
|
11462
|
-
|
|
11463
|
-
providers = _props.providers;
|
|
11735
|
+
wizardConfig = _props.wizardConfig;
|
|
11464
11736
|
|
|
11465
|
-
actions.callInit(tenantId, accountId, piGuid,
|
|
11737
|
+
actions.callInit(tenantId, accountId, piGuid, wizardConfig);
|
|
11466
11738
|
}
|
|
11467
11739
|
}]);
|
|
11468
11740
|
|
|
@@ -11508,7 +11780,7 @@ module.exports =
|
|
|
11508
11780
|
//resources: Type is the real value, Name is the displayed value
|
|
11509
11781
|
//properties: Name is the real value, Label is the displayed value
|
|
11510
11782
|
|
|
11511
|
-
var _saveData = (0, _saveData3.default)(formValues['resourceGroups'], this.props.
|
|
11783
|
+
var _saveData = (0, _saveData3.default)(formValues['resourceGroups'], this.props.wizardConfig.destination.type, this.props.wizard.sourceMetadata, this.props.wizard.destinationMetadata, formValues.sourceEndpoint),
|
|
11512
11784
|
bundles = _saveData.bundles,
|
|
11513
11785
|
mappings = _saveData.mappings,
|
|
11514
11786
|
endpoints = _saveData.endpoints;
|
|
@@ -11699,7 +11971,7 @@ module.exports =
|
|
|
11699
11971
|
exports.default = WizardForm;
|
|
11700
11972
|
|
|
11701
11973
|
/***/ },
|
|
11702
|
-
/*
|
|
11974
|
+
/* 125 */
|
|
11703
11975
|
/***/ function(module, exports, __webpack_require__) {
|
|
11704
11976
|
|
|
11705
11977
|
'use strict';
|
|
@@ -11714,7 +11986,7 @@ module.exports =
|
|
|
11714
11986
|
|
|
11715
11987
|
var _react2 = _interopRequireDefault(_react);
|
|
11716
11988
|
|
|
11717
|
-
var _redux = __webpack_require__(
|
|
11989
|
+
var _redux = __webpack_require__(210);
|
|
11718
11990
|
|
|
11719
11991
|
var _reactRedux = __webpack_require__(64);
|
|
11720
11992
|
|
|
@@ -11722,9 +11994,9 @@ module.exports =
|
|
|
11722
11994
|
|
|
11723
11995
|
var wizardActions = _interopRequireWildcard(_wizard);
|
|
11724
11996
|
|
|
11725
|
-
__webpack_require__(
|
|
11997
|
+
__webpack_require__(170);
|
|
11726
11998
|
|
|
11727
|
-
var _wizardForm = __webpack_require__(
|
|
11999
|
+
var _wizardForm = __webpack_require__(124);
|
|
11728
12000
|
|
|
11729
12001
|
var _wizardForm2 = _interopRequireDefault(_wizardForm);
|
|
11730
12002
|
|
|
@@ -11767,7 +12039,7 @@ module.exports =
|
|
|
11767
12039
|
mode: 'source'
|
|
11768
12040
|
}, {
|
|
11769
12041
|
type: 'environment',
|
|
11770
|
-
title: '
|
|
12042
|
+
title: 'Target Environment',
|
|
11771
12043
|
mode: 'destination'
|
|
11772
12044
|
}, {
|
|
11773
12045
|
type: 'filter',
|
|
@@ -11847,33 +12119,14 @@ module.exports =
|
|
|
11847
12119
|
stepList.push(step);
|
|
11848
12120
|
}
|
|
11849
12121
|
}
|
|
11850
|
-
var providers = {
|
|
11851
|
-
source: wizard.source.type,
|
|
11852
|
-
destination: wizard.destination.type,
|
|
11853
|
-
sourceCredentials: wizard.source.credentials,
|
|
11854
|
-
destinationCredentials: wizard.destination.credentials,
|
|
11855
|
-
skipSourceEnv: wizard.source.skipEnvStep,
|
|
11856
|
-
skipDestinationEnv: wizard.destination.skipEnvStep
|
|
11857
|
-
};
|
|
11858
|
-
var metadataEndpoints = {
|
|
11859
|
-
source: wizard.source.metadataEndpoint || null,
|
|
11860
|
-
sourceApi: wizard.source.metadataApi || null,
|
|
11861
|
-
destination: wizard.destination.metadataEndpoint || null,
|
|
11862
|
-
destinationApi: wizard.destination.metadataApi || null
|
|
11863
|
-
};
|
|
11864
12122
|
this.setState({
|
|
11865
|
-
steps: stepList
|
|
11866
|
-
providers: providers,
|
|
11867
|
-
metadataEndpoints: metadataEndpoints
|
|
12123
|
+
steps: stepList
|
|
11868
12124
|
});
|
|
11869
12125
|
}
|
|
11870
12126
|
}, {
|
|
11871
12127
|
key: 'render',
|
|
11872
12128
|
value: function render() {
|
|
11873
|
-
var
|
|
11874
|
-
steps = _state.steps,
|
|
11875
|
-
providers = _state.providers,
|
|
11876
|
-
metadataEndpoints = _state.metadataEndpoints;
|
|
12129
|
+
var steps = this.state.steps;
|
|
11877
12130
|
|
|
11878
12131
|
if (!steps) return _react2.default.createElement('div', null);
|
|
11879
12132
|
return _react2.default.createElement(
|
|
@@ -11884,9 +12137,7 @@ module.exports =
|
|
|
11884
12137
|
height: '100%'
|
|
11885
12138
|
} },
|
|
11886
12139
|
_react2.default.createElement(_wizardForm2.default, Object.assign({
|
|
11887
|
-
steps: steps
|
|
11888
|
-
providers: providers,
|
|
11889
|
-
metadataEndpoints: metadataEndpoints
|
|
12140
|
+
steps: steps
|
|
11890
12141
|
}, this.props))
|
|
11891
12142
|
);
|
|
11892
12143
|
}
|
|
@@ -11910,21 +12161,21 @@ module.exports =
|
|
|
11910
12161
|
exports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(LingkSync);
|
|
11911
12162
|
|
|
11912
12163
|
/***/ },
|
|
11913
|
-
/*
|
|
11914
|
-
/*
|
|
12164
|
+
/* 126 */,
|
|
12165
|
+
/* 127 */
|
|
11915
12166
|
/***/ function(module, exports, __webpack_require__) {
|
|
11916
12167
|
|
|
11917
|
-
module.exports = { "default": __webpack_require__(
|
|
12168
|
+
module.exports = { "default": __webpack_require__(132), __esModule: true };
|
|
11918
12169
|
|
|
11919
12170
|
/***/ },
|
|
11920
|
-
/*
|
|
12171
|
+
/* 128 */
|
|
11921
12172
|
/***/ function(module, exports, __webpack_require__) {
|
|
11922
12173
|
|
|
11923
|
-
module.exports = { "default": __webpack_require__(
|
|
12174
|
+
module.exports = { "default": __webpack_require__(133), __esModule: true };
|
|
11924
12175
|
|
|
11925
12176
|
/***/ },
|
|
11926
|
-
/*
|
|
11927
|
-
/*
|
|
12177
|
+
/* 129 */,
|
|
12178
|
+
/* 130 */
|
|
11928
12179
|
/***/ function(module, exports) {
|
|
11929
12180
|
|
|
11930
12181
|
"use strict";
|
|
@@ -11944,39 +12195,39 @@ module.exports =
|
|
|
11944
12195
|
};
|
|
11945
12196
|
|
|
11946
12197
|
/***/ },
|
|
11947
|
-
/*
|
|
11948
|
-
/*
|
|
12198
|
+
/* 131 */,
|
|
12199
|
+
/* 132 */
|
|
11949
12200
|
/***/ function(module, exports, __webpack_require__) {
|
|
11950
12201
|
|
|
11951
|
-
__webpack_require__(
|
|
12202
|
+
__webpack_require__(153);
|
|
11952
12203
|
module.exports = __webpack_require__(8).Object.assign;
|
|
11953
12204
|
|
|
11954
12205
|
/***/ },
|
|
11955
|
-
/*
|
|
12206
|
+
/* 133 */
|
|
11956
12207
|
/***/ function(module, exports, __webpack_require__) {
|
|
11957
12208
|
|
|
11958
|
-
__webpack_require__(
|
|
12209
|
+
__webpack_require__(154);
|
|
11959
12210
|
var $Object = __webpack_require__(8).Object;
|
|
11960
12211
|
module.exports = function defineProperty(it, key, desc){
|
|
11961
12212
|
return $Object.defineProperty(it, key, desc);
|
|
11962
12213
|
};
|
|
11963
12214
|
|
|
11964
12215
|
/***/ },
|
|
11965
|
-
/* 133 */,
|
|
11966
12216
|
/* 134 */,
|
|
11967
12217
|
/* 135 */,
|
|
11968
12218
|
/* 136 */,
|
|
11969
12219
|
/* 137 */,
|
|
11970
12220
|
/* 138 */,
|
|
11971
12221
|
/* 139 */,
|
|
11972
|
-
/* 140
|
|
12222
|
+
/* 140 */,
|
|
12223
|
+
/* 141 */
|
|
11973
12224
|
/***/ function(module, exports, __webpack_require__) {
|
|
11974
12225
|
|
|
11975
12226
|
'use strict';
|
|
11976
12227
|
// 19.1.2.1 Object.assign(target, source, ...)
|
|
11977
12228
|
var getKeys = __webpack_require__(32)
|
|
11978
|
-
, gOPS = __webpack_require__(
|
|
11979
|
-
, pIE = __webpack_require__(
|
|
12229
|
+
, gOPS = __webpack_require__(144)
|
|
12230
|
+
, pIE = __webpack_require__(146)
|
|
11980
12231
|
, toObject = __webpack_require__(35)
|
|
11981
12232
|
, IObject = __webpack_require__(30)
|
|
11982
12233
|
, $assign = Object.assign;
|
|
@@ -12007,37 +12258,37 @@ module.exports =
|
|
|
12007
12258
|
} : $assign;
|
|
12008
12259
|
|
|
12009
12260
|
/***/ },
|
|
12010
|
-
/* 141 */,
|
|
12011
12261
|
/* 142 */,
|
|
12012
|
-
/* 143
|
|
12262
|
+
/* 143 */,
|
|
12263
|
+
/* 144 */
|
|
12013
12264
|
/***/ function(module, exports) {
|
|
12014
12265
|
|
|
12015
12266
|
exports.f = Object.getOwnPropertySymbols;
|
|
12016
12267
|
|
|
12017
12268
|
/***/ },
|
|
12018
|
-
/*
|
|
12019
|
-
/*
|
|
12269
|
+
/* 145 */,
|
|
12270
|
+
/* 146 */
|
|
12020
12271
|
/***/ function(module, exports) {
|
|
12021
12272
|
|
|
12022
12273
|
exports.f = {}.propertyIsEnumerable;
|
|
12023
12274
|
|
|
12024
12275
|
/***/ },
|
|
12025
|
-
/* 146 */,
|
|
12026
12276
|
/* 147 */,
|
|
12027
12277
|
/* 148 */,
|
|
12028
12278
|
/* 149 */,
|
|
12029
12279
|
/* 150 */,
|
|
12030
12280
|
/* 151 */,
|
|
12031
|
-
/* 152
|
|
12281
|
+
/* 152 */,
|
|
12282
|
+
/* 153 */
|
|
12032
12283
|
/***/ function(module, exports, __webpack_require__) {
|
|
12033
12284
|
|
|
12034
12285
|
// 19.1.3.1 Object.assign(target, source)
|
|
12035
12286
|
var $export = __webpack_require__(23);
|
|
12036
12287
|
|
|
12037
|
-
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(
|
|
12288
|
+
$export($export.S + $export.F, 'Object', {assign: __webpack_require__(141)});
|
|
12038
12289
|
|
|
12039
12290
|
/***/ },
|
|
12040
|
-
/*
|
|
12291
|
+
/* 154 */
|
|
12041
12292
|
/***/ function(module, exports, __webpack_require__) {
|
|
12042
12293
|
|
|
12043
12294
|
var $export = __webpack_require__(23);
|
|
@@ -12045,10 +12296,10 @@ module.exports =
|
|
|
12045
12296
|
$export($export.S + $export.F * !__webpack_require__(9), 'Object', {defineProperty: __webpack_require__(18).f});
|
|
12046
12297
|
|
|
12047
12298
|
/***/ },
|
|
12048
|
-
/* 154 */,
|
|
12049
12299
|
/* 155 */,
|
|
12050
12300
|
/* 156 */,
|
|
12051
|
-
/* 157
|
|
12301
|
+
/* 157 */,
|
|
12302
|
+
/* 158 */
|
|
12052
12303
|
/***/ function(module, exports) {
|
|
12053
12304
|
|
|
12054
12305
|
|
|
@@ -12074,7 +12325,7 @@ module.exports =
|
|
|
12074
12325
|
|
|
12075
12326
|
|
|
12076
12327
|
/***/ },
|
|
12077
|
-
/*
|
|
12328
|
+
/* 159 */
|
|
12078
12329
|
/***/ function(module, exports, __webpack_require__) {
|
|
12079
12330
|
|
|
12080
12331
|
/**
|
|
@@ -12271,7 +12522,7 @@ module.exports =
|
|
|
12271
12522
|
|
|
12272
12523
|
|
|
12273
12524
|
/***/ },
|
|
12274
|
-
/*
|
|
12525
|
+
/* 160 */
|
|
12275
12526
|
/***/ function(module, exports) {
|
|
12276
12527
|
|
|
12277
12528
|
'use strict';
|
|
@@ -12364,7 +12615,7 @@ module.exports =
|
|
|
12364
12615
|
module.exports = exports['default'];
|
|
12365
12616
|
|
|
12366
12617
|
/***/ },
|
|
12367
|
-
/*
|
|
12618
|
+
/* 161 */
|
|
12368
12619
|
/***/ function(module, exports, __webpack_require__) {
|
|
12369
12620
|
|
|
12370
12621
|
'use strict';
|
|
@@ -12375,11 +12626,11 @@ module.exports =
|
|
|
12375
12626
|
|
|
12376
12627
|
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; };
|
|
12377
12628
|
|
|
12378
|
-
var _Event = __webpack_require__(
|
|
12629
|
+
var _Event = __webpack_require__(160);
|
|
12379
12630
|
|
|
12380
12631
|
var _Event2 = _interopRequireDefault(_Event);
|
|
12381
12632
|
|
|
12382
|
-
var _componentClasses = __webpack_require__(
|
|
12633
|
+
var _componentClasses = __webpack_require__(159);
|
|
12383
12634
|
|
|
12384
12635
|
var _componentClasses2 = _interopRequireDefault(_componentClasses);
|
|
12385
12636
|
|
|
@@ -12559,7 +12810,7 @@ module.exports =
|
|
|
12559
12810
|
module.exports = exports['default'];
|
|
12560
12811
|
|
|
12561
12812
|
/***/ },
|
|
12562
|
-
/*
|
|
12813
|
+
/* 162 */
|
|
12563
12814
|
/***/ function(module, exports, __webpack_require__) {
|
|
12564
12815
|
|
|
12565
12816
|
'use strict';
|
|
@@ -12619,7 +12870,7 @@ module.exports =
|
|
|
12619
12870
|
module.exports = exports['default'];
|
|
12620
12871
|
|
|
12621
12872
|
/***/ },
|
|
12622
|
-
/*
|
|
12873
|
+
/* 163 */
|
|
12623
12874
|
/***/ function(module, exports) {
|
|
12624
12875
|
|
|
12625
12876
|
'use strict';
|
|
@@ -12664,7 +12915,7 @@ module.exports =
|
|
|
12664
12915
|
module.exports = exports['default'];
|
|
12665
12916
|
|
|
12666
12917
|
/***/ },
|
|
12667
|
-
/*
|
|
12918
|
+
/* 164 */
|
|
12668
12919
|
/***/ function(module, exports, __webpack_require__) {
|
|
12669
12920
|
|
|
12670
12921
|
'use strict';
|
|
@@ -12673,7 +12924,7 @@ module.exports =
|
|
|
12673
12924
|
value: true
|
|
12674
12925
|
});
|
|
12675
12926
|
|
|
12676
|
-
var _getAlignOffset = __webpack_require__(
|
|
12927
|
+
var _getAlignOffset = __webpack_require__(163);
|
|
12677
12928
|
|
|
12678
12929
|
var _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);
|
|
12679
12930
|
|
|
@@ -12705,7 +12956,7 @@ module.exports =
|
|
|
12705
12956
|
module.exports = exports['default'];
|
|
12706
12957
|
|
|
12707
12958
|
/***/ },
|
|
12708
|
-
/*
|
|
12959
|
+
/* 165 */
|
|
12709
12960
|
/***/ function(module, exports, __webpack_require__) {
|
|
12710
12961
|
|
|
12711
12962
|
'use strict';
|
|
@@ -12746,7 +12997,7 @@ module.exports =
|
|
|
12746
12997
|
module.exports = exports['default'];
|
|
12747
12998
|
|
|
12748
12999
|
/***/ },
|
|
12749
|
-
/*
|
|
13000
|
+
/* 166 */
|
|
12750
13001
|
/***/ function(module, exports, __webpack_require__) {
|
|
12751
13002
|
|
|
12752
13003
|
'use strict';
|
|
@@ -12827,7 +13078,7 @@ module.exports =
|
|
|
12827
13078
|
module.exports = exports['default'];
|
|
12828
13079
|
|
|
12829
13080
|
/***/ },
|
|
12830
|
-
/*
|
|
13081
|
+
/* 167 */
|
|
12831
13082
|
/***/ function(module, exports, __webpack_require__) {
|
|
12832
13083
|
|
|
12833
13084
|
'use strict';
|
|
@@ -12844,19 +13095,19 @@ module.exports =
|
|
|
12844
13095
|
|
|
12845
13096
|
var _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);
|
|
12846
13097
|
|
|
12847
|
-
var _getVisibleRectForElement = __webpack_require__(
|
|
13098
|
+
var _getVisibleRectForElement = __webpack_require__(166);
|
|
12848
13099
|
|
|
12849
13100
|
var _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);
|
|
12850
13101
|
|
|
12851
|
-
var _adjustForViewport = __webpack_require__(
|
|
13102
|
+
var _adjustForViewport = __webpack_require__(162);
|
|
12852
13103
|
|
|
12853
13104
|
var _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);
|
|
12854
13105
|
|
|
12855
|
-
var _getRegion = __webpack_require__(
|
|
13106
|
+
var _getRegion = __webpack_require__(165);
|
|
12856
13107
|
|
|
12857
13108
|
var _getRegion2 = _interopRequireDefault(_getRegion);
|
|
12858
13109
|
|
|
12859
|
-
var _getElFuturePos = __webpack_require__(
|
|
13110
|
+
var _getElFuturePos = __webpack_require__(164);
|
|
12860
13111
|
|
|
12861
13112
|
var _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);
|
|
12862
13113
|
|
|
@@ -13058,7 +13309,7 @@ module.exports =
|
|
|
13058
13309
|
module.exports = exports['default'];
|
|
13059
13310
|
|
|
13060
13311
|
/***/ },
|
|
13061
|
-
/*
|
|
13312
|
+
/* 168 */
|
|
13062
13313
|
/***/ function(module, exports) {
|
|
13063
13314
|
|
|
13064
13315
|
'use strict';
|
|
@@ -13173,17 +13424,17 @@ module.exports =
|
|
|
13173
13424
|
}
|
|
13174
13425
|
|
|
13175
13426
|
/***/ },
|
|
13176
|
-
/*
|
|
13427
|
+
/* 169 */
|
|
13177
13428
|
/***/ function(module, exports) {
|
|
13178
13429
|
|
|
13179
13430
|
// removed by extract-text-webpack-plugin
|
|
13180
13431
|
|
|
13181
13432
|
/***/ },
|
|
13182
|
-
/*
|
|
13183
|
-
|
|
13184
|
-
/* 170 */,
|
|
13433
|
+
/* 170 */
|
|
13434
|
+
169,
|
|
13185
13435
|
/* 171 */,
|
|
13186
|
-
/* 172
|
|
13436
|
+
/* 172 */,
|
|
13437
|
+
/* 173 */
|
|
13187
13438
|
/***/ function(module, exports) {
|
|
13188
13439
|
|
|
13189
13440
|
'use strict';
|
|
@@ -13272,7 +13523,7 @@ module.exports =
|
|
|
13272
13523
|
|
|
13273
13524
|
|
|
13274
13525
|
/***/ },
|
|
13275
|
-
/*
|
|
13526
|
+
/* 174 */
|
|
13276
13527
|
/***/ function(module, exports, __webpack_require__) {
|
|
13277
13528
|
|
|
13278
13529
|
/**
|
|
@@ -13286,9 +13537,9 @@ module.exports =
|
|
|
13286
13537
|
|
|
13287
13538
|
'use strict';
|
|
13288
13539
|
|
|
13289
|
-
var emptyFunction = __webpack_require__(
|
|
13290
|
-
var invariant = __webpack_require__(
|
|
13291
|
-
var ReactPropTypesSecret = __webpack_require__(
|
|
13540
|
+
var emptyFunction = __webpack_require__(176);
|
|
13541
|
+
var invariant = __webpack_require__(177);
|
|
13542
|
+
var ReactPropTypesSecret = __webpack_require__(175);
|
|
13292
13543
|
|
|
13293
13544
|
module.exports = function() {
|
|
13294
13545
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
@@ -13337,7 +13588,7 @@ module.exports =
|
|
|
13337
13588
|
|
|
13338
13589
|
|
|
13339
13590
|
/***/ },
|
|
13340
|
-
/*
|
|
13591
|
+
/* 175 */
|
|
13341
13592
|
/***/ function(module, exports) {
|
|
13342
13593
|
|
|
13343
13594
|
/**
|
|
@@ -13357,7 +13608,7 @@ module.exports =
|
|
|
13357
13608
|
|
|
13358
13609
|
|
|
13359
13610
|
/***/ },
|
|
13360
|
-
/*
|
|
13611
|
+
/* 176 */
|
|
13361
13612
|
/***/ function(module, exports) {
|
|
13362
13613
|
|
|
13363
13614
|
"use strict";
|
|
@@ -13400,7 +13651,7 @@ module.exports =
|
|
|
13400
13651
|
module.exports = emptyFunction;
|
|
13401
13652
|
|
|
13402
13653
|
/***/ },
|
|
13403
|
-
/*
|
|
13654
|
+
/* 177 */
|
|
13404
13655
|
/***/ function(module, exports, __webpack_require__) {
|
|
13405
13656
|
|
|
13406
13657
|
/**
|
|
@@ -13460,7 +13711,7 @@ module.exports =
|
|
|
13460
13711
|
module.exports = invariant;
|
|
13461
13712
|
|
|
13462
13713
|
/***/ },
|
|
13463
|
-
/*
|
|
13714
|
+
/* 178 */
|
|
13464
13715
|
/***/ function(module, exports, __webpack_require__) {
|
|
13465
13716
|
|
|
13466
13717
|
'use strict';
|
|
@@ -13477,7 +13728,7 @@ module.exports =
|
|
|
13477
13728
|
|
|
13478
13729
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
13479
13730
|
|
|
13480
|
-
var _domAlign = __webpack_require__(
|
|
13731
|
+
var _domAlign = __webpack_require__(167);
|
|
13481
13732
|
|
|
13482
13733
|
var _domAlign2 = _interopRequireDefault(_domAlign);
|
|
13483
13734
|
|
|
@@ -13485,7 +13736,7 @@ module.exports =
|
|
|
13485
13736
|
|
|
13486
13737
|
var _addEventListener2 = _interopRequireDefault(_addEventListener);
|
|
13487
13738
|
|
|
13488
|
-
var _isWindow = __webpack_require__(
|
|
13739
|
+
var _isWindow = __webpack_require__(180);
|
|
13489
13740
|
|
|
13490
13741
|
var _isWindow2 = _interopRequireDefault(_isWindow);
|
|
13491
13742
|
|
|
@@ -13619,7 +13870,7 @@ module.exports =
|
|
|
13619
13870
|
module.exports = exports['default'];
|
|
13620
13871
|
|
|
13621
13872
|
/***/ },
|
|
13622
|
-
/*
|
|
13873
|
+
/* 179 */
|
|
13623
13874
|
/***/ function(module, exports, __webpack_require__) {
|
|
13624
13875
|
|
|
13625
13876
|
'use strict';
|
|
@@ -13628,7 +13879,7 @@ module.exports =
|
|
|
13628
13879
|
value: true
|
|
13629
13880
|
});
|
|
13630
13881
|
|
|
13631
|
-
var _Align = __webpack_require__(
|
|
13882
|
+
var _Align = __webpack_require__(178);
|
|
13632
13883
|
|
|
13633
13884
|
var _Align2 = _interopRequireDefault(_Align);
|
|
13634
13885
|
|
|
@@ -13639,7 +13890,7 @@ module.exports =
|
|
|
13639
13890
|
module.exports = exports['default'];
|
|
13640
13891
|
|
|
13641
13892
|
/***/ },
|
|
13642
|
-
/*
|
|
13893
|
+
/* 180 */
|
|
13643
13894
|
/***/ function(module, exports) {
|
|
13644
13895
|
|
|
13645
13896
|
"use strict";
|
|
@@ -13656,7 +13907,7 @@ module.exports =
|
|
|
13656
13907
|
module.exports = exports['default'];
|
|
13657
13908
|
|
|
13658
13909
|
/***/ },
|
|
13659
|
-
/*
|
|
13910
|
+
/* 181 */
|
|
13660
13911
|
/***/ function(module, exports, __webpack_require__) {
|
|
13661
13912
|
|
|
13662
13913
|
'use strict';
|
|
@@ -13671,9 +13922,9 @@ module.exports =
|
|
|
13671
13922
|
|
|
13672
13923
|
var _react2 = _interopRequireDefault(_react);
|
|
13673
13924
|
|
|
13674
|
-
var _ChildrenUtils = __webpack_require__(
|
|
13925
|
+
var _ChildrenUtils = __webpack_require__(183);
|
|
13675
13926
|
|
|
13676
|
-
var _AnimateChild = __webpack_require__(
|
|
13927
|
+
var _AnimateChild = __webpack_require__(182);
|
|
13677
13928
|
|
|
13678
13929
|
var _AnimateChild2 = _interopRequireDefault(_AnimateChild);
|
|
13679
13930
|
|
|
@@ -13992,7 +14243,7 @@ module.exports =
|
|
|
13992
14243
|
module.exports = exports['default'];
|
|
13993
14244
|
|
|
13994
14245
|
/***/ },
|
|
13995
|
-
/*
|
|
14246
|
+
/* 182 */
|
|
13996
14247
|
/***/ function(module, exports, __webpack_require__) {
|
|
13997
14248
|
|
|
13998
14249
|
'use strict';
|
|
@@ -14011,7 +14262,7 @@ module.exports =
|
|
|
14011
14262
|
|
|
14012
14263
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
14013
14264
|
|
|
14014
|
-
var _cssAnimation = __webpack_require__(
|
|
14265
|
+
var _cssAnimation = __webpack_require__(161);
|
|
14015
14266
|
|
|
14016
14267
|
var _cssAnimation2 = _interopRequireDefault(_cssAnimation);
|
|
14017
14268
|
|
|
@@ -14103,7 +14354,7 @@ module.exports =
|
|
|
14103
14354
|
module.exports = exports['default'];
|
|
14104
14355
|
|
|
14105
14356
|
/***/ },
|
|
14106
|
-
/*
|
|
14357
|
+
/* 183 */
|
|
14107
14358
|
/***/ function(module, exports, __webpack_require__) {
|
|
14108
14359
|
|
|
14109
14360
|
'use strict';
|
|
@@ -14225,16 +14476,16 @@ module.exports =
|
|
|
14225
14476
|
}
|
|
14226
14477
|
|
|
14227
14478
|
/***/ },
|
|
14228
|
-
/*
|
|
14479
|
+
/* 184 */
|
|
14229
14480
|
/***/ function(module, exports, __webpack_require__) {
|
|
14230
14481
|
|
|
14231
14482
|
'use strict';
|
|
14232
14483
|
|
|
14233
14484
|
// export this package's api
|
|
14234
|
-
module.exports = __webpack_require__(
|
|
14485
|
+
module.exports = __webpack_require__(181);
|
|
14235
14486
|
|
|
14236
14487
|
/***/ },
|
|
14237
|
-
/*
|
|
14488
|
+
/* 185 */
|
|
14238
14489
|
/***/ function(module, exports, __webpack_require__) {
|
|
14239
14490
|
|
|
14240
14491
|
'use strict';
|
|
@@ -14247,7 +14498,7 @@ module.exports =
|
|
|
14247
14498
|
|
|
14248
14499
|
var _react2 = _interopRequireDefault(_react);
|
|
14249
14500
|
|
|
14250
|
-
var _Select = __webpack_require__(
|
|
14501
|
+
var _Select = __webpack_require__(188);
|
|
14251
14502
|
|
|
14252
14503
|
var _Select2 = _interopRequireDefault(_Select);
|
|
14253
14504
|
|
|
@@ -14471,7 +14722,7 @@ module.exports =
|
|
|
14471
14722
|
module.exports = exports['default'];
|
|
14472
14723
|
|
|
14473
14724
|
/***/ },
|
|
14474
|
-
/*
|
|
14725
|
+
/* 186 */
|
|
14475
14726
|
/***/ function(module, exports, __webpack_require__) {
|
|
14476
14727
|
|
|
14477
14728
|
'use strict';
|
|
@@ -14667,7 +14918,7 @@ module.exports =
|
|
|
14667
14918
|
module.exports = exports['default'];
|
|
14668
14919
|
|
|
14669
14920
|
/***/ },
|
|
14670
|
-
/*
|
|
14921
|
+
/* 187 */
|
|
14671
14922
|
/***/ function(module, exports, __webpack_require__) {
|
|
14672
14923
|
|
|
14673
14924
|
'use strict';
|
|
@@ -14684,11 +14935,11 @@ module.exports =
|
|
|
14684
14935
|
|
|
14685
14936
|
var _react2 = _interopRequireDefault(_react);
|
|
14686
14937
|
|
|
14687
|
-
var _Header = __webpack_require__(
|
|
14938
|
+
var _Header = __webpack_require__(186);
|
|
14688
14939
|
|
|
14689
14940
|
var _Header2 = _interopRequireDefault(_Header);
|
|
14690
14941
|
|
|
14691
|
-
var _Combobox = __webpack_require__(
|
|
14942
|
+
var _Combobox = __webpack_require__(185);
|
|
14692
14943
|
|
|
14693
14944
|
var _Combobox2 = _interopRequireDefault(_Combobox);
|
|
14694
14945
|
|
|
@@ -14861,7 +15112,7 @@ module.exports =
|
|
|
14861
15112
|
module.exports = exports['default'];
|
|
14862
15113
|
|
|
14863
15114
|
/***/ },
|
|
14864
|
-
/*
|
|
15115
|
+
/* 188 */
|
|
14865
15116
|
/***/ function(module, exports, __webpack_require__) {
|
|
14866
15117
|
|
|
14867
15118
|
'use strict';
|
|
@@ -15022,7 +15273,7 @@ module.exports =
|
|
|
15022
15273
|
module.exports = exports['default'];
|
|
15023
15274
|
|
|
15024
15275
|
/***/ },
|
|
15025
|
-
/*
|
|
15276
|
+
/* 189 */
|
|
15026
15277
|
/***/ function(module, exports, __webpack_require__) {
|
|
15027
15278
|
|
|
15028
15279
|
'use strict';
|
|
@@ -15035,15 +15286,15 @@ module.exports =
|
|
|
15035
15286
|
|
|
15036
15287
|
var _react2 = _interopRequireDefault(_react);
|
|
15037
15288
|
|
|
15038
|
-
var _rcTrigger = __webpack_require__(
|
|
15289
|
+
var _rcTrigger = __webpack_require__(195);
|
|
15039
15290
|
|
|
15040
15291
|
var _rcTrigger2 = _interopRequireDefault(_rcTrigger);
|
|
15041
15292
|
|
|
15042
|
-
var _Panel = __webpack_require__(
|
|
15293
|
+
var _Panel = __webpack_require__(187);
|
|
15043
15294
|
|
|
15044
15295
|
var _Panel2 = _interopRequireDefault(_Panel);
|
|
15045
15296
|
|
|
15046
|
-
var _placements = __webpack_require__(
|
|
15297
|
+
var _placements = __webpack_require__(191);
|
|
15047
15298
|
|
|
15048
15299
|
var _placements2 = _interopRequireDefault(_placements);
|
|
15049
15300
|
|
|
@@ -15325,7 +15576,7 @@ module.exports =
|
|
|
15325
15576
|
module.exports = exports['default'];
|
|
15326
15577
|
|
|
15327
15578
|
/***/ },
|
|
15328
|
-
/*
|
|
15579
|
+
/* 190 */
|
|
15329
15580
|
/***/ function(module, exports, __webpack_require__) {
|
|
15330
15581
|
|
|
15331
15582
|
'use strict';
|
|
@@ -15334,7 +15585,7 @@ module.exports =
|
|
|
15334
15585
|
value: true
|
|
15335
15586
|
});
|
|
15336
15587
|
|
|
15337
|
-
var _TimePicker = __webpack_require__(
|
|
15588
|
+
var _TimePicker = __webpack_require__(189);
|
|
15338
15589
|
|
|
15339
15590
|
var _TimePicker2 = _interopRequireDefault(_TimePicker);
|
|
15340
15591
|
|
|
@@ -15344,7 +15595,7 @@ module.exports =
|
|
|
15344
15595
|
module.exports = exports['default'];
|
|
15345
15596
|
|
|
15346
15597
|
/***/ },
|
|
15347
|
-
/*
|
|
15598
|
+
/* 191 */
|
|
15348
15599
|
/***/ function(module, exports) {
|
|
15349
15600
|
|
|
15350
15601
|
'use strict';
|
|
@@ -15390,7 +15641,7 @@ module.exports =
|
|
|
15390
15641
|
module.exports = exports['default'];
|
|
15391
15642
|
|
|
15392
15643
|
/***/ },
|
|
15393
|
-
/*
|
|
15644
|
+
/* 192 */
|
|
15394
15645
|
/***/ function(module, exports, __webpack_require__) {
|
|
15395
15646
|
|
|
15396
15647
|
'use strict';
|
|
@@ -15411,15 +15662,15 @@ module.exports =
|
|
|
15411
15662
|
|
|
15412
15663
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
15413
15664
|
|
|
15414
|
-
var _rcAlign = __webpack_require__(
|
|
15665
|
+
var _rcAlign = __webpack_require__(179);
|
|
15415
15666
|
|
|
15416
15667
|
var _rcAlign2 = _interopRequireDefault(_rcAlign);
|
|
15417
15668
|
|
|
15418
|
-
var _rcAnimate = __webpack_require__(
|
|
15669
|
+
var _rcAnimate = __webpack_require__(184);
|
|
15419
15670
|
|
|
15420
15671
|
var _rcAnimate2 = _interopRequireDefault(_rcAnimate);
|
|
15421
15672
|
|
|
15422
|
-
var _PopupInner = __webpack_require__(
|
|
15673
|
+
var _PopupInner = __webpack_require__(193);
|
|
15423
15674
|
|
|
15424
15675
|
var _PopupInner2 = _interopRequireDefault(_PopupInner);
|
|
15425
15676
|
|
|
@@ -15621,7 +15872,7 @@ module.exports =
|
|
|
15621
15872
|
module.exports = exports['default'];
|
|
15622
15873
|
|
|
15623
15874
|
/***/ },
|
|
15624
|
-
/*
|
|
15875
|
+
/* 193 */
|
|
15625
15876
|
/***/ function(module, exports, __webpack_require__) {
|
|
15626
15877
|
|
|
15627
15878
|
'use strict';
|
|
@@ -15678,7 +15929,7 @@ module.exports =
|
|
|
15678
15929
|
module.exports = exports['default'];
|
|
15679
15930
|
|
|
15680
15931
|
/***/ },
|
|
15681
|
-
/*
|
|
15932
|
+
/* 194 */
|
|
15682
15933
|
/***/ function(module, exports, __webpack_require__) {
|
|
15683
15934
|
|
|
15684
15935
|
'use strict';
|
|
@@ -15699,7 +15950,7 @@ module.exports =
|
|
|
15699
15950
|
|
|
15700
15951
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
15701
15952
|
|
|
15702
|
-
var _contains = __webpack_require__(
|
|
15953
|
+
var _contains = __webpack_require__(197);
|
|
15703
15954
|
|
|
15704
15955
|
var _contains2 = _interopRequireDefault(_contains);
|
|
15705
15956
|
|
|
@@ -15707,13 +15958,13 @@ module.exports =
|
|
|
15707
15958
|
|
|
15708
15959
|
var _addEventListener2 = _interopRequireDefault(_addEventListener);
|
|
15709
15960
|
|
|
15710
|
-
var _Popup = __webpack_require__(
|
|
15961
|
+
var _Popup = __webpack_require__(192);
|
|
15711
15962
|
|
|
15712
15963
|
var _Popup2 = _interopRequireDefault(_Popup);
|
|
15713
15964
|
|
|
15714
|
-
var _utils = __webpack_require__(
|
|
15965
|
+
var _utils = __webpack_require__(196);
|
|
15715
15966
|
|
|
15716
|
-
var _getContainerRenderMixin = __webpack_require__(
|
|
15967
|
+
var _getContainerRenderMixin = __webpack_require__(198);
|
|
15717
15968
|
|
|
15718
15969
|
var _getContainerRenderMixin2 = _interopRequireDefault(_getContainerRenderMixin);
|
|
15719
15970
|
|
|
@@ -16177,15 +16428,15 @@ module.exports =
|
|
|
16177
16428
|
module.exports = exports['default'];
|
|
16178
16429
|
|
|
16179
16430
|
/***/ },
|
|
16180
|
-
/*
|
|
16431
|
+
/* 195 */
|
|
16181
16432
|
/***/ function(module, exports, __webpack_require__) {
|
|
16182
16433
|
|
|
16183
16434
|
'use strict';
|
|
16184
16435
|
|
|
16185
|
-
module.exports = __webpack_require__(
|
|
16436
|
+
module.exports = __webpack_require__(194);
|
|
16186
16437
|
|
|
16187
16438
|
/***/ },
|
|
16188
|
-
/*
|
|
16439
|
+
/* 196 */
|
|
16189
16440
|
/***/ function(module, exports, __webpack_require__) {
|
|
16190
16441
|
|
|
16191
16442
|
'use strict';
|
|
@@ -16225,7 +16476,7 @@ module.exports =
|
|
|
16225
16476
|
}
|
|
16226
16477
|
|
|
16227
16478
|
/***/ },
|
|
16228
|
-
/*
|
|
16479
|
+
/* 197 */
|
|
16229
16480
|
/***/ function(module, exports) {
|
|
16230
16481
|
|
|
16231
16482
|
"use strict";
|
|
@@ -16248,7 +16499,7 @@ module.exports =
|
|
|
16248
16499
|
module.exports = exports['default'];
|
|
16249
16500
|
|
|
16250
16501
|
/***/ },
|
|
16251
|
-
/*
|
|
16502
|
+
/* 198 */
|
|
16252
16503
|
/***/ function(module, exports, __webpack_require__) {
|
|
16253
16504
|
|
|
16254
16505
|
'use strict';
|
|
@@ -16353,8 +16604,8 @@ module.exports =
|
|
|
16353
16604
|
module.exports = exports['default'];
|
|
16354
16605
|
|
|
16355
16606
|
/***/ },
|
|
16356
|
-
/*
|
|
16357
|
-
/*
|
|
16607
|
+
/* 199 */,
|
|
16608
|
+
/* 200 */
|
|
16358
16609
|
/***/ function(module, exports, __webpack_require__) {
|
|
16359
16610
|
|
|
16360
16611
|
'use strict';
|
|
@@ -16363,19 +16614,19 @@ module.exports =
|
|
|
16363
16614
|
|
|
16364
16615
|
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; };
|
|
16365
16616
|
|
|
16366
|
-
var _addClass = __webpack_require__(
|
|
16617
|
+
var _addClass = __webpack_require__(202);
|
|
16367
16618
|
|
|
16368
16619
|
var _addClass2 = _interopRequireDefault(_addClass);
|
|
16369
16620
|
|
|
16370
|
-
var _removeClass = __webpack_require__(
|
|
16621
|
+
var _removeClass = __webpack_require__(204);
|
|
16371
16622
|
|
|
16372
16623
|
var _removeClass2 = _interopRequireDefault(_removeClass);
|
|
16373
16624
|
|
|
16374
|
-
var _requestAnimationFrame = __webpack_require__(
|
|
16625
|
+
var _requestAnimationFrame = __webpack_require__(206);
|
|
16375
16626
|
|
|
16376
16627
|
var _requestAnimationFrame2 = _interopRequireDefault(_requestAnimationFrame);
|
|
16377
16628
|
|
|
16378
|
-
var _properties = __webpack_require__(
|
|
16629
|
+
var _properties = __webpack_require__(205);
|
|
16379
16630
|
|
|
16380
16631
|
var _react = __webpack_require__(1);
|
|
16381
16632
|
|
|
@@ -16588,7 +16839,7 @@ module.exports =
|
|
|
16588
16839
|
module.exports = exports['default'];
|
|
16589
16840
|
|
|
16590
16841
|
/***/ },
|
|
16591
|
-
/*
|
|
16842
|
+
/* 201 */
|
|
16592
16843
|
/***/ function(module, exports, __webpack_require__) {
|
|
16593
16844
|
|
|
16594
16845
|
'use strict';
|
|
@@ -16597,7 +16848,7 @@ module.exports =
|
|
|
16597
16848
|
|
|
16598
16849
|
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; };
|
|
16599
16850
|
|
|
16600
|
-
var _chainFunction = __webpack_require__(
|
|
16851
|
+
var _chainFunction = __webpack_require__(158);
|
|
16601
16852
|
|
|
16602
16853
|
var _chainFunction2 = _interopRequireDefault(_chainFunction);
|
|
16603
16854
|
|
|
@@ -16609,11 +16860,11 @@ module.exports =
|
|
|
16609
16860
|
|
|
16610
16861
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
|
16611
16862
|
|
|
16612
|
-
var _warning = __webpack_require__(
|
|
16863
|
+
var _warning = __webpack_require__(208);
|
|
16613
16864
|
|
|
16614
16865
|
var _warning2 = _interopRequireDefault(_warning);
|
|
16615
16866
|
|
|
16616
|
-
var _ChildMapping = __webpack_require__(
|
|
16867
|
+
var _ChildMapping = __webpack_require__(207);
|
|
16617
16868
|
|
|
16618
16869
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16619
16870
|
|
|
@@ -16865,7 +17116,7 @@ module.exports =
|
|
|
16865
17116
|
module.exports = exports['default'];
|
|
16866
17117
|
|
|
16867
17118
|
/***/ },
|
|
16868
|
-
/*
|
|
17119
|
+
/* 202 */
|
|
16869
17120
|
/***/ function(module, exports, __webpack_require__) {
|
|
16870
17121
|
|
|
16871
17122
|
'use strict';
|
|
@@ -16875,7 +17126,7 @@ module.exports =
|
|
|
16875
17126
|
});
|
|
16876
17127
|
exports.default = addClass;
|
|
16877
17128
|
|
|
16878
|
-
var _hasClass = __webpack_require__(
|
|
17129
|
+
var _hasClass = __webpack_require__(203);
|
|
16879
17130
|
|
|
16880
17131
|
var _hasClass2 = _interopRequireDefault(_hasClass);
|
|
16881
17132
|
|
|
@@ -16887,7 +17138,7 @@ module.exports =
|
|
|
16887
17138
|
module.exports = exports['default'];
|
|
16888
17139
|
|
|
16889
17140
|
/***/ },
|
|
16890
|
-
/*
|
|
17141
|
+
/* 203 */
|
|
16891
17142
|
/***/ function(module, exports) {
|
|
16892
17143
|
|
|
16893
17144
|
"use strict";
|
|
@@ -16902,7 +17153,7 @@ module.exports =
|
|
|
16902
17153
|
module.exports = exports["default"];
|
|
16903
17154
|
|
|
16904
17155
|
/***/ },
|
|
16905
|
-
/*
|
|
17156
|
+
/* 204 */
|
|
16906
17157
|
/***/ function(module, exports) {
|
|
16907
17158
|
|
|
16908
17159
|
'use strict';
|
|
@@ -16912,7 +17163,7 @@ module.exports =
|
|
|
16912
17163
|
};
|
|
16913
17164
|
|
|
16914
17165
|
/***/ },
|
|
16915
|
-
/*
|
|
17166
|
+
/* 205 */
|
|
16916
17167
|
/***/ function(module, exports, __webpack_require__) {
|
|
16917
17168
|
|
|
16918
17169
|
'use strict';
|
|
@@ -17027,7 +17278,7 @@ module.exports =
|
|
|
17027
17278
|
}
|
|
17028
17279
|
|
|
17029
17280
|
/***/ },
|
|
17030
|
-
/*
|
|
17281
|
+
/* 206 */
|
|
17031
17282
|
/***/ function(module, exports, __webpack_require__) {
|
|
17032
17283
|
|
|
17033
17284
|
'use strict';
|
|
@@ -17085,7 +17336,7 @@ module.exports =
|
|
|
17085
17336
|
module.exports = exports['default'];
|
|
17086
17337
|
|
|
17087
17338
|
/***/ },
|
|
17088
|
-
/*
|
|
17339
|
+
/* 207 */
|
|
17089
17340
|
/***/ function(module, exports, __webpack_require__) {
|
|
17090
17341
|
|
|
17091
17342
|
'use strict';
|
|
@@ -17181,7 +17432,7 @@ module.exports =
|
|
|
17181
17432
|
}
|
|
17182
17433
|
|
|
17183
17434
|
/***/ },
|
|
17184
|
-
/*
|
|
17435
|
+
/* 208 */
|
|
17185
17436
|
/***/ function(module, exports, __webpack_require__) {
|
|
17186
17437
|
|
|
17187
17438
|
/**
|
|
@@ -17247,13 +17498,13 @@ module.exports =
|
|
|
17247
17498
|
|
|
17248
17499
|
|
|
17249
17500
|
/***/ },
|
|
17250
|
-
/*
|
|
17501
|
+
/* 209 */
|
|
17251
17502
|
/***/ function(module, exports) {
|
|
17252
17503
|
|
|
17253
17504
|
module.exports = require("moment-timezone");
|
|
17254
17505
|
|
|
17255
17506
|
/***/ },
|
|
17256
|
-
/*
|
|
17507
|
+
/* 210 */
|
|
17257
17508
|
/***/ function(module, exports) {
|
|
17258
17509
|
|
|
17259
17510
|
module.exports = require("redux");
|