@lingk/sync 0.2.3 → 0.2.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.
- package/build/credentialSections.js +32 -20
- package/build/credentialSections.js.map +1 -1
- package/build/lightning.js +90 -90
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +30 -30
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js.map +1 -1
- package/build/loadData.js +323 -0
- package/build/loadData.js.map +1 -0
- package/build/main.js +1113 -1162
- package/build/main.js.map +1 -1
- package/build/metadataFunctions.js +2 -2
- package/build/metadataFunctions.js.map +1 -1
- package/build/reducer.js +6 -6
- package/build/reducer.js.map +1 -1
- package/build/saveData.js +339 -0
- package/build/saveData.js.map +1 -0
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ module.exports =
|
|
|
46
46
|
/***/ 0:
|
|
47
47
|
/***/ function(module, exports, __webpack_require__) {
|
|
48
48
|
|
|
49
|
-
module.exports = __webpack_require__(
|
|
49
|
+
module.exports = __webpack_require__(43);
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
/***/ },
|
|
@@ -58,7 +58,7 @@ module.exports =
|
|
|
58
58
|
|
|
59
59
|
/***/ },
|
|
60
60
|
|
|
61
|
-
/***/
|
|
61
|
+
/***/ 43:
|
|
62
62
|
/***/ function(module, exports, __webpack_require__) {
|
|
63
63
|
|
|
64
64
|
'use strict';
|
|
@@ -73,17 +73,17 @@ module.exports =
|
|
|
73
73
|
|
|
74
74
|
var _react2 = _interopRequireDefault(_react);
|
|
75
75
|
|
|
76
|
-
var _reactDropzone = __webpack_require__(
|
|
76
|
+
var _reactDropzone = __webpack_require__(60);
|
|
77
77
|
|
|
78
78
|
var _reactDropzone2 = _interopRequireDefault(_reactDropzone);
|
|
79
79
|
|
|
80
|
-
var _papaparse = __webpack_require__(
|
|
80
|
+
var _papaparse = __webpack_require__(58);
|
|
81
81
|
|
|
82
82
|
var _papaparse2 = _interopRequireDefault(_papaparse);
|
|
83
83
|
|
|
84
|
-
__webpack_require__(
|
|
84
|
+
__webpack_require__(57);
|
|
85
85
|
|
|
86
|
-
var _clipboard = __webpack_require__(
|
|
86
|
+
var _clipboard = __webpack_require__(44);
|
|
87
87
|
|
|
88
88
|
var _clipboard2 = _interopRequireDefault(_clipboard);
|
|
89
89
|
|
|
@@ -102,8 +102,8 @@ module.exports =
|
|
|
102
102
|
// SKIP ON SERVER-SIDE RENDERING
|
|
103
103
|
var codemirror = null;
|
|
104
104
|
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
|
|
105
|
-
codemirror = __webpack_require__(
|
|
106
|
-
__webpack_require__(
|
|
105
|
+
codemirror = __webpack_require__(59);
|
|
106
|
+
__webpack_require__(56);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
function unCamelize(text) {
|
|
@@ -151,13 +151,19 @@ module.exports =
|
|
|
151
151
|
rootUrl: creds.rootUrl || 'https://'
|
|
152
152
|
}) });
|
|
153
153
|
}
|
|
154
|
+
}, {
|
|
155
|
+
key: 'componentWillReceiveProps',
|
|
156
|
+
value: function componentWillReceiveProps(newProps) {
|
|
157
|
+
if (JSON.stringify(this.state.actualCreds) !== JSON.stringify(newProps.creds)) {
|
|
158
|
+
this.setState({ actualCreds: newProps.creds });
|
|
159
|
+
}
|
|
160
|
+
}
|
|
154
161
|
}, {
|
|
155
162
|
key: 'render',
|
|
156
163
|
value: function render() {
|
|
157
164
|
var _this2 = this;
|
|
158
165
|
|
|
159
166
|
var _props = this.props,
|
|
160
|
-
step = _props.step,
|
|
161
167
|
config = _props.config,
|
|
162
168
|
tenantKey = _props.tenantKey,
|
|
163
169
|
accountKey = _props.accountKey,
|
|
@@ -172,6 +178,7 @@ module.exports =
|
|
|
172
178
|
inputs = _props.inputs,
|
|
173
179
|
envCheckResult = _props.envCheckResult;
|
|
174
180
|
|
|
181
|
+
|
|
175
182
|
var Button = inputs.Button;
|
|
176
183
|
var Spinner = inputs.Spinner;
|
|
177
184
|
var Input = inputs.Input;
|
|
@@ -203,13 +210,13 @@ module.exports =
|
|
|
203
210
|
_react2.default.createElement('br', null),
|
|
204
211
|
_react2.default.createElement('br', null)
|
|
205
212
|
),
|
|
206
|
-
isOauth ? _react2.default.createElement(Oauth, {
|
|
213
|
+
isOauth ? _react2.default.createElement(Oauth, { wizard: wizard, onCheck: check,
|
|
207
214
|
creds: this.props.creds, providerType: providerType,
|
|
208
215
|
onGenerateUrl: function onGenerateUrl(urlType) {
|
|
209
216
|
return getOauthUrl(urlType, providerType);
|
|
210
217
|
},
|
|
211
218
|
checkOauthCreds: checkOauthCreds, envCheckResult: envCheckResult,
|
|
212
|
-
checking: checking, inputs: inputs }) : isSFTP ? _react2.default.createElement(SFTP, {
|
|
219
|
+
checking: checking, inputs: inputs }) : isSFTP ? _react2.default.createElement(SFTP, { wizard: wizard, onCheck: check,
|
|
213
220
|
checking: checking, setCsvFields: setCsvFields,
|
|
214
221
|
providerType: providerType }) : isGoogle ? _react2.default.createElement(Google, { config: config, creds: creds, onChange: this.onChange,
|
|
215
222
|
credsDisabledCheck: credsDisabledCheck, inputs: inputs }) : _react2.default.createElement(
|
|
@@ -287,11 +294,16 @@ module.exports =
|
|
|
287
294
|
})
|
|
288
295
|
)
|
|
289
296
|
),
|
|
290
|
-
isAdapter && _react2.default.createElement(AdapterSecret, {
|
|
297
|
+
isAdapter && _react2.default.createElement(AdapterSecret, { inputs: inputs,
|
|
291
298
|
providerType: providerType, secret: adapterSecret,
|
|
292
299
|
generateNewAdapterSecret: generateNewAdapterSecret,
|
|
293
300
|
tenantKey: tenantKey, accountKey: accountKey })
|
|
294
301
|
),
|
|
302
|
+
_react2.default.createElement(
|
|
303
|
+
'span',
|
|
304
|
+
null,
|
|
305
|
+
this.props.children
|
|
306
|
+
),
|
|
295
307
|
_react2.default.createElement('br', null)
|
|
296
308
|
);
|
|
297
309
|
}
|
|
@@ -811,7 +823,7 @@ module.exports =
|
|
|
811
823
|
|
|
812
824
|
/***/ },
|
|
813
825
|
|
|
814
|
-
/***/
|
|
826
|
+
/***/ 44:
|
|
815
827
|
/***/ function(module, exports, __webpack_require__) {
|
|
816
828
|
|
|
817
829
|
"use strict";
|
|
@@ -993,7 +1005,7 @@ module.exports =
|
|
|
993
1005
|
|
|
994
1006
|
/***/ },
|
|
995
1007
|
|
|
996
|
-
/***/
|
|
1008
|
+
/***/ 55:
|
|
997
1009
|
/***/ function(module, exports, __webpack_require__) {
|
|
998
1010
|
|
|
999
1011
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
@@ -10659,7 +10671,7 @@ module.exports =
|
|
|
10659
10671
|
|
|
10660
10672
|
/***/ },
|
|
10661
10673
|
|
|
10662
|
-
/***/
|
|
10674
|
+
/***/ 56:
|
|
10663
10675
|
/***/ function(module, exports, __webpack_require__) {
|
|
10664
10676
|
|
|
10665
10677
|
// CodeMirror, copyright (c) by Marijn Haverbeke and others
|
|
@@ -10667,7 +10679,7 @@ module.exports =
|
|
|
10667
10679
|
|
|
10668
10680
|
(function(mod) {
|
|
10669
10681
|
if (true) // CommonJS
|
|
10670
|
-
mod(__webpack_require__(
|
|
10682
|
+
mod(__webpack_require__(55));
|
|
10671
10683
|
else if (typeof define == "function" && define.amd) // AMD
|
|
10672
10684
|
define(["../../lib/codemirror"], mod);
|
|
10673
10685
|
else // Plain browser env
|
|
@@ -11521,28 +11533,28 @@ module.exports =
|
|
|
11521
11533
|
|
|
11522
11534
|
/***/ },
|
|
11523
11535
|
|
|
11524
|
-
/***/
|
|
11536
|
+
/***/ 57:
|
|
11525
11537
|
/***/ function(module, exports) {
|
|
11526
11538
|
|
|
11527
11539
|
// removed by extract-text-webpack-plugin
|
|
11528
11540
|
|
|
11529
11541
|
/***/ },
|
|
11530
11542
|
|
|
11531
|
-
/***/
|
|
11543
|
+
/***/ 58:
|
|
11532
11544
|
/***/ function(module, exports) {
|
|
11533
11545
|
|
|
11534
11546
|
module.exports = require("papaparse");
|
|
11535
11547
|
|
|
11536
11548
|
/***/ },
|
|
11537
11549
|
|
|
11538
|
-
/***/
|
|
11550
|
+
/***/ 59:
|
|
11539
11551
|
/***/ function(module, exports) {
|
|
11540
11552
|
|
|
11541
11553
|
module.exports = require("react-codemirror2");
|
|
11542
11554
|
|
|
11543
11555
|
/***/ },
|
|
11544
11556
|
|
|
11545
|
-
/***/
|
|
11557
|
+
/***/ 60:
|
|
11546
11558
|
/***/ function(module, exports) {
|
|
11547
11559
|
|
|
11548
11560
|
module.exports = require("react-dropzone");
|