jmchart 1.1.98 → 1.1.99
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/jmchart.amd.js
CHANGED
|
@@ -8437,7 +8437,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
8437
8437
|
else lineTouching = 1;
|
|
8438
8438
|
}
|
|
8439
8439
|
|
|
8440
|
-
args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8440
|
+
args.event.stopPropagation && args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8441
8441
|
|
|
8442
8442
|
if (chart.style.markLine.lock) {
|
|
8443
8443
|
// 标线状态一直禁用系统能力
|
|
@@ -8492,9 +8492,9 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
8492
8492
|
|
|
8493
8493
|
if (moved) {
|
|
8494
8494
|
if (args.longtap === 2 && args.event) {
|
|
8495
|
-
args.event.preventDefault(); // 阻止默认行为
|
|
8495
|
+
args.event.preventDefault && args.event.preventDefault(); // 阻止默认行为
|
|
8496
8496
|
|
|
8497
|
-
args.event.stopPropagation();
|
|
8497
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
8498
8498
|
}
|
|
8499
8499
|
|
|
8500
8500
|
if (!args.cancel) this.chart.emit('marklinemove', args);
|
package/dist/jmchart.cjs.js
CHANGED
|
@@ -8439,7 +8439,7 @@ class jmMarkLineManager {
|
|
|
8439
8439
|
else lineTouching = 1;
|
|
8440
8440
|
}
|
|
8441
8441
|
|
|
8442
|
-
args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8442
|
+
args.event.stopPropagation && args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8443
8443
|
|
|
8444
8444
|
if (chart.style.markLine.lock) {
|
|
8445
8445
|
// 标线状态一直禁用系统能力
|
|
@@ -8494,9 +8494,9 @@ class jmMarkLineManager {
|
|
|
8494
8494
|
|
|
8495
8495
|
if (moved) {
|
|
8496
8496
|
if (args.longtap === 2 && args.event) {
|
|
8497
|
-
args.event.preventDefault(); // 阻止默认行为
|
|
8497
|
+
args.event.preventDefault && args.event.preventDefault(); // 阻止默认行为
|
|
8498
8498
|
|
|
8499
|
-
args.event.stopPropagation();
|
|
8499
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
8500
8500
|
}
|
|
8501
8501
|
|
|
8502
8502
|
if (!args.cancel) this.chart.emit('marklinemove', args);
|
package/dist/jmchart.esm.js
CHANGED
|
@@ -8435,7 +8435,7 @@ class jmMarkLineManager {
|
|
|
8435
8435
|
else lineTouching = 1;
|
|
8436
8436
|
}
|
|
8437
8437
|
|
|
8438
|
-
args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8438
|
+
args.event.stopPropagation && args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8439
8439
|
|
|
8440
8440
|
if (chart.style.markLine.lock) {
|
|
8441
8441
|
// 标线状态一直禁用系统能力
|
|
@@ -8490,9 +8490,9 @@ class jmMarkLineManager {
|
|
|
8490
8490
|
|
|
8491
8491
|
if (moved) {
|
|
8492
8492
|
if (args.longtap === 2 && args.event) {
|
|
8493
|
-
args.event.preventDefault(); // 阻止默认行为
|
|
8493
|
+
args.event.preventDefault && args.event.preventDefault(); // 阻止默认行为
|
|
8494
8494
|
|
|
8495
|
-
args.event.stopPropagation();
|
|
8495
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
8496
8496
|
}
|
|
8497
8497
|
|
|
8498
8498
|
if (!args.cancel) this.chart.emit('marklinemove', args);
|
package/dist/jmchart.iife.js
CHANGED
|
@@ -8438,7 +8438,7 @@
|
|
|
8438
8438
|
else lineTouching = 1;
|
|
8439
8439
|
}
|
|
8440
8440
|
|
|
8441
|
-
args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8441
|
+
args.event.stopPropagation && args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8442
8442
|
|
|
8443
8443
|
if (chart.style.markLine.lock) {
|
|
8444
8444
|
// 标线状态一直禁用系统能力
|
|
@@ -8493,9 +8493,9 @@
|
|
|
8493
8493
|
|
|
8494
8494
|
if (moved) {
|
|
8495
8495
|
if (args.longtap === 2 && args.event) {
|
|
8496
|
-
args.event.preventDefault(); // 阻止默认行为
|
|
8496
|
+
args.event.preventDefault && args.event.preventDefault(); // 阻止默认行为
|
|
8497
8497
|
|
|
8498
|
-
args.event.stopPropagation();
|
|
8498
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
8499
8499
|
}
|
|
8500
8500
|
|
|
8501
8501
|
if (!args.cancel) this.chart.emit('marklinemove', args);
|
package/dist/jmchart.system.js
CHANGED
|
@@ -8440,7 +8440,7 @@ System.register([], function (exports) {
|
|
|
8440
8440
|
else lineTouching = 1;
|
|
8441
8441
|
}
|
|
8442
8442
|
|
|
8443
|
-
args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8443
|
+
args.event.stopPropagation && args.event.stopPropagation(); // 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
8444
8444
|
|
|
8445
8445
|
if (chart.style.markLine.lock) {
|
|
8446
8446
|
// 标线状态一直禁用系统能力
|
|
@@ -8495,9 +8495,9 @@ System.register([], function (exports) {
|
|
|
8495
8495
|
|
|
8496
8496
|
if (moved) {
|
|
8497
8497
|
if (args.longtap === 2 && args.event) {
|
|
8498
|
-
args.event.preventDefault(); // 阻止默认行为
|
|
8498
|
+
args.event.preventDefault && args.event.preventDefault(); // 阻止默认行为
|
|
8499
8499
|
|
|
8500
|
-
args.event.stopPropagation();
|
|
8500
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
8501
8501
|
}
|
|
8502
8502
|
|
|
8503
8503
|
if (!args.cancel) this.chart.emit('marklinemove', args);
|
package/package.json
CHANGED
|
@@ -107,7 +107,7 @@ export default class jmMarkLineManager {
|
|
|
107
107
|
else lineTouching = 1;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
args.event.stopPropagation();
|
|
110
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
111
111
|
// 如果指定了锁定图表标线操作值,则触发后当次滑动不再响应系统默认行为
|
|
112
112
|
if(chart.style.markLine.lock){
|
|
113
113
|
// 标线状态一直禁用系统能力
|
|
@@ -163,8 +163,8 @@ export default class jmMarkLineManager {
|
|
|
163
163
|
}
|
|
164
164
|
if(moved) {
|
|
165
165
|
if(args.longtap === 2 && args.event) {
|
|
166
|
-
args.event.preventDefault();// 阻止默认行为
|
|
167
|
-
args.event.stopPropagation();
|
|
166
|
+
args.event.preventDefault && args.event.preventDefault();// 阻止默认行为
|
|
167
|
+
args.event.stopPropagation && args.event.stopPropagation();
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
if(!args.cancel) this.chart.emit('marklinemove', args);
|