costy-plus 1.1.1-0 → 1.1.4-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.
@@ -84,7 +84,8 @@ var C = function() {
84
84
  "enlarge-gains": a.enlargeGains,
85
85
  "lead-name-texts-porps": a.LeadNameTextsPorps,
86
86
  "enlarge-speeds": a.enlargeSpeeds,
87
- "prefix-id": a.prefixId
87
+ "prefix-id": a.prefixId,
88
+ magnification: a.magnification
88
89
  },
89
90
  on: {
90
91
  "update:isShowEnlargeWave": function(t) {
@@ -25,6 +25,8 @@ export default class Methods extends Vue {
25
25
  protected formatEcgData: EcgClass | null;
26
26
  protected leadModel: LeadModel;
27
27
  protected leadConfig: MXLeadConfig;
28
+ /** 双击波形放大倍数 */
29
+ protected magnification: number;
28
30
  protected longLeadConfig: {
29
31
  leadIdxs: number[];
30
32
  leadNames: number[];
@@ -941,6 +941,11 @@ m([
941
941
  })
942
942
  })
943
943
  ], u.prototype, "leadConfig", 2);
944
+ m([
945
+ w({
946
+ default: 5
947
+ })
948
+ ], u.prototype, "magnification", 2);
944
949
  m([
945
950
  w({
946
951
  default: () => ({
@@ -10,14 +10,15 @@ import "../../node_modules/.pnpm/vue-property-decorator@9.1.2_vue-class-componen
10
10
  import { Button as a, Checkbox as m, Descriptions as c, DescriptionsItem as h } from "element-ui";
11
11
  import u from "../BackgroundGrid/index2.js";
12
12
  import f from "../MeasuringRuler/index2.js";
13
- import { init as g } from "zrender";
14
- import v from "./medthod.js";
15
- var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, M = (e, i, n, r) => {
16
- for (var t = r > 1 ? void 0 : r ? w(i, n) : i, o = e.length - 1, s; o >= 0; o--)
13
+ import g from "../MeasuringRulerMore/index2.js";
14
+ import { init as v } from "zrender";
15
+ import x from "./medthod.js";
16
+ var w = Object.defineProperty, M = Object.getOwnPropertyDescriptor, W = (e, i, n, r) => {
17
+ for (var t = r > 1 ? void 0 : r ? M(i, n) : i, o = e.length - 1, s; o >= 0; o--)
17
18
  (s = e[o]) && (t = (r ? s(i, n, t) : s(t)) || t);
18
- return r && t && x(i, n, t), t;
19
+ return r && t && w(i, n, t), t;
19
20
  };
20
- let p = class extends d(v) {
21
+ let p = class extends d(x) {
21
22
  mounted() {
22
23
  this.init();
23
24
  }
@@ -28,7 +29,7 @@ let p = class extends d(v) {
28
29
  const e = document.getElementById(
29
30
  `${this.prefixId}enlarge-wave-from-box`
30
31
  );
31
- this.sceneIns = g(e, {
32
+ this.sceneIns = v(e, {
32
33
  width: this.containerWH.width,
33
34
  height: this.containerWH.height,
34
35
  devicePixelRatio: 2
@@ -45,12 +46,13 @@ let p = class extends d(v) {
45
46
  this.createLeadHead(), this.createLeadName(), this.createSensAndSpeed(), this.createWaveFrom(), this.drawWaveFrom(), this.drawMeasureLine(), this.calculatedValue(), this.electricAxisAnalyse(), this.processEnlargeAnalysis();
46
47
  }
47
48
  };
48
- p = M([
49
+ p = W([
49
50
  l({
50
51
  name: "EnlargeWaveView",
51
52
  components: {
52
53
  MXBackgroundGrid: u,
53
54
  MXMeasuringRuler: f,
55
+ MeasuringRulerMore: g,
54
56
  [a.name]: a,
55
57
  [m.name]: m,
56
58
  [c.name]: c,
@@ -21,7 +21,7 @@ declare class MXMeasuringRuler extends Vue {
21
21
  protected rectIns: Readonly<Rect | null>;
22
22
  protected textIns: Readonly<Text | null>;
23
23
  protected fontFamily: string;
24
- /** 左上,右上,右下,左下 */
24
+ /** 左上,右上,右下,左下,上,右,下,左 */
25
25
  protected circleList: readonly Circle[];
26
26
  protected isMouseDown: Readonly<boolean>;
27
27
  protected circleDragPos: Readonly<{