costy-plus 1.0.68-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.
Files changed (29) hide show
  1. package/dist/es/src/EcgWave/index.vue_vue_type_template_lang.js +8 -7
  2. package/dist/es/src/EcgWave/method.d.ts +1 -0
  3. package/dist/es/src/EcgWave/method.js +114 -109
  4. package/dist/es/src/EnlargeWave/medthod.d.ts +1 -0
  5. package/dist/es/src/EnlargeWave/medthod.js +57 -52
  6. package/dist/es/src/HFECGWave/components/Detail.vue.d.ts +1 -0
  7. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +54 -49
  8. package/dist/es/src/HFECGWave/components/Routine.vue.d.ts +1 -0
  9. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +32 -27
  10. package/dist/es/src/MagnifierWave/medthod.d.ts +1 -0
  11. package/dist/es/src/MagnifierWave/medthod.js +26 -21
  12. package/dist/es/src/monitorWave/interface.d.ts +17 -0
  13. package/dist/es/src/monitorWave/method.d.ts +4 -1
  14. package/dist/es/src/monitorWave/method.js +153 -109
  15. package/dist/lib/src/EcgWave/index.vue_vue_type_template_lang.js +1 -1
  16. package/dist/lib/src/EcgWave/method.d.ts +1 -0
  17. package/dist/lib/src/EcgWave/method.js +1 -1
  18. package/dist/lib/src/EnlargeWave/medthod.d.ts +1 -0
  19. package/dist/lib/src/EnlargeWave/medthod.js +1 -1
  20. package/dist/lib/src/HFECGWave/components/Detail.vue.d.ts +1 -0
  21. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -1
  22. package/dist/lib/src/HFECGWave/components/Routine.vue.d.ts +1 -0
  23. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -1
  24. package/dist/lib/src/MagnifierWave/medthod.d.ts +1 -0
  25. package/dist/lib/src/MagnifierWave/medthod.js +1 -1
  26. package/dist/lib/src/monitorWave/interface.d.ts +17 -0
  27. package/dist/lib/src/monitorWave/method.d.ts +4 -1
  28. package/dist/lib/src/monitorWave/method.js +1 -1
  29. package/package.json +1 -1
@@ -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;
@@ -1,28 +1,28 @@
1
- var V = Object.defineProperty, _ = Object.defineProperties;
2
- var q = Object.getOwnPropertyDescriptors;
3
- var $ = Object.getOwnPropertySymbols;
4
- var Y = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
5
- var X = (e, t, i) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, y = (e, t) => {
1
+ var X = Object.defineProperty, V = Object.defineProperties;
2
+ var _ = Object.getOwnPropertyDescriptors;
3
+ var j = Object.getOwnPropertySymbols;
4
+ var q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
+ var T = (e, t, i) => t in e ? X(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, y = (e, t) => {
6
6
  for (var i in t || (t = {}))
7
- Y.call(t, i) && X(e, i, t[i]);
8
- if ($)
9
- for (var i of $(t))
10
- K.call(t, i) && X(e, i, t[i]);
7
+ q.call(t, i) && T(e, i, t[i]);
8
+ if (j)
9
+ for (var i of j(t))
10
+ Y.call(t, i) && T(e, i, t[i]);
11
11
  return e;
12
- }, E = (e, t) => _(e, q(t));
13
- import U from "vue";
14
- import Q from "../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js";
12
+ }, S = (e, t) => V(e, _(t));
13
+ import K from "vue";
14
+ import U from "../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js";
15
15
  import "../../node_modules/.pnpm/vue-property-decorator@9.1.2_vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-property-decorator/lib/decorators/Emit.js";
16
16
  import { Prop as w } from "../../node_modules/.pnpm/vue-property-decorator@9.1.2_vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-property-decorator/lib/decorators/Prop.js";
17
- import { AnalysisMode as G, throttling as T, getPrintLengthToPx as Z, getDataLenTimes as A, LeadNameTexts as F, getPointIdxForPx as x } from "@costy-plus/utils";
17
+ import { AnalysisMode as E, throttling as $, getPrintLengthToPx as Q, getDataLenTimes as L, getPointIdxForPx as b, LeadNameTexts as Z } from "@costy-plus/utils";
18
18
  import * as J from "zrender";
19
- import { Group as v, Text as C, Polyline as S, Line as O, Polygon as ee, util as te } from "zrender";
19
+ import { Group as v, Text as C, Polyline as A, Line as x, Polygon as ee, util as te } from "zrender";
20
20
  var ie = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, u = (e, t, i, a) => {
21
- for (var s = a > 1 ? void 0 : a ? ae(t, i) : t, o = e.length - 1, r; o >= 0; o--)
22
- (r = e[o]) && (s = (a ? r(t, i, s) : r(s)) || s);
21
+ for (var s = a > 1 ? void 0 : a ? ae(t, i) : t, o = e.length - 1, n; o >= 0; o--)
22
+ (n = e[o]) && (s = (a ? n(t, i, s) : n(s)) || s);
23
23
  return a && s && ie(t, i, s), s;
24
24
  };
25
- let m = class extends U {
25
+ let m = class extends K {
26
26
  constructor() {
27
27
  super(...arguments), this.AssistCtx = Object.freeze(null), this.sceneIns = Object.freeze(null), this.layerBgGroup = Object.freeze(null), this.leadHeadGroup = Object.freeze(null), this.splitLineGroup = Object.freeze(null), this.rowAndColwaveFromGroup = Object.freeze(null), this.singleWaveFromGroup = Object.freeze(null), this.addwaveFromGroup = Object.freeze(null), this.leadHeadNameGroup = Object.freeze(null), this.leadHeadOffAndDelGroup = Object.freeze(null), this.rulerGroup = Object.freeze(null), this.arrowGroup = Object.freeze(null), this.heardBeatLineGroup = Object.freeze(null), this.pacingGroup = Object.freeze(null), this.bottomAreaHeight = Object.freeze(55), this.dataTotalTimes = Object.freeze(0), this.totalRows = Object.freeze(0), this.rulerStep = Object.freeze(0), this.drawLoopArrowStartPosIdx = Object.freeze(0), this.dbClickWaveFromTime = Object.freeze(0), this.currentHeardBeat = {
28
28
  heardBeat: null,
@@ -56,7 +56,7 @@ let m = class extends U {
56
56
  }
57
57
  get waveFromData() {
58
58
  var e, t, i;
59
- return ((e = this.formatEcgData) == null ? void 0 : e.analysisValueMode) === G.CompoundWave ? ((t = this.formatEcgData) == null ? void 0 : t.processedData.handleData.ComplexData) || [[]] : ((i = this.formatEcgData) == null ? void 0 : i.processedData.handleData.Data) || [[]];
59
+ return ((e = this.formatEcgData) == null ? void 0 : e.analysisValueMode) === E.CompoundWave ? ((t = this.formatEcgData) == null ? void 0 : t.processedData.handleData.ComplexData) || [[]] : ((i = this.formatEcgData) == null ? void 0 : i.processedData.handleData.Data) || [[]];
60
60
  }
61
61
  get isSingleMode() {
62
62
  return this.leadModel.column === 1 && this.leadModel.line === 1;
@@ -69,8 +69,8 @@ let m = class extends U {
69
69
  };
70
70
  }
71
71
  destroyed() {
72
- var e, t, i, a, s, o, r, l, n, h, d, p;
73
- this.sceneInsEventOff(), (e = this.rowAndColwaveFromGroup) == null || e.removeAll(), (t = this.singleWaveFromGroup) == null || t.removeAll(), (i = this.addwaveFromGroup) == null || i.removeAll(), (a = this.leadHeadGroup) == null || a.removeAll(), (s = this.splitLineGroup) == null || s.removeAll(), (o = this.leadHeadNameGroup) == null || o.removeAll(), (r = this.leadHeadOffAndDelGroup) == null || r.removeAll(), (l = this.rulerGroup) == null || l.removeAll(), (n = this.arrowGroup) == null || n.removeAll(), (h = this.heardBeatLineGroup) == null || h.removeAll(), (d = this.pacingGroup) == null || d.removeAll(), (p = this.sceneIns) == null || p.dispose();
72
+ var e, t, i, a, s, o, n, l, r, h, d, p;
73
+ this.sceneInsEventOff(), (e = this.rowAndColwaveFromGroup) == null || e.removeAll(), (t = this.singleWaveFromGroup) == null || t.removeAll(), (i = this.addwaveFromGroup) == null || i.removeAll(), (a = this.leadHeadGroup) == null || a.removeAll(), (s = this.splitLineGroup) == null || s.removeAll(), (o = this.leadHeadNameGroup) == null || o.removeAll(), (n = this.leadHeadOffAndDelGroup) == null || n.removeAll(), (l = this.rulerGroup) == null || l.removeAll(), (r = this.arrowGroup) == null || r.removeAll(), (h = this.heardBeatLineGroup) == null || h.removeAll(), (d = this.pacingGroup) == null || d.removeAll(), (p = this.sceneIns) == null || p.dispose();
74
74
  }
75
75
  init() {
76
76
  var e;
@@ -104,7 +104,7 @@ let m = class extends U {
104
104
  this.initConfig(), this.drawLeadHead(), this.drawColSplitLine(), this.initSlidingWindowInfo(), this.drawPacing(), this.drawRulerNotes(), this.drawWaveFrom();
105
105
  }
106
106
  initConfig() {
107
- var t, i, a, s, o, r, l, n, h, d, p;
107
+ var t, i, a, s, o, n, l, r, h, d, p;
108
108
  this.rowAndColwaveFromGroup = new v({
109
109
  name: "rowAndColwaveFrom"
110
110
  }), this.singleWaveFromGroup = new v({
@@ -130,7 +130,7 @@ let m = class extends U {
130
130
  }), this.vuescrollWH.width = this.width, this.vuescrollWH.height = this.height;
131
131
  let e = this.canvasContainer.width;
132
132
  if (((i = (t = this.conventionalECGConfig) == null ? void 0 : t.ecgReviewSetting) == null ? void 0 : i.ecgareawidth) === "1") {
133
- const c = Z(((a = this.formatEcgData) == null ? void 0 : a.processedData.otherParams.SampleRate) || 0) + this.leadHeadConfig.leadHedeWidth;
133
+ const c = Q(((a = this.formatEcgData) == null ? void 0 : a.processedData.otherParams.SampleRate) || 0) + this.leadHeadConfig.leadHedeWidth;
134
134
  c <= e && (e = c);
135
135
  } else
136
136
  this.leadModel.isContinuous && !this.isSingleMode && (((s = this.formatEcgData) == null ? void 0 : s.dataPxLen) || 0) < e - this.leadHeadConfig.leadHedeWidth && (e = (((o = this.formatEcgData) == null ? void 0 : o.dataPxLen) || 0) + this.leadHeadConfig.leadHedeWidth);
@@ -151,13 +151,13 @@ let m = class extends U {
151
151
  }, this.currentHeardBeat = {
152
152
  heardBeat: null,
153
153
  ele: null
154
- }, this.leadNameList = ((r = this.formatEcgData) == null ? void 0 : r.processedData.otherParams.LeadName) || [], this.totalRows = this.leadModel.line + this.leadModel.add || 1, this.highestAndLowestPoint = (l = this.formatEcgData) == null ? void 0 : l.calcHighestAndLowestPoint(), this.isSingleMode)
155
- this.splitBlockHeight = (((n = this.formatEcgData) == null ? void 0 : n.analysisValueMode) === G.CompoundWave ? Math.abs(this.highestAndLowestPoint.ComplexData.maxPoints) + Math.abs(this.highestAndLowestPoint.ComplexData.minPoints) : Math.abs(this.highestAndLowestPoint.Data.maxPoints) + Math.abs(this.highestAndLowestPoint.Data.minPoints)) + 22, this.splitBlockHeight > this.drawArea.height && (this.splitBlockHeight = this.drawArea.height / 6);
154
+ }, this.leadNameList = ((n = this.formatEcgData) == null ? void 0 : n.processedData.otherParams.LeadName) || [], this.totalRows = this.leadModel.line + this.leadModel.add || 1, this.highestAndLowestPoint = (l = this.formatEcgData) == null ? void 0 : l.calcHighestAndLowestPoint(), this.isSingleMode)
155
+ this.splitBlockHeight = (((r = this.formatEcgData) == null ? void 0 : r.analysisValueMode) === E.CompoundWave ? Math.abs(this.highestAndLowestPoint.ComplexData.maxPoints) + Math.abs(this.highestAndLowestPoint.ComplexData.minPoints) : Math.abs(this.highestAndLowestPoint.Data.maxPoints) + Math.abs(this.highestAndLowestPoint.Data.minPoints)) + 22, this.splitBlockHeight > this.drawArea.height && (this.splitBlockHeight = this.drawArea.height / 6);
156
156
  else {
157
157
  let c = this.drawArea.height;
158
158
  this.leadModel.isShowPacing && (c = this.drawArea.height - this.drawBottomPacH), this.splitBlockHeight = c / this.totalRows;
159
159
  }
160
- this.dataTotalTimes = A(
160
+ this.dataTotalTimes = L(
161
161
  this.waveFromData[0].length || 0,
162
162
  ((h = this.formatEcgData) == null ? void 0 : h.processedData.otherParams.SampleRate) || 0
163
163
  ), this.rulerStep = (((d = this.formatEcgData) == null ? void 0 : d.step) || 1) * (((p = this.formatEcgData) == null ? void 0 : p.processedData.otherParams.SampleRate) || 1) / (this.gridConfig.cellMg * 2 + 2);
@@ -177,24 +177,24 @@ let m = class extends U {
177
177
  const s = e.target.name.split("_");
178
178
  this.activeLeadIdx = +s[0];
179
179
  const o = +s[1];
180
- let r = 0, l = 0;
181
- t === "single" ? (r = e.offsetX - this.singleWaveDataCopy[o].pos[0], l = this.singleWaveDataCopy[o].startInd) : t === "rowAndCol" ? (r = e.offsetX - this.waveDataCopy[o].pos[0], l = this.waveDataCopy[o].startInd || 0) : t === "add" && (r = e.offsetX - this.addWaveDataCopy[o].pos[0], l = this.addWaveDataCopy[o].startInd || 0);
182
- let n = x(r, ((p = this.formatEcgData) == null ? void 0 : p.step) || 1);
183
- n += l;
180
+ let n = 0, l = 0;
181
+ t === "single" ? (n = e.offsetX - this.singleWaveDataCopy[o].pos[0], l = this.singleWaveDataCopy[o].startInd) : t === "rowAndCol" ? (n = e.offsetX - this.waveDataCopy[o].pos[0], l = this.waveDataCopy[o].startInd || 0) : t === "add" && (n = e.offsetX - this.addWaveDataCopy[o].pos[0], l = this.addWaveDataCopy[o].startInd || 0);
182
+ let r = b(n, ((p = this.formatEcgData) == null ? void 0 : p.step) || 1);
183
+ r += l;
184
184
  const h = ((c = this.formatEcgData) == null ? void 0 : c.processedData.otherParams.AnalyseValue) || [];
185
185
  let d = null;
186
- if (this.enlargeWaveMode === G.SelectedHeartbeat) {
187
- if (n <= h[1].KeyPosByBeat.Tend + 0.1 * (((g = this.formatEcgData) == null ? void 0 : g.processedData.otherParams.SampleRate) || 0))
186
+ if (this.enlargeWaveMode === E.SelectedHeartbeat) {
187
+ if (r <= h[1].KeyPosByBeat.Tend + 0.1 * (((g = this.formatEcgData) == null ? void 0 : g.processedData.otherParams.SampleRate) || 0))
188
188
  d = h[1];
189
189
  else
190
190
  for (let D = 1; D < h.length; D++)
191
- if (n > h[D - 1].KeyPosByBeat.Tend + 1 && n < h[D].KeyPosByBeat.Tend + 0.1 * (((W = this.formatEcgData) == null ? void 0 : W.processedData.otherParams.SampleRate) || 0)) {
191
+ if (r > h[D - 1].KeyPosByBeat.Tend + 1 && r < h[D].KeyPosByBeat.Tend + 0.1 * (((W = this.formatEcgData) == null ? void 0 : W.processedData.otherParams.SampleRate) || 0)) {
192
192
  d = h[D];
193
193
  break;
194
194
  }
195
195
  } else
196
196
  d = h[0];
197
- !d || (this.activeLeadAnalyseValue = E(y({}, d), {
197
+ !d || (this.activeLeadAnalyseValue = S(y({}, d), {
198
198
  BeatCount: h.length - 1
199
199
  }), d = null, this.$emit("notifyActiveEnlargr"), this.isShowEnlargeWave = !0);
200
200
  };
@@ -216,12 +216,12 @@ let m = class extends U {
216
216
  this.sceneIsMouseDown = !1;
217
217
  }
218
218
  drawPacing() {
219
- var i, a, s, o, r, l, n;
219
+ var i, a, s, o, n, l, r;
220
220
  if (!this.leadModel.isShowPacing || !((a = (i = this.formatEcgData) == null ? void 0 : i.processedData.otherParams.PacingData) != null && a.length))
221
221
  return;
222
222
  (s = this.pacingGroup) == null || s.removeAll(), (o = this.sceneIns) == null || o.remove(this.pacingGroup);
223
223
  const e = this.leadHeadConfig.leadHedeWidth, t = this.canvasContainer.height - this.drawBottomPacH;
224
- (r = this.pacingGroup) == null || r.add(new C({
224
+ (n = this.pacingGroup) == null || n.add(new C({
225
225
  cursor: "",
226
226
  style: {
227
227
  x: e,
@@ -231,7 +231,7 @@ let m = class extends U {
231
231
  fill: this.leadConfig.lineColor,
232
232
  fontFamily: this.fontFamily
233
233
  }
234
- })), (l = this.pacingGroup) == null || l.add(new S({
234
+ })), (l = this.pacingGroup) == null || l.add(new A({
235
235
  cursor: "",
236
236
  name: "0_0",
237
237
  shape: {
@@ -241,7 +241,7 @@ let m = class extends U {
241
241
  stroke: this.leadConfig.lineColor,
242
242
  lineWidth: this.leadConfig.lineWidth
243
243
  }
244
- })), (n = this.sceneIns) == null || n.add(this.pacingGroup);
244
+ })), (r = this.sceneIns) == null || r.add(this.pacingGroup);
245
245
  }
246
246
  getPacinfPoints(e, t) {
247
247
  var i;
@@ -257,7 +257,7 @@ let m = class extends U {
257
257
  var o;
258
258
  const a = this.leadHeadConfig.leadHedeWidth / 4;
259
259
  let s = ((o = this.formatEcgData) == null ? void 0 : o.sens) || 0;
260
- return s = i ? s / 2 : s, new S({
260
+ return s = i ? s / 2 : s, new A({
261
261
  cursor: "",
262
262
  shape: {
263
263
  points: [
@@ -295,7 +295,7 @@ let m = class extends U {
295
295
  }
296
296
  creatSplitLine(e, t, i) {
297
297
  var a, s;
298
- return new O({
298
+ return new x({
299
299
  cursor: "",
300
300
  shape: {
301
301
  x1: 0 + e,
@@ -310,29 +310,29 @@ let m = class extends U {
310
310
  });
311
311
  }
312
312
  drawLeadHead() {
313
- var i, a, s, o, r, l;
313
+ var i, a, s, o, n, l;
314
314
  (i = this.leadHeadGroup) == null || i.removeAll(), (a = this.sceneIns) == null || a.remove(this.leadHeadGroup);
315
315
  let e = 0, t = !1;
316
- for (let n = 1; n <= this.totalRows; n++)
317
- e = 0, t = !1, n <= this.leadModel.line ? e = (((s = this.formatEcgData) == null ? void 0 : s.processedData.otherParams.LeadName) || [])[n - 1] || 0 : n > this.leadModel.line && n - this.leadModel.line <= this.leadModel.add && (e = this.longLeadConfig.leadNames[n - this.leadModel.line - 1]), ((o = this.formatEcgData) == null ? void 0 : o.gainName) === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(F[e]) && (t = !0), (r = this.leadHeadGroup) == null || r.add(this.createLeadHead(0, n * this.splitBlockHeight, t));
316
+ for (let r = 1; r <= this.totalRows; r++)
317
+ e = 0, t = !1, r <= this.leadModel.line ? e = (((s = this.formatEcgData) == null ? void 0 : s.processedData.otherParams.LeadName) || [])[r - 1] || 0 : r > this.leadModel.line && r - this.leadModel.line <= this.leadModel.add && (e = this.longLeadConfig.leadNames[r - this.leadModel.line - 1]), ((o = this.formatEcgData) == null ? void 0 : o.gainName) === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.LeadNameTextsPorps[e]) && (t = !0), (n = this.leadHeadGroup) == null || n.add(this.createLeadHead(0, r * this.splitBlockHeight, t));
318
318
  (l = this.sceneIns) == null || l.add(this.leadHeadGroup);
319
319
  }
320
320
  drawColSplitLine() {
321
- var s, o, r, l, n, h, d, p, c, g, W, D, H;
321
+ var s, o, n, l, r, h, d, p, c, g, W, D, H;
322
322
  (s = this.splitLineGroup) == null || s.removeAll(), (o = this.sceneIns) == null || o.remove(this.splitLineGroup);
323
323
  const e = (this.drawArea.width - this.leadHeadConfig.leadHedeWidth) / this.leadModel.column;
324
324
  if (this.splitPoint = e, this.isSingleMode) {
325
- const P = A(
326
- Math.ceil(this.splitPoint / (((r = this.formatEcgData) == null ? void 0 : r.step) || 1)) || 0,
325
+ const P = L(
326
+ Math.ceil(this.splitPoint / (((n = this.formatEcgData) == null ? void 0 : n.step) || 1)) || 0,
327
327
  ((l = this.formatEcgData) == null ? void 0 : l.processedData.otherParams.SampleRate) || 0
328
328
  ), I = parseInt(`${P / 1e3 % 60}`, 10);
329
- this.splitPoint = I * (((n = this.formatEcgData) == null ? void 0 : n.processedData.otherParams.SampleRate) || 0) * (((h = this.formatEcgData) == null ? void 0 : h.step) || 0);
329
+ this.splitPoint = I * (((r = this.formatEcgData) == null ? void 0 : r.processedData.otherParams.SampleRate) || 0) * (((h = this.formatEcgData) == null ? void 0 : h.step) || 0);
330
330
  }
331
331
  let t = 0, i = 0, a = 0;
332
332
  for (let P = 1; P <= this.leadModel.column - 1; P++) {
333
333
  t = P * e + this.leadHeadConfig.leadHedeWidth, i = P * this.leadModel.line;
334
334
  for (let I = 1; I <= this.leadModel.line && (a = (((d = this.formatEcgData) == null ? void 0 : d.processedData.otherParams.LeadName) || [])[I - 1 + i], a !== void 0); I++)
335
- ((p = this.formatEcgData) == null ? void 0 : p.gainName) === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(F[a]) ? (g = this.splitLineGroup) == null || g.add(this.creatSplitLine(t, I * this.splitBlockHeight - (((c = this.formatEcgData) == null ? void 0 : c.sens) || 0) / 2 * 0.5, !0)) : (D = this.splitLineGroup) == null || D.add(this.creatSplitLine(t, I * this.splitBlockHeight - (((W = this.formatEcgData) == null ? void 0 : W.sens) || 0) * 0.5));
335
+ ((p = this.formatEcgData) == null ? void 0 : p.gainName) === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.LeadNameTextsPorps[a]) ? (g = this.splitLineGroup) == null || g.add(this.creatSplitLine(t, I * this.splitBlockHeight - (((c = this.formatEcgData) == null ? void 0 : c.sens) || 0) / 2 * 0.5, !0)) : (D = this.splitLineGroup) == null || D.add(this.creatSplitLine(t, I * this.splitBlockHeight - (((W = this.formatEcgData) == null ? void 0 : W.sens) || 0) * 0.5));
336
336
  }
337
337
  (H = this.sceneIns) == null || H.add(this.splitLineGroup);
338
338
  }
@@ -355,11 +355,11 @@ let m = class extends U {
355
355
  let e = 0, t = 0;
356
356
  const i = this.waveFromData[this.singleModeInfo.defaultSelect] || [];
357
357
  let a = this.slidingWindowInfo.startInd || 0, s = this.slidingWindowInfo.endInd || 0;
358
- const o = [], r = Math.ceil(i.length / (this.slidingWindowInfo.points || 1));
358
+ const o = [], n = Math.ceil(i.length / (this.slidingWindowInfo.points || 1));
359
359
  for (let l = 0; l < 1; l++) {
360
360
  e = l * this.splitPoint + this.leadHeadConfig.leadHedeWidth, t = 0;
361
- for (let n = 1; n <= r; n++)
362
- t = n * this.splitBlockHeight, n > 1 && (t *= 0.8, a = s, s = a + (this.slidingWindowInfo.points || 0)), n === 1 && (this.loopArrowY.rowAndCol = t), o.push({
361
+ for (let r = 1; r <= n; r++)
362
+ t = r * this.splitBlockHeight, r > 1 && (t *= 0.8, a = s, s = a + (this.slidingWindowInfo.points || 0)), r === 1 && (this.loopArrowY.rowAndCol = t), o.push({
363
363
  pos: [e, t],
364
364
  startInd: a,
365
365
  endInd: s,
@@ -373,11 +373,11 @@ let m = class extends U {
373
373
  }
374
374
  getRednerPoints() {
375
375
  let e = 0, t = 0, i = 0, a = [], s = this.slidingWindowInfo.startInd || 0, o = this.slidingWindowInfo.endInd || 0;
376
- const r = [];
376
+ const n = [];
377
377
  for (let l = 0; l < this.leadModel.column; l++) {
378
378
  e = l * this.splitPoint + this.leadHeadConfig.leadHedeWidth, t = 0, this.leadModel.isContinuous && l > 0 && (s = o, o = s + (this.slidingWindowInfo.points || 0));
379
- for (let n = 1; n <= this.leadModel.line && (t = n * this.splitBlockHeight, !(i > (this.waveFromData || []).length - 1)); n++)
380
- a = this.waveFromData[i] || [], i++, n === 1 && (this.loopArrowY.rowAndCol = t), r.push({
379
+ for (let r = 1; r <= this.leadModel.line && (t = r * this.splitBlockHeight, !(i > (this.waveFromData || []).length - 1)); r++)
380
+ a = this.waveFromData[i] || [], i++, r === 1 && (this.loopArrowY.rowAndCol = t), n.push({
381
381
  pos: [e, t],
382
382
  startInd: s,
383
383
  endInd: o,
@@ -387,7 +387,7 @@ let m = class extends U {
387
387
  })
388
388
  });
389
389
  }
390
- return r;
390
+ return n;
391
391
  }
392
392
  getAddRednerPoints() {
393
393
  const e = [], t = this.leadHeadConfig.leadHedeWidth;
@@ -397,20 +397,20 @@ let m = class extends U {
397
397
  pos: [t, i],
398
398
  startInd: this.addSlidingWindowInfo.startInd || 0,
399
399
  endInd: this.addSlidingWindowInfo.endInd || 0,
400
- data: s.slice(this.addSlidingWindowInfo.startInd, this.addSlidingWindowInfo.endInd).map((r, l) => {
401
- var n;
402
- return [l * (((n = this.formatEcgData) == null ? void 0 : n.step) || 0), -r];
400
+ data: s.slice(this.addSlidingWindowInfo.startInd, this.addSlidingWindowInfo.endInd).map((n, l) => {
401
+ var r;
402
+ return [l * (((r = this.formatEcgData) == null ? void 0 : r.step) || 0), -n];
403
403
  })
404
404
  });
405
405
  return e;
406
406
  }
407
407
  createSingleWaveFrom() {
408
- var o, r, l, n, h, d, p;
408
+ var o, n, l, r, h, d, p;
409
409
  (o = this.singleWaveFromGroup) == null || o.removeAll();
410
- const e = (((r = this.formatEcgData) == null ? void 0 : r.processedData.otherParams.LeadName) || [])[this.singleModeInfo.defaultSelect] || 0;
411
- let t = this.getRednerSinglePoints(), i = A(this.slidingWindowInfo.points || 0, ((l = this.formatEcgData) == null ? void 0 : l.processedData.otherParams.SampleRate) || 0), a = 0, s = 0;
410
+ const e = (((n = this.formatEcgData) == null ? void 0 : n.processedData.otherParams.LeadName) || [])[this.singleModeInfo.defaultSelect] || 0;
411
+ let t = this.getRednerSinglePoints(), i = L(this.slidingWindowInfo.points || 0, ((l = this.formatEcgData) == null ? void 0 : l.processedData.otherParams.SampleRate) || 0), a = 0, s = 0;
412
412
  for (let c = 0; c < t.length && !(t[c].pos[1] > this.drawArea.height + this.bottomAreaHeight); c++)
413
- this.isLeadDel(e) || (a = parseInt(`${i / 1e3 / 60}`, 10), s = parseInt(`${i / 1e3 % 60}`, 10), a = s === 60 ? a += 1 : a, a = a === 0 ? "00" : a < 10 ? `0${a}` : a, s = s === 0 || s === 60 ? "00" : s < 10 ? `0${s}` : s, (n = this.singleWaveFromGroup) == null || n.add(new S({
413
+ this.isLeadDel(e) || (a = parseInt(`${i / 1e3 / 60}`, 10), s = parseInt(`${i / 1e3 % 60}`, 10), a = s === 60 ? a += 1 : a, a = a === 0 ? "00" : a < 10 ? `0${a}` : a, s = s === 0 || s === 60 ? "00" : s < 10 ? `0${s}` : s, (r = this.singleWaveFromGroup) == null || r.add(new A({
414
414
  cursor: "",
415
415
  name: this.singleModeInfo.defaultSelect + "_" + c,
416
416
  shape: {
@@ -445,7 +445,7 @@ let m = class extends U {
445
445
  console.time("createAddWaveFrom");
446
446
  let e = this.getAddRednerPoints();
447
447
  for (let a = 0; a < e.length; a++)
448
- this.isLeadDel(this.longLeadConfig.leadIdxs[a]) || ((t = this.addwaveFromGroup) == null || t.add(new S({
448
+ this.isLeadDel(this.longLeadConfig.leadIdxs[a]) || ((t = this.addwaveFromGroup) == null || t.add(new A({
449
449
  cursor: "",
450
450
  name: this.longLeadConfig.leadIdxs[a] + "_" + a,
451
451
  shape: {
@@ -465,17 +465,17 @@ let m = class extends U {
465
465
  console.timeEnd("createAddWaveFrom"), this.addWaveDataCopy = e, e = null;
466
466
  }
467
467
  createRowAndColWaveFrom() {
468
- var i, a, s, o, r, l;
468
+ var i, a, s, o, n, l;
469
469
  console.time("createRowAndColWaveFrom"), (i = this.rowAndColwaveFromGroup) == null || i.removeAll();
470
470
  let e = this.getRednerPoints(), t = 0;
471
- for (let n = 0; n < e.length; n++)
472
- t = (((a = this.formatEcgData) == null ? void 0 : a.processedData.otherParams.LeadName) || [])[n] || 0, this.isLeadDel(t) || (s = this.rowAndColwaveFromGroup) == null || s.add(new S({
471
+ for (let r = 0; r < e.length; r++)
472
+ t = (((a = this.formatEcgData) == null ? void 0 : a.processedData.otherParams.LeadName) || [])[r] || 0, this.isLeadDel(t) || (s = this.rowAndColwaveFromGroup) == null || s.add(new A({
473
473
  cursor: "",
474
- name: n + "_" + n,
474
+ name: r + "_" + r,
475
475
  shape: {
476
- points: e[n].data.map(([h, d]) => [
477
- h + e[n].pos[0],
478
- d + e[n].pos[1]
476
+ points: e[r].data.map(([h, d]) => [
477
+ h + e[r].pos[0],
478
+ d + e[r].pos[1]
479
479
  ])
480
480
  },
481
481
  style: {
@@ -485,7 +485,7 @@ let m = class extends U {
485
485
  onclick: (h) => {
486
486
  this.onDbClickWaveFrom(h, "rowAndCol");
487
487
  }
488
- })), n < this.leadModel.line ? (this.createLeadName(t, e[n].pos[0], e[n].pos[1] - 15), this.createLeadOffAndDel(t, e[n].pos[0] - 5, e[n].pos[1] - (((o = this.formatEcgData) == null ? void 0 : o.sens) || 0) / 2 - 15)) : (this.createLeadName(t, e[n].pos[0] + 5, e[n].pos[1] - (((r = this.formatEcgData) == null ? void 0 : r.sens) || 0) / 2), this.createLeadOffAndDel(t, e[n].pos[0] - 5, e[n].pos[1] - (((l = this.formatEcgData) == null ? void 0 : l.sens) || 0) / 2 + 9));
488
+ })), r < this.leadModel.line ? (this.createLeadName(t, e[r].pos[0], e[r].pos[1] - 15), this.createLeadOffAndDel(t, e[r].pos[0] - 5, e[r].pos[1] - (((o = this.formatEcgData) == null ? void 0 : o.sens) || 0) / 2 - 15)) : (this.createLeadName(t, e[r].pos[0] + 5, e[r].pos[1] - (((n = this.formatEcgData) == null ? void 0 : n.sens) || 0) / 2), this.createLeadOffAndDel(t, e[r].pos[0] - 5, e[r].pos[1] - (((l = this.formatEcgData) == null ? void 0 : l.sens) || 0) / 2 + 9));
489
489
  this.waveDataCopy = e, e = null;
490
490
  }
491
491
  createLeadName(e, t, i, a = !1) {
@@ -494,15 +494,15 @@ let m = class extends U {
494
494
  style: {
495
495
  x: t,
496
496
  y: i,
497
- text: F[e],
497
+ text: this.LeadNameTextsPorps[e],
498
498
  fontSize: this.leadConfig.fontSize,
499
499
  fill: this.leadConfig.lineColor,
500
500
  fontFamily: this.leadConfig.fontFamily
501
501
  },
502
502
  oncontextmenu: (o) => {
503
503
  o.event.preventDefault(), this.$emit("notiifyLeadName", {
504
- event: E(y({}, o), {
505
- name: F[e],
504
+ event: S(y({}, o), {
505
+ name: this.LeadNameTextsPorps[e],
506
506
  idx: e
507
507
  }),
508
508
  isAdd: a
@@ -510,8 +510,8 @@ let m = class extends U {
510
510
  },
511
511
  onclick: (o) => {
512
512
  this.$emit("notiifyLeadName", {
513
- event: E(y({}, o), {
514
- name: F[e],
513
+ event: S(y({}, o), {
514
+ name: this.LeadNameTextsPorps[e],
515
515
  idx: e
516
516
  }),
517
517
  isAdd: a
@@ -535,7 +535,7 @@ let m = class extends U {
535
535
  })));
536
536
  }
537
537
  drawRulerNotes() {
538
- var a, s, o, r, l, n;
538
+ var a, s, o, n, l, r;
539
539
  if (!this.rulerConfig.isShow)
540
540
  return;
541
541
  const e = {
@@ -551,15 +551,15 @@ let m = class extends U {
551
551
  }, e)
552
552
  }), i = new C({
553
553
  style: y({
554
- text: `${((a = this.formatEcgData) == null ? void 0 : a.gainName) === "\u80F8\u5BFC\u51CF\u534A" ? (s = this.formatEcgData) == null ? void 0 : s.gainName : `${(o = this.formatEcgData) == null ? void 0 : o.gain}mm/mV`} ${(r = this.formatEcgData) == null ? void 0 : r.speed}mm/s`,
554
+ text: `${((a = this.formatEcgData) == null ? void 0 : a.gainName) === "\u80F8\u5BFC\u51CF\u534A" ? (s = this.formatEcgData) == null ? void 0 : s.gainName : `${(o = this.formatEcgData) == null ? void 0 : o.gain}mm/mV`} ${(n = this.formatEcgData) == null ? void 0 : n.speed}mm/s`,
555
555
  x: this.leadHeadConfig.leadHedeWidth / 2 + 20,
556
556
  y: this.canvasContainer.height - this.ruleH
557
557
  }, e)
558
558
  });
559
- (l = this.sceneIns) == null || l.add(i), (n = this.sceneIns) == null || n.add(t);
559
+ (l = this.sceneIns) == null || l.add(i), (r = this.sceneIns) == null || r.add(t);
560
560
  }
561
561
  drawRuler(e = 0) {
562
- var o, r, l, n, h;
562
+ var o, n, l, r, h;
563
563
  if (!this.rulerConfig.isShow)
564
564
  return;
565
565
  const t = this.dataTotalTimes / 1e3;
@@ -567,7 +567,7 @@ let m = class extends U {
567
567
  if (this.leadModel.isContinuous)
568
568
  s = t * 5;
569
569
  else if (!this.leadModel.add && ((o = this.formatEcgData) == null ? void 0 : o.step)) {
570
- const d = x(this.splitPoint, this.formatEcgData.step), p = A(d, ((r = this.formatEcgData) == null ? void 0 : r.processedData.otherParams.SampleRate) || 0) / 1e3;
570
+ const d = b(this.splitPoint, this.formatEcgData.step), p = L(d, ((n = this.formatEcgData) == null ? void 0 : n.processedData.otherParams.SampleRate) || 0) / 1e3;
571
571
  s = e + p;
572
572
  }
573
573
  for (let d = e; d <= s; d = +(d + 0.1).toFixed(1))
@@ -581,7 +581,7 @@ let m = class extends U {
581
581
  fontFamily: this.fontFamily,
582
582
  fill: "#FF0080"
583
583
  }
584
- }))) : a = this.canvasContainer.height - 5, (n = this.rulerGroup) == null || n.add(new O({
584
+ }))) : a = this.canvasContainer.height - 5, (r = this.rulerGroup) == null || r.add(new x({
585
585
  cursor: "",
586
586
  shape: {
587
587
  x1: i,
@@ -605,25 +605,25 @@ let m = class extends U {
605
605
  (e = this.sceneIns) == null || e.add(this.leadHeadNameGroup), (t = this.sceneIns) == null || t.add(this.leadHeadOffAndDelGroup);
606
606
  }
607
607
  drawLoopArrow(e = 0) {
608
- var l, n, h, d, p, c, g, W, D, H, P, I, B, k, z, R, N;
608
+ var l, r, h, d, p, c, g, W, D, H, P, I, O, B, N, k, z;
609
609
  if (this.drawLoopArrowStartPosIdx = e, !this.heartFight.isShow)
610
610
  return;
611
611
  this.heartFight.mode && this.currentHeardBeat.heardBeat === null && (this.currentHeardBeat.heardBeat = ((l = this.formatEcgData) == null ? void 0 : l.heartBeatPosition[this.heartFight.defaultSelect]) || null, this.drawHeardBeatLine());
612
612
  let t = 0, i = 0;
613
- this.leadModel.add ? i = this.loopArrowY.add - (((n = this.formatEcgData) == null ? void 0 : n.sens) || 0) - this.splitBlockHeight / 3.5 : i = 20;
613
+ this.leadModel.add ? i = this.loopArrowY.add - (((r = this.formatEcgData) == null ? void 0 : r.sens) || 0) - this.splitBlockHeight / 3.5 : i = 20;
614
614
  let a = 0, s = 0;
615
615
  const o = {
616
616
  fontSize: 12,
617
617
  fill: "red",
618
618
  fontFamily: this.fontFamily
619
619
  };
620
- let r = 0;
621
- for (let M = 0; M < (((h = this.formatEcgData) == null ? void 0 : h.heartBeatPosition) || []).length; M++) {
622
- const f = (d = this.formatEcgData) == null ? void 0 : d.heartBeatPosition[M];
623
- if (r = ((f == null ? void 0 : f.position) || 0) - e, !(e > ((f == null ? void 0 : f.position) || 0)) && !(!this.leadModel.isContinuous && !this.leadModel.add && r > (this.slidingWindowInfo.points || 0)) && !(this.isSingleMode && this.singleModeInfo && r > (this.slidingWindowInfo.points || 0))) {
620
+ let n = 0;
621
+ for (let G = 0; G < (((h = this.formatEcgData) == null ? void 0 : h.heartBeatPosition) || []).length; G++) {
622
+ const f = (d = this.formatEcgData) == null ? void 0 : d.heartBeatPosition[G];
623
+ if (n = ((f == null ? void 0 : f.position) || 0) - e, !(e > ((f == null ? void 0 : f.position) || 0)) && !(!this.leadModel.isContinuous && !this.leadModel.add && n > (this.slidingWindowInfo.points || 0)) && !(this.isSingleMode && this.singleModeInfo && n > (this.slidingWindowInfo.points || 0))) {
624
624
  if (((f == null ? void 0 : f.position) || 0) - this.addSlidingWindowInfo.startInd > (this.addSlidingWindowInfo.points || 0))
625
625
  break;
626
- t = r * (((p = this.formatEcgData) == null ? void 0 : p.step) || 0) + this.leadHeadConfig.leadHedeWidth - 9.5, s = 0, (W = this.arrowGroup) == null || W.add(new ee({
626
+ t = n * (((p = this.formatEcgData) == null ? void 0 : p.step) || 0) + this.leadHeadConfig.leadHedeWidth - 9.5, s = 0, (W = this.arrowGroup) == null || W.add(new ee({
627
627
  name: "arrow_box",
628
628
  shape: {
629
629
  points: [
@@ -640,15 +640,15 @@ let m = class extends U {
640
640
  style: {
641
641
  fill: ((g = (c = this.currentHeardBeat) == null ? void 0 : c.heardBeat) == null ? void 0 : g.index) === (f == null ? void 0 : f.index) ? "blue" : "#ccc"
642
642
  },
643
- onclick: (b) => {
644
- var j;
645
- !this.heartFight.mode || (b.target.attr({
643
+ onclick: (M) => {
644
+ var R;
645
+ !this.heartFight.mode || (M.target.attr({
646
646
  style: { fill: "blue" }
647
- }), (j = this.arrowGroup) == null || j.children().filter((L) => L.name === "arrow_box").forEach((L) => {
648
- L.id !== b.target.id && L.attr({
647
+ }), (R = this.arrowGroup) == null || R.children().filter((F) => F.name === "arrow_box").forEach((F) => {
648
+ F.id !== M.target.id && F.attr({
649
649
  style: { fill: "#ccc" }
650
650
  });
651
- }), this.arrowLoopClick(f, b.target));
651
+ }), this.arrowLoopClick(f, M.target));
652
652
  }
653
653
  })), this.heartFight.heartrate && (a = ((D = this.AssistCtx) == null ? void 0 : D.measureText(`${(f == null ? void 0 : f.heartrate) || ""}`).width) || 0, (H = this.arrowGroup) == null || H.add(new C({
654
654
  cursor: "",
@@ -664,14 +664,14 @@ let m = class extends U {
664
664
  y: s + i,
665
665
  text: `${(f == null ? void 0 : f.interval) || ""}`
666
666
  }, o)
667
- })), s += 12), this.heartFight.qrstCompany && (a = ((B = this.AssistCtx) == null ? void 0 : B.measureText(`${(f == null ? void 0 : f.qrstCompany) || ""}`).width) || 0, (k = this.arrowGroup) == null || k.add(new C({
667
+ })), s += 12), this.heartFight.qrstCompany && (a = ((O = this.AssistCtx) == null ? void 0 : O.measureText(`${(f == null ? void 0 : f.qrstCompany) || ""}`).width) || 0, (B = this.arrowGroup) == null || B.add(new C({
668
668
  cursor: "",
669
669
  style: y({
670
670
  x: 4 + t - a * 1.5,
671
671
  y: s + i,
672
672
  text: `${(f == null ? void 0 : f.qrstCompany) || ""}`
673
673
  }, o)
674
- })), s += 12), this.heartFight.telectricalaxis && (a = ((z = this.AssistCtx) == null ? void 0 : z.measureText(`${(f == null ? void 0 : f.telectricalaxis) || ""}`).width) || 0, (R = this.arrowGroup) == null || R.add(new C({
674
+ })), s += 12), this.heartFight.telectricalaxis && (a = ((N = this.AssistCtx) == null ? void 0 : N.measureText(`${(f == null ? void 0 : f.telectricalaxis) || ""}`).width) || 0, (k = this.arrowGroup) == null || k.add(new C({
675
675
  cursor: "",
676
676
  style: y({
677
677
  x: 4 + t - a * 1.5,
@@ -681,20 +681,20 @@ let m = class extends U {
681
681
  })));
682
682
  }
683
683
  }
684
- (N = this.sceneIns) == null || N.add(this.arrowGroup);
684
+ (z = this.sceneIns) == null || z.add(this.arrowGroup);
685
685
  }
686
686
  arrowLoopClick(e, t) {
687
687
  this.$emit("notifyHeardBeat", te.clone(e)), this.currentHeardBeat.heardBeat = e, this.currentHeardBeat.ele = t, this.drawHeardBeatLine();
688
688
  }
689
689
  drawHeardBeatLine(e = 0) {
690
- var r, l, n, h, d, p;
690
+ var n, l, r, h, d, p;
691
691
  if (!this.currentHeardBeat.heardBeat)
692
692
  return;
693
- (r = this.heardBeatLineGroup) == null || r.removeAll(), (l = this.sceneIns) == null || l.remove(this.heardBeatLineGroup);
693
+ (n = this.heardBeatLineGroup) == null || n.removeAll(), (l = this.sceneIns) == null || l.remove(this.heardBeatLineGroup);
694
694
  let t = this.formatEcgData.processedData.otherParams.AnalyseValue[this.currentHeardBeat.heardBeat.index].KeyPosByBeat, i = 0, a = this.getRednerPoints(), s = this.getAddRednerPoints(), o;
695
695
  for (const c in t)
696
696
  if (["Pstart", "Pend", "QRSstart", "QRSend", "Tstart", "Tend"].includes(c) && Object.prototype.hasOwnProperty.call(t, c)) {
697
- i = (t[c] - this.slidingWindowInfo.startInd) * (((n = this.formatEcgData) == null ? void 0 : n.step) || 0);
697
+ i = (t[c] - this.slidingWindowInfo.startInd) * (((r = this.formatEcgData) == null ? void 0 : r.step) || 0);
698
698
  e:
699
699
  for (let g = 0; g < a.length; g++)
700
700
  if (!(this.isLeadOff(g) || this.isLeadDel(g))) {
@@ -713,7 +713,7 @@ let m = class extends U {
713
713
  (p = this.sceneIns) == null || p.add(this.heardBeatLineGroup), t = null, a = null, s = null;
714
714
  }
715
715
  createHeardBeatLine(e, t) {
716
- return new O({
716
+ return new x({
717
717
  cursor: "",
718
718
  shape: {
719
719
  x1: e,
@@ -735,11 +735,11 @@ let m = class extends U {
735
735
  }
736
736
  scrollCommon(e) {
737
737
  var i;
738
- const t = x(e, ((i = this.formatEcgData) == null ? void 0 : i.step) || 1);
738
+ const t = b(e, ((i = this.formatEcgData) == null ? void 0 : i.step) || 1);
739
739
  this.scrollWaveFrom(t), this.scrollRuler(t), this.scrollArrow(t), this.$emit("notifyScrollPointIdx", t);
740
740
  }
741
741
  scrollWaveFrom(e) {
742
- var a, s, o, r, l, n;
742
+ var a, s, o, n, l, r;
743
743
  this.slidingWindowInfo.startInd = e, this.slidingWindowInfo.endInd = e + (this.slidingWindowInfo.points || 0), this.addSlidingWindowInfo.startInd = e, this.addSlidingWindowInfo.endInd = e + (this.addSlidingWindowInfo.points || 0);
744
744
  let t = this.getRednerPoints(), i = this.getAddRednerPoints();
745
745
  this.waveDataCopy = t, this.addWaveDataCopy = i, (a = this.rowAndColwaveFromGroup) == null || a.eachChild((h, d) => {
@@ -760,7 +760,7 @@ let m = class extends U {
760
760
  ])
761
761
  }
762
762
  });
763
- }), this.leadModel.isShowPacing && ((r = (o = this.formatEcgData) == null ? void 0 : o.processedData.otherParams.PacingData) == null ? void 0 : r.length) && ((n = (l = this.pacingGroup) == null ? void 0 : l.childOfName("0_0")) == null || n.attr({
763
+ }), this.leadModel.isShowPacing && ((n = (o = this.formatEcgData) == null ? void 0 : o.processedData.otherParams.PacingData) == null ? void 0 : n.length) && ((r = (l = this.pacingGroup) == null ? void 0 : l.childOfName("0_0")) == null || r.attr({
764
764
  shape: {
765
765
  points: this.getPacinfPoints(
766
766
  this.leadHeadConfig.leadHedeWidth,
@@ -772,7 +772,7 @@ let m = class extends U {
772
772
  scrollRuler(e) {
773
773
  var i, a, s;
774
774
  (i = this.rulerGroup) == null || i.removeAll(), (a = this.sceneIns) == null || a.remove(this.rulerGroup);
775
- const t = A(this.isSingleMode ? 0 : e, ((s = this.formatEcgData) == null ? void 0 : s.processedData.otherParams.SampleRate) || 0) / 1e3;
775
+ const t = L(this.isSingleMode ? 0 : e, ((s = this.formatEcgData) == null ? void 0 : s.processedData.otherParams.SampleRate) || 0) / 1e3;
776
776
  this.drawRuler(t);
777
777
  }
778
778
  scrollArrow(e) {
@@ -800,6 +800,11 @@ u([
800
800
  validator: (e) => typeof e == "number"
801
801
  })
802
802
  ], m.prototype, "MXEnlargeWaveWidth", 2);
803
+ u([
804
+ w({
805
+ default: () => Z
806
+ })
807
+ ], m.prototype, "LeadNameTextsPorps", 2);
803
808
  u([
804
809
  w({
805
810
  default: 0,
@@ -923,7 +928,7 @@ u([
923
928
  ], m.prototype, "ventricularRate", 2);
924
929
  u([
925
930
  w({
926
- default: G.CompoundWave
931
+ default: E.CompoundWave
927
932
  })
928
933
  ], m.prototype, "enlargeWaveMode", 2);
929
934
  u([
@@ -949,13 +954,13 @@ u([
949
954
  })
950
955
  ], m.prototype, "isSyncAnalyseValueCheck", 2);
951
956
  u([
952
- T(200)
957
+ $(200)
953
958
  ], m.prototype, "nativeScrollFunc", 1);
954
959
  u([
955
- T(200)
960
+ $(200)
956
961
  ], m.prototype, "handleScroll", 1);
957
962
  m = u([
958
- Q({
963
+ U({
959
964
  name: "Methods"
960
965
  })
961
966
  ], m);
@@ -4,6 +4,7 @@ import { ZRenderType, ElementEvent, Polyline, Text, Group } from 'zrender';
4
4
  import { AnalyseValue, EnlargeAnalysisData } from '../../types/Common';
5
5
  import { MXGridConfig, LeadHeadConfig, MXLeadConfig } from '../../types/EcgWave';
6
6
  export default class Methods extends Vue {
7
+ protected LeadNameTextsPorps: string[];
7
8
  /** 前缀 id */
8
9
  protected prefixId: string;
9
10
  protected className: string;