nxd-plugin 1.3.7 → 1.3.8

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 (47) hide show
  1. package/dist/chunks/{component-HighWayEarlyWarningRed-yaXptPl1.mjs → component-HighWayEarlyWarningRed-BKLHeWHr.mjs} +1490 -33432
  2. package/dist/chunks/{component-HighWayFreeze-ByAF7JQ7.mjs → component-HighWayFreeze-BvB-6JYi.mjs} +1539 -1523
  3. package/dist/chunks/{component-HighwayLiveAlarm-BrYDfT9C.mjs → component-HighwayLiveAlarm-BHOhzsUw.mjs} +79 -79
  4. package/dist/chunks/{component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs → component-HighwayLiveAlarmNew-CIRCsfMN.mjs} +939 -954
  5. package/dist/chunks/{component-HighwayStations-DBsRXgHk.mjs → component-HighwayStations-C74-YZeJ.mjs} +3 -3
  6. package/dist/chunks/{component-HighwayWeatherForecast-DfD4TY_f.mjs → component-HighwayWeatherForecast-CT7S3N4a.mjs} +2 -2
  7. package/dist/chunks/component-ImageGeneration-DPxBMC0C.mjs +36199 -0
  8. package/dist/chunks/{component-LithiumBatteryMiningArea-CciAKE46.mjs → component-LithiumBatteryMiningArea-xte8_s0I.mjs} +228 -2277
  9. package/dist/chunks/{component-RadarShortTerm-BeeWDY9X.mjs → component-RadarShortTerm-DQ1z5uSp.mjs} +7 -7
  10. package/dist/chunks/{component-ServiceMaterialsBtn-Sj_vfugh.mjs → component-ServiceMaterialsBtn-DwTBVx4n.mjs} +229 -1137
  11. package/dist/chunks/component-TimeBasedForecast-CmikCSFB.mjs +238 -0
  12. package/dist/chunks/component-WeatherForecast-rputF8JM.mjs +136 -0
  13. package/dist/chunks/{component-YCHome-DskMdi13.mjs → component-YCHome-B3j5J78s.mjs} +680 -1249
  14. package/dist/chunks/{component-YCLogin-DeNzuZJh.mjs → component-YCLogin-D1HY0SIj.mjs} +22 -22
  15. package/dist/chunks/component-YCLoginNew-ToBzfPon.mjs +168 -0
  16. package/dist/nxd-plugin.mjs +18 -17
  17. package/dist/src/components/HighWayEarlyWarningRed/HighWayEarlyWarningRed.vue.d.ts +4 -34
  18. package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +24 -3
  19. package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +6 -60
  20. package/dist/src/components/LithiumBatteryMiningArea/LithiumBatteryMiningArea.vue.d.ts +24 -3
  21. package/dist/src/components/TimeBasedForecast/TimeBasedForecast.vue.d.ts +24 -3
  22. package/dist/src/components/WeatherForecast/WeatherForecast.vue.d.ts +18 -0
  23. package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +13 -1
  24. package/dist/src/index.d.ts +2 -1
  25. package/dist/src/utils/request.d.ts +8 -13
  26. package/dist/src/utils/request/345/244/207/344/273/275.d.ts +17 -0
  27. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  28. package/dist/styles/component-HighWayFreeze.css +1 -1
  29. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  30. package/dist/styles/component-ImageGeneration.css +1 -0
  31. package/dist/styles/component-LithiumBatteryMiningArea.css +1 -1
  32. package/dist/styles/component-ServiceMaterialsBtn.css +1 -1
  33. package/dist/styles/component-TimeBasedForecast.css +1 -1
  34. package/dist/styles/component-WeatherForecast.css +1 -1
  35. package/dist/styles/component-YCHome.css +1 -1
  36. package/dist/styles/component-YCLogin.css +1 -1
  37. package/dist/styles/component-YCLoginNew.css +1 -1
  38. package/package.json +6 -1
  39. package/readme.md +24 -25
  40. package/dist/chunks/component-TimeBasedForecast-LNK3QTFp.mjs +0 -347
  41. package/dist/chunks/component-WeatherForecast-Cl188OT3.mjs +0 -219
  42. package/dist/chunks/component-YCLoginNew-Vd0a8quF.mjs +0 -137
  43. package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +0 -31891
  44. package/dist/components/LithiumBatteryMiningArea/miningArea.json.d.ts +0 -59
  45. package/dist/components/LithiumBatteryMiningArea/realTimeData.json.d.ts +0 -2144
  46. package/dist/components/TimeBasedForecast/hourForecast.json.d.ts +0 -147
  47. package/dist/components/WeatherForecast/weatherForecast.json.d.ts +0 -113
@@ -1,8 +1,8 @@
1
1
  import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { C as e, T as t, f as n, w as r } from "./component-HighWayFreeze-ByAF7JQ7.mjs";
3
- import { r as i } from "./component-HighWayEarlyWarningRed-yaXptPl1.mjs";
4
- import { a, i as o, n as s, r as c } from "./component-YCHome-DskMdi13.mjs";
5
- import { r as l } from "./component-ServiceMaterialsBtn-Sj_vfugh.mjs";
2
+ import { D as e, O as t, k as n, m as r } from "./component-HighWayFreeze-BvB-6JYi.mjs";
3
+ import { r as i } from "./component-HighWayEarlyWarningRed-BKLHeWHr.mjs";
4
+ import { i as a, n as o, r as s } from "./component-YCHome-B3j5J78s.mjs";
5
+ import { i as c, n as l } from "./component-ImageGeneration-DPxBMC0C.mjs";
6
6
  import { Fragment as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, onMounted as h, openBlock as g, reactive as _, ref as v, renderList as y, unref as b, withCtx as x, withKeys as S } from "vue";
7
7
  //#region src/components/YCLogin/YCLogin.vue?vue&type=script&setup=true&lang.ts
8
8
  var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-container" }, E = { class: "login-wrapper" }, D = { class: "login-box" }, O = { class: "login-header" }, k = { class: "header-icon" }, A = { class: "input-icon-box" }, j = { class: "input-icon-box" }, M = /* @__PURE__ */ i(/* @__PURE__ */ m({
@@ -29,7 +29,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
29
29
  let L = async () => {}, R = () => {
30
30
  N.value && N.value.validate((e) => {
31
31
  e && (P.value = !0, setTimeout(() => {
32
- P.value = !1, s({
32
+ P.value = !1, o({
33
33
  message: "登录成功!",
34
34
  type: "success",
35
35
  zIndex: 6e3,
@@ -40,33 +40,33 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
40
40
  }, 1e3));
41
41
  });
42
42
  };
43
- return (i, s) => {
44
- let m = n, h = c, _ = a, v = l, M = o;
43
+ return (i, o) => {
44
+ let m = r, h = c, _ = a, v = l, M = s;
45
45
  return g(), d("div", C, [
46
- s[11] ||= f("div", { class: "glow-bg" }, null, -1),
47
- s[12] ||= f("div", { class: "glow-bg-2" }, null, -1),
46
+ o[11] ||= f("div", { class: "glow-bg" }, null, -1),
47
+ o[12] ||= f("div", { class: "glow-bg-2" }, null, -1),
48
48
  f("div", w, [(g(), d(u, null, y(20, (e) => f("div", {
49
49
  class: "particle",
50
50
  key: e
51
51
  })), 64))]),
52
52
  f("div", T, [
53
- s[9] ||= f("div", { class: "page-header" }, [f("h1", {
53
+ o[9] ||= f("div", { class: "page-header" }, [f("h1", {
54
54
  class: "main-title",
55
55
  "data-text": "宜春市气象服务平台"
56
56
  }, "宜春市气象服务平台"), f("p", { class: "sub-title" }, "专业气象服务 · 守护您的生产与生活")], -1),
57
- s[10] ||= f("div", { class: "divider-line" }, null, -1),
57
+ o[10] ||= f("div", { class: "divider-line" }, null, -1),
58
58
  f("div", E, [
59
- s[5] ||= f("div", { class: "corner top-left" }, null, -1),
60
- s[6] ||= f("div", { class: "corner top-right" }, null, -1),
61
- s[7] ||= f("div", { class: "corner bottom-left" }, null, -1),
62
- s[8] ||= f("div", { class: "corner bottom-right" }, null, -1),
59
+ o[5] ||= f("div", { class: "corner top-left" }, null, -1),
60
+ o[6] ||= f("div", { class: "corner top-right" }, null, -1),
61
+ o[7] ||= f("div", { class: "corner bottom-left" }, null, -1),
62
+ o[8] ||= f("div", { class: "corner bottom-right" }, null, -1),
63
63
  f("div", D, [f("div", O, [
64
64
  f("div", k, [p(m, { size: 32 }, {
65
- default: x(() => [p(b(r))]),
65
+ default: x(() => [p(b(t))]),
66
66
  _: 1
67
67
  })]),
68
- s[2] ||= f("h2", { class: "title" }, "系统登录", -1),
69
- s[3] ||= f("p", { class: "en-title" }, "SYSTEM LOGIN", -1)
68
+ o[2] ||= f("h2", { class: "title" }, "系统登录", -1),
69
+ o[3] ||= f("p", { class: "en-title" }, "SYSTEM LOGIN", -1)
70
70
  ]), p(M, {
71
71
  model: F,
72
72
  rules: I,
@@ -79,14 +79,14 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
79
79
  p(_, { prop: "username" }, {
80
80
  default: x(() => [p(h, {
81
81
  modelValue: F.username,
82
- "onUpdate:modelValue": s[0] ||= (e) => F.username = e,
82
+ "onUpdate:modelValue": o[0] ||= (e) => F.username = e,
83
83
  placeholder: "请输入用户名",
84
84
  clearable: "",
85
85
  size: "large",
86
86
  class: "custom-input"
87
87
  }, {
88
88
  prefix: x(() => [f("div", A, [p(m, null, {
89
- default: x(() => [p(b(t))]),
89
+ default: x(() => [p(b(n))]),
90
90
  _: 1
91
91
  })])]),
92
92
  _: 1
@@ -96,7 +96,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
96
96
  p(_, { prop: "password" }, {
97
97
  default: x(() => [p(h, {
98
98
  modelValue: F.password,
99
- "onUpdate:modelValue": s[1] ||= (e) => F.password = e,
99
+ "onUpdate:modelValue": o[1] ||= (e) => F.password = e,
100
100
  type: "password",
101
101
  placeholder: "请输入密码",
102
102
  "show-password": "",
@@ -119,7 +119,7 @@ var C = { class: "YCLogin" }, w = { class: "particles" }, T = { class: "login-co
119
119
  loading: P.value,
120
120
  size: "large"
121
121
  }, {
122
- default: x(() => [...s[4] ||= [f("span", { class: "btn-text" }, "登 录", -1), f("div", { class: "btn-glow" }, null, -1)]]),
122
+ default: x(() => [...o[4] ||= [f("span", { class: "btn-text" }, "登 录", -1), f("div", { class: "btn-glow" }, null, -1)]]),
123
123
  _: 1
124
124
  }, 8, ["loading"])]),
125
125
  _: 1
@@ -0,0 +1,168 @@
1
+ import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
+ import { D as e, O as t, k as n, m as r } from "./component-HighWayFreeze-BvB-6JYi.mjs";
3
+ import { i, r as a } from "./component-HighWayEarlyWarningRed-BKLHeWHr.mjs";
4
+ import { i as o, n as s, r as c } from "./component-YCHome-B3j5J78s.mjs";
5
+ import { i as l, n as u } from "./component-ImageGeneration-DPxBMC0C.mjs";
6
+ import { n as d } from "./component-LithiumBatteryMiningArea-xte8_s0I.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__ */ a(/* @__PURE__ */ g({
10
+ __name: "YCLoginNew",
11
+ props: {
12
+ baseHttp: {
13
+ type: String,
14
+ default: ""
15
+ },
16
+ ids: {
17
+ type: Object,
18
+ default: () => ({})
19
+ }
20
+ },
21
+ setup(a, { emit: g }) {
22
+ let P = a, F = g, I = b(), L = b(!1), R = y({
23
+ username: "",
24
+ password: ""
25
+ }), z = {
26
+ username: [{
27
+ required: !0,
28
+ message: "请输入手机号",
29
+ trigger: "blur"
30
+ }],
31
+ password: [{
32
+ required: !0,
33
+ message: "请输入密码",
34
+ trigger: "blur"
35
+ }]
36
+ };
37
+ _(() => {
38
+ B();
39
+ });
40
+ let B = async () => {}, V = () => {
41
+ I.value && I.value.validate(async (e) => {
42
+ if (e) {
43
+ L.value = !0;
44
+ let e = {
45
+ name: R.username,
46
+ pwd: R.password
47
+ }, t = (await i({
48
+ id: P.ids.data.id,
49
+ variables: { str: d.encode(JSON.stringify(e)) },
50
+ baseHttp: P.baseHttp,
51
+ reqType: P.ids.data.reqType,
52
+ isFormData: P.ids.data.isFormData
53
+ })).data.result.output;
54
+ if (L.value = !1, !t) {
55
+ s({
56
+ message: "账号或密码错误",
57
+ type: "error",
58
+ zIndex: 6e3,
59
+ duration: 1500
60
+ });
61
+ return;
62
+ }
63
+ s({
64
+ message: "登录成功!",
65
+ type: "success",
66
+ zIndex: 6e3,
67
+ duration: 1500
68
+ }), window.localStorage.setItem("user", JSON.stringify(t)), setTimeout(() => {
69
+ t.length > 1 ? F("toPage", t[0].web_page) : F("toPage", "/home");
70
+ }, 1e3);
71
+ }
72
+ });
73
+ };
74
+ return (i, a) => {
75
+ let s = r, d = l, g = o, _ = u, y = c;
76
+ return v(), p("div", T, [
77
+ a[11] ||= m("div", { class: "glow-bg" }, null, -1),
78
+ a[12] ||= m("div", { class: "glow-bg-2" }, null, -1),
79
+ m("div", E, [(v(), p(f, null, x(20, (e) => m("div", {
80
+ class: "particle",
81
+ key: e
82
+ })), 64))]),
83
+ m("div", D, [
84
+ a[9] ||= m("div", { class: "page-header" }, [m("h1", {
85
+ class: "main-title",
86
+ "data-text": "宜春市气象服务平台"
87
+ }, "宜春市气象服务平台"), m("p", { class: "sub-title" }, "专业气象服务 · 守护您的生产与生活")], -1),
88
+ a[10] ||= m("div", { class: "divider-line" }, null, -1),
89
+ m("div", O, [
90
+ a[5] ||= m("div", { class: "corner top-left" }, null, -1),
91
+ a[6] ||= m("div", { class: "corner top-right" }, null, -1),
92
+ a[7] ||= m("div", { class: "corner bottom-left" }, null, -1),
93
+ a[8] ||= m("div", { class: "corner bottom-right" }, null, -1),
94
+ m("div", k, [m("div", A, [
95
+ m("div", j, [h(s, { size: 32 }, {
96
+ default: C(() => [h(S(t))]),
97
+ _: 1
98
+ })]),
99
+ a[2] ||= m("h2", { class: "title" }, "系统登录", -1),
100
+ a[3] ||= m("p", { class: "en-title" }, "SYSTEM LOGIN", -1)
101
+ ]), h(y, {
102
+ model: R,
103
+ rules: z,
104
+ ref_key: "loginFormRef",
105
+ ref: I,
106
+ onKeyup: w(V, ["enter"]),
107
+ class: "login-form"
108
+ }, {
109
+ default: C(() => [
110
+ h(g, { prop: "username" }, {
111
+ default: C(() => [h(d, {
112
+ modelValue: R.username,
113
+ "onUpdate:modelValue": a[0] ||= (e) => R.username = e,
114
+ placeholder: "请输入手机号",
115
+ clearable: "",
116
+ size: "large",
117
+ class: "custom-input"
118
+ }, {
119
+ prefix: C(() => [m("div", M, [h(s, null, {
120
+ default: C(() => [h(S(n))]),
121
+ _: 1
122
+ })])]),
123
+ _: 1
124
+ }, 8, ["modelValue"])]),
125
+ _: 1
126
+ }),
127
+ h(g, { prop: "password" }, {
128
+ default: C(() => [h(d, {
129
+ modelValue: R.password,
130
+ "onUpdate:modelValue": a[1] ||= (e) => R.password = e,
131
+ type: "password",
132
+ placeholder: "请输入密码",
133
+ "show-password": "",
134
+ size: "large",
135
+ class: "custom-input"
136
+ }, {
137
+ prefix: C(() => [m("div", N, [h(s, null, {
138
+ default: C(() => [h(S(e))]),
139
+ _: 1
140
+ })])]),
141
+ _: 1
142
+ }, 8, ["modelValue"])]),
143
+ _: 1
144
+ }),
145
+ h(g, { class: "btn-item" }, {
146
+ default: C(() => [h(_, {
147
+ class: "login-btn",
148
+ type: "primary",
149
+ onClick: V,
150
+ loading: L.value,
151
+ size: "large"
152
+ }, {
153
+ default: C(() => [...a[4] ||= [m("span", { class: "btn-text" }, "登 录", -1), m("div", { class: "btn-glow" }, null, -1)]]),
154
+ _: 1
155
+ }, 8, ["loading"])]),
156
+ _: 1
157
+ })
158
+ ]),
159
+ _: 1
160
+ }, 8, ["model"])])
161
+ ])
162
+ ])
163
+ ]);
164
+ };
165
+ }
166
+ }), [["__scopeId", "data-v-2b8470f3"]]);
167
+ //#endregion
168
+ export { P as t };
@@ -1,20 +1,21 @@
1
- import { t as e } from "./chunks/component-HighWayFreeze-ByAF7JQ7.mjs";
2
- import { t } from "./chunks/component-HighWayEarlyWarningRed-yaXptPl1.mjs";
3
- import { t as n } from "./chunks/component-HighwayLiveAlarm-BrYDfT9C.mjs";
4
- import { t as r } from "./chunks/component-YCHome-DskMdi13.mjs";
5
- import { t as i } from "./chunks/component-ServiceMaterialsBtn-Sj_vfugh.mjs";
6
- import { t as a } from "./chunks/component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs";
7
- import { t as o } from "./chunks/component-HighwayStations-DBsRXgHk.mjs";
8
- import { t as s } from "./chunks/component-HighwayWeatherForecast-DfD4TY_f.mjs";
9
- import { t as c } from "./chunks/component-YCLogin-DeNzuZJh.mjs";
10
- import { t as l } from "./chunks/component-YCLoginNew-Vd0a8quF.mjs";
11
- import { t as u } from "./chunks/component-RadarShortTerm-BeeWDY9X.mjs";
12
- import { t as d } from "./chunks/component-LithiumBatteryMiningArea-CciAKE46.mjs";
13
- import { t as f } from "./chunks/component-TimeBasedForecast-LNK3QTFp.mjs";
14
- import { t as p } from "./chunks/component-WeatherForecast-Cl188OT3.mjs";
1
+ import { t as e } from "./chunks/component-HighWayFreeze-BvB-6JYi.mjs";
2
+ import { t } from "./chunks/component-HighWayEarlyWarningRed-BKLHeWHr.mjs";
3
+ import { t as n } from "./chunks/component-HighwayLiveAlarm-BHOhzsUw.mjs";
4
+ import { t as r } from "./chunks/component-YCHome-B3j5J78s.mjs";
5
+ import { t as i } from "./chunks/component-ImageGeneration-DPxBMC0C.mjs";
6
+ import { t as a } from "./chunks/component-ServiceMaterialsBtn-DwTBVx4n.mjs";
7
+ import { n as o } from "./chunks/component-HighwayLiveAlarmNew-CIRCsfMN.mjs";
8
+ import { t as s } from "./chunks/component-HighwayStations-C74-YZeJ.mjs";
9
+ import { t as c } from "./chunks/component-HighwayWeatherForecast-CT7S3N4a.mjs";
10
+ import { t as l } from "./chunks/component-LithiumBatteryMiningArea-xte8_s0I.mjs";
11
+ import { t as u } from "./chunks/component-YCLogin-D1HY0SIj.mjs";
12
+ import { t as d } from "./chunks/component-YCLoginNew-ToBzfPon.mjs";
13
+ import { t as f } from "./chunks/component-RadarShortTerm-DQ1z5uSp.mjs";
14
+ import { t as p } from "./chunks/component-TimeBasedForecast-CmikCSFB.mjs";
15
+ import { t as m } from "./chunks/component-WeatherForecast-rputF8JM.mjs";
15
16
  //#region src/index.ts
16
- var m = { install(m) {
17
- m.component("HighwayLiveAlarm", n), m.component("HighwayLiveAlarmNew", a), m.component("HighwayStations", o), m.component("HighWayEarlyWarningRed", t), m.component("HighwayWeatherForecast", s), m.component("ServiceMaterialsBtn", i), m.component("YCHome", r), m.component("YCLogin", c), m.component("YCLoginNew", l), m.component("HighWayFreeze", e), m.component("RadarShortTerm", u), m.component("LithiumBatteryMiningArea", d), m.component("TimeBasedForecast", f), m.component("WeatherForecast", p);
17
+ var h = { install(h) {
18
+ h.component("HighwayLiveAlarm", n), h.component("HighwayLiveAlarmNew", o), h.component("HighwayStations", s), h.component("HighWayEarlyWarningRed", t), h.component("HighwayWeatherForecast", c), h.component("ServiceMaterialsBtn", a), h.component("YCHome", r), h.component("YCLogin", u), h.component("YCLoginNew", d), h.component("HighWayFreeze", e), h.component("RadarShortTerm", f), h.component("LithiumBatteryMiningArea", l), h.component("TimeBasedForecast", p), h.component("WeatherForecast", m), h.component("ImageGeneration", i);
18
19
  } };
19
20
  //#endregion
20
- export { t as HighWayEarlyWarningRed, e as HighWayFreeze, n as HighwayLiveAlarm, a as HighwayLiveAlarmNew, o as HighwayStations, s as HighwayWeatherForecast, d as LithiumBatteryMiningArea, u as RadarShortTerm, i as ServiceMaterialsBtn, f as TimeBasedForecast, p as WeatherForecast, r as YCHome, c as YCLogin, l as YCLoginNew, m as default };
21
+ export { t as HighWayEarlyWarningRed, e as HighWayFreeze, n as HighwayLiveAlarm, o as HighwayLiveAlarmNew, s as HighwayStations, c as HighwayWeatherForecast, i as ImageGeneration, l as LithiumBatteryMiningArea, f as RadarShortTerm, a as ServiceMaterialsBtn, p as TimeBasedForecast, m as WeatherForecast, r as YCHome, u as YCLogin, d as YCLoginNew, h as default };
@@ -1,44 +1,14 @@
1
1
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- tokenInterface: {
2
+ baseHttp: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- tokenInterfaceParams: {
6
+ ids: {
7
7
  type: ObjectConstructor;
8
8
  default: () => {};
9
9
  };
10
- tokenInterfaceType: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- tokenInterfaceIsFormData: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- dataInterface: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- dataInterfaceParams: {
23
- type: ObjectConstructor;
24
- default: () => {};
25
- };
26
- dataInterfaceType: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- dataInterfaceIsFormData: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
10
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
35
- tokenInterface: string;
36
- tokenInterfaceParams: Record<string, any>;
37
- tokenInterfaceType: string;
38
- tokenInterfaceIsFormData: boolean;
39
- dataInterface: string;
40
- dataInterfaceParams: Record<string, any>;
41
- dataInterfaceType: string;
42
- dataInterfaceIsFormData: boolean;
11
+ baseHttp: string;
12
+ ids: Record<string, any>;
43
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
44
14
  export default _default;
@@ -1,6 +1,27 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ baseHttp: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ ids: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
11
  close: (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ baseHttp: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ ids: {
18
+ type: ObjectConstructor;
19
+ default: () => {};
20
+ };
21
+ }>> & Readonly<{
4
22
  onClose?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
23
+ }>, {
24
+ baseHttp: string;
25
+ ids: Record<string, any>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
6
27
  export default _default;
@@ -1,36 +1,12 @@
1
1
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- tokenInterface: {
2
+ baseHttp: {
3
3
  type: StringConstructor;
4
4
  default: string;
5
5
  };
6
- tokenInterfaceParams: {
6
+ ids: {
7
7
  type: ObjectConstructor;
8
8
  default: () => {};
9
9
  };
10
- tokenInterfaceType: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- tokenInterfaceIsFormData: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- dataInterface: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- dataInterfaceParams: {
23
- type: ObjectConstructor;
24
- default: () => {};
25
- };
26
- dataInterfaceType: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- dataInterfaceIsFormData: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
10
  baseMapUrl: {
35
11
  type: StringConstructor;
36
12
  default: string;
@@ -44,38 +20,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
44
20
  addDataTitle: (...args: any[]) => void;
45
21
  removeDataTitle: (...args: any[]) => void;
46
22
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
47
- tokenInterface: {
23
+ baseHttp: {
48
24
  type: StringConstructor;
49
25
  default: string;
50
26
  };
51
- tokenInterfaceParams: {
27
+ ids: {
52
28
  type: ObjectConstructor;
53
29
  default: () => {};
54
30
  };
55
- tokenInterfaceType: {
56
- type: StringConstructor;
57
- default: string;
58
- };
59
- tokenInterfaceIsFormData: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- dataInterface: {
64
- type: StringConstructor;
65
- default: string;
66
- };
67
- dataInterfaceParams: {
68
- type: ObjectConstructor;
69
- default: () => {};
70
- };
71
- dataInterfaceType: {
72
- type: StringConstructor;
73
- default: string;
74
- };
75
- dataInterfaceIsFormData: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
31
  baseMapUrl: {
80
32
  type: StringConstructor;
81
33
  default: string;
@@ -89,14 +41,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
89
41
  onAddDataTitle?: ((...args: any[]) => any) | undefined;
90
42
  onRemoveDataTitle?: ((...args: any[]) => any) | undefined;
91
43
  }>, {
92
- tokenInterface: string;
93
- tokenInterfaceParams: Record<string, any>;
94
- tokenInterfaceType: string;
95
- tokenInterfaceIsFormData: boolean;
96
- dataInterface: string;
97
- dataInterfaceParams: Record<string, any>;
98
- dataInterfaceType: string;
99
- dataInterfaceIsFormData: boolean;
44
+ baseHttp: string;
100
45
  baseMapUrl: string;
46
+ ids: Record<string, any>;
101
47
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
102
48
  export default _default;
@@ -1,14 +1,35 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ baseHttp: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ ids: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
11
  close: (...args: any[]) => void;
3
12
  removePolygon: (...args: any[]) => void;
4
13
  addPolygon: (...args: any[]) => void;
5
14
  toComponent: (...args: any[]) => void;
6
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ baseHttp: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ ids: {
21
+ type: ObjectConstructor;
22
+ default: () => {};
23
+ };
24
+ }>> & Readonly<{
7
25
  onClose?: ((...args: any[]) => any) | undefined;
8
26
  onRemovePolygon?: ((...args: any[]) => any) | undefined;
9
27
  onAddPolygon?: ((...args: any[]) => any) | undefined;
10
28
  onToComponent?: ((...args: any[]) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
29
+ }>, {
30
+ baseHttp: string;
31
+ ids: Record<string, any>;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
12
33
  ref_RealTimeChart: HTMLDivElement;
13
34
  }, HTMLDivElement>;
14
35
  export default _default;
@@ -1,8 +1,29 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ baseHttp: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ ids: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
11
  close: (...args: any[]) => void;
3
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ baseHttp: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ ids: {
18
+ type: ObjectConstructor;
19
+ default: () => {};
20
+ };
21
+ }>> & Readonly<{
4
22
  onClose?: ((...args: any[]) => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
23
+ }>, {
24
+ baseHttp: string;
25
+ ids: Record<string, any>;
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
6
27
  ref_ForecastChart: HTMLDivElement;
7
28
  }, HTMLDivElement>;
8
29
  export default _default;
@@ -1,4 +1,12 @@
1
1
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ baseHttp: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ ids: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
2
10
  title: {
3
11
  type: StringConstructor;
4
12
  default: string;
@@ -6,6 +14,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
6
14
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
15
  close: (...args: any[]) => void;
8
16
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
17
+ baseHttp: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ ids: {
22
+ type: ObjectConstructor;
23
+ default: () => {};
24
+ };
9
25
  title: {
10
26
  type: StringConstructor;
11
27
  default: string;
@@ -13,6 +29,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
13
29
  }>> & Readonly<{
14
30
  onClose?: ((...args: any[]) => any) | undefined;
15
31
  }>, {
32
+ baseHttp: string;
16
33
  title: string;
34
+ ids: Record<string, any>;
17
35
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
18
36
  export default _default;
@@ -1,4 +1,16 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ baseHttp: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ ids: {
7
+ type: ObjectConstructor;
8
+ default: () => {};
9
+ };
10
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
11
+ baseHttp: string;
12
+ ids: Record<string, any>;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
2
14
  loginFormRef: any;
3
15
  }, HTMLDivElement>;
4
16
  export default _default;
@@ -12,7 +12,8 @@ import { default as RadarShortTerm } from './components/RadarShortTerm/RadarShor
12
12
  import { default as LithiumBatteryMiningArea } from './components/LithiumBatteryMiningArea/LithiumBatteryMiningArea.vue';
13
13
  import { default as TimeBasedForecast } from './components/TimeBasedForecast/TimeBasedForecast.vue';
14
14
  import { default as WeatherForecast } from './components/WeatherForecast/WeatherForecast.vue';
15
+ import { default as ImageGeneration } from './components/ImageGeneration/ImageGeneration.vue';
15
16
  import { Plugin } from 'vue';
16
- export { HighwayLiveAlarm, HighwayLiveAlarmNew, HighwayStations, HighWayEarlyWarningRed, HighwayWeatherForecast, ServiceMaterialsBtn, YCHome, YCLogin, YCLoginNew, HighWayFreeze, RadarShortTerm, LithiumBatteryMiningArea, TimeBasedForecast, WeatherForecast };
17
+ export { HighwayLiveAlarm, HighwayLiveAlarmNew, HighwayStations, HighWayEarlyWarningRed, HighwayWeatherForecast, ServiceMaterialsBtn, YCHome, YCLogin, YCLoginNew, HighWayFreeze, RadarShortTerm, LithiumBatteryMiningArea, TimeBasedForecast, WeatherForecast, ImageGeneration };
17
18
  declare const plugin: Plugin;
18
19
  export default plugin;
@@ -1,17 +1,12 @@
1
- import { AxiosRequestConfig } from 'axios';
2
1
  type Method = 'get' | 'post';
3
2
  type Params = Record<string, any>;
4
- type RequestConfig = AxiosRequestConfig & {
5
- _retried?: boolean;
6
- url: string;
7
- method?: Method;
8
- params?: Params;
9
- isFormData?: boolean;
10
- tokenInterface?: string;
11
- tokenInterfaceParams?: Params;
12
- tokenInterfaceType?: Method;
13
- tokenInterfaceIsFormData?: boolean;
3
+ type ReqFlowConfig = {
4
+ id: string | number;
5
+ baseHttp: string;
6
+ reqType: Method;
7
+ variables: Params;
8
+ isFormData: boolean;
14
9
  };
15
- export declare function myRequest<T = any>({ url, method, params, isFormData, tokenInterface, tokenInterfaceParams, tokenInterfaceType, tokenInterfaceIsFormData, ...rest }: RequestConfig): Promise<T>;
16
- export default myRequest;
10
+ export declare const reqFlow: <T = any>({ id, baseHttp, reqType, variables, isFormData }: ReqFlowConfig) => Promise<T>;
11
+ export default reqFlow;
17
12
  export declare const reqFile: (url: string, timestamp?: boolean) => Promise<any>;