nxd-plugin 1.7.42 → 1.7.45

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.
Files changed (43) hide show
  1. package/dist/chunks/{component-AqiMonitor-DoGm_NCt.mjs → component-AqiMonitor-n1rMcUkd.mjs} +323 -1912
  2. package/dist/chunks/{component-HighWayEarlyWarningRed-D89gFa50.mjs → component-HighWayEarlyWarningRed-BnJyShce.mjs} +18 -16
  3. package/dist/chunks/component-HighWayFreeze-ByxdEM06.mjs +181 -0
  4. package/dist/chunks/{component-HighwayLiveAlarm-DMdnrD3c.mjs → component-HighwayLiveAlarm-D_lIKhkC.mjs} +10150 -10667
  5. package/dist/chunks/{component-HighwayLiveAlarmNew-W2DKwrPk.mjs → component-HighwayLiveAlarmNew-DbEuUJW6.mjs} +243 -649
  6. package/dist/chunks/component-HighwayStations-Cmjb6MHu.mjs +218 -0
  7. package/dist/chunks/{component-HighwayWeatherForecast-Dn6tjaR-.mjs → component-HighwayWeatherForecast-ByPDymqX.mjs} +159 -158
  8. package/dist/chunks/{component-ImageGeneration-9XdsjkaE.mjs → component-ImageGeneration-SPM2CN6K.mjs} +5010 -7558
  9. package/dist/chunks/{component-LithiumBatteryMiningArea-Dj1DMKuU.mjs → component-LithiumBatteryMiningArea-C1KfrHaF.mjs} +51 -48
  10. package/dist/chunks/{component-MapPopup-0uM1uyql.mjs → component-MapPopup-B2f0tnVu.mjs} +1 -1
  11. package/dist/chunks/{component-PieLegend-JVqrszxO.mjs → component-PieLegend-w1YvpVaB.mjs} +1 -1
  12. package/dist/chunks/{component-RadarChart-Dz5sm2q5.mjs → component-RadarChart-Dnjp4cbb.mjs} +11 -11
  13. package/dist/chunks/{component-RadarLegend-BKm_34Tm.mjs → component-RadarLegend-Coihcxje.mjs} +1 -1
  14. package/dist/chunks/{component-RadarShortTerm-CyMCE9wz.mjs → component-RadarShortTerm-BlI00kHC.mjs} +86 -85
  15. package/dist/chunks/{component-RadarTime--DUvLJh2.mjs → component-RadarTime-BnWNJDq1.mjs} +14 -14
  16. package/dist/chunks/{component-ServiceMaterial-D9i1nsOr.mjs → component-ServiceMaterial-trvjXwHN.mjs} +1 -1
  17. package/dist/chunks/{component-ServiceMaterialsBtn-DjUo4Hsx.mjs → component-ServiceMaterialsBtn-C1ud7xtc.mjs} +34 -556
  18. package/dist/chunks/{component-TimeBasedForecast-Bc4EOR8R.mjs → component-TimeBasedForecast-DR7FkXAn.mjs} +69 -68
  19. package/dist/chunks/{component-WarningLine-C5AGlCZR.mjs → component-WarningLine-CWqiXdhZ.mjs} +2 -2
  20. package/dist/chunks/{component-WarningSignal-BaKdzl4i.mjs → component-WarningSignal-CtyCcjNo.mjs} +75 -74
  21. package/dist/chunks/component-WeatherForecast-DTGpJVhm.mjs +209 -0
  22. package/dist/chunks/component-YCHome-DeLwwN9F.mjs +426 -0
  23. package/dist/chunks/{component-YCLogin-DWhvv-rf.mjs → component-YCLogin-DtjB2mai.mjs} +52 -47
  24. package/dist/chunks/component-YCLoginNew-DDPai-9U.mjs +183 -0
  25. package/dist/nxd-plugin.mjs +26 -26
  26. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  27. package/dist/styles/component-HighWayFreeze.css +1 -1
  28. package/dist/styles/component-HighwayLiveAlarm.css +1 -1
  29. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  30. package/dist/styles/component-HighwayStations.css +1 -1
  31. package/dist/styles/component-ImageGeneration.css +1 -1
  32. package/dist/styles/component-RadarShortTerm.css +1 -1
  33. package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
  34. package/dist/styles/component-YCHome.css +1 -1
  35. package/dist/styles/component-YCLogin.css +1 -1
  36. package/dist/styles/component-YCLoginNew.css +1 -1
  37. package/package.json +3 -3
  38. package/dist/chunks/component-HighWayFreeze-C_Y5P0wN.mjs +0 -4730
  39. package/dist/chunks/component-HighwayStations-CNs3P4Vw.mjs +0 -32157
  40. package/dist/chunks/component-WeatherForecast-BzF3E06F.mjs +0 -209
  41. package/dist/chunks/component-YCHome-B2wOG1EV.mjs +0 -1768
  42. package/dist/chunks/component-YCLoginNew-CPPSTPXH.mjs +0 -178
  43. package/dist/components/HighwayStations/default.json.d.ts +0 -31945
@@ -1,178 +0,0 @@
1
- import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { D as e, O as t, k as n, m as r } from "./component-HighWayFreeze-C_Y5P0wN.mjs";
3
- import { n as i, r as a } from "./component-AqiMonitor-DoGm_NCt.mjs";
4
- import { i as o, n as s, r as c } from "./component-YCHome-B2wOG1EV.mjs";
5
- import { i as l, n as u } from "./component-ImageGeneration-9XdsjkaE.mjs";
6
- import { n as d } from "./component-LithiumBatteryMiningArea-Dj1DMKuU.mjs";
7
- import { Fragment as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, onMounted as _, openBlock as v, reactive as y, ref as b, renderList as x, unref as S, withCtx as C, withKeys as w } from "vue";
8
- //#region src/components/YCLoginNew/YCLoginNew.vue?vue&type=script&setup=true&lang.ts
9
- var T = { class: "YCLoginNew" }, E = { class: "particles" }, D = { class: "login-container" }, O = { class: "login-wrapper" }, k = { class: "login-box" }, A = { class: "login-header" }, j = { class: "header-icon" }, M = { class: "input-icon-box" }, N = { class: "input-icon-box" }, P = /* @__PURE__ */ i(/* @__PURE__ */ g({
10
- __name: "YCLoginNew",
11
- props: {
12
- appKey: {
13
- type: String,
14
- default: ""
15
- },
16
- appSalt: {
17
- type: String,
18
- default: ""
19
- },
20
- baseHttp: {
21
- type: String,
22
- default: ""
23
- },
24
- ids: {
25
- type: Object,
26
- default: () => ({})
27
- }
28
- },
29
- setup(i, { emit: g }) {
30
- let P = i, F = g, I = b(), L = b(!1), R = y({
31
- username: "",
32
- password: ""
33
- }), z = {
34
- username: [{
35
- required: !0,
36
- message: "请输入手机号",
37
- trigger: "blur"
38
- }],
39
- password: [{
40
- required: !0,
41
- message: "请输入密码",
42
- trigger: "blur"
43
- }]
44
- };
45
- _(() => {
46
- B();
47
- });
48
- let B = async () => {}, V = () => {
49
- I.value && I.value.validate(async (e) => {
50
- if (e) {
51
- L.value = !0;
52
- let e = {
53
- name: R.username,
54
- pwd: R.password
55
- }, t = (await a({
56
- appKey: P.appKey,
57
- appSalt: P.appSalt,
58
- id: P.ids.data.id,
59
- variables: { str: d.encode(JSON.stringify(e)) },
60
- baseHttp: P.baseHttp,
61
- reqType: P.ids.data.reqType,
62
- isFormData: P.ids.data.isFormData
63
- })).data.result.output;
64
- if (L.value = !1, !t || t.length === 0) {
65
- s({
66
- message: "账号或密码错误",
67
- type: "error",
68
- zIndex: 6e3,
69
- duration: 1500
70
- });
71
- return;
72
- }
73
- s({
74
- message: "登录成功!",
75
- type: "success",
76
- zIndex: 6e3,
77
- duration: 1500
78
- }), window.localStorage.setItem("user", JSON.stringify(t)), setTimeout(() => {
79
- t.length > 1 ? F("toPage", "/home") : F("toPage", t[0].web_page);
80
- }, 1e3);
81
- }
82
- });
83
- };
84
- return (i, a) => {
85
- let s = r, d = l, g = o, _ = u, y = c;
86
- return v(), p("div", T, [
87
- a[11] ||= m("div", { class: "glow-bg" }, null, -1),
88
- a[12] ||= m("div", { class: "glow-bg-2" }, null, -1),
89
- m("div", E, [(v(), p(f, null, x(20, (e) => m("div", {
90
- class: "particle",
91
- key: e
92
- })), 64))]),
93
- m("div", D, [
94
- a[9] ||= m("div", { class: "page-header" }, [m("h1", {
95
- class: "main-title",
96
- "data-text": "宜春市气象服务平台"
97
- }, "宜春市气象服务平台"), m("p", { class: "sub-title" }, "专业气象服务 · 守护您的生产与生活")], -1),
98
- a[10] ||= m("div", { class: "divider-line" }, null, -1),
99
- m("div", O, [
100
- a[5] ||= m("div", { class: "corner top-left" }, null, -1),
101
- a[6] ||= m("div", { class: "corner top-right" }, null, -1),
102
- a[7] ||= m("div", { class: "corner bottom-left" }, null, -1),
103
- a[8] ||= m("div", { class: "corner bottom-right" }, null, -1),
104
- m("div", k, [m("div", A, [
105
- m("div", j, [h(s, { size: 32 }, {
106
- default: C(() => [h(S(t))]),
107
- _: 1
108
- })]),
109
- a[2] ||= m("h2", { class: "title" }, "系统登录", -1),
110
- a[3] ||= m("p", { class: "en-title" }, "SYSTEM LOGIN", -1)
111
- ]), h(y, {
112
- model: R,
113
- rules: z,
114
- ref_key: "loginFormRef",
115
- ref: I,
116
- onKeyup: w(V, ["enter"]),
117
- class: "login-form"
118
- }, {
119
- default: C(() => [
120
- h(g, { prop: "username" }, {
121
- default: C(() => [h(d, {
122
- modelValue: R.username,
123
- "onUpdate:modelValue": a[0] ||= (e) => R.username = e,
124
- placeholder: "请输入手机号",
125
- clearable: "",
126
- size: "large",
127
- class: "custom-input"
128
- }, {
129
- prefix: C(() => [m("div", M, [h(s, null, {
130
- default: C(() => [h(S(n))]),
131
- _: 1
132
- })])]),
133
- _: 1
134
- }, 8, ["modelValue"])]),
135
- _: 1
136
- }),
137
- h(g, { prop: "password" }, {
138
- default: C(() => [h(d, {
139
- modelValue: R.password,
140
- "onUpdate:modelValue": a[1] ||= (e) => R.password = e,
141
- type: "password",
142
- placeholder: "请输入密码",
143
- "show-password": "",
144
- size: "large",
145
- class: "custom-input"
146
- }, {
147
- prefix: C(() => [m("div", N, [h(s, null, {
148
- default: C(() => [h(S(e))]),
149
- _: 1
150
- })])]),
151
- _: 1
152
- }, 8, ["modelValue"])]),
153
- _: 1
154
- }),
155
- h(g, { class: "btn-item" }, {
156
- default: C(() => [h(_, {
157
- class: "login-btn",
158
- type: "primary",
159
- onClick: V,
160
- loading: L.value,
161
- size: "large"
162
- }, {
163
- default: C(() => [...a[4] ||= [m("span", { class: "btn-text" }, "登 录", -1), m("div", { class: "btn-glow" }, null, -1)]]),
164
- _: 1
165
- }, 8, ["loading"])]),
166
- _: 1
167
- })
168
- ]),
169
- _: 1
170
- }, 8, ["model"])])
171
- ])
172
- ])
173
- ]);
174
- };
175
- }
176
- }), [["__scopeId", "data-v-425fab99"]]);
177
- //#endregion
178
- export { P as t };