costy-plus 1.0.68-0 → 1.0.70-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.
- package/dist/es/src/CommonWaveForm/index.vue.d.ts +1 -0
- package/dist/es/src/CommonWaveForm/index.vue_vue_type_script_lang.js +44 -38
- package/dist/es/src/CommonWaveForm/method.js +20 -20
- package/dist/es/src/EcgWave/index.vue_vue_type_template_lang.js +8 -7
- package/dist/es/src/EcgWave/method.d.ts +1 -0
- package/dist/es/src/EcgWave/method.js +114 -109
- package/dist/es/src/EnlargeWave/medthod.d.ts +1 -0
- package/dist/es/src/EnlargeWave/medthod.js +57 -52
- package/dist/es/src/HFECGWave/components/Detail.vue.d.ts +1 -0
- package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +54 -49
- package/dist/es/src/HFECGWave/components/Routine.vue.d.ts +1 -0
- package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +32 -27
- package/dist/es/src/MagnifierWave/medthod.d.ts +1 -0
- package/dist/es/src/MagnifierWave/medthod.js +26 -21
- package/dist/es/src/monitorWave/interface.d.ts +17 -0
- package/dist/es/src/monitorWave/method.d.ts +4 -1
- package/dist/es/src/monitorWave/method.js +153 -109
- package/dist/lib/src/CommonWaveForm/index.vue.d.ts +1 -0
- package/dist/lib/src/CommonWaveForm/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/CommonWaveForm/method.js +1 -1
- package/dist/lib/src/EcgWave/index.vue_vue_type_template_lang.js +1 -1
- package/dist/lib/src/EcgWave/method.d.ts +1 -0
- package/dist/lib/src/EcgWave/method.js +1 -1
- package/dist/lib/src/EnlargeWave/medthod.d.ts +1 -0
- package/dist/lib/src/EnlargeWave/medthod.js +1 -1
- package/dist/lib/src/HFECGWave/components/Detail.vue.d.ts +1 -0
- package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/HFECGWave/components/Routine.vue.d.ts +1 -0
- package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/MagnifierWave/medthod.d.ts +1 -0
- package/dist/lib/src/MagnifierWave/medthod.js +1 -1
- package/dist/lib/src/monitorWave/interface.d.ts +17 -0
- package/dist/lib/src/monitorWave/method.d.ts +4 -1
- package/dist/lib/src/monitorWave/method.js +1 -1
- package/package.json +2 -2
|
@@ -4,6 +4,7 @@ declare class CommonWaveForm extends CommonWaveForm_base {
|
|
|
4
4
|
protected repaintTimer: any;
|
|
5
5
|
protected watchVuescrollConfig(): void;
|
|
6
6
|
protected watchAnalyseValues(): void;
|
|
7
|
+
protected watchsingleModeConfig(): void;
|
|
7
8
|
protected watchWaveConfigs(): void;
|
|
8
9
|
protected watchWaveLists(): void;
|
|
9
10
|
protected watchLeadHeadConfig(): void;
|
|
@@ -2,17 +2,17 @@ import "./style/index.css";
|
|
|
2
2
|
import "vue";
|
|
3
3
|
import l, { mixins as c } 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";
|
|
4
4
|
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";
|
|
5
|
-
import { Watch as
|
|
5
|
+
import { Watch as r } 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/Watch.js";
|
|
6
6
|
import d from "../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules/vuescroll/dist/vuescroll-native.js";
|
|
7
7
|
import m from "../MeasuringRuler/index2.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
8
|
+
import f from "../MagnifierWave/index.js";
|
|
9
|
+
import g from "../ParallelRuler/index2.js";
|
|
10
|
+
import u from "../BackgroundGrid/index2.js";
|
|
11
11
|
import w from "./method.js";
|
|
12
|
-
var C = Object.defineProperty, v = Object.getOwnPropertyDescriptor,
|
|
13
|
-
for (var o = s > 1 ? void 0 : s ? v(
|
|
14
|
-
(
|
|
15
|
-
return s && o && C(
|
|
12
|
+
var C = Object.defineProperty, v = Object.getOwnPropertyDescriptor, t = (i, a, n, s) => {
|
|
13
|
+
for (var o = s > 1 ? void 0 : s ? v(a, n) : a, p = i.length - 1, h; p >= 0; p--)
|
|
14
|
+
(h = i[p]) && (o = (s ? h(a, n, o) : h(o)) || o);
|
|
15
|
+
return s && o && C(a, n, o), o;
|
|
16
16
|
};
|
|
17
17
|
let e = class extends c(w) {
|
|
18
18
|
constructor() {
|
|
@@ -24,6 +24,9 @@ let e = class extends c(w) {
|
|
|
24
24
|
watchAnalyseValues() {
|
|
25
25
|
this.repaint();
|
|
26
26
|
}
|
|
27
|
+
watchsingleModeConfig() {
|
|
28
|
+
this.repaint();
|
|
29
|
+
}
|
|
27
30
|
watchWaveConfigs() {
|
|
28
31
|
this.repaint();
|
|
29
32
|
}
|
|
@@ -31,8 +34,8 @@ let e = class extends c(w) {
|
|
|
31
34
|
this.repaint();
|
|
32
35
|
}
|
|
33
36
|
watchLeadHeadConfig() {
|
|
34
|
-
var
|
|
35
|
-
(
|
|
37
|
+
var i, a;
|
|
38
|
+
(i = this.leadHeadGroup) == null || i.removeAll(), (a = this.sceneIns) == null || a.remove(this.leadHeadGroup), this.drawLeadHead();
|
|
36
39
|
}
|
|
37
40
|
watchLeadModel() {
|
|
38
41
|
this.repaint();
|
|
@@ -44,8 +47,8 @@ let e = class extends c(w) {
|
|
|
44
47
|
this.repaint();
|
|
45
48
|
}
|
|
46
49
|
watchLongLeadConfig() {
|
|
47
|
-
var
|
|
48
|
-
(
|
|
50
|
+
var i;
|
|
51
|
+
(i = this.sceneIns) == null || i.clear(), this.init();
|
|
49
52
|
}
|
|
50
53
|
watchPosStart() {
|
|
51
54
|
this.registPostStart();
|
|
@@ -55,8 +58,8 @@ let e = class extends c(w) {
|
|
|
55
58
|
}
|
|
56
59
|
repaint() {
|
|
57
60
|
this.repaintTimer && clearTimeout(this.repaintTimer), this.repaintTimer = setTimeout(() => {
|
|
58
|
-
var
|
|
59
|
-
(
|
|
61
|
+
var i, a;
|
|
62
|
+
(i = this.sceneIns) == null || i.clear(), (a = this.sceneIns) == null || a.resize({
|
|
60
63
|
width: this.canvasContainer.width,
|
|
61
64
|
height: this.canvasContainer.height
|
|
62
65
|
}), this.initCreatedConfig(), this.combinationDrawing();
|
|
@@ -69,45 +72,48 @@ let e = class extends c(w) {
|
|
|
69
72
|
this.init();
|
|
70
73
|
}
|
|
71
74
|
};
|
|
72
|
-
|
|
73
|
-
|
|
75
|
+
t([
|
|
76
|
+
r("vuescrollConfig", { deep: !0 })
|
|
74
77
|
], e.prototype, "watchVuescrollConfig", 1);
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
t([
|
|
79
|
+
r("analyseValues", { deep: !0 })
|
|
77
80
|
], e.prototype, "watchAnalyseValues", 1);
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
t([
|
|
82
|
+
r("singleModeConfig", { deep: !0 })
|
|
83
|
+
], e.prototype, "watchsingleModeConfig", 1);
|
|
84
|
+
t([
|
|
85
|
+
r("waveConfigs", { deep: !0 })
|
|
80
86
|
], e.prototype, "watchWaveConfigs", 1);
|
|
81
|
-
|
|
82
|
-
|
|
87
|
+
t([
|
|
88
|
+
r("waveLists", { deep: !0 })
|
|
83
89
|
], e.prototype, "watchWaveLists", 1);
|
|
84
|
-
|
|
85
|
-
|
|
90
|
+
t([
|
|
91
|
+
r("leadHeadConfig", { deep: !0 })
|
|
86
92
|
], e.prototype, "watchLeadHeadConfig", 1);
|
|
87
|
-
|
|
88
|
-
|
|
93
|
+
t([
|
|
94
|
+
r("leadModel", { deep: !0 })
|
|
89
95
|
], e.prototype, "watchLeadModel", 1);
|
|
90
|
-
|
|
91
|
-
|
|
96
|
+
t([
|
|
97
|
+
r("width")
|
|
92
98
|
], e.prototype, "watchWidth", 1);
|
|
93
|
-
|
|
94
|
-
|
|
99
|
+
t([
|
|
100
|
+
r("height")
|
|
95
101
|
], e.prototype, "watchHeight", 1);
|
|
96
|
-
|
|
97
|
-
|
|
102
|
+
t([
|
|
103
|
+
r("longLeadConfig", { deep: !0 })
|
|
98
104
|
], e.prototype, "watchLongLeadConfig", 1);
|
|
99
|
-
|
|
100
|
-
|
|
105
|
+
t([
|
|
106
|
+
r("posStart")
|
|
101
107
|
], e.prototype, "watchPosStart", 1);
|
|
102
|
-
e =
|
|
108
|
+
e = t([
|
|
103
109
|
l({
|
|
104
110
|
name: "CommonWaveForm",
|
|
105
111
|
components: {
|
|
106
112
|
vueScroll: d,
|
|
107
|
-
MXBackgroundGrid:
|
|
113
|
+
MXBackgroundGrid: u,
|
|
108
114
|
MXMeasuringRuler: m,
|
|
109
|
-
MXParallelRuler:
|
|
110
|
-
MXMagnifierWave:
|
|
115
|
+
MXParallelRuler: g,
|
|
116
|
+
MXMagnifierWave: f
|
|
111
117
|
}
|
|
112
118
|
})
|
|
113
119
|
], e);
|
|
@@ -15,7 +15,7 @@ import q from "../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/nod
|
|
|
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 c } 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
17
|
import { flattenDeep as Q, max as K, min as U } from "lodash";
|
|
18
|
-
import { throttling as $, getStepForSpeed as W, getPrintLengthToPx as Z, getSens as S, getDataLenTimes as A, getPointIdxForPx as
|
|
18
|
+
import { throttling as $, getStepForSpeed as W, getPrintLengthToPx as Z, getSens as S, getDataLenTimes as A, getPointIdxForPx as L, getActualY as M } from "@costy-plus/utils";
|
|
19
19
|
import * as J from "zrender";
|
|
20
20
|
import { Group as v, Polyline as x, Line as P, Text as I, Polygon as ee, util as te } from "zrender";
|
|
21
21
|
var ie = Object.defineProperty, se = Object.getOwnPropertyDescriptor, u = (e, t, i, s) => {
|
|
@@ -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 || this.leadModel.isSingleMode ? 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 || this.leadModel.isSingleMode ? 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 || this.leadModel.isSingleMode ? 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 || this.leadModel.isSingleMode ? i : this.addSlidingWindowInfo.endInd
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
calcHighestAndLowestPoint() {
|
|
@@ -215,7 +215,7 @@ let g = class extends E {
|
|
|
215
215
|
}
|
|
216
216
|
drawLeadHead() {
|
|
217
217
|
var o, n, d, l, f;
|
|
218
|
-
(o = this.leadHeadGroup) == null || o.removeAll(), (n = this.sceneIns) == null || n.remove(this.leadHeadGroup)
|
|
218
|
+
(o = this.leadHeadGroup) == null || o.removeAll(), (n = this.sceneIns) == null || n.remove(this.leadHeadGroup);
|
|
219
219
|
let e = "", t = !1, i = 0, s = 0;
|
|
220
220
|
for (let r = 0; r <= this.leadModel.column; r++) {
|
|
221
221
|
s = r * this.leadModel.line;
|
|
@@ -376,7 +376,7 @@ let g = class extends E {
|
|
|
376
376
|
if (this.leadModel.isContinuous)
|
|
377
377
|
a = t * 5;
|
|
378
378
|
else if (!this.leadModel.add && o) {
|
|
379
|
-
const f =
|
|
379
|
+
const f = L(this.splitPoint, o), r = A(f, this.rulerConfig.sampleRate || 0) / 1e3;
|
|
380
380
|
a = e + r;
|
|
381
381
|
}
|
|
382
382
|
for (let f = e; f <= a; f = +(f + 0.1).toFixed(1))
|
|
@@ -427,7 +427,7 @@ let g = class extends E {
|
|
|
427
427
|
endInd: a,
|
|
428
428
|
step: o,
|
|
429
429
|
sens: n,
|
|
430
|
-
data: i.slice(s, a).map((h, C) => this.waveConfigs[this.singleModeConfig.defaultSelect].leadName === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.waveConfigs[this.singleModeConfig.defaultSelect].leadName) ?
|
|
430
|
+
data: i.slice(s, a).map((h, C) => this.waveConfigs[this.singleModeConfig.defaultSelect].leadName === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.waveConfigs[this.singleModeConfig.defaultSelect].leadName) ? M(this.waveConfigs[this.singleModeConfig.defaultSelect].sensitivity, h, n / 2) : M(this.waveConfigs[this.singleModeConfig.defaultSelect].sensitivity, h, n)).map((h, C) => [C * (o || 0), -h])
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
return d;
|
|
@@ -456,7 +456,7 @@ let g = class extends E {
|
|
|
456
456
|
onclick: (f) => {
|
|
457
457
|
this.onDbClickWaveFrom(f, "single");
|
|
458
458
|
}
|
|
459
|
-
})), (d = this.singleWaveFromGroup) == null || d.add(new I({
|
|
459
|
+
})), +i * 60 <= this.dataTotalTimes && ((d = this.singleWaveFromGroup) == null || d.add(new I({
|
|
460
460
|
cursor: "",
|
|
461
461
|
style: {
|
|
462
462
|
x: e[l].pos[0],
|
|
@@ -467,7 +467,7 @@ let g = class extends E {
|
|
|
467
467
|
fill: "#FF0080",
|
|
468
468
|
fontFamily: this.fontFamily
|
|
469
469
|
}
|
|
470
|
-
})), l > 0 && (t += t)), this.createLeadName(this.waveConfigs[this.singleModeConfig.defaultSelect].leadIdx, e[0].pos[0] - 10, e[0].pos[1] + 10), this.createLeadOffAndDel(
|
|
470
|
+
}))), l > 0 && (t += t)), this.createLeadName(this.waveConfigs[this.singleModeConfig.defaultSelect].leadIdx, e[0].pos[0] - 10, e[0].pos[1] + 10), this.createLeadOffAndDel(
|
|
471
471
|
this.waveConfigs[this.singleModeConfig.defaultSelect].leadIdx,
|
|
472
472
|
e[0].pos[0] - 5,
|
|
473
473
|
e[0].pos[1] - (e[l].sens || 0) / 2 - 15
|
|
@@ -481,8 +481,8 @@ let g = class extends E {
|
|
|
481
481
|
this.heartFight.mode && this.currentHeardBeat.heardBeat === null && (this.currentHeardBeat.heardBeat = this.heartBeatPosition[this.heartFight.showIdxPai][this.heartFight.defaultSelect] || null, this.drawHeardBeatLine());
|
|
482
482
|
let t = 0, i = 0;
|
|
483
483
|
if (this.leadModel.add) {
|
|
484
|
-
const
|
|
485
|
-
i = this.loopArrowY.add - (
|
|
484
|
+
const H = S(this.waveConfigs[this.longLeadConfig.leadIdxs[0]].gain, this.gridConfig.cellMg);
|
|
485
|
+
i = this.loopArrowY.add - (H || 0) - this.splitBlockHeight / 3.5;
|
|
486
486
|
} else
|
|
487
487
|
i = 20;
|
|
488
488
|
let s = 0, a = 0;
|
|
@@ -496,8 +496,8 @@ let g = class extends E {
|
|
|
496
496
|
this.waveConfigs[this.heartFight.showIdxPai].sampleRate
|
|
497
497
|
);
|
|
498
498
|
let d = 0;
|
|
499
|
-
for (let
|
|
500
|
-
const p = this.heartBeatPosition[this.heartFight.showIdxPai][
|
|
499
|
+
for (let H = 0; H < (this.heartBeatPosition[this.heartFight.showIdxPai] || []).length; H++) {
|
|
500
|
+
const p = this.heartBeatPosition[this.heartFight.showIdxPai][H];
|
|
501
501
|
if (d = ((p == null ? void 0 : p.position) || 0) - e, !(e > ((p == null ? void 0 : p.position) || 0)) && !(!this.leadModel.isContinuous && !this.leadModel.add && d > (this.slidingWindowInfo.points || 0)) && !(this.leadModel.isSingleMode && d > (this.slidingWindowInfo.points || 0))) {
|
|
502
502
|
if (((p == null ? void 0 : p.position) || 0) - this.addSlidingWindowInfo.startInd > (this.addSlidingWindowInfo.points || 0))
|
|
503
503
|
break;
|
|
@@ -522,8 +522,8 @@ let g = class extends E {
|
|
|
522
522
|
var k;
|
|
523
523
|
!this.heartFight.mode || (b.target.attr({
|
|
524
524
|
style: { fill: "blue" }
|
|
525
|
-
}), (k = this.arrowGroup) == null || k.children().filter((
|
|
526
|
-
|
|
525
|
+
}), (k = this.arrowGroup) == null || k.children().filter((F) => F.name === "arrow_box").forEach((F) => {
|
|
526
|
+
F.id !== b.target.id && F.attr({
|
|
527
527
|
style: { fill: "#ccc" }
|
|
528
528
|
});
|
|
529
529
|
}), this.arrowLoopClick(p, b.target));
|
|
@@ -623,7 +623,7 @@ let g = class extends E {
|
|
|
623
623
|
pos: [t, i],
|
|
624
624
|
startInd: this.addSlidingWindowInfo.startInd || 0,
|
|
625
625
|
endInd: this.addSlidingWindowInfo.endInd || 0,
|
|
626
|
-
data: a.slice(this.addSlidingWindowInfo.startInd, this.addSlidingWindowInfo.endInd).map((l, f) => this.waveConfigs[s].leadName === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.waveConfigs[s].leadName) ?
|
|
626
|
+
data: a.slice(this.addSlidingWindowInfo.startInd, this.addSlidingWindowInfo.endInd).map((l, f) => this.waveConfigs[s].leadName === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.waveConfigs[s].leadName) ? M(this.waveConfigs[s].sensitivity, l, n / 2) : M(this.waveConfigs[s].sensitivity, l, n)).map((l, f) => [f * (o || 0), -l]),
|
|
627
627
|
sens: n,
|
|
628
628
|
step: o
|
|
629
629
|
}));
|
|
@@ -667,7 +667,7 @@ let g = class extends E {
|
|
|
667
667
|
endInd: d,
|
|
668
668
|
sens: o,
|
|
669
669
|
step: a,
|
|
670
|
-
data: s.slice(n, d).map((h, C) => this.waveConfigs[i].leadName === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.waveConfigs[i].leadName) ?
|
|
670
|
+
data: s.slice(n, d).map((h, C) => this.waveConfigs[i].leadName === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.waveConfigs[i].leadName) ? M(this.waveConfigs[i].sensitivity, h, o / 2) : M(this.waveConfigs[i].sensitivity, h, o)).map((h, C) => [C * (a || 0), -h])
|
|
671
671
|
}), i++);
|
|
672
672
|
}
|
|
673
673
|
return l;
|
|
@@ -752,7 +752,7 @@ let g = class extends E {
|
|
|
752
752
|
this.activeLeadIdx = +a[0];
|
|
753
753
|
const o = +a[1];
|
|
754
754
|
let n = 0, d = 0, l = 0, f = 0, r = 0;
|
|
755
|
-
t === "single" ? (n = e.offsetX - this.singleWaveDataCopy[o].pos[0], d = this.singleWaveDataCopy[o].startInd, l =
|
|
755
|
+
t === "single" ? (n = e.offsetX - this.singleWaveDataCopy[o].pos[0], d = this.singleWaveDataCopy[o].startInd, l = L(n, this.singleWaveDataCopy[o].step || 1), f = this.singleWaveDataCopy[o].sens, r = this.singleWaveDataCopy[o].step) : t === "rowAndCol" ? (n = e.offsetX - this.waveDataCopy[o].pos[0], d = this.waveDataCopy[o].startInd || 0, l = L(n, this.waveDataCopy[o].step || 1), f = this.waveDataCopy[o].sens, r = this.waveDataCopy[o].step) : t === "add" && (n = e.offsetX - this.addWaveDataCopy[o].pos[0], d = this.addWaveDataCopy[o].startInd || 0, l = L(n, this.addWaveDataCopy[o].step || 1), f = this.addWaveDataCopy[o].sens, r = this.addWaveDataCopy[o].step), l += d, this.$emit("notifyActiveEnlargr", {
|
|
756
756
|
sens: f,
|
|
757
757
|
step: r,
|
|
758
758
|
activeLeadIdx: this.activeLeadIdx,
|
|
@@ -768,7 +768,7 @@ let g = class extends E {
|
|
|
768
768
|
t.type === "horizontal" && (t.scrollLeft = t.scrollLeft || 0, this.scrollCommon(t.scrollLeft));
|
|
769
769
|
}
|
|
770
770
|
scrollCommon(e) {
|
|
771
|
-
const t =
|
|
771
|
+
const t = L(e, this.publicStep || 1);
|
|
772
772
|
this.scrollWaveFrom(t), this.scrollRuler(t), this.scrollArrow(t), this.$emit("notifyScrollPointIdx", {
|
|
773
773
|
slidIdxs: t,
|
|
774
774
|
scrollLeft: e
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var C = function() {
|
|
2
|
-
var t, i, l, o, r, s, n,
|
|
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": ((
|
|
69
|
-
sensitivity: ((
|
|
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(
|
|
85
|
-
a.isShowEnlargeWave =
|
|
85
|
+
"update:isShowEnlargeWave": function(p) {
|
|
86
|
+
a.isShowEnlargeWave = p;
|
|
86
87
|
},
|
|
87
|
-
"update:is-show-enlarge-wave": function(
|
|
88
|
-
a.isShowEnlargeWave =
|
|
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;
|