costy-plus 1.1.50-0 → 1.1.52-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_vue_type_script_lang.js +8 -8
- package/dist/es/src/CommonWaveFormQxc/method.d.ts +0 -12
- package/dist/es/src/CommonWaveFormQxc/method.js +182 -214
- package/dist/lib/src/CommonWaveFormQxc/index.vue_vue_type_script_lang.js +1 -1
- package/dist/lib/src/CommonWaveFormQxc/method.d.ts +0 -12
- package/dist/lib/src/CommonWaveFormQxc/method.js +1 -1
- package/package.json +1 -1
|
@@ -9,17 +9,17 @@ 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, r = (e, a,
|
|
13
|
-
for (var o =
|
|
14
|
-
(l = e[h]) && (o = (
|
|
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
17
|
let t = class extends m(w) {
|
|
18
18
|
constructor() {
|
|
19
19
|
super(...arguments), this.repaintTimer = null, this.refreshFrame = null;
|
|
20
20
|
}
|
|
21
21
|
watchVuescrollConfig() {
|
|
22
|
-
this.repaint()
|
|
22
|
+
this.repaint();
|
|
23
23
|
}
|
|
24
24
|
watchAnalyseValues() {
|
|
25
25
|
this.nearestHeartInfo = {
|
|
@@ -67,8 +67,8 @@ let t = class extends m(w) {
|
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
69
|
this.repaintTimer && clearTimeout(this.repaintTimer), this.repaintTimer = setTimeout(() => {
|
|
70
|
-
var a,
|
|
71
|
-
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({
|
|
72
72
|
width: this.canvasContainer.width,
|
|
73
73
|
height: this.canvasContainer.height
|
|
74
74
|
}), this.initCreatedConfig()), this.combinationDrawing(e);
|
|
@@ -78,7 +78,7 @@ let t = class extends m(w) {
|
|
|
78
78
|
this.initCreatedConfig();
|
|
79
79
|
}
|
|
80
80
|
mounted() {
|
|
81
|
-
this.init()
|
|
81
|
+
this.init();
|
|
82
82
|
}
|
|
83
83
|
};
|
|
84
84
|
r([
|
|
@@ -160,13 +160,6 @@ export default class Methods extends Vue {
|
|
|
160
160
|
protected sceneIsMouseDownX: number;
|
|
161
161
|
protected lastScrollPointIdx: number;
|
|
162
162
|
protected lastScrollLeft: number;
|
|
163
|
-
protected latestScrollPointIdx: {
|
|
164
|
-
slidIdxs: number;
|
|
165
|
-
scrollLeft: number;
|
|
166
|
-
} | null;
|
|
167
|
-
protected scrollEndTarget: HTMLElement | null;
|
|
168
|
-
protected scrollEndTimer: ReturnType<typeof setTimeout> | null;
|
|
169
|
-
protected usesScrollEnd: boolean;
|
|
170
163
|
/** 滚动到未加载区间时暂存目标,数据到齐后再切换视图 */
|
|
171
164
|
protected pendingScrollPointIdx: number | null;
|
|
172
165
|
/** 实际画布容器大小 */
|
|
@@ -293,11 +286,6 @@ export default class Methods extends Vue {
|
|
|
293
286
|
protected onContextmenu(e: ElementEvent, type: 'single' | 'rowAndCol' | 'add'): void;
|
|
294
287
|
/** 波形点击事件,双击放大波形 */
|
|
295
288
|
protected onDbClickWaveFrom(e: ElementEvent, type: 'single' | 'rowAndCol' | 'add'): void;
|
|
296
|
-
protected getScrollEndTarget(): HTMLElement | null;
|
|
297
|
-
protected emitScrollPointIdx(): void;
|
|
298
|
-
protected scheduleScrollEndFallback(): void;
|
|
299
|
-
protected handleScrollEnd: () => void;
|
|
300
|
-
protected bindScrollEnd(): void;
|
|
301
289
|
/** 原生滚动条事件 */
|
|
302
290
|
protected nativeScrollFunc(event: Event): void;
|
|
303
291
|
/** 自定义滚动事件监听 */
|