costy-plus 1.0.67-0 → 1.0.69-0

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.
@@ -105,18 +105,18 @@ let g = class extends E {
105
105
  initSlidingWindowInfo() {
106
106
  const e = this.publicStep || 0, t = Math.ceil(this.splitPoint / e);
107
107
  if (this.slidingWindowInfo = {
108
- points: this.slidingWindowInfo.points !== t ? t : this.slidingWindowInfo.points,
108
+ points: this.slidingWindowInfo.points <= t ? t : this.slidingWindowInfo.points,
109
109
  startInd: this.slidingWindowInfo.startInd || 0,
110
- endInd: this.slidingWindowInfo.endInd !== t ? t : this.slidingWindowInfo.endInd
110
+ endInd: this.slidingWindowInfo.endInd <= t ? t : this.slidingWindowInfo.endInd
111
111
  }, this.scrollConfig.isShow && !this.leadModel.isSingleMode) {
112
112
  const s = W(this.leadModel.publicSpeed, this.gridConfig.cellMg, this.leadModel.publicSampleRate), a = this.dataTotalLength * s;
113
113
  this.vuescrollWH.width = this.canvasContainer.width + (a || 0) - this.splitPoint;
114
114
  }
115
115
  const i = Math.ceil((this.drawArea.width - this.leadHeadConfig.leadHedeWidth) / e);
116
116
  this.addSlidingWindowInfo = {
117
- points: this.addSlidingWindowInfo.points !== i ? i : this.addSlidingWindowInfo.points,
117
+ points: this.addSlidingWindowInfo.points <= i ? i : this.addSlidingWindowInfo.points,
118
118
  startInd: this.addSlidingWindowInfo.startInd || 0,
119
- endInd: this.addSlidingWindowInfo.endInd !== i ? i : this.addSlidingWindowInfo.endInd
119
+ endInd: this.addSlidingWindowInfo.endInd <= i ? i : this.addSlidingWindowInfo.endInd
120
120
  };
121
121
  }
122
122
  calcHighestAndLowestPoint() {
@@ -1,5 +1,5 @@
1
1
  var C = function() {
2
- var t, i, l, o, r, s, n, g, d, v, c, h, m, f, a = this, p = a.$createElement, e = a._self._c || p;
2
+ var t, i, l, o, r, s, n, d, g, v, c, h, m, f, a = this, u = a.$createElement, e = a._self._c || u;
3
3
  return e("div", {
4
4
  style: {
5
5
  width: `${a.width}px`,
@@ -65,8 +65,8 @@ var C = function() {
65
65
  "speed-value": ((s = a.formatEcgData) === null || s === void 0 ? void 0 : s.speed) || 0,
66
66
  sens: a.formatEcgData.sens,
67
67
  step: ((n = a.formatEcgData) === null || n === void 0 ? void 0 : n.step) || 0,
68
- "sample-rate": ((g = a.formatEcgData) === null || g === void 0 ? void 0 : g.processedData.otherParams.SampleRate) || 0,
69
- sensitivity: ((d = a.formatEcgData) === null || d === void 0 ? void 0 : d.processedData.otherParams.Sensitivity) || 0,
68
+ "sample-rate": ((d = a.formatEcgData) === null || d === void 0 ? void 0 : d.processedData.otherParams.SampleRate) || 0,
69
+ sensitivity: ((g = a.formatEcgData) === null || g === void 0 ? void 0 : g.processedData.otherParams.Sensitivity) || 0,
70
70
  "normal-data": ((v = a.formatEcgData) === null || v === void 0 ? void 0 : v.processedData.originData.Data) || [],
71
71
  "complex-data": ((c = a.formatEcgData) === null || c === void 0 ? void 0 : c.processedData.originData.ComplexData) || [],
72
72
  "lead-name-list": a.leadNameList,
@@ -78,14 +78,15 @@ var C = function() {
78
78
  "q-td-algorithm": ((m = a.conventionalECGConfig) === null || m === void 0 || (f = m.ecgReviewSetting) === null || f === void 0 ? void 0 : f.QTd_algorithm) || 1,
79
79
  "is-sync-analyse-value-check": a.isSyncAnalyseValueCheck,
80
80
  "enlarge-gains": a.enlargeGains,
81
+ "lead-name-texts-porps": a.LeadNameTextsPorps,
81
82
  "enlarge-speeds": a.enlargeSpeeds
82
83
  },
83
84
  on: {
84
- "update:isShowEnlargeWave": function(u) {
85
- a.isShowEnlargeWave = u;
85
+ "update:isShowEnlargeWave": function(p) {
86
+ a.isShowEnlargeWave = p;
86
87
  },
87
- "update:is-show-enlarge-wave": function(u) {
88
- a.isShowEnlargeWave = u;
88
+ "update:is-show-enlarge-wave": function(p) {
89
+ a.isShowEnlargeWave = p;
89
90
  }
90
91
  }
91
92
  }, a.$listeners)) : a._e(), e("div", {
@@ -10,6 +10,7 @@ export default class Methods extends Vue {
10
10
  protected width: number;
11
11
  protected height: number;
12
12
  protected MXEnlargeWaveWidth: number;
13
+ protected LeadNameTextsPorps: string[];
13
14
  protected MXEnlargeWaveHeight: number;
14
15
  protected gridConfig: MXGridConfig;
15
16
  protected cellPoints: number;