kd-lane-chart-v3 0.0.5 → 0.0.6
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 +0 -0
- package/dist/esm/index.js +61 -54
- package/dist/esm/index.js.map +1 -1
- package/dist/kd-lane-chart-v3.css +260 -359
- package/index.d.ts +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
File without changes
|
package/dist/esm/index.js
CHANGED
|
@@ -2971,15 +2971,14 @@ const _sfc_main$7 = {
|
|
|
2971
2971
|
const _hoisted_1$7 = { class: "legend-label" };
|
|
2972
2972
|
const _hoisted_2$6 = { class: "legend-content" };
|
|
2973
2973
|
const _hoisted_3$4 = { class: "scale-left" };
|
|
2974
|
-
const _hoisted_4$4 =
|
|
2975
|
-
const _hoisted_5$3 =
|
|
2976
|
-
const _hoisted_6$3 = { class: "legend-
|
|
2977
|
-
const _hoisted_7$3 = {
|
|
2978
|
-
const _hoisted_8$2 = {
|
|
2974
|
+
const _hoisted_4$4 = ["onClick"];
|
|
2975
|
+
const _hoisted_5$3 = { class: "legend-line-item-top" };
|
|
2976
|
+
const _hoisted_6$3 = { class: "legend-text" };
|
|
2977
|
+
const _hoisted_7$3 = {
|
|
2979
2978
|
key: 0,
|
|
2980
2979
|
class: "legend-data"
|
|
2981
2980
|
};
|
|
2982
|
-
const
|
|
2981
|
+
const _hoisted_8$2 = { class: "scale-right" };
|
|
2983
2982
|
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2984
2983
|
return openBlock(), createElementBlock("div", {
|
|
2985
2984
|
class: "kd-lane-chart-container-legend-item",
|
|
@@ -2988,7 +2987,10 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2988
2987
|
createElementVNode("div", _hoisted_1$7, toDisplayString($options.getParamName()), 1),
|
|
2989
2988
|
createElementVNode("div", _hoisted_2$6, [
|
|
2990
2989
|
createElementVNode("div", _hoisted_3$4, toDisplayString($props.line.min || 0), 1),
|
|
2991
|
-
createElementVNode("div",
|
|
2990
|
+
createElementVNode("div", {
|
|
2991
|
+
class: "legend-lines",
|
|
2992
|
+
style: normalizeStyle({ flexDirection: $props.formCache.displayType == "header" ? "column" : "row" })
|
|
2993
|
+
}, [
|
|
2992
2994
|
(openBlock(true), createElementBlock(Fragment, null, renderList($options.legendList, (legend, index2) => {
|
|
2993
2995
|
return openBlock(), createElementBlock("div", {
|
|
2994
2996
|
class: "legend-line-item",
|
|
@@ -2996,22 +2998,22 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2996
2998
|
onClick: ($event) => $options.toggleLegend(legend.label),
|
|
2997
2999
|
style: normalizeStyle({ opacity: legend.isUsed ? 1 : 0.5 })
|
|
2998
3000
|
}, [
|
|
2999
|
-
createElementVNode("div",
|
|
3001
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
3000
3002
|
createElementVNode("div", {
|
|
3001
3003
|
class: normalizeClass(["legend-color", legend.lineType]),
|
|
3002
3004
|
style: normalizeStyle({ borderBottom: `2px ${legend.lineType} ${legend.color}` })
|
|
3003
3005
|
}, null, 6),
|
|
3004
|
-
createElementVNode("div",
|
|
3006
|
+
createElementVNode("div", _hoisted_6$3, toDisplayString(legend.label), 1)
|
|
3005
3007
|
]),
|
|
3006
|
-
$props.formCache.displayType == "header" ? (openBlock(), createElementBlock("div",
|
|
3007
|
-
], 12,
|
|
3008
|
+
$props.formCache.displayType == "header" ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(legend.data), 1)) : createCommentVNode("", true)
|
|
3009
|
+
], 12, _hoisted_4$4);
|
|
3008
3010
|
}), 128))
|
|
3009
|
-
]),
|
|
3010
|
-
createElementVNode("div",
|
|
3011
|
+
], 4),
|
|
3012
|
+
createElementVNode("div", _hoisted_8$2, toDisplayString($props.line.max || 20), 1)
|
|
3011
3013
|
])
|
|
3012
3014
|
], 4);
|
|
3013
3015
|
}
|
|
3014
|
-
const LegendItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
3016
|
+
const LegendItem = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-efba8aa1"]]);
|
|
3015
3017
|
const _sfc_main$6 = {
|
|
3016
3018
|
name: "KdLaneContainer",
|
|
3017
3019
|
provide() {
|
|
@@ -4146,13 +4148,15 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4146
4148
|
width: "45%",
|
|
4147
4149
|
modelValue: $data.curveConfigVisible,
|
|
4148
4150
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => $data.curveConfigVisible = $event),
|
|
4149
|
-
"append-to-body":
|
|
4150
|
-
"
|
|
4151
|
+
"append-to-body": true,
|
|
4152
|
+
"header-class": "kd-lane-chart-v3-custom-dialog__header",
|
|
4153
|
+
"body-class": "kd-lane-chart-v3-custom-dialog__body",
|
|
4154
|
+
"footer-class": "kd-lane-chart-v3-custom-dialog__footer",
|
|
4155
|
+
class: "kd-lane-chart-v3-custom-dialog",
|
|
4151
4156
|
"close-on-click-modal": false,
|
|
4152
4157
|
"close-on-press-escape": false,
|
|
4153
4158
|
"show-close": false,
|
|
4154
4159
|
onClose: $options.closeCurveConfigDialog,
|
|
4155
|
-
class: "custom-dialog",
|
|
4156
4160
|
"align-center": ""
|
|
4157
4161
|
}, {
|
|
4158
4162
|
header: withCtx(() => [
|
|
@@ -4201,7 +4205,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4201
4205
|
}, 8, ["modelValue", "onClose"])
|
|
4202
4206
|
], 544);
|
|
4203
4207
|
}
|
|
4204
|
-
const KdLaneContainerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
4208
|
+
const KdLaneContainerComponent = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-7b18e475"]]);
|
|
4205
4209
|
const SLIDER_GROUP_ID = "depthSliderGroup";
|
|
4206
4210
|
function pad2(n) {
|
|
4207
4211
|
return n < 10 ? "0" + n : "" + n;
|
|
@@ -5615,7 +5619,6 @@ const _sfc_main$4 = {
|
|
|
5615
5619
|
}
|
|
5616
5620
|
},
|
|
5617
5621
|
handleClickExport(data) {
|
|
5618
|
-
this.exportName = data.name;
|
|
5619
5622
|
if (this.$refs.ExportTimeFormRef) {
|
|
5620
5623
|
this.$refs.ExportTimeFormRef.clearValidate();
|
|
5621
5624
|
}
|
|
@@ -6245,14 +6248,16 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6245
6248
|
createVNode(_component_el_dialog, {
|
|
6246
6249
|
modelValue: $data.timeDialogVisible,
|
|
6247
6250
|
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => $data.timeDialogVisible = $event),
|
|
6248
|
-
"append-to-body": false,
|
|
6249
|
-
"custom-class": "custom-dialog",
|
|
6250
6251
|
"close-on-click-modal": false,
|
|
6251
6252
|
"close-on-press-escape": false,
|
|
6252
6253
|
"show-close": false,
|
|
6253
|
-
width: "
|
|
6254
|
+
width: "300px",
|
|
6254
6255
|
onClose: $options.closeTimeDialog,
|
|
6255
|
-
|
|
6256
|
+
"append-to-body": true,
|
|
6257
|
+
"header-class": "kd-lane-chart-v3-custom-dialog__header",
|
|
6258
|
+
"body-class": "kd-lane-chart-v3-custom-dialog__body",
|
|
6259
|
+
"footer-class": "kd-lane-chart-v3-custom-dialog__footer",
|
|
6260
|
+
class: "kd-lane-chart-v3-custom-dialog",
|
|
6256
6261
|
"align-center": ""
|
|
6257
6262
|
}, {
|
|
6258
6263
|
header: withCtx(() => [
|
|
@@ -6298,7 +6303,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6298
6303
|
default: withCtx(() => [
|
|
6299
6304
|
createElementVNode("div", _hoisted_22, [
|
|
6300
6305
|
_cache[44] || (_cache[44] = createElementVNode("div", {
|
|
6301
|
-
style: { "min-width": "
|
|
6306
|
+
style: { "min-width": "30px", "display": "flex", "align-items": "center", "height": "100%", "white-space": "nowrap" },
|
|
6302
6307
|
class: "fontColor"
|
|
6303
6308
|
}, "时间:", -1)),
|
|
6304
6309
|
createElementVNode("div", _hoisted_23, [
|
|
@@ -6326,15 +6331,17 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6326
6331
|
createVNode(_component_el_dialog, {
|
|
6327
6332
|
modelValue: $data.depthDialogVisible,
|
|
6328
6333
|
"onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => $data.depthDialogVisible = $event),
|
|
6329
|
-
"append-to-body":
|
|
6330
|
-
"
|
|
6334
|
+
"append-to-body": true,
|
|
6335
|
+
"header-class": "kd-lane-chart-v3-custom-dialog__header",
|
|
6336
|
+
"body-class": "kd-lane-chart-v3-custom-dialog__body",
|
|
6337
|
+
"footer-class": "kd-lane-chart-v3-custom-dialog__footer",
|
|
6338
|
+
class: "kd-lane-chart-v3-custom-dialog",
|
|
6331
6339
|
"close-on-click-modal": false,
|
|
6332
6340
|
"close-on-press-escape": false,
|
|
6333
6341
|
"show-close": false,
|
|
6334
|
-
width: "
|
|
6342
|
+
width: "300px",
|
|
6335
6343
|
onClose: $options.closeDepthDialog,
|
|
6336
|
-
"align-center": ""
|
|
6337
|
-
class: "custom-dialog"
|
|
6344
|
+
"align-center": ""
|
|
6338
6345
|
}, {
|
|
6339
6346
|
header: withCtx(() => [
|
|
6340
6347
|
createElementVNode("div", _hoisted_25, [
|
|
@@ -6383,7 +6390,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6383
6390
|
default: withCtx(() => [
|
|
6384
6391
|
createElementVNode("div", _hoisted_27, [
|
|
6385
6392
|
_cache[48] || (_cache[48] = createElementVNode("div", {
|
|
6386
|
-
style: { "min-width": "
|
|
6393
|
+
style: { "min-width": "60px", "display": "flex", "align-items": "center", "height": "100%", "white-space": "nowrap" },
|
|
6387
6394
|
class: "fontColor"
|
|
6388
6395
|
}, "起始井深:", -1)),
|
|
6389
6396
|
createElementVNode("div", _hoisted_28, [
|
|
@@ -6410,7 +6417,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6410
6417
|
default: withCtx(() => [
|
|
6411
6418
|
createElementVNode("div", _hoisted_29, [
|
|
6412
6419
|
_cache[49] || (_cache[49] = createElementVNode("div", {
|
|
6413
|
-
style: { "min-width": "
|
|
6420
|
+
style: { "min-width": "60px", "display": "flex", "align-items": "center", "height": "100%", "white-space": "nowrap" },
|
|
6414
6421
|
class: "fontColor"
|
|
6415
6422
|
}, "结束井深:", -1)),
|
|
6416
6423
|
createElementVNode("div", _hoisted_30, [
|
|
@@ -6436,15 +6443,17 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6436
6443
|
createVNode(_component_el_dialog, {
|
|
6437
6444
|
modelValue: $data.exportDialogVisible,
|
|
6438
6445
|
"onUpdate:modelValue": _cache[31] || (_cache[31] = ($event) => $data.exportDialogVisible = $event),
|
|
6439
|
-
"append-to-body":
|
|
6440
|
-
"
|
|
6446
|
+
"append-to-body": true,
|
|
6447
|
+
"header-class": "kd-lane-chart-v3-custom-dialog__header",
|
|
6448
|
+
"body-class": "kd-lane-chart-v3-custom-dialog__body",
|
|
6449
|
+
"footer-class": "kd-lane-chart-v3-custom-dialog__footer",
|
|
6450
|
+
class: "kd-lane-chart-v3-custom-dialog",
|
|
6441
6451
|
"close-on-click-modal": false,
|
|
6442
6452
|
"close-on-press-escape": false,
|
|
6443
6453
|
"show-close": false,
|
|
6444
|
-
width: "
|
|
6454
|
+
width: "450px",
|
|
6445
6455
|
onClose: $options.closeExportDialog,
|
|
6446
|
-
"align-center": ""
|
|
6447
|
-
class: "custom-dialog"
|
|
6456
|
+
"align-center": ""
|
|
6448
6457
|
}, {
|
|
6449
6458
|
header: withCtx(() => [
|
|
6450
6459
|
createElementVNode("div", _hoisted_32, [
|
|
@@ -6498,7 +6507,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6498
6507
|
key: 0,
|
|
6499
6508
|
model: $data.exportTimeDialog,
|
|
6500
6509
|
ref: "ExportTimeFormRef",
|
|
6501
|
-
style: { "display": "flex", "flex-direction": "column", "gap": "16px"
|
|
6510
|
+
style: { "display": "flex", "flex-direction": "column", "gap": "16px" }
|
|
6502
6511
|
}, {
|
|
6503
6512
|
default: withCtx(() => [
|
|
6504
6513
|
createVNode(_component_el_form_item, {
|
|
@@ -6508,7 +6517,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6508
6517
|
default: withCtx(() => [
|
|
6509
6518
|
createElementVNode("div", _hoisted_34, [
|
|
6510
6519
|
_cache[53] || (_cache[53] = createElementVNode("div", {
|
|
6511
|
-
style: { "min-width": "
|
|
6520
|
+
style: { "min-width": "60px", "display": "flex", "align-items": "center", "height": "100%", "white-space": "nowrap" },
|
|
6512
6521
|
class: "fontColor"
|
|
6513
6522
|
}, "时间范围:", -1)),
|
|
6514
6523
|
createElementVNode("div", _hoisted_35, [
|
|
@@ -6535,7 +6544,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6535
6544
|
key: 1,
|
|
6536
6545
|
model: $data.exportDepthDialog,
|
|
6537
6546
|
ref: "ExportDepthFormRef",
|
|
6538
|
-
style: { "display": "flex", "flex-direction": "column", "gap": "16px"
|
|
6547
|
+
style: { "display": "flex", "flex-direction": "column", "gap": "16px" }
|
|
6539
6548
|
}, {
|
|
6540
6549
|
default: withCtx(() => [
|
|
6541
6550
|
createVNode(_component_el_form_item, {
|
|
@@ -6549,7 +6558,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6549
6558
|
default: withCtx(() => [
|
|
6550
6559
|
createElementVNode("div", _hoisted_36, [
|
|
6551
6560
|
_cache[54] || (_cache[54] = createElementVNode("div", {
|
|
6552
|
-
style: { "min-width": "
|
|
6561
|
+
style: { "min-width": "60px", "display": "flex", "align-items": "center", "height": "100%", "white-space": "nowrap" },
|
|
6553
6562
|
class: "fontColor"
|
|
6554
6563
|
}, "起始井深:", -1)),
|
|
6555
6564
|
createElementVNode("div", _hoisted_37, [
|
|
@@ -6577,7 +6586,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6577
6586
|
default: withCtx(() => [
|
|
6578
6587
|
createElementVNode("div", _hoisted_38, [
|
|
6579
6588
|
_cache[55] || (_cache[55] = createElementVNode("div", {
|
|
6580
|
-
style: { "min-width": "
|
|
6589
|
+
style: { "min-width": "60px", "display": "flex", "align-items": "center", "height": "100%", "white-space": "nowrap" },
|
|
6581
6590
|
class: "fontColor"
|
|
6582
6591
|
}, "终止井深:", -1)),
|
|
6583
6592
|
createElementVNode("div", _hoisted_39, [
|
|
@@ -6602,7 +6611,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6602
6611
|
}, 8, ["modelValue", "onClose"])
|
|
6603
6612
|
]);
|
|
6604
6613
|
}
|
|
6605
|
-
const FunctionControlPanel = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
6614
|
+
const FunctionControlPanel = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-def5c949"]]);
|
|
6606
6615
|
const INIT_TRIGGERS = ["theme", "initOptions", "autoresize"];
|
|
6607
6616
|
const REWATCH_TRIGGERS = ["manualUpdate", "watchShallow"];
|
|
6608
6617
|
const _sfc_main$3 = {
|
|
@@ -7200,6 +7209,7 @@ const _sfc_main$2 = {
|
|
|
7200
7209
|
});
|
|
7201
7210
|
},
|
|
7202
7211
|
hideAxisPointerAcrossCharts() {
|
|
7212
|
+
if (this.formCache.displayType !== "header") return;
|
|
7203
7213
|
this.crosshairVisible = false;
|
|
7204
7214
|
this.headerData = {};
|
|
7205
7215
|
this.getConnectedCharts().forEach((chart) => {
|
|
@@ -8270,7 +8280,7 @@ const _sfc_main$2 = {
|
|
|
8270
8280
|
type: "line",
|
|
8271
8281
|
xAxisIndex,
|
|
8272
8282
|
yAxisIndex: gridIndex,
|
|
8273
|
-
name: (lineInfo.recommendParamId ?
|
|
8283
|
+
name: (lineInfo.recommendParamId ? "实际值" : paramNameMap[lineInfo.paramId]) || "",
|
|
8274
8284
|
symbol: lineInfo.symbol || "none",
|
|
8275
8285
|
color: lineInfo.themeConfig ? lineInfo.isGradient && ((_b = (_a2 = this.linearGradientLineColor) == null ? void 0 : _a2[this.nowTheme]) == null ? void 0 : _b[lineInfo.paramId]) ? this.linearGradientLineColor[this.nowTheme][lineInfo.paramId] : lineInfo.themeConfig[this.nowTheme].lineColor : lineInfo.lineColor,
|
|
8276
8286
|
symbolSize: getAdaptedFontSize(lineInfo.symbolSize || 6),
|
|
@@ -8304,7 +8314,7 @@ const _sfc_main$2 = {
|
|
|
8304
8314
|
type: "line",
|
|
8305
8315
|
xAxisIndex,
|
|
8306
8316
|
yAxisIndex: gridIndex,
|
|
8307
|
-
name:
|
|
8317
|
+
name: "推荐值",
|
|
8308
8318
|
symbol: "none",
|
|
8309
8319
|
color: lineInfo.themeConfig ? lineInfo.themeConfig[this.nowTheme].lineColor : lineInfo.lineColor,
|
|
8310
8320
|
lineStyle: {
|
|
@@ -8691,8 +8701,6 @@ const _sfc_main$2 = {
|
|
|
8691
8701
|
]);
|
|
8692
8702
|
}
|
|
8693
8703
|
if (customData.length === 0) return null;
|
|
8694
|
-
console.log("customData length:", customData.length);
|
|
8695
|
-
console.log("customData sample:", customData.slice(0, 3));
|
|
8696
8704
|
const color = lineInfo.rangeAreaColor || lineInfo.themeConfig ? lineInfo.isGradient && ((_b = (_a = this.linearGradientLineColor) == null ? void 0 : _a[this.nowTheme]) == null ? void 0 : _b[lineInfo.paramId]) ? this.linearGradientLineColor[this.nowTheme][lineInfo.paramId] : lineInfo.themeConfig[this.nowTheme].lineColor : lineInfo.lineColor;
|
|
8697
8705
|
return {
|
|
8698
8706
|
type: "custom",
|
|
@@ -9343,7 +9351,6 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9343
9351
|
createElementVNode("div", _hoisted_2$2, [
|
|
9344
9352
|
createVNode(_component_chartContainer, mergeProps({ ..._ctx.$props, ..._ctx.$attrs }, {
|
|
9345
9353
|
ref: "chartContainer",
|
|
9346
|
-
onMouseleave: $options.hideAxisPointerAcrossCharts,
|
|
9347
9354
|
onTemplateChange: $options.templateChange,
|
|
9348
9355
|
onLineChange: $options.lineChange,
|
|
9349
9356
|
onLaneWidthChange: $options.laneWidthChange,
|
|
@@ -9367,15 +9374,14 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9367
9374
|
_ctx.$slots[`content${lane.laneId}`] ? (openBlock(), createElementBlock("div", {
|
|
9368
9375
|
key: 0,
|
|
9369
9376
|
onWheel: _cache[0] || (_cache[0] = (...args) => $options.handleWheel && $options.handleWheel(...args)),
|
|
9370
|
-
onMousemove: _cache[1] || (_cache[1] = (...args) => $options.hideAxisPointerAcrossCharts && $options.hideAxisPointerAcrossCharts(...args)),
|
|
9371
9377
|
class: "kd-lane-chart-lane-container-echart-content",
|
|
9372
9378
|
style: normalizeStyle($options.getLaneChartContentStyle(lane.laneId))
|
|
9373
9379
|
}, [
|
|
9374
9380
|
renderSlot(_ctx.$slots, `content${lane.laneId}`, { lane }, void 0, true)
|
|
9375
9381
|
], 36)) : (openBlock(), createElementBlock("div", {
|
|
9376
9382
|
key: 1,
|
|
9377
|
-
onWheel: _cache[
|
|
9378
|
-
onMouseleave: _cache[
|
|
9383
|
+
onWheel: _cache[1] || (_cache[1] = (...args) => $options.handleWheel && $options.handleWheel(...args)),
|
|
9384
|
+
onMouseleave: _cache[2] || (_cache[2] = (...args) => $options.hideAxisPointerAcrossCharts && $options.hideAxisPointerAcrossCharts(...args)),
|
|
9379
9385
|
class: "kd-lane-chart-lane-container-echart-content",
|
|
9380
9386
|
style: normalizeStyle($options.getLaneChartContentStyle(lane.laneId))
|
|
9381
9387
|
}, [
|
|
@@ -9396,14 +9402,15 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9396
9402
|
fn: withCtx(() => [
|
|
9397
9403
|
_ctx.$slots[`content${lane.laneId}`] ? (openBlock(), createElementBlock("div", {
|
|
9398
9404
|
key: 0,
|
|
9399
|
-
onWheel: _cache[
|
|
9405
|
+
onWheel: _cache[3] || (_cache[3] = (...args) => $options.handleWheel && $options.handleWheel(...args)),
|
|
9400
9406
|
class: "kd-lane-chart-lane-container-echart-content",
|
|
9401
9407
|
style: normalizeStyle($options.getLaneChartContentStyle(lane.laneId))
|
|
9402
9408
|
}, [
|
|
9403
9409
|
renderSlot(_ctx.$slots, `content${lane.laneId}`, { lane }, void 0, true)
|
|
9404
9410
|
], 36)) : (openBlock(), createElementBlock("div", {
|
|
9405
9411
|
key: 1,
|
|
9406
|
-
onWheel: _cache[
|
|
9412
|
+
onWheel: _cache[4] || (_cache[4] = (...args) => $options.handleWheel && $options.handleWheel(...args)),
|
|
9413
|
+
onMouseleave: _cache[5] || (_cache[5] = (...args) => $options.hideAxisPointerAcrossCharts && $options.hideAxisPointerAcrossCharts(...args)),
|
|
9407
9414
|
class: "kd-lane-chart-lane-container-echart-content",
|
|
9408
9415
|
style: normalizeStyle($options.getLaneChartContentStyle(lane.laneId))
|
|
9409
9416
|
}, [
|
|
@@ -9418,7 +9425,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9418
9425
|
])
|
|
9419
9426
|
};
|
|
9420
9427
|
})
|
|
9421
|
-
]), 1040, ["
|
|
9428
|
+
]), 1040, ["onTemplateChange", "onLineChange", "onLaneWidthChange", "onParamsChange", "visibleData", "headerData", "lineRange"])
|
|
9422
9429
|
], 512),
|
|
9423
9430
|
withDirectives(createElementVNode("div", {
|
|
9424
9431
|
class: "kd-lane-crosshair-line",
|
|
@@ -9428,7 +9435,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9428
9435
|
])
|
|
9429
9436
|
], 512);
|
|
9430
9437
|
}
|
|
9431
|
-
const chartContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
9438
|
+
const chartContainer = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-560cb988"]]);
|
|
9432
9439
|
const _sfc_main$1 = {
|
|
9433
9440
|
name: "ParameterPanel",
|
|
9434
9441
|
props: {
|