@lingk/sync 2.0.4 → 2.0.5

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.
@@ -68,7 +68,7 @@ module.exports =
68
68
  /* 0 */
69
69
  /***/ function(module, exports, __webpack_require__) {
70
70
 
71
- module.exports = __webpack_require__(70);
71
+ module.exports = __webpack_require__(71);
72
72
 
73
73
 
74
74
  /***/ },
@@ -127,9 +127,9 @@ module.exports =
127
127
 
128
128
  'use strict'
129
129
 
130
- var base64 = __webpack_require__(78)
131
- var ieee754 = __webpack_require__(99)
132
- var isArray = __webpack_require__(100)
130
+ var base64 = __webpack_require__(79)
131
+ var ieee754 = __webpack_require__(100)
132
+ var isArray = __webpack_require__(101)
133
133
 
134
134
  exports.Buffer = Buffer
135
135
  exports.SlowBuffer = SlowBuffer
@@ -1911,17 +1911,7 @@ module.exports =
1911
1911
 
1912
1912
  /***/ },
1913
1913
  /* 29 */,
1914
- /* 30 */,
1915
- /* 31 */,
1916
- /* 32 */,
1917
- /* 33 */,
1918
- /* 34 */,
1919
- /* 35 */,
1920
- /* 36 */,
1921
- /* 37 */,
1922
- /* 38 */,
1923
- /* 39 */,
1924
- /* 40 */
1914
+ /* 30 */
1925
1915
  /***/ function(module, exports, __webpack_require__) {
1926
1916
 
1927
1917
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -1929,7 +1919,7 @@ module.exports =
1929
1919
 
1930
1920
  (function(mod) {
1931
1921
  if (true) // CommonJS
1932
- mod(__webpack_require__(79));
1922
+ mod(__webpack_require__(80));
1933
1923
  else if (typeof define == "function" && define.amd) // AMD
1934
1924
  define(["../../lib/codemirror"], mod);
1935
1925
  else // Plain browser env
@@ -2873,19 +2863,35 @@ module.exports =
2873
2863
 
2874
2864
 
2875
2865
  /***/ },
2866
+ /* 31 */,
2867
+ /* 32 */,
2868
+ /* 33 */,
2869
+ /* 34 */,
2870
+ /* 35 */,
2871
+ /* 36 */,
2872
+ /* 37 */,
2873
+ /* 38 */
2874
+ /***/ function(module, exports) {
2875
+
2876
+ // removed by extract-text-webpack-plugin
2877
+
2878
+ /***/ },
2879
+ /* 39 */
2880
+ /***/ function(module, exports) {
2881
+
2882
+ module.exports = require("react-codemirror2");
2883
+
2884
+ /***/ },
2885
+ /* 40 */,
2876
2886
  /* 41 */,
2877
2887
  /* 42 */,
2878
2888
  /* 43 */,
2879
2889
  /* 44 */,
2880
2890
  /* 45 */,
2881
2891
  /* 46 */,
2882
- /* 47 */
2883
- /***/ function(module, exports) {
2884
-
2885
- // removed by extract-text-webpack-plugin
2886
-
2887
- /***/ },
2888
- /* 48 */
2892
+ /* 47 */,
2893
+ /* 48 */,
2894
+ /* 49 */
2889
2895
  /***/ function(module, exports, __webpack_require__) {
2890
2896
 
2891
2897
  /* WEBPACK VAR INJECTION */(function(Buffer) {/* cpexcel.js (C) 2013-present SheetJS -- http://sheetjs.com */
@@ -4396,12 +4402,6 @@ module.exports =
4396
4402
 
4397
4403
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(28).Buffer))
4398
4404
 
4399
- /***/ },
4400
- /* 49 */
4401
- /***/ function(module, exports) {
4402
-
4403
- module.exports = require("react-codemirror2");
4404
-
4405
4405
  /***/ },
4406
4406
  /* 50 */
4407
4407
  /***/ function(module, exports) {
@@ -4633,7 +4633,7 @@ module.exports =
4633
4633
 
4634
4634
  var _react2 = _interopRequireDefault(_react);
4635
4635
 
4636
- var _clipboard = __webpack_require__(74);
4636
+ var _clipboard = __webpack_require__(75);
4637
4637
 
4638
4638
  var _clipboard2 = _interopRequireDefault(_clipboard);
4639
4639
 
@@ -4779,6 +4779,236 @@ module.exports =
4779
4779
 
4780
4780
  var _react2 = _interopRequireDefault(_react);
4781
4781
 
4782
+ __webpack_require__(38);
4783
+
4784
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4785
+
4786
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
4787
+
4788
+ 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; }
4789
+
4790
+ 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; }
4791
+
4792
+ // SKIP ON SERVER-SIDE RENDERING
4793
+ var codemirror = null;
4794
+ if (typeof window !== "undefined" && typeof window.navigator !== "undefined") {
4795
+ codemirror = __webpack_require__(39);
4796
+ __webpack_require__(30);
4797
+ }
4798
+
4799
+ function unCamelize(text) {
4800
+ return text.replace(/([A-Z])/g, " $1").replace(/^./, function (str) {
4801
+ return str.toUpperCase();
4802
+ });
4803
+ }
4804
+ var Key = function Key(_ref) {
4805
+ var onClick = _ref.onClick,
4806
+ showPass = _ref.showPass;
4807
+
4808
+ return _react2.default.createElement(
4809
+ "svg",
4810
+ {
4811
+ onClick: onClick,
4812
+ style: showPass ? { fill: "#3a91dcb3" } : {},
4813
+ height: "24",
4814
+ width: "24",
4815
+ className: "pass-key-svg",
4816
+ viewBox: "0 0 24 24"
4817
+ },
4818
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
4819
+ _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" })
4820
+ );
4821
+ };
4822
+
4823
+ var Loop = function Loop() {
4824
+ return _react2.default.createElement(
4825
+ "svg",
4826
+ {
4827
+ fill: "#FFFFFF",
4828
+ height: "18",
4829
+ viewBox: "0 0 24 24",
4830
+ width: "18",
4831
+ style: { marginTop: -1 }
4832
+ },
4833
+ _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" }),
4834
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
4835
+ );
4836
+ };
4837
+
4838
+ var BVA = function (_Component) {
4839
+ _inherits(BVA, _Component);
4840
+
4841
+ function BVA() {
4842
+ _classCallCheck(this, BVA);
4843
+
4844
+ var _this = _possibleConstructorReturn(this, (BVA.__proto__ || Object.getPrototypeOf(BVA)).call(this));
4845
+
4846
+ _this.state = {
4847
+ showPass: false
4848
+ };
4849
+ return _this;
4850
+ }
4851
+
4852
+ _createClass(BVA, [{
4853
+ key: "componentWillMount",
4854
+ value: function componentWillMount() {
4855
+ var _props = this.props,
4856
+ creds = _props.creds,
4857
+ onChange = _props.onChange;
4858
+
4859
+ if (!creds["authenticationType"]) {
4860
+ onChange({ target: { name: "authenticationType", value: "key" } });
4861
+ }
4862
+ }
4863
+ }, {
4864
+ key: "render",
4865
+ value: function render() {
4866
+ var _this2 = this;
4867
+
4868
+ var _props2 = this.props,
4869
+ config = _props2.config,
4870
+ onCheck = _props2.onCheck,
4871
+ inputs = _props2.inputs,
4872
+ creds = _props2.creds,
4873
+ onChange = _props2.onChange,
4874
+ checking = _props2.checking,
4875
+ envCheckResult = _props2.envCheckResult,
4876
+ EnvCheckIcons = _props2.EnvCheckIcons,
4877
+ onChangeCustomKey = _props2.onChangeCustomKey;
4878
+
4879
+
4880
+ var CodeMirror = codemirror && codemirror.Controlled;
4881
+ var Button = inputs.Button;
4882
+ var Input = inputs.Input;
4883
+ var Toggle = inputs.ToggleButtonGroup;
4884
+ var Spinner = inputs.Spinner;
4885
+ var bvaToken = {};
4886
+ var credentials = config && config.credentials.filter(function (o) {
4887
+ if (creds["authenticationType"] === "key") {
4888
+ if (o == "refreshToken" || o == "accessToken" || o == "clientId") {
4889
+ return true;
4890
+ } else {
4891
+ return false;
4892
+ }
4893
+ }
4894
+ return true;
4895
+ });
4896
+ var passwordIsOptional = credentials.includes("privateKey");
4897
+
4898
+ var credsDisabledCheck = credentials.some(function (c) {
4899
+ return !Object.keys(creds).includes(c.split(" ").join(""));
4900
+ });
4901
+
4902
+ return _react2.default.createElement(
4903
+ "div",
4904
+ null,
4905
+ credentials && _react2.default.createElement(
4906
+ "div",
4907
+ { style: { display: "inline-block" } },
4908
+ _react2.default.createElement(
4909
+ "div",
4910
+ { style: { display: "inline-block", marginLeft: 16 } },
4911
+ _react2.default.createElement(
4912
+ "div",
4913
+ { className: "pass-ssh-toggle" },
4914
+ _react2.default.createElement(Toggle, {
4915
+ value: creds["authenticationType"],
4916
+ options: ["key", "OAuth"],
4917
+ handleToggle: function handleToggle(v) {
4918
+ return onChange({
4919
+ target: { name: "authenticationType", value: v }
4920
+ });
4921
+ }
4922
+ })
4923
+ ),
4924
+ credentials.map(function (credType, index) {
4925
+ return _react2.default.createElement(
4926
+ "div",
4927
+ { key: index, style: { marginTop: 8 } },
4928
+ _react2.default.createElement(
4929
+ "label",
4930
+ {
4931
+ htmlFor: credType,
4932
+ className: "labelz",
4933
+ style: { fontWeight: "normal" }
4934
+ },
4935
+ unCamelize(credType)
4936
+ ),
4937
+ _react2.default.createElement("br", null),
4938
+ credType === "refreshToken" || credType === "accessToken" ? _react2.default.createElement(
4939
+ "div",
4940
+ null,
4941
+ _react2.default.createElement(Input, {
4942
+ name: credType,
4943
+ value: creds.bvaToken && creds.bvaToken[credType] || "",
4944
+ disabled: credType == "accessToken" ? true : false,
4945
+ onChange: function onChange(e) {
4946
+ return onChangeCustomKey(e, credType, bvaToken);
4947
+ }
4948
+ })
4949
+ ) : _react2.default.createElement(Input, {
4950
+ name: credType,
4951
+ datatype: credType === "password" && !_this2.state.showPass ? "password" : null,
4952
+ disabled: credType == "accessToken" ? true : false,
4953
+ value: creds[credType] || "",
4954
+ onChange: onChange
4955
+ })
4956
+ );
4957
+ }),
4958
+ creds["authenticationType"] != "key" && _react2.default.createElement(
4959
+ Button,
4960
+ {
4961
+ type: "brand",
4962
+ style: {
4963
+ height: 30,
4964
+ lineHeight: "10px",
4965
+ marginTop: -1,
4966
+ position: "absolute",
4967
+ top: 120,
4968
+ left: 450
4969
+ },
4970
+ disabled: true
4971
+ },
4972
+ _react2.default.createElement(
4973
+ "span",
4974
+ {
4975
+ style: {
4976
+ display: "inline-block",
4977
+ verticalAlign: "top",
4978
+ marginTop: 3
4979
+ }
4980
+ },
4981
+ "Login"
4982
+ ),
4983
+ "\xA0\xA0"
4984
+ )
4985
+ )
4986
+ )
4987
+ );
4988
+ }
4989
+ }]);
4990
+
4991
+ return BVA;
4992
+ }(_react.Component);
4993
+
4994
+ exports.default = BVA;
4995
+
4996
+ /***/ },
4997
+ /* 68 */
4998
+ /***/ function(module, exports, __webpack_require__) {
4999
+
5000
+ "use strict";
5001
+
5002
+ Object.defineProperty(exports, "__esModule", {
5003
+ value: true
5004
+ });
5005
+
5006
+ 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; }; }();
5007
+
5008
+ var _react = __webpack_require__(1);
5009
+
5010
+ var _react2 = _interopRequireDefault(_react);
5011
+
4782
5012
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4783
5013
 
4784
5014
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -5085,7 +5315,7 @@ module.exports =
5085
5315
  exports.default = DocuSign;
5086
5316
 
5087
5317
  /***/ },
5088
- /* 68 */
5318
+ /* 69 */
5089
5319
  /***/ function(module, exports, __webpack_require__) {
5090
5320
 
5091
5321
  'use strict';
@@ -5106,11 +5336,11 @@ module.exports =
5106
5336
 
5107
5337
  var _reactDropzone2 = _interopRequireDefault(_reactDropzone);
5108
5338
 
5109
- var _papaparse = __webpack_require__(109);
5339
+ var _papaparse = __webpack_require__(110);
5110
5340
 
5111
5341
  var _papaparse2 = _interopRequireDefault(_papaparse);
5112
5342
 
5113
- var _xlsx = __webpack_require__(108);
5343
+ var _xlsx = __webpack_require__(109);
5114
5344
 
5115
5345
  var _xlsx2 = _interopRequireDefault(_xlsx);
5116
5346
 
@@ -5626,7 +5856,7 @@ module.exports =
5626
5856
  exports.default = FlatFile;
5627
5857
 
5628
5858
  /***/ },
5629
- /* 69 */
5859
+ /* 70 */
5630
5860
  /***/ function(module, exports, __webpack_require__) {
5631
5861
 
5632
5862
  'use strict';
@@ -5641,7 +5871,7 @@ module.exports =
5641
5871
 
5642
5872
  var _react2 = _interopRequireDefault(_react);
5643
5873
 
5644
- __webpack_require__(47);
5874
+ __webpack_require__(38);
5645
5875
 
5646
5876
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
5647
5877
 
@@ -5654,8 +5884,8 @@ module.exports =
5654
5884
  // SKIP ON SERVER-SIDE RENDERING
5655
5885
  var codemirror = null;
5656
5886
  if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
5657
- codemirror = __webpack_require__(49);
5658
- __webpack_require__(40);
5887
+ codemirror = __webpack_require__(39);
5888
+ __webpack_require__(30);
5659
5889
  }
5660
5890
 
5661
5891
  function unCamelize(text) {
@@ -5826,10 +6056,10 @@ module.exports =
5826
6056
  exports.default = Google;
5827
6057
 
5828
6058
  /***/ },
5829
- /* 70 */
6059
+ /* 71 */
5830
6060
  /***/ function(module, exports, __webpack_require__) {
5831
6061
 
5832
- 'use strict';
6062
+ "use strict";
5833
6063
 
5834
6064
  Object.defineProperty(exports, "__esModule", {
5835
6065
  value: true
@@ -5841,11 +6071,11 @@ module.exports =
5841
6071
 
5842
6072
  var _react2 = _interopRequireDefault(_react);
5843
6073
 
5844
- var _flatfile = __webpack_require__(68);
6074
+ var _flatfile = __webpack_require__(69);
5845
6075
 
5846
6076
  var _flatfile2 = _interopRequireDefault(_flatfile);
5847
6077
 
5848
- var _google = __webpack_require__(69);
6078
+ var _google = __webpack_require__(70);
5849
6079
 
5850
6080
  var _google2 = _interopRequireDefault(_google);
5851
6081
 
@@ -5853,22 +6083,26 @@ module.exports =
5853
6083
 
5854
6084
  var _adaptersecret2 = _interopRequireDefault(_adaptersecret);
5855
6085
 
5856
- var _websocket = __webpack_require__(73);
6086
+ var _websocket = __webpack_require__(74);
5857
6087
 
5858
6088
  var _websocket2 = _interopRequireDefault(_websocket);
5859
6089
 
5860
- var _oauth = __webpack_require__(71);
6090
+ var _oauth = __webpack_require__(72);
5861
6091
 
5862
6092
  var _oauth2 = _interopRequireDefault(_oauth);
5863
6093
 
5864
- var _sftp = __webpack_require__(72);
6094
+ var _sftp = __webpack_require__(73);
5865
6095
 
5866
6096
  var _sftp2 = _interopRequireDefault(_sftp);
5867
6097
 
5868
- var _docuSign = __webpack_require__(67);
6098
+ var _docuSign = __webpack_require__(68);
5869
6099
 
5870
6100
  var _docuSign2 = _interopRequireDefault(_docuSign);
5871
6101
 
6102
+ var _bva = __webpack_require__(67);
6103
+
6104
+ var _bva2 = _interopRequireDefault(_bva);
6105
+
5872
6106
  var _reactBootstrap = __webpack_require__(3);
5873
6107
 
5874
6108
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -5882,7 +6116,7 @@ module.exports =
5882
6116
  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; }
5883
6117
 
5884
6118
  function unCamelize(text) {
5885
- return text.replace(/([A-Z])/g, ' $1').replace(/^./, function (str) {
6119
+ return text.replace(/([A-Z])/g, " $1").replace(/^./, function (str) {
5886
6120
  return str.toUpperCase();
5887
6121
  });
5888
6122
  }
@@ -5900,7 +6134,7 @@ module.exports =
5900
6134
  checking = _this$props.checking,
5901
6135
  check = _this$props.check;
5902
6136
 
5903
- if (e.key === 'Enter' && checking !== true) {
6137
+ if (e.key === "Enter" && checking !== true) {
5904
6138
  check(_this.state.actualCreds || {});
5905
6139
  }
5906
6140
  };
@@ -5911,6 +6145,15 @@ module.exports =
5911
6145
  });
5912
6146
  };
5913
6147
 
6148
+ _this.onChangeCustomKey = function (e, key, parentDict) {
6149
+ parentDict[key] = e.target.value;
6150
+ _this.setState({
6151
+ actualCreds: Object.assign({}, _this.state.actualCreds, {
6152
+ bvaToken: parentDict
6153
+ })
6154
+ });
6155
+ };
6156
+
5914
6157
  _this.state = {
5915
6158
  actualCreds: {},
5916
6159
  showPass: false,
@@ -5920,32 +6163,43 @@ module.exports =
5920
6163
  }
5921
6164
 
5922
6165
  _createClass(EnvSection, [{
5923
- key: 'componentWillMount',
6166
+ key: "componentWillMount",
5924
6167
  value: function componentWillMount() {
5925
6168
  var _props = this.props,
5926
6169
  creds = _props.creds,
5927
6170
  config = _props.config;
5928
6171
 
5929
- if (config.type === 'SFTP') {
5930
- this.setState({ actualCreds: Object.assign({}, creds, {
5931
- filePattern: '*.*'
5932
- }) });
5933
- } else if (config.type === 'LingkWebSocket') {
5934
- this.setState({ actualCreds: Object.assign({}, creds, {
5935
- rootUrl: creds.rootUrl || 'wss://'
5936
- }) });
6172
+ if (config.type === "SFTP") {
6173
+ this.setState({
6174
+ actualCreds: Object.assign({}, creds, {
6175
+ filePattern: "*.*"
6176
+ })
6177
+ });
6178
+ } else if (config.type === "LingkWebSocket") {
6179
+ this.setState({
6180
+ actualCreds: Object.assign({}, creds, {
6181
+ rootUrl: creds.rootUrl || "wss://"
6182
+ })
6183
+ });
6184
+ } else if (config.type === "BrightSpaceValenceApi") {
6185
+ this.setState({
6186
+ actualCreds: Object.assign({}, creds, {
6187
+ authenticationType: "key"
6188
+ })
6189
+ });
5937
6190
  } else {
5938
- this.setState({ actualCreds: Object.assign({}, creds, {
5939
- rootUrl: creds.rootUrl || 'https://'
5940
- }) });
6191
+ this.setState({
6192
+ actualCreds: Object.assign({}, creds, {
6193
+ rootUrl: creds.rootUrl || "https://"
6194
+ })
6195
+ });
5941
6196
  }
5942
6197
  }
5943
6198
  }, {
5944
- key: 'componentWillReceiveProps',
6199
+ key: "componentWillReceiveProps",
5945
6200
  value: function componentWillReceiveProps(newProps) {
5946
6201
  var actualCreds = this.state.actualCreds;
5947
6202
 
5948
-
5949
6203
  if (!newProps.creds.credentialType && newProps.config.type === "SFTP") {
5950
6204
  // prevent sftp default credentialType removal
5951
6205
  if (actualCreds.credentialType) {
@@ -5954,17 +6208,25 @@ module.exports =
5954
6208
  newProps.creds.credentialType = "password";
5955
6209
  }
5956
6210
  }
6211
+ if (!newProps.creds.authenticationType && newProps.config.type === "BrightSpaceValenceApi") {
6212
+ // prevent brightspace default authenticationType removal
6213
+ if (actualCreds.credentialType) {
6214
+ newProps.creds.authenticationType = actualCreds.authenticationType;
6215
+ } else {
6216
+ newProps.creds.authenticationType = "key";
6217
+ }
6218
+ }
5957
6219
  if (JSON.stringify(this.state.actualCreds) !== JSON.stringify(newProps.creds)) {
5958
6220
  this.setState({ actualCreds: newProps.creds });
5959
6221
  }
5960
6222
  }
5961
6223
  }, {
5962
- key: 'saveCreds',
6224
+ key: "saveCreds",
5963
6225
  value: function saveCreds() {
5964
6226
  this.props.postCredentials(this.state.actualCreds);
5965
6227
  }
5966
6228
  }, {
5967
- key: 'render',
6229
+ key: "render",
5968
6230
  value: function render() {
5969
6231
  var _this2 = this;
5970
6232
 
@@ -6001,189 +6263,294 @@ module.exports =
6001
6263
  var providerType = config && config.type;
6002
6264
  var creds = this.state.actualCreds;
6003
6265
  var hasEndpoint = creds && creds.rootUrl && creds.rootUrl.length > 8;
6004
- var isOauth = config.credentials && config.credentials.length === 1 && config.credentials[0] === 'Oauth';
6266
+ var isOauth = config.credentials && config.credentials.length === 1 && config.credentials[0] === "Oauth";
6005
6267
 
6006
- var isFlatFile = config.type === 'LocalFile';
6268
+ var isFlatFile = config.type === "LocalFile";
6269
+ var isBVA = config.type === "BrightSpaceValenceApi";
6007
6270
 
6008
- var isGoogle = config.type.startsWith('Google');
6271
+ var isGoogle = config.type.startsWith("Google");
6009
6272
 
6010
- var isAdapter = config && (config.metadataEndpoint === 'testconnection' || config.metadataEndpoint === 'adaptermetadata');
6273
+ var isAdapter = config && (config.metadataEndpoint === "testconnection" || config.metadataEndpoint === "adaptermetadata");
6011
6274
 
6012
- var isWebSocket = config.type === 'LingkWebSocket';
6013
- var isAWS = config.type.startsWith('AWS');
6275
+ var isWebSocket = config.type === "LingkWebSocket";
6276
+ var isAWS = config.type.startsWith("AWS");
6014
6277
 
6015
- var isSFTP = config.type === 'SFTP';
6278
+ var isSFTP = config.type === "SFTP";
6016
6279
 
6017
- var isDocuSign = config.type === 'DocuSign';
6280
+ var isDocuSign = config.type === "DocuSign";
6018
6281
  var noRootUrl = isSFTP || isAWS;
6019
6282
  var credsDisabledCheck = config && config.credentials && config.credentials.some(function (c) {
6020
6283
  var formCreds = creds;
6021
- return !Object.keys(formCreds).includes(c.split(' ').join(''));
6284
+ return !Object.keys(formCreds).includes(c.split(" ").join(""));
6022
6285
  });
6023
6286
 
6024
- var AmazonRDSdbs = [{ name: 'PostgreSQL', satisfiesSearch: true, type: 'PostgreSQL', title: 'PostgreSQL' }, { name: 'MySQL', satisfiesSearch: true, type: 'MySQL', title: 'MySQL' }];
6287
+ var AmazonRDSdbs = [{
6288
+ name: "PostgreSQL",
6289
+ satisfiesSearch: true,
6290
+ type: "PostgreSQL",
6291
+ title: "PostgreSQL"
6292
+ }, { name: "MySQL", satisfiesSearch: true, type: "MySQL", title: "MySQL" }];
6025
6293
 
6026
6294
  return _react2.default.createElement(
6027
- 'div',
6028
- { className: 'env-section-body' },
6295
+ "div",
6296
+ { className: "env-section-body" },
6029
6297
  config.message && !isGoogle ? _react2.default.createElement(
6030
- 'p',
6298
+ "p",
6031
6299
  { style: { marginBottom: 16 } },
6032
6300
  config.message
6033
- ) : _react2.default.createElement('div', null),
6034
- isOauth ? _react2.default.createElement(_oauth2.default, { wizard: wizard, onCheck: check, change: change,
6035
- creds: this.props.creds, providerType: providerType,
6301
+ ) : _react2.default.createElement("div", null),
6302
+ isOauth ? _react2.default.createElement(_oauth2.default, {
6303
+ wizard: wizard,
6304
+ onCheck: check,
6305
+ change: change,
6306
+ creds: this.props.creds,
6307
+ providerType: providerType,
6036
6308
  onGenerateUrl: function onGenerateUrl(urlType) {
6037
6309
  return getOauthUrl(urlType, providerType);
6038
6310
  },
6039
- checkOauthCreds: checkOauthCreds, envCheckResult: envCheckResult,
6040
- checking: checking, inputs: inputs, formValues: formValues,
6311
+ checkOauthCreds: checkOauthCreds,
6312
+ envCheckResult: envCheckResult,
6313
+ checking: checking,
6314
+ inputs: inputs,
6315
+ formValues: formValues,
6041
6316
  isWiz: _react2.default.Children.count(this.props.children) > 0,
6042
6317
  EnvCheckIcons: EnvCheckIcons
6043
- }) : isDocuSign ? _react2.default.createElement(_docuSign2.default, { inputs: inputs, config: config, creds: creds, onChange: this.onChange,
6318
+ }) : isDocuSign ? _react2.default.createElement(_docuSign2.default, {
6319
+ inputs: inputs,
6320
+ config: config,
6321
+ creds: creds,
6322
+ onChange: this.onChange,
6044
6323
  onGenerateUrl: function onGenerateUrl(urlType) {
6045
6324
  return getDocuSignOauthUrl(urlType);
6046
- }, checkOauthCreds: checkOauthCreds,
6047
- wizard: wizard, providerType: providerType, EnvCheckIcons: EnvCheckIcons,
6048
- envCheckResult: envCheckResult, checking: checking, formValues: formValues,
6049
- onCheck: check }) : isFlatFile ? _react2.default.createElement(_flatfile2.default, { wizard: wizard, onCheck: check, fileSchema: fileSchema,
6050
- checking: checking, setCsvFields: setCsvFields,
6051
- providerType: providerType, inputs: inputs,
6052
- accountKey: accountKey, tenantKey: tenantKey,
6053
- onDrop: clearCsvFields, downloadFileFromAws: downloadFileFromAws,
6325
+ },
6326
+ checkOauthCreds: checkOauthCreds,
6327
+ wizard: wizard,
6328
+ providerType: providerType,
6329
+ EnvCheckIcons: EnvCheckIcons,
6330
+ envCheckResult: envCheckResult,
6331
+ checking: checking,
6332
+ formValues: formValues,
6333
+ onCheck: check
6334
+ }) : isFlatFile ? _react2.default.createElement(_flatfile2.default, {
6335
+ wizard: wizard,
6336
+ onCheck: check,
6337
+ fileSchema: fileSchema,
6338
+ checking: checking,
6339
+ setCsvFields: setCsvFields,
6340
+ providerType: providerType,
6341
+ inputs: inputs,
6342
+ accountKey: accountKey,
6343
+ tenantKey: tenantKey,
6344
+ onDrop: clearCsvFields,
6345
+ downloadFileFromAws: downloadFileFromAws,
6054
6346
  deleteFlatFile: deleteFlatFile
6055
- }) : isGoogle ? _react2.default.createElement(_google2.default, { config: config, creds: creds, onChange: this.onChange,
6056
- credsDisabledCheck: credsDisabledCheck, inputs: inputs,
6057
- onCheck: check, envCheckResult: envCheckResult, checking: checking,
6347
+ }) : isBVA ? _react2.default.createElement(_bva2.default, {
6348
+ config: config,
6349
+ creds: creds,
6350
+ onChange: this.onChange,
6351
+ credsDisabledCheck: credsDisabledCheck,
6352
+ inputs: inputs,
6353
+ onCheck: check,
6354
+ envCheckResult: envCheckResult,
6355
+ checking: checking,
6356
+ EnvCheckIcons: EnvCheckIcons,
6357
+ onChangeCustomKey: this.onChangeCustomKey
6358
+ }) : isGoogle ? _react2.default.createElement(_google2.default, {
6359
+ config: config,
6360
+ creds: creds,
6361
+ onChange: this.onChange,
6362
+ credsDisabledCheck: credsDisabledCheck,
6363
+ inputs: inputs,
6364
+ onCheck: check,
6365
+ envCheckResult: envCheckResult,
6366
+ checking: checking,
6058
6367
  EnvCheckIcons: EnvCheckIcons
6059
- }) : isSFTP ? _react2.default.createElement(_sftp2.default, { config: config, creds: creds, onChange: this.onChange,
6060
- credsDisabledCheck: credsDisabledCheck, inputs: inputs,
6061
- onCheck: check, envCheckResult: envCheckResult, checking: checking,
6368
+ }) : isSFTP ? _react2.default.createElement(_sftp2.default, {
6369
+ config: config,
6370
+ creds: creds,
6371
+ onChange: this.onChange,
6372
+ credsDisabledCheck: credsDisabledCheck,
6373
+ inputs: inputs,
6374
+ onCheck: check,
6375
+ envCheckResult: envCheckResult,
6376
+ checking: checking,
6062
6377
  EnvCheckIcons: EnvCheckIcons
6063
- }) : isWebSocket ? _react2.default.createElement(_websocket2.default, { wizard: wizard, creds: creds, onChange: this.onChange, checking: checking, gencerts: gencerts,
6064
- credsDisabledCheck: credsDisabledCheck, inputs: inputs, credKeyPress: this.credKeyPress,
6065
- onCheck: check, actualCreds: this.state.actualCreds, envCheckResult: envCheckResult,
6066
- downloadcerts: downloadcerts }) : _react2.default.createElement(
6067
- 'div',
6378
+ }) : isWebSocket ? _react2.default.createElement(_websocket2.default, {
6379
+ wizard: wizard,
6380
+ creds: creds,
6381
+ onChange: this.onChange,
6382
+ checking: checking,
6383
+ gencerts: gencerts,
6384
+ credsDisabledCheck: credsDisabledCheck,
6385
+ inputs: inputs,
6386
+ credKeyPress: this.credKeyPress,
6387
+ onCheck: check,
6388
+ actualCreds: this.state.actualCreds,
6389
+ envCheckResult: envCheckResult,
6390
+ downloadcerts: downloadcerts
6391
+ }) : _react2.default.createElement(
6392
+ "div",
6068
6393
  null,
6069
6394
  !noRootUrl && _react2.default.createElement(
6070
- 'div',
6395
+ "div",
6071
6396
  { style: { marginLeft: 16 } },
6072
6397
  _react2.default.createElement(
6073
- 'div',
6398
+ "div",
6074
6399
  null,
6075
6400
  _react2.default.createElement(
6076
- 'div',
6077
- { style: { display: 'inline-block', width: 300 } },
6401
+ "div",
6402
+ { style: { display: "inline-block", width: 300 } },
6078
6403
  _react2.default.createElement(
6079
- 'label',
6080
- { htmlFor: 'rootUrl', className: 'labelz' },
6081
- 'Data Source Endpoint'
6404
+ "label",
6405
+ { htmlFor: "rootUrl", className: "labelz" },
6406
+ "Data Source Endpoint"
6082
6407
  ),
6083
- _react2.default.createElement(Input, { name: 'rootUrl',
6408
+ _react2.default.createElement(Input, {
6409
+ name: "rootUrl",
6084
6410
  onKeyPress: this.credKeyPress,
6085
- value: this.state.actualCreds.rootUrl || '',
6086
- onChange: this.onChange })
6411
+ value: this.state.actualCreds.rootUrl || "",
6412
+ onChange: this.onChange
6413
+ })
6087
6414
  ),
6088
6415
  _react2.default.createElement(
6089
6416
  Button,
6090
6417
  {
6091
- type: 'brand',
6418
+ type: "brand",
6092
6419
  onClick: function onClick() {
6093
6420
  return check(_this2.state.actualCreds);
6094
6421
  },
6095
- style: { marginLeft: 8, marginBottom: 2, height: 30, lineHeight: '10px', marginTop: -1 },
6096
- disabled: !hasEndpoint || credsDisabledCheck },
6422
+ style: {
6423
+ marginLeft: 8,
6424
+ marginBottom: 2,
6425
+ height: 30,
6426
+ lineHeight: "10px",
6427
+ marginTop: -1
6428
+ },
6429
+ disabled: !hasEndpoint || credsDisabledCheck
6430
+ },
6097
6431
  _react2.default.createElement(
6098
- 'span',
6099
- { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
6100
- 'Test Connection'
6432
+ "span",
6433
+ {
6434
+ style: {
6435
+ display: "inline-block",
6436
+ verticalAlign: "top",
6437
+ marginTop: 3
6438
+ }
6439
+ },
6440
+ "Test Connection"
6101
6441
  ),
6102
- '\xA0\xA0',
6442
+ "\xA0\xA0",
6103
6443
  _react2.default.createElement(Loop, null)
6104
6444
  ),
6105
6445
  _react2.default.createElement(
6106
- 'div',
6107
- { style: { display: 'inline-block', marginLeft: 12 } },
6446
+ "div",
6447
+ { style: { display: "inline-block", marginLeft: 12 } },
6108
6448
  checking && _react2.default.createElement(Spinner, null),
6109
6449
  envCheckResult && _react2.default.createElement(
6110
- 'span',
6450
+ "span",
6111
6451
  null,
6112
6452
  envCheckResult,
6113
- ' ',
6453
+ " ",
6114
6454
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult }),
6115
- ' '
6455
+ " "
6116
6456
  )
6117
6457
  )
6118
6458
  )
6119
6459
  ),
6120
6460
  config.credentials && _react2.default.createElement(
6121
- 'div',
6461
+ "div",
6122
6462
  { style: { marginLeft: !noRootUrl ? 16 : 0 } },
6123
6463
  !noRootUrl && _react2.default.createElement(
6124
- 'div',
6464
+ "div",
6125
6465
  null,
6126
- _react2.default.createElement('br', null),
6466
+ _react2.default.createElement("br", null),
6127
6467
  _react2.default.createElement(
6128
- 'label',
6129
- { htmlFor: 'creds' },
6468
+ "label",
6469
+ { htmlFor: "creds" },
6130
6470
  config.label || providerType,
6131
- ' Credentials'
6471
+ " Credentials"
6132
6472
  ),
6133
- _react2.default.createElement('br', null)
6473
+ _react2.default.createElement("br", null)
6134
6474
  ),
6135
6475
  _react2.default.createElement(
6136
- 'div',
6137
- { style: { display: 'inline-block', marginLeft: 16 } },
6476
+ "div",
6477
+ { style: { display: "inline-block", marginLeft: 16 } },
6138
6478
  config.credentials.map(function (credType, index) {
6139
6479
  return _react2.default.createElement(
6140
- 'div',
6480
+ "div",
6141
6481
  { key: index, style: { marginTop: 8 } },
6142
6482
  _react2.default.createElement(
6143
- 'label',
6144
- { htmlFor: credType, className: 'labelz', style: { fontWeight: 'normal' } },
6483
+ "label",
6484
+ {
6485
+ htmlFor: credType,
6486
+ className: "labelz",
6487
+ style: { fontWeight: "normal" }
6488
+ },
6145
6489
  unCamelize(credType)
6146
6490
  ),
6147
- _react2.default.createElement('br', null),
6148
- credType === 'databaseType' ? _react2.default.createElement(Select, { vals: AmazonRDSdbs, fieldPropLabel: 'name',
6149
- label: creds[credType] || 'Database Types',
6491
+ _react2.default.createElement("br", null),
6492
+ credType === "databaseType" ? _react2.default.createElement(Select, {
6493
+ vals: AmazonRDSdbs,
6494
+ fieldPropLabel: "name",
6495
+ label: creds[credType] || "Database Types",
6150
6496
  onSelect: function onSelect(v) {
6151
- return _this2.onChange({ target: { name: credType, value: v } });
6497
+ return _this2.onChange({
6498
+ target: { name: credType, value: v }
6499
+ });
6152
6500
  },
6153
- size: 'small', style: { width: 160, height: 31, textAlign: 'left' }
6154
- }) : _react2.default.createElement(Input, { name: credType, onKeyPress: _this2.credKeyPress,
6155
- datatype: credType === 'password' && !_this2.state.showPass ? 'password' : null,
6156
- value: _this2.state.actualCreds[credType] || '',
6157
- onChange: _this2.onChange }),
6501
+ size: "small",
6502
+ style: { width: 160, height: 31, textAlign: "left" }
6503
+ }) : _react2.default.createElement(Input, {
6504
+ name: credType,
6505
+ onKeyPress: _this2.credKeyPress,
6506
+ datatype: credType === "password" && !_this2.state.showPass ? "password" : null,
6507
+ value: _this2.state.actualCreds[credType] || "",
6508
+ onChange: _this2.onChange
6509
+ }),
6158
6510
  index === 0 && noRootUrl && _react2.default.createElement(
6159
6511
  Button,
6160
- { type: 'brand',
6512
+ {
6513
+ type: "brand",
6161
6514
  onClick: function onClick() {
6162
6515
  return check(_this2.state.actualCreds);
6163
6516
  },
6164
- style: { marginLeft: 8, marginBottom: 4, height: 30, lineHeight: '10px', marginTop: -1 },
6165
- disabled: credsDisabledCheck },
6517
+ style: {
6518
+ marginLeft: 8,
6519
+ marginBottom: 4,
6520
+ height: 30,
6521
+ lineHeight: "10px",
6522
+ marginTop: -1
6523
+ },
6524
+ disabled: credsDisabledCheck
6525
+ },
6166
6526
  _react2.default.createElement(
6167
- 'span',
6168
- { style: { display: 'inline-block', verticalAlign: 'top', marginTop: 3 } },
6169
- 'Test Connection'
6527
+ "span",
6528
+ {
6529
+ style: {
6530
+ display: "inline-block",
6531
+ verticalAlign: "top",
6532
+ marginTop: 3
6533
+ }
6534
+ },
6535
+ "Test Connection"
6170
6536
  ),
6171
- '\xA0\xA0',
6537
+ "\xA0\xA0",
6172
6538
  _react2.default.createElement(Loop, null)
6173
6539
  ),
6174
6540
  index === 0 && noRootUrl && checking && _react2.default.createElement(
6175
- 'span',
6541
+ "span",
6176
6542
  { style: { marginLeft: 10 } },
6177
6543
  _react2.default.createElement(Spinner, null)
6178
6544
  ),
6179
6545
  index === 0 && noRootUrl && envCheckResult && _react2.default.createElement(
6180
- 'span',
6546
+ "span",
6181
6547
  { style: { marginLeft: 10 } },
6182
6548
  envCheckResult,
6183
- ' ',
6549
+ " ",
6184
6550
  _react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
6185
6551
  ),
6186
- credType === 'password' && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
6552
+ credType === "password" && _react2.default.createElement(Key, {
6553
+ showPass: _this2.state.showPass,
6187
6554
  onClick: function onClick() {
6188
6555
  return _this2.setState({ showPass: !_this2.state.showPass });
6189
6556
  }
@@ -6192,17 +6559,21 @@ module.exports =
6192
6559
  })
6193
6560
  )
6194
6561
  ),
6195
- isAdapter && _react2.default.createElement(_adaptersecret2.default, { inputs: inputs,
6196
- providerType: providerType, secret: adapterSecret,
6562
+ isAdapter && _react2.default.createElement(_adaptersecret2.default, {
6563
+ inputs: inputs,
6564
+ providerType: providerType,
6565
+ secret: adapterSecret,
6197
6566
  generateNewAdapterSecret: generateNewAdapterSecret,
6198
- tenantKey: tenantKey, accountKey: accountKey })
6567
+ tenantKey: tenantKey,
6568
+ accountKey: accountKey
6569
+ })
6199
6570
  ),
6200
6571
  _react2.default.createElement(
6201
- 'span',
6572
+ "span",
6202
6573
  null,
6203
6574
  this.props.children
6204
6575
  ),
6205
- _react2.default.createElement('br', null),
6576
+ _react2.default.createElement("br", null),
6206
6577
  config.type != "LocalFile" && _react2.default.createElement(APIAcessHandle, {
6207
6578
  APIAccess: wizard.APIAccess,
6208
6579
  onChangeHandle: onAPIAccessChange
@@ -6222,21 +6593,32 @@ module.exports =
6222
6593
  showPass = _ref.showPass;
6223
6594
 
6224
6595
  return _react2.default.createElement(
6225
- 'svg',
6226
- { onClick: onClick, style: showPass ? { fill: '#3a91dcb3' } : {},
6227
- height: '24', width: '24', className: 'pass-key-svg', viewBox: '0 0 24 24' },
6228
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
6229
- _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' })
6596
+ "svg",
6597
+ {
6598
+ onClick: onClick,
6599
+ style: showPass ? { fill: "#3a91dcb3" } : {},
6600
+ height: "24",
6601
+ width: "24",
6602
+ className: "pass-key-svg",
6603
+ viewBox: "0 0 24 24"
6604
+ },
6605
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
6606
+ _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" })
6230
6607
  );
6231
6608
  };
6232
6609
 
6233
6610
  var Loop = function Loop() {
6234
6611
  return _react2.default.createElement(
6235
- 'svg',
6236
- { fill: '#FFFFFF', height: '18', viewBox: '0 0 24 24', width: '18',
6237
- style: { marginTop: -1 } },
6238
- _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' }),
6239
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })
6612
+ "svg",
6613
+ {
6614
+ fill: "#FFFFFF",
6615
+ height: "18",
6616
+ viewBox: "0 0 24 24",
6617
+ width: "18",
6618
+ style: { marginTop: -1 }
6619
+ },
6620
+ _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" }),
6621
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
6240
6622
  );
6241
6623
  };
6242
6624
 
@@ -6244,23 +6626,23 @@ module.exports =
6244
6626
  var result = _ref2.result;
6245
6627
 
6246
6628
  return _react2.default.createElement(
6247
- 'span',
6248
- { style: { display: 'inline-block' } },
6629
+ "span",
6630
+ { style: { display: "inline-block" } },
6249
6631
  result ? _react2.default.createElement(
6250
- 'span',
6251
- { style: { verticalAlign: 'middle' } },
6252
- result === '200 OK' ? _react2.default.createElement(
6253
- 'svg',
6254
- { fill: '#019644', height: '24', viewBox: '0 0 24 24', width: '24' },
6255
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
6256
- _react2.default.createElement('path', { d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z' })
6632
+ "span",
6633
+ { style: { verticalAlign: "middle" } },
6634
+ result === "200 OK" ? _react2.default.createElement(
6635
+ "svg",
6636
+ { fill: "#019644", height: "24", viewBox: "0 0 24 24", width: "24" },
6637
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
6638
+ _react2.default.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })
6257
6639
  ) : _react2.default.createElement(
6258
- 'svg',
6259
- { fill: '#EA5A5A', height: '24', viewBox: '0 0 24 24', width: '24' },
6260
- _react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
6261
- _react2.default.createElement('path', { d: 'M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z' })
6640
+ "svg",
6641
+ { fill: "#EA5A5A", height: "24", viewBox: "0 0 24 24", width: "24" },
6642
+ _react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }),
6643
+ _react2.default.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })
6262
6644
  )
6263
- ) : _react2.default.createElement('span', null)
6645
+ ) : _react2.default.createElement("span", null)
6264
6646
  );
6265
6647
  };
6266
6648
 
@@ -6270,16 +6652,13 @@ module.exports =
6270
6652
 
6271
6653
  return _react2.default.createElement(
6272
6654
  _reactBootstrap.Checkbox,
6273
- {
6274
- checked: APIAccess,
6275
- onChange: onChangeHandle
6276
- },
6277
- 'Make these credentials available via API'
6655
+ { checked: APIAccess, onChange: onChangeHandle },
6656
+ "Make these credentials available via API"
6278
6657
  );
6279
6658
  };
6280
6659
 
6281
6660
  /***/ },
6282
- /* 71 */
6661
+ /* 72 */
6283
6662
  /***/ function(module, exports, __webpack_require__) {
6284
6663
 
6285
6664
  'use strict';
@@ -6561,7 +6940,7 @@ module.exports =
6561
6940
  exports.default = Oauth;
6562
6941
 
6563
6942
  /***/ },
6564
- /* 72 */
6943
+ /* 73 */
6565
6944
  /***/ function(module, exports, __webpack_require__) {
6566
6945
 
6567
6946
  "use strict";
@@ -6576,7 +6955,7 @@ module.exports =
6576
6955
 
6577
6956
  var _react2 = _interopRequireDefault(_react);
6578
6957
 
6579
- __webpack_require__(47);
6958
+ __webpack_require__(38);
6580
6959
 
6581
6960
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6582
6961
 
@@ -6589,8 +6968,8 @@ module.exports =
6589
6968
  // SKIP ON SERVER-SIDE RENDERING
6590
6969
  var codemirror = null;
6591
6970
  if (typeof window !== "undefined" && typeof window.navigator !== "undefined") {
6592
- codemirror = __webpack_require__(49);
6593
- __webpack_require__(40);
6971
+ codemirror = __webpack_require__(39);
6972
+ __webpack_require__(30);
6594
6973
  }
6595
6974
 
6596
6975
  function unCamelize(text) {
@@ -6842,7 +7221,7 @@ module.exports =
6842
7221
  exports.default = SFTP;
6843
7222
 
6844
7223
  /***/ },
6845
- /* 73 */
7224
+ /* 74 */
6846
7225
  /***/ function(module, exports, __webpack_require__) {
6847
7226
 
6848
7227
  'use strict';
@@ -6866,7 +7245,7 @@ module.exports =
6866
7245
  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; }
6867
7246
 
6868
7247
  var images = {
6869
- ajax_loader_small: __webpack_require__(105)
7248
+ ajax_loader_small: __webpack_require__(106)
6870
7249
  };
6871
7250
 
6872
7251
  var WebSocket = function (_Component) {
@@ -7064,7 +7443,7 @@ module.exports =
7064
7443
  exports.default = WebSocket;
7065
7444
 
7066
7445
  /***/ },
7067
- /* 74 */
7446
+ /* 75 */
7068
7447
  /***/ function(module, exports, __webpack_require__) {
7069
7448
 
7070
7449
  "use strict";
@@ -7245,10 +7624,10 @@ module.exports =
7245
7624
  });
7246
7625
 
7247
7626
  /***/ },
7248
- /* 75 */,
7249
7627
  /* 76 */,
7250
7628
  /* 77 */,
7251
- /* 78 */
7629
+ /* 78 */,
7630
+ /* 79 */
7252
7631
  /***/ function(module, exports) {
7253
7632
 
7254
7633
  'use strict'
@@ -7405,7 +7784,7 @@ module.exports =
7405
7784
 
7406
7785
 
7407
7786
  /***/ },
7408
- /* 79 */
7787
+ /* 80 */
7409
7788
  /***/ function(module, exports, __webpack_require__) {
7410
7789
 
7411
7790
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
@@ -17214,7 +17593,6 @@ module.exports =
17214
17593
 
17215
17594
 
17216
17595
  /***/ },
17217
- /* 80 */,
17218
17596
  /* 81 */,
17219
17597
  /* 82 */,
17220
17598
  /* 83 */,
@@ -17233,7 +17611,8 @@ module.exports =
17233
17611
  /* 96 */,
17234
17612
  /* 97 */,
17235
17613
  /* 98 */,
17236
- /* 99 */
17614
+ /* 99 */,
17615
+ /* 100 */
17237
17616
  /***/ function(module, exports) {
17238
17617
 
17239
17618
  exports.read = function (buffer, offset, isLE, mLen, nBytes) {
@@ -17323,7 +17702,7 @@ module.exports =
17323
17702
 
17324
17703
 
17325
17704
  /***/ },
17326
- /* 100 */
17705
+ /* 101 */
17327
17706
  /***/ function(module, exports) {
17328
17707
 
17329
17708
  var toString = {}.toString;
@@ -17334,17 +17713,17 @@ module.exports =
17334
17713
 
17335
17714
 
17336
17715
  /***/ },
17337
- /* 101 */,
17338
17716
  /* 102 */,
17339
17717
  /* 103 */,
17340
17718
  /* 104 */,
17341
- /* 105 */
17719
+ /* 105 */,
17720
+ /* 106 */
17342
17721
  /***/ function(module, exports) {
17343
17722
 
17344
17723
  module.exports = "data:image/gif;base64,R0lGODlhEAALAPQAAP////////7+/v7+/v7+/v7+/v////7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/gAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCwAAACwAAAAAEAALAAAFLSAgjmRpnqSgCuLKAq5AEIM4zDVw03ve27ifDgfkEYe04kDIDC5zrtYKRa2WQgAh+QQJCwAAACwAAAAAEAALAAAFJGBhGAVgnqhpHIeRvsDawqns0qeN5+y967tYLyicBYE7EYkYAgAh+QQJCwAAACwAAAAAEAALAAAFNiAgjothLOOIJAkiGgxjpGKiKMkbz7SN6zIawJcDwIK9W/HISxGBzdHTuBNOmcJVCyoUlk7CEAAh+QQJCwAAACwAAAAAEAALAAAFNSAgjqQIRRFUAo3jNGIkSdHqPI8Tz3V55zuaDacDyIQ+YrBH+hWPzJFzOQQaeavWi7oqnVIhACH5BAkLAAAALAAAAAAQAAsAAAUyICCOZGme1rJY5kRRk7hI0mJSVUXJtF3iOl7tltsBZsNfUegjAY3I5sgFY55KqdX1GgIAIfkECQsAAAAsAAAAABAACwAABTcgII5kaZ4kcV2EqLJipmnZhWGXaOOitm2aXQ4g7P2Ct2ER4AMul00kj5g0Al8tADY2y6C+4FIIACH5BAkLAAAALAAAAAAQAAsAAAUvICCOZGme5ERRk6iy7qpyHCVStA3gNa/7txxwlwv2isSacYUc+l4tADQGQ1mvpBAAIfkECQsAAAAsAAAAABAACwAABS8gII5kaZ7kRFGTqLLuqnIcJVK0DeA1r/u3HHCXC/aKxJpxhRz6Xi0ANAZDWa+kEAA7AAAAAAAAAAAA"
17345
17724
 
17346
17725
  /***/ },
17347
- /* 106 */
17726
+ /* 107 */
17348
17727
  /***/ function(module, exports) {
17349
17728
 
17350
17729
  /* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
@@ -17352,7 +17731,7 @@ module.exports =
17352
17731
  /* WEBPACK VAR INJECTION */}.call(exports, {}))
17353
17732
 
17354
17733
  /***/ },
17355
- /* 107 */
17734
+ /* 108 */
17356
17735
  /***/ function(module, exports, __webpack_require__) {
17357
17736
 
17358
17737
  var require;var require;var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(Buffer, global) {/*
@@ -17371,7 +17750,7 @@ module.exports =
17371
17750
  */
17372
17751
  (function(e){
17373
17752
  if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();
17374
- else if("function"=="function"&&__webpack_require__(106)&&"undefined"==typeof DO_NOT_EXPORT_JSZIP){JSZipSync=e();!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));}
17753
+ else if("function"=="function"&&__webpack_require__(107)&&"undefined"==typeof DO_NOT_EXPORT_JSZIP){JSZipSync=e();!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = (e), __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? (__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));}
17375
17754
  else{
17376
17755
  var f;
17377
17756
  "undefined"!=typeof window?f=window:
@@ -26358,7 +26737,7 @@ module.exports =
26358
26737
  /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(28).Buffer, (function() { return this; }())))
26359
26738
 
26360
26739
  /***/ },
26361
- /* 108 */
26740
+ /* 109 */
26362
26741
  /***/ function(module, exports, __webpack_require__) {
26363
26742
 
26364
26743
  /* WEBPACK VAR INJECTION */(function(global, Buffer, process) {/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
@@ -26372,8 +26751,8 @@ module.exports =
26372
26751
  /*global cptable:true, window */
26373
26752
  if(true) {
26374
26753
  if(typeof cptable === 'undefined') {
26375
- if(typeof global !== 'undefined') global.cptable = __webpack_require__(48);
26376
- else if(typeof window !== 'undefined') window.cptable = __webpack_require__(48);
26754
+ if(typeof global !== 'undefined') global.cptable = __webpack_require__(49);
26755
+ else if(typeof window !== 'undefined') window.cptable = __webpack_require__(49);
26377
26756
  }
26378
26757
  }
26379
26758
 
@@ -28471,7 +28850,7 @@ module.exports =
28471
28850
  if(typeof JSZipSync !== 'undefined') jszip = JSZipSync;
28472
28851
  if(true) {
28473
28852
  if(typeof module !== 'undefined' && module.exports) {
28474
- if(typeof jszip === 'undefined') jszip = __webpack_require__(107);
28853
+ if(typeof jszip === 'undefined') jszip = __webpack_require__(108);
28475
28854
  }
28476
28855
  }
28477
28856
 
@@ -29092,7 +29471,7 @@ module.exports =
29092
29471
  var crypto;
29093
29472
  if(typeof _crypto !== 'undefined') crypto = _crypto;
29094
29473
  else if(true) {
29095
- try { crypto = __webpack_require__(110); }
29474
+ try { crypto = __webpack_require__(111); }
29096
29475
  catch(e) { crypto = null; }
29097
29476
  }
29098
29477
 
@@ -46463,7 +46842,7 @@ module.exports =
46463
46842
  })(utils);
46464
46843
 
46465
46844
  if(has_buf && "function" != 'undefined') (function() {
46466
- var Readable = __webpack_require__(111).Readable;
46845
+ var Readable = __webpack_require__(112).Readable;
46467
46846
 
46468
46847
  var write_csv_stream = function(sheet, opts) {
46469
46848
  var stream = Readable();
@@ -46611,15 +46990,15 @@ module.exports =
46611
46990
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(28).Buffer, __webpack_require__(60)))
46612
46991
 
46613
46992
  /***/ },
46614
- /* 109 */
46993
+ /* 110 */
46615
46994
  /***/ function(module, exports) {
46616
46995
 
46617
46996
  module.exports = require("papaparse");
46618
46997
 
46619
46998
  /***/ },
46620
- /* 110 */
46621
- 50,
46622
46999
  /* 111 */
47000
+ 50,
47001
+ /* 112 */
46623
47002
  50
46624
47003
  /******/ ])));
46625
47004
  //# sourceMappingURL=credentialSections.js.map