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.
- package/README.md +1 -0
- package/dist/es/_virtual/_commonjsHelpers.js +4 -0
- package/dist/es/_virtual/vueComponentNormalizer.js +30 -0
- package/dist/es/_virtual/vuescroll-native.js +4 -0
- package/dist/es/index.d.ts +5 -0
- package/dist/es/index.js +26 -0
- 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
- package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
- package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +12 -0
- package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +13 -0
- package/dist/es/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +10 -0
- package/dist/es/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +1188 -0
- package/dist/es/src/BackgroundGrid/PropsMinix.d.ts +12 -0
- package/dist/es/src/BackgroundGrid/PropsMinix.js +60 -0
- package/dist/es/src/BackgroundGrid/index.js +6 -0
- package/dist/es/src/BackgroundGrid/index.vue.d.ts +19 -0
- package/dist/es/src/BackgroundGrid/index.vue_vue_type_script_lang.js +118 -0
- package/dist/es/src/BackgroundGrid/index.vue_vue_type_template_lang.js +20 -0
- package/dist/es/src/BackgroundGrid/index2.js +24 -0
- package/dist/es/src/ECGWave/index.js +6 -0
- package/dist/es/src/ECGWave/index.vue.d.ts +15 -0
- package/dist/es/src/ECGWave/index.vue_vue_type_script_lang.js +90 -0
- package/dist/es/src/ECGWave/index.vue_vue_type_template_lang.js +118 -0
- package/dist/es/src/ECGWave/index2.js +24 -0
- package/dist/es/src/ECGWave/method.js +841 -0
- package/dist/es/src/ECGWave/style/index.css +46 -0
- package/dist/es/src/EnlargeWave/index.js +6 -0
- package/dist/es/src/EnlargeWave/index.vue.d.ts +10 -0
- package/dist/es/src/EnlargeWave/index.vue_vue_type_script_lang.js +56 -0
- package/dist/es/src/EnlargeWave/index.vue_vue_type_template_lang.js +178 -0
- package/dist/es/src/EnlargeWave/index2.js +24 -0
- package/dist/es/src/EnlargeWave/medthod.d.ts +185 -0
- package/dist/es/src/EnlargeWave/medthod.js +753 -0
- package/dist/es/src/EnlargeWave/style/index.css +93 -0
- package/dist/es/src/FCGWave/components/And2V5LeadPower.js +24 -0
- package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1114 -0
- package/dist/es/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +31 -0
- package/dist/es/src/FCGWave/components/LeadPower12.js +24 -0
- package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +376 -0
- package/dist/es/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +31 -0
- package/dist/es/src/FCGWave/components/PowerHistogram.js +24 -0
- package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +256 -0
- package/dist/es/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +31 -0
- package/dist/es/src/FCGWave/index.js +6 -0
- package/dist/es/src/FCGWave/index.vue.d.ts +6 -0
- package/dist/es/src/FCGWave/index.vue_vue_type_script_lang.js +28 -0
- package/dist/es/src/FCGWave/index.vue_vue_type_template_lang.js +38 -0
- package/dist/es/src/FCGWave/index2.js +24 -0
- package/dist/es/src/FCGWave/method.d.ts +49 -0
- package/dist/es/src/FCGWave/method.js +94 -0
- package/dist/es/src/FCGWave/style/index.css +43 -0
- package/dist/es/src/HFECGWave/components/Detail.js +24 -0
- package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +293 -0
- package/dist/es/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +134 -0
- package/dist/es/src/HFECGWave/components/Routine.js +24 -0
- package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +302 -0
- package/dist/es/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +47 -0
- package/dist/es/src/HFECGWave/index.js +6 -0
- package/dist/es/src/HFECGWave/index.vue.d.ts +6 -0
- package/dist/es/src/HFECGWave/index.vue_vue_type_script_lang.js +26 -0
- package/dist/es/src/HFECGWave/index.vue_vue_type_template_lang.js +36 -0
- package/dist/es/src/HFECGWave/index2.js +24 -0
- package/dist/es/src/HFECGWave/method.js +86 -0
- package/dist/es/src/HFECGWave/style/index.css +58 -0
- package/dist/es/src/MagnifierWave/index.js +24 -0
- package/dist/es/src/MagnifierWave/index.vue.d.ts +11 -0
- package/dist/es/src/MagnifierWave/index.vue_vue_type_script_lang.js +49 -0
- package/dist/es/src/MagnifierWave/index.vue_vue_type_template_lang.js +34 -0
- package/dist/es/src/MagnifierWave/medthod.d.ts +78 -0
- package/dist/es/src/MagnifierWave/medthod.js +276 -0
- package/dist/es/src/MagnifierWave/style/index.css +22 -0
- package/dist/es/src/MeasuringRuler/index.js +6 -0
- package/dist/es/src/MeasuringRuler/index.vue.d.ts +47 -0
- package/dist/es/src/MeasuringRuler/index.vue_vue_type_script_lang.js +300 -0
- package/dist/es/src/MeasuringRuler/index.vue_vue_type_template_lang.js +17 -0
- package/dist/es/src/MeasuringRuler/index2.js +24 -0
- package/dist/es/src/MeasuringRuler/style/index.css +0 -0
- package/dist/es/src/ParallelRuler/index.js +6 -0
- package/dist/es/src/ParallelRuler/index.vue.d.ts +46 -0
- package/dist/es/src/ParallelRuler/index.vue_vue_type_script_lang.js +312 -0
- package/dist/es/src/ParallelRuler/index.vue_vue_type_template_lang.js +17 -0
- package/dist/es/src/ParallelRuler/index2.js +24 -0
- package/dist/es/src/Text/index.js +6 -0
- package/dist/es/src/Text/index.vue.d.ts +7 -0
- package/dist/es/src/Text/index.vue_vue_type_script_lang.js +26 -0
- package/dist/es/src/Text/index.vue_vue_type_template_lang.js +10 -0
- package/dist/es/src/Text/index2.js +24 -0
- package/dist/es/src/Text/style/index.css +6 -0
- package/dist/es/src/Text/style/other.css +3 -0
- package/dist/es/src/index.d.ts +8 -0
- package/dist/es/src/index.js +18 -0
- package/dist/es/static/images/heart.jpg +0 -0
- package/dist/es/static/images/heartSection.jpg +0 -0
- package/dist/es/typings/Common.d.ts +140 -0
- package/dist/es/typings/MXBackgroundGrid.d.ts +24 -0
- package/dist/es/typings/MXECGWaveComponents.d.ts +151 -0
- package/dist/es/typings/MXFCGWaveComponents.d.ts +10 -0
- package/dist/es/typings/MXMeasuringRuler.d.ts +14 -0
- package/dist/es/typings/MXParallelRuler.d.ts +14 -0
- package/dist/es/typings/component.d.ts +3 -0
- package/dist/lib/_virtual/_commonjsHelpers.js +1 -0
- package/dist/lib/_virtual/vueComponentNormalizer.js +1 -0
- package/dist/lib/_virtual/vuescroll-native.js +1 -0
- package/dist/lib/index.d.ts +5 -0
- package/dist/lib/index.js +1 -0
- 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
- package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Emit.js +1 -0
- package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Prop.js +1 -0
- package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/decorators/Watch.js +1 -0
- package/dist/lib/node_modules/.pnpm/vue-property-decorator@9.1.2_zrnidtknow37s43kh2nsmp2h4u/node_modules/vue-property-decorator/lib/helpers/metadata.js +1 -0
- package/dist/lib/node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.14/node_modules/vuescroll/dist/vuescroll-native.js +4 -0
- package/dist/lib/src/BackgroundGrid/PropsMinix.d.ts +12 -0
- package/dist/lib/src/BackgroundGrid/PropsMinix.js +1 -0
- package/dist/lib/src/BackgroundGrid/index.js +1 -0
- package/dist/lib/src/BackgroundGrid/index.vue.d.ts +19 -0
- package/dist/lib/src/BackgroundGrid/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/BackgroundGrid/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/BackgroundGrid/index2.js +1 -0
- package/dist/lib/src/ECGWave/index.js +1 -0
- package/dist/lib/src/ECGWave/index.vue.d.ts +15 -0
- package/dist/lib/src/ECGWave/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/ECGWave/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/ECGWave/index2.js +1 -0
- package/dist/lib/src/ECGWave/method.js +1 -0
- package/dist/lib/src/ECGWave/style/index.css +46 -0
- package/dist/lib/src/EnlargeWave/index.js +1 -0
- package/dist/lib/src/EnlargeWave/index.vue.d.ts +10 -0
- package/dist/lib/src/EnlargeWave/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/EnlargeWave/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/EnlargeWave/index2.js +1 -0
- package/dist/lib/src/EnlargeWave/medthod.d.ts +185 -0
- package/dist/lib/src/EnlargeWave/medthod.js +1 -0
- package/dist/lib/src/EnlargeWave/style/index.css +93 -0
- package/dist/lib/src/FCGWave/components/And2V5LeadPower.js +1 -0
- package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/FCGWave/components/And2V5LeadPower.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/FCGWave/components/LeadPower12.js +1 -0
- package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/FCGWave/components/LeadPower12.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/FCGWave/components/PowerHistogram.js +1 -0
- package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_script_lang.js +3 -0
- package/dist/lib/src/FCGWave/components/PowerHistogram.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/FCGWave/index.js +1 -0
- package/dist/lib/src/FCGWave/index.vue.d.ts +6 -0
- package/dist/lib/src/FCGWave/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/FCGWave/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/FCGWave/index2.js +1 -0
- package/dist/lib/src/FCGWave/method.d.ts +49 -0
- package/dist/lib/src/FCGWave/method.js +1 -0
- package/dist/lib/src/FCGWave/style/index.css +43 -0
- package/dist/lib/src/HFECGWave/components/Detail.js +1 -0
- package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/HFECGWave/components/Detail.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/HFECGWave/components/Routine.js +1 -0
- package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/HFECGWave/components/Routine.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/HFECGWave/index.js +1 -0
- package/dist/lib/src/HFECGWave/index.vue.d.ts +6 -0
- package/dist/lib/src/HFECGWave/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/HFECGWave/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/HFECGWave/index2.js +1 -0
- package/dist/lib/src/HFECGWave/method.js +1 -0
- package/dist/lib/src/HFECGWave/style/index.css +58 -0
- package/dist/lib/src/MagnifierWave/index.js +1 -0
- package/dist/lib/src/MagnifierWave/index.vue.d.ts +11 -0
- package/dist/lib/src/MagnifierWave/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/MagnifierWave/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/MagnifierWave/medthod.d.ts +78 -0
- package/dist/lib/src/MagnifierWave/medthod.js +1 -0
- package/dist/lib/src/MagnifierWave/style/index.css +22 -0
- package/dist/lib/src/MeasuringRuler/index.js +1 -0
- package/dist/lib/src/MeasuringRuler/index.vue.d.ts +47 -0
- package/dist/lib/src/MeasuringRuler/index.vue_vue_type_script_lang.js +3 -0
- package/dist/lib/src/MeasuringRuler/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/MeasuringRuler/index2.js +1 -0
- package/dist/lib/src/MeasuringRuler/style/index.css +0 -0
- package/dist/lib/src/ParallelRuler/index.js +1 -0
- package/dist/lib/src/ParallelRuler/index.vue.d.ts +46 -0
- package/dist/lib/src/ParallelRuler/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/ParallelRuler/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/ParallelRuler/index2.js +1 -0
- package/dist/lib/src/Text/index.js +1 -0
- package/dist/lib/src/Text/index.vue.d.ts +7 -0
- package/dist/lib/src/Text/index.vue_vue_type_script_lang.js +1 -0
- package/dist/lib/src/Text/index.vue_vue_type_template_lang.js +1 -0
- package/dist/lib/src/Text/index2.js +1 -0
- package/dist/lib/src/Text/style/index.css +6 -0
- package/dist/lib/src/Text/style/other.css +3 -0
- package/dist/lib/src/index.d.ts +8 -0
- package/dist/lib/src/index.js +1 -0
- package/dist/lib/static/images/heart.jpg +0 -0
- package/dist/lib/static/images/heartSection.jpg +0 -0
- package/dist/lib/typings/Common.d.ts +140 -0
- package/dist/lib/typings/MXBackgroundGrid.d.ts +24 -0
- package/dist/lib/typings/MXECGWaveComponents.d.ts +151 -0
- package/dist/lib/typings/MXFCGWaveComponents.d.ts +10 -0
- package/dist/lib/typings/MXMeasuringRuler.d.ts +14 -0
- package/dist/lib/typings/MXParallelRuler.d.ts +14 -0
- package/dist/lib/typings/component.d.ts +3 -0
- 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
|
+
};
|