From b24bfe626e16ffe42629aee83d60b200747393b0 Mon Sep 17 00:00:00 2001 From: adroslice Date: Tue, 11 Apr 2023 20:40:00 +0200 Subject: [PATCH] Small Refactor Pass - Various transitions away from defineModel - Fixed ChecBox - Reworked PillBar - Made it a bit smaller - Now accepts either an object or array with keys - Moved Index type to util and added MaybeIndex --- client/src/components/inputs/CheckBox.vue | 13 +++- .../src/components/inputs/DropdownInput.vue | 10 +--- client/src/components/inputs/PillBar.vue | 59 +++++++++---------- client/src/components/inputs/SingleSelect.vue | 5 +- client/src/definitions.ts | 22 +++---- client/src/util.ts | 5 +- 6 files changed, 58 insertions(+), 56 deletions(-) diff --git a/client/src/components/inputs/CheckBox.vue b/client/src/components/inputs/CheckBox.vue index e756b61..8738759 100644 --- a/client/src/components/inputs/CheckBox.vue +++ b/client/src/components/inputs/CheckBox.vue @@ -1,10 +1,17 @@