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