@lingk/sync 1.1.56 → 1.1.58
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 +377 -48
- package/build/credentialSections.js.map +1 -1
- package/build/lightning.js +119 -118
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +54 -54
- 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 +725 -396
- 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
|
/***/ },
|
|
@@ -78,14 +78,14 @@ module.exports =
|
|
|
78
78
|
module.exports = require("react");
|
|
79
79
|
|
|
80
80
|
/***/ },
|
|
81
|
-
/* 2
|
|
82
|
-
/* 3 */,
|
|
83
|
-
/* 4 */
|
|
81
|
+
/* 2 */
|
|
84
82
|
/***/ function(module, exports) {
|
|
85
83
|
|
|
86
84
|
module.exports = require("react-bootstrap");
|
|
87
85
|
|
|
88
86
|
/***/ },
|
|
87
|
+
/* 3 */,
|
|
88
|
+
/* 4 */,
|
|
89
89
|
/* 5 */,
|
|
90
90
|
/* 6 */,
|
|
91
91
|
/* 7 */,
|
|
@@ -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
|
|
|
@@ -4560,7 +4854,7 @@ module.exports =
|
|
|
4560
4854
|
|
|
4561
4855
|
var _moment2 = _interopRequireDefault(_moment);
|
|
4562
4856
|
|
|
4563
|
-
var _reactBootstrap = __webpack_require__(
|
|
4857
|
+
var _reactBootstrap = __webpack_require__(2);
|
|
4564
4858
|
|
|
4565
4859
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
4566
4860
|
|
|
@@ -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,24 @@ 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
|
+
|
|
5608
|
+
var _reactBootstrap = __webpack_require__(2);
|
|
5609
|
+
|
|
5310
5610
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
5311
5611
|
|
|
5312
5612
|
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; }
|
|
@@ -5349,7 +5649,8 @@ module.exports =
|
|
|
5349
5649
|
|
|
5350
5650
|
_this.state = {
|
|
5351
5651
|
actualCreds: {},
|
|
5352
|
-
showPass: false
|
|
5652
|
+
showPass: false,
|
|
5653
|
+
APIAccess: false
|
|
5353
5654
|
};
|
|
5354
5655
|
return _this;
|
|
5355
5656
|
}
|
|
@@ -5409,6 +5710,7 @@ module.exports =
|
|
|
5409
5710
|
wizard = _props2.wizard,
|
|
5410
5711
|
adapterSecret = _props2.adapterSecret,
|
|
5411
5712
|
checkOauthCreds = _props2.checkOauthCreds,
|
|
5713
|
+
getDocuSignOauthUrl = _props2.getDocuSignOauthUrl,
|
|
5412
5714
|
fileSchema = _props2.fileSchema,
|
|
5413
5715
|
postCredentials = _props2.postCredentials,
|
|
5414
5716
|
getOauthUrl = _props2.getOauthUrl,
|
|
@@ -5424,7 +5726,8 @@ module.exports =
|
|
|
5424
5726
|
downloadFileFromAws = _props2.downloadFileFromAws,
|
|
5425
5727
|
deleteFlatFile = _props2.deleteFlatFile,
|
|
5426
5728
|
gencerts = _props2.gencerts,
|
|
5427
|
-
downloadcerts = _props2.downloadcerts
|
|
5729
|
+
downloadcerts = _props2.downloadcerts,
|
|
5730
|
+
onAPIAccessChange = _props2.onAPIAccessChange;
|
|
5428
5731
|
|
|
5429
5732
|
var Button = inputs.Button;
|
|
5430
5733
|
var Spinner = inputs.Spinner;
|
|
@@ -5446,6 +5749,8 @@ module.exports =
|
|
|
5446
5749
|
var isAWS = config.type.startsWith('AWS');
|
|
5447
5750
|
|
|
5448
5751
|
var isSFTP = config.type === 'SFTP';
|
|
5752
|
+
|
|
5753
|
+
var isDocuSign = config.type === 'DocuSign';
|
|
5449
5754
|
var noRootUrl = isSFTP || isAWS;
|
|
5450
5755
|
var credsDisabledCheck = config && config.credentials && config.credentials.some(function (c) {
|
|
5451
5756
|
var formCreds = creds;
|
|
@@ -5461,7 +5766,11 @@ module.exports =
|
|
|
5461
5766
|
'p',
|
|
5462
5767
|
{ style: { marginBottom: 16 } },
|
|
5463
5768
|
config.message
|
|
5464
|
-
) : _react2.default.createElement('div',
|
|
5769
|
+
) : _react2.default.createElement('div', null),
|
|
5770
|
+
_react2.default.createElement(APIAcessHandle, {
|
|
5771
|
+
APIAccess: wizard.APIAccess,
|
|
5772
|
+
onChangeHandle: onAPIAccessChange
|
|
5773
|
+
}),
|
|
5465
5774
|
isOauth ? _react2.default.createElement(_oauth2.default, { wizard: wizard, onCheck: check, change: change,
|
|
5466
5775
|
creds: this.props.creds, providerType: providerType,
|
|
5467
5776
|
onGenerateUrl: function onGenerateUrl(urlType) {
|
|
@@ -5471,7 +5780,13 @@ module.exports =
|
|
|
5471
5780
|
checking: checking, inputs: inputs, formValues: formValues,
|
|
5472
5781
|
isWiz: _react2.default.Children.count(this.props.children) > 0,
|
|
5473
5782
|
EnvCheckIcons: EnvCheckIcons
|
|
5474
|
-
}) :
|
|
5783
|
+
}) : isDocuSign ? _react2.default.createElement(_docuSign2.default, { inputs: inputs, config: config, creds: creds, onChange: this.onChange,
|
|
5784
|
+
onGenerateUrl: function onGenerateUrl(urlType) {
|
|
5785
|
+
return getDocuSignOauthUrl(urlType);
|
|
5786
|
+
}, checkOauthCreds: checkOauthCreds,
|
|
5787
|
+
wizard: wizard, providerType: providerType, EnvCheckIcons: EnvCheckIcons,
|
|
5788
|
+
envCheckResult: envCheckResult, checking: checking, formValues: formValues,
|
|
5789
|
+
onCheck: check }) : isFlatFile ? _react2.default.createElement(_flatfile2.default, { wizard: wizard, onCheck: check, fileSchema: fileSchema,
|
|
5475
5790
|
checking: checking, setCsvFields: setCsvFields,
|
|
5476
5791
|
providerType: providerType, inputs: inputs,
|
|
5477
5792
|
accountKey: accountKey, tenantKey: tenantKey,
|
|
@@ -5684,9 +5999,23 @@ module.exports =
|
|
|
5684
5999
|
) : _react2.default.createElement('span', null)
|
|
5685
6000
|
);
|
|
5686
6001
|
};
|
|
6002
|
+
|
|
6003
|
+
var APIAcessHandle = function APIAcessHandle(_ref3) {
|
|
6004
|
+
var APIAccess = _ref3.APIAccess,
|
|
6005
|
+
onChangeHandle = _ref3.onChangeHandle;
|
|
6006
|
+
|
|
6007
|
+
return _react2.default.createElement(
|
|
6008
|
+
_reactBootstrap.Checkbox,
|
|
6009
|
+
{
|
|
6010
|
+
checked: APIAccess,
|
|
6011
|
+
onChange: onChangeHandle
|
|
6012
|
+
},
|
|
6013
|
+
'Make these credentials available via API'
|
|
6014
|
+
);
|
|
6015
|
+
};
|
|
5687
6016
|
|
|
5688
6017
|
/***/ },
|
|
5689
|
-
/*
|
|
6018
|
+
/* 73 */
|
|
5690
6019
|
/***/ function(module, exports, __webpack_require__) {
|
|
5691
6020
|
|
|
5692
6021
|
'use strict';
|
|
@@ -5968,7 +6297,7 @@ module.exports =
|
|
|
5968
6297
|
exports.default = Oauth;
|
|
5969
6298
|
|
|
5970
6299
|
/***/ },
|
|
5971
|
-
/*
|
|
6300
|
+
/* 74 */
|
|
5972
6301
|
/***/ function(module, exports, __webpack_require__) {
|
|
5973
6302
|
|
|
5974
6303
|
'use strict';
|
|
@@ -6211,7 +6540,7 @@ module.exports =
|
|
|
6211
6540
|
exports.default = SFTP;
|
|
6212
6541
|
|
|
6213
6542
|
/***/ },
|
|
6214
|
-
/*
|
|
6543
|
+
/* 75 */
|
|
6215
6544
|
/***/ function(module, exports, __webpack_require__) {
|
|
6216
6545
|
|
|
6217
6546
|
'use strict';
|
|
@@ -6235,7 +6564,7 @@ module.exports =
|
|
|
6235
6564
|
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
6565
|
|
|
6237
6566
|
var images = {
|
|
6238
|
-
ajax_loader_small: __webpack_require__(
|
|
6567
|
+
ajax_loader_small: __webpack_require__(104)
|
|
6239
6568
|
};
|
|
6240
6569
|
|
|
6241
6570
|
var WebSocket = function (_Component) {
|
|
@@ -6433,7 +6762,7 @@ module.exports =
|
|
|
6433
6762
|
exports.default = WebSocket;
|
|
6434
6763
|
|
|
6435
6764
|
/***/ },
|
|
6436
|
-
/*
|
|
6765
|
+
/* 76 */
|
|
6437
6766
|
/***/ function(module, exports, __webpack_require__) {
|
|
6438
6767
|
|
|
6439
6768
|
"use strict";
|
|
@@ -6614,9 +6943,9 @@ module.exports =
|
|
|
6614
6943
|
});
|
|
6615
6944
|
|
|
6616
6945
|
/***/ },
|
|
6617
|
-
/* 76 */,
|
|
6618
6946
|
/* 77 */,
|
|
6619
|
-
/* 78
|
|
6947
|
+
/* 78 */,
|
|
6948
|
+
/* 79 */
|
|
6620
6949
|
/***/ function(module, exports) {
|
|
6621
6950
|
|
|
6622
6951
|
'use strict'
|
|
@@ -6773,7 +7102,7 @@ module.exports =
|
|
|
6773
7102
|
|
|
6774
7103
|
|
|
6775
7104
|
/***/ },
|
|
6776
|
-
/*
|
|
7105
|
+
/* 80 */
|
|
6777
7106
|
/***/ function(module, exports, __webpack_require__) {
|
|
6778
7107
|
|
|
6779
7108
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
@@ -16476,7 +16805,6 @@ module.exports =
|
|
|
16476
16805
|
|
|
16477
16806
|
|
|
16478
16807
|
/***/ },
|
|
16479
|
-
/* 80 */,
|
|
16480
16808
|
/* 81 */,
|
|
16481
16809
|
/* 82 */,
|
|
16482
16810
|
/* 83 */,
|
|
@@ -16494,7 +16822,8 @@ module.exports =
|
|
|
16494
16822
|
/* 95 */,
|
|
16495
16823
|
/* 96 */,
|
|
16496
16824
|
/* 97 */,
|
|
16497
|
-
/* 98
|
|
16825
|
+
/* 98 */,
|
|
16826
|
+
/* 99 */
|
|
16498
16827
|
/***/ function(module, exports) {
|
|
16499
16828
|
|
|
16500
16829
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
@@ -16584,7 +16913,7 @@ module.exports =
|
|
|
16584
16913
|
|
|
16585
16914
|
|
|
16586
16915
|
/***/ },
|
|
16587
|
-
/*
|
|
16916
|
+
/* 100 */
|
|
16588
16917
|
/***/ function(module, exports) {
|
|
16589
16918
|
|
|
16590
16919
|
var toString = {}.toString;
|
|
@@ -16595,7 +16924,7 @@ module.exports =
|
|
|
16595
16924
|
|
|
16596
16925
|
|
|
16597
16926
|
/***/ },
|
|
16598
|
-
/*
|
|
16927
|
+
/* 101 */
|
|
16599
16928
|
/***/ function(module, exports) {
|
|
16600
16929
|
|
|
16601
16930
|
// shim for using process in browser
|
|
@@ -16785,15 +17114,15 @@ module.exports =
|
|
|
16785
17114
|
|
|
16786
17115
|
|
|
16787
17116
|
/***/ },
|
|
16788
|
-
/* 101 */,
|
|
16789
17117
|
/* 102 */,
|
|
16790
|
-
/* 103
|
|
17118
|
+
/* 103 */,
|
|
17119
|
+
/* 104 */
|
|
16791
17120
|
/***/ function(module, exports) {
|
|
16792
17121
|
|
|
16793
17122
|
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
17123
|
|
|
16795
17124
|
/***/ },
|
|
16796
|
-
/*
|
|
17125
|
+
/* 105 */
|
|
16797
17126
|
/***/ function(module, exports) {
|
|
16798
17127
|
|
|
16799
17128
|
/* WEBPACK VAR INJECTION */(function(__webpack_amd_options__) {module.exports = __webpack_amd_options__;
|
|
@@ -16801,7 +17130,7 @@ module.exports =
|
|
|
16801
17130
|
/* WEBPACK VAR INJECTION */}.call(exports, {}))
|
|
16802
17131
|
|
|
16803
17132
|
/***/ },
|
|
16804
|
-
/*
|
|
17133
|
+
/* 106 */
|
|
16805
17134
|
/***/ function(module, exports, __webpack_require__) {
|
|
16806
17135
|
|
|
16807
17136
|
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 +17149,7 @@ module.exports =
|
|
|
16820
17149
|
*/
|
|
16821
17150
|
(function(e){
|
|
16822
17151
|
if("object"==typeof exports&&"undefined"!=typeof module&&"undefined"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();
|
|
16823
|
-
else if("function"=="function"&&__webpack_require__(
|
|
17152
|
+
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
17153
|
else{
|
|
16825
17154
|
var f;
|
|
16826
17155
|
"undefined"!=typeof window?f=window:
|
|
@@ -25807,7 +26136,7 @@ module.exports =
|
|
|
25807
26136
|
/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(29).Buffer, (function() { return this; }())))
|
|
25808
26137
|
|
|
25809
26138
|
/***/ },
|
|
25810
|
-
/*
|
|
26139
|
+
/* 107 */
|
|
25811
26140
|
/***/ function(module, exports, __webpack_require__) {
|
|
25812
26141
|
|
|
25813
26142
|
/* WEBPACK VAR INJECTION */(function(global, Buffer, process) {/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
|
|
@@ -27920,7 +28249,7 @@ module.exports =
|
|
|
27920
28249
|
if(typeof JSZipSync !== 'undefined') jszip = JSZipSync;
|
|
27921
28250
|
if(true) {
|
|
27922
28251
|
if(typeof module !== 'undefined' && module.exports) {
|
|
27923
|
-
if(typeof jszip === 'undefined') jszip = __webpack_require__(
|
|
28252
|
+
if(typeof jszip === 'undefined') jszip = __webpack_require__(106);
|
|
27924
28253
|
}
|
|
27925
28254
|
}
|
|
27926
28255
|
|
|
@@ -28541,7 +28870,7 @@ module.exports =
|
|
|
28541
28870
|
var crypto;
|
|
28542
28871
|
if(typeof _crypto !== 'undefined') crypto = _crypto;
|
|
28543
28872
|
else if(true) {
|
|
28544
|
-
try { crypto = __webpack_require__(
|
|
28873
|
+
try { crypto = __webpack_require__(109); }
|
|
28545
28874
|
catch(e) { crypto = null; }
|
|
28546
28875
|
}
|
|
28547
28876
|
|
|
@@ -45912,7 +46241,7 @@ module.exports =
|
|
|
45912
46241
|
})(utils);
|
|
45913
46242
|
|
|
45914
46243
|
if(has_buf && "function" != 'undefined') (function() {
|
|
45915
|
-
var Readable = __webpack_require__(
|
|
46244
|
+
var Readable = __webpack_require__(110).Readable;
|
|
45916
46245
|
|
|
45917
46246
|
var write_csv_stream = function(sheet, opts) {
|
|
45918
46247
|
var stream = Readable();
|
|
@@ -46057,18 +46386,18 @@ module.exports =
|
|
|
46057
46386
|
/*exported XLS, ODS */
|
|
46058
46387
|
var XLS = XLSX, ODS = XLSX;
|
|
46059
46388
|
|
|
46060
|
-
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29).Buffer, __webpack_require__(
|
|
46389
|
+
/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(29).Buffer, __webpack_require__(101)))
|
|
46061
46390
|
|
|
46062
46391
|
/***/ },
|
|
46063
|
-
/*
|
|
46392
|
+
/* 108 */
|
|
46064
46393
|
/***/ function(module, exports) {
|
|
46065
46394
|
|
|
46066
46395
|
module.exports = require("papaparse");
|
|
46067
46396
|
|
|
46068
46397
|
/***/ },
|
|
46069
|
-
/* 108 */
|
|
46070
|
-
52,
|
|
46071
46398
|
/* 109 */
|
|
46399
|
+
52,
|
|
46400
|
+
/* 110 */
|
|
46072
46401
|
52
|
|
46073
46402
|
/******/ ])));
|
|
46074
46403
|
//# sourceMappingURL=credentialSections.js.map
|