@lingk/sync 2.0.7 → 2.0.9

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/main.js CHANGED
@@ -6602,7 +6602,7 @@ module.exports =
6602
6602
  var _this = _possibleConstructorReturn(this, (BVA.__proto__ || Object.getPrototypeOf(BVA)).call(this));
6603
6603
 
6604
6604
  _this.finishOauth = function (e) {
6605
- if (e.data && e.data.lingkOauthMessage && e.data.lingkOauthMessage === 'complete') {
6605
+ if (e.data && e.data.lingkOauthMessage && e.data.lingkOauthMessage === "complete") {
6606
6606
  // get credentials
6607
6607
  _this.props.getEnvCreds();
6608
6608
  }
@@ -6644,12 +6644,12 @@ module.exports =
6644
6644
  if (!creds["authenticationType"]) {
6645
6645
  onChange({ target: { name: "authenticationType", value: "key" } });
6646
6646
  }
6647
- window.addEventListener('message', this.finishOauth);
6647
+ window.addEventListener("message", this.finishOauth);
6648
6648
  }
6649
6649
  }, {
6650
6650
  key: "componentWillUnmount",
6651
6651
  value: function componentWillUnmount() {
6652
- window.removeEventListener('message', this.finishOauth);
6652
+ window.removeEventListener("message", this.finishOauth);
6653
6653
  }
6654
6654
  }, {
6655
6655
  key: "render",
@@ -6675,7 +6675,7 @@ module.exports =
6675
6675
  var bvaToken = {};
6676
6676
  var credentials = config && config.credentials.filter(function (o) {
6677
6677
  if (creds["authenticationType"] === "key") {
6678
- if (o == "refreshToken" || o == "accessToken" || o == "clientId" || o == "rootUrl") {
6678
+ if (o == "refreshToken" || o == "accessToken" || o == "clientId" || o == "rootUrl" || o == "clientSecret") {
6679
6679
  return true;
6680
6680
  } else {
6681
6681
  return false;
@@ -6683,7 +6683,13 @@ module.exports =
6683
6683
  }
6684
6684
  return true;
6685
6685
  });
6686
+ var requiredFieldsOAuth = ["rootUrl", "clientId", "clientSecret"];
6687
+ var requiredFieldsKey = ["rootUrl", "clientId", "clientSecret", "refreshToken"];
6686
6688
 
6689
+ var credsDisabledCheck = requiredFieldsOAuth.some(function (c) {
6690
+ var formCreds = creds;
6691
+ return !Object.keys(formCreds).includes(c.split(" ").join("")) || formCreds[c] == "";
6692
+ });
6687
6693
  return _react2.default.createElement(
6688
6694
  "div",
6689
6695
  null,
@@ -6707,6 +6713,9 @@ module.exports =
6707
6713
  })
6708
6714
  ),
6709
6715
  credentials.map(function (credType, index) {
6716
+ var key = requiredFieldsKey.find(function (r) {
6717
+ return r == credType;
6718
+ });
6710
6719
  return _react2.default.createElement(
6711
6720
  "div",
6712
6721
  { key: index, style: { marginTop: 8 } },
@@ -6717,19 +6726,40 @@ module.exports =
6717
6726
  className: "labelz",
6718
6727
  style: { fontWeight: "normal" }
6719
6728
  },
6720
- unCamelize(credType)
6729
+ unCamelize(credType),
6730
+ key && creds["authenticationType"] == "key" && _react2.default.createElement(
6731
+ "span",
6732
+ { style: { color: "red" } },
6733
+ "*"
6734
+ )
6721
6735
  ),
6722
6736
  _react2.default.createElement("br", null),
6723
6737
  credType === "refreshToken" || credType === "accessToken" || credType === "scope" ? _react2.default.createElement(
6724
6738
  "div",
6725
6739
  null,
6726
- _react2.default.createElement(Input, {
6740
+ creds["authenticationType"] == "key" ? _react2.default.createElement(Input, {
6741
+ name: credType,
6742
+ value: creds.bvaToken && creds.bvaToken[credType] || "",
6743
+ disabled: credType == "accessToken" ? true : false,
6744
+ onChange: function onChange(e) {
6745
+ return onChangeCustomKey(e, credType, bvaToken);
6746
+ }
6747
+ }) : _react2.default.createElement(Input, {
6727
6748
  name: credType,
6728
6749
  value: creds.bvaToken && creds.bvaToken[credType] || "",
6729
6750
  disabled: credType == "accessToken" || credType == "refreshToken" ? true : false,
6730
6751
  onChange: function onChange(e) {
6731
6752
  return onChangeCustomKey(e, credType, bvaToken);
6732
6753
  }
6754
+ }),
6755
+ credType == "accessToken" && _react2.default.createElement("img", {
6756
+ alt: "small-spinner",
6757
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAAeFBMVEX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+ho7XA8/W8AAAAASUVORK5CYII=",
6758
+ height: "18",
6759
+ style: { marginLeft: 3 },
6760
+ onClick: function onClick() {
6761
+ navigator.clipboard.writeText(creds.bvaToken && creds.bvaToken[credType] ? creds.bvaToken[credType] : "");
6762
+ }
6733
6763
  })
6734
6764
  ) : _react2.default.createElement(Input, {
6735
6765
  name: credType,
@@ -6749,10 +6779,11 @@ module.exports =
6749
6779
  lineHeight: "10px",
6750
6780
  marginTop: -1,
6751
6781
  position: "absolute",
6752
- top: 120,
6753
- left: 450
6782
+ top: 130,
6783
+ left: 850
6754
6784
  },
6755
- onClick: this.startOauth
6785
+ onClick: this.startOauth,
6786
+ disabled: credsDisabledCheck
6756
6787
  },
6757
6788
  _react2.default.createElement(
6758
6789
  "span",
@@ -8449,7 +8480,7 @@ module.exports =
8449
8480
  /* 72 */
8450
8481
  /***/ function(module, exports, __webpack_require__) {
8451
8482
 
8452
- 'use strict';
8483
+ "use strict";
8453
8484
 
8454
8485
  Object.defineProperty(exports, "__esModule", {
8455
8486
  value: true
@@ -8484,36 +8515,36 @@ module.exports =
8484
8515
  }
8485
8516
 
8486
8517
  return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Oauth.__proto__ || Object.getPrototypeOf(Oauth)).call.apply(_ref, [this].concat(args))), _this), _this.finishOauth = function (e) {
8487
- if (e.data && e.data.lingkOauthMessage && e.data.lingkOauthMessage === 'complete') {
8488
- _this.props.checkOauthCreds('finish');
8518
+ if (e.data && e.data.lingkOauthMessage && e.data.lingkOauthMessage === "complete") {
8519
+ _this.props.checkOauthCreds("finish");
8489
8520
  }
8490
8521
  }, _this.startOauth = function () {
8491
8522
  var _this$props = _this.props,
8492
8523
  wizard = _this$props.wizard,
8493
8524
  checkOauthCreds = _this$props.checkOauthCreds;
8494
8525
 
8495
- checkOauthCreds('start');
8526
+ checkOauthCreds("start");
8496
8527
  var width = 600;
8497
8528
  var height = 600;
8498
8529
  var left = window.screenX + (window.outerWidth - width) / 2;
8499
8530
  var top = window.screenY + (window.outerHeight - height) / 2.5;
8500
- var popup = window.open(wizard.oauthUrl, 'Oauth', 'width=' + width + ',height=' + height + ',top=' + top + ',left=' + left);
8531
+ var popup = window.open(wizard.oauthUrl, "Oauth", "width=" + width + ",height=" + height + ",top=" + top + ",left=" + left);
8501
8532
  popup.focus();
8502
8533
  }, _temp), _possibleConstructorReturn(_this, _ret);
8503
8534
  }
8504
8535
 
8505
8536
  _createClass(Oauth, [{
8506
- key: 'componentWillMount',
8537
+ key: "componentWillMount",
8507
8538
  value: function componentWillMount() {
8508
- window.addEventListener('message', this.finishOauth);
8539
+ window.addEventListener("message", this.finishOauth);
8509
8540
  }
8510
8541
  }, {
8511
- key: 'componentWillUnmount',
8542
+ key: "componentWillUnmount",
8512
8543
  value: function componentWillUnmount() {
8513
- window.removeEventListener('message', this.finishOauth);
8544
+ window.removeEventListener("message", this.finishOauth);
8514
8545
  }
8515
8546
  }, {
8516
- key: 'render',
8547
+ key: "render",
8517
8548
  value: function render() {
8518
8549
  var _props = this.props,
8519
8550
  EnvCheckIcons = _props.EnvCheckIcons,
@@ -8529,135 +8560,159 @@ module.exports =
8529
8560
  isWiz = _props.isWiz,
8530
8561
  change = _props.change;
8531
8562
 
8563
+ console.log("OAUTH Creds", creds);
8532
8564
  var Spinner = inputs.Spinner;
8533
8565
  var Button = inputs.Button;
8534
8566
  var userName = creds && creds.userName;
8535
- var btnStyle = { height: 30, lineHeight: '11px', marginTop: -1 };
8567
+ var btnStyle = { height: 30, lineHeight: "11px", marginTop: -1 };
8536
8568
  var ToggleButtonGroup = inputs.ToggleButtonGroup;
8537
8569
  return _react2.default.createElement(
8538
- 'div',
8570
+ "div",
8539
8571
  null,
8540
8572
  userName && _react2.default.createElement(
8541
- 'div',
8573
+ "div",
8542
8574
  null,
8543
- userName === '_' ? _react2.default.createElement(
8544
- 'div',
8575
+ userName === "_" ? _react2.default.createElement(
8576
+ "div",
8545
8577
  null,
8546
- _react2.default.createElement(DotDot, { text: 'Authorizing' })
8578
+ _react2.default.createElement(DotDot, { text: "Authorizing" })
8547
8579
  ) : _react2.default.createElement(
8548
- 'div',
8580
+ "div",
8549
8581
  null,
8550
- 'Authorized with account ',
8582
+ "Authorized with account ",
8551
8583
  _react2.default.createElement(
8552
- 'strong',
8584
+ "strong",
8553
8585
  null,
8554
8586
  userName
8555
8587
  )
8556
8588
  ),
8557
- _react2.default.createElement('br', null)
8589
+ _react2.default.createElement("br", null)
8558
8590
  ),
8559
8591
  userName ? _react2.default.createElement(
8560
- 'div',
8592
+ "div",
8561
8593
  null,
8562
- 'Connect to a different Salesforce Org:'
8594
+ "Connect to a different Salesforce Org:"
8563
8595
  ) : _react2.default.createElement(
8564
- 'div',
8596
+ "div",
8565
8597
  null,
8566
- 'Are you connecting to a Sandbox or Production Org?'
8598
+ "Are you connecting to a Sandbox or Production Org?"
8567
8599
  ),
8568
8600
  _react2.default.createElement(
8569
- 'div',
8601
+ "div",
8570
8602
  { style: { marginTop: 12 } },
8571
8603
  _react2.default.createElement(
8572
8604
  Button,
8573
- { type: 'brand', style: btnStyle,
8605
+ {
8606
+ type: "brand",
8607
+ style: btnStyle,
8574
8608
  onClick: function onClick() {
8575
- return onGenerateUrl('sandbox');
8576
- } },
8577
- 'Sandbox'
8609
+ return onGenerateUrl("sandbox");
8610
+ }
8611
+ },
8612
+ "Sandbox"
8578
8613
  ),
8579
8614
  _react2.default.createElement(
8580
8615
  Button,
8581
- { type: 'brand',
8582
- style: Object.assign({ margin: '0 12px' }, btnStyle),
8616
+ {
8617
+ type: "brand",
8618
+ style: Object.assign({ margin: "0 12px" }, btnStyle),
8583
8619
  onClick: function onClick() {
8584
- return onGenerateUrl('production');
8585
- } },
8586
- 'Production'
8620
+ return onGenerateUrl("production");
8621
+ }
8622
+ },
8623
+ "Production"
8587
8624
  ),
8588
8625
  _react2.default.createElement(
8589
8626
  Button,
8590
- { type: 'brand',
8627
+ {
8628
+ type: "brand",
8591
8629
  onClick: function onClick() {
8592
- return onCheck(creds, formValues.includeSystemResources ? '?all=true' : '');
8630
+ return onCheck(creds, formValues.includeSystemResources ? "?all=true" : "");
8593
8631
  },
8594
- style: Object.assign({ marginLeft: 8 }, btnStyle) },
8632
+ style: Object.assign({ marginLeft: 8 }, btnStyle)
8633
+ },
8595
8634
  _react2.default.createElement(
8596
- 'span',
8597
- { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
8598
- 'Test Connection'
8635
+ "span",
8636
+ {
8637
+ style: {
8638
+ display: "inline-block",
8639
+ verticalAlign: "top",
8640
+ marginTop: 3
8641
+ }
8642
+ },
8643
+ "Test Connection"
8599
8644
  ),
8600
- '\xA0\xA0',
8645
+ "\xA0\xA0",
8601
8646
  _react2.default.createElement(Loop, null)
8602
8647
  ),
8603
8648
  _react2.default.createElement(
8604
- 'div',
8605
- { style: { display: 'inline-block', marginLeft: 12 } },
8649
+ "div",
8650
+ { style: { display: "inline-block", marginLeft: 12 } },
8606
8651
  checking && _react2.default.createElement(Spinner, null),
8607
8652
  envCheckResult && _react2.default.createElement(
8608
- 'span',
8653
+ "span",
8609
8654
  null,
8610
8655
  envCheckResult,
8611
- ' ',
8656
+ " ",
8612
8657
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
8613
8658
  )
8614
8659
  ),
8615
8660
  isWiz && _react2.default.createElement(
8616
- 'div',
8617
- { style: { display: 'inline-block', marginLeft: 20, width: 150, verticalAlign: 'top', marginTop: -11 } },
8661
+ "div",
8662
+ {
8663
+ style: {
8664
+ display: "inline-block",
8665
+ marginLeft: 20,
8666
+ width: 150,
8667
+ verticalAlign: "top",
8668
+ marginTop: -11
8669
+ }
8670
+ },
8618
8671
  _react2.default.createElement(
8619
- 'span',
8620
- { className: 'labelz' },
8621
- 'Metadata:'
8672
+ "span",
8673
+ { className: "labelz" },
8674
+ "Metadata:"
8622
8675
  ),
8623
- '\xA0\xA0',
8624
- _react2.default.createElement(ToggleButtonGroup, { style: { height: 19, margin: 0 },
8625
- options: ['Default', 'All Resources'],
8676
+ "\xA0\xA0",
8677
+ _react2.default.createElement(ToggleButtonGroup, {
8678
+ style: { height: 19, margin: 0 },
8679
+ options: ["Default", "All Resources"],
8626
8680
  handleToggle: function handleToggle(e) {
8627
- change('includeSystemResources', e === 'All Resources');
8681
+ change("includeSystemResources", e === "All Resources");
8628
8682
  },
8629
- value: formValues.includeSystemResources ? 'All Resources' : 'Default'
8683
+ value: formValues.includeSystemResources ? "All Resources" : "Default"
8630
8684
  })
8631
8685
  ),
8632
8686
  wizard.gettingOauthUrl && _react2.default.createElement(
8633
- 'div',
8687
+ "div",
8634
8688
  null,
8635
- _react2.default.createElement('br', null),
8689
+ _react2.default.createElement("br", null),
8636
8690
  _react2.default.createElement(Spinner, null),
8637
- _react2.default.createElement('br', null),
8638
- _react2.default.createElement('br', null)
8691
+ _react2.default.createElement("br", null),
8692
+ _react2.default.createElement("br", null)
8639
8693
  ),
8640
8694
  wizard.oauthUrl && _react2.default.createElement(
8641
- 'div',
8695
+ "div",
8642
8696
  null,
8643
- _react2.default.createElement('br', null),
8697
+ _react2.default.createElement("br", null),
8644
8698
  _react2.default.createElement(
8645
- 'div',
8699
+ "div",
8646
8700
  null,
8647
8701
  _react2.default.createElement(
8648
- 'strong',
8702
+ "strong",
8649
8703
  null,
8650
8704
  _react2.default.createElement(
8651
- 'a',
8652
- { onClick: this.startOauth, style: { cursor: 'pointer' } },
8653
- 'Click Here'
8705
+ "a",
8706
+ { onClick: this.startOauth, style: { cursor: "pointer" } },
8707
+ "Click Here"
8654
8708
  )
8655
8709
  ),
8656
- ' to authorize your ',
8710
+ " ",
8711
+ "to authorize your ",
8657
8712
  providerType,
8658
- ' Org.'
8713
+ " Org."
8659
8714
  ),
8660
- _react2.default.createElement('br', null)
8715
+ _react2.default.createElement("br", null)
8661
8716
  )
8662
8717
  )
8663
8718
  );
@@ -8682,7 +8737,7 @@ module.exports =
8682
8737
  }
8683
8738
 
8684
8739
  _createClass(DotDot, [{
8685
- key: 'componentWillMount',
8740
+ key: "componentWillMount",
8686
8741
  value: function componentWillMount() {
8687
8742
  var _this3 = this;
8688
8743
 
@@ -8690,22 +8745,22 @@ module.exports =
8690
8745
  var text = _this3.state.text;
8691
8746
 
8692
8747
  if (text.length < 28) {
8693
- _this3.setState({ text: text + '.' });
8748
+ _this3.setState({ text: text + "." });
8694
8749
  } else {
8695
8750
  _this3.setState({ text: _this3.props.text });
8696
8751
  }
8697
8752
  }, 200);
8698
8753
  }
8699
8754
  }, {
8700
- key: 'componentWillUnmount',
8755
+ key: "componentWillUnmount",
8701
8756
  value: function componentWillUnmount() {
8702
8757
  clearInterval(this.interval);
8703
8758
  }
8704
8759
  }, {
8705
- key: 'render',
8760
+ key: "render",
8706
8761
  value: function render() {
8707
8762
  return _react2.default.createElement(
8708
- 'span',
8763
+ "span",
8709
8764
  null,
8710
8765
  this.state.text
8711
8766
  );
@@ -8717,11 +8772,16 @@ module.exports =
8717
8772
 
8718
8773
  var Loop = function Loop() {
8719
8774
  return _react2.default.createElement(
8720
- 'svg',
8721
- { fill: '#FFFFFF', height: '18', viewBox: '0 0 24 24', width: '18',
8722
- style: { marginTop: -1 } },
8723
- _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' }),
8724
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
8775
+ "svg",
8776
+ {
8777
+ fill: "#FFFFFF",
8778
+ height: "18",
8779
+ viewBox: "0 0 24 24",
8780
+ width: "18",
8781
+ style: { marginTop: -1 }
8782
+ },
8783
+ _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" }),
8784
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
8725
8785
  );
8726
8786
  };
8727
8787