@lingk/sync 1.0.57 → 1.0.58

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.
@@ -58,6 +58,13 @@ module.exports =
58
58
 
59
59
  /***/ },
60
60
 
61
+ /***/ 2:
62
+ /***/ function(module, exports) {
63
+
64
+ module.exports = require("redux-form");
65
+
66
+ /***/ },
67
+
61
68
  /***/ 41:
62
69
  /***/ function(module, exports) {
63
70
 
@@ -726,7 +733,8 @@ module.exports =
726
733
  checking = _props.checking,
727
734
  inputs = _props.inputs,
728
735
  envCheckResult = _props.envCheckResult,
729
- clearCsvFields = _props.clearCsvFields;
736
+ clearCsvFields = _props.clearCsvFields,
737
+ formValues = _props.formValues;
730
738
 
731
739
 
732
740
  var Button = inputs.Button;
@@ -769,7 +777,8 @@ module.exports =
769
777
  return getOauthUrl(urlType, providerType);
770
778
  },
771
779
  checkOauthCreds: checkOauthCreds, envCheckResult: envCheckResult,
772
- checking: checking, inputs: inputs }) : isFlatFile ? _react2.default.createElement(_flatfile2.default, { wizard: wizard, onCheck: check, metadata: metadata,
780
+ checking: checking, inputs: inputs, formValues: formValues,
781
+ isWiz: _react2.default.Children.count(this.props.children) > 0 }) : isFlatFile ? _react2.default.createElement(_flatfile2.default, { wizard: wizard, onCheck: check, metadata: metadata,
773
782
  checking: checking, setCsvFields: setCsvFields,
774
783
  providerType: providerType, inputs: inputs,
775
784
  accountKey: accountKey, tenantKey: tenantKey,
@@ -944,6 +953,8 @@ module.exports =
944
953
 
945
954
  var _react2 = _interopRequireDefault(_react);
946
955
 
956
+ var _reduxForm = __webpack_require__(2);
957
+
947
958
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
948
959
 
949
960
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -1006,7 +1017,9 @@ module.exports =
1006
1017
  checking = _props.checking,
1007
1018
  creds = _props.creds,
1008
1019
  inputs = _props.inputs,
1009
- envCheckResult = _props.envCheckResult;
1020
+ envCheckResult = _props.envCheckResult,
1021
+ formValues = _props.formValues,
1022
+ isWiz = _props.isWiz;
1010
1023
 
1011
1024
  var Spinner = inputs.Spinner;
1012
1025
  var Button = inputs.Button;
@@ -1067,7 +1080,7 @@ module.exports =
1067
1080
  Button,
1068
1081
  { type: 'brand',
1069
1082
  onClick: function onClick() {
1070
- return onCheck(creds);
1083
+ return onCheck(creds, formValues.includeSystemResources ? '?all=true' : '');
1071
1084
  },
1072
1085
  style: Object.assign({ marginLeft: 8 }, btnStyle) },
1073
1086
  _react2.default.createElement(
@@ -1088,6 +1101,15 @@ module.exports =
1088
1101
  envCheckResult
1089
1102
  )
1090
1103
  ),
1104
+ isWiz && _react2.default.createElement(
1105
+ 'div',
1106
+ { style: { display: 'inline-block', marginLeft: 12 } },
1107
+ _react2.default.createElement(_reduxForm.Field, { style: { height: 19, margin: 0 },
1108
+ label: 'Include System Resources',
1109
+ component: inputs.rfCheckbox,
1110
+ checked: formValues.includeSystemResources ? true : false,
1111
+ name: 'includeSystemResources' })
1112
+ ),
1091
1113
  wizard.gettingOauthUrl && _react2.default.createElement(
1092
1114
  'div',
1093
1115
  null,