costy-plus 1.0.10-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.
Files changed (200) hide show
  1. package/README.md +1 -0
  2. package/dist/es/_virtual/_commonjsHelpers.js +4 -0
  3. package/dist/es/_virtual/vueComponentNormalizer.js +30 -0
  4. package/dist/es/_virtual/vuescroll-native.js +4 -0
  5. package/dist/es/index.d.ts +5 -0
  6. package/dist/es/index.js +26 -0
  7. package/dist/es/node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js +201 -0
  8. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
  9. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +12 -0
  10. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +13 -0
  11. package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +10 -0
  12. package/dist/es/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +1188 -0
  13. package/dist/es/src/BackgroundGrid/PropsMinix.d.ts +12 -0
  14. package/dist/es/src/BackgroundGrid/PropsMinix.js +60 -0
  15. package/dist/es/src/BackgroundGrid/index.js +6 -0
  16. package/dist/es/src/BackgroundGrid/index.vue.d.ts +19 -0
  17. package/dist/es/src/BackgroundGrid/index.vue_vue_type_script_lang.js +118 -0
  18. package/dist/es/src/BackgroundGrid/index.vue_vue_type_template_lang.js +20 -0
  19. package/dist/es/src/BackgroundGrid/index2.js +24 -0
  20. package/dist/es/src/ECGWave/index.js +6 -0
  21. package/dist/es/src/ECGWave/index.vue.d.ts +15 -0
  22. package/dist/es/src/ECGWave/index.vue_vue_type_script_lang.js +90 -0
  23. package/dist/es/src/ECGWave/index.vue_vue_type_template_lang.js +118 -0
  24. package/dist/es/src/ECGWave/index2.js +24 -0
  25. package/dist/es/src/ECGWave/method.js +841 -0
  26. package/dist/es/src/ECGWave/style/index.css +46 -0
  27. package/dist/es/src/EnlargeWave/index.js +6 -0
  28. package/dist/es/src/EnlargeWave/index.vue.d.ts +10 -0
  29. package/dist/es/src/EnlargeWave/index.vue_vue_type_script_lang.js +56 -0
  30. package/dist/es/src/EnlargeWave/index.vue_vue_type_template_lang.js +178 -0
  31. package/dist/es/src/EnlargeWave/index2.js +24 -0
  32. package/dist/es/src/EnlargeWave/medthod.d.ts +185 -0
  33. package/dist/es/src/EnlargeWave/medthod.js +753 -0
  34. package/dist/es/src/EnlargeWave/style/index.css +93 -0
  35. package/dist/es/src/FCGWave/components/And2V5LeadPower.js +24 -0
  36. package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1114 -0
  37. package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +31 -0
  38. package/dist/es/src/FCGWave/components/LeadPower12.js +24 -0
  39. package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +376 -0
  40. package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +31 -0
  41. package/dist/es/src/FCGWave/components/PowerHistogram.js +24 -0
  42. package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +256 -0
  43. package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +31 -0
  44. package/dist/es/src/FCGWave/index.js +6 -0
  45. package/dist/es/src/FCGWave/index.vue.d.ts +6 -0
  46. package/dist/es/src/FCGWave/index.vue_vue_type_script_lang.js +28 -0
  47. package/dist/es/src/FCGWave/index.vue_vue_type_template_lang.js +38 -0
  48. package/dist/es/src/FCGWave/index2.js +24 -0
  49. package/dist/es/src/FCGWave/method.d.ts +49 -0
  50. package/dist/es/src/FCGWave/method.js +94 -0
  51. package/dist/es/src/FCGWave/style/index.css +43 -0
  52. package/dist/es/src/HFECGWave/components/Detail.js +24 -0
  53. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +293 -0
  54. package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +134 -0
  55. package/dist/es/src/HFECGWave/components/Routine.js +24 -0
  56. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +302 -0
  57. package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +47 -0
  58. package/dist/es/src/HFECGWave/index.js +6 -0
  59. package/dist/es/src/HFECGWave/index.vue.d.ts +6 -0
  60. package/dist/es/src/HFECGWave/index.vue_vue_type_script_lang.js +26 -0
  61. package/dist/es/src/HFECGWave/index.vue_vue_type_template_lang.js +36 -0
  62. package/dist/es/src/HFECGWave/index2.js +24 -0
  63. package/dist/es/src/HFECGWave/method.js +86 -0
  64. package/dist/es/src/HFECGWave/style/index.css +58 -0
  65. package/dist/es/src/MagnifierWave/index.js +24 -0
  66. package/dist/es/src/MagnifierWave/index.vue.d.ts +11 -0
  67. package/dist/es/src/MagnifierWave/index.vue_vue_type_script_lang.js +49 -0
  68. package/dist/es/src/MagnifierWave/index.vue_vue_type_template_lang.js +34 -0
  69. package/dist/es/src/MagnifierWave/medthod.d.ts +78 -0
  70. package/dist/es/src/MagnifierWave/medthod.js +276 -0
  71. package/dist/es/src/MagnifierWave/style/index.css +22 -0
  72. package/dist/es/src/MeasuringRuler/index.js +6 -0
  73. package/dist/es/src/MeasuringRuler/index.vue.d.ts +47 -0
  74. package/dist/es/src/MeasuringRuler/index.vue_vue_type_script_lang.js +300 -0
  75. package/dist/es/src/MeasuringRuler/index.vue_vue_type_template_lang.js +17 -0
  76. package/dist/es/src/MeasuringRuler/index2.js +24 -0
  77. package/dist/es/src/MeasuringRuler/style/index.css +0 -0
  78. package/dist/es/src/ParallelRuler/index.js +6 -0
  79. package/dist/es/src/ParallelRuler/index.vue.d.ts +46 -0
  80. package/dist/es/src/ParallelRuler/index.vue_vue_type_script_lang.js +312 -0
  81. package/dist/es/src/ParallelRuler/index.vue_vue_type_template_lang.js +17 -0
  82. package/dist/es/src/ParallelRuler/index2.js +24 -0
  83. package/dist/es/src/Text/index.js +6 -0
  84. package/dist/es/src/Text/index.vue.d.ts +7 -0
  85. package/dist/es/src/Text/index.vue_vue_type_script_lang.js +26 -0
  86. package/dist/es/src/Text/index.vue_vue_type_template_lang.js +10 -0
  87. package/dist/es/src/Text/index2.js +24 -0
  88. package/dist/es/src/Text/style/index.css +6 -0
  89. package/dist/es/src/Text/style/other.css +3 -0
  90. package/dist/es/src/index.d.ts +8 -0
  91. package/dist/es/src/index.js +18 -0
  92. package/dist/es/static/images/heart.jpg +0 -0
  93. package/dist/es/static/images/heartSection.jpg +0 -0
  94. package/dist/es/typings/Common.d.ts +140 -0
  95. package/dist/es/typings/MXBackgroundGrid.d.ts +24 -0
  96. package/dist/es/typings/MXECGWaveComponents.d.ts +151 -0
  97. package/dist/es/typings/MXFCGWaveComponents.d.ts +10 -0
  98. package/dist/es/typings/MXMeasuringRuler.d.ts +14 -0
  99. package/dist/es/typings/MXParallelRuler.d.ts +14 -0
  100. package/dist/es/typings/component.d.ts +3 -0
  101. package/dist/lib/_virtual/_commonjsHelpers.js +1 -0
  102. package/dist/lib/_virtual/vueComponentNormalizer.js +1 -0
  103. package/dist/lib/_virtual/vuescroll-native.js +1 -0
  104. package/dist/lib/index.d.ts +5 -0
  105. package/dist/lib/index.js +1 -0
  106. package/dist/lib/node_modules/.pnpm/vue-class-component@7.2.6_vue@2.6.14/node_modules/vue-class-component/dist/vue-class-component.esm.js +5 -0
  107. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
  108. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +1 -0
  109. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +1 -0
  110. package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +1 -0
  111. package/dist/lib/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +4 -0
  112. package/dist/lib/src/BackgroundGrid/PropsMinix.d.ts +12 -0
  113. package/dist/lib/src/BackgroundGrid/PropsMinix.js +1 -0
  114. package/dist/lib/src/BackgroundGrid/index.js +1 -0
  115. package/dist/lib/src/BackgroundGrid/index.vue.d.ts +19 -0
  116. package/dist/lib/src/BackgroundGrid/index.vue_vue_type_script_lang.js +1 -0
  117. package/dist/lib/src/BackgroundGrid/index.vue_vue_type_template_lang.js +1 -0
  118. package/dist/lib/src/BackgroundGrid/index2.js +1 -0
  119. package/dist/lib/src/ECGWave/index.js +1 -0
  120. package/dist/lib/src/ECGWave/index.vue.d.ts +15 -0
  121. package/dist/lib/src/ECGWave/index.vue_vue_type_script_lang.js +1 -0
  122. package/dist/lib/src/ECGWave/index.vue_vue_type_template_lang.js +1 -0
  123. package/dist/lib/src/ECGWave/index2.js +1 -0
  124. package/dist/lib/src/ECGWave/method.js +1 -0
  125. package/dist/lib/src/ECGWave/style/index.css +46 -0
  126. package/dist/lib/src/EnlargeWave/index.js +1 -0
  127. package/dist/lib/src/EnlargeWave/index.vue.d.ts +10 -0
  128. package/dist/lib/src/EnlargeWave/index.vue_vue_type_script_lang.js +1 -0
  129. package/dist/lib/src/EnlargeWave/index.vue_vue_type_template_lang.js +1 -0
  130. package/dist/lib/src/EnlargeWave/index2.js +1 -0
  131. package/dist/lib/src/EnlargeWave/medthod.d.ts +185 -0
  132. package/dist/lib/src/EnlargeWave/medthod.js +1 -0
  133. package/dist/lib/src/EnlargeWave/style/index.css +93 -0
  134. package/dist/lib/src/FCGWave/components/And2V5LeadPower.js +1 -0
  135. package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1 -0
  136. package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +1 -0
  137. package/dist/lib/src/FCGWave/components/LeadPower12.js +1 -0
  138. package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +1 -0
  139. package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +1 -0
  140. package/dist/lib/src/FCGWave/components/PowerHistogram.js +1 -0
  141. package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +3 -0
  142. package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +1 -0
  143. package/dist/lib/src/FCGWave/index.js +1 -0
  144. package/dist/lib/src/FCGWave/index.vue.d.ts +6 -0
  145. package/dist/lib/src/FCGWave/index.vue_vue_type_script_lang.js +1 -0
  146. package/dist/lib/src/FCGWave/index.vue_vue_type_template_lang.js +1 -0
  147. package/dist/lib/src/FCGWave/index2.js +1 -0
  148. package/dist/lib/src/FCGWave/method.d.ts +49 -0
  149. package/dist/lib/src/FCGWave/method.js +1 -0
  150. package/dist/lib/src/FCGWave/style/index.css +43 -0
  151. package/dist/lib/src/HFECGWave/components/Detail.js +1 -0
  152. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -0
  153. package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +1 -0
  154. package/dist/lib/src/HFECGWave/components/Routine.js +1 -0
  155. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -0
  156. package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +1 -0
  157. package/dist/lib/src/HFECGWave/index.js +1 -0
  158. package/dist/lib/src/HFECGWave/index.vue.d.ts +6 -0
  159. package/dist/lib/src/HFECGWave/index.vue_vue_type_script_lang.js +1 -0
  160. package/dist/lib/src/HFECGWave/index.vue_vue_type_template_lang.js +1 -0
  161. package/dist/lib/src/HFECGWave/index2.js +1 -0
  162. package/dist/lib/src/HFECGWave/method.js +1 -0
  163. package/dist/lib/src/HFECGWave/style/index.css +58 -0
  164. package/dist/lib/src/MagnifierWave/index.js +1 -0
  165. package/dist/lib/src/MagnifierWave/index.vue.d.ts +11 -0
  166. package/dist/lib/src/MagnifierWave/index.vue_vue_type_script_lang.js +1 -0
  167. package/dist/lib/src/MagnifierWave/index.vue_vue_type_template_lang.js +1 -0
  168. package/dist/lib/src/MagnifierWave/medthod.d.ts +78 -0
  169. package/dist/lib/src/MagnifierWave/medthod.js +1 -0
  170. package/dist/lib/src/MagnifierWave/style/index.css +22 -0
  171. package/dist/lib/src/MeasuringRuler/index.js +1 -0
  172. package/dist/lib/src/MeasuringRuler/index.vue.d.ts +47 -0
  173. package/dist/lib/src/MeasuringRuler/index.vue_vue_type_script_lang.js +3 -0
  174. package/dist/lib/src/MeasuringRuler/index.vue_vue_type_template_lang.js +1 -0
  175. package/dist/lib/src/MeasuringRuler/index2.js +1 -0
  176. package/dist/lib/src/MeasuringRuler/style/index.css +0 -0
  177. package/dist/lib/src/ParallelRuler/index.js +1 -0
  178. package/dist/lib/src/ParallelRuler/index.vue.d.ts +46 -0
  179. package/dist/lib/src/ParallelRuler/index.vue_vue_type_script_lang.js +1 -0
  180. package/dist/lib/src/ParallelRuler/index.vue_vue_type_template_lang.js +1 -0
  181. package/dist/lib/src/ParallelRuler/index2.js +1 -0
  182. package/dist/lib/src/Text/index.js +1 -0
  183. package/dist/lib/src/Text/index.vue.d.ts +7 -0
  184. package/dist/lib/src/Text/index.vue_vue_type_script_lang.js +1 -0
  185. package/dist/lib/src/Text/index.vue_vue_type_template_lang.js +1 -0
  186. package/dist/lib/src/Text/index2.js +1 -0
  187. package/dist/lib/src/Text/style/index.css +6 -0
  188. package/dist/lib/src/Text/style/other.css +3 -0
  189. package/dist/lib/src/index.d.ts +8 -0
  190. package/dist/lib/src/index.js +1 -0
  191. package/dist/lib/static/images/heart.jpg +0 -0
  192. package/dist/lib/static/images/heartSection.jpg +0 -0
  193. package/dist/lib/typings/Common.d.ts +140 -0
  194. package/dist/lib/typings/MXBackgroundGrid.d.ts +24 -0
  195. package/dist/lib/typings/MXECGWaveComponents.d.ts +151 -0
  196. package/dist/lib/typings/MXFCGWaveComponents.d.ts +10 -0
  197. package/dist/lib/typings/MXMeasuringRuler.d.ts +14 -0
  198. package/dist/lib/typings/MXParallelRuler.d.ts +14 -0
  199. package/dist/lib/typings/component.d.ts +3 -0
  200. package/package.json +27 -0
@@ -0,0 +1,293 @@
1
+ var N = Object.defineProperty, j = Object.defineProperties;
2
+ var T = Object.getOwnPropertyDescriptors;
3
+ var R = Object.getOwnPropertySymbols;
4
+ var _ = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
5
+ var G = (t, i, e) => i in t ? N(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e, H = (t, i) => {
6
+ for (var e in i || (i = {}))
7
+ _.call(i, e) && G(t, e, i[e]);
8
+ if (R)
9
+ for (var e of R(i))
10
+ A.call(i, e) && G(t, e, i[e]);
11
+ return t;
12
+ }, L = (t, i) => j(t, T(i));
13
+ import "element-ui/lib/theme-chalk/row.css";
14
+ import "element-ui/lib/theme-chalk/col.css";
15
+ import "element-ui/lib/theme-chalk/input-number.css";
16
+ import q from "vue";
17
+ import $ 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";
18
+ import "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js";
19
+ import { Prop as d } from "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js";
20
+ import { Watch as m } from "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js";
21
+ import { LeadNameTexts as u, getStepForSpeed as E, getActualY as M } from "@costy-plus/utils";
22
+ import { util as X, Group as x, init as V, Rect as Y, Image as J, Polyline as K, Text as Q } from "zrender";
23
+ import U from "../../BackgroundGrid/index2.js";
24
+ import { Row as z, Col as k, InputNumber as P } from "element-ui";
25
+ var Z = Object.defineProperty, tt = Object.getOwnPropertyDescriptor, a = (t, i, e, o) => {
26
+ for (var s = o > 1 ? void 0 : o ? tt(i, e) : i, r = t.length - 1, n; r >= 0; r--)
27
+ (n = t[r]) && (s = (o ? n(i, e, s) : n(s)) || s);
28
+ return o && s && Z(i, e, s), s;
29
+ };
30
+ let h = class extends q {
31
+ constructor() {
32
+ super(...arguments), this.AssistCtx = Object.freeze(null), this.AssistCanvas = Object.freeze(null), this.sceneIns = Object.freeze(null), this.waveFormGroup = Object.freeze(null), this.splitLineGroup = Object.freeze(null), this.rows = Object.freeze(3), this.columns = Object.freeze(4), this.splitLineW = Object.freeze(5), this.splitBlockHeight = 0, this.splitBlockWidth = 0, this.tableHeaderList = [], this.notchInfoQRS = [], this.notchInfoToatolQRS = {
33
+ col0: 0,
34
+ col1: 0,
35
+ col2: 0
36
+ };
37
+ }
38
+ get tableWH() {
39
+ return {
40
+ width: 180,
41
+ height: this.height
42
+ };
43
+ }
44
+ get canvasContainer() {
45
+ return {
46
+ width: this.width - this.tableWH.width - 20,
47
+ height: this.height
48
+ };
49
+ }
50
+ get tableItemH() {
51
+ return (this.height - 4) / (this.tableHeaderList.length + 2);
52
+ }
53
+ watchHeardBeat(t) {
54
+ this.notchInfoQRS = (t == null ? void 0 : t.NotchInfoQRS) || [], this.drawWaveForm(), console.log("heardBeat"), this.calcNotchInfoToatolQRS();
55
+ }
56
+ watchWidth() {
57
+ this.repaint();
58
+ }
59
+ watchHeight() {
60
+ this.repaint();
61
+ }
62
+ watchFormatData() {
63
+ this.repaint();
64
+ }
65
+ repaint() {
66
+ var t, i;
67
+ this.calcConfig(), (t = this.sceneIns) == null || t.clear(), (i = this.sceneIns) == null || i.resize({
68
+ width: this.canvasContainer.width,
69
+ height: this.canvasContainer.height
70
+ }), this.combinationDrawing();
71
+ }
72
+ destroyed() {
73
+ var t;
74
+ (t = this.sceneIns) == null || t.dispose();
75
+ }
76
+ created() {
77
+ this.initConfig();
78
+ }
79
+ initConfig() {
80
+ var t, i;
81
+ this.calcConfig(), this.notchInfoQRS = X.clone(((t = this.heardBeat) == null ? void 0 : t.NotchInfoQRS) || []), this.calcNotchInfoToatolQRS(), this.splitLineGroup = new x({
82
+ name: "splitLine"
83
+ }), this.waveFormGroup = new x({
84
+ name: "waveForm"
85
+ }), this.tableHeaderList = ((i = this.formatData) == null ? void 0 : i.processedData.originData.Data.map(
86
+ (e, o) => u[o]
87
+ )) || [];
88
+ }
89
+ mounted() {
90
+ this.initWaveFormPeer(), this.combinationDrawing();
91
+ }
92
+ combinationDrawing() {
93
+ this.drawSplitBlock(), this.drawWaveForm();
94
+ }
95
+ calcNotchInfoToatolQRS() {
96
+ let t = 0, i = 0, e = 0;
97
+ this.notchInfoQRS.forEach((o) => {
98
+ t += o[0], i += o[1], e += o[2];
99
+ }), this.notchInfoToatolQRS.col0 = t, this.notchInfoToatolQRS.col1 = i, this.notchInfoToatolQRS.col2 = e, this.$emit("notifyModifyHeardBeat", L(H({}, this.heardBeat), {
100
+ NotchInfoQRS: this.notchInfoQRS
101
+ }));
102
+ }
103
+ handleChange(t, i, e) {
104
+ this.notchInfoQRS[i].splice(e, 1, t || 0), this.calcNotchInfoToatolQRS();
105
+ }
106
+ calcConfig() {
107
+ this.splitBlockHeight = (this.canvasContainer.height - this.splitLineW * (this.rows - 1) - this.gridConfig.lineWidth * this.rows * 2) / this.rows, this.splitBlockWidth = (this.canvasContainer.width - this.splitLineW * (this.columns - 1) - this.gridConfig.lineWidth * this.columns * 2) / this.columns;
108
+ }
109
+ initWaveFormPeer() {
110
+ const t = document.getElementById("detail-from-box");
111
+ this.sceneIns = V(t, {
112
+ width: this.canvasContainer.width,
113
+ height: this.canvasContainer.height,
114
+ devicePixelRatio: 2
115
+ });
116
+ const i = document.getElementById(
117
+ "MXDetail_Grid"
118
+ );
119
+ this.AssistCanvas = i, this.AssistCtx = i.getContext("2d");
120
+ }
121
+ drawSplitBlock() {
122
+ var e, o, s, r, n;
123
+ (e = this.splitLineGroup) != null && e.childCount() && ((o = this.sceneIns) == null || o.remove(this.splitLineGroup), this.splitLineGroup.removeAll());
124
+ let t = 0, i = 0;
125
+ for (let l = 1; l <= this.rows; l++) {
126
+ i = (this.splitBlockHeight + this.splitLineW) * (l - 1) + this.gridConfig.lineWidth;
127
+ for (let c = 1; c <= this.columns; c++)
128
+ t = (this.splitBlockWidth + this.splitLineW) * (c - 1) + this.gridConfig.lineWidth, (s = this.splitLineGroup) == null || s.add(
129
+ new Y({
130
+ name: `${l}_${c}`,
131
+ cursor: "",
132
+ shape: {
133
+ x: t,
134
+ y: i,
135
+ width: this.splitBlockWidth,
136
+ height: this.splitBlockHeight
137
+ },
138
+ style: {
139
+ stroke: this.gridConfig.bigCellColor,
140
+ lineWidth: this.gridConfig.lineWidth,
141
+ fill: "transparent"
142
+ }
143
+ })
144
+ ), (r = this.splitLineGroup) == null || r.add(
145
+ new J({
146
+ name: `${l}_${c}`,
147
+ cursor: "",
148
+ style: {
149
+ image: this.AssistCanvas,
150
+ x: t,
151
+ y: i,
152
+ width: this.splitBlockWidth,
153
+ height: this.splitBlockHeight,
154
+ sx: 0,
155
+ sy: 0,
156
+ sWidth: this.splitBlockWidth,
157
+ sHeight: this.splitBlockHeight
158
+ }
159
+ })
160
+ );
161
+ }
162
+ (n = this.sceneIns) == null || n.add(this.splitLineGroup);
163
+ }
164
+ drawWaveForm() {
165
+ var l, c, w, C, v, W, y, S, B, I, D;
166
+ (l = this.waveFormGroup) != null && l.childCount() && ((c = this.sceneIns) == null || c.remove(this.waveFormGroup), this.waveFormGroup.removeAll());
167
+ let t = 0, i = 0;
168
+ const e = ((w = this.formatData) == null ? void 0 : w.processedData.originData.Data) || [], o = E(
169
+ 100,
170
+ this.gridConfig.cellMg,
171
+ ((C = this.formatData) == null ? void 0 : C.processedData.otherParams.SampleRate) || 1
172
+ );
173
+ let s = 0, r = [], n = 0;
174
+ for (let p = 1; p <= this.rows; p++) {
175
+ i = (this.splitBlockHeight + this.splitLineW) * (p - 1) + this.gridConfig.lineWidth;
176
+ for (let f = 1; f <= this.columns; f++)
177
+ t = (this.splitBlockWidth + this.splitLineW) * (f - 1) + this.gridConfig.lineWidth, s = f + (p - 1) * this.columns - 1, r = (e[s] || []).slice(
178
+ ((v = this.heardBeat) == null ? void 0 : v.QRSstart) || 0,
179
+ ((W = this.heardBeat) == null ? void 0 : W.QRSend) || 0
180
+ ), n = r.length * o, (y = this.waveFormGroup) == null || y.add(
181
+ new K({
182
+ cursor: "",
183
+ name: u[s],
184
+ shape: {
185
+ points: r.map((g, O) => {
186
+ var b, F;
187
+ return g = M(
188
+ ((b = this.formatData) == null ? void 0 : b.processedData.otherParams.Sensitivity) || 1,
189
+ g,
190
+ ((F = this.formatData) == null ? void 0 : F.qrsSens) || 1
191
+ ), [
192
+ t + this.splitBlockWidth / 2 - n / 2 + O * o,
193
+ i + this.splitBlockHeight / 2 - g
194
+ ];
195
+ })
196
+ },
197
+ style: {
198
+ stroke: this.leadConfig.lineColor,
199
+ lineWidth: this.leadConfig.lineWidth
200
+ }
201
+ })
202
+ ), (S = this.waveFormGroup) == null || S.add(
203
+ new Q({
204
+ cursor: "",
205
+ style: {
206
+ x: t + this.leadConfig.fontSize * 1,
207
+ y: i + this.leadConfig.fontSize * 0.5,
208
+ text: u[s],
209
+ fontSize: this.leadConfig.fontSize,
210
+ fontFamily: this.leadConfig.fontFamily
211
+ }
212
+ })
213
+ ), (I = this.waveFormGroup) == null || I.add(
214
+ new Q({
215
+ cursor: "",
216
+ style: {
217
+ x: t + this.leadConfig.fontSize * 1,
218
+ y: i + this.splitBlockHeight - this.leadConfig.fontSize * 1.5,
219
+ text: `${(B = this.formatData) == null ? void 0 : B.qrsGain}mm/Mv 100mm/s`,
220
+ fontSize: this.leadConfig.fontSize,
221
+ fontFamily: this.leadConfig.fontFamily
222
+ }
223
+ })
224
+ );
225
+ }
226
+ (D = this.sceneIns) == null || D.add(this.waveFormGroup);
227
+ }
228
+ };
229
+ a([
230
+ d({
231
+ required: !0,
232
+ type: Number,
233
+ validator: (t) => typeof t == "number"
234
+ })
235
+ ], h.prototype, "width", 2);
236
+ a([
237
+ d({
238
+ required: !0,
239
+ type: Number,
240
+ validator: (t) => typeof t == "number"
241
+ })
242
+ ], h.prototype, "height", 2);
243
+ a([
244
+ d({
245
+ required: !0
246
+ })
247
+ ], h.prototype, "gridConfig", 2);
248
+ a([
249
+ d({
250
+ required: !0
251
+ })
252
+ ], h.prototype, "formatData", 2);
253
+ a([
254
+ d({
255
+ default: () => ({
256
+ lineColor: "#000",
257
+ lineWidth: 1,
258
+ fontFamily: "\u5FAE\u8F6F\u96C5\u9ED1",
259
+ fontSize: 15
260
+ })
261
+ })
262
+ ], h.prototype, "leadConfig", 2);
263
+ a([
264
+ d({
265
+ required: !0
266
+ })
267
+ ], h.prototype, "heardBeat", 2);
268
+ a([
269
+ m("heardBeat", { deep: !0 })
270
+ ], h.prototype, "watchHeardBeat", 1);
271
+ a([
272
+ m("width")
273
+ ], h.prototype, "watchWidth", 1);
274
+ a([
275
+ m("height")
276
+ ], h.prototype, "watchHeight", 1);
277
+ a([
278
+ m("formatData", { deep: !0 })
279
+ ], h.prototype, "watchFormatData", 1);
280
+ h = a([
281
+ $({
282
+ name: "Detail",
283
+ components: {
284
+ MXBackgroundGrid: U,
285
+ [z.name]: z,
286
+ [k.name]: k,
287
+ [P.name]: P
288
+ }
289
+ })
290
+ ], h);
291
+ export {
292
+ h as default
293
+ };
@@ -0,0 +1,134 @@
1
+ var r = function() {
2
+ var t = this, o = t.$createElement, e = t._self._c || o;
3
+ return e("div", {
4
+ style: {
5
+ width: `${t.width}px`,
6
+ height: `${t.height}px`
7
+ },
8
+ attrs: {
9
+ id: "detail-main"
10
+ }
11
+ }, [e("MXBackgroundGrid", {
12
+ attrs: {
13
+ width: 1080,
14
+ height: 1080,
15
+ "grid-config": t.gridConfig,
16
+ "layer-id": "MXDetail_Grid"
17
+ }
18
+ }), e("div", {
19
+ attrs: {
20
+ id: "detail-from-box"
21
+ }
22
+ }), t.notchInfoQRS.length ? e("div", {
23
+ staticClass: "detail-table",
24
+ style: {
25
+ height: t.height + "px"
26
+ }
27
+ }, [e("el-row", {
28
+ style: {
29
+ height: t.tableItemH + "px"
30
+ },
31
+ attrs: {
32
+ type: "flex"
33
+ }
34
+ }, [e("el-col", {
35
+ attrs: {
36
+ span: 6
37
+ }
38
+ }, [t._v("#")]), e("el-col", {
39
+ attrs: {
40
+ span: 6
41
+ }
42
+ }, [t._v("\u5207\u8FF9")]), e("el-col", {
43
+ attrs: {
44
+ span: 6
45
+ }
46
+ }, [t._v("\u626D\u632B")]), e("el-col", {
47
+ attrs: {
48
+ span: 6
49
+ }
50
+ }, [t._v("\u987F\u7ED3")])], 1), t._l(t.tableHeaderList, function(n, a) {
51
+ return [e("el-row", {
52
+ key: n,
53
+ style: {
54
+ height: t.tableItemH + "px"
55
+ },
56
+ attrs: {
57
+ type: "flex"
58
+ }
59
+ }, [e("el-col", {
60
+ attrs: {
61
+ span: 6
62
+ }
63
+ }, [t._v(" " + t._s(n) + " ")]), e("el-col", {
64
+ attrs: {
65
+ span: 6
66
+ }
67
+ }, [e("el-input-number", {
68
+ attrs: {
69
+ value: t.notchInfoQRS[a][0],
70
+ controls: !1
71
+ },
72
+ on: {
73
+ change: function(l) {
74
+ return t.handleChange(l, a, 0);
75
+ }
76
+ }
77
+ })], 1), e("el-col", {
78
+ attrs: {
79
+ span: 6
80
+ }
81
+ }, [e("el-input-number", {
82
+ attrs: {
83
+ value: t.notchInfoQRS[a][1],
84
+ controls: !1
85
+ },
86
+ on: {
87
+ change: function(l) {
88
+ return t.handleChange(l, a, 1);
89
+ }
90
+ }
91
+ })], 1), e("el-col", {
92
+ attrs: {
93
+ span: 6
94
+ }
95
+ }, [e("el-input-number", {
96
+ attrs: {
97
+ value: t.notchInfoQRS[a][2],
98
+ controls: !1
99
+ },
100
+ on: {
101
+ change: function(l) {
102
+ return t.handleChange(l, a, 2);
103
+ }
104
+ }
105
+ })], 1)], 1)];
106
+ }), e("el-row", {
107
+ style: {
108
+ height: t.tableItemH + "px"
109
+ },
110
+ attrs: {
111
+ type: "flex"
112
+ }
113
+ }, [e("el-col", {
114
+ attrs: {
115
+ span: 6
116
+ }
117
+ }, [t._v("\u5408\u8BA1")]), e("el-col", {
118
+ attrs: {
119
+ span: 6
120
+ }
121
+ }, [t._v(t._s(t.notchInfoToatolQRS.col0))]), e("el-col", {
122
+ attrs: {
123
+ span: 6
124
+ }
125
+ }, [t._v(t._s(t.notchInfoToatolQRS.col1))]), e("el-col", {
126
+ attrs: {
127
+ span: 6
128
+ }
129
+ }, [t._v(t._s(t.notchInfoToatolQRS.col2))])], 1)], 2) : t._e()], 1);
130
+ }, s = [];
131
+ export {
132
+ r as render,
133
+ s as staticRenderFns
134
+ };
@@ -0,0 +1,24 @@
1
+ import t from "./Routine.vue_vue_type_script_lang.js";
2
+ import { staticRenderFns as e, render as r } from "./Routine.vue_vue_type_template_lang.js";
3
+ import i from "../../../_virtual/vueComponentNormalizer.js";
4
+ const o = {};
5
+ var l = /* @__PURE__ */ i(
6
+ t,
7
+ r,
8
+ e,
9
+ !1,
10
+ s,
11
+ null,
12
+ null,
13
+ null
14
+ );
15
+ function s(u) {
16
+ for (let n in o)
17
+ this[n] = o[n];
18
+ }
19
+ const f = /* @__PURE__ */ function() {
20
+ return l.exports;
21
+ }();
22
+ export {
23
+ f as default
24
+ };