kd-curve-v2 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/dist/esm/index.js +348 -254
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -2175,7 +2175,7 @@ var script$a = {
|
|
|
2175
2175
|
},
|
|
2176
2176
|
};
|
|
2177
2177
|
|
|
2178
|
-
var css_248z$b = "@charset \"UTF-8\";\n.function-control-panel[data-v-
|
|
2178
|
+
var css_248z$b = "@charset \"UTF-8\";\n.function-control-panel[data-v-682ce335] {\n width: 100%;\n height: 100%;\n color: var(--text-color);\n font-size: 14px;\n overflow-x: hidden;\n overflow-y: auto;\n /* 隐藏滚动条 */\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n.function-control-panel[data-v-682ce335]::-webkit-scrollbar {\n display: none;\n}\n.function-control-panel .radio-group[data-v-682ce335] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding-bottom: 8px;\n}\n.el-select-disabled[data-v-682ce335] {\n opacity: 0.5;\n}\n\n/*/* 分割线 */\n.divider[data-v-682ce335] {\n height: 1px;\n background: var(--border-color);\n margin-bottom: 8px;\n}\n\n/* label */\n.label[data-v-682ce335] {\n color: #aaa;\n margin-bottom: 2px;\n}\n\n/* 操作按钮 */\n.actions[data-v-682ce335] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n.btn[data-v-682ce335] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 2px;\n text-align: center;\n font-family: Microsoft YaHei UI, Microsoft YaHei UI;\n font-weight: 400;\n cursor: pointer;\n}\n.btn .icon[data-v-682ce335] {\n width: 54px;\n height: 54px;\n}\n.btn.disabled[data-v-682ce335] {\n color: #666;\n cursor: not-allowed;\n}\n.btn.disabled .icon[data-v-682ce335] {\n opacity: 0.5;\n}\n.fontColor[data-v-682ce335] {\n color: var(--default-text-color);\n}";
|
|
2179
2179
|
styleInject(css_248z$b);
|
|
2180
2180
|
|
|
2181
2181
|
/* script */
|
|
@@ -2189,273 +2189,301 @@ var __vue_render__$a = function () {
|
|
|
2189
2189
|
"div",
|
|
2190
2190
|
{ staticClass: "function-control-panel" },
|
|
2191
2191
|
[
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
staticClass: "radio-group",
|
|
2196
|
-
on: {
|
|
2197
|
-
change: function ($event) {
|
|
2198
|
-
return _vm.changeForm($event, "axisType")
|
|
2199
|
-
},
|
|
2200
|
-
},
|
|
2201
|
-
model: {
|
|
2202
|
-
value: _vm.form.axisType,
|
|
2203
|
-
callback: function ($$v) {
|
|
2204
|
-
_vm.$set(_vm.form, "axisType", $$v);
|
|
2205
|
-
},
|
|
2206
|
-
expression: "form.axisType",
|
|
2207
|
-
},
|
|
2208
|
-
},
|
|
2209
|
-
[
|
|
2210
|
-
_c(
|
|
2211
|
-
"el-radio",
|
|
2212
|
-
{
|
|
2213
|
-
attrs: {
|
|
2214
|
-
label: "time",
|
|
2215
|
-
disabled:
|
|
2216
|
-
!_vm.toolBarConfig ||
|
|
2217
|
-
!_vm.toolBarConfig.axisTypeList ||
|
|
2218
|
-
!_vm.toolBarConfig.axisTypeList.time,
|
|
2219
|
-
},
|
|
2220
|
-
},
|
|
2221
|
-
[_vm._v("时间")]
|
|
2222
|
-
),
|
|
2223
|
-
_vm._v(" "),
|
|
2224
|
-
_c(
|
|
2225
|
-
"el-radio",
|
|
2192
|
+
_vm.toolBarConfig.timeDepthRadioShow !== false
|
|
2193
|
+
? _c(
|
|
2194
|
+
"el-radio-group",
|
|
2226
2195
|
{
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
!_vm.toolBarConfig.axisTypeList.depth,
|
|
2233
|
-
},
|
|
2234
|
-
},
|
|
2235
|
-
[_vm._v("深度")]
|
|
2236
|
-
),
|
|
2237
|
-
],
|
|
2238
|
-
1
|
|
2239
|
-
),
|
|
2240
|
-
_vm._v(" "),
|
|
2241
|
-
_c("div", { staticClass: "divider" }),
|
|
2242
|
-
_vm._v(" "),
|
|
2243
|
-
_c(
|
|
2244
|
-
"el-radio-group",
|
|
2245
|
-
{
|
|
2246
|
-
staticClass: "radio-group",
|
|
2247
|
-
on: {
|
|
2248
|
-
change: function ($event) {
|
|
2249
|
-
return _vm.changeForm($event, "dataType")
|
|
2250
|
-
},
|
|
2251
|
-
},
|
|
2252
|
-
model: {
|
|
2253
|
-
value: _vm.form.dataType,
|
|
2254
|
-
callback: function ($$v) {
|
|
2255
|
-
_vm.$set(_vm.form, "dataType", $$v);
|
|
2256
|
-
},
|
|
2257
|
-
expression: "form.dataType",
|
|
2258
|
-
},
|
|
2259
|
-
},
|
|
2260
|
-
[
|
|
2261
|
-
_c(
|
|
2262
|
-
"el-radio",
|
|
2263
|
-
{
|
|
2264
|
-
attrs: {
|
|
2265
|
-
label: "real",
|
|
2266
|
-
disabled:
|
|
2267
|
-
!_vm.toolBarConfig ||
|
|
2268
|
-
!_vm.toolBarConfig.dataTypeList ||
|
|
2269
|
-
!_vm.toolBarConfig.dataTypeList.real,
|
|
2196
|
+
staticClass: "radio-group",
|
|
2197
|
+
on: {
|
|
2198
|
+
change: function ($event) {
|
|
2199
|
+
return _vm.changeForm($event, "axisType")
|
|
2200
|
+
},
|
|
2270
2201
|
},
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
{
|
|
2278
|
-
attrs: {
|
|
2279
|
-
label: "history",
|
|
2280
|
-
disabled:
|
|
2281
|
-
!_vm.toolBarConfig ||
|
|
2282
|
-
!_vm.toolBarConfig.dataTypeList ||
|
|
2283
|
-
!_vm.toolBarConfig.dataTypeList.history,
|
|
2202
|
+
model: {
|
|
2203
|
+
value: _vm.form.axisType,
|
|
2204
|
+
callback: function ($$v) {
|
|
2205
|
+
_vm.$set(_vm.form, "axisType", $$v);
|
|
2206
|
+
},
|
|
2207
|
+
expression: "form.axisType",
|
|
2284
2208
|
},
|
|
2285
2209
|
},
|
|
2286
|
-
[
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2210
|
+
[
|
|
2211
|
+
_c(
|
|
2212
|
+
"el-radio",
|
|
2213
|
+
{
|
|
2214
|
+
attrs: {
|
|
2215
|
+
label: "time",
|
|
2216
|
+
disabled:
|
|
2217
|
+
!_vm.toolBarConfig ||
|
|
2218
|
+
!_vm.toolBarConfig.axisTypeList ||
|
|
2219
|
+
!_vm.toolBarConfig.axisTypeList.time,
|
|
2220
|
+
},
|
|
2221
|
+
},
|
|
2222
|
+
[_vm._v("时间")]
|
|
2223
|
+
),
|
|
2224
|
+
_vm._v(" "),
|
|
2225
|
+
_c(
|
|
2226
|
+
"el-radio",
|
|
2227
|
+
{
|
|
2228
|
+
attrs: {
|
|
2229
|
+
label: "depth",
|
|
2230
|
+
disabled:
|
|
2231
|
+
!_vm.toolBarConfig ||
|
|
2232
|
+
!_vm.toolBarConfig.axisTypeList ||
|
|
2233
|
+
!_vm.toolBarConfig.axisTypeList.depth,
|
|
2234
|
+
},
|
|
2235
|
+
},
|
|
2236
|
+
[_vm._v("深度")]
|
|
2237
|
+
),
|
|
2238
|
+
],
|
|
2239
|
+
1
|
|
2240
|
+
)
|
|
2241
|
+
: _vm._e(),
|
|
2318
2242
|
_vm._v(" "),
|
|
2319
|
-
|
|
2243
|
+
_vm.toolBarConfig.timeDepthRadioShow !== false
|
|
2244
|
+
? _c("div", { staticClass: "divider" })
|
|
2245
|
+
: _vm._e(),
|
|
2320
2246
|
_vm._v(" "),
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
attrs: {
|
|
2325
|
-
disabled: _vm.form.axisType === "depth",
|
|
2326
|
-
content: "时间轴类型下不支持设置比例尺",
|
|
2327
|
-
placement: "right",
|
|
2328
|
-
effect: "dark",
|
|
2329
|
-
},
|
|
2330
|
-
},
|
|
2331
|
-
[
|
|
2332
|
-
_c(
|
|
2333
|
-
"el-select",
|
|
2247
|
+
_vm.toolBarConfig.realHistoryRadioShow !== false
|
|
2248
|
+
? _c(
|
|
2249
|
+
"el-radio-group",
|
|
2334
2250
|
{
|
|
2335
|
-
|
|
2336
|
-
staticStyle: { "margin-bottom": "8px" },
|
|
2337
|
-
attrs: {
|
|
2338
|
-
"popper-class": "kd-curve-2d-select-popup",
|
|
2339
|
-
disabled: _vm.form.axisType !== "depth",
|
|
2340
|
-
},
|
|
2251
|
+
staticClass: "radio-group",
|
|
2341
2252
|
on: {
|
|
2342
2253
|
change: function ($event) {
|
|
2343
|
-
return _vm.changeForm($event, "
|
|
2254
|
+
return _vm.changeForm($event, "dataType")
|
|
2344
2255
|
},
|
|
2345
2256
|
},
|
|
2346
2257
|
model: {
|
|
2347
|
-
value: _vm.form.
|
|
2258
|
+
value: _vm.form.dataType,
|
|
2348
2259
|
callback: function ($$v) {
|
|
2349
|
-
_vm.$set(_vm.form, "
|
|
2260
|
+
_vm.$set(_vm.form, "dataType", $$v);
|
|
2350
2261
|
},
|
|
2351
|
-
expression: "form.
|
|
2262
|
+
expression: "form.dataType",
|
|
2352
2263
|
},
|
|
2353
2264
|
},
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2265
|
+
[
|
|
2266
|
+
_c(
|
|
2267
|
+
"el-radio",
|
|
2268
|
+
{
|
|
2269
|
+
attrs: {
|
|
2270
|
+
label: "real",
|
|
2271
|
+
disabled:
|
|
2272
|
+
!_vm.toolBarConfig ||
|
|
2273
|
+
!_vm.toolBarConfig.dataTypeList ||
|
|
2274
|
+
!_vm.toolBarConfig.dataTypeList.real,
|
|
2275
|
+
},
|
|
2276
|
+
},
|
|
2277
|
+
[_vm._v("实时数据")]
|
|
2278
|
+
),
|
|
2279
|
+
_vm._v(" "),
|
|
2280
|
+
_c(
|
|
2281
|
+
"el-radio",
|
|
2282
|
+
{
|
|
2283
|
+
attrs: {
|
|
2284
|
+
label: "history",
|
|
2285
|
+
disabled:
|
|
2286
|
+
!_vm.toolBarConfig ||
|
|
2287
|
+
!_vm.toolBarConfig.dataTypeList ||
|
|
2288
|
+
!_vm.toolBarConfig.dataTypeList.history,
|
|
2289
|
+
},
|
|
2290
|
+
},
|
|
2291
|
+
[_vm._v("历史数据")]
|
|
2292
|
+
),
|
|
2293
|
+
],
|
|
2360
2294
|
1
|
|
2361
|
-
)
|
|
2362
|
-
|
|
2363
|
-
1
|
|
2364
|
-
),
|
|
2295
|
+
)
|
|
2296
|
+
: _vm._e(),
|
|
2365
2297
|
_vm._v(" "),
|
|
2366
|
-
|
|
2298
|
+
_vm.toolBarConfig.realHistoryRadioShow !== false
|
|
2299
|
+
? _c("div", { staticClass: "divider" })
|
|
2300
|
+
: _vm._e(),
|
|
2367
2301
|
_vm._v(" "),
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
attrs: {
|
|
2372
|
-
disabled: !(_vm.form.axisType == "depth"),
|
|
2373
|
-
content: _vm.getDisableTip("timeRange"),
|
|
2374
|
-
placement: "right",
|
|
2375
|
-
effect: "dark",
|
|
2376
|
-
},
|
|
2377
|
-
},
|
|
2378
|
-
[
|
|
2379
|
-
_c(
|
|
2380
|
-
"el-select",
|
|
2302
|
+
_vm.toolBarConfig.headerFloatRadioShow !== false
|
|
2303
|
+
? _c(
|
|
2304
|
+
"el-radio-group",
|
|
2381
2305
|
{
|
|
2382
|
-
|
|
2383
|
-
staticStyle: { "margin-bottom": "8px" },
|
|
2384
|
-
attrs: {
|
|
2385
|
-
"popper-class": "kd-curve-2d-select-popup",
|
|
2386
|
-
disabled: _vm.form.axisType == "depth",
|
|
2387
|
-
},
|
|
2306
|
+
staticClass: "radio-group",
|
|
2388
2307
|
on: {
|
|
2389
2308
|
change: function ($event) {
|
|
2390
|
-
return _vm.changeForm($event, "
|
|
2309
|
+
return _vm.changeForm($event, "displayType")
|
|
2391
2310
|
},
|
|
2392
2311
|
},
|
|
2393
2312
|
model: {
|
|
2394
|
-
value: _vm.form.
|
|
2313
|
+
value: _vm.form.displayType,
|
|
2395
2314
|
callback: function ($$v) {
|
|
2396
|
-
_vm.$set(_vm.form, "
|
|
2315
|
+
_vm.$set(_vm.form, "displayType", $$v);
|
|
2397
2316
|
},
|
|
2398
|
-
expression: "form.
|
|
2317
|
+
expression: "form.displayType",
|
|
2399
2318
|
},
|
|
2400
2319
|
},
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2320
|
+
[
|
|
2321
|
+
_c("el-radio", { attrs: { label: "header" } }, [
|
|
2322
|
+
_vm._v("表头数据"),
|
|
2323
|
+
]),
|
|
2324
|
+
_vm._v(" "),
|
|
2325
|
+
_c("el-radio", { attrs: { label: "float" } }, [
|
|
2326
|
+
_vm._v("悬浮数据"),
|
|
2327
|
+
]),
|
|
2328
|
+
],
|
|
2407
2329
|
1
|
|
2408
|
-
)
|
|
2409
|
-
|
|
2410
|
-
1
|
|
2411
|
-
),
|
|
2330
|
+
)
|
|
2331
|
+
: _vm._e(),
|
|
2412
2332
|
_vm._v(" "),
|
|
2413
|
-
|
|
2333
|
+
_vm.toolBarConfig.scaleSelectShow !== false
|
|
2334
|
+
? _c("div", { staticClass: "label" }, [_vm._v("比例尺:")])
|
|
2335
|
+
: _vm._e(),
|
|
2414
2336
|
_vm._v(" "),
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
attrs: {
|
|
2419
|
-
disabled: !(_vm.form.axisType == "time"),
|
|
2420
|
-
content: _vm.getDisableTip("depthRange"),
|
|
2421
|
-
placement: "right",
|
|
2422
|
-
effect: "dark",
|
|
2423
|
-
},
|
|
2424
|
-
},
|
|
2425
|
-
[
|
|
2426
|
-
_c(
|
|
2427
|
-
"el-select",
|
|
2337
|
+
_vm.toolBarConfig.scaleSelectShow !== false
|
|
2338
|
+
? _c(
|
|
2339
|
+
"el-tooltip",
|
|
2428
2340
|
{
|
|
2429
|
-
class: { "el-select-disabled": _vm.form.axisType == "time" },
|
|
2430
|
-
staticStyle: { "margin-bottom": "8px" },
|
|
2431
2341
|
attrs: {
|
|
2432
|
-
|
|
2433
|
-
|
|
2342
|
+
disabled: _vm.form.axisType === "depth",
|
|
2343
|
+
content: "时间轴类型下不支持设置比例尺",
|
|
2344
|
+
placement: "right",
|
|
2345
|
+
effect: "dark",
|
|
2434
2346
|
},
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2347
|
+
},
|
|
2348
|
+
[
|
|
2349
|
+
_c(
|
|
2350
|
+
"el-select",
|
|
2351
|
+
{
|
|
2352
|
+
class: {
|
|
2353
|
+
"el-select-disabled": _vm.form.axisType !== "depth",
|
|
2354
|
+
},
|
|
2355
|
+
staticStyle: { "margin-bottom": "8px" },
|
|
2356
|
+
attrs: {
|
|
2357
|
+
"popper-class": "kd-curve-2d-select-popup",
|
|
2358
|
+
disabled: _vm.form.axisType !== "depth",
|
|
2359
|
+
},
|
|
2360
|
+
on: {
|
|
2361
|
+
change: function ($event) {
|
|
2362
|
+
return _vm.changeForm($event, "scale")
|
|
2363
|
+
},
|
|
2364
|
+
},
|
|
2365
|
+
model: {
|
|
2366
|
+
value: _vm.form.scale,
|
|
2367
|
+
callback: function ($$v) {
|
|
2368
|
+
_vm.$set(_vm.form, "scale", $$v);
|
|
2369
|
+
},
|
|
2370
|
+
expression: "form.scale",
|
|
2371
|
+
},
|
|
2438
2372
|
},
|
|
2373
|
+
_vm._l(_vm.toolBarConfig.scaleList, function (item) {
|
|
2374
|
+
return _c("el-option", {
|
|
2375
|
+
key: item.value,
|
|
2376
|
+
attrs: { label: item.label, value: item.value },
|
|
2377
|
+
})
|
|
2378
|
+
}),
|
|
2379
|
+
1
|
|
2380
|
+
),
|
|
2381
|
+
],
|
|
2382
|
+
1
|
|
2383
|
+
)
|
|
2384
|
+
: _vm._e(),
|
|
2385
|
+
_vm._v(" "),
|
|
2386
|
+
_vm.toolBarConfig.timeRangeSelectShow !== false
|
|
2387
|
+
? _c("div", { staticClass: "label" }, [_vm._v("时间范围:")])
|
|
2388
|
+
: _vm._e(),
|
|
2389
|
+
_vm._v(" "),
|
|
2390
|
+
_vm.toolBarConfig.timeRangeSelectShow !== false
|
|
2391
|
+
? _c(
|
|
2392
|
+
"el-tooltip",
|
|
2393
|
+
{
|
|
2394
|
+
attrs: {
|
|
2395
|
+
disabled: !(_vm.form.axisType == "depth"),
|
|
2396
|
+
content: _vm.getDisableTip("timeRange"),
|
|
2397
|
+
placement: "right",
|
|
2398
|
+
effect: "dark",
|
|
2439
2399
|
},
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2400
|
+
},
|
|
2401
|
+
[
|
|
2402
|
+
_c(
|
|
2403
|
+
"el-select",
|
|
2404
|
+
{
|
|
2405
|
+
class: { "el-select-disabled": _vm.form.axisType == "depth" },
|
|
2406
|
+
staticStyle: { "margin-bottom": "8px" },
|
|
2407
|
+
attrs: {
|
|
2408
|
+
"popper-class": "kd-curve-2d-select-popup",
|
|
2409
|
+
disabled: _vm.form.axisType == "depth",
|
|
2410
|
+
},
|
|
2411
|
+
on: {
|
|
2412
|
+
change: function ($event) {
|
|
2413
|
+
return _vm.changeForm($event, "timeRange")
|
|
2414
|
+
},
|
|
2415
|
+
},
|
|
2416
|
+
model: {
|
|
2417
|
+
value: _vm.form.timeRange,
|
|
2418
|
+
callback: function ($$v) {
|
|
2419
|
+
_vm.$set(_vm.form, "timeRange", $$v);
|
|
2420
|
+
},
|
|
2421
|
+
expression: "form.timeRange",
|
|
2422
|
+
},
|
|
2444
2423
|
},
|
|
2445
|
-
|
|
2424
|
+
_vm._l(_vm.toolBarConfig.timeRangeList, function (item) {
|
|
2425
|
+
return _c("el-option", {
|
|
2426
|
+
key: item.value,
|
|
2427
|
+
attrs: { label: item.label, value: item.value },
|
|
2428
|
+
})
|
|
2429
|
+
}),
|
|
2430
|
+
1
|
|
2431
|
+
),
|
|
2432
|
+
],
|
|
2433
|
+
1
|
|
2434
|
+
)
|
|
2435
|
+
: _vm._e(),
|
|
2436
|
+
_vm._v(" "),
|
|
2437
|
+
_vm.toolBarConfig.depthRangeSelectShow !== false
|
|
2438
|
+
? _c("div", { staticClass: "label" }, [_vm._v("井深范围(m):")])
|
|
2439
|
+
: _vm._e(),
|
|
2440
|
+
_vm._v(" "),
|
|
2441
|
+
_vm.toolBarConfig.depthRangeSelectShow !== false
|
|
2442
|
+
? _c(
|
|
2443
|
+
"el-tooltip",
|
|
2444
|
+
{
|
|
2445
|
+
attrs: {
|
|
2446
|
+
disabled: !(_vm.form.axisType == "time"),
|
|
2447
|
+
content: _vm.getDisableTip("depthRange"),
|
|
2448
|
+
placement: "right",
|
|
2449
|
+
effect: "dark",
|
|
2446
2450
|
},
|
|
2447
2451
|
},
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2452
|
+
[
|
|
2453
|
+
_c(
|
|
2454
|
+
"el-select",
|
|
2455
|
+
{
|
|
2456
|
+
class: { "el-select-disabled": _vm.form.axisType == "time" },
|
|
2457
|
+
staticStyle: { "margin-bottom": "8px" },
|
|
2458
|
+
attrs: {
|
|
2459
|
+
"popper-class": "kd-curve-2d-select-popup",
|
|
2460
|
+
disabled: _vm.form.axisType == "time",
|
|
2461
|
+
},
|
|
2462
|
+
on: {
|
|
2463
|
+
change: function ($event) {
|
|
2464
|
+
return _vm.changeForm($event, "depthRange")
|
|
2465
|
+
},
|
|
2466
|
+
},
|
|
2467
|
+
model: {
|
|
2468
|
+
value: _vm.form.depthRange,
|
|
2469
|
+
callback: function ($$v) {
|
|
2470
|
+
_vm.$set(_vm.form, "depthRange", $$v);
|
|
2471
|
+
},
|
|
2472
|
+
expression: "form.depthRange",
|
|
2473
|
+
},
|
|
2474
|
+
},
|
|
2475
|
+
_vm._l(_vm.toolBarConfig.depthRangeList, function (item) {
|
|
2476
|
+
return _c("el-option", {
|
|
2477
|
+
key: item.value,
|
|
2478
|
+
attrs: { label: item.label, value: item.value },
|
|
2479
|
+
})
|
|
2480
|
+
}),
|
|
2481
|
+
1
|
|
2482
|
+
),
|
|
2483
|
+
],
|
|
2454
2484
|
1
|
|
2455
|
-
)
|
|
2456
|
-
|
|
2457
|
-
1
|
|
2458
|
-
),
|
|
2485
|
+
)
|
|
2486
|
+
: _vm._e(),
|
|
2459
2487
|
_vm._v(" "),
|
|
2460
2488
|
_c(
|
|
2461
2489
|
"div",
|
|
@@ -3245,7 +3273,7 @@ __vue_render__$a._withStripped = true;
|
|
|
3245
3273
|
/* style */
|
|
3246
3274
|
const __vue_inject_styles__$a = undefined;
|
|
3247
3275
|
/* scoped */
|
|
3248
|
-
const __vue_scope_id__$a = "data-v-
|
|
3276
|
+
const __vue_scope_id__$a = "data-v-682ce335";
|
|
3249
3277
|
/* module identifier */
|
|
3250
3278
|
const __vue_module_identifier__$a = undefined;
|
|
3251
3279
|
/* functional template */
|
|
@@ -6717,7 +6745,7 @@ var script$3 = {
|
|
|
6717
6745
|
},
|
|
6718
6746
|
};
|
|
6719
6747
|
|
|
6720
|
-
var css_248z$4 = "@charset \"UTF-8\";\n.kd-lane-chart-container-header-item[data-v-
|
|
6748
|
+
var css_248z$4 = "@charset \"UTF-8\";\n.kd-lane-chart-container-header-item[data-v-5e4488b8] {\n height: 42px;\n flex-shrink: 0;\n background: var(--kd-lane-container-header-bg);\n border-radius: 0px 0px 0px 0px;\n color: var(--kd-lane-container-header-item-color, #333);\n border: unset;\n position: relative;\n cursor: pointer;\n}\n.kd-lane-chart-container-header-item_warning[data-v-5e4488b8] {\n background: var(--kd-lane-container-header-item-warning-color, rgba(248, 108, 89, 0.6));\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container[data-v-5e4488b8] {\n height: 100%;\n width: 100%;\n position: relative;\n font-family: Microsoft YaHei UI, Microsoft YaHei UI;\n font-weight: 400;\n font-size: 10px;\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container .left[data-v-5e4488b8] {\n position: absolute;\n left: 2px;\n bottom: 2px;\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container .center[data-v-5e4488b8] {\n position: absolute;\n left: 50%;\n top: 50%;\n font-size: 14px;\n transform: translate(-50%, -50%);\n display: flex;\n flex-direction: column;\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container .center .paramsTitle[data-v-5e4488b8] {\n /* 文字不换行,超出显示省略号 */\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-family: Microsoft YaHei UI, Microsoft YaHei UI;\n font-weight: 400;\n font-size: 12px;\n color: var(--kd-lane-container-header-item-color, #333);\n text-align: center;\n font-style: normal;\n text-transform: none;\n margin-bottom: 2px;\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container .center .paramsData[data-v-5e4488b8] {\n /* 文字不换行,超出显示省略号 */\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n font-family: Microsoft YaHei UI, Microsoft YaHei UI;\n font-weight: bold;\n font-size: 14px;\n text-align: center;\n font-style: normal;\n text-transform: none;\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container .right[data-v-5e4488b8] {\n position: absolute;\n right: 2px;\n bottom: 2px;\n}\n.kd-lane-chart-container-header-item .kd-lane-chart-container-text-container .gradient-display[data-v-5e4488b8] {\n position: absolute;\n height: 2px;\n left: 0;\n bottom: 0;\n right: 0;\n}";
|
|
6721
6749
|
styleInject(css_248z$4);
|
|
6722
6750
|
|
|
6723
6751
|
/* script */
|
|
@@ -6767,7 +6795,7 @@ __vue_render__$3._withStripped = true;
|
|
|
6767
6795
|
/* style */
|
|
6768
6796
|
const __vue_inject_styles__$3 = undefined;
|
|
6769
6797
|
/* scoped */
|
|
6770
|
-
const __vue_scope_id__$3 = "data-v-
|
|
6798
|
+
const __vue_scope_id__$3 = "data-v-5e4488b8";
|
|
6771
6799
|
/* module identifier */
|
|
6772
6800
|
const __vue_module_identifier__$3 = undefined;
|
|
6773
6801
|
/* functional template */
|
|
@@ -6937,6 +6965,8 @@ var script$2 = {
|
|
|
6937
6965
|
resizeTimeout: null,
|
|
6938
6966
|
// 用于缓存车道头部宽度,避免无限循环
|
|
6939
6967
|
headerWidthCache: {},
|
|
6968
|
+
// 上次触发 visibleDataChange 的参数,用于比较是否发生变化
|
|
6969
|
+
lastVisibleDataChangeParams: null,
|
|
6940
6970
|
};
|
|
6941
6971
|
},
|
|
6942
6972
|
created() {
|
|
@@ -7256,6 +7286,7 @@ var script$2 = {
|
|
|
7256
7286
|
},
|
|
7257
7287
|
|
|
7258
7288
|
handleWheel(e) {
|
|
7289
|
+
if (this.isScrollingToHeader(e)) return;
|
|
7259
7290
|
e.preventDefault();
|
|
7260
7291
|
const dataLength = (this.realTimeData && this.realTimeData.length) || 0;
|
|
7261
7292
|
this.wheelDelta = Math.sign(e.deltaY);
|
|
@@ -7425,7 +7456,7 @@ var script$2 = {
|
|
|
7425
7456
|
data.lineSort = event.added.newIndex ?? 0;
|
|
7426
7457
|
this.dragUpdateLine(data).then(() => {
|
|
7427
7458
|
let promises = lane.lines.map((lines, index) => {
|
|
7428
|
-
lines.lineSort = index;
|
|
7459
|
+
lines.lineSort = index + 1;
|
|
7429
7460
|
return this.dragUpdateLine(lines);
|
|
7430
7461
|
});
|
|
7431
7462
|
Promise.all(promises).then(() => {
|
|
@@ -7441,7 +7472,7 @@ var script$2 = {
|
|
|
7441
7472
|
currentLanes.forEach((lane) => {
|
|
7442
7473
|
if (lane.laneId == data.laneId) {
|
|
7443
7474
|
let promises = lane.lines.map((lines, index) => {
|
|
7444
|
-
lines.lineSort = index;
|
|
7475
|
+
lines.lineSort = index + 1;
|
|
7445
7476
|
return this.dragUpdateLine(lines);
|
|
7446
7477
|
});
|
|
7447
7478
|
Promise.all(promises).then(() => {
|
|
@@ -7876,6 +7907,12 @@ var script$2 = {
|
|
|
7876
7907
|
event.stopPropagation();
|
|
7877
7908
|
this.$refs.vueSimpleContextMenu.showMenu(event, item);
|
|
7878
7909
|
},
|
|
7910
|
+
hiddenContextMenu() {
|
|
7911
|
+
const ctxRef = this.$refs.vueSimpleContextMenu;
|
|
7912
|
+
if (ctxRef) {
|
|
7913
|
+
ctxRef.hideContextMenu();
|
|
7914
|
+
}
|
|
7915
|
+
},
|
|
7879
7916
|
optionClicked(event) {
|
|
7880
7917
|
const { option, item } = event;
|
|
7881
7918
|
this.contextItem = item;
|
|
@@ -8452,9 +8489,9 @@ var script$2 = {
|
|
|
8452
8489
|
baseSeries.markLine = {
|
|
8453
8490
|
symbol: "none",
|
|
8454
8491
|
lineStyle: {
|
|
8455
|
-
color:
|
|
8492
|
+
color: "red",
|
|
8456
8493
|
type: "dashed",
|
|
8457
|
-
width:
|
|
8494
|
+
width: 2,
|
|
8458
8495
|
},
|
|
8459
8496
|
label: {
|
|
8460
8497
|
show: false,
|
|
@@ -8716,7 +8753,7 @@ var script$2 = {
|
|
|
8716
8753
|
// 数据去重
|
|
8717
8754
|
deduplicateAndSort(existingData, newData, uniqueKey, options = {}) {
|
|
8718
8755
|
// 处理默认配置
|
|
8719
|
-
|
|
8756
|
+
const { sortOrder = "asc" } = options;
|
|
8720
8757
|
const newDataArr = Array.isArray(newData) ? newData : [newData];
|
|
8721
8758
|
let resultData = JSON.parse(JSON.stringify(existingData));
|
|
8722
8759
|
|
|
@@ -8757,16 +8794,53 @@ var script$2 = {
|
|
|
8757
8794
|
});
|
|
8758
8795
|
|
|
8759
8796
|
// 去重后排序
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8797
|
+
resultData.sort((a, b) => {
|
|
8798
|
+
const valA = a[uniqueKey];
|
|
8799
|
+
const valB = b[uniqueKey];
|
|
8800
|
+
|
|
8801
|
+
if (typeof valA === "string" && typeof valB === "string") {
|
|
8802
|
+
return sortOrder === "asc" ? valA.localeCompare(valB) : valB.localeCompare(valA);
|
|
8803
|
+
} else {
|
|
8804
|
+
return sortOrder === "asc" ? valA - valB : valB - valA;
|
|
8805
|
+
}
|
|
8806
|
+
});
|
|
8807
|
+
|
|
8808
|
+
return resultData;
|
|
8809
|
+
},
|
|
8810
|
+
|
|
8811
|
+
// 根据 uniqueKey 去重并排序(只考虑 uniqueKey)
|
|
8812
|
+
deduplicateByUniqueKey(existingData, newData, uniqueKey, options = {}) {
|
|
8813
|
+
// 处理默认配置
|
|
8814
|
+
const { sortOrder = "asc" } = options;
|
|
8815
|
+
const newDataArr = Array.isArray(newData) ? newData : [newData];
|
|
8816
|
+
|
|
8817
|
+
// 合并数据并去重(只根据 uniqueKey)
|
|
8818
|
+
let resultData = JSON.parse(JSON.stringify(existingData));
|
|
8819
|
+
|
|
8820
|
+
// 创建一个 Set 来存储已存在的 uniqueKey
|
|
8821
|
+
const existingKeys = new Set(resultData.map((item) => item[uniqueKey]));
|
|
8822
|
+
|
|
8823
|
+
// 添加新数据(只添加 uniqueKey 不存在的项)
|
|
8824
|
+
newDataArr.forEach((newItem) => {
|
|
8825
|
+
if (!newItem || !newItem[uniqueKey]) return;
|
|
8826
|
+
|
|
8827
|
+
if (!existingKeys.has(newItem[uniqueKey])) {
|
|
8828
|
+
resultData.push(newItem);
|
|
8829
|
+
existingKeys.add(newItem[uniqueKey]);
|
|
8830
|
+
}
|
|
8831
|
+
});
|
|
8832
|
+
|
|
8833
|
+
// 排序
|
|
8834
|
+
resultData.sort((a, b) => {
|
|
8835
|
+
const valA = a[uniqueKey];
|
|
8836
|
+
const valB = b[uniqueKey];
|
|
8837
|
+
|
|
8838
|
+
if (typeof valA === "string" && typeof valB === "string") {
|
|
8839
|
+
return sortOrder === "asc" ? valA.localeCompare(valB) : valB.localeCompare(valA);
|
|
8840
|
+
} else {
|
|
8841
|
+
return sortOrder === "asc" ? valA - valB : valB - valA;
|
|
8842
|
+
}
|
|
8843
|
+
});
|
|
8770
8844
|
|
|
8771
8845
|
return resultData;
|
|
8772
8846
|
},
|
|
@@ -8999,7 +9073,7 @@ var script$2 = {
|
|
|
8999
9073
|
const gapCount = Math.max(0, this.lineCount - 1);
|
|
9000
9074
|
return {
|
|
9001
9075
|
...common,
|
|
9002
|
-
height: `${this.lineCount * (this.formCache.displayType ==
|
|
9076
|
+
height: `${this.lineCount * (this.formCache.displayType == "header" ? this.headerItemHeight : this.headerItemHeight * 0.8) + this.headerPadding * 2 + gapCount * this.itemGap}px`,
|
|
9003
9077
|
"min-height": "60px",
|
|
9004
9078
|
};
|
|
9005
9079
|
}
|
|
@@ -9016,7 +9090,7 @@ var script$2 = {
|
|
|
9016
9090
|
} else {
|
|
9017
9091
|
const gapCount = Math.max(0, this.lineCount - 1);
|
|
9018
9092
|
return {
|
|
9019
|
-
height: `${this.lineCount * (this.formCache.displayType ==
|
|
9093
|
+
height: `${this.lineCount * (this.formCache.displayType == "header" ? this.headerItemHeight : this.headerItemHeight * 0.8) + this.headerPadding * 2 + gapCount * this.itemGap}px`,
|
|
9020
9094
|
"min-height": "60px",
|
|
9021
9095
|
};
|
|
9022
9096
|
}
|
|
@@ -9075,6 +9149,19 @@ var script$2 = {
|
|
|
9075
9149
|
const firstValue = first && first[axisKey];
|
|
9076
9150
|
const lastValue = last && last[axisKey];
|
|
9077
9151
|
|
|
9152
|
+
const newParams = { firstValue, lastValue, settings: this.formCache };
|
|
9153
|
+
|
|
9154
|
+
// 比较是否与上次触发时的参数相同
|
|
9155
|
+
if (
|
|
9156
|
+
this.lastVisibleDataChangeParams &&
|
|
9157
|
+
this.lastVisibleDataChangeParams.firstValue === firstValue &&
|
|
9158
|
+
this.lastVisibleDataChangeParams.lastValue === lastValue &&
|
|
9159
|
+
JSON.stringify(this.lastVisibleDataChangeParams.settings) === JSON.stringify(newParams.settings)
|
|
9160
|
+
) {
|
|
9161
|
+
return;
|
|
9162
|
+
}
|
|
9163
|
+
|
|
9164
|
+
this.lastVisibleDataChangeParams = newParams;
|
|
9078
9165
|
this.$emit("visibleDataChange", { firstValue, lastValue, settings: this.formCache });
|
|
9079
9166
|
},
|
|
9080
9167
|
immediate: true,
|
|
@@ -9112,7 +9199,7 @@ var script$2 = {
|
|
|
9112
9199
|
if (!Array.isArray(data)) {
|
|
9113
9200
|
data = [data];
|
|
9114
9201
|
}
|
|
9115
|
-
this.realTimeData = this.realTimeData = this.
|
|
9202
|
+
this.realTimeData = this.realTimeData = this.deduplicateByUniqueKey(
|
|
9116
9203
|
this.realTimeData,
|
|
9117
9204
|
data,
|
|
9118
9205
|
this.toolBarConfig.axisTypeList && this.toolBarConfig.axisTypeList[this.formCache.axisType],
|
|
@@ -9139,7 +9226,7 @@ var script$2 = {
|
|
|
9139
9226
|
},
|
|
9140
9227
|
};
|
|
9141
9228
|
|
|
9142
|
-
var css_248z$3 = ".kd-lane-chart-container[data-v-
|
|
9229
|
+
var css_248z$3 = ".kd-lane-chart-container[data-v-27c6a5a2] {\n height: 100%;\n width: 100%;\n overflow: hidden;\n position: relative;\n border: 1px solid var(--kd-lane-container-border-color, #333);\n display: flex;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container[data-v-27c6a5a2] {\n height: 100%;\n min-width: 0;\n z-index: 1;\n display: flex;\n flex-direction: column;\n position: relative;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-resize-handle[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-resize-handle[data-v-27c6a5a2] {\n position: absolute;\n top: 0;\n bottom: 0;\n width: 4px;\n cursor: col-resize;\n z-index: 10;\n background-color: transparent;\n transition: background-color 0.2s;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-resize-handle[data-v-27c6a5a2]:hover,\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-resize-handle[data-v-27c6a5a2]:hover {\n background-color: var(--resizer-bg-color);\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-resize-handle.kd-lane-resize-handle-left[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-resize-handle.kd-lane-resize-handle-left[data-v-27c6a5a2] {\n left: 0;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-resize-handle.kd-lane-resize-handle-right[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-resize-handle.kd-lane-resize-handle-right[data-v-27c6a5a2] {\n right: -2px;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-chart-lane-header[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-chart-lane-header[data-v-27c6a5a2] {\n max-height: 40%;\n overflow: hidden;\n z-index: 2;\n display: flex;\n flex-direction: column;\n justify-content: center;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-chart-lane-header .header-list-gap[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-chart-lane-header .header-list-gap[data-v-27c6a5a2] {\n display: flex;\n overflow-x: hidden;\n overflow-y: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-chart-lane-header .header-list-gap[data-v-27c6a5a2] ::-webkit-scrollbar,\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-chart-lane-header .header-list-gap[data-v-27c6a5a2] ::-webkit-scrollbar {\n display: none;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container .kd-lane-chart-lane-header .header-list-gap[data-v-27c6a5a2],\n.kd-lane-chart-container .kd-lane-chart-lane-slot-container .kd-lane-chart-lane-header .header-list-gap[data-v-27c6a5a2] {\n flex-direction: column;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container-echart[data-v-27c6a5a2] {\n flex: 1;\n overflow-x: hidden;\n overflow-y: auto;\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n.kd-lane-chart-container .kd-lane-chart-lane-container-echart .kd-lane-chart-lane-container-echart-content[data-v-27c6a5a2] {\n height: 100%;\n overflow: hidden;\n}\n.kd-lane-chart-container .border-left[data-v-27c6a5a2] {\n border-left: 1px solid var(--kd-lane-container-border-color, #333);\n}\n.kd-lane-chart-container .border-bottom[data-v-27c6a5a2] {\n border-bottom: 1px solid var(--kd-lane-container-border-color, #333);\n}\n.kd-lane-chart-container .border-right[data-v-27c6a5a2] {\n border-right: 1px solid var(--kd-lane-container-border-color, #333);\n}\n.kd-lane-chart-container .kd-lane-chart-container-draw-area[data-v-27c6a5a2] {\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 3;\n border: none;\n}";
|
|
9143
9230
|
styleInject(css_248z$3);
|
|
9144
9231
|
|
|
9145
9232
|
/* script */
|
|
@@ -9204,7 +9291,8 @@ var __vue_render__$2 = function () {
|
|
|
9204
9291
|
_c(
|
|
9205
9292
|
"div",
|
|
9206
9293
|
{
|
|
9207
|
-
staticClass:
|
|
9294
|
+
staticClass:
|
|
9295
|
+
"kd-lane-chart-lane-header header-content-area",
|
|
9208
9296
|
class: { "border-bottom": true },
|
|
9209
9297
|
style: _vm.slotHeaderStyle,
|
|
9210
9298
|
},
|
|
@@ -9313,7 +9401,8 @@ var __vue_render__$2 = function () {
|
|
|
9313
9401
|
_c(
|
|
9314
9402
|
"draggable",
|
|
9315
9403
|
{
|
|
9316
|
-
staticClass:
|
|
9404
|
+
staticClass:
|
|
9405
|
+
"header-list-gap header-content-area",
|
|
9317
9406
|
style: { gap: _vm.itemGap + "px" },
|
|
9318
9407
|
attrs: {
|
|
9319
9408
|
animation: 200,
|
|
@@ -9506,7 +9595,7 @@ __vue_render__$2._withStripped = true;
|
|
|
9506
9595
|
/* style */
|
|
9507
9596
|
const __vue_inject_styles__$2 = undefined;
|
|
9508
9597
|
/* scoped */
|
|
9509
|
-
const __vue_scope_id__$2 = "data-v-
|
|
9598
|
+
const __vue_scope_id__$2 = "data-v-27c6a5a2";
|
|
9510
9599
|
/* module identifier */
|
|
9511
9600
|
const __vue_module_identifier__$2 = undefined;
|
|
9512
9601
|
/* functional template */
|
|
@@ -9803,6 +9892,11 @@ var script = {
|
|
|
9803
9892
|
},
|
|
9804
9893
|
|
|
9805
9894
|
methods: {
|
|
9895
|
+
hiddenContextMenu() {
|
|
9896
|
+
if (this.$refs.chartContainer) {
|
|
9897
|
+
this.$refs.chartContainer.hiddenContextMenu();
|
|
9898
|
+
}
|
|
9899
|
+
},
|
|
9806
9900
|
dialogFunction(data) {
|
|
9807
9901
|
if (data.type === 1) {
|
|
9808
9902
|
// 井深段
|
|
@@ -10082,7 +10176,7 @@ var script = {
|
|
|
10082
10176
|
var css_248z$1 = "@charset \"UTF-8\";\n[data-theme=dark] {\n --bg-color: #1e1e1e;\n --card-color: #252526;\n --card-border-color: #4b4b4b;\n --card-label-color: #d6d6d6;\n --card-value-color: #ffffff;\n --panel-item-bg-color: #1e1e1e;\n --resizer-bg-color: rgb(177, 177, 177, 0.4);\n --panel-item-border-color: #4b4b4b;\n --default-text-color: #ffffff;\n --radio-border-color: #4b4b4b;\n --radio-checked-border-color: #f86c59;\n --radio-checked-color: #f86c59;\n --radio-checked-text-color: #ffffff;\n --radio-checked-border-color: #f86c59;\n --split-line-color: #4b4b4b;\n /* 边框颜色 */\n --border-color: #4b4b4b;\n --label-float-bg-color: rgba(255, 255, 255, 0.1);\n --slider-gradient-start: #333333;\n --slider-gradient-end: #656668;\n --slider-gradient-color: linear-gradient(0deg, #333333 0%, #656668 100%);\n --slider-content-color: #f86c59;\n --tooltip-bg-color: rgb(51, 51, 51,0.8);\n --kd-lane-container-border-color: #4b4b4b;\n --kd-lane-container-header-item-color: #ffffff;\n --kd-lane-container-header-item-warning-color: rgba(248, 108, 89, 0.6);\n --kd-lane-container-header-bg: #333333;\n --kd-lane-container-item-bg: #252526;\n --kd-lane-container-item-line-color: #4b4b4b66;\n --select-hover-bg-color: #333333;\n --select-selected-text-color: #ffcc33;\n --dialog-header: #333333;\n --dialog-button-default: #252526;\n --dialog-button-disabled-text: #ffffff;\n --in-range-text-color: #ffffff;\n --dialog-tree-text-color: #ffffff;\n}\n[data-theme=white] {\n --bg-color: #ffffff;\n --card-color: #ffffff;\n --card-border-color: #C9C9C9;\n --card-label-color: #666666;\n --card-value-color: #333333;\n --panel-item-bg-color: #ffffff;\n --resizer-bg-color: rgb(177, 177, 177,.4);\n --panel-item-border-color: #C9C9C9;\n --default-text-color: #333333;\n --radio-border-color: #C9C9C9;\n --radio-checked-border-color: #EC4521;\n --radio-checked-color: #EC4521;\n --radio-checked-text-color: #000000;\n --radio-checked-border-color: #EC4521;\n --split-line-color: #C9C9C9;\n /* 边框颜色 */\n --border-color: #C9C9C9;\n --label-float-bg-color: rgba(27, 79, 217, 0.1);\n --slider-gradient-start: #B0C2F5;\n --slider-gradient-end: #DBE5FF;\n --slider-gradient-color: linear-gradient(0deg, #B0C2F5 0%, #DBE5FF 100%);\n --slider-content-color: #EC4521;\n --tooltip-bg-color: rgba(246, 247, 248, 0.8);\n --kd-lane-container-border-color: #C9C9C9;\n --kd-lane-container-header-item-color: #333333;\n --kd-lane-container-header-item-warning-color: rgba(200, 23, 29, 0.6);\n --kd-lane-container-header-bg: #ecf4ff;\n --kd-lane-container-item-bg: #eff3ff;\n --kd-lane-container-item-line-color: #dddddd;\n --select-hover-bg-color: #E0E9FE;\n --select-selected-text-color: #1B4FD9;\n --dialog-header:#1B4FD9;\n --dialog-header-text-color: #ffffff;\n --dialog-button-default:#ffffff;\n --dialog-button-disabled-text: #FFFFFF;\n --in-range-text-color: #ffffff;\n --dialog-tree-text-color: #ffffff;\n}\n[data-theme=gray] {\n --bg-color: #ffffff;\n --card-color: #f6f7f8;\n --card-border-color: #b1b1b1;\n --card-label-color: #666666;\n --card-value-color: #333333;\n --panel-item-bg-color: #ffffff;\n --resizer-bg-color: rgb(177, 177, 177,.4);\n --panel-item-border-color: #b1b1b1;\n --default-text-color: #333333;\n --radio-border-color: #b1b1b1;\n --radio-checked-border-color: #f86c59;\n --radio-checked-color: #f86c59;\n --radio-checked-text-color: #000000;\n --radio-checked-border-color: #f86c59;\n --split-line-color: #b1b1b1;\n /* 边框颜色 */\n --border-color: #b1b1b1;\n --label-float-bg-color: rgba(128, 128, 128, 0.1);\n --slider-gradient-start: #a6a6a6;\n --slider-gradient-end: #dfdfdf;\n --slider-gradient-color: linear-gradient(0deg, #a6a6a6 0%, #dfdfdf 100%);\n --slider-content-color: #f86c59;\n --tooltip-bg-color: rgba(246, 247, 248, 0.8);\n --kd-lane-container-border-color: #b1b1b1;\n --kd-lane-container-header-item-color: #333333;\n --kd-lane-container-header-item-warning-color: rgba(177, 42, 39,0.6);\n --kd-lane-container-header-bg: #eeeeee;\n --kd-lane-container-item-bg: #f6f7f8;\n --kd-lane-container-item-line-color: #dddddd;\n --select-hover-bg-color: #dfdfdf;\n --select-selected-text-color: #ffcc33;\n --dialog-header:#EBEBEB;\n --dialog-button-default:#f6f7f8;\n --dialog-button-disabled-text: #ffffff;\n --in-range-text-color: #333333;\n --dialog-tree-text-color: #333333;\n}\n\n/* 下拉框 */\n.kd-curve-2d-select-popup {\n background: var(--bg-color) !important;\n border: 1px solid var(--border-color) !important;\n /* 列表容器(关键) */\n}\n.kd-curve-2d-select-popup .el-scrollbar__wrap {\n margin-bottom: 0 !important;\n margin-right: 0 !important;\n background: var(--bg-color) !important;\n /* 隐藏滚动条 */\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n.kd-curve-2d-select-popup .el-scrollbar__wrap::-webkit-scrollbar {\n display: none;\n}\n.kd-curve-2d-select-popup {\n /* 每一项(默认) */\n}\n.kd-curve-2d-select-popup .el-select-dropdown__item {\n background: var(--bg-color) !important;\n color: var(--default-text-color) !important;\n /* hover */\n}\n.kd-curve-2d-select-popup .el-select-dropdown__item.hover, .kd-curve-2d-select-popup .el-select-dropdown__item:hover {\n background: var(--select-hover-bg-color) !important;\n color: var(--default-text-color) !important;\n}\n.kd-curve-2d-select-popup .el-select-dropdown__item.selected {\n background: var(--bg-color) !important; /* 不要灰色 */\n color: var(--select-selected-text-color) !important; /* 高亮文字(可选) */\n font-weight: bold;\n}\n.kd-curve-2d-select-popup .el-select-dropdown__item.selected.hover, .kd-curve-2d-select-popup .el-select-dropdown__item.selected:hover {\n background: var(--select-hover-bg-color) !important;\n}\n.kd-curve-2d-select-popup {\n /* 三角箭头 */\n}\n.kd-curve-2d-select-popup[x-placement^=bottom] .popper__arrow {\n border-bottom-color: var(--border-color) !important;\n}\n.kd-curve-2d-select-popup[x-placement^=bottom] .popper__arrow::after {\n border-bottom-color: var(--bg-color) !important;\n}\n.kd-curve-2d-select-popup[x-placement^=top] .popper__arrow {\n border-top-color: var(--border-color) !important;\n}\n.kd-curve-2d-select-popup[x-placement^=top] .popper__arrow::after {\n border-top-color: var(--bg-color) !important;\n}\n.kd-curve-2d-select-popup .el-time-panel {\n background: var(--bg-color) !important;\n box-shadow: 0 2px 12px 0 transparent;\n border: 1px solid var(--border-color);\n}\n.kd-curve-2d-select-popup .el-time-panel .el-time-panel__btn {\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-time-panel .el-time-spinner__item {\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-time-panel .el-time-spinner__item.active:not(.disabled) {\n color: var(--select-selected-text-color);\n font-weight: bold;\n}\n.kd-curve-2d-select-popup .el-time-panel .el-time-panel__footer {\n border-top: 1px solid var(--border-color);\n}\n.kd-curve-2d-select-popup .el-time-panel .el-time-spinner__item:hover:not(.disabled):not(.active) {\n background: var(--select-hover-bg-color);\n}\n.kd-curve-2d-select-popup .el-color-picker__trigger {\n border: 1px solid var(--dialog-header);\n}\n.kd-curve-2d-select-popup .el-color-picker__panel {\n background: var(--bg-color) !important;\n border: 1px solid var(--dialog-header);\n border-radius: 0px;\n}\n.kd-curve-2d-select-popup .el-color-picker__panel .el-button--text {\n color: var(--select-selected-text-color);\n}\n.kd-curve-2d-select-popup .el-color-picker__panel .el-button--default {\n background: var(--dialog-button-default);\n color: var(--default-text-color);\n border: none;\n border-radius: 0px;\n}\n.kd-curve-2d-select-popup .el-color-picker__panel .el-button.is-plain:hover {\n background: var(--dialog-button-default);\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper {\n background: var(--bg-color);\n border: 1px solid var(--dialog-header);\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-input__inner {\n background: var(--bg-color) !important;\n border: 1px solid var(--border-color) !important;\n color: var(--text-color) !important;\n height: 32px !important;\n line-height: 32px !important;\n box-sizing: border-box;\n border-radius: 0px;\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-picker__header-label {\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-picker__header-label:hover {\n color: var(--select-selected-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-range-picker__time-header > .el-icon-arrow-right {\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-button--text {\n color: var(--select-selected-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-picker-panel__icon-btn {\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-range-picker__time-header {\n border-bottom: 1px solid var(--dialog-header);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-range-picker__content.is-left {\n border-right: 1px solid var(--dialog-header);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table th {\n border-bottom: 1px solid var(--dialog-header);\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.today span {\n color: var(--select-selected-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.available:hover {\n color: var(--select-selected-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.next-month,\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.prev-month {\n color: var(--dialog-header);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.available {\n color: var(--default-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.available.in-range {\n color: var(--in-range-text-color) !important;\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.end-date span,\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.start-date span {\n background: var(--select-selected-text-color);\n}\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.in-range div,\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table td.in-range div:hover,\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table.is-week-mode .el-date-table__row.current div,\n.kd-curve-2d-select-popup .el-picker-panel__body-wrapper .el-date-table.is-week-mode .el-date-table__row:hover div {\n background: var(--dialog-header);\n}\n.kd-curve-2d-select-popup .el-picker-panel__footer {\n background: var(--bg-color);\n border-top: 1px solid var(--dialog-header);\n}\n.kd-curve-2d-select-popup .el-picker-panel__footer .el-button--default {\n background: var(--dialog-button-default);\n color: var(--default-text-color);\n border: none;\n border-radius: 0px;\n}\n.kd-curve-2d-select-popup .el-picker-panel__footer .el-button.is-disabled.is-plain,\n.kd-curve-2d-select-popup .el-picker-panel__footer .el-button.is-disabled.is-plain:focus,\n.kd-curve-2d-select-popup .el-picker-panel__footer .el-button.is-disabled.is-plain:hover {\n background: var(--dialog-button-default);\n color: var(--dialog-button-disabled-text);\n}\n.kd-curve-2d-select-popup .el-picker-panel__footer .el-button.is-disabled.is-plain {\n background: var(--dialog-button-default);\n color: var(--dialog-button-disabled-text) !important;\n}\n.kd-curve-2d-select-popup .el-popper[x-placement^=bottom] .popper__arrow::after {\n border-bottom-color: var(--bg-color) !important;\n}\n.kd-curve-2d-container {\n /* radio 自定义样式 */\n}\n.kd-curve-2d-container .el-radio {\n display: flex;\n align-items: center;\n vertical-align: middle;\n color: var(--radio-default-text-color);\n font-family: Microsoft YaHei UI, Microsoft YaHei UI;\n font-size: 14px;\n}\n.kd-curve-2d-container .el-radio__inner {\n width: 14px;\n height: 14px;\n background: transparent;\n border: 1px solid var(--radio-border-color);\n}\n.kd-curve-2d-container .el-radio__input.is-checked .el-radio__inner {\n border-color: var(--radio-checked-border-color);\n background: transparent;\n}\n.kd-curve-2d-container .el-radio__input.is-disabled .el-radio__inner {\n background-color: transparent;\n border-color: var(--radio-border-color);\n}\n.kd-curve-2d-container .el-radio__inner::after {\n width: 7px;\n height: 7px;\n background: var(--radio-checked-color);\n}\n.kd-curve-2d-container .el-radio.is-checked .el-radio__label {\n color: var(--radio-checked-text-color);\n font-weight: bold;\n}\n.kd-curve-2d-container {\n /* select */\n}\n.kd-curve-2d-container .el-input__inner {\n background: var(--bg-color) !important;\n border: 1px solid var(--border-color) !important;\n color: var(--text-color) !important;\n height: 32px !important;\n line-height: 32px !important;\n box-sizing: border-box;\n border-radius: 0px;\n}\n.kd-curve-2d-container {\n /* 下拉箭头 */\n}\n.kd-curve-2d-container .el-select .el-input__suffix i {\n display: none !important;\n}\n.kd-curve-2d-container .el-select .el-input__suffix {\n right: 0;\n width: 28px;\n height: 32px !important;\n line-height: 32px !important;\n background: var(--slider-gradient-color);\n display: flex;\n align-items: center;\n justify-content: center;\n border-left: 1px solid var(--border-color);\n}\n.kd-curve-2d-container .el-select .el-input__suffix::after {\n content: \"\";\n width: 0;\n height: 0;\n border-left: 5px solid transparent;\n border-right: 5px solid transparent;\n border-top: 6px solid var(--slider-content-color); /* 橙色三角 */\n}\n.kd-curve-2d-container .el-select .el-input__suffix::after {\n transition: transform 0.2s ease;\n}\n.kd-curve-2d-container .el-select .el-input.is-focus .el-input__suffix::after {\n transform: rotate(180deg);\n}\n.kd-curve-2d-container .el-dialog {\n border: 1px solid var(--card-border-color);\n}\n.kd-curve-2d-container .el-dialog .el-form-item__label {\n color: var(--default-text-color);\n font-size: 14px;\n}\n.kd-curve-2d-container .el-dialog .el-dialog__headerbtn {\n top: 11px;\n width: 24px;\n height: 24px;\n background: linear-gradient(270deg, #c73521 0%, #f86c59 100%);\n border-radius: 100px;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.kd-curve-2d-container .el-dialog .el-dialog__headerbtn .el-dialog__close {\n color: #fff;\n font-size: 14px;\n font-weight: 700;\n}\n.kd-curve-2d-container .el-button {\n border-radius: 0px;\n border: none;\n}\n.kd-curve-2d-container .el-button--primary {\n background-image: linear-gradient(to bottom, #2057ea, #12338d);\n}\n.kd-curve-2d-container .el-button--default {\n background: var(--dialog-button-default);\n color: var(--default-text-color);\n}\n.kd-curve-2d-container .el-button--primary.is-disabled {\n background-image: linear-gradient(to bottom, #2f5ede, #1e3677);\n color: var(--dialog-button-disabled-text);\n}\n.kd-curve-2d-container .el-tabs .el-tabs__nav-wrap::after {\n background-color: var(--card-border-color);\n}\n.kd-curve-2d-container .el-tabs .el-tabs__item {\n color: var(--default-text-color);\n}\n.kd-curve-2d-container .el-tabs .el-tabs__item.is-active {\n color: var(--select-selected-text-color);\n}\n.kd-curve-2d-container .el-tabs .el-tabs__active-bar {\n background: var(--select-selected-text-color);\n}\n.kd-curve-2d-container .el-tree {\n background: var(--bg-color) !important;\n color: var(--default-text-color);\n font-size: 14px;\n}\n.kd-curve-2d-container .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {\n background: var(--dialog-header) !important;\n color: var(--dialog-tree-text-color);\n}\n.kd-curve-2d-container .el-tree-node__content:hover,\n.kd-curve-2d-container .el-upload-list__item:hover {\n background: var(--dialog-header) !important;\n color: var(--dialog-tree-text-color);\n}\n.kd-curve-2d-container .vue-simple-context-menu__item,\n.kd-curve-2d-container .vue-simple-context-menu__item {\n font-size: 14px !important;\n}\n.kd-curve-2d-container .kd-lane-el-container {\n border: 1px solid var(--card-border-color);\n}\n.kd-curve-2d-container .kd-lane-el-container .rtd-config-side {\n border-right: 1px solid var(--card-border-color);\n}\n.kd-curve-2d-container .el-dialog__header {\n background: var(--dialog-header);\n text-align: center;\n}\n.kd-curve-2d-container .el-dialog__header .el-dialog__title {\n color: var(--dialog-header-text-color);\n}\n.kd-curve-2d-container .el-dialog__header {\n padding: 10px 10px 10px;\n}\n.kd-curve-2d-container .el-dialog__body {\n background: var(--bg-color);\n padding: 30px 30px 10px 30px;\n}\n.kd-curve-2d-container .el-dialog__body .input-number-container .el-input__inner {\n width: calc(100% - 80px) !important;\n margin-left: 40px !important;\n}\n.kd-curve-2d-container .el-dialog__body .el-input__inner {\n color: var(--default-text-color) !important;\n}\n.kd-curve-2d-container .el-dialog__body .el-input-number__decrease,\n.kd-curve-2d-container .el-dialog__body .el-input-number__increase {\n color: var(--default-text-color);\n}\n.kd-curve-2d-container .el-dialog__body .el-input-number__increase {\n background: var(--card-color);\n color: var(--default-text-color);\n border-radius: 0px 0px 0px 0px;\n border: 1px solid var(--card-border-color);\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.kd-curve-2d-container .el-dialog__body .el-input-number__decrease {\n background: var(--card-color);\n border-radius: 0px 0px 0px 0px;\n border: 1px solid var(--card-border-color);\n width: 30px;\n height: 30px;\n line-height: 30px;\n}\n.kd-curve-2d-container .el-dialog__footer {\n text-align: center;\n background: var(--bg-color);\n}\n.kd-curve-2d-container .el-date-editor {\n background: var(--bg-color) !important;\n}\n.kd-curve-2d-container .el-date-editor .el-range-input {\n background: var(--bg-color) !important;\n border-top: 1px solid var(--border-color) !important;\n border-bottom: 1px solid var(--border-color) !important;\n color: var(--text-color) !important;\n height: 32px !important;\n line-height: 32px !important;\n box-sizing: border-box;\n border-radius: 0px;\n}\n.kd-curve-2d-container .el-date-editor .el-range-separator {\n color: var(--default-text-color);\n}";
|
|
10083
10177
|
styleInject(css_248z$1);
|
|
10084
10178
|
|
|
10085
|
-
var css_248z = "@charset \"UTF-8\";\n.kd-curve-2d-resize-container[data-v-
|
|
10179
|
+
var css_248z = "@charset \"UTF-8\";\n.kd-curve-2d-resize-container[data-v-18d00693] {\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n background: var(--bg-color);\n color: var(--default-text-color);\n overflow: hidden;\n /* 主容器 */\n}\n.kd-curve-2d-resize-container .container[data-v-18d00693] {\n display: flex;\n flex: 1;\n width: 100%;\n overflow: hidden;\n}\n.kd-curve-2d-resize-container[data-v-18d00693] {\n /* 面板通用样式 */\n}\n.kd-curve-2d-resize-container .panel[data-v-18d00693] {\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n flex-shrink: 0;\n background: var(--panel-item-bg-color);\n border: 1px solid var(--panel-item-border-color);\n padding: 8px;\n /* 隐藏滚动条 */\n scrollbar-width: none;\n -ms-overflow-style: none;\n}\n.kd-curve-2d-resize-container .panel[data-v-18d00693]::-webkit-scrollbar {\n display: none;\n}\n.kd-curve-2d-resize-container .panel-3[data-v-18d00693] {\n flex: 1;\n min-width: 100px;\n}\n.kd-curve-2d-resize-container[data-v-18d00693] {\n /* 拖拽条样式 */\n}\n.kd-curve-2d-resize-container .resizer[data-v-18d00693] {\n width: 6px;\n cursor: col-resize;\n}\n.kd-curve-2d-resize-container .resizer[data-v-18d00693]:hover {\n background-color: var(--resizer-bg-color);\n transition: background-color 0.2s ease;\n}";
|
|
10086
10180
|
styleInject(css_248z);
|
|
10087
10181
|
|
|
10088
10182
|
/* script */
|
|
@@ -10280,7 +10374,7 @@ __vue_render__._withStripped = true;
|
|
|
10280
10374
|
/* style */
|
|
10281
10375
|
const __vue_inject_styles__ = undefined;
|
|
10282
10376
|
/* scoped */
|
|
10283
|
-
const __vue_scope_id__ = "data-v-
|
|
10377
|
+
const __vue_scope_id__ = "data-v-18d00693";
|
|
10284
10378
|
/* module identifier */
|
|
10285
10379
|
const __vue_module_identifier__ = undefined;
|
|
10286
10380
|
/* functional template */
|