gisviewer-vue3-arcgis 1.0.284 → 1.0.285
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/es/index.mjs +6 -5
- package/es/src/gis-map/gis-map.vue.d.ts +124 -1
- package/es/src/gis-map/gis-map.vue.mjs +63 -63
- package/es/src/gis-map/index.d.ts +124 -1
- package/es/src/gis-map/utils/edpass-device-controller.mjs +278 -0
- package/es/src/gis-map/utils/green-wave-band-controller/index.mjs +362 -0
- package/es/src/gis-map/utils/holo-flow/index.mjs +101 -0
- package/es/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.d.ts +125 -0
- package/es/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.mjs +153 -0
- package/es/src/gis-map/utils/holo-flow/signal-countdown-panel.vue2.mjs +4 -0
- package/es/src/gis-map/utils/holo-flow/signal-holo-flow-lsr.mjs +336 -0
- package/es/src/gis-map/utils/holo-flow/signal-holo-flow.mjs +236 -0
- package/es/src/gis-map/utils/holo-flow/trace-holo-flow.mjs +106 -0
- package/es/src/gis-map/utils/holo-flow/trace-renderer-external.mjs +576 -0
- package/es/src/gis-map/utils/holo-flow/trace-renderer-layer.mjs +386 -0
- package/es/src/gis-map/utils/index.mjs +2 -2
- package/es/src/gis-map/utils/police-jurisdiction.mjs +202 -0
- package/es/src/gis-map/utils/road-config-tool/cross.mjs +127 -0
- package/es/src/gis-map/utils/road-config-tool/entrance.mjs +79 -0
- package/es/src/gis-map/utils/road-config-tool/exit.mjs +86 -0
- package/es/src/gis-map/utils/road-config-tool/index.mjs +112 -0
- package/es/src/gis-map/utils/road-config-tool/indicator-area.mjs +44 -0
- package/es/src/gis-map/utils/road-config-tool/lane.mjs +35 -0
- package/es/src/gis-map/utils/road-config-tool/search-nearby-lanes.mjs +265 -0
- package/es/src/gis-map/utils/signal-control-area/cross-renderer.mjs +593 -0
- package/es/src/gis-map/utils/signal-control-area/district-controller.mjs +84 -0
- package/es/src/gis-map/utils/signal-control-area/district-renderer.mjs +122 -0
- package/es/src/gis-map/utils/signal-control-area/edit-area.mjs +550 -0
- package/es/src/gis-map/utils/signal-control-area/layer-symbol.mjs +984 -0
- package/es/src/gis-map/utils/signal-control-area/signal-area-controller.mjs +140 -0
- package/es/src/gis-map/utils/signal-control-area/signal-cross-controller.mjs +423 -0
- package/es/src/gis-map/utils/signal-control-area/signal-renderer.mjs +123 -0
- package/es/src/gis-map/utils/signal-control-area/sub-district-renderer.mjs +367 -0
- package/es/src/gis-map/utils/signal-system/signal-system-controller.mjs +137 -0
- package/es/src/gis-map/utils/sketchViewTool.mjs +503 -0
- package/es/src/gis-map-ol/gis-map-ol.vue.d.ts +50 -0
- package/es/src/gis-map-ol/gis-map-ol.vue.mjs +67 -0
- package/es/src/gis-map-ol/gis-map-ol.vue2.mjs +4 -0
- package/es/src/gis-map-ol/gis-map-ol.vue3.mjs +5 -0
- package/es/src/gis-map-ol/index.d.ts +44 -1
- package/es/src/gis-map-ol/index.mjs +8 -0
- package/es/src/gis-map-ol/utils/ol-map-initializer.d.ts +28 -0
- package/es/src/gis-map-ol/utils/ol-map-initializer.mjs +129 -0
- package/es/src/gis-map-ol/utils/signal-control/signal-cross-controller.d.ts +42 -0
- package/es/src/gis-map-ol/utils/signal-control/signal-cross-controller.mjs +263 -0
- package/es/src/index.mjs +4 -4
- package/es/src/types/index.mjs +5 -0
- package/lib/index.js +1 -1
- package/lib/src/gis-map/gis-map.vue.d.ts +124 -1
- package/lib/src/gis-map/gis-map.vue.js +1 -1
- package/lib/src/gis-map/index.d.ts +124 -1
- package/lib/src/gis-map/utils/edpass-device-controller.js +1 -0
- package/lib/src/gis-map/utils/green-wave-band-controller/index.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/index.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.d.ts +125 -0
- package/lib/src/gis-map/utils/holo-flow/signal-countdown-panel.vue.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/signal-countdown-panel.vue2.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/signal-holo-flow-lsr.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/signal-holo-flow.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/trace-holo-flow.js +2 -0
- package/lib/src/gis-map/utils/holo-flow/trace-renderer-external.js +1 -0
- package/lib/src/gis-map/utils/holo-flow/trace-renderer-layer.js +1 -0
- package/lib/src/gis-map/utils/index.js +1 -1
- package/lib/src/gis-map/utils/police-jurisdiction.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/cross.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/entrance.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/exit.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/index.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/indicator-area.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/lane.js +1 -0
- package/lib/src/gis-map/utils/road-config-tool/search-nearby-lanes.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/cross-renderer.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/district-controller.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/district-renderer.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/edit-area.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/layer-symbol.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/signal-area-controller.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/signal-cross-controller.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/signal-renderer.js +1 -0
- package/lib/src/gis-map/utils/signal-control-area/sub-district-renderer.js +1 -0
- package/lib/src/gis-map/utils/signal-system/signal-system-controller.js +1 -0
- package/lib/src/gis-map/utils/sketchViewTool.js +1 -0
- package/lib/src/gis-map-ol/gis-map-ol.vue.d.ts +50 -0
- package/lib/src/gis-map-ol/gis-map-ol.vue.js +1 -0
- package/lib/src/gis-map-ol/gis-map-ol.vue2.js +1 -0
- package/lib/src/gis-map-ol/gis-map-ol.vue3.js +1 -0
- package/lib/src/gis-map-ol/index.d.ts +44 -1
- package/lib/src/gis-map-ol/index.js +1 -0
- package/lib/src/gis-map-ol/utils/ol-map-initializer.d.ts +28 -0
- package/lib/src/gis-map-ol/utils/ol-map-initializer.js +1 -0
- package/lib/src/gis-map-ol/utils/signal-control/signal-cross-controller.d.ts +42 -0
- package/lib/src/gis-map-ol/utils/signal-control/signal-cross-controller.js +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { toRaw as i } from "vue";
|
|
2
|
+
import n from "../../../stores/index.mjs";
|
|
3
|
+
import { EVehiclePlateState as l } from "../../../types/index.mjs";
|
|
4
|
+
import c from "./signal-holo-flow.mjs";
|
|
5
|
+
import s from "./signal-holo-flow-lsr.mjs";
|
|
6
|
+
import w from "./trace-holo-flow.mjs";
|
|
7
|
+
class m {
|
|
8
|
+
constructor(o, a) {
|
|
9
|
+
this.view = o, this.signalCountdownPanelProps = a;
|
|
10
|
+
}
|
|
11
|
+
async init() {
|
|
12
|
+
this.traceHoloFlow = new w(this.view), await this.traceHoloFlow.init();
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 处理全息流轨迹数据
|
|
16
|
+
* */
|
|
17
|
+
handleVehicleTraceData(o) {
|
|
18
|
+
this.traceHoloFlow.handleVehicleTraceData(o);
|
|
19
|
+
}
|
|
20
|
+
toggleTrafficObject(o) {
|
|
21
|
+
switch (o.name.toLowerCase()) {
|
|
22
|
+
case "groundVehicle".toLowerCase():
|
|
23
|
+
this.traceHoloFlow.toggleGroundVehicle(o.visible);
|
|
24
|
+
break;
|
|
25
|
+
case "elevatedVehicle".toLowerCase():
|
|
26
|
+
this.traceHoloFlow.toggleElevatedVehicle(o.visible);
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
clearHoloTrace() {
|
|
31
|
+
this.traceHoloFlow.clearTrace();
|
|
32
|
+
}
|
|
33
|
+
// public toggleVehiclePlate(visible: boolean): void {
|
|
34
|
+
// this.traceHoloFlow?.togglePlateLayer(visible);
|
|
35
|
+
// }
|
|
36
|
+
toggleTrafficInfo(o) {
|
|
37
|
+
this.traceHoloFlow.toggleTrafficInfo(o);
|
|
38
|
+
}
|
|
39
|
+
togglePause(o) {
|
|
40
|
+
this.traceHoloFlow.togglePause(o);
|
|
41
|
+
}
|
|
42
|
+
updatePanelContent(o) {
|
|
43
|
+
let a = l.None;
|
|
44
|
+
switch (o) {
|
|
45
|
+
case "none":
|
|
46
|
+
a = l.None;
|
|
47
|
+
break;
|
|
48
|
+
case "plateNumber":
|
|
49
|
+
a = l.PlateNumber;
|
|
50
|
+
break;
|
|
51
|
+
case "vehicleId":
|
|
52
|
+
a = l.Id;
|
|
53
|
+
break;
|
|
54
|
+
case "mix":
|
|
55
|
+
a = l.Mix;
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
this.traceHoloFlow.updatePanelContent(a);
|
|
59
|
+
}
|
|
60
|
+
async handleSignalData(o) {
|
|
61
|
+
var a, e;
|
|
62
|
+
if (!this.signalHoloFlow) {
|
|
63
|
+
const t = n.useAppDataStore;
|
|
64
|
+
((e = (a = i(t.mapConfig).holoFlow) == null ? void 0 : a.signal) == null ? void 0 : e.style) === "LSR" ? this.signalHoloFlow = new s(
|
|
65
|
+
this.view,
|
|
66
|
+
this.signalCountdownPanelProps
|
|
67
|
+
) : this.signalHoloFlow = new c(this.view), await this.signalHoloFlow.initializeLayer();
|
|
68
|
+
}
|
|
69
|
+
await this.signalHoloFlow.handleHoloSignalData(o);
|
|
70
|
+
}
|
|
71
|
+
async initializeLampGroup(o) {
|
|
72
|
+
var a, e;
|
|
73
|
+
if (!this.signalHoloFlow) {
|
|
74
|
+
const t = n.useAppDataStore;
|
|
75
|
+
if (((e = (a = i(t.mapConfig).holoFlow) == null ? void 0 : a.signal) == null ? void 0 : e.style) === "LSR")
|
|
76
|
+
this.signalHoloFlow = new s(
|
|
77
|
+
this.view,
|
|
78
|
+
this.signalCountdownPanelProps
|
|
79
|
+
);
|
|
80
|
+
else
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
await this.signalHoloFlow.initializeLayer(), this.signalHoloFlow.initializeLampGroup(o);
|
|
84
|
+
}
|
|
85
|
+
handleUniSignalData(o) {
|
|
86
|
+
return this.signalHoloFlow.handleUniSignalData(o);
|
|
87
|
+
}
|
|
88
|
+
clearHoloSignal() {
|
|
89
|
+
var o;
|
|
90
|
+
(o = this.signalHoloFlow) == null || o.clearSignal();
|
|
91
|
+
}
|
|
92
|
+
setInterpolate(o) {
|
|
93
|
+
this.traceHoloFlow.setInterpolate(o);
|
|
94
|
+
}
|
|
95
|
+
downloadTrackLog() {
|
|
96
|
+
this.traceHoloFlow.downloadLog();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
m as default
|
|
101
|
+
};
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
displayMode: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
flash: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
crossId: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
roadId: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
mapPoint: {
|
|
19
|
+
type: ArrayConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
stopLine: {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
scale: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
position: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
rotation: {
|
|
35
|
+
type: NumberConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
lampStatus: {
|
|
39
|
+
type: ObjectConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
colors: string[];
|
|
44
|
+
props: any;
|
|
45
|
+
panelStyle: import("vue").ComputedRef<{
|
|
46
|
+
top: string;
|
|
47
|
+
left: string;
|
|
48
|
+
'transform-origin': string;
|
|
49
|
+
transform: string;
|
|
50
|
+
}>;
|
|
51
|
+
blImage: import("vue").ComputedRef<string>;
|
|
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
|
+
}>;
|
|
63
|
+
lImage: import("vue").ComputedRef<string>;
|
|
64
|
+
lNumberStyle: import("vue").ComputedRef<any>;
|
|
65
|
+
lLampStyle: import("vue").ComputedRef<{
|
|
66
|
+
display: string;
|
|
67
|
+
animation: string;
|
|
68
|
+
}>;
|
|
69
|
+
sImage: import("vue").ComputedRef<string>;
|
|
70
|
+
sNumberStyle: import("vue").ComputedRef<any>;
|
|
71
|
+
sLampStyle: import("vue").ComputedRef<{
|
|
72
|
+
display: string;
|
|
73
|
+
animation: string;
|
|
74
|
+
}>;
|
|
75
|
+
rImage: import("vue").ComputedRef<string>;
|
|
76
|
+
rNumberStyle: import("vue").ComputedRef<any>;
|
|
77
|
+
rLampStyle: import("vue").ComputedRef<{
|
|
78
|
+
display: string;
|
|
79
|
+
animation: string;
|
|
80
|
+
}>;
|
|
81
|
+
getColorString: (color: string | undefined) => "red" | "rgb(255, 192, 2)" | "lime" | "white";
|
|
82
|
+
getNumberStyle: (color: string | undefined) => any;
|
|
83
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
+
displayMode: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
required: true;
|
|
87
|
+
};
|
|
88
|
+
flash: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
required: true;
|
|
91
|
+
};
|
|
92
|
+
crossId: {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
roadId: {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
mapPoint: {
|
|
101
|
+
type: ArrayConstructor;
|
|
102
|
+
required: true;
|
|
103
|
+
};
|
|
104
|
+
stopLine: {
|
|
105
|
+
type: ArrayConstructor;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
scale: {
|
|
109
|
+
type: NumberConstructor;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
position: {
|
|
113
|
+
type: ObjectConstructor;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
rotation: {
|
|
117
|
+
type: NumberConstructor;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
lampStatus: {
|
|
121
|
+
type: ObjectConstructor;
|
|
122
|
+
required: true;
|
|
123
|
+
};
|
|
124
|
+
}>>, {}, {}>;
|
|
125
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,153 @@
|
|
|
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
|
+
key: 0,
|
|
4
|
+
class: "signal-countdown-container"
|
|
5
|
+
}, B = ["src"], E = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "signal-countdown-container"
|
|
8
|
+
}, z = ["src"], D = {
|
|
9
|
+
key: 2,
|
|
10
|
+
class: "signal-countdown-container"
|
|
11
|
+
}, M = ["src"], P = {
|
|
12
|
+
key: 3,
|
|
13
|
+
class: "signal-countdown-container"
|
|
14
|
+
}, X = ["src"], Y = {
|
|
15
|
+
key: 4,
|
|
16
|
+
class: "signal-countdown-container"
|
|
17
|
+
}, j = ["src"], F = /* @__PURE__ */ G({
|
|
18
|
+
__name: "signal-countdown-panel",
|
|
19
|
+
props: {
|
|
20
|
+
displayMode: {},
|
|
21
|
+
flash: { type: Boolean },
|
|
22
|
+
crossId: {},
|
|
23
|
+
roadId: {},
|
|
24
|
+
mapPoint: {},
|
|
25
|
+
stopLine: {},
|
|
26
|
+
scale: {},
|
|
27
|
+
position: {},
|
|
28
|
+
rotation: {},
|
|
29
|
+
lampStatus: {}
|
|
30
|
+
},
|
|
31
|
+
setup(d) {
|
|
32
|
+
const n = ["red", "yellow", "green", "grey"], t = d, S = l(() => ({
|
|
33
|
+
top: `${t.position.top}px`,
|
|
34
|
+
left: `${t.position.left}px`,
|
|
35
|
+
"transform-origin": "bottom center",
|
|
36
|
+
transform: `translateX(-50%) translateY(-100%) rotate(${t.rotation}deg) scale(${t.scale})`
|
|
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) {
|
|
54
|
+
case "red":
|
|
55
|
+
return "red";
|
|
56
|
+
case "yellow":
|
|
57
|
+
return "rgb(255, 192, 2)";
|
|
58
|
+
case "green":
|
|
59
|
+
return "lime";
|
|
60
|
+
default:
|
|
61
|
+
return "white";
|
|
62
|
+
}
|
|
63
|
+
}, i = (s) => {
|
|
64
|
+
const 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;
|
|
68
|
+
};
|
|
69
|
+
return (s, c) => (a(), r("div", {
|
|
70
|
+
class: "signal-countdown-panel",
|
|
71
|
+
style: o(S.value)
|
|
72
|
+
}, [
|
|
73
|
+
s.lampStatus.uColor ? (a(), r("div", x, [
|
|
74
|
+
e("div", {
|
|
75
|
+
class: "signal-countdown-number",
|
|
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,
|
|
83
|
+
width: "20px",
|
|
84
|
+
height: "20px"
|
|
85
|
+
}, null, 8, B)
|
|
86
|
+
], 4)
|
|
87
|
+
])) : m("", !0),
|
|
88
|
+
s.lampStatus.blColor ? (a(), r("div", E, [
|
|
89
|
+
e("div", {
|
|
90
|
+
class: "signal-countdown-number",
|
|
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,
|
|
98
|
+
width: "20px",
|
|
99
|
+
height: "20px"
|
|
100
|
+
}, null, 8, z)
|
|
101
|
+
], 4)
|
|
102
|
+
])) : m("", !0),
|
|
103
|
+
s.lampStatus.lColor ? (a(), r("div", D, [
|
|
104
|
+
e("div", {
|
|
105
|
+
class: "signal-countdown-number",
|
|
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,
|
|
113
|
+
width: "20px",
|
|
114
|
+
height: "20px"
|
|
115
|
+
}, null, 8, M)
|
|
116
|
+
], 4)
|
|
117
|
+
])) : m("", !0),
|
|
118
|
+
s.lampStatus.sColor ? (a(), r("div", P, [
|
|
119
|
+
e("div", {
|
|
120
|
+
class: "signal-countdown-number",
|
|
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,
|
|
128
|
+
width: "20px",
|
|
129
|
+
height: "20px"
|
|
130
|
+
}, null, 8, X)
|
|
131
|
+
], 4)
|
|
132
|
+
])) : m("", !0),
|
|
133
|
+
s.lampStatus.rColor !== void 0 ? (a(), r("div", Y, [
|
|
134
|
+
e("div", {
|
|
135
|
+
class: "signal-countdown-number",
|
|
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,
|
|
143
|
+
width: "20px",
|
|
144
|
+
height: "20px"
|
|
145
|
+
}, null, 8, j)
|
|
146
|
+
], 4)
|
|
147
|
+
])) : m("", !0)
|
|
148
|
+
], 4));
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
export {
|
|
152
|
+
F as default
|
|
153
|
+
};
|