maplibre-gl-lidar 0.1.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.
- package/LICENSE +21 -0
- package/README.md +395 -0
- package/dist/LidarControl-BFJN1DIQ.js +37815 -0
- package/dist/LidarControl-BFJN1DIQ.js.map +1 -0
- package/dist/LidarControl-CQjIl4U5.cjs +37814 -0
- package/dist/LidarControl-CQjIl4U5.cjs.map +1 -0
- package/dist/index.cjs +21 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +21 -0
- package/dist/index.mjs.map +1 -0
- package/dist/laz-perf.wasm +0 -0
- package/dist/laz_rs_wasm_bg.wasm +0 -0
- package/dist/libs/laz_rs_wasm_bg.wasm +0 -0
- package/dist/maplibre-gl-lidar.css +570 -0
- package/dist/react.cjs +179 -0
- package/dist/react.cjs.map +1 -0
- package/dist/react.mjs +179 -0
- package/dist/react.mjs.map +1 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lib/colorizers/ColorScheme.d.ts +60 -0
- package/dist/types/lib/colorizers/ColorScheme.d.ts.map +1 -0
- package/dist/types/lib/colorizers/index.d.ts +3 -0
- package/dist/types/lib/colorizers/index.d.ts.map +1 -0
- package/dist/types/lib/colorizers/types.d.ts +17 -0
- package/dist/types/lib/colorizers/types.d.ts.map +1 -0
- package/dist/types/lib/core/DeckOverlay.d.ts +64 -0
- package/dist/types/lib/core/DeckOverlay.d.ts.map +1 -0
- package/dist/types/lib/core/LidarControl.d.ts +318 -0
- package/dist/types/lib/core/LidarControl.d.ts.map +1 -0
- package/dist/types/lib/core/LidarControlReact.d.ts +35 -0
- package/dist/types/lib/core/LidarControlReact.d.ts.map +1 -0
- package/dist/types/lib/core/ViewportManager.d.ts +105 -0
- package/dist/types/lib/core/ViewportManager.d.ts.map +1 -0
- package/dist/types/lib/core/types.d.ts +235 -0
- package/dist/types/lib/core/types.d.ts.map +1 -0
- package/dist/types/lib/gui/DualRangeSlider.d.ts +46 -0
- package/dist/types/lib/gui/DualRangeSlider.d.ts.map +1 -0
- package/dist/types/lib/gui/FileInput.d.ts +44 -0
- package/dist/types/lib/gui/FileInput.d.ts.map +1 -0
- package/dist/types/lib/gui/PanelBuilder.d.ts +117 -0
- package/dist/types/lib/gui/PanelBuilder.d.ts.map +1 -0
- package/dist/types/lib/gui/RangeSlider.d.ts +50 -0
- package/dist/types/lib/gui/RangeSlider.d.ts.map +1 -0
- package/dist/types/lib/gui/index.d.ts +7 -0
- package/dist/types/lib/gui/index.d.ts.map +1 -0
- package/dist/types/lib/hooks/index.d.ts +3 -0
- package/dist/types/lib/hooks/index.d.ts.map +1 -0
- package/dist/types/lib/hooks/useLidarState.d.ts +52 -0
- package/dist/types/lib/hooks/useLidarState.d.ts.map +1 -0
- package/dist/types/lib/hooks/usePointCloud.d.ts +53 -0
- package/dist/types/lib/hooks/usePointCloud.d.ts.map +1 -0
- package/dist/types/lib/layers/PointCloudManager.d.ts +136 -0
- package/dist/types/lib/layers/PointCloudManager.d.ts.map +1 -0
- package/dist/types/lib/layers/index.d.ts +3 -0
- package/dist/types/lib/layers/index.d.ts.map +1 -0
- package/dist/types/lib/layers/types.d.ts +71 -0
- package/dist/types/lib/layers/types.d.ts.map +1 -0
- package/dist/types/lib/loaders/CopcStreamingLoader.d.ts +217 -0
- package/dist/types/lib/loaders/CopcStreamingLoader.d.ts.map +1 -0
- package/dist/types/lib/loaders/PointCloudLoader.d.ts +61 -0
- package/dist/types/lib/loaders/PointCloudLoader.d.ts.map +1 -0
- package/dist/types/lib/loaders/index.d.ts +5 -0
- package/dist/types/lib/loaders/index.d.ts.map +1 -0
- package/dist/types/lib/loaders/streaming-types.d.ts +122 -0
- package/dist/types/lib/loaders/streaming-types.d.ts.map +1 -0
- package/dist/types/lib/loaders/types.d.ts +83 -0
- package/dist/types/lib/loaders/types.d.ts.map +1 -0
- package/dist/types/lib/utils/helpers.d.ts +91 -0
- package/dist/types/lib/utils/helpers.d.ts.map +1 -0
- package/dist/types/lib/utils/index.d.ts +2 -0
- package/dist/types/lib/utils/index.d.ts.map +1 -0
- package/dist/types/react.d.ts +6 -0
- package/dist/types/react.d.ts.map +1 -0
- package/package.json +118 -0
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const LidarControl = require("./LidarControl-CQjIl4U5.cjs");
|
|
4
|
+
exports.ColorSchemeProcessor = LidarControl.ColorSchemeProcessor;
|
|
5
|
+
exports.CopcStreamingLoader = LidarControl.CopcStreamingLoader;
|
|
6
|
+
exports.DeckOverlay = LidarControl.DeckOverlay;
|
|
7
|
+
exports.LidarControl = LidarControl.LidarControl;
|
|
8
|
+
exports.PointCloudLoader = LidarControl.PointCloudLoader;
|
|
9
|
+
exports.PointCloudManager = LidarControl.PointCloudManager;
|
|
10
|
+
exports.ViewportManager = LidarControl.ViewportManager;
|
|
11
|
+
exports.clamp = LidarControl.clamp;
|
|
12
|
+
exports.classNames = LidarControl.classNames;
|
|
13
|
+
exports.debounce = LidarControl.debounce;
|
|
14
|
+
exports.formatBytes = LidarControl.formatBytes;
|
|
15
|
+
exports.formatNumber = LidarControl.formatNumber;
|
|
16
|
+
exports.formatNumericValue = LidarControl.formatNumericValue;
|
|
17
|
+
exports.generateId = LidarControl.generateId;
|
|
18
|
+
exports.getClassificationName = LidarControl.getClassificationName;
|
|
19
|
+
exports.getFilename = LidarControl.getFilename;
|
|
20
|
+
exports.throttle = LidarControl.throttle;
|
|
21
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { b, C, D, L, P, a, V, c, h, e, j, i, f, d, g, k, t } from "./LidarControl-BFJN1DIQ.js";
|
|
2
|
+
export {
|
|
3
|
+
b as ColorSchemeProcessor,
|
|
4
|
+
C as CopcStreamingLoader,
|
|
5
|
+
D as DeckOverlay,
|
|
6
|
+
L as LidarControl,
|
|
7
|
+
P as PointCloudLoader,
|
|
8
|
+
a as PointCloudManager,
|
|
9
|
+
V as ViewportManager,
|
|
10
|
+
c as clamp,
|
|
11
|
+
h as classNames,
|
|
12
|
+
e as debounce,
|
|
13
|
+
j as formatBytes,
|
|
14
|
+
i as formatNumber,
|
|
15
|
+
f as formatNumericValue,
|
|
16
|
+
d as generateId,
|
|
17
|
+
g as getClassificationName,
|
|
18
|
+
k as getFilename,
|
|
19
|
+
t as throttle
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,570 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MapLibre GL LiDAR Control Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* Container - matches maplibregl-ctrl styling */
|
|
6
|
+
.lidar-control {
|
|
7
|
+
background: #fff;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
|
|
10
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/* Toggle button - 29x29 to match navigation control */
|
|
14
|
+
.lidar-control-toggle {
|
|
15
|
+
background: none;
|
|
16
|
+
border: none;
|
|
17
|
+
padding: 0;
|
|
18
|
+
width: 29px;
|
|
19
|
+
height: 29px;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
outline: none;
|
|
25
|
+
color: #1f2a37;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.lidar-control-toggle:hover {
|
|
29
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.lidar-control-toggle .lidar-control-icon {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
position: relative;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
line-height: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.lidar-control-toggle .lidar-control-icon svg {
|
|
43
|
+
width: 22px;
|
|
44
|
+
height: 22px;
|
|
45
|
+
display: block;
|
|
46
|
+
stroke: currentColor;
|
|
47
|
+
fill: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Panel - dropdown below button */
|
|
51
|
+
.lidar-control-panel {
|
|
52
|
+
position: absolute;
|
|
53
|
+
top: 100%;
|
|
54
|
+
margin-top: 5px;
|
|
55
|
+
background: #fff;
|
|
56
|
+
border-radius: 4px;
|
|
57
|
+
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
|
|
58
|
+
width: 380px;
|
|
59
|
+
max-height: 80vh;
|
|
60
|
+
overflow-y: auto;
|
|
61
|
+
overflow-x: hidden;
|
|
62
|
+
z-index: 1000;
|
|
63
|
+
padding: 8px;
|
|
64
|
+
font-size: 12px;
|
|
65
|
+
line-height: 1.4;
|
|
66
|
+
display: none;
|
|
67
|
+
box-sizing: border-box;
|
|
68
|
+
scrollbar-width: thin;
|
|
69
|
+
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.lidar-control-panel::-webkit-scrollbar {
|
|
73
|
+
width: 6px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.lidar-control-panel::-webkit-scrollbar-track {
|
|
77
|
+
background: transparent;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.lidar-control-panel::-webkit-scrollbar-thumb {
|
|
81
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
82
|
+
border-radius: 3px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.lidar-control-panel::-webkit-scrollbar-thumb:hover {
|
|
86
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Panel positioning based on parent control position */
|
|
90
|
+
.maplibregl-ctrl-top-left .lidar-control-panel,
|
|
91
|
+
.maplibregl-ctrl-bottom-left .lidar-control-panel {
|
|
92
|
+
left: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.maplibregl-ctrl-top-right .lidar-control-panel,
|
|
96
|
+
.maplibregl-ctrl-bottom-right .lidar-control-panel {
|
|
97
|
+
right: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.lidar-control-panel.expanded {
|
|
101
|
+
display: block;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Panel header */
|
|
105
|
+
.lidar-control-header {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
justify-content: space-between;
|
|
109
|
+
gap: 10px;
|
|
110
|
+
font-weight: 600;
|
|
111
|
+
color: #333;
|
|
112
|
+
padding: 4px 0 8px 0;
|
|
113
|
+
border-bottom: 1px solid #e0e0e0;
|
|
114
|
+
margin-bottom: 8px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.lidar-control-title {
|
|
118
|
+
flex: 1 1 auto;
|
|
119
|
+
font-size: 13px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.lidar-control-close {
|
|
123
|
+
width: 20px;
|
|
124
|
+
height: 20px;
|
|
125
|
+
border: none;
|
|
126
|
+
background: transparent;
|
|
127
|
+
color: #999;
|
|
128
|
+
font-size: 18px;
|
|
129
|
+
line-height: 1;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
padding: 0;
|
|
132
|
+
transition: color 0.2s ease;
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.lidar-control-close:hover {
|
|
139
|
+
color: #333;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/* Content */
|
|
143
|
+
.lidar-control-content {
|
|
144
|
+
overflow-y: auto;
|
|
145
|
+
overflow-x: hidden;
|
|
146
|
+
position: relative;
|
|
147
|
+
scrollbar-width: thin;
|
|
148
|
+
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.lidar-control-content::-webkit-scrollbar {
|
|
152
|
+
width: 6px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.lidar-control-content::-webkit-scrollbar-track {
|
|
156
|
+
background: transparent;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.lidar-control-content::-webkit-scrollbar-thumb {
|
|
160
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
161
|
+
border-radius: 3px;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.lidar-control-content::-webkit-scrollbar-thumb:hover {
|
|
165
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
/* Sections */
|
|
169
|
+
.lidar-control-section {
|
|
170
|
+
margin-bottom: 12px;
|
|
171
|
+
padding-bottom: 12px;
|
|
172
|
+
border-bottom: 1px solid #e0e0e0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.lidar-control-section:last-child {
|
|
176
|
+
border-bottom: none;
|
|
177
|
+
margin-bottom: 0;
|
|
178
|
+
padding-bottom: 0;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.lidar-control-section-header {
|
|
182
|
+
font-weight: 600;
|
|
183
|
+
font-size: 11px;
|
|
184
|
+
color: #666;
|
|
185
|
+
text-transform: uppercase;
|
|
186
|
+
letter-spacing: 0.5px;
|
|
187
|
+
margin-bottom: 8px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/* Form elements */
|
|
191
|
+
.lidar-control-group {
|
|
192
|
+
margin-bottom: 10px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.lidar-control-group:last-child {
|
|
196
|
+
margin-bottom: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.lidar-control-label {
|
|
200
|
+
display: block;
|
|
201
|
+
margin-bottom: 4px;
|
|
202
|
+
font-size: 11px;
|
|
203
|
+
font-weight: 500;
|
|
204
|
+
color: #555;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.lidar-control-label-row {
|
|
208
|
+
display: flex;
|
|
209
|
+
justify-content: space-between;
|
|
210
|
+
align-items: center;
|
|
211
|
+
margin-bottom: 4px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.lidar-control-value {
|
|
215
|
+
font-size: 11px;
|
|
216
|
+
color: #666;
|
|
217
|
+
font-weight: 500;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.lidar-control-input {
|
|
221
|
+
width: 100%;
|
|
222
|
+
padding: 6px 8px;
|
|
223
|
+
font-size: 12px;
|
|
224
|
+
border: 1px solid #ddd;
|
|
225
|
+
border-radius: 4px;
|
|
226
|
+
outline: none;
|
|
227
|
+
transition: border-color 0.15s, box-shadow 0.15s;
|
|
228
|
+
box-sizing: border-box;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.lidar-control-input:focus {
|
|
232
|
+
border-color: #159895;
|
|
233
|
+
box-shadow: 0 0 0 2px rgba(21, 152, 149, 0.15);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.lidar-control-select {
|
|
237
|
+
width: 100%;
|
|
238
|
+
padding: 6px 8px;
|
|
239
|
+
font-size: 12px;
|
|
240
|
+
border: 1px solid #ddd;
|
|
241
|
+
border-radius: 4px;
|
|
242
|
+
outline: none;
|
|
243
|
+
background: #fff;
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.lidar-control-select:focus {
|
|
248
|
+
border-color: #159895;
|
|
249
|
+
box-shadow: 0 0 0 2px rgba(21, 152, 149, 0.15);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Slider */
|
|
253
|
+
.lidar-control-slider {
|
|
254
|
+
width: 100%;
|
|
255
|
+
height: 4px;
|
|
256
|
+
border-radius: 2px;
|
|
257
|
+
background: #e0e0e0;
|
|
258
|
+
outline: none;
|
|
259
|
+
-webkit-appearance: none;
|
|
260
|
+
margin-top: 4px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.lidar-control-slider::-webkit-slider-thumb {
|
|
264
|
+
-webkit-appearance: none;
|
|
265
|
+
width: 14px;
|
|
266
|
+
height: 14px;
|
|
267
|
+
border-radius: 50%;
|
|
268
|
+
background: #159895;
|
|
269
|
+
cursor: pointer;
|
|
270
|
+
border: 2px solid #fff;
|
|
271
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.lidar-control-slider::-moz-range-thumb {
|
|
275
|
+
width: 14px;
|
|
276
|
+
height: 14px;
|
|
277
|
+
border-radius: 50%;
|
|
278
|
+
background: #159895;
|
|
279
|
+
cursor: pointer;
|
|
280
|
+
border: 2px solid #fff;
|
|
281
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/* Button */
|
|
285
|
+
.lidar-control-button {
|
|
286
|
+
display: inline-flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
justify-content: center;
|
|
289
|
+
padding: 6px 12px;
|
|
290
|
+
font-size: 12px;
|
|
291
|
+
font-weight: 500;
|
|
292
|
+
color: white;
|
|
293
|
+
background: #159895;
|
|
294
|
+
border: none;
|
|
295
|
+
border-radius: 4px;
|
|
296
|
+
cursor: pointer;
|
|
297
|
+
transition: background-color 0.15s;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.lidar-control-button:hover {
|
|
301
|
+
background: #128784;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.lidar-control-button:disabled {
|
|
305
|
+
background: #ccc;
|
|
306
|
+
cursor: not-allowed;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.lidar-control-button.secondary {
|
|
310
|
+
background: #f0f0f0;
|
|
311
|
+
color: #333;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.lidar-control-button.secondary:hover {
|
|
315
|
+
background: #e0e0e0;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
/* File input styling */
|
|
319
|
+
.lidar-file-input-wrapper {
|
|
320
|
+
position: relative;
|
|
321
|
+
overflow: hidden;
|
|
322
|
+
display: block;
|
|
323
|
+
width: 100%;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.lidar-file-input {
|
|
327
|
+
position: absolute;
|
|
328
|
+
opacity: 0;
|
|
329
|
+
width: 100%;
|
|
330
|
+
height: 100%;
|
|
331
|
+
cursor: pointer;
|
|
332
|
+
top: 0;
|
|
333
|
+
left: 0;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.lidar-file-input-label {
|
|
337
|
+
display: flex;
|
|
338
|
+
flex-direction: column;
|
|
339
|
+
align-items: center;
|
|
340
|
+
justify-content: center;
|
|
341
|
+
gap: 8px;
|
|
342
|
+
padding: 16px;
|
|
343
|
+
background: #f8f9fa;
|
|
344
|
+
border: 2px dashed #ddd;
|
|
345
|
+
border-radius: 4px;
|
|
346
|
+
cursor: pointer;
|
|
347
|
+
transition: border-color 0.15s, background 0.15s;
|
|
348
|
+
color: #666;
|
|
349
|
+
font-size: 12px;
|
|
350
|
+
text-align: center;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.lidar-file-input-label:hover,
|
|
354
|
+
.lidar-file-input-label.drag-over {
|
|
355
|
+
border-color: #159895;
|
|
356
|
+
background: #f0faf9;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.lidar-file-input-label svg {
|
|
360
|
+
color: #999;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/* Point cloud list */
|
|
364
|
+
.lidar-pointclouds-section {
|
|
365
|
+
min-height: 40px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.lidar-pointclouds-list {
|
|
369
|
+
max-height: 150px;
|
|
370
|
+
overflow-y: auto;
|
|
371
|
+
overflow-x: hidden;
|
|
372
|
+
scrollbar-width: none;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.lidar-pointclouds-empty {
|
|
376
|
+
color: #999;
|
|
377
|
+
font-size: 11px;
|
|
378
|
+
font-style: italic;
|
|
379
|
+
text-align: center;
|
|
380
|
+
padding: 12px 0;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.lidar-pointcloud-item {
|
|
384
|
+
display: flex;
|
|
385
|
+
align-items: center;
|
|
386
|
+
justify-content: space-between;
|
|
387
|
+
padding: 8px;
|
|
388
|
+
background: #f8f9fa;
|
|
389
|
+
border-radius: 4px;
|
|
390
|
+
margin-bottom: 4px;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.lidar-pointcloud-item:last-child {
|
|
394
|
+
margin-bottom: 0;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.lidar-pointcloud-info {
|
|
398
|
+
flex: 1;
|
|
399
|
+
min-width: 0;
|
|
400
|
+
margin-right: 8px;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
.lidar-pointcloud-name {
|
|
404
|
+
font-weight: 500;
|
|
405
|
+
font-size: 12px;
|
|
406
|
+
overflow: hidden;
|
|
407
|
+
text-overflow: ellipsis;
|
|
408
|
+
white-space: nowrap;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.lidar-pointcloud-details {
|
|
412
|
+
font-size: 10px;
|
|
413
|
+
color: #888;
|
|
414
|
+
margin-top: 2px;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.lidar-pointcloud-actions {
|
|
418
|
+
display: flex;
|
|
419
|
+
gap: 4px;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.lidar-control-panel .lidar-pointcloud-action {
|
|
423
|
+
display: inline-flex;
|
|
424
|
+
align-items: center;
|
|
425
|
+
justify-content: center;
|
|
426
|
+
padding: 4px 10px;
|
|
427
|
+
font-size: 10px;
|
|
428
|
+
background: #f0f0f0;
|
|
429
|
+
border: 1px solid #ccc;
|
|
430
|
+
border-radius: 3px;
|
|
431
|
+
cursor: pointer;
|
|
432
|
+
color: #333;
|
|
433
|
+
font-weight: 500;
|
|
434
|
+
width: 64px;
|
|
435
|
+
height: auto;
|
|
436
|
+
line-height: 1.2;
|
|
437
|
+
white-space: nowrap;
|
|
438
|
+
box-sizing: border-box;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.lidar-control-panel .lidar-pointcloud-action:hover {
|
|
442
|
+
background: #e0e0e0;
|
|
443
|
+
border-color: #bbb;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.lidar-control-panel .lidar-pointcloud-action.remove {
|
|
447
|
+
background: #fff5f5;
|
|
448
|
+
color: #dc3545;
|
|
449
|
+
border-color: #dc3545;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.lidar-control-panel .lidar-pointcloud-action.remove:hover {
|
|
453
|
+
background: #dc3545;
|
|
454
|
+
color: #fff;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* Loading state */
|
|
458
|
+
.lidar-loading {
|
|
459
|
+
display: none;
|
|
460
|
+
flex-direction: column;
|
|
461
|
+
align-items: center;
|
|
462
|
+
justify-content: center;
|
|
463
|
+
padding: 24px 16px;
|
|
464
|
+
color: #666;
|
|
465
|
+
font-size: 12px;
|
|
466
|
+
background: rgba(255, 255, 255, 0.95);
|
|
467
|
+
position: absolute;
|
|
468
|
+
top: 0;
|
|
469
|
+
left: 0;
|
|
470
|
+
right: 0;
|
|
471
|
+
bottom: 0;
|
|
472
|
+
z-index: 100;
|
|
473
|
+
border-radius: 4px;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.lidar-loading.active {
|
|
477
|
+
display: flex;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.lidar-loading-spinner {
|
|
481
|
+
width: 32px;
|
|
482
|
+
height: 32px;
|
|
483
|
+
border: 3px solid #e0e0e0;
|
|
484
|
+
border-top-color: #159895;
|
|
485
|
+
border-radius: 50%;
|
|
486
|
+
animation: lidar-spin 0.8s linear infinite;
|
|
487
|
+
margin-bottom: 12px;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.lidar-loading-text {
|
|
491
|
+
font-size: 13px;
|
|
492
|
+
font-weight: 500;
|
|
493
|
+
color: #333;
|
|
494
|
+
margin-bottom: 8px;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.lidar-loading-progress {
|
|
498
|
+
font-size: 11px;
|
|
499
|
+
color: #666;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.lidar-loading-bar {
|
|
503
|
+
width: 200px;
|
|
504
|
+
height: 4px;
|
|
505
|
+
background: #e0e0e0;
|
|
506
|
+
border-radius: 2px;
|
|
507
|
+
margin-top: 12px;
|
|
508
|
+
overflow: hidden;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.lidar-loading-bar-fill {
|
|
512
|
+
height: 100%;
|
|
513
|
+
background: #159895;
|
|
514
|
+
border-radius: 2px;
|
|
515
|
+
transition: width 0.2s ease;
|
|
516
|
+
width: 0%;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
@keyframes lidar-spin {
|
|
520
|
+
to {
|
|
521
|
+
transform: rotate(360deg);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/* Error state */
|
|
526
|
+
.lidar-error {
|
|
527
|
+
padding: 8px;
|
|
528
|
+
background: #fff5f5;
|
|
529
|
+
border: 1px solid #ffcdd2;
|
|
530
|
+
border-radius: 4px;
|
|
531
|
+
color: #c62828;
|
|
532
|
+
font-size: 11px;
|
|
533
|
+
margin-top: 8px;
|
|
534
|
+
word-wrap: break-word;
|
|
535
|
+
overflow-wrap: break-word;
|
|
536
|
+
max-height: 120px;
|
|
537
|
+
overflow-y: auto;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/* Flex utilities */
|
|
541
|
+
.lidar-control-flex {
|
|
542
|
+
display: flex;
|
|
543
|
+
gap: 8px;
|
|
544
|
+
align-items: center;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.lidar-control-flex-col {
|
|
548
|
+
display: flex;
|
|
549
|
+
flex-direction: column;
|
|
550
|
+
gap: 8px;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/* Scrollbar styling for pointclouds list */
|
|
554
|
+
.lidar-pointclouds-list {
|
|
555
|
+
scrollbar-width: thin;
|
|
556
|
+
scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.lidar-pointclouds-list::-webkit-scrollbar {
|
|
560
|
+
width: 6px;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
.lidar-pointclouds-list::-webkit-scrollbar-track {
|
|
564
|
+
background: transparent;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.lidar-pointclouds-list::-webkit-scrollbar-thumb {
|
|
568
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
569
|
+
border-radius: 3px;
|
|
570
|
+
}
|