Finalize Typescript restructure

This commit is contained in:
Darko Gjorgjijoski
2026-04-06 17:59:15 +02:00
parent cab785172e
commit 74b4b2df4e
209 changed files with 12419 additions and 1745 deletions

View File

@@ -1,37 +1,41 @@
<template>
<transition
enter-active-class="transition duration-500 ease-in-out"
enter-from-class="opacity-0"
enter-to-class="opacity-100"
leave-active-class="transition ease-in-out"
leave-from-class="opacity-100"
leave-to-class="opacity-0"
enter-active-class="transition duration-300 ease-out"
enter-from-class="opacity-0 -translate-y-2"
enter-to-class="opacity-100 translate-y-0"
leave-active-class="transition duration-200 ease-in"
leave-from-class="opacity-100 translate-y-0"
leave-to-class="opacity-0 -translate-y-2"
>
<div v-show="show" class="relative z-10 p-4 md:p-8 bg-surface-muted rounded">
<div
v-show="show"
class="relative z-10 p-5 md:p-6 bg-surface rounded-xl border border-line-default shadow-sm mb-4"
>
<slot name="filter-header" />
<label
<button
class="
absolute
text-sm
leading-snug
text-heading
cursor-pointer
hover:text-body
top-2.5
right-3.5
absolute top-4 right-4
flex items-center gap-1
text-xs font-medium
text-muted hover:text-heading
px-2 py-1
rounded-md
hover:bg-surface-secondary
transition-colors
"
@click="emit('clear')"
>
<BaseIcon name="XMarkIcon" class="w-3.5 h-3.5" />
{{ $t('general.clear_all') }}
</label>
</button>
<div
class="flex flex-col space-y-3"
:class="
rowOnXl
? 'xl:flex-row xl:space-x-4 xl:space-y-0 xl:items-center'
: 'lg:flex-row lg:space-x-4 lg:space-y-0 lg:items-center'
? 'xl:flex-row xl:space-x-4 xl:space-y-0 xl:items-end'
: 'lg:flex-row lg:space-x-4 lg:space-y-0 lg:items-end'
"
>
<slot />