nxd-plugin 1.2.5 → 1.2.7
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/chunks/{component-HighWayEarlyWarningRed-y3S7s_i8.mjs → component-HighWayEarlyWarningRed-CmmlD13f.mjs} +7 -11
- package/dist/chunks/{component-HighWayFreeze-CTMLtags.mjs → component-HighWayFreeze-fwE0zu5a.mjs} +328 -287
- package/dist/chunks/{component-HighwayLiveAlarm-TskT5f3P.mjs → component-HighwayLiveAlarm-eKR6YC57.mjs} +46 -46
- package/dist/chunks/{component-HighwayLiveAlarmNew-BF7Mtp6R.mjs → component-HighwayLiveAlarmNew-CJQ38bxx.mjs} +382 -309
- package/dist/chunks/{component-HighwayStations-N9va_GPR.mjs → component-HighwayStations-CIR-nhyB.mjs} +3 -3
- package/dist/chunks/{component-HighwayWeatherForecast-BUa2AtS4.mjs → component-HighwayWeatherForecast-kKP0BVV-.mjs} +2 -2
- package/dist/chunks/component-RadarShortTerm-C9JxmL5C.mjs +447 -0
- package/dist/chunks/{component-ServiceMaterialsBtn-wUxlQ2_A.mjs → component-ServiceMaterialsBtn-BmsX0VQ7.mjs} +91 -91
- package/dist/chunks/{component-YCHome-Ccmyb6xg.mjs → component-YCHome-C3hQ-kl7.mjs} +198 -198
- package/dist/chunks/{component-YCLogin-Dfhl_Rc8.mjs → component-YCLogin-CFEfm-Xo.mjs} +4 -4
- package/dist/chunks/{component-YCLoginNew-47YLq1OS.mjs → component-YCLoginNew-CS5GpLDx.mjs} +4 -4
- package/dist/nxd-plugin.mjs +14 -13
- package/dist/src/index.d.ts +2 -1
- package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
- package/dist/styles/component-HighWayFreeze.css +1 -1
- package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
- package/dist/styles/component-RadarShortTerm.css +1 -0
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./rolldown-runtime-Dd0fQ6-X.mjs";
|
|
2
|
-
import { A as t,
|
|
3
|
-
import { $ as v, C as y, D as b, E as x, F as S, G as C, H as w, J as T, K as E, P as D, Q as O, St as k, U as A, W as j, Y as ee, Z as te, _t as ne, a as re, at as ie, ct as ae, dt as oe, f as se, ft as ce, gt as le, h as ue, ht as de, it as fe, j as pe, kt as me, lt as he, n as ge, ot as _e, q as ve, r as ye, rt as be, tt as xe, xt as Se, yt as Ce, z as we } from "./component-HighWayEarlyWarningRed-
|
|
2
|
+
import { A as t, G as n, J as r, K as i, L as a, M as o, N as s, U as c, W as l, c as u, f as d, l as f, n as p, o as m, r as h, s as g, y as _ } from "./component-HighWayFreeze-fwE0zu5a.mjs";
|
|
3
|
+
import { $ as v, C as y, D as b, E as x, F as S, G as C, H as w, J as T, K as E, P as D, Q as O, St as k, U as A, W as j, Y as ee, Z as te, _t as ne, a as re, at as ie, ct as ae, dt as oe, f as se, ft as ce, gt as le, h as ue, ht as de, it as fe, j as pe, kt as me, lt as he, n as ge, ot as _e, q as ve, r as ye, rt as be, tt as xe, xt as Se, yt as Ce, z as we } from "./component-HighWayEarlyWarningRed-CmmlD13f.mjs";
|
|
4
4
|
import { Fragment as Te, computed as Ee, createBlock as De, createCommentVNode as Oe, createElementBlock as ke, createElementVNode as Ae, createStaticVNode as je, createTextVNode as Me, createVNode as Ne, defineComponent as Pe, inject as Fe, isRef as Ie, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeStyle as Be, onBeforeUnmount as Ve, onMounted as He, openBlock as Ue, provide as We, reactive as Ge, ref as Ke, renderList as qe, renderSlot as Je, resolveDynamicComponent as Ye, toDisplayString as Xe, toRefs as Ze, unref as Qe, vModelRadio as $e, vShow as et, watch as tt, withCtx as nt, withDirectives as rt, withModifiers as it } from "vue";
|
|
5
5
|
//#region node_modules/lodash-es/_baseCreate.js
|
|
6
6
|
var at = Object.create, ot = function() {
|
|
@@ -92,7 +92,7 @@ function St(e, t) {
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region node_modules/lodash-es/_getSymbolsIn.js
|
|
94
94
|
var Ct = Object.getOwnPropertySymbols ? function(e) {
|
|
95
|
-
for (var t = []; e;) ee(t, E(e)), e =
|
|
95
|
+
for (var t = []; e;) ee(t, E(e)), e = l(e);
|
|
96
96
|
return t;
|
|
97
97
|
} : ve;
|
|
98
98
|
//#endregion
|
|
@@ -173,7 +173,7 @@ function tn(e, t, n) {
|
|
|
173
173
|
//#endregion
|
|
174
174
|
//#region node_modules/lodash-es/_initCloneObject.js
|
|
175
175
|
function nn(e) {
|
|
176
|
-
return typeof e.constructor == "function" && !ae(e) ? ot(
|
|
176
|
+
return typeof e.constructor == "function" && !ae(e) ? ot(l(e)) : {};
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region node_modules/lodash-es/_baseIsMap.js
|
|
@@ -249,11 +249,11 @@ function Kn(e, t) {
|
|
|
249
249
|
//#endregion
|
|
250
250
|
//#region node_modules/lodash-es/_customOmitClone.js
|
|
251
251
|
function qn(e) {
|
|
252
|
-
return
|
|
252
|
+
return c(e) ? void 0 : e;
|
|
253
253
|
}
|
|
254
254
|
//#endregion
|
|
255
255
|
//#region node_modules/lodash-es/omit.js
|
|
256
|
-
var Jn = 1, Yn = 2, Xn = 4, Zn =
|
|
256
|
+
var Jn = 1, Yn = 2, Xn = 4, Zn = n(function(e, t) {
|
|
257
257
|
var n = {};
|
|
258
258
|
if (e == null) return n;
|
|
259
259
|
var r = !1;
|
|
@@ -306,8 +306,8 @@ For more detail, please visit: ${i}
|
|
|
306
306
|
...$n,
|
|
307
307
|
border: Boolean
|
|
308
308
|
}), tr = {
|
|
309
|
-
[
|
|
310
|
-
[
|
|
309
|
+
[r]: (e) => me(e) || D(e) || pe(e),
|
|
310
|
+
[i]: (e) => me(e) || D(e) || pe(e)
|
|
311
311
|
}, nr = Symbol("radioGroupKey"), rr = x({ ...$n }), ir = {
|
|
312
312
|
label: "label",
|
|
313
313
|
value: "value",
|
|
@@ -356,7 +356,7 @@ For more detail, please visit: ${i}
|
|
|
356
356
|
values: ["radio", "button"],
|
|
357
357
|
default: "radio"
|
|
358
358
|
},
|
|
359
|
-
...
|
|
359
|
+
...s(["ariaLabel"])
|
|
360
360
|
}), or = tr, sr = (e, t) => {
|
|
361
361
|
let n = Ke(), r = Fe(nr, void 0), i = Ee(() => !!r), a = Ee(() => S(e.value) ? e.label : e.value), o = Ee({
|
|
362
362
|
get() {
|
|
@@ -365,7 +365,7 @@ For more detail, please visit: ${i}
|
|
|
365
365
|
set(o) {
|
|
366
366
|
i.value ? r.changeEvent(o) : t && t("update:modelValue", o), n.value.checked = e.modelValue === a.value;
|
|
367
367
|
}
|
|
368
|
-
}), s = f(Ee(() => r?.size)), c =
|
|
368
|
+
}), s = f(Ee(() => r?.size)), c = u(Ee(() => r?.disabled)), l = Ke(!1), d = Ee(() => c.value || i.value && o.value !== a.value ? -1 : 0);
|
|
369
369
|
return Qn({
|
|
370
370
|
from: "label act as value",
|
|
371
371
|
replacement: "value",
|
|
@@ -376,7 +376,7 @@ For more detail, please visit: ${i}
|
|
|
376
376
|
radioRef: n,
|
|
377
377
|
isGroup: i,
|
|
378
378
|
radioGroup: r,
|
|
379
|
-
focus:
|
|
379
|
+
focus: l,
|
|
380
380
|
size: s,
|
|
381
381
|
disabled: c,
|
|
382
382
|
tabIndex: d,
|
|
@@ -394,37 +394,37 @@ For more detail, please visit: ${i}
|
|
|
394
394
|
props: er,
|
|
395
395
|
emits: tr,
|
|
396
396
|
setup(e, { emit: t }) {
|
|
397
|
-
let n = e, r = t,
|
|
397
|
+
let n = e, r = t, a = ue("radio"), { radioRef: o, radioGroup: s, focus: c, size: l, disabled: u, modelValue: d, actualValue: f } = sr(n, r);
|
|
398
398
|
function p() {
|
|
399
|
-
Re(() => r(
|
|
399
|
+
Re(() => r(i, d.value));
|
|
400
400
|
}
|
|
401
401
|
return (t, n) => (Ue(), ke("label", { class: ze([
|
|
402
|
-
Qe(
|
|
403
|
-
Qe(
|
|
404
|
-
Qe(
|
|
405
|
-
Qe(
|
|
406
|
-
Qe(
|
|
407
|
-
Qe(
|
|
402
|
+
Qe(a).b(),
|
|
403
|
+
Qe(a).is("disabled", Qe(u)),
|
|
404
|
+
Qe(a).is("focus", Qe(c)),
|
|
405
|
+
Qe(a).is("bordered", e.border),
|
|
406
|
+
Qe(a).is("checked", Qe(d) === Qe(f)),
|
|
407
|
+
Qe(a).m(Qe(l))
|
|
408
408
|
]) }, [Ae("span", { class: ze([
|
|
409
|
-
Qe(
|
|
410
|
-
Qe(
|
|
411
|
-
Qe(
|
|
409
|
+
Qe(a).e("input"),
|
|
410
|
+
Qe(a).is("disabled", Qe(u)),
|
|
411
|
+
Qe(a).is("checked", Qe(d) === Qe(f))
|
|
412
412
|
]) }, [rt(Ae("input", {
|
|
413
413
|
ref_key: "radioRef",
|
|
414
|
-
ref:
|
|
414
|
+
ref: o,
|
|
415
415
|
"onUpdate:modelValue": n[0] ||= (e) => Ie(d) ? d.value = e : null,
|
|
416
|
-
class: ze(Qe(
|
|
416
|
+
class: ze(Qe(a).e("original")),
|
|
417
417
|
value: Qe(f),
|
|
418
|
-
name: e.name || Qe(
|
|
418
|
+
name: e.name || Qe(s)?.name,
|
|
419
419
|
disabled: Qe(u),
|
|
420
420
|
checked: Qe(d) === Qe(f),
|
|
421
421
|
type: "radio",
|
|
422
|
-
onFocus: n[1] ||= (e) =>
|
|
423
|
-
onBlur: n[2] ||= (e) =>
|
|
422
|
+
onFocus: n[1] ||= (e) => c.value = !0,
|
|
423
|
+
onBlur: n[2] ||= (e) => c.value = !1,
|
|
424
424
|
onChange: p,
|
|
425
425
|
onClick: n[3] ||= it(() => {}, ["stop"])
|
|
426
|
-
}, null, 42, cr), [[$e, Qe(d)]]), Ae("span", { class: ze(Qe(
|
|
427
|
-
class: ze(Qe(
|
|
426
|
+
}, null, 42, cr), [[$e, Qe(d)]]), Ae("span", { class: ze(Qe(a).e("inner")) }, null, 2)], 2), Ae("span", {
|
|
427
|
+
class: ze(Qe(a).e("label")),
|
|
428
428
|
onKeydown: n[4] ||= it(() => {}, ["stop"])
|
|
429
429
|
}, [Je(t.$slots, "default", {}, () => [Me(Xe(e.label), 1)])], 34)], 2));
|
|
430
430
|
}
|
|
@@ -477,16 +477,16 @@ For more detail, please visit: ${i}
|
|
|
477
477
|
props: ar,
|
|
478
478
|
emits: or,
|
|
479
479
|
setup(e, { emit: t }) {
|
|
480
|
-
let
|
|
481
|
-
|
|
480
|
+
let n = e, o = t, s = ue("radio"), c = a(), l = Ke(), { formItem: u } = m(), { inputId: d, isLabeledByFormItem: f } = g(n, { formItemContext: u }), p = (e) => {
|
|
481
|
+
o(r, e), Re(() => o(i, e));
|
|
482
482
|
};
|
|
483
483
|
He(() => {
|
|
484
484
|
let e = l.value.querySelectorAll("[type=radio]"), t = e[0];
|
|
485
485
|
!Array.from(e).some((e) => e.checked) && t && (t.tabIndex = 0);
|
|
486
486
|
});
|
|
487
|
-
let h = Ee(() =>
|
|
487
|
+
let h = Ee(() => n.name || c.value), _ = Ee(() => ({
|
|
488
488
|
...ir,
|
|
489
|
-
...
|
|
489
|
+
...n.props
|
|
490
490
|
})), v = (e) => {
|
|
491
491
|
let { label: t, value: n, disabled: r } = _.value, i = {
|
|
492
492
|
label: e[t],
|
|
@@ -501,28 +501,28 @@ For more detail, please visit: ${i}
|
|
|
501
501
|
]),
|
|
502
502
|
...i
|
|
503
503
|
};
|
|
504
|
-
}, b = Ee(() =>
|
|
504
|
+
}, b = Ee(() => n.type === "button" ? dr : lr);
|
|
505
505
|
return We(nr, Ge({
|
|
506
|
-
...Ze(
|
|
506
|
+
...Ze(n),
|
|
507
507
|
changeEvent: p,
|
|
508
508
|
name: h
|
|
509
|
-
})), tt(() =>
|
|
510
|
-
|
|
509
|
+
})), tt(() => n.modelValue, (e, t) => {
|
|
510
|
+
n.validateEvent && !we(e, t) && u?.validate("change").catch((e) => y(e));
|
|
511
511
|
}), (t, n) => (Ue(), ke("div", {
|
|
512
512
|
id: Qe(d),
|
|
513
513
|
ref_key: "radioGroupRef",
|
|
514
514
|
ref: l,
|
|
515
|
-
class: ze(Qe(
|
|
515
|
+
class: ze(Qe(s).b("group")),
|
|
516
516
|
role: "radiogroup",
|
|
517
517
|
"aria-label": Qe(f) ? void 0 : e.ariaLabel || "radio-group",
|
|
518
518
|
"aria-labelledby": Qe(f) ? Qe(u).labelId : void 0
|
|
519
519
|
}, [Je(t.$slots, "default", {}, () => [(Ue(!0), ke(Te, null, qe(e.options, (e, t) => (Ue(), De(Ye(b.value), Le({ key: t }, { ref_for: !0 }, v(e)), null, 16))), 128))])], 10, fr));
|
|
520
520
|
}
|
|
521
|
-
}), mr =
|
|
521
|
+
}), mr = t(lr, {
|
|
522
522
|
RadioButton: dr,
|
|
523
523
|
RadioGroup: pr
|
|
524
|
-
}), hr =
|
|
525
|
-
|
|
524
|
+
}), hr = o(pr);
|
|
525
|
+
o(dr);
|
|
526
526
|
//#endregion
|
|
527
527
|
//#region node_modules/echarts/node_modules/tslib/tslib.es6.js
|
|
528
528
|
var gr = function(e, t) {
|
|
@@ -77178,7 +77178,7 @@ var E5 = {
|
|
|
77178
77178
|
field: "wind_speed",
|
|
77179
77179
|
unit: "m/s"
|
|
77180
77180
|
}
|
|
77181
|
-
}, r = t, i = e, a = Ke(""), o = Ke(!1), s = Ke(null), c = Ke(null), l = Ke("table"),
|
|
77181
|
+
}, r = t, i = e, a = Ke(""), o = Ke(!1), s = Ke(null), c = Ke(null), l = Ke("table"), u = Ke("降水"), f = Ke("全部"), m = Ke(["全部"]), g = Ke({}), v = Ke([]), y = Ke({}), b = Ee(() => a.value === W5 ? "#52c41a" : "#ff4d4f"), x = Ee(() => f.value === "全部" ? v.value : v.value.filter((e) => e.name === f.value));
|
|
77182
77182
|
He(() => {
|
|
77183
77183
|
ae(), s.value = setInterval(() => {
|
|
77184
77184
|
ae();
|
|
@@ -77321,7 +77321,7 @@ var E5 = {
|
|
|
77321
77321
|
isRemove: !0
|
|
77322
77322
|
});
|
|
77323
77323
|
}, 1e3), pe();
|
|
77324
|
-
}, ue = () => n[
|
|
77324
|
+
}, ue = () => n[u.value], de = (e, t) => {
|
|
77325
77325
|
let n = Number(e?.[t]);
|
|
77326
77326
|
return S(n) ? t === "visibility" ? (n / 1e3).toString() : String(e?.[t]) : "";
|
|
77327
77327
|
}, fe = (e, t, n) => `
|
|
@@ -77369,7 +77369,7 @@ var E5 = {
|
|
|
77369
77369
|
r("close", "HighwayLiveAlarm");
|
|
77370
77370
|
};
|
|
77371
77371
|
return (e, t) => {
|
|
77372
|
-
let n = mr, r = hr, i = p, s = h, c =
|
|
77372
|
+
let n = mr, r = hr, i = p, s = h, c = d, g = re;
|
|
77373
77373
|
return rt((Ue(), ke("div", D5, [
|
|
77374
77374
|
Ae("div", O5, [Ae("div", k5, [t[4] ||= Ae("div", null, "沿线高速公路实况报警", -1), Ae("div", A5, [Ae("div", j5, [Ae("button", {
|
|
77375
77375
|
class: ze(["switch-btn", { active: l.value === "chart" }]),
|
|
@@ -77393,8 +77393,8 @@ var E5 = {
|
|
|
77393
77393
|
rt(Ae("div", M5, null, 512), [[et, l.value === "chart"]]),
|
|
77394
77394
|
rt(Ae("div", N5, [
|
|
77395
77395
|
Ae("div", P5, [Ae("div", F5, [t[10] ||= Ae("span", { class: "setting-label" }, "地图要素:", -1), Ne(r, {
|
|
77396
|
-
modelValue:
|
|
77397
|
-
"onUpdate:modelValue": t[2] ||= (e) =>
|
|
77396
|
+
modelValue: u.value,
|
|
77397
|
+
"onUpdate:modelValue": t[2] ||= (e) => u.value = e,
|
|
77398
77398
|
class: "setting-radios",
|
|
77399
77399
|
onChange: pe
|
|
77400
77400
|
}, {
|