@lingk/sync 2.0.13 → 2.0.15

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.
@@ -5019,10 +5019,7 @@ module.exports =
5019
5019
  style: {
5020
5020
  height: 30,
5021
5021
  lineHeight: "10px",
5022
- marginTop: -1,
5023
- position: "absolute",
5024
- top: 130,
5025
- left: 850
5022
+ marginTop: 15
5026
5023
  },
5027
5024
  onClick: this.startOauth,
5028
5025
  disabled: credsDisabledCheck
@@ -5233,29 +5230,6 @@ module.exports =
5233
5230
  },
5234
5231
  "Production"
5235
5232
  ),
5236
- _react2.default.createElement(
5237
- Button,
5238
- {
5239
- type: "brand",
5240
- onClick: function onClick() {
5241
- return onCheck(creds);
5242
- },
5243
- style: Object.assign({ marginLeft: 8 }, btnStyle)
5244
- },
5245
- _react2.default.createElement(
5246
- "span",
5247
- {
5248
- style: {
5249
- display: "inline-block",
5250
- verticalAlign: "top",
5251
- marginTop: 3
5252
- }
5253
- },
5254
- "Test Connection"
5255
- ),
5256
- "\xA0\xA0",
5257
- _react2.default.createElement(Loop, null)
5258
- ),
5259
5233
  _react2.default.createElement(
5260
5234
  "div",
5261
5235
  { style: { display: "inline-block", marginLeft: 12 } },
@@ -5263,8 +5237,6 @@ module.exports =
5263
5237
  envCheckResult && _react2.default.createElement(
5264
5238
  "span",
5265
5239
  null,
5266
- envCheckResult,
5267
- " ",
5268
5240
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
5269
5241
  )
5270
5242
  )
@@ -5917,7 +5889,7 @@ module.exports =
5917
5889
  /* 70 */
5918
5890
  /***/ function(module, exports, __webpack_require__) {
5919
5891
 
5920
- 'use strict';
5892
+ "use strict";
5921
5893
 
5922
5894
  Object.defineProperty(exports, "__esModule", {
5923
5895
  value: true
@@ -5941,13 +5913,13 @@ module.exports =
5941
5913
 
5942
5914
  // SKIP ON SERVER-SIDE RENDERING
5943
5915
  var codemirror = null;
5944
- if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
5916
+ if (typeof window !== "undefined" && typeof window.navigator !== "undefined") {
5945
5917
  codemirror = __webpack_require__(39);
5946
5918
  __webpack_require__(30);
5947
5919
  }
5948
5920
 
5949
5921
  function unCamelize(text) {
5950
- return text.replace(/([A-Z])/g, ' $1').replace(/^./, function (str) {
5922
+ return text.replace(/([A-Z])/g, " $1").replace(/^./, function (str) {
5951
5923
  return str.toUpperCase();
5952
5924
  });
5953
5925
  }
@@ -5967,7 +5939,7 @@ module.exports =
5967
5939
  }
5968
5940
 
5969
5941
  _createClass(Google, [{
5970
- key: 'render',
5942
+ key: "render",
5971
5943
  value: function render() {
5972
5944
  var _this2 = this;
5973
5945
 
@@ -5988,93 +5960,101 @@ module.exports =
5988
5960
  var Spinner = inputs.Spinner;
5989
5961
  var CodeMirror = codemirror && codemirror.Controlled;
5990
5962
 
5991
- var CloudSQLTypes = [{ name: 'Postgres', satisfiesSearch: true, type: 'Postgres', title: 'Postgres' }, { name: 'MySQL', satisfiesSearch: true, type: 'MySQL', title: 'MySQL' }];
5963
+ var CloudSQLTypes = [{
5964
+ name: "Postgres",
5965
+ satisfiesSearch: true,
5966
+ type: "Postgres",
5967
+ title: "Postgres"
5968
+ }, { name: "MySQL", satisfiesSearch: true, type: "MySQL", title: "MySQL" }];
5992
5969
 
5993
- var onlyJson = config.credentials && config.credentials.length === 1 && config.credentials[0] === 'json';
5970
+ var onlyJson = config.credentials && config.credentials.length === 1 && config.credentials[0] === "json";
5994
5971
 
5995
5972
  return _react2.default.createElement(
5996
- 'div',
5973
+ "div",
5997
5974
  null,
5998
5975
  config.credentials && _react2.default.createElement(
5999
- 'div',
5976
+ "div",
6000
5977
  { style: { marginLeft: 1 } },
6001
5978
  _react2.default.createElement(
6002
- 'label',
6003
- { htmlFor: 'creds' },
5979
+ "label",
5980
+ { htmlFor: "creds" },
6004
5981
  config.label || config.type,
6005
- ' Credentials'
5982
+ " Credentials"
6006
5983
  ),
6007
- _react2.default.createElement('br', null),
5984
+ _react2.default.createElement("br", null),
6008
5985
  _react2.default.createElement(
6009
- 'div',
6010
- { style: { display: 'inline-block', marginLeft: 16, width: '100%' } },
5986
+ "div",
5987
+ {
5988
+ style: { display: "inline-block", marginLeft: 16, width: "100%" }
5989
+ },
6011
5990
  config.credentials.map(function (credType, index) {
6012
5991
  return _react2.default.createElement(
6013
- 'div',
6014
- { key: index, style: { marginTop: 8, width: '100%' } },
5992
+ "div",
5993
+ { key: index, style: { marginTop: 8, width: "100%" } },
6015
5994
  _react2.default.createElement(
6016
- 'label',
6017
- { htmlFor: credType, className: 'labelz', style: { fontWeight: 'normal' } },
6018
- credType !== 'json' ? unCamelize(credType) : 'API key (paste json or drag-and-drop file)'
5995
+ "label",
5996
+ {
5997
+ htmlFor: credType,
5998
+ className: "labelz",
5999
+ style: { fontWeight: "normal" }
6000
+ },
6001
+ credType !== "json" ? unCamelize(credType) : "API key (paste json or drag-and-drop file)"
6019
6002
  ),
6020
- _react2.default.createElement('br', null),
6021
- credType !== 'json' ? _react2.default.createElement(
6022
- 'div',
6023
- { style: { display: 'inline-block', width: credType !== 'databaseType' ? 300 : 164 } },
6024
- credType !== 'databaseType' ? _react2.default.createElement(Input, { name: credType,
6025
- datatype: credType === 'password' && !_this2.state.showPass ? 'password' : null,
6026
- value: creds[credType] || '', onChange: onChange }) : _react2.default.createElement(Select, { vals: CloudSQLTypes, fieldPropLabel: 'name',
6027
- label: creds[credType] || 'Database Types',
6003
+ _react2.default.createElement("br", null),
6004
+ credType !== "json" ? _react2.default.createElement(
6005
+ "div",
6006
+ {
6007
+ style: {
6008
+ display: "inline-block",
6009
+ width: credType !== "databaseType" ? 300 : 164
6010
+ }
6011
+ },
6012
+ credType !== "databaseType" ? _react2.default.createElement(Input, {
6013
+ name: credType,
6014
+ datatype: credType === "password" && !_this2.state.showPass ? "password" : null,
6015
+ value: creds[credType] || "",
6016
+ onChange: onChange
6017
+ }) : _react2.default.createElement(Select, {
6018
+ vals: CloudSQLTypes,
6019
+ fieldPropLabel: "name",
6020
+ label: creds[credType] || "Database Types",
6028
6021
  onSelect: function onSelect(v) {
6029
6022
  return onChange({ target: { name: credType, value: v } });
6030
6023
  },
6031
- size: 'small', style: { width: 160, height: 31, textAlign: 'left' }
6024
+ size: "small",
6025
+ style: {
6026
+ width: 160,
6027
+ height: 31,
6028
+ textAlign: "left"
6029
+ }
6032
6030
  })
6033
- ) : _react2.default.createElement(CodeMirror, { value: creds[credType],
6034
- className: 'env-creds-json-codemirror',
6031
+ ) : _react2.default.createElement(CodeMirror, {
6032
+ value: creds[credType],
6033
+ className: "env-creds-json-codemirror",
6035
6034
  options: {
6036
6035
  lineNumbers: true,
6037
- theme: 'default',
6038
- mode: 'javascript',
6036
+ theme: "default",
6037
+ mode: "javascript",
6039
6038
  dragDrop: true
6040
6039
  },
6041
6040
  onBeforeChange: function onBeforeChange(e, d, v) {
6042
6041
  return onChange({ target: { name: credType, value: v } });
6043
6042
  }
6044
6043
  }),
6045
- credType === 'password' && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
6044
+ credType === "password" && _react2.default.createElement(Key, {
6045
+ showPass: _this2.state.showPass,
6046
6046
  onClick: function onClick() {
6047
6047
  return _this2.setState({ showPass: !_this2.state.showPass });
6048
6048
  }
6049
6049
  }),
6050
- index === 0 && _react2.default.createElement(
6051
- Button,
6052
- { type: 'brand',
6053
- onClick: function onClick() {
6054
- return onCheck(creds);
6055
- },
6056
- style: { marginLeft: onlyJson ? 0 : 8, marginTop: onlyJson ? 8 : 0,
6057
- marginBottom: 2, height: 30, lineHeight: '10px'
6058
- },
6059
- disabled: credsDisabledCheck },
6060
- _react2.default.createElement(
6061
- 'span',
6062
- { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
6063
- 'Test Connection'
6064
- ),
6065
- '\xA0\xA0',
6066
- _react2.default.createElement(Loop, null)
6067
- ),
6068
6050
  index === 0 && checking && _react2.default.createElement(
6069
- 'span',
6051
+ "span",
6070
6052
  { style: { marginLeft: 10 } },
6071
6053
  _react2.default.createElement(Spinner, null)
6072
6054
  ),
6073
6055
  index === 0 && envCheckResult && _react2.default.createElement(
6074
- 'span',
6056
+ "span",
6075
6057
  { style: { marginLeft: 10 } },
6076
- envCheckResult,
6077
- ' ',
6078
6058
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
6079
6059
  )
6080
6060
  );
@@ -6090,11 +6070,16 @@ module.exports =
6090
6070
 
6091
6071
  var Loop = function Loop() {
6092
6072
  return _react2.default.createElement(
6093
- 'svg',
6094
- { fill: '#FFFFFF', height: '18', viewBox: '0 0 24 24', width: '18',
6095
- style: { marginTop: -1 } },
6096
- _react2.default.createElement('path', { d: 'M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z' }),
6097
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
6073
+ "svg",
6074
+ {
6075
+ fill: "#FFFFFF",
6076
+ height: "18",
6077
+ viewBox: "0 0 24 24",
6078
+ width: "18",
6079
+ style: { marginTop: -1 }
6080
+ },
6081
+ _react2.default.createElement("path", { d: "M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z" }),
6082
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
6098
6083
  );
6099
6084
  };
6100
6085
 
@@ -6103,11 +6088,17 @@ module.exports =
6103
6088
  showPass = _ref.showPass;
6104
6089
 
6105
6090
  return _react2.default.createElement(
6106
- 'svg',
6107
- { onClick: onClick, style: showPass ? { fill: '#3a91dcb3' } : {},
6108
- height: '24', width: '24', className: 'pass-key-svg', viewBox: '0 0 24 24' },
6109
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
6110
- _react2.default.createElement('path', { d: 'M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z' })
6091
+ "svg",
6092
+ {
6093
+ onClick: onClick,
6094
+ style: showPass ? { fill: "#3a91dcb3" } : {},
6095
+ height: "24",
6096
+ width: "24",
6097
+ className: "pass-key-svg",
6098
+ viewBox: "0 0 24 24"
6099
+ },
6100
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
6101
+ _react2.default.createElement("path", { d: "M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })
6111
6102
  );
6112
6103
  };
6113
6104
 
@@ -6187,6 +6178,18 @@ module.exports =
6187
6178
 
6188
6179
  var _this = _possibleConstructorReturn(this, (EnvSection.__proto__ || Object.getPrototypeOf(EnvSection)).call(this));
6189
6180
 
6181
+ _this.onDefaultConnectionChange = function () {
6182
+ _this.setState({
6183
+ defaultConnection: !_this.state.defaultConnection
6184
+ });
6185
+ };
6186
+
6187
+ _this.onAPIAccessChange = function () {
6188
+ _this.setState({
6189
+ APIAccess: !_this.state.APIAccess
6190
+ });
6191
+ };
6192
+
6190
6193
  _this.credKeyPress = function (e) {
6191
6194
  var _this$props = _this.props,
6192
6195
  checking = _this$props.checking,
@@ -6215,7 +6218,8 @@ module.exports =
6215
6218
  _this.state = {
6216
6219
  actualCreds: {},
6217
6220
  showPass: false,
6218
- APIAccess: false
6221
+ APIAccess: false,
6222
+ defaultConnection: false
6219
6223
  };
6220
6224
  return _this;
6221
6225
  }
@@ -6225,7 +6229,15 @@ module.exports =
6225
6229
  value: function componentWillMount() {
6226
6230
  var _props = this.props,
6227
6231
  creds = _props.creds,
6228
- config = _props.config;
6232
+ config = _props.config,
6233
+ connectionInfo = _props.connectionInfo;
6234
+
6235
+ if (connectionInfo) {
6236
+ this.setState({
6237
+ defaultConnection: connectionInfo.defaultConnection,
6238
+ APIAccess: connectionInfo.ApiAccessible
6239
+ });
6240
+ }
6229
6241
 
6230
6242
  if (config.type === "SFTP") {
6231
6243
  this.setState({
@@ -6281,7 +6293,11 @@ module.exports =
6281
6293
  }, {
6282
6294
  key: "saveCreds",
6283
6295
  value: function saveCreds() {
6284
- this.props.postCredentials(this.state.actualCreds);
6296
+ var _state = this.state,
6297
+ APIAccess = _state.APIAccess,
6298
+ defaultConnection = _state.defaultConnection;
6299
+
6300
+ this.props.postCredentials(this.state.actualCreds, APIAccess, defaultConnection);
6285
6301
  }
6286
6302
  }, {
6287
6303
  key: "render",
@@ -6297,7 +6313,6 @@ module.exports =
6297
6313
  checkOauthCreds = _props2.checkOauthCreds,
6298
6314
  getDocuSignOauthUrl = _props2.getDocuSignOauthUrl,
6299
6315
  fileSchema = _props2.fileSchema,
6300
- postCredentials = _props2.postCredentials,
6301
6316
  getOauthUrl = _props2.getOauthUrl,
6302
6317
  generateNewAdapterSecret = _props2.generateNewAdapterSecret,
6303
6318
  setCsvFields = _props2.setCsvFields,
@@ -6312,7 +6327,6 @@ module.exports =
6312
6327
  deleteFlatFile = _props2.deleteFlatFile,
6313
6328
  gencerts = _props2.gencerts,
6314
6329
  downloadcerts = _props2.downloadcerts,
6315
- onAPIAccessChange = _props2.onAPIAccessChange,
6316
6330
  getOauthCreds = _props2.getOauthCreds;
6317
6331
 
6318
6332
  var Button = inputs.Button;
@@ -6473,36 +6487,6 @@ module.exports =
6473
6487
  onChange: this.onChange
6474
6488
  })
6475
6489
  ),
6476
- _react2.default.createElement(
6477
- Button,
6478
- {
6479
- type: "brand",
6480
- onClick: function onClick() {
6481
- return check(_this2.state.actualCreds);
6482
- },
6483
- style: {
6484
- marginLeft: 8,
6485
- marginBottom: 2,
6486
- height: 30,
6487
- lineHeight: "10px",
6488
- marginTop: -1
6489
- },
6490
- disabled: !hasEndpoint || credsDisabledCheck
6491
- },
6492
- _react2.default.createElement(
6493
- "span",
6494
- {
6495
- style: {
6496
- display: "inline-block",
6497
- verticalAlign: "top",
6498
- marginTop: 3
6499
- }
6500
- },
6501
- "Test Connection"
6502
- ),
6503
- "\xA0\xA0",
6504
- _react2.default.createElement(Loop, null)
6505
- ),
6506
6490
  _react2.default.createElement(
6507
6491
  "div",
6508
6492
  { style: { display: "inline-block", marginLeft: 12 } },
@@ -6510,8 +6494,6 @@ module.exports =
6510
6494
  envCheckResult && _react2.default.createElement(
6511
6495
  "span",
6512
6496
  null,
6513
- envCheckResult,
6514
- " ",
6515
6497
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult }),
6516
6498
  " "
6517
6499
  )
@@ -6568,36 +6550,6 @@ module.exports =
6568
6550
  value: _this2.state.actualCreds[credType] || "",
6569
6551
  onChange: _this2.onChange
6570
6552
  }),
6571
- index === 0 && noRootUrl && _react2.default.createElement(
6572
- Button,
6573
- {
6574
- type: "brand",
6575
- onClick: function onClick() {
6576
- return check(_this2.state.actualCreds);
6577
- },
6578
- style: {
6579
- marginLeft: 8,
6580
- marginBottom: 4,
6581
- height: 30,
6582
- lineHeight: "10px",
6583
- marginTop: -1
6584
- },
6585
- disabled: credsDisabledCheck
6586
- },
6587
- _react2.default.createElement(
6588
- "span",
6589
- {
6590
- style: {
6591
- display: "inline-block",
6592
- verticalAlign: "top",
6593
- marginTop: 3
6594
- }
6595
- },
6596
- "Test Connection"
6597
- ),
6598
- "\xA0\xA0",
6599
- _react2.default.createElement(Loop, null)
6600
- ),
6601
6553
  index === 0 && noRootUrl && checking && _react2.default.createElement(
6602
6554
  "span",
6603
6555
  { style: { marginLeft: 10 } },
@@ -6606,8 +6558,6 @@ module.exports =
6606
6558
  index === 0 && noRootUrl && envCheckResult && _react2.default.createElement(
6607
6559
  "span",
6608
6560
  { style: { marginLeft: 10 } },
6609
- envCheckResult,
6610
- " ",
6611
6561
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
6612
6562
  ),
6613
6563
  credType === "password" && _react2.default.createElement(Key, {
@@ -6636,8 +6586,11 @@ module.exports =
6636
6586
  ),
6637
6587
  _react2.default.createElement("br", null),
6638
6588
  config.type != "LocalFile" && _react2.default.createElement(APIAcessHandle, {
6639
- APIAccess: wizard.APIAccess,
6640
- onChangeHandle: onAPIAccessChange
6589
+ APIAccess: this.state.APIAccess,
6590
+ onChangeHandle: this.onAPIAccessChange,
6591
+ defaultConnection: this.state.defaultConnection,
6592
+ onDefaultConnectionChange: this.onDefaultConnectionChange,
6593
+ disableMarkConnection: wizard.disableMarkConnection
6641
6594
  })
6642
6595
  );
6643
6596
  }
@@ -6709,12 +6662,30 @@ module.exports =
6709
6662
 
6710
6663
  var APIAcessHandle = function APIAcessHandle(_ref3) {
6711
6664
  var APIAccess = _ref3.APIAccess,
6712
- onChangeHandle = _ref3.onChangeHandle;
6665
+ onChangeHandle = _ref3.onChangeHandle,
6666
+ defaultConnection = _ref3.defaultConnection,
6667
+ onDefaultConnectionChange = _ref3.onDefaultConnectionChange,
6668
+ disableMarkConnection = _ref3.disableMarkConnection;
6713
6669
 
6714
6670
  return _react2.default.createElement(
6715
- _reactBootstrap.Checkbox,
6716
- { checked: APIAccess, onChange: onChangeHandle },
6717
- "Make these credentials available via API"
6671
+ "div",
6672
+ null,
6673
+ _react2.default.createElement(
6674
+ _reactBootstrap.Checkbox,
6675
+ {
6676
+ checked: defaultConnection,
6677
+ onChange: onDefaultConnectionChange,
6678
+ disabled: disableMarkConnection
6679
+ },
6680
+ "Make this my default connection",
6681
+ " "
6682
+ ),
6683
+ _react2.default.createElement(
6684
+ _reactBootstrap.Checkbox,
6685
+ { checked: APIAccess, onChange: onChangeHandle },
6686
+ "Make this available via API",
6687
+ " "
6688
+ )
6718
6689
  );
6719
6690
  };
6720
6691
 
@@ -6863,29 +6834,6 @@ module.exports =
6863
6834
  },
6864
6835
  "Production"
6865
6836
  ),
6866
- _react2.default.createElement(
6867
- Button,
6868
- {
6869
- type: "brand",
6870
- onClick: function onClick() {
6871
- return onCheck(creds, formValues && formValues.includeSystemResources ? "?all=true" : "");
6872
- },
6873
- style: Object.assign({ marginLeft: 8 }, btnStyle)
6874
- },
6875
- _react2.default.createElement(
6876
- "span",
6877
- {
6878
- style: {
6879
- display: "inline-block",
6880
- verticalAlign: "top",
6881
- marginTop: 3
6882
- }
6883
- },
6884
- "Test Connection"
6885
- ),
6886
- "\xA0\xA0",
6887
- _react2.default.createElement(Loop, null)
6888
- ),
6889
6837
  _react2.default.createElement(
6890
6838
  "div",
6891
6839
  { style: { display: "inline-block", marginLeft: 12 } },
@@ -6893,8 +6841,6 @@ module.exports =
6893
6841
  envCheckResult && _react2.default.createElement(
6894
6842
  "span",
6895
6843
  null,
6896
- envCheckResult,
6897
- " ",
6898
6844
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
6899
6845
  )
6900
6846
  ),
@@ -7196,8 +7142,6 @@ module.exports =
7196
7142
  envCheckResult && _react2.default.createElement(
7197
7143
  "span",
7198
7144
  null,
7199
- envCheckResult,
7200
- " ",
7201
7145
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult }),
7202
7146
  " "
7203
7147
  )
@@ -7260,36 +7204,6 @@ module.exports =
7260
7204
  value: creds[credType] || "",
7261
7205
  onChange: onChange
7262
7206
  }),
7263
- index === 0 && _react2.default.createElement(
7264
- Button,
7265
- {
7266
- type: "brand",
7267
- onClick: function onClick() {
7268
- return onCheck(creds);
7269
- },
7270
- style: {
7271
- marginLeft: 8,
7272
- marginBottom: 4,
7273
- height: 30,
7274
- lineHeight: "10px",
7275
- marginTop: -1
7276
- },
7277
- disabled: credsDisabledCheck
7278
- },
7279
- _react2.default.createElement(
7280
- "span",
7281
- {
7282
- style: {
7283
- display: "inline-block",
7284
- verticalAlign: "top",
7285
- marginTop: 3
7286
- }
7287
- },
7288
- "Test Connection"
7289
- ),
7290
- "\xA0\xA0",
7291
- _react2.default.createElement(Loop, null)
7292
- ),
7293
7207
  credType === "password" && _react2.default.createElement(Key, {
7294
7208
  showPass: _this2.state.showPass,
7295
7209
  onClick: function onClick() {