@lingk/sync 2.3.1 → 2.3.2
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 +88 -5
- package/build/credentialSections.js.map +1 -1
- package/build/lightning.js.map +1 -1
- package/build/lightningStyles.js.map +1 -1
- package/build/lingk.js.map +1 -1
- package/build/lingkStyles.js.map +1 -1
- package/build/loadData.js.map +1 -1
- package/build/main.js +88 -5
- 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.map +1 -1
- package/build/saveData.js.map +1 -1
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -8849,7 +8849,57 @@ module.exports =
|
|
|
8849
8849
|
}
|
|
8850
8850
|
})
|
|
8851
8851
|
);
|
|
8852
|
-
})
|
|
8852
|
+
}),
|
|
8853
|
+
config.type === "Ethos" && creds.name && creds.name != "" && _react2.default.createElement(
|
|
8854
|
+
"div",
|
|
8855
|
+
{ style: {
|
|
8856
|
+
padding: 13,
|
|
8857
|
+
marginTop: 10,
|
|
8858
|
+
border: "1px solid grey",
|
|
8859
|
+
borderRadius: 8
|
|
8860
|
+
} },
|
|
8861
|
+
_react2.default.createElement(
|
|
8862
|
+
"div",
|
|
8863
|
+
{ style: { fontSize: 16, fontWeight: "bold", marginBottom: 2 } },
|
|
8864
|
+
"Account Information"
|
|
8865
|
+
),
|
|
8866
|
+
_react2.default.createElement(
|
|
8867
|
+
"label",
|
|
8868
|
+
{
|
|
8869
|
+
htmlFor: "name",
|
|
8870
|
+
className: "labelz",
|
|
8871
|
+
style: { fontWeight: "normal" }
|
|
8872
|
+
},
|
|
8873
|
+
unCamelize("name"),
|
|
8874
|
+
":"
|
|
8875
|
+
),
|
|
8876
|
+
" " + creds.name,
|
|
8877
|
+
_react2.default.createElement("br", null),
|
|
8878
|
+
_react2.default.createElement(
|
|
8879
|
+
"label",
|
|
8880
|
+
{
|
|
8881
|
+
htmlFor: "label",
|
|
8882
|
+
className: "labelz",
|
|
8883
|
+
style: { fontWeight: "normal" }
|
|
8884
|
+
},
|
|
8885
|
+
unCamelize("label"),
|
|
8886
|
+
":"
|
|
8887
|
+
),
|
|
8888
|
+
" " + creds.label,
|
|
8889
|
+
_react2.default.createElement("br", null),
|
|
8890
|
+
_react2.default.createElement(
|
|
8891
|
+
"label",
|
|
8892
|
+
{
|
|
8893
|
+
htmlFor: "accountId",
|
|
8894
|
+
className: "labelz",
|
|
8895
|
+
style: { fontWeight: "normal" }
|
|
8896
|
+
},
|
|
8897
|
+
unCamelize("accountId"),
|
|
8898
|
+
":"
|
|
8899
|
+
),
|
|
8900
|
+
" " + creds.accountId,
|
|
8901
|
+
_react2.default.createElement("br", null)
|
|
8902
|
+
)
|
|
8853
8903
|
)
|
|
8854
8904
|
),
|
|
8855
8905
|
isAdapter && _react2.default.createElement(_adaptersecret2.default, {
|
|
@@ -9058,6 +9108,8 @@ module.exports =
|
|
|
9058
9108
|
var Spinner = inputs.Spinner;
|
|
9059
9109
|
var Button = inputs.Button;
|
|
9060
9110
|
var userName = creds && creds.userName;
|
|
9111
|
+
var isSandBox = creds && creds.isSandBox;
|
|
9112
|
+
var instanceUrl = creds && creds.instanceUrl;
|
|
9061
9113
|
var btnStyle = { height: 30, lineHeight: "11px", marginTop: -1 };
|
|
9062
9114
|
var ToggleButtonGroup = inputs.ToggleButtonGroup;
|
|
9063
9115
|
return _react2.default.createElement(
|
|
@@ -9070,7 +9122,7 @@ module.exports =
|
|
|
9070
9122
|
"div",
|
|
9071
9123
|
null,
|
|
9072
9124
|
_react2.default.createElement(DotDot, { text: "Authorizing" })
|
|
9073
|
-
) : _react2.default.createElement(
|
|
9125
|
+
) : instanceUrl && instanceUrl != "" ? _react2.default.createElement(
|
|
9074
9126
|
"div",
|
|
9075
9127
|
null,
|
|
9076
9128
|
"Authorized with account ",
|
|
@@ -9078,7 +9130,28 @@ module.exports =
|
|
|
9078
9130
|
"strong",
|
|
9079
9131
|
null,
|
|
9080
9132
|
userName
|
|
9133
|
+
),
|
|
9134
|
+
" for the instance",
|
|
9135
|
+
_react2.default.createElement("br", null),
|
|
9136
|
+
" with URL: ",
|
|
9137
|
+
_react2.default.createElement(
|
|
9138
|
+
"strong",
|
|
9139
|
+
null,
|
|
9140
|
+
instanceUrl
|
|
9081
9141
|
)
|
|
9142
|
+
) : _react2.default.createElement(
|
|
9143
|
+
"div",
|
|
9144
|
+
null,
|
|
9145
|
+
"Authorized with account ",
|
|
9146
|
+
_react2.default.createElement(
|
|
9147
|
+
"strong",
|
|
9148
|
+
null,
|
|
9149
|
+
userName
|
|
9150
|
+
),
|
|
9151
|
+
" for the instance",
|
|
9152
|
+
_react2.default.createElement("br", null),
|
|
9153
|
+
" with URL: ",
|
|
9154
|
+
_react2.default.createElement(DotDot, { text: "Loading" })
|
|
9082
9155
|
),
|
|
9083
9156
|
_react2.default.createElement("br", null)
|
|
9084
9157
|
),
|
|
@@ -9105,20 +9178,30 @@ module.exports =
|
|
|
9105
9178
|
},
|
|
9106
9179
|
"Sandbox"
|
|
9107
9180
|
),
|
|
9181
|
+
isSandBox && _react2.default.createElement(
|
|
9182
|
+
"div",
|
|
9183
|
+
{ style: { display: "inline-block", marginLeft: 10 } },
|
|
9184
|
+
checking && _react2.default.createElement(Spinner, null),
|
|
9185
|
+
envCheckResult && _react2.default.createElement(
|
|
9186
|
+
"span",
|
|
9187
|
+
null,
|
|
9188
|
+
_react2.default.createElement(EnvCheckIcons, { result: envCheckResult })
|
|
9189
|
+
)
|
|
9190
|
+
),
|
|
9108
9191
|
_react2.default.createElement(
|
|
9109
9192
|
Button,
|
|
9110
9193
|
{
|
|
9111
9194
|
type: "brand",
|
|
9112
|
-
style: Object.assign({ margin: "0 12px" }, btnStyle),
|
|
9195
|
+
style: Object.assign({ margin: "0 12px 0 32px" }, btnStyle),
|
|
9113
9196
|
onClick: function onClick() {
|
|
9114
9197
|
return onGenerateUrl("production");
|
|
9115
9198
|
}
|
|
9116
9199
|
},
|
|
9117
9200
|
"Production"
|
|
9118
9201
|
),
|
|
9119
|
-
_react2.default.createElement(
|
|
9202
|
+
!isSandBox && _react2.default.createElement(
|
|
9120
9203
|
"div",
|
|
9121
|
-
{ style: { display: "inline-block", marginLeft:
|
|
9204
|
+
{ style: { display: "inline-block", marginLeft: 0 } },
|
|
9122
9205
|
checking && _react2.default.createElement(Spinner, null),
|
|
9123
9206
|
envCheckResult && _react2.default.createElement(
|
|
9124
9207
|
"span",
|