nxd-plugin 1.7.46 → 1.7.48
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-AqiMonitor-n1rMcUkd.mjs → component-AqiMonitor-BUy1MSaP.mjs} +14 -14
- package/dist/chunks/{component-HighwayLiveAlarmNew-BfK7FOLK.mjs → component-GeologyLiveAlarm-b35T-VKV.mjs} +207 -207
- package/dist/chunks/{component-HighWayEarlyWarningRed-BnJyShce.mjs → component-HighWayEarlyWarningRed-C07Bu2a2.mjs} +2 -2
- package/dist/chunks/{component-HighWayFreeze-BOV33QgS.mjs → component-HighWayFreeze-BOqfGgAp.mjs} +1 -1
- package/dist/chunks/component-HighwayLiveAlarm-GTnOMO-n.mjs +32322 -0
- package/dist/chunks/component-HighwayLiveAlarmNew-Cq2GC0ay.mjs +684 -0
- package/dist/chunks/{component-HighwayStations-Cmjb6MHu.mjs → component-HighwayStations-D3we6SUy.mjs} +1 -1
- package/dist/chunks/{component-HighwayWeatherForecast-ByPDymqX.mjs → component-HighwayWeatherForecast-BplmvdB0.mjs} +1 -1
- package/dist/chunks/{component-ImageGeneration-SPM2CN6K.mjs → component-ImageGeneration-BesrLds9.mjs} +1891 -1871
- package/dist/chunks/{component-LithiumBatteryMiningArea-C1KfrHaF.mjs → component-LithiumBatteryMiningArea-CLqls8wF.mjs} +154 -154
- package/dist/chunks/{component-MapPopup-B2f0tnVu.mjs → component-MapPopup-B9HGnA3K.mjs} +1 -1
- package/dist/chunks/component-MaterialPreview-p3cNPs6w.mjs +178 -0
- package/dist/chunks/{component-PieLegend-w1YvpVaB.mjs → component-PieLegend-BtguPb2s.mjs} +1 -1
- package/dist/chunks/{component-RadarChart-Dnjp4cbb.mjs → component-RadarChart-BG_3ghVT.mjs} +1 -1
- package/dist/chunks/{component-RadarLegend-Coihcxje.mjs → component-RadarLegend-DOOZkw6V.mjs} +1 -1
- package/dist/chunks/{component-RadarShortTerm-BlI00kHC.mjs → component-RadarShortTerm-n4ICvBMu.mjs} +3 -3
- package/dist/chunks/{component-RadarTime-BnWNJDq1.mjs → component-RadarTime-BPrUMwWz.mjs} +1 -1
- package/dist/chunks/component-ReservoirLiveAlarm-DEwaF83N.mjs +684 -0
- package/dist/chunks/{component-ServiceMaterial-trvjXwHN.mjs → component-ServiceMaterial-DW1I7Fqv.mjs} +1 -1
- package/dist/chunks/{component-ServiceMaterialsBtn-C1ud7xtc.mjs → component-ServiceMaterialsBtn-DqiX5KzU.mjs} +1 -1
- package/dist/chunks/{component-TimeBasedForecast-DR7FkXAn.mjs → component-TimeBasedForecast-B-Y51oZX.mjs} +73 -73
- package/dist/chunks/{component-WarningLine-CWqiXdhZ.mjs → component-WarningLine-BhNa2lgA.mjs} +2 -2
- package/dist/chunks/{component-WarningSignal-CtyCcjNo.mjs → component-WarningSignal-BDZH5FVy.mjs} +2 -2
- package/dist/chunks/{component-WeatherForecast-DTGpJVhm.mjs → component-WeatherForecast-XrVjScRY.mjs} +3 -3
- package/dist/chunks/{component-YCHome-DeLwwN9F.mjs → component-YCHome-CkEc84Y1.mjs} +1 -1
- package/dist/chunks/{component-YCLogin-DtjB2mai.mjs → component-YCLogin-DhBC5b55.mjs} +1 -1
- package/dist/chunks/{component-YCLoginNew-DDPai-9U.mjs → component-YCLoginNew-I_ZnliMh.mjs} +2 -2
- package/dist/chunks/{rolldown-runtime-Dd0fQ6-X.mjs → rolldown-runtime-Cz5NsrRf.mjs} +4 -11
- package/dist/nxd-plugin.mjs +30 -27
- package/dist/src/components/GeologyLiveAlarm/GeologyLiveAlarm.vue.d.ts +74 -0
- package/dist/src/components/MaterialPreview/MaterialPreview.vue.d.ts +2 -0
- package/dist/src/components/ReservoirLiveAlarm/ReservoirLiveAlarm.vue.d.ts +74 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/styles/component-GeologyLiveAlarm.css +1 -0
- package/dist/styles/component-MaterialPreview.css +1 -0
- package/dist/styles/component-ReservoirLiveAlarm.css +1 -0
- package/dist/styles/component-YCLogin.css +1 -1
- package/dist/styles/component-YCLoginNew.css +1 -1
- package/package.json +2 -2
- package/dist/chunks/component-HighwayLiveAlarm-D_lIKhkC.mjs +0 -76958
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { n as e } from "./component-AqiMonitor-BUy1MSaP.mjs";
|
|
2
|
+
import { Fragment as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, onMounted as o, openBlock as s, reactive as c, ref as l, renderList as u, toDisplayString as d, vShow as f, withDirectives as p } from "vue";
|
|
3
|
+
//#region src/components/MaterialPreview/MaterialPreview.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
+
var m = { class: "MaterialPreview" }, h = { class: "MaterialPreview__list" }, g = ["onClick"], _ = { class: "MaterialPreview__category-name" }, v = { class: "MaterialPreview__category-count" }, y = { class: "MaterialPreview__category-files" }, b = ["onClick"], x = { class: "MaterialPreview__file-name" }, S = { class: "MaterialPreview__preview" }, C = /* @__PURE__ */ e(/* @__PURE__ */ i({
|
|
5
|
+
__name: "MaterialPreview",
|
|
6
|
+
setup(e) {
|
|
7
|
+
let i = c([
|
|
8
|
+
{
|
|
9
|
+
name: "分类1",
|
|
10
|
+
expanded: !0,
|
|
11
|
+
files: [
|
|
12
|
+
{
|
|
13
|
+
name: "文件1",
|
|
14
|
+
url: "",
|
|
15
|
+
type: "doc"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
name: "文件2",
|
|
19
|
+
url: "",
|
|
20
|
+
type: "doc"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
name: "文件3",
|
|
24
|
+
url: "",
|
|
25
|
+
type: "doc"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "文件4",
|
|
29
|
+
url: "",
|
|
30
|
+
type: "doc"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "文件5",
|
|
34
|
+
url: "",
|
|
35
|
+
type: "doc"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: "文件6",
|
|
39
|
+
url: "",
|
|
40
|
+
type: "doc"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: "文件7",
|
|
44
|
+
url: "",
|
|
45
|
+
type: "doc"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "文件8",
|
|
49
|
+
url: "",
|
|
50
|
+
type: "doc"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: "分类2",
|
|
56
|
+
expanded: !1,
|
|
57
|
+
files: [
|
|
58
|
+
{
|
|
59
|
+
name: "文件1",
|
|
60
|
+
url: "",
|
|
61
|
+
type: "doc"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: "文件2",
|
|
65
|
+
url: "",
|
|
66
|
+
type: "doc"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
name: "文件3",
|
|
70
|
+
url: "",
|
|
71
|
+
type: "doc"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: "文件4",
|
|
75
|
+
url: "",
|
|
76
|
+
type: "doc"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: "文件5",
|
|
80
|
+
url: "",
|
|
81
|
+
type: "doc"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
name: "文件6",
|
|
85
|
+
url: "",
|
|
86
|
+
type: "doc"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: "分类3",
|
|
92
|
+
expanded: !1,
|
|
93
|
+
files: [
|
|
94
|
+
{
|
|
95
|
+
name: "文件1",
|
|
96
|
+
url: "",
|
|
97
|
+
type: "doc"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "文件2",
|
|
101
|
+
url: "",
|
|
102
|
+
type: "doc"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "文件3",
|
|
106
|
+
url: "",
|
|
107
|
+
type: "doc"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
name: "文件4",
|
|
111
|
+
url: "",
|
|
112
|
+
type: "doc"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: "分类4",
|
|
118
|
+
expanded: !1,
|
|
119
|
+
files: [
|
|
120
|
+
{
|
|
121
|
+
name: "文件1",
|
|
122
|
+
url: "",
|
|
123
|
+
type: "doc"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
name: "文件2",
|
|
127
|
+
url: "",
|
|
128
|
+
type: "doc"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
name: "文件3",
|
|
132
|
+
url: "",
|
|
133
|
+
type: "doc"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
name: "文件4",
|
|
137
|
+
url: "",
|
|
138
|
+
type: "doc"
|
|
139
|
+
}
|
|
140
|
+
]
|
|
141
|
+
}
|
|
142
|
+
]), C = l(null), w = (e, t) => {
|
|
143
|
+
C.value = {
|
|
144
|
+
category: e,
|
|
145
|
+
name: t.name,
|
|
146
|
+
url: t.url
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
return o(() => {
|
|
150
|
+
let e = i[0];
|
|
151
|
+
e && e.files.length > 0 && (C.value = {
|
|
152
|
+
category: e.name,
|
|
153
|
+
name: e.files[0].name,
|
|
154
|
+
url: e.files[0].url
|
|
155
|
+
});
|
|
156
|
+
}), (e, o) => (s(), n("div", m, [r("div", h, [(s(!0), n(t, null, u(i, (e) => (s(), n("div", {
|
|
157
|
+
key: e.name,
|
|
158
|
+
class: "MaterialPreview__category"
|
|
159
|
+
}, [r("div", {
|
|
160
|
+
class: "MaterialPreview__category-header",
|
|
161
|
+
onClick: (t) => e.expanded = !e.expanded
|
|
162
|
+
}, [
|
|
163
|
+
r("span", { class: a(["MaterialPreview__category-arrow", { "is-expanded": e.expanded }]) }, "▶", 2),
|
|
164
|
+
r("span", _, d(e.name), 1),
|
|
165
|
+
r("span", v, "(" + d(e.files.length) + ")", 1)
|
|
166
|
+
], 8, g), p(r("div", y, [(s(!0), n(t, null, u(e.files, (t) => (s(), n("div", {
|
|
167
|
+
key: t.name,
|
|
168
|
+
class: a(["MaterialPreview__file", { "is-active": C.value?.name === t.name && C.value?.category === e.name }]),
|
|
169
|
+
onClick: (n) => w(e.name, t)
|
|
170
|
+
}, [r("span", x, d(t.name), 1)], 10, b))), 128))], 512), [[f, e.expanded]])]))), 128))]), r("div", S, [(s(), n(t, null, u(5, (e) => r("img", {
|
|
171
|
+
src: "",
|
|
172
|
+
alt: "",
|
|
173
|
+
key: e
|
|
174
|
+
})), 64))])]));
|
|
175
|
+
}
|
|
176
|
+
}), [["__scopeId", "data-v-06098103"]]);
|
|
177
|
+
//#endregion
|
|
178
|
+
export { C as t };
|