forked from frappe/helpdesk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(ui): ticket list * feat: list manager: add `auto` * fix: data: convert to composable * fix: tickets: more button: change color * fix: dropdown filters: use computed * fix: ticket summary: cleanup * chore: remove unused components * fix: replace `this` * fix: switch: add transition * fix(ui): table items: remove vertical padding * fix: summary: alignment * chore: convert composable to a pinia store * chore: re-order columns
- Loading branch information
Showing
20 changed files
with
708 additions
and
582 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<template> | ||
<Switch | ||
:class="enabled ? 'bg-gray-900' : 'bg-gray-300'" | ||
class="relative inline-flex h-[16px] w-[26px] items-center rounded-full transition" | ||
> | ||
<span | ||
:class="enabled ? 'translate-x-3' : 'translate-x-0.5'" | ||
class="switch-inner inline-block rounded-full bg-white transition" | ||
/> | ||
</Switch> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { Switch } from "@headlessui/vue"; | ||
defineProps({ | ||
enabled: { | ||
type: Boolean, | ||
required: true, | ||
}, | ||
}); | ||
</script> | ||
|
||
<style scoped> | ||
.switch-inner { | ||
height: 12px; | ||
width: 12px; | ||
box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.05); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.