@lingk/sync 1.0.11 → 1.0.13
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 +25 -5
- package/build/credentialSections.js.map +1 -1
- package/build/css/lingkStyles.css +14 -2
- package/build/css/main.css +41 -11
- package/build/lightning.js +192 -104
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js +2 -2
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js +195 -44
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js +2 -2
- package/build/lingkStyles.js.map +1 -1
- package/build/loadData.js.map +1 -1
- package/build/main.js +658 -359
- package/build/main.js.map +1 -1
- package/build/metadataFunctions.js +22 -0
- package/build/metadataFunctions.js.map +1 -1
- package/build/reducer.js +22 -0
- package/build/reducer.js.map +1 -1
- package/build/saveData.js.map +1 -1
- package/package.json +1 -1
|
@@ -322,7 +322,7 @@ module.exports =
|
|
|
322
322
|
|
|
323
323
|
_this.setState({ uploading: true });
|
|
324
324
|
setCsvFields(_this.state.meta, _this.state.fileContents, providerType).then(function () {
|
|
325
|
-
_this.setState({ meta: [], uploading: false });
|
|
325
|
+
_this.setState({ meta: [], fileContents: [], uploading: false });
|
|
326
326
|
});
|
|
327
327
|
};
|
|
328
328
|
|
|
@@ -659,7 +659,8 @@ module.exports =
|
|
|
659
659
|
};
|
|
660
660
|
|
|
661
661
|
_this.state = {
|
|
662
|
-
actualCreds: {}
|
|
662
|
+
actualCreds: {},
|
|
663
|
+
showPass: false
|
|
663
664
|
};
|
|
664
665
|
return _this;
|
|
665
666
|
}
|
|
@@ -819,8 +820,8 @@ module.exports =
|
|
|
819
820
|
unCamelize(credType)
|
|
820
821
|
),
|
|
821
822
|
_react2.default.createElement('br', null),
|
|
822
|
-
_react2.default.createElement(Input, { name: credType,
|
|
823
|
-
|
|
823
|
+
_react2.default.createElement(Input, { name: credType, onKeyPress: _this2.credKeyPress,
|
|
824
|
+
datatype: credType === 'password' && !_this2.state.showPass ? 'password' : null,
|
|
824
825
|
value: _this2.state.actualCreds[credType] || '',
|
|
825
826
|
onChange: _this2.onChange }),
|
|
826
827
|
index === 0 && noRootUrl && _react2.default.createElement(
|
|
@@ -832,7 +833,12 @@ module.exports =
|
|
|
832
833
|
style: { marginLeft: 8, marginBottom: 4, height: 30, lineHeight: '10px' },
|
|
833
834
|
disabled: credsDisabledCheck },
|
|
834
835
|
'Test Connection'
|
|
835
|
-
)
|
|
836
|
+
),
|
|
837
|
+
credType === 'password' && _react2.default.createElement(Key, { showPass: _this2.state.showPass,
|
|
838
|
+
onClick: function onClick() {
|
|
839
|
+
return _this2.setState({ showPass: !_this2.state.showPass });
|
|
840
|
+
}
|
|
841
|
+
})
|
|
836
842
|
);
|
|
837
843
|
})
|
|
838
844
|
)
|
|
@@ -856,6 +862,20 @@ module.exports =
|
|
|
856
862
|
}(_react.Component);
|
|
857
863
|
|
|
858
864
|
exports.default = EnvSection;
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
var Key = function Key(_ref) {
|
|
868
|
+
var onClick = _ref.onClick,
|
|
869
|
+
showPass = _ref.showPass;
|
|
870
|
+
|
|
871
|
+
return _react2.default.createElement(
|
|
872
|
+
'svg',
|
|
873
|
+
{ onClick: onClick, style: showPass ? { fill: '#3a91dcb3' } : {},
|
|
874
|
+
height: '24', width: '24', className: 'pass-key-svg', viewBox: '0 0 24 24' },
|
|
875
|
+
_react2.default.createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' }),
|
|
876
|
+
_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' })
|
|
877
|
+
);
|
|
878
|
+
};
|
|
859
879
|
|
|
860
880
|
/***/ },
|
|
861
881
|
|