From 5518384ec142d916d2d5733be73c603c49a4d029 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Sun, 2 Jan 2022 20:02:35 -0800 Subject: [PATCH] Vue/TS bug and bad typing fixes --- frontend/src/components/panels/Document.vue | 37 ++-- frontend/src/components/panels/LayerTree.vue | 4 +- .../components/widgets/buttons/IconButton.vue | 4 +- .../widgets/floating-menus/DialogModal.vue | 2 +- .../widgets/floating-menus/FloatingMenu.vue | 4 +- .../widgets/floating-menus/MenuList.vue | 6 +- .../widgets/inputs/CheckboxInput.vue | 6 +- .../widgets/inputs/DropdownInput.vue | 6 +- .../widgets/inputs/MenuBarInput.vue | 4 +- .../widgets/inputs/OptionalInput.vue | 5 +- .../components/widgets/inputs/RadioInput.vue | 4 +- .../widgets/inputs/ShelfItemInput.vue | 3 +- .../components/widgets/labels/IconLabel.vue | 199 +----------------- .../widgets/labels/UserInputLabel.vue | 21 +- .../widgets/options/ToolOptions.vue | 28 ++- .../window/title-bar/WindowButtonsWeb.vue | 2 +- frontend/src/components/workspace/Panel.vue | 6 +- frontend/src/dispatcher/js-messages.ts | 25 ++- frontend/src/state/dialog.ts | 5 +- frontend/src/utilities/icons.ts | 199 ++++++++++++++++++ 20 files changed, 319 insertions(+), 251 deletions(-) create mode 100644 frontend/src/utilities/icons.ts diff --git a/frontend/src/components/panels/Document.vue b/frontend/src/components/panels/Document.vue index bef8f4c8..7ec283b3 100644 --- a/frontend/src/components/panels/Document.vue +++ b/frontend/src/components/panels/Document.vue @@ -46,9 +46,9 @@ - - - + + + @@ -70,31 +70,36 @@
- + - + - + - - - - - - + + + + + + - - + + @@ -246,7 +251,7 @@ diff --git a/frontend/src/components/widgets/options/ToolOptions.vue b/frontend/src/components/widgets/options/ToolOptions.vue index 0c8ee88d..e90ed3a5 100644 --- a/frontend/src/components/widgets/options/ToolOptions.vue +++ b/frontend/src/components/widgets/options/ToolOptions.vue @@ -31,6 +31,7 @@