costy-plus 1.0.33-0 → 1.0.35-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/index.js +1 -1
- package/dist/es/src/BackgroundGrid/PropsMinix.js +2 -2
- package/dist/es/src/BackgroundGrid/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/ELTree/index.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/EcgWave/index.vue.d.ts +16 -0
- package/dist/es/src/EcgWave/index.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/EcgWave/index.vue_vue_type_template_lang.js +17 -5
- package/dist/es/src/EcgWave/method.d.ts +250 -0
- package/dist/es/src/EcgWave/method.js +75 -61
- package/dist/es/src/EcgWave/style/index.css +6 -0
- package/dist/es/src/EnlargeWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/es/src/EnlargeWave/medthod.js +3 -3
- package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/FCGWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/es/src/FCGWave/method.js +2 -2
- package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +4 -4
- package/dist/es/src/HFECGWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/es/src/HFECGWave/method.js +2 -2
- package/dist/es/src/MagnifierWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/es/src/MagnifierWave/medthod.js +2 -2
- package/dist/es/src/MeasuringRuler/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/MedexButton/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/MedexDialog/index.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/MedexTab/index.vue_vue_type_script_lang.js +4 -4
- package/dist/es/src/Menu/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/ParallelRuler/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/SideBar/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/Text/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/TurnPage/index.vue_vue_type_script_lang.js +3 -3
- package/dist/es/src/UEditor/index.vue_vue_type_script_lang.js +2 -2
- package/dist/es/src/index.d.ts +1 -1
- package/dist/es/src/index.js +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/lib/src/BackgroundGrid/PropsMinix.js +1 -1
- package/dist/lib/src/BackgroundGrid/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/ELTree/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/EcgWave/index.vue.d.ts +16 -0
- package/dist/lib/src/EcgWave/index.vue_vue_type_script_lang.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 +250 -0
- package/dist/lib/src/EcgWave/method.js +1 -1
- package/dist/lib/src/EcgWave/style/index.css +6 -0
- package/dist/lib/src/EnlargeWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/EnlargeWave/medthod.js +1 -1
- package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +3 -3
- package/dist/lib/src/FCGWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/FCGWave/method.js +1 -1
- package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/HFECGWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/HFECGWave/method.js +1 -1
- package/dist/lib/src/MagnifierWave/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/MagnifierWave/medthod.js +1 -1
- package/dist/lib/src/MeasuringRuler/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/MedexButton/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/MedexDialog/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/MedexTab/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/Menu/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/ParallelRuler/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/SideBar/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/Text/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/TurnPage/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/UEditor/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/index.d.ts +1 -1
- package/dist/lib/src/index.js +1 -1
- package/package.json +3 -3
- /package/dist/es/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → 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 +0 -0
- /package/dist/es/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → vue-property-decorator@9.1.2_vue-class-component@7.2.6_vue@2.6.14}/node_modules/vue-property-decorator/lib/decorators/Model.js +0 -0
- /package/dist/es/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → 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 +0 -0
- /package/dist/es/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → 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 +0 -0
- /package/dist/es/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → vue-property-decorator@9.1.2_vue-class-component@7.2.6_vue@2.6.14}/node_modules/vue-property-decorator/lib/helpers/metadata.js +0 -0
- /package/dist/es/node_modules/.pnpm/{vuescroll@4.17.5_vue@2.7.14 → vuescroll@4.17.5_vue@2.6.14}/node_modules/vuescroll/dist/vuescroll-native.js +0 -0
- /package/dist/lib/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → 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 +0 -0
- /package/dist/lib/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → vue-property-decorator@9.1.2_vue-class-component@7.2.6_vue@2.6.14}/node_modules/vue-property-decorator/lib/decorators/Model.js +0 -0
- /package/dist/lib/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → 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 +0 -0
- /package/dist/lib/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → 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 +0 -0
- /package/dist/lib/node_modules/.pnpm/{vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u → vue-property-decorator@9.1.2_vue-class-component@7.2.6_vue@2.6.14}/node_modules/vue-property-decorator/lib/helpers/metadata.js +0 -0
- /package/dist/lib/node_modules/.pnpm/{vuescroll@4.17.5_vue@2.7.14 → vuescroll@4.17.5_vue@2.6.14}/node_modules/vuescroll/dist/vuescroll-native.js +0 -0
package/dist/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as e from "./src/index.js";
|
|
2
2
|
import { default as l } from "./src/Text/index.js";
|
|
3
3
|
import { default as m } from "./src/BackgroundGrid/index.js";
|
|
4
|
-
import { default as d } from "./src/
|
|
4
|
+
import { default as d } from "./src/EcgWave/index.js";
|
|
5
5
|
import { default as p } from "./src/MeasuringRuler/index.js";
|
|
6
6
|
import { default as M } from "./src/ParallelRuler/index.js";
|
|
7
7
|
import { default as i } from "./src/EnlargeWave/index.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import l from "vue";
|
|
2
2
|
import m 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";
|
|
3
|
-
import "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
4
|
-
import { Prop as o } from "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
3
|
+
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";
|
|
4
|
+
import { Prop as o } 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";
|
|
5
5
|
var d = Object.defineProperty, y = Object.getOwnPropertyDescriptor, r = (p, i, f, u) => {
|
|
6
6
|
for (var t = u > 1 ? void 0 : u ? y(i, f) : i, n = p.length - 1, a; n >= 0; n--)
|
|
7
7
|
(a = p[n]) && (t = (u ? a(i, f, t) : a(t)) || t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "vue";
|
|
2
2
|
import w, { mixins as m } 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";
|
|
3
|
-
import "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
4
|
-
import { Watch as d } from "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
3
|
+
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";
|
|
4
|
+
import { Watch as d } 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";
|
|
5
5
|
import { debounce as C } from "@costy-plus/utils";
|
|
6
6
|
import I from "./PropsMinix.js";
|
|
7
7
|
var p = Object.defineProperty, u = Object.getOwnPropertyDescriptor, g = (s, i, t, h) => {
|
|
@@ -3,9 +3,9 @@ import "./style/index.css";
|
|
|
3
3
|
import { Tree as i } from "element-ui";
|
|
4
4
|
import s from "vue";
|
|
5
5
|
import f 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";
|
|
6
|
-
import "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
7
|
-
import { Model as c } from "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
8
|
-
import { Prop as a } from "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
6
|
+
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";
|
|
7
|
+
import { Model 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/Model.js";
|
|
8
|
+
import { Prop as a } 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";
|
|
9
9
|
var h = Object.defineProperty, u = Object.getOwnPropertyDescriptor, n = (o, t, p, r) => {
|
|
10
10
|
for (var e = r > 1 ? void 0 : r ? u(t, p) : t, m = o.length - 1, d; m >= 0; m--)
|
|
11
11
|
(d = o[m]) && (e = (r ? d(t, p, e) : d(e)) || e);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import MethodsMinix from './method';
|
|
2
|
+
declare const ECGWaveForm_base: import("vue-class-component/lib/declarations").VueClass<MethodsMinix>;
|
|
3
|
+
declare class ECGWaveForm extends ECGWaveForm_base {
|
|
4
|
+
protected watchFormatEcgData(): void;
|
|
5
|
+
protected watchVuescrollConfig(): void;
|
|
6
|
+
protected watchLeadHeadConfig(): void;
|
|
7
|
+
protected watchLeadModel(): void;
|
|
8
|
+
protected watchWidth(): void;
|
|
9
|
+
protected watchHeight(): void;
|
|
10
|
+
protected watchHeartFight(): void;
|
|
11
|
+
protected watchLongLeadConfig(): void;
|
|
12
|
+
protected mounted(): void;
|
|
13
|
+
protected repaint(): void;
|
|
14
|
+
}
|
|
15
|
+
declare const _sfc_main: typeof ECGWaveForm;
|
|
16
|
+
export default _sfc_main;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./style/index.css";
|
|
2
2
|
import "vue";
|
|
3
3
|
import c, { mixins as l } 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
|
-
import "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
5
|
-
import { Watch as o } from "../../node_modules/.pnpm/vue-property-decorator@9.1.
|
|
6
|
-
import d from "../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.
|
|
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 o } 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
|
+
import d from "../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.6.14/node_modules/vuescroll/dist/vuescroll-native.js";
|
|
7
7
|
import m from "../BackgroundGrid/index2.js";
|
|
8
8
|
import g from "../MeasuringRuler/index2.js";
|
|
9
9
|
import f from "../ParallelRuler/index2.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var p = function() {
|
|
2
|
-
var t, i, l, o, r, s, n, g, d,
|
|
2
|
+
var t, i, l, o, r, s, n, g, d, c, v, h, a = this, f = a.$createElement, e = a._self._c || f;
|
|
3
3
|
return e("div", {
|
|
4
4
|
style: {
|
|
5
5
|
width: `${a.width}px`,
|
|
@@ -66,8 +66,8 @@ var p = function() {
|
|
|
66
66
|
step: ((n = a.formatEcgData) === null || n === void 0 ? void 0 : n.step) || 0,
|
|
67
67
|
"sample-rate": ((g = a.formatEcgData) === null || g === void 0 ? void 0 : g.processedData.otherParams.SampleRate) || 0,
|
|
68
68
|
sensitivity: ((d = a.formatEcgData) === null || d === void 0 ? void 0 : d.processedData.otherParams.Sensitivity) || 0,
|
|
69
|
-
"normal-data": ((
|
|
70
|
-
"complex-data": ((
|
|
69
|
+
"normal-data": ((c = a.formatEcgData) === null || c === void 0 ? void 0 : c.processedData.originData.Data) || [],
|
|
70
|
+
"complex-data": ((v = a.formatEcgData) === null || v === void 0 ? void 0 : v.processedData.originData.ComplexData) || [],
|
|
71
71
|
"lead-name-list": a.leadNameList,
|
|
72
72
|
"lead-head-config": a.leadHeadConfig,
|
|
73
73
|
"active-lead-idx": a.activeLeadIdx,
|
|
@@ -97,10 +97,22 @@ var p = function() {
|
|
|
97
97
|
width: `${a.width}px`,
|
|
98
98
|
height: `${a.height}px`
|
|
99
99
|
}
|
|
100
|
-
}, [e("
|
|
100
|
+
}, [a.scrollConfig.isNativeScroll ? e("div", {
|
|
101
|
+
ref: "nativeScroll",
|
|
102
|
+
staticClass: "native-scroll",
|
|
103
|
+
on: {
|
|
104
|
+
scroll: a.nativeScrollFunc
|
|
105
|
+
}
|
|
106
|
+
}, [e("div", {
|
|
107
|
+
staticClass: "scroll-empty",
|
|
108
|
+
style: {
|
|
109
|
+
width: `${a.vuescrollWH.width}px`,
|
|
110
|
+
height: `${a.vuescrollWH.height}px`
|
|
111
|
+
}
|
|
112
|
+
})]) : e("vueScroll", {
|
|
101
113
|
ref: "vueScroll",
|
|
102
114
|
attrs: {
|
|
103
|
-
ops: a.
|
|
115
|
+
ops: a.scrollConfig
|
|
104
116
|
},
|
|
105
117
|
on: {
|
|
106
118
|
"handle-scroll": a.handleScroll
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { Vue } from 'vue-property-decorator';
|
|
2
|
+
import { EcgClass, AnalysisMode } from '@costy-plus/utils';
|
|
3
|
+
import type { Config as vueScrollConfig } from 'vuescroll';
|
|
4
|
+
import { ZRenderType, Group, Polyline, Line, Polygon, ElementEvent } from 'zrender';
|
|
5
|
+
import { Ecg, HeartBeatPosition, MXConventionalECGConfig, LeadHeadConfig, LeadModel, MXLeadConfig, HeartFight, RulerConfig } from '../../types/EcgWave';
|
|
6
|
+
import { MXGridConfig } from '../../types/BackgroundGrid';
|
|
7
|
+
import { HandleScrollParams } from '../../types/Common';
|
|
8
|
+
export default class Methods extends Vue {
|
|
9
|
+
protected width: number;
|
|
10
|
+
protected height: number;
|
|
11
|
+
protected MXEnlargeWaveWidth: number;
|
|
12
|
+
protected MXEnlargeWaveHeight: number;
|
|
13
|
+
protected gridConfig: MXGridConfig;
|
|
14
|
+
protected cellPoints: number;
|
|
15
|
+
protected conventionalECGConfig: MXConventionalECGConfig | null;
|
|
16
|
+
protected leadHeadConfig: LeadHeadConfig;
|
|
17
|
+
protected formatEcgData: EcgClass | null;
|
|
18
|
+
protected leadModel: LeadModel;
|
|
19
|
+
protected leadConfig: MXLeadConfig;
|
|
20
|
+
protected longLeadConfig: {
|
|
21
|
+
leadIdxs: number[];
|
|
22
|
+
leadNames: number[];
|
|
23
|
+
};
|
|
24
|
+
protected heartFight: HeartFight;
|
|
25
|
+
/** 滚动条配置 */
|
|
26
|
+
protected scrollConfig: vueScrollConfig & {
|
|
27
|
+
isShow: boolean;
|
|
28
|
+
isNativeScroll: boolean;
|
|
29
|
+
};
|
|
30
|
+
protected rulerConfig: RulerConfig;
|
|
31
|
+
/** 测量尺 */
|
|
32
|
+
protected measurRulerConfig: RulerConfig;
|
|
33
|
+
/** 平行尺 */
|
|
34
|
+
protected paralleRulerConfig: RulerConfig;
|
|
35
|
+
/** 放大镜 */
|
|
36
|
+
protected magnifierRulerConfig: RulerConfig;
|
|
37
|
+
/** 心率 */
|
|
38
|
+
protected ventricularRate: number;
|
|
39
|
+
/** 双击放大波形 是什么模式 */
|
|
40
|
+
protected enlargeWaveMode: AnalysisMode;
|
|
41
|
+
/** 波形双击放大界面增益配置 */
|
|
42
|
+
protected enlargeGains: {
|
|
43
|
+
name: string;
|
|
44
|
+
value: number;
|
|
45
|
+
}[];
|
|
46
|
+
/** 波形双击放大界面走纸速度 */
|
|
47
|
+
protected enlargeSpeeds: {
|
|
48
|
+
name: string;
|
|
49
|
+
value: number;
|
|
50
|
+
}[];
|
|
51
|
+
/** 单导模式下展示波形 */
|
|
52
|
+
protected singleModeInfo: {
|
|
53
|
+
defaultSelect: 1;
|
|
54
|
+
};
|
|
55
|
+
/** 同步分析值 是否默认选中 */
|
|
56
|
+
protected isSyncAnalyseValueCheck: boolean;
|
|
57
|
+
protected AssistCtx: Readonly<CanvasRenderingContext2D | null>;
|
|
58
|
+
protected sceneIns: Readonly<ZRenderType | null>;
|
|
59
|
+
protected layerBgGroup: Readonly<Group | null>;
|
|
60
|
+
protected leadHeadGroup: Readonly<Group | null>;
|
|
61
|
+
protected splitLineGroup: Readonly<Group | null>;
|
|
62
|
+
protected rowAndColwaveFromGroup: Readonly<Group | null>;
|
|
63
|
+
protected singleWaveFromGroup: Readonly<Group | null>;
|
|
64
|
+
protected addwaveFromGroup: Readonly<Group | null>;
|
|
65
|
+
protected leadHeadNameGroup: Readonly<Group | null>;
|
|
66
|
+
protected leadHeadOffAndDelGroup: Readonly<Group | null>;
|
|
67
|
+
protected rulerGroup: Readonly<Group | null>;
|
|
68
|
+
protected arrowGroup: Readonly<Group | null>;
|
|
69
|
+
protected heardBeatLineGroup: Readonly<Group | null>;
|
|
70
|
+
protected bottomAreaHeight: number;
|
|
71
|
+
protected dataTotalTimes: number;
|
|
72
|
+
protected totalRows: number;
|
|
73
|
+
protected rulerStep: number;
|
|
74
|
+
protected drawLoopArrowStartPosIdx: number;
|
|
75
|
+
protected dbClickWaveFromTime: number;
|
|
76
|
+
protected currentHeardBeat: {
|
|
77
|
+
heardBeat: HeartBeatPosition | null;
|
|
78
|
+
ele: Polygon | null;
|
|
79
|
+
};
|
|
80
|
+
protected loopArrowY: Readonly<{
|
|
81
|
+
add: number;
|
|
82
|
+
rowAndCol: number;
|
|
83
|
+
}>;
|
|
84
|
+
protected fontFamily: string;
|
|
85
|
+
/** 每个波形区域块高度 */
|
|
86
|
+
protected splitBlockHeight: number;
|
|
87
|
+
/** 分割点(也就是每个波形展示区域的 width px) */
|
|
88
|
+
protected splitPoint: number;
|
|
89
|
+
/** 波形 滑动窗口 配置信息 */
|
|
90
|
+
protected slidingWindowInfo: Readonly<{
|
|
91
|
+
points?: number | undefined;
|
|
92
|
+
startInd?: number | undefined;
|
|
93
|
+
endInd?: number | undefined;
|
|
94
|
+
}>;
|
|
95
|
+
protected addSlidingWindowInfo: Readonly<{
|
|
96
|
+
points?: number | undefined;
|
|
97
|
+
startInd?: number | undefined;
|
|
98
|
+
endInd?: number | undefined;
|
|
99
|
+
}>;
|
|
100
|
+
/** 当前波形数据中的 最大点和最小点 */
|
|
101
|
+
protected highestAndLowestPoint: Readonly<{
|
|
102
|
+
Data: {
|
|
103
|
+
maxPoints: number;
|
|
104
|
+
minPoints: number;
|
|
105
|
+
};
|
|
106
|
+
ComplexData: {
|
|
107
|
+
maxPoints: number;
|
|
108
|
+
minPoints: number;
|
|
109
|
+
};
|
|
110
|
+
}>;
|
|
111
|
+
/** 波形绘制区域大小 */
|
|
112
|
+
protected drawArea: Readonly<{
|
|
113
|
+
width: number;
|
|
114
|
+
height: number;
|
|
115
|
+
}>;
|
|
116
|
+
/** 滚动条内容区域宽高 */
|
|
117
|
+
protected vuescrollWH: {
|
|
118
|
+
width: number;
|
|
119
|
+
height: number;
|
|
120
|
+
};
|
|
121
|
+
/** 视图模式正常波形原源数据 */
|
|
122
|
+
protected waveDataCopy: {
|
|
123
|
+
pos: [number, number];
|
|
124
|
+
data: number[][];
|
|
125
|
+
startInd: number;
|
|
126
|
+
endInd: number;
|
|
127
|
+
}[];
|
|
128
|
+
/** 加导联波形源数据 */
|
|
129
|
+
protected addWaveDataCopy: {
|
|
130
|
+
pos: [number, number];
|
|
131
|
+
data: number[][];
|
|
132
|
+
startInd: number;
|
|
133
|
+
endInd: number;
|
|
134
|
+
}[];
|
|
135
|
+
/** 单导模式下波形源数据 */
|
|
136
|
+
protected singleWaveDataCopy: {
|
|
137
|
+
pos: [number, number];
|
|
138
|
+
data: number[][];
|
|
139
|
+
startInd: number;
|
|
140
|
+
endInd: number;
|
|
141
|
+
}[];
|
|
142
|
+
/** 波形名称数组(双击放大在用) */
|
|
143
|
+
protected leadNameList: number[];
|
|
144
|
+
/** 双击导联选中的导联索引 */
|
|
145
|
+
protected activeLeadIdx: number;
|
|
146
|
+
protected activeLeadAnalyseValue: Ecg.AnalyseValue & {
|
|
147
|
+
BeatCount: number;
|
|
148
|
+
} | null;
|
|
149
|
+
/** 场景画图 mouseDown */
|
|
150
|
+
protected sceneIsMouseDown: Readonly<boolean>;
|
|
151
|
+
protected sceneIsMouseDownX: number;
|
|
152
|
+
protected isShowEnlargeWave: boolean;
|
|
153
|
+
/** 实际画布容器大小 */
|
|
154
|
+
protected get canvasContainer(): {
|
|
155
|
+
width: number;
|
|
156
|
+
height: number;
|
|
157
|
+
};
|
|
158
|
+
/** 获取当前 波形数据来源 */
|
|
159
|
+
protected get waveFromData(): number[][];
|
|
160
|
+
/** 是否为 单导模式 */
|
|
161
|
+
protected get isSingleMode(): boolean;
|
|
162
|
+
/** 放大组件 宽高 */
|
|
163
|
+
protected get MXEnlargeWaveWH(): {
|
|
164
|
+
width: number;
|
|
165
|
+
height: number;
|
|
166
|
+
};
|
|
167
|
+
protected destroyed(): void;
|
|
168
|
+
protected init(): void;
|
|
169
|
+
protected initWaveFormPeer(): void;
|
|
170
|
+
protected sceneInsEventOff(): void;
|
|
171
|
+
protected combinationDrawing(): void;
|
|
172
|
+
protected initConfig(): void;
|
|
173
|
+
/** 判断是否为 导联脱落 */
|
|
174
|
+
protected isLeadOff(leadHeadIdx: number): boolean;
|
|
175
|
+
/** 判断是否为 导联 删除 */
|
|
176
|
+
protected isLeadDel(leadHeadIdx: number): boolean;
|
|
177
|
+
/** 波形点击事件,双击放大波形 */
|
|
178
|
+
protected onDbClickWaveFrom(e: ElementEvent, type: 'single' | 'rowAndCol' | 'add'): void;
|
|
179
|
+
/** 场景画布移动事件 */
|
|
180
|
+
protected sceneInsMousemove(event: ElementEvent): void;
|
|
181
|
+
/** 场景画布按下事件 */
|
|
182
|
+
protected sceneInsMouseDown(event: ElementEvent): void;
|
|
183
|
+
/** 场景画布抬起事件 */
|
|
184
|
+
protected sceneInsMouseUp(event: ElementEvent): void;
|
|
185
|
+
/** 创建 导联头 图形 */
|
|
186
|
+
protected createLeadHead(x: number, y: number, isHalve?: boolean): Polyline;
|
|
187
|
+
/** 创建 导联分割线 图形 */
|
|
188
|
+
protected creatSplitLine(x: number, y: number, isHalve?: boolean): Line;
|
|
189
|
+
/** 绘制 导联头 图形 */
|
|
190
|
+
protected drawLeadHead(): void;
|
|
191
|
+
/** 创建 分割线 图形 */
|
|
192
|
+
protected drawColSplitLine(): void;
|
|
193
|
+
/** 初始化 波形 滑动窗口配置 */
|
|
194
|
+
protected initSlidingWindowInfo(): void;
|
|
195
|
+
/** 获取 视图 单导 的数据点位 */
|
|
196
|
+
protected getRednerSinglePoints(): {
|
|
197
|
+
pos: [number, number];
|
|
198
|
+
data: number[][];
|
|
199
|
+
startInd: number;
|
|
200
|
+
endInd: number;
|
|
201
|
+
}[];
|
|
202
|
+
/** 获取 视图 row - col 的数据点位 */
|
|
203
|
+
protected getRednerPoints(): {
|
|
204
|
+
pos: [number, number];
|
|
205
|
+
data: number[][];
|
|
206
|
+
startInd: number;
|
|
207
|
+
endInd: number;
|
|
208
|
+
}[];
|
|
209
|
+
/** 获取 leadMode 下的 add 的数据点位 */
|
|
210
|
+
protected getAddRednerPoints(): {
|
|
211
|
+
pos: [number, number];
|
|
212
|
+
data: number[][];
|
|
213
|
+
startInd: number;
|
|
214
|
+
endInd: number;
|
|
215
|
+
}[];
|
|
216
|
+
/** 创建 单导 数据 */
|
|
217
|
+
protected createSingleWaveFrom(): void;
|
|
218
|
+
/** 创建 加 导联 */
|
|
219
|
+
protected createAddWaveFrom(): void;
|
|
220
|
+
/** 创建 正常 导联 */
|
|
221
|
+
protected createRowAndColWaveFrom(): void;
|
|
222
|
+
/** 创建 导联名称 */
|
|
223
|
+
protected createLeadName(LeadNameTextIdx: number, x: number, y: number, isAdd?: boolean): void;
|
|
224
|
+
/** 创建 导联脱落 和 导联删除 */
|
|
225
|
+
protected createLeadOffAndDel(leadHeadIdx: number, x: number, y: number): void;
|
|
226
|
+
/** 绘制 标尺 提醒相关 */
|
|
227
|
+
protected drawRulerNotes(): void;
|
|
228
|
+
/** 绘制标尺 */
|
|
229
|
+
protected drawRuler(startTimes?: number): void;
|
|
230
|
+
/** 绘制展示波形相关 */
|
|
231
|
+
protected drawWaveFrom(): void;
|
|
232
|
+
/** 绘制 导联名称 和 导联脱落 */
|
|
233
|
+
protected drawLeadHeadNameAndOffOrDel(): void;
|
|
234
|
+
/** 画 心搏 箭头,箭头旁提示文案 */
|
|
235
|
+
protected drawLoopArrow(startPosIdx?: number): void;
|
|
236
|
+
/** 心搏箭头点击事件 */
|
|
237
|
+
protected arrowLoopClick(heardBeat: HeartBeatPosition, ele: Polygon): void;
|
|
238
|
+
/** 绘制 心搏 短线 */
|
|
239
|
+
protected drawHeardBeatLine(startPosIdx?: number): void;
|
|
240
|
+
/** 创建 心搏 短线 */
|
|
241
|
+
protected createHeardBeatLine(X: number, Y: number): Line;
|
|
242
|
+
/** 原生滚动条事件 */
|
|
243
|
+
protected nativeScrollFunc(event: WheelEvent): void;
|
|
244
|
+
/** 自定义滚动事件监听 */
|
|
245
|
+
protected handleScroll(vertical: HandleScrollParams, horizontal: HandleScrollParams, nativeEvent: Event): void;
|
|
246
|
+
protected scrollCommon(scrollLeft: number): void;
|
|
247
|
+
protected scrollWaveFrom(slidIdxs: number): void;
|
|
248
|
+
protected scrollRuler(slidIdxs: number): void;
|
|
249
|
+
protected scrollArrow(slidIdxs: number): void;
|
|
250
|
+
}
|