costy-plus 1.0.72-0 → 1.0.75-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 +30 -28
- package/dist/es/src/EcgWave/index.vue_vue_type_script_lang.js +5 -5
- package/dist/es/src/EcgWave/index.vue_vue_type_template_lang.js +1 -1
- package/dist/es/src/MeasuringRuler/index.vue.d.ts +1 -1
- package/dist/es/src/MeasuringRulerMore/index.js +6 -0
- package/dist/es/src/MeasuringRulerMore/index.vue.d.ts +56 -0
- package/dist/es/src/MeasuringRulerMore/index.vue_vue_type_script_lang.js +380 -0
- package/dist/es/src/MeasuringRulerMore/index.vue_vue_type_template_lang.js +17 -0
- package/dist/es/src/MeasuringRulerMore/index2.js +24 -0
- package/dist/es/src/MeasuringRulerMore/style/index.css +0 -0
- package/dist/es/src/index.d.ts +1 -0
- package/dist/es/src/index.js +30 -28
- package/dist/lib/index.js +1 -1
- 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/MeasuringRuler/index.vue.d.ts +1 -1
- package/dist/lib/src/MeasuringRulerMore/index.js +1 -0
- package/dist/lib/src/MeasuringRulerMore/index.vue.d.ts +56 -0
- package/dist/lib/src/MeasuringRulerMore/index.vue_vue_type_script_lang.js +3 -0
- package/dist/lib/src/MeasuringRulerMore/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/MeasuringRulerMore/index2.js +1 -0
- package/dist/lib/src/MeasuringRulerMore/style/index.css +0 -0
- package/dist/lib/src/index.d.ts +1 -0
- package/dist/lib/src/index.js +1 -1
- package/package.json +2 -2
package/dist/es/index.js
CHANGED
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
import * as e from "./src/index.js";
|
|
2
2
|
import { default as m } from "./src/Text/index.js";
|
|
3
|
-
import { default as
|
|
3
|
+
import { default as l } from "./src/BackgroundGrid/index.js";
|
|
4
4
|
import { default as p } from "./src/EcgWave/index.js";
|
|
5
5
|
import { default as d } from "./src/CommonWaveForm/index.js";
|
|
6
6
|
import { default as M } from "./src/monitorWave/index.js";
|
|
7
7
|
import { default as i } from "./src/MeasuringRuler/index.js";
|
|
8
|
-
import { default as v } from "./src/
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as E } from "./src/
|
|
11
|
-
import { default as T } from "./src/
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as b } from "./src/
|
|
15
|
-
import { default as D } from "./src/
|
|
16
|
-
import { default as S } from "./src/
|
|
17
|
-
import { default as $ } from "./src/
|
|
18
|
-
import { default as j } from "./src/
|
|
19
|
-
import { default as w } from "./src/
|
|
8
|
+
import { default as v } from "./src/MeasuringRulerMore/index.js";
|
|
9
|
+
import { default as g } from "./src/ParallelRuler/index.js";
|
|
10
|
+
import { default as E } from "./src/EnlargeWave/index.js";
|
|
11
|
+
import { default as T } from "./src/FCGWave/index.js";
|
|
12
|
+
import { default as R } from "./src/HFECGWave/index.js";
|
|
13
|
+
import { default as F } from "./src/ELTree/index.js";
|
|
14
|
+
import { default as b } from "./src/TurnPage/index.js";
|
|
15
|
+
import { default as D } from "./src/Menu/index.js";
|
|
16
|
+
import { default as S } from "./src/SideBar/index.js";
|
|
17
|
+
import { default as $ } from "./src/MedexTab/index.js";
|
|
18
|
+
import { default as j } from "./src/MedexButton/index.js";
|
|
19
|
+
import { default as w } from "./src/MedexDialog/index.js";
|
|
20
|
+
import { default as A } from "./src/UEditor/index.js";
|
|
20
21
|
export * from "zrender";
|
|
21
|
-
const
|
|
22
|
+
const r = {
|
|
22
23
|
install: (a) => {
|
|
23
24
|
for (const o in e)
|
|
24
25
|
a.component(e[o].name, e[o]);
|
|
25
26
|
}
|
|
26
27
|
};
|
|
27
28
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
l as MXBackgroundGrid,
|
|
30
|
+
j as MXButton,
|
|
30
31
|
d as MXCommonWaveWaveComponents,
|
|
31
|
-
|
|
32
|
+
w as MXDialog,
|
|
32
33
|
p as MXECGWaveComponents,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
E as MXEnlargeWave,
|
|
35
|
+
T as MXFCGWaveComponents,
|
|
36
|
+
R as MXHFECGWaveComponents,
|
|
36
37
|
i as MXMeasuringRuler,
|
|
37
|
-
|
|
38
|
+
D as MXMenuComponents,
|
|
38
39
|
M as MXMonitorWaveComponents,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
g as MXParallelRuler,
|
|
41
|
+
S as MXSideBar,
|
|
42
|
+
$ as MXTab,
|
|
42
43
|
m as MXText,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
F as MXTree,
|
|
45
|
+
b as MXTurnPage,
|
|
46
|
+
A as MXUEditor,
|
|
47
|
+
v as MeasuringRulerMore,
|
|
48
|
+
r as default
|
|
47
49
|
};
|
|
@@ -7,8 +7,8 @@ import d from "../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules
|
|
|
7
7
|
import m from "../BackgroundGrid/index2.js";
|
|
8
8
|
import g from "../MeasuringRuler/index2.js";
|
|
9
9
|
import f from "../ParallelRuler/index2.js";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
10
|
+
import w from "../MagnifierWave/index.js";
|
|
11
|
+
import u from "../EnlargeWave/index2.js";
|
|
12
12
|
import v from "./method.js";
|
|
13
13
|
var C = Object.defineProperty, M = Object.getOwnPropertyDescriptor, a = (e, t, h, n) => {
|
|
14
14
|
for (var i = n > 1 ? void 0 : n ? M(t, h) : t, s = e.length - 1, p; s >= 0; s--)
|
|
@@ -85,10 +85,10 @@ r = a([
|
|
|
85
85
|
components: {
|
|
86
86
|
vueScroll: d,
|
|
87
87
|
MXBackgroundGrid: m,
|
|
88
|
-
|
|
88
|
+
MeasuringRuler: g,
|
|
89
89
|
MXParallelRuler: f,
|
|
90
|
-
MXMagnifierWave:
|
|
91
|
-
MXEnlargeWave:
|
|
90
|
+
MXMagnifierWave: w,
|
|
91
|
+
MXEnlargeWave: u
|
|
92
92
|
}
|
|
93
93
|
})
|
|
94
94
|
], r);
|
|
@@ -15,7 +15,7 @@ var C = function() {
|
|
|
15
15
|
"grid-config": a.gridConfig,
|
|
16
16
|
"layer-id": "MXGrid"
|
|
17
17
|
}
|
|
18
|
-
}), a.measurRulerConfig.isShow ? e("
|
|
18
|
+
}), a.measurRulerConfig.isShow ? e("MeasuringRuler", a._g({
|
|
19
19
|
staticClass: "measuring-ruler",
|
|
20
20
|
attrs: {
|
|
21
21
|
config: a.measurRulerConfig.config,
|
|
@@ -22,7 +22,7 @@ declare class MXMeasuringRuler extends Vue {
|
|
|
22
22
|
protected textIns: Readonly<Text | null>;
|
|
23
23
|
protected fontFamily: string;
|
|
24
24
|
/** 左上,右上,右下,左下 */
|
|
25
|
-
protected circleList: readonly Circle[]
|
|
25
|
+
protected circleList: readonly Circle[];
|
|
26
26
|
protected isMouseDown: Readonly<boolean>;
|
|
27
27
|
protected circleDragPos: Readonly<{
|
|
28
28
|
x: number;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Vue } from 'vue-property-decorator';
|
|
2
|
+
import { ZRenderType, Group, Rect, ElementEvent, Circle, Text } from 'zrender';
|
|
3
|
+
import { MXMeasuringRulerConfig } from '../../types/MeasuringRuler';
|
|
4
|
+
interface RectBox {
|
|
5
|
+
react: Rect | null;
|
|
6
|
+
text: Text | null;
|
|
7
|
+
/** 左上,右上,右下,左下 */
|
|
8
|
+
circleList: Circle[];
|
|
9
|
+
circleDragPos: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare class MXMeasuringRuler extends Vue {
|
|
15
|
+
/** 前缀 id */
|
|
16
|
+
protected prefixId: string;
|
|
17
|
+
protected width: number;
|
|
18
|
+
protected height: number;
|
|
19
|
+
protected config: MXMeasuringRulerConfig;
|
|
20
|
+
/** 走纸速度 */
|
|
21
|
+
protected speedValue: number;
|
|
22
|
+
/** 小格子距离 */
|
|
23
|
+
protected cellMg: number;
|
|
24
|
+
/** 放大倍数 */
|
|
25
|
+
protected magnification: number;
|
|
26
|
+
/** 增益 */
|
|
27
|
+
protected sens: number;
|
|
28
|
+
protected className: string;
|
|
29
|
+
protected sceneIns: Readonly<ZRenderType | null>;
|
|
30
|
+
protected measuringRulerGroup: Readonly<Group | null>;
|
|
31
|
+
protected rectInsList: readonly RectBox[];
|
|
32
|
+
protected fontFamily: string;
|
|
33
|
+
protected isMouseDown: Readonly<boolean>;
|
|
34
|
+
protected moveReactName: string;
|
|
35
|
+
protected destroyed(): void;
|
|
36
|
+
protected created(): void;
|
|
37
|
+
protected clearCanvas(): void;
|
|
38
|
+
protected initConfig(): void;
|
|
39
|
+
protected mounted(): void;
|
|
40
|
+
protected init(): void;
|
|
41
|
+
protected calcText(): void;
|
|
42
|
+
protected circleHideOrShow(isShow: boolean): void;
|
|
43
|
+
protected sceneAddToEventListener(): void;
|
|
44
|
+
protected sceneRemoveEventListener(): void;
|
|
45
|
+
protected createRectBox(name: string, x: number, y: number): RectBox;
|
|
46
|
+
protected sceneMousedown(e: ElementEvent): void;
|
|
47
|
+
protected scenemousemove(e: ElementEvent): void;
|
|
48
|
+
protected scenemouseup(e: ElementEvent): void;
|
|
49
|
+
protected rectAddToEventListener(): void;
|
|
50
|
+
protected rectDrag(e: ElementEvent): void;
|
|
51
|
+
protected circleAddToEventListener(): void;
|
|
52
|
+
protected circleDragStart(e: ElementEvent): void;
|
|
53
|
+
protected circleDrag(e: ElementEvent): void;
|
|
54
|
+
}
|
|
55
|
+
declare const _sfc_main: typeof MXMeasuringRuler;
|
|
56
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import "./style/index.css";
|
|
2
|
+
import I from "vue";
|
|
3
|
+
import R 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.2_vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-property-decorator/lib/decorators/Emit.js";
|
|
5
|
+
import { Prop as g } 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";
|
|
6
|
+
import { Group as w, Rect as v, init as D, Text as b, Circle as N } from "zrender";
|
|
7
|
+
import { calcMs as C, calcMV as M, calcBpm as z } from "@costy-plus/utils";
|
|
8
|
+
var X = Object.defineProperty, E = Object.getOwnPropertyDescriptor, f = (e, t, s, r) => {
|
|
9
|
+
for (var i = r > 1 ? void 0 : r ? E(t, s) : t, n = e.length - 1, c; n >= 0; n--)
|
|
10
|
+
(c = e[n]) && (i = (r ? c(t, s, i) : c(i)) || i);
|
|
11
|
+
return r && i && X(t, s, i), i;
|
|
12
|
+
};
|
|
13
|
+
let u = class extends I {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments), this.sceneIns = Object.freeze(null), this.measuringRulerGroup = Object.freeze(null), this.rectInsList = Object.freeze([]), this.fontFamily = Object.freeze("\u5FAE\u8F6F\u96C5\u9ED1"), this.isMouseDown = Object.freeze(!1), this.moveReactName = Object.freeze("");
|
|
16
|
+
}
|
|
17
|
+
destroyed() {
|
|
18
|
+
var e, t;
|
|
19
|
+
(e = this.measuringRulerGroup) == null || e.removeAll(), (t = this.sceneIns) == null || t.dispose();
|
|
20
|
+
}
|
|
21
|
+
created() {
|
|
22
|
+
this.rectInsList = [], this.measuringRulerGroup = new w({
|
|
23
|
+
name: "measuringRuler"
|
|
24
|
+
}), this.initConfig();
|
|
25
|
+
}
|
|
26
|
+
clearCanvas() {
|
|
27
|
+
var e, t;
|
|
28
|
+
this.rectInsList = [], (e = this.measuringRulerGroup) == null || e.removeAll(), (t = this.sceneIns) == null || t.remove(this.measuringRulerGroup);
|
|
29
|
+
}
|
|
30
|
+
initConfig() {
|
|
31
|
+
var e;
|
|
32
|
+
(e = this.measuringRulerGroup) == null || e.add(
|
|
33
|
+
new v({
|
|
34
|
+
name: "main-box",
|
|
35
|
+
style: {
|
|
36
|
+
fill: "transparent"
|
|
37
|
+
},
|
|
38
|
+
shape: {
|
|
39
|
+
x: 0,
|
|
40
|
+
y: 0,
|
|
41
|
+
width: this.width,
|
|
42
|
+
height: this.height
|
|
43
|
+
},
|
|
44
|
+
cursor: "crosshair"
|
|
45
|
+
})
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
mounted() {
|
|
49
|
+
this.init();
|
|
50
|
+
}
|
|
51
|
+
init() {
|
|
52
|
+
var t;
|
|
53
|
+
const e = document.getElementById(
|
|
54
|
+
`${this.prefixId}mx-measuring-ruler`
|
|
55
|
+
);
|
|
56
|
+
this.sceneIns = D(e, {
|
|
57
|
+
width: this.width,
|
|
58
|
+
height: this.height,
|
|
59
|
+
devicePixelRatio: 2
|
|
60
|
+
}), (t = this.sceneIns) == null || t.add(this.measuringRulerGroup), this.sceneAddToEventListener(), this.rectAddToEventListener(), this.circleAddToEventListener();
|
|
61
|
+
}
|
|
62
|
+
calcText() {
|
|
63
|
+
var i, n, c, a, o, m, h, l, d, x;
|
|
64
|
+
let e, t = 0, s = "", r = 0;
|
|
65
|
+
for (let p = 0; p < this.rectInsList.length; p++)
|
|
66
|
+
if (e = this.rectInsList[p], ((i = e.react) == null ? void 0 : i.name) === this.moveReactName && ((n = e.react) == null ? void 0 : n.shape.width)) {
|
|
67
|
+
t = C(
|
|
68
|
+
((c = e.react) == null ? void 0 : c.shape.width) || 0,
|
|
69
|
+
this.speedValue,
|
|
70
|
+
this.cellMg,
|
|
71
|
+
this.magnification
|
|
72
|
+
), s = M(
|
|
73
|
+
((a = e.react) == null ? void 0 : a.shape.height) || 0,
|
|
74
|
+
this.sens,
|
|
75
|
+
this.magnification
|
|
76
|
+
), r = t !== 0 && z(t) || 0, (x = e.text) == null || x.attr({
|
|
77
|
+
style: {
|
|
78
|
+
text: `${t} ms
|
|
79
|
+
${r} bpm
|
|
80
|
+
${s} mV`,
|
|
81
|
+
x: (((o = e.react) == null ? void 0 : o.x) || 0) + (((m = e.react) == null ? void 0 : m.shape.x) || 0) + (((h = e.react) == null ? void 0 : h.shape.width) || 0) + 20,
|
|
82
|
+
y: (((l = e.react) == null ? void 0 : l.y) || 0) + (((d = e.react) == null ? void 0 : d.shape.y) || 0)
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
e = null;
|
|
88
|
+
}
|
|
89
|
+
circleHideOrShow(e) {
|
|
90
|
+
var s;
|
|
91
|
+
let t;
|
|
92
|
+
for (let r = 0; r < this.rectInsList.length; r++)
|
|
93
|
+
if (t = this.rectInsList[r], ((s = t.react) == null ? void 0 : s.name) === this.moveReactName) {
|
|
94
|
+
t.circleList.forEach((i) => e ? i.show() : i.hide());
|
|
95
|
+
break;
|
|
96
|
+
}
|
|
97
|
+
t = null;
|
|
98
|
+
}
|
|
99
|
+
sceneAddToEventListener() {
|
|
100
|
+
var t, s, r, i;
|
|
101
|
+
const e = (n) => {
|
|
102
|
+
var c;
|
|
103
|
+
n.event.preventDefault(), this.clearCanvas(), this.initConfig(), (c = this.sceneIns) == null || c.add(this.measuringRulerGroup), this.$emit("notifyMeasuringRuler", {
|
|
104
|
+
name: "contextmenu"
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
(t = this.sceneIns) == null || t.on("contextmenu", e), (s = this.sceneIns) == null || s.on("mousedown", this.sceneMousedown), (r = this.sceneIns) == null || r.on("mousemove", this.scenemousemove), (i = this.sceneIns) == null || i.on("mouseup", this.scenemouseup), this.$once("hook:beforeDestroy", () => {
|
|
108
|
+
var n, c, a, o;
|
|
109
|
+
(n = this.sceneIns) == null || n.off("contextmenu", e), (c = this.sceneIns) == null || c.off("mousedown", this.sceneMousedown), (a = this.sceneIns) == null || a.off("mousemove", this.scenemousemove), (o = this.sceneIns) == null || o.off("mouseup", this.scenemouseup);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
sceneRemoveEventListener() {
|
|
113
|
+
var e, t, s;
|
|
114
|
+
(e = this.sceneIns) == null || e.off("mousedown", this.sceneMousedown), (t = this.sceneIns) == null || t.off("mousemove", this.scenemousemove), (s = this.sceneIns) == null || s.off("mouseup", this.scenemouseup);
|
|
115
|
+
}
|
|
116
|
+
createRectBox(e, t, s) {
|
|
117
|
+
this.moveReactName = e;
|
|
118
|
+
const r = new v({
|
|
119
|
+
name: e,
|
|
120
|
+
style: {
|
|
121
|
+
stroke: this.config.stroke,
|
|
122
|
+
lineWidth: this.config.lineW,
|
|
123
|
+
fill: "transparent"
|
|
124
|
+
},
|
|
125
|
+
shape: {
|
|
126
|
+
x: t,
|
|
127
|
+
y: s
|
|
128
|
+
},
|
|
129
|
+
ondrag: this.rectDrag,
|
|
130
|
+
cursor: "move",
|
|
131
|
+
draggable: !0
|
|
132
|
+
}), i = new b({
|
|
133
|
+
style: {
|
|
134
|
+
lineHeight: this.config.textFontSize + 4,
|
|
135
|
+
fontSize: this.config.textFontSize,
|
|
136
|
+
fill: this.config.textColor,
|
|
137
|
+
fontFamily: this.fontFamily,
|
|
138
|
+
fontWeight: "bold"
|
|
139
|
+
}
|
|
140
|
+
}), n = [];
|
|
141
|
+
let c;
|
|
142
|
+
const a = ["nw-resize", "ne-resize", "se-resize", "sw-resize"];
|
|
143
|
+
for (let o = 0; o < 4; o++)
|
|
144
|
+
c = new N({
|
|
145
|
+
name: `${o}_circle`,
|
|
146
|
+
customName: e,
|
|
147
|
+
style: {
|
|
148
|
+
stroke: this.config.circleLinestroke,
|
|
149
|
+
lineWidth: this.config.circleLineW,
|
|
150
|
+
fill: "transparent"
|
|
151
|
+
},
|
|
152
|
+
shape: {
|
|
153
|
+
r: 12
|
|
154
|
+
},
|
|
155
|
+
cursor: a[o],
|
|
156
|
+
zlevel: 1,
|
|
157
|
+
draggable: !0,
|
|
158
|
+
ondrag: this.circleDrag,
|
|
159
|
+
ondragstart: this.circleDragStart
|
|
160
|
+
}), c.hide(), this.measuringRulerGroup.add(c), n.push(c);
|
|
161
|
+
return this.measuringRulerGroup.add(i), this.measuringRulerGroup.add(r), {
|
|
162
|
+
react: r,
|
|
163
|
+
text: i,
|
|
164
|
+
circleList: n,
|
|
165
|
+
circleDragPos: {
|
|
166
|
+
x: 0,
|
|
167
|
+
y: 0
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
sceneMousedown(e) {
|
|
172
|
+
var t;
|
|
173
|
+
if (console.log("sceneMousedown", e), e.event.button === 0)
|
|
174
|
+
if (this.isMouseDown = !0, this.rectInsList.length === 0)
|
|
175
|
+
this.rectInsList.push(this.createRectBox("react_1", e.offsetX, e.offsetY));
|
|
176
|
+
else {
|
|
177
|
+
let s = !1, r;
|
|
178
|
+
for (let i = 0; i < this.rectInsList.length && (r = this.rectInsList[i], s = ((t = r.react) == null ? void 0 : t.contain(e.offsetX, e.offsetY)) || !1, !s); i++)
|
|
179
|
+
;
|
|
180
|
+
r = null, s || this.rectInsList.push(this.createRectBox(`react_${this.rectInsList.length + 1}`, e.offsetX, e.offsetY)), console.log("isContain", s);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
scenemousemove(e) {
|
|
184
|
+
var s, r;
|
|
185
|
+
if (!this.isMouseDown)
|
|
186
|
+
return;
|
|
187
|
+
let t;
|
|
188
|
+
for (let i = 0; i < this.rectInsList.length; i++)
|
|
189
|
+
if (t = this.rectInsList[i], ((s = t.react) == null ? void 0 : s.name) === this.moveReactName) {
|
|
190
|
+
(r = t.react) == null || r.attr({
|
|
191
|
+
shape: {
|
|
192
|
+
width: e.offsetX - t.react.shape.x,
|
|
193
|
+
height: e.offsetY - t.react.shape.y
|
|
194
|
+
}
|
|
195
|
+
});
|
|
196
|
+
break;
|
|
197
|
+
}
|
|
198
|
+
t = null;
|
|
199
|
+
}
|
|
200
|
+
scenemouseup(e) {
|
|
201
|
+
var s, r, i, n, c, a, o, m, h, l, d, x, p, L;
|
|
202
|
+
this.isMouseDown = !1;
|
|
203
|
+
let t;
|
|
204
|
+
for (let y = 0; y < this.rectInsList.length; y++)
|
|
205
|
+
if (t = this.rectInsList[y], ((s = t.react) == null ? void 0 : s.name) === this.moveReactName) {
|
|
206
|
+
(r = t.react) == null || r.attr({
|
|
207
|
+
shape: {
|
|
208
|
+
width: e.offsetX - t.react.shape.x,
|
|
209
|
+
height: e.offsetY - t.react.shape.y
|
|
210
|
+
}
|
|
211
|
+
}), t.circleList[0].attr({
|
|
212
|
+
x: (i = t.react) == null ? void 0 : i.shape.x,
|
|
213
|
+
y: (n = t.react) == null ? void 0 : n.shape.y
|
|
214
|
+
}), t.circleList[1].attr({
|
|
215
|
+
x: e.offsetX - (((c = t.react) == null ? void 0 : c.shape.x) || 0) + (((a = t.react) == null ? void 0 : a.shape.x) || 0),
|
|
216
|
+
y: (o = t.react) == null ? void 0 : o.shape.y
|
|
217
|
+
}), t.circleList[2].attr({
|
|
218
|
+
x: e.offsetX - (((m = t.react) == null ? void 0 : m.shape.x) || 0) + (((h = t.react) == null ? void 0 : h.shape.x) || 0),
|
|
219
|
+
y: e.offsetY - (((l = t.react) == null ? void 0 : l.shape.y) || 0) + (((d = t.react) == null ? void 0 : d.shape.y) || 0)
|
|
220
|
+
}), t.circleList[3].attr({
|
|
221
|
+
x: (x = t.react) == null ? void 0 : x.shape.x,
|
|
222
|
+
y: e.offsetY - (((p = t.react) == null ? void 0 : p.shape.y) || 0) + (((L = t.react) == null ? void 0 : L.shape.y) || 0)
|
|
223
|
+
}), this.calcText(), this.circleHideOrShow(!0);
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
t = null, this.moveReactName = "";
|
|
227
|
+
}
|
|
228
|
+
rectAddToEventListener() {
|
|
229
|
+
this.$once("hook:beforeDestroy", () => {
|
|
230
|
+
var t;
|
|
231
|
+
let e;
|
|
232
|
+
for (let s = 0; s < this.rectInsList.length; s++)
|
|
233
|
+
e = this.rectInsList[s], (t = e.react) == null || t.off("drag", this.rectDrag);
|
|
234
|
+
e = null;
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
rectDrag(e) {
|
|
238
|
+
var s, r;
|
|
239
|
+
console.log("rectDrag", e), this.moveReactName = e.target.name;
|
|
240
|
+
let t;
|
|
241
|
+
for (let i = 0; i < this.rectInsList.length; i++) {
|
|
242
|
+
if (t = this.rectInsList[i], ((s = t.react) == null ? void 0 : s.name) === this.moveReactName) {
|
|
243
|
+
t.circleList.forEach((n) => {
|
|
244
|
+
n.attr({
|
|
245
|
+
shape: {
|
|
246
|
+
cx: e.target.x,
|
|
247
|
+
cy: e.target.y
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
}), this.calcText();
|
|
251
|
+
break;
|
|
252
|
+
}
|
|
253
|
+
(r = t.react) == null || r.off("drag", this.rectDrag);
|
|
254
|
+
}
|
|
255
|
+
t = null, this.moveReactName = "", console.log("rectDrag--\u8FD9\u91CC");
|
|
256
|
+
}
|
|
257
|
+
circleAddToEventListener() {
|
|
258
|
+
this.$once("hook:beforeDestroy", () => {
|
|
259
|
+
var t;
|
|
260
|
+
let e;
|
|
261
|
+
for (let s = 0; s < this.rectInsList.length; s++)
|
|
262
|
+
e = this.rectInsList[s], (t = e.circleList) == null || t.forEach((r) => {
|
|
263
|
+
r.off("drag", this.circleDrag), r.off("dragstart", this.circleDragStart);
|
|
264
|
+
});
|
|
265
|
+
e = null;
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
circleDragStart(e) {
|
|
269
|
+
var s;
|
|
270
|
+
console.log("circleDragStart--\u8FD9\u91CC", e), this.moveReactName = e.target.customName;
|
|
271
|
+
let t;
|
|
272
|
+
for (let r = 0; r < this.rectInsList.length; r++)
|
|
273
|
+
if (t = this.rectInsList[r], ((s = t.react) == null ? void 0 : s.name) === this.moveReactName) {
|
|
274
|
+
t.circleDragPos.x = e.offsetX, t.circleDragPos.y = e.offsetY;
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
t = null, this.moveReactName = "";
|
|
278
|
+
}
|
|
279
|
+
circleDrag(e) {
|
|
280
|
+
var n, c;
|
|
281
|
+
console.log("circleDrag--\u8FD9\u91CC", e), this.moveReactName = e.target.customName;
|
|
282
|
+
const t = parseInt(e.target.name);
|
|
283
|
+
if (isNaN(t))
|
|
284
|
+
return;
|
|
285
|
+
let s, r = 0, i = 0;
|
|
286
|
+
for (let a = 0; a < this.rectInsList.length; a++)
|
|
287
|
+
if (s = this.rectInsList[a], ((n = s.react) == null ? void 0 : n.name) === this.moveReactName) {
|
|
288
|
+
r = e.offsetX - s.circleDragPos.x, i = e.offsetY - s.circleDragPos.y, s.circleDragPos.x = e.offsetX, s.circleDragPos.y = e.offsetY;
|
|
289
|
+
let o = s.react.shape.x, m = s.react.shape.y, h = s.react.shape.width, l = s.react.shape.height;
|
|
290
|
+
console.log("moveX", r, i), t === 0 ? (o += r, m += i, r < 0 ? h += -r : h -= r, i < 0 ? l += -i : l -= i, s.circleList[1].attr({
|
|
291
|
+
y: e.target.y
|
|
292
|
+
}), s.circleList[3].attr({
|
|
293
|
+
x: e.target.x
|
|
294
|
+
})) : t === 1 ? (m += i, h += r, i < 0 ? l += -i : l -= i, s.circleList[0].attr({
|
|
295
|
+
y: e.target.y
|
|
296
|
+
}), s.circleList[2].attr({
|
|
297
|
+
x: e.target.x
|
|
298
|
+
})) : t === 2 ? (h += r, l += i, s.circleList[3].attr({
|
|
299
|
+
y: e.target.y
|
|
300
|
+
}), s.circleList[1].attr({
|
|
301
|
+
x: e.target.x
|
|
302
|
+
})) : t === 3 && (o += r, r < 0 ? h += -r : h -= r, l += i, s.circleList[2].attr({
|
|
303
|
+
y: e.target.y
|
|
304
|
+
}), s.circleList[0].attr({
|
|
305
|
+
x: e.target.x
|
|
306
|
+
})), (c = s.react) == null || c.attr({
|
|
307
|
+
shape: {
|
|
308
|
+
x: o,
|
|
309
|
+
y: m,
|
|
310
|
+
width: h,
|
|
311
|
+
height: l
|
|
312
|
+
}
|
|
313
|
+
}), this.calcText();
|
|
314
|
+
break;
|
|
315
|
+
}
|
|
316
|
+
s = null, this.moveReactName = "";
|
|
317
|
+
}
|
|
318
|
+
};
|
|
319
|
+
f([
|
|
320
|
+
g({
|
|
321
|
+
default: () => ""
|
|
322
|
+
})
|
|
323
|
+
], u.prototype, "prefixId", 2);
|
|
324
|
+
f([
|
|
325
|
+
g({
|
|
326
|
+
required: !0,
|
|
327
|
+
type: Number,
|
|
328
|
+
validator: (e) => typeof e == "number"
|
|
329
|
+
})
|
|
330
|
+
], u.prototype, "width", 2);
|
|
331
|
+
f([
|
|
332
|
+
g({
|
|
333
|
+
required: !0,
|
|
334
|
+
type: Number,
|
|
335
|
+
validator: (e) => typeof e == "number"
|
|
336
|
+
})
|
|
337
|
+
], u.prototype, "height", 2);
|
|
338
|
+
f([
|
|
339
|
+
g({
|
|
340
|
+
default: () => ({
|
|
341
|
+
lineW: 0.6,
|
|
342
|
+
stroke: "#00C800",
|
|
343
|
+
circleLineW: 1,
|
|
344
|
+
circleLinestroke: "blue",
|
|
345
|
+
textColor: "#000",
|
|
346
|
+
textFontSize: 12
|
|
347
|
+
})
|
|
348
|
+
})
|
|
349
|
+
], u.prototype, "config", 2);
|
|
350
|
+
f([
|
|
351
|
+
g({
|
|
352
|
+
required: !0
|
|
353
|
+
})
|
|
354
|
+
], u.prototype, "speedValue", 2);
|
|
355
|
+
f([
|
|
356
|
+
g({
|
|
357
|
+
required: !0
|
|
358
|
+
})
|
|
359
|
+
], u.prototype, "cellMg", 2);
|
|
360
|
+
f([
|
|
361
|
+
g({
|
|
362
|
+
default: 1
|
|
363
|
+
})
|
|
364
|
+
], u.prototype, "magnification", 2);
|
|
365
|
+
f([
|
|
366
|
+
g({
|
|
367
|
+
default: 1
|
|
368
|
+
})
|
|
369
|
+
], u.prototype, "sens", 2);
|
|
370
|
+
f([
|
|
371
|
+
g({ default: () => "" })
|
|
372
|
+
], u.prototype, "className", 2);
|
|
373
|
+
u = f([
|
|
374
|
+
R({
|
|
375
|
+
name: "MXMeasuringRuler"
|
|
376
|
+
})
|
|
377
|
+
], u);
|
|
378
|
+
export {
|
|
379
|
+
u as default
|
|
380
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var a = function() {
|
|
2
|
+
var e = this, r = e.$createElement, t = e._self._c || r;
|
|
3
|
+
return t("div", {
|
|
4
|
+
class: e.className,
|
|
5
|
+
style: {
|
|
6
|
+
width: `${e.width}px`,
|
|
7
|
+
height: `${e.height}px`
|
|
8
|
+
},
|
|
9
|
+
attrs: {
|
|
10
|
+
id: e.prefixId + "mx-measuring-ruler"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}, i = [];
|
|
14
|
+
export {
|
|
15
|
+
a as render,
|
|
16
|
+
i as staticRenderFns
|
|
17
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import o from "./index.vue_vue_type_script_lang.js";
|
|
2
|
+
import { staticRenderFns as r, render as t } from "./index.vue_vue_type_template_lang.js";
|
|
3
|
+
import l from "../../_virtual/vueComponentNormalizer.js";
|
|
4
|
+
const n = {};
|
|
5
|
+
var s = /* @__PURE__ */ l(
|
|
6
|
+
o,
|
|
7
|
+
t,
|
|
8
|
+
r,
|
|
9
|
+
!1,
|
|
10
|
+
u,
|
|
11
|
+
null,
|
|
12
|
+
null,
|
|
13
|
+
null
|
|
14
|
+
);
|
|
15
|
+
function u(i) {
|
|
16
|
+
for (let e in n)
|
|
17
|
+
this[e] = n[e];
|
|
18
|
+
}
|
|
19
|
+
const a = /* @__PURE__ */ function() {
|
|
20
|
+
return s.exports;
|
|
21
|
+
}();
|
|
22
|
+
export {
|
|
23
|
+
a as default
|
|
24
|
+
};
|
|
File without changes
|
package/dist/es/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { default as MXECGWaveComponents } from './EcgWave';
|
|
|
4
4
|
export { default as MXCommonWaveWaveComponents } from './CommonWaveForm';
|
|
5
5
|
export { default as MXMonitorWaveComponents } from './monitorWave';
|
|
6
6
|
export { default as MXMeasuringRuler } from './MeasuringRuler';
|
|
7
|
+
export { default as MeasuringRulerMore } from './MeasuringRulerMore';
|
|
7
8
|
export { default as MXParallelRuler } from './ParallelRuler';
|
|
8
9
|
export { default as MXEnlargeWave } from './EnlargeWave';
|
|
9
10
|
export { default as MXFCGWaveComponents } from './FCGWave';
|
package/dist/es/src/index.js
CHANGED
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
import { default as a } from "./Text/index.js";
|
|
2
2
|
import { default as f } from "./BackgroundGrid/index.js";
|
|
3
|
-
import { default as
|
|
3
|
+
import { default as s } from "./EcgWave/index.js";
|
|
4
4
|
import { default as l } from "./CommonWaveForm/index.js";
|
|
5
5
|
import { default as d } from "./monitorWave/index.js";
|
|
6
|
-
import { default as
|
|
7
|
-
import { default as X } from "./
|
|
8
|
-
import { default as i } from "./
|
|
9
|
-
import { default as W } from "./
|
|
10
|
-
import { default as E } from "./
|
|
11
|
-
import { default as T } from "./
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as c } from "./
|
|
15
|
-
import { default as D } from "./
|
|
16
|
-
import { default as S } from "./
|
|
17
|
-
import { default as Z } from "./
|
|
18
|
-
import { default as j } from "./
|
|
6
|
+
import { default as n } from "./MeasuringRuler/index.js";
|
|
7
|
+
import { default as X } from "./MeasuringRulerMore/index.js";
|
|
8
|
+
import { default as i } from "./ParallelRuler/index.js";
|
|
9
|
+
import { default as W } from "./EnlargeWave/index.js";
|
|
10
|
+
import { default as E } from "./FCGWave/index.js";
|
|
11
|
+
import { default as T } from "./HFECGWave/index.js";
|
|
12
|
+
import { default as R } from "./ELTree/index.js";
|
|
13
|
+
import { default as P } from "./TurnPage/index.js";
|
|
14
|
+
import { default as c } from "./Menu/index.js";
|
|
15
|
+
import { default as D } from "./SideBar/index.js";
|
|
16
|
+
import { default as S } from "./MedexTab/index.js";
|
|
17
|
+
import { default as Z } from "./MedexButton/index.js";
|
|
18
|
+
import { default as j } from "./MedexDialog/index.js";
|
|
19
|
+
import { default as w } from "./UEditor/index.js";
|
|
19
20
|
import "zrender";
|
|
20
21
|
export * from "zrender";
|
|
21
22
|
export {
|
|
22
23
|
f as MXBackgroundGrid,
|
|
23
|
-
|
|
24
|
+
Z as MXButton,
|
|
24
25
|
l as MXCommonWaveWaveComponents,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
j as MXDialog,
|
|
27
|
+
s as MXECGWaveComponents,
|
|
28
|
+
W as MXEnlargeWave,
|
|
29
|
+
E as MXFCGWaveComponents,
|
|
30
|
+
T as MXHFECGWaveComponents,
|
|
31
|
+
n as MXMeasuringRuler,
|
|
32
|
+
c as MXMenuComponents,
|
|
32
33
|
d as MXMonitorWaveComponents,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
i as MXParallelRuler,
|
|
35
|
+
D as MXSideBar,
|
|
36
|
+
S as MXTab,
|
|
36
37
|
a as MXText,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
R as MXTree,
|
|
39
|
+
P as MXTurnPage,
|
|
40
|
+
w as MXUEditor,
|
|
41
|
+
X as MeasuringRulerMore
|
|
40
42
|
};
|
package/dist/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./src/index.js"),d=require("./src/Text/index.js"),s=require("./src/BackgroundGrid/index.js"),t=require("./src/EcgWave/index.js"),u=require("./src/CommonWaveForm/index.js"),o=require("./src/monitorWave/index.js"),a=require("./src/MeasuringRuler/index.js"),c=require("./src/MeasuringRulerMore/index.js"),x=require("./src/ParallelRuler/index.js"),l=require("./src/EnlargeWave/index.js"),M=require("./src/FCGWave/index.js"),f=require("./src/HFECGWave/index.js"),j=require("./src/ELTree/index.js"),q=require("./src/TurnPage/index.js"),$=require("./src/Menu/index.js"),X=require("./src/SideBar/index.js"),g=require("./src/MedexTab/index.js"),m=require("./src/MedexButton/index.js"),v=require("./src/MedexDialog/index.js"),C=require("./src/UEditor/index.js"),i=require("zrender"),W={install:e=>{for(const n in r)e.component(r[n].name,r[n])}};exports.MXText=d.default;exports.MXBackgroundGrid=s.default;exports.MXECGWaveComponents=t.default;exports.MXCommonWaveWaveComponents=u.default;exports.MXMonitorWaveComponents=o.default;exports.MXMeasuringRuler=a.default;exports.MeasuringRulerMore=c.default;exports.MXParallelRuler=x.default;exports.MXEnlargeWave=l.default;exports.MXFCGWaveComponents=M.default;exports.MXHFECGWaveComponents=f.default;exports.MXTree=j.default;exports.MXTurnPage=q.default;exports.MXMenuComponents=$.default;exports.MXSideBar=X.default;exports.MXTab=g.default;exports.MXButton=m.default;exports.MXDialog=v.default;exports.MXUEditor=C.default;exports.default=W;for(const e in i)e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>i[e]});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./style/index.css");require("vue");const l=require("../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js");require("../../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");const o=require("../../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"),c=require("../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules/vuescroll/dist/vuescroll-native.js"),u=require("../BackgroundGrid/index2.js"),h=require("../MeasuringRuler/index2.js"),p=require("../ParallelRuler/index2.js"),v=require("../MagnifierWave/index.js"),f=require("../EnlargeWave/index2.js"),g=require("./method.js");var m=Object.defineProperty,w=Object.getOwnPropertyDescriptor,a=(e,t,s,n)=>{for(var r=n>1?void 0:n?w(t,s):t,i=e.length-1,d;i>=0;i--)(d=e[i])&&(r=(n?d(t,s,r):d(r))||r);return n&&r&&m(t,s,r),r};exports.default=class extends l.mixins(g.default){watchFormatEcgData(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}watchVuescrollConfig(){this.repaint()}watchLeadHeadConfig(){var e,t;(e=this.leadHeadGroup)==null||e.removeAll(),(t=this.sceneIns)==null||t.remove(this.leadHeadGroup),this.drawLeadHead()}watchLeadModel(){this.repaint()}watchWidth(){this.repaint()}watchHeight(){this.repaint()}watchHeartFight(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}watchLongLeadConfig(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}mounted(){this.init()}repaint(){var e,t;(e=this.sceneIns)==null||e.clear(),(t=this.sceneIns)==null||t.resize({width:this.canvasContainer.width,height:this.canvasContainer.height}),this.combinationDrawing()}};a([o.Watch("formatEcgData",{deep:!0})],exports.default.prototype,"watchFormatEcgData",1);a([o.Watch("vuescrollConfig",{deep:!0})],exports.default.prototype,"watchVuescrollConfig",1);a([o.Watch("leadHeadConfig",{deep:!0})],exports.default.prototype,"watchLeadHeadConfig",1);a([o.Watch("leadModel",{deep:!0})],exports.default.prototype,"watchLeadModel",1);a([o.Watch("width")],exports.default.prototype,"watchWidth",1);a([o.Watch("height")],exports.default.prototype,"watchHeight",1);a([o.Watch("singleModeInfo",{deep:!0})],exports.default.prototype,"watchHeartFight",1);a([o.Watch("longLeadConfig",{deep:!0})],exports.default.prototype,"watchLongLeadConfig",1);exports.default=a([l.default({name:"ECGWaveForm",components:{vueScroll:c.default,MXBackgroundGrid:u.default,
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./style/index.css");require("vue");const l=require("../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js");require("../../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");const o=require("../../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"),c=require("../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules/vuescroll/dist/vuescroll-native.js"),u=require("../BackgroundGrid/index2.js"),h=require("../MeasuringRuler/index2.js"),p=require("../ParallelRuler/index2.js"),v=require("../MagnifierWave/index.js"),f=require("../EnlargeWave/index2.js"),g=require("./method.js");var m=Object.defineProperty,w=Object.getOwnPropertyDescriptor,a=(e,t,s,n)=>{for(var r=n>1?void 0:n?w(t,s):t,i=e.length-1,d;i>=0;i--)(d=e[i])&&(r=(n?d(t,s,r):d(r))||r);return n&&r&&m(t,s,r),r};exports.default=class extends l.mixins(g.default){watchFormatEcgData(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}watchVuescrollConfig(){this.repaint()}watchLeadHeadConfig(){var e,t;(e=this.leadHeadGroup)==null||e.removeAll(),(t=this.sceneIns)==null||t.remove(this.leadHeadGroup),this.drawLeadHead()}watchLeadModel(){this.repaint()}watchWidth(){this.repaint()}watchHeight(){this.repaint()}watchHeartFight(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}watchLongLeadConfig(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}mounted(){this.init()}repaint(){var e,t;(e=this.sceneIns)==null||e.clear(),(t=this.sceneIns)==null||t.resize({width:this.canvasContainer.width,height:this.canvasContainer.height}),this.combinationDrawing()}};a([o.Watch("formatEcgData",{deep:!0})],exports.default.prototype,"watchFormatEcgData",1);a([o.Watch("vuescrollConfig",{deep:!0})],exports.default.prototype,"watchVuescrollConfig",1);a([o.Watch("leadHeadConfig",{deep:!0})],exports.default.prototype,"watchLeadHeadConfig",1);a([o.Watch("leadModel",{deep:!0})],exports.default.prototype,"watchLeadModel",1);a([o.Watch("width")],exports.default.prototype,"watchWidth",1);a([o.Watch("height")],exports.default.prototype,"watchHeight",1);a([o.Watch("singleModeInfo",{deep:!0})],exports.default.prototype,"watchHeartFight",1);a([o.Watch("longLeadConfig",{deep:!0})],exports.default.prototype,"watchLongLeadConfig",1);exports.default=a([l.default({name:"ECGWaveForm",components:{vueScroll:c.default,MXBackgroundGrid:u.default,MeasuringRuler:h.default,MXParallelRuler:p.default,MXMagnifierWave:v.default,MXEnlargeWave:f.default}})],exports.default);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var C=function(){var t,i,l,o,r,s,n,d,g,v,c,h,m,f,a=this,p=a.$createElement,e=a._self._c||p;return e("div",{style:{width:`${a.width}px`,height:`${a.height}px`},attrs:{id:"ecg-wave-form-main"}},[e("MXBackgroundGrid",{attrs:{width:a.canvasContainer.width,height:a.canvasContainer.height,"grid-config":a.gridConfig,"layer-id":"MXGrid"}}),a.measurRulerConfig.isShow?e("
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var C=function(){var t,i,l,o,r,s,n,d,g,v,c,h,m,f,a=this,p=a.$createElement,e=a._self._c||p;return e("div",{style:{width:`${a.width}px`,height:`${a.height}px`},attrs:{id:"ecg-wave-form-main"}},[e("MXBackgroundGrid",{attrs:{width:a.canvasContainer.width,height:a.canvasContainer.height,"grid-config":a.gridConfig,"layer-id":"MXGrid"}}),a.measurRulerConfig.isShow?e("MeasuringRuler",a._g({staticClass:"measuring-ruler",attrs:{config:a.measurRulerConfig.config,width:a.canvasContainer.width,height:a.canvasContainer.height,"cell-mg":a.gridConfig.cellMg,"speed-value":((t=a.formatEcgData)===null||t===void 0?void 0:t.speed)||0,sens:a.formatEcgData.sens}},a.$listeners)):a._e(),a.paralleRulerConfig.isShow?e("MXParallelRuler",a._g({staticClass:"parallel-ruler",attrs:{width:a.canvasContainer.width,height:a.canvasContainer.height,"cell-mg":a.gridConfig.cellMg,"speed-value":((i=a.formatEcgData)===null||i===void 0?void 0:i.speed)||0,sens:a.formatEcgData.sens,"heart-rate":a.ventricularRate}},a.$listeners)):a._e(),a.magnifierRulerConfig.isShow?e("MXMagnifierWave",{staticClass:"magnifier-wave",attrs:{width:a.canvasContainer.width,height:a.canvasContainer.height,"grid-config":a.gridConfig,"speed-value":((l=a.formatEcgData)===null||l===void 0?void 0:l.speed)||0,sens:a.formatEcgData.sens,step:((o=a.formatEcgData)===null||o===void 0?void 0:o.step)||0,"lead-head-config":a.leadHeadConfig,"wave-data":a.waveDataCopy,"add-wave-data":a.addWaveDataCopy,"single-wave-data":a.singleWaveDataCopy,"long-lead-config":a.longLeadConfig,"split-block-height":a.splitBlockHeight,"split-point":a.splitPoint,"lead-config":a.leadConfig,"heart-fight":a.heartFight,"normal-lead-names":((r=a.formatEcgData)===null||r===void 0?void 0:r.processedData.otherParams.LeadName)||[]}}):a._e(),a.isShowEnlargeWave?e("MXEnlargeWave",a._g({staticClass:"enlarge-wave",attrs:{"is-show-enlarge-wave":a.isShowEnlargeWave,width:a.MXEnlargeWaveWH.width,height:a.MXEnlargeWaveWH.height,"grid-config":a.gridConfig,"speed-value":((s=a.formatEcgData)===null||s===void 0?void 0:s.speed)||0,sens:a.formatEcgData.sens,step:((n=a.formatEcgData)===null||n===void 0?void 0:n.step)||0,"sample-rate":((d=a.formatEcgData)===null||d===void 0?void 0:d.processedData.otherParams.SampleRate)||0,sensitivity:((g=a.formatEcgData)===null||g===void 0?void 0:g.processedData.otherParams.Sensitivity)||0,"normal-data":((v=a.formatEcgData)===null||v===void 0?void 0:v.processedData.originData.Data)||[],"complex-data":((c=a.formatEcgData)===null||c===void 0?void 0:c.processedData.originData.ComplexData)||[],"lead-name-list":a.leadNameList,"lead-head-config":a.leadHeadConfig,"active-lead-idx":a.activeLeadIdx,"active-lead-analyse-value":a.activeLeadAnalyseValue,"analyse-value":((h=a.formatEcgData)===null||h===void 0?void 0:h.processedData.otherParams.AnalyseValue)||[],"enlarge-wave-mode":a.enlargeWaveMode,"q-td-algorithm":((m=a.conventionalECGConfig)===null||m===void 0||(f=m.ecgReviewSetting)===null||f===void 0?void 0:f.QTd_algorithm)||1,"is-sync-analyse-value-check":a.isSyncAnalyseValueCheck,"enlarge-gains":a.enlargeGains,"lead-name-texts-porps":a.LeadNameTextsPorps,"enlarge-speeds":a.enlargeSpeeds},on:{"update:isShowEnlargeWave":function(u){a.isShowEnlargeWave=u},"update:is-show-enlarge-wave":function(u){a.isShowEnlargeWave=u}}},a.$listeners)):a._e(),e("div",{attrs:{id:"wave-from-box"}}),e("div",{staticClass:"scroll-box",style:{width:`${a.width}px`,height:`${a.height}px`}},[a.scrollConfig.isNativeScroll?e("div",{ref:"nativeScroll",staticClass:"native-scroll",on:{scroll:a.nativeScrollFunc}},[e("div",{staticClass:"scroll-empty",style:{width:`${a.vuescrollWH.width}px`,height:`${a.vuescrollWH.height}px`}})]):e("vueScroll",{ref:"vueScroll",attrs:{ops:a.scrollConfig},on:{"handle-scroll":a.handleScroll}},[e("div",{staticClass:"scroll-empty",style:{width:`${a.vuescrollWH.width}px`,height:`${a.vuescrollWH.height}px`}})])],1)],1)},D=[];exports.render=C;exports.staticRenderFns=D;
|
|
@@ -22,7 +22,7 @@ declare class MXMeasuringRuler extends Vue {
|
|
|
22
22
|
protected textIns: Readonly<Text | null>;
|
|
23
23
|
protected fontFamily: string;
|
|
24
24
|
/** 左上,右上,右下,左下 */
|
|
25
|
-
protected circleList: readonly Circle[]
|
|
25
|
+
protected circleList: readonly Circle[];
|
|
26
26
|
protected isMouseDown: Readonly<boolean>;
|
|
27
27
|
protected circleDragPos: Readonly<{
|
|
28
28
|
x: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index2.js"),t=require("@costy-plus/utils"),u=t.withInstall(e.default);exports.default=u;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Vue } from 'vue-property-decorator';
|
|
2
|
+
import { ZRenderType, Group, Rect, ElementEvent, Circle, Text } from 'zrender';
|
|
3
|
+
import { MXMeasuringRulerConfig } from '../../types/MeasuringRuler';
|
|
4
|
+
interface RectBox {
|
|
5
|
+
react: Rect | null;
|
|
6
|
+
text: Text | null;
|
|
7
|
+
/** 左上,右上,右下,左下 */
|
|
8
|
+
circleList: Circle[];
|
|
9
|
+
circleDragPos: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare class MXMeasuringRuler extends Vue {
|
|
15
|
+
/** 前缀 id */
|
|
16
|
+
protected prefixId: string;
|
|
17
|
+
protected width: number;
|
|
18
|
+
protected height: number;
|
|
19
|
+
protected config: MXMeasuringRulerConfig;
|
|
20
|
+
/** 走纸速度 */
|
|
21
|
+
protected speedValue: number;
|
|
22
|
+
/** 小格子距离 */
|
|
23
|
+
protected cellMg: number;
|
|
24
|
+
/** 放大倍数 */
|
|
25
|
+
protected magnification: number;
|
|
26
|
+
/** 增益 */
|
|
27
|
+
protected sens: number;
|
|
28
|
+
protected className: string;
|
|
29
|
+
protected sceneIns: Readonly<ZRenderType | null>;
|
|
30
|
+
protected measuringRulerGroup: Readonly<Group | null>;
|
|
31
|
+
protected rectInsList: readonly RectBox[];
|
|
32
|
+
protected fontFamily: string;
|
|
33
|
+
protected isMouseDown: Readonly<boolean>;
|
|
34
|
+
protected moveReactName: string;
|
|
35
|
+
protected destroyed(): void;
|
|
36
|
+
protected created(): void;
|
|
37
|
+
protected clearCanvas(): void;
|
|
38
|
+
protected initConfig(): void;
|
|
39
|
+
protected mounted(): void;
|
|
40
|
+
protected init(): void;
|
|
41
|
+
protected calcText(): void;
|
|
42
|
+
protected circleHideOrShow(isShow: boolean): void;
|
|
43
|
+
protected sceneAddToEventListener(): void;
|
|
44
|
+
protected sceneRemoveEventListener(): void;
|
|
45
|
+
protected createRectBox(name: string, x: number, y: number): RectBox;
|
|
46
|
+
protected sceneMousedown(e: ElementEvent): void;
|
|
47
|
+
protected scenemousemove(e: ElementEvent): void;
|
|
48
|
+
protected scenemouseup(e: ElementEvent): void;
|
|
49
|
+
protected rectAddToEventListener(): void;
|
|
50
|
+
protected rectDrag(e: ElementEvent): void;
|
|
51
|
+
protected circleAddToEventListener(): void;
|
|
52
|
+
protected circleDragStart(e: ElementEvent): void;
|
|
53
|
+
protected circleDrag(e: ElementEvent): void;
|
|
54
|
+
}
|
|
55
|
+
declare const _sfc_main: typeof MXMeasuringRuler;
|
|
56
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./style/index.css");const I=require("vue"),R=require("../../node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js");require("../../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");const m=require("../../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"),p=require("zrender"),y=require("@costy-plus/utils"),b=e=>e&&typeof e=="object"&&"default"in e?e:{default:e},w=b(I);var D=Object.defineProperty,_=Object.getOwnPropertyDescriptor,u=(e,t,s,r)=>{for(var i=r>1?void 0:r?_(t,s):t,o=e.length-1,c;o>=0;o--)(c=e[o])&&(i=(r?c(t,s,i):c(i))||i);return r&&i&&D(t,s,i),i};exports.default=class extends w.default{constructor(){super(...arguments),this.sceneIns=Object.freeze(null),this.measuringRulerGroup=Object.freeze(null),this.rectInsList=Object.freeze([]),this.fontFamily=Object.freeze("\u5FAE\u8F6F\u96C5\u9ED1"),this.isMouseDown=Object.freeze(!1),this.moveReactName=Object.freeze("")}destroyed(){var e,t;(e=this.measuringRulerGroup)==null||e.removeAll(),(t=this.sceneIns)==null||t.dispose()}created(){this.rectInsList=[],this.measuringRulerGroup=new p.Group({name:"measuringRuler"}),this.initConfig()}clearCanvas(){var e,t;this.rectInsList=[],(e=this.measuringRulerGroup)==null||e.removeAll(),(t=this.sceneIns)==null||t.remove(this.measuringRulerGroup)}initConfig(){var e;(e=this.measuringRulerGroup)==null||e.add(new p.Rect({name:"main-box",style:{fill:"transparent"},shape:{x:0,y:0,width:this.width,height:this.height},cursor:"crosshair"}))}mounted(){this.init()}init(){var t;const e=document.getElementById(`${this.prefixId}mx-measuring-ruler`);this.sceneIns=p.init(e,{width:this.width,height:this.height,devicePixelRatio:2}),(t=this.sceneIns)==null||t.add(this.measuringRulerGroup),this.sceneAddToEventListener(),this.rectAddToEventListener(),this.circleAddToEventListener()}calcText(){var i,o,c,a,n,f,l,h,g,v;let e,t=0,s="",r=0;for(let d=0;d<this.rectInsList.length;d++)if(e=this.rectInsList[d],((i=e.react)==null?void 0:i.name)===this.moveReactName&&((o=e.react)==null?void 0:o.shape.width)){t=y.calcMs(((c=e.react)==null?void 0:c.shape.width)||0,this.speedValue,this.cellMg,this.magnification),s=y.calcMV(((a=e.react)==null?void 0:a.shape.height)||0,this.sens,this.magnification),r=t!==0&&y.calcBpm(t)||0,(v=e.text)==null||v.attr({style:{text:`${t} ms
|
|
2
|
+
${r} bpm
|
|
3
|
+
${s} mV`,x:(((n=e.react)==null?void 0:n.x)||0)+(((f=e.react)==null?void 0:f.shape.x)||0)+(((l=e.react)==null?void 0:l.shape.width)||0)+20,y:(((h=e.react)==null?void 0:h.y)||0)+(((g=e.react)==null?void 0:g.shape.y)||0)}});break}e=null}circleHideOrShow(e){var s;let t;for(let r=0;r<this.rectInsList.length;r++)if(t=this.rectInsList[r],((s=t.react)==null?void 0:s.name)===this.moveReactName){t.circleList.forEach(i=>e?i.show():i.hide());break}t=null}sceneAddToEventListener(){var t,s,r,i;const e=o=>{var c;o.event.preventDefault(),this.clearCanvas(),this.initConfig(),(c=this.sceneIns)==null||c.add(this.measuringRulerGroup),this.$emit("notifyMeasuringRuler",{name:"contextmenu"})};(t=this.sceneIns)==null||t.on("contextmenu",e),(s=this.sceneIns)==null||s.on("mousedown",this.sceneMousedown),(r=this.sceneIns)==null||r.on("mousemove",this.scenemousemove),(i=this.sceneIns)==null||i.on("mouseup",this.scenemouseup),this.$once("hook:beforeDestroy",()=>{var o,c,a,n;(o=this.sceneIns)==null||o.off("contextmenu",e),(c=this.sceneIns)==null||c.off("mousedown",this.sceneMousedown),(a=this.sceneIns)==null||a.off("mousemove",this.scenemousemove),(n=this.sceneIns)==null||n.off("mouseup",this.scenemouseup)})}sceneRemoveEventListener(){var e,t,s;(e=this.sceneIns)==null||e.off("mousedown",this.sceneMousedown),(t=this.sceneIns)==null||t.off("mousemove",this.scenemousemove),(s=this.sceneIns)==null||s.off("mouseup",this.scenemouseup)}createRectBox(e,t,s){this.moveReactName=e;const r=new p.Rect({name:e,style:{stroke:this.config.stroke,lineWidth:this.config.lineW,fill:"transparent"},shape:{x:t,y:s},ondrag:this.rectDrag,cursor:"move",draggable:!0}),i=new p.Text({style:{lineHeight:this.config.textFontSize+4,fontSize:this.config.textFontSize,fill:this.config.textColor,fontFamily:this.fontFamily,fontWeight:"bold"}}),o=[];let c;const a=["nw-resize","ne-resize","se-resize","sw-resize"];for(let n=0;n<4;n++)c=new p.Circle({name:`${n}_circle`,customName:e,style:{stroke:this.config.circleLinestroke,lineWidth:this.config.circleLineW,fill:"transparent"},shape:{r:12},cursor:a[n],zlevel:1,draggable:!0,ondrag:this.circleDrag,ondragstart:this.circleDragStart}),c.hide(),this.measuringRulerGroup.add(c),o.push(c);return this.measuringRulerGroup.add(i),this.measuringRulerGroup.add(r),{react:r,text:i,circleList:o,circleDragPos:{x:0,y:0}}}sceneMousedown(e){var t;if(console.log("sceneMousedown",e),e.event.button===0)if(this.isMouseDown=!0,this.rectInsList.length===0)this.rectInsList.push(this.createRectBox("react_1",e.offsetX,e.offsetY));else{let s=!1,r;for(let i=0;i<this.rectInsList.length&&(r=this.rectInsList[i],s=((t=r.react)==null?void 0:t.contain(e.offsetX,e.offsetY))||!1,!s);i++);r=null,s||this.rectInsList.push(this.createRectBox(`react_${this.rectInsList.length+1}`,e.offsetX,e.offsetY)),console.log("isContain",s)}}scenemousemove(e){var s,r;if(!this.isMouseDown)return;let t;for(let i=0;i<this.rectInsList.length;i++)if(t=this.rectInsList[i],((s=t.react)==null?void 0:s.name)===this.moveReactName){(r=t.react)==null||r.attr({shape:{width:e.offsetX-t.react.shape.x,height:e.offsetY-t.react.shape.y}});break}t=null}scenemouseup(e){var s,r,i,o,c,a,n,f,l,h,g,v,d,L;this.isMouseDown=!1;let t;for(let x=0;x<this.rectInsList.length;x++)if(t=this.rectInsList[x],((s=t.react)==null?void 0:s.name)===this.moveReactName){(r=t.react)==null||r.attr({shape:{width:e.offsetX-t.react.shape.x,height:e.offsetY-t.react.shape.y}}),t.circleList[0].attr({x:(i=t.react)==null?void 0:i.shape.x,y:(o=t.react)==null?void 0:o.shape.y}),t.circleList[1].attr({x:e.offsetX-(((c=t.react)==null?void 0:c.shape.x)||0)+(((a=t.react)==null?void 0:a.shape.x)||0),y:(n=t.react)==null?void 0:n.shape.y}),t.circleList[2].attr({x:e.offsetX-(((f=t.react)==null?void 0:f.shape.x)||0)+(((l=t.react)==null?void 0:l.shape.x)||0),y:e.offsetY-(((h=t.react)==null?void 0:h.shape.y)||0)+(((g=t.react)==null?void 0:g.shape.y)||0)}),t.circleList[3].attr({x:(v=t.react)==null?void 0:v.shape.x,y:e.offsetY-(((d=t.react)==null?void 0:d.shape.y)||0)+(((L=t.react)==null?void 0:L.shape.y)||0)}),this.calcText(),this.circleHideOrShow(!0);break}t=null,this.moveReactName=""}rectAddToEventListener(){this.$once("hook:beforeDestroy",()=>{var t;let e;for(let s=0;s<this.rectInsList.length;s++)e=this.rectInsList[s],(t=e.react)==null||t.off("drag",this.rectDrag);e=null})}rectDrag(e){var s,r;console.log("rectDrag",e),this.moveReactName=e.target.name;let t;for(let i=0;i<this.rectInsList.length;i++){if(t=this.rectInsList[i],((s=t.react)==null?void 0:s.name)===this.moveReactName){t.circleList.forEach(o=>{o.attr({shape:{cx:e.target.x,cy:e.target.y}})}),this.calcText();break}(r=t.react)==null||r.off("drag",this.rectDrag)}t=null,this.moveReactName="",console.log("rectDrag--\u8FD9\u91CC")}circleAddToEventListener(){this.$once("hook:beforeDestroy",()=>{var t;let e;for(let s=0;s<this.rectInsList.length;s++)e=this.rectInsList[s],(t=e.circleList)==null||t.forEach(r=>{r.off("drag",this.circleDrag),r.off("dragstart",this.circleDragStart)});e=null})}circleDragStart(e){var s;console.log("circleDragStart--\u8FD9\u91CC",e),this.moveReactName=e.target.customName;let t;for(let r=0;r<this.rectInsList.length;r++)if(t=this.rectInsList[r],((s=t.react)==null?void 0:s.name)===this.moveReactName){t.circleDragPos.x=e.offsetX,t.circleDragPos.y=e.offsetY;break}t=null,this.moveReactName=""}circleDrag(e){var o,c;console.log("circleDrag--\u8FD9\u91CC",e),this.moveReactName=e.target.customName;const t=parseInt(e.target.name);if(isNaN(t))return;let s,r=0,i=0;for(let a=0;a<this.rectInsList.length;a++)if(s=this.rectInsList[a],((o=s.react)==null?void 0:o.name)===this.moveReactName){r=e.offsetX-s.circleDragPos.x,i=e.offsetY-s.circleDragPos.y,s.circleDragPos.x=e.offsetX,s.circleDragPos.y=e.offsetY;let n=s.react.shape.x,f=s.react.shape.y,l=s.react.shape.width,h=s.react.shape.height;console.log("moveX",r,i),t===0?(n+=r,f+=i,r<0?l+=-r:l-=r,i<0?h+=-i:h-=i,s.circleList[1].attr({y:e.target.y}),s.circleList[3].attr({x:e.target.x})):t===1?(f+=i,l+=r,i<0?h+=-i:h-=i,s.circleList[0].attr({y:e.target.y}),s.circleList[2].attr({x:e.target.x})):t===2?(l+=r,h+=i,s.circleList[3].attr({y:e.target.y}),s.circleList[1].attr({x:e.target.x})):t===3&&(n+=r,r<0?l+=-r:l-=r,h+=i,s.circleList[2].attr({y:e.target.y}),s.circleList[0].attr({x:e.target.x})),(c=s.react)==null||c.attr({shape:{x:n,y:f,width:l,height:h}}),this.calcText();break}s=null,this.moveReactName=""}};u([m.Prop({default:()=>""})],exports.default.prototype,"prefixId",2);u([m.Prop({required:!0,type:Number,validator:e=>typeof e=="number"})],exports.default.prototype,"width",2);u([m.Prop({required:!0,type:Number,validator:e=>typeof e=="number"})],exports.default.prototype,"height",2);u([m.Prop({default:()=>({lineW:.6,stroke:"#00C800",circleLineW:1,circleLinestroke:"blue",textColor:"#000",textFontSize:12})})],exports.default.prototype,"config",2);u([m.Prop({required:!0})],exports.default.prototype,"speedValue",2);u([m.Prop({required:!0})],exports.default.prototype,"cellMg",2);u([m.Prop({default:1})],exports.default.prototype,"magnification",2);u([m.Prop({default:1})],exports.default.prototype,"sens",2);u([m.Prop({default:()=>""})],exports.default.prototype,"className",2);exports.default=u([R.default({name:"MXMeasuringRuler"})],exports.default);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var s=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{class:e.className,style:{width:`${e.width}px`,height:`${e.height}px`},attrs:{id:e.prefixId+"mx-measuring-ruler"}})},a=[];exports.render=s;exports.staticRenderFns=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./index.vue_vue_type_script_lang.js"),t=require("./index.vue_vue_type_template_lang.js"),_=require("../../_virtual/vueComponentNormalizer.js"),n={};var r=_.default(u.default,t.render,t.staticRenderFns,!1,l,null,null,null);function l(s){for(let e in n)this[e]=n[e]}const o=function(){return r.exports}();exports.default=o;
|
|
File without changes
|
package/dist/lib/src/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { default as MXECGWaveComponents } from './EcgWave';
|
|
|
4
4
|
export { default as MXCommonWaveWaveComponents } from './CommonWaveForm';
|
|
5
5
|
export { default as MXMonitorWaveComponents } from './monitorWave';
|
|
6
6
|
export { default as MXMeasuringRuler } from './MeasuringRuler';
|
|
7
|
+
export { default as MeasuringRulerMore } from './MeasuringRulerMore';
|
|
7
8
|
export { default as MXParallelRuler } from './ParallelRuler';
|
|
8
9
|
export { default as MXEnlargeWave } from './EnlargeWave';
|
|
9
10
|
export { default as MXFCGWaveComponents } from './FCGWave';
|
package/dist/lib/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./Text/index.js"),t=require("./BackgroundGrid/index.js"),i=require("./EcgWave/index.js"),d=require("./CommonWaveForm/index.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./Text/index.js"),t=require("./BackgroundGrid/index.js"),i=require("./EcgWave/index.js"),d=require("./CommonWaveForm/index.js"),u=require("./monitorWave/index.js"),o=require("./MeasuringRuler/index.js"),a=require("./MeasuringRulerMore/index.js"),s=require("./ParallelRuler/index.js"),l=require("./EnlargeWave/index.js"),x=require("./FCGWave/index.js"),c=require("./HFECGWave/index.js"),f=require("./ELTree/index.js"),M=require("./TurnPage/index.js"),j=require("./Menu/index.js"),g=require("./SideBar/index.js"),q=require("./MedexTab/index.js"),m=require("./MedexButton/index.js"),X=require("./MedexDialog/index.js"),$=require("./UEditor/index.js"),n=require("zrender");exports.MXText=r.default;exports.MXBackgroundGrid=t.default;exports.MXECGWaveComponents=i.default;exports.MXCommonWaveWaveComponents=d.default;exports.MXMonitorWaveComponents=u.default;exports.MXMeasuringRuler=o.default;exports.MeasuringRulerMore=a.default;exports.MXParallelRuler=s.default;exports.MXEnlargeWave=l.default;exports.MXFCGWaveComponents=x.default;exports.MXHFECGWaveComponents=c.default;exports.MXTree=f.default;exports.MXTurnPage=M.default;exports.MXMenuComponents=j.default;exports.MXSideBar=g.default;exports.MXTab=q.default;exports.MXButton=m.default;exports.MXDialog=X.default;exports.MXUEditor=$.default;for(const e in n)e!=="default"&&!exports.hasOwnProperty(e)&&Object.defineProperty(exports,e,{enumerable:!0,get:()=>n[e]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "costy-plus",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75-0",
|
|
4
4
|
"main": "dist/lib/index.js",
|
|
5
5
|
"module": "dist/es/index.js",
|
|
6
6
|
"types": "dist/es/index.d.ts",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "",
|
|
21
21
|
"typings": "dist/lib/index.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@costy-plus/utils": "
|
|
23
|
+
"@costy-plus/utils": "workspace:*",
|
|
24
24
|
"element-ui": "~2.15.11",
|
|
25
25
|
"vuescroll": "4.17.5",
|
|
26
26
|
"zrender": "5.4.0"
|