@lingk/sync 1.1.55 → 1.1.57
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/credentialSections.js +353 -46
- package/build/credentialSections.js.map +1 -1
- package/build/lightning.js +115 -114
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +36 -36
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js +2 -2
- package/build/lingkStyles.js.map +1 -1
- package/build/loadData.js +2 -2
- package/build/loadData.js.map +1 -1
- package/build/main.js +664 -357
- package/build/main.js.map +1 -1
- package/build/metadataDropdown.js.map +1 -1
- package/build/metadataFunctions.js.map +1 -1
- package/build/reducer.js +2 -2
- package/build/reducer.js.map +1 -1
- package/build/saveData.js.map +1 -1
- package/package.json +1 -1
|
@@ -68,7 +68,7 @@ module.exports =
|
|
|
68
68
|
/* 0 */
|
|
69
69
|
/***/ function(module, exports, __webpack_require__) {
|
|
70
70
|
|
|
71
|
-
module.exports = __webpack_require__(
|
|
71
|
+
module.exports = __webpack_require__(72);
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
/***/ },
|
|
@@ -128,9 +128,9 @@ module.exports =
|
|
|
128
128
|
|
|
129
129
|
'use strict'
|
|
130
130
|
|
|
131
|
-
var base64 = __webpack_require__(
|
|
132
|
-
var ieee754 = __webpack_require__(
|
|
133
|
-
var isArray = __webpack_require__(
|
|
131
|
+
var base64 = __webpack_require__(79)
|
|
132
|
+
var ieee754 = __webpack_require__(99)
|
|
133
|
+
var isArray = __webpack_require__(100)
|
|
134
134
|
|
|
135
135
|
exports.Buffer = Buffer
|
|
136
136
|
exports.SlowBuffer = SlowBuffer
|
|
@@ -1931,7 +1931,7 @@ module.exports =
|
|
|
1931
1931
|
|
|
1932
1932
|
(function(mod) {
|
|
1933
1933
|
if (true) // CommonJS
|
|
1934
|
-
mod(__webpack_require__(
|
|
1934
|
+
mod(__webpack_require__(80));
|
|
1935
1935
|
else if (typeof define == "function" && define.amd) // AMD
|
|
1936
1936
|
define(["../../lib/codemirror"], mod);
|
|
1937
1937
|
else // Plain browser env
|
|
@@ -4396,7 +4396,7 @@ module.exports =
|
|
|
4396
4396
|
|
|
4397
4397
|
var _react2 = _interopRequireDefault(_react);
|
|
4398
4398
|
|
|
4399
|
-
var _clipboard = __webpack_require__(
|
|
4399
|
+
var _clipboard = __webpack_require__(76);
|
|
4400
4400
|
|
|
4401
4401
|
var _clipboard2 = _interopRequireDefault(_clipboard);
|
|
4402
4402
|
|
|
@@ -4528,6 +4528,300 @@ module.exports =
|
|
|
4528
4528
|
|
|
4529
4529
|
/***/ },
|
|
4530
4530
|
/* 69 */
|
|
4531
|
+
/***/ function(module, exports, __webpack_require__) {
|
|
4532
|
+
|
|
4533
|
+
"use strict";
|
|
4534
|
+
|
|
4535
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4536
|
+
value: true
|
|
4537
|
+
});
|
|
4538
|
+
|
|
4539
|
+
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; }; }();
|
|
4540
|
+
|
|
4541
|
+
var _react = __webpack_require__(1);
|
|
4542
|
+
|
|
4543
|
+
var _react2 = _interopRequireDefault(_react);
|
|
4544
|
+
|
|
4545
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
4546
|
+
|
|
4547
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
4548
|
+
|
|
4549
|
+
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; }
|
|
4550
|
+
|
|
4551
|
+
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; }
|
|
4552
|
+
|
|
4553
|
+
var DocuSign = function (_Component) {
|
|
4554
|
+
_inherits(DocuSign, _Component);
|
|
4555
|
+
|
|
4556
|
+
function DocuSign() {
|
|
4557
|
+
_classCallCheck(this, DocuSign);
|
|
4558
|
+
|
|
4559
|
+
var _this = _possibleConstructorReturn(this, (DocuSign.__proto__ || Object.getPrototypeOf(DocuSign)).call(this));
|
|
4560
|
+
|
|
4561
|
+
_this.finishOauth = function (e) {
|
|
4562
|
+
if (e.data && e.data.lingkOauthMessage && e.data.lingkOauthMessage === 'complete') {
|
|
4563
|
+
_this.props.checkOauthCreds('finish');
|
|
4564
|
+
}
|
|
4565
|
+
};
|
|
4566
|
+
|
|
4567
|
+
_this.startOauth = function () {
|
|
4568
|
+
var wizard = _this.props.wizard;
|
|
4569
|
+
|
|
4570
|
+
_this.props.checkOauthCreds('start');
|
|
4571
|
+
var width = 600;
|
|
4572
|
+
var height = 600;
|
|
4573
|
+
var left = window.screenX + (window.outerWidth - width) / 2;
|
|
4574
|
+
var top = window.screenY + (window.outerHeight - height) / 2.5;
|
|
4575
|
+
var popup = window.open(wizard.dsOauthUrl, 'Oauth', "width=" + width + ",height=" + height + ",top=" + top + ",left=" + left);
|
|
4576
|
+
popup.focus();
|
|
4577
|
+
};
|
|
4578
|
+
|
|
4579
|
+
_this.state = {
|
|
4580
|
+
credentialType: "password", // password or ssh-key
|
|
4581
|
+
showPass: false
|
|
4582
|
+
};
|
|
4583
|
+
return _this;
|
|
4584
|
+
}
|
|
4585
|
+
|
|
4586
|
+
_createClass(DocuSign, [{
|
|
4587
|
+
key: "componentWillMount",
|
|
4588
|
+
value: function componentWillMount() {
|
|
4589
|
+
window.addEventListener('message', this.finishOauth);
|
|
4590
|
+
}
|
|
4591
|
+
}, {
|
|
4592
|
+
key: "componentWillUnmount",
|
|
4593
|
+
value: function componentWillUnmount() {
|
|
4594
|
+
window.removeEventListener('message', this.finishOauth);
|
|
4595
|
+
}
|
|
4596
|
+
}, {
|
|
4597
|
+
key: "render",
|
|
4598
|
+
value: function render() {
|
|
4599
|
+
var _props = this.props,
|
|
4600
|
+
inputs = _props.inputs,
|
|
4601
|
+
config = _props.config,
|
|
4602
|
+
creds = _props.creds,
|
|
4603
|
+
onChange = _props.onChange,
|
|
4604
|
+
onGenerateUrl = _props.onGenerateUrl,
|
|
4605
|
+
wizard = _props.wizard,
|
|
4606
|
+
providerType = _props.providerType,
|
|
4607
|
+
EnvCheckIcons = _props.EnvCheckIcons,
|
|
4608
|
+
envCheckResult = _props.envCheckResult,
|
|
4609
|
+
checking = _props.checking,
|
|
4610
|
+
onCheck = _props.onCheck,
|
|
4611
|
+
formValues = _props.formValues;
|
|
4612
|
+
|
|
4613
|
+
var Input = inputs.Input;
|
|
4614
|
+
var Button = inputs.Button;
|
|
4615
|
+
var Spinner = inputs.Spinner;
|
|
4616
|
+
var btnStyle = { height: 30, lineHeight: "11px", marginTop: -1 };
|
|
4617
|
+
|
|
4618
|
+
var credentials = config && config.credentials;
|
|
4619
|
+
var userName = creds && creds.userName;
|
|
4620
|
+
var Name = creds && creds.name;
|
|
4621
|
+
|
|
4622
|
+
return _react2.default.createElement(
|
|
4623
|
+
"div",
|
|
4624
|
+
null,
|
|
4625
|
+
userName && _react2.default.createElement(
|
|
4626
|
+
"div",
|
|
4627
|
+
null,
|
|
4628
|
+
userName === '_' ? _react2.default.createElement(
|
|
4629
|
+
"div",
|
|
4630
|
+
null,
|
|
4631
|
+
_react2.default.createElement(DotDot, { text: "Authorizing" })
|
|
4632
|
+
) : _react2.default.createElement(
|
|
4633
|
+
"div",
|
|
4634
|
+
null,
|
|
4635
|
+
"Authorized with API Username Id ",
|
|
4636
|
+
_react2.default.createElement(
|
|
4637
|
+
"strong",
|
|
4638
|
+
null,
|
|
4639
|
+
userName
|
|
4640
|
+
),
|
|
4641
|
+
" and Username ",
|
|
4642
|
+
_react2.default.createElement(
|
|
4643
|
+
"strong",
|
|
4644
|
+
null,
|
|
4645
|
+
Name
|
|
4646
|
+
)
|
|
4647
|
+
),
|
|
4648
|
+
_react2.default.createElement("br", null)
|
|
4649
|
+
),
|
|
4650
|
+
userName ? _react2.default.createElement(
|
|
4651
|
+
"div",
|
|
4652
|
+
null,
|
|
4653
|
+
"Connect to a different DocuSign Org:"
|
|
4654
|
+
) : _react2.default.createElement(
|
|
4655
|
+
"div",
|
|
4656
|
+
null,
|
|
4657
|
+
"Are you connecting to a Developer or Production Org?"
|
|
4658
|
+
),
|
|
4659
|
+
_react2.default.createElement(
|
|
4660
|
+
"div",
|
|
4661
|
+
{ style: { marginTop: 20 } },
|
|
4662
|
+
_react2.default.createElement(
|
|
4663
|
+
Button,
|
|
4664
|
+
{
|
|
4665
|
+
type: "brand",
|
|
4666
|
+
style: btnStyle,
|
|
4667
|
+
onClick: function onClick() {
|
|
4668
|
+
return onGenerateUrl("sandbox");
|
|
4669
|
+
}
|
|
4670
|
+
},
|
|
4671
|
+
"Developer"
|
|
4672
|
+
),
|
|
4673
|
+
_react2.default.createElement(
|
|
4674
|
+
Button,
|
|
4675
|
+
{
|
|
4676
|
+
type: "brand",
|
|
4677
|
+
style: Object.assign({ margin: "0 12px" }, btnStyle),
|
|
4678
|
+
onClick: function onClick() {
|
|
4679
|
+
return onGenerateUrl("production");
|
|
4680
|
+
}
|
|
4681
|
+
},
|
|
4682
|
+
"Production"
|
|
4683
|
+
),
|
|
4684
|
+
_react2.default.createElement(
|
|
4685
|
+
Button,
|
|
4686
|
+
{
|
|
4687
|
+
type: "brand",
|
|
4688
|
+
onClick: function onClick() {
|
|
4689
|
+
return onCheck(creds);
|
|
4690
|
+
},
|
|
4691
|
+
style: Object.assign({ marginLeft: 8 }, btnStyle)
|
|
4692
|
+
},
|
|
4693
|
+
_react2.default.createElement(
|
|
4694
|
+
"span",
|
|
4695
|
+
{
|
|
4696
|
+
style: {
|
|
4697
|
+
display: "inline-block",
|
|
4698
|
+
verticalAlign: "top",
|
|
4699
|
+
marginTop: 3
|
|
4700
|
+
}
|
|
4701
|
+
},
|
|
4702
|
+
"Test Connection"
|
|
4703
|
+
),
|
|
4704
|
+
"\xA0\xA0",
|
|
4705
|
+
_react2.default.createElement(Loop, null)
|
|
4706
|
+
),
|
|
4707
|
+
_react2.default.createElement(
|
|
4708
|
+
"div",
|
|
4709
|
+
{ style: { display: 'inline-block', marginLeft: 12 } },
|
|
4710
|
+
checking && _react2.default.createElement(Spinner, null),
|
|
4711
|
+
envCheckResult && _react2.default.createElement(
|
|
4712
|
+
"span",
|
|
4713
|
+
null,
|
|
4714
|
+
envCheckResult,
|
|
4715
|
+
" ",
|
|
4716
|
+
_react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
|
|
4717
|
+
)
|
|
4718
|
+
)
|
|
4719
|
+
),
|
|
4720
|
+
wizard.gettingDSOauthUrl && _react2.default.createElement(
|
|
4721
|
+
"div",
|
|
4722
|
+
null,
|
|
4723
|
+
_react2.default.createElement("br", null),
|
|
4724
|
+
_react2.default.createElement(Spinner, null),
|
|
4725
|
+
_react2.default.createElement("br", null),
|
|
4726
|
+
_react2.default.createElement("br", null)
|
|
4727
|
+
),
|
|
4728
|
+
wizard.dsOauthUrl && _react2.default.createElement(
|
|
4729
|
+
"div",
|
|
4730
|
+
null,
|
|
4731
|
+
_react2.default.createElement("br", null),
|
|
4732
|
+
_react2.default.createElement(
|
|
4733
|
+
"div",
|
|
4734
|
+
null,
|
|
4735
|
+
_react2.default.createElement(
|
|
4736
|
+
"strong",
|
|
4737
|
+
null,
|
|
4738
|
+
_react2.default.createElement(
|
|
4739
|
+
"a",
|
|
4740
|
+
{ style: { cursor: "pointer" }, onClick: this.startOauth },
|
|
4741
|
+
"Click Here"
|
|
4742
|
+
)
|
|
4743
|
+
),
|
|
4744
|
+
" ",
|
|
4745
|
+
"to authorize your ",
|
|
4746
|
+
providerType,
|
|
4747
|
+
" Org."
|
|
4748
|
+
),
|
|
4749
|
+
_react2.default.createElement("br", null)
|
|
4750
|
+
)
|
|
4751
|
+
);
|
|
4752
|
+
}
|
|
4753
|
+
}]);
|
|
4754
|
+
|
|
4755
|
+
return DocuSign;
|
|
4756
|
+
}(_react.Component);
|
|
4757
|
+
|
|
4758
|
+
var DotDot = function (_Component2) {
|
|
4759
|
+
_inherits(DotDot, _Component2);
|
|
4760
|
+
|
|
4761
|
+
function DotDot(props) {
|
|
4762
|
+
_classCallCheck(this, DotDot);
|
|
4763
|
+
|
|
4764
|
+
var _this2 = _possibleConstructorReturn(this, (DotDot.__proto__ || Object.getPrototypeOf(DotDot)).call(this));
|
|
4765
|
+
|
|
4766
|
+
_this2.state = {
|
|
4767
|
+
text: props.text
|
|
4768
|
+
};
|
|
4769
|
+
return _this2;
|
|
4770
|
+
}
|
|
4771
|
+
|
|
4772
|
+
_createClass(DotDot, [{
|
|
4773
|
+
key: "componentWillMount",
|
|
4774
|
+
value: function componentWillMount() {
|
|
4775
|
+
var _this3 = this;
|
|
4776
|
+
|
|
4777
|
+
this.interval = setInterval(function () {
|
|
4778
|
+
var text = _this3.state.text;
|
|
4779
|
+
|
|
4780
|
+
if (text.length < 28) {
|
|
4781
|
+
_this3.setState({ text: text + '.' });
|
|
4782
|
+
} else {
|
|
4783
|
+
_this3.setState({ text: _this3.props.text });
|
|
4784
|
+
}
|
|
4785
|
+
}, 200);
|
|
4786
|
+
}
|
|
4787
|
+
}, {
|
|
4788
|
+
key: "componentWillUnmount",
|
|
4789
|
+
value: function componentWillUnmount() {
|
|
4790
|
+
clearInterval(this.interval);
|
|
4791
|
+
}
|
|
4792
|
+
}, {
|
|
4793
|
+
key: "render",
|
|
4794
|
+
value: function render() {
|
|
4795
|
+
return _react2.default.createElement(
|
|
4796
|
+
"span",
|
|
4797
|
+
null,
|
|
4798
|
+
this.state.text
|
|
4799
|
+
);
|
|
4800
|
+
}
|
|
4801
|
+
}]);
|
|
4802
|
+
|
|
4803
|
+
return DotDot;
|
|
4804
|
+
}(_react.Component);
|
|
4805
|
+
|
|
4806
|
+
var Loop = function Loop() {
|
|
4807
|
+
return _react2.default.createElement(
|
|
4808
|
+
"svg",
|
|
4809
|
+
{
|
|
4810
|
+
fill: "#FFFFFF",
|
|
4811
|
+
height: "18",
|
|
4812
|
+
viewBox: "0 0 24 24",
|
|
4813
|
+
width: "18",
|
|
4814
|
+
style: { marginTop: -1 }
|
|
4815
|
+
},
|
|
4816
|
+
_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" }),
|
|
4817
|
+
_react2.default.createElement("path", { d: "M0 0h24v24H0z", fill: "none" })
|
|
4818
|
+
);
|
|
4819
|
+
};
|
|
4820
|
+
|
|
4821
|
+
exports.default = DocuSign;
|
|
4822
|
+
|
|
4823
|
+
/***/ },
|
|
4824
|
+
/* 70 */
|
|
4531
4825
|
/***/ function(module, exports, __webpack_require__) {
|
|
4532
4826
|
|
|
4533
4827
|
'use strict';
|
|
@@ -4548,11 +4842,11 @@ module.exports =
|
|
|
4548
4842
|
|
|
4549
4843
|
var _reactDropzone2 = _interopRequireDefault(_reactDropzone);
|
|
4550
4844
|
|
|
4551
|
-
var _papaparse = __webpack_require__(
|
|
4845
|
+
var _papaparse = __webpack_require__(108);
|
|
4552
4846
|
|
|
4553
4847
|
var _papaparse2 = _interopRequireDefault(_papaparse);
|
|
4554
4848
|
|
|
4555
|
-
var _xlsx = __webpack_require__(
|
|
4849
|
+
var _xlsx = __webpack_require__(107);
|
|
4556
4850
|
|
|
4557
4851
|
var _xlsx2 = _interopRequireDefault(_xlsx);
|
|
4558
4852
|
|
|
@@ -4627,8 +4921,8 @@ module.exports =
|
|
|
4627
4921
|
return '[' + firstLine + ']';
|
|
4628
4922
|
};
|
|
4629
4923
|
|
|
4630
|
-
_this.parseCSV = function (file, csv) {
|
|
4631
|
-
if (!csv || csv === null) {
|
|
4924
|
+
_this.parseCSV = function (file, csv, isXLS) {
|
|
4925
|
+
if (isXLS && (!csv || csv === null)) {
|
|
4632
4926
|
var err = 'Remove empty sheets- ' + file.name;
|
|
4633
4927
|
alert(err);
|
|
4634
4928
|
throw new Error(err);
|
|
@@ -4689,7 +4983,7 @@ module.exports =
|
|
|
4689
4983
|
});
|
|
4690
4984
|
sheetNames.forEach(function (sn) {
|
|
4691
4985
|
csv = _xlsx2.default.utils.sheet_to_csv(workbook.Sheets[sn]);
|
|
4692
|
-
_this.parseCSV(file, csv).then(function (xlsMeta) {
|
|
4986
|
+
_this.parseCSV(file, csv, isXLS).then(function (xlsMeta) {
|
|
4693
4987
|
meta = meta.concat(Object.assign({}, xlsMeta, {
|
|
4694
4988
|
sheetName: sn,
|
|
4695
4989
|
fileType: extension
|
|
@@ -4703,7 +4997,7 @@ module.exports =
|
|
|
4703
4997
|
});
|
|
4704
4998
|
});
|
|
4705
4999
|
} else if (extension === 'csv') {
|
|
4706
|
-
_this.parseCSV(file, csv).then(function (csvMeta) {
|
|
5000
|
+
_this.parseCSV(file, csv, null).then(function (csvMeta) {
|
|
4707
5001
|
meta = meta.concat(Object.assign({}, csvMeta, { fileType: extension }));
|
|
4708
5002
|
counter += 1;
|
|
4709
5003
|
if (counter === fs.length) {
|
|
@@ -5068,7 +5362,7 @@ module.exports =
|
|
|
5068
5362
|
exports.default = FlatFile;
|
|
5069
5363
|
|
|
5070
5364
|
/***/ },
|
|
5071
|
-
/*
|
|
5365
|
+
/* 71 */
|
|
5072
5366
|
/***/ function(module, exports, __webpack_require__) {
|
|
5073
5367
|
|
|
5074
5368
|
'use strict';
|
|
@@ -5268,7 +5562,7 @@ module.exports =
|
|
|
5268
5562
|
exports.default = Google;
|
|
5269
5563
|
|
|
5270
5564
|
/***/ },
|
|
5271
|
-
/*
|
|
5565
|
+
/* 72 */
|
|
5272
5566
|
/***/ function(module, exports, __webpack_require__) {
|
|
5273
5567
|
|
|
5274
5568
|
'use strict';
|
|
@@ -5283,11 +5577,11 @@ module.exports =
|
|
|
5283
5577
|
|
|
5284
5578
|
var _react2 = _interopRequireDefault(_react);
|
|
5285
5579
|
|
|
5286
|
-
var _flatfile = __webpack_require__(
|
|
5580
|
+
var _flatfile = __webpack_require__(70);
|
|
5287
5581
|
|
|
5288
5582
|
var _flatfile2 = _interopRequireDefault(_flatfile);
|
|
5289
5583
|
|
|
5290
|
-
var _google = __webpack_require__(
|
|
5584
|
+
var _google = __webpack_require__(71);
|
|
5291
5585
|
|
|
5292
5586
|
var _google2 = _interopRequireDefault(_google);
|
|
5293
5587
|
|
|
@@ -5295,18 +5589,22 @@ module.exports =
|
|
|
5295
5589
|
|
|
5296
5590
|
var _adaptersecret2 = _interopRequireDefault(_adaptersecret);
|
|
5297
5591
|
|
|
5298
|
-
var _websocket = __webpack_require__(
|
|
5592
|
+
var _websocket = __webpack_require__(75);
|
|
5299
5593
|
|
|
5300
5594
|
var _websocket2 = _interopRequireDefault(_websocket);
|
|
5301
5595
|
|
|
5302
|
-
var _oauth = __webpack_require__(
|
|
5596
|
+
var _oauth = __webpack_require__(73);
|
|
5303
5597
|
|
|
5304
5598
|
var _oauth2 = _interopRequireDefault(_oauth);
|
|
5305
5599
|
|
|
5306
|
-
var _sftp = __webpack_require__(
|
|
5600
|
+
var _sftp = __webpack_require__(74);
|
|
5307
5601
|
|
|
5308
5602
|
var _sftp2 = _interopRequireDefault(_sftp);
|
|
5309
5603
|
|
|
5604
|
+
var _docuSign = __webpack_require__(69);
|
|
5605
|
+
|
|
5606
|
+
var _docuSign2 = _interopRequireDefault(_docuSign);
|
|
5607
|
+
|
|
5310
5608
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5311
5609
|
|
|
5312
5610
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -5409,6 +5707,7 @@ module.exports =
|
|
|
5409
5707
|
wizard = _props2.wizard,
|
|
5410
5708
|
adapterSecret = _props2.adapterSecret,
|
|
5411
5709
|
checkOauthCreds = _props2.checkOauthCreds,
|
|
5710
|
+
getDocuSignOauthUrl = _props2.getDocuSignOauthUrl,
|
|
5412
5711
|
fileSchema = _props2.fileSchema,
|
|
5413
5712
|
postCredentials = _props2.postCredentials,
|
|
5414
5713
|
getOauthUrl = _props2.getOauthUrl,
|
|
@@ -5446,6 +5745,8 @@ module.exports =
|
|
|
5446
5745
|
var isAWS = config.type.startsWith('AWS');
|
|
5447
5746
|
|
|
5448
5747
|
var isSFTP = config.type === 'SFTP';
|
|
5748
|
+
|
|
5749
|
+
var isDocuSign = config.type === 'DocuSign';
|
|
5449
5750
|
var noRootUrl = isSFTP || isAWS;
|
|
5450
5751
|
var credsDisabledCheck = config && config.credentials && config.credentials.some(function (c) {
|
|
5451
5752
|
var formCreds = creds;
|
|
@@ -5461,7 +5762,7 @@ module.exports =
|
|
|
5461
5762
|
'p',
|
|
5462
5763
|
{ style: { marginBottom: 16 } },
|
|
5463
5764
|
config.message
|
|
5464
|
-
) : _react2.default.createElement('div',
|
|
5765
|
+
) : _react2.default.createElement('div', null),
|
|
5465
5766
|
isOauth ? _react2.default.createElement(_oauth2.default, { wizard: wizard, onCheck: check, change: change,
|
|
5466
5767
|
creds: this.props.creds, providerType: providerType,
|
|
5467
5768
|
onGenerateUrl: function onGenerateUrl(urlType) {
|
|
@@ -5471,7 +5772,13 @@ module.exports =
|
|
|
5471
5772
|
checking: checking, inputs: inputs, formValues: formValues,
|
|
5472
5773
|
isWiz: _react2.default.Children.count(this.props.children) > 0,
|
|
5473
5774
|
EnvCheckIcons: EnvCheckIcons
|
|
5474
|
-
}) :
|
|
5775
|
+
}) : isDocuSign ? _react2.default.createElement(_docuSign2.default, { inputs: inputs, config: config, creds: creds, onChange: this.onChange,
|
|
5776
|
+
onGenerateUrl: function onGenerateUrl(urlType) {
|
|
5777
|
+
return getDocuSignOauthUrl(urlType);
|
|
5778
|
+
}, checkOauthCreds: checkOauthCreds,
|
|
5779
|
+
wizard: wizard, providerType: providerType, EnvCheckIcons: EnvCheckIcons,
|
|
5780
|
+
envCheckResult: envCheckResult, checking: checking, formValues: formValues,
|
|
5781
|
+
onCheck: check }) : isFlatFile ? _react2.default.createElement(_flatfile2.default, { wizard: wizard, onCheck: check, fileSchema: fileSchema,
|
|
5475
5782
|
checking: checking, setCsvFields: setCsvFields,
|
|
5476
5783
|
providerType: providerType, inputs: inputs,
|
|
5477
5784
|
accountKey: accountKey, tenantKey: tenantKey,
|
|
@@ -5686,7 +5993,7 @@ module.exports =
|
|
|
5686
5993
|
};
|
|
5687
5994
|
|
|
5688
5995
|
/***/ },
|
|
5689
|
-
/*
|
|
5996
|
+
/* 73 */
|
|
5690
5997
|
/***/ function(module, exports, __webpack_require__) {
|
|
5691
5998
|
|
|
5692
5999
|
'use strict';
|
|
@@ -5968,7 +6275,7 @@ module.exports =
|
|
|
5968
6275
|
exports.default = Oauth;
|
|
5969
6276
|
|
|
5970
6277
|
/***/ },
|
|
5971
|
-
/*
|
|
6278
|
+
/* 74 */
|
|
5972
6279
|
/***/ function(module, exports, __webpack_require__) {
|
|
5973
6280
|
|
|
5974
6281
|
'use strict';
|
|
@@ -6211,7 +6518,7 @@ module.exports =
|
|
|
6211
6518
|
exports.default = SFTP;
|
|
6212
6519
|
|
|
6213
6520
|
/***/ },
|
|
6214
|
-
/*
|
|
6521
|
+
/* 75 */
|
|
6215
6522
|
/***/ function(module, exports, __webpack_require__) {
|
|
6216
6523
|
|
|
6217
6524
|
'use strict';
|
|
@@ -6235,7 +6542,7 @@ module.exports =
|
|
|
6235
6542
|
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; }
|
|
6236
6543
|
|
|
6237
6544
|
var images = {
|
|
6238
|
-
ajax_loader_small: __webpack_require__(
|
|
6545
|
+
ajax_loader_small: __webpack_require__(104)
|
|
6239
6546
|
};
|
|
6240
6547
|
|
|
6241
6548
|
var WebSocket = function (_Component) {
|
|
@@ -6433,7 +6740,7 @@ module.exports =
|
|
|
6433
6740
|
exports.default = WebSocket;
|
|
6434
6741
|
|
|
6435
6742
|
/***/ },
|
|
6436
|
-
/*
|
|
6743
|
+
/* 76 */
|
|
6437
6744
|
/***/ function(module, exports, __webpack_require__) {
|
|
6438
6745
|
|
|
6439
6746
|
"use strict";
|
|
@@ -6614,9 +6921,9 @@ module.exports =
|
|
|
6614
6921
|
});
|
|
6615
6922
|
|
|
6616
6923
|
/***/ },
|
|
6617
|
-
/* 76 */,
|
|
6618
6924
|
/* 77 */,
|
|
6619
|
-
/* 78
|
|
6925
|
+
/* 78 */,
|
|
6926
|
+
/* 79 */
|
|
6620
6927
|
/***/ function(module, exports) {
|
|
6621
6928
|
|
|
6622
6929
|
'use strict'
|
|
@@ -6773,7 +7080,7 @@ module.exports =
|
|
|
6773
7080
|
|
|
6774
7081
|
|
|
6775
7082
|
/***/ },
|
|
6776
|
-
/*
|
|
7083
|
+
/* 80 */
|
|
6777
7084
|
/***/ function(module, exports, __webpack_require__) {
|
|
6778
7085
|
|
|
6779
7086
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
@@ -16476,7 +16783,6 @@ module.exports =
|
|
|
16476
16783
|
|
|
16477
16784
|
|
|
16478
16785
|
/***/ },
|
|
16479
|
-
/* 80 */,
|
|
16480
16786
|
/* 81 */,
|
|
16481
16787
|
/* 82 */,
|
|
16482
16788
|
/* 83 */,
|
|
@@ -16494,7 +16800,8 @@ module.exports =
|
|
|
16494
16800
|
/* 95 */,
|
|
16495
16801
|
/* 96 */,
|
|
16496
16802
|
/* 97 */,
|
|
16497
|
-
/* 98
|
|
16803
|
+
/* 98 */,
|
|
16804
|
+
/* 99 */
|
|
16498
16805
|
/***/ function(module, exports) {
|
|
16499
16806
|
|
|
16500
16807
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
@@ -16584,7 +16891,7 @@ module.exports =
|
|
|
16584
16891
|
|
|
16585
16892
|
|
|
16586
16893
|
/***/ },
|
|
16587
|
-
/*
|
|
16894
|
+
/* 100 */
|
|
16588
16895
|
/***/ function(module, exports) {
|
|
16589
16896
|
|
|
16590
16897
|
var toString = {}.toString;
|
|
@@ -16595,7 +16902,7 @@ module.exports =
|
|
|
16595
16902
|
|
|
16596
16903
|
|
|
16597
16904
|
/***/ },
|
|
16598
|
-
/*
|
|
16905
|
+
/* 101 */
|
|
16599
16906
|
/***/ function(module, exports) {
|
|
16600
16907
|
|
|
16601
16908
|
// shim for using process in browser
|
|
@@ -16785,15 +17092,15 @@ module.exports =
|
|
|
16785
17092
|
|
|
16786
17093
|
|
|
16787
17094
|
/***/ },
|
|
16788
|
-
/* 101 */,
|
|
16789
17095
|
/* 102 */,
|
|
16790
|
-
/* 103
|
|
17096
|
+
/* 103 */,
|
|
17097
|
+
/* 104 */
|
|
16791
17098
|
/***/ function(module, exports) {
|
|
16792
17099
|
|
|
16793
17100
|
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"
|
|
16794
17101
|
|
|
16795
17102
|
/***/ },
|
|
16796
|
-
/*
|
|
17103
|
+
/* 105 */
|
|
16797
17104
|
/***/ function(module, exports) {
|
|
16798
17105
|
|
|
16799
17106
|
/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
|
|
@@ -16801,7 +17108,7 @@ module.exports =
|
|
|
16801
17108
|
/* WEBPACK VAR INJECTION */}.call(exports, {}))
|
|
16802
17109
|
|
|
16803
17110
|
/***/ },
|
|
16804
|
-
/*
|
|
17111
|
+
/* 106 */
|
|
16805
17112
|
/***/ function(module, exports, __webpack_require__) {
|
|
16806
17113
|
|
|
16807
17114
|
var require;var require;var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/* WEBPACK VAR INJECTION */(function(Buffer, global) {/*
|
|
@@ -16820,7 +17127,7 @@ module.exports =
|
|
|
16820
17127
|
*/
|
|
16821
17128
|
(function(e){
|
|
16822
17129
|
if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();
|
|
16823
|
-
else if("function"=="function"&&__webpack_require__(
|
|
17130
|
+
else if("function"=="function"&&__webpack_require__(105)&&"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__));}
|
|
16824
17131
|
else{
|
|
16825
17132
|
var f;
|
|
16826
17133
|
"undefined"!=typeof window?f=window:
|
|
@@ -25807,7 +26114,7 @@ module.exports =
|
|
|
25807
26114
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29).Buffer, (function() { return this; }())))
|
|
25808
26115
|
|
|
25809
26116
|
/***/ },
|
|
25810
|
-
/*
|
|
26117
|
+
/* 107 */
|
|
25811
26118
|
/***/ function(module, exports, __webpack_require__) {
|
|
25812
26119
|
|
|
25813
26120
|
/* WEBPACK VAR INJECTION */(function(global, Buffer, process) {/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
@@ -27920,7 +28227,7 @@ module.exports =
|
|
|
27920
28227
|
if(typeof JSZipSync !== 'undefined') jszip = JSZipSync;
|
|
27921
28228
|
if(true) {
|
|
27922
28229
|
if(typeof module !== 'undefined' && module.exports) {
|
|
27923
|
-
if(typeof jszip === 'undefined') jszip = __webpack_require__(
|
|
28230
|
+
if(typeof jszip === 'undefined') jszip = __webpack_require__(106);
|
|
27924
28231
|
}
|
|
27925
28232
|
}
|
|
27926
28233
|
|
|
@@ -28541,7 +28848,7 @@ module.exports =
|
|
|
28541
28848
|
var crypto;
|
|
28542
28849
|
if(typeof _crypto !== 'undefined') crypto = _crypto;
|
|
28543
28850
|
else if(true) {
|
|
28544
|
-
try { crypto = __webpack_require__(
|
|
28851
|
+
try { crypto = __webpack_require__(109); }
|
|
28545
28852
|
catch(e) { crypto = null; }
|
|
28546
28853
|
}
|
|
28547
28854
|
|
|
@@ -45912,7 +46219,7 @@ module.exports =
|
|
|
45912
46219
|
})(utils);
|
|
45913
46220
|
|
|
45914
46221
|
if(has_buf && "function" != 'undefined') (function() {
|
|
45915
|
-
var Readable = __webpack_require__(
|
|
46222
|
+
var Readable = __webpack_require__(110).Readable;
|
|
45916
46223
|
|
|
45917
46224
|
var write_csv_stream = function(sheet, opts) {
|
|
45918
46225
|
var stream = Readable();
|
|
@@ -46057,18 +46364,18 @@ module.exports =
|
|
|
46057
46364
|
/*exported XLS, ODS */
|
|
46058
46365
|
var XLS = XLSX, ODS = XLSX;
|
|
46059
46366
|
|
|
46060
|
-
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29).Buffer, __webpack_require__(
|
|
46367
|
+
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29).Buffer, __webpack_require__(101)))
|
|
46061
46368
|
|
|
46062
46369
|
/***/ },
|
|
46063
|
-
/*
|
|
46370
|
+
/* 108 */
|
|
46064
46371
|
/***/ function(module, exports) {
|
|
46065
46372
|
|
|
46066
46373
|
module.exports = require("papaparse");
|
|
46067
46374
|
|
|
46068
46375
|
/***/ },
|
|
46069
|
-
/* 108 */
|
|
46070
|
-
52,
|
|
46071
46376
|
/* 109 */
|
|
46377
|
+
52,
|
|
46378
|
+
/* 110 */
|
|
46072
46379
|
52
|
|
46073
46380
|
/******/ ])));
|
|
46074
46381
|
//# sourceMappingURL=credentialSections.js.map
|