@lingk/sync 1.0.66 → 1.0.68

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,13 +58,6 @@ module.exports =
58
58
 
59
59
  /***/ },
60
60
 
61
- /***/ 2:
62
- /***/ function(module, exports) {
63
-
64
- module.exports = require("redux-form");
65
-
66
- /***/ },
67
-
68
61
  /***/ 41:
69
62
  /***/ function(module, exports) {
70
63
 
@@ -734,7 +727,8 @@ module.exports =
734
727
  inputs = _props.inputs,
735
728
  envCheckResult = _props.envCheckResult,
736
729
  clearCsvFields = _props.clearCsvFields,
737
- formValues = _props.formValues;
730
+ formValues = _props.formValues,
731
+ change = _props.change;
738
732
 
739
733
 
740
734
  var Button = inputs.Button;
@@ -771,7 +765,7 @@ module.exports =
771
765
  { style: { marginBottom: 16 } },
772
766
  config.message
773
767
  ) : _react2.default.createElement('div', { style: { height: 13 } }),
774
- isOauth ? _react2.default.createElement(_oauth2.default, { wizard: wizard, onCheck: check,
768
+ isOauth ? _react2.default.createElement(_oauth2.default, { wizard: wizard, onCheck: check, change: change,
775
769
  creds: this.props.creds, providerType: providerType,
776
770
  onGenerateUrl: function onGenerateUrl(urlType) {
777
771
  return getOauthUrl(urlType, providerType);
@@ -953,8 +947,6 @@ module.exports =
953
947
 
954
948
  var _react2 = _interopRequireDefault(_react);
955
949
 
956
- var _reduxForm = __webpack_require__(2);
957
-
958
950
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
959
951
 
960
952
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -1019,12 +1011,14 @@ module.exports =
1019
1011
  inputs = _props.inputs,
1020
1012
  envCheckResult = _props.envCheckResult,
1021
1013
  formValues = _props.formValues,
1022
- isWiz = _props.isWiz;
1014
+ isWiz = _props.isWiz,
1015
+ change = _props.change;
1023
1016
 
1024
1017
  var Spinner = inputs.Spinner;
1025
1018
  var Button = inputs.Button;
1026
1019
  var userName = creds && creds.userName;
1027
1020
  var btnStyle = { height: 30, lineHeight: '11px', marginTop: -1 };
1021
+ var ToggleButtonGroup = inputs.ToggleButtonGroup;
1028
1022
  return _react2.default.createElement(
1029
1023
  'div',
1030
1024
  null,
@@ -1103,12 +1097,20 @@ module.exports =
1103
1097
  ),
1104
1098
  isWiz && _react2.default.createElement(
1105
1099
  'div',
1106
- { style: { display: 'inline-block', marginLeft: 15 } },
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' })
1100
+ { style: { display: 'inline-block', marginLeft: 20, width: 150, verticalAlign: 'top', marginTop: -11 } },
1101
+ _react2.default.createElement(
1102
+ 'span',
1103
+ { className: 'labelz' },
1104
+ 'Metadata:'
1105
+ ),
1106
+ '\xA0\xA0',
1107
+ _react2.default.createElement(ToggleButtonGroup, { style: { height: 19, margin: 0 },
1108
+ options: ['Default', 'All Resources'],
1109
+ handleToggle: function handleToggle(e) {
1110
+ change('includeSystemResources', e === 'All Resources');
1111
+ },
1112
+ value: formValues.includeSystemResources ? 'All Resources' : 'Default'
1113
+ })
1112
1114
  ),
1113
1115
  wizard.gettingOauthUrl && _react2.default.createElement(
1114
1116
  'div',