config-editor-base 2.9.0 → 2.9.1

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 CHANGED
@@ -19274,8 +19274,14 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
19274
19274
  isSubmitting: false,
19275
19275
  isDownloadConfig: false,
19276
19276
  isCompareChanges: false,
19277
- activeSideBar: 'schema-modal'
19277
+ activeSideBar: 'schema-modal',
19278
+ showNewToolsHighlight: true
19278
19279
  };
19280
+ setTimeout(function () {
19281
+ _this.setState({
19282
+ showNewToolsHighlight: false
19283
+ });
19284
+ }, 10000);
19279
19285
  _this.input = '';
19280
19286
  _this.s3 = _this.props.fetchFileContentExt ? true : false;
19281
19287
  return _this;
@@ -19567,7 +19573,9 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
19567
19573
  }, ' ', "Review changes", ' ')), /*#__PURE__*/React.createElement("div", {
19568
19574
  className: "col-xs-7",
19569
19575
  style: {
19570
- "float": 'left'
19576
+ "float": 'left',
19577
+ display: 'flex',
19578
+ alignItems: 'center'
19571
19579
  }
19572
19580
  }, editorToolsFull.map(function (modal, idx) {
19573
19581
  return /*#__PURE__*/React.createElement(EditorToolButton, {
@@ -19578,7 +19586,15 @@ var EditorSection = /*#__PURE__*/function (_React$Component) {
19578
19586
  comment: modal.comment,
19579
19587
  className: modal["class"]
19580
19588
  });
19581
- }))))))), /*#__PURE__*/React.createElement("div", {
19589
+ }), this.state.showNewToolsHighlight && /*#__PURE__*/React.createElement("span", {
19590
+ style: {
19591
+ fontSize: '12px',
19592
+ color: '#337ab7',
19593
+ marginLeft: '10px',
19594
+ transition: 'opacity 1s ease-out',
19595
+ opacity: this.state.showNewToolsHighlight ? 1 : 0
19596
+ }
19597
+ }, "New: OBD & filter builder tools"))))))), /*#__PURE__*/React.createElement("div", {
19582
19598
  className: "config-bar-background"
19583
19599
  }));
19584
19600
  };
@@ -22994,13 +23010,13 @@ function applyPrescaler(frame, filter, prescalerState) {
22994
23010
  state.lastData = currentData;
22995
23011
  return true;
22996
23012
  }
22997
- var maskValue = prescalerValue ? parseInt(prescalerValue, 16) : 0xFFFFFFFFFFFFFFFFn;
23013
+ var maskValue = prescalerValue ? BigInt("0x" + prescalerValue) : BigInt("0xFFFFFFFFFFFFFFFF");
22998
23014
  var prevBytes = parseDataBytes(state.lastData);
22999
23015
  var currBytes = parseDataBytes(currentData);
23000
23016
  var changed = false;
23001
23017
  for (var i = 0; i < Math.max(prevBytes.length, currBytes.length); i++) {
23002
23018
  var byteMask = BigInt(1) << BigInt(i);
23003
- if ((BigInt(maskValue) & byteMask) !== BigInt(0)) {
23019
+ if ((maskValue & byteMask) !== BigInt(0)) {
23004
23020
  var prevByte = prevBytes[i] || 0;
23005
23021
  var currByte = currBytes[i] || 0;
23006
23022
  if (prevByte !== currByte) {