gisviewer-vue3-arcgis 1.0.223 → 1.0.225

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.
@@ -41,6 +41,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
41
41
  countdownPanels: ISignalCountdownProps[];
42
42
  }, {}, {}>;
43
43
  countdownPanelProps: {
44
+ flash: boolean;
44
45
  displayMode: string;
45
46
  crossId: string;
46
47
  roadId: string;
@@ -164,6 +165,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
164
165
  type: StringConstructor;
165
166
  required: true;
166
167
  };
168
+ flash: {
169
+ type: BooleanConstructor;
170
+ required: true;
171
+ };
167
172
  crossId: {
168
173
  type: StringConstructor;
169
174
  required: true;
@@ -197,6 +202,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
197
202
  required: true;
198
203
  };
199
204
  }, {
205
+ colors: string[];
200
206
  props: any;
201
207
  panelStyle: import("vue").ComputedRef<{
202
208
  top: string;
@@ -204,16 +210,36 @@ declare const _sfc_main: import("vue").DefineComponent<{
204
210
  'transform-origin': string;
205
211
  transform: string;
206
212
  }>;
207
- uImage: import("vue").ComputedRef<string>;
208
- uNumberStyle: import("vue").ComputedRef<any>;
209
213
  blImage: import("vue").ComputedRef<string>;
210
214
  blNumberStyle: import("vue").ComputedRef<any>;
215
+ blLampStyle: import("vue").ComputedRef<{
216
+ display: string;
217
+ animation: string;
218
+ }>;
219
+ uImage: import("vue").ComputedRef<string>;
220
+ uNumberStyle: import("vue").ComputedRef<any>;
221
+ uLampStyle: import("vue").ComputedRef<{
222
+ display: string;
223
+ animation: string;
224
+ }>;
211
225
  lImage: import("vue").ComputedRef<string>;
212
226
  lNumberStyle: import("vue").ComputedRef<any>;
227
+ lLampStyle: import("vue").ComputedRef<{
228
+ display: string;
229
+ animation: string;
230
+ }>;
213
231
  sImage: import("vue").ComputedRef<string>;
214
232
  sNumberStyle: import("vue").ComputedRef<any>;
233
+ sLampStyle: import("vue").ComputedRef<{
234
+ display: string;
235
+ animation: string;
236
+ }>;
215
237
  rImage: import("vue").ComputedRef<string>;
216
238
  rNumberStyle: import("vue").ComputedRef<any>;
239
+ rLampStyle: import("vue").ComputedRef<{
240
+ display: string;
241
+ animation: string;
242
+ }>;
217
243
  getColorString: (color: string | undefined) => "red" | "rgb(255, 192, 2)" | "lime" | "white";
218
244
  getNumberStyle: (color: string | undefined) => any;
219
245
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -221,6 +247,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
221
247
  type: StringConstructor;
222
248
  required: true;
223
249
  };
250
+ flash: {
251
+ type: BooleanConstructor;
252
+ required: true;
253
+ };
224
254
  crossId: {
225
255
  type: StringConstructor;
226
256
  required: true;
@@ -6,14 +6,14 @@ import T from "./utils/green-wave-band-controller/index.mjs";
6
6
  import st from "./utils/holo-flow/index.mjs";
7
7
  import ot from "./utils/holo-flow/signal-countdown-panel.vue.mjs";
8
8
  import it from "./utils/map-initializer.mjs";
9
- import I from "./utils/open-drive-renderer/index.mjs";
10
- import B from "./utils/overlay.mjs";
9
+ import B from "./utils/open-drive-renderer/index.mjs";
10
+ import I from "./utils/overlay.mjs";
11
11
  import ct from "./utils/queue-length.mjs";
12
12
  import M from "./utils/road-config-tool/index.mjs";
13
13
  import lt from "./utils/signal-control-area-controller/edit-area.mjs";
14
14
  import ut from "./utils/signal-control-area-controller/show-area.mjs";
15
15
  import mt from "./utils/traffic-flow.mjs";
16
- const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom: "80px", left: "10px", "z-index": "9999" } }, It = /* @__PURE__ */ $e({
16
+ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom: "80px", left: "10px", "z-index": "9999" } }, Bt = /* @__PURE__ */ $e({
17
17
  __name: "gis-map",
18
18
  props: {
19
19
  config: {},
@@ -88,7 +88,7 @@ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom
88
88
  o == null || o.toggleTrafficObject(e), a == null || a.toggleTrafficObject(e);
89
89
  }, C = (e) => {
90
90
  a == null || a.updatePanelContent(e);
91
- }, me = async (e) => (n || (n = new B(s)), n.addOverlays(e)), pe = (e) => (n || (n = new B(s)), n.addMask(e)), ge = () => {
91
+ }, me = async (e) => (n || (n = new I(s)), n.addOverlays(e)), pe = (e) => (n || (n = new I(s)), n.addMask(e)), ge = () => {
92
92
  n == null || n.removeMask();
93
93
  }, de = (e) => n == null ? void 0 : n.removeOverlaysByType(e), fe = (e) => n == null ? void 0 : n.removeOverlaysById(e), Se = () => n == null ? void 0 : n.removeAllOverlays(), ye = () => {
94
94
  n == null || n.showAllOverlays();
@@ -96,7 +96,7 @@ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom
96
96
  d || (d = new ct(s)), d.updateQueueLength(e);
97
97
  }, ve = () => {
98
98
  d == null || d.removeQueueLength();
99
- }, we = async (e, p) => (t || (t = new I(s)), await t.showOpenDriveFromServer(e, p)), he = async (e) => (t || (t = new I(s)), await t.clearOpenDrive(), await t.showOpenDriveFromFile(e)), Oe = async () => await (t == null ? void 0 : t.clearOpenDrive()), be = async (e) => t ? await (t == null ? void 0 : t.findSumo(e)) : {
99
+ }, we = async (e, p) => (t || (t = new B(s)), await t.showOpenDriveFromServer(e, p)), he = async (e) => (t || (t = new B(s)), await t.clearOpenDrive(), await t.showOpenDriveFromFile(e)), Oe = async () => await (t == null ? void 0 : t.clearOpenDrive()), be = async (e) => t ? await (t == null ? void 0 : t.findSumo(e)) : {
100
100
  status: -1,
101
101
  message: "未加载OpenDrive地图"
102
102
  }, Ae = async (e) => t ? t.selectSumo(e) : {
@@ -114,10 +114,10 @@ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom
114
114
  }, Te = async (e) => t ? await (t == null ? void 0 : t.splitLane(e)) : {
115
115
  status: -1,
116
116
  message: "未加载OpenDrive地图"
117
- }, Ie = async () => t ? t == null ? void 0 : t.clearSplitLane() : {
117
+ }, Be = async () => t ? t == null ? void 0 : t.clearSplitLane() : {
118
118
  status: -1,
119
119
  message: "未加载OpenDrive地图"
120
- }, Be = async (e) => (r || (r = new ut(s)), await r.showSignalControlArea(e)), Me = async () => await (r == null ? void 0 : r.clearSignalControlArea()), _e = (e) => r == null ? void 0 : r.setLayerVisibility(e), xe = async (e) => r ? await (r == null ? void 0 : r.locateSignalControlArea(e)) : { status: -1, message: "未加载信号控制区" }, Ve = async (e) => r ? await r.highlightSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Ge = () => r ? r.resetHighlight() : { status: -1, message: "未加载信号控制区" }, He = (e) => (l || (l = new lt(s)), l.showSubSignalControlArea(e)), ze = (e) => l ? l.editSubSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Pe = () => l ? l.stopEditSubSignalControlArea() : { status: -1, message: "未加载信号控制区" }, We = (e) => l ? l.selectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, Ne = (e) => l ? l.unselectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, Ee = (e) => {
120
+ }, Ie = async (e) => (r || (r = new ut(s)), await r.showSignalControlArea(e)), Me = async () => await (r == null ? void 0 : r.clearSignalControlArea()), _e = (e) => r == null ? void 0 : r.setLayerVisibility(e), xe = async (e) => r ? await (r == null ? void 0 : r.locateSignalControlArea(e)) : { status: -1, message: "未加载信号控制区" }, Ve = async (e) => r ? await r.highlightSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Ge = () => r ? r.resetHighlight() : { status: -1, message: "未加载信号控制区" }, He = (e) => (l || (l = new lt(s)), l.showSubSignalControlArea(e)), ze = (e) => l ? l.editSubSignalControlArea(e) : { status: -1, message: "未加载信号控制区" }, Pe = () => l ? l.stopEditSubSignalControlArea() : { status: -1, message: "未加载信号控制区" }, We = (e) => l ? l.selectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, Ne = (e) => l ? l.unselectSubSignalControlAreaCross(e) : { status: -1, message: "未加载信号控制区" }, Ee = (e) => {
121
121
  if (!l)
122
122
  return { status: -1, message: "未加载信号控制区" };
123
123
  }, Qe = (e) => (m || (m = new T(s)), m.addGreenWaveBand(e)), je = () => {
@@ -170,8 +170,8 @@ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom
170
170
  unselectSumoInOpenDrive: ke,
171
171
  getSumoInfo: De,
172
172
  splitOpenDriveLane: Te,
173
- clearSplitOpenDriveLane: Ie,
174
- showSignalControlArea: Be,
173
+ clearSplitOpenDriveLane: Be,
174
+ showSignalControlArea: Ie,
175
175
  clearSignalControlArea: Me,
176
176
  setSignalControlAreaVisibility: _e,
177
177
  locateSignalControlArea: xe,
@@ -213,6 +213,7 @@ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom
213
213
  (O(!0), L(et, null, tt(b, (i, g) => (O(), at(ot, {
214
214
  key: g,
215
215
  "display-mode": i.displayMode,
216
+ flash: i.flash,
216
217
  "road-id": i.crossId,
217
218
  "cross-id": i.roadId,
218
219
  "map-point": i.mapPoint,
@@ -221,10 +222,10 @@ const pt = { class: "gis-viewer" }, gt = { style: { position: "absolute", bottom
221
222
  rotation: i.rotation,
222
223
  scale: i.scale,
223
224
  "lamp-status": i.lampStatus
224
- }, null, 8, ["display-mode", "road-id", "cross-id", "map-point", "stop-line", "position", "rotation", "scale", "lamp-status"]))), 128))
225
+ }, null, 8, ["display-mode", "flash", "road-id", "cross-id", "map-point", "stop-line", "position", "rotation", "scale", "lamp-status"]))), 128))
225
226
  ]));
226
227
  }
227
228
  });
228
229
  export {
229
- It as default
230
+ Bt as default
230
231
  };
@@ -28,6 +28,7 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
28
28
  countdownPanels: import("../types").ISignalCountdownProps[];
29
29
  }, {}, {}>;
30
30
  countdownPanelProps: {
31
+ flash: boolean;
31
32
  displayMode: string;
32
33
  crossId: string;
33
34
  roadId: string;
@@ -151,6 +152,10 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
151
152
  type: StringConstructor;
152
153
  required: true;
153
154
  };
155
+ flash: {
156
+ type: BooleanConstructor;
157
+ required: true;
158
+ };
154
159
  crossId: {
155
160
  type: StringConstructor;
156
161
  required: true;
@@ -184,6 +189,7 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
184
189
  required: true;
185
190
  };
186
191
  }, {
192
+ colors: string[];
187
193
  props: any;
188
194
  panelStyle: import("vue").ComputedRef<{
189
195
  top: string;
@@ -191,16 +197,36 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
191
197
  'transform-origin': string;
192
198
  transform: string;
193
199
  }>;
194
- uImage: import("vue").ComputedRef<string>;
195
- uNumberStyle: import("vue").ComputedRef<any>;
196
200
  blImage: import("vue").ComputedRef<string>;
197
201
  blNumberStyle: import("vue").ComputedRef<any>;
202
+ blLampStyle: import("vue").ComputedRef<{
203
+ display: string;
204
+ animation: string;
205
+ }>;
206
+ uImage: import("vue").ComputedRef<string>;
207
+ uNumberStyle: import("vue").ComputedRef<any>;
208
+ uLampStyle: import("vue").ComputedRef<{
209
+ display: string;
210
+ animation: string;
211
+ }>;
198
212
  lImage: import("vue").ComputedRef<string>;
199
213
  lNumberStyle: import("vue").ComputedRef<any>;
214
+ lLampStyle: import("vue").ComputedRef<{
215
+ display: string;
216
+ animation: string;
217
+ }>;
200
218
  sImage: import("vue").ComputedRef<string>;
201
219
  sNumberStyle: import("vue").ComputedRef<any>;
220
+ sLampStyle: import("vue").ComputedRef<{
221
+ display: string;
222
+ animation: string;
223
+ }>;
202
224
  rImage: import("vue").ComputedRef<string>;
203
225
  rNumberStyle: import("vue").ComputedRef<any>;
226
+ rLampStyle: import("vue").ComputedRef<{
227
+ display: string;
228
+ animation: string;
229
+ }>;
204
230
  getColorString: (color: string | undefined) => "red" | "rgb(255, 192, 2)" | "lime" | "white";
205
231
  getNumberStyle: (color: string | undefined) => any;
206
232
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -208,6 +234,10 @@ export declare const GisMap: import("@easyest/utils/dist/lib/withinstall").SFCWi
208
234
  type: StringConstructor;
209
235
  required: true;
210
236
  };
237
+ flash: {
238
+ type: BooleanConstructor;
239
+ required: true;
240
+ };
211
241
  crossId: {
212
242
  type: StringConstructor;
213
243
  required: true;
@@ -11,6 +11,17 @@
11
11
  .esri-view .esri-view-surface:focus::after {
12
12
  outline: none !important;
13
13
  }
14
+ @keyframes blink {
15
+ 0% {
16
+ opacity: 1;
17
+ }
18
+ 50% {
19
+ opacity: 0;
20
+ }
21
+ 100% {
22
+ opacity: 1;
23
+ }
24
+ }
14
25
  .signal-countdown-panel {
15
26
  position: absolute;
16
27
  display: flex;
@@ -36,4 +47,5 @@
36
47
  }
37
48
  .signal-countdown-number {
38
49
  font: 28px Digital;
50
+ height: 34px;
39
51
  }
@@ -3,6 +3,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
3
3
  type: StringConstructor;
4
4
  required: true;
5
5
  };
6
+ flash: {
7
+ type: BooleanConstructor;
8
+ required: true;
9
+ };
6
10
  crossId: {
7
11
  type: StringConstructor;
8
12
  required: true;
@@ -36,6 +40,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
36
40
  required: true;
37
41
  };
38
42
  }, {
43
+ colors: string[];
39
44
  props: any;
40
45
  panelStyle: import("vue").ComputedRef<{
41
46
  top: string;
@@ -43,16 +48,36 @@ declare const _sfc_main: import("vue").DefineComponent<{
43
48
  'transform-origin': string;
44
49
  transform: string;
45
50
  }>;
46
- uImage: import("vue").ComputedRef<string>;
47
- uNumberStyle: import("vue").ComputedRef<any>;
48
51
  blImage: import("vue").ComputedRef<string>;
49
52
  blNumberStyle: import("vue").ComputedRef<any>;
53
+ blLampStyle: import("vue").ComputedRef<{
54
+ display: string;
55
+ animation: string;
56
+ }>;
57
+ uImage: import("vue").ComputedRef<string>;
58
+ uNumberStyle: import("vue").ComputedRef<any>;
59
+ uLampStyle: import("vue").ComputedRef<{
60
+ display: string;
61
+ animation: string;
62
+ }>;
50
63
  lImage: import("vue").ComputedRef<string>;
51
64
  lNumberStyle: import("vue").ComputedRef<any>;
65
+ lLampStyle: import("vue").ComputedRef<{
66
+ display: string;
67
+ animation: string;
68
+ }>;
52
69
  sImage: import("vue").ComputedRef<string>;
53
70
  sNumberStyle: import("vue").ComputedRef<any>;
71
+ sLampStyle: import("vue").ComputedRef<{
72
+ display: string;
73
+ animation: string;
74
+ }>;
54
75
  rImage: import("vue").ComputedRef<string>;
55
76
  rNumberStyle: import("vue").ComputedRef<any>;
77
+ rLampStyle: import("vue").ComputedRef<{
78
+ display: string;
79
+ animation: string;
80
+ }>;
56
81
  getColorString: (color: string | undefined) => "red" | "rgb(255, 192, 2)" | "lime" | "white";
57
82
  getNumberStyle: (color: string | undefined) => any;
58
83
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -60,6 +85,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
60
85
  type: StringConstructor;
61
86
  required: true;
62
87
  };
88
+ flash: {
89
+ type: BooleanConstructor;
90
+ required: true;
91
+ };
63
92
  crossId: {
64
93
  type: StringConstructor;
65
94
  required: true;
@@ -1,23 +1,24 @@
1
- import { defineComponent as f, computed as o, openBlock as l, createElementBlock as n, normalizeStyle as a, createElementVNode as s, toDisplayString as i, createCommentVNode as u } from "vue";
2
- const $ = {
1
+ import { defineComponent as G, computed as l, openBlock as a, createElementBlock as r, normalizeStyle as o, createElementVNode as e, toDisplayString as u, createCommentVNode as m } from "vue";
2
+ const x = {
3
3
  key: 0,
4
4
  class: "signal-countdown-container"
5
- }, k = ["src"], V = {
5
+ }, B = ["src"], E = {
6
6
  key: 1,
7
7
  class: "signal-countdown-container"
8
- }, L = ["src"], A = {
8
+ }, z = ["src"], D = {
9
9
  key: 2,
10
10
  class: "signal-countdown-container"
11
- }, G = ["src"], x = {
11
+ }, M = ["src"], P = {
12
12
  key: 3,
13
13
  class: "signal-countdown-container"
14
- }, B = ["src"], E = {
14
+ }, X = ["src"], Y = {
15
15
  key: 4,
16
16
  class: "signal-countdown-container"
17
- }, z = ["src"], M = /* @__PURE__ */ f({
17
+ }, j = ["src"], F = /* @__PURE__ */ G({
18
18
  __name: "signal-countdown-panel",
19
19
  props: {
20
20
  displayMode: {},
21
+ flash: { type: Boolean },
21
22
  crossId: {},
22
23
  roadId: {},
23
24
  mapPoint: {},
@@ -27,24 +28,29 @@ const $ = {
27
28
  rotation: {},
28
29
  lampStatus: {}
29
30
  },
30
- setup(p) {
31
- const t = p, d = o(() => ({
31
+ setup(d) {
32
+ const n = ["red", "yellow", "green", "grey"], t = d, S = l(() => ({
32
33
  top: `${t.position.top}px`,
33
34
  left: `${t.position.left}px`,
34
35
  "transform-origin": "bottom center",
35
36
  transform: `translateX(-50%) translateY(-100%) rotate(${t.rotation}deg) scale(${t.scale})`
36
- })), g = o(
37
- () => `/GisViewerAssets/Images/SignalLamp/u-${t.lampStatus.uColor}.png`
38
- ), S = o(() => r(t.lampStatus.uColor)), h = o(
39
- () => `/GisViewerAssets/Images/SignalLamp/bl-${t.lampStatus.blColor}.png`
40
- ), v = o(() => r(t.lampStatus.blColor)), b = o(
41
- () => `/GisViewerAssets/Images/SignalLamp/l-${t.lampStatus.lColor}.png`
42
- ), w = o(() => r(t.lampStatus.lColor)), y = o(
43
- () => `/GisViewerAssets/Images/SignalLamp/s-${t.lampStatus.sColor}.png`
44
- ), C = o(() => r(t.lampStatus.sColor)), _ = o(
45
- () => `/GisViewerAssets/Images/SignalLamp/r-${t.lampStatus.rColor}.png`
46
- ), N = o(() => r(t.lampStatus.rColor)), I = (e) => {
47
- switch (e) {
37
+ })), g = l(() => !t.lampStatus.blColor || !n.includes(t.lampStatus.blColor) ? "" : `/GisViewerAssets/Images/SignalLamp/bl-${t.lampStatus.blColor}.png`), y = l(() => i(t.lampStatus.blColor)), b = l(() => ({
38
+ display: t.lampStatus.blColor && n.includes(t.lampStatus.blColor) ? "block" : "none",
39
+ animation: t.flash ? "blink 2s infinite" : "none"
40
+ })), C = l(() => !t.lampStatus.uColor || !n.includes(t.lampStatus.uColor) ? "" : `/GisViewerAssets/Images/SignalLamp/u-${t.lampStatus.uColor}.png`), h = l(() => i(t.lampStatus.uColor)), v = l(() => ({
41
+ display: t.lampStatus.uColor && n.includes(t.lampStatus.uColor) ? "block" : "none",
42
+ animation: t.flash ? "blink 2s infinite" : "none"
43
+ })), f = l(() => !t.lampStatus.lColor || !n.includes(t.lampStatus.lColor) ? "" : `/GisViewerAssets/Images/SignalLamp/l-${t.lampStatus.lColor}.png`), w = l(() => i(t.lampStatus.lColor)), k = l(() => ({
44
+ display: t.lampStatus.lColor && n.includes(t.lampStatus.lColor) ? "block" : "none",
45
+ animation: t.flash ? "blink 2s infinite" : "none"
46
+ })), _ = l(() => !t.lampStatus.sColor || !n.includes(t.lampStatus.sColor) ? "" : `/GisViewerAssets/Images/SignalLamp/s-${t.lampStatus.sColor}.png`), N = l(() => i(t.lampStatus.sColor)), I = l(() => ({
47
+ display: t.lampStatus.sColor && n.includes(t.lampStatus.sColor) ? "block" : "none",
48
+ animation: t.flash ? "blink 2s infinite" : "none"
49
+ })), L = l(() => !t.lampStatus.rColor || !n.includes(t.lampStatus.rColor) ? "" : `/GisViewerAssets/Images/SignalLamp/r-${t.lampStatus.rColor}.png`), $ = l(() => i(t.lampStatus.rColor)), V = l(() => ({
50
+ display: t.lampStatus.rColor && n.includes(t.lampStatus.rColor) ? "block" : "none",
51
+ animation: t.flash ? "blink 2s infinite" : "none"
52
+ })), A = (s) => {
53
+ switch (s) {
48
54
  case "red":
49
55
  return "red";
50
56
  case "yellow":
@@ -54,84 +60,94 @@ const $ = {
54
60
  default:
55
61
  return "white";
56
62
  }
57
- }, r = (e) => {
63
+ }, i = (s) => {
58
64
  const c = {
59
- color: I(e)
60
- }, m = t.rotation < 0 ? t.rotation + 360 : t.rotation;
61
- return m > 135 && m < 225 && (c.transform = "rotate(180deg)"), c;
65
+ color: A(s)
66
+ }, p = t.rotation < 0 ? t.rotation + 360 : t.rotation;
67
+ return p > 135 && p < 225 && (c.transform = "rotate(180deg)"), c;
62
68
  };
63
- return (e, c) => (l(), n("div", {
69
+ return (s, c) => (a(), r("div", {
64
70
  class: "signal-countdown-panel",
65
- style: a(d.value)
71
+ style: o(S.value)
66
72
  }, [
67
- e.lampStatus.uColor ? (l(), n("div", $, [
68
- s("div", {
73
+ s.lampStatus.uColor ? (a(), r("div", x, [
74
+ e("div", {
69
75
  class: "signal-countdown-number",
70
- style: a(S.value)
71
- }, i(e.lampStatus.uNumber), 5),
72
- s("div", null, [
73
- s("img", {
74
- src: g.value,
76
+ style: o(h.value)
77
+ }, u(s.lampStatus.uNumber), 5),
78
+ e("div", {
79
+ style: o(v.value)
80
+ }, [
81
+ e("img", {
82
+ src: C.value,
75
83
  width: "20px",
76
84
  height: "20px"
77
- }, null, 8, k)
78
- ])
79
- ])) : u("", !0),
80
- e.lampStatus.blColor ? (l(), n("div", V, [
81
- s("div", {
85
+ }, null, 8, B)
86
+ ], 4)
87
+ ])) : m("", !0),
88
+ s.lampStatus.blColor ? (a(), r("div", E, [
89
+ e("div", {
82
90
  class: "signal-countdown-number",
83
- style: a(v.value)
84
- }, i(e.lampStatus.blNumber), 5),
85
- s("div", null, [
86
- s("img", {
87
- src: h.value,
91
+ style: o(y.value)
92
+ }, u(s.lampStatus.blNumber), 5),
93
+ e("div", {
94
+ style: o(b.value)
95
+ }, [
96
+ e("img", {
97
+ src: g.value,
88
98
  width: "20px",
89
99
  height: "20px"
90
- }, null, 8, L)
91
- ])
92
- ])) : u("", !0),
93
- e.lampStatus.lColor ? (l(), n("div", A, [
94
- s("div", {
100
+ }, null, 8, z)
101
+ ], 4)
102
+ ])) : m("", !0),
103
+ s.lampStatus.lColor ? (a(), r("div", D, [
104
+ e("div", {
95
105
  class: "signal-countdown-number",
96
- style: a(w.value)
97
- }, i(e.lampStatus.lNumber), 5),
98
- s("div", null, [
99
- s("img", {
100
- src: b.value,
106
+ style: o(w.value)
107
+ }, u(s.lampStatus.lNumber), 5),
108
+ e("div", {
109
+ style: o(k.value)
110
+ }, [
111
+ e("img", {
112
+ src: f.value,
101
113
  width: "20px",
102
114
  height: "20px"
103
- }, null, 8, G)
104
- ])
105
- ])) : u("", !0),
106
- e.lampStatus.sColor ? (l(), n("div", x, [
107
- s("div", {
115
+ }, null, 8, M)
116
+ ], 4)
117
+ ])) : m("", !0),
118
+ s.lampStatus.sColor ? (a(), r("div", P, [
119
+ e("div", {
108
120
  class: "signal-countdown-number",
109
- style: a(C.value)
110
- }, i(e.lampStatus.sNumber), 5),
111
- s("div", null, [
112
- s("img", {
113
- src: y.value,
121
+ style: o(N.value)
122
+ }, u(s.lampStatus.sNumber), 5),
123
+ e("div", {
124
+ style: o(I.value)
125
+ }, [
126
+ e("img", {
127
+ src: _.value,
114
128
  width: "20px",
115
129
  height: "20px"
116
- }, null, 8, B)
117
- ])
118
- ])) : u("", !0),
119
- e.lampStatus.rColor !== void 0 ? (l(), n("div", E, [
120
- s("div", {
130
+ }, null, 8, X)
131
+ ], 4)
132
+ ])) : m("", !0),
133
+ s.lampStatus.rColor !== void 0 ? (a(), r("div", Y, [
134
+ e("div", {
121
135
  class: "signal-countdown-number",
122
- style: a(N.value)
123
- }, i(e.lampStatus.rNumber), 5),
124
- s("div", null, [
125
- s("img", {
126
- src: _.value,
136
+ style: o($.value)
137
+ }, u(s.lampStatus.rNumber), 5),
138
+ e("div", {
139
+ style: o(V.value)
140
+ }, [
141
+ e("img", {
142
+ src: L.value,
127
143
  width: "20px",
128
144
  height: "20px"
129
- }, null, 8, z)
130
- ])
131
- ])) : u("", !0)
145
+ }, null, 8, j)
146
+ ], 4)
147
+ ])) : m("", !0)
132
148
  ], 4));
133
149
  }
134
150
  });
135
151
  export {
136
- M as default
152
+ F as default
137
153
  };