From 0facb446f523138d86d29678790c844a908bb509 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Mon, 17 May 2021 03:39:25 +0100 Subject: [PATCH] Initial work for multiple servers --- index.html | 42 +- package-lock.json | 3376 +++++---------------- package.json | 32 +- src/App.vue | 32 +- src/api.ts | 195 +- src/components/Sidebar.vue | 5 + src/components/sidebar/ServerListItem.vue | 68 + src/components/sidebar/WorldList.vue | 14 +- src/dynmap.d.ts | 8 +- src/index.d.ts | 6 + src/leaflet/icon/DynmapIcon.ts | 5 +- src/leaflet/tileLayer/DynmapTileLayer.ts | 3 +- src/main.ts | 58 +- src/store/actions.ts | 4 + src/store/getters.ts | 10 + src/store/mutation-types.ts | 8 +- src/store/mutations.ts | 72 + src/store/state.ts | 5 + src/util.ts | 2 +- 19 files changed, 1119 insertions(+), 2826 deletions(-) create mode 100644 src/components/sidebar/ServerListItem.vue diff --git a/index.html b/index.html index fe74d51..76a2438 100644 --- a/index.html +++ b/index.html @@ -20,8 +20,49 @@ Minecraft Dynamic Map - LiveAtlas + + + diff --git a/src/components/sidebar/WorldList.vue b/src/components/sidebar/WorldList.vue index 5da3862..c0c21b6 100644 --- a/src/components/sidebar/WorldList.vue +++ b/src/components/sidebar/WorldList.vue @@ -15,6 +15,12 @@ -->