nxd-plugin 1.2.9 → 1.3.0

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 (20) hide show
  1. package/dist/chunks/{component-HighWayEarlyWarningRed-CmmlD13f.mjs → component-HighWayEarlyWarningRed-yaXptPl1.mjs} +1 -1
  2. package/dist/chunks/{component-HighWayFreeze-fwE0zu5a.mjs → component-HighWayFreeze-ByAF7JQ7.mjs} +649 -649
  3. package/dist/chunks/{component-HighwayLiveAlarm-eKR6YC57.mjs → component-HighwayLiveAlarm-BrYDfT9C.mjs} +72 -72
  4. package/dist/chunks/{component-HighwayLiveAlarmNew-C66odQkE.mjs → component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs} +60 -56
  5. package/dist/chunks/{component-HighwayStations-CIR-nhyB.mjs → component-HighwayStations-DBsRXgHk.mjs} +9 -9
  6. package/dist/chunks/{component-HighwayWeatherForecast-kKP0BVV-.mjs → component-HighwayWeatherForecast-DdNgGl6A.mjs} +164 -164
  7. package/dist/chunks/{component-RadarShortTerm-C5fiuIS-.mjs → component-RadarShortTerm-CPhbfQcf.mjs} +126 -124
  8. package/dist/chunks/{component-ServiceMaterialsBtn-BmsX0VQ7.mjs → component-ServiceMaterialsBtn-Sj_vfugh.mjs} +303 -303
  9. package/dist/chunks/{component-YCHome-C3hQ-kl7.mjs → component-YCHome-TTUuIPor.mjs} +180 -180
  10. package/dist/chunks/{component-YCLogin-CFEfm-Xo.mjs → component-YCLogin-7PlITuZv.mjs} +4 -4
  11. package/dist/chunks/{component-YCLoginNew-CS5GpLDx.mjs → component-YCLoginNew-Bzpu-Daf.mjs} +4 -4
  12. package/dist/components/RadarShortTerm/radar.json.d.ts +151 -0
  13. package/dist/nxd-plugin.mjs +11 -11
  14. package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +4 -0
  15. package/dist/src/components/RadarShortTerm/RadarShortTerm.vue.d.ts +89 -0
  16. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -1
  17. package/dist/styles/component-RadarShortTerm.css +1 -1
  18. package/dist/styles/component-YCLogin.css +1 -1
  19. package/dist/styles/component-YCLoginNew.css +1 -1
  20. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import "./rolldown-runtime-Dd0fQ6-X.mjs";
2
- import { D as e, E as t, f as n, y as r } from "./component-HighWayFreeze-fwE0zu5a.mjs";
3
- import { n as i, r as a } from "./component-HighWayEarlyWarningRed-CmmlD13f.mjs";
4
- import { n as o, r as s } from "./component-HighwayLiveAlarmNew-C66odQkE.mjs";
5
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, normalizeClass as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, vShow as w, withCtx as T, withDirectives as E } from "vue";
6
- var D = {
2
+ import { D as e, E as t, f as n, y as r } from "./component-HighWayFreeze-ByAF7JQ7.mjs";
3
+ import { i, n as a, r as o } from "./component-HighWayEarlyWarningRed-yaXptPl1.mjs";
4
+ import { n as s, r as ee } from "./component-HighwayLiveAlarmNew-Ccqk1-Nv.mjs";
5
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineComponent as g, normalizeClass as _, onBeforeUnmount as v, onMounted as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as w, vShow as T, withCtx as E, withDirectives as D } from "vue";
6
+ var O = {
7
7
  ds: [
8
8
  {
9
9
  id: 16549717,
@@ -151,16 +151,16 @@ var D = {
151
151
  latEnd: 31.535278,
152
152
  lngEnd: 117.951944,
153
153
  httpurl: "http://182.106.183.101:9000/Radar/JJSCR230/"
154
- }, ee = { class: "RadarShortTerm" }, O = { class: "RadarShortTerm-setting-panel" }, te = { class: "display-setting" }, ne = { class: "setting-row setting-row-pile" }, re = { class: "setting-pile-options" }, ie = { class: "RadarShortTerm-table" }, ae = { class: "table-body" }, oe = ["onClick"], se = { class: "name" }, ce = ["onClick"], le = {
154
+ }, k = { class: "RadarShortTerm" }, A = { class: "RadarShortTerm-setting-panel" }, te = { class: "display-setting" }, ne = { class: "setting-row setting-row-pile" }, re = { class: "setting-pile-options" }, ie = { class: "RadarShortTerm-table" }, ae = { class: "table-body" }, oe = ["onClick"], se = { class: "name" }, ce = ["onClick"], le = {
155
155
  key: 0,
156
156
  style: { color: "red" }
157
157
  }, ue = { class: "pile-panel" }, de = {
158
158
  key: 0,
159
159
  class: "pile-body"
160
- }, k = {
160
+ }, fe = {
161
161
  key: 1,
162
162
  class: "pile-empty"
163
- }, A = { class: "RadarShortTerm-timeline" }, j = ["title"], M = { class: "timeline-track" }, fe = ["onClick"], N = /* @__PURE__ */ i({
163
+ }, pe = { class: "RadarShortTerm-timeline" }, me = ["title"], he = { class: "timeline-track" }, ge = ["onClick"], j = /* @__PURE__ */ o(/* @__PURE__ */ g({
164
164
  __name: "RadarShortTerm",
165
165
  props: {
166
166
  tokenInterface: {
@@ -196,9 +196,15 @@ var D = {
196
196
  default: !1
197
197
  }
198
198
  },
199
- emits: ["close", "addImage"],
200
- setup(i, { emit: N }) {
201
- let P = i, F = N, I = b(!0), L = b(!1), R = b(0), z = b(null), B = b([]), V = b({}), H = b({}), pe = b([
199
+ emits: [
200
+ "close",
201
+ "addImage",
202
+ "clearImg",
203
+ "addDataTitle",
204
+ "removeDataTitle"
205
+ ],
206
+ setup(o, { emit: g }) {
207
+ let j = o, M = g, N = x(!0), P = x(!1), F = x(0), I = x(null), L = x([]), R = x({}), z = x({}), _e = x([
202
208
  {
203
209
  pileNo: "养护站901",
204
210
  isWarn: !0,
@@ -229,50 +235,50 @@ var D = {
229
235
  isWarn: !1,
230
236
  warnValue: "无"
231
237
  }
232
- ]), U = l(() => be(B.value, (e) => J(e.tags))), W = l(() => (D?.ds || []).slice(0, 10).reverse()), G = l(() => W.value.map((e) => {
233
- let t = new Date(e.observation_time);
234
- return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
235
- })), K = l(() => ({
236
- httpurl: D?.httpurl || "",
237
- lngStart: D?.lngStart,
238
- latStart: D?.latStart,
239
- lngEnd: D?.lngEnd,
240
- latEnd: D?.latEnd
241
- }));
242
- v(() => {
243
- me();
244
- }), _(() => {
238
+ ]), B = x({}), V = x("");
239
+ y(() => {
240
+ ve();
241
+ }), v(() => {
245
242
  Q();
246
243
  });
247
- let me = async () => {
248
- B.value = (await he()).map((e) => {
249
- let t = _e(e);
244
+ let ve = async () => {
245
+ j.dataInterface ? (B.value = await i({
246
+ url: j.dataInterface,
247
+ method: j.dataInterfaceType,
248
+ params: j.dataInterfaceParams,
249
+ isFormData: j.dataInterfaceIsFormData,
250
+ tokenInterface: j.tokenInterface,
251
+ tokenInterfaceParams: j.tokenInterfaceParams,
252
+ tokenInterfaceType: j.tokenInterfaceType,
253
+ tokenInterfaceIsFormData: j.tokenInterfaceIsFormData
254
+ }), F.value = B.value.ds.length >= 12 ? 11 : B.value.ds.length - 1) : (B.value = O, F.value = 11), L.value = (await ye()).map((e) => {
255
+ let t = xe(e);
250
256
  return {
251
257
  name: e.name,
252
- tags: ve(t),
253
- piles: pe.value
258
+ tags: Se(t),
259
+ piles: _e.value
254
260
  };
255
- }), I.value && Z(), ge();
256
- }, he = async () => P.dataInterface ? (await a({
257
- url: P.dataInterface,
258
- method: P.dataInterfaceType,
259
- params: P.dataInterfaceParams,
260
- isFormData: P.dataInterfaceIsFormData,
261
- tokenInterface: P.tokenInterface,
262
- tokenInterfaceParams: P.tokenInterfaceParams,
263
- tokenInterfaceType: P.tokenInterfaceType,
264
- tokenInterfaceIsFormData: P.tokenInterfaceIsFormData
265
- }))?.ds || [] : o?.ds || [], ge = () => {
266
- let e = U.value.find((e) => J(e.tags)), t = {}, n = {};
267
- e && (t[e.name] = !0, n[e.name] = !0), V.value = t, H.value = n;
268
- }, q = (e, t, n) => e.find((e) => e?.[t] === 1 && ye(e?.[n])) || e.find((e) => e?.[t] === 1), _e = (e) => {
269
- let t = e.zdzds || [], n = q(t, "iswarnrainfall_1h", "rainfall_1h"), r = q(t, "iswarntemp", "temperature"), i = q(t, "iswarnvis", "visibility");
261
+ }), N.value && Z(), be();
262
+ }, H = l(() => we(L.value, (e) => q(e.tags))), U = l(() => (B.value?.ds || []).slice(0, 12).reverse()), W = l(() => U.value.map((e) => {
263
+ let t = new Date(e.observation_time);
264
+ return `${String(t.getHours()).padStart(2, "0")}:${String(t.getMinutes()).padStart(2, "0")}`;
265
+ })), G = l(() => ({
266
+ httpurl: B.value?.httpurl || "",
267
+ lngStart: B.value?.lngStart,
268
+ latStart: B.value?.latStart,
269
+ lngEnd: B.value?.lngEnd,
270
+ latEnd: B.value?.latEnd
271
+ })), ye = async () => s?.ds || [], be = () => {
272
+ let e = H.value.find((e) => q(e.tags)), t = {}, n = {};
273
+ e && (t[e.name] = !0, n[e.name] = !0), R.value = t, z.value = n;
274
+ }, K = (e, t, n) => e.find((e) => e?.[t] === 1 && Ce(e?.[n])) || e.find((e) => e?.[t] === 1), xe = (e) => {
275
+ let t = e.zdzds || [], n = K(t, "iswarnrainfall_1h", "rainfall_1h"), r = K(t, "iswarntemp", "temperature"), i = K(t, "iswarnvis", "visibility");
270
276
  return {
271
277
  iswarnrainfall_1h: n ? 1 : 0,
272
278
  iswarntemp: r ? 1 : 0,
273
279
  iswarnvis: i ? 1 : 0
274
280
  };
275
- }, ve = (e) => [
281
+ }, Se = (e) => [
276
282
  {
277
283
  label: "未来R1h",
278
284
  warn: e.iswarnrainfall_1h === 1
@@ -285,141 +291,137 @@ var D = {
285
291
  label: "未来R3h",
286
292
  warn: e.iswarnvis === 1
287
293
  }
288
- ], ye = (e) => {
294
+ ], Ce = (e) => {
289
295
  let t = Number(e);
290
296
  return Number.isFinite(t) && t < 999999 && t > -999999;
291
- }, J = (e) => e.some((e) => e.warn), be = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), Y = (e) => e.filter((e) => e.isWarn).length, xe = (e) => {
297
+ }, q = (e) => e.some((e) => e.warn), we = (e, t) => [...e].sort((e, n) => Number(t(n)) - Number(t(e))), J = (e) => e.filter((e) => e.isWarn).length, Y = (e) => {
292
298
  if (!e) return null;
293
299
  let t = String(e?.input_time || "").slice(0, 10).replaceAll("-", "");
294
300
  return {
295
301
  alt: "",
296
- imgUrl: `${K.value.httpurl}${t}/${e.file_name}`,
297
- lngStart: K.value.lngStart,
298
- latStart: K.value.latStart,
299
- lngEnd: K.value.lngEnd,
300
- latEnd: K.value.latEnd,
302
+ imgUrl: `${G.value.httpurl}${t}/${e.file_name}`,
303
+ lngStart: G.value.lngStart,
304
+ latStart: G.value.latStart,
305
+ lngEnd: G.value.lngEnd,
306
+ latEnd: G.value.latEnd,
301
307
  opacity: 1,
302
308
  otherData: { imgId: "radar_RadarShortTerm" }
303
309
  };
304
310
  }, X = (e) => {
305
- let t = W.value[e];
306
- F("addImage", {
311
+ let t = U.value[e];
312
+ M("addImage", {
307
313
  removeImg: "radar_RadarShortTerm",
308
- data: { imgArr: [xe(t)] }
309
- });
314
+ data: { imgArr: [Y(t)] }
315
+ }), V.value = "雷达观测时间:" + a(B.value.ds[e].observation_time).format("YYYY-MM-DD HH:mm"), M("addDataTitle", V.value);
310
316
  }, Z = () => {
311
- if ($(), !W.value.length) return;
312
- let e = R.value >= 0 && R.value < W.value.length ? R.value : 0;
313
- R.value = e, X(e);
317
+ if ($(), !U.value.length) return;
318
+ let e = F.value >= 0 && F.value < U.value.length ? F.value : 0;
319
+ F.value = e, X(e);
314
320
  }, Q = () => {
315
- z.value &&= (clearInterval(z.value), null);
321
+ I.value &&= (clearInterval(I.value), null);
316
322
  }, $ = () => {
317
- L.value = !1, Q();
318
- }, Se = () => {
319
- G.value.length <= 1 || (L.value = !0, Q(), z.value = setInterval(() => {
320
- R.value = (R.value + 1) % G.value.length, X(R.value);
323
+ P.value = !1, Q();
324
+ }, Te = () => {
325
+ W.value.length <= 1 || (P.value = !0, Q(), I.value = setInterval(() => {
326
+ F.value = (F.value + 1) % W.value.length, X(F.value);
321
327
  }, 3e3));
322
- }, Ce = () => {
323
- if (L.value) {
328
+ }, Ee = () => {
329
+ if (P.value) {
324
330
  $();
325
331
  return;
326
332
  }
327
- Se();
328
- }, we = (e) => {
329
- R.value = e, X(e), $();
330
- }, Te = () => {
331
- if (!I.value) {
332
- F("clearImg", "radar_RadarShortTerm"), $();
333
+ Te();
334
+ }, De = (e) => {
335
+ F.value = e, X(e), $();
336
+ }, Oe = () => {
337
+ if (!N.value) {
338
+ M("clearImg", "radar_RadarShortTerm"), M("removeDataTitle", V.value), $();
333
339
  return;
334
340
  }
335
341
  Z();
336
- }, Ee = (e) => {
337
- let t = !!V.value[e];
338
- V.value[e] = !t, t || (H.value[e] = !0);
339
- }, De = (e) => {
340
- H.value[e] = !H.value[e];
341
- }, Oe = () => {
342
- F("close", "RadarShortTerm");
342
+ }, ke = (e) => {
343
+ let t = !!R.value[e];
344
+ R.value[e] = !t, t || (z.value[e] = !0);
345
+ }, Ae = (e) => {
346
+ z.value[e] = !z.value[e];
347
+ }, je = () => {
348
+ M("close", "RadarShortTerm");
343
349
  };
344
350
  return (i, a) => {
345
- let o = s, l = n;
346
- return y(), f("div", ee, [
351
+ let o = ee, s = n;
352
+ return b(), f("div", k, [
347
353
  p("div", { class: "RadarShortTerm-head" }, [p("div", { class: "RadarShortTerm-head-top" }, [a[1] ||= p("div", null, "雷达短临预报", -1), p("div", { class: "head-actions" }, [p("div", {
348
354
  class: "closeBtn",
349
- onClick: Oe,
355
+ onClick: je,
350
356
  title: "关闭"
351
357
  })])]), a[2] ||= p("img", {
352
358
  class: "RadarShortTerm-head-line",
353
359
  src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbsAAAASBAMAAAAwI22/AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAwUExURQAAAAem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/wem/5bu5GYAAAAPdFJOUwAFwAwc2M8ULQYDn/hGXGnV2UoAAAGZSURBVEjH7ZM/S8NAGId/JYGmmeLspptThurk0CHWRXGo0Nk/S50y6CYSHMRF7Efo4uQXEIpbwUnM6OhnEIeChXjv5ZLLXdLtLCX68vDCe0eGJ7/3AJN1VcL+UImB/SruVJwYTqSAW5V3LLyaPR1c+IIdH12OPZiLcyTAjccZEdccZ0Nn4bXpC3KpCuFu5tkdziX3FJxBSBZZdFk9HempCduMk4xSitJTpOgJSSIPrx10YAUB0tYOwrQ1g12k7ZyODIYXZmQpppLV26rtbDFOXVhua2Fn7WTWwUEyAe5Zc2hiLWTTC3jjk8Hw+jrSM9/Z8raKOAtZVmyr9jbpee4lU9hvSUStw6YvOpqwiXlK9d8IL0Oq5tuqvc3KLMs7q9uyCC0y22aKvDVp4u2SjnJ1c+Wecg7h9gV4CFV8NHpEaw7yF2wVGcIa6OBx/Ax3PI6pRWx6Am98alBbpSODNVTxgAbQUpF3KeVv0s80xMUow8N//YVaqWEV9BJDdby2PBUZ1/te0uU0YzeLa623jjrrvaLOep/+str9ACyAtv25BhHcAAAAAElFTkSuQmCC",
354
360
  alt: ""
355
361
  }, null, -1)]),
356
- p("div", O, [p("div", te, [p("div", ne, [a[4] ||= p("span", { class: "setting-label" }, "雷达展示:", -1), p("div", re, [h(o, {
357
- modelValue: I.value,
358
- "onUpdate:modelValue": a[0] ||= (e) => I.value = e,
362
+ p("div", A, [p("div", te, [p("div", ne, [a[4] ||= p("span", { class: "setting-label" }, "雷达展示:", -1), p("div", re, [h(o, {
363
+ modelValue: N.value,
364
+ "onUpdate:modelValue": a[0] ||= (e) => N.value = e,
359
365
  class: "pile-checkbox",
360
- onChange: Te
366
+ onChange: Oe
361
367
  }, {
362
- default: T(() => [...a[3] ||= [m(" 显示 ", -1)]]),
368
+ default: E(() => [...a[3] ||= [m(" 显示 ", -1)]]),
363
369
  _: 1
364
370
  }, 8, ["modelValue"])])])])]),
365
371
  p("div", ie, [a[7] ||= p("div", { class: "table-head" }, [
366
372
  p("span", null, "高速名称"),
367
373
  p("span", null, "状态要素"),
368
374
  p("span", { class: "head-arrow" })
369
- ], -1), p("div", ae, [(y(!0), f(c, null, x(U.value, (e) => (y(), f("div", {
375
+ ], -1), p("div", ae, [(b(!0), f(c, null, S(H.value, (e) => (b(), f("div", {
370
376
  class: "table-row",
371
377
  key: e.name
372
378
  }, [
373
379
  p("div", {
374
380
  class: "table-row-main",
375
- onClick: (t) => Ee(e.name)
381
+ onClick: (t) => ke(e.name)
376
382
  }, [
377
- p("span", se, S(e.name), 1),
378
- p("div", { class: g(["status-tags", { "has-warn": J(e.tags) }]) }, [(y(!0), f(c, null, x(e.tags, (t) => (y(), f("span", {
379
- class: g(["status-tag", { warn: t.warn }]),
383
+ p("span", se, C(e.name), 1),
384
+ p("div", { class: _(["status-tags", { "has-warn": q(e.tags) }]) }, [(b(!0), f(c, null, S(e.tags, (t) => (b(), f("span", {
385
+ class: _(["status-tag", { warn: t.warn }]),
380
386
  key: `${e.name}-${t.label}`
381
- }, [p("span", null, S(t.label), 1)], 2))), 128))], 2),
387
+ }, [p("span", null, C(t.label), 1)], 2))), 128))], 2),
382
388
  p("span", {
383
- class: g(["expand-arrow", { expanded: V.value[e.name] }]),
389
+ class: _(["expand-arrow", { expanded: R.value[e.name] }]),
384
390
  "aria-hidden": "true"
385
- }, [h(l, null, {
386
- default: T(() => [h(C(r))]),
391
+ }, [h(s, null, {
392
+ default: E(() => [h(w(r))]),
387
393
  _: 1
388
394
  })], 2)
389
395
  ], 8, oe),
390
- E(p("div", {
396
+ D(p("div", {
391
397
  class: "pile-title",
392
- onClick: (t) => De(e.name)
393
- }, [p("span", null, [a[5] ||= m(" 桩号数据 ", -1), Y(e.piles) > 0 ? (y(), f("span", le, " (报警数量:" + S(Y(e.piles)) + "个)", 1)) : d("", !0)]), p("span", { class: g(["panel-arrow", { expanded: H.value[e.name] }]) }, [h(l, null, {
394
- default: T(() => [h(C(r))]),
398
+ onClick: (t) => Ae(e.name)
399
+ }, [p("span", null, [a[5] ||= m(" 桩号数据 ", -1), J(e.piles) > 0 ? (b(), f("span", le, " (报警数量:" + C(J(e.piles)) + "个)", 1)) : d("", !0)]), p("span", { class: _(["panel-arrow", { expanded: z.value[e.name] }]) }, [h(s, null, {
400
+ default: E(() => [h(w(r))]),
395
401
  _: 1
396
- })], 2)], 8, ce), [[w, V.value[e.name]]]),
397
- E(p("div", ue, [a[6] ||= p("div", { class: "pile-head" }, [p("span", null, "桩号"), p("span", null, "报警值")], -1), e.piles.length ? (y(), f("div", de, [(y(!0), f(c, null, x(e.piles, (e) => (y(), f("div", {
398
- class: g(["pile-row", { "is-warn": e.isWarn }]),
402
+ })], 2)], 8, ce), [[T, R.value[e.name]]]),
403
+ D(p("div", ue, [a[6] ||= p("div", { class: "pile-head" }, [p("span", null, "桩号"), p("span", null, "报警值")], -1), e.piles.length ? (b(), f("div", de, [(b(!0), f(c, null, S(e.piles, (e) => (b(), f("div", {
404
+ class: _(["pile-row", { "is-warn": e.isWarn }]),
399
405
  key: e.pileNo
400
- }, [p("span", null, S(e.pileNo), 1), p("span", null, S(e.warnValue), 1)], 2))), 128))])) : (y(), f("div", k, "暂无数据"))], 512), [[w, V.value[e.name] && H.value[e.name]]])
406
+ }, [p("span", null, C(e.pileNo), 1), p("span", null, C(e.warnValue), 1)], 2))), 128))])) : (b(), f("div", fe, "暂无数据"))], 512), [[T, R.value[e.name] && z.value[e.name]]])
401
407
  ]))), 128))])]),
402
- E(p("div", A, [
403
- a[8] ||= p("div", { class: "timeline-title" }, "未来R1h", -1),
404
- p("button", {
405
- type: "button",
406
- class: "timeline-play-btn",
407
- title: L.value ? "暂停" : "播放",
408
- onClick: Ce
409
- }, [h(l, null, {
410
- default: T(() => [L.value ? (y(), u(C(t), { key: 0 })) : (y(), u(C(e), { key: 1 }))]),
411
- _: 1
412
- })], 8, j),
413
- p("div", M, [(y(!0), f(c, null, x(G.value, (e, t) => (y(), f("button", {
414
- key: e,
415
- type: "button",
416
- class: g(["timeline-item", { active: R.value === t }]),
417
- onClick: (e) => we(t)
418
- }, S(e), 11, fe))), 128))])
419
- ], 512), [[w, I.value]])
408
+ D(p("div", pe, [p("button", {
409
+ type: "button",
410
+ class: "timeline-play-btn",
411
+ title: P.value ? "暂停" : "播放",
412
+ onClick: Ee
413
+ }, [h(s, null, {
414
+ default: E(() => [P.value ? (b(), u(w(t), { key: 0 })) : (b(), u(w(e), { key: 1 }))]),
415
+ _: 1
416
+ })], 8, me), p("div", he, [(b(!0), f(c, null, S(W.value, (e, t) => (b(), f("button", {
417
+ key: e,
418
+ type: "button",
419
+ class: _(["timeline-item", { active: F.value === t }]),
420
+ onClick: (e) => De(Number(t))
421
+ }, C(e), 11, ge))), 128))])], 512), [[T, N.value]])
420
422
  ]);
421
423
  };
422
424
  }
423
- }, [["__scopeId", "data-v-667c5294"]]);
425
+ }), [["__scopeId", "data-v-1c8139d0"]]);
424
426
  //#endregion
425
- export { N as t };
427
+ export { j as t };