Chore: remove all unused imports, port 'allTags' to proper svelte

This commit is contained in:
Pieter Vander Vennet 2024-01-22 03:42:00 +01:00
parent f7b555b9b6
commit d09f89dc2a
38 changed files with 216 additions and 227 deletions

View file

@ -654,8 +654,13 @@ export default class SpecialVisualizations {
funcName: "all_tags",
docs: "Prints all key-value pairs of the object - used for debugging",
args: [],
constr: (state, tags: UIEventSource<any>) =>
new SvelteUIElement(AllTagsPanel, { tags, state }),
constr: (
state,
tags: UIEventSource<Record<string, string>>,
_,
__,
layer: LayerConfig
) => new SvelteUIElement(AllTagsPanel, { tags, layer }),
},
{
funcName: "image_carousel",