costy-plus 1.1.47-0 → 1.1.48-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/src/CommonWaveFormQxc/index.vue.d.ts +1 -0
- package/dist/es/src/CommonWaveFormQxc/index.vue_vue_type_script_lang.js +42 -40
- package/dist/lib/src/CommonWaveFormQxc/index.vue.d.ts +1 -0
- package/dist/lib/src/CommonWaveFormQxc/index.vue_vue_type_script_lang.js +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import MethodsMinix from './method';
|
|
|
2
2
|
declare const CommonWaveForm_base: import("vue-class-component/lib/declarations").VueClass<MethodsMinix>;
|
|
3
3
|
declare class CommonWaveForm extends CommonWaveForm_base {
|
|
4
4
|
protected repaintTimer: ReturnType<typeof setTimeout> | null;
|
|
5
|
+
protected refreshFrame: number | null;
|
|
5
6
|
protected watchVuescrollConfig(): void;
|
|
6
7
|
protected watchAnalyseValues(): void;
|
|
7
8
|
protected watchsingleModeConfig(): void;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./style/index.css";
|
|
2
2
|
import "vue";
|
|
3
|
-
import
|
|
3
|
+
import p, { mixins as m } 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
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 { Watch as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import { Watch as i } 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/Watch.js";
|
|
6
|
+
import c from "../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules/vuescroll/dist/vuescroll-native.js";
|
|
7
|
+
import d from "../MeasuringRuler/index2.js";
|
|
8
8
|
import u from "../MagnifierWave/index.js";
|
|
9
9
|
import f from "../ParallelRuler/index2.js";
|
|
10
10
|
import g from "../BackgroundGrid/index2.js";
|
|
11
11
|
import w from "./method.js";
|
|
12
|
-
var v = Object.defineProperty, C = Object.getOwnPropertyDescriptor,
|
|
13
|
-
for (var o =
|
|
14
|
-
(
|
|
15
|
-
return
|
|
12
|
+
var v = Object.defineProperty, C = Object.getOwnPropertyDescriptor, r = (e, a, s, n) => {
|
|
13
|
+
for (var o = n > 1 ? void 0 : n ? C(a, s) : a, h = e.length - 1, l; h >= 0; h--)
|
|
14
|
+
(l = e[h]) && (o = (n ? l(a, s, o) : l(o)) || o);
|
|
15
|
+
return n && o && v(a, s, o), o;
|
|
16
16
|
};
|
|
17
|
-
let t = class extends
|
|
17
|
+
let t = class extends m(w) {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this.repaintTimer = null;
|
|
19
|
+
super(...arguments), this.repaintTimer = null, this.refreshFrame = null;
|
|
20
20
|
}
|
|
21
21
|
watchVuescrollConfig() {
|
|
22
22
|
this.repaint();
|
|
@@ -34,7 +34,9 @@ let t = class extends c(w) {
|
|
|
34
34
|
this.repaint();
|
|
35
35
|
}
|
|
36
36
|
watchWaveDataVersion() {
|
|
37
|
-
this.
|
|
37
|
+
this.refreshFrame === null && (this.refreshFrame = requestAnimationFrame(() => {
|
|
38
|
+
this.refreshFrame = null, this.refreshVisibleWaveData();
|
|
39
|
+
}));
|
|
38
40
|
}
|
|
39
41
|
watchLeadHeadConfig() {
|
|
40
42
|
var e, a;
|
|
@@ -57,7 +59,7 @@ let t = class extends c(w) {
|
|
|
57
59
|
this.registPostStart();
|
|
58
60
|
}
|
|
59
61
|
destroyed() {
|
|
60
|
-
this.repaintTimer && clearTimeout(this.repaintTimer), this.repaintTimer = null;
|
|
62
|
+
this.repaintTimer && clearTimeout(this.repaintTimer), this.repaintTimer = null, this.refreshFrame !== null && cancelAnimationFrame(this.refreshFrame), this.refreshFrame = null;
|
|
61
63
|
}
|
|
62
64
|
repaint(e = !0) {
|
|
63
65
|
if (!e) {
|
|
@@ -65,8 +67,8 @@ let t = class extends c(w) {
|
|
|
65
67
|
return;
|
|
66
68
|
}
|
|
67
69
|
this.repaintTimer && clearTimeout(this.repaintTimer), this.repaintTimer = setTimeout(() => {
|
|
68
|
-
var a,
|
|
69
|
-
this.repaintTimer = null, e && ((a = this.sceneIns) == null || a.clear(), (
|
|
70
|
+
var a, s;
|
|
71
|
+
this.repaintTimer = null, e && ((a = this.sceneIns) == null || a.clear(), (s = this.sceneIns) == null || s.resize({
|
|
70
72
|
width: this.canvasContainer.width,
|
|
71
73
|
height: this.canvasContainer.height
|
|
72
74
|
}), this.initCreatedConfig()), this.combinationDrawing(e);
|
|
@@ -79,46 +81,46 @@ let t = class extends c(w) {
|
|
|
79
81
|
this.init();
|
|
80
82
|
}
|
|
81
83
|
};
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
r([
|
|
85
|
+
i("vuescrollConfig", { deep: !0 })
|
|
84
86
|
], t.prototype, "watchVuescrollConfig", 1);
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
r([
|
|
88
|
+
i("analyseValues", { deep: !0 })
|
|
87
89
|
], t.prototype, "watchAnalyseValues", 1);
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
r([
|
|
91
|
+
i("singleModeConfig", { deep: !0 })
|
|
90
92
|
], t.prototype, "watchsingleModeConfig", 1);
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
r([
|
|
94
|
+
i("waveConfigs", { deep: !0 })
|
|
93
95
|
], t.prototype, "watchWaveConfigs", 1);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
r([
|
|
97
|
+
i("waveDataVersion")
|
|
96
98
|
], t.prototype, "watchWaveDataVersion", 1);
|
|
97
|
-
|
|
98
|
-
|
|
99
|
+
r([
|
|
100
|
+
i("leadHeadConfig", { deep: !0 })
|
|
99
101
|
], t.prototype, "watchLeadHeadConfig", 1);
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
r([
|
|
103
|
+
i("leadModel", { deep: !0 })
|
|
102
104
|
], t.prototype, "watchLeadModel", 1);
|
|
103
|
-
|
|
104
|
-
|
|
105
|
+
r([
|
|
106
|
+
i("width")
|
|
105
107
|
], t.prototype, "watchWidth", 1);
|
|
106
|
-
|
|
107
|
-
|
|
108
|
+
r([
|
|
109
|
+
i("height")
|
|
108
110
|
], t.prototype, "watchHeight", 1);
|
|
109
|
-
|
|
110
|
-
|
|
111
|
+
r([
|
|
112
|
+
i("longLeadConfig", { deep: !0 })
|
|
111
113
|
], t.prototype, "watchLongLeadConfig", 1);
|
|
112
|
-
|
|
113
|
-
|
|
114
|
+
r([
|
|
115
|
+
i("posStart")
|
|
114
116
|
], t.prototype, "watchPosStart", 1);
|
|
115
|
-
t =
|
|
116
|
-
|
|
117
|
+
t = r([
|
|
118
|
+
p({
|
|
117
119
|
name: "CommonWaveForm",
|
|
118
120
|
components: {
|
|
119
|
-
vueScroll:
|
|
121
|
+
vueScroll: c,
|
|
120
122
|
MXBackgroundGrid: g,
|
|
121
|
-
MXMeasuringRuler:
|
|
123
|
+
MXMeasuringRuler: d,
|
|
122
124
|
MXParallelRuler: f,
|
|
123
125
|
MXMagnifierWave: u
|
|
124
126
|
}
|
|
@@ -2,6 +2,7 @@ import MethodsMinix from './method';
|
|
|
2
2
|
declare const CommonWaveForm_base: import("vue-class-component/lib/declarations").VueClass<MethodsMinix>;
|
|
3
3
|
declare class CommonWaveForm extends CommonWaveForm_base {
|
|
4
4
|
protected repaintTimer: ReturnType<typeof setTimeout> | null;
|
|
5
|
+
protected refreshFrame: number | null;
|
|
5
6
|
protected watchVuescrollConfig(): void;
|
|
6
7
|
protected watchAnalyseValues(): void;
|
|
7
8
|
protected watchsingleModeConfig(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./style/index.css");require("vue");const u=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 a=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"),d=require("../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules/vuescroll/dist/vuescroll-native.js"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./style/index.css");require("vue");const u=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 a=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"),d=require("../../node_modules/.pnpm/vuescroll@4.17.5_vue@2.7.16/node_modules/vuescroll/dist/vuescroll-native.js"),h=require("../MeasuringRuler/index2.js"),c=require("../MagnifierWave/index.js"),p=require("../ParallelRuler/index2.js"),m=require("../BackgroundGrid/index2.js"),f=require("./method.js");var v=Object.defineProperty,g=Object.getOwnPropertyDescriptor,t=(e,r,s,o)=>{for(var i=o>1?void 0:o?g(r,s):r,n=e.length-1,l;n>=0;n--)(l=e[n])&&(i=(o?l(r,s,i):l(i))||i);return o&&i&&v(r,s,i),i};exports.default=class extends u.mixins(f.default){constructor(){super(...arguments),this.repaintTimer=null,this.refreshFrame=null}watchVuescrollConfig(){this.repaint()}watchAnalyseValues(){this.nearestHeartInfo={analyseValue:null,insertInfo:null},this.repaint()}watchsingleModeConfig(){this.repaint()}watchWaveConfigs(){this.repaint()}watchWaveDataVersion(){this.refreshFrame===null&&(this.refreshFrame=requestAnimationFrame(()=>{this.refreshFrame=null,this.refreshVisibleWaveData()}))}watchLeadHeadConfig(){var e,r;(e=this.leadHeadGroup)==null||e.removeAll(),(r=this.sceneIns)==null||r.remove(this.leadHeadGroup),this.drawLeadHead()}watchLeadModel(){this.repaint()}watchWidth(){this.repaint()}watchHeight(){this.repaint()}watchLongLeadConfig(){var e;(e=this.sceneIns)==null||e.clear(),this.init()}watchPosStart(){this.registPostStart()}destroyed(){this.repaintTimer&&clearTimeout(this.repaintTimer),this.repaintTimer=null,this.refreshFrame!==null&&cancelAnimationFrame(this.refreshFrame),this.refreshFrame=null}repaint(e=!0){if(!e){this.combinationDrawing(e);return}this.repaintTimer&&clearTimeout(this.repaintTimer),this.repaintTimer=setTimeout(()=>{var r,s;this.repaintTimer=null,e&&((r=this.sceneIns)==null||r.clear(),(s=this.sceneIns)==null||s.resize({width:this.canvasContainer.width,height:this.canvasContainer.height}),this.initCreatedConfig()),this.combinationDrawing(e)},200)}created(){this.initCreatedConfig()}mounted(){this.init()}};t([a.Watch("vuescrollConfig",{deep:!0})],exports.default.prototype,"watchVuescrollConfig",1);t([a.Watch("analyseValues",{deep:!0})],exports.default.prototype,"watchAnalyseValues",1);t([a.Watch("singleModeConfig",{deep:!0})],exports.default.prototype,"watchsingleModeConfig",1);t([a.Watch("waveConfigs",{deep:!0})],exports.default.prototype,"watchWaveConfigs",1);t([a.Watch("waveDataVersion")],exports.default.prototype,"watchWaveDataVersion",1);t([a.Watch("leadHeadConfig",{deep:!0})],exports.default.prototype,"watchLeadHeadConfig",1);t([a.Watch("leadModel",{deep:!0})],exports.default.prototype,"watchLeadModel",1);t([a.Watch("width")],exports.default.prototype,"watchWidth",1);t([a.Watch("height")],exports.default.prototype,"watchHeight",1);t([a.Watch("longLeadConfig",{deep:!0})],exports.default.prototype,"watchLongLeadConfig",1);t([a.Watch("posStart")],exports.default.prototype,"watchPosStart",1);exports.default=t([u.default({name:"CommonWaveForm",components:{vueScroll:d.default,MXBackgroundGrid:m.default,MXMeasuringRuler:h.default,MXParallelRuler:p.default,MXMagnifierWave:c.default}})],exports.default);
|