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,31 @@
1
+ var t = function() {
2
+ var i = this, r = i.$createElement, e = i._self._c || r;
3
+ return e("div", {
4
+ style: {
5
+ width: `${i.width}px`,
6
+ height: `${i.height}px`
7
+ },
8
+ attrs: {
9
+ id: "and2v5-leadpower"
10
+ }
11
+ }, [e("MXBackgroundGrid", {
12
+ attrs: {
13
+ width: i.width,
14
+ height: i.height,
15
+ "grid-config": Object.assign({}, i.gridConfig, {
16
+ cellMg: i.gridConfig.cellMg + 1
17
+ }),
18
+ magnification: i.ratio,
19
+ model: 1,
20
+ "layer-id": "MXGrid_and2v5_leadpower"
21
+ }
22
+ }), e("div", {
23
+ attrs: {
24
+ id: "and2v5-leadpower-container"
25
+ }
26
+ })], 1);
27
+ }, d = [];
28
+ export {
29
+ t as render,
30
+ d as staticRenderFns
31
+ };
@@ -0,0 +1,24 @@
1
+ import n from "./LeadPower12.vue_vue_type_script_lang.js";
2
+ import { staticRenderFns as t, render as r } from "./LeadPower12.vue_vue_type_template_lang.js";
3
+ import l from "../../../_virtual/vueComponentNormalizer.js";
4
+ const e = {};
5
+ var s = /* @__PURE__ */ l(
6
+ n,
7
+ r,
8
+ t,
9
+ !1,
10
+ i,
11
+ null,
12
+ null,
13
+ null
14
+ );
15
+ function i(c) {
16
+ for (let o in e)
17
+ this[o] = e[o];
18
+ }
19
+ const a = /* @__PURE__ */ function() {
20
+ return s.exports;
21
+ }();
22
+ export {
23
+ a as default
24
+ };
@@ -0,0 +1,376 @@
1
+ import Q from "vue";
2
+ import S 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.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js";
4
+ import { Prop as G } from "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js";
5
+ import { Watch as C } from "../../../node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js";
6
+ import { init as Y, Group as J, Rect as K, Line as I, Text as W, Polyline as tt } from "zrender";
7
+ import et from "../../BackgroundGrid/index2.js";
8
+ var it = Object.defineProperty, st = Object.getOwnPropertyDescriptor, d = (e, t, s, i) => {
9
+ for (var n = i > 1 ? void 0 : i ? st(t, s) : t, o = e.length - 1, p; o >= 0; o--)
10
+ (p = e[o]) && (n = (i ? p(t, s, n) : p(n)) || n);
11
+ return i && n && it(t, s, n), n;
12
+ };
13
+ let a = class extends Q {
14
+ constructor() {
15
+ super(...arguments), this.sceneIns = Object.freeze(null), this.AssistCtx = Object.freeze(null), this.waveFromGroup = Object.freeze(null), this.splitLineGroup = Object.freeze(null), this.rows = Object.freeze(3), this.columns = Object.freeze(4), this.splitLineW = Object.freeze(10), this.splitBlockHeight = Object.freeze(0), this.splitBlockWidth = Object.freeze(0), this.ratio = 1;
16
+ }
17
+ watchWidth() {
18
+ this.repaint();
19
+ }
20
+ watchHeight() {
21
+ this.repaint();
22
+ }
23
+ watchGain() {
24
+ this.drawBlockWave();
25
+ }
26
+ destroyed() {
27
+ var e, t, s;
28
+ (e = this.waveFromGroup) == null || e.removeAll(), (t = this.splitLineGroup) == null || t.removeAll();
29
+ try {
30
+ (s = this.sceneIns) == null || s.dispose();
31
+ } catch (i) {
32
+ }
33
+ }
34
+ created() {
35
+ this.initConfig();
36
+ }
37
+ mounted() {
38
+ this.init();
39
+ }
40
+ repaint() {
41
+ var e, t;
42
+ (e = this.sceneIns) == null || e.clear(), (t = this.sceneIns) == null || t.resize({
43
+ width: this.width,
44
+ height: this.height
45
+ }), this.calcConfig(), this.combinationDrawing();
46
+ }
47
+ init() {
48
+ this.initWaveFormPeer(), this.combinationDrawing();
49
+ }
50
+ initWaveFormPeer() {
51
+ const e = document.getElementById("power12-container");
52
+ this.sceneIns = Y(e, {
53
+ width: this.width,
54
+ height: this.height,
55
+ devicePixelRatio: 2
56
+ });
57
+ const t = document.getElementById(
58
+ "MXGrid_power12"
59
+ );
60
+ this.AssistCtx = t.getContext("2d");
61
+ }
62
+ initConfig() {
63
+ this.calcConfig(), this.splitLineGroup = new J({
64
+ name: "splitLine"
65
+ }), this.waveFromGroup = new J({
66
+ name: "waveFrom"
67
+ });
68
+ }
69
+ calcConfig() {
70
+ var e, t, s, i;
71
+ this.splitBlockHeight = (this.height - this.splitLineW * (this.rows - 1)) / this.rows, this.splitBlockWidth = (this.width - this.splitLineW * (this.columns - 1)) / this.columns, this.splitBlockWidth < (((e = this.leadPower12Info.config) == null ? void 0 : e.XAxisLen) || 0) + (((t = this.leadPower12Info.config) == null ? void 0 : t.girdCell) || 0) && (this.ratio = this.splitBlockWidth / ((((s = this.leadPower12Info.config) == null ? void 0 : s.XAxisLen) || 1) + (((i = this.leadPower12Info.config) == null ? void 0 : i.girdCell) || 0)));
72
+ }
73
+ combinationDrawing() {
74
+ this.drawSplitLine(), this.drawBlockWave();
75
+ }
76
+ drawSplitLine() {
77
+ var e, t, s, i, n;
78
+ (e = this.splitLineGroup) != null && e.childCount() && ((t = this.sceneIns) == null || t.remove(this.splitLineGroup), this.splitLineGroup.removeAll());
79
+ for (let o = 1; o < this.rows; o++)
80
+ (s = this.splitLineGroup) == null || s.add(
81
+ new K({
82
+ name: `row_${o}`,
83
+ cursor: "",
84
+ shape: {
85
+ x: 0,
86
+ y: this.splitBlockHeight * o + (o - 1) * this.splitLineW,
87
+ width: this.width,
88
+ height: this.splitLineW
89
+ },
90
+ style: {
91
+ fill: "#fff"
92
+ }
93
+ })
94
+ );
95
+ for (let o = 1; o < this.columns; o++)
96
+ (i = this.splitLineGroup) == null || i.add(
97
+ new K({
98
+ name: `col_${o}`,
99
+ cursor: "",
100
+ shape: {
101
+ x: this.splitBlockWidth * o + (o - 1) * this.splitLineW,
102
+ y: 0,
103
+ width: this.splitLineW,
104
+ height: this.height
105
+ },
106
+ style: {
107
+ fill: "#fff"
108
+ }
109
+ })
110
+ );
111
+ (n = this.sceneIns) == null || n.add(this.splitLineGroup);
112
+ }
113
+ drawBlockWave() {
114
+ var A, P, b, B, k, z, H, O, X, j, _, D, $, E, q, N, R, M, U, V, Z;
115
+ (A = this.waveFromGroup) != null && A.childCount() && ((P = this.sceneIns) == null || P.remove(this.waveFromGroup), this.waveFromGroup.removeAll());
116
+ const e = (((b = this.leadPower12Info.config) == null ? void 0 : b.girdCell) || 0) * this.ratio, t = (((B = this.leadPower12Info.config) == null ? void 0 : B.XAxisLen) || 0) * this.ratio, s = (((k = this.leadPower12Info.config) == null ? void 0 : k.YAxisH) || 0) * this.ratio, i = (((z = this.leadPower12Info.config) == null ? void 0 : z.unitHz) || 1) * this.ratio, n = (t - (t - e)) / (this.gridConfig.cellMg * this.ratio), o = Math.floor(t / i), p = 2048 * (((H = this.leadPower12Info.config) == null ? void 0 : H.dRate_Y) || 1);
117
+ let F = 0, T = 0, v = 0, h = 0, l = 0, c = 0, u = 0, y = 0, f, w = [];
118
+ const m = {
119
+ stroke: "#000",
120
+ lineWidth: 1
121
+ };
122
+ for (let g = 1; g <= this.rows; g++) {
123
+ F = this.splitBlockHeight * g + (g - 1) * this.splitLineW, T = (this.splitBlockHeight + this.splitLineW) * (g - 1);
124
+ for (let L = 1; L <= this.columns; L++) {
125
+ w = [], v = (this.splitBlockWidth + this.splitLineW) * (L - 1), y = L + (g - 1) * this.columns - 1, f = this.leadPower12Info.dataInfo[y], h = v + e, l = F - e * 2, (O = this.waveFromGroup) == null || O.add(
126
+ new I({
127
+ cursor: "",
128
+ shape: {
129
+ x1: h,
130
+ y1: l,
131
+ x2: h,
132
+ y2: l - s
133
+ },
134
+ style: m
135
+ })
136
+ ), (X = this.waveFromGroup) == null || X.add(
137
+ new I({
138
+ cursor: "",
139
+ shape: {
140
+ x1: h,
141
+ y1: l,
142
+ x2: h + t,
143
+ y2: l
144
+ },
145
+ style: m
146
+ })
147
+ );
148
+ for (let r = 0; r <= 3; r++)
149
+ c = l - 2 * e * r, (j = this.waveFromGroup) == null || j.add(
150
+ new W({
151
+ cursor: "",
152
+ style: {
153
+ x: h - 14,
154
+ y: c - 7,
155
+ text: r + "",
156
+ fontSize: 14,
157
+ fontFamily: "Arial"
158
+ }
159
+ })
160
+ ), (_ = this.waveFromGroup) == null || _.add(
161
+ new I({
162
+ cursor: "",
163
+ shape: {
164
+ x1: h,
165
+ y1: c,
166
+ x2: h - 4,
167
+ y2: c
168
+ },
169
+ style: m
170
+ })
171
+ ), r === 3 && ((D = this.waveFromGroup) == null || D.add(
172
+ new W({
173
+ cursor: "",
174
+ style: {
175
+ x: h + 10,
176
+ y: c - 14,
177
+ text: f.LeadName,
178
+ fontSize: 14,
179
+ fontFamily: "Arial"
180
+ }
181
+ })
182
+ ));
183
+ for (let r = 0; r <= o; r++)
184
+ u = h + i * r, r !== 0 && (($ = this.waveFromGroup) == null || $.add(
185
+ new W({
186
+ cursor: "",
187
+ style: {
188
+ x: u - 6,
189
+ y: l + 7,
190
+ text: r * 5 + "",
191
+ fontSize: 14,
192
+ fontFamily: "Arial"
193
+ }
194
+ })
195
+ )), r === o && ((E = this.waveFromGroup) == null || E.add(
196
+ new W({
197
+ cursor: "",
198
+ style: {
199
+ x: h + i * o,
200
+ y: l - 30,
201
+ text: "HZ",
202
+ fontSize: 14,
203
+ fontFamily: "Arial"
204
+ }
205
+ })
206
+ )), (q = this.waveFromGroup) == null || q.add(
207
+ new I({
208
+ cursor: "",
209
+ shape: {
210
+ x1: u,
211
+ y1: l,
212
+ x2: u,
213
+ y2: l + 4
214
+ },
215
+ style: m
216
+ })
217
+ );
218
+ let x = 0;
219
+ for (; x < (((N = this.leadPower12Info.config) == null ? void 0 : N.XAxisLen) || 0) - (((R = this.leadPower12Info.config) == null ? void 0 : R.girdCell) || 0) && f.WaveData.length; x += 2) {
220
+ let r = f.WaveData[x / 2] / p / 16 / this.gain.value * e * (((M = this.leadPower12Info.config) == null ? void 0 : M.scale) || 1) * (((U = this.leadPower12Info.config) == null ? void 0 : U.modulus_figPower) || 1);
221
+ r > s && (r = s), x === 0 ? w.push([h, l - r]) : w.push([h + x * this.ratio, l - r]);
222
+ }
223
+ this.$emit("notifyPowerSpectrum", {
224
+ ind: y,
225
+ blocks: n,
226
+ DataEndingPoint: (x - 2) / 2
227
+ }), (V = this.sceneIns) == null || V.add(
228
+ new tt({
229
+ cursor: "",
230
+ shape: {
231
+ points: w
232
+ },
233
+ style: {
234
+ stroke: this.leadConfig.lineColor,
235
+ lineWidth: this.leadConfig.lineWidth
236
+ }
237
+ })
238
+ ), this.drawBlockTips(v, T, f);
239
+ }
240
+ }
241
+ (Z = this.sceneIns) == null || Z.add(this.waveFromGroup);
242
+ }
243
+ drawBlockTips(e, t, s) {
244
+ var n, o, p, F, T, v, h, l, c, u, y, f, w, m;
245
+ const i = e + this.splitBlockWidth;
246
+ (n = this.waveFromGroup) == null || n.add(
247
+ this.createTipsText(`X:${s.X}`, i - 110, t + 20)
248
+ ), (o = this.waveFromGroup) == null || o.add(
249
+ this.createTipsText(
250
+ `Y: ${this.gain.label}` || s.Y,
251
+ i - 110,
252
+ t + 40
253
+ )
254
+ ), (p = this.waveFromGroup) == null || p.add(
255
+ this.createTipsText("H", i - 110, t + 60)
256
+ ), (F = this.waveFromGroup) == null || F.add(
257
+ this.createTipsText(
258
+ `${s.H === "1" ? "+" : "-"}`,
259
+ i - 110,
260
+ t + 70
261
+ )
262
+ ), (T = this.waveFromGroup) == null || T.add(
263
+ this.createTipsText("U", i - 95, t + 60)
264
+ ), (v = this.waveFromGroup) == null || v.add(
265
+ this.createTipsText(
266
+ `${s.U === "1" ? "+" : "-"}`,
267
+ i - 95,
268
+ t + 70
269
+ )
270
+ ), (h = this.waveFromGroup) == null || h.add(
271
+ this.createTipsText("N", i - 80, t + 60)
272
+ ), (l = this.waveFromGroup) == null || l.add(
273
+ this.createTipsText(
274
+ s.N === "1" ? "+" : "-",
275
+ i - 80,
276
+ t + 70
277
+ )
278
+ ), (c = this.waveFromGroup) == null || c.add(
279
+ this.createTipsText("A", i - 65, t + 60)
280
+ ), (u = this.waveFromGroup) == null || u.add(
281
+ this.createTipsText(
282
+ s.A === "1" ? "+" : "-",
283
+ i - 65,
284
+ t + 70
285
+ )
286
+ ), (y = this.waveFromGroup) == null || y.add(
287
+ this.createTipsText("A5", i - 45, t + 60)
288
+ ), (f = this.waveFromGroup) == null || f.add(
289
+ this.createTipsText(
290
+ s.A5 === "1" ? "+" : "-",
291
+ i - 45,
292
+ t + 70
293
+ )
294
+ ), (w = this.waveFromGroup) == null || w.add(
295
+ this.createTipsText("Ra", i - 25, t + 60)
296
+ ), (m = this.waveFromGroup) == null || m.add(
297
+ this.createTipsText(
298
+ s.Ra === "1" ? "+" : "-",
299
+ i - 25,
300
+ t + 70
301
+ )
302
+ );
303
+ }
304
+ createTipsText(e, t, s) {
305
+ return new W({
306
+ cursor: "",
307
+ style: {
308
+ x: t,
309
+ y: s,
310
+ text: e,
311
+ fontSize: 14,
312
+ fontFamily: "Arial",
313
+ fill: "#000"
314
+ }
315
+ });
316
+ }
317
+ };
318
+ d([
319
+ G({
320
+ required: !0,
321
+ type: Number,
322
+ validator: (e) => typeof e == "number"
323
+ })
324
+ ], a.prototype, "width", 2);
325
+ d([
326
+ G({
327
+ required: !0,
328
+ type: Number,
329
+ validator: (e) => typeof e == "number"
330
+ })
331
+ ], a.prototype, "height", 2);
332
+ d([
333
+ G({
334
+ required: !0
335
+ })
336
+ ], a.prototype, "gridConfig", 2);
337
+ d([
338
+ G({
339
+ required: !0
340
+ })
341
+ ], a.prototype, "leadPower12Info", 2);
342
+ d([
343
+ G({
344
+ required: !0
345
+ })
346
+ ], a.prototype, "gain", 2);
347
+ d([
348
+ G({
349
+ default: () => ({
350
+ lineColor: "#7875F8",
351
+ lineWidth: 1,
352
+ fontFamily: "\u5FAE\u8F6F\u96C5\u9ED1",
353
+ fontSize: 15
354
+ })
355
+ })
356
+ ], a.prototype, "leadConfig", 2);
357
+ d([
358
+ C("width")
359
+ ], a.prototype, "watchWidth", 1);
360
+ d([
361
+ C("height")
362
+ ], a.prototype, "watchHeight", 1);
363
+ d([
364
+ C("gain")
365
+ ], a.prototype, "watchGain", 1);
366
+ a = d([
367
+ S({
368
+ name: "LeadPower12",
369
+ components: {
370
+ MXBackgroundGrid: et
371
+ }
372
+ })
373
+ ], a);
374
+ export {
375
+ a as default
376
+ };
@@ -0,0 +1,31 @@
1
+ var e = function() {
2
+ var i = this, t = i.$createElement, r = i._self._c || t;
3
+ return r("div", {
4
+ style: {
5
+ width: `${i.width}px`,
6
+ height: `${i.height}px`
7
+ },
8
+ attrs: {
9
+ id: "lead-power12"
10
+ }
11
+ }, [r("MXBackgroundGrid", {
12
+ attrs: {
13
+ width: i.width,
14
+ height: i.height,
15
+ "grid-config": Object.assign({}, i.gridConfig, {
16
+ cellMg: i.gridConfig.cellMg + 1
17
+ }),
18
+ magnification: i.ratio,
19
+ model: 1,
20
+ "layer-id": "MXGrid_power12"
21
+ }
22
+ }), r("div", {
23
+ attrs: {
24
+ id: "power12-container"
25
+ }
26
+ })], 1);
27
+ }, d = [];
28
+ export {
29
+ e as render,
30
+ d as staticRenderFns
31
+ };
@@ -0,0 +1,24 @@
1
+ import n from "./PowerHistogram.vue_vue_type_script_lang.js";
2
+ import { staticRenderFns as e, render as r } from "./PowerHistogram.vue_vue_type_template_lang.js";
3
+ import s from "../../../_virtual/vueComponentNormalizer.js";
4
+ const t = {};
5
+ var i = /* @__PURE__ */ s(
6
+ n,
7
+ r,
8
+ e,
9
+ !1,
10
+ l,
11
+ null,
12
+ null,
13
+ null
14
+ );
15
+ function l(m) {
16
+ for (let o in t)
17
+ this[o] = t[o];
18
+ }
19
+ const a = /* @__PURE__ */ function() {
20
+ return i.exports;
21
+ }();
22
+ export {
23
+ a as default
24
+ };