costy-plus 1.1.2-0 → 1.1.5-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/EcgWave/method.js +186 -199
- package/dist/es/src/EnlargeWaveView/index.vue_vue_type_script_lang.js +10 -8
- package/dist/es/src/MeasuringRuler/index.vue.d.ts +1 -1
- package/dist/es/src/MeasuringRuler/index.vue_vue_type_script_lang.js +321 -133
- package/dist/es/src/MeasuringRulerMore/index.vue.d.ts +1 -1
- package/dist/es/src/MeasuringRulerMore/index.vue_vue_type_script_lang.js +373 -182
- package/dist/lib/src/EcgWave/method.js +1 -1
- package/dist/lib/src/EnlargeWaveView/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/MeasuringRuler/index.vue.d.ts +1 -1
- package/dist/lib/src/MeasuringRuler/index.vue_vue_type_script_lang.js +2 -2
- package/dist/lib/src/MeasuringRulerMore/index.vue.d.ts +1 -1
- package/dist/lib/src/MeasuringRulerMore/index.vue_vue_type_script_lang.js +2 -2
- package/package.json +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var V = Object.defineProperty, _ = Object.defineProperties;
|
|
2
|
+
var q = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var X = Object.getOwnPropertySymbols;
|
|
4
|
+
var U = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var T = (e, t, i) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, W = (e, t) => {
|
|
6
6
|
for (var i in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var i of
|
|
10
|
-
|
|
7
|
+
U.call(t, i) && T(e, i, t[i]);
|
|
8
|
+
if (X)
|
|
9
|
+
for (var i of X(t))
|
|
10
|
+
Y.call(t, i) && T(e, i, t[i]);
|
|
11
11
|
return e;
|
|
12
|
-
}, P = (e, t) =>
|
|
12
|
+
}, P = (e, t) => _(e, q(t));
|
|
13
13
|
import K from "vue";
|
|
14
14
|
import Z 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 S, throttling as
|
|
17
|
+
import { AnalysisMode as S, throttling as O, getPrintLengthToPx as Q, getDataLenTimes as G, getDistance as $, getPointIdxForPx as x, LeadNameTexts as J } from "@costy-plus/utils";
|
|
18
18
|
import * as ee from "zrender";
|
|
19
|
-
import { Group as
|
|
20
|
-
var se = Object.defineProperty, ae = Object.getOwnPropertyDescriptor,
|
|
19
|
+
import { Group as y, Text as C, Polyline as H, Line as b, Polygon as te, util as ie } from "zrender";
|
|
20
|
+
var se = Object.defineProperty, ae = Object.getOwnPropertyDescriptor, u = (e, t, i, s) => {
|
|
21
21
|
for (var a = s > 1 ? void 0 : s ? ae(t, i) : t, o = e.length - 1, r; o >= 0; o--)
|
|
22
22
|
(r = e[o]) && (a = (s ? r(t, i, a) : r(a)) || a);
|
|
23
23
|
return s && a && se(t, i, a), a;
|
|
24
24
|
};
|
|
25
|
-
let
|
|
25
|
+
let g = class extends K {
|
|
26
26
|
constructor() {
|
|
27
27
|
super(...arguments), this.AssistCtx = Object.freeze(null), this.sceneIns = 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,
|
|
@@ -69,8 +69,8 @@ let u = class extends K {
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
destroyed() {
|
|
72
|
-
var e, t, i, s, a, o, r, l, n, d, h,
|
|
73
|
-
this.sceneInsEventOff(), (e = this.rowAndColwaveFromGroup) == null || e.removeAll(), (t = this.singleWaveFromGroup) == null || t.removeAll(), (i = this.addwaveFromGroup) == null || i.removeAll(), (s = this.leadHeadGroup) == null || s.removeAll(), (a = this.splitLineGroup) == null || a.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(), (d = this.heardBeatLineGroup) == null || d.removeAll(), (h = this.pacingGroup) == null || h.removeAll(), (
|
|
72
|
+
var e, t, i, s, a, o, r, l, n, d, h, p;
|
|
73
|
+
this.sceneInsEventOff(), (e = this.rowAndColwaveFromGroup) == null || e.removeAll(), (t = this.singleWaveFromGroup) == null || t.removeAll(), (i = this.addwaveFromGroup) == null || i.removeAll(), (s = this.leadHeadGroup) == null || s.removeAll(), (a = this.splitLineGroup) == null || a.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(), (d = this.heardBeatLineGroup) == null || d.removeAll(), (h = this.pacingGroup) == null || h.removeAll(), (p = this.sceneIns) == null || p.dispose();
|
|
74
74
|
}
|
|
75
75
|
init() {
|
|
76
76
|
var e;
|
|
@@ -104,34 +104,34 @@ let u = class extends K {
|
|
|
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, s, a, o, r, l, n, d, h,
|
|
108
|
-
this.rowAndColwaveFromGroup = new
|
|
107
|
+
var t, i, s, a, o, r, l, n, d, h, p;
|
|
108
|
+
this.rowAndColwaveFromGroup = new y({
|
|
109
109
|
name: "rowAndColwaveFrom"
|
|
110
|
-
}), this.singleWaveFromGroup = new
|
|
110
|
+
}), this.singleWaveFromGroup = new y({
|
|
111
111
|
name: "singleWaveFrom"
|
|
112
|
-
}), this.addwaveFromGroup = new
|
|
112
|
+
}), this.addwaveFromGroup = new y({
|
|
113
113
|
name: "addwaveFrom"
|
|
114
|
-
}), this.leadHeadGroup = new
|
|
114
|
+
}), this.leadHeadGroup = new y({
|
|
115
115
|
name: "leadHead"
|
|
116
|
-
}), this.splitLineGroup = new
|
|
116
|
+
}), this.splitLineGroup = new y({
|
|
117
117
|
name: "splitLine"
|
|
118
|
-
}), this.leadHeadNameGroup = new
|
|
118
|
+
}), this.leadHeadNameGroup = new y({
|
|
119
119
|
name: "leadHeadName"
|
|
120
|
-
}), this.leadHeadOffAndDelGroup = new
|
|
120
|
+
}), this.leadHeadOffAndDelGroup = new y({
|
|
121
121
|
name: "leadHeadOffAndDel"
|
|
122
|
-
}), this.rulerGroup = new
|
|
122
|
+
}), this.rulerGroup = new y({
|
|
123
123
|
name: "ruler"
|
|
124
|
-
}), this.arrowGroup = new
|
|
124
|
+
}), this.arrowGroup = new y({
|
|
125
125
|
name: "arrowLoop"
|
|
126
|
-
}), this.heardBeatLineGroup = new
|
|
126
|
+
}), this.heardBeatLineGroup = new y({
|
|
127
127
|
name: "heardBeatLine"
|
|
128
|
-
}), this.pacingGroup = new
|
|
128
|
+
}), this.pacingGroup = new y({
|
|
129
129
|
name: "pacing"
|
|
130
130
|
}), (this.leadModel.name === "12*1" || this.leadModel.name === "18*1" || this.leadModel.name === "15*1" || this.leadModel.name === "16*1") && (this.sceneMagnification = 0.8), 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
|
|
134
|
-
|
|
133
|
+
const m = Q(((s = this.formatEcgData) == null ? void 0 : s.processedData.otherParams.SampleRate) || 0) + this.leadHeadConfig.leadHedeWidth;
|
|
134
|
+
m <= e && (e = m);
|
|
135
135
|
} else
|
|
136
136
|
this.leadModel.isContinuous && !this.isSingleMode && (((a = this.formatEcgData) == null ? void 0 : a.dataPxLen) || 0) < e - this.leadHeadConfig.leadHedeWidth && (e = (((o = this.formatEcgData) == null ? void 0 : o.dataPxLen) || 0) + this.leadHeadConfig.leadHedeWidth);
|
|
137
137
|
if (this.drawArea = {
|
|
@@ -154,13 +154,13 @@ let u = class extends K {
|
|
|
154
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
155
|
this.splitBlockHeight = (((n = this.formatEcgData) == null ? void 0 : n.analysisValueMode) === S.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, this.splitBlockHeight2 = this.drawArea.height / 6);
|
|
156
156
|
else {
|
|
157
|
-
let
|
|
158
|
-
this.leadModel.isShowPacing && (
|
|
157
|
+
let m = this.drawArea.height;
|
|
158
|
+
this.leadModel.isShowPacing && (m = this.drawArea.height - this.drawBottomPacH), this.splitBlockHeight = m / this.totalRows, this.splitBlockHeight2 = m / this.totalRows;
|
|
159
159
|
}
|
|
160
|
-
this.dataTotalTimes =
|
|
160
|
+
this.dataTotalTimes = G(
|
|
161
161
|
this.waveFromData[0].length || 0,
|
|
162
162
|
((d = this.formatEcgData) == null ? void 0 : d.processedData.otherParams.SampleRate) || 0
|
|
163
|
-
), this.rulerStep = (((h = this.formatEcgData) == null ? void 0 : h.step) || 1) * (((
|
|
163
|
+
), this.rulerStep = (((h = this.formatEcgData) == null ? void 0 : h.step) || 1) * (((p = this.formatEcgData) == null ? void 0 : p.processedData.otherParams.SampleRate) || 1) / (this.gridConfig.cellMg * 2 + 2);
|
|
164
164
|
}
|
|
165
165
|
isLeadOff(e) {
|
|
166
166
|
var t;
|
|
@@ -173,72 +173,59 @@ let u = class extends K {
|
|
|
173
173
|
onDbClickWaveFrom(e, t) {
|
|
174
174
|
console.log("onDbClickWaveFrom", e);
|
|
175
175
|
const i = Date.now(), s = () => {
|
|
176
|
-
var
|
|
176
|
+
var p, m, f, D;
|
|
177
177
|
const a = e.target.name.split("_");
|
|
178
178
|
this.activeLeadIdx = +a[0];
|
|
179
179
|
const o = +a[1];
|
|
180
180
|
let r = 0, l = 0;
|
|
181
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, (((
|
|
182
|
+
let n = x(r, (((p = this.formatEcgData) == null ? void 0 : p.step) || 1) * this.sceneMagnification);
|
|
183
183
|
n += l;
|
|
184
|
-
const d = ((
|
|
184
|
+
const d = ((m = this.formatEcgData) == null ? void 0 : m.processedData.otherParams.AnalyseValue) || [];
|
|
185
185
|
let h = null;
|
|
186
186
|
if (this.enlargeWaveMode === S.SelectedHeartbeat) {
|
|
187
187
|
if (n <= d[1].KeyPosByBeat.Tend + 0.1 * (((f = this.formatEcgData) == null ? void 0 : f.processedData.otherParams.SampleRate) || 0))
|
|
188
188
|
h = d[1];
|
|
189
189
|
else
|
|
190
|
-
for (let
|
|
191
|
-
if (n > d[
|
|
192
|
-
h = d[
|
|
190
|
+
for (let v = 1; v < d.length; v++)
|
|
191
|
+
if (n > d[v - 1].KeyPosByBeat.Tend + 1 && n < d[v].KeyPosByBeat.Tend + 0.1 * (((D = this.formatEcgData) == null ? void 0 : D.processedData.otherParams.SampleRate) || 0)) {
|
|
192
|
+
h = d[v];
|
|
193
193
|
break;
|
|
194
194
|
}
|
|
195
195
|
} else
|
|
196
196
|
h = d[0];
|
|
197
|
-
!h || (this.activeLeadAnalyseValue = P(
|
|
197
|
+
!h || (this.activeLeadAnalyseValue = P(W({}, h), {
|
|
198
198
|
BeatCount: d.length - 1
|
|
199
199
|
}), h = null, this.$emit("notifyActiveEnlargr"), this.isShowEnlargeWave = !0);
|
|
200
200
|
};
|
|
201
201
|
i - this.dbClickWaveFromTime < 400 ? (this.dbClickWaveFromTime = 0, s()) : this.dbClickWaveFromTime = i;
|
|
202
202
|
}
|
|
203
203
|
sceneInsMousemove(e) {
|
|
204
|
-
var t, i, s, a, o, r, l, n, d, h,
|
|
204
|
+
var t, i, s, a, o, r, l, n, d, h, p, m, f;
|
|
205
205
|
if (e.event.preventDefault(), e.event.stopPropagation(), this.sceneIsMouseDown) {
|
|
206
206
|
if (!e.event.touches || e.event.touches.length === 1) {
|
|
207
|
-
const
|
|
208
|
-
Math.abs(
|
|
207
|
+
const D = e.offsetY - this.sceneIsStartY, v = e.offsetX - this.sceneIsStartX;
|
|
208
|
+
Math.abs(D) > Math.abs(v) ? (this.sceneIsMoveUpDown = !0, this.moveUpAndDown(e.offsetY - this.sceneIsMouseDownY), this.sceneIsMouseDownY = e.offsetY) : (this.sceneIsMoveUpDown = !1, this.scrollConfig.isNativeScroll ? (t = this.$refs[this.prefixId + "nativeScroll"]) == null || t.scrollBy({
|
|
209
209
|
left: -(e.offsetX - this.sceneIsMouseDownX),
|
|
210
210
|
top: 0
|
|
211
211
|
}) : this.$refs[this.prefixId + "vueScroll"].scrollBy({
|
|
212
212
|
dx: -(e.offsetX - this.sceneIsMouseDownX)
|
|
213
213
|
}), this.sceneIsMouseDownX = e.offsetX);
|
|
214
214
|
} else if (this.supportTwoFingerZoom && e.event.touches.length === 2) {
|
|
215
|
-
const
|
|
215
|
+
const D = $({
|
|
216
216
|
x: e.event.touches[0].pageX,
|
|
217
217
|
y: e.event.touches[0].pageY
|
|
218
218
|
}, {
|
|
219
219
|
x: e.event.touches[1].pageX,
|
|
220
220
|
y: e.event.touches[1].pageY
|
|
221
221
|
});
|
|
222
|
-
this.sceneFirstDistance === 0 && (this.sceneFirstDistance =
|
|
222
|
+
this.sceneFirstDistance === 0 && (this.sceneFirstDistance = D), D < this.sceneFirstDistance ? (this.sceneMagnification -= this.zoomStep, this.sceneMagnification < 0.1 && (this.sceneMagnification = 0.1)) : this.sceneMagnification += this.zoomStep, this.splitBlockHeight = this.splitBlockHeight2 * this.sceneMagnification, (i = this.leadHeadNameGroup) == null || i.removeAll(), (s = this.leadHeadOffAndDelGroup) == null || s.removeAll(), (a = this.heardBeatLineGroup) == null || a.removeAll(), (o = this.rulerGroup) == null || o.removeAll(), (r = this.arrowGroup) == null || r.removeAll(), (l = this.splitLineGroup) == null || l.removeAll(), (n = this.sceneIns) == null || n.remove(this.splitLineGroup), (d = this.rowAndColwaveFromGroup) == null || d.removeAll(), (h = this.singleWaveFromGroup) == null || h.removeAll(), (p = this.addwaveFromGroup) == null || p.removeAll(), (m = this.leadHeadGroup) == null || m.removeAll(), (f = this.pacingGroup) == null || f.removeAll(), this.drawWaveFrom(), this.sceneFirstDistance = D, this.zoomWave();
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
moveUpAndDown(e) {
|
|
227
227
|
var t, i, s, a, o, r, l, n, d, h;
|
|
228
|
-
|
|
229
|
-
const c = this.singleWaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e) + this.singleWaveFromGroup.getBoundingRect().height, p = this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e) + this.arrowGroup.getBoundingRect().height, f = c < p ? p : c, v = this.singleWaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e), D = this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e), M = v < D ? v : D;
|
|
230
|
-
if (f < this.canvasContainer.height - 100 || M > this.canvasContainer.height - 100)
|
|
231
|
-
return;
|
|
232
|
-
} else {
|
|
233
|
-
const c = this.rowAndColwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e) + this.rowAndColwaveFromGroup.getBoundingRect().height, p = this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e) + this.arrowGroup.getBoundingRect().height, f = this.addwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e) + this.addwaveFromGroup.getBoundingRect().height;
|
|
234
|
-
let v = c < p ? p : c;
|
|
235
|
-
v = f < v ? v : f;
|
|
236
|
-
const D = this.rowAndColwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e), M = this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e), y = this.addwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e);
|
|
237
|
-
let C = D < M ? D : M;
|
|
238
|
-
if (C = y < C ? y : C, v < this.canvasContainer.height - 100 || C > this.canvasContainer.height - 100)
|
|
239
|
-
return;
|
|
240
|
-
}
|
|
241
|
-
this.isSingleMode ? (t = this.singleWaveFromGroup) == null || t.attr({
|
|
228
|
+
this.isSingleMode ? (this.singleWaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e) + this.singleWaveFromGroup.getBoundingRect().height, this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e) + this.arrowGroup.getBoundingRect().height, this.singleWaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e), this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e)) : (this.rowAndColwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e) + this.rowAndColwaveFromGroup.getBoundingRect().height, this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e) + this.arrowGroup.getBoundingRect().height, this.addwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e) + this.addwaveFromGroup.getBoundingRect().height, this.rowAndColwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e), this.arrowGroup.getBoundingRect().y + (this.arrowGroup.y + e), this.addwaveFromGroup.getBoundingRect().y + (this.rowAndColwaveFromGroup.y + e)), this.isSingleMode ? (t = this.singleWaveFromGroup) == null || t.attr({
|
|
242
229
|
y: this.singleWaveFromGroup.y + e
|
|
243
230
|
}) : ((i = this.rowAndColwaveFromGroup) == null || i.attr({
|
|
244
231
|
y: this.rowAndColwaveFromGroup.y + e
|
|
@@ -286,7 +273,7 @@ let u = class extends K {
|
|
|
286
273
|
return;
|
|
287
274
|
(a = this.pacingGroup) == null || a.removeAll(), (o = this.sceneIns) == null || o.remove(this.pacingGroup);
|
|
288
275
|
const e = this.leadHeadConfig.leadHedeWidth, t = this.canvasContainer.height - this.drawBottomPacH;
|
|
289
|
-
(r = this.pacingGroup) == null || r.add(new
|
|
276
|
+
(r = this.pacingGroup) == null || r.add(new C({
|
|
290
277
|
cursor: "",
|
|
291
278
|
style: {
|
|
292
279
|
x: e,
|
|
@@ -383,23 +370,23 @@ let u = class extends K {
|
|
|
383
370
|
(l = this.sceneIns) == null || l.add(this.leadHeadGroup);
|
|
384
371
|
}
|
|
385
372
|
drawColSplitLine() {
|
|
386
|
-
var a, o, r, l, n, d, h,
|
|
373
|
+
var a, o, r, l, n, d, h, p, m, f, D, v, F;
|
|
387
374
|
(a = this.splitLineGroup) == null || a.removeAll(), (o = this.sceneIns) == null || o.remove(this.splitLineGroup);
|
|
388
375
|
const e = (this.drawArea.width - this.leadHeadConfig.leadHedeWidth) / this.leadModel.column;
|
|
389
376
|
if (this.splitPoint = e, this.isSingleMode) {
|
|
390
|
-
const
|
|
377
|
+
const M = G(
|
|
391
378
|
Math.ceil(this.splitPoint / ((((r = this.formatEcgData) == null ? void 0 : r.step) || 1) * this.sceneMagnification)) || 0,
|
|
392
379
|
((l = this.formatEcgData) == null ? void 0 : l.processedData.otherParams.SampleRate) || 0
|
|
393
|
-
),
|
|
394
|
-
this.splitPoint =
|
|
380
|
+
), I = parseInt(`${M / 1e3 % 60}`, 10);
|
|
381
|
+
this.splitPoint = I * (((n = this.formatEcgData) == null ? void 0 : n.processedData.otherParams.SampleRate) || 0) * (((d = this.formatEcgData) == null ? void 0 : d.step) || 0) * this.sceneMagnification;
|
|
395
382
|
}
|
|
396
383
|
let t = 0, i = 0, s = 0;
|
|
397
|
-
for (let
|
|
398
|
-
t =
|
|
399
|
-
for (let
|
|
400
|
-
((
|
|
384
|
+
for (let M = 1; M <= this.leadModel.column - 1; M++) {
|
|
385
|
+
t = M * e + this.leadHeadConfig.leadHedeWidth, i = M * this.leadModel.line;
|
|
386
|
+
for (let I = 1; I <= this.leadModel.line && (s = (((h = this.formatEcgData) == null ? void 0 : h.processedData.otherParams.LeadName) || [])[I - 1 + i], s !== void 0); I++)
|
|
387
|
+
((p = this.formatEcgData) == null ? void 0 : p.gainName) === "\u80F8\u5BFC\u51CF\u534A" && /^V\w+/.test(this.LeadNameTextsPorps[s]) ? (f = this.splitLineGroup) == null || f.add(this.creatSplitLine(t, I * this.splitBlockHeight - (((m = this.formatEcgData) == null ? void 0 : m.sens) || 0) * this.sceneMagnification / 2 * 0.5, !0)) : (v = this.splitLineGroup) == null || v.add(this.creatSplitLine(t, I * this.splitBlockHeight - (((D = this.formatEcgData) == null ? void 0 : D.sens) || 0) * this.sceneMagnification * 0.5));
|
|
401
388
|
}
|
|
402
|
-
(
|
|
389
|
+
(F = this.sceneIns) == null || F.add(this.splitLineGroup);
|
|
403
390
|
}
|
|
404
391
|
initSlidingWindowInfo() {
|
|
405
392
|
var s, a;
|
|
@@ -429,8 +416,8 @@ let u = class extends K {
|
|
|
429
416
|
startInd: s,
|
|
430
417
|
endInd: a,
|
|
431
418
|
data: i.slice(s, a).map((d, h) => {
|
|
432
|
-
var
|
|
433
|
-
return [h * (((
|
|
419
|
+
var p;
|
|
420
|
+
return [h * (((p = this.formatEcgData) == null ? void 0 : p.step) || 0) * this.sceneMagnification, -d * this.sceneMagnification];
|
|
434
421
|
})
|
|
435
422
|
});
|
|
436
423
|
}
|
|
@@ -447,8 +434,8 @@ let u = class extends K {
|
|
|
447
434
|
startInd: a,
|
|
448
435
|
endInd: o,
|
|
449
436
|
data: s.slice(a, o).map((d, h) => {
|
|
450
|
-
var
|
|
451
|
-
return [h * (((
|
|
437
|
+
var p;
|
|
438
|
+
return [h * (((p = this.formatEcgData) == null ? void 0 : p.step) || 0) * this.sceneMagnification, -d * this.sceneMagnification];
|
|
452
439
|
})
|
|
453
440
|
});
|
|
454
441
|
}
|
|
@@ -470,10 +457,10 @@ let u = class extends K {
|
|
|
470
457
|
return e;
|
|
471
458
|
}
|
|
472
459
|
createSingleWaveFrom() {
|
|
473
|
-
var r, l, n, d, h,
|
|
460
|
+
var r, l, n, d, h, p, m;
|
|
474
461
|
(r = this.singleWaveFromGroup) == null || r.removeAll();
|
|
475
462
|
const e = (((l = this.formatEcgData) == null ? void 0 : l.processedData.otherParams.LeadName) || [])[this.singleModeInfo.defaultSelect] || 0;
|
|
476
|
-
let t = this.getRednerSinglePoints(), i =
|
|
463
|
+
let t = this.getRednerSinglePoints(), i = G(this.slidingWindowInfo.points || 0, ((n = this.formatEcgData) == null ? void 0 : n.processedData.otherParams.SampleRate) || 0);
|
|
477
464
|
const s = i;
|
|
478
465
|
let a = 0, o = 0;
|
|
479
466
|
for (let f = 0; f < t.length && !(t[f].pos[1] > this.drawArea.height + this.bottomAreaHeight); f++)
|
|
@@ -481,19 +468,19 @@ let u = class extends K {
|
|
|
481
468
|
cursor: "",
|
|
482
469
|
name: this.singleModeInfo.defaultSelect + "_" + f,
|
|
483
470
|
shape: {
|
|
484
|
-
points: t[f].data.map(([
|
|
485
|
-
|
|
486
|
-
|
|
471
|
+
points: t[f].data.map(([D, v]) => [
|
|
472
|
+
D + t[f].pos[0],
|
|
473
|
+
v + t[f].pos[1]
|
|
487
474
|
])
|
|
488
475
|
},
|
|
489
476
|
style: {
|
|
490
477
|
stroke: this.leadConfig.lineColor,
|
|
491
478
|
lineWidth: this.leadConfig.lineWidth
|
|
492
479
|
},
|
|
493
|
-
onclick: (
|
|
494
|
-
this.onDbClickWaveFrom(
|
|
480
|
+
onclick: (D) => {
|
|
481
|
+
this.onDbClickWaveFrom(D, "single");
|
|
495
482
|
}
|
|
496
|
-
})), (
|
|
483
|
+
})), (p = this.singleWaveFromGroup) == null || p.add(new C({
|
|
497
484
|
cursor: "",
|
|
498
485
|
style: {
|
|
499
486
|
x: t[f].pos[0],
|
|
@@ -505,7 +492,7 @@ let u = class extends K {
|
|
|
505
492
|
fontFamily: this.fontFamily
|
|
506
493
|
}
|
|
507
494
|
})), f > 0 && (i += s));
|
|
508
|
-
this.createLeadName(e, t[0].pos[0] - 10, t[0].pos[1] + 10), this.createLeadOffAndDel(e, t[0].pos[0] - 5, t[0].pos[1] - (((
|
|
495
|
+
this.createLeadName(e, t[0].pos[0] - 10, t[0].pos[1] + 10), this.createLeadOffAndDel(e, t[0].pos[0] - 5, t[0].pos[1] - (((m = this.formatEcgData) == null ? void 0 : m.sens) || 0) * this.sceneMagnification / 2 - 15), this.singleWaveDataCopy = t, t = null;
|
|
509
496
|
}
|
|
510
497
|
createAddWaveFrom() {
|
|
511
498
|
var t, i;
|
|
@@ -557,7 +544,7 @@ let u = class extends K {
|
|
|
557
544
|
}
|
|
558
545
|
createLeadName(e, t, i, s = !1) {
|
|
559
546
|
var a;
|
|
560
|
-
(a = this.leadHeadNameGroup) == null || a.add(new
|
|
547
|
+
(a = this.leadHeadNameGroup) == null || a.add(new C({
|
|
561
548
|
style: {
|
|
562
549
|
x: t,
|
|
563
550
|
y: i,
|
|
@@ -568,7 +555,7 @@ let u = class extends K {
|
|
|
568
555
|
},
|
|
569
556
|
oncontextmenu: (o) => {
|
|
570
557
|
o.event.preventDefault(), this.$emit("notiifyLeadName", {
|
|
571
|
-
event: P(
|
|
558
|
+
event: P(W({}, o), {
|
|
572
559
|
name: this.LeadNameTextsPorps[e],
|
|
573
560
|
idx: e
|
|
574
561
|
}),
|
|
@@ -577,7 +564,7 @@ let u = class extends K {
|
|
|
577
564
|
},
|
|
578
565
|
onclick: (o) => {
|
|
579
566
|
this.$emit("notiifyLeadName", {
|
|
580
|
-
event: P(
|
|
567
|
+
event: P(W({}, o), {
|
|
581
568
|
name: this.LeadNameTextsPorps[e],
|
|
582
569
|
idx: e
|
|
583
570
|
}),
|
|
@@ -588,7 +575,7 @@ let u = class extends K {
|
|
|
588
575
|
}
|
|
589
576
|
createLeadOffAndDel(e, t, i) {
|
|
590
577
|
var s;
|
|
591
|
-
(this.isLeadOff(e) || this.isLeadDel(e)) && ((s = this.leadHeadOffAndDelGroup) == null || s.add(new
|
|
578
|
+
(this.isLeadOff(e) || this.isLeadDel(e)) && ((s = this.leadHeadOffAndDelGroup) == null || s.add(new C({
|
|
592
579
|
cursor: "",
|
|
593
580
|
style: {
|
|
594
581
|
x: t,
|
|
@@ -609,15 +596,15 @@ let u = class extends K {
|
|
|
609
596
|
fill: "#FF0080",
|
|
610
597
|
fontSize: 13,
|
|
611
598
|
fontFamily: this.fontFamily
|
|
612
|
-
}, t = new
|
|
599
|
+
}, t = new C({
|
|
613
600
|
cursor: "",
|
|
614
|
-
style:
|
|
601
|
+
style: W({
|
|
615
602
|
text: "(s)",
|
|
616
603
|
x: this.leadHeadConfig.leadHedeWidth / 2 - 8,
|
|
617
604
|
y: this.canvasContainer.height - 25
|
|
618
605
|
}, e)
|
|
619
|
-
}), i = new
|
|
620
|
-
style:
|
|
606
|
+
}), i = new C({
|
|
607
|
+
style: W({
|
|
621
608
|
text: `${((s = this.formatEcgData) == null ? void 0 : s.gainName) === "\u80F8\u5BFC\u51CF\u534A" ? (a = this.formatEcgData) == null ? void 0 : a.gainName : `${(o = this.formatEcgData) == null ? void 0 : o.gain}mm/mV`} ${(r = this.formatEcgData) == null ? void 0 : r.speed}mm/s`,
|
|
622
609
|
x: this.leadHeadConfig.leadHedeWidth / 2 + 20,
|
|
623
610
|
y: this.canvasContainer.height - this.ruleH
|
|
@@ -634,11 +621,11 @@ let u = class extends K {
|
|
|
634
621
|
if (this.leadModel.isContinuous)
|
|
635
622
|
a = t * 5;
|
|
636
623
|
else if (!this.leadModel.add && ((o = this.formatEcgData) == null ? void 0 : o.step)) {
|
|
637
|
-
const h = x(this.splitPoint, this.formatEcgData.step * this.sceneMagnification),
|
|
638
|
-
a = e +
|
|
624
|
+
const h = x(this.splitPoint, this.formatEcgData.step * this.sceneMagnification), p = G(h, ((r = this.formatEcgData) == null ? void 0 : r.processedData.otherParams.SampleRate) || 0) / 1e3;
|
|
625
|
+
a = e + p;
|
|
639
626
|
}
|
|
640
627
|
for (let h = e; h <= a; h = +(h + 0.1).toFixed(1))
|
|
641
|
-
h !== e && (i += this.rulerStep * this.sceneMagnification), h % 1 === 0 ? (s = this.canvasContainer.height - 10, (l = this.rulerGroup) == null || l.add(new
|
|
628
|
+
h !== e && (i += this.rulerStep * this.sceneMagnification), h % 1 === 0 ? (s = this.canvasContainer.height - 10, (l = this.rulerGroup) == null || l.add(new C({
|
|
642
629
|
cursor: "",
|
|
643
630
|
style: {
|
|
644
631
|
x: i,
|
|
@@ -672,7 +659,7 @@ let u = class extends K {
|
|
|
672
659
|
(e = this.sceneIns) == null || e.add(this.leadHeadNameGroup), (t = this.sceneIns) == null || t.add(this.leadHeadOffAndDelGroup);
|
|
673
660
|
}
|
|
674
661
|
drawLoopArrow(e = 0) {
|
|
675
|
-
var l, n, d, h,
|
|
662
|
+
var l, n, d, h, p, m, f, D, v, F, M, I, B, R, z, k, N;
|
|
676
663
|
if (this.drawLoopArrowStartPosIdx = e, !this.heartFight.isShow)
|
|
677
664
|
return;
|
|
678
665
|
this.heartFight.mode && this.currentHeardBeat.heardBeat === null && (this.currentHeardBeat.heardBeat = ((l = this.formatEcgData) == null ? void 0 : l.heartBeatPosition[this.heartFight.defaultSelect]) || null, this.drawHeardBeatLine());
|
|
@@ -686,11 +673,11 @@ let u = class extends K {
|
|
|
686
673
|
};
|
|
687
674
|
let r = 0;
|
|
688
675
|
for (let L = 0; L < (((d = this.formatEcgData) == null ? void 0 : d.heartBeatPosition) || []).length; L++) {
|
|
689
|
-
const
|
|
690
|
-
if (r = ((
|
|
691
|
-
if (((
|
|
676
|
+
const c = (h = this.formatEcgData) == null ? void 0 : h.heartBeatPosition[L];
|
|
677
|
+
if (r = ((c == null ? void 0 : c.position) || 0) - e, !(e > ((c == null ? void 0 : c.position) || 0)) && !(!this.leadModel.isContinuous && !this.leadModel.add && r > (this.slidingWindowInfo.points || 0)) && !(this.isSingleMode && this.singleModeInfo && r > (this.slidingWindowInfo.points || 0))) {
|
|
678
|
+
if (((c == null ? void 0 : c.position) || 0) - this.addSlidingWindowInfo.startInd > (this.addSlidingWindowInfo.points || 0))
|
|
692
679
|
break;
|
|
693
|
-
t = r * (((
|
|
680
|
+
t = r * (((p = this.formatEcgData) == null ? void 0 : p.step) || 0) * this.sceneMagnification + this.leadHeadConfig.leadHedeWidth - 9.5, a = 0, (D = this.arrowGroup) == null || D.add(new te({
|
|
694
681
|
name: "arrow_box",
|
|
695
682
|
shape: {
|
|
696
683
|
points: [
|
|
@@ -705,7 +692,7 @@ let u = class extends K {
|
|
|
705
692
|
]
|
|
706
693
|
},
|
|
707
694
|
style: {
|
|
708
|
-
fill: ((f = (
|
|
695
|
+
fill: ((f = (m = this.currentHeardBeat) == null ? void 0 : m.heardBeat) == null ? void 0 : f.index) === (c == null ? void 0 : c.index) ? "blue" : "#ccc"
|
|
709
696
|
},
|
|
710
697
|
onclick: (E) => {
|
|
711
698
|
var j;
|
|
@@ -715,35 +702,35 @@ let u = class extends K {
|
|
|
715
702
|
A.id !== E.target.id && A.attr({
|
|
716
703
|
style: { fill: "#ccc" }
|
|
717
704
|
});
|
|
718
|
-
}), this.arrowLoopClick(
|
|
705
|
+
}), this.arrowLoopClick(c, E.target));
|
|
719
706
|
}
|
|
720
|
-
})), this.heartFight.heartrate && (s = ((
|
|
707
|
+
})), this.heartFight.heartrate && (s = ((v = this.AssistCtx) == null ? void 0 : v.measureText(`${(c == null ? void 0 : c.heartrate) || ""}`).width) || 0, (F = this.arrowGroup) == null || F.add(new C({
|
|
721
708
|
cursor: "",
|
|
722
|
-
style:
|
|
709
|
+
style: W({
|
|
723
710
|
x: 4 + t - s * 1.5,
|
|
724
711
|
y: a + i,
|
|
725
|
-
text: `${(
|
|
712
|
+
text: `${(c == null ? void 0 : c.heartrate) || ""}`
|
|
726
713
|
}, o)
|
|
727
|
-
})), a += 12), this.heartFight.interval && (s = ((
|
|
714
|
+
})), a += 12), this.heartFight.interval && (s = ((M = this.AssistCtx) == null ? void 0 : M.measureText(`${(c == null ? void 0 : c.interval) || ""}`).width) || 0, (I = this.arrowGroup) == null || I.add(new C({
|
|
728
715
|
cursor: "",
|
|
729
|
-
style:
|
|
716
|
+
style: W({
|
|
730
717
|
x: 4 + t - s * 1.5,
|
|
731
718
|
y: a + i,
|
|
732
|
-
text: `${(
|
|
719
|
+
text: `${(c == null ? void 0 : c.interval) || ""}`
|
|
733
720
|
}, o)
|
|
734
|
-
})), a += 12), this.heartFight.qrstCompany && (s = ((
|
|
721
|
+
})), a += 12), this.heartFight.qrstCompany && (s = ((B = this.AssistCtx) == null ? void 0 : B.measureText(`${(c == null ? void 0 : c.qrstCompany) || ""}`).width) || 0, (R = this.arrowGroup) == null || R.add(new C({
|
|
735
722
|
cursor: "",
|
|
736
|
-
style:
|
|
723
|
+
style: W({
|
|
737
724
|
x: 4 + t - s * 1.5,
|
|
738
725
|
y: a + i,
|
|
739
|
-
text: `${(
|
|
726
|
+
text: `${(c == null ? void 0 : c.qrstCompany) || ""}`
|
|
740
727
|
}, o)
|
|
741
|
-
})), a += 12), this.heartFight.telectricalaxis && (s = ((z = this.AssistCtx) == null ? void 0 : z.measureText(`${(
|
|
728
|
+
})), a += 12), this.heartFight.telectricalaxis && (s = ((z = this.AssistCtx) == null ? void 0 : z.measureText(`${(c == null ? void 0 : c.telectricalaxis) || ""}`).width) || 0, (k = this.arrowGroup) == null || k.add(new C({
|
|
742
729
|
cursor: "",
|
|
743
|
-
style:
|
|
730
|
+
style: W({
|
|
744
731
|
x: 4 + t - s * 1.5,
|
|
745
732
|
y: a + i,
|
|
746
|
-
text: `${(
|
|
733
|
+
text: `${(c == null ? void 0 : c.telectricalaxis) || ""}`
|
|
747
734
|
}, o)
|
|
748
735
|
})));
|
|
749
736
|
}
|
|
@@ -754,30 +741,30 @@ let u = class extends K {
|
|
|
754
741
|
this.$emit("notifyHeardBeat", ie.clone(e)), this.currentHeardBeat.heardBeat = e, this.currentHeardBeat.ele = t, this.drawHeardBeatLine();
|
|
755
742
|
}
|
|
756
743
|
drawHeardBeatLine(e = 0) {
|
|
757
|
-
var r, l, n, d, h,
|
|
744
|
+
var r, l, n, d, h, p;
|
|
758
745
|
if (!this.currentHeardBeat.heardBeat)
|
|
759
746
|
return;
|
|
760
747
|
(r = this.heardBeatLineGroup) == null || r.removeAll(), (l = this.sceneIns) == null || l.remove(this.heardBeatLineGroup);
|
|
761
748
|
let t = this.formatEcgData.processedData.otherParams.AnalyseValue[this.currentHeardBeat.heardBeat.index].KeyPosByBeat, i = 0, s = this.getRednerPoints(), a = this.getAddRednerPoints(), o;
|
|
762
|
-
for (const
|
|
763
|
-
if (["Pstart", "Pend", "QRSstart", "QRSend", "Tstart", "Tend"].includes(
|
|
764
|
-
i = (t[
|
|
749
|
+
for (const m in t)
|
|
750
|
+
if (["Pstart", "Pend", "QRSstart", "QRSend", "Tstart", "Tend"].includes(m) && Object.prototype.hasOwnProperty.call(t, m)) {
|
|
751
|
+
i = (t[m] - this.slidingWindowInfo.startInd) * (((n = this.formatEcgData) == null ? void 0 : n.step) || 0) * this.sceneMagnification;
|
|
765
752
|
e:
|
|
766
753
|
for (let f = 0; f < s.length; f++)
|
|
767
754
|
if (!(this.isLeadOff(f) || this.isLeadDel(f))) {
|
|
768
|
-
if (e > t[
|
|
755
|
+
if (e > t[m] || !this.leadModel.isContinuous && t[m] - this.slidingWindowInfo.startInd > (this.slidingWindowInfo.points || 0) || (o = s[f], this.leadModel.isContinuous && f > this.leadModel.line - 1))
|
|
769
756
|
break e;
|
|
770
757
|
(d = this.heardBeatLineGroup) == null || d.add(this.createHeardBeatLine(o.pos[0] + i, o.pos[1]));
|
|
771
758
|
}
|
|
772
759
|
e:
|
|
773
760
|
for (let f = 0; f < a.length; f++)
|
|
774
761
|
if (!(this.isLeadOff(this.longLeadConfig.leadIdxs[f]) && this.isLeadDel(this.longLeadConfig.leadIdxs[f]))) {
|
|
775
|
-
if (e > t[
|
|
762
|
+
if (e > t[m])
|
|
776
763
|
break e;
|
|
777
764
|
o = a[f], (h = this.heardBeatLineGroup) == null || h.add(this.createHeardBeatLine(o.pos[0] + i, o.pos[1]));
|
|
778
765
|
}
|
|
779
766
|
}
|
|
780
|
-
(
|
|
767
|
+
(p = this.sceneIns) == null || p.add(this.heardBeatLineGroup), t = null, s = null, a = null;
|
|
781
768
|
}
|
|
782
769
|
createHeardBeatLine(e, t) {
|
|
783
770
|
return new b({
|
|
@@ -814,18 +801,18 @@ let u = class extends K {
|
|
|
814
801
|
this.waveDataCopy = t, this.addWaveDataCopy = i, (s = this.rowAndColwaveFromGroup) == null || s.eachChild((d, h) => {
|
|
815
802
|
h = h || 0, d.attr({
|
|
816
803
|
shape: {
|
|
817
|
-
points: t[h].data.map(([
|
|
818
|
-
|
|
819
|
-
|
|
804
|
+
points: t[h].data.map(([p, m]) => [
|
|
805
|
+
p + t[h].pos[0],
|
|
806
|
+
m + t[h].pos[1]
|
|
820
807
|
])
|
|
821
808
|
}
|
|
822
809
|
});
|
|
823
810
|
}), (a = this.addwaveFromGroup) == null || a.eachChild((d, h) => {
|
|
824
811
|
h = h || 0, d.attr({
|
|
825
812
|
shape: {
|
|
826
|
-
points: i[h].data.map(([
|
|
827
|
-
|
|
828
|
-
|
|
813
|
+
points: i[h].data.map(([p, m]) => [
|
|
814
|
+
p + i[h].pos[0],
|
|
815
|
+
m + i[h].pos[1]
|
|
829
816
|
])
|
|
830
817
|
}
|
|
831
818
|
});
|
|
@@ -841,7 +828,7 @@ let u = class extends K {
|
|
|
841
828
|
scrollRuler(e) {
|
|
842
829
|
var i, s, a;
|
|
843
830
|
(i = this.rulerGroup) == null || i.removeAll(), (s = this.sceneIns) == null || s.remove(this.rulerGroup);
|
|
844
|
-
const t =
|
|
831
|
+
const t = G(this.isSingleMode ? 0 : e, ((a = this.formatEcgData) == null ? void 0 : a.processedData.otherParams.SampleRate) || 0) / 1e3;
|
|
845
832
|
this.drawRuler(t);
|
|
846
833
|
}
|
|
847
834
|
scrollArrow(e) {
|
|
@@ -849,70 +836,70 @@ let u = class extends K {
|
|
|
849
836
|
(t = this.arrowGroup) == null || t.removeAll(), (i = this.sceneIns) == null || i.remove(this.arrowGroup), this.drawLoopArrow(e), this.drawHeardBeatLine(e);
|
|
850
837
|
}
|
|
851
838
|
};
|
|
852
|
-
|
|
839
|
+
u([
|
|
853
840
|
w({
|
|
854
841
|
default: () => 0.04
|
|
855
842
|
})
|
|
856
|
-
],
|
|
857
|
-
|
|
843
|
+
], g.prototype, "zoomStep", 2);
|
|
844
|
+
u([
|
|
858
845
|
w({
|
|
859
846
|
default: () => !0
|
|
860
847
|
})
|
|
861
|
-
],
|
|
862
|
-
|
|
848
|
+
], g.prototype, "supportTwoFingerZoom", 2);
|
|
849
|
+
u([
|
|
863
850
|
w({
|
|
864
851
|
default: () => ""
|
|
865
852
|
})
|
|
866
|
-
],
|
|
867
|
-
|
|
853
|
+
], g.prototype, "prefixId", 2);
|
|
854
|
+
u([
|
|
868
855
|
w({
|
|
869
856
|
required: !0,
|
|
870
857
|
type: Number,
|
|
871
858
|
validator: (e) => typeof e == "number"
|
|
872
859
|
})
|
|
873
|
-
],
|
|
874
|
-
|
|
860
|
+
], g.prototype, "width", 2);
|
|
861
|
+
u([
|
|
875
862
|
w({
|
|
876
863
|
required: !0,
|
|
877
864
|
type: Number,
|
|
878
865
|
validator: (e) => typeof e == "number"
|
|
879
866
|
})
|
|
880
|
-
],
|
|
881
|
-
|
|
867
|
+
], g.prototype, "height", 2);
|
|
868
|
+
u([
|
|
882
869
|
w({
|
|
883
870
|
default: 0,
|
|
884
871
|
validator: (e) => typeof e == "number"
|
|
885
872
|
})
|
|
886
|
-
],
|
|
887
|
-
|
|
873
|
+
], g.prototype, "MXEnlargeWaveWidth", 2);
|
|
874
|
+
u([
|
|
888
875
|
w({
|
|
889
876
|
default: () => J
|
|
890
877
|
})
|
|
891
|
-
],
|
|
892
|
-
|
|
878
|
+
], g.prototype, "LeadNameTextsPorps", 2);
|
|
879
|
+
u([
|
|
893
880
|
w({
|
|
894
881
|
default: 0,
|
|
895
882
|
type: Number,
|
|
896
883
|
validator: (e) => typeof e == "number"
|
|
897
884
|
})
|
|
898
|
-
],
|
|
899
|
-
|
|
885
|
+
], g.prototype, "MXEnlargeWaveHeight", 2);
|
|
886
|
+
u([
|
|
900
887
|
w({
|
|
901
888
|
required: !0
|
|
902
889
|
})
|
|
903
|
-
],
|
|
904
|
-
|
|
890
|
+
], g.prototype, "gridConfig", 2);
|
|
891
|
+
u([
|
|
905
892
|
w({
|
|
906
893
|
default: 5,
|
|
907
894
|
type: Number
|
|
908
895
|
})
|
|
909
|
-
],
|
|
910
|
-
|
|
896
|
+
], g.prototype, "cellPoints", 2);
|
|
897
|
+
u([
|
|
911
898
|
w({
|
|
912
899
|
required: !0
|
|
913
900
|
})
|
|
914
|
-
],
|
|
915
|
-
|
|
901
|
+
], g.prototype, "conventionalECGConfig", 2);
|
|
902
|
+
u([
|
|
916
903
|
w({
|
|
917
904
|
default: () => ({
|
|
918
905
|
leadHedeWidth: 20,
|
|
@@ -920,18 +907,18 @@ m([
|
|
|
920
907
|
leadHedeLineWidth: 2
|
|
921
908
|
})
|
|
922
909
|
})
|
|
923
|
-
],
|
|
924
|
-
|
|
910
|
+
], g.prototype, "leadHeadConfig", 2);
|
|
911
|
+
u([
|
|
925
912
|
w({
|
|
926
913
|
required: !0
|
|
927
914
|
})
|
|
928
|
-
],
|
|
929
|
-
|
|
915
|
+
], g.prototype, "formatEcgData", 2);
|
|
916
|
+
u([
|
|
930
917
|
w({
|
|
931
918
|
required: !0
|
|
932
919
|
})
|
|
933
|
-
],
|
|
934
|
-
|
|
920
|
+
], g.prototype, "leadModel", 2);
|
|
921
|
+
u([
|
|
935
922
|
w({
|
|
936
923
|
default: () => ({
|
|
937
924
|
lineColor: "#000",
|
|
@@ -940,21 +927,21 @@ m([
|
|
|
940
927
|
fontSize: 15
|
|
941
928
|
})
|
|
942
929
|
})
|
|
943
|
-
],
|
|
944
|
-
|
|
930
|
+
], g.prototype, "leadConfig", 2);
|
|
931
|
+
u([
|
|
945
932
|
w({
|
|
946
933
|
default: 5
|
|
947
934
|
})
|
|
948
|
-
],
|
|
949
|
-
|
|
935
|
+
], g.prototype, "magnification", 2);
|
|
936
|
+
u([
|
|
950
937
|
w({
|
|
951
938
|
default: () => ({
|
|
952
939
|
leadIdxs: [1, 6, 10],
|
|
953
940
|
leadNames: [1, 6, 10]
|
|
954
941
|
})
|
|
955
942
|
})
|
|
956
|
-
],
|
|
957
|
-
|
|
943
|
+
], g.prototype, "longLeadConfig", 2);
|
|
944
|
+
u([
|
|
958
945
|
w({
|
|
959
946
|
default: () => ({
|
|
960
947
|
isShow: !1,
|
|
@@ -966,8 +953,8 @@ m([
|
|
|
966
953
|
telectricalaxis: !1
|
|
967
954
|
})
|
|
968
955
|
})
|
|
969
|
-
],
|
|
970
|
-
|
|
956
|
+
], g.prototype, "heartFight", 2);
|
|
957
|
+
u([
|
|
971
958
|
w({
|
|
972
959
|
default: () => ({
|
|
973
960
|
isShow: !0,
|
|
@@ -981,84 +968,84 @@ m([
|
|
|
981
968
|
}
|
|
982
969
|
})
|
|
983
970
|
})
|
|
984
|
-
],
|
|
985
|
-
|
|
971
|
+
], g.prototype, "scrollConfig", 2);
|
|
972
|
+
u([
|
|
986
973
|
w({
|
|
987
974
|
default: () => ({
|
|
988
975
|
isShow: !1
|
|
989
976
|
})
|
|
990
977
|
})
|
|
991
|
-
],
|
|
992
|
-
|
|
978
|
+
], g.prototype, "rulerConfig", 2);
|
|
979
|
+
u([
|
|
993
980
|
w({
|
|
994
981
|
default: () => ({
|
|
995
982
|
isShow: !1
|
|
996
983
|
})
|
|
997
984
|
})
|
|
998
|
-
],
|
|
999
|
-
|
|
985
|
+
], g.prototype, "measurRulerConfig", 2);
|
|
986
|
+
u([
|
|
1000
987
|
w({
|
|
1001
988
|
default: () => ({
|
|
1002
989
|
isShow: !1
|
|
1003
990
|
})
|
|
1004
991
|
})
|
|
1005
|
-
],
|
|
1006
|
-
|
|
992
|
+
], g.prototype, "paralleRulerConfig", 2);
|
|
993
|
+
u([
|
|
1007
994
|
w({
|
|
1008
995
|
default: () => ({
|
|
1009
996
|
isShow: !1
|
|
1010
997
|
})
|
|
1011
998
|
})
|
|
1012
|
-
],
|
|
1013
|
-
|
|
999
|
+
], g.prototype, "magnifierRulerConfig", 2);
|
|
1000
|
+
u([
|
|
1014
1001
|
w({
|
|
1015
1002
|
default: 60
|
|
1016
1003
|
})
|
|
1017
|
-
],
|
|
1018
|
-
|
|
1004
|
+
], g.prototype, "ventricularRate", 2);
|
|
1005
|
+
u([
|
|
1019
1006
|
w({
|
|
1020
1007
|
default: S.CompoundWave
|
|
1021
1008
|
})
|
|
1022
|
-
],
|
|
1023
|
-
|
|
1009
|
+
], g.prototype, "enlargeWaveMode", 2);
|
|
1010
|
+
u([
|
|
1024
1011
|
w({
|
|
1025
1012
|
default: () => []
|
|
1026
1013
|
})
|
|
1027
|
-
],
|
|
1028
|
-
|
|
1014
|
+
], g.prototype, "enlargeGains", 2);
|
|
1015
|
+
u([
|
|
1029
1016
|
w({
|
|
1030
1017
|
default: () => []
|
|
1031
1018
|
})
|
|
1032
|
-
],
|
|
1033
|
-
|
|
1019
|
+
], g.prototype, "enlargeSpeeds", 2);
|
|
1020
|
+
u([
|
|
1034
1021
|
w({
|
|
1035
1022
|
default: () => ({
|
|
1036
1023
|
defaultSelect: 1
|
|
1037
1024
|
})
|
|
1038
1025
|
})
|
|
1039
|
-
],
|
|
1040
|
-
|
|
1026
|
+
], g.prototype, "singleModeInfo", 2);
|
|
1027
|
+
u([
|
|
1041
1028
|
w({ default: !0 })
|
|
1042
|
-
],
|
|
1043
|
-
|
|
1029
|
+
], g.prototype, "isMXEnlargeWaveShow", 2);
|
|
1030
|
+
u([
|
|
1044
1031
|
w({
|
|
1045
1032
|
default: !1
|
|
1046
1033
|
})
|
|
1047
|
-
],
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
],
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
],
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
],
|
|
1057
|
-
|
|
1034
|
+
], g.prototype, "isSyncAnalyseValueCheck", 2);
|
|
1035
|
+
u([
|
|
1036
|
+
O(200)
|
|
1037
|
+
], g.prototype, "sceneInsMousemove", 1);
|
|
1038
|
+
u([
|
|
1039
|
+
O(200)
|
|
1040
|
+
], g.prototype, "nativeScrollFunc", 1);
|
|
1041
|
+
u([
|
|
1042
|
+
O(200)
|
|
1043
|
+
], g.prototype, "handleScroll", 1);
|
|
1044
|
+
g = u([
|
|
1058
1045
|
Z({
|
|
1059
1046
|
name: "Methods"
|
|
1060
1047
|
})
|
|
1061
|
-
],
|
|
1048
|
+
], g);
|
|
1062
1049
|
export {
|
|
1063
|
-
|
|
1050
|
+
g as default
|
|
1064
1051
|
};
|