config-editor-base 3.0.3 → 3.0.4
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/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22019,13 +22019,15 @@ var OBDTool = /*#__PURE__*/function (_React$Component) {
|
|
|
22019
22019
|
var filtered = pids;
|
|
22020
22020
|
if (toolMode === "supported" && supportedPids.length > 0) {
|
|
22021
22021
|
var supportedSet = new Set(supportedPids);
|
|
22022
|
+
filtered = filtered.filter(function (pid) {
|
|
22023
|
+
return supportedSet.has(pid.pid);
|
|
22024
|
+
});
|
|
22022
22025
|
filtered = filtered.map(function (pid) {
|
|
22023
|
-
var unsupported = !supportedSet.has(pid.pid);
|
|
22024
22026
|
var isObd2OnlyPid = pid.service === "03" && pid.pid === "AA" || pid.service === "09" && pid.pid === "02";
|
|
22025
22027
|
var obd2OnlyDisabled = isObd2OnlyPid && obdMode === "WWH-OBD";
|
|
22026
22028
|
return _extends({}, pid, {
|
|
22027
|
-
disabled:
|
|
22028
|
-
selected:
|
|
22029
|
+
disabled: obd2OnlyDisabled,
|
|
22030
|
+
selected: obd2OnlyDisabled ? false : pid.selected,
|
|
22029
22031
|
displayDescription: pid.isotp ? pid.description + " (ISO TP)" : pid.description
|
|
22030
22032
|
});
|
|
22031
22033
|
});
|
|
@@ -22585,7 +22587,7 @@ var OBDTool = /*#__PURE__*/function (_React$Component) {
|
|
|
22585
22587
|
color: "orange",
|
|
22586
22588
|
marginTop: "4px"
|
|
22587
22589
|
}
|
|
22588
|
-
}, "Warning: This
|
|
22590
|
+
}, "Warning: This selection will result in an infrequent update frequency of each PID of ", /*#__PURE__*/React.createElement("strong", null, (period / 1000).toFixed(1)), " s")), toolMode !== "test" && /*#__PURE__*/React.createElement("div", {
|
|
22589
22591
|
className: "form-group pl0 field-string"
|
|
22590
22592
|
}, /*#__PURE__*/React.createElement("label", {
|
|
22591
22593
|
style: {
|