diff --git a/package-lock.json b/package-lock.json index 0648336..55367a6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@meshtastic/js": "^2.3.7-5", "@vitejs/plugin-vue": "^5.2.0", + "click-outside-vue3": "^4.0.1", "moment": "^2.30.1", "vite": "^5.4.11", "vue": "^3.5.12", @@ -1091,6 +1092,14 @@ "node": ">= 6" } }, + "node_modules/click-outside-vue3": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/click-outside-vue3/-/click-outside-vue3-4.0.1.tgz", + "integrity": "sha512-sbplNecrup5oGqA3o4bo8XmvHRT6q9fvw21Z67aDbTqB9M6LF7CuYLTlLvNtOgKU6W3zst5H5zJuEh4auqA34g==", + "engines": { + "node": ">=6" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", diff --git a/package.json b/package.json index 3af0bf8..66019d0 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "dependencies": { "@meshtastic/js": "^2.3.7-5", "@vitejs/plugin-vue": "^5.2.0", + "click-outside-vue3": "^4.0.1", "moment": "^2.30.1", "vite": "^5.4.11", "vue": "^3.5.12", diff --git a/src/components/DropDownMenu.vue b/src/components/DropDownMenu.vue new file mode 100644 index 0000000..9bc9d15 --- /dev/null +++ b/src/components/DropDownMenu.vue @@ -0,0 +1,92 @@ + + + diff --git a/src/components/DropDownMenuItem.vue b/src/components/DropDownMenuItem.vue new file mode 100644 index 0000000..9ed8a6a --- /dev/null +++ b/src/components/DropDownMenuItem.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/components/nodes/NodeIcon.vue b/src/components/nodes/NodeIcon.vue index 89f8ac7..8d1735c 100644 --- a/src/components/nodes/NodeIcon.vue +++ b/src/components/nodes/NodeIcon.vue @@ -1,6 +1,8 @@ diff --git a/src/components/nodes/NodesList.vue b/src/components/nodes/NodesList.vue index e85934b..8de861f 100644 --- a/src/components/nodes/NodesList.vue +++ b/src/components/nodes/NodesList.vue @@ -1,5 +1,5 @@