Commit fe37b1e
feat: Vue component buttons/panels and flexible navbar (#4)
Add Vue component support for custom buttons and panels in the
Navigator config API. The navbar now supports start/middle/end
positioning for buttons, with custom Vue components rendered
directly in the toolbar.
Source changes:
- top.vue: navbar renders custom component buttons in start/middle/end slots
- panels.vue: panels render Vue components with props and DOM render fallback
- index.js: export getEmitter and useUI for plugin authors
Documentation:
- Rewrite docs/dev/7.features.md with a complete Recordings plugin example
demonstrating the plugin system, config-driven UI, and map layer management
- Add Recordings plugin source files in docs/dev/feature/ for copy-paste reuse
- Expand docs/dev/8.extending.md with Vue component examples, plugin system
details, and programmatic panel control via useUI
- Update docs/dev/1.config.md with buttons, panels, and plugins config reference
- Add RTL language support note to docs/dev/5.locale.md
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4200574 commit fe37b1e
File tree
13 files changed
+1299
-186
lines changed- assets/screenshots/docs
- core
- features/locate
- docs/dev
- feature
- src
- components/ui
13 files changed
+1299
-186
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
196 | 200 | | |
| 201 | + | |
| 202 | + | |
197 | 203 | | |
198 | | - | |
| 204 | + | |
199 | 205 | | |
200 | 206 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
205 | 253 | | |
206 | 254 | | |
207 | 255 | | |
208 | 256 | | |
209 | | - | |
| 257 | + | |
210 | 258 | | |
211 | | - | |
| 259 | + | |
212 | 260 | | |
213 | 261 | | |
214 | 262 | | |
| |||
226 | 274 | | |
227 | 275 | | |
228 | 276 | | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
229 | 298 | | |
230 | 299 | | |
231 | 300 | | |
| |||
247 | 316 | | |
248 | 317 | | |
249 | 318 | | |
250 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
251 | 324 | | |
252 | 325 | | |
253 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
| |||
0 commit comments